ambient: fix case of incorrect equals leading to excessive load

We are using == to compare pointers. We actually want to compare the
underlying contents.
Without this we may get into a bad loop of status writing

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


Exhaustive if statement generates latches

Version
0.24
On which OS did this happen?
Linux
Reproduction Steps
The following code should not generate latches:
module mux (
  input wire select_1,
  input wire select_0,
  input wire in_0,
  input wire in_1,
  input wire in_2,
  input wire in_3,
  output wire out
);

always @(*) begin
  if (!select_1 && !select_0) begin
    out = in_0;
  end else if (!select_1 && select_0) begin
    out = in_1;
  end else if (select_1 && !select_0) begin
    out = in_2;
  end else if (select_1 && select_0) begin
    out = in_3;
  end
end

endmodule

Expected Behavior
A all of the cases are covered by the if statement, this should synthesize without a latch.
Actual Behavior
A latch is generated.

@Pflyg please note that #3803 and #3805 are fine, but this one was complete copy of #3803, so there are two issues still


Allow strongly typed extendable filtering

Previously all of our internal repository methods took an object and we casted them to an interface and preformed some action.. This works great if you have the source to the repo but not so great when using as a third party library..
This changes makes a query builder interface that allows you to build up a query and have strongly typed filtering.

We could rename TQueryBuilder to TQuery..


Add default resource definition support for analyzers

Fixes https://github.com/istio/istio/issues/19579
Adds support for "default" resources to better support files-only use cases of istioctl analyze. This means that users only looking at files don't need to supply certain Istio-supplied resources in order to avoid false positives. We were previously solving this with hardcoded special cases in affected analyzers, this is a bit better. Currently we only need a service & pod for the default ingress gateway, more can be added if needed but this should be done extremely sparingly.
Also make the analyzers_test output a bit easier to debug, and refactor how we handle mesh config slightly.

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
355965cb34706493a5bd9db2d2c6b98df2c59755
link
/test integ-mixer-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.

I think that part is fine, it used to be completely different
On Fri, Dec 27, 2019, 9:15 AM Chris Wilson<EMAIL_ADDRESS>wrote:

@sushicw commented on this pull request.
In galley/pkg/config/analysis/local/defaults.go
https://github.com/istio/istio/pull/19808#discussion_r361708247:

targetPort: 443

name: tcp

nodePort: 31400
port: 31400
protocol: TCP
targetPort: 31400

name: tls

