update sbt plugins

Codecov Report

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

@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   98.26%   98.26%
=======================================
  Files           6        6
  Lines         289      289
  Branches       34       34
=======================================
  Hits          284      284
  Misses          5        5

Continue to review full report at Codecov.

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


test with gh-actions

I guess we can drop Circle CI and appveyor if this PR gets approved. This PR creates a matrix for:

Python 3.6, 3.7 and 3.8 (numba doesn't support 3.9 yet)
Omniscidb 5.2, 5.4 and 5.5 (ubuntu only)
ubuntu, windows and mac

It takes 10 minutes to run all combinations and it only executes if flake8 succeed.

I guess we can drop Circle CI and appveyor if this PR gets approved. This PR creates a matrix for:

Python 3.6, 3.7 and 3.8 (numba doesn't support 3.9 yet)
Omniscidb 5.2, 5.4 and 5.5 (ubuntu only)
ubuntu, windows and mac

It takes 10 minutes to run all combinations and it only executes if flake8 succeed.


Suggestion : allow users to change email account

It would be great to allow users to change it.

Merged in master. Will be included in v1.4.0 release.


[FEATURE] Possibility to order link in params.social

Describe the feature you want 描述你的功能需求
Currently, it is not possible to order params.social. I tried to do that in config.tom but the theme always uses its order.
Can you provide a custom order, for example changing the order in param.social list? Thanks in advance for the information you can provide.
Useful reference 有价值的参考
No response

try https://github.com/orgs/hugo-fixit/discussions/251


As a manager/reviewer, ability for team members to suggest/flag applications that might be of interest for other managers/reviewers to know about

related to #269


The name of my cookies are different from the requested ones

In the setup section you request to export for UBID_ACDCA and AT_ACBCA variables, but in my cookies I got "ubid-acbit" and "at-acbit" names. What should I do then? I have to export the original variables with my cookies values or change them to the my names?
I mean, should I use:
export UBID_ACBIT="..."
export AT_ACBIT="..."

or what?
P.s.: I already tried in both way but it never works (I always get the "AttributeError: 'NoneType' object has no attribute 'json'" error).

Issue should now be fixed. See the readme for more details.
E.g.
ap = AmazonPhotos(tld='it')


QnA site threads list

Describe the bug
The list of questions provided here is not always current.
https://docs.microsoft.com/en-us/answers/index.html
Sometimes the view returns records from an older time and also at times they're out of order. I frequently will get an email notification of a thread reply but when I go to check thread the new reply often does not appear for upwards of 15 minutes.
To Reproduce
Steps to reproduce the behavior:
There are no steps to reproduce as the issue is unpredictable
Expected behavior
thread list should always be current
Screenshots
Here's a screenshot from a few moments ago. Out of order plus there were newer threads but the view has reverted to some time in past.

Desktop (please complete the following information):

OS: Windows 10 x64
Browser Edge v1, and now v2 (chromium)
Version Version 81.0.416.77 (Official build) (64-bit)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
I think the sort problem is more likely when there is little or no posting activity. The email notification is a separate matter from this.

@saldana Can someone from your team triage this one?

Looks like a no

I created a bug for our support team to look at this. Sorry for the delay.

@DSPatrick we’ve tried to reproduce this a few times over the past week or so with no success.  But, as you noted above, the issue is unpredictable which makes it difficult to reproduce.  Have you continued encountering this bug?

It does still happen but it seems more likely during times of little or no other posting activity, like the sort logic is confused by this for some odd reason.


AWS Security Hub Scan - Bug on reupload

Bug description
When I reupload a scan of type AWS Security Hub Scan, even with the same findings of the previous version, I get the message:
"No findings were added/updated/closed/reactivated as the findings in Defect Dojo are identical to those in the uploaded report.", but the status of the findings are changed to "Inactive, Mitigated"
Steps to reproduce

Get the sample here
Create a test of type "AWS Security Hub Scan", inside some product engagement
Upload the sample
Check the status of the findings: "Active"
Reupload the sample. You will get the message: "No findings were added/updated/closed/reactivated as the findings in Defect Dojo are identical to those in the uploaded report."
Check the status: "Inactive, Mitigated"

Expected behavior
When the same findings are reuploaded, the status of the findings should not be changed
Deployment method

[x] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: Amazon Linux 2 (Linux 5.10.149-133.644.amzn2.x86_64)
DefectDojo version (see footer) or commit message: [2022-12-06 12:08:52 -0600] 4173bb383: Merge pull request #7244 from DefectDojo/release/2.17.0 [ (HEAD -> master, tag: 2.17.0, origin/master, origin/HEAD)]

Can you try with the latest 2.18.2 release? There were a few bugs fixed since 2.17.0 in the reimporter.

I found the bug, it is in this line. It was not fixed yet.

Actually I think the bug is that in the first import if is_Mitigated is set to true, then active should be set to False. As "Compliance" has Passed according to the imported json, then the issues should be marked as inactive as well as mitigated.
If you agree I will submit a PR.

Locally, I solved the problem doing it:
if finding.get('Compliance', {}).get('Status', 'PASSED') == 'PASSED':
In this way, the finding will be Mitigated whenever:

Finding status changed to "PASSED"
Finding not present in the reupload

The way it was, the "if" was always accessed.

PR submitted: https://github.com/DefectDojo/django-DefectDojo/pull/7454

Great, thanks! :)


Broken with PHP > 5 ?

It seem to be broken with PHP > 5
Test case :
ideone => PHP 5.6
codepad => PHP 5.2

Finally not broken, but maybe a configuration where the result seem to be different !
I don't know why, where and how to look for this difference ! ! !

Seems like a problem with PHP on some 32bit systems.
If integer operations overflow the PHP_INT_MAX value it will be converted to float ( http://php.net/manual/en/language.types.integer.php ) incurring on precision error.
I will look on a solution based on an arbitrary precision extension.

yes it is !
I have found it !
but, too late . . . :-( this doesn’t help you .
Many thanks.


Some minor issues with custom skill after Release 3.0.59

I use a lot of custom skills for casting magic in my fantasy campaign. Release 3.0.60 has introduced a few bugs. There was an issue with the custom skill not being found and automatically failing the roll when a spell was cast. That issue seems to have been fixed with release <IP_ADDRESS>. However, custom skills are not appearing correctly on the character sheet.
Release 3.0.59

Post Release 3.0.59

The lack of custom skills support is showing here as my changes to the power list has removed some kludges that were apparently still required.

 <SKILL XMLID="CUSTOMSKILL" ID="1710723167067" BASECOST="0.0" LEVELS="1" ALIAS="Custom Skill" POSITION="0" MULTIPLIER="1.0" GRAPHIC="Burst" COLOR="255 255 255" SFX="Default" SHOW_ACTIVE_COST="Yes" INCLUDE_NOTES_IN_PRINTOUT="Yes" NAME="Faith" CHARACTERISTIC="GENERAL" FAMILIARITY="No" PROFICIENCY="No" LEVELSONLY="No" ROLL="1">

@tthomsen Looks like CHARACTERISTIC in Hero Designer is not supported (considered GENERAL).  The in game editor mistakenly lets you modify custom skill CHARACTERISTIC.  To get a 17- you will have to set the ROLL to 17 in Hero Designer.

Alternatively you can rename/reskin an existing skill (like profession), which would allow you to use your EGO in your skill roll.  Then custom adders to tweak costs (if necessary).

#854 resolves the ability to make CUSTOMSKILL rolls.  However, the item-sheet shows LEVELS, but should be using ROLL internally.  COST is also likely wrong.  Should remove ability to change CHARACTERISTIC/TRAINING used.

@tthomsen also note that the item/skill header includes the version number, which is VERY handy when making bug reports.  Thanks for including that in the screen shots.

@tthomsen 3.0.63 includes a fix for the ROLL.  Does not resolve issues with the skill sheet.

@aeauseth thanks for letting me know about using the professional skill. It didn't occur to me to use that.

@aeauseth just tried using the professional skill for Faith and it worked perfectly. One thing I did notice was if the limitation is Requires A Roll (Skill roll, -1 per 20 Active Points modifier; Faith; -1/4) it will apply the penalty correctly to the skill roll. However, the -1/2 limitation doesn't apply the -1 per 10 Active Points penalty to the skill roll.


improve performance of casting status type

fixes #30123

@therealmitchconnors: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
a67846880476f644b752d62075c428ae4574224b
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@therealmitchconnors: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
a67846880476f644b752d62075c428ae4574224b
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@therealmitchconnors: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
a67846880476f644b752d62075c428ae4574224b
link
/test integ-pilot-multicluster-tests_istio

integ-pilot-k8s-tests_istio
a67846880476f644b752d62075c428ae4574224b
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@therealmitchconnors: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-multicluster-tests_istio
a67846880476f644b752d62075c428ae4574224b
link
/test integ-pilot-multicluster-tests_istio

integ-pilot-k8s-tests_istio
a67846880476f644b752d62075c428ae4574224b
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #30215

In response to a cherrypick label: new pull request created: #30215


Map not working

I downloaded and installed the app but when I login it just shows the map with no pokemon, pokestops, or gyms. It says waiting at the top.

I have exactly the same problem on my Mac.
It used to work well on the previous versions (before the API changes), but now it shows nothing, even the green circles are not working.

What program did you use, to open the app?
I can't open it because none of my current programs on my mac are suitable for opening the pokemon map

Pokemonfan22, you have to go to your preferences > security and allow 3rd party programs

I hace the same problem, "waiting"


[Bug] DevOps pipeline fails when Azure function is configured to access its Storage account using Managed identity

Hi,
I am trying to setup managed identity based access between Azure function and its storage account, as it is explained here.  I want to accomplish this using Azure pipeline with Bicep, however it appears that the pipeline will succeed deploying the app only if there is AzureWebJobsStorage configured.  The error i get during app deployment is below,
##[error]Error: Unable to find the storage account associated with the function app.
Below are key parts of Bicep file:
resource functionAppProductionSlotSettings 'Microsoft.Web/sites/config@2021-03-01'= {
  name: '${functionApp.name}/appsettings'
  properties:{
    'FUNCTIONS_EXTENSION_VERSION':'~4'
    'FUNCTIONS_WORKER_RUNTIME': 'dotnet-isolated'
 //.....THIS IS NECESSARY FOR PIPELINE TO WORK
    // 'AzureWebJobsStorage': 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};EndpointSuffix=${environment().suffixes.storage};AccountKey=${storageAccount.listKeys().keys[0].value}'
    'AzureWebJobsStorage__accountName':storageAccount.name
  }
}
.......
.......
resource roleAssignmentForStorageAccount 'Microsoft.Authorization/roleAssignments@2020-10-01-preview' = {
  name: guid(storageAccount.id, functionApp.id, functionAppName)
  scope: storageAccount
  properties:{
    principalType: 'ServicePrincipal'
    principalId: functionApp.identity.principalId
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b7e6dc6d-f1e8-4753-8033-0f276bb0955b')//STORAGE BLOB DATA OWNER
  }
}

Please suggest how to overcome the above issue.  Thanks.

Is this a known issue, if not, please suggest where the implementation is wrong.  Thanks.

This repository only covers the GitHub Action: Azure/pipelines Other Azure DevOps questions can be raised via a support ticket or through the community hub: https://techcommunity.microsoft.com/t5/azure-devops/bd-p/AzureDevOpsForum


Request: Fortigate FortiOS

Add fortinet fortigate icons

This was added in 0.3.8
https://github.com/loganmarchione/homelab-svg-assets/releases/tag/0.3.8


Use std=gnu89, the gcc 4.8 default

According to https://gcc.gnu.org/gcc-5/porting_to.html GCC 5
changed to defaulting to -std=gnu11 rather than -std=gnu89, which
causes build failures with OCC code use of 'extern inline'.
so, to work around this, and to stay on a more predictable path,
explicitly set the standard to gnu89.
Fixes: https://github.com/open-power/occ/issues/8
Signed-off-by: Stewart Smith<EMAIL_ADDRESS>

This change is

While modifying code to be more like the changes suggested in https://github.com/open-power/occ/pull/9 may be a good thing, for P8 at least the least invasive thing to do is to just specify the language standard.

Now up to date with https://github.com/open-power/op-build/pull/721 and the comments from @williamspatrick  there (notably the inclusion of a change-id).
I don't seem to have access to the internal OCC repository, so this pull request exists here.

Fixed in https://github.com/open-power/occ/commit/72544469d2e83fca6d7ef20a01661a6710077c3b


Create Jekyll style

As we are going to use javadoc.piranha.cloud as a documentation for both the code and how to use Piranha we do not need a custom Jekyll style


Issues with rmq.log :tree/Live code reload

Hi!
I bumped into this issue when playing with the new live code reload feature. My app has a PM::MapScreen, and when live reload is on and I try to open the screen, the app crashes:
2015-04-16 14:19:55.765 show_me[24791:2470631] app.rb:133:in `current_view_controller:': undefined method `childViewControllers' for #<CLLocationCoordinate2D:0x11949ef10> (NoMethodError)

I get a similar erro if I try to rmq.log :tree on the REPL, minus the app crash.
I'm guessing they booth run the same piece of code on app.rb:L133-L134
Tried a couple of simple fixes but no luck.  Any idea on how to fix, or a workaround?
Thanks!

Haven't been able to fix the crash yet, I what did was to add a check just to avoid crashing the app.. but it also makes the live reloading not work for the PM:MapScreen
Here's what I did:
elsif  root_view_controller.respond_to?(:childViewControllers)  && root_view_controller.childViewControllers.count > 0
  current_view_controller(root_view_controller.childViewControllers.first)
else
  if root_view_controller.respond_to?(:childViewControllers)
    root_view_controller
else
  nil
end

Did you mean to have 2 elses there?

So there is a few problems with this I've found. I'm fixing it right now. Fix will be in 1.3.4

Thanks!! And just to clarify.. the two elses are due to poor indenting and partial code :smiley:


Ability to aggregate data by larger geometries

A few users have commented that they'd like to be able to see aggregated data when a few census areas are grouped together. This could happen through selection of multiple areas, perhaps rolling up to the next largest census geometry, or by a user drawn polygon. This is for consideration for the next iteration - not Oct. launch.

As discussed. This enhancement will be deferred until after RiskProfiler launch


support group of lights

The built-in bridge-functionality for groups should be used

[ ] brainstorm about creating groups and selecting them with as little keystrokes as possible

First idea:

create groups:

  GROUP LIGHTS
g 1     2 3    <ENTER>

select groups with "g " (try not to limit the amount of groups selectable)


repo #62: improve readme; add license file.

resolves #62.

https://raw.githubusercontent.com/opendatakit/collect/master/LICENSE.md has a Markdown version that renders beautifully on that you might want to consider.


[api-docs] Add Nyxx to libraries and interactions

A new commit was made into the api-docs repo. This issue was created automatically. Need to review if we made any change to the library for this commit.
https://github.com/discord/discord-api-docs/commit/7b9db21adc898fb9a80c73d50ca62ffc086f19b0

This commit will not effect our lib's code. No changes required.


PackageModel: rename "CC SDKs" to "destinations"

Motivation:
"Cross-compilation SDK" is a bit of a mouthful to say, and we've previously denoted this as a "destination". After some consideration, I think calling "cross-compilation SDKs" as "destinations" simplifies a lot of things. Additionally, "target triple" and "target platform" are terms of art after all. Renaming them to "destination triple" and "destination platform" arguably was a mistake. Since we had no tagged releases in the meantime, let's clean up the naming before it's too late.
Modifications:
--experimental-cross-compilation-sdks-path is renamed to --experimental-destinations-path, sharedCCSDKDirectory to sharedDestinationsDirectory. destinationTriple is renamed to targetTriple.
Result:
More clear, widely consistent naming.

@swift-ci please smoke test

@swift-ci please smoke test


tracker header

@keybase/react-hackers

:+1: %C

@MarcoPolo take another peek, moved things around a tiny bit

:+1:


Make crontab more resilient

I don't know how feasible this is, but it seems that it's possible that the worker in charge of the crontab sometimes dies and doesn't wake up. We must investigate if this is a real issue, and devise a way to either make it less possible to fail (i.e. move all tasks to other workers, and leave the crontab worker as a "queue manager" only) and fault tolerant (for example, "check and wake" the crontab process when a new request is received, and 5 minutes have passed since the last check and wake).

We are using init_worker_by_lua which is executed when new worker is started. So if old crashes and new is started, it should restart the crontab.
What might be happening is that the new worker does not enqueue the job, because the job is already enqueued. The real issue is what we will do with more than 1 worker.


FYI: First draft of LeoWapp theory of operation

It's here. It discusses, at various levels of detail (and understanding!) everything I've done in the past week or so.  It will be pre-writing for LeoWapp's theory of operation.
Almar, I would appreciate any comments or corrections.

And here and here are two discussions of why flexx is important.  As you can see, there is great interest.
Any comments you might have would be most welcome here or on leo-editor.

Thanks for the update. I know nothing of Leo's internals, so I have just a few comments:

About publish subscribe: this pattern can be implemented either by making a property or emitter to represent the publisher, and reactions to represent the subscribers. Yes you can react to events from emitters across the boundary. Flexx keeps track of whether this is the case and only sends events over the websocket when there are listeners on the other side.
About properties vs normal arguments: use properties if you want to be able to observe it (with reactions) or when you want to be able to access it across the boundary. Or maybe if you just want to make use of the value validation of Flexx properties.
About passing things at startup: You probably want to take care of this inside the init() of the root component. BTW, you can pass arguments to RootComp.init(a, b) using flx.App(RootComp, a, b).launch(). See the docs.

@almarklein Thanks for these comments.  Most of them are consonant with the present leoflexx.py code base, but it's so useful to have your high-level overview. I'll play with flx.emitter soon.
"I know nothing of Leo's internals"
Heh.  Neither does the JS side of leoflexx.py!  The JS side only knows how to redraw the screen from dicts.
These dicts contain other dicts (archived positions) representing nodes in Leo's tree. However, the JS side merely passes the archived position back to the Python side.


fix: disable drinking water for not compatible apps

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


Using image upload on Blazer Server causes a crash

When using Blazor MarkdownEditor in Blazor Server, if image upload is turned on(UploadImage="true" ImageUploadEndpoint="..."),drag or copy the image to upload, the page will have an error "Attempting to reconnect to the server".Here's the log in the chrome console:
[2022-06-19T06:07:42.805Z] Error: Connection disconnected with error 'Error: Server returned an error on close: Connection closed with an error.'.
log @ blazor.server.js:1
_stopConnection @ blazor.server.js:1
transport.onclose @ blazor.server.js:1
_close @ blazor.server.js:1
stop @ blazor.server.js:1
_stopInternal @ blazor.server.js:1
await in _stopInternal(异步)
stop @ blazor.server.js:1
_processIncomingData @ blazor.server.js:1
connection.onreceive @ blazor.server.js:1
o.onmessage @ blazor.server.js:1

Does your solution start with multiple projects MarkdownEditorDemo.Api and MarkdownEditorDemo?

I close now this issue. I hope the code is working.


Is there an STL file for the AUX sensor case?

Hello,
I am interested in obtaining the STL file for the AUX sensor case. Does the repository contain the 3D model file for the case used with the AUX sensor? If so, could you please provide a link to download it?
Thank you in advance for your assistance.

Hi Hnktn, I don't have an AUX case. There are several decent ones out there already. Check out: https://github.com/Lixulia/Arcturus and https://www.printables.com/model/647109-minted-arcturus-slimevr-diy-standard-parts/files

Hi ShineBrightMeow,
Thank you for your response and the provided links. I appreciate your help. I will check out the resources you shared to find an AUX case that suits my needs.


URL validation doest not work on url.URL situation

Hello!
I'm using this package to validate URLs before inserting it on a DB of a url Shortener, but when moving my shortener to another package I wanted to use the URLs with go's url.URL package. So when I tried to parse It into the validator It returns as true in a test that should not.
Example: Link

Also not passing:
&url.URL{
	Scheme: "https",
	Host:   "",
	Path:   "notvalid/path",
}
&url.URL{
	Scheme: "https",
	Host:   "notvalid",
	Path:   "",
},

Could you provide stringified examples, please?
Something like https:///notvalid/path

https://notvalid/path and https://notvalid are the stringified versions of the above example, which are both valid URLs (e.g.: http://localhost and http://localhost/some/path)


api: include AddendaXX, ADV, and IAT records that were missing from OpenAPI spec

Fixes: https://github.com/moov-io/ach/issues/677

Codecov Report

Merging #678 into master will increase coverage by 0.55%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #678      +/-   ##
==========================================
+ Coverage   92.64%   93.19%   +0.55%
==========================================
  Files          65       65
  Lines        7379     5733    -1646
==========================================
- Hits         6836     5343    -1493
+ Misses        386      233     -153
  Partials      157      157


Github action fix - Caching

Test caching the download of zing
What does this PR do?:

Motivation:

Additional Notes:

How to test the change?:

For Datadog employees:

[ ] If this PR touches code that signs or publishes builds or packages, or handles
credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
[ ] This PR doesn't touch any of that.
[ ] JIRA: [JIRA-XXXX]

Unsure? Have a question? Request a review!

It is a dup of #159 and #160 - I think you can safely close it now.


eth_subscribe newHeads not returning data

Trying new heads again, and it's returning the subscription, but not data.
websocat wss://zetachain-evm.blockpi.network/v1/ws/1295216a144e08ce8f0d0d452d16fe73cf1ee71e
{ "jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"] }
{"id":1,"jsonrpc":"2.0","result":"0xdf4b24d9cee37d3f3392ee8d02cea61c"}

wscat -c ~ wscat -c wss://zetachain-evm.blockpi.network/v1/ws/1295216a144e08ce8f0d0d452d16fe73cf1ee71e
Connected (press CTRL+C to quit)
> { "jsonrpc": "2.0", "id": 1, "method": "eth_subscribe", "params": ["newHeads"] }
< {"id":1,"jsonrpc":"2.0","result":"0xde3ef01eab89ab2d87809a396287ee30"}
>

From BlockPi:

It is a bug from the new node client. Our test shows that v20.0.2  returns data but v20.0.5 does not.

Is this related to https://github.com/zeta-chain/node/issues/3050 ?

cc @skosito

Odd, it's working now.


flatten: Remove PostgreSQL configuration parameters

These parameters should be set by the database administrator, not the tool: e.g. work_mem is already higher (80MB) in the PostgreSQL config than in this tool (10MB). Different servers might prefer different values.
For parallel_setup_cost (default 1000), most guidance/experience I've read is that this rarely causes PostgreSQL to prefer a parallel plan.
For parallel_tuple_cost (default 0.1), decreasing it can cause PostgreSQL to prefer a parallel plan. I only did a couple tests with collection IDs 1380 and 1403, with the default and changed settings (0.00001):
EXPLAIN SELECT
            collection_id,
            release_type,
            path,
            sum(object_property) object_property,
            sum(array_item) array_count,
            count(distinct id) distinct_releases
        FROM
            release_summary
        CROSS JOIN
            flatten(release)
        WHERE
            collection_id = 1403
        GROUP BY collection_id, release_type, path;

With either pair of settings, the plan was the same (1380 is not parallel, 1403 is parallel).
@kindly Did you encounter cases where changing the costs changed the plan? Otherwise, I prefer to leave the defaults.

Yes I remember needing all three but this was when we were not using schemas for each collection(s).  Server config and a new flatten function have also changed since then.  So I think I always needed them to use a parallel plan (and the work_mem to speed it up a lot).
In retrospect this was probably the wrong approach.  I think the actual issue is that release_summary table was not analysed when this query was run and therefore gave bad estimates as to whether it needed to do a parallel plan.  So the tests you did on certain collections are likely on tables that are already analysed (by autovacuum) so they are likely not to have the same effect.
So my advise would be to remove them and do an analyse on the schema once the summary tables are created.  Doing this would be good for analysts too as it will mean any queries they run on them may be better optimised.

work_mem was set to a lower value to make sure the server did not use up too much memory. The server memory usage went into swap when doing this and slowed things down a lot. This however was when we were running it over all the collections so is most likely not relevant now.

This was on the old server then (EX61-NVMe, 64GB RAM). I'm surprised it would swap.
The addition of work_mem was here: 9b44970233e3bc813b8736e2933482e0d2adfac0 (March 12 2019). If I take the opendataservices-deploy tree at b3e552a8ed37260f0a4f2c79f82ad65c2e35eaa7 (March 7 2019), work_mem isn't set, so it would default to 4MB – unless it was configured outside Salt. Indeed, it was https://github.com/open-contracting/deploy/issues/144. By the time that issue was created, however, work_mem was 10MB.
I assume the undocumented, custom configuration set a wild number for work_mem, perhaps not realizing that work_mem can cause up to work_mem * max_connections * max_parallel_workers_per_gather memory to be allocated. The code created a new connection per collection, and there were likely more than max_connections collections. If work_mem were set to anything higher than 160MB (64GB / 100 max_connections / 4 max_parallel_workers_per_gather), then memory would be easily exhausted.
In our new Salt configuration, this is documented, so there's little chance we'll have this misconfiguration.

So my advise would be to remove them and do an analyse on the schema once the summary tables are created. Doing this would be good for analysts too as it will mean any queries they run on them may be better optimised.

I've added a SQL file to ANALYZE release_summary. The others can be analyzed by autovacuum.


Not Showing diagram generated by Plantuml via Kroki in generated pdf.

Hello,
Using asciidoctor-pdf with asciidoctor extension in vscode.
I am using Kroki (local-Server) for diagrams.On generating the pdf ,it shows plant uml code instead of diagram although in preview it is working fine.
===  Sample Diagrams
.This is a puml code.
[plantuml,"test-1",svg,inline]
....
@startuml
node "Test1" as tst1
node "Test2" as tst2
tst1 --> tst2: Relation
@enduml
....

This sounds like asciidoctor-kroki is not being loaded/required when converting to PDF. This is not something that can be solved in this repository. You might want to ask in the project chat at https://chat.asciidoctor.org or file an issue with the VS Code extension.


symfony/yaml v3.0.0

I'm working with a package that requires sumfony/yaml v3.0.0 which is not supported by coveralls' composer.json
        "symfony/yaml": "^2.1"

is it possible to change it to ">=2.1"? I guess it is OK but I haven't tested it

Ok let me try changing this to ^2.0|^3.0 which should be OK for you. I hope our test also passes.


Token auth doesn't work

I selected token authorization and opened the suggested link. Here is the response:
{"error":"invalid_request","error_description":"application is disabled"}

Fixed https://github.com/negezor/vk-cleaner/commit/65da5c31fda9951cf904c45bfa2d14595bf7c2b2


HLK-SW16

When I use HLK-SW16, I get the switch state is the opposite of the module state, how to solve

Please open a new issue with the issue template filled in.

Fixed in #22059


When replica process gets killed , the replica container gets recreated on a different host.

Tested with Rancher server - latest Build from master
Ros version - v0.4.4
Longhorn catalog template from - https://github.com/cjellick/longhorn-catalog (image - cjellick/longhorn:dev3)
Steps to reproduce the problem:
Create a service with VM with root disk using longhorn driver.
As part of VM creation ,controller and 2 replicas for root disks get deployed.
Once the VM is started , create few files in root disk.
Kill the one of the replica process ( From host where the replica container is running , kill the replica process using kill -9 ) that was in a host different from where the VM is hosted.
Existing Replica container restarts . But after restart , they get unhealthy and gets deleted and  recreated in a different host.
Ideally, we would expect the same replica container to get restarted and continue to be in "healthy" state.
Note -There is read and write access on ROOT volumes of the VM.

Tested with Rancher server - latest Build from master
Ros version - v0.4.4
Longhorn catalog template from - https://github.com/cjellick/longhorn-catalog (image - cjellick/longhorn:dev4
)
Following scenario was tested multiple times:
Create a service with VM with root disk using longhorn driver.
As part of VM creation ,controller and 2 replicas for root disks get deployed.
Once the VM is started , create few files in root disk.
Kill the one of the replica process ( From host where the replica container is running , kill the replica process using kill -9 ) that was in a host different from where the VM is hosted.
Replica container (and both the side kicks) get restarted successfully. Replica container gets to "healthy" state and remain in "healthy" state. There is no deletion and recreation of replica in this case.


Waiting Travis build: Skip final steps in the case of pipeline being stopped without bug reproduction

This PR targets issue #665

Pull Request Test Coverage Report for Build 1926

8 of 9 (88.89%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.06%) to 54.68%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

repairnator/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/AbstractStep.java
8
9
88.89%

Files with Coverage Reduction
New Missed Lines
%

repairnator/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/inspectors/StepStatus.java
1
94.74%

repairnator/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/push/CommitProcessEnd.java
2
63.16%

repairnator/repairnator-pipeline/src/main/java/fr/inria/spirals/repairnator/process/step/push/PushProcessEnd.java
3
18.18%

Totals

Change from base Build 1921:
-0.06%

Covered Lines:
2892

Relevant Lines:
5289

💛  - Coveralls


Feature: 1.20.1

These version are almost the same version

in progress

Uh, what's that?

Fixed, download it here.

Completed, download it here.

still not working:
Mod 'BadOptimizations' (badoptimizations) 1.1.0 requires version 1.20.2 or later of 'Minecraft' (minecraft), but onlythe wrong version is present: 1.20.1!


Plan to support Spark 3.5?

We're excited about some of the improvements in Spark 3.5, e.g.:

Allow ShuffleDriverComponent to declare if shuffle data is reliably stored SPARK-42689
Allow V2 writes to indicate advisory shuffle partition size SPARK-42779

Any plan on support Spark 3.5?

would like to find a time to complete it soon.


[SPARK-27620][BUILD] Upgrade jetty to 9.4.18.v20190429

What changes were proposed in this pull request?
This pr upgrade jetty to 9.4.18.v20190429 because of CVE-2019-10247.
How was this patch tested?
Existing test.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/10366/
Test PASSed.

Test build #105074 has started for PR 24513 at commit cf01494.

Test build #105074 has finished for PR 24513 at commit cf01494.

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

Merged build finished. Test PASSed.

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

Merged to master.

Hi, Guys.
Can we have this in branch-2.4 because Apache Spark 2.4 is LTS?

Oh, Sorry. I realized that this is effectively fixed via SPARK-30318.


Support for esy local development.

Summary: This diff adds support for local development of the graphQL ppx
via esy. I added instructions about usage in the new DEVELOPING.md doc
and I hope some more info can be added there about how the CI system
works etc.
This doesn't implement all the CI and packaging using esy which will
eventually become possible once we get deep Windows support, but it
makes the local install/build iteration more enjoyable.
I also moved to the officially supported Dune approach for configuring
builds (discover.ml) which is what the Dune devs recommend. It also
was required for the local esy builds because esy doesn't want you to
write artifacts to your source tree (when your esy.json file
says it only writes to the _build directory).
Test Plan:Tried this out with esy and it works.

I think that's because I didn't include bs-platform in the esy dependencies. I can try adding it there to see if it works, but the esy install and npm install aren't ever really supposed to happen with the same node modules. Esy just provides a better npm style workflow for building opam packages with opam dependencies. Then you can publish the result to npm without having esy be involved. I wanted esy support for this package because it makes my life way easier with the esy editor integration and install / build process during development. I would run the npm tests on pure npm for now.

I incorporated @rgrinberg's comments on discover.ml and updated the DEVELOPING.md file with opam instructions.


installation: fix for invenio_testing dependency

FIX Removes dependencies to invenio.testsuite and replaces them
with invenio_testing.

Signed-off-by: Sami Hiltunen<EMAIL_ADDRESS>

@SamiHiltunen please rebase and fix failing tests. Thanks


73 responsive whattodo featurework

Descriptions

Link to UI design (if possible): https://www.figma.com/file/q2ZHM8s0LcNxz3otGFLDzO/Website?node-id=0%3A1&t=U1p59QlVKt5XJoh5-0

Provide screenshots or videos that the function is working.
##744px width

##390px width

Provide screenshots of no warning, or error in the console.

[x] All unit tests passing and coverage of testing is more than 90% unless special needs.
[x] No merge conflict with the main branch, make sure your code is up to date with main.
[x] Check PR title is aligned with your ticket.
[x] Check your app will run without crashes.
[x] Check if there are hard-coded values.
[x] No //eslint-disable-next-line no-unused-vars, unless otherwise specified.
[x] Check you are using camelCase && PascalCase correctly.
[x] Remove unused comments.

It looks like there are still some issues with responsiveness in the mobile mode.
Q1: the style of the big title, fontsize?
Q2: the responsive of the picture.Because the height is fixed, when the width is reduced, the content on the left and right sides of the image will disappear instead of being directly scaled by a percentage.

Figma shows there has padding between the icon and the text.

It looks don't have the same padding.

It looks like there are still some issues with responsiveness in the mobile mode. Q1: the style of the big title, fontsize? Q2: the responsive of the picture.Because the height is fixed, when the width is reduced, the content on the left and right sides of the image will disappear instead of being directly scaled by a percentage.

Q1 is solved Q2 can be solved, but I think it is better to follow the prototype.

The prob is fixed now.

 It looks don't have the same padding.

The prob is fixed now.

OK


⚠ Bofrost.at has degraded performance

In 3341145, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 913 ms

Resolved: Bofrost.at performance has improved in 1d592e1.


Add support for eagerly loading associations via the include param

Similar to ActiveModelSerializer's include option, but for eagerly loading relationships, rather than just rendering them.
For example, instead of having to write this:
    render json: Level.includes(
      :attendances => [
        :housing_request,
        :housing_provision,
        :orders,
        :package,
        :attendee
      ]).find(params[:id]), include: params[:include]

we want the ability to have whatever is in the include param eagerly load the relationships for us upon model resolution so that our controller actions can remain as
    render json: model, include: params[:include]

See: https://github.com/rails-api/active_model_serializers/blob/master/lib/active_model/serializer/include_tree.rb for converting the string to a hash.

Do we want to silently fail if an association is spelled wrong, and just output a warning to the log?
Should we call the AMS include_tree module directly, or copy it to this repo?

if we copy it to this repo, then we can do some validation / name fixing against the ActiveRecord relationships

Thanks, I did not know that you could use
params[:include]
It works, but I'm having trouble understanding why...since I did not pass in a parameter of include. Could you explain?
Does rails automatically add the include key into the params hash when calling render?
Apologies if it is an easy answer, I'm a bit of a novice.

ref: https://github.com/rails-api/active_model_serializers/issues/1044#issuecomment-213772192

Actually going to close this, thanks to the https://github.com/salsify/goldiloader gem :-)
Thanks @salsify!


[Math] Quaternion LookRotation, quat*vec and AngleBetween

PR Details
Added two methods, an operator and more coverage for ins.
See related issue for more information.
Related Issue
#1097
Motivation and Context
User had issues writing logic that required such functions.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@tebjan Sure, please share if you do find one, I have thought about this quite a bit and looked around a bunch but the other solutions aren't any faster than the RotationMatrix, if you can somehow replace the orthogonal stuff with it you might have a chance though.

@tebjan Sure, please share if you do find one, I have thought about this quite a bit and looked around a bunch but the other solutions aren't any faster than the RotationMatrix, if you can somehow replace the orthogonal stuff with it you might have a chance though.

I think the Matrix solution in this case is computationally less expensive since it doesn't require any trig functions and relies on a few MathF.Sqrt() when constructing the result quaternion. That's probably only interesting from an academic perspective though. I've likely wasted more time typing this than it might ever save me in the long run.

@tebjan Sure, please share if you do find one, I have thought about this quite a bit and looked around a bunch but the other solutions aren't any faster than the RotationMatrix, if you can somehow replace the orthogonal stuff with it you might have a chance though.

I think the Matrix solution in this case is computationally less expensive since it doesn't require any trig functions and relies on a few MathF.Sqrt() when constructing the result quaternion. That's probably only interesting from an academic perspective though. I've likely wasted more time typing this than it might ever save me in the long run.

Right, let's not waste any time on this. Unlikely that it will cause problems for anyone. If someone comes across a faster algorithm, er can exchange them later.

There doesn't seem to be any specific convention but unity and udk does quaternion first, cryengine does both sides, unreal I have no clue.

Ok, maybe having it both ways is an option?

There doesn't seem to be any specific convention but unity and udk does quaternion first, cryengine does both sides, unreal I have no clue.

Ok, maybe having it both ways is an option?

I created the flip side in a separate PR so we'd have either. If we decide not to go that route (or not use my PR), I can rip it out,

There doesn't seem to be any specific convention but unity and udk does quaternion first, cryengine does both sides, unreal I have no clue.

Ok, maybe having it both ways is an option?

@tebjan
Actually, now that I think about it, it makes sense to have only one and it be the Quaternion first given that quatA * quatB != quatB * quatA, the mult operator can be thought of as LocalRotToWorldRot(quat parentWorld, quat local) => parentWorld * local so it would make sense to have it behave in a similar way for vectors, that might help user build an intuition, I would still need to include this in the remarks for that operator's docs though, what do you think ?

There doesn't seem to be any specific convention but unity and udk does quaternion first, cryengine does both sides, unreal I have no clue.

Ok, maybe having it both ways is an option?

@tebjan
Actually, now that I think about it, it makes sense to have only one and it be the Quaternion first given that quatA * quatB != quatB * quatA, the mult operator can be thought of as LocalRotToWorldRot(quat parentWorld, quat local) => parentWorld * local so it would make sense to have it behave in a similar way for vectors, that might help user build an intuition, I would still need to include this in the remarks for that operator's docs though, what do you think ?

Quaternions being noncommutative is expressly important to the concept so I do agree that intuition might dictate not having it both ways. I wondered something similar when I wrote the flip side in my other PR which has since been retracted.


Stuck on "checking now, hold tight!" for several hours for all JavaScript project in camel-tooling and jboss-fuse organization

Package manager/ecosystem
javascript
Manifest contents prior to update

Updated dependency

What you expected to see, versus what you actually saw
No more Pull Requests are created. On PR a "rebase" has been asked, it is mentioing that "dependabot is rebasing PR" and stays blocked on it for several hours. For instance here https://github.com/jboss-fuse/vscode-atlasmap/pull/446
Images of the diff or a link to the PR, issue or logs

this was unblocked a long time ago. It has been moved to Github anyway. Closing.


fix: broken TappedBuyNow flow type

The type of this PR is: chore

Description
Hey @daytavares - I noticed that this change broke the type check CI step on force https://github.com/artsy/force/pull/13792. I believe some changes need to be made there in order to support the new property "flow" since it's now required.
Because I don't see any PR doing that currently, I am adjusting the type, temporarily hopefully until such changes are made in Force, to unblock the cohesion upgrade.
I also noticed that the flow property is a string, I changed that to a literal string to make sure we don't send a wrong string.

PR Checklist (tick all before merging)

[x] If I've added a new file to the tree I've exported it from the common index.ts
[x] I've added comments with examples for any new interfaces and ensured that they're in the docs
[x] No platform-specific terminology has been used outside of click and tap (platform is inferred by the DB storing events)

:rocket: PR was released in v4.179.0 :rocket:

Thanks!!


Can't save Julia Jupyter notebook as html

This feature is absent in the daily build of 7/14/21, and I use it frequently.

@Bob-McCrory Are you saying that the export button isn't in the toolbar? If so, that's the same problem as https://github.com/microsoft/vscode/issues/128681 Should be fixed in tomorrow's VS Code Insiders build. If something else, please let us know. Sorry for the inconvenience!

Thank you so much for your reply. Not only was it not in the toolbar, but I also couldn't find it anywhere else. Wouldn't it be a good idea to have anything in the toolbar also available in the menu? I'm not a UI expert, but I would think this might warrant consideration.
Thanks again for your reply.
Bob
Robert T. McCrory, FSA
1532 East McGraw Street
Seattle, WA 98112-2134
206-323-7312
<EMAIL_ADDRESS>
From: Joyce Er @.>
Sent: Wednesday, July 14, 2021 10:33 PM
To: microsoft/vscode @.>
Cc: Bob McCrory @.>; Mention @.>
Subject: Re: [microsoft/vscode] Can't save Julia Jupyter notebook as html (#128680)
@Bob-McCroryhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBob-McCrory&data=04|01||d2c3608800e04ed4afa708d94752047d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637619239856222290|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ri6HH2k8knV63przLrNhRzC1E3ASrlsuzQOUSmaiPKQ%3D&reserved=0 Are you saying that the export button isn't in the toolbar? If so, that's the same problem as #128681https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F128681&data=04|01||d2c3608800e04ed4afa708d94752047d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637619239856232288|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=pLpcHOqtxz1dE7RLpz%2FjNwjDMu1rYDeTa4wPMggS7mg%3D&reserved=0 Should be fixed in tomorrow's VS Code Insiders build. If something else, please let us know. Sorry for the inconvenience!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F128680%23issuecomment-880408683&data=04|01||d2c3608800e04ed4afa708d94752047d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637619239856232288|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=h1UtjmSkL4IqblVu%2BciuiVjUWiyU8vu1QCLuOZ1rRM8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE5RVBZOOMR3UJ4LIUVUT4LTXZXI7ANCNFSM5AL47V4A&data=04|01||d2c3608800e04ed4afa708d94752047d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637619239856242285|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=c4yNiHIw54kHxj4UXSDF8ZIovoxFb%2B1I21DdKc6tgOA%3D&reserved=0.

@Bob-McCrory The export button disappearing was not intentional, should already be back in today's Insiders builds, and was caused by a bug in VS Code. The export button is only shown when the current workspace is trusted, and there is a context key provided VS Code that we use to determine that; that context key's state was briefly incorrect, causing the export button to be hidden when it should have been displayed. I hope that helps to clarify.


[AddViewController] on 4" device, counter label is crooked, default box image is too big.

solution: https://github.com/yoha/Ventori/commit/239d002d22d633c2f9501d06137a2b11e80b983c


i think its fixed now

custom pop words

Denied, add an if statement to check and see if the embed would be too big, and limit the number of characters to 5 as that's how many there were originally.


Relation fix

Coverage decreased (-4.6%) to 94.24% when pulling aa7f722095f9795b286f2bff4e6ee91e23fe86ca on c-harris:relationFix into f07a7b0efe1bdd1b43dae7a5a1394818730a2507 on Algo-Web:master.


I have issue in using wallet-core ios project.

Describe the bug
I have tried to implement wallet-core in swift4.2 and swift5.
But there are many bugs in there.
After I installed pod, I can see many bugs and undefined symbols in installed pod sdk.
How can I resolve these bugs?

Create a new issue and provide details according to the guidelines

I attached the image with many issues.

How can I resolve this?


Can't navigate the stack trace in the exception peek

Tests #23013

Title says it all. I would expect that I can navigate the stack trace.

Closing as duplicate in favour of #21349


cannot use kmeans_cuda in pipeline.py

Traceback (most recent call last):
File "pipeline.py", line 169, in
msk_img,predicts= col_seg(image,pool,model)
File "pipeline.py", line 135, in col_seg
msk_img=palette_lst(travcut)
File "pipeline.py", line 54, in palette_lst
palette, data['Cluster']= kmeans_cuda(data, n_classes, verbosity=1, seed=1)
ValueError: the number of features must be even in fp16 mode
The bug is above. I have seen the feature of the data(shape: n*3) is 3, so how to solve this problem?

I have encountered the same problem as you. Have you resolved it？

I have updated the code to use fast_pytorch_kmeans. please use this one.


scripts: build: gen_isr_tables: Cleanup access to ".intList"

This commit removes the needs or generating isrList.bin temporary file. Now gen_isr_tables.py script access the required section directly in elf file, that was accessed by the script anyway.
It simplifies the building removing one step.
This is the part of #60838 PR that should not rise any controversy.
Just simplification of the build process without changing the way the intList section is handled later.

@evgeniy-paltsev could you please check that this works as expected with ARC mwdt.

@tejlmand it works fine with ARC MWDT, thanks!

@evgeniy-paltsev - We managed to make armclang working - are we good now to get acceptation and continue?

@carlocaione let me test it again, just in case


connecting a pi-camera v2.1

I'm running homebridge-camera-ffmpeg on a Rpi 3.
The best solution I've found so far is Point-to point streaming (https://trac.ffmpeg.org/wiki/StreamingGuide):
raspivid -n -w 480 -h 320 -b 300000 -fps 15 -t 0 -o - | ffmpeg -i - -f mpegts udp://<IP_ADDRESS>:8090

note: <IP_ADDRESS> is the Rpi IP.
raspivid captures the video and sends the data through the pipe to ffmpeg.
pi@rpi4:~ $ raspivid -n -w 480 -h 320 -b 300000 -fps 15 -t 0 -o - | ffmpeg -i - -f mpegts udp://<IP_ADDRESS>:8090ffmpeg
  version N-82436-g0613627 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Raspbian 4.9.2-10)
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
  libavutil      55. 40.100 / 55. 40.100
  libavcodec     57. 66.103 / 57. 66.103
  libavformat    57. 57.100 / 57. 57.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 67.100 /  6. 67.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, h264, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 480x320, 25 fps, 25 tbr, 1200k tbn, 50 tbc
