Memory Leaks

Type: Bug
Every time I use the quick chat, the first click of the module is fined. However, when I close it and try to re-toggle it, the VScode is not responding, and the usage of memory is increasing rapidly, up to 20GB on my laptop. As I check my keyboard shortcuts, there is no any conflict. I encounter this bug since the VScode Version 1.93, hope you guys can fix it.
Extension version: 0.23.2024102903
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes: Unsupported

System Info

Item
Value

CPUs
13th Gen Intel(R) Core(TM) i7-13700H (20 x 2918)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.80GB (25.40GB free)

Process Argv
--crash-reporter-id 8c2eedc8-0ca9-4a8e-a195-7ffc78c8cf10

Screen Reader
no

VM
67%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
f3je6385:31013174
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc2:31185842
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

This issue does not satisfy the minimal quality standards for an issue that we would like to see in this repository.
Reproducible steps using English with latest VS Code are what helps us a lot. So please feel free to open a new issue with steps.
Thus I will go ahead and close this one.
Thank you


Suspense issues withAsyncContext called without active current instance

Vue version
3.2.45
Link to minimal reproduction
https://sfc.vuejs.org/#__SSR__eNp1VEtv00AQ/isjc0gKydqtWlKMWwkhcSqlgnLCHNb2ON3U3jW760RRmv/OrF95tVEkz2vn+c1svC9VxZY1eqEXmVSLyoJBW1e3sRRlpbSFr6qsINeqhBHzHePMR7GMZaqksVAVfI3awA38iSXABkQWwvkEpEif73mJIcTePdGS6NiD7WRnFUwgF9rY3uxbz8TeBAq+U9x1tJO38e7rMkFNgWawjeXfWEZ+mz4lTozFkuwsEgcQWZ4UCCl5NDexJ6QUcv7oZLHXGDiTRGXrjgHov9Gv2lQoTevnUOcedVHgXYY5rwsXvLeysY2a1i2nudIUts0bhOw7Rs0In3E9qJjInKhlBimJ/L3okb9X2qup5LwoEp4+7z1yeg0Zt3zaOhUZ+Q+G6gcrUc7B6JSUT9ZWJvT91WrF5pov6a1mqSr9lvQvgiu8/Bgkl7NPeIFXyeU1xzSYzc6DNLjOrsj3Qdrud6d4Ro3vy2eMHUU3FZe3QUCTdMRB+r7VbzXheC6RfzK0bsb+bshEu/kTvefLm3gt5qclr9jCKElbsXHmBJpGQTMLoZE4Ge2B43fNMnnqlmNhmNJznyima2lFiQxNOU20Whka84K8NEvQ+fBJuEQ91Sgz1G7ib/s8Mj3x69zSPmyplH5V3WYftcuh4RR6+w222WvQCFtstG8eRGprjb9/3r0O5OPxbzbd5Jm7DO4awMtLLxrOAHyg2t3/Q6/q7wBsqbBTvOzc7h8GMj6BEU26r6rD09Ey9Qew4HJOxbhpD8ewu3VaVe7S0boLiQ+OGzdwGLXBR4QOsOuKjtaPZIGpnYDGf7XQSNfO6pqKoOGcfW4wdXA/d90k9+MzuLmF0aiz4ysuLEhcAUUshcFxa0C5PRK4VG07wXdun1heKKXHDam5zFRJuvdwEQTBGTW1+fYJDDfT2/4HxsTlNA==
Steps to reproduce
Wrap a Suspense tag around a component with a top-level await.
What is expected?
The Suspense will render the #fallback element, and render the #default element once its Promise is resolved.
What is actually happening?
Neither the parent nor the child component are rendered. I receive an error

withAsyncContext called without active current instance. This is likely a bug.

System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 5.37 GB / 15.71 GB
Binaries:
    Node: 18.7.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.3.0 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.19.1 - C:\Program Files\nodejs\npm.CMD
Browsers:
    Edge: Spartan (44.22621.819.0), Chromium (108.0.1462.54)
    Internet Explorer: 11.0.22621.1
npmPackages:
    vue: ^3.2.45 => 3.2.45

Any additional comments?
{
    "vue": "^3.2.45",
    "typescript": "^4.9.3",
    "vite": "^4.0.0",
    "vue-router": "^4.1.6",
    "vue-tsc": "^1.0.11"
}

Just to make sure: Are you seeing this exact problem in an App? or just in the playground? Is your app using SSR? Is it Nuxt?
Because in the playground, the error goes away when you disable "SSR" in the upper right.

I am seeing the issue in #7393 in my app. The app is using SSR and not using Nuxt. When I replicate the problem area in the playground, I am getting a similar but different issue as described in this bug. Strangely enough, in the playground example, nothing even renders for me (SSR on or off) unless:

I remove the await from the Comp.vue. Content renders as expected.
I remove the Suspense from App.vue and just leave the placeholder tr and contents. This will then render what was in the now-deleted Suspense #default block with the correct content from the v-for.

In your playground, you don't resolve the promise in the async components, so they never render.

My mistake, I missed the resolve in the playground. I have updated that which can be found in this playground.
After the resolution fix, when SSR is off this renders correctly without errors. However, with SSR enabled I receive the following errors. Why might that be the case when using this with Suspense?

It's likely just a bug in the playground, which had to mind of stimulate the Server side step, as it all runs in the client.

I have found the cause of the problem. The vue.runtime.esm-browser.js and server-renderer.esm-browser.js packages contain some identical code, as shown below:
let currentInstance = null;
const setCurrentInstance = (instance) => {
    currentInstance = instance;
    instance.scope.on();
};
const unsetCurrentInstance = () => {
    currentInstance && currentInstance.scope.off();
    currentInstance = null;
};

This means that the vue.runtime.esm-browser.js and server-renderer.esm-browser.js modules cannot share the value of currentInstance when renderToString is executed, which leads to this bug.
I have no idea to fix it.

I have found the cause of the problem. The vue.runtime.esm-browser.js and server-renderer.esm-browser.js modules contain some of the same code, as shown below:
let currentInstance = null;
const setCurrentInstance = (instance) => {
    currentInstance = instance;
    instance.scope.on();
};
const unsetCurrentInstance = () => {
    currentInstance && currentInstance.scope.off();
    currentInstance = null;
};

Because renderToString is run in the server-renderer.esm-browser.js module and updates the value of currentInstance when it runs, it is not possible to access this value in the vue.runtime.esm-browser.js module because they belong to different module scopes. Therefore, when the getCurrentInstance function is run in the vue.runtime.esm-browser.js module, it cannot get the correct value, which leads to this bug.

#7672
Is this the same cause causing the problem?

@baiwusanyu-c
I believe the root cause is the same.

The issue can no longer be reproduced using the latest version of Vue.


Adding and renaming cluster repos to the cluster management section of the app

This allows restricted admins to manage the repos even if they don't have access to the local cluster.
https://github.com/rancher/dashboard/issues/3995]

I verified:

A restricted admin has access to cluster repos under cluster management
That the breadcrumbs at the top of the page as well as the cancel buttons still work for both local and cluster management variants.

@codyrancher I've made some tweaks to this. Just going to tweak the banner label.


Pulsar client implementation

Signed-off-by: Dvir Guttman<EMAIL_ADDRESS>

@dvirguttman haven't looked at the the contents yet, but please add the Athenz Authors copyright to all new files.

@dvirguttman haven't looked at the the contents yet, but please add the Athenz Authors copyright to all new files.

Thanks, done


Training exercise/simple p position controller

In this training exercise, the dp control was deactivated from the launch file, and replaced with a simple one-dimentional P-controller node.

Closing this PR since the training period has concluded. Nice work :smile:


Zoom Out wont go beyond size of cropBox

I am using the mouse wheel to zoom in and out. I have noticed that once the cropbox width is equal to the width of the image it wont continue to zoom out. This makes it impossible to fit the image inside of the cropBox. Perhaps there is a settings I need to set to allow this?
This is how i init my cropper
$image.cropper({
  aspectRatio: 4 / 3,
  //autoCropArea: 0.5,
  responsive: true,
  highlight: true,
  resizable: true,
  zoomable: true,
  crop: function(data){
    menuModel.imageUpload.cropBoxData = data;
  }
});

Any thoughts?

Set the strict option with false:
$image.cropper({
  aspectRatio: 4 / 3,
  strict: false,
  crop: function(data){
    menuModel.imageUpload.cropBoxData = data;
  }
});

Thank you.


Update sail to support custom docker image names

This PR let user choose the name of docker services instead of defaults (as already done for APP_SERVICE)
We use several laravel apps communicating together via an API. Developers run these apps at the same time on their machines and they need to specify distinct names for databases, redis, ... in their env. eg:

app_laravel
cms_laravel
crm_laravel
app_redis
cms_redis
crm_redis
...

On each project, this PR let you set these variables in your .env file. eg:
APP_SERVICE=app_laravel
PGSQL_SERVICE=app_pgsql
REDIS_SERVICE=app_redis
SELENIUM_SERVICE=app_selenium

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

I understand 👍
We will fork sail.

Hello @taylorotwell
we've forked for now, but I really think that the few lines in this PR are an advantage for the Laravel ecosystem.
Sail is great for getting started on development quickly but it runs perfectly for several projects in large teams in the Docker style.
We should keep the Docker principle of independency of apps.
You had set APP_SERVICE in the first commit to enable you to start several apps at the same time, but the job was only half done.
If you don't do the same thing for databases, for selenium... then the sail command is half usable, it is not at the level of the Laravel ecosystem I think. You cannot run sail psql, sail dusk, sail redis...
The 5 added lines simply take the container's name preferences, and if there are none, the default names are used.

It would really help to be able to specify the name of all the services :pray:


Snapdragon CI setup

Any linux machine will do. I'll the mirror the setup as well so that Jenkins has 2 possible snapdragon builders.


Trips Layer rendered wrongly in OrthographicView

Description

The trips layer renders incorrectly in OrthographicView with identity coordinate system.
It renders disordered intersecting lines and runs extremely slow when I interact with it.

