ConceptNet and input data

Hi, I am very interested  in your work, but I have some doubts about where is the input data and how do you use the Conceptnet? Thanks for sharing!

Check out my comment here for insights on the input data: https://github.com/tuxchow/ccm/issues/3#issuecomment-461907771


Docker Security: Best Practices to Secure a Docker Container

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Docker Security: Best Practices to Secure a Docker Container
Introduction paragraph (2-3 paragraphs):
Docker is a software platform that creates, deploys, and runs applications using containers. Learning how to secure Docker containers is of importance and is complex as well.
In this article, we'll offer an overview of docker container security best practices. Docker container security helps in preventing security breaches and attacks.
Key takeaways:

What is Docker Container Security
Best Practices to Secure Docker Containers

Regularly update docker and host
Run containers as a non-root user
Configure resource quotas
Set container resource limits
Keep images clean
Secure container registries
Monitor API and network security

References:
https://docs.docker.com/engine/security/
https://cheatsheetseries.owasp.org/cheatsheets/Docker_Security_Cheat_Sheet.html
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@JudyNduati   to help avoid a backlog queue we are only accepting one article topic/pr approved at a time 👍
I see you have one for node.js and one here -pick the one youd like to proceed with and we will review for approval.

@hectorkambow I choose to proceed with docker security. You can close the node.js issue and will request for opening when the other is published

@hectorkambow I choose to proceed with docker security. You can close the node.js issue and will request for opening when the other is published

seems like a helpful topic - @JudyNduati  approved


Notification bell icon and the creapy smile need update

Now that my eyes are acustomed to the new lean and hollow icons I am distrubted by the strong notification bell and the feedback smile in the status bar.
I understand they are probably Octicons, but can we find some octicons which fit the new icons better? These now just look out of place
@bpasero

Status bar icons haven't been updated at all but will be eventually updated.

Yeah. we can do this next milestone.

@isidorn in what theme is that?

GitHub Plus while debugging.
Though I was not aiming for the color here, but for the fullnes of the octicons. They should be less heavy.

I am not sure I agree, it looks great for me in the light theme:

@bpasero well that is how they looked from day 1. I am not saying they do not look great, but they look alien compared to the other new icons. No icon we have now is filled and this ones are, doesn't that look odd to you?

Yeah, I think if there is a proposal for changing the octicons I would like to see it in action and then judge based on that.

Closing this in favor of https://github.com/microsoft/vscode/issues/76909


Add option custom ui date picker

Hello Sir,
This is a great package, but can you add option customize the date range picker interface as below?

In my case, I need  date range picker that returns the same start day and end day when double clicked on the same day

hey @chuvanhoang888, I add the ability to select the same date as a range, and to center the leading date as your image shows.
Unfortunately there is no possible way to customize the look of the page sliders without changing a lot of code which I don't have the time for it. But I open to review any pull requests.


Backend application fails to start (1.0.48), frontend build:prod error

Caused by 1eb32f6c
Steps to reproduce:
npm ci
npm run build:prod
ERROR in projects/abtesting/src/app/core/local-storage/local-storage.service.spec.ts(46,7): error TS2322: Type '{ ids: undefined[]; entities: {}; isLoadingExperiment: false; skipExperiment: number; totalExperiments: null; searchKey: null ; searchString: null; sortKey: EXPERIMENT_SORT_KEY.STATUS; sortAs: EXPERIMENT_SORT_AS.DESCENDING; ... 7 more ...; expPointsAndIds: {}; }' is not assignable to type 'ExperimentState'.
Object literal may only specify known properties, and 'context' does not exist in type 'ExperimentState'.

Name for CONTEXT was changed to APP_CONTEXT in #80

I added APP_CONTEXT to staging with the same value as CONTEXT. 1.0.48 still won't start. Any other environment variables I should know about?

GROUP_TYPES
https://github.com/CarnegieLearningWeb/UpGrade/pull/80/files#diff-d3ff7c7dbc02dbb854a52aef526595e57036c038b4ababd3799b5c1568458bae

Ok, the backend failing to start was only because of the missing env variables.
The problem is with the test case in local-storage.service.spec.ts 'should load initial state', it needs to be updated to have the same properties in the ExperimentState interface. I tried doing that myself but then it throws a NullInjectorError in another test, so someone else will need to take a look at this.

ack @mfugate1 . I'm fixing prod build and will create a PR in a while.

@mfugate1 I've created a PR #83 to fix the frontend build:prod error. Can you merge and check?


selinux: write xattr related codes.

This is an experimental crate. I'll implement a selinux crate step-by-step.
In this PR, I implemented functions related to xattr.
ref: https://github.com/containers/youki/issues/2718 https://github.com/containers/youki/pull/2800

/label kind/experimental

Hi @utam0k, @YJDoc2,
I've created this small PR adding the functions related to xattr. Could you review it?

I'll visit this PR in a couple of days. Please give me some time.

Hi @utam0k, @YJDoc2,
Thanks for your comments and fixed them. Could you take a look again when you have time?

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.29%. Comparing base (46fb4ba) to head (3123107).
Report is 17 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2825      +/-   ##
==========================================
+ Coverage   66.27%   66.29%   +0.02%
==========================================
  Files         131      131
  Lines       16784    16794      +10
==========================================
+ Hits        11123    11134      +11
+ Misses       5661     5660       -1

⚠ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

@utam0k should we remove the codecov bot for now? We are not enforcing the coverage value in CI, and also not maintaining a required threshold for it.

@utam0k should we remove the codecov bot for now? We are not enforcing the coverage value in CI, and also not maintaining a required threshold for it.

+1 for now. But we'd like to improve our code coverage in the future. It encourages us to add the unit tests.

Hi @utam0k, @YJDoc2
Thanks for your review comments and I've fixed it. Could you take a look again when you have time?


Create project-matterhorn-studio-MFBO.md

The idea that multi-fidelity BO might be less effective than single-fidelity BO in the long run is interesting. Excited to see where this goes!


Deal with the on-timeout message deletion 404

This likely happened because the bot tries to delete the message after the game starts. Maybe we should just remove the "delete original message on timeout" functionlity.

Okay, this also happens when we manually delete the message, through the CANCEL button, for example. The CANCEL button counts as the last interaction, and would cause the timeout to reset. 5 minutes after the CANCEL button press, timeout callback happens, and this error will show up in the console:
Task exception was never retrieved
future: <Task finished name='discord-ui-view-timeout-9a1292c025860d4bdef7412ba70b8b1e' coro=<TableView.on_timeout() done, defined at /home/peter/UvUManager/ext/UvUManager/table_view.py:55> exception=NotFound('404 Not Found (error code: 10008): Unknown Message')>
Traceback (most recent call last):
  File "/home/peter/UvUManager/ext/UvUManager/table_view.py", line 56, in on_timeout
    await self.original_interaction.delete_original_response()
  File "/home/peter/.local/share/virtualenvs/UvUManager-2s-jCTM7/lib/python3.10/site-packages/discord/interactions.py", line 524, in delete_original_response
    await adapter.delete_original_interaction_response(
  File "/home/peter/.local/share/virtualenvs/UvUManager-2s-jCTM7/lib/python3.10/site-packages/discord/webhook/async_.py", line 219, in request
    raise NotFound(response, data)
discord.errors.NotFound: 404 Not Found (error code: 10008): Unknown Message

Fixed by calling View.stop() to allow for graceful exit.


Powershell snippet to deploy public key to authorized_keys file adds quotes

The code snippet https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement#code-try-7 to deploy a public key to administrators_authorized_keys doesn't work.
The deployed key is quoted with single quotes that need to be removed manually to work.
Deployed key:
'ssh-ed25519 keykeykey username'
Expected:
ssh-ed25519 keykeykey username

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

ID: 4c89b7b3-c05f-b517-6109-04e6a97195c3
Version Independent ID: 1e4b742e-d999-2c1e-a396-dc149f7ac76b
Content: Key-based authentication in OpenSSH for Windows
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_KeyManagement.md
Service: windows-server
Sub-service: administration
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

Thanks!  User section doesn't seem to work either.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Network refactor

Description
Removes the torch dependency and all network code (now exists elsewhere to be joined up in the future)
No additional fitting dependencies introduced.
Also a couple of small changes to the README from running the suggested pre-commit commands (calling black . starts churning through everything in a venv environment if built in directory)
Checklist:

[x] I have performed a self-review of my own code
[x] My code is black compliant (black . --check)
[x] My code is isort compliant (isort . --profile black --filter-files)
[x] My code contains compliant docstrings (pydocstyle --convention=numpy lsbi)
[x] New and existing unit tests pass locally with my changes (python -m pytest)
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have appropriately incremented the semantic version number in both README.rst and lsbi/_version.py

Think I accidentally pulled changes from the branch dimensionality a while ago, I can remake without those or that can be merged first?


docs(readme): update readme

** PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/fulls1z3/node-tslint-rules/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

** PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Other... Please describe:

** What is the current behavior?

Issue Number: N/A
** What is the new behavior?
** Does this PR introduce a breaking change?
[ ] Yes
[x] No

** Other information

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Failed to docker-compose up

when i run "docker-compose up -d"
[root@bj-dockercloud-1 Deploy]#  docker-compose up -d
Creating network "deploy_default" with the default driver
ERROR: 404 page not found
how can i fix it, thanks
My env:
CentOS Linux release 7.2.1511 (Core)
docker-compose version 1.7.0, build 0d7bf73
Docker version 1.8.2-el7.centos, build a01dc02/1.8.2

you need docker +1.10

@vcent please upgrade your docker binary.

@reasonerjt  Thanks a lot


Mark some use-cases docs stale

If anyone thinks that one of these does not need any updates, then we can remove it from this list pre-emptively.
I added a notice to each doc that I haven't personally reviewed recently, (regardless of whether I am the original author. Trying to use a broad stroke to get as much done as possible.)
The use-cases docs that are not covered here are all ones intended to be migrated into the Installation guides, per the GSoD plan that is being advanced here. So the use-cases section of the docs may go away entirely, (unless some of these docs turn out to survive all this without getting relocated):
https://github.com/fluxcd/website/issues/1560

I will double-check the formatting, open to suggestions on how to word these notices better. I tried to be as specific as I could, but the docs which I actually just haven't reviewed yet notices are pretty generic and basic text to that effect.

I missed the OpenShift and Helm guides, they most likely belonged on this list as well

Note that this guide needs review in consideration of Flux v2, and likely needs to be refreshed.
Expect this doc to either be archived soon, or to receive some overhaul.

This is the basic text that unreviewed docs are getting. (We can also simply do the review of docs on the list ahead of merging this PR, and take them off the list then.)
The GitHub Actions Auto PR doc probably doesn't need many or any changes.

The Flux from End-to-End doc should be included in this as well:
https://fluxcd.io/flux/flux-e2e/
It has yet to receive updates for any OCIRepository changes. It's time for an overhaul of this doc. (At least it doesn't mention implementation details like libgit2...)