Output #0, mpegts, to 'udp://<IP_ADDRESS>:8090':
  Metadata:
    encoder         : Lavf57.57.100
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 480x320, q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.66.103 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))
frame= 1381 fps= 16 q=14.2 size=    1950kB time=00:00:55.12 bitrate= 289.8kbits/s speed=0.657x

config.json:
{
"platform": "Camera-ffmpeg",
	"cameras": [{
		"name": "pi camera",
		"videoConfig": {
			"source": "-re -i udp://<IP_ADDRESS>:8090",
			"maxStreams": 2,
			"maxWidth": 480,
			"maxHeight": 320,
			"maxFPS": 15
		}
	}]
}

The next step will be to reduce the stream delay, any idea?

I'm not using the camera board (yet) but I'm using a USB camera, and ffmpeg's builtin v4l2 support...I think this also works for the camera board...why not just ffmpeg -f v4l2 -i /dev/video0?

Update:
I've installed uv4l: http://www.linux-projects.org/2016/10/25/a-new-driver-is-born/
and started the ulv4r-server (http://www.linux-projects.org/documentation/uv4l-server/)
I have no latency in any browser (mac, iPhone), that's great. Unfortunately I didn't found a reasonable solution for homebridge-camera-ffmpeg. The latency seems to be a challenge.

I'm also attempting using a raspberry pi cam module on the same host as homebridge, using the UV4L driver and streaming server. I couldnt get ffmpeg to grab the http stream however. Is there a trick to this, in terms of how to configure the UV4L driver, or a specific ffmpeg version? I'll admit, i was trying to use h264.
I thought I was getting somewhere by getting ffmpeg to open a h264-encoded stream from the /dev/video0 device directly, with the ' -f video4linux2 ' switch in the ffmpeg input. Didnt seem to work, as in either case the ffmpeg I was using seemed to crash straight away, and the syntax for the command sat at the homebridge console (im running homebridge direct as the logged in user)
Have started over to approach this a bit more methodically, so will post up configs and current state soon.

Currently investigating my options on this also! I was running the motioneye software and using another FFMPeg homebridge plugin, but now I'm using the "RPi Cam Web interface" which supports mjpeg and other method of streaming.
Trying to work out how I can get the two to work together!

I recently got the pi camera going on a Raspberry Pi 1 Model B (i.e. very old and slow). The camera is providing good video to Home, but not at 30 FPS - maybe 2 FPS. Anyway, the recipe outlined below should also work for more recent Raspberries and camera modules, but I did not test there. I am describing actions as taken by user pi.

Install Raspbian Jessie (I am using the version as of June 2017)
Install the video for Linux 2 driver with "sudo modprobe bcm2835-v4l2". After this, you should have a device called /dev/video0. Add the line "bcm2835-v4l2" with "sudo nano /etc/modules". This makes sure the driver is loaded when you reboot.
Install node.js, homebridge and homebridge-ffmeg. Make homebridge start at boot time as user pi.
(Compile and) Install ffmpeg with h264_omx encoder (use your favorite search engine to find recipes or precompiled packages). Note that this will require several hours of compile time. As an alternative you may be able to use avconv as describe in https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/24 , but I did not test that - the hardware supported h264_omx encoder is probably vital to get a decent performance.
Use a ~/.homebridge/config.json file like the following:

...
{
  "platform": "Camera-ffmpeg",
  "cameras": [
    {
      "name": "RaspiCam",
      "uploader": false,
      "videoConfig": {
      	"source": "-re -f video4linux2 -i /dev/video0",
        "stillImageSource": "-re -f video4linux2 -ss 0.9 -i /dev/video0 -vframes 1",
       	"maxStreams": 2,
      	"maxWidth": 1280,
      	"maxHeight": 720,
      	"maxFPS": 30,
      	"vcodec": "h264_omx"
      }
    }
  ]
}
...

restart homebridge
connect to HomeKit
After a number of experiments the still image stopped working. Disconnecting and rebooting the iphone as described in https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/26#issuecomment-265909565 helped.
If you are using VNC to log into your RP: This considerably slows down ffmpeg (probably because the both use the hardware encoder). Stick to ssh if this is a problem.

Enjoy,
Georg

hi GeorgViehoever,
i have tried your recipe on a clean install, but i have a strange bug.
stillImage is ok in home.app, refresh every 10sec
but source streaming don't work...
and i don't have error in homebridge log
any idea ?

I had just the opposite situation: Streaming worked, still images did not. The problem magically fixed itself when I did an iPhone restart as described in https://github.com/KhaosT/homebridge-camera-ffmpeg/issues/26#issuecomment-265909565 .
Only other recommendation I have: Watch the commands output by "sudo systemctl status -l -n 100 homebridge". Prefix them by "ffmpeg" and modify the end to write to a file. The worked fine for me producing readable video/image files. This led me to believe that my commands were working fine, and I went on to find issue 26.
Good luck,
Georg

thanks @GeorgViehoever !
i've restart my iPad 100 times, same thing, no streaming...
strange: on another Pi (v2), same config, same jessie version, but without omx, everything is ok...

Thanks @GeorgViehoever !!
pi Zero w + Camera module v2 works great with ffmpeg (omx enabled build) and your conf
I had to remove from the homebridge-camera-ffmpeg code (ffmpeg.js) the resolution and scale for stillImage and videoStream to switch back to GPU encoding, and I now get a decent 10~20 FPS with pretty good video quality and 25% CPU load on the pi zero
Xavier

Yes, I had the same problems. omx only works without scaling, otherwise the streaming is very slow.

@Samfox2 use -video_size WxH instead of scaling to spare the CPU (read more here)

@XavM your tip works awesome, very little delay and high framerate (albeit on a rpi 3). The only issue is that the stream stops playing after about 10 seconds. Do you have the same issue?

@XavM, could you explain, how you

removed from the homebridge-camera-ffmpeg code (ffmpeg.js) the resolution and scale for stillImage and videoStream to switch back to GPU encoding

?
So far I have replaced

-vf scale='+ width +':'+ height

with

'

in ffmpeg.js, but the frame rate is still slow.

just try homebridge-camera-rpi ;)

