what is going on when "recompilation" happens in a for loop

Hi everyone,
from the previouos threads, we know that the main factor for slow inference is "change in input tensor size causing recompilation", now if you may, i would like to break down this statement in a more clear way:
notice for the following code: (ps: it is the colab format i am using)
def inference():
    ...
    rng = jax.random.PRNGKey(42)
    outputs, _ = model_apply(params, state, rng, frames, query_points)   ## highlight 1
    ...
    return ...

model = hk.transform_with_state(build_model)
model_apply = jax.jit(model.apply)   ## highlight 2

for video in videos:
    ...
    tracks, visibles = **inference**(frames, query_points)  ## highlight 3

May i ask:

Concretely, in which call, the input tensor size shall be fixed to avoid recompliation? (is it inside inference() or in highlight 1 or other)
where indeed is compilation/recompilation happens?

Conjecture:
if it is "jax.jit" that causes compilation, then supposably from highlight 2, a compiled version of model_apply is returned. After this, no other jax.jit is called, we simply enter a for loop that continues calls for "inference()". Everytime inference is called, it used the pre-compiled version of "model_apply", it do not have access to the outside "jax.jit". So where exactly does this recompilation stem from?
Much thanks to one who read through!

This is standard behavior of JAX.  A function that's wrapped in jit will be compiled the first time it runs.  Then the compiled version will be cached.  Thus, if the jitted function is called with arguments of the same sizes and types, then it will use the cached version.  Otherwise it needs to recompile.  Every function in python has associated state (i.e., jax.jit returns a function which is a closure), so references to the compiled computation graph are stored in the state associated with the function.
In the future, this kind of question might be a better fit for a the JAX repository, as this behavior isn't specific to TAP/TAPIR.

Thanks @cdoersch , i will pay close attention to where i post issues to. Thank you for your explanations on it, clear and concise.


Add username and password for NacosDataSourceProperties

Which Component
Sentinel Nacos DataSource
Is your feature request related to a problem? Please describe.
If nacos needs username and password to access, NacosDataSourceProperties have not the two properties for set.

Has been resolved, the next version will be released.


Toolchain

Replace gulp with npm scripts
One big difference is a .tar.gz is generated instead of .zip.
Fixes: #6754 (npm run dev)

This is here for comments.
No security warnings left.

.zip might be easier for some users than .tar.gz. Would it be hard to keep it as .zip?

.zip might be easier for some users than .tar.gz. Would it be hard to keep it as .zip?

There is a package for that: https://www.npmjs.com/package/npm-pack-zip

i guess it's finally time? ;)
https://github.com/chartjs/Chart.js/pull/6835/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

thanks for the idea :-)


Move WhiteBox methods used by MockGateway to a new class

From<EMAIL_ADDRESS>on October 12, 2008 21:50:55
To avoid cyclic dependencies we must move the WhiteBox methods used by
MockGateway to a new class. WhiteBox may delegate to this new class if needed.
Original issue: http://code.google.com/p/powermock/issues/detail?id=26

From<EMAIL_ADDRESS>on November 03, 2008 23:48:56
Status: Fixed


Support for SAML2.0 asynchronous (front-channel) bindings for single logout

Currently, WSO2 IS supports back-channel SLO requests with SAML SOAP binding. But Spring SAML Extension does not support SOAP binding in SLO and it supports only HTTP-Redirect and HTTP-POST bindings in SLO [1].
Therefore it is required to support asynchronous (front-channel) bindings (such as the HTTP Redirect, POST, or Artifact bindings) for single logout in WSO2 IS.
[1] https://docs.spring.io/spring-security-saml/docs/current-SNAPSHOT/reference/pdf/spring-security-saml-reference.pdf

Similar issue[1].
[1]. https://github.com/wso2/product-is/issues/2111


Show which quota was exceeded

I am currently in the development phase of a project using the Free tier for my web app plan. The app services frequently get stopped for exceeding the quota, but when I check the Quota blade none of them show as being fully used. Checking the Metrics also doesn't show excessive usage for CPU time, connections, etc. Where should I be looking to determine which quota I am exceeding?

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

ID: 2550993f-34f1-d963-3ee5-3dcebe2a64d7
Version Independent ID: 3da9bc96-6e24-54fa-bd99-6a6a704f583a
Content: Monitor apps - Azure App Service
Content Source: articles/app-service/web-sites-monitor.md
Service: app-service
GitHub Login: @btardif
Microsoft Alias: byvinyal

@csteelatgburg Thanks for the feedback! We are currently investigating and will update you shortly.

@csteelatgburg Thanks for asking question! If I have understood right, you are using the Free Tier for your WebApp. The sites running in FREE tier have quota restrictions on usage of CPU time till 60 minutes, Memory per hour  1024 MB per App service plan, Bandwidth of 165 MB and the sites are suspended whenever they hit these resource limits.
Also note that the free tier is for testing purposes, and it will always exceed quota if there is a production size application running on it.
To elaborate more the site running in FREE tier uses shared compute instance, means multiple customers apps will be running on the same machine/instance , so if some other site on that instance is using more CPU, Memory or exceeding the other quota limit than it may affect your application as well.
So, it is recommended you move your applications on the dedicated instance by scaling up your site to higher BASIC/STANDARD pricing tier to rectify this problem. In BASIC/STANDARD mode there are no quota restrictions except the disk size. When you scale-up there will be a billing against the resource.
You may refer the below links for more details:
https://azure.microsoft.com/en-in/pricing/details/app-service/
https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits

@csteelatgburg Since We didn't hear from you, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


ExternalMailExpiryInDays para description update

Per Issue #5603

Docs Build status updates of commit 429c8df:
:clock10: Full build: the average full build time is 18 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 429c8df:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-OMEConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-OMEConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 216dcd0:
:clock10: Full build: the average full build time is 18 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 216dcd0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-OMEConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-OMEConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Turning TX offload off on DHCP interfaces.

What this PR does / why we need it:
Certain operating systems, like cumulus linux, won't get an IP address from the built-in dhcp server. This PR turns off tx checksum offloading.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1715
Special notes for your reviewer:
ethtool.go was taken from here: https://github.com/weaveworks/weave/blob/master/net/ethtool.go
I think this should be fine. That repository is covered by Apache 2 licensing. If we were to add it in as an external dependency it would add way more code that needed. The code is just a smaller wrapper function around a linux syscall.
Release note:

NONE

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically.
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

/cc @booxter

Seems like virt-launcher won't have enough privileges to do this. That means I have to go through virt-handler correct?

@gageorsburn  I am not sure this is a privilege issue. I was able to installed ethtool inside the virt-launcher pod and run ethtool -K k6t-eth0 tx off and it works also for the vnet0 interface

@SchSeba  Is this something that really needs its own functional test? Kind of hard to verify without ethtool being in the launcher during a test which is also hard to get into the virt-launcher container during runtime since it has no real internet connection. Ethtool would need to be baked into the base image most likely. Unless you know of how to make the syscall from the test?

@gageorsburn
I am not sure if install ethtool in the virt-launcher container can be a bad thing @rmohr ?
for now let's run the tests

ci test please

@SchSeba not much of a need for it anymore since i'm doing it with python syscalls. I don't believe any of the test failures are mine. What's going on with CI?

@SchSeba not much of a need for it anymore since i'm doing it with python syscalls. I don't believe any of the test failures are mine. What's going on with CI?

@gageorsburn it actually looks pretty good in your case. I am working on finding out what is going on. :/

@SchSeba Done! Sorry I wasn't quite thinking about virt-launcher being fedora and such... Man this container stuff gets confusing some times huh ;).

ci test please

Will we have to wait for CI to get fixed for this to be merged?


ext/mbstring/php_mbregex.c:457:60: error: incomplete definition of type 'struct php_mb_re_pattern_buffer'