nodePort: 31447
port: 15443
protocol: TCP
targetPort: 15443
selector:
istio: ingressgateway
+`

+func getDefaultIstioIngress(namespace, ingressService string) (string, error) {
Done.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/19808?email_source=notifications&email_token=AAEYGXLQOJJJJCJYSZDTP23Q2YZ2HA5CNFSM4J7SCQVKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQJY3TI#discussion_r361708247,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXPFZRXBMLPJ4ANAZVDQ2YZ2HANCNFSM4J7SCQVA
.


Stabilize batch1 and batch3

Currently with the new modularized verison of service and local-node, some of the tests are failing with TIMEOUT error.

Fixed by #2793


Create a temporary TM1 model

Describe what did you try to do with TM1py
I am trying to create a temporary TM1 model, on my laptop (name is AEX199). 2 TM1 models are already running successfully (not through REST API, they are SelfRegistered).
Describe what's not working the way you expect
The tm1py code throws an error:
Traceback (most recent call last):
File "d:/OneDrive/OneDrive - Aexis NV/Wim/TM1/Programs/Python/My scripts/019/Create new TM1 model.py", line 25, in
new_server = create_server_on_adminhost( adminhost="localhost", server_as_dict=server_as_dict )
File "C:\Python\Python38\lib\site-packages\TM1py\Utils\Utils.py", line 113, in create_server_on_adminhost
response.raise_for_status()
File "C:\Python\Python38\lib\site-packages\requests\models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:5895/api/v1/Servers
However, if I copy the URL and paste in Postman, I successfully retrieve the 2 running TM1 models.
Version

TM1py 1.8
TM1 Server Version: <IP_ADDRESS>

`from TM1py.Services import TM1Service
from TM1py.Utils import create_server_on_adminhost
server_as_dict = {
"Name":"TEMPORARY",
"IPAddress":"<IP_ADDRESS>",
"IPv6Address":None,
"PortNumber":89787,
"UsingSSL": False,
"ClientMessagePortNumber":61098,
"HTTPPortNumber":8050,
"ClientExportSSLSvrCert":False,
"ClientExportSSLSvrKeyID":None,
"AcceptingClients":True
}
new_server = create_server_on_adminhost( adminhost='AEX199', server_as_dict=server_as_dict )`

I also used localhost instead of AEX199.
The IP address was returned by Postman when I retrieved the 2 existing
servers (the output gives that information).

Best regards / Beste groeten,
Wim Gielis
MS Excel MVP 2011-2014
https://www.wimgielis.com http://www.wimgielis.be
Op do 14 okt. 2021 om 22:43 schreef Wim Gielis @.***>:

Describe what did you try to do with TM1py
I am trying to create a temporary TM1 model, on my laptop (name is
AEX199). 2 TM1 models are already running successfully (not through REST
API, they are SelfRegistered).
Describe what's not working the way you expect
The tm1py code throws an error:
Traceback (most recent call last):
File "d:/OneDrive/OneDrive - Aexis NV/Wim/TM1/Programs/Python/My
scripts/019/Create new TM1 model.py", line 25, in
new_server = create_server_on_adminhost( adminhost="localhost",
server_as_dict=server_as_dict )
File "C:\Python\Python38\lib\site-packages\TM1py\Utils\Utils.py", line
113, in create_server_on_adminhost
response.raise_for_status()
File "C:\Python\Python38\lib\site-packages\requests\models.py", line 953,
in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url:
http://localhost:5895/api/v1/Servers
However, if I copy the URL and paste in Postman, I successfully retrieve
the 2 running TM1 models.
Version

TM1py 1.8
TM1 Server Version: <IP_ADDRESS>

`from TM1py.Services import TM1Service
from TM1py.Utils import create_server_on_adminhost
server_as_dict = {
"Name":"TEMPORARY",
"IPAddress":"<IP_ADDRESS>",
"IPv6Address":None,
"PortNumber":89787,
"UsingSSL": False,
"ClientMessagePortNumber":61098,
"HTTPPortNumber":8050,
"ClientExportSSLSvrCert":False,
"ClientExportSSLSvrKeyID":None,
"AcceptingClients":True
}
new_server = create_server_on_adminhost( adminhost='AEX199',
server_as_dict=server_as_dict )`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/tm1py/issues/629, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDHULOED3IUFR4LX7Y6Z6LUG46HZANCNFSM5GAQTYYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


shadow_client: dispose encomsp and remdesk

Their threads were kept running after the client's exit.

@freerdp-bot test


New issue please post it in here

This project is maintain in 2022 in Here  any issue please post it there for update.

Hi! I want to know how to adjust the snippet indent to 4 spaces cause the snippets in your plug-in just have 2 spaces

Hi! I want to know how to adjust the snippet indent to 4 spaces cause the snippets in your plug-in just have 2 spaces

the 4 indentation is fixed in the new updates, apparently you are using the old one, you need to uninstall and update it.

Oh, I see :D. Thanks!


Colab link needs more info

Three changes to the Colab notebook
1. Add instructions (same as the README) on how to get the session token

Go to https://labs.openai.com/
Open Network Tab in Developer Tools
Type a prompt and press "Generate"
Look for fetch to https://labs.openai.com/api/labs/tasks
In the request header look for authorization then get the Bearer Token

2. Add a blurb to "see the README for more sample calls"
3. Move the Try it! section to the top of the README

removed collab link


Start from a parameters file

Design a parameters file which is capable of starting training/evaluation/etc from an input parameters file.
File should be YAML format.

Example parameters:

path to existing parameters
type of agent
opponent type
training/evaluation

of steps to take before saving to file

hyperparameters
whether to run from replay data


arch/arm/src/samv7/sam_qencoder.c: add support for GETINDEX ioctl call

The SAMV7's qencoder driver now supports the GETINDEX ioctl call which does not reset the internal Timer/Counter and returns the current position, position of the last index and the number of captured indexes to a struct qe_index_s pointer. Because the SAMV7's timers are 16bit, the extension to 32 bits must be done.
Select CONFIG_SAMV7_QENCODER_ENABLE_GETINDEX in the Kconfig to enable this functionality.
This driver does not obey the instructions given in the ATSAMV7 2023 datasheet because the recommended trigger resets the internal counter which is not desired. Instead, a capture into capture A and capture B registers is used. This way if an event happens (the rising edge of the index signal), the current counter's value is captured.

I'm sorry for my inactivity, however I'm considering everything and I'll look into it further at the end of this week. Thanks for feedback.

Don't worry! The most important is getting it working correctly!


utility pallet is missing MaxBatchLimit configuration

currently utility.batch_all has no limit on the number of extrinsics and the size of each extrinsic. The parachains normally have only 0.5s to prepare a block. Image we have a big utility.batch_all, the parachain can stop producing blocks forever and keep warning:
Block production took too long

Hackers can use this to attack parachains

This may not only applies to utility.batch_all but also all big blocks, is there a way to skip such big blocks?

good issue.i did an experiment on this.also have some doubts about this.
first, when I send 100 tasks use Utility batch, the parachain is normally ok.
but when this increased to 1000 tasks, the parachain stopped. and get error:
aura: [Parachain] ⌛ Discarding proposal for slot 136845516; block production took too long

Hackers can use this to attack parachains

If you don't properly benchmark your chain, this is true. However, there is no need for a MaxBatchLimit, because you have a weight assigned to each call and that is respected by the batch weight calculation. If you can construct such a call that the weight says it fits into the block, but the block takes too long to be produced, it means your weights are incorrect.

does that mean if weight correctly calculated, such huge extrinsic will just fail during some check phase without chain stuck?

Yes, the CheckWeight signed extension will always check whether the extrinsic weight exceeds the configured individual dispatch class extrinsic weight, and whether it exceeded the remaining weights available for the block before the extrinsic is applied.
The fact that this issue exists is very concerning, and should not happen under properly configured chains. Did some of you not benchmark your extrinsics in a way that attempts to hit the worst-case complexity for your dispatchable functions? Or did some of you created a runtime that omitted the CheckWeight signed extension? Or did some of you misconfigure your maximum weights for each dispatch class?
In any case, as far as I can tell, this isn't an issue that requires code changes on Substrate, unless there are any outstanding issues I missed?


Cleanup unused code (hotplug disks)

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

Quick grep showed that sourcePodBasePath and targetPodBasePath are not actually used in the code
/cc @awels @alicefr

/cc @awels

/lgtm

/approve


Update Pull Request Template

Fixes #
Personal Checklist

[x] I have read the Contribution & Best practices Guide and my PR follows them.
[ ] My branch is up-to-date with the Upstream master branch.
[ ] I have added necessary documentation (if appropriate)

Changes proposed in this pull request:

Codecov Report

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

@@          Coverage Diff           @@
##           master    #207   +/-   ##
======================================
  Coverage    90.3%   90.3%
======================================
  Files          29      29
  Lines         794     794
======================================
  Hits          717     717
  Misses         77      77

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 e6b895a...ccb25a7. Read the comment docs.


Remove /kiosk site, redirect to /--kiosk.

Why is https://github.com/microsoft/pxt-arcade/blob/master/docs/kiosk.html not removed?

Why is https://github.com/microsoft/pxt-arcade/blob/master/docs/kiosk.html not removed?

thanks

Everything looks great, just curious, though, why do we not want to get rid of the source files here in arcade?

Scoping to just the essential changes for switch-over in case it breaks something and need to roll it back. I'll remove the old project once we know this worked.


Pinch zoom / pan on ios jittery / stops before gesture complete

I implemented this component in my app and it works great on android device.
But on IOS when I pinch to zoom it zooms only a little and stops.  I have to re pinch and zoom again to get further zoom.
Also it does not recognize panning while pinching like it does on Android.
From the behavior it appears to me that other higher level component is consuming / interfering with the pinch / pan gestures.
I am running the component in a Tab created with the  react-navigation/material-top-tabs
I set the Tab option swipeEnabled to false for this tab so I thought that would not interfere with gestures.  But something else must be interfering
Any suggestions on how to figure out why it is not zooming / panning smoothly on ios?
Or is there any known compatibility issues running this component in a tab for IOS?

Hi @kmeekva – it sounds as though something is interfering with the gestures as these behaviours should work fine in both iOS and Android.
You may want to try wrapping the component in react-native-gesture-handler to try and catch these events. I know that with native views like Modal views, native gesture handlers can grab the event and take over, and this library helps avoid that.

How exactly would I use the react-native-gesture-handler in this case?
I installed react-native-gesture-handler
Then in my app I imported like this:
import {Gesture, GestureDetector } from 'react-native-gesture-handler'
Do I need to define gestures ( pinch and pan ) and pass them to the Gesturedetector element?
Seems like when that is done you can add actions to fire on the events -- but what I want is for the events to be handled by the zoomable view ( in my sub component )
How do I pass these events to my component ( which has a zoomable view )
I tried this:
  const pinch = Gesture.Pinch();

But now pinch does nothing.
Before it was just jittery ( not really jittery -- but would only zoom a little then stop and not allow more zooming or panning without lifting fingers and zooming again )
Seems like I need the gestruredetector to pass the gestures to the subcomponent somehow.

Try wrapping it in its own gesture handler root view, that should stop events bubbling up

I wrapped my component in

It is slightly more responsive, but pinch zoom still stops after a small zoom amount and cannot continue until you re-pinch.
I think I've narrowed down the issue to be something with the material-top-tabs Tab Navigation that is interfering.
When I take the component out of the tab navigation it works flawlessly.
Anyone know any trick to get material-top-tabs to not grab the gestures?
I've tried setting the swipeEnabled=false (see below config)  but is still won't work smoothly
I am using:
import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs';
         <Tab.Navigator
            swipeEnabled={false}
            screenOptions={({ route }) => ({
                swipeEnabled: false ,

Sounds like they switched from using react-native-gesture-handler to  react-native-pager-view in the material top tab navigator.  Some people suggest downgrading.
Are you using the very latest version of this library? There is a new prop onShouldBlockNativeResponder that will now work with gesture-handler. It is set to true by default. Merged in the last couple of weeks.
If you wrap your zoomable view in a gesture handler root view, this prop allows the gesture handler to override the gesture system and block native event responders. I was able to use this with an RNScreens modal view with react-navigation.
If that doesn't work, yes - I suspect something in the top tabs view

I was running version 2.1.3
I upgraded to version 2.1.4 but the issue still persists.
Do I need to pass this new prop?  Or is it supposed to default to true?
I think the issue is that the react-native/material-top-tabs is using viewPager now no react-native-gesture-handler
So I think both are trying to grab the gestures.
I found viewPager has settings  onStartShouldSetResponder and onMoveShouldSetResponder  that sound like they should have something to do with bubbling of getsures, but not sure how to use them.

Yeah, I don't know. That depends on how viewPager intercepts events. We've used <PanGestureHandler> as a wrapper for our zoomable view and that worked. Sorry I can't be more help

Well to try to isolate the issue, I created an expo SNAK to try to reproduce the problem with material-top-tabs -- BUT it worked perfectly when I ran the test on my device.
I started investigating the versions of all the libraries the snack was pulling in, and I noticed they were using SDK 48 when I was still using SDK 47.
I did
yarn add<EMAIL_ADDRESS>npx expo install --fix
npx expo-doctor
This updated lots of packages and NOW everything works perfectly!
So there is no compatibility issues when everything is up to date.
I see SDK 49  is out -- I'll test that next.  But for now things are working so we can close this I think.

There's a bug in the code that defaults onShouldBlockNativeResponder to true, I've fixed this in https://github.com/openspacelabs/react-native-zoomable-view/pull/77.
@kmeekva in the meantime you can use an onShouldBlockNativeResponder prop with a value of () => true to avoid the issue.


Weakly typed row insert

I was looking through the documentation and code and could not see a way to add a row to a sheet without extending the BaseRepository. I just want to append some simple data (row with 3 columns) to a spreadsheet. Is there a way to do this without having to create a class for the data?

@tymalo, I added a few AppendRow methods to the SheetAppender class.  This was orignally created to make it easy to import CSV files to a Google spreadsheet.  But you can now pass lists of strings as row values to append to a sheet.  Hopefull this helps.  You can also work with the Google Sheet class RowData to make append operations too.  Hope this helps!

@tymalo , you'll find the new updates in the nuget package version 1.0.36 that will get released shortly.

@tymalo , I updated the readme file with a sample to add a few rows of string data without creating a strongly typed class.  Note that there are a lot of limitations with this.  The big one is you can't specify to the Google Sheet API formatting you want applied to the cell.  Hope this helps,
// Get the Google Spreadsheet Config Values
var serviceAccount = config["GOOGLE_SERVICE_ACCOUNT"];
var documentId = config["GOOGLE_SPREADSHEET_ID"];
var jsonCredsPath = config["GOOGLE_JSON_CREDS_PATH"];

// In this case the json creds file is stored locally, but you can store this however you want to (Azure Key Vault, HSM, etc)
var jsonCredsContent = File.ReadAllText(jsonCredsPath);

// Create a new SheetHelper class
var sheetHelper = new SheetHelper(documentId, serviceAccount, "");
sheetHelper.Init(jsonCredsContent);

// Append new rows to the spreadsheet
var appender = new SheetAppender(sheetHelper);

// Appends weakly typed rows to the spreadsheeet
appender.AppendRows(new List<List<string>>()
{
    new List<string>(){"7/1/2022", "abc"},
    new List<string>(){"8/1/2022", "def"}
});

// Get all the rows for the first 2 columns in the spreadsheet
var rows = sheetHelper.GetRows(new SheetRange("", 1, 1, 2));

// Print out all the values from the result set
foreach (var row in rows)
{
    foreach (var col in row)
    {
        Console.Write($"{col}\t");
    }

    Console.Write("\n");
}


Unable to edit account names

If you create an account to be monitored (doesn't matter if it's an AWS or GCP account) and then go back, edit the name, and click "Save" you get the following error in the UI:
Error loading resource from API. Error: <HTTP 404: {"status": "error. Account ID not found."}>

and the following error in securitymonkey.log, where <account name> is the new account name:
2017-04-18 13:51:10,965 ERROR: Account with name <account name> does not exist [in /usr/local/src/security_monkey/security_monkey/account_manager.py:79]

confirmed bug

Looks like #624 broke this with an update to AccountManager::update()
https://github.com/Netflix/security_monkey/pull/624/files#diff-b00f8d4ff9c319f6ff3905c71dc4a02fL71
It use to query based on account.id, but now queries based on account.name, which doesn't work when you're updating an account to change the name.

Trying to recall why I did that...

Going to make a PR to test and address.


chore: simplify publications

What this PR changes/adds
Simplify publications, this will avoid copy&paste issues, as the artifactId is always equal to the module name
Why it does that
tidy up
Further notes

Linked Issue(s)
Closes #2269
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

Codecov Report
Base: 64.19% // Head: 64.19% // No change to project coverage :thumbsup:

Coverage data is based on head (22dda19) compared to base (97e6942).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2275   +/-   ##
=======================================
  Coverage   64.19%   64.19%
=======================================
  Files         823      823
  Lines       17323    17323
  Branches     1085     1085
=======================================
  Hits        11121    11121
  Misses       5759     5759
  Partials      443      443

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

the block to create the publication could be added to the allprojects block in the root build file. We could then remove them from all the subprojects' build scripts.

I thought the same, but then what about the modules that we don't want to publish? e.g. launchers, samples and system-tests?

I thought the same, but then what about the modules that we don't want to publish? e.g. launchers, samples and system-tests?

One option would be to exclude projects that have the shadowJar plugin, that would exclude launchers and most examples, but won't get rid of tests.
Another option would be to exclude launchers, samples and system-tests.

I thought the same, but then what about the modules that we don't want to publish? e.g. launchers, samples and system-tests?

One option would be to exclude projects that have the shadowJar plugin, that would exclude launchers and most examples, but won't get rid of system-tests. Another option would be to exclude the launchers, samples and system-tests projects.

I'd say that we could discuss this on https://github.com/eclipse-edc/GradlePlugins/issues/58

I'd say that we could discuss this on https://github.com/eclipse-edc/GradlePlugins/issues/58

Fair enough


Do you want to add a cli decoder function?

A challenge.

It’s not entirely clear what you mean, because decoding is already present.
To use it just run qrrs with -r flag on some image
$ qrrs -r someimage.png

It's works nice not just with pure images, but with photos of qr-codes like in the following examples

So, I’m just closing this issue for now


copy paste doesn't work in integrated console

VSCode Version:1.3.1
OS Version: windows

See https://code.visualstudio.com/docs/editor/integrated-terminal#_key-bindings for situation on copy and paste


Player stuck on loading in iOS

Is there a fix for the player stuck loading on any iOS device?

Same problem here, player is stuck loading only on Safari browser since IOs10.0

Was having the same issue. Now the player doesn't work at all. Help??

I apologize for not being in contact earlier. We recently received notice from SoundCloud that they're shutting down their external streaming API for business reasons that I won't speculate about.
Every user of a custom SoundCloud player, ours included, will need to switch to their embedded player in order to stream songs from SoundCloud.
It's disappointing that we have to be the ones to break this news to developers, and I'm sorry for the inconvenience it's caused the users of our player. I'll leave this repo up and add this message to the top of the README so that others become aware of the situation.


Sender: Announce transfer to Relay

Implement logic for Sender to notify the Relay about file transfer.

I would have pushed a first simple implementation for this issue to the development branch. Please take a look at it and give me your feedback.
The TransferInfoRequest Struct, which I use for the announcement, should in my opinion still be adapted and extended.


Fix "Mark all as read" button for local notifications

Issue
"Mark all as read" button does not clear notifications that were added using extention
Fix
Clear localStorage.unreadNotifications when button is clicked.
Screenshot of Fix

Fixes #291

Also, the button isn't even shown if there are only local notifications. Can you work on that too @AshikNesin? It should be just a matter of manually inserting the button and form HTML if it doesn't exist. You can do it in this PR since it's closely related

@jgierer12 Yeah.. That makes sense. Will do it :)

@jgierer12
I just noticed that we have similar feature. (After clicking it cleans local notifications)

Do we need another button for the similar button?
(Correct me if I'm wrong 😄)

The checkmark button is only for a specific repo. The "mark all as read" button at the top clears all notifications from all repos.

@jgierer12 My bad didn't think about it. Will do that tomorrow :)

@jgierer12
Added custom "mark all read" button" :)

@jgierer12 Do you approve this PR? If so you can squash and merge.
:shipit:

Great work @AshikNesin 👏


feat: add stagekind enum and initialise syncstage table

adds an enum StageKind that's used to iterate over all known stages.

initialise SyncStage table in genesis with 0 for all stages, this prevents and edge case where does not update anything if entry is missing
https://github.com/paradigmxyz/reth/blob/c7341b54f07b357461e91a9c8059a85909e1e86b/crates/storage/provider/src/transaction.rs#L1022-L1034

this case is only ever Hit when syncing starts via CL, entirely new network
which leads to same issue reported in #2421

Codecov Report

Merging #2426 (60f0bec) into main (c7341b5) will decrease coverage by 55.39%.
The diff coverage is 0.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             @@
##             main    #2426       +/-   ##
===========================================
- Coverage   71.64%   16.26%   -55.39%
===========================================
  Files         486      486
  Lines       59811    59833       +22
===========================================
- Hits        42851     9729    -33122
- Misses      16960    50104    +33144

Flag
Coverage Δ

integration-tests
16.26% <0.00%> (-2.13%)
:arrow_down:

unit-tests
?

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

Impacted Files
Coverage Δ

crates/staged-sync/src/utils/init.rs
0.00% <0.00%> (-85.99%)
:arrow_down:

crates/stages/src/id.rs
0.00% <0.00%> (-90.00%)
:arrow_down:

crates/stages/src/pipeline/mod.rs
0.00% <0.00%> (-88.58%)
:arrow_down:

crates/storage/provider/src/transaction.rs
0.00% <ø> (-90.72%)
:arrow_down:

... and 351 files with indirect coverage changes


docs: Improved error message of encode_string

This PR improves the error message of encode_string when a character is not to be found in the vocab.
Closes #927
Any feedback is welcome!

@frgfm
Thanks LGTM :)
But next time i would recommend to give maybe up to 2 weeks for possible new contributors to solve some easy tasks :sweat_smile:

Yes I hesitated, but I figured no one had shown interest initially, but I'll keep that in mind next time 👍
Actually @fharper, I've seen a few OSS libraries keeping a few issues on the side for newcomers, and posting it on social media (and they got new contributors with that). That could be an idea 🤷

@frgfm @fharper
That sounds like a good idea :)
Should we open a discussion to talk about some easy to solve tasks ? Or maybe better switch to Slack ?

Let's move the discussion on Slack, so we don't spam people here.


Small fixes for altitude

Changed default altitude values. I'm pretty sure we're supposed to send it in meters
Small fixes where alt was missing

Thanks a lot.


Add support for JAXB 4.0

Hi guys,
for some Java 11 compatibility project I took the liberty to add JAXB 4.0 support.
Are you willing to host the new release, or shall I take it back under my coordinates?
The tricky thing is to compile all the base components with Java 8 and only jaxb40-maven-plugin with Java 11.
I tested it locally against some (complex) projects and it works for me

And I needed to change the dependency for the XML Catalog Resolver, due to Java 11 incompatibility. The new dependency is
      <groupId>org.netbeans.external</groupId>
      <artifactId>resolver-1.2</artifactId>
      <version>RELEASE160</version>

@phax Thanks for this, it looks very interesting. I have spent some hours today fixing the tests, CI, and bringing dependencies up to date. Would you be able to merge/rebase, so that I can get the benefit of the tests and CI for your PR.
I also note that your PR appears to include a lot of code style reformatting - I would rather avoid those changes, as it makes it hard to pick out the real changes that you intended.
Regards the XML Catalog Resolver I wonder if a more modern option might be - https://xmlresolver.org/ - if it is compatible?

Cool Thanks @adamretter
I merged the changes back and it looks good on my side as well.
There's one minor thing in the GitLab actions YAML: Java 8 is no longer a valid target, because it cannot be used to build plugin-4.0. Maybe we can use Maven profiles for that? I will git it a quick try
I tried with xmlresolver.org but I found out, that they only support Catalog XML files, but not the old OASIS test based catalog files - so I needed to use another dependency.

@phax thanks I will try and take a look in the next few days and bring this up to date to pass CI again

So I think the tests are fixed - now it just needs your approval :)

@adamretter do you have any plan forward on this one? Otherwise I would need to build my own release and I want to avoid that. Sorry for pushing you :-/

Hi @adamretter, we have a few projects are waiting this project.  We will be really grateful if you merge and release it since It will trigger some chaining releases :)

@adamretter  Sorry, I need to close this PR for now. I did an "inofficial" release with the "com.helger" group and discovered some errors deep down in CatalogResolver which lead me to the conclusion to integrate the used Resolver into the plugin (based on Apache xml-resolver:xml-resolver:1.2). So this PR is too far off from what I am currently using - sorry


Add support for auto-scaling max_allocated_storage

Example:
https://www.terraform.io/docs/providers/aws/r/db_instance.html#max_allocated_storage

thanks @osulli
we will get to it asap, but PRs are welcome!

@aknysh that's done 👍


Support for bitwise operators

Support for  bitwise and, or, xor, not in Tensorflow frontend and NNVM/TOPI
Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@ashutoshparkhi this PR look duplicate with #2226 .
You may keep one to track and close the other.

Duplicate of PR #2226


Update UI the Setting screen follow by design

Describe the task

[x] Update setting screen

[x] Update icon Setting homepage screen

Version test: v1.0.2(151)
Devices test: IP 11, MI 8 Lite
Validation passed.


TypeScript Documentation

Hi,
I'm trying to find any documentation for the TypeScript to use this wonderful tool in an angular project, I tried to open the TSDoc link in the website but there is nothing like the normal documentation.
Could you update on this

Everything in the documentation is TypeScript :slightly_smiling_face:

So, do you think I can use this tool with Angular project, or only it is react dependent?

dockview is split into two packages which are dockview-core and dockview.

dockview-core contains the actual logic and implementions of almost the entire library as the library is mostly written in plain TypeScript for performance and framework compatiblity reasons.
dockview is a lightweight React wrapper to allow seamless integration for those using React.

There are some limited examples on the docs for using dockview-core directly (for example those @techbech has referenced).
If you were using another framework such as Angular, Vue or anything else you could directly use the dockview-core package but it would may require some additional code given that dockview-core is written entire in TypeScript alone.
I do fully support the idea of having additional wrappers on dockview for other libraries and I would like to get around to providing wrappers specifically for other popular frameworks such as Angular.
I will keep an issue open for providing such wrappers but if anybody does end up using dockview-core with another library or framework I would be very interested to see their implementations.


Fixes the "error: events.googleServiceEmail: must be of type String" …

…exception.
The original null value in default key of the config.js file make convict fail at checking configuration file type. I guess it expects even the default key to be a 'String', and a null value causes an error to be thrown.

Fixed in release 0.4.0 (2bcd995d276b)


Changes to params no longer trigger updates (+page.js load)

Describe the bug
In a multilevel setup, the page does not reload when changing from one level to another.
Example folder structure:
/Legal
/[level1]
+page.js
+page.svelte
/[level2]
+page.js
+page.svelte
Example load function in both +page.js:
import { error } from '@sveltejs/kit'

export async function load({ params, parent }) {
    const slug = params.level2 ? `${params.level1}/${params.level2}` : params.level1
    const { storyblokApi } = await parent()

    const { data } = await storyblokApi.get(`cdn/stories/terms-and-policies/${slug}`, {
        version: 'draft'
    })

    if (data) {
        return {
            story: data.story,
            slug
        }
    }

    throw error(404)
}

Console.log in page.svelte shows changes of slug prop, but page does not get rerendered.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-wvubip?file=src/routes/+page.svelte
Logs
No errors in logs.

System Info
System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 68.80 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.7.0 - /opt/homebrew/bin/node
    Yarn: 1.22.18 - ~/Library/pnpm/yarn
    npm: 8.15.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Firefox: 103.0.1
    Safari: 15.5
  npmPackages:
    @sveltejs/adapter-node: next => 1.0.0-next.86
    @sveltejs/kit: next => 1.0.0-next.432
    svelte: ^3.49.0 => 3.49.0
    vite: ^3.0.9 => 3.0.9

Severity
blocking an upgrade
Additional Information
No response

As a workaround, does adding target="_self" to every affected <a> cause the behavior you want?

@Lootwig thanks for the tip! That actually works for the moment. Though it causes the whole page to reload not only the content area but at least it is usable this way.

Just came across this as well.
It just creates avery uncomfortable DX experience (gotta refresh the page each time).
Another workaround is using sveltekit:reload on the .
But we remove it for production in order to not create an unnecessary full page reload.

This...
export let data;
let { story, slug } = data;

...runs when the component is first updated. When you navigate, data is updated, but { story, slug } = data doesn't re-run.
Just refer to {data.story} in your component, instead of {story}. If you really need to destructure it (I don't recommend it, it's much simpler to just use data. everywhere) then you need to make that statement reactive:
-let { story, slug } = data;
+$: ({ story, slug } = data);

If you need to reference those values in the <script> block before the reactivity first applies, then you would need to do both:
// initialise
let { story, slug } = data;
console.log(story); // this won't work if you only have the `$:` block

// update
$: ({ story, slug } = data);

@Rich-Harris Good to know, I wasn't aware that the deconstructing has that impact! Thank you for taking the time to explain it in such detail 👍


/usr/bin/ld: cannot find -lopenhmd-shared

Cmake works but if I pull latest openhmd before cmake, I get:
[ 10%] Linking CXX shared library bin/linux64/driver_openhmd.so
/usr/bin/ld: cannot find -lopenhmd-shared
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/driver_openhmd.dir/build.make:99: bin/linux64/driver_openhmd.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/driver_openhmd.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Looks like https://github.com/OpenHMD/OpenHMD/commit/5b91b37fe4bb74a87420998f464c031e60188722#diff-af3b638bc2a3e6c650974192a53c7291 by default only provides the openhmd target now and if you want the openhmd-shared target you have to enable BUILD_BOTH_STATIC_SHARED_LIBS...
Personally I don't really care about linking to a shared lib, so I just updated to openhmd master and switched to the openhmd target. It links openhmd as a static library by default now.


Intermittent failure of watch -> regex

The faban core script sometimes fails to match the regex: "Killing benchmark" from the faban log.  The run then hangs descite the run completing

I think the issue is ctrlC being sent to the terminal connection but the command on the server somehow does not respond to the SIGINT. I know it was sent to the terminal connection because I traced the ssh connection to file --trace benchserver4 which creates a local temp file /tmp/userName@hostName:portNumber and I can see the ^C at the end but the command is still running in curl http://hostName:31337/active Do we want to add other SIG* options like SIGQUIT (ctrl+`) and SIGKILL (ctrl+U)? This would let us escalate killing a process just like in a real terminal connection:
- sh: doSomethingForever.sh
  watch:
  - regex: FAIL
    then:
    - ctrlC # send SIGINT
    - sleep: 5s # give SIGINT 5 seconds to work
    - ctrlU # send SIGKILL