just try homebridge-camera-rpi ;)

Much better now. Thank you!

@fabvis streaming started the moment I started using a password for the admin account in MotionEYE. Without the password Also only stills and no video. Didn’t change anything else.

Hi
Will this method work on IP cameras?
Is there an alternative way to direct stream IP cameras to HomeKit without going through FFMPEG processing?
My current device is a Raspberry Pi 3+ running independently just for cameras , and I have got 7 IP cams to it.
The issue I have is a lag during live streaming. Despite being pixelated at times, It’s not that bad during the day but night it’s difficult to see.
The issue remains if I have 1 or 7 cameras connected.

@cflurin , @yahms :
I tried UV4L too. The MJPEG stream over HTTP is very high quality (high definition, high framerate, latency < 500 ms). Several users can watch it from various browsers at the same time. Very good solution in a browser.
But passing it through camera-ffmpeg in homebridge, I get an enormous delay in the Home app: over 7 seconds away, just as long as postmen stay. Even picking the stream directly on the pi from <IP_ADDRESS>
What we'd need is a HTTP streaming server that can stream H.264, not MJPEG, so that we could use -vcodec copy instead of libx264 or h264_omx (no transcoding in homebridge). I know that UV4L is advertised as being able to stream H.264 from a CSI pi-camera using their uv4L-raspicam driver, but I have an H.264 USB camera and the uv4l-uvc driver is poorly developed compared to uv4L-raspicam. BTW, forcing UV4L to use the standard uvcvideo driver with --external-driver yes does not work: the H.264 stream is detected but not playable in UV4L (blank screen).
Did anyone found any free HTTP or RTSP streaming server that actually streams H.264 properly?