Output
.phpbrew/build/php-5.5.38/ext/mbstring/php_mbregex.c:457:60: error: incomplete definition of type 'struct php_mb_re_pattern_buffer'
        if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax) {
                                                             ~~~~~^
/usr/local/include/oniguruma.h:673:8: note: forward declaration of 'struct php_mb_re_pattern_buffer'
struct re_pattern_buffer;
       ^
ext/mbstring/php_onig_compat.h:4:37: note: expanded from macro 're_pattern_buffer'
#define re_pattern_buffer           php_mb_re_pattern_buffer
                                    ^

I looks like this bug (which is patched/fixed in 5.6+)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226717
Command
phpbrew install -j $(nproc) 5.5 +default +mysql +fpm +gd \
  +bz2="$(brew --prefix bzip2)" \
  +curl="$(brew --prefix curl-openssl)" \
  +zlib="$(brew --prefix zlib)" \
  +iconv="$(brew --prefix libiconv)" \
  -- --with-gd=shared

Platform
OS: OSX 10.14.3
Running PHP:  7.1.x (via Homebrew)
Installing PHP: 5.5.38

I appreciate 5.5 is old and unsupported...

Hello Team,
I'm getting the same issue while installing php 7.0.27 in OSX 10.14.3. Could you please help?

According to the details above, it's an upstream issue caused by the incompatibility between the dependencies. Given that it happens on an ancient PHP version, we don't have the needed resources to investigate the issue and possibly backport the patch.

@morozov  I had the same problem. When installing php7.0

Hello Team,
I'm getting the same issue while installing php 7.0.27 in OSX 10.14.3. Could you please help?
Here's a 7.0 patch, it does compile (oniguruma 6.9.9) but I have no idea how to test if it works OK (yet), it's a "backported" 5.6.40 patch :
--- php_mbregex.c.orig  2018-12-04 17:22:55.000000000 +0000
+++ php_mbregex.c 2023-10-28 18:57:01.128318869 +0000
@@ -452,7 +452,8 @@
OnigUChar err_str[ONIG_MAX_ERROR_MESSAGE_LEN];

    rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen);

  if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {

+//     if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {
+if (!rc || onig_get_options(rc) != options || onig_get_encoding(rc) != enc || onig_get_syntax(rc) != syntax) {
if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, enc, syntax, &err_info)) != ONIG_NORMAL) {
onig_error_code_to_str(err_str, err_code, &err_info);
php_error_docref(NULL, E_WARNING, "mbregex compile err: %s", err_str);


”Băcești” is listed in the drop-down menu

Description:
"Băcești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Băcești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Băcești, VASLUI".


install will not take place if you clone the repository (first time usage)

Solution:
- name: Netdata check if first time install
  stat: path=/etc/netdata
  register: path_netdata

and to determine whether to install:
- name: "Installation"
  shell: cd /usr/src/netdata/ && ./netdata-installer.sh --dont-wait --libs-are-really-here
  notify:  Restart netdata
  when: gitupdate.changed or not path_netdata.stat.exists

(great project btw. Thanks)

@renewfrl could you gove more context? What is the error without your fix? Have you maybe tried our newest version?
I need those because our tests doesn't show any errors on first time installations.


For "science" 💪 fix typo on main page

@roberttlange Great notes 👍 I was there ➡ https://visual-ml-notes.github.io/gallery/archive/2019-neurips/19-12-Vinyals.jpeg

Thank you @8bitmp3 for the kind words and spotting this fundamental typo 🤗 ! Have a great year and sorry for the late reply.

Thank you @8bitmp3 for the kind words and spotting this fundamental typo 🤗 ! Have a great year and sorry for the late reply.


Fixes for some minor documentation typos

Thanks! I'll merge this pull request once CI completes.


Please provide a license.

Thanks for sharing this. Could you go ahead and please include an appropriate license with this repository?

Thanks for the notes, Shea, I'm new to this!
If I use a similar license to that Matthias used in the KMeans repository, can you comment on whether that will suffice?

An MIT license seems reasonable.  There are many viable options, it's just important to choose one of them.  Thanks for getting to these.  I'll go ahead and rename the repo and close out that last issue.


the not so useful 'overflow reading bit stream' message

Hi! I went to a trap that is not very good implemented in qpdf.
When I have written my hint tables
into the hint stream with my own PDF generator,
I tried to write the bit stream in little endian
instead of big endian as is written in the reference.
When I checked my generated PDF with qpdf --check-linearization ,
I got an error message saying 'overflow reading bit stream'
that was not so useful for me, because
the error was in the first hint table's header not on the end of the stream.
When I am looking for other possibilities, when this can happen
this error can come out when the hint stream contains
only a little 1bit error somewhere in the hint table.
So what I am suggesting is a more detailed solution
for checking the hint table fields through processing the hint stream.
Anyway, qpdf is a nice project, well done, guys!

I've added a comment to the to-do list in connection with a different issue. I'm going to go ahead and close this because it's very old and I don't anticipate actually getting to it in the foreseeable future.


(Rebased) Introduce PyData Sphinx theme and restructure docs accordingly

This a rebased version of

https://github.com/py-why/dowhy/pull/568

So this PR is not on top of

https://github.com/py-why/dowhy/pull/561

and therefore requires the docs to be manually built and deployed, just as it was. I figured, it might make things simpler when we first introduce the new theme and then introduce versioned docs.

Never mind, I realized, we should actually first merge auto-generation, then introduce the new theme.


PDFGenerator: An analysis tool for quick game overviews

This PR adds the analysis folder, and pdfReportGenerator.py, a tool to generate portable PDF reports on Battleship games played.
pdfReportGenerator.py is a command-line tool. Accepted arguments:

--source, required for any command, the name of the folder the .csv files describing the game are contained in
--game, (requires source to be set), a valid game ID for a battleship game, allows to select and generate reports for a specific pair of participants
--round (requires source and game to be set), a valid round ID for a battleship game, allows to generate reports for a specific board in a specific pair of participants
--list_rounds (requires source and game to be set), prints a human-readable list of the round IDs for a specific pair of participants in the order that they were played
--list_games, (requires source to be set), prints the list of game IDs (i.e. the list of pairs of participants) for a specific folder of games
--generate_report, which generates the PDF reports: if just --source is set, generates reports for all games played for all pairs of participants; if --source and --game are set, generates reports for all the games for one pair of participants; if --source, --game, and --round are set, generates reports for only one board.
--ships, set by default to [1,2,3,4], sets the list of possible ship labels in the report
--total_questions, set by default to 10, sets the number of questions available to participants at the start of the game

Thanks also for the thorough PR comments/docs!


Support for Spanner Emulator

cloud sdk version 287.0.0 has release a beta spanner emulator. I am wondering if the project can start with the support for it.

Related: we have a Pub/Sub emulator rule that only lives in Spring Cloud Streams tests. I wonder if we should create a spring-cloud-gcp-test-support project to put those emulator rules in.

I wonder if we should create a spring-cloud-gcp-test-support project to put those emulator rules in.

I like the idea.
Also, this tasks will help to find a place for #2281

@elefeint thinking about having spring-cloud-gcp-test-support and moving the emulators auto-configuration doesn't seems right due to can be also apply for local development. spring-boot provides database, ldap and mongo for local development but in the test-support we can provide another kind of stuff like annotations which help and improve the emulators autoconfiguration for test specifically.

Right, there are two separate things. One is making emulator work for general case (@dmitry-s is looking into that; it might Just Work because we don't instantiate a transport channel ourselves, relying instead on the client library's default behavior).
The other one is easing use of emulator in integration tests; that's what the test support could help with.

Closed in favor of #2318


create synchronous version of HTTP calls

https://github.com/mozilla-services/screenshots-loadtests/blob/master/utils.py#L113
so people don't have to do all that

cc @rpappalax @pdehaan


Rremove gotestfmt 2 take 2

Take 2 on removing gotestfmt. Since extension workflows still use it, retain the installation stanza, but not actually use in tests.
https://github.com/pulumi/pulumi-azure-native/pull/3404 is promising but to be evaluated later I think?
Previously: https://github.com/pulumi/ci-mgmt/pull/1069 https://github.com/pulumi/ci-mgmt/pull/1071

Also for evaluation later is gotestsum. It supports the github actions format and will stream the results so you see the results of the tests as they finish. I've been using it in pulumi-cdk and it seems to work well.
https://github.com/pulumi/pulumi-cdk/blob/0cad9088ca9007cc5942c578b8e62588df82f5bc/.github/workflows/run-acceptance-tests.yml#L101


how use ngrx/store and angular-redux/form ?

Hi, how can use ngrx/store and angular-redux/form ?

Those are two separated packages, you can not use them together. @ngrx/forms are currently in state of a draft https://github.com/ngrx/core/issues/12


Can you please elaborate how to call this function ?

I can't figure out how to call the below function, since there are not many examples. Can you please show me how to call it with ffi-rs? Thanks in advance.
typedef struct
{
uint8_t bytes[16];
} my_struct_t;
extern "C" int func1 (
const my_struct_t* param1,
const char* certs[],
uint32_t ncerts,
uint32_t* cert_index
);

At first, you should figure out each function params type.
In this case
The first param is a pointer to a structure. second param is string array, the third param is u32 number, the fourth param is a pointer to u32.
There are two ways to create struct pointer both createPointer or pass object directly to ffi-rs.
Here is an example
const cert_index = 100
  const structPointer = createPointer({
    paramsType: [{
      bytes: DataType.U8Array
    }],
    paramsValue: [[]]
  })
  const intPointer = createPointer({
    paramsType: [DataType.I32],
    paramsValue: [cert_index]
  })
  load({
    library: '',
    funcName: 'func1',
    paramsType: [
      DataType.External,
      DataType.StringArray,
      DataType.I32,
      DataType.External
    ],
    paramsValue: [
      unwrapPointer(structPointer),
      ["foo"],
      100,
      intPointer[0]
    ],
    retType: DataType.I32
  })

Here is my code. The c function can be called now but threw an exception: thread '' panicked at 'unsupported params type Undefined', src/utils/dataprocess.rs:168:14
const cpu_svn_value = {
bytes: Buffer.from(cpu_svn, 'hex')
}
const cpusvnPointer = createPointer({
paramsType: [{
bytes: DataType.U8Array
}],
paramsValue: [cpu_svn_value]
})
console.log(cpu_svn_type)      // output is:  { byteArray: { type: 10, length: 16, ffiTypeTag: 'array' } }
console.log(cpu_svn_value)     // output is : { bytes: <Buffer 05 05 13 15 03 ff 00 ff 00 00 00 00 00 00 00 00> }
console.log(cpusvnPointer)    // output is : [ [External: 78cd9c0] ]
const cert_index = 0
const best_index_ptr = createPointer({
paramsType: [DataType.I32],
paramsValue: [cert_index]
})
const ret = load({
library: 'libPCKCertSelection', // path to the dynamic library file
funcName: 'pck_cert_select', // the name of the function to call
retType: DataType.I32, // the return value type
paramsType: [DataType.External, DataType.I16, DataType.I16, DataType.String, DataType.StringArray, DataType.I32, DataType.External], // the parameter types
paramsValue: [cpusvnPointer[0], my_pce_svn, my_pce_id, tcb_info, pem_certs, ncerts, best_index_ptr[0]] // the actual parameter values
})

DataType has not support i16, you can get type hints by writing typescript

DataType has not support i16, you can get type hints by writing typescript

ok, thanks. I will try again.

BTW, may be you need use unwrapPointer on cpusvnPointer[0] for get the inner struct pointer

It seems no unwrapPointer is needed. The code worked after I changed I16 to I32. But how can I get the value out of best_index_ptr after the call?

Use restorePointer to get the data pointed to by the pointer

BTW, may be you need use unwrapPointer on cpusvnPointer[0] for get the inner struct pointer

You are correct that the cpusvn is not passed to the c library correctly. I tried different methods with no success.
pass the struct directly:
  const cpu_svn_value = {
    bytes: Buffer.from(cpu_svn, 'hex')
  }
  const ret = load({
    library: 'libPCKCertSelection', // path to the dynamic library file
    funcName: 'pck_cert_select', // the name of the function to call
    retType: DataType.I32, // the return value type
    paramsType: [{bytes: DataType.U8Array}, DataType.I32, DataType.I32, DataType.String, DataType.StringArray, DataType.I32, DataType.External], // the parameter types
    paramsValue: [cpu_svn_value, my_pce_svn, my_pce_id, tcb_info, pem_certs, ncerts, best_index_ptr[0]] // the actual parameter values
  })

or use a pointer:
  const cpu_svn_value = {
    bytes: Buffer.from(cpu_svn, 'hex')
  }
  const cpusvnPointer = createPointer({
    paramsType: [{
      bytes: DataType.U8Array
    }],
    paramsValue: [cpu_svn_value]
  })
  const ret = load({
    library: 'libPCKCertSelection', // path to the dynamic library file
    funcName: 'pck_cert_select', // the name of the function to call
    retType: DataType.I32, // the return value type
    paramsType: [DataType.External, DataType.I32, DataType.I32, DataType.String, DataType.StringArray, DataType.I32, DataType.External], // the parameter types
    paramsValue: [cpusvnPointer[0], my_pce_svn, my_pce_id, tcb_info, pem_certs, ncerts, best_index_ptr[0]] // the actual parameter values
  })

For the second approach, if I use unwrapPointer(cpusvnPointer[0]), the error log says "Error: Given napi value is not an array"
Here is my c function definition:
typedef struct
{
	uint8_t bytes[16];
} cpu_svn_t;

pck_cert_selection_res_t pck_cert_select (
        const cpu_svn_t* platform_svn,
        uint16_t pce_isvsvn,
        uint16_t pce_id,
        const char* tcb_info,
        const char* pem_certs[],
        uint32_t ncerts,
        uint32_t* best_cert_index )

I will handle to problem at later

The problem has been fixed in<EMAIL_ADDRESS>You need to define platform_svn field in paramsType like this
{

 paramsType: [{
      bytes: arrayConstructor({
        type: DataType.U8Array,
        length: 16,
        dynamicArray: false
      }),
    }],

}

The behavior of dynamicArray field can refer the latest update of readme

The problem has been fixed in<EMAIL_ADDRESS>You need to define platform_svn field in paramsType like this
{

 paramsType: [{
      bytes: arrayConstructor({
        type: DataType.U8Array,
        length: 16,
        dynamicArray: false
      }),
    }],

}

The behavior of dynamicArray field can refer the latest update of readme

The problem has been fixed in<EMAIL_ADDRESS>You need to define platform_svn field in paramsType like this
{

 paramsType: [{
      bytes: arrayConstructor({
        type: DataType.U8Array,
        length: 16,
        dynamicArray: false
      }),
    }],

}

The behavior of dynamicArray field can refer the latest update of readme

Awesome! Thanks for the quick response. Will test it ASAP.

Confirmed the issue has been fixed in<EMAIL_ADDRESS>This project is awesome and thank you for the hard work.


Have a sane default minimum window size

Currently by default windows can be made arbitrarily small. I think there should be a default minimum size in the 400x400 range, and if you want your window to be resizeable below that you need to explicitly set the minimum size to something smaller, using WindowDesc::with_min_size.
Just as a note: you can set a minimum size for a window, and I think this should be set for most actual applications? I actually think this should have reasonable defaults, and if you want to be able to resize windows to be very small you should have to specify that manually, but that's also a separate issue. 😁
Originally posted by @cmyr in https://github.com/linebender/druid/issues/1297#issuecomment-707235539

I am in favor of adding a minimum default size to WindowConfig.
When adding a minimum size to a window config either via WindowConfig::default() or WindowConfig::with_min_size, I noticed a small issue with the launched window not respecting the minimum size!
Let's say I add a min-size of 600x600, whereas the launched window has a min-size of 500x400!

@totsteps that sounds like a separate bug, would you like to open an issue for it?

Filed in #1322.


inputs and images are backwards?

But when running the action, it appears they're the other way around. Given the following input:
- uses<EMAIL_ADDRESS>  with:
    inputs: test:master
    images: test:77762fb4d2eb086d2bc806c3aaa9f35db2f08801-x64,test:77762fb4d2eb086d2bc806c3aaa9f35db2f08801-arm64

it works correctly, which is the opposite of what the Readme says.
Images to Merge => test:ea656058259dade7f6d2f4cd290b45ae74a44ae5-x64, test:ea656058259dade7f6d2f4cd290b45ae74a44ae5-arm64
  Base Images     => test:master
  Amend?          => No
  Push?           => Yes
Creating manifest for image [test:master] with [test:ea656058259dade7f6d2f4cd290b45ae74a44ae5-x64, test:ea656058259dade7f6d2f4cd290b45ae74a44ae5-arm64] outputs
/usr/bin/docker manifest create test:master test:ea656058259dade7f6d2f4cd290b45ae74a44ae5-x64 test:ea656058259dade7f6d2f4cd290b45ae74a44ae5-arm64

Also, there are several references to an outputs input which doesn't exist.

ugh, sorry, I'm tired and stupid, this is just wrong.

Wait no, I might have been right, aaaa the naming scheme is so confusing!


Pendo: Get rid of anonymous visitors on sign in page

@JamWils based on the specs for this completed issue:
https://github.com/weaveworks/weave-gitops/issues/3046
which says "log an anonymous visitor": when the Signin page component mounts, I am cleaning up Pendo user info, stored in window.localStorage (if it was stored already from a previous logged in user), so that the visitor reported to Pendo on the Signin screen is anonymous.
After the user logs in, Pendo is re-identified with a randomly generated visitor ID + account ID hash based on cluster namespace.GetUID() call (for this I am reusing previously existing code).
So, if I remove this cleanup on Signin page mount, Pendo will pick up the information stored in window.localStorage from a previously logged in user (if any).

What should I do for the current issue: should I remove Pendo initialization on the Signin screen completely and only initialize Pendo on pages available to a logged in user?

Or should I keep the initialization on the Signin page but let Pendo pick up stored info (visitor ID  + account ID) left from a logged in user?
And if such info is not stored yet, should I still report an anonymous visitor on the Signin page or wait until the user logs in to init Pendo?

Oh, nice.  With that explanation if we have a "known user" stored then lets send an event in those instances.  That will let us understand OIDC usage.
If there is no ID stored then we do not want to send an event.  The reason is we are getting too many anonymous visitors and it is spamming us and making our MAU count too high.

@JamWils we are only sending Pendo events in the CLI (track command event, but it functionally looks the same and Pendo agent initialization in the frontend).
With the Pendo integration in dashboards we just initialize the Pendo agent and it was supposed to pick everything automatically (at least this is what we discussed with Robin, my enterprise dashboard Pendo integration code is based on the code for Pendo integration he added to OSS, I just reworked it).
The Pendo agent in the dashboards is initialized first time in a regular page or a Signin page (whichever comes first) and if it was a Signin page and the user logs in form it, it is re-identified, but it's a Pendo init snippet and not an event sent.
I can look into how to send separate events in Pendo integration in the frontend but maybe we should just not initialize Pendo in the Signin page if there is not user stored.

Great, thank you, that makes it clear.


Raspberry Pi 3 ADS1115 - Remote I/O error

Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.):  Raspberry Pi 3 with Raspbian operating system