Investigate AD Integration

#Privacy of Information and Protection:
Your opinion is your personal information. Please do not include any information which identifies you or others in your response.
#Description:
Investigate AD integration, switching from employee name to employee ID for automation.
#Outcome:

[ ]  What is  involved, issues, considerations, timing., pre-work tasks
[ ]
[ ]

#To Complete this ticket:

[ ]
[ ]
[ ]

Started but nothing to demonstrate or May 6th sprint review.

@amoore-github Hi,  Can you add any documentation you found to SharePoint please. 05Work\Integration

@lortrent  Hi, the following documents have been added to 05Work\Integration.
SF_ERP_EC_Data_Migration.pdf
SF_ERP_EC_CoreHybrid_Interface.pdf
SF_EC_ERP_UI_Integration.pdf
Links_to_integration_docs.docx (contains links to multiple documents).

@amoore-github Thx.


Timepicker: need to add validation for inputs

If you enter an invalid value, for example 60 in the minutes field, the control breaks down completely and we see "NaN" in the input fields and is not possible to change the value.
reproduced on Demo

Hi,
Your fix is here


port status lbaas VIP binding_failed

Title:  with neutron port-show we get lbaas VIP binding_failed

Details: We have two productive openstack locations. We have created an lbaas-loadbalancer, listener pool and pool member. The setup works fine. But the neutron port for the LBaaS VIP is in error state
neutron port-show 416d722d-0179-4727-9c52-221503264ba4
+-----------------------+------------------------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                |
+-----------------------+------------------------------------------------------------------------------------------------------------+
| admin_state_up        | True                                                                                |
| allowed_address_pairs |                                                                                |
| binding:host_id       | d00-25-b5-a0-00-b8:4d994162-4477-5837-a0d5-a26ddc3c7d1f                                                    |
| binding:profile       | {}                                                                                |
| binding:vif_details   | {}                                                                                |
| binding:vif_type      | binding_failed                                                                                |
| binding:vnic_type     | normal                                                                                |
| device_id             | bbcf6a35-5129-5106-b845-f7d4d636bd21                                                                       |
| device_owner          | network:f5lbaasv2                                                                                |
| dns_assignment        | {"hostname": "host-10-10-30-28", "ip_address": "<IP_ADDRESS>", "fqdn": "host-10-10-30-28.openstack.local."} |
| dns_name              |                                                                                |
| extra_dhcp_opts       |                                                                                |
| fixed_ips             | {"subnet_id": "de2321e2-da0c-4a97-8a5c-f9a553c4142b", "ip_address": "<IP_ADDRESS>"}                         |
| id                    | 416d722d-0179-4727-9c52-221503264ba4                                                                       |
| mac_address           | fa:16:3e:82:7f:ef                                                                                |
| name                  | loadbalancer-99486fc3-0d61-4f81-bf44-0e7e599ca559                                                          |
| network_id            | e9040eac-aed0-4da6-9c60-ee250e143cdd                                                                       |
| security_groups       | 356c42ee-af87-407b-ae22-493143039424                                                                       |
| status                | DOWN                                                                                |
| tenant_id             | 7f0b5f95e9f24cf3924e5aba39fddeca
We see this for all LBaaS VIP ports .

Agent Version
agent lbaasv2 8.2.0-3.1
f5-openstack-lbaasv2-driver 8.2.0-1.1
Operating System
SUSE cloud 6
OpenStack Release
Liberty
Bug Severity
For bugs enter the bug severity level. Do not set any labels.
Severity: Severity 3 (Medium)
Severity level definitions:

Severity 1 (Critical) : Defect is causing systems to be offline and/or nonfunctional. immediate attention is required.
Severity 2 (High) : Defect is causing major obstruction of system operations.
Severity 3 (Medium) : Defect is causing intermittent errors in system operations.
Severity 4 (Low) : Defect is causing infrequent interuptions in system operations.
Severity 5 (Trival) : Defect is not causing any interuptions to system operations, but none-the-less is a bug.

Description
<Describe the bug in detail, steps taken prior to encountering the issue, yand a short explanation of you have deployed openstack and F5 agent>
Deployment
<Explain in reasonable detail your OpenStack deployment, the F5 OpenStack agent, and BIG-IP(s)>
<Example: Single OpenStack controller with one F5 agent managing a cluster of 4 BIG-IP VEs>
<Example: Three OpenStack controllers in HA, each with one standalone F5 agent managing a single BIG-IP appliance>

Details: For enhancements, copy and paste the following template into your new issue and fill it out.

OpenStack Release

Description

A good solution for this topic is that neutron have a new port_binding status type = reserverd .
This solution requires a change in the neutron code .  We can support you with a blueprint for this change.

I guess this is a duplicate to: https://github.com/F5Networks/f5-openstack-lbaasv2-driver/issues/127
As @d032956 mentioned - setting the state manually after the port create can cause strange behaviors if an actual port binding is needed. I would suggest to add a special "binding:vnic_type" that signals neutron that this is a reservation only.


Reference use of DID Document Metadata properties in specification

Proposal to update the DID DHT specification to reference use of the versionId DID Document Metadata property to store the sequence number in Mainline DHT.
If we standardize on using Unix Epoch Time seconds for the sequence number, it would also be easy to have a verifiable value for:

created
updated

We should also note that resolvers should return the deactivated property set to true after the root DNS record with the string “deactivated” has been published.

Agree and agree.


Import Flat file wizard

After selecting the csv file and updating data types the import just gets hung up and never loads into a new table.  I have restarted the process numerous times and have gotten the same results. Today when I opened azure data studio it did update to the newest version 1.22.1 9/29/2020 release

@rmanthey99 this looks like an issue that is fixed in the upcoming release (#12624 )
the fix is available in the Insiders build already, which you can grab here: https://github.com/microsoft/azuredatastudio#try-out-the-latest-insiders-build-from-main

The bug is fixed in the latest release. Closing this issue.


support of async/await within js migration files

I believe currently async/await is not supported within js migration files since call to generateSql() is a synchronised call.
Since migrate api supports async/await, would it make sense to also let js migration files support async/await? I have a particular use case where I am calling a node api that is async only. Hence this request.

See #16
What's your use case? What are you trying to do and why do you need to do async tasks while generating SQL? Could you instead pre-generate the SQL and just use that?

Thanks @thomwright.
My use case was sorting some external master data in my db which is
expected to be updated on a recurring basis.
I guess I am better of running that as a separate job.
Missed #16 https://github.com/ThomWright/postgres-migrations/pull/16. I
will close this issue
On Thu, 22 Jul 2021 at 17:51, Thom Wright @.***> wrote:

See #16 https://github.com/ThomWright/postgres-migrations/pull/16
What's your use case? What are you trying to do and why do you need to do
async tasks while generating SQL? Could you instead pre-generate the SQL
and just use that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ThomWright/postgres-migrations/issues/73#issuecomment-884869378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3JJJNRO5LEG35I4Z7FTODTZAEN5ANCNFSM5AYRLNJQ
.

--
Best Regards
Bhavin Kamani
Gembatech
Mobile: +919342054041
=============================================================================
"This email is confidential and may contain legally privileged
information. If you are not intended recipient, you should not copy,
distribute, disclose or use the information it contains. Please email
the sender immediately and delete this message from your system.
Emails are susceptible to corruption, interception and unauthorized
amendment; we do not accept liability for any such changes, or for
their consequences."
Gembatech, Bangalore, India

I guess I am better of running that as a separate job for my use case.

Agreed!
Thanks.


typo error in symlink version name.

Description
I just have found typo error in example sym link name to installed tomcat version.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@gogoluxecs

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Thanks for noticing that @gogoluxecs
Merged under the obvious fix policy. No CLA required


SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ √] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
my skywalking metrics data lost, only two log:

2020-11-02 07:44:46,187 - org.apache.skywalking.oap.server.core.storage.ttl.DataTTLKeeperTimer -1813149 [pool-6-thread-1] INFO  [] - Beginning to remove expired metrics from the storage.
==========================================
oap    | Nov 02, 2020 7:45:10 AM io.grpc.internal.SerializingExecutor run
oap    | SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1Closed@418719f7
oap    | io.grpc.StatusRuntimeException: CANCELLED: call already cancelled
oap    |        at io.grpc.Status.asRuntimeException(Status.java:524)
oap    |        at io.grpc.stub.ServerCalls$ServerCallStreamObserverImpl.onCompleted(ServerCalls.java:368)
oap    |        at org.apache.skywalking.oap.server.receiver.trace.provider.handler.v8.grpc.TraceSegmentReportServiceHandler$1.onError(TraceSegmentReportServiceHandler.java:84)
oap    |        at io.grpc.stub.ServerCalls$StreamingServerCallHandler$StreamingServerCallListener.onCancel(ServerCalls.java:272)
oap    |        at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.closedInternal(ServerCallImpl.java:353)
oap    |        at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.closed(ServerCallImpl.java:341)
oap    |        at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1Closed.runInContext(ServerImpl.java:867)
oap    |        at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
oap    |        at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
oap    |        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
oap    |        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
oap    |        at java.lang.Thread.run(Thread.java:748)