As a side note, besides UV4L, did you guys manage to open your camera stream in several Home apps on different iPhones at the same time? This is impossible for me.


sitemaps: more efficient processing

Codecov Report

Merging #326 (07e5672) into master (21d793d) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   96.49%   96.46%   -0.03%
==========================================
  Files          22       22
  Lines        3336     3340       +4
==========================================
+ Hits         3219     3222       +3
- Misses        117      118       +1

Impacted Files
Coverage Δ

trafilatura/cli.py
94.63% <100.00%> (-0.11%)
:arrow_down:

trafilatura/cli_utils.py
91.50% <100.00%> (ø)

trafilatura/downloads.py
99.30% <100.00%> (ø)

trafilatura/sitemaps.py
95.30% <100.00%> (-0.48%)
:arrow_down:

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


Optimize paste from clipboard

Allow pasting Python expressions from the clipboard

What is the use case for this? Can you make an example?
Probably I will not merge it, because using eval on untrusted strings is a security issue. See https://stackoverflow.com/a/10964364

What is the use case for this? Can you make an example?

An example would be this: b'\x00\x00\x00\xa4\xc18\xe1\x81_\x00\xcc#b\x0c\r\x15'

Probably I will not merge it, because using eval on untrusted strings is a security issue. See https://stackoverflow.com/a/10964364