Python version (run python -version or python3 -version):  Python 2.7.13

Error message you are receiving, including any Python exception traces:

pi@raspberrypi:~/Adafruit_Python_ADS1x15/examples $ python simpletest.py
Reading ADS1x15 values, press Ctrl-C to quit...
|      0 |      1 |      2 |      3 |
-------------------------------------
Traceback (most recent call last):
  File "simpletest.py", line 42, in <module>
    values[i] = adc.read_adc(i, gain=GAIN)
  File "build/bdist.linux-armv7l/egg/Adafruit_ADS1x15/ADS1x15.py", line 192, in read_adc
  File "build/bdist.linux-armv7l/egg/Adafruit_ADS1x15/ADS1x15.py", line 128, in _read
  File "build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py", line 128, in writeList
  File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/smbus.py", line 274, in write_i2c_block_data
IOError: [Errno 121] Remote I/O error

List the steps to reproduce the problem below (if possible attach code or commands
to run):

To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:

sudo apt-get install git build-essential python-dev
cd ~
git clone https://github.com/adafruit/Adafruit_Python_ADS1x15.git
cd Adafruit_Python_ADS1x15
sudo python setup.py install

If I run the following command:  python3 continuous.py
I get another error:
Traceback (most recent call last):   File "continuous.py", line 7, in <module>     import Adafruit_ADS1x15 ImportError: No module named 'Adafruit_ADS1x15'

I finally managed to fix this. Turns out it was faulty jumper wires between the ADC and RasPi. They were fine when I tested them with my multimeter continuity test( I guess it was probably the manner in which I held them while testing the continuity gave me a false positive). ALWAYS check your wires. Once I changed the jumper wires, it finally showed up as an i2c address and the code worked. Unfortunately the code still doesn't  work in Python 3.6. I had to run it in Python 2.7.9.
In addition to this, the raw value you get from the ADC is pretty much no use. At the end of the day, when I use an ADC I want my example code to return the 'voltage' instead of the raw value. I still haven't found a way of converting the raw value into a voltage level.

Concerning the conversion from raw data into a voltage level can you not take a ratio (e.g. 12 bit is 4096) to convert, it works for a DAC but I don't see any reason why it won't work for an ADC (reversed)

The data for conversion is in the documerntation for the chip.
As a last resort, apply a known voltage to an input, read the result. Divide the voltage by the readout and come up with a multiplication factor. Change the known voltage and multiply by the multiplication factor and examine the result for accuracy and precision.

Like I said I created a PR with an example which covers this(Voltage Conversion) a few months ago. But it still hasn't been merged yet.

Acknowledged.
Another source of that particular error is chip addressing. Connect the Addr to 5VDC, Vdd, SCL, or SDA and the same error will show up. As a matter of fact, the i2cdetect command is a good test of the address connection.
I've often had problems with cheap 'Dupont' jumpers. I'm goint to try a more expensive set hyped a lot by the company that makes them. If that does not work I'm dumping jumpers altogether moving to a different method.

Have you ever, successfully, addressed, two or more, ADS1115 modules/breakout boards?

No. So far I have only required single ended measurements. And the 4 inputs have been sufficient for my requirements.


Reload / Dev Menu are repeatedly invoked while holding Cmd key

Is this a bug report?
Yes.
Have you read the Contributing Guidelines?
Yes.
Environment
Environment:
OS:  macOS High Sierra 10.13
Node:  8.4.0
Yarn:  0.21.3
npm:  5.3.0
Watchman:  4.7.0
Xcode:  Xcode 9.0.1 Build version 9A1004
Android Studio:  2.3 AI-162.3871768
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.3 => 0.49.3
Steps to Reproduce

react-native init testproject
cd testproject && react-native run-ios
In the simulator, press Cmd+R or Cmd+D, but do not release the Cmd key. While the Cmd key is being held, the action will repeatedly be invoked. For example, screen will keep reloading rapidly, or developer menu will keep popping up and disappearing, as if it had a mind of it's own.