Bug

Which version of SkyWalking, OS and JRE?
skywalking 8.1.0
jre 1.8.3

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

Requirement or improvement

Please describe your requirements or improvement suggestions.
my skywalking config：

   downsampling:
      - Hour
      - Day
    # Set a timeout on metrics data. After the timeout has expired, the metrics data will automatically be deleted.
    enableDataKeeperExecutor: ${SW_CORE_ENABLE_DATA_KEEPER_EXECUTOR:true} # Turn it off then automatically metrics data delete will be close.
    dataKeeperExecutePeriod: ${SW_CORE_DATA_KEEPER_EXECUTE_PERIOD:5} # How often the data keeper executor runs periodically, unit is minute
    recordDataTTL: ${SW_CORE_RECORD_DATA_TTL:3} # Unit is day
    metricsDataTTL: ${SW_CORE_METRICS_DATA_TTL:7} # Unit is day

What do you mean lost?

CANCELLED: call already cancelled

This only means the agent cut the network, maybe reboot or network is not stable.

Seems like you have include super method in the server class


[trivial] Tweak std.meta docs

Replace uses of list with sequence.
S[n] is not the nth element (due to zero based indexing).
Add links, formatting.

I restored the comma, I've not made the LREF change. I changed a link title to match https://github.com/dlang/dlang.org/pull/2204.

I've not made the LREF change

Any particular reason?

@JackStouffer Just that I didn't want to get into another change unless it added significant value. Merge please? ;-)


React warning using styled function

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

Using the following code snippet
export const styledBy = (property, mapping) => props =>
  mapping[props[property]];

const AppBarContent = styled('div')({
  flexGrow: 1,
  display: 'flex',
  justifyContent: styledBy('alignContent', {
    start: 'flex-start',
    end: 'flex-end',
    center: 'center',
  }),
});

// ....

<AppBarContent alignContent={props.alignContent}>
  {props.children}
</AppBarContent>

Current Behavior 😯

index.js:1437 Warning: React does not recognize the alignContent prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase aligncontent instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Steps to Reproduce 🕹

Link: https://github.com/straw-hat-team/react-admin

yarn start
Notice the console error

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
4.0.0-beta.1

React
16.8.6

Browser

TypeScript
3.4.5

etc.

The relevant discussion: https://github.com/styled-components/styled-components/issues/439.

@oliviertassinari I tried to follow the mega-thread,
What do we need to do to fix this? I am kind of lost with so much info.

@yordis To sum-up. The props are forwarded to the underlying wrapped element. You have to manually stop them.

I think that I'm missing something; is there any way to stop forwarding props to an html element (such as div), while still using styled().  I can see how to do it with makeStyles/useStyles since you get explicit control of what gets passed to your div, but not when using styled.
It is as simple as, don't pass props to styled html elements?

Any updates here? It is super annoying to have passed custom props to the underlying dom element. For more complex styling the styled API is then pretty unusable.

I have a new look at the issue. emotion and styled-components report a warning, shouldForwardProp is supported by both. You can use the API to ignore the prop.
For instance with styled-components:
import React from 'react';
import { experimentalStyled as styled } from '@material-ui/core/styles';

export const styledBy = (property, mapping) => props =>
  mapping[props[property]];

const AppBarContent = styled('div', {
  shouldForwardProp: prop => prop !== 'alignContent',
})({
  flexGrow: 1,
  display: 'flex',
  justifyContent: styledBy('alignContent', {
    start: 'flex-start',
    end: 'flex-end',
    center: 'center',
  }),
});

export default function Demo() {
  return
<AppBarContent alignContent="end">hello</AppBarContent>

}

However, emotion doesn't support JavaScript prop functions as styled-components does. So the styledBy API isn't usable with emotion.

I wanted to give this a try, but unfortunately experiementalStyled doesn't seem to be available in @material-ui/core/styles - at least not in the TypeScript definitions. Is this something that should be available in the stable release version of MUI?

@meastes Make sure you use v5.0.0-alpha.13 or upward: https://codesandbox.io/s/unstyledslider-material-demo-forked-d98tg?file=/demo.tsx. It works.

Duplicate of #21318

import styled from "styled-components" doesn't have this problem, but import {styled} from "@mui/material" still giving this warning.
Any official solution?

See https://github.com/mui-org/material-ui/issues/27512#issuecomment-984486160


Unable to install the plugin.

Hello!
I tried to add the translate plugin from the datocms marketplace, but after clicking on the install button, datocms opens with the project, but nothing happens, the plugin is not installed. Plugins from other developers install without problems.
I tried it in Safari and Chrome browsers.

Hi @alexflm, thanks for the raising this issue. This looks like an DatoCMS issue, which we can't solve. All plugins on the plugin page work correctly, but I see that if you click on "view all" and go to the next page URL parameters disappear which result in not be able to add the plugin correctly.
Can you try to go to this URL where [projectname] should be your datocms project name? https://www.datocms.com/marketplace/plugins/i/datocms-plugin-translate-fields?projectDomain=[projectname].admin.datocms.com&projectName=[projectname]
If that works I think we should raise an issue with the DatoCMS developers