Yes, I know. I was considering construct-editor mainly an engineering tool (BTW, an excellent sw indeed, thanks!) for developers and testers. In such use case maybe eval would still be adeguate....

Updated code with improved robustness on the Python expression evaluation from clipboard, using the safe_tokens configuration variable, which defines a restricted list of safe tokens to be used. The code also allows usage of numbers, strings and operands, so that standard math, byte and string expressions can be used. Optionally, safe_tokens can be overridden for specific purposes.

An alternative method would be to add a menu toggle to the hex editor, allowing pasting Python expressions. I'll try working on such a mode as soon as I have time.

This is an almost complete rewrite of the previous code which enhances the default mode of the paste from clipboard interpreter of the hex editor (now hex strings copied from a wide variety of tracers can be directly pasted to the hex editor) and also adds a menu toggle, allowing pasting Python expressions from the clipboard, with robust evaluation: other than using the safe_tokens configuration variable, which defines a restricted list of safe tokens to be interpreted, the code catches most (if not all) the existing "eval" exploits (f-strings, long-running math computations, tokens).
Examples of strings allowed with the default paste mode:
0102030405060708090a0b0c0d0e0f
01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
<IP_ADDRESS>.<IP_ADDRESS>.09.0a.0b.0c.0d.0e.0f
01-02-03-04-05-06-07-08-09-0a-0b-0c-0d-0e-0f
1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
1 2 3 4 5 6 7 8 9 a b c d e f
"71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00"
("71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00")
bytes.fromhex("71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00")
'71209800c07a3e6a8d7cc40d041002f200'