Bug screenshot rendered by OrthographicView and identity coordinate system:

Expected: rendered by MapView

Repro Steps

The bug could be reproduced quickly by the code below.
For comparison, the expected layer can be correctly rendered by uncomment MapView, and comment OrthographicView and IDENTITY (all marked in the code).
<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>deck.gl trips layer demo</title>
  <style>
    body {
      width: 100vw;
      height: 100vh;
      margin: 0;
    }
    #deckgl-overlay {
      background: #000;
    }
</style>
</head>
<body>
  <script src='https://d3js.org/d3.v5.min.js'></script>
  <script<EMAIL_ADDRESS>  <script>
    const deckgl = new deck.DeckGL({
      mapbox: false,
      viewState: {
        zoom: 10,
        target: [-73.9712, 40.7831, 0],
        longitude: -73.9712,
        latitude: 40.7831
      },
      views: [
        // [1] Uncomment this line
        // new deck.MapView({id: 'map'}),
        // [2] Comment this line
        new deck.OrthographicView({id: 'ortho'})
      ],
    });
    d3.json('https://raw.githubusercontent.com/uber-common/deck.gl-data/master/examples/trips/trips.json').then(data => {
        deckgl.setProps({
          layers: [
            new deck.TripsLayer({
              id: 'trips',
              // [3] Comment this line
              coordinateSystem: deck.COORDINATE_SYSTEM.IDENTITY,
              data,
              getPath: d => d.segments,
              getColor: d => (d.vendor === 0 ? [253, 128, 93] : [23, 184, 190]),
              opacity: 1.0,
              widthMinPixels: 2,
              rounded: true,
              trailLength: 100,
              currentTime: 1800
            })
        ]
      });
    });
  </script>
</body>
</html>

Environment (please complete the following information):

Framework Version: deck.gl 7.1.10
Browser Version: Chrome 75.0
OS: Linux Debian

Logs

No logs.

@Chumhoo By default getWidth is 1. In COORDINATE_SYSTEM.LNGLAT mode, 1 is 1 meter. When you use lnglat data with COORDINATE_SYSTEM.IDENTITY, 1 is 1 degree which is ~110km. Add something like widthScale: 0.0001 to your layer and it will render.

OrthographicView does not handle geographic data like MapView does, this includes Mercator distortion, y-flipping, etc. If you just want to remove the perspective, you can construct MapView with orthographic: true.

Thank you for your helpful answer! @Pessimistress
It seems that I did forget to specify the width for that layer... And it was solved after I added that prop.
Yes I'm aware of the orthographic prop, but I still need those two views for different purposes.


Improve scanpy compatibility

Closes #773
I'm filing this as a draft because I have not yet really tested it, but I wanted to get something up while it was fresh in my mind.
The goal here is to improve the compatibility with scanpy as described in #773, so I have done 4 main things:

Use lower case for X_pca and X_umap to match scanpy.
Convert the PCA and UMAP matrices to numpy matrices.
add a highly_variable column to the var table
Add PCA metadata to uns

The last step involves exporting the variance explained data and then importing that separately, with the assumption that the PCA was centered and highly variable genes were used. I could (and probably should) make those assumptions into arguments for the script just to be safe and maybe a bit future-proof.
There are probably also a few places where I am making other assumptions that I should check more explicitly. As I said, a draft...
I also renamed the script to be a bit more generally named, but annoyingly there were apparently enough changes that GitHub is not displaying it as a rename but as a deletion and recreation. Probably because it was run through a code formatter automatically.

Test run here completed successfully, and at first examination the outputs are as expected.


API: Create MP Component Post Endpoint

[ ] Need to implement a component post endpoint to create a component resource in the MP workspace by removing that work from the system component post end point and putting it into the new component post endpoint.

In this ticket we added this endpoint:

The following JSON can be used as a base to test:
{
    "basisCode": null,
    "manufacturer": "test",
    "modelVersion": "test",
    "serialNumber": "test",
    "sampleAcquisitionMethodCode": "DP",
    "analyticalPrincipleCode": "ELS",
    "componentTypeCode": "BGFF",
    "hgConverterIndicator": 0,
    "beginDate": "2023-12-06",
    "beginHour": 1,
    "endDate": "2023-12-13",
    "endHour": 2,
    "componentId": "ZZ2"
}

@ergjustin will test this ticket

DEV ENV
using
{   "componentId": "027",   "componentTypeCode": "SO2",   "analyticalPrincipleCode": "BA",   "sampleAcquisitionMethodCode": "DOU",   "basisCode": "W",   "manufacturer": "TECO",   "modelVersion": "43I",   "serialNumber": "631819420",   "hgConverterIndicator": 0,   "analyzerRangeData": [     {       "analyzerRangeCode": "A",       "dualRangeIndicator": 1,       "beginDate": "2008-05-17",       "beginHour": 14,       "endDate": null,       "endHour": null     }   ] }

DEV using above fanwari1 json

verified in DEV env

I verified that you can use this endpoint to create a component that is not connected to a system.  The component is created in the camdecmpswks.component table.


[Script]:  web scraping property websites

Aim
Web scraping property websites like Magicbricks involves using automated scripts to extract property details such as descriptions, prices, locations, and amenities.
Details
This data can be utilized for market analysis, price trends, etc
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


language-markdown uses "important" class

Arg, this is biting me again. Just like in #1044, the language-markdown plugin seems to be using a class of important to style sections of code. So if I have:
## FooBar

It gets rendered:
## FooBar

As discussed in #1044, the style "important" is not semantically reflective of the particular thing being styled. Plus because the word important is so general, it's likely to already have a style (for another purpose). So now I get big exclamation marks in the middle of my Markdown.
@aviaryan, maybe this is something you can address like you did in https://github.com/PrismJS/prism/pull/1047 ?

I'd argue that titles are indeed important. That seems quite semantic to me.
There are many classes we use that are likely to already have styles: tag (on blog posts for example), comment (blog posts too), symbol and entity (quite generic terms too)... We can't take everyone's stylesheets into account. Those classes are semantic in the context of the languages they are used in.
If your own styles do not play well with Prism's ones, then you might just need to write a bit of CSS to fix this.

I'd argue that titles are indeed important. That seems quite semantic to me.

By that argument, everything is important. What, is the text less important than the titles?
In fact if you study law you'll learn that often the titles of statutes and contracts are usually less important than the text, as they are given for simple organization purposes and do not provide any additional normative weight to the text. Learn more about this reading about the "Headings clause".
The purpose of the Prism markup is to show syntax highlighting for the various formats. So maybe I should better state my case by saying that if the style is going to be so general, it should be a noun, not an adjective. Let's not make this complicated: Prism found a Markdown title. So it should give it a style of "title". Whether the title is "important" or not is not for Prism to decide; that's an opinionated judgment call. Just mark it as a Markdown title, which is what it is, and we'll all be happy. If I have CSS code using "title", then I'll modify it so that it doesn't apply to Prism. But my beef is that Prism has no business trying to tell me what is "important" or not.
Just my opinion---but I think my reasoning here not too far off.