I will close this since it should be fixed (if it has not already been fixed) by Dato (see https://github.com/datocms/plugins/issues/100)


flag for cargo add to add platform specific dependencies

Problem
Currently, there is no support for adding platform specific dependencies (such as [target.'cfg(windows)'.dependencies]) using cargo add.
Proposed Solution
Add a --cfg option that allows the user to specify the whole desired cfg predicate.
Examples:

cargo add windows --cfg windows
cargo add raw_cpuid --cfg any(target_arch = "x86", target_arch = "x86_64")

Notes

Currently, since cfg dependency specifications only are supported using platform predicates, one might think that the option should be named differently. But, in case other cfg pairs/options become supported in the future, the name of the flag allows for it to also include those without confusion for its name being named after the fact it specifies platform specific dependencies only.

@rustbot claim

@akabinds FYI this has not been marked as Accepted and there are likely things still left to resolve, like what the flag should be called.  Starting on this now might lead to extra churn during review as we settle those kind of questions.

@akabinds FYI this has not been marked as Accepted and there are likely things still left to resolve, like what the flag should be called. Starting on this now might lead to extra churn during review as we settle those kind of questions.

I understand. I just wanted to claim it because I want to implement it if it is accepted. But, I had a quick question. I was looking around the code base for relevant code to help implement this. I found that this feature seems to already have tests in the test suite using the existing --target flag:
https://github.com/rust-lang/cargo/blob/a66f1233f9ad61e91cc8fd86f0b6bd15e66443a8/tests/testsuite/cargo_add/target_cfg/mod.rs#L8-L25
But, when attempting to add platform-specific dependencies this way in my own project to test, it seems to not work. Has this been implemented already, but not present in a release?

Huh, I thought we had this; I should have checked rather than assuming the issue author hadn't missed it.

But, when attempting to add platform-specific dependencies this way in my own project to test, it seems to not work. Has this been implemented already, but not present in a release?

Could you provide more details as to what didn't work?

Could you provide more details as to what didn't work?

My shell was giving me an error after running it. It seems like all I had to do was wrap the cfg predicate in quotations and it worked fine. But, I ran this to test:
> cargo add --target cfg(windows) serde
zsh: unknown file attribute: i

If I did --target 'cfg(windows)', it worked fine.
I'm not sure if this fix is needed on other shells.

I believe different shells have different ways to escape things. If that works for you, seems like this issue is not really an issue as cargo-add already supports that?

I believe different shells have different ways to escape things. If that works for you, seems like this issue is not really an issue as cargo-add already supports that?

Indeed. But should it not be at least documented that quotations might be needed based on the shell?

That gets into an interesting line of how much do we document how to use each users system vs users knowing it being an expectation in using cargo.


Mention gotcha about how gizmos affect transform notifications

While looking into #37283, I discovered that 3D nodes propagate NOTIFICATION_TRANSFORM_CHANGED if either the user asked for it with set_notify_transform_changed() or if the node had a valid gizmo. I wanted to share this gotcha, which I think will help users understand why they may get endless transform notifications even if they set the node to not notify about transform changes.

Thanks! Sorry for the delay merging this.

Thanks! Sorry for the delay merging this.

Cherry-picked for 3.2.4.

Cherry-picked for 3.2.4.


Feature/reviewer info

Addresss

Ensure proper permissions for reviewer metadata #761
Additional metadata information needed regarding ATBD Reviewers #753

@sunu @wrynearson Lets get this to staging!


adding changes for site per version - master

Description
changes for site per version (#3865)

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit ada9ad3eb6c546f231c2b141e5d40e756279619b
https://deploy-preview-3875--calico.netlify.app


feat: expose #connect in connection type definitions

This is simply to expose the function connect in type definitions for a Connection object. We have a use case where need to simply connect without querying.

This would indeed be a good addition! 👍

Is now released in version 0.9.1


Automated cherry pick of #3176: Migrate VMC jenkins testbed to private VC

Cherry pick of #3176 on release-1.3.
#3176: Migrate VMC jenkins testbed to private VC
For details on the cherry pick process, see the cherry pick requests page.

/test-all

Codecov Report

Merging #3253 (876197d) into release-1.3 (ba97df7) will decrease coverage by 19.60%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-1.3    #3253       +/-   ##
================================================
- Coverage        60.92%   41.31%   -19.61%
================================================
  Files              286      158      -128
  Lines            23034    19282     -3752
================================================
- Hits             14034     7967     -6067
- Misses            7488    10568     +3080
+ Partials          1512      747      -765

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
41.31% <ø> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


sometimes nanovg crashes on fonsTextIterInit

sometimes nanovg crashes on fonsTextIterInit when I call nvgText(). maybe the stbtt_fontinfo has released?
(fonsTextIterInit,stb_truetype.h,line 2214,col 32 + 1917040)
(fonsTextIterInit,fontstash.h,line 1332,col 2 + 1916912)

The line numbers does not make sense. Are you using the latest code?

I use the latest code of nanovg and stb_truetype, the latest stb_truetype use 'CFF ' table.

Order of function calling:nvgText()->fonsTextIterInit()->fons__tt_getPixelHeightScale()->stbtt_ScaleForPixelHeight()
I invoke nvgCreateFontMem() on main thread, and then invoke nvgText() on sub thread. I make sure stbtt_InitFont() has been finished when invoke nvgText(). so I can not understand why crashed on stbtt_ScaleForPixelHeight().

NanoVG is not thread safe by any means.
When you get the crash, hoe does things look like in debugger? Does the font look ok on main thread and is the info valid at the point where it crashes? Does nvgDeleteInternal get called on main thread before you call nvgText?

You are right. I move the create() and destory() invoke logic to the subthread, not crashed anymore. In addition, add reset fs pointer,
	 if (ctx->fs) { 	fonsDeleteInternal(ctx->fs);        ctx->fs = NULL; };


[Design Proposal] Splitting up the provider

I've been trying to figure out the best way forward for supporting the next generation Harness platform with the Terraform provider. The provider was originally built for our first generation product which is continuous delivery only (referred to here on out as CD). Now that we have a lot of customers starting to use our next generation platform (referred to here on out as NG), which has a lot of different modules (i.e. feature flags, CI, CD, cloud cost management, etc.) we need to add support for it in the Terraform provider. Up until now, only a handful of resources have been implemented for it.
The challenge lies in how we name resources. For resources that are unique in NG it's pretty straightforward: harness_organization, harness_project, etc. There are no equivalent resource in CD for this. But for many others, there are. For example, harness_user, harness_service, harness_environment, etc.
There are a few ways I've thought we could address this.
Option 1:  Prefix NG resources
Since the vast majority of users are currently using only CD resources we would leave those intact. For all new resources we would give them a prefix like harness_ng_service, and harness_ng_environment.
Pros

No disruption to existing users having to migrate their resources.
Allows both CD and NG to be used together in the same modules (is this really needed?)

Cons

With the NG platform eventually becoming the only platform (CD will eventually be deprecated) it doesn't make a lot of sense to have _ng_ in every single resource.

Option 2: Prefix CD resources
Essentially this is the opposite of the first option. We would add a prefix for all CD resources like harness_cd_service, harness_cd_environment, harness_cd_yaml_config, etc.
Pros

The NG platform resources (which will be the vast majority in the long run) will not have any prefix and follow the standard naming convention.
Keeps the blast radius of the number or resources needing to have a prefix to a bare minimum

Cons

Forces a renaming of all existing modules and state files to account for the new resources names. Will greatly affect existing users of CD.

Option 3: Split the codebase
This would entail creating a brand new provider with a completely separate codebase. The provider would be called something like harness/harness-platform as opposed to the current one which is calledharness/harness.
Pros

No one currently using the provider for CD needs to change anything.
Since the resource coverage of NG is so minimal, very few people would need to change anything and instead can just use the new provider when they start their implementation.
No need to prefix any resources since they will be defined in two separate providers.

Cons

Discoverability may be an issue and could cause confusion as to why there are two providers.

Option 4: Other ideas?
I'm really not sure what the best option is here. I'd love to hear other ideas, suggestions, or possibly votes for one of the other options.
Thanks!
Micah

After much discussion we will be moving all nextgen resources to github.com/harness/terraform-provider-harness-platform.


Scrutinizer: Analyze only src

I noticed this failure in build from https://github.com/webonyx/graphql-php/pull/539
What about this change? Tests are here often more "messy", long, and have high complexity, I'd rather focus on src with these checks.

I agree, thanks!


Enhance validation for operation annotations for Credential rotation

How to categorize this PR?

/area quality
/kind enhancement
What this PR does / why we need it:
If someone annotates the shoot with an operation annotation while there is already a maintenance annotation for rotation present, for eg: maintenance.gardener.cloud/operation: rotate-ca-start  as well as gardener.cloud/operation: rotate-credentials-start, gardenlet can error with:
2024-10-27 09:29:14 | {"log":{"controller":"shoot","error":"Shoot.core.gardener.cloud \"shoot-new\" is invalid: metadata.annotations[maintenance.gardener.cloud/operation]: Forbidden: cannot start CA rotation if .status.credentials.rotation.certificateAuthorities.phase is not 'Completed'","level":"error","msg":"Reconciler error","name":"shoot-new","namespace":"garden-local","object":{"name":"shoot-new","namespace":"garden-local"},"reconcileID":"20f9c675-21c9-4f17-a34b-0c02cc6511fe","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.6/pkg/internal/controller/controller.go:227","ts":"2024-10-27T09:29:14.402Z"}}

or maintenance.gardener.cloud/operation: rotate-credentials-start with gardener.cloud/operation: rotate-ca-start
2024-10-28 12:21:53 | {"log":{"controller":"shoot","error":"Shoot.core.gardener.cloud \"shoot-new\" is invalid: metadata.annotations[maintenance.gardener.cloud/operation]: Forbidden: cannot start rotation of all credentials if .status.credentials.rotation.certificateAuthorities.phase is not 'Completed'","level":"error","msg":"Reconciler error","name":"shoot-new","namespace":"garden-local","object":{"name":"shoot-new","namespace":"garden-local"},"reconcileID":"1f0847c9-eb84-4aed-89e5-f5cbd43395e7","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.1/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.1/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.1/pkg/internal/controller/controller.go:224","ts":"2024-10-28T06:51:53.887Z"}}

Similarly for completion.
This PR enhances the validation for rotate operation annotations to cover these cases.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

@shafeeqes: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name	Commit	Details	Required	Rerun command
pull-gardener-e2e-kind-ipv6	88cde37 link	true	/test pull-gardener-e2e-kind-ipv6
pull-gardener-e2e-kind-migration	88cde37 link	true	/test pull-gardener-e2e-kind-migration
pull-gardener-e2e-kind-ha-multi-zone	88cde37 link	true	/test pull-gardener-e2e-kind-ha-multi-zone
pull-gardener-e2e-kind-ha-single-zone	88cde37 link	true	/test pull-gardener-e2e-kind-ha-single-zone
Full PR test history. Your PR dashboard. Command help for this repository. Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see our testing guideline for how to avoid and hunt flakes.

Occurrence of https://github.com/gardener/gardener/pull/10734

/retest

/assign @RadaBDimitrova

/approve

/retest


Remove tex_ prefix from tex_image

All column names of the table tex_image start with a tex_ prefix. This prefix is unnecessary and should be removed.

done with 8c0111d


Or typing does not inherit array methods

I would like to do this:
var foo:string[]|number[] = [];
foo.forEach((element) => {

});

In the playground I am getting an error that I cannot call forEach.
Furthermore I would expect the "element" to be of type "string|number".

We don't "combine" function argument types in a union type -- it's not clear that's actually the correct behavior. foo could be of type Array<string|number> if that would be accurate.


fix(tilecatalog): layout issues with sparse tiles and truncate on max title length

Summary

Add a sample CatalogContent component if other teams want to use it
Support truncation and handling long titles and descriptions correctly across various screensizes

Change List (commits, features, bugs, etc)

Added CatalogContent component for reuse by other teams

Related Issues

Closes IBM/carbon-addons-iot-react#89

Acceptance Test (how to verify the PR)

Test the tilecatalog at various responsive sizes.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.23.0 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


Short solution needed: "golang substring" (golang)

Please help us write most modern and shortest code solution for this issue:
golang substring (technology: golang)
Fast way
Just write the code solution in the comments.
Prefered way

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

How to get substring from string


Report a problem widget can be submitted without entering any data

If you load the homepage of the Alpha site, open the Report a problem widget, and then "submit" it, you will get a thank you message.
This isn't clearly a problem. If we wanted to keep this behaviour, it's fine, but I do think it's worth highlighting.
From my perspective, the options are:

Say thank you for your response, and send a blank email
Say thank you for your response, but don't send an email
Include some kind of form validation (error! you must enter something!), and don't send an email

I think we should do 2, or 3.
Trying this out on the Canada.ca homepage, you are also able to submit the report a problem widget without entering any data, so we could just take this as precedent and stick with 2.

I think is fine behaviour... emails are only sent on the API side of things if there is data. We don't really have any way in the designs to inform the user that they must select at least one.


UUIDs

it is said the creator of an item can choose the UUID.
However, what if you want to merge two observations of one real-world event? Shouldn't we deduplicate through the real world?

This book https://michaelperry.net/the-art-of-immutable-architecture/ has a chapter dedicated to these sorts of things under "historical modeling"
But, yeah, I'd add a second index which is not unique. The developer would have to deal with many copies of the same thing with the same key. You'd need to form some sort of causal relationship so you can determine which copy comes first. Historical modeling covers that latter bit in detail where the relationship is a function of your domain.
More general options would be some sort of causal graph where each item refers to parent events. E.g., git, diamond types, https://vlcn.io/blog/crdt-substrate

Right! I think there is a subtle distinction here.

To refer to a piece of content, assign it an immutable Unique ID (UID).
[...]
By “piece of content”, I mean anything that the user views as a distinct “thing”, with its own long-lived identity: an ingredient, a spreadsheet cell, a document, etc. Note that the content may be internally mutable. Other analogies:

Anything that would be its own object in a single-user app. Its UID is the distributed version of a “pointer” to that object.
Anything that would get its own row in a normalized database table. Its UID functions as the primary key.

So I think "piece of content" is the right term in this context is defined at the level of the app GUI or inside the code / database. It comes into existence when the user makes a certain UI gesture.
But suppose I add the Eiffel tower to our database and you do too. Then there would be two distinct pieces of content, but we would still want to deduplicate that.
Systems like git act on syntactical equivalence: if we write the same line of text byte-by-byte then there is no conflict.
But I'm also interested in semantic equivalence: if we both assign an identifier to something that exists independently from both of us, then we created two pieces of content, but these pieces of content refer to the same thing in the physical or some other outside world.


Change generate image from slack command to internal

A problem with /generate_images is that Slack won't let you do it in a thread. Dunno why.
A simple fix would be to change this from a Slack slash command to something parsed out of a message, e.g. ":gi "

pull request approved. Merged into main


pipenv doesn't let you change the flags to virtualenv

I need --system-site-packages because of deficiencies with pip. There should be some command line option to pass additional arguments to the virtualenv invocation, similar to e.g. -Wa, in gcc.

we're going with the 90% use case here, so this isn't going to be an option at this time.


TS-4309: Simplify read/write loops to address upload/download speed p…

…roblems.
May also help with ASAN crash reported in TS-4424.

Linux (CentOS7) build finished successfully. Details on https://ci.trafficserver.apache.org/job/Github-Linux/20/


About some control problems: poor steering performance

Hello there. I'm still struggling to fix the control problem of the vehicle.. (https://github.com/MaisJamal/carla_apollo_bridge/issues/6)
I have tuned the control_conf.pb.txt (also the calibration table and some other parameters), and tried two different control algorithms (LQR+PID and MPC), but the vehicle still struggles to make turns (although it looks good when going straight).
You said that you have modified the car physics in Carla, I assume it is the following code in run_bridge.py:

However, these codes do not seem to address the steering problem.
I'm writing to ask because I saw your uploaded video shows that the car can make turn perfectly: https://www.youtube.com/watch?v=kS7OC7q0v3c. Particularly, I noticed that in last few seconds, the car is steering perfectly according to the planning output. I am curious whether this is the actual result of the control problem, or the apply_control is false and the car is perfectly following the planning trajectory without executing the control command.
Do you have any more insight on fixing the steer problem? Many thanks!

Hello,
I meant a different thing by "modifying the car physics". The code you have showed is related to transferring the data in the bridge among Carla and Apollo.
Changing the car physics can mainly be done in scenario launching file "manual_control_13.py" or any similar file, by the following code:
https://github.com/MaisJamal/carla_apollo_bridge/blob/f6d803aae82c296a5bb9de6ef0a7f66908f16aba/examples/manual_control_13.py#L667C5-L682C17

https://github.com/MaisJamal/carla_apollo_bridge/blob/f6d803aae82c296a5bb9de6ef0a7f66908f16aba/examples/manual_control_13.py#L667C5-L682C17

Hello, I meant a different thing by "modifying the car physics". The code you have showed is related to transferring the data in the bridge among Carla and Apollo. Changing the car physics can mainly be done in scenario launching file "manual_control_13.py" or any similar file, by the following code:
https://github.com/MaisJamal/carla_apollo_bridge/blob/f6d803aae82c296a5bb9de6ef0a7f66908f16aba/examples/manual_control_13.py#L667C5-L682C17
by changing damping rate and other parameters in physics_control of the actor, you fix the issue with brakes, and this will fix the turn of the car. The problem with steering cannot be solved without adjusting the control of longitudinal movement.

Many thanks for the reply. I have added similar code to the bridge and the control module now works more promptly.
FYI, I have discovered several control-related bugs that would affect the control performance. These bugs exist in the control configuration, controller code, and other modules. I've initiated some issues to report these bugs (maybe they can be helpful for you):
https://github.com/ApolloAuto/apollo/issues/15144
https://github.com/guardstrikelab/carla_apollo_bridge/issues/159
However, even after I have tried to fix these bugs, the control module is better but still far from being perfect.
What a challenge!

Why is the steer target being inverted in this code?  (**-1 *** data.steering_targe /100)

Thank you so much. I'm having trouble with the steering performance using this bridge. But observing the steering commands, the problem might be coming from Apollo Control itself. The steering target has very steep changes at each new Control command. I wonder if the difference between the Control Rate (100Hz) and the Carla Rate providing the Sensor updates (GPS and IMU) at a much lower rate is causing the issue by affecting the Localization update that is used by the Controller. Do you have a stable steering? If yes, What is the Localization Rate?

Tuning the control module is challenging, and I have been doing this and reported some bugs (if you are interested: https://github.com/guardstrikelab/carla_apollo_bridge/issues/159). Bad control can be due to many factors, including problems from planning module.
You guess is correct. The control rate is 100Hz but the car state update rate is 20Hz, in which case the control module will keep calculating control command based on low-rate car state. But this is just one very small factor leading to the bad control performance......

@PhilWallace Thank you. Can you share the fixes in the Control code that you mentioned in that thread and also the configuration file? Any other changes you tried in the configuration settings apart from the calibration table from longitudinal movement?

I modified the car physics as referenced by https://github.com/MaisJamal/carla_apollo_bridge/issues/9#issuecomment-1697120713.
I did some modifications on the control code, but the performance is still not satisfying. Current I think the configuration is the biggest problem. I am still working on it and will share it later when I tune it better. : )

Have you tried using Carla's Controller instead of Apollo's? (using the bridge to provide Trajectory data, and keeping Apollo Controller shutdown)

Have you tried using Carla's Controller instead of Apollo's? (using the bridge to provide Trajectory data, and keeping Apollo Controller shutdown)

I haven't try this yet. Carla itself indeed offered some basic control algorithm (using PID to follow the next trajectory point, if I remember it correctly). You can have a try.


When including the s-model_articulated_macro.xacro file I get this error

xacro.XacroException: Property wasn't defined: u'prefix'
Which prevents me from using the gripper in a xacro. Thoughts? I have defined the prefix parameters.

If you could post a snippet showing how you include and then instantiate the macro that would help.


query with Beam Retrieval of other datasets

Hi,bro!
I want to use Beam Retrieval in my model,which test in other KGQA datasets,such as WebQSP or CWQ.
So I ask about compatibility this way in other datasets.Thanks!

Hi,bro! I want to use Beam Retrieval in my model,which test in other KGQA datasets,such as WebQSP or CWQ. So I ask about compatibility this way in other datasets.Thanks!

Hello @codefreshman1024 ! Sorry for the late reply. Beam Retrieval mainly focuses on the unstructured multi-hop QA datasets, and I'm not sure whether it could be applied to structured datasets such as KGQA. Maybe you can try to transform the structured data into unstructured form. In general, I don't recommend doing this because there are more suitable papers and methods in the KGQA field.

Thank you for your suggestion!I understand that the beam retrieval method used in your paper is used to supervise the intermediate process, so that it can better find the target entity. I think it is the same for text or structured data sets, and I am also actively looking for other supervision methods

Your understanding is correct, and applying the idea of beam retrieval to KGQA is promising. I hope you can make a progress. Feel free to contact me if you have other questions.

Yes. Beam Retrieval is used for selecting relevant passages given a question and a set of candidate passages. If you can generate this type of format, then you can use Beam Retrieval.


Fixed proximity calculations in proximityeffect and added tests

Overview

fixed problem when proximity ranges are bigger than interaction radius of near pointers

fixed wrong calculation of proximity range around the box to determine which pointers are in range

changed comparisons for proximity to less-equal

wrote tests that confirm
-- default behavior proximity effect switched off
-- default configuration on proximity effect is working when switched on
-- user configured confirmation during runtime is applied and working

minor: moved all bounds control scriptable configs into experimental menu entries

Changes

Fixes: #5340 - task: add tests for proximity effect

/azp run

/azp run


amazon logo and countries list is added to the footer.

Description
I added amazon logo at the footer which wasn't visible at first. Also added the list of countries name.
image

Hey @apala7778, could you please attach screenshots of your work and some conflicts you need to resolve?

Hey @apala7778, could you please attach screenshots of your work and some conflicts you need to resolve?

This is the screenshot of the footer section
https://ibb.co/WcQKjvq
it still requires a select language option. please let me know any further improvements.

Kindly resolve the conflicts @apala7778 .

conflicts have been resolved.

Conflicts are still there @apala7778 ! Kindly check


iOS Device - F5 Debugging stuck on 'Installing and Launching'

Hey all,
I'm using Visual Studio code.
This app used to be fine with me hitting F5 for debug on my physical device (iPhone X, 13.3).
Now out of nowhere, it installs, but just sits on the splash screen stuck on 'Installing and Launching'. It works fine through XCode.
I'm trying to utilize the DevTools through a debug session in Visual Studio because I'm seeing massive Memory issues. But this is extremely frustrating and getting me rather disappointed in Flutter after a year of building this app.
Yes I have tried restarting, turning off wifi, deleting app, restart phone. Everything.
Here is my flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.2 19C57, locale en-US)
• Flutter version 1.12.13+hotfix.7 at /Users/danielc/Desktop/Learn/flutter
• Framework revision 9f5ff2306b (8 days ago), 2020-01-26 22:38:26 -0800
• Engine revision a67792536c
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/danielc/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[!] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] Connected device (2 available)
• iPhone (2)        • 00008020-000A116C2ED2002E            • ios • iOS 13.3
• iPhone 11 Pro Max • 83782B19-204A-400E-BB2F-58752163B32B • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
I'd really appreciate any input.
Thanks