Examples of strings allowed with the Python paste mode:
bytes.fromhex("71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00")
b'\x00\x00\x00\xa4\xc18\xe1\x81_\x00\xcc#b\x0c\r\x15'
bytes.fromhex("0102030405060708090a0b0c0d0e0f" + "000101")

Examples of appropriately discarded Python strings when using the Python paste mode:
2 ** 2 ** 2 ** 2
"()"*8**5
'(1,' * 100 + ')' * 100
10**10**100
"foo" + f"{().__class__.__base__}"
"foo" + "bar"
bytes.fromhex("0102030405060708090a0b0c0d0e0f" + f"{().__class__.__base__}")
1 + "two"
2/0
1,2,3
import time

Thanks for your work on my project.
I still don't like the approach with eval though. That's too much magic happening in the background that a user would never expect when inserting. Even though you put some effort into it, I'm not going to merge it that way.
If you use the widgets in another project, you can create copy and paste hooks/callbacks, which you can use in your project to implement this feature more easily.
But I like the improvements of the string parsing. Maybe the following format would be practical, which I often have in C/C++ code: 0x12, 0x23, 0x45,

Maybe the following format would be practical, which I often have in C/C++ code: 0x12, 0x23, 0x45,

I do not want to further insist on the usage of eval, just inform that, pasting 0x12, 0x23, 0x45, with the "Allow pasting Python expression" checked, these bytes are correctly added.

you can create copy and paste hooks/callbacks, which you can use in your project to implement this feature more easily.
developing a plugin looks fine

Maybe the following format would be practical, which I often have in C/C++ code: 0x12, 0x23, 0x45,
OK, I'll try to work out a possible solution without using eval and supporting constructs like 0x12, 0x23, 0x45

Code revised to support the following formats (with no usage of eval):
0102030405060708090a0b0c0d0e0f
01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
<IP_ADDRESS>.<IP_ADDRESS>.09.0a.0b.0c.0d.0e.0f
01-02-03-04-05-06-07-08-09-0a-0b-0c-0d-0e-0f
1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
1 2 3 4 5 6 7 8 9 a b c d e f
"71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00"
("71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00")
bytes.fromhex("71 20 98 00 c0 7a 3e 6a 8d 7c c4 0d 04 10 02 f2 00")
'71209800c07a3e6a8d7cc40d041002f200'
0x12, 0x23, 0x45,

Optionally, a plugin might be implemented by overriding methods in the HexEditorGrid class (e.g., methods build_context_menu() and string_to_byts() allow this easily and can be reused) and then monkey patching the HexEditorGrid reference used by the library, like in the following "myplugin" example:
from construct_editor.widgets.hex_editor import HexEditorGrid

class HexEditorGrid(HexEditorGrid):
    ...
    def build_context_menu(self):
        menus = super().build_context_menu()
        ...  # process the "menus" array
        return menus

    def string_to_byts(self, byts_str: str):
        ...
        return super().string_to_byts(byts_str)

Monkey patch:
import construct_editor.widgets.hex_editor
from myplugin import HexEditorGrid

construct_editor.widgets.hex_editor.HexEditorGrid = HexEditorGrid

Example of build_context_menu override:
    def build_context_menu(self):
        menus = super().build_context_menu()
        menus. Append(None)  # separator
        menus. Append(
            (
                wx.ID_ANY,
                "my new context menu toggle",
                lambda event: self.my_specific_function(),
                my_state, # None = option, True = toggle selected, False = toggle unselected
                not self.read_only,
            )
        )
        return menus

Example of string_to_byts override:
    def string_to_byts(self, byts_str: str):
        if my_condition:
            return my_string_processor(byts_str)
        else:
            return super().string_to_byts(byts_str)

Thanks for your contribution. I will merge this PR. But I am also working on an different branch where I refactored many files in this repository. But I applied your changes to the other branch manually, with a few modifications. The next release will be based on the refactored branch.


how to use it with vite ?

Hi i'm trying to migrate from Webpack to Vite and one of the main issue i found is to merge all components js files into one file. I was wondering if i have to copy paste the content of all the js components in the main file or is there another way to import files ?

Hi Omar, I'm not sure how Vite works, for we've never used it in our projects. Prob a question for the Vite community?
Cheers

Yeah i do agree. i'm just more a PHP guy and i am not sure if i can use your framework in modular way.
Like use export & import javascript syntaxes. I ended up switching back to Webpack.


The inner bind is not required

The inner bind is useless
create-react-apps' default webpack config was what pointed out this issue.

Indeed. Thank you!


Dt 1040 plaintext validator

For future reference, unless the title of the PR is completely self-explanatory, put something in the description.

Let's bump the version number to 0.1.1 and update our OT Gemfile to reflect that.


Hybrid form demo

I’d like to add a demo featuring a React multi-select component or another advanced React element embedded within a LiveView form.

This would be very useful to have as an example 👍

+1


electricbill

calculates the electric bill of a consumer

@Cara-Rosewood, thanks for contributing to Rewarding project repository, Your contributions to this repo has won the status of Special Mention for the month of October. Thus it will be helpful to know your name for a post regarding this event in our social media handles. You can mention your name here or you can send me your name and your GitHub name too in<EMAIL_ADDRESS>


AzDO: Configuration too restrictive for on-premise?

It appears that dependabot might currently only run really well on Azure DevOps Service, but not on Azure DevOps Server.

Source is created only with the hostname: https://github.com/dependabot/dependabot-script/blob/198a177090c111ffab27932ab0c02213c7d8b1fc/generic-update-script.rb#L79-L96
Regex is pretty restrictive: https://github.com/dependabot/dependabot-core/blob/c3c87bb90042cf5b3d3af50d42b0e83fe3267041/common/lib/dependabot/source.rb#L26-L30