Note: If you use any other method to invoke reload or dev menu (like choosing Shake gesture from the Simulator menu, this behavior does not happen).
Expected Behavior
The action (to either reload or show/hide the developer menu), should only happen once, not continuously as the Cmd key is held.
Actual Behavior
Action keeps getting invoked repeatedly.
Reproducible Demo
I'm able to reproduce this with any react-native project. The behavior is probably more specific to either RN/macOS/XCode version. Was also happening on macOS 10.12 (not sure at what point the bug was introduced, or if it had always been there).

I'm able to repro this reliably with latest macOS, XCode, RN and a newly created project. The issue has remained for several months even with the following upgrades:
Environment:
OS:  macOS Sierra 10.13.3
Node:  8.9.4
Yarn:  1.3.2
npm:  5.6.0
Watchman:  4.9.0
Xcode:  Xcode 9.2 Build version 9C40b
Packages: (wanted => installed)
react-native: 0.53.0 => 0.53.0
react: 16.2.0 => 116.2.0
Target Platform: iOS (10.3)


fleshing, dutchify

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[d,f]

/trunk merge


Decide how to handle stream vs bytes content in Speech streaming_recognize().

See: https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2680#discussion_r86837992
Sample.content needs to be a file-like object when calling streaming_recognize(). Right now ValueError is raised if it is not. But there may be some other, more clear implementation.

Closed with #2850.


⚠ Bofrost.fr has degraded performance

In 746747b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1596 ms

Resolved: Bofrost.fr performance has improved in d9740ee after 6 minutes.


Update Cilium version in installation guide

This PR updates Cilium to v1.5 which was released eight days ago.
Also, it updates k8s manifests version to v1.14, as the latest kubeadm installs k8s v1.14.
The Cilium v1.5 changelog:

https://github.com/cilium/cilium/releases/tag/v1.5.0
https://cilium.io/blog/2019/04/24/cilium-15

Thanks for your PR @brb .
I checked : https://docs.cilium.io/en/stable/gettingstarted/k8s-install-etcd-operator/#for-docker-as-container-runtime
and
https://deploy-preview-14198--kubernetes-io-master-staging.netlify.com/docs/setup/independent/create-cluster-kubeadm/
/lgtm
/approve


Implement Terrastore installation tool

Implement Terrastore installation tool for easy cluster installation and
deployment.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 28 Dec 2009 at 11:51

Blocking: #17, #3

See thread on the mailing list:
http://groups.google.com/group/terrastore-discussions/browse_thread/thread/e8ac8
aa460abc3bf

Original comment by<EMAIL_ADDRESS>on 28 Dec 2009 at 1:44

Changed state: Fixed


Download template as .zip file

It should be possible to download a template as .zip file. To achieve this, all related .sql data needs to be dumped into a .sql file inside the template folder. Afterwards backup folder should be zipped and sent to the user as direct download.

done.

added .ini file to generated template .zip file. Contains basic information about the template (date, template name, template path...) and will be used during template upload / install / update process.


BitLocations namedtuple overrides built-in index method

https://github.com/Qiskit/qiskit/blob/03d107e1f68f2a47ffdcf5599f906120e4efba63/qiskit/dagcircuit/dagdependency_v2.py#L38
The BitLocations namedtuple overrides the built-in index method of tuple. Not exactly a bug, but it's confusing. If we want to ignore this, feel free to close this issue. I just thought I'd bring it up because I got confused when reading code that used the index attribute. I thought it was referring to the built-in method, but it wasn't.

Huh, that's a nice spot, thanks.
Realistically we can't change the name now unfortunately.  In theory this was probably intended to be a dataclass than a namedtuple, but it's possible that at the time it went in, we were still supporting old Pythons that didn't have it.  There's a risk that if we change this to a dataclass now, we'll break anybody who's doing index, registers = qc.find_bit(bit) (even though we didn't expect that).


Update with latest changes from Prototype Kit repo

What
Things have diverged a bit since we last looked at this, we need to refresh the content in this repo.
We should pull in the necessary stuff from the Prototype Kit repo to bring these docs up-to-date with the docs there.
I'd also like to consider whether we should also bring through the app infrastructure. This would allow us to quickly deploy to Heroku, publish, and then iterate later, and should make updating the content for now easier in my opinion. If this is technically challenging though we should continue with the current method.
We might want to consider having a docs freeze, once we've done this (but before we've completed the switchover), so we don't have issues with needing to update two repos at once. Otherwise we'll also want to move any pull requests changing docs to over here.
Why
We want to switch out the docs as soon as possible!
Who needs to do this
Developer
Who needs to review this
Developer, anyone else?
Done when

[x] The prototype kit content in the main branch of this repo is the same as in the other repo
[ ] Any active pull requests updating content have been moved from the other repo to this repo

I'm trying to decide whether to rewrite the history of the main branch, or to try and merge in the content of the prototype kit repo. I'm leaning towards rewriting history, because it might make serving older versions easier later down the line.
I've put the history for the original main branch in a new branch from-govuk-design-system, and the whole history of the govuk-prototype-kit in a branch called from-govuk-prototype-kit.

I've renamed the main branch to main, and rewritten it to have all the history from from from-govuk-prototype-kit
You may have some issues next time you try to do a pull of the govuk-prototype-kit-docs repo.
If you’re doing any work on changing docs for the prototype kit, from now onwards please base it off https://github.com/alphagov/govuk-prototype-kit-docs, and raise any pull requests there.

I'm going to now go through the open PRs in the prototype kit repo to see what needs to be moved to this repo.

I think the only PRs of interest are:

https://github.com/alphagov/govuk-prototype-kit/pull/1329
https://github.com/alphagov/govuk-prototype-kit/pull/1379

I've left comments to that effect on the PRs, will move them when the requesters are ready.


Parse crowbarctl upgrade precheck

Parsing was really simple and incorrect leading to wrong results. Now if
a check is actually required it is checked if it passed.

FTR, this is sample output from the crowbarctl upgrade prechecks command:
network_checks.required true
network_checks.passed true
maintenance_updates_installed.required true
maintenance_updates_installed.passed true
compute_resources_available.required false
compute_resources_available.passed true
compute_resources_available.errors.compute_resources.help Make sure there is enough compute power
ceph_healthy.required true
ceph_healthy.passed true
clusters_healthy.required true
clusters_healthy.passed true

This is only valid for cloud 6->7 no? The output on cloud 7 is different from what is posted, so the parser wont work, so maybe we need a ìscloud6 conditional:
root@crowbar:~ # crowbarctl upgrade prechecks --format plain
sanity_checks true
maintenance_updates_installed true
clusters_healthy true
compute_resources_available true
ceph_healthy true

@Itxaka I haven't checked with cloud7 so you may be right. I'll check that with @MaximilianMeister .

I think the output should be the same. The inconsistency might be caused by the fact that https://github.com/crowbar/crowbar-core/pull/672 is not merged

I agree with @MaximilianMeister this time. As we didn't need proper parsing before, it seems to be necessary now with more complicated output.

Dropped this in favor of a ruby approach as suggested by the comments:
https://github.com/SUSE-Cloud/automation/pull/1349


Fix yml example in deployment-jobs.md

#10569

@VyacheslavPritykin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@juliakm for awareness

@VyacheslavPritykin  Thank you for looking into this! Are you able to get your YAML to successfully run? I'm finding that StageB still gets skipped.

@juliakm Well, I actually tested it in a scenario, when the variable is set inside the non-deployment job and that works:
- job: A1
  steps:
    - pwsh: echo "##vso[task.setvariable variable=RunStageB;isOutput=true]true"
      name: setvarStep
    - bash: echo $(System.JobName)

I can confirm that if a variable is set inside a deployment job, then it still does not work, so it looks like there is an issue not only in the documentation but also in the pipeline engine.
I'll update the PR  to have a non-deployment job A1, so at least the documentation will have a valid example.
Moreover, the snippet from the documentation has another flaw (probably you've already found it): Job B1: Environment is required. (I didn't find it initially, because I needed a stage condition for a non-deployment job)

@VyacheslavPritykin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I'll update the PR to have a non-deployment job A1, so at least the documentation will have a valid example.

I've updated and then I realized that it makes no sense since the page describes the Deployment Jobs and the difference in the syntax of consuming variables. We need to fix the initial version where a variable is set in the deployment job.
I've found how to fix the variable assignment in the second job:
myOutputVar: $[stageDependencies.StageA.A1.outputs['A1.setvarStep.RunStageB']]
myOutputVar: $[stageDependencies.StageA.A1.outputs['A1.setvarStep.RunStageB']]

but I'm still struggling with the valid condition expression

Thanks @VyacheslavPritykin!
#sign-off


Fix activity popover on iPad, minor cleanup (Work in progress)

The PR fixes #148, #149 #153 and #154, also:

Introduce the iOS8+ completion handler to handle activity clicks
Minor bugfixes
Bump 1.8.3

This PR is not finished, yet and needs to be adjusted to support bar buttons, again.

Fantastic! great work.

Hi @viezel, thanks! But the PR was as mentioned in the title and description work in progress. Will most likely need to supply a patch now.


Feature to upload existing post to story

Hi Coders,
This library does not have the functionality to upload existing post to story. I think this is the major lack in this library. Let's make it more robust. I have built a general template for this. We could build a new method for this. Looking forward to hear your responses.
Best,
Muhammad

yes, I was searching for this, It is very important feature. It's the only feature I think I am missing in this lib


Upgrade to wp 6.0, CAWebTheme 1.6.3a on flywheel

Notes:
WordPress 6.0 update seems ok.
Header is missing after CAWeb theme update
Error at CAWeb Options > Settings
https://cannabis-ca-gov.lndo.site/wp-admin/admin.php?page=caweb_options
Fatal error: Uncaught Error: Call to undefined function et_core_cache_has() in /app/wp-content/themes/CAWeb/inc/icon-library.php:39 Stack trace: #0 /app/wp-content/themes/CAWeb/inc/icon-library.php(72): et_pb_get_extended_font_icon_symbols() #1 /app/wp-content/themes/CAWeb/functions.php(477): caweb_symbols(-1, '', '', false) #2 /app/wp-includes/class-wp-hook.php(307): caweb_admin_enqueue_scripts('toplevel_page_c...') #3 /app/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /app/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #5 /app/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'toplevel_page_c...') #6 /app/wp-admin/admin.php(239): require_once('/app/wp-admin/a...') #7 {main} thrown in /app/wp-content/themes/CAWeb/inc/icon-library.php on line 39

Error resolved by enabling Divi, then CAWeb. Header still missing.