But to use this we would have to make sure doSomethingForever.sh is still running before calling ctrlU. I can think of a few options

Change watchers to only run if the the parent Cmd is still active.
Right now all watchers run on all inputs for the command so this change would make watcher ordering much more important.
Add a new Cmd that checks if the parent Cmd is still active. This already exists inside qDup for some internal functionality so it would just need a convenient yaml name
Inspect the Cmd Tree and find all ctrlX under a watch or on-signal or timeout and make them only run if the parent Cmd is still active.

I think option 3 sounds best. I want qDup to stay as close to "what would you do when using multiple terminals yourself" and I don't want to introduce edge cases where the last line of output isn't seen by all watchers because the ctrlC watcher was first.
Thoughts?

I made the changes for option 3 and added ctrlU+ ctrl\ but it looks like the options from stty -a are not all accepted. Only ctrlC was able to stop a test process ./bin/standalone.sh in my terminal so I will remove ctrlU and ctrl/.
Now ctrlC in a watch on-signal or timeout will only be sent if the observed Cmd is still active.
Should ctrlC retry until the observed Cmd returns the prompt (with a default wait time that can be configured)? The other option is explicitly retrying ctrlC
- sh: doSomethingForever.sh
  watch:
  - regex: FAIL
    then:
    - ctrlC
    - sleep: 5s
    - ctrlC # will only run if doSomethingForever.sh is still running