When hosting Azure DevOps Server on-premise, a typical URL to a repository might be something like https://tfs.example.org/tfs/ProjectCollection/Tests/_git/SomeRepo or http://tfs.example.org:8080/tfs/ProjectCollection/Tests/_git/SomeRepo. Also see the discussion in https://github.com/tinglesoftware/dependabot-azure-devops/issues/27#issuecomment-768054722
It might be interesting to allow callers to provide the API base URL for the project collection as an alternative to constructing it with AZURE_HOSTNAME, ie. by using $SYSTEM_COLLECTIONURI. The actual URL to the project collection cannot be determined automatically only by using the hostname and the name of the project collection.

@hangy ADO support currently relies mostly community-contributions, I'd be happy to review and accept a PR that improves support for on-premise ADO! 👍

@jurre Thanks for your response! I haven't used Ruby before, and I'm certainly no expert on different hosting options for AzDO on-prem and in the cloud, but I'll see what I can do. (Your colleagues at @microsoft are obviously way better informed when it comes to the details of this.)
As far as I can tell, the best option to integrate the Azure DevOps REST API for Azure DevOps Service as well as Azure DevOps Server, would be to specify the URL directly, when creating a new Source. After some digging, I found out, that the base URL for project related APIs reliably seems to be $SYSTEM_COLLECTION/$PROJECT/_apis. Basically, https://github.com/dependabot/dependabot-core/blob/5c2eb8b59d97372342513c6a3582727e898dae77/common/lib/dependabot/clients/azure.rb may actually work to some extent, if the a more complete api_endpoint URL was given in https://github.com/tinglesoftware/dependabot-azure-devops/blob/4c7c89fb7580924e3e5b2525fb03ee4acbb1c0ea/src/script/update-script.rb#L155. I'll have to test that separately.
However, as documented here, the URLs of AzDO on-prem can be pretty varied, so that detecting it in https://github.com/dependabot/dependabot-core/blob/08c679d9742ec87a74021fb737fa177c700e5dc4/common/lib/dependabot/source.rb#L42 might be pretty difficult, unless we were to catch all URLs with /_git/. Would that be acceptable from your point of view, or is the chance of false-positives too high?
Also, if we were to detect the API URL from the repo URL based on /_git/, we would probably have to remove the concept of organization and project from the azure source. With the amount of URL variations in the wild, detecting these properties would sometimes be impossible. In that case, the whole URL up to the "project" level would need to be specified as the source.api_endpoint. This may be a breaking change to the current behaviour - would it be OK with you?

Your colleagues at @microsoft are obviously way better informed when it comes to the details of this.

You're right, @JamieMagee or @milind009 , would you be able to offer any guidance? 🙇

catch all URLs with /_git/

That seems a bit of a wide net to cast 🤔, maybe if it's the last step in the check it'd be OK, so if it's not any of the other providers but it does match /_git/, assume it's ADO.

Also, if we were to detect the API URL from the repo URL based on /_git/, we would probably have to remove the concept of organization and project from the azure source.

As long as the change only affects the Azure implementation I think it'd be OK, although it does sound fairly hairy.
I wonder if there is a better option here, if you're running against azure devops we should have code-level access to Dependabot. I wonder if we should inject some details into dependabot to help it parse these URLs.
An API could look something like:
Dependabot::Clients::Azure.configure do |config|
  config.source_api_url = "https://tfs.example.org/tfs/ProjectCollection/Tests"
  config.whatever_other_data_we_need = "some_other_option"
  # or even:
  config.source_regex = /^some|regex/
end

And then in Dependabot::Source we check if that config is set, and if it is we use it to parse the azure sources?
I'm just thinking out loud here

catch all URLs with /_git/

That seems a bit of a wide net to cast 🤔, maybe if it's the last step in the check it'd be OK, so if it's not any of the other providers but it does match /_git/, assume it's ADO.

I don't like it either, as it is a very unspecific pattern to match. On the other hand, none of the other Sources do use an underscore prefix for "internal" URLs, so maybe it could work.

Also, if we were to detect the API URL from the repo URL based on /_git/, we would probably have to remove the concept of organization and project from the azure source.

As long as the change only affects the Azure implementation I think it'd be OK, although it does sound fairly hairy.

As far as I can se, they're only used in then Azure client to build up the URLs for the actual API calls.

I wonder if there is a better option here, if you're running against azure devops we should have code-level access to Dependabot. I wonder if we should inject some details into dependabot to help it parse these URLs.

I just skimmed the code a bit, and it looks like the from_source method might still be interesting to support on-prem hosting, but apparently hostnames for GitHub, GitLab, and Bitbucket are hard-coded, too. So it might not be much of an issue after all. The AzDO extension uses some code to detect the organization, so maybe it's something else that's acting up in https://github.com/tinglesoftware/dependabot-azure-devops/issues/44 and https://github.com/tinglesoftware/dependabot-azure-devops/issues/27#issuecomment-768054722. I'll check that again and get back to you.

I faced this issue today. In my company, we recently updated to Az DevOps Server 2020 and I was trying to integrate dependabot.
Currently, we don't use HTTPS, so our URLs are like this:
http://ados-20:8080/tfs/ProjectCollection/TeamProject
I tried to set AZURE_HOSTNAME=ados-20:8080/tfs like suggested by https://github.com/tinglesoftware/dependabot-azure-devops/issues/112 but then I realized that dependabot was "forcing" HTTPS URL.
I'm also not into ruby, but I'm available to try to help if there's something I can do.

@vmcbaptista I think that's not dependabot-core, but the 3rd party AzDO extension. I took the liberty of copying your text to a new issue there: https://github.com/tinglesoftware/dependabot-azure-devops/issues/114

@hangy Thanks for checking this. but I faced the same problem when using dependabot-core directly

@hangy Thanks for checking this. but I faced the same problem when using dependabot-core directly

Using depedabot-core directly or could it be this script, which suffers from the same problem as the script from the extension? https://github.com/dependabot/dependabot-script/blob/9955ecfde6514d412aad052e7d5809af2039fb80/generic-update-script.rb#L82-L99

@hangy Thanks for checking this. but I faced the same problem when using dependabot-core directly

Using depedabot-core directly or could it be this script, which suffers from the same problem as the script from the extension? https://github.com/dependabot/dependabot-script/blob/9955ecfde6514d412aad052e7d5809af2039fb80/generic-update-script.rb#L82-L99

nice catch! yes I tried both the extension and that dependabot-script

we also have white spaces in both project collection, team projects, and repositories names, which I admit is quite unpleasant since this ends up being resolved to names with %20 in the middle, but this was done like this for a long time already and there are no plans to move to names without spaces.

Support for spaces in the URI was added via a community PR from @AlekhyaYalla:

https://github.com/dependabot/dependabot-core/pull/5656

So to clarify @vmcbaptista / @hangy:

Is there still a valid bug here? I assume the hostname is still an issue even though the URI spaces issue has been fixed... but it'd be great to get confirmation?
It sounds like the issue is due to config that's hardcoded in dependabot-script and not a problem with dependabot-core... is that correct? If so, I'll transfer this issue to that repo so we can track it in the appropriate context.

So to clarify @vmcbaptista / @hangy:

Is there still a valid bug here? I assume the hostname is still an issue even though the URI spaces issue has been fixed... but it'd be great to get confirmation?
It sounds like the issue is due to config that's hardcoded in dependabot-script and not a problem with dependabot-core... is that correct? If so, I'll transfer this issue to that repo so we can track it in the appropriate context.

I would be more than happy to help, but to be fair this is already quite old, I don't really remember much about this and unfortunately I do not have access to any AzDo to test this again.

paging @mburumaxwell 🙇  since you know so much about ADO... any comments on ☝ ?

Thanks @mburumaxwell. Let's close this then!


v2.2

Changelog
Doc and whitespace updates
Issues fixed or closed
Questions (open the PR then click the check boxes)
Did you update the documentation related to your changes?

[x] Yes
[ ] My changes were not already documented

Did you run make before committing code and opening this PR?

[x] Yes
[ ] I didn't change any code

Did you run porter create-stack and porter sync-stack to verify provisioning
works?

[ ] Yes
[x] N/A

👍

:+1:


Notification.requestPermission() throws an exception every time in dartium

Hi everyone, I have an issue with Notification.requestPermission() in dartium - it throws an exception all the time:
type 'JSObjectImpl' is not a subtype of type 'Future' of 'function result' where
  JSObjectImpl is from dart:js
  Future is from dart:async

#0      Notification._requestPermission (dart:html:30767)
#1      Notification.requestPermission (dart:html:30774)
#2      PushSubscriptionService._ensureNotificationsEnabled
...

Dart SDK and Dartium 1.24.1
Am I doing something wrong?

Same with window.navigator.serviceWorker.register(serviceWorkerUrl)