Between CAWeb version 1.6.2 and 1.6.3, /partials/header.php was removed and relocated to /partials/content/header.php and /partials/design-system.php
https://github.com/CA-CODE-Works/CAWeb/commit/e1e20dab7822f53080631d38ac6fb92005372e9d

This fix was released in 1.1.7
https://github.com/cagov/ca-design-system-gutenberg-blocks/releases/tag/1.1.7
Now that all the backend systems are better synced, and we have multi-dev instances, we can continue testing this.
CDT also has a new QA testing instance where they can try out these updates as well.
Steps to re-test it

[ ] Enable 1.6.3a CAWeb theme in flywheel branch in cannabis-ca-gov Pantheon instance. (Divi 4.17.4)
[ ] Make sure that release version is 1.1.7 (Pantheon "master" branch is correct)
[ ] Try this without WordPress 5.9 update to see if it's in the code.
[ ] Pull Pantheon WP 6.0 code updates.
[ ] Confirm menu stays.
[ ] Repeat on CDT QA server.
[ ] If good, schedule update for main cannabis site with DCC, ODI and CDT - ideally around 3pm M-Th.

We may also need to try this fix with PHP 8.1 and 7.4.
Production is currently on 7.4.
Our team doesn't currently know when the 8.1 PHP update is coming - but is something to keep in mind.

Note: I did try this on Pantheon in between some other projects, but needed SFTP mode to be enabled.

We updated Pantheon instance to WP 6.0 and already synced latest theme. Closing.


Relax to syb >= 0.7

Relax the lower bound on syb (for whatever reason, DA CI highlights the need for this).

Sure. Happy to relax the bounds further if anyone cares - I suspect we don't have any hard dependencies on that particular version.


Bump Privacy Dashboard to 5.0.0

Task/Issue URL: https://app.asana.com/0/1206594217596623/1207921337238327/f
Description
Bumps Privacy Dashboard version to 5.0.0 with changes to the gray state
Parent task: https://app.asana.com/0/72649045549333/1207737672183274/f
TL;DR: Introduces a new green state to the Privacy Dashboard for when nothing is blocked and only affiliated domains are allowlisted. Updates the copy of the existing gray state. There are no changes on the native side.
Steps to test this PR
Repeat the steps for each of the sites in the table below:

Visit [URL]
Open Privacy Dashboard
Check that dashboard screen is similar to [Screenshot]
Check that [Things to note] are all true
Click dashboard nav links (e.g. "Connection is encrypted", "Third party requests loaded") to check that they're working

URL
Screenshot
Things to note

https://ebay.de

- Icon shows green checkmark - "No Tracking Requests Found" nav link is NOT visible

https://amazon.co.uk

- Icon shows red exclamation icon - "No Tracking Requests Found" nav link is NOT visible

https://reddit.com

- Icon shows grey info icon - "No Tracking Requests Found" nav link is NOT visible

https://cnn.com

- Multiple blocked icons shown - "Requests Blocked from Loading" nav link IS visible

Notes
If any of the sites below do not show the expected screens, try refreshing the page, as trackers may be loaded alternately on reload. If the issue persists, please comment below with which sites had a mismatch. It doesn't mean the dashboard is broken, but it does mean I'll have to find a different site to test that screen. Different platforms may load different blockers, which leads to the dashboard not always showing the same status across all platforms and device configurations.

@mgurgel here are my findings:

https://ebay.de/ -> Shows blocked icon + Requests Blocked from Loading item is checked and shown.
https://amazon.co.uk/ -> almost looks as expected, but I dont see Cookies Managed even if I saw the cookies managed prompt in the icon.
https://reddit.com/ -> shows blocked icon + Requests Blocked from Loading item is checked and shown. No cookies managed item.
https://cnn.com/ -> almost looks as expected, but I dont see Cookies Managed

Thanks for checking, @karlenDimla! The absence of cookies managed shouldn’t be a problem. As for the ones that show blocked when they shouldn’t, here’s a few more sites you could try. They should at least show the grey state.
https://text.marvinborner.de/2024-04-16-10.html
https://www.grulic.org.ar/~mdione/glob/posts/writing-a-tile-server-in-python/
https://www.codethink.co.uk/articles/2024/secure_bootloader/
In any case, @shakyShane says these states shouldn’t be a blocker.


Exploring Unnecessary Conditionals: Input

Component contains conditionals around the .charCheckLimit.limit parameter on line 161 - which is a required parameter.
Actions

[ ] Establish if this is superfluous or necessary code.
[ ] Remove if not necessary.
[ ] Ensure testing remains intact / update testing as required.

Closing this ticket as .charCheckLimit.limit param should be stayed as required parameter.


Method Use - Subnational

Create a file on method use by region.
Format: Region, Variable, Frequency, Percentage, Use

Region
Var1
Freq
Perc
Use

Addis Ababa
0
0.74
74
No current method

Afar
0
0.9
90
No current method

Amhara
0
0.659
65.9
No current method

Benishangul-Gumuz
0
0.78
78
No current method

Dire Dawa
0
0.804
80.4
No current method

Gambela
0
0.735
73.5
No current method

Harari
0
0.797
79.7
No current method

Oromia
0
0.787
78.7
No current method

SNNPR
0
0.733
73.3
No current method

Somali
0
0.989
98.9
No current method

Tigray
0
0.748
74.8
No current method

Addis Ababa
1
0.26
26
Any current method

Afar
1
0.1
10
Any current method

Amhara
1
0.341
34.1
Any current method

Benishangul-Gumuz
1
0.22
22
Any current method

Dire Dawa
1
0.196
19.6
Any current method

Gambela
1
0.265
26.5
Any current method

Harari
1
0.203
20.3
Any current method

Oromia
1
0.213
21.3
Any current method

SNNPR
1
0.267
26.7
Any current method

Somali
1
0.011
1.1
Any current method

Tigray
1
0.252
25.2
Any current method

To interpolate the data from 2000-2019, as we did with other parameters, we will need to use DHS data here. This is different to the national level calibration, which uses PMA data.
use_region.csv

Issue Closed: PR https://github.com/fpsim/fpsim/pull/241


Example: Deploying PHP Guestbook application with Redis

The image file download for the frontend-deployment.yaml is currently failing. I fixed by changing it to:
image:  us-docker.pkg.dev/google-samples/containers/gke/gb-frontend:v5

This looks similar to issue(s) https://github.com/kubernetes/website/issues/44190 and https://github.com/kubernetes/website/issues/44224. I think it is a duplicate.
/triage duplicate

Fixes are welcome; please visit https://github.com/kubernetes/website/issues/44190 to discuss and track that work.

Closing this issue, resolved  by PR #44290

/close


🚀 Feature: Tests with unittest

🔖 Feature description
Starting to test with unittest can bring more contributors and keep the project more secure. Many people who use django, like me, like to use tests with unittest which is similar to the django testing structure.
🎤 Why is this feature needed ?
As unittest is standard in python, there is no need to install the dependency.
✌ How do you aim to achieve this?
Creating some personalized and useful tests for the application.
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

We are already using pytest
Also, pytest has a more user-friendly way to write tests compared to unittest, and it provides detailed output on test failures,


Pilot: Allow '~' in ipa path

Checklist

[X] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[X] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[X] I've read the Contribution Guidelines
[X] I've updated the documentation if necessary.

Motivation and Context
Fixes #9480

@ohayon updated all methods in IpaFileAnalyser to expand paths.

@ohayon completely agree with the comment and made the requested change 👍

Hey everyone, randomly jumping in here. I agree with @ohayon, this ends up with lots of duplicate code. An easy solution for that would be to do it once in gym/manager.rb right after printing the tables (as we don't necessarily want to display a really long path in the summary table) by setting it once:
Gym.config[:ipa_path] = File.expand_path(Gym.config[:ipa_path])

or similar :)