Hi @danielgchap
I see you have this issue open
https://github.com/flutter/flutter/issues/50077
please follow up there
thank you


Embedded Jetty with Jersey and Swagger - no web.xml

I am using Jetty in a project to implement a web server. Currently, I programmatically add one servlet to support a RESTful API using Jersey. This all works fine.
However I would also like to incorporate swagger for documentation of the API. For now I have a small example server which just produces text services. However swagger is not producing any documentation and I am not sure if I am using it correctly.
Bean Config Use:
private static class Bootstrap extends HttpServlet {
        @Override
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
            BeanConfig beanConfig = new BeanConfig();
            beanConfig.setVersion("1.0.2");
            beanConfig.setSchemes(new String[]{"http"});
            beanConfig.setHost("localhost:2008");
            beanConfig.setBasePath("/api");
            beanConfig.setResourcePackage("io.swagger.resources");
            beanConfig.setScan(true);
        }
    }

Main method which launches the jetty server:
public static void main(String[] args) {
        int port = 2008;
        Server jettyServer = new Server(port);
        ServletHolder servletHolder =
            new ServletHolder(
                org.glassfish.jersey.servlet.ServletContainer.class);
        servletHolder.setInitParameter(
        	"com.sun.jersey.config.property.resourceConfigClass",
        	"com.sun.jersey.api.core.PackagesResourceConfig");

        servletHolder.setInitParameter(
            ServerProperties.PROVIDER_PACKAGES,
            "rest.service, io.swagger.jaxrs.listing"
        );
        ServletContextHandler context =
            new ServletContextHandler(ServletContextHandler.SESSIONS);

        context.setContextPath("/");
        context.addServlet(servletHolder, "/*");

        ServletHolder swaggerServlet = new ServletHolder(new
		Bootstrap());
        context.addServlet(swaggerServlet, "/*");

        jettyServer.setHandler(context);

      try {
        	jettyServer.start();
        	jettyServer.join();
        } catch (Exception ex) {
            System.exit(1);
        }
    }