I don't like the idea of qDup Cmd doing things automatically because it feels like it makes qDup more than just coordinated shell scripts but I can see where we expect sending ctrlC to work.


#9: [eslint] Lines should not be longer than 100 chars (closes #9)

Issue #9
Test Plan
tests performed
ESLint is not showing any warning.

Drone fails on npm run build. This is ok for the scope of this PR. Will address the CI failure in #13


connect with organisation

Sir, i have previously worked and completed a microtask with your organisation. Sir i want to know how i can attend your calls and want to know about the conference dated 28 august.

Hi, the information about the conference can be found on our website. We expect to announce the schedule and names of the presenters in the next 1 or 2 weeks. Information about the calls and other discussions about the project can be found on the mailing list.


every spawner turns into pig spawner

when players mine the spawner it turns into a pig spawner

when players mine the spawner it turns into a pig spawner

this is happening.

Hello, which server software are you using (Spigot/Paper/...)?


Laravel's notifications data formats for broadcast driver and database driver are different.

From @sullyfischer's comment:

Laravel's notifications data formats for broadcast driver and database driver are different. This causes an error when a notification is broadcasted. But after a refresh user can load the same notification and it works just fine (because this time it's being fetched from database).
The production server however is working fine now and that's because back then I used to push /vendor files and in my local vendors files I've done this modification in Laravel core that takes care of it:
In BroadcastNotificationCreated.php:
   /**
    * Get the data that should be sent with the broadcasted event.
    *
    * @return array
    */
   public function broadcastWith()
   {
       return [
       	'data' => $this->data,
           'id' => $this->notification->id,
           'type' => get_class($this->notification),
           'created_at' => Carbon::now(),
           'read_at' => null
       ];

       // return array_merge($this->data, [
       //     'id' => $this->notification->id,
       //     'type' => get_class($this->notification),
       // ]);
   }

Can you think of a "right way" for this?

Maybe we should post this in Laravel forums as well?


Sync status for b2 worng

I've tried upload 500mb file to b2, and the status shows that this file has been uploaded, but I don't see it over b2 interface, and 'Activity Monitor' show that rclone is uploading.

What is your rclone version (eg output from rclone -V)

➜  ~ rclone -V
rclone v1.32
➜  ~

Which OS you are using and how many bits (eg Windows 7, 64 bit)

OS X 10.11.6

Which cloud storage system are you using? (eg Google Drive)

B2

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone -v --transfers 10 sync Archive/DataMiningHub.zip.gpg b2:kirill-korinsky/Archive

A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)