And I'm pretty sure @LeaVerou will agree with you.
The important class was initially used for the !important keyword in CSS. And the reuse of classes in Prism, useful to prevent constantly BC breaking all existing themes (including the "non-official" ones), is already subject to debate and considered an issue (#1055). Anyway, I made my point.

@garretwilson The problem is that we need to reuse token names across languages, otherwise every theme would need to be updated for every language, which as you can imagine, does not scale. It's indeed a tough problem, if you have any ideas, please post them in #1055. However, complaining about the current state of things without proposing an alternative is not very productive for any of us.

@LeaVerou I wasn't aware of the wider problem. I was just making you aware of the immediate problem, which had been addressed in #1044 for another language. If there is a wider problem, sure I'll look into it and see if I have any ideas. But in for the immediate issue, are you saying that you addressed it for language-ini but you don't intend to address in the same way for language-markdown? I'm just trying to clarify what you're saying.

For you to understand better why this is such a problem, and why I cannot just set up my stylesheet selectors to ignore things inside  blocks, consider this excerpt from the lesson on "inheritance" in my Java programming class (I'm writing the materials):

final Vehicle vehicle = new Airplane();
  vehicle.move(); //invoked Airplane.move()

Note that I have my own style for important that I want to show up inside the code block! For java-language this is working beautifully. But for language-markdown, as you saw above, Prism decides it wants to make other things important (even though they have nothing to do with the semantics of "important"), so my styles start appearing in unrelated places.
You're right that it is only coincidental that there is a semantic mismatch here; it is possible in other cases that Prism might use a style with the correct semantics related to a code block, yet it would incorrectly bring in a style I had of the same name. So I acknowledge that there is a bigger issue here: namely, of style name clashes. But name clashes is by no means a new issue in computing. Why not simply prefix all Prism styles with some sort of "namespace" prefix, e.g. "prism-"?
But suggestions for resolving name clashing I'll post on #1055. For this present issue, I reiterate that "important" is not semantically correct in the first place, and if we change it as was done in #1044 this will buy us time for addressing #1055. Do you see where I'm coming from, and what do you think?

Another issue is that, to be semantically correct in all languages, Prism would have to use a huuuge number of different classes, which do not currently exist in the themes stylesheets. The title class (markdown example) does not exist in the themes.
Other languages use other vocabulary: verbs, adverbs, directives, flags, blocks, lists, tables, commands, labels, rules, macros, enums, registers, atoms, sigils, captures, parameters, filters, dates, conjunctions, mixins, keys, annotations, targets, vectors, matrices, constructors, shortcuts, maps, sequences... All those names should, semantically, have an associated CSS class in Prism's themes. But we can't do it the way we handle themes currently.

The recent issue #1119 made me think that you might want to use this plugin to solve your problem. I'll close this issue, though, since there is no obvious way to solve it in the near future.

The recent issue #1119 made me think that you might want to use this plugin to solve your problem.

@Golmote I was overjoyed to see that plugin, but then I saw that I will need to go back and modify all of my documents, adding a new code segment with custom JavaScript to all my pages!
Is there no way someone could provide a version of this plugin with a default prefix, so that Prism simply automatically uses a prism- prefix, for example?
It is a lot of overhead to not only force my authors to add extra JavaScript to all pages --- not only for future documents, but for all past document! (If there were an option to include this in Prism, we could easily update it across the board by simply updating the shared CSS/JS file.)

The recent issue #1119 made me think that you might want to use this plugin to solve your problem.

I can't try it yet, because the download mechanism seems to be broken; see #1136 .


Enter not moving state when time has completed

When the timer has completed and is counting excess, there's a bit of additional text saying [Enter]: Next, however pressing enter doesn't actually do anything. Before the time ends enter will forward instantly.
I believe this line is the bug, where a >= instead of a < should be used, but I'm not 100% sure on it as it would change behaviour pre-timer-completion.

That does seem to be the case, I will check and confirm, and will fix it later. Anyway thanks for the issue.

bb44cf7e1aa17dabeb7f2fbca124dcaebe7e6635 fixes this problem, and pre-timer-completion with Enter is not a bug, it is you wish to skip it, you need to use skip mechanics


Seems to hide insecure certificate exceptions/helpful errors?

When testing internal APIs with insecure/untrusted certificates I was getting error
  ✖ NightwatchAssertError
   Cannot read properties of undefined (reading 'status')

when running a test similar to
await supertest
      .request("https://internal-insecurely-signed-app.url.int")
      .get("/_manage/health")
      .expect(200);

until I thought to try using the .disableTLSCerts() option (the API under test int his scenario does not use a securely-signed certificate)
await supertest
      .request("https://internal-insecurely-signed-app.url.int")
      .get("/_manage/health")
      .disableTLSCerts()
      .expect(200);

Unless I'm mistaken I recall SuperTest providing an error in these scenarios that would more easily let the user realize it didn't connect because of an insecure certificate. Is the plugin hiding the exception?

No, but what does the superset. disableTLSCerts() do?

It stops supertest from checking the validity of the certificates so we you are using self-signed for local dev or hitting environments with otherwise non-legit certificates (like test environments). Without it supertest throws errors like Error: self signed certificate (see for example https://github.com/ladjs/supertest/issues/737)

Ok, so the issue is that those errors aren't reported correctly, like the assertion error you mentioned? Can you post a stack trace?

  Running Example Test:

───────────────────────────────────────────────────────────────────────────────────────────────────

→ Running [beforeEach]:

→ Completed [beforeEach].

 → Running command: request ('https://redactedUrlHere')

  Error

   uncaughtException: Cannot read properties of undefined (reading 'request')

TypeError: Cannot read properties of undefined (reading 'request')

    at Test.<anonymous> (/Users/davidme/projects/nightwatch-framework-template-ts/node_modules/@nightwatch/apitesting/nightwatch/commands/supertest/request.js:33:71)

    at Test.assert (/Users/davidme/projects/nightwatch-framework-template-ts/node_modules/supertest/lib/test.js:172:8)

    at localAssert (/Users/davidme/projects/nightwatch-framework-template-ts/node_modules/supertest/lib/test.js:120:14)

    at fn (/Users/davidme/projects/nightwatch-framework-template-ts/node_modules/supertest/lib/test.js:125:7)

    at Test.callback (/Users/davidme/projects/nightwatch-framework-template-ts/node_modules/superagent/src/node/index.js:924:3)

    at ClientRequest.<anonymous> (/Users/davidme/projects/nightwatch-framework-template-ts/node_modules/superagent/src/node/index.js:836:10)

    at ClientRequest.emit (node:events:513:28)

    at ClientRequest.emit (node:domain:489:12)

    at TLSSocket.socketErrorListener (node:_http_client:481:9)

    at TLSSocket.emit (node:events:513:28)

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

  TEST FAILURE (5.891s):

   - 1 error during execution;

   - 0 tests failed;

   - 0/NA tests passed


fix(api): Removal of OT3 to Flex load name handling

Older naming conventions for tipracks supported load names utilizing "OT3" as an alias for "Flex", which this removes the definitions and handlers for.
Overview
OT3 tiprack naming convention support removed to satisfy launch naming conventions. Required removal of all interactions with resolve_loadname handler alongside the relevant dictionary of names.
Mapped names removed and reference to standard loaded name used instead. Load_name test data under test_protocol_core adjusted.
Of note, issue found in test_protocol_core under test_load_labware_on_labware. Originally, load_name provided was "labware_some" and was given to the resolution handler. This passed in unmodified build. Removal of references to resolve_loadname cause this test to fail, as the name "labware_some" would result in the following error:
TypeError: cannot unpack non-iterable NoneType object
This is corrected by adjusting the test case name to "some_labware" to prevent inconsistency between subject call and load name expectations, allowing the test to pass.

This PR is being closed as it has been replaced by a similar PR built off and for 7.0 Chore release alongside a few other corrections to assist with consistency and solving CI issues. New PR: https://github.com/Opentrons/opentrons/pull/13606


Any upcoming updates?

thanks

I think it's dead, it hasn't been updated since Dec 25, 2019.

no


Launch config suggests manage.py as the default despite no such file in workspace.

Testing #279
Found when verifying the below steps from the issue mentioned ^

Invalid django file (you can delete or change the name of the file)
Since no file was found, verify that a Default option is displayed.
Select this option and verify that a launch.json configuration is created with the choose option.

That was the default behavior, so we decided to keep it.


Speed-up SparsePauliOp.add

Summary
This PR improves the performance of SparsePauliOp.add by bypassing the phase tacking in the constructor of SparsePauliOp. We can bypass it because pauli_list of SparsePauliOp is already adjusted so that the phase is zero.
Details and comments
import random
from timeit import timeit

from qiskit.quantum_info import SparsePauliOp

k = 20
n = 10_000
m = 100

random.seed(123)
op = SparsePauliOp.from_list([(''.join(random.choices('IXYZ', k=k)), 1) for _ in range(n)])

print(f'{timeit(lambda: sum([op] * m, start=op), number=1)} sec')

main (c1f960a)
6.885756871 sec

this PR (69684b7)
1.705704517 sec

Thank you for your advice. It makes sense to add ignore_pauli_phase and  copy options to SparsePauliOp. I added them. I will add unit tests and reno.


How to configure Endpoint - Smile console

Hi Team, Good day,
The following command doesn't open the smile simulator and says invalid endpoint what is supposed to be configured in the public folder, I feel this is a good framework but am stuck at this point of configuration and no support from the docs.

On standby to assist.
On Mon, 15 Aug 2022 at 01:45, Chuck Dev @.***> wrote:

Hi Team, Good day,
The following command doesn't open the smile simulator and says invalid
endpoint what is supposed to be configured in the public folder, I feel
this is a good framework but am stuck at this point of configuration and no
support from the docs.
[image: image]
https://user-images.githubusercontent.com/64158289/184564267-565bafda-c658-408d-8f5f-e1da5d10e544.png
—
Reply to this email directly, view it on GitHub
https://github.com/rejoice-framework/rejoice/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJ7YKMJUXH44MI3VW4CUDDVZGOKTANCNFSM56QZ3I7Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
MIKE-BERG SITSOFE AFU

SOFTWARE DEVELOPMENT CONSULTANT & TRAINER
BACKEND & MOBILE APP DEVELOPER

MOBILE| VODAFONE: +233 (0) 204 038 261
            MTN GHANA: +233 (0) 246 102 372

W*| m http://www.infotechsystemsonline.comikebergafu.com

L| linkedin.com/in/mike-berg-afu-52686b107
https://www.linkedin.com/in/mike-berg-afu-52686b107
GITHUB| https://github.com/mikebergafu
GITLAB| https://gitlab.com/mikebergafu
Experienced in the Development of:

*Payment Gateways/Mobile Money Platforms *
Telecom Header Enrichment
Bulk SMS Gateways
*USSD *
Telco VAS (Value Added Services)
Fleet Booking/Rental Systems
Revenue Mobilisation and Management Systems

The screenshot below should help you set up the project and run your
simulator by clicking http://<IP_ADDRESS>:8000 http://<IP_ADDRESS>:8000 in
your console after filling in your .env and running $ php smile serve.
[image: image.png]
On Mon, 15 Aug 2022 at 02:04, mike-berg Sitsofe Afu @.***>
wrote:

Hello Chuck,
If I can get a snapshot of your particular error screen, it can remedy the
problem.
On standby to assist.
On Mon, 15 Aug 2022 at 01:45, Chuck Dev @.***> wrote:

Hi Team, Good day,
The following command doesn't open the smile simulator and says invalid
endpoint what is supposed to be configured in the public folder, I feel
this is a good framework but am stuck at this point of configuration and no
support from the docs.
[image: image]
https://user-images.githubusercontent.com/64158289/184564267-565bafda-c658-408d-8f5f-e1da5d10e544.png
—
Reply to this email directly, view it on GitHub
https://github.com/rejoice-framework/rejoice/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJ7YKMJUXH44MI3VW4CUDDVZGOKTANCNFSM56QZ3I7Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
MIKE-BERG SITSOFE AFU

SOFTWARE DEVELOPMENT CONSULTANT & TRAINER
BACKEND & MOBILE APP DEVELOPER

MOBILE| VODAFONE: +233 (0) 204 038 261
            MTN GHANA: +233 (0) 246 102 372

W*| m http://www.infotechsystemsonline.comikebergafu.com

L| linkedin.com/in/mike-berg-afu-52686b107
https://www.linkedin.com/in/mike-berg-afu-52686b107
GITHUB| https://github.com/mikebergafu
GITLAB| https://gitlab.com/mikebergafu
Experienced in the Development of:

*Payment Gateways/Mobile Money Platforms *
Telecom Header Enrichment
Bulk SMS Gateways
*USSD *
Telco VAS (Value Added Services)
Fleet Booking/Rental Systems
Revenue Mobilisation and Management Systems

--
MIKE-BERG SITSOFE AFU

SOFTWARE DEVELOPMENT CONSULTANT & TRAINER
BACKEND & MOBILE APP DEVELOPER

MOBILE| VODAFONE: +233 (0) 204 038 261
            MTN GHANA: +233 (0) 246 102 372

W*| m http://www.infotechsystemsonline.comikebergafu.com

L| linkedin.com/in/mike-berg-afu-52686b107
https://www.linkedin.com/in/mike-berg-afu-52686b107
GITHUB| https://github.com/mikebergafu
GITLAB| https://gitlab.com/mikebergafu
Experienced in the Development of:

*Payment Gateways/Mobile Money Platforms *
Telecom Header Enrichment
Bulk SMS Gateways
*USSD *
Telco VAS (Value Added Services)
Fleet Booking/Rental Systems
Revenue Mobilisation and Management Systems

Sample .env
APP_ENV=dev
APP_URL=http://localhost/new-ussd/public/
SMS_ENDPOINT=
APP_DB_USER=root
APP_DB_PASS=
APP_DB_HOST=localhost
APP_DB_PORT=3306
APP_DB_NAME=
SESSION_DRIVER=file
SESSION_DB_USER=root
SESSION_DB_PASS=
SESSION_DB_HOST=localhost
SESSION_DB_PORT=3306
SESSION_DB_NAME=
USSD_URL=${APP_URL}
USSD_PHONE=+233240000000
USSD_NETWORK_MNC=01
USSD_CODE="*100#"
USSD_CONSOLE_BEHAVIOR=CONSOLE
REQUIRED_PARAM_NAME_USER_PHONE=msisdn
REQUIRED_PARAM_NAME_MENU_STRING=message
REQUIRED_PARAM_NAME_USER_NETWORK=network
REQUIRED_PARAM_NAME_SESSION_ID=sessionID
REQUIRED_PARAM_NAME_USER_RESPONSE=ussdString
REQUIRED_PARAM_NAME_REQUEST_TYPE=ussdServiceOp


Stylelint

Add Stylelint + config
Fix Stylelint Errors

Detected one problem on the branch. Will keep looking a little, but here's a screenshot.

[ ] fix alignment of time in DayTimeline.vue

Detected one problem on the branch. Will keep looking a little, but here's a screenshot.

[ ]  fix alignment of time in DayTimeline.vue

Should be fixed with the last commit. The selector for this element was miss spelled ^^

Did you also see the merge conflict? :)

Did you also see the merge conflict? :)

Jep, i seen it. I will solve it to day ☺

Did you also see the merge conflict? :)