Finally my service is (very simple, just for testing for now)
package rest.service;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import io.swagger.annotations.*;

// Plain old Java Object

// The class registers its methods for the HTTP GET request using the @GET annotation.
// Using the @Produces annotation, it defines that it can deliver several MIME types,
// text, XML and HTML.

// The browser requests per default the HTML MIME type.

//Sets the path to base URL + /hello
@Api(value = "myService",
     description = "My Config Service API",
     produces = "text/html",
     consumes = "text/html")
@Path("api/hello")
public class PlainTextSvc {

  // This method is called if TEXT_PLAIN is request
  @GET
  @Produces(MediaType.TEXT_PLAIN)
  public String sayPlainTextHello() {
    return "Hello Jersey from Plain Text Service";
  }

  // This method is called if XML is request
  @GET
  @Produces(MediaType.TEXT_XML)
  public String sayXMLHello() {
    return "<?xml version=\"1.0\"?>" + "<hello> Hello Jersey" + "</hello>";
  }

  // This method is called if HTML is request
  @GET
  @Produces(MediaType.TEXT_HTML)
  public String sayHtmlHello() {
    return " " + "<title>" + "Hello Jersey" + "</title>"
        + "
" + "Hello Jersey" + "
" + " ";
  }

}

When I try to access http://localhost:2008/api/hello or  http://localhost:2008/api I get
HTTP ERROR: 405
Problem accessing /swagger.json. Reason:
HTTP method GET is not supported by this URL

This topic has probably been covered before so apologies in advance.

If you take out your Swagger integration do your API calls work? Right now, it seems like the problem you have is not directly related to the Swagger integration but rather the way you configure jersey+jetty together.

Yes the API calls work fine without swagger. I was wondering if I need to do more than
servletHolder.setInitParameter(
ServerProperties.PROVIDER_PACKAGES,
"rest.service, io.swagger.jaxrs.listing"
);
to tell the server about swagger.

There are several guides in the wiki as to how to integrate swagger-core. While the way to do it may be slightly different when using embedded jetty, the concept is still the same.
Do you have any resources that are hosted directly at the context root of your application (@Path("/"))?

No, everything is under /api/. Is this a problem?

No, that's not a problem at all. Since it sounds like a sample project, any chance you can share the code itself?

src.tar.gz
Yes it is just a sample project so no problem. The source files are attached.
example/client is not relevant for this issue.
dto contains my Data Transfer Object Definition
rest/service contains the service classes.
RestServer2.java is my server with no swagger integration.
server/swagger/RestServerSwagger is my attempt at a server integrating swagger.

Thanks for that. It looks like it's missing a pom file or any other build mechanism. That makes it difficult to run and test. Do you have the full structure of the project?

I am building and running using Eclipse. So all I could send are the .classpath and .project files ?

That may help.  That could be the source of the problem.

The target project i want to use swagger for is actually an embedded system. So I compile on one machine and execute on another.
Primarily for that reason I am manually managing dependencies which i know is not ideal. But the list of dependencies must be finite and possible to add manually?
My .project and  .classpath are attached.
CLASSPATH.txt
PROJECT.txt

There are definitely missing dependencies in that list, so you'd need to take care of that. Also, I'd suggest upgrading to the latest swagger-core, that is, 1.5.4.

Did you resolve this? I seem to be having a similar issue.

found full example here https://gist.github.com/nosmokingpistol/302c4c3ef30f183cf70e


add #usingRecursiveFieldByFieldElementComparator to AbstractIterableA…

…ssert and AbstractObjectArrayAssert (fixes #636)
javadoc is still missing, but I like to have the approach review before investing further effort
@joel-costigliola no need to hurry with the review

@PascalSchumacher I'll try to review by the end of the month, please remind me if I fail to do so.

@joel-costigliola Thanks, no need to hurry. I'm fine as long as you as you review before the next release. I know you are a very busy man.  :)

rebase onto current 2.x

Thanks, I'll review it tomorrow.

Thanks for the review :smile:
I have updated the pull request with your suggestions.

Thanks for the quick PR update !
I was reviewing the javadoc and realized that there is no support for registering specific field/type comparators (as mentioned in the existing javadoc), for completion and consistency we should add it.
Adding usingComparatorElementForType and usingComparatorForElementField methods in AbstractIterableAssert and using the registered comparators in FieldByFieldComparator should solve this problem I believe .
What is your opinion about the solution and the methods names ?

I agree there should be support for this registering field/typ comparators.
I think this can be added in a different issue/pull request, as this also concerns usingElementComparatorOnFields. I have opened https://github.com/joel-costigliola/assertj-core/issues/676 to track this and removed the paragraph from the javadoc.
I'm not sure the names make it clear enough that the comparators are not used for the elements itself, what about something like usingComparatorForElementFieldsWithType and usingComparatorForElementFieldsWithName?
I can start working on a pull request for this, unless you like to tackle this yourself?

Good idea, I will integrate this PR and let you work on #676 if you have time to do so.

Done :)


chore(all): add wallaby config file

Add a wallaby.js file for skeleton-typescript-webpack.
Still has an issue with Promise not being defined when running tests with wallaby.

Thanks!


Sorting of Entries

Currently all entries are sorted in the order how they were originally add, this is sometimes very annoying if you have more than a few entries. It would be a good addition to let the user sort them manually.

This is a duplicate of #1.


Fixed express 4 way of getting routes also es6

@labithiotis I think this is minor change to README but it will help many people like me who comes here a lot! logging all routes in dev/build step is very nice feature!

Please update the package.json from lodash 3.0.0 to lodash 4.17.20

@idchlife Thank you for doing this PR and super sorry for completely missing it. I have now refactored code to work with es6 and also removed all external dependencies (@inm-rmorales). The library will work with express3, express4 and express5 (once released).
Again so sorry I didn't address this sooner.


Maintainer Request

I'd like to become a maintainer/owner of this project.  Much :heart: for it, and I have used it so many times over the last year, that I don't want to see it fade away.  I can also host or maintain the website/domain if needed.

Hi @LongLiveCHIEF I would like to join you in maintaining this project. Could I be of help or do you have it under control?

I haven't received a response back from @dthree yet, but I'll let you know when I do.

Withdrawing per comments in #189

Hi, so sorry. Just seeing this. Are  you two still interested in this?

Yep, absolutely.  I also close PR #189 which I can reopen after adding @SteveEmmerich's info to the maintainers block if you'd like.

Okay, great!
Most wanted right now is closing simple issues and PRs, without changing major functionality. I'll try to put in some time soon to catch up and go over more with you.

Sound good?

This package is great. Hope you can continue to maintain it :+1:

Thanks @minhchu . I'm hoping to find some time in the future to do a number on it and clean up all issues.


Problem with multiple stops at the same bus stop

In some odd cases, a bus makes multiple stops during a route at the same bus stop (same site id). This is the case for me where my bus makes a first stop and then comes back a few minutes later after turning around. Both stops are on the same route (same direction and same siteid) and the stop name is the same. The siteid in my case is 7037.
In cases like this, I would only want to display the second stop the bus makes since that's the one I need to time things for.
When making a manual request to the SL API, it seems like these stops can be separated by looking at the StopPointNumber attribute in the json response. It doesn't seem like this attribute is parsed though so can't figure out how to filter on it.
Would it be possible to have an option to include additional attributes in the parsed data perhaps, so I can do some manual filtering on this? Or would it be better to use a RESTful sensor in odd cases like this one?

This sounds absolutely like a attribute that can be added. I will add this hopefully in two releases as I currently already locked the next release from adding features.