As a workaround until it is fixed
https://pub.dartlang.org/packages/service_worker
(and https://pub.dartlang.org/packages/pwa) provide a package:js based way to use this API
Not sure if it will be fixed. Dartium is or will be derprecated.


The user can view a list of games of chess they could join

Part of: #17
Acceptance criteria:

Users can see a list of games with player names and chosen color

This story  assumes #18 to be completed.


all tabs height increase when one tab is list and scrolls

all tabs height increase when one tab is list and scrolls

Expected behaviour

Code sample
For Syntax Highlighting check this link

Screenshots (if applicable)

What have you tried

Your Environment

software
version

ios or android

react-native

react-native-tab-view

react-native-gesture-handler

react-native-reanimated

node

npm or yarn

Me too +1

????

This generally happens when <TabView> is wrapped by a <ScrollView> parent component.

https://github.com/react-native-community/react-native-tab-view#avoid-rendering-tabview-inside-scrollview


MACS2: <IP_ADDRESS> -> 2.2.8

Diff: https://github.com/macs3-project/MACS/compare/v<IP_ADDRESS>...v2.2.8
changelog: https://github.com/macs3-project/MACS/releases/tag/v2.2.8
Description of changes

update to 2.2.8
fix broken
support darwin

Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236858 run on x86_64-linux 1

2 packages built:

MACS2
MACS2.dist


DO NOT MERGE: WIP for go module support

Overview
This is a branch which makes go module support work with Pilosa. Probably. (It hasn't been tested on CI yet.)
The basic difficulty we face is that gometalinter doesn't support modules, and several of the specific linters also don't. As a result, they can fail when module support is present/enabled, being unable to find things because the go language tools don't handle imports "correctly" anymore.
To work around this, you have to run them with GO111MODULE="off" in the environment, and also with pilosa in a directory that looks like $GOPATH/github.com/pilosa/pilosa. Also, you have to run go mod vendor to create a vendor directory that they can look in.
You can, in fact, do this. This tree does it. However, the net result is that it's annoying and hard to maintain.
This also brings in support for staticcheck, using what's currently the -next branch, which works with modules just fine.
This patch set does not yet fix documentation, which it would need to.
But for now we've decided that we're going to wait and see and hope gometalinter acquires module support.
Fixes #1721
Pull request checklist

[X] I have read the contributing guide.
[X] I have agreed to the Contributor License Agreement.
[ ] I have updated the documentation.
[X] I have resolved any merge conflicts.
[ ] I have included tests that cover my changes.
[X] All new and existing tests pass.

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.

@seebs I updated #1616 such that gometalinter runs in CI and I fixed a couple of other issues with it. I will go ahead and close this PR because it is out of date. Let me know if you have time to review #1616 so we can get that merged.


heartbeats not sent if wait time is too small

If the calling process uses a loop such as
        while self.running:
            self.client.wait(seconds=0.1)
            ...

no heartbeats are sent, as for each consecutive wait() call, a new  timer is instantiated ( https://github.com/invisibleroads/socketIO-client/blob/master/socketIO_client/init.py#L194 ), and thus the heartbeat_pacemaker gets passed 'zero' as time instead of the time the client has been connected.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Fixed thanks to https://github.com/invisibleroads/socketIO-client/pull/38
47b5f2dd69714c438a93f675ed3587014d2fbf8f


problem when register a new user

I use postgresql as my database. When I want to register a new user, I get the error:
QueryException in Connection.php line 763: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "users_pkey" DETAIL: Key (id)=(1) already exists. (SQL: insert into "users" ("name", "email", "password", "updated_at", "created_at") values (rockxsj<EMAIL_ADDRESS>$2y$10$Gc3f4jg/99KZCzavEctL.OZwvBEdysPGmkkYBleTW2FMDCRohu2Mq, 2016-11-01 10:31:56, 2016-11-01 10:31:56) returning "id")

It look like a problem with database server, and I use postgres (PostgreSQL) 9.5.4.  Same sql try several times may success :(


Feature Add use-countdown hooks

Simple and easy to use countdown hook ;)

Hi @hexp1989, thanks for your contribution, well implementation! I will review it next week.

Top, thanks 👍


Table update re. Pinball Loss

Table update re. Pinball Loss
I think this now resolves issue "Update table of tools and scores #257".

Not needed - changes were included in another merge request


_-async-std-v0.2.1

Codecov Report

Merging #92 (862258f) into master (e13d170) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   61.15%   61.20%   +0.05%
==========================================
  Files          27       27
  Lines        3565     3565
  Branches      192      192
==========================================
+ Hits         2180     2182       +2
+ Misses       1384     1382       -2
  Partials        1        1

Impacted Files
Coverage Δ

src/low_level/channel.rs
96.77% <0.00%> (+2.15%)
:arrow_up:

Codecov Report

Merging #92 (862258f) into master (e13d170) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   61.15%   61.20%   +0.05%
==========================================
  Files          27       27
  Lines        3565     3565
  Branches      192      192
==========================================
+ Hits         2180     2182       +2
+ Misses       1384     1382       -2
  Partials        1        1

Impacted Files
Coverage Δ

src/low_level/channel.rs
96.77% <0.00%> (+2.15%)
:arrow_up:


/root/fairseq/examples/speech_recognition/w2l_decoder.py:41: UserWarning: wav2letter python bindings are required to use this functionality.

Hi! Thank you so much for setting up this docker, I've been looking for so long for some sort of simple way to test this model, just put input audio in and get text back and it's ridiculous how complex it all is to set up. This whole thing should've been packaged into a pip install line! so thank you for your work!
After running the installation example:
docker build -t wav2vec2 -f wav2letter.Dockerfile .
docker run -d -it --rm -v $PWD/data:/root/data --name w2v2 wav2vec2
docker exec -it w2v2 bash

Everything went smoothly up til this line:
python examples/wav2vec/recognize.py --wav_path /root/data/temp.wav --w2v_path /root/data/wav2vec_small_10m.pt --target_dict_path /root/data/dict.ltr.txt

Which I modified to this (because it seemed that the wav file was not found:
#I first cd'd back to the root, and did:

python3 fairseq/examples/wav2vec/recognize.py --wav_path /root/data/temp.wav --w2v_path /root/data/wav2vec2_vox_960h.pt --target_dict_path /root/data/dict.ltr.txt

Now I get this error:
/root/fairseq/examples/speech_recognition/w2l_decoder.py:41: UserWarning: wav2letter python bindings are required to use this functionality. Please install from https://github.com/facebookresearch/wav2letter/wiki/Python-bindings
  "wav2letter python bindings are required to use this functionality. Please install from https://github.com/facebookresearch/wav2letter/wiki/Python-bindings"

I also get this error right above the previous error even though I have CUDA 9 or 10 I believe:
/usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
  return torch._C._cuda_getDeviceCount() > 0

I do remember that to get cuda working on a mac with Pytorch you do have to build Pytorch from source which also seems like another 10 thousand steps :(. Let alone integrating that into docker somehow which I don't understand.
Anyway, would appreciate any help whatsoever to get this working. Hopefully this thing can run without CUDA. At the moment I don't want to fine tune the model, simply test.

Okay I also tried this command (while inside the fairseq directory), and it gave me the same error:
python3 examples/wav2vec/recognize.py --wav_path /root/data/temp.wav --w2v_path /root/data/wav2vec2_vox_960h.pt --target_dict_path /root/data/dict.ltr.txt

I should also note that a few minutes after it gives me those 2 warnings, it says: Killed (and I do not try to kill it or do a keyboard interrupt, it does so on it's own)


Borderless Full Screen is cutting the bottom screen on this new version

Validation

[X] Game has been updated to the latest RE4HD release (v1.0.1: https://www.re4hd.com/?p=9471)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.0.1 SFV: BIO4-HDProject1.0.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
Borderless Full Screen is cutting the bottom screen on this new version

Same here, I already made an identical bug report here as well as providing screenshots.
I'm not sure how this is happening since upon opening the log that it generates my resolution is set natively to 1920x1080. I wonder if the picture is being stretched unintentionally somehow?

I'm also having this issue as of the new version and I don't know if this is related, but I'd like to add: when using the borderless window setting, the Steam overlay and FPS counter are tiny, as though they aren't being scaled properly (I'm playing at 4K). This did not happen on Version 1.7.4

Hmm, do any of you use any DPI scaling above 100%? If so maybe disabling scaling on the bio4.exe might help.

right click bio4.exe -> properties
choose compatibility tab
(win11) click change high DPI settings button
tick override scaling behavior checkbox, make sure the dropdown is set to Application
apply & ok everything, then try running the game

@emoose I tried what you suggested and nothing changed.
It's weird too because this didn't happen in 1.7.4 as @LethalPlacebo already stated and I even downgraded to that version for a bit just to make sure.

@emoose I'm on win10 and override scaling behavior was already ticked. Just to check, I unticked it instead and hilariously the game spanned both my monitors (though it still seemed to be running at 4K?). Switching to fullscreen and then back to windowed fixed it, but the overscan and tiny overlay issues were still present. I have re-enabled override scaling behavior and am just using Fullscreen for now.

Possibly related to https://github.com/nipkownix/re4_tweaks/commit/f8b57ddc6bdff2625c4c69a33ff53683b8057eae?

Possibly related to https://github.com/nipkownix/re4_tweaks/commit/f8b57ddc6bdff2625c4c69a33ff53683b8057eae?

Oh nice find, could have something to do with it. Here's a build with just that commit undone:
re4_tweaks-1.7.5-noMoveWindowHook.zip

@emoose Can confirm that fixed the issue!

@emoose Can confirm that fixed the issue!

Aha glad to hear it!
Well it looks like that commit actually changed two things, hooks MoveWindow and also changes how the SetWindowPos hook is set too, in that build I reverted both of those but guess it might just be one of them that causes it.
Could you check if this build also fixes it too? This still has the MoveWindow hook but keeps the old SetWindowPos stuff instead:
re4_tweaks-1.7.5-noMoveWindowHook-v2.zip

Just tested both. v2 reproduces the issue. v2alt fixes it.

Thanks, hmm, so it's definitely the MoveWindow hook responsible then, was kinda hoping it'd be the opposite since I'm not really sure what we needed that hook for though...
I'll try having a closer look at it later on, maybe there's a way we can hook something else for it instead, till then it should be fine to use that v2alt build instead though, hopefully it'll help with @LethalPlacebo & @FutonGama as well.

I'm not really sure what we needed that hook for though...

@emoose It was there to fix the small cropping issue, fix was found here: https://github.com/nipkownix/re4_tweaks/pull/120#issuecomment-1059981678

I wonder if it could be some kind of feedback-loop sort of thing, eg. the MoveWindow hook tries setting position to INI WindowPositionX, maybe when MoveWindow is called it ends up sending WM_EXITSIZEMOVE to the window, making us update INI with a new position, maybe that ends up being inaccurate and shifts things over instead.
Or maybe it's just something silly like MoveWindow needs border sizes removed from positions when in borderless mode, or something like that.

3e7dd1b07d40ded60 should fix it.
Test build:
dinput8.zip
Turns out that MoveWindow call should be used to set up the window size only when we have borders.

3e7dd1b should fix it.
Test build: dinput8.zip
Turns out that MoveWindow call should be used to set up the window size only when we have borders.

Hey, I haven't had time to play or test anything since the last time I played, but I can confirm that this test build fixes the overscan issue as well as the Steam overlay being tiny. Thank you all!

Is this in the live version yet? I had the same issue and used the test build to fix it but now the console output is showing there and I would have it hidden in normal gameplay.


Doc: Update remap.config documentation concerning host vs. hostless rules

I think I fixed up @mlibbey's complaints.

[approve ci]