Managed to solve the conflict 😊

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Drop EGL depedency unless needed

Right now when building webrender on Linux (with Gecko), this crate pulls in a libEGL dependency which is really not needed, as it's only required as part of a testing feature. This commit fixes that.

Thanks. Could you also please push the updated version to crates.io? In the firefox build we can't (for now, anyway) pull in repos from git, it has to be on crates.io.

Actually I think you also need to modify build.rs so it doesn't print the link libEGL line, sorry for not noticing before.
And sure, I'll publish this as soon as it's merged.

Thanks!

Thank you for the quick turnaround!


Sync: Improve lists mechanis - Metadata

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3964   👈

This stack of pull requests is managed by Graphite.


Adapter Communication Error

Hi
On a restart today, my connection to two of my Panasonic Air-Conditioners started giving the following error:
`2021-03-20 12:15:34 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139782777837312] Invalid response, status code: 500 - Data: {"message":"Adapter Communication error","code":5005}
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/panasonic.py", line 21, in wrapper_call
func(*args, **kwargs)
File "/config/custom_components/panasonic_cc/panasonic.py", line 346, in set_device
self._api.set_device(
File "/usr/local/lib/python3.8/site-packages/pcomfortcloud/session.py", line 389, in set_device
raise ResponseError(response.status_code, response.text)
pcomfortcloud.session.ResponseError: Invalid response, status code: 500 - Data: {"message":"Adapter Communication error","code":5005}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 141, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1488, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1523, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 642, in entity_service_call
future.result()  # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 681, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 679, in _handle_entity_call
await result
File "/config/custom_components/panasonic_cc/climate.py", line 126, in async_set_hvac_mode
await self._api.turn_off()
File "/config/custom_components/panasonic_cc/panasonic.py", line 227, in turn_off
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/panasonic_cc/panasonic.py", line 24, in wrapper_call
func(*args, **kwargs)
File "/config/custom_components/panasonic_cc/panasonic.py", line 346, in set_device
self._api.set_device(
File "/usr/local/lib/python3.8/site-packages/pcomfortcloud/session.py", line 389, in set_device
raise ResponseError(response.status_code, response.text)
pcomfortcloud.session.ResponseError: Invalid response, status code: 500 - Data: {"message":"Adapter Communication error","code":5005}`
Any support would be appreciated.
Simon.

@simonhq As far as I can tell that error usually indicates an error on Panasonic's end.
So just waiting a bit and retrying usually solves the problem.
Do you still have this issue? If so does the app see all your devices correctly?

Adapter error reflects an error between the Wi-Fi module attached to your hp, and Panasonic server. Nothing can really be done from the integration side to prevent this from happening. It is usually very rare and resolves by its own.
Check that your module has enough Wi-Fi signal where it is located, it may explain this.

I think I might have a solution to parts of your problem, today integrated my 3 Panasonic heat pumps to Home Assistant, 1 & 2 were perfectly integrated, the 3 was shown on the Home Asistant instrument panel but was impossible to maneuver and I got the code when trying to maneuver "Invalid response, status code: 500 - Data: {"message": "Adapter Communication error", "code": 5005}. It turned out in my case that the account that used for Home Assistant which incidentally previously belonged to another former resident in the property only had access to heat pump 1 & 2 but simply did not have access in the app comfort cloud to this heat pump number 3, when I well created competency it worked. I was so happy when it worked so I felt I wanted to tell this and hopefully possibly help someone else in the same situation.


dapp create

so that we can deploy contracts
bonus points for etherscan verification (multi or single file?). maybe @paulrberg's code can useful here https://github.com/paulrberg/multisol/

Yep - should behave identically to dapp create for the most part. Some docs would be nice, altho the help command should provide some context. Docs for passing arrays and abi encoder v2 structs is what prob needs most work.

Since all that is left is docs for structs etc I'm closing it here so we can track in https://github.com/foundry-rs/book/issues/415


rootless: update to 27.0.3

- A picture of a cute animal (not mandatory but encouraged)

Oh! I need to remove centos:7 from CI here. Let me open a quick PR for that

opened https://github.com/docker/docker-install/pull/427 to fix CI


Group expands from left and right

I would like to see a feature with groups that would allow me to configure what modules pop up from the left or right. One way this feature can be used is for media player as you can have only the play button show and if you hover over it it displays the skip forward and skip backwards.

I would love to see this implemented!

Me too!

Me three!


fix: use lower macOS target

Description of change
I would like to try to build on a lower macOS target, so we could potentially white screen issues for users with older mac versions.
Links to any relevant issues
https://github.com/iotaledger/firefly/issues/4766
Type of change
Choose a type of change, and delete any options that are not relevant.

Bug fix (a non-breaking change which fixes an issue)

How the change has been tested
None, tests run in the CI
Change checklist
Tick the boxes that are relevant to your changes, and delete any items that are not.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that new and existing unit tests pass locally with my changes

Closing in favour of https://github.com/iotaledger/iota-sdk/pull/15


Ignore false positives/negatives

I've seen several forum threads where users experience some noise fluctuation in the GPIO input readings, for instance, without any physical change to a Button's state, the events when_released/when_pressed are being triggered.
This is normal and expected on "real world" scenarios, however I would like to know if there is a way to ignore events that happen too fast, for instance, a button is active, then a release and press event are triggered with a small interval in between, say 10ms for instance. I nee to ignore both the press and release rather only the release if I configure the bounce_time.
Is this possible with gpiozero? I've been trying to understand the library code, but I haven't found a way to do this without hacking too much.
The Button.bounce_time property is not applicable, since that configures only the time to ignore events after a first event happened, which is not what I need. I need to ignore all events (including the first one) if another event happened really close to the first one.

I discovered that gpiozero only registers for the RPi.GPIO interruptions, so a glitch filter needs to be handled by the RPi.GPIO before calling the callbacks gpiozero registers.
So without hacking too much on gpiozero it is not possible without the pin factory support for this kind of functionality.
Also I discovered that the only pin factory that supports this is pigpio: http://abyz.co.uk/rpi/pigpio/python.html#set_glitch_filter

Obviously any such "glitch filter" means that there's an added delay between the button being pressed, and your code being notified of the event. For devices like human-pressed buttons that's probably fine, but there'll likely be other scenarios in which it isn't fine.


TST: 32-bit test_distance.py now passes

As discussed for SciPy wheel building related to 1.2.x, there was a test failure with 32-bit Python interpreters in our wheel build matrix in scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_jensenshannon_iris_nonC
I've reduced the stringency of the test a bit so that it can pass with a 32-bit interpreter. This isn't caught by our current test matrix (wheel matrix only), but I did reproduce locally using an i386 Ubuntu docker container -- I'll put the sequence of commands used below in case a reviewer wants to check (I should probably just upload an image / dockerfile I suppose):

docker pull i386/ubuntu
docker run -it i386/ubuntu
apt-get update
apt-get install python2.7-dev
apt-get install python-pip
pip2 install cython==0.29.0 numpy==1.8.2
apt-get install git
git clone https://github.com/scipy/scipy.git
apt-get install libopenblas-dev
apt-get install gfortran
pip2 install pytest
apt-get install vim
in scipy repo on master at hash 3651d2d7  again:
python setup.py install
python runtests.py -t "scipy/spatial/tests/test_distance.py::TestPdist::test_pdist_jensenshannon_iris_nonC"

fails without patch here

Thanks Tyler! Nice touch to have the Docker-based repro:)


Theme UI Pages - Available for common users