Also; perhaps you could already now use the Resrobot option? (It's available in the now beta and soon-to-be released next version).


Group editing & deletion

For now without permission checking, still working on group membership

Has this branch pulled in the changes on master? There appears to be a lot of repeated changes when looking at the files changed


Calendar and contacts for K-9 synced to Thunderbird on the PC

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
22631.2428
Problem you are trying to solve
I want to sync Calendar and Contacts in Thunderbird for PC directly with Calendar and Contacts  in the new Thunderbird for Android when it appears.
I do not want my data to go through Google in any way, and I have not the training to use CalDAV.
Suggested solution

Add Calendar and Contacts to the new Android Thunderbird.
Sync them with Calendar and Contacts in Thunderbird on the PC.

Perhaps this is already planned, but I could not find any note about it.
Screenshots / Drawings / Technical details
I am using currently using The Bat! for Email on the PCs, Maildroid for Email on the Androids, Tutanota for synced Calendars on the PCs and Androids, Windows Contacts on the PC, and far too occasional export of Contacts from the PCs to the Androids.
I am fed up with it all.  I want a single software solution, and I would much prefer not to use Microsoft.  Surely Email+Calendar+Contacts, securely out of reach of privacy invaders, is the foundation of home computing.

We have no intention of adding client to client synchronization. Neither Thunderbird nor K-9 Mail are designed to work this way.


Configure Azure Pipelines

This configuration builds the application and produces builds for both Debug and Release configurations.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: LyesN sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Launching debug session from debug dropdown doesn't activate debug extension

Steps:

get mock-debug latest in source
set breakpoint in activate function (extension.ts:26)
build and launch extension by pressing F5
in new window run launch config "Debug test.md"

Observe: breakpoint in activate is not hit and nothing happens

open test.md
press editor's debug button

Observe: breakpoint is hit and mock debugging works

press F5 to launch debug session from debug dropdown

Observe: now mock debugging works
So it seems that the mock-debug extension is not properly activated when debugging is started from the debug dropdown.

The issue seems to be the following, mock debug activates on the following events
"activationEvents": [
    "onDebugDynamicConfigurations:mock",
    "onCommand:extension.mock-debug.getProgramName",
    "onCommand:extension.mock-debug.runEditorContents",
    "onCommand:extension.mock-debug.debugEditorContents"
  ],

Thus the editor run triggers it due to onCommand:extension.mock-debug.runEditorContents
However the debug launch does not trigger it.
I suggest that mockDebug also activates on "onDebugResolve:mock"
That will fix the issue

great find, thanks a lot.
Since I could not imagine that the problem was so simple, I did not look into that area...


apps sc: Configuration max body for elasticsearch

What this PR does / why we need it:
This pr allows to configure elasticsearch ingress max body size via elasticsearch.ingress.maxBodySize.
Which issue this PR fixes:
fixes #514
Public facing documentation PR (if applicable)

Special notes for reviewer:
Checklist:

[x] Added relevant notes to WIP-CHANGELOG.md
[x] Proper commit message prefix on all commits
[ ] Updated the public facing documentation
Is this changeset backwards compatible for existing clusters? Applying:

[x] is completely transparent, will not impact the workload in any way.
[ ] requires running a migration script.
[ ] will create noticeable cluster degradation.
E.g. logs or metrics are not being collected or Kubernetes API server
will not be responding while upgrading.
[ ] requires draining and/or replacing nodes.
[ ] will change any APIs.
E.g. removes or changes any CK8S config options or Kubernetes APIs.
[ ] will break the cluster.
I.e. full cluster migration is required.

Chart checklist (pick exactly one):

[ ] I upgraded no Chart.
[x] I upgraded a Chart and determined that no migration steps are needed.
[ ] I upgraded a Chart and added migration steps.

Pipeline config (if applicable)
If you change some config options (e.g. add/rename variable or change the default value) you may need to update the config used by the pipeline in pipeline/config.

Update the pipeline config as well with the new field
https://github.com/elastisys/compliantkubernetes-apps/blob/main/pipeline/config/exoscale/sc-config.yaml


bulk-crap-uninstaller: Fails to install correctly

Bug Report
Package Name: bulk-crap-uninstaller
Current Behaviour
For some reason, even though the structure of the archive is seemingly unchanged, only one file ends up (or two, if you've a settings file) in the app dir.

I couldn't even find the file 'Bulk-Crap-Uninstaller.html' in the archive.
Here's what the contents of the archive looks like:

... and the Extract dir portion of the manifest is unchanged since it seemingly didn't need to be;

The contents of the 'win-x64' dir:

Current CLI output upon attempted installation:

Is someone able to tell what is happening?
Expected Behaviour
Since the structure is the same, I expect the app to install cleanly like previous versions of the app.
Additional context/output
The manifest has recently been updated by myself after confirming that the contents of archive are the same and hence seemingly many parts of the manifest could be left as-is.
With the latest release, they changed the archive type from 7z to ZIP.
Possible Solution
At the moment, not sure.
System details
Windows version: 11 - 22000.613
OS architecture: 64bit
PowerShell version: 7.2.4
Scoop Configuration
rootPath               : F:\Backup\Scoop
lastUpdate             : 2022-05-21 14:24:03
aria2-warning-enabled  : False
MSIEXTRACT_USE_LESSMSI : True
SCOOP_REPO             : https://github.com/ScoopInstaller/Scoop
SCOOP_BRANCH           : master

Now I see that apparently only two files are extracted, even though the directories in Extract dir are the same;

Interestingly, the file 'Bulk-Crap-Uninstaller.html' is not even present in the archive at all from what I can see.

The archive is renamed to Bulk-Crap-Uninstaller.html and I don't know why

I tried to use another URL and it works
"url": "https://ftp.halifax.rwth-aachen.de/osdn/bulk-crap-uninstaller/77343/BCUninstaller_5.3_portable.zip",
"hash": "494ca88f25a50d1768a76f753e8a98fec9cd686f75beb9280938cd48dfa8eaf8"

seems there is an error when handling with cached file name


doc: how to add new context?

so i have minikube in output, how do i add new "context"?
please add such section to readme.

I don’t understand this question fully.
Your contexts come from kubectl. See “kubectl config” commands.

yes, if that is the information, include it into readme. improves learning curve for newcomers.

I have a bunch of kubeconfig files (one for each cluster) spread among my folders.
I found out this promising tool, and I would like to import those kubeconfig files to kubectx, but I do not know how, and I am not able to find any howto on this. Only thing that I found is this issue.
Would you mind to explain this to me?

@HalisCz https://medium.com/@ahmetb/mastering-kubeconfig-4e447aa32c75

@ahmetb Thank you, that is exactly what I was asking for.

I know this item is closed, but I don't think it's been answered. kubectl does not have a command line option to copy a context. Example...I have a context that let's me focus on namespace foo in cluster x. I deploy something new to namespace bar in cluster x, so now I want to create a new context so I can focus on the new deployment. I have to open the kubeconfig file with an editor and add the new context. I'd really like to be able to do
kubectx copy foo bar   ## new command option to copy a context
kubectx bar
kubectl config set-context --current --namespace=bar
or even better
kubectx copy foo bar --current --namespace=bar   ## make it current and reset the namespace :


ERROR: wham vcf as an input to MetaSV

Hello Author,
I used wham VCF (--wham_vcf flag) with MetaSV and got the following error:
INFO 2015-10-13 07:47:59,983 metasv.sv_interval   Loading SV intervals from Clean_FR07886681_hg19_MC_MQ_sort_dedup.realign.recal.wham.raw.class.vcf
ERROR 2015-10-13 07:48:00,559 metasv.sv_interval   Ignoring record due to missing SVTYPE or INFO field in Record(CHROM=chr1, POS=9012117, REF=N, ALT=[GACCCTGTACCTTCTTCCTTTAGG])
ERROR 2015-10-13 07:48:00,560 metasv.sv_interval   Ignoring record due to missing SVTYPE or INFO field in Record(CHROM=chr1, POS=9012144, REF=N, ALT=[TTGAGATTANANGCGTAAGCCACCNNGNCNNGCCANANATNNATGATTTGAAAAGATGTTTNT])
ERROR 2015-10-13 07:48:00,560 metasv.sv_interval   Ignoring record due to missing SVTYPE or INFO field in Record(CHROM=chr1, POS=9015676, REF=N, ALT=[TGCTTTCAGCATCACTGACCTTGCACGCCTCCTTTTAAGGCCCTTC])
ERROR 2015-10-13 07:48:00,560 metasv.sv_interval   Ignoring record due to missing SVTYPE or INFO field in Record(CHROM=chr1, POS=9015722, REF=N, ALT=[ACGCCTCCTTTTAAGGCCCTTCCGTCCTTTTCTTGCAAGCAT])
ERROR 2015-10-13 07:48:00,561 metasv.sv_interval   Ignoring record due to missing SVTYPE or INFO field in Record(CHROM=chr1, POS=9016688, REF=N, ALT=[CGCCGACCCCCGAGCTCTACACCTTGGNCTACCTTATTTCCCTCCACGACGCTCGTCCGATCTCCCAGNAGNNGGAGGNTGCAGNNAGCCNANGTCA])
...
Are there any workarounds for this? Thankyou
James

It looks like you have not run the classification step?  The classification step adds the SVTYPE.

Thanks Zeeev,
But I think I did it as follows:
./WHAM-BAM -f hg19_chromosome.fa
-t A_sort_dedup.realigned.recalibrated.bam -x 4 > A_sort_dedup.realign.recal.wham.raw.vcf 2> A_sort_dedup.realign.recal.wham.raw.err
echo Next
python /miniconda/wham/utils/classify_WHAM_vcf.py
A_sort_dedup.realign.recal.wham.raw.vcf
/wham/data/WHAM_training_data.txt > A_sort_dedup.realign.recal.wham.raw.class.vcf 2> A_sort_dedup.realign.recal.wham.raw.class.err
My VCF:
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  A_sort_dedup.realigned.recalibrated.bam
chr1    9012117 .       N       GACCCTGTACCTTCTTCCTTTAGG        .       .       LRT=0;WAF=.,0.500001,0.500001;GC=0,1;AT=1,0.0222222,0,0,0.0222222,0.111111,0,0.0666667,0.0888889,0,0,0.0444444,0,0,1.19378;CF=0;CISTART=9012072,9012160;CIEND=9011769,9011769;PU=2;SU=2;CU=8;RD=45;NC=2;MQ=57.8444;MQF=0.0666667;SP=0,2,0;CHR2=chr1;DI=f;END=9011770;SVLEN=346;WC=INR;WP=0.004,0.176,0.816,0.004        GT:GL:NR:NA:NS:RD       0/1:-129.636,-31.1916,-469.759:34:11:2:45
chr1    9012144 .       N       TTGAGATTANANGCGTAAGCCACCNNGNCNNGCCANANATNNATGATTTGAAAAGATGTTTNT .       .       LRT=0;WAF=.,0.500001,0.500001;GC=0,1;AT=1,0.0232558,0,0,0.0232558,0.116279,0,0.0697674,0.0930233,0,0,0.0465116,0,0,1.14072;CF=0;CISTART=9012114,9012172;CIEND=9012116,9012116;PU=4;SU=3;CU=11;RD=43;NC=4;MQ=57.7442;MQF=0.0697674;SP=2,0,0;CHR2=chr1;DI=b;END=9012117;SVLEN=26;WC=INR;WP=0.006,0.156,0.828,0.01 GT:GL:NR:NA:NS:RD       0/1:-115.82,-29.8053,-455.944:33:10:4:43
My err file:
processing training file...
Training weights for RandomForest classifier
N = 14 training variables
0.0546112802958        0.0     0.0895275419308 0.14484642443   0.0803977781595 0.0722788483208 0.0741062190298 0.127521832359  0.000165751507091       0.0125475473299 0.0246638991969 0.104351587937  0.0796804855492 0.135300803955
results from cross validation:
94.715911%
processing VCF file through classifier...
...running parent process with job id 2286
can use this ID to exit
minclassfreq var is set to = 0.000000
...classifier finished
Any helps would be appreciative.
Cheers, james

This issue is still open! James

Did you pass the classified VCF to Meta_sv?

Yes. Even I ran again with the VCF file below. I got errors with missing SVTYPE.
Only the X.class.vcf named "Clean_xxx_sort_dedup.realign.recal.wham.raw.class.vcf" in my work directory for MetaSV. My VCF has WC and WP added.
I think the problem is no SVTYPE clearly annotated in the INFO field like VCF files from other SV tools. What do you think?
I think MetaSV use SVTYPE field to select SVs for merging.
James

James,
I'm not sure if Meta_SV was using WHAM or WHAM-GRAPHENING.  WHAM-GRAPHENING is more accurate than WHAM, but only calls deletions, duplications and inversions.  It also produces the SVTYPE info field.
you can convert the "WC" field to "SVTYPE" using the perl one liner below.
perl -lane '$_ =~ s/WC=/SVTYPE=/g' your.classified.vcf > your.classified.infomod.vcf
It is difficult for me to troubleshoot Meta_SV.  Have you had positive experiences with Meta_SV?
--Zev

Thanks Zev,
It works! Below is VCF results from MetaSV:
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  XXX
chr1    10288   .       c          .       PASS    CIEND=10135,10377;END=10584;SVLEN=89;SVTYPE=DUP;SVTOOL=MetaSVMerge;SOURCES=chr1-10178-10178-1-WHAM,chr1-10179-10178-0-WHAM,chr1-10230-10178-51-WHAM,chr1-10282-10256-25-WHAM,chr1-10287-10257-29-WHAM,chr1-10389-10438-49-Pindel,chr1-10395-10484-89-Pindel,chr1-10402-10451-49-Pindel;NUM_SVMETHODS=2;NUM_SVTOOLS=2;VT=SV;SVMETHOD=RP,SR;AT=0.881119,0.321678,0.00699301,0.027972,0.174825,0.132867,0.0979021,0.013986,0.041958,0.0629371,0.223776,0.300699,0.0769231,0.13986,3.79357;CF=0.776224;CHR2=chr1;CISTART=10232,10340;CU=80;DI=f;GC=0,1;LRT=0.0;MQ=17.4825;MQF=0.972028;NC=4;PU=6;RD=143;SP=42,0,7;SU=0;WAF=.,1.0,1.0;WP=0.02,0.428,0.394,0.158      GT      1/1
WHAM results were merged with other tools.
I do not know what SV software is the best, but MetaSV provides me what I want. I need to merge SV calls based on different SV signals and use de novo genome assembly to confirm breakends. MetaSV and Parliament can give me that, but I prefer the former because I have to pay to run Parliament in the DNAnexus.
Many thanks,
James

Great.  Let me know if you run into anymore problems.


Prevent usage of node or browser APIs in @segment/analytics-core and @segment/analytics-node

Remove isOffline() from core
eslint error if any native node modules are used.
eslint error any of the following are used in source code of core/node (since isomorphic):
'document',
'window',
'self',
'process',
'global',
'navigator',

This lgtm.
Correct me if I'm getting this wrong: packages/core is the isomorphic core whereas browser/core will retain the browser specific implementation, right?

Yep.


HTTP.POST method is sending GET requests instead of POSTs

When I'm calling HTTP.POST() method to send a POST requests to the server, HTTP request with method GET is delivered to the server. HTTP.PUT works fine. I'm using latest version of library - 1.0.5.

After I changed the URL to use https instead of http, POST works fine... but when I have http in my url, HTTP.POST generates GET requests (and it seems that it is not a server problem - using POSTMAN tool POSTs to http and https works as expected)

I just the latest version of SwiftHTTP yesterday and could not reproduce this behavior. Since it uses NSURLSession I'm not sure how HTTP or HTTPS would make a difference. Do you have any sample code to demo this issue?


Migrated to Swift 5.0

Thank you @noorulain17 for the PR, be advised that this project is not updated and you should use MOLH instead.


Fix project repository link

pyproject.toml has the wrong link set for the repository:
repository = "https://github.com/limber-project/limberframework"

This needs changing to https://github.com/jonathanstaniforth/xiao-asgi.

Handled in commit: 93c63092d7216d2cc91a59c4e8561a53fdae1ec7


Does the package have method or function to remove all drawables?

I ended up doing this. You can also call undo() while 'canUndo = true'.
Future undoAll() async {
controller = PainterController(...);
initBackground(backgroundImage!);
}

I ended up doing this. You can also call undo() while 'canUndo = true'.
Future undoAll() async { controller = PainterController(...); initBackground(backgroundImage!); }

litte late but thank for response


Finalize writing first draft of finding for review

Did a correlation between questions and findings. Will need to cleanup / take decision on question finding


Add color reference table to README.md

Adding a simple table for color reference in the README.
Resolves #172

Thank you!


Feat/Today's Task

About
A daily task list with brief descriptions to serve as a summary of tasks to complete.

This is not useful, considering the events display 2 out of the three (3) possible task information.


[FLINK-13216][FLINK-13153][table-planner-blink] Fix Max_Retract and Min_Retract may produce incorrect result

What is the purpose of the change
Fix unstable tests failed on travis, including AggregateITCase.testNestedGroupByAgg and SplitAggregateITCase.testMinMaxWithRetraction.
Brief change log
The reason is we didn't set null to acc.max/min which may have an old value when we need to get a new max/min from an empty MapView. And the old value will be output to downstream instead of a null value. This influences the final result.
This causes many unstable cases, which all contains max/min with retract, including:

AggregateITCase.testNestedGroupByAgg
SplitAggregateITCase.testMinMaxWithRetraction

Verifying this change
The situation is not reproduced 100%. I tested in my local machine, for example, AggregateITCase.testNestedGroupByAgg can reproduce this problem every 100 times. After fix this problem, I didn't reproduce this problem after running 1000 times.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

thanks for this pr @wuchong , could your add some tests to recur the failure deterministically ?

Hi @godfreyhe ,  the failure happens in a very extreme situation which can't be reproduced easily in IT case. However, I can add some unit tests to verify this.

Hi @godfreyhe , the failure happens in a very extreme situation which can't be reproduced easily in IT case. However, I can add some unit tests to verify this.

I think single parallelism behavior should be deterministic?

Hi @JingsongLi , the single parallelism is not deterministic too with a lower reproduce rate.
Hi @godfreyhe , I just added a unit test to verify this which also illustrate which situation will cause this problem.

@godfreyhe , updated.

@wuchong thanks for the update, LGTM. @flinkbot approve all

Travis passed except a SQL CLI case failed (FLINK-13282)
https://travis-ci.org/wuchong/flink/builds/559247226


Working in R with a conda environment

I'm working in a different conda environment for each of my projects and would like to have R launch within the correct environment when I cmd-enter on a line of R code (I'm using Mac OS X) so that I can use the R version and packages I have in my environment. I have figured out that if I install Microsoft's Python Extension and put ...
{
  "python.defaultInterpreterPath": "~/opt/miniconda3/envs/env-01/"
}

in {workspace-directory}/.vscode/settings.json then when I start a new bash terminal, the first command it will run is conda activate env-01. Unfortunately, when I do this with R code (e.g. 2+2) in a file (e.g. practice.R), it launches a new terminal and the first R command it tries to run is conda activate env-01 followed by 2+2.
Here's what the output to the terminal looks like:
conda activate env-01
2+2

R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> conda activate env-01
Error: unexpected symbol in "conda activate"
> 2+2
[1] 4

I'm not really excited about adding "r.alwaysUseActiveTerminal": true to my settings.json file (as suggested here) since I like the flexibility of being able to "just" create the R terminal by doing cmd-enter.
It seems like there should be a way to automatically run the conda activate <environment_name> before launching R for the first time when doing cmd-enter on a chunk of R code. Is there a setting I'm missing or would this be something that could easily be fixed?

Hi @pschloss ,
This is something that should be fixed by #1143 soon


Bugfix

Multiple bug fixes:

LoopProf
520.omnetpp uses setjmp/longjmp, need to ignore them in the loopProf otherwise the context would be messed up.
SLAMP points-to
SLAMP ignored all memory allocation outside of the targeted loop due to missing context. Now set SLAMP_push and SLAMP_pop for all external unrecognized functions (including malloc, and other ones that may allocate objects). The objects are now correctly tracked.
SLAMP script
Was tracking only the top loop. Now doing all.

Should we turn this (PSDSWPCritic) into another optional pass?

The functionality has been properly implemented in SLAMP/SLAMP.cpp so no need


Auto corrected by following Lint Ruby Lint/InheritException

Auto corrected by following Lint Ruby Lint/InheritException
Click here to configure it on awesomecode.io

Coverage remained the same at 97.136% when pulling e783834dd6c5bc4eaacefac0de35b0920610dca8 on awesomecode-lint-ruby-lint-inheritexception-47701 into 6f35b6f068f62083f4838f749eb9caa708dec50f on master.

Coverage remained the same at 97.136% when pulling e783834dd6c5bc4eaacefac0de35b0920610dca8 on awesomecode-lint-ruby-lint-inheritexception-47701 into 6f35b6f068f62083f4838f749eb9caa708dec50f on master.