@KrauseFx @ohayon - I reverted my previous changes (with the exception of the ipa parameter's verify block), and added a create_config method in Pilot's CommandsGenerator. This offers a central place to perform similar operations on Pilot parameters in the future. Does this address the previous concerns?

@ohayon anything else that I need to do here?

Thanks for reminding us @NicholasFFox, this is merged now and will be in the next release 👍 Thanks for contributing.


implement jammy support and mark as default

Preserves focal tags (for now) but does swap the latest tags to use jammy
closes: https://github.com/adoptium/containers/issues/82

Note we will need to update https://adoptium.net/supported-platforms to show the added support


Support Injecting HTML into precompiled template

It's a common problem where HTML may be unknown at the time a template is precompiled, and then come from the server later (common for any CMS or user-generated content).  However, currently Incremental DOM only exposes a text method to inject textContent, not HTML.
Proposal: Expose an html method to inject HTML into the current location in the document tree.
Issues: The most performant methods for doing this (that I'm aware of — probably using a template) at best are only supported by IE11+, and often not by IE at all (although Edge does). Fallback solutions using innerHTML are possible if a browser lacks necessary support, though.

@tmpfs you might be interested in this.
I can see this useful for stamping out an initial template. Another way of accomplishing this might be to give Incremental DOM a template, or root element, that represents the tree you want it to know about rather than having it parse HTML.

It gets quite tricky if the HTML blob contains multiple root nodes, which is partly why Incremental DOM doesn't support it out of the box. If wrapping it in a containing Element is okay, the currently recommended approach for HTML blobs is to create a function like:
function html(content) {
  var el = elementOpen('html-blob');
    if (el.__innerHTML !== content) {
      el.__innerHTML = content;
      el.innerHTML = content;
    }
    skip();
  elementClose('html-blob');
}

diffing the HTML will not be supported by Incremental DOM itself, but I think that usually, such HTML content would be relatively static, so you wouldn't really need to diff it. There are some other libraries that do support diffing HTML strings, which could be useful for such a use case.
Adding a utility function to Incremental DOM would be okay, especially since this has come up in the past Just would want to make sure that it does what people think (and the fact that there is no diffing going on isn't counterintuitive).

I can't speak for others, but I personally never expected IDOM would be diffing HTML injected in this way, since it's never been precompiled into an IDOM template, and I wouldn't expect (or want) IDOM to be including a precompiler.

I don't get the ticket.
When it's not possible to diff static HTML, than that's fine. But this makes this ticket obsolete since you can just innerHTML it anyway?
Just a wrapper for:
 var el = elementOpen('html-blob');
    if (el.__innerHTML !== content) {
      el.__innerHTML = content;
      el.innerHTML = content;
    }
    skip();
 elementClose('html-blob');

looks a bit lazy to me.

Something more useful would be allowing to diff/patch and existing DOM Tree (which could be obtained via DOMParser [yeah it sucks but well] or manually by doing document.createElement("div"))

While this is outside the scope this library, Incremental DOM does not get in the way of doing it. You can just create a container with Incremental DOM, skip the subtree and do a diff using the HTML string. For example, you could use this library: https://github.com/tbranyen/diffhtml to do the diffing inside the container.
I think most of the use cases for HTML blobs would be static in nature (i.e. the data doesn't change over time). If you did have something that changed dynamically, you would just use Incremental DOM to express it.
The primary use case for allowing HTML content would probably be something like a user-specified e-mail signature which can have rich formatting (bold tags, font sizes, etc), but really will not change across diffs (or if it does, just blowing it away and re-rendering is not a big deal).

As already said that's not a problem I just wanted to say that I don't see a need for that.
You can just innerHTML and skip() I mean having a method that grabs the last node innerHTML's and skip() is like , wtf? Rendering DOM Nodes with inc-dom is outside of the scope of this library, but adding a method that somebody could write in under 5 seconds by himself isn't?

Once incremental dom is in place writing a html to idom parser to allow create/diffing against existing dom takes really little code, no need for an external html diffing library: https://github.com/paolocaminiti/dom2idom
This may makes sense in some cases where you don't want to lose element's istances while updating the dom, but I strongly agree It should not be a incremental-dom responsability.

I've also ran into this problem. I'm currently building a handlebars-idom parser (mostly working!) but in my test app I have some content that contains markup. Handlebars supports {{{foo}}} that would allow markup to be inserted.
I think having a feature like:
function html(content) {
  var el = elementOpen('html-blob');
    if (el.__innerHTML !== content) {
      el.__innerHTML = content;
      el.innerHTML = content;
    }
    skip();
  elementClose('html-blob');
}

Would be useful when compiling from templates that support raw html insertion. Would you accept a PR for this?


Adjustments to @Configuration of DispatcherServlet context

Follow up to the previous PR, this patch does the following:

Opts for lazy evaluation of the application context for webapp and management webapp
Moves a number of other beans defined in cas-servlet over to @Configuration class.
Moves remaining beans defined in cas-servlet.xml over to the applicationContext, so the root parent has access to all beans which may be required by modules.
The cas-servlet.xml serves as an empty placeholder for config changes, if/when needed.

Given the circular dependency injection of the following beans, they continue to live in the XML context, where Spring is able to "take care of references":
    <bean name="loginFlowExecutor" class="org.springframework.webflow.executor.FlowExecutorImpl"
          c:definitionLocator-ref="loginFlowRegistry"
          c:executionFactory-ref="loginFlowExecutionFactory"
          c:executionRepository-ref="loginFlowExecutionRepository"/>

    <bean name="loginFlowExecutionFactory" class="org.springframework.webflow.engine.impl.FlowExecutionImplFactory"
          p:executionKeyFactory-ref="loginFlowExecutionRepository"/>

    <bean id="loginFlowExecutionRepository" class="org.jasig.spring.webflow.plugin.ClientFlowExecutionRepository"
          c:flowExecutionFactory-ref="loginFlowExecutionFactory"
          c:flowDefinitionLocator-ref="loginFlowRegistry"
          c:transcoder-ref="loginFlowStateTranscoder"/>

+1

Just FYI, the @Configuration classes with @Bean methods are not straight up compiled "what-you-see-what-you-get" bytecode, but rather CGLIB proxies generated at runtime to allow Spring to do this wonderful config magic. Again, this is just FYI message ;-)

Coolio. Thanks!

+1


Mark kernel modules as broken with incompatible kernel versions

These are all the kernel modules failing on Hydra that don't have updates available that fix the problem.  I'll do those updates separately.
ZHF: #144627
@NixOS/nixos-release-managers

Motivation for this change
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Thanks for doing this, it's tedious and a PITA :)


Can you tell me how to use this extension?

Hey,Marius!Can you tell me how to use this extension?I am a Starlims developer,I want to learn how develop this extension，I think it can help our Starlims development work。Thank you！

or give me some Doc Pls

Hey! Thanks for the interest. Right now it's still in development and the functionality is limited, meaning you can't actually use it for anything productive. The good news is that I've started working on this again and hope to soon have it at a point where it's usable.


Update 12-machine-learning-training-testing.md

What are you changing in this pull request and why?
Fix indentation in Python snippets in dbt-python-snowpark guide. The Python code would not be able to execute and was hard to read, especially the nested function predict_position() here.
Checklist

[x] Review the Content style guide and About versioning so my content adheres to these guidelines.
[x] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Thanks @mirnawong1, happy to help


Possible Unicorn issue?

I have a unicorn server running exception_handler. It works fine in development but when I push to staging I get a bad gateway error. Upon inspecting the unicorn.log file I see that the problem is a NoMethodError generated by the exception handler gem. Not sure what's up honestly.
E, [2015-04-07T07:41:09.893741 #3482] ERROR -- : undefined method `setup' for ExceptionHandler:Module (NoMethodError)
/home/deployer/apps/taxalli/releases/20150407113904/config/initializers/exception_handler.rb:6:in `<top (required)>'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:241:in `load'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:241:in `block in load'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:241:in `load'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:648:in `block in load_config_initializer'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/activesupport-4.1.0/lib/active_support/notifications.rb:161:in `instrument'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:647:in `load_config_initializer'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:611:in `each'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/engine.rb:611:in `block in <class:Engine>'
/usr/local/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
/usr/local/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby/2.0.0/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from'
/usr/local/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/2.0.0/tsort.rb:209:in `block in each_strongly_connected_component_from'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:44:in `each'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/lib/ruby/2.0.0/tsort.rb:203:in `each_strongly_connected_component_from'
/usr/local/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
/usr/local/lib/ruby/2.0.0/tsort.rb:180:in `each'
/usr/local/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
/usr/local/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/initializable.rb:54:in `run_initializers'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/railties-4.1.0/lib/rails/application.rb:288:in `initialize!'
/home/deployer/apps/taxalli/releases/20150407113904/config/environment.rb:5:in `<top (required)>'
config.ru:4:in `require'
config.ru:4:in `block in <main>'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn.rb:48:in `eval'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn.rb:48:in `block in builder'

/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn.rb:48:in `block in builder'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:750:in `call'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:750:in `build_app!'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:623:in `init_worker_process'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:643:in `worker_loop'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:527:in `spawn_missing_workers'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:538:in `maintain_worker_count'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:303:in `join'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/gems/unicorn-4.7.0/bin/unicorn:126:in `<top (required)>'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/home/deployer/apps/taxalli/shared/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'

Hmm wow okay.
Give me some time and I'll get back to you. If it's working in dev, it might be unicorn but I'll have a deeper look in a second. Just doing some monkey patching

Sounds good, yea it seemed to work in dev but crashed my server in staging / prod. I had to rip it out of this project but I'd love to help get this fixed so I can use it in future projects.

Okay looks like the first line gives us the reported error:
undefined methodsetup'for theinitializer`.
The setup method is as follows:
def self.setup 	yield(config) if block_given? end

My first step would be to comment out the initializer.
If this works, the problem is with the way the initializer is connecting to the gem etc, which could be a unicorn issue if it's trying to cache the app beforehand.
Another issue you may have might be to do with the development / production situation. Since you're deploying to production, have you got any other specifics in place which might be preventing the gem's files from loading? Are you sure you ran bundle install on the server? Lots of little problems which may seem trivial, but actually end up being the main problem.
--
My Skype is "gorkite" if you'd like to talk about it further

Cool I'll take a look and setup another instance of a server with a similar Unicorn/NGinx setup when I get some free time. Thanks for taking a look!

No problem - let me know if it resolves. I want to get a new version released, and this would be a great fix to make


Feedback on --experimental-minify

If you spot a bug relating to the --experimental-minify feature, please describe below!

Hi I am encountering the following error when I run npx @cloudflare/next-on-pages --experimental-minify
ERROR: Unknown functions manifest version. Expected 2 but found 1.
My API route looks like this
// pages/api/hello.js

export const config = {
  runtime: 'experimental-edge',
}

export default function handler(req, res) {
  res.status(200).json({ name: 'John Doe' })
}

When I take out the runtime: 'experimental-edge', code block it builds.

I'm also getting this with no api routes.

I am seeing the following issue:
10:15:12.680 | ▲ Traced Next.js server files in: 825.075ms
10:15:12.680 | ▲
10:15:13.417 | ▲ Created all serverless functions in: 736.559ms
10:15:13.417 | ▲
10:15:13.528 | ▲ Collected static files (public/, static/, .next/static): 7.18ms
10:15:13.528 | ▲
10:15:13.590 | ▲ Build Completed in .vercel/output [17s]
10:15:13.591 | ▲
10:15:13.671 | ⚡
10:15:13.671 | ⚡
10:15:13.671 | ⚡ Completed 'npx vercel build'.
10:15:13.672 | ⚡
10:15:14.192 | ⚡ ERROR: Unknown functions manifest version. Expected 2 but found 1.
10:15:14.193 | ⚡ Please report this at https://github.com/cloudflare/next-on-pages/issues.
10:15:14.217 | Failed: build command exited with code: 1
10:15:15.291 | Failed: an internal error occurred

I have configured our Pages deployments to use the commands described in this repo:
10:14:51.816 | Executing user command: npx @cloudflare/next-on-pages --experimental-minify

This could be a simple issue of not having updated Next? We've moved from Vercel with an existing application - you can see the PR here - https://github.com/NorfolkDev/nordevcon-website/pull/110

Experiencing the same output and failed build as @Illizian and @Shadid12 above.
Using:
Nextjs: 12.2.5
Node: 16.14.1

I'm receiving the error below. It doesn't occur without the --experimental-minify flag. Using Next.js version 13.0.6 and I think that code in question might come from Chakra UI.
▲ Build Completed in .vercel/output [47s]
▲
⚡
⚡
⚡ Completed 'npx vercel build'.
⚡
✘ [ERROR] Unexpected "??"

    ../../../../../tmp/zgx24y3l0ah/institution/[id].func.js:33578:53:
      33578 │         (null == N || N(m), QA(m.currentTarget) && $ ?? Y && Z());
            ╵                                                      ~~

/home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:1575
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
../../../../../tmp/zgx24y3l0ah/institution/[id].func.js:33578:53: ERROR: Unexpected "??"
    at failureErrorWithLog (/home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:1575:15)
    at /home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:1033:28
    at /home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:978:67
    at buildResponseToResult (/home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:1031:7)
    at /home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:1143:14
    at responseCallbacks.<computed> (/home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:680:9)
    at handleIncomingPacket (/home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:735:9)
    at Socket.readFromStdout (/home/user/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:656:7)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12) {
  errors: [
    {
      detail: undefined,
      id: '',
      location: {
        column: 53,
        file: '../../../../../tmp/zgx24y3l0ah/institution/[id].func.js',
        length: 2,
        line: 33578,
        lineText: '        (null == N || N(m), QA(m.currentTarget) && $ ?? Y && Z());',
        namespace: '',
        suggestion: ''
      },
      notes: [],
      pluginName: '',
      text: 'Unexpected "??"'
    }
  ],
  warnings: []
}

It seems like --experimental-minify is actually inflating the build when simply duplicating pages from the initial create-next-app. Filed an issue about this and the general size output at https://github.com/cloudflare/next-on-pages/issues/47.

With our project (which was started from https://github.com/shadowwalker/next-pwa) npx @cloudflare/next-on-pages works without the --experimental-minifynode but when I add it there are 6 errors, all of which are just Unexpected "??"'. Looks like it's the same error as mentioned above: #2 (comment)
However Cloudflare Pages doesn't work, even without the --experimental-minifynode because of Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit.. I can't figure out how to fix this yet but think it's unrelated to @cloudflare/next-on-pages
Details
package.json
{
  "name": "my-nextjs-pwa",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@chakra-ui/react": "^2.4.4",
    "@emotion/react": "^11.10.5",
    "@emotion/styled": "^11.10.5",
    "@fontsource/poppins": "^4.5.10",
    "@fontsource/roboto": "^4.5.8",
    "@next/font": "13.0.7",
    "@types/node": "18.11.17",
    "@types/react": "18.0.26",
    "@types/react-dom": "18.0.9",
    "eslint": "8.30.0",
    "eslint-config-next": "13.0.7",
    "framer-motion": "^6.5.1",
    "i18next": "^22.4.6",
    "next": "13.0.7",
    "next-pwa": "^5.6.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-i18next": "^12.1.1",
    "react-icons": "^4.7.1",
    "sass": "^1.57.1",
    "typescript": "4.9.4"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.13",
    "postcss": "^8.4.20",
    "tailwindcss": "^3.2.4",
    "vercel": "^28.10.1"
  }
}

Error log
▲
▲ Traced Next.js server files in: 3.012s
▲
▲ Created all serverless functions in: 1.329s
▲
▲ Collected static files (public/, static/, .next/static): 4.611ms
▲
▲ Build Completed in .vercel/output [53s]
▲
⚡
⚡
⚡ Completed 'npx vercel build'.
⚡
✘ [ERROR] Unexpected "??"

    ../../../../../tmp/8ua1xv070ol/overview/[id].func.js:7139:53:
      7139 │         (null == a || a(e), rh(e.currentTarget) && u ?? v && y());
           ╵                                                      ~~

✘ [ERROR] Unexpected "??"

    ../../../../../tmp/8ua1xv070ol/myData.func.js:6625:53:
      6625 │         (null == a || a(e), rh(e.currentTarget) && u ?? v && y());
           ╵                                                      ~~

✘ [ERROR] Unexpected "??"

    ../../../../../tmp/8ua1xv070ol/index.func.js:6725:53:
      6725 │         (null == a || a(e), rh(e.currentTarget) && u ?? v && y());
           ╵                                                      ~~

✘ [ERROR] Unexpected "??"

    ../../../../../tmp/8ua1xv070ol/profile.func.js:6806:53:
      6806 │         (null == a || a(e), rh(e.currentTarget) && u ?? v && y());
           ╵                                                      ~~

✘ [ERROR] Unexpected "??"

    ../../../../../tmp/8ua1xv070ol/profile/settings.func.js:6757:53:
      6757 │         (null == a || a(e), rh(e.currentTarget) && u ?? v && y());
           ╵                                                      ~~

✘ [ERROR] Unexpected "??"

    ../../../../../tmp/8ua1xv070ol/profile/addCarer.func.js:7058:53:
      7058 │         (null == a || a(e), rh(e.currentTarget) && u ?? v && y());
           ╵                                                      ~~

/home/stijn/.npm/_npx/39e2fd552b408994/node_modules/esbuild/lib/main.js:1575
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 6 errors:
../../../../../tmp/8ua1xv070ol/index.func.js:6725:53: ERROR: Unexpected "??"
../../../../../tmp/8ua1xv070ol/myData.func.js:6625:53: ERROR: Unexpected "??"
../../../../../tmp/8ua1xv070ol/overview/[id].func.js:7139:53: ERROR: Unexpected "??"
../../../../../tmp/8ua1xv070ol/profile.func.js:6806:53: ERROR: Unexpected "??"
../../../../../tmp/8ua1xv070ol/profile/addCarer.func.js:7058:53: ERROR: Unexpected "??"
 Do you solve it?

@Stijn-B and @shiyuhang0 I might have had the same problem when deploying to Cloudflare Pages. I was using the Direct Uploads feature though and it wasn't very forthcoming with a detailed error message, it just said "no deployment available".

I updated the version of esbuild used by next-on-pages and got a more descriptive error message for the ✘ [ERROR] Unexpected "??" error.
With version 0.17.14 of esbuild, the error message is ✘ [ERROR] Cannot use "??" with "&&" without parentheses.
I suspect this may something to do with the fact that npx vercel build has already "built" the JavaScript files, seemingly without respecting the ?? and && rule, and so this error comes about trying to run esbuild on already built JS files. I wonder if there is a bug in what npx vercel build uses to build is JS files that produces JS that doesn't follow this ?? and && rule.
The issue can be reproduced by cloning this commit and running the commands in the readme.
git clone git@github.com:mattddean/next-pages.git
cd next-pages
git checkout e5e8b258164e04053e86932093af77184a77d545

met the same error Error: Failed to publish your Function. Got error: Error: Script startup exceeded CPU time limit. when I deploy pages with prisma. Do you solve it?

@shiyuhang0 the startup cpu time limit is a different issue, we're aware of it and will soon provide a solution for it 🙂 (PS: but it might still happen if your app needs to perform lengthy operations when handling requests)


Add custom styling to docs

Docs currently use vitepress default. Custom style it to make it look better

Moving to linear


Move up installation of any extra packages

So that you for example could install unzip and extract zip files in your drush makefile.

Makes sense to me.


Chore Clang Tidy Preparation do not open build_cloud

Proposed changes
Clang Tidy Preparation do not open build_cloud

run buildall


paket install slow

Description
paket install seems to take a long time with dotnet core projects.  On my machine this repo took over 10 minutes.  Maybe my ssd is dying, maybe my internet is throttled?
Paket version 5.108.0
...
Performance:
 - Resolver: 10 minutes, 28 seconds (2 runs)
    - Runtime: 10 minutes, 23 seconds
    - Blocked (retrieving package details): 891 milliseconds (21 times)
    - Blocked (retrieving package versions): 4 seconds (6 times)
    - Not Blocked (retrieving package details): 174 times
    - Not Blocked (retrieving package versions): 189 times
 - Disk IO: 450 milliseconds
 - Average Download Time: 2 seconds
 - Number of downloads: 1
 - Average Request Time: 159 milliseconds
 - Number of Requests: 212
 - Runtime: 10 minutes, 38 seconds

Repro steps
https://github.com/TheAngryByrd/paket-install-slow
Expected behavior
[Insert Sonic]
Actual behavior
[Insert not Sonic]
Known workarounds
Obtain a hobby between calls to install
Other
Mono JIT compiler version <IP_ADDRESS> (d15-3/da80840 Thu Jul 20 16:43:07 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen (concurrent by default)

.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

I have this issue on Windows 10. I avoid upgrading my packages but when I have to add a new package to my project it takes a long time as for some reason I see all projects listed in console.

Is this a regression? Is it faster with older (recent) versions?
Am 05.10.2017 00:51 schrieb "Sandeep Chandra"<EMAIL_ADDRESS>
I have this issue on Windows 10. I avoid upgrading my packages but when I
have to add a new package to my project it takes a long time as for some
reason I see all projects listed in console.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2823#issuecomment-334312223,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNHV4xoaPKD5AlWF0SxWfWSnce4Ruks5spAwHgaJpZM4PuVME
.

If I create a new project and download packages using nuget it is much quicker than converting the new project to use paket and then to download the packages.

I reproduced the issue as well
 - src/paket-slow/paket.references -> src/paket-slow/paket-slow.fsproj
 - tests/paket-slow.Tests/paket.references -> tests/paket-slow.Tests/paket-slow.Tests.fsproj
Performance:
 - Resolver: 12 minutes, 17 seconds (2 runs)
    - Runtime: 11 minutes, 41 seconds
    - Blocked (retrieving package details): 19 seconds (49 times)
    - Blocked (retrieving package versions): 16 seconds (5 times)
    - Not Blocked (retrieving package details): 146 times
    - Not Blocked (retrieving package versions): 190 times
 - Disk IO: 4 seconds
 - Average Download Time: 14 seconds
 - Number of downloads: 66
 - Average Request Time: 406 milliseconds
 - Number of Requests: 648
 - Runtime: 12 minutes, 50 seconds

Deets
Mono JIT compiler version <IP_ADDRESS> (2017-02/5077205 Wed May 31 14:47:04 BST 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          supported, not enabled.
	GC:            sgen (concurrent by default)

.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

first install: 5min
second update: 4:32 (all packages already downloaded)
@matthid something is seriously weird. It "hangs" for a while at some runtime packages

I cannot take a look the next couple of days. maybe I broke something with my perf changes. Only a profiler will tell

don't even know where to start here

ok @matthid just told me that he has an idea and wants to investigate that during the weekend

Profiler says the problem might be that simplify is too expensive.
I think there was a bug where simplify was not doing the expected thing in every case which was fixed previously. That might have been the cause of https://github.com/fsprojects/Paket/issues/2364.
I think the "fix" is to only do simplify on import and when writing the lockfile or even better after the resolution.

For reference:
Paket version 5.101.0
Performance:
 - Resolver: 8 minutes, 32 seconds (2 runs)
    - Runtime: 8 minutes, 21 seconds
    - Blocked (retrieving package details): 1 second (32 times)
    - Blocked (retrieving package versions): 8 seconds (4 times)
    - Not Blocked (retrieving package details): 163 times
    - Not Blocked (retrieving package versions): 191 times
 - Disk IO: 2 seconds
 - Average Request Time: 227 milliseconds
 - Number of Requests: 212
 - Runtime: 8 minutes, 42 seconds

Paket version 5.100.2
Performance:
 - Resolver: 2 minutes, 36 seconds (2 runs)
    - Runtime: 2 minutes, 25 seconds
    - Blocked (retrieving package details): 3 seconds (57 times)
    - Blocked (retrieving package versions): 8 seconds (9 times)
    - Not Blocked (retrieving package details): 138 times
    - Not Blocked (retrieving package versions): 186 times
 - Disk IO: 688 milliseconds
 - Average Request Time: 223 milliseconds
 - Number of Requests: 212
 - Runtime: 2 minutes, 55 seconds

@TheAngryByrd Thanks, yes that agrees with my quick findings with the profiler :)

Hit this problem, too. I need to waiting for 17minute with an install.

@zaaack so you have the deps file for us?

@forki Here is my deps file, not the newest, but I think the speed won't change too much. In my debian labtop, most time it just takes 100% CPU and doesn't cause much network requests.
source https://nuget.org/api/v2
storage:none

nuget FSharp.Core redirects: force
nuget Fable.JsonConverter
nuget Suave
nuget Microsoft.Extensions.Logging.Console
nuget System.Net.NetworkInformation
nuget Newtonsoft.Json
nuget jose-jwt

nuget Fable.Core
nuget Fable.Elmish.Browser
nuget Fable.Elmish.Debugger
nuget Fable.Elmish.React
nuget Fable.Elmish.HMR
nuget WindowsAzure.Storage
nuget Nett.Coma
nuget Microsoft.EntityFrameworkCore.Tools
nuget Pomelo.EntityFrameworkCore.MySql
nuget Z.EntityFramework.Plus.EFCore
nuget SmtpServer
nuget Foundatio
nuget Humanizer

clitool dotnet-fable
clitool Microsoft.DotNet.Watcher.Tools

group ServerTests
  source https://nuget.org/api/v2
  storage:none
  clitool Microsoft.DotNet.Watcher.Tools
  nuget FSharp.Core redirects: force
  nuget Expecto

group UITests
  source https://nuget.org/api/v2
  framework >= net461
  nuget FSharp.Core redirects: force
  nuget Canopy
  nuget Expecto
  nuget phantomjs

group Build
  source https://nuget.org/api/v2
  framework >= net461
  nuget FAKE
  nuget Newtonsoft.Json

first trial: https://github.com/fsprojects/Paket/pull/2846

Please test with https://github.com/fsprojects/Paket/releases/tag/5.114.5 sorry for the delay :/

And please report back if it helps. Thanks
Am 14.10.2017 18:05 schrieb "Matthias Dittrich"<EMAIL_ADDRESS>
Closed #2823 https://github.com/fsprojects/Paket/issues/2823.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2823#event-1293443272, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADgNK_-4RekxIwd2hJC9wQGx-vwc5Vaks5ssNuugaJpZM4PuVME
.

Much better! 🎸
Performance:
 - Resolver: 2 minutes, 44 seconds (2 runs)
    - Runtime: 2 minutes, 33 seconds
    - Blocked (retrieving package details): 5 seconds (45 times)
    - Blocked (retrieving package versions): 6 seconds (3 times)
    - Not Blocked (retrieving package details): 150 times
    - Not Blocked (retrieving package versions): 192 times
 - Disk IO: 1 second
 - Average Download Time: 4 seconds
 - Number of downloads: 1
 - Average Request Time: 146 milliseconds
 - Number of Requests: 551
 - Runtime: 2 minutes, 53 seconds

Thanks for reporting back.

Paket version 5.114.5
Performance:
 - Resolver: 4 minutes, 17 seconds (2 runs)
    - Runtime: 3 minutes, 39 seconds
    - Blocked (retrieving package details): 25 seconds (51 times)
    - Blocked (retrieving package versions): 12 seconds (5 times)
    - Not Blocked (retrieving package details): 144 times
    - Not Blocked (retrieving package versions): 190 times
 - Disk IO: 2 seconds
 - Average Request Time: 310 milliseconds
 - Number of Requests: 734
 - Runtime: 4 minutes, 28 seconds

+1 🎸

I'm using latest paket (5.120.1) and paket install is taking a lot of time (10 minutes) for every package I'm adding.

Seems like this is starting to creep back up:
Performance:
 - Resolver: 4 minutes, 6 seconds (2 runs)
    - Runtime: 3 minutes, 38 seconds
    - Blocked (retrieving package details): 20 seconds (52 times)
    - Blocked (retrieving package versions): 7 seconds (4 times)
    - Not Blocked (retrieving package details): 143 times
    - Not Blocked (retrieving package versions): 191 times
 - Disk IO: 947 milliseconds
 - Average Download Time: 4 seconds
 - Number of downloads: 15
 - Average Request Time: 209 milliseconds
 - Number of Requests: 688
 - Runtime: 4 minutes, 16 seconds

Guys I need deps + lock file to help
Am 30.11.2017 20:40 schrieb "Jimmy Byrd"<EMAIL_ADDRESS>
Seems like this is starting to creep back up:
Performance:

Resolver: 4 minutes, 6 seconds (2 runs)

Runtime: 3 minutes, 38 seconds
Blocked (retrieving package details): 20 seconds (52 times)
Blocked (retrieving package versions): 7 seconds (4 times)
Not Blocked (retrieving package details): 143 times
Not Blocked (retrieving package versions): 191 times

Disk IO: 947 milliseconds
Average Download Time: 4 seconds
Number of downloads: 15
Average Request Time: 209 milliseconds
Number of Requests: 688
Runtime: 4 minutes, 16 seconds

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2823#issuecomment-348297836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNFxXJHkqc0nuL60JXrgIsR9zKcKjks5s7wSWgaJpZM4PuVME
.

Sorry I wasn't clear.  I was using the same github repo as stated in the original issue: https://github.com/TheAngryByrd/paket-install-slow

Ok. Thanks. Will investigate on Monday
Am 01.12.2017 16:31 schrieb "Jimmy Byrd"<EMAIL_ADDRESS>
Sorry I wasn't clear. I was using the same github repo as stated in the
original issue: https://github.com/TheAngryByrd/paket-install-slow
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2823#issuecomment-348524810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNM9c1TbrwgHVWahzFs79MyxwMYxBks5s8BvlgaJpZM4PuVME
.

I experience slow performance with mono paket.exe install using the below dependencies & lock
https://gist.github.com/blair55/fcbb276fc04e17517fd92beb37f33d11
Performance:
 - Resolver: 11 minutes, 32 seconds (1 runs)
    - Runtime: 10 minutes, 48 seconds
    - Blocked (retrieving package details): 40 seconds (63 times)
    - Blocked (retrieving package versions): 4 seconds (5 times)
    - Not Blocked (retrieving package details): 216 times
    - Not Blocked (retrieving package versions): 11 times
 - Disk IO: 743 milliseconds
 - Average Download Time: 307 milliseconds
 - Number of downloads: 9
 - Average Request Time: 107 milliseconds
 - Number of Requests: 1054
 - Runtime: 11 minutes, 50 seconds

p.s. Paket version 5.133.0

Sorry I'm very busy the next two weeks. Will look into this after that.
Am 06.02.2018 20:44 schrieb "Nick"<EMAIL_ADDRESS>
p.s. Paket version 5.133.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2823#issuecomment-363542007,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNNOO_qrSV0GdTf6s-iHGgqAeLhjcks5tSKuigaJpZM4PuVME
.

@blair55 how fast is second update run after the first run?

@forki Normally there is no significant difference.

Ok. I Have a version in preparation that needs 3min. Which seems plausible
given that this retrieves the internet. But need to verify correctness
Am 11.02.2018 20:04 schrieb "Nick"<EMAIL_ADDRESS>
@forki https://github.com/forki Normally there is no significant
difference.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2823#issuecomment-364777991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNA08pOrRrDX74W0SsdW16c7ARmBzks5tTznPgaJpZM4PuVME
.

@blair55 https://github.com/fsprojects/Paket/pull/3037 is solving your case in 45s

@blair55 can you please retry?

@TheAngryByrd tried git@github.com:TheAngryByrd/paket-install-slow.git and it's now at 52s

Awesome!  I'll yet when I get in the office

Yep, can confirm:
 - Resolver: 45 seconds (1 runs)
    - Runtime: 19 seconds
    - Blocked (retrieving package details): 11 seconds (96 times)
    - Blocked (retrieving package versions): 14 seconds (16 times)
    - Not Blocked (retrieving package details): 183 times
    - Not Blocked (retrieving package versions): 263 times
 - Disk IO: 123 milliseconds
 - Average Request Time: 124 milliseconds
 - Number of Requests: 282
 - Runtime: 51 seconds```

👍

🎸
Performance:
 - Resolver: 23 seconds (2 runs)
    - Runtime: 5 seconds
    - Blocked (retrieving package details): 3 seconds (42 times)
    - Blocked (retrieving package versions): 14 seconds (12 times)
    - Not Blocked (retrieving package details): 164 times
    - Not Blocked (retrieving package versions): 192 times
 - Disk IO: 591 milliseconds
 - Average Download Time: 167 milliseconds
 - Number of downloads: 17
 - Average Request Time: 88 milliseconds
 - Number of Requests: 227
 - Runtime: 28 seconds


Update README.md

Adding the data flow diagram for the frontend to have a clear understanding of the flow of data through the app.

Looks great. This is a helpful addition to understand how the data flows.


Installing the plugin fails for poetry latest release 1.8

#8 13.18 Because no versions of poetry-plugin-pypi-mirror match >0.4.1,<0.5.0
#8 13.18  and poetry-plugin-pypi-mirror (0.4.1) depends on poetry (>=1.3,<1.8), poetry-plugin-pypi-mirror (>=0.4.1,<0.5.0) requires poetry (>=1.3,<1.8).
#8 13.18 So, because poetry-instance depends on both poetry (1.8.0) and poetry-plugin-pypi-mirror (^0.4.1), version solving failed.

This has been addressed, the plugin version 0.4.2 should now work with Poetry 1.8.