All pages available for common users should be available for common users.
Argon Dashboard already provides this evolution. please use it as a reference.
Ty!

Hello @MySecondLanguage
The pages provided by the kit are missing.
Please take a look. Ty!

Validated. Closing.


fix(aio): translation adjustment

错别字： "查件" -> "插件"
顺便修改了一下语义。

... was popularized by ...

个人觉得更多应该是推广普及的意思

I signed it!

新版英文文档中已删除这句。
已添加鸣谢清单。


Feature/Add WithURIAddress option

Add WithURIAddress option to client. It parses passed address with url.ParseRequestURI function and use(or not) TLS over grpc connection based on retrieved scheme( grpc or grpcs).
Related to https://github.com/nspcc-dev/neofs-node/issues/455.

@carpawell please remove all can overwrite comments and add comment to WithNetworkURIAddress:
// Do not use along with `WithNetworkAddress` and `WithTLSConfig`.


Exported variable 'shopify' has or is using name 'RestResources' from external module

https://github.com/Shopify/shopify-api-node/issues/538#issue-1397957814

Fixed by #540


Broken Pipe issue on IMAGE_ID step

Hi there,
In 03-compute-resources.md a few co-workers and I tried running.
IMAGE_ID=$(aws ec2 describe-images --owners<PHONE_NUMBER>77 \
  --filters \
  'Name=root-device-type,Values=ebs' \
  'Name=architecture,Values=x86_64' \
  'Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-*' \
  | jq -r '.Images|sort_by(.Name)[-1]|.ImageId')

We're running into an error
parse error: Invalid numeric literal at line 1, column 7

[Errno 32] Broken pipe
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe

Would appreciate any ideas/help

whoops, we ran aws configure and our output type was text instead of json.


Add packages directories to web/

Much like bin/, test/ and example/, pub should add packages directories under web/ too.

This issue has been moved to dart-lang/pub#122.


update thermostatoperatingmode valuebinary

Modified thermostatoperatingmode reported valuebinary for influxdb logging
Report 0 on idle, 1 on heating or cooling (former implementation ignores cooling)

We should get this forked and rolled up. Somewhere, anyone want to take point on that?


Refactor build/release workflow

I know, you're in the middle of the transition to build/publish your artefacts. But I want to point out, that it is not sufficient to publish the cx-ssi-lib to maven central and create a corresponding GH tag in the eclipse-tractusx/cx-ssi-lib.
Please do the following instead:

create a GH release (e.g. v0.17.0)
attach the build artefact to the GH release
publish the build artefact at Maven Central

Please refactor build/release workflow. Maybe the GH action release-please could help you building your build/release workflow.
Extra hint:
Please maintain CHANGELOG.md file. You published at Maven Central, but your Changelog has no v0.17.0 but content in Unreleased.
related to eclipse-tractusx/managed-identity-wallet#167

@carslen
Thanks for the tips!
This release was both an experiment and a release, as the 23.12 overall release is pressing, I had to make sure we're able to make package releases which are available through Maven and make the MIW compliant with the TRGs.
I'll update the CHANGELOG.md to reflect the current state of the code and add an issue to track progress on the automation of the GitHub release process, as we have some catch-up to do code-wise.

PRs #66 and #68 cover most of the points. Issue #67 is created to tackle the automation of the GH release.
Please advice if we can safely close this issue now.


Ability to retrieve enviorement certificates of VCSA

Is your feature request related to a problem? Please describe.
For purpose of monitoring i need to retrive information about expire date of various certificates stored in vCenter. I can see them if i login to VCSA by ssh and run for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo "[*] Store :" $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -ie "Alias" -ie "Not After";done; as described here.
I can't find any information about retrieving all af those certs, besides of machine ssl and trusted root ones. If there is way to do it outside of ssh cli, i'd like to know.
Describe the solution you'd like
Ability to retrieve all VCSA certificates with information about expire date
Describe alternatives you've considered
No response
Additional context
No response

Refer to following API reference. https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/certificate_management/vcenter.trusted_root_chains/
Python API doc : https://vmware.github.io/vsphere-automation-sdk-python/vsphere/<IP_ADDRESS>/com.vmware.vcenter.certificate_management.html


Add a new plugin update command

Currently when a plugin for cdev is updated there isn't an update command to take the latest version of the plugin. This should be added in order to make it easier to update plugins.
If you give the name of a valid plugin to the command it will run an update for that specific plugin. If not we should just update all plugins.
composer update
Plugins are stored in:
~/.cdev/plugins/

Looks like I did this back in December last year. Closing.


fix: improve TS code completion in mgoose and entity '.prop()' decorators

superseded by https://github.com/HPInc/davinci/pull/177


[Crash] 1.3.0 MobStrengthener.changeAttributes NPE crashed server

Minecraft Version: 1.19.2
RpgDifficultyVersion: 1.3.0
Fabric Version: 0.14.8
Base Modpack: Better MC v9 (my modpack is https://www.curseforge.com/minecraft/modpacks/turtley-awesome)
Full server crash when players traveled far enough out to trigger a mob to spawn with increased strength. This is the first time a player has traveled far enough since the server had been on.
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_5132.method_26864(net.minecraft.class_1320)" because the return value of "java.util.Map.get(Object)" is null 	at net.rpgdifficulty.api.MobStrengthener.changeAttributes(MobStrengthener.java:189) 	at net.minecraft.class_3218.handler$eid000$spawnEntityMixin(class_3218.java:17215) 	at net.minecraft.class_3218.method_8649(class_3218.java) 	at org.betterx.betternether.entity.EntityNaga.method_7105(EntityNaga.java:60) 	at net.minecraft.class_1381.method_6268(class_1381.java:96) 	at net.minecraft.class_4135.method_6268(class_4135.java:65) 	at net.minecraft.class_1355.method_38849(class_1355.java:119) 	at net.minecraft.class_1355.method_6275(class_1355.java:110) 	at net.minecraft.class_1308.method_6023(class_1308.java:753) 	at net.minecraft.class_1309.method_6007(class_1309.java:2641) 	at net.minecraft.class_1308.method_6007(class_1308.java:553) 	at net.minecraft.class_1588.method_6007(class_1588.java:44) 	at net.minecraft.class_1309.method_5773(class_1309.java:2385) 	at net.minecraft.class_1308.method_5773(class_1308.java:353) 	at net.minecraft.class_3218.method_18762(class_3218.java:712) 	at net.minecraft.class_1937.method_18472(class_1937.java:466) 	at net.minecraft.class_3218.method_31420(class_3218.java:371) 	at net.minecraft.class_5574.method_31791(class_5574.java:54) 	at net.minecraft.class_3218.method_18765(class_3218.java:339) 	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:875) 	at net.minecraft.class_3176.method_3813(class_3176.java:289) 	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:819) 	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) 	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) 	at java.base/java.lang.Thread.run(Thread.java:833)
Logs: crash-2022-11-04_22.43.58-server.txt
Config: rpgdifficulty.txt

I have not tried the latest version. Will the 1.3.0 client work with the 1.3.1 server? If so I can try it tonight, otherwise I will need to wait until next week to push out the new modpack with 1.3.1.

I think with the latest version this won't happen, reopen if still existent


Update concept.md

Make sure set the target branch to develop
What is the purpose of the change
Fix typo
Brief changelog
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.1%) to 53.933% when pulling 943bb5db807d5ef526a34a63ada67e3f07314e03 on hezhizhen:patch-1 into df1d93fc8859377b92ba87c6947911281656f355 on apache:master.

Codecov Report

Merging #3104 (943bb5d) into master (df1d93f) will decrease coverage by 0.18%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3104      +/-   ##
============================================
- Coverage     47.97%   47.79%   -0.19%
+ Complexity     4570     4546      -24
============================================
  Files           552      552
  Lines         36628    36628
  Branches       4844     4844
============================================
- Hits          17573    17506      -67
- Misses        16832    16890      +58
- Partials       2223     2232       +9

Impacted Files
Coverage Δ

.../broker/subscription/SubscriptionGroupManager.java
54.11% <0.00%> (-16.48%)
:arrow_down:

...rg/apache/rocketmq/common/stats/StatsSnapshot.java
84.61% <0.00%> (-15.39%)
:arrow_down:

.../apache/rocketmq/common/stats/MomentStatsItem.java
38.09% <0.00%> (-9.53%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
43.47% <0.00%> (-8.70%)
:arrow_down:

...org/apache/rocketmq/store/ha/WaitNotifyObject.java
71.15% <0.00%> (-7.70%)
:arrow_down:

...a/org/apache/rocketmq/logging/inner/SysLogger.java
28.57% <0.00%> (-5.72%)
:arrow_down:

...in/java/org/apache/rocketmq/test/util/MQAdmin.java
38.88% <0.00%> (-5.56%)
:arrow_down:

...va/org/apache/rocketmq/common/stats/StatsItem.java
50.00% <0.00%> (-5.00%)
:arrow_down:

...java/org/apache/rocketmq/logging/inner/Logger.java
51.67% <0.00%> (-4.31%)
:arrow_down:

...ketmq/common/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
:arrow_down:

... and 12 more

Continue to review full report at Codecov.

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


Make sure that the change from getComment to getComments is safe in the AmiGO UI

As long as we're frogging around with the schema, we'll make the change to a multi-valued getComments function and field.
This change has its origin in geneontology/noctua#182.
We need to ensure that this change does not affect AmiGO's UI (or other bits) adversely, and fix them if it does.

Play around and testing new schema is blocked on #246.


All links point to the backend server URL

When navigating around the front end site all links are pointing to the backend server URL i.e.

Thanks for reporting. There is an initialization issue in the sample site. During first run, the website is created but then URLs have already been cached. Same thing for images. If you just restart the website, then the links will point correct, but images will stop working.

Is there a way to have the images working as having the site setup as http://localhost:8080/ sets the links to work correctly but as noted above the images are then linking to http://localhost:8080/ not http://localhost:8081/.
Is there something in the JSON serialization pipeline that can override this for image assets.
Looking at the old Content API documentation there is the concept of IPropertyModelConverter but I cant see this in the new .Net Core version of the packages.

First, the bug in the sample site regarding caching of the URLs should be fixed soon.
The idea is that assets should be served from the backend/management application. So if you host the frontend on port 8080 and the backend on 8081, then the assets should be served from 8081 and the links on 8080 should point to these. This bug has nothing to do with this repository though. Not sure what the root cause of this issue is yet, it could be in CMS 12, the preview version of .NET Core. Content Delivery API subscribes to the events in EPiServer.Core.Routing.IContentUrlGeneratorEvents and then making sure correct hosted is used for the generated URL.
You don't want to use IPropertyModelConverter or similar approach, because then you need to parse out links in e.g. XHTML strings and rewrite them.

We have an internal bug tracking this issue. I'll keep you posted here when we have released a fixed version.

Thanks for the update @JohanPetersson.

@bb-ceccles master branch is now updated with a fixed version where asset links point to the correct host. We've removed all local packages and use the beta feed instead. So if you update all EPiServer.ContentDeliveryApi.* to version 3.0.0-ci-002437 this should work. The beta feed URL is available in the nuget.config files here.
There is still an issue with the initial request, where ALL links will point to the management application, but that's just a sample site setup-thing. We will fix that soon as well.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use JsonApi in routes to register adapters

This feature allow register adapters in the routes PHP file when you define JSON API resources. This feature avoid use a configuration file for register adapters and/or Eloquent adapter mappings. Example:
Route::group([
    'middleware' => ['api-v1'],
    'namespace' => 'Api',
    'prefix' => 'api/v1',
    'as' => 'api-v1::'
], function () {
    JsonApi::eloquentAdapter('comments', 'App\Comment');
    JsonApi::eloquentAdapter('people', 'App\Person');
    JsonApi::eloquentAdapter('posts', 'App\Post');
    JsonApi::adapter('sites', 'App\JsonApi\Sites\Adapter');
});

Done :)

Nice @pedroluislopez! 💯

Sorry about this, but I don't think this will work if you cache your routes. Have you tried it with cached routes?
Also, I'm not sure it solves any problem. You say that it avoids putting stuff in configuration, but the config is there for a reason.

Effectively it doesn't work with cache: routes.
About the purpose of this PR:
The modern frameworks do implement automatic features in order to avoid complex configuration files that are modified, usually, by several developers. For example, we work in the same project five developers.
Laravel has this philosophy. In fact, you use this philosophy in two aspects:

You don't need to define in which folder the controller are. You define a namespace in routes.php for controllers and the framework search the controllers in the folder app/Controllers/{namespace}/.... The name also is calculate in CloudCreativity\LaravelJsonApi\Routing\ResourceRegistrar class.

    /**
     * @param $resourceType
     * @return string
     */
    protected function controllerFor($resourceType)
    {
        return Str::studly($resourceType) . 'Controller';
    }

Also, you define a schema where you create Schemas and Adapters PHP files. It's used by php artisan commands. It's part of Laravel philosophy.

'generator' => [
        'namespace' => 'JsonApi',
        'by-resource' => true,
        'use-eloquent' => true,
    ],

However, effectively this solution doesn't work. If you like, I can offer other solutions based on the schema that you define for php artisan commands (always leaving a chance to be modify by developers in json-api configuration file).
I will close this PR, we will do other PR with other solutions and discuss about them if you like.

Wherever we can move to automation, within the ways that Laravel 5 provides, I am supportive of it. The thing to remember is that this package is still in development (hence no 1.0 tag yet), and whatever your proposing needs to fit in with the general direction of where the package needs to head.
Please remember that in any automation you are proposing it must be capable of supporting multiple API definitions mapping to one set of models. I.e. the package has to support having multiple APIs that expose models in different ways.
I'd also strongly suggest you submit a proposal for the change via an issue before writing any code. That way we can discuss the idea before any code is written.
We are already working on changes to this package, which I've written up here so you can take a look:
https://github.com/cloudcreativity/laravel-json-api/issues/53


Add star button

Issue: #456

Great work thank you!
@all-contributors please add @vitoriapena for code and idea

I'm glad to have contributed!


Cannot use custom claim array values

First I have defined custom claim like this:
AUTH_JWT_CUSTOM_CLAIMS: '{"my-property-ids":"properties.id"}'

When user have properties, in the token I expect to have array with the IDs of these properties
I update table permissions like following:

Scenario 1: When there's no matching property IDs
{
  "errors": [
    {
      "extensions": {
        "code": "data-exception",
        "path": "$"
      },
      "message": "malformed array literal: \"null\""
    }
  ]
}

Scenario 2:  When there's only one matching property ID
{
  "errors": [
    {
      "extensions": {
        "code": "data-exception",
        "path": "$"
      },
      "message": "malformed array literal: \"AuSoCKNydqpMqCGEixTdQ\""
    }
  ]
}

Scenario 3: When there's more then one matching property IDs
Everything looks to be working.
Is there something I'm doing wrong?

You'd rather try
AUTH_JWT_CUSTOM_CLAIMS: '{"my-property-ids":"properties[].id"}'

See JSONata's official documentation

JSONata's official documentation

@plmercereau nhost cloud permission variables does not allow the capture of square brackets []. how does one handle this ?

The Nhost cloud is being updated, it will be available soon.
We also need to upgrade its hasura-auth version to 0.12
Reopening this issue until this is solved in the cloud

Hasura-auth 0.13.2 is deployed in the cloud. Closing. Thanks for your patience


Update MD file on new branch 2017-18-15_04-11-47

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Ignore keyobard nav when focus is in textarea or input

Thanks very much for the lightslider plugin.
I've run into an issue with the keyboard navigation. If a text area or input is on the same page as the slideshow, the keyboard navigation continues to function when they are navigating through the text area with the forward and back arrows.
I thought you might like to consider this PR.

Thanks. :+1:


Update package-lock to lockfile version 2

https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#lockfileversion

The package-lock.json was generated with an npm install command with npm >v7.0 (I have 7.21.1). You can do this yourself with any recent release of npm. The process I do is:

rm -rf node_modules package-lock.json
npm install

This change isn't necessary yet, but will be as new npm versions are released that aren't compatible with lockfile version 1.

Given that Node 12 is still "supported" until 2022-04-30, according to https://nodejs.org/en/about/releases/, and that it ships with npm version 6 we should probably hold off on these types of changes for the time being.


Internal Server Error (500) when trying to convert multiple pages

Trying to convert multiple tables from a PDF but getting a Internal Server 500 error. It will work if I do one page at a time, but not if I select "repeat selection"
Tabula API version: <IP_ADDRESS>92117
Filename: downloadReport Nov 8, 2016.pdf
Internal Server Error (500)
    Request Method:
    POST

    Request URL:
    http://<IP_ADDRESS>:8080/pdf/3254f94e6267af2bc63e608f1b573e554710ee30/data

Can you send us a link to the PDF?

Unfortunately, no. I've been playing around with it and it seems that having the "repeat selection" not extend all the way through the document works. For example, I'd delete the selection on the last page of the PDF (blank page) and it will work.

Hi @TLTrac: That's a useful hint. Are you able to share the PDF via email? We'll keep it confidential. (Otherwise, there's no way for us to replicate the bug.)


python311Packages.pyathena: 2.23.0 -> 3.0.6

Changelog: https://github.com/laughingman7743/PyAthena/releases/tag/v3.0.6
Description of changes

Things done

Built on platform(s)

[ ] 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 rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

4 packages built:

python310Packages.pyathena
python310Packages.pyathena.dist
python311Packages.pyathena
python311Packages.pyathena.dist


CVE-2019-6340: Drupal core

My first try to contribute, I hope I got it right...

Looks like there is a validation issue (see Travis test).

Wait, #368 is also about the same and tests are green there.

I'm going to merge #368 as it seems more complete. Thank you for your contribution.


test: add tests for netlify functions

Description

Added tests for netlify edge functions.
Workflow added to verify the tests. Sample run can be found here

Related issue(s)
Fixes #842

@Shurtu-gal In order to clarify the desired coverage of the test, I created the following flowchart explaining the flow the edge function should accomplish.
flowchart TD
    Request(Request) -->legitimate{Is it legitimate?}
    legitimate -->|No| req_no_legitimate[Let the original request go through]
    req_no_legitimate --> Response(Response)

    legitimate -->|Yes| req_legitimate[Fetch from GitHub]
    req_legitimate-->req_json{Was requesting a .json file?}

    req_json -->|No| Response(Response)
    req_json -->|Yes| response_status{Response Status?}

    response_status -->|2xx| response_ok[OK]
    response_status -->|304| response_cached[Not Modified]
    response_status -->|Any other| response_ko

    response_ok --> set_headers[Set Response Content-Type header to application/schema+json]
    set_headers --> send_metric_success[Send success metric]
    response_cached -- cached:true --> send_metric_success
    response_ko --> send_metric_error[Send error metric]

    send_metric_success -- file served from raw GH --> Response(Response)
    send_metric_error --the errored response --> Response(Response)

Based on that, I believe we should have a test for each result of every decision (diamonds).
WDYT?

@Shurtu-gal are you still up on this?

@Shurtu-gal are you still up on this?

Yeah, sorry this totally went out of my mind. Let me look at it again. Might need some time to get what I was doing though 🤣

/ptal

@Shurtu-gal Are all test cases from https://github.com/asyncapi/website?tab=readme-ov-file#json-schema-definitions (decisions are diamonds) tested :thinking_face: ?

@Shurtu-gal Are all test cases from https://github.com/asyncapi/website?tab=readme-ov-file#json-schema-definitions (decisions are diamonds) tested 🤔 ?

I think so. Please let me know if sth is missing.

/ptal

/ptal

/rtm


Remove /tasks/{taskId}/ack endpoint

Discussed with @kishorebanala in #1501 , the /tasks/{taskId}/ack endpoint is no longer needed and to be removed.
In this PR, I only removed the endpoint on the API layer, as I didn't want to prematurely remove anything from the core. Please let me know if more removal or deprecation should be included in this PR.

@kishorebanala  Bumping up the thread

Hey @balloonio, Thanks for your contribution. As I was mentioning in #1501, we cannot remove this API in minor version upgrade, as this would break several clients, especially the previous versions which still calls the ack API.
For now, we shall mark this API deprecated, and do the same in client implementation as well.

A quick question as a new user to the current state of things with the /ack endpoint.
I'm seeing the following odd behaviors right now:

/ack endpoint always returns false
/poll endpoint returns the same task more than once when called concurrently from different worker threads (from C# client for example)
Python client calls ack and only proceeds if ack returns true, so it never perform any actions
C# client runs the ack endpoint but always proceeds regardless of the ack result.

So in other words - right now the C# client ends up processing the task more than once and the python client ends up not processing anything at all.
Since the /ack endpoint is deprecated, shouldn't the /poll endpoint always only return the task exactly once?
And shouldn't /ack always return true for backwards compatibility with clients like the python client that will only proceed if it returns true?

Closing due to inactivity, please reopen if you are able to resume working on this.


update docs for new example code

@davidkoski
There's a typo on the README.md that might be worth addressing too.
https://github.com/ml-explore/mlx-swift/blob/83bd19f9fe93d77d9f89981eeead2d6d190afdba/README.md?plain=1#L17

Training a simple multt-layer perceoptron on MNSIT


SetArgs is need to add 'get' param

Feature Request

Is your feature request related to a problem? Please describe
Describe the solution you'd like
In redis 6.2 or later, set command can add 'get' param to instead getset commmand, and redis offical have been regarded it as deprecated. But in latest version of lettuce, I can not see this param. So, in the future version, this param maybe can add to SetArgs class, sincerely.
Describe alternatives you've considered
Teachability, Documentation, Adoption, Migration Strategy

There's no GET param because of the return type limitations. What you're looking for is the etGet(K key, V value, SetArgs setArgs) command that issues a SET command with the GET argument, available since Lettuce 6.1.

Tks.


Compatibility with PHP 7?

Hi,
I am currently trying to install php-lapack in an php:7 docker image.
I installed liblapacke-dev (and dependencies), and then:
root@a06299010214:/# pecl install lapack-beta
downloading lapack-0.1.0.tgz ...
Starting to download lapack-0.1.0.tgz (10,241 bytes)
.....done: 10,241 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
building in /tmp/pear/temp/pear-build-defaultuserC4x7ei/lapack-0.1.0
running: /tmp/pear/temp/lapack/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20170718
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.16 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable lapack support... yes, shared
checking PHP version is at least 5.2.0... yes. found 7.2.2
checking for lapacke.h header... found in /usr/include
checking for lapacke shared libraries... checking for LAPACKE_dgesv in -llapacke... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuserC4x7ei/lapack-0.1.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/lapack -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserC4x7ei/lapack-0.1.0/include -I/tmp/pear/temp/pear-build-defaultuserC4x7ei/lapack-0.1.0/main -I/tmp/pear/temp/lapack -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/lapack/lapack.c -o lapack.lo
mkdir .libs
 cc -I. -I/tmp/pear/temp/lapack -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuserC4x7ei/lapack-0.1.0/include -I/tmp/pear/temp/pear-build-defaultuserC4x7ei/lapack-0.1.0/main -I/tmp/pear/temp/lapack -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/lapack/lapack.c  -fPIC -DPIC -o .libs/lapack.o
/tmp/pear/temp/lapack/lapack.c: In function 'php_lapack_linearize_array':
/tmp/pear/temp/lapack/lapack.c:55:70: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
     zend_hash_get_current_data(Z_ARRVAL_P(inarray), (void **) &ppzval) == SUCCESS;
                                                                      ^
/tmp/pear/temp/lapack/lapack.c:55:5: error: 'zend_hash_get_current_data' undeclared (first use in this function)
     zend_hash_get_current_data(Z_ARRVAL_P(inarray), (void **) &ppzval) == SUCCESS;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/lapack/lapack.c:55:5: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/lapack/lapack.c:58:8: warning: implicit declaration of function 'Z_TYPE_PP' [-Wimplicit-function-declaration]
    if (Z_TYPE_PP(ppzval) == IS_ARRAY) {
        ^~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:34:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/lapack/php_lapack.h:32,
                 from /tmp/pear/temp/lapack/lapack.c:19:
/tmp/pear/temp/lapack/lapack.c:62:34: warning: implicit declaration of function 'Z_ARRVAL_PP' [-Wimplicit-function-declaration]
      *n = zend_hash_num_elements(Z_ARRVAL_PP(ppzval));
                                  ^
/usr/local/include/php/Zend/zend_hash.h:246:3: note: in definition of macro 'zend_hash_num_elements'
  (ht)->nNumOfElements
   ^~
/usr/local/include/php/Zend/zend_hash.h:246:6: error: invalid type argument of '->' (have 'int')
  (ht)->nNumOfElements
      ^
/tmp/pear/temp/lapack/lapack.c:62:11: note: in expansion of macro 'zend_hash_num_elements'
      *n = zend_hash_num_elements(Z_ARRVAL_PP(ppzval));
           ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:246:6: error: invalid type argument of '->' (have 'int')
  (ht)->nNumOfElements
      ^
/tmp/pear/temp/lapack/lapack.c:67:16: note: in expansion of macro 'zend_hash_num_elements'
     } else if (zend_hash_num_elements(Z_ARRVAL_PP(ppzval)) != *n) {
                ^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_hash.h:224:47: error: invalid type argument of '->' (have 'int')
  zend_hash_internal_pointer_reset_ex(ht, &(ht)->nInternalPointer)
                                               ^
/tmp/pear/temp/lapack/lapack.c:74:10: note: in expansion of macro 'zend_hash_internal_pointer_reset'
     for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(ppzval));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/lapack/lapack.c:74:43: warning: passing argument 1 of 'zend_hash_internal_pointer_reset_ex' makes pointer from integer without a cast [-Wint-conversion]
     for (zend_hash_internal_pointer_reset(Z_ARRVAL_PP(ppzval));
                                           ^
/usr/local/include/php/Zend/zend_hash.h:224:38: note: in definition of macro 'zend_hash_internal_pointer_reset'
  zend_hash_internal_pointer_reset_ex(ht, &(ht)->nInternalPointer)
                                      ^~
/usr/local/include/php/Zend/zend_hash.h:206:30: note: expected 'HashTable * {aka struct _zend_array *}' but argument is of type 'int'
 ZEND_API void  ZEND_FASTCALL zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/lapack/lapack.c:75:76: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
       zend_hash_get_current_data(Z_ARRVAL_PP(ppzval), (void **) &ppinnerval) == SUCCESS;
                                                                            ^
In file included from /usr/local/include/php/Zend/zend.h:34:0,
                 from /usr/local/include/php/main/php.h:35,
                 from /tmp/pear/temp/lapack/php_lapack.h:32,
                 from /tmp/pear/temp/lapack/lapack.c:19:
/usr/local/include/php/Zend/zend_hash.h:212:37: error: invalid type argument of '->' (have 'int')
  zend_hash_move_forward_ex(ht, &(ht)->nInternalPointer)
                                     ^
/tmp/pear/temp/lapack/lapack.c:76:7: note: in expansion of macro 'zend_hash_move_forward'
       zend_hash_move_forward(Z_ARRVAL_PP(ppzval))) {
       ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/lapack/lapack.c:76:30: warning: passing argument 1 of 'zend_hash_move_forward_ex' makes pointer from integer without a cast [-Wint-conversion]
       zend_hash_move_forward(Z_ARRVAL_PP(ppzval))) {
                              ^
/usr/local/include/php/Zend/zend_hash.h:212:28: note: in definition of macro 'zend_hash_move_forward'
  zend_hash_move_forward_ex(ht, &(ht)->nInternalPointer)
                            ^~
/usr/local/include/php/Zend/zend_hash.h:200:30: note: expected 'HashTable * {aka struct _zend_array *}' but argument is of type 'int'
 ZEND_API int   ZEND_FASTCALL zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/lapack/lapack.c:78:32: warning: implicit declaration of function 'Z_DVAL_PP' [-Wimplicit-function-declaration]
       outarray[(j * *m) + i] = Z_DVAL_PP(ppinnerval);
                                ^~~~~~~~~
/tmp/pear/temp/lapack/lapack.c: In function 'php_lapack_reassemble_array':
/tmp/pear/temp/lapack/lapack.c:105:3: warning: implicit declaration of function 'MAKE_STD_ZVAL' [-Wimplicit-function-declaration]
   MAKE_STD_ZVAL(inner);
   ^~~~~~~~~~~~~
/tmp/pear/temp/lapack/lapack.c: In function 'zm_startup_lapack':
/tmp/pear/temp/lapack/lapack.c:581:34: error: too many arguments to function 'zend_register_internal_class_ex'
  php_lapack_exception_sc_entry = zend_register_internal_class_ex(&ce, zend_exception_get_default(TSRMLS_C), NULL TSRMLS_CC);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:39:0,
                 from /tmp/pear/temp/lapack/php_lapack.h:32,
                 from /tmp/pear/temp/lapack/lapack.c:19:
/usr/local/include/php/Zend/zend_API.h:303:28: note: declared here
 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:194: recipe for target 'lapack.lo' failed
make: *** [lapack.lo] Error 1
ERROR: `make' failed

This post describes details about the zend_* problems.
Would really appreciate your answers
Thanks in advance!

Hi,
I guess this extension is nlt maintaned anymore. I'm developing one array extension with LAPACKE and OpenBLAS here: https://github.com/phpsci/phpsci-ext . The documentation is not ready, but it shows how to compile in linux envs.
For methods reference, check the


Error generated when creating a service provider without a name can be improved

Moved from: https://wso2.org/jira/browse/IDENTITY-7097
When doing the subject IS gives the attached error. This should be improved as "Please provide Service Provider Name" not ID.
Related to wso2/product-is#5381

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


restructure  recommendation

I recommend to use this structure  and divide your project to modules instead of packages.

Dividing the project into modules actually is the best practice I keep it in packages for simplicity maybe will change that someday, for now, i wanna keep it simple as possible.
About the structure, I'm already using this one if you see any differentiation please provide more information.

sorry Ali, this is structure what I meant : entities > domain > presentation.
presentation depend on domain and domain depend on entities.

All is good but still, no differentiation bro in the project I have the same structure.

@khalidabuhayea Update: The project is now using modules rather than packages 🙌🏼


Configuration search sequence -

Type:

Feature request

NLog version: 4.3.5
Platform: .Net 4.5
According to the documentation configurations are searched in the following sequence:

standard application configuration file (usually applicationname.exe.config)
applicationname.exe.nlog in application’s directory
NLog.config in application’s directory
NLog.dll.nlog in a directory where NLog.dll is located (only if NLog isn't installed in the GAC)

Based on my tests, if both, an applicationname.exe.nlog file and an NLog.config file coexist in one directory, the application will use the NLOG.config file.
It would be desirable, that configurations are searched in the defined sequence, and if a configuration is found it is used and further configuration searching is aborted. In my specific case, if an applicationname.exe.nlog exists, the NLog.config file should not be read.
This would allow to deploy multiple exe files in one directory and to have applicationname.exe.nlog specific configurations together with a default NLog.config file (for those exe files with no applicationname.exe.nlog).

Agree, but because this a breaking change, the first opportunity will be NLog 5

Duplicate of https://github.com/NLog/NLog/issues/223


[webpack v5] Uncaught (in promise) ReferenceError: exports is not defined

Do you want to request a feature or report a bug?
A bug.

What is the current behavior?
I got this error since I updated webpack from v5.0.0-beta.25 to v5.6.0.

It happens when the browser want to load a CommonJS module/library.

If I add <script>var exports = {};</script> to my index.html file, this is the require function who is not defined.
If the current behavior is a bug, please provide the steps to reproduce.
I can't provide access to source code because is a companie project but I can provide the configuration.
https://gist.github.com/sukano/10a9cafc90e7e6b8591dd4f665c648ed

What is the expected behavior?
He should provide CommonJS capacity to load module.
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
This bug seems appear since v5.0.0-beta.26.

Difficult to say without the source code of dayjs-internal. My guess would be there is a "type": "module" in dayjs-internal/package.json.

I confirm, there is a "type": "module" in dayjs-internal/package.json.
And I can share the tsconfig.json file content:
{
  "compilerOptions": {
    "moduleResolution": "node",
    "target": "es5",
    "module": "CommonJS",
    "lib": ["esnext"],
    "strict": true,
    "sourceMap": true,
    "declaration": true,
    "allowSyntheticDefaultImports": true,
    "declarationDir": "./dist",
    "outDir": "./dist",
    "typeRoots": ["node_modules/@types"],
    "esModuleInterop": true
  },
  "include": ["src/**/*.ts", "src/*.ts"],
  "exclude": ["./node_modules"]
}

@sukano Can you try latest webpack@5 version?

@sukano Can you try latest webpack@5 version?

@alexander-akait Editing package.json fixed my problem.
It works with the latest version of webpack@5.

@alexander-akait Editing package.json fixed my problem.
It works with the latest version of webpack@5.

Can anyone help me? I am still facing this issue.
I am trying to upgrade from webpack 4 to 5 (all config was initially done using CRA + eject). I was able to make the webpack compile successfully but the application breaks with a "Uncaught ReferenceError: exports is not defined" error.
I saw some hacks using  I thought it was too hacky, but tried anyway, it solves the issue but then the next error is require is undefined so I need a real solution for this.
My package.json does not have type: module.
tsconfig.js
{
  "compilerOptions": {
    "sourceMap": true,
    "target": "ESNext",
    "baseUrl": ".",
    "lib": ["DOM", "ESNext", "DOM.Iterable", "ScriptHost", "ES2016.Array.Include"],
    "moduleResolution": "node",
    "module": "CommonJS",
    "outDir": "lib",
    "esModuleInterop": true,
    "allowJs": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "checkJs": false,
    "declaration": false,
    "strictNullChecks": true,
    "jsx": "react",
    "types": ["react", "node"],
    "paths": {
      "components/*": ["./src/components/*"],
    },
    "skipLibCheck": true
  },
  "exclude": [
    "node_modules",
    "lib"
  ],
  "include": [
    "src",
    "custom.d.ts"
  ]
}

webpack.config.js
...
output: {
      libraryTarget: 'umd'
    },
module: {
      strictExportPresence: true,
      rules: [
        {
          test: /\.tsx?$/,
          use: [
            {
              loader: 'ts-loader',
              options: {
                transpileOnly: true
              }
            }
          ]
        },
        {
          oneOf: [
            {
              test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/, /\.mp?g$/],
              loader: require.resolve('url-loader'),
              options: {
                limit: 10000,
                name: 'static/media/[name].[hash:8].[ext]',
              },
            },
            {
              test: [/\.(ogg|mp3|wav|mpe?g)$/i],
              loader: require.resolve('file-loader'),
              options: {
                name: '[name].[hash:8].[ext]',
                outputPath: 'static/media/'
              },
            },
            {
              test: /\.(woff|woff2|eot|ttf|otf|svg)$/,
              loader: require.resolve('file-loader'),
              options: {
                name: '[name].[ext]',
                outputPath: 'fonts/'
              }
            },
            {
              test: /\.(js|mjs|jsx)$/,
              include: [paths.appSrc, path.resolve(__dirname, '../../Common')],
              loader: require.resolve('babel-loader'),
              options: {
                customize: require.resolve(
                  'babel-preset-react-app/webpack-overrides'
                ),

                plugins: [
                  [
                    require.resolve('babel-plugin-named-asset-import'),
                    {
                      loaderMap: {
                        svg: {
                          ReactComponent: '@svgr/webpack?-svgo![path]',
                        },
                      },
                    },
                  ],
                ],
                cacheDirectory: false,
                cacheCompression: isEnvProduction,
                compact: isEnvProduction,
              },
            },
            {
              test: /\.(js|mjs)$/,
              exclude: /@babel(?:\/|\\{1,2})runtime/,
              loader: require.resolve('babel-loader'),
              options: {
                babelrc: false,
                configFile: false,
                compact: false,
                presets: [
                  [
                    require.resolve('babel-preset-react-app/dependencies'),
                    { helpers: true },
                  ],
                ],
                cacheDirectory: true,
                cacheCompression: isEnvProduction,
                sourceMaps: false,
              },
            },
...

I can post more of webpack / babelrc if needed...

None of webpack config change above can fix it, only source code change can fix: react-native-web with react-app-rewired and react-scripts@5 and webpack@5 cause Uncaught Error: ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead<EMAIL_ADDRESS>ref to https://github.com/webpack/webpack/issues/4039#issuecomment-419284940


"Learn Basic CSS By Building Cafe Menu" Step 45 not marking as pass but continuing on to step 46

Describe the Issue
going through the course "Learn Basic CSS By Building Cafe Menu" step by step through the online editor all steps registered completion apart from step 45, despite the solution being correct and it progressing on to step 46.
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-45
Your code
.flavor {
  text-align: left;
  width: 75%;
}

.price {
  text-align: right;
  width: 25%;
}

Expected behavior
test the code, pass the code as per lesson parameters and progress to step 46
Screenshots
Timeline shows completion of steps 43, 44, 46

Timeline shows completion of steps 90, 91, and 45 after going back and redoing it

System

Device: [Desktop]
OS: [Windows 10]
Browser: [Firefox]
Version: [131.0.3 (64-bit)]

Additional context
I know that I did not miss this step the first time round either willingly or mistakenly as the steps always progressed correctly.
It was just at the end of the final step, when it brought me back to the cirriculum page (https://www.freecodecamp.org/learn/2022/responsive-web-design/#learn-basic-css-by-building-a-cafe-menu) showing step 45 as not completed (showing default square icon opposed to the blue highlighted icon)

Hi @Esrrlyg !
Whenever a practice project is updated, then it will show up in the timeline as not completed since changes were made to the step.
It looks like changes where made here in this PR
https://github.com/freeCodeCamp/freeCodeCamp/pull/56296
When that happens, you are free to ignore it and continue with the rest of the project. Only the certification projects count towards the claiming of the certification.
Hope that helps

Cheers for the quick reply, however I'm unclear how with typo changes which were merged 3 weeks ago would impact the recording of completing all of the challenges today (18/10/2024).
Forgive me if I'm completely wrong but surely that wouldn't matter as they were merged well before I started on this section.
I am happy to ignore it and continue onwards to the next practice project, it just striked me as odd thats all.

however I'm unclear how with typo changes which were merged 3 weeks ago would impact the recording of completing all of the challenges today (18/10/2024).

We don't deploy the site everyday.
We just did a deployment today which is why the new changes showed up. Hope that helps

Since this has been resolved, I am going to close the issue 👍


automate with postinstall

hey i love this little server :-D
it'd be even better if it was automated via postinstall script
this one has instructions on how to do it, but doesn't seem to work for me: https://github.com/bamarni/dockness

hey @matthewmueller - thanks for the feedback- totally agree!  I just gave it a shot and I can't seem to get it to start up with launchctl either... I'll poke around a bit more later and see if there's something obvious I'm missing.

actually @joechrz, i'd just get on the docker beta, this mapping got fixed so you it's just docker run -p 5000:5000 nginx then go to localhost:5000

I'm actually on the beta myself :) but the rest of my team is still using our docker-machine dev environment, so I'll probably take care of this anyways.  Thanks for the info though!


fn render should check against expected stderr

Fix #1755
#1666
Test harness compares standard error from the command to the expected standard error.

You may want to update the function which updates the expected results as well.


boneyard-formula-pr: make it more consistent with bump-formula-pr

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Use ohai to print messages;
Checkout last branch when done.

Makes sense, thanks @zmwangx!