➜  b2 rclone -v --transfers 10 sync Archive/DataMiningHub.zip.gpg b2:kirill-korinsky/Archive
2016/07/31 17:55:50 rclone: Version "v1.32" starting with parameters ["rclone" "-v" "--transfers" "10" "sync" "Archive/DataMiningHub.zip.gpg" "b2:kirill-korinsky/Archive"]
2016/07/31 17:55:53 B2 bucket kirill-korinsky path Archive/: Modify window is 1s
2016/07/31 17:55:53 B2 bucket kirill-korinsky path Archive/: Ignoring --no-traverse with sync
2016/07/31 17:55:54 B2 bucket kirill-korinsky path Archive/: Waiting for checks to finish
2016/07/31 17:55:54 B2 bucket kirill-korinsky path Archive/: Waiting for transfers to finish
2016/07/31 17:55:57 DataMiningHub.zip.gpg: Starting upload of large file in 6 chunks (id "4_z2c4d094e97ed3dc250670a15_f200a208378331db1_d20160731_m135556_c000_v0001034_t0010")
2016/07/31 17:55:57 DataMiningHub.zip.gpg: Sending chunk 1 length 100663296
2016/07/31 17:55:58 DataMiningHub.zip.gpg: Sending chunk 2 length 100663296
2016/07/31 17:55:59 DataMiningHub.zip.gpg: Sending chunk 3 length 100663296
2016/07/31 17:55:59 DataMiningHub.zip.gpg: Sending chunk 4 length 100663296
2016/07/31 17:56:00 DataMiningHub.zip.gpg: Sending chunk 6 length 24832237
2016/07/31 17:56:00 DataMiningHub.zip.gpg: Sending chunk 5 length 100663296
2016/07/31 17:56:53
Transferred:   503.682 MBytes (7.999 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      1m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 9206.3, cur: 3206.5 kByte/s. ETA: 0s

2016/07/31 17:57:53
Transferred:   503.682 MBytes (4.096 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      2m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 4445.5, cur:   58.6 kByte/s. ETA: 0s

2016/07/31 17:58:49 DataMiningHub.zip.gpg: Error sending chunk 1: Error reading uploaded data: Read timed out (400 bad_request)
2016/07/31 17:58:53
Transferred:   503.682 MBytes (2.753 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      3m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 2930.2, cur:    1.1 kByte/s. ETA: 0s

2016/07/31 17:59:53
Transferred:   503.682 MBytes (2.073 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      4m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 2185.3, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:00:53
Transferred:   503.682 MBytes (1.663 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      5m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 1742.4, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:01:53
Transferred:   503.682 MBytes (1.388 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      6m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 1448.7, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:02:53
Transferred:   503.682 MBytes (1.191 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      7m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 1239.8, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:03:53
Transferred:   503.682 MBytes (1.043 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      8m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg: 1083.5, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:04:53
Transferred:   503.682 MBytes (949.907 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      9m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  962.2, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:05:53
Transferred:   503.682 MBytes (855.396 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     10m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  865.4, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:06:53
Transferred:   503.682 MBytes (777.976 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     11m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  786.2, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:07:53
Transferred:   503.682 MBytes (713.411 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     12m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  720.3, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:08:53
Transferred:   503.682 MBytes (658.740 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     13m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  664.6, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:09:53
Transferred:   503.682 MBytes (611.854 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     14m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  616.9, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:10:53
Transferred:   503.682 MBytes (571.198 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     15m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  575.6, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:11:53
Transferred:   503.682 MBytes (535.606 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     16m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  539.5, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:12:53
Transferred:   503.682 MBytes (504.193 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     17m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  507.6, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:13:53
Transferred:   503.682 MBytes (476.259 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     18m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  479.3, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:14:53
Transferred:   503.682 MBytes (451.258 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     19m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  454.0, cur:    0.0 kByte/s. ETA: 0s

2016/07/31 18:15:53
Transferred:   503.682 MBytes (428.750 kBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     20m2.9s
Transferring:
 *                         DataMiningHub.zip.gpg: 100% done. avg:  431.2, cur:    0.0 kByte/s. ETA: 0s

Well, one hour later it has stopped to send anything to internet and file still doesn't upload.
I see this file at b2 browser as DataMiningHub.zip.gpg (started large file)

The file progress on B2 isn't working properly at the moment. You can see your file is being Uploaded by the 428 kBytes/s at the top of the status line.
If you just wait for it to finish it should be fine.

Yep, confirmed. It finished.

I'm going to re-open this to remind me to fix the B2 status on uploads as it is confusing a lot of people!

I've fixed this in the beta
http://pub.rclone.org/v1.32-34-g037a000β/
Which will be part of the v1.33 release
Please re-open if you find any problems with it!


ᎠᏕᎭ has extraneous spaces in Immediate forms

ᎠᏕᎭ - Immediate Tense needs to be edited from [ᎯᏗ Ꮟ] to [ᎯᏗᏏ] for syllabary, transliteration, and phonetics. When the “Edit” button is fixed.
https://cherokeedictionary.net/share/100107

Fixed a while ago. Please close.


Bug 1744490: Add RBAC for PackageManifest Icon Subresource

Description
Ensures that users with the aggregated OLM roles can GET packagemanifests/icon resource added in https://github.com/operator-framework/operator-lifecycle-manager/pull/990.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1744490

/lgtm
/retest

/retest


Add: 1TV Persian

Channel Name
1TV Persian
Native Name (optional)
Kanal Javan
Network (optional)
No response
Country
US
Subdivision (optional)
US-CA
City (optional)
Los Angeles
Broadcast Area
s/US-CA
Languages
fas;eng
Categories (optional)
No response
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://kanaljavan.com/tv-farsi/1tv-persian/
Logo
https://kanaljavan.com/wp-content/uploads/2021/05/logo4-1080-300x169.png
Notes
Streaming URL:
https://stream.persiantv1.com/ptv1/playlist1/index.m3u8

https://iptv-org.github.io/?q=1TV Persian


Increase history navigation limit (from 20 to 50)

用vscode 浏览项目代码时，往往会经常需要跳转{比如此时我代码在method_here()}  到其他function或者其他的代码片段看相关代码（假设此时我已经在不同的函数之间go todefinition   40次了），此时如果再想回到开始之前浏览代码的地方（method_here()时, 使用go back发现回退了20～25 次之后就不能在回退了。

The description is also saying that “Go Back” has a limition of history.

@leeqx can you repeat in english?

@bpasero
when i use vscode for read code of project，i will use go to definition to jump to many other code place in other file（measure more then 40 times）.Then it wan to go back to origin source code place ,but I cannot go back any more after i use go back action below  more then 25 time(or less), the other 15 step
disappear.

i found another new way to go back, it can use vim-extension's :"ctrl+o"  to go back  and "ctrl+i" to go forward after i install vim-extention then these work fine ,more then the vscode's go back,and go forward.

Thanks, I think its fair to increase this limit. It currently stands at 20 and I have pushed a change to increase it to 50.


how to use a heapster?

i have tried to create a heapster rc on kubernetes.but it failed.
i checked the log and it showed:
open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
there are only a 'default' serviceaccount running in my kubernetes master. and it has no secret.
what should i do in kubernetes?create a secret in the default serviceaccount? if so, how to do?

Each namespace has a SA named default with at least one token(secret).
You may try
$ kubectl get secrets --all-namespaces

nop.i have tried it many times.
[root@vm-56-65 bin]#  kubectl  get serviceaccounts  --all-namespaces
NAMESPACE   NAME       SECRETS
default     default    0
default     heapster   0
my kubernetes version is 1.0.0 and i added a flag --admission_control=ServiceAccount,LimitRanger  when i start apiserver.

Hmm, that's odd. The --admission-control seems all right though.
You may try this.
Yet i was wondering if it's a problem related to heapster only, or with all pods ( that they cannot consume a proper secret). Did you check the log of kubelet?

at  first  i start apiserver   without --admission-control   and  all is ok (but still no secret in default servcieaccount) .  then  i  want to start a heapster replication-controller. it failed with log(in container):
1 heapster.go:59] open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
it must because heapster  need to get token from kubernetes Master.right??
so i restart kubernetes apiserver with flag --admission-control=serviceAccount . but this time i cant' even create a  normal pod :
Error from server: error when creating "imgpod.json": Pod "imgpod" is forbidden: no API token found for service account default/default, retry after the token is automatically created and added to the service account
but  i  have not  idea  how  to solve it...
have you successfully start a heapster by kubernetes? or start kuber-apiserver  with    --admission-control=serviceAccount  and create pod?

As i put out before, i believe it's a common case for all pods instead of heapster only.
Each pod should consume a secret which goes to /var/run/secrets/kubernetes.io/serviceaccount/token as a volume, that lack of token is exactly why you cannot create a pod properly.
--admission-control=serviceAccount is well enough and should not be the trouble maker.
Did you at least check the log of kubelet, if i may ask again?

i am sorry but there are  no  log of kubelet when i create a heapster. the pod can be created .
the problem,  heapster start and it panic with :
open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
then the pod  automaticaly restart it, so it run into a loop

It's not a panic but a fatal error, i'm afraid.
If a pod is not even running, how could you call it as "the pod can be created"?
Without any other details, i'm afraid i cannot help.

Same here.
Either I start apiserver without  --admission-control line, then I can create  the pods as expected but see the error in the heapster pod log:
open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
kubectl get pods
NAME                                 READY     STATUS    RESTARTS   AGE
monitoring-heapster-v5-3qers         0/1       Pending   0          2s
monitoring-influx-grafana-v1-20lt2   0/2       Pending   0          2s
redis-master-ohklu                   1/1       Running   1          2h
OR I uncomment KUBE_ADMISSION_CONTROL="--admission_control=LimitRanger,ServiceAccount"
then I see errors in apiserver logs:
20138 reflector.go:136] Failed to list *api.Secret: Get http://<IP_ADDRESS>:8080/api/v1/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token: di
20138 reflector.go:136] Failed to list *api.ServiceAccount: Get http://<IP_ADDRESS>:8080/api/v1/serviceaccounts: dial tcp <IP_ADDRESS>:8080: connection refused
20138 reflector.go:136] Failed to list *api.LimitRange: Get http://<IP_ADDRESS>:8080/api/v1/limitranges: dial tcp <IP_ADDRESS>:8080: connection refused
and cannot create any pod.
I guess, I should create some cert for pods to access apiserver but I don't know how exactly.

Without a proper --admission-control, SA/secrets would be automatically created.
A default one as --admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota.
Also you need a key to verify your SA. Use --service-account-key-file or --tls-private-key-file, which is optional.

@iremA
use these commands to make crt and key:
openssl genrsa -out ca.key 2048
openssl req -x509 -new -nodes -key ca.key -subj "/CN=abc.com" -days 5000 -out ca.crt
openssl genrsa -out server.key 2048
openssl req -new -key server.key -subj "/CN=vm-56-65" -out server.csr
**there "/CN=vm-56-65" shuold be  "/CN=[yourhostname]"
openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt -days 5000
put these keys into /var/run/kubernetes/
and start api-server as:
./kube-apiserver --logtostderr=true --log-dir=/var/log/ --v=0 --admission_control=ServiceAccount --etcd_servers=http://<IP_ADDRESS>:4001 --insecure_bind_address=<IP_ADDRESS> --insecure_port=8080 --kubelet_port=10250 --service-cluster-ip-range=<IP_ADDRESS>/24 --allow_privileged=false   --service-node-port-range='30000-35535'       --client_ca_file=/var/run/kubernetes/ca.crt  --tls-private-key-file=/var/run/kubernetes/server.key --tls-cert-file=/var/run/kubernetes/server.crt
start controller-manager with these two flags:
--root-ca-file="/var/run/kubernetes/ca.crt"
--service-account-private-key-file="/var/run/kubernetes/server.key"
now  try to create a pod

Great guide! How about put this into docs/admin/service-accounts-admin.md
or docs/admin/heapster.md? It could save me hours if I saw this earlier
this week!
On Fri, Aug 14, 2015 at 11:33 PM, fzu-huang<EMAIL_ADDRESS>wrote:

@iremA https://github.com/iremA
use these commands to make crt and key:
openssl genrsa -out ca.key 2048
openssl req -x509 -new -nodes -key ca.key -subj "/CN=abc.com" -days 5000
-out ca.crt
openssl genrsa -out server.key 2048
openssl req -new -key server.key -subj "/CN=vm-56-65" -out server.csr
**there "/CN=vm-56-65" shuold be "/CN=[yourhostname]"
openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial
-out server.crt -days 5000
put these keys into /var/run/kubernetes/
and start api-server as:
./kube-apiserver --logtostderr=true --log-dir=/var/log/ --v=0
--admission_control=ServiceAccount --etcd_servers=http://<IP_ADDRESS>:4001
--insecure_bind_address=<IP_ADDRESS> --insecure_port=8080 --kubelet_port=10250
--service-cluster-ip-range=<IP_ADDRESS>/24 --allow_privileged=false
--service-node-port-range='30000-35535'
--client_ca_file=/var/run/kubernetes/ca.crt
--tls-private-key-file=/var/run/kubernetes/server.key
--tls-cert-file=/var/run/kubernetes/server.crt
start controller-manager with these two flags:
--root-ca-file="/var/run/kubernetes/ca.crt"
--service-account-private-key-file="/var/run/kubernetes/server.key"
now try to create a pod
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/issues/12186#issuecomment-131151015
.

@lvlv  I‘m afraid it is not a good idea ~  :)   my way is a clumsy way .  I believe there must be a easier way to run a heapster instance.   When api-server is starting, it will create apiserver.crt and apiserver.key by it self, I have tried to use them  when i create heapster  but i failed,heapster log showed that the crt is invalid. You can try it , maybe you  will find something interesting~

cc @mikedanese

Would it be easy for you to upgrade to 1.0.3? It contained some critical bug fixes around service account timing?

When api-server is starting, it will create apiserver.crt and apiserver.key by it self

I doubted it, i'm afraid. What makes you catch this, if i may ask?

@dalanlan
I started api-server with --admission_control=ServiceAccount  and didn't set flag --tls-private-key-file  and  --tls-cert-file , after apiserver is created, i saw these two files:apiserver.crt and apiserver.key
in kubernetes\cmd\kube-apiserver\app\server.go, i saw this:
if s.TLSCertFile == "" && s.TLSPrivateKeyFile == "" {
s.TLSCertFile = path.Join(s.CertDirectory, "apiserver.crt")
s.TLSPrivateKeyFile = path.Join(s.CertDirectory, "apiserver.key")
// TODO (cjcullen): Is PublicAddress the right address to sign a cert with?
alternateIPs := []net.IP{config.ServiceReadWriteIP}
alternateDNS := []string{"kubernetes.default.svc", "kubernetes.default", "kubernetes"}
// It would be nice to set a fqdn subject alt name, but only the kubelets know, the apiserver is clueless
// alternateDNS = append(alternateDNS, "kubernetes.default.svc.CLUSTER.DNS.NAME")
if err := util.GenerateSelfSignedCert(config.PublicAddress.String(), s.TLSCertFile, s.TLSPrivateKeyFile, alternateIPs, alternateDNS); err != nil {
glog.Errorf("Unable to generate self signed cert: %v", err)
} else {
glog.Infof("Using self-signed cert (%s, %s)", s.TLSCertFile, s.TLSPrivateKeyFile)
}
}
which means that if we start api-server without flags: --tls-private-key-file  and  --tls-cert-file   it will  generate self-signed certification:
util.GenerateSelfSignedCert(config.PublicAddress.String(), s.TLSCertFile, s.TLSPrivateKeyFile, alternateIPs, alternateDNS)
We can also add those two flags to specific server.key and server.crt.

@mikedanese
I will try it next week...

Thx.
Do you have any idea how a client identifies itself in this case? I assume there is no client cert or key here (Correct me if i'm wrong)

@dalanlan Is correct. If you want to use in cluster config, you need to a bit more with the CA cert generation. You can also use heapster over http:// if you are on a trusted network. I've opened kubernetes/heapster#479 to improve the documentation. For now please see:
https://github.com/mikedanese/heapster/blob/service-account-doc/docs/source-configuration.md#kubernetes

The CA cert generated by the apiserver is not sufficient to use with the default serviceaccount to auth with the apiserver as it does not contain a SAN for the ClusterIP of the kubernetes service.

@dalanlan
I saw some docs said that  in this case , client must use the same crt and key as server.
@mikedanese
YES~~~，  I saw the code add IP and DNS when it use func: util.GenerateSelfSignedCert()
so I think it must be usable when we run a heapster.
I tried to push server.crt and server.key into heapster(By volumn a secret). I tried it but failed, there must be something wrong, but I can't find it out. So I have to use specific crt and key .
It will be great if there is a doc tell us how to use security mode. It took me so much time ...(≧口≦)

Yes it is quite complicated (and we are working on making it easier and having better documentation). The reason the util.GenerateSelfSignedCert doesn't work, even when you distribute it with the controller-manager is that it only signs the cert for the hostname of the apiserver but heapster communicates with the apiserver using the kubernetes service clusterIP by default. The default cert generated by apiserver is invalid for that IP address. cc @erictune, is there good doc on how to setup secure kubernetes? Perhaps it should be included in the "from scratch" getting started guide? I couldn't find any.

@mikedanese   thank you very  much ~ ^_^


Pychromecast7

Ongoing......... :tv:

Thank you for this. While you're developing, can you add function types where practical? Currently we don't indicate what we accept or return, and it's making development hard. I tried to add some but discovery isn't working for me and couldn't figure out what functions were supposed to return.

To clarify, I'm not saying add types to everything, just whatever function you happen to touch and is easy.

Gotcha. Basic casting should be working. I just need to get the auxilliary stuff up to date.

I resolved some conflicts and will look for the service_name now.

There's a new pychromecast PR: https://github.com/home-assistant-libs/pychromecast/pull/385
I suggest we wait and see how that pans out, before putting more effort into this.

Ah, agreed. I will do some work adding types to master in the mean time. What do you think regarding using PyChromecast's socket to talk to the Chromecast? They seemed to indicate that the socket is better for when groups change their leader, etc.

What do you think regarding using PyChromecast's socket to talk to the Chromecast

That shouldn't be neccesary. Our current crude approach in get_cast already handles this (i.e. connection to the old leader fails, we do discovery and find the new leader). If anything, we should use the new get_listed_chromecasts to do "re-discovery" in these cases.

@theychx the PR was merged, which is certainly interesting. Let's hope they keep that method of discovery and don't break it later...


Create a generic OAuth 2.0 client

A bit like the OidcClient. At first, the CasOAuthWrapperClient could be based on this GenericOAuth20Client and maybe later on, other OAuth clients...

Sorry, I haven't had much chance to do anything with this other than think about it.
It seems like it may be difficult to make it generic and usable on its own while also having other clients be based off of it. It's like taking BaseOauth20Client and making it non-abstract.
If you have any ideas, I'll be glad to hear. Otherwise I hope to have a pr up to look at next week.

No emergency, no hurry, I released pac4j 1.8.3, so it may be for pac4j 1.9.0 where I plan to try to refactor and clean stuffs here and there.
Hard to tell the best way, I think you need to struggle with the code.

We already have generic OAuth clients with BaseOAuthClient, BaseOAuth10Client, ... and I don't think we can really do and need a better solution, based on our design (Scribe) and the OAuth protocol (more fuzzy than OpenID connect).
Closing for now. Feel free to re-open if you find a way.


Add codecov config yml

This is just an experiment to see if it fixes the codecov errors (I am not an expert but I took this config model from another project (https://github.com/pymc-labs/pymc-marketing/blob/main/codecov.yml) , lets see)

This PR 🤦 does not trigger the coverage check ... you can decide if merge this one or not in order to experiment :)

From the report it is always comparing the changes with an old commit https://github.com/s3alfisc/pyfixest/commit/35b47e97926438cfdd91de66d3bc224d0704d06a
Maybe this yml file does help. I do not know why is not using the latest commit in master

This PR 🤦 does not trigger the coverage check ... you can decide if merge this one or not in order to experiment :)

I'll merge it and then we'll see what happens =)

ok @s3alfisc I think I added the features I had in mind this week hehe. I will let you work on MyPy so that you don't get PR merge conflicts, as I expect that to be a big piece of work. Let me know if you get stuck ;)
As I plan to use this library, I will now start looking into the docs and the code and create issues if necessary just to have a record of things that might be improved from a user perspective :D

ok @s3alfisc I think I added the features I had in mind this week hehe

Thanks for all your contributions in the last days - they are really much appreciated! I looking forward to your feedback on both docs and codebase improvements, and any potential new features you might be interested in =)
Btw I've started on the MyPy task, and I'm down to "only" 144 errors ... =D


Change tags ordering from Z-A to A-Z

Thanks!

@Zverik Is this change released on Firefox's addons site? The latest update there is from July 2022.


Unable to apply Lut3D filter on ffmpeg.wasm

I tried to apply the Lut3D filter on my video is not working.
code
await ffmpeg.run('-i', 'output.mp4', '-vf', 'lut3d=./test.cube', 'output-v2.mp4');
I got an error like this, I knew it can't find the test.cube file but I don't know how to fix it.
[fferr] [Parsed_lut3d_0 @ 0x682e9c0] ./test.cube: No such file or directory [fferr] [AVFilterGraph @ 0x5798a40] Error initializing filter 'lut3d' with args './test.cube' [fferr] Error reinitializing filters! [fferr] Failed to inject frame into filter network: No such file or directory
thank you for helping me.

+1, I'm running into the exact same issue

Now i had solved it, I convert .cube to LUT and use the code like this.
ffmpeg.FS('writeFile', 'filter.png', await fetchFile('filter.png')); await ffmpeg.run('-i', 'output.mp4', '-i', 'filter.png', '-filter_complex', 'haldclut', '-vcodec', 'libx264', '-r', '15', '-preset', 'ultrafast', 'output-with-filter.mp4');

+1, I'm running into the exact same issue
I think you can use the code like me.
https://github.com/ffmpegwasm/ffmpeg.wasm/issues/308#issuecomment-1120736166

I want to know the reason for "No such file or directory".


add an ark bug command

Closes https://github.com/heptio/ark/issues/578

FYI you have to write Fixes #578 or Closes #578 to have the issue automatically closed when this is merged.

Looks like I missed some docs, I'll update shortly.

I'm going to close this for now and rework a few things.

@metadave Sure thing. Feel free to shout if you need anything from us.


Migrate to Cloudant Session store

Fixes #6

@steveatkin Steve I already removed them from package.json -> https://github.com/steveatkin/insuranceagent/pull/8/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2L28


Reorder Rollup plugins to apply babel earlier

Missing class properties transform.

When building the repo referenced in #49 using ts-engine.
See issue and solution here https://github.com/rollup/rollup-plugin-babel/issues/89#issuecomment-310144358

Linked to #49

This isn't an issue actually, turns out there was a .babelrc file left in the repo that didn't provide the transforms


[ENH] Support langchain embedding functions with chroma

Description of changes
Summarize the changes made by this PR.

New functionality

Adding a function to create a chroma langchain embedding interface. This interface acts as a bridge between the langchain embedding function and the chroma custom embedding function.
Native Langchain multimodal support: The PR adds a Passthrough data loader that lets langchain users use OpenClip and other multi-modal embedding functions from langchain with chroma without having to handle storing images themselves.

Test plan
How are these changes tested?

installing chroma as an editable package locally and passing langchain integration tests
pytest test_api.py test_client.py succeeds

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

@Mihir1003, can I bother you to submit a PR explaining how community members can use the LC wrapper?

@tazarov as I mentioned in my approval comment, this is not intended to be used outside the Chroma LangChain integration, and so should not in general be touched, hence leaving it undocumented.


OWASP: AnalysisException: Failed to request component-reports caused by NullPointerException: null

Starting today (25.05.2022), multiple errors started to fail on each execution. No plugin version changed.
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:6.1.6:aggregate (run-when-install) on project. One or more exceptions occurred during dependency-check analysis: One or more exceptions occurred during analysis:
[ERROR]         AnalysisException: Failed to request component-reports
[ERROR]                 caused by NullPointerException: null
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.owasp:dependency-check-maven:6.1.6:aggregate (run-when-install) on project: One or more exceptions occurred during dependency-check analysis
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: One or more exceptions occurred during dependency-check analysis
    at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.runCheck (BaseDependencyCheckMojo.java:1699)
    at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute (BaseDependencyCheckMojo.java:929)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occurred during analysis:
        AnalysisException: Failed to request component-reports
                caused by NullPointerException: null

I was just to report the same issue. I can add that the output from dependency check (including a warning) is
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Skipping RetireJS update since last update was within 24 hours.
[INFO] Check for updates complete (401 ms)
[INFO]

Dependency-Check is an open source tool performing a best effort analysis of 3rd party dependencies; false positives and false negatives may exist in the analysis performed by the tool. Use of the tool and the reporting provided constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to the analysis or its use. Any use of the tool and the reporting provided is at the user’s risk. In no event shall the copyright holder or OWASP be held liable for any damages whatsoever arising out of or in connection with the use of this tool, the analysis performed, or the resulting report.

   About ODC: https://jeremylong.github.io/DependencyCheck/general/internals.html
   False Positives: https://jeremylong.github.io/DependencyCheck/general/suppression.html

💖 Sponsor: https://github.com/sponsors/jeremylong

[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (3 seconds)
[INFO] Finished CPE Analyzer (4 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[WARNING] An error occurred while analyzing '/home/g705962/.m2/repository/com/syniverse/gsm/etl/tap2avro/trunk-SNAPSHOT/tap2avro-trunk-SNAPSHOT.nar' (Sonatype OSS Index Analyzer).
[INFO] Finished Sonatype OSS Index Analyzer (2 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (15 seconds)
[INFO] Writing report to: /mnt/c/svn/ubi-producers/tap2kafka/target/dependency-check-report.html

Should add that I am using the maven plugin, version 6.5.3.
I have disabled the OSS Index Analyzer for now as a workaround by adding <ossindexAnalyzerEnabled>false</ossindexAnalyzerEnabled> to my POM.

Any chance it is relative to OSS index rest api upgrade?
It mentions breaking changes.
Is there a minimum dep-check release compatible with these changes?
https://ossindex.sonatype.org/updates-notice

I have found a fix for this.
Steps:

Create an account on OSS Index
Edit you settings.xml file, vi ~/.m2/settings.xml
Add a new  item as below:

<server>
   <id>owasp-oss-index</id>
   <username>foo</username>
   <password>bla</password>
</server>

Add a new line within the repo owasp configuration
<ossIndexServerId>owasp-oss-index</ossIndexServerId>

@curtisgibson your workaround sounds like a fix for the API rate limit.
API doc :

does not mention mandatory authentication
mentions that a "429 Too many requests" HTTP return code would be sent. I suppose we should get it in logs. This is not the case

Did you have the exact same problem in your logs before your fix ?

I'm using v7.1.0 of the maven plugin and get the same issue. For now we'll disable the analyzer as mentioned earlier by @karstenspang: https://github.com/jeremylong/DependencyCheck/issues/4539#issuecomment-1137081659

@curtisgibson your workaround sounds like a fix for the API rate limit. API doc :

does not mention mandatory authentication
mentions that a "429 Too many requests" HTTP return code would be sent. I suppose we should get it in logs. This is not the case

Did you have the exact same problem in your logs before your fix ?

@curtisgibson is right, seems like sonatype uses a more aggressive rate limit (128). For the first calls you will get NullPointerException and the retries will cause 429. See #4538, where the solution comes from
cheers
flash ⚡

I suggest that we close this issue as a duplicate of #4538.

We are in contact with Sonatype regarding this issue. Right now, there are two solutions:

Create an account and configure ODC to authenticate to the OSS Index
Disable the OSS Index Analyzer.

https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration.html
Search for oss and you will see it.

For me,
after some tests :

Disabling the analyzer makes all the ERROR and WARNING disappear but of course with the consequence that we loose several vulnerability detection.
Create an account and configure ODC to authenticate to the OSS Index makes all ERROR disappear but not all WARNING see example below. In addition to that my usage of the plugin is from an integration server (5 different agents). I am not sure that I can use a free account to do that in respect to the term of services of OSS (https://ossindex.sonatype.org/tos)

Example of WARNING still raised from the plugin configured with an OSS acount :
`[WARNING] Failed to fetch component-report for<EMAIL_ADDRESS>Failed to fetch component-report for<EMAIL_ADDRESS>java.lang.NullPointerException
at org.owasp.dependencycheck.analyzer.OssIndexAnalyzer.transform (OssIndexAnalyzer.java:350)
at org.owasp.dependencycheck.analyzer.OssIndexAnalyzer.lambda$enrich$5 (OssIndexAnalyzer.java:256)
at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining (ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential (ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential (ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEachOrdered (ReferencePipeline.java:423)
at org.owasp.dependencycheck.analyzer.OssIndexAnalyzer.enrich (OssIndexAnalyzer.java:257)
at org.owasp.dependencycheck.analyzer.OssIndexAnalyzer.analyzeDependency (OssIndexAnalyzer.java:163)
at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze (AbstractAnalyzer.java:131)
at org.owasp.dependencycheck.AnalysisTask.call (AnalysisTask.java:88)
at org.owasp.dependencycheck.AnalysisTask.call (AnalysisTask.java:37)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
at java.lang.Thread.run (Thread.java:748)`

Duplicate: #4527

Same issue here, and also, the ssl certificate of ossindex site is expired:
Caused by: org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occurred during analysis:
	AnalysisException: Failed to request component-reports
		caused by SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
		caused by ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
		caused by CertPathValidatorException: validity check failed
		caused by CertificateExpiredException: NotAfter: Wed May 25 23:59:59 UTC 2022

Thus I think the only workaround now is to disable it.

Same issue here, and also, the ssl certificate of ossindex site is expired:
Caused by: org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occurred during analysis:
	AnalysisException: Failed to request component-reports
		caused by SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
		caused by ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
		caused by CertPathValidatorException: validity check failed
		caused by CertificateExpiredException: NotAfter: Wed May 25 23:59:59 UTC 2022

Thus I think the only workaround now is to disable it.

This is now fixed

@jeremylong I think the issues from this issue are by now all resolved, so that it can be closed?


[Feature Request] Dashbaord sharing

Hi,
dashboards are currently nice to use (after fix #50) What does not seems to work are sharing_details -> published = true.
Published is allways false.
But what would be very nice to have is a resource for dashboard_share_settings.
resource "dynatrace_dashboard_share_settings" "sharing"{
  dashboard_id = dynatrace_dashboard.myDashbaord.id
  enabled = true
  published = true
  permissions{
    permission{
      type = "all"
      permission = "VIEW"
    }
    permission{
      type = "group"
      id = "groupname"
      permission = "VIEW"
    }
  }
  public_access{
    management_zone = ["zone1", "zone2"]
  }
}

You're right. Dashboard Sharing has changed a few months ago - which rendered the original Sharing Section useless.
Explicit support for Sharing Settings was on my backlog - I just didn't find the time yet to schedule it in.
Thanks for the HCL sample - I'll try stick to it as close as possible when implementing.
This ticket will remain open until support for that resource is available.

we also need this feature

I am planning to wedge in Dashboard Sharing before focusing on Environment Creation and User Configuration - likely by end of July.

hI @Dynatrace-Reinhard-Pilz : Would be great If this feature is out soon

Hello everybody,
Release v1.7.0 takes care of Dashboard Sharing.


[turbopack] css background can't load url 'https://xxx.png'

What version of Turbopack are you using?
next 13.0.0
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
Turbopack failed to compile
error - [resolve] [project-with-next]/app  Error resolving server relative import: not implemented yet
unable to resolve server relative "//s.stu.126.net/res/images/ui/ui_new_yktnav_sprite.png"
| An error happened during resolving.
| Error message: server relative imports are not implemented yet
| Parsed request as written in source code: server relative "//s.stu.126.net/res/images/ui/ui_new_yktnav_sprite.png"
| Path where resolving has started: [project-with-next]/app
| Type of request: server relative import: not implemented yet
Expected Behavior
compile success
To Reproduce
.title {
color: yellow;
background: 9999px 9999px no-repeat;
background-position: 0 -28px;
background-image: url(//s.stu.126.net/res/images/ui/ui_new_yktnav_sprite.png);
}
Reproduction Repo
No response

Create a dir named types on your root ui repo.
add this file index.d.ts with
declare module "*.jpg" {
  const path: string;
  export default path;
}

declare module "*.png" {
  const path: string;
  export default path;
}

You're welcome :)

Had the same issue and solved by moving my wrapper component into separate client-side component, so it doesnt load on the server. There I define the background image
RootLayout:
  <html lang="cs" className="h-full bg-zinc-900 text-zinc-300 background">
      <head />
      <body className="h-full">
        <BackgroundComponent>
              {children}
        </BackgroundComponent>
      </body>
    </html>

BackgroundComponent:
 <main className="h-full bg-[url('../public/background.png')] bg-no-repeat bg-center bg-cover">
      <div className="bg-black h-screen w-screen bg-opacity-60 backdrop-blur-sm">
        {children}
      </div>
    </main>

I believe this specific issue is fixed by https://github.com/vercel/turbo/pull/4582


Target specific child w/ jQuery -- question regarding .nth-child()

Challenge Name:
Target a Specific Child of an Element Using jQuery

https://www.freecodecamp.com/challenges/target-a-specific-child-of-an-element-using-jquery#?solution=
fccss
 %24(document).ready(function() {%0A %24("%23target1").css("color"%2C "red")%3B%0A %24("%23target1").prop("disabled"%2C true)%3B%0A %24("%23target4").remove()%3B%0A %24("%23target2").appendTo("%23right-well")%3B%0A %24("%23target5").clone().appendTo("%23left-well")%3B%0A %24("%23target1").parent().css("background-color"%2C "red")%3B%0A %24("%23right-well").children().css("color"%2C "orange")%3B%0A %24(".target%3Anth-child(2)").addClass("animated bounce")%3B%0A %24(".well%3Anth-child(2)").addClass("animated shake")%3B%0A %0A%0A })%3B%0Afcces%0A%0A%0A%0A<div class%3D"container-fluid">%0A <h3 class%3D"text-primary text-center">jQuery Playground<%2Fh3>%0A <div class%3D"row">%0A <div class%3D"col-xs-6">%0A %23left-well<%2Fh4>%0A <div class%3D"well" id%3D"left-well">%0A <button class%3D"btn btn-default target" id%3D"target1">%23target1<%2Fbutton>%0A <button class%3D"btn btn-default target" id%3D"target2">%23target2<%2Fbutton>%0A <button class%3D"btn btn-default target" id%3D"target3">%23target3<%2Fbutton>%0A <%2Fdiv>%0A <%2Fdiv>%0A <div class%3D"col-xs-6">%0A %23right-well<%2Fh4>%0A <div class%3D"well" id%3D"right-well">%0A <button class%3D"btn btn-default target" id%3D"target4">%23target4<%2Fbutton>%0A <button class%3D"btn btn-default target" id%3D"target5">%23target5<%2Fbutton>%0A <button class%3D"btn btn-default target" id%3D"target6">%23target6<%2Fbutton>%0A <%2Fdiv>%0A <%2Fdiv>%0A <%2Fdiv>%0A<%2Fdiv>%0A
Issue Description

After passing the challenge correctly, I wanted to tinker a little and try to target other elements.
I wanted to target the 2nd well and make it shake, I typed this line:
$(".well:nth-child(2)").addClass("animated shake");
however it does not produce expected result. It actually shakes both wells. I thought maybe the reason is that each well element is embedded in their own div element. I tried this other line:
$(".well:nth-child(1)").addClass("animated shake"); result: no shake at all.
Browser Information

Firefox
Windows 8.1
laptop

nth-child() targets elements on the same level as its selector. So $(".well:nth-child(2)").addClass("animated shake"); does in fact work as it's supposed to.  Not sure about the second one. It would be better to ask this question in the Help Room or on the forum, since this is not really a bug with the actual challenge.

I had to use $(".well button:nth-child(2)").addClass("animated bounce"); to get it to behave correctly.  The nth-child led me to believe that it would select children of the .well divs.

@alaminos I have formatted the code that you had reported earlier for readability. Hope I have not messed it, please confirm.
Post that we can look into this.

Please revert back if this is an issue.


Be able to swich which mediaflux the front end is looking at

Until we can for realzies connect to mediaflux production, we need to be able to switch back and forth between mediaflux production (which we'll need to use for demos and ongoing testing) and td-meta1
Acceptance criteria

[ ] Find out and document the mediaflux URL that RC wants us to use
[ ] Install a feature flipper
[ ] Be able to switch back and forth between different instances of mediaflux using the feature flipper

Hey team! Please add your planning poker estimate with Zenhub @carolyncole @hectorcorrea @JaymeeH @jrgriffiniii @leefaisonr


Mouse signals still getting triggered when mouse is in UI

Godot version: 3.1.1
Issue description:
Mouse entered / exited signals get triggered from the last mouse position received by _unhandled_input even though the mouse is currently in a Control node and the signals shouldn't be triggering.
Possible solution:
Disable the signals when a mouse is over a node with the mouse filter set to "Stop"?
Steps to reproduce:

Create an Area2D with entered/exited signals and somehow visualize it
Save their state if their currently hovered
Create a Control node with the MouseFilter set to "Stop" or "Pass"
Make a way to move with a Camera
Run the game
Put your mouse on the selected Area2D and check that it selects normally with the mouse position
Put your mouse into the Control node and then move around and if you remember the last position that the mouse wasnt in UI, put that place over the Area2D
You got it

Minimal reproduction project:
MouseIssue.zip
^ Left / Right arrow keys to move the camera ^

Checking it out...

This is weird. It looks like the mouse is permanently reported on the position it was before entering the Control, until it leaves. So e.g. when you trigger the entered signal, you can move cursor over whole Control and exit is triggered as soon as you leave the Control.

This is weird. It looks like the mouse is permanently reported on the position it was before entering the Control, until it leaves. So e.g. when you trigger the entered signal, you can move cursor over whole Control and exit is triggered as soon as you leave the Control.

Probably getting the mouse position that is being saved in _unhandled_input, which stops updating once the mouse goes over the Control.

Probably caused by this https://github.com/godotengine/godot/blob/197b65f32ac811f79bc5599fbfe8cf83914b6873/scene/main/viewport.cpp#L402-L427
It was added in https://github.com/godotengine/godot/commit/80a90ca824b3dd82ced0b047877949bb2f076a3e

Sorry, I'm a bit late, but that issue seems to be bigger. For ColorRect the mouse doesn't stop where it enters, but also triggers signals inside (as long as you don't move the mouse).