pdf options magicformat, emulatemedia, scale and injectjs

magicformat creates a pdf page format adapted to the website size
emulatemedia and scale expose the matching puppeteer options
injectjs injects a javascript from a file path before generating the pdf

@wingsuitist these are awesome additions, thanks for contributing! Forgive my slow follow-up, would you mine making some of the tweaks I requested?

Thx! I'll look at it asap.

Here are the fixes to my best understanding. Thank you for the outstanding feedback.


implement support for visuallinks in VuuModule in vuu-data-test package

There are two aspects to visual link support in the test data package

determining when  Visual Linking should be offered to user when a Context Menu is shown
creating a visual link when user clicks on a 'Link to target' menu option

When  are Visual Link option(s) offered on Context Menu ?
Visual Links are configured on the Vuu server. A visual link is declared as a relationship from a source table to a target table. It is declared on the source table. The link defined the target table along with the columns that define the relationship, its very similar to a foreign key relationship in an RDB.
This defines a 'potential' link. The user cannot be offered  the possibility of creating an actual runtime link (ie offered via a context menu option) unless an instance of a valid target already exists. In other words if user adds childOrders to. a layout, they can only be offered the possibility to create a link to parentOrders if an instance of parentOrders already exists in that layout. In the event that more than one instance of parentOrders exist in the layout, multiple link context menu items will be offered.
When connected to a Vuu server, it is the Vuu server that provides a list of available links for any given table subscription . These are requested by the UI using a GET_VP_VISUAL_LINKS message. Any links received are stored on the dataSource that manages  this subscription. Following our example of childOrders, when a subscription to thi stable is opened, the UI will ask Vuu server for a list of VisualLinks. If a subscriotion has already been opened on the parentOrders table, the Vuu server will return. a VisualLink descriptor to that instance of parentOrders. If two parentOrders tables are open and user adds childOrders, Vuu server will return two Visual Link descriptors for the childOrders subscription.
As mentioned above, Visual Links received from Vuu are stored on the dataSource. When a MenuBuilder function is called to build any context menu items , the dataSource is available. If any links have been stored on the dataSOurce, these are used to create the appropriate Link menu items.
To simulate this behaviour in the VuuModule defined in vuu test data package   we need to assign VisualLinks, when appropriate, to the TickingArrayDataSource created in createDataSource. If out mock dataSOurce has visual links, correct context menu items will be displayed in context menu.
VisualLinks has been added as a constructor parameter to TickingArrayDataSource.
We can define the 'potential' visual links in our custom module, just as we define regular menu items. For example, if we implement links on childOrders, to simulate the sample Vuu server behaviour, we will define a link on childOrders. parent table will be parentOrders, columns will be parentOrderId and orderId. We cannot specify parentViewportId obviosuly - that can only be done at runtime when w ehave one or more candidate target instances pf parentOrders.
We need to set the LInks property on any new TickingArrayDataSOurce we create but ONLY if the source table has defined visual links AND user has already subscribed to one or more instances of link target table.
We can do this because we track subscribe events on each subscription that is opened (i.e each call to createDataSource)
Each time a subscription is opened on a TickingArrayDataSource, store an entry in a list of open subscriptions. We need the table name and viewportId. We can do this as we have registed an event listener on the subscription-open event.
Each time. a createDataSource is called ...

look at the list of VisualLInks passed into VuuModule, keyed by table name, to see if links have been defined for this table.
if we have one or more 'potential' links, for each one look up the target table in our list of open subscriptions, to see if we already have a subscription to a valid target (we may have more than one)    . If we find that we have an open subscription to a valid target, we can go ahead and create a full VisualLink Descriptor, including the viewportId of the target and pass this to the TickingArrayDataSource.

Challenge: we need to something slightly different if parentOrders is added to a layout AFTER a childOrders table. IN that scenario, we still need to set links on the childOrders dataSOurce.

implemented


Weird residual values when differencing (d) > 0

After running auto.arima model, when I am trying to get the residual values the value it gives for the 1st data point when differencing parameter (d) >0 is wrong. I have attached the screenshot for the reference. Since in my case d is equal to 1 so in the plot we can see that predicted values are 1 period of lag. My current model is SARIMAX(1, 1, 1)x(1, 0, 0, 52). Post-processing is req

uired to get the right values.

Unfortunately that's going to be a known side effect of differencing, since the entire algorithm is fit over n - d samples.
Best advice I can give is start your residual plot from d.

Got it! But that's not the case in R, there is some post-processing is being done to get the right values.

As close as we try to be to R's forecast package, it's not 1:1. You could probably back into that value, but it may be a pain. If you end up figuring it out, PRs are always welcome!

Closing this. But welcome a PR if you figure out a way to back into it...


[FlatList] shouldItemUpdate called with incorrect {item,index}

Description
symptom:
supply shouldItemUpdate() and data=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 7, 8, 9, 10, 11, ...] to a FlatList with 3 columns
shouldItemUpdate() is called with incorrect data {index: 6, item: 9}
expect {index: 6, item:7} or {index: 8, item 9}
further investigation:
seems that in FlatList.js, _shouldItemUpdate() does not take numColumns into account when calling shouldItemUpdate()
Reproduction Steps and Sample Code
obverse the values received in shouldItemUpdate()
class AppClass extends React.Component {
    constructor(props) {
        super(props)
        this.data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 7, 8, 9, 10, 11, ] ;
   }
   shouldItemUpdate(props, nextProps) {
        // some code
    }
    render() {
        return (
            <FlatList
                {...(this.modifiedProps)}
                data={this.data}
                numColumns={3}
                shouldItemUpdate={this.shouldItemUpdate}
                renderItem={this.renderItem}>
            </FlatList>
        );
    }
}

Solution
add *numColumns in _shouldItemUpdate function seems to have solved the problem
_shouldItemUpdate = (prev, next) => {
    const {numColumns, shouldItemUpdate} = this.props;
    if (numColumns > 1) {
      return prev.item.length !== next.item.length ||
        prev.item.some((prevItem, ii) => shouldItemUpdate(
          {item: prevItem, index: prev.index*numColumns + ii},
          {item: next.item[ii], index: next.index*numColumns + ii},
        ));
    } else {
      return shouldItemUpdate(prev, next);
    }
  };

Additional Information

React Native version: 0.43.2
Platform: Android 4.1.2 & 7.1.1
Development Operating System: Win10
Dev tools: Android SDK Tools 26.0.1

Hi there! This issue is being closed because {:search=>"repo:facebook/react-native is:open is:issue updated:<2017-05-25 -label:"Good First Task" -label:"Help Wanted" ", :message=>"it has been inactive for a while"}. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.


Allow multiple 1xx before the regular response head

This PR adds on #1330 to support multiple informational HTTP response heads (1xx) emitted from the server before the regular response head.
Motivation:
HTTP channel handlers should allow multiple 1xx response heads to travel through the pipeline before the regular HTTP response.
Modifications:

Added a public isInformational property in HTTPStatus
Special case isInformational response heads in HTTPServerPipelineHandler and HTTPServerProtocolErrorHandler
Allow HTTPDecoder to accept multiple isInformational response heads

Result:
Channel handlers can write one or multiple 1xx heads to the NIOHTTP1 pipeline.

Thanks for taking a look! I apparently completely missed the GitHub notifications. Can take a while before I can work in this again, unfortunately...

@Lukasa this is still pending all of this discussion: https://github.com/apple/swift-nio/pull/1422#discussion_r428157983 .

Hey guys, sorry. It has been a while. While I am still very much interested in this patch, unfortunately, I'm currently not feeling confident to say when I can continue this work. I hope this isn't blocking anybody.

Hey guys, sorry. It has been a while. While I am still very much interested in this patch, unfortunately, I'm currently not feeling confident to say when I can continue this work. I hope this isn't blocking anybody.

Thank you for reporting back. That's cool, ready when you are!

Superseded by #1985


Replace Portus by Docker Registry, and remove portus CA CRT

What does this PR change?
Card: https://github.com/SUSE/spacewalk/issues/15913
Related PRs:

https://github.com/uyuni-project/uyuni/pull/4319
https://github.com/SUSE/susemanager-ci/pull/354

Portus will not be supported any more as we changed it by a Docker Registry.
We updated the documentation, removed a salt state that should not be needed anymore, and removed its CA certificate.

Same remark as the other PR, can we use both authenticated and non-authenticated?
If so we need to mention both.

It might not be to clear, but is in the section above:
## Alternative Container Registry server

If you want the test suite to use an unauthenticated container registry server, you can specify it with the `no_auth_registry` variable.

Example:

```hcl
module "cucumber_testsuite" {
   ...
   no_auth_registry = "uri.of.registry:443/used"
   ...
}


[BUG] Created New Draft On Edit Existing Draft

Context & versions

When editing the existing proposal draft and saving it back to the draft a new draft is created instead of updating the edit draft.

Steps to reproduce

Create a proposal draft.
Click the "Start Editing" button.
Update some information and save it as a draft.
Navigate back to the "Create New Proposal".
Observe the list of proposal drafts.

Actual behaviour

After updating the existing draft, a new proposal draft is created, and the existing draft remains unchanged without the modifications.

Expected behaviour

Instead of creating a new draft, the edited draft should be updated with the modifications.

@kneerose This can be tested on the dev environment

I have tested this on both the test and dev environments on Sanchonet, and it does not reproduce anymore.
CC: @bosko-m

Great, thanks @kneerose . So it should go with the next release.


Increase retry timeout cert-manager

Signed-off-by: nshankar13<EMAIL_ADDRESS>
Description: Openshift nightly job was failing the e2e_certmanager test. After testing this locally, it seems to be an intermittent issue due to https://cert-manager.io/docs/concepts/webhook/#webhook-connection-problems-shortly-after-cert-manager-installation (as detailed in the InstallCertManager method in common.go). I increased the retry timeout to 20s and ran this locally several times on OpenShift and the issue seems to be mitigated.
Resolves: https://github.com/openservicemesh/osm/issues/4784

Testing done: Ran 10+ times locally on OpenShift and the e2e_certmanager test passed every time.

Affected area:

Functional Area

New Functionality
[ ]

CI System
[X]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[X]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

Is this a breaking change?

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?

Thanks @nshankar13!


fix warning: functions are not valid as ReactChild

const bodyText = useState("This is not really a bird nest.");
This code for example throughs a warning "Functions are not valid as a React child..."

I have updated docs for version 0.65.
https://github.com/facebook/react-native-website/pull/2734
Thanks
On Wed, Aug 18, 2021 at 8:13 PM Bartosz Kaszubowski <
@.***> wrote:

@.**** requested changes on this pull request.
Hi @swapanil2021 https://github.com/swapanil2021, thank you for
catching this issue and pushing the fix! 👍
Can you also update the versioned docs
https://github.com/facebook/react-native-website/tree/master/website/versioned_docs,
at least for the 0.65 release?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native-website/pull/2731#pullrequestreview-732959988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATEVT44ZHUU5PQEPLL2NEKLT5PBJBANCNFSM5CLW6VNQ
.
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&utm_campaign=notification-email
.


Update list of reserved property names

@seesharprun

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Documentation fix: Install activated Python kernels in Anaconda/Miniconda

There is a bug that Atom-Hydrogen and VS Code python data science mode share: some conda environments do not work and give error even if properly registered in the system.
There is a solution to it: install activated Python Conda kernel. I tested it in VS Code and without this post-installation fix VSCode is not able to run the kernel.
I've already opened PR in the Hydrogen but I guess the VSCode developers should also consider this bug.

@kiwi0fruit can you go into more detail on the bug that occurs?

When I select installed conda envoronment (by it's path in the left down corner) and try to run code cells VS Code hangs and doesn't do enything. Atom/Hydrogen in this case gives me:

Traceback (most recent call last): File "C:\Users\TheUser\Miniconda3\envs\python3\lib\runpy.py", line 193, in run_module_as_main "main", mod_spec) File "C:\Users\TheUser\Miniconda3\envs\python3\lib\runpy.py", line 85, in run_code exec(code, run_globals) File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\ipykernel_launcher.py", line 15, in from ipykernel import kernelapp as app File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\ipykernel__init.py", line 2, in from .connect import File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\ipykernel\connect.py", line 18, in import jupyter_client File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\jupyter_client__init__.py", line 4, in from .connect import File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\jupyter_client\connect.py", line 23, in import zmq File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\zmq__init__.py", line 47, in from zmq import backend File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\zmq\backend__init__.py", line 40, in reraise(*exc_info) File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise raise value File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\zmq\backend__init__.py", line 27, in ns = select_backend(first) File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\zmq\backend\select.py", line 27, in select_backend mod = import(name, fromlist=public_api) File "C:\Users\TheUser\Miniconda3\envs\python3\lib\site-packages\zmq\backend\cython__init_.py", line 6, in from . import (constants, error, message, context, ImportError: DLL load failed: �� ������ ��������� ������.

This happen when jupyter kernel spec is with  C:/Users/TheUser/Miniconda3/envs/nn/python.exe. But when I change it to C:/Users/TheUser/Miniconda3/envs/nn/Scripts/wrap/python.bat everything works fine in both VS Code and Atom/Hydrogen (where python.bat was autogenerated by exec-wrappers Python module).
Contents of the python.bat are:
@echo off
"C:/Users/TheUser/Miniconda3/envs/nn/Scripts/wrap\run-in.bat" "C:\Users\TheUser\Miniconda3\envs\nn\python" %*

Contents of run-in.bat are:
@echo off

@REM This script was based on the original conda activate.bat

@setlocal

@set "CONDA_PREFIX=C:\Users\TheUser\Miniconda3\envs\nn"
@set "CONDA_DEFAULT_ENV=nn"
@set "CONDA_ENV_PATH=%CONDA_PREFIX%"
@set "PATH=%CONDA_PREFIX%;%CONDA_PREFIX%\Library\mingw-w64\bin;%CONDA_PREFIX%\Library\usr\bin;%CONDA_PREFIX%\Library\bin;%CONDA_PREFIX%\Scripts;%CONDA_PREFIX%\bin;%PATH%"

@REM Run any activate scripts
@if exist "%CONDA_PREFIX%\etc\conda\activate.d" (
    @pushd "%CONDA_PREFIX%\etc\conda\activate.d"
    @for %%g in (*.bat) do @call "%%g"
    @popd
)

@REM Execute the given command
%*

@endlocal

I'll later provide environment info. But I'm almost sure that it's a general problem when some dll is needed to be in the PATH to run the environment python. And that only happens after environment activation.
I first encountered this problem on Windows x64 after updated to python 3.7 with fresh pandas.

This is not a python interactive window problem.  From what I've experienced in another project, starting with conda support in 3.7, activating an environment does not modify the windows path as required to find some needed windows dlls (the ssl package is one such package that relies on finding windows native dlls). This is most likely the same problem.

Other customers hitting similar issues

#6802 is a dupe

Conda side is definitely clear and works OK. It's basically lack of support for activated environments in Jupyter.
Whatever to blame but the issue with VS Code UX is there anyway.

Dupe of #5344


Sensitivity to cell size

Here I test how different cell sizes can impact the migration rate of forest states. And how the variation in cell size can interact with forest management practices.
Variables:

Cell size: 0.3, 0.5, 0.8, 1, 2.5, 5 km²
Forest management: notManaged, plantation, harvest, thinning, enrichment
Management intensity: 0.15
RCP: 4.5
Climate increase: linear growth
Repetition: 30

Interacting cell size and forest management, we have a total of 6 x 5 = 30 simulations. For each simulation, we will have 30 repetition with a different initial_landscape.
Here is one of the 30 initial landscapes for each cell size:

The next 2 figures show how boreal and temperate states migration varies under different sizes of cell and different management practices.
Figure 1 shows the occupancy of the Boreal (left panels) and temperate (right panels) over the latitudinal gradient (0 = north 1 = south). The occupancy is the last year of a 150 time steps simulation.

In figure 2, I calculated the south range limit of boreal and the north range limit of temperate. The longitudinal threshold to determine the range limit of the state was 75%. Grey line shows the initial range limit.

I expected a greater difference between the different cell sizes, but in some cases we can see a difference of more than 30% between 0.3 and 5 km².
What is more interesting is the interaction between cell size and forest management. It is very clear for the range limit of boreal in thenoManag and plant of figure 2. It seems that smaller cells have a higher migration rate when managed. We can also observe in the thin panel for the temperate range limit and in the enrich panel for the boreal range limit.
Next are some gif examples to show the interaction between cell size and management practice. First two graphs are the natural dynamic (noManag) with cell size of 0.5 and 1, respectively. The last two have 0.15 of plant practices also with cell size of 0.5 and 1.

I have updated the above two figures with the new simulations that ran for 200 steps and with the new value of occup = 0.85 after #3. I have also calculated the migration rate in Km/year for all simulations and the results are shown in figure 3. Basically I calculated the difference between the range limit position for the first and last time step and dived by the total running time:
(rangeLimitPosition(last time step) - rangeLimitPosition(first time step))/total time steps


DateTime.toLocal() ignores timezone for UNIX timestamps before 1970-01-01T00:00:00.000Z

Using .toLocal() on DateTimes before 01.01.1970 (thus with a negative UNIX timestamp) seemingly results in the timezone information getting lost.
final DateTime date1 = DateTime.parse('1970-01-01T00:59:59.999+01:00');
final DateTime date2 = DateTime.parse('1970-01-01T01:00:00.000+01:00');
final DateTime date3 = DateTime.parse('1970-01-01T01:00:00.001+01:00');

// executing the following lines on a machine with timezone UTC+01:00

print(date1.toLocal().toIso8601String());
// expected: 1970-01-01T00:59:59.999
// actual:   1969-12-31T23:59:59.999

print(date2.toLocal().toIso8601String());
// expected: 1970-01-01T01:00:00.000
// actual:   1970-01-01T01:00:00.000

print(date3.toLocal().toIso8601String());
// expected: 1970-01-01T01:00:00.001
// actual:   1970-01-01T01:00:00.001

Tested on Windows 10 Pro x64 with the following Flutter and Dart version:
Flutter 1.22.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision<PHONE_NUMBER> (5 weeks ago) • 2020-12-10 11:54:40 -0800
Engine • revision ae90085a84
Tools • Dart 2.10.4

It seems to work correctly in the browser and on Linux, so it's a VM-on-Windows specific problem.

It seems to work correctly in the browser and on Linux, so it's a VM-on-Windows specific problem.

It seems to work correctly in the browser and on Linux, so it's likely a VM-on-Windows specific problem.

Do you mean by that, with the exact same version? Because I could not reproduce this on dartpad.dev, but I figured since dartpad is "Based on Flutter 1.25.0-8.2.pre Dart SDK 2.10.4" (as of when I tested the code in dartpad), it might be version-related as well.

It seems to work correctly in the browser and on Linux, so it's likely a VM-on-Windows specific problem.

Do you mean by that, with the exact same version? Because I could not reproduce this on dartpad.dev, but I figured since dartpad is "Based on Flutter 1.25.0-8.2.pre Dart SDK 2.10.4" (as of when I tested the code in dartpad), it might be version-related as well.

I didn't ensure that it was the same version, but this is also not somethin I expect to have changed recently.
The Linux version I tested was built from a very recent tip-of-tree checkout.

I didn't ensure that it was the same version, but this is also not somethin I expect to have changed recently.
The Linux version I tested was built from a very recent tip-of-tree checkout.

This appears to be a Windows-only issue, and likely caused by Windows simply not providing the correct time zone information.
If you run the following program:
main() {
  var date0 = DateTime(1970, 1, 1);
  var date1 = DateTime.parse('1970-01-01T00:59:59.999+01:00');

  print(date0.timeZoneOffset);
  print(date0);

  print(date1.timeZoneOffset);
  print(date1);

  var local = date1.toLocal();
  print(local.timeZoneOffset);
  print(local);

  var local1 = DateTime(1969, 12, 31, 23, 59, 59);
  print(local1.timeZoneOffset);
  print(local1);
}

it goes:
$ TZ=GMT-1 dart tz.dart
1:00:00.000000
1970-01-01 00:00:00.000
0:00:00.000000
1969-12-31 23:59:59.999Z
1:00:00.000000
1970-01-01 00:59:59.999
1:00:00.000000
1969-12-31 23:59:59.000

on Linux and
λ set TZ=GMT-1 & dart tz.dart
1:00:00.000000
1970-01-01 01:00:00.000
0:00:00.000000
1969-12-31 23:59:59.999Z
0:00:00.000000
1969-12-31 23:59:59.999
0:00:00.000000
1969-12-31 23:59:59.000

on Windows. Local times before epoch appears to have no time zone information, even with an explicit time zone set.
I can't say whether we're doing something wrong, or it's Windows doing it wrong, but assigning to the VM for the integration logic.

@lrhn, I'm having two programs using the same sqlite database containing dates in epoch milliseconds.
Both apps run on same platform: Windows 10
Electron/Javascript:

All goes well

Flutter/Dart:

Dates < 1970-01-01 are incorrect: No difference between toLocal() and toUtc().
Dates >= 1970-01-01 are correct

If the issue is caused by Windows, Javascripts seems to be able to fix it.
Question:

Is there a workaround?
Is this going to be fixed?

on Windows. Local times before epoch appears to have no time zone information, even with an explicit time zone set.

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/localtime-s-localtime32-s-localtime64-s?view=msvc-170 doesn't support negative seconds, linux does.
So https://github.com/dart-lang/sdk/blob/272b9d28a8361be1e4a8d5e2d29f0a97554ff8cb/runtime/vm/os_win.cc#L90 fails to get tz offset, defaults to 0.

https://dart-review.git.corp.google.com/c/sdk/+/336803 with proposed fix


azcopy 10 copying file with storage key syntax

Could you give an example for how to copy files with azure storage key. Only example I see is SAS?
What is equal of this in azcopy 10
azcopy.exe /Source:$sourcePath /Dest:$deploymentPath /destkey:$destinationKey /Pattern:"*.jpg" /S /Y
Thanks

I was looking for this as well. Note that azcopy copy --help states that it supports key authentication for ADLS2:
C:\Users\hongooi>azcopy copy --help

Copies source data to a destination location. The supported pairs are:
  - local <-> Azure Blob (SAS or OAuth authentication)
  - local <-> Azure File (SAS authentication)
  - local <-> ADLS Gen 2 (OAuth or SharedKey authentication)   <----

Does this mean that the online help is wrong, or should there be a way of specifying the key?

I was looking for this as well. Note that azcopy copy --help states that it supports key authentication for ADLS2:
C:\Users\hongooi>azcopy copy --help

Copies source data to a destination location. The supported pairs are:
  - local <-> Azure Blob (SAS or OAuth authentication)
  - local <-> Azure File (SAS authentication)
  - local <-> ADLS Gen 2 (OAuth or SharedKey authentication)   <----

Does this mean that the online help is wrong, or should there be a way of specifying the key?

I mean the same, how is the correct way to deal with key in version 10+ ?

Or can you give an example how to deal with SaS authentication in version 10+?

I figured how to do it, in the Storage Account---> Shared access Signature I created a new signature and then append it at the end of the destination URL and It worked!!!
My powershell looks like:
Set-Variable Destino -Value 'https://mystorage.blob.core.windows.net/Vms/?sv=2018-03-28&ss=b&srt=sco&sp=rwdlac&se=2021-07-30T23:31:47Z&st=2019-07-30T15:31:47Z&spr=https&sig=lalalalala
& "./azcopy_windows_amd64.exe" sync $Origen $Destino --delete-destination=true --put-md5
Hope someone find it useful.
Regards

I've just had to do the same.
Did dig into the sources and here is how you still can use it:

Use the Gen2 storage with "DFS" url.
Before running AzCopy set 2 env variables: ACCOUNT_NAME and ACCOUNT_KEY

@denispoperechny Is this method still working for you? I'm getting an error "failed to perform copy command due to error: OAuth token, SAS token, or shared key should be provided for Blob FS" when I try to download from an ADLS endpoint.


[FEATURE]Auto-annotation of Repeated Tokens

Is your feature request related to a problem? Please describe.
There are situations when same bigrams,trigrams, etc appear multiple times in a text being annotated. The annotator has to repeatedly annotate the n-grams, else the tokens will be labelled as "0" under IOB scheme by default.
Describe the solution you'd like
Currently, Argilla UI enables us to annotate/label tokens in a text with an easy-to-use interface. However, I've identified a use case where an additional feature could enhance efficiency:
Sample claim text:
The method of claim 1 that includes the step of locating said pillow directly between a tympanic membrane and a round window membrane, but without contacting the round window membrane to block the approach of the tympanic membrane into close proximity to said round window membrane.

Assume we have labels like: ["method of use", "product", "machine", "system"]
Here first occurrence of token tympanic membrane is labelled as product by annotator. Since there are multiple instances of the tympanic membrane, the annotator must annotate each instance appropriately, else the system implicitly annotates them as 'O' per the IOB scheme to each token of the bigram. This makes it harder for the model to learn that "tympanic membrane" is a product and shouldn't be treated as two different tokens "tympanic" and "membrane".
Proposed Improvement
When an annotator labels a token (e.g., "tympanic membrane" as "product"), the system could automatically identify and suggest the same label for all exact matches of that token in the text. This would:
Reduce repetitive labeling actions
Save significant time, especially in longer texts with recurring terms
Ensure consistency in labeling across the document
Prevent accidental omissions that could lead to incorrect 'O' labels in the IOB scheme

@nataliaElv, seems like an interesting feature that has some overlap with bulk for span questions.

@frascuchon would this be easier now that we have the advanced queries included.


[BUG] clang-query view triggers full recompilation for no reason

While typing in the clang-query view, the code seems to recompile in real time like if I were changing the code.
No change is done to the source nor compilation parameters and the resulting binary will not change, so these recompilations are useless.
I wouldn't want you to pay for nothing as I fumble around on my matchers!

Hi!
Thanks for letting us know about this. While it's true that we're wastefully compiling the code every time the tool is changed, it's something which we don't care much about.
We could try to add some logic to handle such cases, but it would just complicate the code.
Plus, compilations are relatively cheap anyway, so don't worry about it! Keep on fumbling around :P
Thanks again for taking the time to file an issue

If anyone running a local instance find themselves not wanting to waste power on useless compilations in cases like this, please do feel free to raise an issue and we'll gladly add support for it (We'll also be happy to receive PRs addresing it too haha)


POST /api/chat/save should add createdAt attribute

Contact Details(optional)
No response
What feature are you requesting?
Conversation history should have createdAt, passed by frontend, to make sure the conversation history is in right order. Request body should be like
{
  “sessionUuid”:”uuid”,
  ”chats”: [
    {
      “role”:”user”,
      ”message”:”hello”,
      ”createdAt”:1234567890
    },
    {
      “role”:”assistant”,
      ”message”:”hi, how can I assist you today?”,
      ”createdAt”:1234567891
    }
  ]
}

I have talked to @Micost about this issue. He will return create date and re-order the conversation history. cc @cbh778899

@Micost Do we finish this one?

@Aisuko it's already done


#159382150 Modify

Pull Request Test Coverage Report for Build 189

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 186:
0.0%

Covered Lines:
24

Relevant Lines:
24

💛  - Coveralls


Added authentication and permissions for images. Added host prefix to im...

...age URLs. Changed Image endpoint formatting. Split images endpoint into 2 seperate calls.

Permissions for Post images are not yet set. Wasn't sure whether to use "Custom" or if we need to build one specifically for this.

This all looks great other than the authentication class setup. Get that updated then GTG!

K done.

Fuck. I close commented instead of comment.


Displays a more informative message on datasource deletion.

https://bugzilla.redhat.com/show_bug.cgi?id=1390283

@dclarizio Are you OK with the above message? I personally would leave the message as it is,
since it's consistent with the rest of the application. Plus the ability to delete the datasource
is controlled by rbac, which needs to be granted to a person (or well -- a role), knowing what's
going on and whether or not it's safe to delete it.

@mzazrivec I added some editing comments to the message, but since this is for a BZ that asks to clarify the middleware datasource delete message, overall I think it's ok.

Updated with suggestions. Thanks!

I suppose this is euwe/yes, right?

Rebased with master

Not sure why the build is failing, it doesn't seems to be related to this PR.
I tried running the tests on my local and it fails even on master branch.

Another one of those
"2016-11-08 16:21:19 +0000: Rack app error: #<Sprockets::FileNotFound: couldn't find file 'es6-shim' with type 'application/javascript'"  errors ... 👎

Travis is finally green :+1:

Euwe backport details:
$ git log -1
commit e27a3812da169012de997306eb94f39f21b99ddb
Author: Martin Povolny<EMAIL_ADDRESS>Date:   Tue Nov 8 19:33:37 2016 +0100

    Merge pull request #12316 from josejulio/ds_deletion_more_information

    Displays a more informative message on datasource deletion.
    (cherry picked from commit 58261bfc943131157b9ae454535995c8d3e6a4c6)

    https://bugzilla.redhat.com/show_bug.cgi?id=1396237


Schema is empty

Solr : 6.2.0
Spark:2.1.0
Spark-Solr : master
val options = Map(
"collection" -> "SparkSolr1",
"zkhost" -> "<IP_ADDRESS>:24002,<IP_ADDRESS>:24002,<IP_ADDRESS>:24002/solr"
)
scala> val df = spark.read.format("solr").options(options).load
2017-08-11 09:30:25,147 | INFO  | main | Constructed SolrQuery: q=:&rows=5000 from user-supplied query param: : | com.lucidworks.spark.util.SolrQuerySupport$.toQuery(SolrQuerySupport.scala:130)
df: org.apache.spark.sql.DataFrame = [id: string, title: string]
scala> val df = spark.read.format("solr").options(options).load
2017-08-11 09:30:26,732 | INFO  | main | Constructed SolrQuery: q=:&rows=5000 from user-supplied query param: : | com.lucidworks.spark.util.SolrQuerySupport$.toQuery(SolrQuerySupport.scala:130)
df: org.apache.spark.sql.DataFrame = []
some times the DataFrame's schema is emtpy .
SparkSolr1 has 3 shards and only one row

Does this happen consistently? Sometimes, luke handler in Solr does not return fields if there are very few documents dispersed over more than 1 shard. Can you query luke and see what you are getting?


RNA-binding transcription regulator activity

RNA-binding transcription regulator activity
has no experimental annotation (but lots of IEA's)
What is this term for? The PMID is
http://europepmc.org/abstract/MED/1756726
It isn't clear  what it would be used for. Should it have organism restrictions?

@ValWood I dont see that paper as a reference for 'RNA-binding transcription regulator activity'

There was quite some discussion about this term here: #14334
Pascale

Ah OK the reference is PMID:8332211
This is describing a viral protein modulating host transcription in some way?
Could this have a "only in virus" taxon restriction  (this could be changed if others are identified).
I still think it seems odd to position this under "transcription regulator"  (not every single  protein that regulates transcription needs to be under here. My understanding was that this was to group the  canonical txn factors that  work with the polymerase. any  other things that   regulate  transcription  are not under here (for example chromatin remodellers, RNAi etc).
This could easily be annotated as
"mRNA binding" part_of "negative regulation of transcription"

Added taxon restriction (Viruses)
Updated definition to "Interacting selectively and non-covalently with an RNA sequence in order to modulate transcription. This function is known to occus in phages and viruses, for example the lambda  N and the HIV tat proteins are necessary to allow RNA polymerase to read through terminator sequences. "
Did no move the term (yet) - it seems to be a legit regulator of transcription... ?


Improve KNOXSS IP blocking logic

I think you could add a check with more certainty that the target is in fact blocking the KNOXSS IP, because not every time KNOXSS is blocked on a page will it be blocked on the others, maybe that specific page had WAF and the others didn't, and since the logic at the moment is validating only if a single API response is blocking, it ends up skipping the next ones, but I've noticed that the next ones can still continue to bring results.
Maybe put in a validation sequence of blocked requests, if the API returns about 10 or more (it could be up to the user) requests with the KNOXSS IP blocking error, then skip the next ones, otherwise continue the verification process.

Hi @j0hnZ3RA . Thanks for taking the time to raise an issue. Yes, you are 100% right, The current logic was put in place after chats with Brute Logic about how to deal with certain responses, but I am already in the process of changing this to make it much better, I will let you know when a change has been released. Thanks


Add option to process queue directly (wishlist)

Please add an option to process the queue directly upon events.
As the addon already captures a triggering event, why wait again for activation by WP-Cron?

Thanks @mkesper, great point! Makes total sense.
Perhaps my original thinking when implemented it was that if you're creating a lot of posts and your deploy time is long, you may want more control that you don't start a deploy, blocking next one for 15 mins, when you are going to be doing 5 mins worth of post editing...
But making it an option to directly process the queue on certain events should satisfy people with those workflows without blocking those who want to use scheduled processing....


Update ConsIndShock's init_lifecycle

Solves #592.
Updates ConsIndShock's init_lifecylce set of parameters, using Cagetti's (2003) estimates for the income trajectory of a high-school graduate, Sabelhaus & Song's (2010) life profiles of income volatilities, and aNrm initial dispersion estimates from the 1995 SCF.

[x] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[x] Updated documentation of features that add new functionality.
[x] Update CHANGELOG.md with major/minor changes.

changelog?

Codecov Report

Merging #951 (c16197b) into master (a9f10c3) will increase coverage by 0.42%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #951      +/-   ##
==========================================
+ Coverage   71.01%   71.43%   +0.42%
==========================================
  Files          62       62
  Lines        9129     9138       +9
==========================================
+ Hits         6483     6528      +45
+ Misses       2646     2610      -36

Impacted Files
Coverage Δ

HARK/ConsumptionSaving/ConsIndShockModel.py
83.39% <100.00%> (+0.19%)
:arrow_up:

...nsumptionSaving/tests/test_IndShockConsumerType.py
100.00% <100.00%> (ø)

...ptionSaving/tests/test_IndShockConsumerTypeFast.py
100.00% <100.00%> (ø)

HARK/Calibration/Income/IncomeTools.py
92.79% <0.00%> (+7.20%)
:arrow_up:

HARK/datasets/life_tables/us_ssa/SSATools.py
60.86% <0.00%> (+60.86%)
:arrow_up:

Continue to review full report at Codecov.

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

Ready.


[Event Request] codeunit 5720 "Item Reference Management" - multiple publishers

Hello, would it be possible to add OnEnterPurchaseItemCrossRefOnFillDescription event to codeunit 5720 "Item Reference Management", like this:
    procedure EnterPurchaseItemReference(var PurchLine2: Record "Purchase Line")
...
                      "Item Reference No." := '';
                     "Item Reference Type" := "Item Reference Type"::" ";
                     "Item Reference Type No." := '';
                     IsHandled := false;
>                     OnEnterPurchaseItemCrossRefOnFillDescription(PurchLine2, IsHandled); //New Event
                     if not IsHandled then
                         if "Variant Code" <> '' then begin
                             ItemVariant.Get("No.", "Variant Code");
                             Description := ItemVariant.Description;

    local procedure OnEnterPurchaseItemCrossRefOnFillDescription(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


VS Code Insiders Setup hanging during update

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.95.0-insider
OS Version: Windows_NT x64 10.0.27723

Steps to Reproduce:

Launch VS Code Insiders via "Code - Insiders.exe" --disable-extensions"
setup.exe launches seemingly to update the build of VS Code
Setup.exe never completes.

Version: 1.95.0-insider (user setup)
Commit: 6cf71eaab2600e2e1db3642aea3ad91aa6be3f7f
Date: 2024-10-14T05:04:18.543Z
Electron: 32.1.2
ElectronBuildId: 10323173
Chromium: 128.0.6613.162
Node.js: 20.17.0
V8: 12.8.374.33-electron.0
OS: Windows_NT x64 10.0.27723
I had previously manually deleted the VS Code install and during a fresh install, the setup also hung. Haaving killed the process it appeared the install had worked but now during the next update problem appears again

There appears to be a setup dialog box that i can see when ALT-TAB but cannot get focus, i assume there is a user input required perhaps


Truncate BUILDKITE_MESSAGE to 64 KiB

Truncate the BUILDKITE_MESSAGE commit message passed to the bootstrap process to 64 KiB so that large commit messages won't stop execution.
Follow-up to #1302, which enabled large commit messages to be pushed from the agent to Buildkite via buildkite-agent meta-data set buildkite:git:commit, but which uncovered this other bottleneck for message size.
The 64 KiB figure was chosen somewhat arbitrarily; but it is…

half the per-env limit of modern linux
quarter the shared limit of macOS
a tiny fraction of the modern Windows limit
double the limit of Windows circa 2010 (if this becomes a problem, we can reduce it for that platform)

Here's some ENV limits I've researched/discovered (see notes below):
// macOS 10.15:    256 KiB shared by environment & argv
// Linux 4.19:     128 KiB per k=v env
// Windows 10:  16,384 KiB shared
// POSIX:           (4 KiB minimum shared)

A truncation marker is added to the end of the message like this:
A long commit message

Lots of text here
... even more text here
... even more text here
... even mo[value truncated 131071 -> 65517 bytes]

And also logged to the agent:
2020-09-24 16:17:18 WARN   localhost BUILDKITE_MESSAGE value truncated 131071 -> 65517 bytes

I considered finding and re-embedding any [skip ci] / [ci skip] markers, but then realised that would be silly; they prevent the build getting this far.

Investigation into auto-discovering environment limit:
#include <stdio.h>
#include <unistd.h>
#include <limits.h>
int main(int argc, char ** argv) {
#ifdef ARG_MAX
  printf("            ARG_MAX : %d\n", ARG_MAX);
#else
  printf("            ARG_MAX : (undefined)\n");
#endif
  printf("sysconf(_SC_ARG_MAX): %ld\n", sysconf(_SC_ARG_MAX));
}

$ uname -a
Darwin paulbookpro.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64

$ gcc -o testlimit testlimit.c && ./testlimit
            ARG_MAX : 262144
sysconf(_SC_ARG_MAX): 262144

$ uname -a
Linux localhost 4.4.0-173-generic #203-Ubuntu SMP Wed Jan 15 02:55:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ gcc -o testlimit testlimit.c && ./testlimit
            ARG_MAX : (undefined)
sysconf(_SC_ARG_MAX): 2097152

But this doesn't work for Windows.
A program to brute-force bisect to discover largest permitted env size:
package main

import (
	"fmt"
	"os"
	"os/exec"
	"strconv"
	"strings"
)

const (
	min  = 1024
	max  = 640 * 1024 // 640K should be enough for anybody
	name = "X"
)

func main() {
	if len(os.Args) == 3 && os.Args[1] == "assert-size" {
		assertSize(os.Args[2])
	} else {
		fmt.Println(findEnvLimit())
	}
}

func findEnvLimit() int {
	good := min
	bad := max
	for bad-good > 1 {
		mid := good + (bad-good)/2
		if err := attempt(mid); err == nil {
			good = mid
			debugf("size=%d ok\n", mid)
		} else {
			bad = mid
			debugf("size=%d %v\n", mid, err)
		}
	}
	return good
}

func attempt(size int) error {
	return (&exec.Cmd{
		Path:   os.Args[0], // run self
		Args:   []string{os.Args[0], "assert-size", strconv.FormatInt(int64(size), 10)},
		Env:    []string{name + "=" + strings.Repeat(".", size)},
		Stdout: os.Stdout,
		Stderr: os.Stderr,
	}).Run()
}

func assertSize(arg string) {
	wantLen, err := strconv.ParseInt(arg, 10, 64)
	if err != nil {
		panic(err)
	}
	value, ok := os.LookupEnv(name)
	if !ok {
		fmt.Fprintln(os.Stderr, name, "not in environment")
		os.Exit(1)
	}
	if len(value) != int(wantLen) {
		fmt.Fprintf(os.Stderr, "expected %d bytes, got %d\n", wantLen, len(value))
		os.Exit(1)
	}
}

func debugf(format string, a ...interface{}) {
	fmt.Fprintf(os.Stderr, format, a...)
}

Linux:
root@23f42323a677:/envlimit# go build -o envlimit-linux && ./envlimit-linux
size=328192 fork/exec ./envlimit-linux: argument list too long
size=164608 fork/exec ./envlimit-linux: argument list too long
size=82816 ok
size=123712 ok
size=144160 fork/exec ./envlimit-linux: argument list too long
size=133936 fork/exec ./envlimit-linux: argument list too long
size=128824 ok
size=131380 fork/exec ./envlimit-linux: argument list too long
size=130102 ok
size=130741 ok
size=131060 ok
size=131220 fork/exec ./envlimit-linux: argument list too long
size=131140 fork/exec ./envlimit-linux: argument list too long
size=131100 fork/exec ./envlimit-linux: argument list too long
size=131080 fork/exec ./envlimit-linux: argument list too long
size=131070 fork/exec ./envlimit-linux: argument list too long
size=131065 ok
size=131067 ok
size=131068 ok
size=131069 ok
131069

macOS:
size=328192 fork/exec ./envlimit: argument list too long
size=164608 ok
size=246400 ok
size=287296 fork/exec ./envlimit: argument list too long
size=266848 fork/exec ./envlimit: argument list too long
size=256624 ok
size=261736 ok
size=264292 fork/exec ./envlimit: argument list too long
size=263014 fork/exec ./envlimit: argument list too long
size=262375 fork/exec ./envlimit: argument list too long
size=262055 ok
size=262215 fork/exec ./envlimit: argument list too long
size=262135 fork/exec ./envlimit: argument list too long
size=262095 fork/exec ./envlimit: argument list too long
size=262075 fork/exec ./envlimit: argument list too long
size=262065 fork/exec ./envlimit: argument list too long
size=262060 ok
size=262062 ok
size=262063 ok
size=262064 fork/exec ./envlimit: argument list too long
262063

Windows: 16,777,190 (16 MiB!)

Should help #1269

is there any value in truncating all env values we pass to bootstrap

I wondered that…

Most are very unlikely to exceed 64kb

That was half the reason I didn't.
The other half was that, for the general case, I wasn't sure if truncating was better than exploding.
Also also, we'd probably want a conditional to prevent the [value truncated 131071 -> 65517 bytes] thing being appended to truncated vars that maybe don't want random text in them… and that felt like extra complexity / code paths to handle a scenario I wasn't sure existed :)

makes sense :+1:

Yeah — it makes sense, but could be surprising. It remains non-truncated everywhere except when it's being passed to the bootstrap.
It's a shame that the pre-bootstrap phase of the agent running a job can't (AFAIK) easily send log output to the UI. I briefly considered passing the truncation info via yet another env var to the bootstrap, like we do for e.g. BUILDKITE_IGNORED:
https://github.com/buildkite/agent/blob/e99cae5dd5bf3aae1f0d42a15280da68158ae29d/agent/job_runner.go#L416-L455
https://github.com/buildkite/agent/blob/e99cae5dd5bf3aae1f0d42a15280da68158ae29d/bootstrap/bootstrap.go#L437-L450
But I really don't want to add more environment vars, especially having just witnessed the shared env limits of some platforms (macOS being the most worrying with 256 KiB shared by all environment & argv).
We could also truncate it server-side on the way in, before storing it. That would also relieve us of having to store enormous values. But I figured it'd be nice to instead truncate to a per-system-discovered env limit in the agent itself. That was before I found how hard it is to determine the maximum reasonable size for an environment variable.
I think even if we eventually do that (server-side truncation), this patch should remain in the agent.

BTW in case you didn't notice it, the “Buildkite environment variables” collapsed part of your build log does include a dump of the post-truncation env, including this line:
BUILDKITE_MESSAGE=aaaa…aaaa[value truncated 204999 -> 65517 bytes]

But, that's pretty hidden, doesn't directly indicate where it was truncated, and probably only appears if you're running the agent in debug mode? But 🤷♂


[SPARK-15885] [Web UI] Provide links to executor logs from stage details page in UI

What changes were proposed in this pull request?
Added links to logs (or an indication that there are no logs) for entries which list an executor in the stage details page of the UI.
This helps streamline the workflow where a user views a stage details page and determines that they would like to see the associated executor log for further examination.  Previously, a user would have to cross reference the executor id listed on the stage details page with the corresponding entry on the executors tab.
Link to the JIRA: https://issues.apache.org/jira/browse/SPARK-15885
How was this patch tested?
Ran existing unit tests.
Ran test queries on a platform which did not record executor logs and again on a platform which did record executor logs and verified that the new table column was populated with "No Logs Found" and links to the logs (which were verified as linking to the appropriate files), respectively.
Attached is a screenshot of the UI page with no links, with the new columns highlighted.  Additional screenshot of these columns with the populated links.
Without links:

With links:

This contribution is my original work and I license the work to the project under the Apache Spark project's open source license.

Can one of the admins verify this patch?

ok to test

Overall I like this addition and think this looks good, just a few small notes above on UI consistency.

Jenkins, test this please

Updated images below.
Without logs:

With logs:

LGTM

I'm going to close this and create a new PR against master.


ENH: Allow bids filtering during get() calls.

This is to bring SDCFlow's file filtering more in-line with approaches taken in other nipreps. To avoid potential collisions during get() parameter assigment, base / additional values are first merged into a dictionary, and then passed in as keyword arguments

blocked by #293

Codecov Report
Base: 85.38% // Head: 87.22% // Increases project coverage by +1.83% :tada:

Coverage data is based on head (30f5ae2) compared to base (83b064e).
Patch coverage: 86.66% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
+ Coverage   85.38%   87.22%   +1.83%
==========================================
  Files          24       25       +1
  Lines        1930     1988      +58
  Branches      221      299      +78
==========================================
+ Hits         1648     1734      +86
+ Misses        246      220      -26
+ Partials       36       34       -2

Flag
Coverage Δ

travis
85.33% <86.66%> (-0.06%)
:arrow_down:

unittests
87.12% <86.66%> (?)

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

Impacted Files
Coverage Δ

sdcflows/utils/wrangler.py
95.41% <86.66%> (-1.68%)
:arrow_down:

sdcflows/conftest.py
0.00% <0.00%> (ø)

sdcflows/workflows/outputs.py
93.54% <0.00%> (+1.61%)
:arrow_up:

sdcflows/interfaces/reportlets.py
89.83% <0.00%> (+1.69%)
:arrow_up:

sdcflows/interfaces/bspline.py
88.00% <0.00%> (+5.33%)
:arrow_up:

sdcflows/interfaces/fmap.py
87.35% <0.00%> (+14.94%)
:arrow_up:

sdcflows/workflows/fit/syn.py
69.82% <0.00%> (+21.30%)
:arrow_up:

sdcflows/utils/phasemanip.py
94.02% <0.00%> (+28.35%)
:arrow_up:

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.

It looks like we've had a bunch of significant changes since 2.1.1, so master will probably be a 2.2.0 release. Do you want to target 2.1.2? I've just pushed a maint/2.1.x branch.

Can backport if needed.


Add Application Launcher Icon

An application launcher icon needs to be added. Feel free to use your creativity in designing the icon. Please make sure to get the icon approved by me before implementing it into the application.

Great design @sachin161kr! I would like to give a few suggestion though:

I feel that dividing the circle into two vertical semicircles(using two different shades of orange) is a little odd, so maybe you can divide the circle horizontally into two semicircles and then further divide the bottom hemisphere into two equal halves. That might make the design look more symmetric. Give it a try, and let me know.

If you have any doubt, let me know 😄

Maybe we can keep just one shade of orange ... that would look simple and even.
Or as you said I can divide the circle horizontally and not vertically. Further division may not look that attractive.
I am attaching both the icons... kindly review.
https://drive.google.com/file/d/1t2S-7EmuNDkhxUwN4p5POyNhrkMIL73B/view?usp=sharing (Horizontal Division)
https://drive.google.com/file/d/1DFMBJJdFchvPAQGthoiE6KzmaIGQN2d9/view?usp=sharing (Single Shade of orange)

I guess single shade of orange looks better, go ahead with that


not working

Hi,
can I ask you how long did you wait? This test can run 1 minute (depends on your internet speed and selected timeout).
Thanks

yes i did wait around 2 mins and also I have 200mbps connections can u just check if it works once?

Works perfectly for me.
Can you ask what version of NodeJS are you using?
Thanks

can we use this as api??

can we use this as api??

please open own issue and we can talk there :)

Hello,
I would like to inform you that a beta version of Universal Speedtest v2 has been released, which contacts measuring servers without using Puppeteer (chromium browser) and should solve most problems.
For this reason, I am now closing this issue, but if you find a problem, do not hesitate to open a new problem.
Thank you for understanding


Add table of contents

Add TOC from https://github.com/ghiculescu/jekyll-table-of-contents
Any one of:

[ ] @full-of-foo
[x] @Xevi
[ ] @marzetas
[x] @ldoran

2 ship-its is good enough for this none content change


Mentioned NumPy's may_share_memory function in the numpy_intro ipytho…

…n notebook course.

I wonder whether the content of this change is beyond the level of what is effectively an introduction course to NumPy...

@dkillick @pp-mo If we are not happy to put this change in the course, can somebody please close it?  I don't like untidy lists, so this PR is bothering me with its presence.

I think that this level of detail is too deep for the target of this course
@MahatmaCane many thanks for taking the time to make the proposal; we are reworking aspects of the numpy material at the moment and trying to get target a suitable level of implementation detail.
so, this is being close un-merged, but with thanks for the consideration
marqh


March Release

No major updates on the vscode extension side. Only minor bug fixes and added telemetry.

Improved Paportal manifest generation by maintaining a consistent order. -


remove unused templates and files

Description

Remove init templates that we don't need now that we're systemd only
Let's not maintain the configuration reference, it's in the HAProxy docs https://cbonte.github.io/haproxy-dconv/1.9/configuration.html
not sure what files/haproxy-default was about, removing it

Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

          1 Warning

:warning:
This is a big Pull Request.

  Generated by :no_entry_sign: Danger

🎉


WebGL 1.0 extensions (beyond TS 1.6.2 stdlib)

These are not in a module as they complete missing browser standard types and extend the canvas element and WebGLRenderingContext built-in types.
None of the interfaces should have a corresponding declare var as in browsers these are hidden interfaces and cannot be directly created. The interface names correspond to the type names used in Webkit browsers.

webgl-ext/webgl-ext.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/webgl-ext
http://bower.io/search/?q=webgl-ext
others?

[X] has a test file? (webgl-ext/webgl-ext-tests.ts or others)
[ ] pass the Travis-CI test?

thanks mate!


feat: change RLN to rln-pcd

What is this PR?
Fixes https://github.com/Rate-Limiting-Nullifier/zk-chat-client-server/issues/7
Functionalities added:

Replace @zk-kit/protocols with rln-pcd in both zk-chat-client and zk-chat-server

Copy rln-pcd to both zk-chat-server-lib & zk-chat-client-lib. We can use @pcd/rln-pcd directly after https://github.com/proofcarryingdata/pcd/pull/88 is merged and npm package is published.

Support more identity providers

Remove the dependency on zk-keeper
Add interface IIdentityKeeper, which interacts with the entity storing user's identity,
and request the entity to generate proof. This allows us to support more identity providers without changing existing code
Use LocalIdentityKeeper, an implementation of IIdentityKeeper that stores user's identity in local storage and generate RLN proofs on the client side using rln-pcd.

export interface IIdentityKeeper {
    getIdentityCommitment: () => Promise<bigint>;
    generateRLNProof: (...) => Promise<RLNFullProof>;
}

Other changes:

Adjust typescript/rollup/package settings to make build work

Problem

Node version incompatible with pcd: proofcarryingdata/pcd uses node v18, however, zk-chat seems not to be working with node v18

To-Do

[x] Replace RLN with rln-pcd in zk-keeper

Nice, feel free to merge when you are ready, don't worry about waiting for me to review

Try merging to see if the deployment can work with my forked Zuzalu Passport server http://<IP_ADDRESS>:3000/


Use rendererConfig.displayFormat for datetime-pickers

Fixes #756
Use rendererConfig.displayFormat for datetime-pickers, drop rendererConfig.datePickerDateFormat and rendererConfig.datePickerTimeFormat

We can't assume the order of the date and time formats.  An application could use HH:mm YYYY MM DD which would break this change.  The issue this PR is for is actually invalid after inspecting further (#756).


Cleanup types

Refactoring to make sure all types are threaded through and remove some duplicate code.

Closing in favor of: https://github.com/creditkarma/thrift-server/pull/20


chore(deps): bump path-serializer

Summary
add ansiDoubleQuotes: false, for better debug the output
Related Links
Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

Neat.


Exact match is not preferred if it is also an exact prefix

Description
When the query matches an exact entry from the list but also an exact prefix of an entry from the list, the main exact match is not always preferred.
Specifically I believe this is due to this line in matcher.lua
https://github.com/hrsh7th/nvim-compe/blob/master/lua/compe/matcher.lua#L28
and the later sorting of the matches. This puts the exact label on every match, no matter if it is an exact match or an exact prefix match. Later on the items will be sorted only based on this label.
To Reproduce
Generate list of completions with exact and exact prefix matches.
Actual behavior

Expected behavior
Here I changed the line from
      item.match.exact = input == item.original_abbr

to
      item.match.exact = input == item.original_word

It seems that you can turn off it by setting nvim_lsp { sort = false } in compe config function.

I'm not sure if this is a solution. Right now the sorting doesn't distinguish between the two cases that I described, so the final order is dependent on the input order. You can change the input order like you described and it just happens to work; but that is not guaranteed to work in all cases.


Allow to delete a classroom recording

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
In the classroom dashboard, in the recording widget, we would like to delete existing record.
Describe the solution you'd like
Add a delete icon on each row.

Managed in #2270


Cannot drag a toolwindow

I have created an app and included it as a project in another app. When it is stand alone it works fine, but when it is included in the other app it wont allow dragging of the toolwindows

What do you mean by "when it is included in the other app"?

http://idownvotedbecau.se/itsnotworking/

Very helpful!


PPC: Lifted instructions cannot properly refer to CR0, CR1, etc.

PPC replicates the flags LT, GT, EQ, SO eight times across the condition register CR. Instructions can specify which of the eight copies to affect/test with CR0, CR1, ..., CR7.
There is no mapping between these 32 bits and the flag subsystem (flag conditions like LLFC_E, flag roles like PositiveSignFlagRole, etc.).
Currently the PPC plugin just pretends that there are no copies. No matter what CRx is specified by an instruction, it is lifted to touching IL_FLAG_LT, IL_FLAG_GT, IL_FLAG_EQ, IL_FLAG_SO which have the expected roles and are associated with the expected flag conditions.

This issue seems relevant to me as well, because I can't currently correlate flags in the MSP430 Architecture to bits in the SR register.

This has been implemented for PPC as of build 1.1.1108-dev.


[WF-14978] Upgrade SmallRye OpenApi to 2.1.7

https://issues.redhat.com/browse/WFLY-14978

Hello, grimmjo. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment.

/ok-to-test

@pferraro please review


Document actionType exports

I find myself using the exported action types somewhat regularly when I combine redux-form with redux-observable or redux-saga. For example, if I want to hook into onChange actions to run async validation through a saga / epic as the user types. Sharing actions b/w reducers is also a powerful aspect of the redux architecture.
I think adding the exported actionTypes to the docs would expose people to all the possibilities this library offers.
I'd be happy to contribute this addition if it sounds worthwhile.

Sure, go ahead!
What are your ideas on how to document this?

I was thinking a sidebar section that looks pretty similar to the action creators section and briefly explains why the actions are exported at the top.
I'd also add an example to the FAQ of using exported actions types to do something fancy that isn't supported natively by redux-form. I found the 'submitting a form with websockets' FAQ example super helpful as I figured out how to make redux-observable play well with redux-form, and I think more examples of just how much you can do w/ this library would be very cool.
Examples might be onChange async validation or providing feedback to the user as inputs come in (one project I'm working on requests estimates of an advertiser's audience size via an epic as they input their targeting parameters into the form).

Because this issue saw almost no activity for a few months, I'm closing it.


why this code is so wired so syntex error keep occured?

essor.py", line 38
    f"\tProcessor: {self.processor_type}\n"
    ^
SyntaxError: invalid syntax

i think you may specify the python version is greater than 3.6


SizeObserver crusade: Dismissable

Refactor Dismissable to not need a SizeObserver and to generally tighten
up the code a bit.

cc @abarth, @HansMuller

LGTM


Bundle only target languages and lf for shikiji

See https://github.com/antfu/shikiji#fine-grained-bundle
Right now we use shikiji directly which is quite big.

This is probably not a concern since according to their docs they are loaded as async, so they are not loaded if not used. Closing this.


command-click doesn't appear to be working

See screenshot for the result. Basically, start Ensime, then command-click on an underlined term, and get an "Ensime not started" message even though there is a message saying that it was started (and there's a blue "Ensime: Full typecheck finished!" message in the status bar).

Closing this out. The issue was that the source files were in the wrong place. (For anyone else trying to figure this out, the directory structure for a project called "project" needs to look like this:
project/
project/build.sbt  # you need to make this
project/.ensime  # generated by sbt gen-ensime
project/src/main/scala/  # this is where your code goes

You must open atom up at the project root.

Hi @sbromberger ,
It seems I met the issue again. I already init my project structure as you mentioned, but Ensime can't work as before. Any suggestion?
see:

Sorry, @Saviio - I've moved away from ensime. I couldn't get it to work reliably enough for my work so I'm using something else.

@sbromberger Hi, actually I already in the root of project
for example, I hava a project called demo
mkdir demo
cd demo
sbt gen-ensime
atom .
create src/main/scala/main.scala
CMD+SHIFT+P & Ensime start & CMD + click (then get a error like you

Or you just suggest I move the src into the project which is created by ensime?

src goes under project.

I tried, but nothing changed.

@Saviio @sbromberger I've created a minimum sbt project with instructions and what you might expect to see with atom: https://github.com/d6y/ensime-atom-example
Hope that's of some help

Hi @d6y  Thank you for your reply, I have tried you solution but it still not working.
Actually I used ensime(0.26) atom some time ago, however after I update the ensime package to 0.38.1, it doesn't work like before.
I already try to clear my cache and re-install my ensime and sbt, nothing changed.
rm -rf ~/.ivy2/cache rm -rf ~/.coursier/cache

@Saviio Sorry for super late reply. Can you post your .ensime? And possible a stack trace from the console: cmd-option-i to bring up chrome dev tools on mac.


Does this vfs support update, delete and insert?

I have installed dependency, but it seems that there is only one query() operation. In fact, I have not understood its working principle. If only there was a more detailed introduction. Now it seems that there is only one example of query

Introductory blog post was this: https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/
Definitely worth a read!
I also think it would help to put the link in the readme, near the beginning


Increase color contrast of disabled radios and checkboxes

Natayi pointed out how our disabled radios and checkboxes have poor color contrast.
Apparently certain disabled UI elements don't need to pass AA or AAA contrast to be considered accessible. When a something is hard to read, users don’t bother with it, which is the intent of a disabled button or label.

Text or images of text that are part of an inactive user interface component, that are pure decoration, that are not visible to anyone, or that are part of a picture that contains significant other visual content, have no contrast requirement.

However I'd argue you still need to see what's disabled.
For this reason, I've gone with ash-darkest as a base color for disabled states. It doesn't quite pass AA, but it doesn't need to. slate-lightest is the next step darker and does pass contrast, but it's much closer to the color of an enabled input + label.

Preview checkboxes and radios.


Python: script.getPhoto don't work on 2D model

Using script.getPhoto() at python script and executing it on the 2D model causes the error:
in execMain ValueError: Called getPhoto() -> QVector, return type 'QVector' is ignored because it is unknown to PythonQt. Probably you should register it using qRegisterMetaType() or add a default constructor decorator to the class.
Steps to reproduce the behavior:

Execute this script

import sys
import time
import random
import math

class Program():
  __interpretation_started_timestamp__ = time.time() * 1000

  pi = 3.141592653589793

  def execMain(self):

    print(script.getPhoto())

    return

def main():
  program = Program()
  program.execMain()

if __name__ == '__main__':
  main()

OS: Windows

Fixed in 2020.1


Feature/graph analysis ipyleaflet visualisation

Introducing GeoGraphViewer 🎉 ... this PR adds the GeoGraphViewer visualisation class and a bunch of code that enables it. As the GeoGraphViewer is a fairly complex widget, this PR is somewhat lengthy, apologies in advance! Thanks a lot for your review!
Main changes:

All GeoGraph visualisation code now lives in visualisation/*. The old models/visualisation.py has been removed.
Added GeoGraphViewer class (in visualisation/geoviewer.py): this allows us to visualise GeoGraphs interactively.
Added control widgets (in visualisation/control_widgets.py): these make up the side control panel seen in demos. See architecture image below for a rough outline how they relate and are added to the GeoGraphViewer.

Other changes:

Added different utils that are used by GeoGraphViewer. These are in

visualisation/widget_utils.py
visualisation/folium_utils.py (old functions from visualisation.py, no need to review)
visualisation/graph_utils.py (old functions from visualisation.py, no need to review)

Added a new test case to data_loading/test_data.py
Added visualisation/style.py that contains constants defining the plotting style of graph, etc. in GeoGraphViewer.
Added ipyleaflet and jupyter lab dependencies in requirements/dev-requirements.txt
Added misc exploratory notebooks that helped me develop the viewer, for reviewers only notebooks/exploratory/rdnfn-8-polesia-geographviewer-demo.ipynb will likely be interesting, which is the demo on the Polesia data. Feel free to use it, it should work with the environment created via make env (if you updated it to new requirements)
The old folium code lives on without further development in the FoliumGeoGraphViewer class (in geoviewer.py)
Updated readme to new visualisation folder

Architecture

GeoGraphViewer demo

Love it already before reviewing! 😉 😍

Thanks a lot for the review @herbiebradley! Was able to address most points in 42eae9e, and created Issue #50 for the remaining performance improvements, to be dealt with at a later point.


Instructions for mac installation

to any Mac users looking to use the Typertools linked in #free-resources, download the .dmg file, open it, and you'll have two files.  "Install.cmd" and a folder named "typertools" folder.  Before running the "install.cmd," copy the "typertools," open finder, hold option and go to your Library.   From here go to Adobe -> CEP -> extensions and copy the folder in there.
Then run the "install.cmd," I still got error messages, but when I went into PS, the typertools menu was there under Window->Extensions
It's important to note which "Library" you go in to, you'll know your in the right one if there is nothing else in it before you copy the "typertools" folder (since Mac has like 3 different libraries).
From Urbs on SS Discord

Hello~ how can you run the install.cmd? :( Mac can't run ".cmd" @.@

@thiennhing In version 1.4.3 a mac installer was added. There is an install.sh, launch it from the terminal.

@Swirt I'm sorry, I don't understand what the terminal say T.T not just open and it will be done, right? Need to do some steps. I try to search "how to run .sh on mac" but I still can't know the way exactly, stuck for hours :(

I don't have a mac, I can only translate other people's words. To install, it should be enough to do the following in the terminal:
cd <directory of the unpacked archive> ; sh ./install.sh

@Swirt thank you for your answer but I can't  hmmm. I gave up...

@Swirt the install_mac.sh script included in the release zip needs to have LF line endings. it looks like it currently has CLRF line endings which may cause errors when running sh ./install_mac.sh

yeah, that CRLF line endings is the issue with the current mac installation.
i changed that [DOS Format] to [UNIX format] with nano and the script worked for me.
also, about the first post of this thread, i'm really sorry for the mess i made there.
in my defense, i was just helping someone through direct messaging, then that dmg got out and shared in that server.

Hi! Was someone finally able to make it work on Mac (M1 specifically)? I looked for hours into it, without success. I finally put the folder directly in CEP/extensions and Typer Tools does appear in Legacy Extensions now, but the window is blank and I have a message error saying that <extension ''Typer Tools'' could not be loaded.>
Of what I understood from the conversation, it would be a problem with the script? Would it be possible to update it then? I don't know a thing about codes ;-;
Thank you in advance for your answer~
And thank you a lot for sharing that extension @Swirt , I got to use it a bit when I had my PC and it is really useful 😁

mehzad, could you send me your modified script? I keep having issues with the install: there is no app folder in the typertools extension folder and an error message keeps popping when Photoshop is launching. Thanks.

@Swirt the install_mac.sh script included in the release zip needs to have LF line endings. it looks like it currently has CLRF line endings which may cause errors when running sh ./install_mac.sh

mehzad, could you send me your modified script? I keep having issues with the install: there is no app folder in the typertools extension folder and an error message keeps popping when Photoshop is launching. Thanks.

Please any guide how to install typertools on mac os terminal????
Please any help...


Missing "aks-preview" prerequisite for enabling OIDC issuer support (required for workload identity)

The only az CLI prerequisite specified is: This article requires version 2.47.0 or later of the Azure CLI.
However, this is not enough - I had to update the aks-preview az cli extension as well (az extension update --name aks-preview)
Without it, I got the following error: unrecognized arguments: --enable-oidc-issuer

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

ID: 773aa5fa-a931-f6f1-f339-6367cef12209
Version Independent ID: 48c7d57f-55a0-5894-5379-ef7d6ed1e24d
Content: Deploy and configure an Azure Kubernetes Service (AKS) cluster with workload identity - Azure Kubernetes Service
Content Source: articles/aks/workload-identity-deploy-cluster.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@ohads-MSFT
Thanks for your feedback! We will investigate and update as appropriate.

@ohads-MSFT - Workload identity is GA, so the dependency on the aks-preview extension is no longer a requirement. While I've been building disposable AKS clusters recently for testing and having no issues in my sub, I just re-tested with Az CLI version 2.50 (from Azure Cloud Shell) and I am not able to repro your issue.
Can you confirm what version of Az CLI your session was running?

@ohads-MSFT - Workload identity is GA, so the dependency on the aks-preview extension is no longer a requirement. While I've been building disposable AKS clusters recently for testing and having no issues in my sub, I just re-tested with Az CLI version 2.50 (from Azure Cloud Shell) and I am not able to repro your issue.
Can you confirm what version of Az CLI your session was running?

The latest (2.50):
{
  "azure-cli": "2.50.0",
  "azure-cli-core": "2.50.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {
    "adp": "0.1.0",
    "adp-dev": "0.1.0",
    "aks-preview": "0.5.5",
    "application-insights": "0.1.16",
    "resource-graph": "1.1.0"
  }
}

When I run  az aks update --enable-oidc-issuer the first line says:

The behavior of this command has been altered by the following extension: aks-preview

Which suggests the aks-preview extension is used (whether needed or not).
It should be at least mentioned, something like "if you have the aks-preview extension installed, update it as well"

@ohads-MSFT - Okay, so you're trying to update a cluster and it's failing. Can you share the complete command line your passing to the CLI for the update process?

@ohads-MSFT - what we believe is happening is the older version of the aks-preview extension is stepping on the CLI commands, which we've verified work when the aks-preview extension isn't installed. To resolve this, you can either uninstall the extension (following the instructions here for Az CLI extensions) or upgrade the aks-preview extension. I would remove the extension and run the command so that you can entrust what we are saying is true.

@ohads-MSFT - what we believe is happening is the older version of the aks-preview extension is stepping on the CLI commands, which we've verified work when the aks-preview extension isn't installed. To resolve this, you can either uninstall the extension (following the instructions here for Az CLI extensions) or upgrade the aks-preview extension. I would remove the extension and run the command so that you can entrust what we are saying is true.

I agree with everything you said, all I'm suggesting is to mention this behavior in the docs. It was frustrating to have the command fail even though I had all the specified prerequisites.

@ohads-MSFT
Thank you for your idea. We will work with content owner @MGoedtel and review to add needed information as required.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Fix minor training bugs

peg pytorch-lightning version to 1.6.5 to prevent bug TestTubeLogger errors during training
It might not be the best solution to set the pytorch-lightning to a static version, but it works as a bugfix until an enhancement is merged.
coerce lightning_config.trainer.gpus to string so it does not cause error when it is an int

Fixes #1168 and #773

Thanks for your kind response. Maybe a note in the README with the fixes/workarounds would allow others to skirt these issues in the meantime...


Looking for peers

INFO [09-09|17:04:48.810] Looking for peers                        peercount=0 tried=114 static=0
INFO [09-09|17:04:58.830] Looking for peers                        peercount=0 tried=153 static=0
INFO [09-09|17:05:09.322] Looking for peers                        peercount=0 tried=96  static=0
INFO [09-09|17:05:19.343] Looking for peers                        peercount=1 tried=51  static=0
INFO [09-09|17:05:29.814] Looking for peers                        peercount=0 tried=173 static=0
INFO [09-09|17:05:39.818] Looking for peers                        peercount=1 tried=104 static=0
INFO [09-09|17:05:49.866] Looking for peers                        peercount=1 tried=146 static=0
INFO [09-09|17:05:59.983] Looking for peers                        peercount=2 tried=90  static=0
INFO [09-09|17:06:10.018] Looking for peers                        peercount=1 tried=167 static=0
INFO [09-09|17:06:20.175] Looking for peers                        peercount=1 tried=89  static=0
INFO [09-09|17:06:30.274] Looking for peers                        peercount=1 tried=106 static=0
INFO [09-09|17:06:40.472] Looking for peers                        peercount=1 tried=102 static=0
INFO [09-09|17:06:50.536] Looking for peers                        peercount=1 tried=175 static=0
INFO [09-09|17:07:01.218] Looking for peers                        peercount=1 tried=135 static=0
INFO [09-09|17:07:11.229] Looking for peers                        peercount=1 tried=117 static=0
INFO [09-09|17:07:21.315] Looking for peers                        peercount=1 tried=120 static=0
INFO [09-09|17:07:31.320] Looking for peers                        peercount=1 tried=96  static=0
INFO [09-09|17:07:41.419] Looking for peers                        peercount=1 tried=85  static=0
INFO [09-09|17:07:51.452] Looking for peers                        peercount=1 tried=163 static=0
INFO [09-09|17:08:01.518] Looking for peers                        peercount=1 tried=95  static=0
INFO [09-09|17:08:11.577] Looking for peers                        peercount=1 tried=94  static=0
INFO [09-09|17:08:21.712] Looking for peers                        peercount=1 tried=105 static=0
INFO [09-09|17:08:31.713] Looking for peers                        peercount=1 tried=170 static=0
INFO [09-09|17:08:41.718] Looking for peers                        peercount=1 tried=114 static=0
INFO [09-09|17:08:52.006] Looking for peers                        peercount=1 tried=161 static=0
INFO [09-09|17:09:02.023] Looking for peers                        peercount=2 tried=131 static=0
INFO [09-09|17:09:22.107] Looking for peers                        peercount=2 tried=139 static=0
INFO [09-09|17:09:32.570] Looking for peers                        peercount=2 tried=105 static=0
INFO [09-09|17:09:42.707] Looking for peers                        peercount=2 tried=110 static=0
INFO [09-09|17:09:52.801] Looking for peers                        peercount=2 tried=132 static=0
INFO [09-09|17:10:02.851] Looking for peers                        peercount=2 tried=164 static=0
INFO [09-09|17:10:12.944] Looking for peers                        peercount=2 tried=72  static=0
INFO [09-09|23:53:37.332] New local node record                    seq=1,699,529,870,615 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=30303 tcp=30303
INFO [09-09|23:53:39.022] New local node record                    seq=1,699,529,870,616 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=45278 tcp=30303
INFO [09-09|23:53:42.413] New local node record                    seq=1,699,529,870,617 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=30303 tcp=30303
INFO [09-10|00:01:16.858] New local node record                    seq=1,699,529,870,618 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=65019 tcp=30303
INFO [09-10|00:55:33.019] New local node record                    seq=1,699,529,870,619 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=30303 tcp=30303
INFO [09-10|01:18:20.552] New local node record                    seq=1,699,529,870,620 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=34713 tcp=30303
INFO [09-10|01:33:51.078] New local node record                    seq=1,699,529,870,621 id=dc0b60b53f8b847b ip=<IP_ADDRESS> udp=30303 tcp=30303
WARN [09-10|03:57:06.963] Served eth_hashrate                      conn=<IP_ADDRESS>:59992 reqid=1 duration="20.98µs" err="the method eth_hashrate does not exist/is not available"
Is it okay, or do I need to change any values in the parameters of the docker-compose.yml file?

Have you resolved? Because I'm facing the same issue

Hey Swapnil,
in my case, it was normal logs. It took a few days to sync the Base archive node without making any changes to the Docker Compose file, so just wait for some time; it should work in your case as well.

few days

I don't think so I found out that the data was corrupted due to low memory issue so I cleaned everything up and reran base node and it synced in 2hrs


License

@alexeichhorn Would you kindly provide a LICENSE model for usage of YouTubeKit?

Sure, just added one


How do you enable 'Create Account'?

I see the option from a private browser window, but it shows a disabled cursor on hover. Can't find a setting to enable it in the UI as an admin.  Is there a way to enable this?

From the admin screen, there should be an add user button. This will create a link that you can use for yourself or send to someone to create an account.
By default public access to creating accounts is disabled. You can enable it in the DB if you aren't worried about random people creating accounts. I can send you some command line instructions if that is what you are wanting.

I'll put my suggestion in story form, but I would love to see this as an option in the admin settings that you already have.
As an administrator of a Databag server, I would like to have a simple toggle switch that allows me to enable the "Create Account" option so users can create their own accounts without needing a specific invite.
Optionally, it would be nice to be able to list a set of domains for which a prospective user would need to enter as part of their email address in the create account form, as a simple filtering method to limit who signs up.  (e.g. I allow databag.org, opensourceisawesome.com, so any person entering an email address with either of those domains would be allowed, and anyone else would be rejected.

The first point is straight forward, and I will add it to the top of my backlog before the tutorials as it will be fairly easy.
The second point is less clear to me. The accounts on a node are not related to email addresses. It's misleading that I use the '@' and has confused other people, so I would like to change it if there is another appropriate character. Say you create an account on your node with dns 'example.com', and you pick an available handle 'me'. Your account referenced in other areas of the app is listed as<EMAIL_ADDRESS>You can't create<EMAIL_ADDRESS>on the node with dns name 'example.com'.

I understand your point. Let me think about it a bit, and see if I come up with another way for part 2.

I'd second that making open registration possible through the dashboard would be nice.

Here is the command line steps for setting open access until I can add the feature:
sqlite3 /var/lib/databag/databag.db
sqlite>  insert into configs (config_id, bool_value) values ('open_access', true);
sqlite>  insert into configs (config_id, num_value) values ('account_limit', 128);

latest container & webapp now have this as a UI options. thx!


bug: should_panic does not work in some cases

Bug Report
Cairo version:
Commit: 775dded594e182adf09d13a91e269e661150b8e7
Current behavior:
should_panic does not work if a panic is triggered by a call. when a call to a function panics in a test then the test fails (actually it fails badly, not a failing test, the test panic) even when  adding should_panic.
Expected behavior:
Test should pass and not fail badly.
Related code:

#[test]
#[should_panic]
fn reproduce_bug() {
    trigger_panic();
}

fn trigger_panic() {
    let mut data = array_new::<Array::<u128>>();
    let len = array_len::<Array::<u128>>(data);
}

Note that this was not a bug in should_panic - you got a panic from the internal compiler (a rust panic)
this should_panic just makes tests expect a panic (which your code doesn't actually cause)

Note that this was not a bug in should_panic - you got a panic from the internal compiler (a rust panic) this should_panic just makes tests expect a panic (which your code doesn't actually cause)

ok nice, closing then. thanks


False positive 942440 Sql Comments sequence not applicable to all Sql Servers

Description
Not available on Azure WAF
Audit Logs / Triggered Rule Numbers
942440 is being triggered due to # characters in any string.
The rule is blocking requests which are not applicable to all SQL environments.
Microsoft SQL server does not use # comments, but disabling this rule to avoid FPs leaves the double dash -- and /**/
comments vulnerable.
Would it be possible in a future release to separate out the SQL Comment Sequence regex into versions of SQL, MYSQL, MongoDb etc for better fine tuning.
Your Environment

CRS version v3.1.0
Paranoia level setting: n/a
Web Server and version (e.g., apache 2.4.41): Azure Application Gateway V2
Operating System and version: Azure

Confirmation
[ x ] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

Thank you for reporting @Rmh-Tech and sorry for the inconvenience.
Generally, CRS does not know about the backend, so we can not distinguish between the software being used there and we need to make assumptions. There is little point in running UNIX RCE detection when your backend is Windows, etc. And this leads to problems like yours.
Your proposal is therefore a potential solution to this problem. Yet it is also one that makes the rule set much more complex. And it's not like it would be too simple right now. One could think of a MS-SQL rule exclusion package, yet you observe correctly, that disabling this rule also disabled any other comment detection. So it is not quite obvious.
The rule in question is a paranoia level 2 rule. On PL2, you are expected to encounter FPs and being able to handle them. We are only interested to remove them from the rule set if it is not too much of a hassle and here it looks like it would be a lot of hassle.
Given this is an SQLi rule and there are several dozens alternative SQLi rules around, I would recommend to disable the rule in your context, as narrow as possible of course. This opens the hole you describe, but it's not like we would be perfect anyways. So opening in this hole and relying on the other SQLi rules to detect injections still feels responsible to me.
I am now closing this issue. If you see a different solution, please respond and open the issue again.


prevent Io::into_raw_fd from dropping self

Currently it closes its own fd immediately before returning. It looks like this affects UnixSocket too, since it contains an Io, though I'm not sure if either of these have any callers currently?
Related thought: Although I don't think it's exposed publicly, the From<RawFd> implementation for Io lets safe code create two Io's from the same fd, which leads to a double close. I think that sort of thing is why from_raw_fd is unsafe. I'll put up a second PR to see what deleting that safe constructor looks like, and maybe you can let me know what you think?

Thanks for this. Merged here: f72e92d384b22f1f7dc2c4f6897b7d1952c4e72e


Remove annotation to enable add-capacity for csv

Removed a flag which is disabling UI components in Console.
Used to track migration of features from OCP to ODF.
Signed-off-by: SanjalKatiyar<EMAIL_ADDRESS>

Do not merge right now... waiting for https://github.com/openshift/console/pull/11515 to get closed before merging.
not adding hold tag otherwise CI will not run.

/lgtm

@iamniting plz merge this. Thanks.

@umangachapagain plz merge this. Thanks.

/cherry-pick release-4.11


Bug: Infinite loop in catalog grid

Type: major
Describe the bug
The catalog grid currently uses much more CPU power than it should be. This causes the grid to become very sluggish. This was confirmed by adding a console.log to componentDidUpdate in CatalogGridItem
To Reproduce
Steps to reproduce the behavior:

Open CatalogGridItem.js
add a console.log to componentDidUpdate
Visit Catalog Grid page in component lib docs, observe console.log running infinitely

Expected behavior
Not an infinite loop! componentDidUpdate should only happen when props are updated.

:tada: This issue has been resolved in version 0.39.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: