Fix to bug where saving the design panel clears the page's page type

This is to fix a bug where:

You create a new page
You save the page, edit, whatever
Edit the page, open the Design panel and click save from there
After the save, the page type of the page has been cleared/nulled.

Code wise, this now checks to see if $_POST['ptID'] actually has a value - the design panel isn’t currently posting a ptID value, so it will always return true for:
if ($ptID != $_POST['ptID']) {
Not sure of the case where'd you'd want to set the page type to null.

This is actually because the same controller works off the design panel and the design dialog. Gonna just add some information into the design dialog in the sitemap that will fix this.


[7.x] Testing JsonResource responses

This PR adds assertJsonResource() to TestResponse. This is a convenience method for asserting that the TestResponse's JSON matches the JSON that a JsonResource would create, similar to assertViewIs() and assertViewHas().
$jsonResource = new FooResource(Foo::first());

$this->getJson(route('foo'))->assertJsonResource($jsonResource);

I'm keeping this as a draft for now since the test doesn't pass currently. I need to boot the appropriate bits of the framework so that response() will work, but I'm not sure how best to do that.

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.


RAW html needs to be formatted for "Creating an OAuth Provider" info

Description
This page has content that's in raw html, and can't be easily consumed:
https://opensource.hcltechsw.com/volt-mx-docs/95/docs/documentation/Foundry/voltmx_foundry_user_guide/Content/Identity11_OAuth.html
Observed
See the service configuration and login configuration and advanced sections in the following screenshot:

Desired
Please properly format the <table> content so that it can be easily understood (assuming that the content that's there is actually correct).
Topics
https://opensource.hcltechsw.com/volt-mx-docs/95/docs/documentation/Foundry/voltmx_foundry_user_guide/Content/Identity11_OAuth.html#creating-an-oauth-provider
To Reproduce
Unclear if there's a product issue, but at the moment it seems to be only a documentation issue.

Hi @artcathcl, I'm a little confused here to understand the exact issue. Will connect on the fly to discuss it further. You may also use this document to create JIRA task for any future issues and assign it to me. I'll ensure to address the concerns & provide timely solution.
Doc_Requiremnt_Process.pdf
Thanks!
(CC: @davidsayer57 )

I rectify the problem @artcathcl! I'll open a JIRA task to take it ahead.

thanks!
On Mon, Apr 1, 2024 at 5:43 PM kumari-h @.***> wrote:

I rectify the problem @artcathcl https://github.com/artcathcl! I'll
open a JIRA task to take it ahead.
—
Reply to this email directly, view it on GitHub
https://github.com/HCL-TECH-SOFTWARE/volt-mx-docs/issues/792#issuecomment-2030612101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUOGJT52LJWM6EOBG2GGZ23Y3HIGJAVCNFSM6AAAAABFHDGXD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGYYTEMJQGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @artcathcl, I've created this JIRA ticket to address this task. We'll catch up at: https://jira01.hclpnp.com/browse/MXOP-11540

Hi @artcathcl: I've planned this task for Sprint 130 (current sprint) and its in progress.
(@david sayer)

Hi @artcathcl, the raw HTML issues have been fixed. Please see the updates at below preview doc page and feedback:
https://github01.hclpnp.com/pages/phoenix-temenos/volt-mx-doc-opnsrc/95/docs/documentation/Foundry/voltmx_foundry_user_guide/Content/Identity11_OAuth.html
(@davidsayer57 )

I close this issue as we have resolved this issue.

Closed!


[Scenario] Sylvia Marsh contra el crepúsculo de plata

What kind of mission do you want to add (mark with an X, e.g. [X] Descent)?

[x] Mansions of Madness
[ ] Descent

What expansions does the scenario require?

[ ] Conversion Kit (CK)
[ ] First Edition (MoM1E) - Also Recurring Nightmares
[ ] Fatal Alchemy (FA) - Also Suppressed Memories
[ ] Call of the Wild (CotW) - Also Suppressed Memories
[ ] Beyond the Threshold (BtT)
[ ] Streets of Arkham (SoA)
[ ] Sunctum of Twilight (SoT)
[ ] Horrific Journeys (HJ)
[ ] Path of the Serpent (PotS)

What expansions can the scenario optionally use?

[ ] Conversion Kit (CK)
[ ] First Edition (MoM1E) - Also Recurring Nightmares
[ ] Fatal Alchemy (FA) - Also Suppressed Memories
[ ] Call of the Wild (CotW) - Also Suppressed Memories
[ ] Beyond the Threshold (BtT)
[ ] Streets of Arkham (SoA)
[ ] Sunctum of Twilight (SoT)
[ ] Horrific Journeys (HJ)
[ ] Path of the Serpent (PotS)

Please enter the GitHub Url to your scenario here
https://github.com/luiccin/Valkyre

@scrubbless or @antontimmermans

The scenario is added to manifest and to the analysis sheets. Should be downloadable in ~1 hr.

It's online. Thanks, @antontimmermans
@luiccin , you can close this issue. And thanks for creating the scenario.

Closed. @antontimmermans Please close these kind of threads using the close with comments button after adding the scenario to scenario list.

It's online. Thanks, @antontimmermans @luiccin , you can close this issue. And thanks for creating the scenario.

I've had to reupload the scenario. I forgot to indicate that it needed an expansion.

Added that info to the statistics sheet too ;-)


app.js: move app.config() into a config.js file.

I have an AngularAMD application as described here http://marcoslin.github.io/angularAMD/#/home
Can the app.config( ) { ... } section of code be moved from app.js into a config.js file?
Where is the new config.js file loaded?
app.js
define(['angularAMD', 'angular-route'], function (angularAMD) {
    var app = angular.module("webapp", ['ngRoute']);
    app.config(function ($routeProvider) {
		$routeProvider.when("/home", angularAMD.route({
		    templateUrl: 'views/home.html', controller: 'HomeCtrl',
		    controllerUrl: 'ctrl/home'
		}))
    });
    return angularAMD.bootstrap(app);
});

+1, have several large config files and would love the ability to load config outside of the app file.

Seems like this project is discontinued... Any thoughts about this issue @marcoslin ?

I ended up starting from with require-js and angular ui-router scratch with these ideas and came up with something usable:
Basic demo: http://plnkr.co/edit/XU7MIXGAnU3kd6CITWE7?p=info
More complete template: https://github.com/F1LT3R/angular-require-lazyload-template
Dan Wahlin's post is pretty helpful: http://weblogs.asp.net/dwahlin/dynamically-loading-controllers-and-views-with-angularjs-and-requirejs

Sorry guys... The day job is killing me and leaving me no time to address my side projects.  The quick answer to the question is that yes, you can move the config to a config.js file but the current implementation will only allow this to be done after bootstrap.
Take a look at the example here: https://plnkr.co/edit/G4pII6?p=preview
Basically, app.js defines the home state and page2 state is defined in config.js which is only called when home_ctrl is loaded.


Sequence: Add "see Sequential" to docs

.. since when refreshing my knowledge about the Ceylon collection classes by reading the source I always get cut off from traversing Sequence → Sequential. Even the IDEs don't let me Control-click the superinterfaces.

Yeah, those small arrow links for abbreviated types have always bugged me.


Update technical documentation

Improved sequence diagrams for Linkchecker workflow.

Thanks for the updates. We could specify somewhere, what  "Relevant" means in "Extract Relevant URLs'.


RateYourMusic provider no longer returning genres

Rateyourmusic seems to have incorporated Incapsula into their process, which makes screen scraping nearly impossible.
Even with an authenticated cookie, the response is really obfuscated. From what I've read, the only feasible way to get around this is to use something like selenium and an actual browser.
The provider should probably be disabled. Hopefully Sonemic's alleged API will actually come to exist some day :/

lately i got:
We're sorry, but your IP address has been banned from this site. This could happen for a number of reasons:

    You requested a very large number of pages in a very short time, causing problems for our server (this can happen if you hit 'refresh' over and over, for example).
    You could have been banned by mistake; sometimes our automated banning policies are too strict and some IP addresses are banned by accident. If you don't think that you've done anything to warrant a ban, this is most likely the case.
    You (or someone with the same IP address as you) might be using a script or program to download pages from this site automatically. This is forbidden by our terms of service.
    Someone with your IP address may have violated another section of our terms of service (for example, behaving disrespectfully toward other members of the site)
    You might be using a VPN. If you are using a VPN, and other users of the same VPN are abusing the service, then you'll be automatically banned as well. There's not much we can do about this; you'll have to turn off your VPN in order to continue using the site.
    Your computer may be infected with malware or spyware that is making automated requests to our server and causing problems.

You can request being unbanned by clicking here and completing the form. Please be sure to add any information that might help us understand why you might have been banned.

Regards,
RYM/Sonemic Staff

since it doesn't seem there a db dumps available for possible local use i'm going to drop RYM as dataprovider.


Cannot import external JSON in vite.config.ts on Node v22

Describe the bug
EDIT: I thought I was trying to switch between Node.js versions using Volta, but in fact when I called vite from pnpm it was fixed at Node v22.
I tried again with v20 and found no problem when using import assertions, so I have corrected the title.
Import assertions have been disabled since Node v22.0.0, so we can import JSON up to Node v20 or v21 with no problem if we use the conventional notation: assert { type: "json" }.

I am trying to use @iconify-json/meteocons in my Vite plugin.
I tried the following import methods, but none of them worked:
import data from "@iconify-json/meteocons";
import data from<EMAIL_ADDRESS>import data from<EMAIL_ADDRESS>assert { type: "json" };
import data from<EMAIL_ADDRESS>with { type: "json" };

Those will fail with one of the following errors:
TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module<EMAIL_ADDRESS>needs an import attribute of "type: json"

or
SyntaxError: Unexpected identifier 'assert'

I believe that importing JSON in ESM style config files is no longer possible in Node.js v22 because Node.js v22 only supports import attributes instead of deprecated import assertions, and because esbuild removes import attributes under certain conditions (at least with target: ["node18"]).
I have verified that by patching the following line to target: ["node22"], it works correctly for both Node v20 and Node v22.
https://github.com/vitejs/vite/blob/e7d38ab1c45b9d17f182f89d0c129932e2f994eb/packages/vite/src/node/config.ts#L1077
Reproduction
https://github.com/SegaraRai/vite-config-import-json
Steps to reproduce
Run pnpm i followed by pnpm build with Node.js v22.
An error log is also available in GitHub Actions.
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 2600X Six-Core Processor
    Memory: 6.00 GB / 31.93 GB
  Binaries:
    Node: 22.2.0 - ~\AppData\Local\Volta\tools\image\node\22.2.0\node.EXE
    Yarn: 1.22.18 - ~\AppData\Local\Volta\tools\image\yarn\1.22.18\bin\yarn.CMD
    npm: 10.5.2 - ~\AppData\Local\Volta\tools\image\node\20.13.1\npm.CMD
    pnpm: 9.0.6 - C:\Program Files\Volta\pnpm.EXE
    bun: 1.1.8 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    vite: ^5.2.11 => 5.2.11

Used Package Manager
pnpm
Logs

Click to expand! - ERR_IMPORT_ATTRIBUTE_MISSING version
> vite build "--debug"

failed to load config from ...\vite-config-import-json\vite.config.ts
error during build:
TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module "file:///.../vite-config-import-json/node_modules/.pnpm/@iconify-json+meteocons<EMAIL_ADDRESS>needs an import attribute of "type: json"
    at validateAttributes (node:internal/modules/esm/assert:88:15)
    at defaultLoad (node:internal/modules/esm/load:153:3)
    at async ModuleLoader.load (node:internal/modules/esm/loader:541:7)
    at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:422:45)
 ELIFECYCLE  Command failed with exit code 1.

Click to expand! - SyntaxError version
> vite build "--debug"

failed to load config from ...\vite-config-import-json\vite.config.ts
error during build:
SyntaxError: Unexpected identifier 'assert'
    at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:166:18)
    at callTranslator (node:internal/modules/esm/loader:416:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:422:30)
    at async link (node:internal/modules/esm/module_job:88:21)
 ELIFECYCLE  Command failed with exit code 1.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Seems like duplicate of https://github.com/vitejs/vite/issues/14674

In my case, I feel the problem in processing vite.config.ts, not in the bundling of app itself.
Config files, when written in TypeScript, are bundled in a different manner than the app itself, and their settings are hard-coded.
BTW, there seems to be no doubt that esbuild is erasing import attributes.

target: ["node18"]: https://esbuild.github.io/try/#dAAwLjIxLjMALS10YXJnZXQ9Im5vZGUxOCIAaW1wb3J0IGRhdGEgZnJvbSAiZXh0ZXJuYWwuanNvbiIgd2l0aCB7IHR5cGU6ICJqc29uIiB9
target: ["node22"]: https://esbuild.github.io/try/#dAAwLjIxLjMALS10YXJnZXQ9Im5vZGUyMiIAaW1wb3J0IGRhdGEgZnJvbSAiZXh0ZXJuYWwuanNvbiIgd2l0aCB7IHR5cGU6ICJqc29uIiB9

BTW, there seems to be no doubt that esbuild is erasing import attributes.

That looks like a bug in esbuild. They were initially introduced in node 21 but recently backported into 18 and 20.

For anyone having trouble: dynamic import is not converted by esbuild, so the following code will import JSON in Node v22 as well:
const { default: meteocons } = await import(
<EMAIL_ADDRESS>  {
    with: { type: "json" },
  }
);


Credentials in azure-identity should be pickle-able

Is your feature request related to a problem? Please describe.
The azure-ai-evaluation SDK exposes a credential field in its evaluators (example: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/evaluators/_content_safety/_violence.py#L14) to be used when calling the Azure AI RAI service. Right now, this credential is optional, and at execution time we choose DefaultAzureCredential if the user did not pass anything in. However, we need to make this credential parameter required in the evaluators since choosing a default credential is not safe SDK behavior.
If the evaluator is being run on a single input OR when it is used in the batch evaluate API with no credential being passed in, the customer will not see any errors. However, if the user passes a credential to the evaluator and uses it in the evaluate function, it will not work since evaluate uses multiprocessing to do batch runs of multiple evaluators. Multiprocessing requires the evaluator to be pickle-able, but the credentials in azure-identity are not pickle-able, which breaks this scenario.
Describe the solution you'd like
The credentials in azure-identity should be pickle-able so that they can be used in evaluators when doing batch evaluation using evaluate.

I believe the identity object is pickle-able.
Could you share a repro if it is not the case?

Hi @xiangyan99, we just tested with the latest azure-identity and confirmed we are not seeing the errors with pickling that we saw before with multiprocess. Will close this issue


Creating user without backend (Bug #1)

/cib create user without backend

Branch 18-create-user-without-backend created!


Adding design doc for graceful failover

What changed?
Design Doc

Why?
N/A

How did you test it?
N/A

Potential risks
N/A

Coverage increased (+0.3%) to 67.516% when pulling c9bd0ae0a4c61c6a0863d0574765ab68f21fe747 on design-graceful-failover into 74c2c6910b6fd4194fa0a2b918f4168e0a4a6263 on master.


Finetune faceblace detection

MediaPipe Solution (you are using)
Detection
Programming language
python
Are you willing to contribute it
Yes
Describe the feature and the current behaviour/state
finetune detection model faceblaze not supported
Will this change the current API? How?
add finetune
Who will benefit with this feature?
everyone need fast detection on edge
Please specify the use cases for this feature
real-time heart rate estimation for medical
Any Other info
No response

Hi @rorlich,
We appreciate your interest in this feature. Unfortunately, it's not currently implemented. We've forwarded your request to our development team for consideration. While we cannot provide a specific timeline, we'll prioritize it based on demand and resource allocation. We will keep you informed of any updates.
Thanks,
@kalyan2789g


Crashing when i try to use the sprite editor

Describe your bug here.

uh i dont know what this means so i dont really know what else to say
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

Same error im having, but its when i try going to the weeks i created.


Governor CPU performance

notzed has reported improved performance with the performance governor.
http://forums.parallella.org/viewtopic.php?f=48&t=1011

ondemand is default but performance can be enabled with:
echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor


HTTP headers are case-insensitive

I'm using nock to record and reply, and facing the following issue
if a request rawHeaders looks like:
rawHeaders: [
    "set-cookie",
    "foo=baz; Domain=.github.com; Path=/",
    "Set-Cookie",
    "foo=bar; Domain=.github.com; Path=/",
    "Set-Cookie",
    "fiz=baz; Domain=.github.com; Path=/"
  ]

then, replay it will causing "Failed to convert header keys to lower case due to field name conflict: set-cookie", so if http header is case-insensitive, above headers should be allowed?
I see nock already apply case-insensitive modification in multiple places, but not in headersArrayToObject https://github.com/node-nock/nock/blob/master/lib/common.js#L261 yet, just wonder is this an issue?

Hey @cjzcpsyx, thanks for opening the issue. I really don’t know if this is a bug or a feature to be honest, I’m still figuring out the code base myself. But if you found incoherences than that’d be a strong sign that this is a bug.
Could you start a pull request with a failing test, and we take it from there?

@gr2m https://github.com/node-nock/nock/pull/1122


Unable to crop image

When uploading an image, after clicking on "Crop" button, I don't see the image in the crop editor:

Resolved in PR: Fix/Unable-To-Crop-Image

Hi is this fixed I see the same problem still on your demo the problem is there to .

Hi @blazodragan ,
It's fixed, but not yet deployed. Since there are other issues waiting to be deployed as well, we will try to get it out by the end of this week.
Thank you for your patience ✌

This was fixed in v1.1.21


Add support for auto-inlining of arrays

This should be done after #64 and updated to use the new API if necessary.


[UNDERTOW-1837] ServletRequest#getLocalPort(), getLocalAddr() and get…

Issue: https://issues.redhat.com/browse/UNDERTOW-1837
JBEAP Issue: https://issues.redhat.com/browse/JBEAP-20907
2.0.x PR :https://github.com/undertow-io/undertow/pull/1045
2.1.x PR: https://github.com/undertow-io/undertow/pull/1046

@moulalis  can you please check the following failures?
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486404
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486429
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486571
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486607
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002485978
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486020
Even though the CI is not stable and we do have to cope with some test failures in the PRs (a problem we are working to solve), those failures are new and likely introduced by your PR.
To do a full run in your local machine, you need to run:
mvn clean package  -Pproxy -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -fae > output.txt
It looks to me, though, that simply running mvn test ProxyForwardedTestCase in servlet module will cause the failure.

@moulalis can you please check the following failures?
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486404
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486429
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486571
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486607
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002485978
https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2002486020
Even though the CI is not stable and we do have to cope with some test failures in the PRs (a problem we are working to solve), those failures are new and likely introduced by your PR.
To do a full run in your local machine, you need to run:
mvn clean package -Pproxy -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -fae > output.txt
It looks to me, though, that simply running mvn test ProxyForwardedTestCase in servlet module will cause the failure.

@fl4via could you please check it now, the failures are fixed.

@moulalis we are still seeing some failures: https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2184399947#step:10:559 This one is in Windows environment

@moulalis we are still seeing some failures: https://github.com/undertow-io/undertow/pull/1044/checks?check_run_id=2184399947#step:10:559 all of them in Windows

Hi @fl4via, please check it now, it's fixed. Thanks

@moulalis  thanks!


training/inference on laptop

Hi,
Is it possible to train or run inference on a single laptop (System76 - GeForce GTX 1650 - 4Gb)? Both these now return "Cuda out of memory error". nvidia-smi shows that most of the memory is free.
Is there a workaround for this or does it have to be done on a stronger system?

Try to reduce the batch size as more as possible and see if you can run the training process. But in my opinion, this GPU is not enough due to the large size of pointcloud data.

Try to reduce the batch size as more as possible and see if you can run the training process. But in my opinion, this GPU is not enough due to the large size of pointcloud data.

I have tried reducing the batch size and also tried to use only sequence 01 for training (as a test). Still the same issue.

I have tried reducing the batch size and also tried to use only sequence 01 for training (as a test). Still the same issue.

Are you using darknet53 as the backbone of your model? This one requires more memory, than squeezeseg e.g., so you could try a different backbone

Are you using darknet53 as the backbone of your model? This one requires more memory, than squeezeseg e.g., so you could try a different backbone

I am using darknet53. Thanks, will try out squeezeseg!

I am using darknet53. Thanks, will try out squeezeseg!

squeezesegV2 works on this system. This will do for now!
Thanks

squeezesegV2 works on this system. This will do for now!
Thanks


Added support for more mods and refactored Immersive Engineering file…

Added support for multiblocks from: Alchemistry, Immersive Petroleum, Random Things and Techguns.
Alchemistry

Fission Multiblock
Fusion Multiblock

Immersive Petroleum

Pumpjack
Distillation Tower

Random Things

Artificial End Portal

Techguns

Fabricator
Reaction Chamber

Misc

Refactored the names of the json files for the Immersive Engineering Multiblocks to help readability.

Great job


python312Packages.libpcap: 1.11.0b7 -> 1.11.0b8

~Requires #287746~
Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[X] aarch64-linux (cross compiled)
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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.

Add a :+1: reaction to pull requests you find important.

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

20 packages built:

python311Packages.libpcap
python311Packages.libpcap.dist
python311Packages.pycyphal
python311Packages.pycyphal.dist
python311Packages.skytemple-ssb-debugger
python311Packages.skytemple-ssb-debugger.dist
python311Packages.skytemple-ssb-emulator
python311Packages.skytemple-ssb-emulator.dist
python312Packages.libpcap
python312Packages.libpcap.dist
python312Packages.pycyphal
python312Packages.pycyphal.dist
python312Packages.skytemple-ssb-debugger
python312Packages.skytemple-ssb-debugger.dist
python312Packages.skytemple-ssb-emulator
python312Packages.skytemple-ssb-emulator.dist
skytemple
skytemple.dist
yakut
yakut.dist


stringify on recursive structures

stringify dies on recursive structures:
(h:define-easy-handler (test :uri (h:create-prefix-dispatcher "/test" t)) ()
  (standard-page "Hello?"
    (jzon:stringify h:*request* :pretty t)))

Control stack guard page temporarily disabled: proceed with caution
[2021-03-21 21:45:02 [ERROR]] Error while processing connection: The condition The condition Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.

PROCEED WITH CAUTION. occurred with errno: 0. occurred with errno: 0.

At the very least we should have circularity detection by default. per what to do when it's encountered, I am leaning towards having these two options available:

Silently produce a string with an 'obviously' wrong value, such as "recursive-ref__request->easy-acceptor->one-thread-per-connection-taskmaster->easy-acceptor".
Signal an error with a restart available asking for a value to substitute.

By default, I prefer the 'fail silently' option since it's more DWIM when a user is simply trying to inspect some object

So I've decided to 180 on this and keep error-ing on circular references per the spec for in-browser JSON.stringify:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
This is simpler and likely less controversial


JsonException in registerPsrRequest method - "Control character error, possibly incorrectly encoded."

Laravel Version
10.29.0
PHP Version
8.1.2
Database Driver & Version
No response
Description
We have updated laravel/framework to latest stable version and encountered an issue, that originally occurred in version 10.29.0. When communicating with server API, following error occurs:
Symfony\Component\HttpFoundation\Exception\JsonException
Could not decode request body.

It happens in Illuminate\Routing\RoutingServiceProvider class:
protected function registerPsrRequest()
    {
        $this->app->bind(ServerRequestInterface::class, function ($app) {
            if (class_exists(Psr17Factory::class) && class_exists(PsrHttpFactory::class)) {
                $psr17Factory = new Psr17Factory;

                return with((new PsrHttpFactory($psr17Factory, $psr17Factory, $psr17Factory, $psr17Factory))
                    ->createRequest($illuminateRequest = $app->make('request')), fn ($request) => $request->withParsedBody(
                        array_merge($request->getParsedBody() ?? [], $illuminateRequest->getPayload()->all())
                    ));
            }

            throw new BindingResolutionException('Unable to resolve PSR request. Please install the symfony/psr-http-message-bridge and nyholm/psr7 packages.');
        });
    }

Functionality was OK until version 10.28.0, but all newer version are causing us this error. The issue is in the getPayload() method, which handles the data as JSON, but in our case it is not a JSON, hence the error. The change originated in this pull request: https://github.com/laravel/framework/pull/48696/files
We haven't found any information in the release notes / migration guide, which could help us fix this issue, so we assume this might be a bug to report. If this is not an error, please advise how to fix this on our side.
Link to Sentry issue: https://crystal-missions.sentry.io/share/issue/5c43f0cf13e34684bf845dec4e123197/
Thank you.
Steps To Reproduce
We are sending a gziped JSON data to our server API endpoint.

Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

Hi,
I've created the repository as suggested + created there a single controller with one method, which just tries to decode the gzipped json data from request body.
Link to repo: https://github.com/marekfri/laravel-bug-report
The issue is, I think, that in the getPayload() method, if data from getContent() is not empty, it is always tried to be json_decoded. But I don't think that we can just assume that the data will always be a json string.
Let me know if I can do anything further to help resolve this.
Thank you.

Thanks for reporting this. We made some changes in this area due to some upstream breaking changes.
I’ll investigate this, likely on Monday, and see if we can get it fixed for you.

I've created a fix for this. Thanks for reporting it.
https://github.com/laravel/framework/pull/49047


Anti-pattern: HTTP Without TLS

Dear Colleague,
We are looking to find ways to help developers find security anti-patterns, i.e., violation of security best practices in Kubernetes manifests.
We have noticed an instance of HTTP without TLS/SSL in one of your Kubernetes manifests. The recommended practice is use of secure HTTP for each team's development and production environment. Enabling TLS ensures secure communication between cluster components.. For examples of Kubernetes security anti-patterns we are following our peer-reviewed publication on Kubernetes security best practices (https://arxiv.org/pdf/2006.15275.pdf).
Location of security anti-pattern:
https://github.com/stefanprodan/podinfo/blob/ea292aa958c5e348266518af2261dc04d6270439/deploy/webapp/frontend/deployment.yaml#L45

Enabling TLS ensures secure communication between cluster components

You do realise that podinfo is not a cluster component right? TLS is fully supported in podinfo when using a service mesh or cert-manager.

Thanks for the feedback.


phoenix-66-2.0.11-mainnet.apk parsing error

i can not install the apk due to an parsing error.
The SHA256SUMS file is for an older version: phoenix-41-1.4.26-mainnet.apk

Where are you getting the sha256sum and the APK files from? They should be downloaded from this page only: https://github.com/ACINQ/phoenix/releases/tag/android-v2.0.11
I checked and the files are correct.

Yes, that's the Version.
sha256sum -c SHA256SUMS.stripped
phoenix-66-2.0.11-mainnet.apk: OK


New Color Part 3

Okay thank you I guess, maybe say the cheat is discontinued instead of lying people?

...
Just because I'm not helping you doesnt mean I'm lying. Idk how you pulled that from the other issues you created.
If you check my yt comments for this video, a lot of people are saying that the aimbot just looks at the sky and spins. If you ever considered to scroll down you could see where I'm getting my words from. I think that's pretty solid proof. You don't need to be salty when you don't get help from a 15 year old lmao


Set up default custom user agent

The default user agent of the library should be oaipmh-scythe/{version}, e.g. oaipmh-scythe/0.8.0.
from oaipmh_scythe import __version__
user_agent = f"oaipmh-scythe/{__version__}"

headers = {'user-agent': user_agent }
with httpx.Client(headers=headers) as client:
    r = client.get(url)

Refs:

https://www.python-httpx.org/advanced/#sharing-configuration-across-requests
https://github.com/encode/httpx/blob/1d73150c1f663757d63585aecfcb329d0ec00825/httpx/_client.py#L89
https://github.com/psf/requests/blob/839a8edec37c81a18ac8332cfbd44f44e1ae6206/src/requests/utils.py#L886

Set user agent in scythe class
Scythe
Useragent = ...


No accepting submissions (with specs)

Doesn’t seem to be accepting submissions.  Here are my computer and browser specs…..and also please see attachment.
OS X
10.12.4
Chrome
Version 59.0.3071.115 (Official Build) (64-bit)

Assuming this is a dupe of #111, now fixed.


[SPARK-41973][SQL] Assign name to _LEGACY_ERROR_TEMP_1311

What changes were proposed in this pull request?
This PR proposes to assign name to _LEGACY_ERROR_TEMP_1311, "SORT_BY_WITHOUT_BUCKETING".
Why are the changes needed?

We should assign proper name to LEGACY_ERROR_TEMP*
Does this PR introduce any user-facing change?

No
How was this patch tested?

./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*

cc @MaxGekk @srielau FYI

thanks, merging to master!


change the signature of the get method in the functions class

The signature of the get method does not require a
function ident as an argument any longer. The new signature:
get(functionName, argumentTypes)

The new signature will prevent from instantiating a
function ident object upon the getting an implementation
of a fucntion.

Codecov Report

Merging #5235 into master will increase coverage by 0.05%.
The diff coverage is 98.43%.

@@             Coverage Diff              @@
##             master    #5235      +/-   ##
============================================
+ Coverage     82.47%   82.53%   +0.05%
+ Complexity    11020    11019       -1
============================================
  Files          1331     1331
  Lines         45003    45008       +5
  Branches       5637     5637
============================================
+ Hits          37118    37148      +30
+ Misses         5271     5242      -29
- Partials       2614     2618       +4

Impacted Files
Coverage Δ
Complexity Δ

...ort/task/elasticsearch/SymbolToFieldExtractor.java
89.28% <100%> (+0.82%)
3 <0> (ø)
:arrow_down:

...ate/operation/BaseImplementationSymbolVisitor.java
78.94% <100%> (+1.16%)
5 <2> (ø)
:arrow_down:

...src/main/java/io/crate/operation/InputFactory.java
95% <100%> (+0.08%)
5 <0> (ø)
:arrow_down:

.../planner/projection/builder/ProjectionBuilder.java
85.07% <100%> (+0.22%)
19 <0> (ø)
:arrow_down:

.../io/crate/analyze/symbol/format/SymbolPrinter.java
85.71% <100%> (+0.08%)
6 <0> (ø)
:arrow_down:

sql/src/main/java/io/crate/metadata/Functions.java
97.87% <100%> (-0.05%)
10 <3> (ø)

...a/io/crate/analyze/relations/RelationAnalyzer.java
94.44% <100%> (+0.02%)
64 <0> (ø)
:arrow_down:

...in/java/io/crate/analyze/EvaluatingNormalizer.java
87.35% <100%> (+0.14%)
16 <0> (ø)
:arrow_down:

.../crate/analyze/expressions/ExpressionAnalyzer.java
91.33% <97.72%> (-0.05%)
20 <1> (ø)

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

... and 23 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 31dec58...0d24ff6. Read the comment docs.


Constrain IPython<7.28.0 for macOS installer

Description of Changes
Constrain IPython<7.28.0 for macOS installer only, until #16651 can be merged.
Issue(s) Resolved

Fixes #16828
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
@mrclary

@impact27, can you verify that the installer test passes in your PR if this change is incorporated?

@impact27, can you verify that the installer test passes in PR #14025 if this change is incorporated?

It does not unfortunately

Sorry for merging this too eagerly.


Remove workaround for npm bug with history

This is finally fixed on npm 3.8.7 and higher

So happy about this!

Note if you do publish with npm 3.8.6 or earlier, bad things will happen.

You could add a version check for NPM to prevent that. I think @mjackson and @ryanflorence are up to date, so that's probably a non-issue.


add golden file in 2.0 for cod_ind_malicious_file test case

Codecov Report

Merging #61 (045eb3a) into master (4967852) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   71.81%   71.76%   -0.06%
==========================================
  Files          13       13
  Lines        3215     3209       -6
==========================================
- Hits         2309     2303       -6
  Misses        906      906

Impacted Files
Coverage Δ

stix2slider/options.py
76.21% <0.00%> (-0.51%)
:arrow_down:

stix2slider/convert_pattern.py
65.31% <0.00%> (-0.04%)
:arrow_down:

stix2slider/test/test_main.py
100.00% <0.00%> (ø)

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 4967852...045eb3a. Read the comment docs.


Warn about unused variables

I believe we have reached a consensus in #3189 to enable warnings for unused variables (except in function declarations). Because there are so many existing violations, I will not try to fix them here and now, but will expect future PR's to slowly cut down on the number of violations.
Closes #3189

@gfwilliams @bobrippling This is ready for review now.
Lint exemptions
I was able to add a file (apps/lint_exemptions.js) that contains a file path + a file hash which maps to a set of rules that should be ignored. Eslint will ignore the rules that are defined for each file path. A custom script will run before eslint runs, which makes sure that the files still match the hash. If the files do not match the hash, that entry is removed from the ignore file, which means Eslint will enforce the normal rules when it runs.
I have also create a script that can add a new entry in the ignore file for you. It works this way:
# template
node bin/exempt-lint.mjs LINTRULE FILEPATH

# example
node bin/exempt-lint.mjs no-unused-vars ./apps/_example_app/app.js

The example command will ensure that the no-unused-vars rule is not enforced for the main file in the example app.
Fixing existing lint violations
I have tried to only fix lint where I am sure that the fixes do not change the code. It is however hard to be 100% sure because many of the apps use funky hacks, such as importing each other scripts as text and evaling the code, then using variables that were declared in the evaled script.
I have not deleted a lot of code, most of it is commented out. This is because it seems like the code was supposed to be there for something like debugging or for future unimplemented features. By commenting the code out we don't rob anyone of their hard work, but we reap the benefits of running less code. For users with pretokenisation turned on, this also makes their apps smaller.
I also found several apps that seem to have bugs which are causing the lint warnings. I have not fixed the bugs because I think this PR needs to be as safe as possible to merge, but I have added TODO comments to point out where the bugs are.

I can downgrade the mjs files to cjs files if you want to. I was just guessing that you eventually would want to migrate to standard ES modules, so might as well start writing them like that now. I also prefer ES modules.
The update to nodejs v20 is required to run the relatively modern JS that I am using in the scripts. I can write some compat wrappers if you want, that would probably get the nodejs version down to at least v18.

If I need to downgrade to cjs, I might need to write some ugly wrapper code because I need support for top-level await.

I might need to write some ugly wrapper code because I need support for top-level await.

Ok, thanks - good to know. Let's leave as-is then.
I'm not so bothered about the other scripts but ideally I'd like npm test to run on the most possible node.js versions - but I think we're probably ok there anyway.
Not switching to ES modules was partly because as they're not supported by Espruino there's then a mix of coding styles which might be confusing to contributors - but I guess most users won't really even see this code,

https://packages.debian.org/search?keywords=nodejs I guess I have to refrain for some time..

Yes please, I'm usually not bypassing apt and I'm not keep to install node docker container either.

@nxdefiant see #3240

@bobrippling The command line handling is very basic. But these scripts are only supposed to be used by you and me, not by users. The first comment in the scripts explain exactly how the script should be used, and if you accidentally use it incorrectly, you will catch the bug when you check the diff to see what you're merging.
I didn't see it as a major problem, so I decided that it would be a waste of time and complexity to handle those edge cases. But maybe you can explain the use case where you think this is a problem? Also, if you want to rewrite the CLI handling yourself, I would never be against that :)

Yes, I suppose it's end-user experience, sometimes i'll chuck --help or attempt to use a command to find it doesn't behave any differently, and it's nice to catch these things, a bit like how lints catch potential errors before they happen


fix width_bucket should get min and max from each tuple

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Create an example mscs.defaults file if it is missing

Any feedback here? This is a pretty simple change.

Looks alright to me.

Yes, this looks great!


Added Mod_rewrite redirect default status code

Fixes https://github.com/aspnet/BasicMiddleware/issues/152
Talked with @Tratcher and we decided to not include support for symbolic names for redirect status codes
@BrennanConroy @Tratcher

:shipit:


Swift4 migration

In this pull request:

updated the Package file to latest, Swift 4 syntax
added test target
added rudimentary tests

Hi @mdiasdev and @akrabat,
I am unable to import version 2 into another project (using the rev # see #11).
I believe with spm 4 the package needs to vend a product in order for it to be imported into other projects.
https://swift.org/blog/swift-package-manager-manifest-api-redesign/
`Export public targets using the product API.
Library packages should explicitly export their public targets to allow other packages to import them. Avoid exporting targets like sample code targets, test support library etc.
...
products: [
    .library(
        name: "Foo",
        targets: ["Foo", "Bar"]),
],
...`

Am I missing something?

@akrabat I made a PR for this. please take a look when you get a chance.
#12


Add access to Instance URL from Access Token

What is the use case for these changes? Can you provide an example of who one might use this?
Additionally, if this is new functionality that is not documented in the base project, I'd like to update this project's documentation to include usage information for this particular feature.

@stevenmaguire sorry for late reply. Salesforce uses multiple instances (identified by subdomains: na1, cs1, etc) to provide the API functionality. To actually do anything with the token, you need to know which instance the access token is associated with.


pldm: Workaround to avoid calling mapper service

Intermittently dump offload fails because the mapper call from dump manager to find PLDM service is failed, leading to ResourceNotFound Error. As a workaround, hardcode the service name.
Test: Tested the resource dump download using GUI and it works as expected.

Can one of the admins verify this patch?

The mapper is very critical to all of what we do in OpenBMC. If it truly is having a lookup issue, then we need to investigate root cause on why it's having an error.

The mapper is very critical to all of what we do in OpenBMC. If it truly is having a lookup issue, then we need to investigate root cause on why it's having an error.

We are not able to reproduce this issue. We just observed it only one time. So we are not able to get to the root of it!
And based on Andrew Jeffery's suggestions  in the upstream, i will abandon this commit and create a new one.
Thank you


Fix: only scroll-to-pan if hovering the map view

I introduced a bug in https://github.com/podusowski/walkers/pull/221 - the map view would scroll even if you didn't hover it 🤦

@podusowski Would be great to have a release after this one 🙏🏻  (FYI, we're targeting a release of rerun with the new map view early next week.)

np :)


⚠ Spryr has degraded performance

In dc84ee3, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3438 ms

Resolved: Spryr performance has improved in 7264aaa after 7 minutes.


Rearranged about the soybase genetic maps under community

Removed "about the SoyBase Genetic maps" under community, and added a link "Details about the SoyBase genetic maps" to MAPS. Changed GCViT URL link under MAPS.

To Rex's request:  The "Details about the SoyBase genetic maps" under "MAPS" is linked to "Genetic maps and map nomenclature" under the menu item "about & contract",  and is not a dead link.
I removed "About the SoyBase Genetic Maps" under "Community" ( I thought it was redundant), but I will add it back with link to "Genetic maps and map nomenclature".

@StevenCannon-USDA I did not suggest putting the link under “community” in the “communications” sub-section. I believe @weihuang12 did that. If it was up to me, the only reference would be under the “maps” menu item.
yes, we should drop the https://soybase.org/community/about_sequence_map.php link for just the reason you pointed out.
Anything else?

Hmm. Seems that @maxglycine also has to review and approve. Rex - I think that is because you requested changes. My approval wasn't sufficient to allow a merge.

I have approved

@StevenCannon-USDA and @weihuang12 I have approved

Thanks, @weihuang12 and @maxglycine .
I have merged this branch and will delete it now.


FileNotFoundError

OpenDevin % export LLM_MODEL="gpt-3.5-turbo-1106"
OpenDevin % export OPENAI_API_KEY=sk.....
OpenDevin % export LLM_API_KEY="sk...
OpenDevin % uvicorn opendevin.server.listen:app --port 3000
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/docker/utils/decorators.py", line 44, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/docker/api/client.py", line 236, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jwang/Documents/workspace/OpenDevin/venv/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

The above exception was the direct cause of the following exception:

http://<IP_ADDRESS>:3000/
see
{
  "detail": "Not Found"
}

I'm running on Mac

@josephykwang it seems like a docker issue. Do you have docker running? What does docker ps show?

CONTAINER ID   IMAGE                               COMMAND                  CREATED       STATUS          PORTS                                              NAMES

97d63b4deeb4   nginx:1.23.4-alpine                 "/docker-entrypoint.…"   11 days ago   Up 57 minutes   <IP_ADDRESS>:80->80/tcp, <IP_ADDRESS>:3000->80/tcp           danswer-stack-nginx-1

3a1ea538424e   danswer/danswer-web-server:latest   "docker-entrypoint.s…"   11 days ago   Up 57 minutes                                                      danswer-stack-web_server-1

39b92e69a327   danswer/danswer-backend:latest      "/bin/sh -c 'alembic…"   11 days ago   Up 57 minutes   <IP_ADDRESS>:8080->8080/tcp                             danswer-stack-api_server-1

2e81ce497d6d   danswer/danswer-backend:latest      "/usr/bin/supervisord"   11 days ago   Up 57 minutes                                                      danswer-stack-background-1

ab543410c908   vespaengine/vespa:8.277.17          "/usr/local/bin/star…"   11 days ago   Up 57 minutes   <IP_ADDRESS>:8081->8081/tcp, <IP_ADDRESS>:19071->19071/tcp   danswer-stack-index-1
262f938ff141   postgres:15.2-alpine                "docker-entrypoint.s…"   11 days ago   Up 57 minutes   <IP_ADDRESS>:5432->5432/tcp                             danswer-stack-relational_db-1```
BTW, there is no dockerrun cmd in the readme.    On Wednesday, March 27, 2024 at 08:10:31 AM PDT, Robert Brennan<EMAIL_ADDRESS>wrote:

@josephykwang it seems like a docker issue. Do you have docker running? What does docker ps show?

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

does docker pull ghcr.io/opendevin/sandbox:v0.1 fix the issue?

still the same problem.

Looked around a bit. I found this tip:

Under advanced settings check the case “Allow the default Docker socket to be used (requires password)”.

This issue suggests it's docker not running
And this one suggests maybe you have docker set up so that it needs sudo, and has instructions on fixing.

running into the same issue (on mac as well). you guys found a solution?

It seems same as #278

running into the same issue (on mac as well). you guys found a solution?

I finally solved it by updating my Docker host path like this.
export DOCKER_HOST=unix:///Users/haseeb-mir/.docker/run/docker.sock

we've at least got better error messages in place now. I suspect the docker connection issues are going to be a theme for us


all.yml includes "ceph_repository_type" with no documentation about what it means or how to set it

What happened:
Reading through all.yml.sample, I see
###########
# INSTALL #
###########
#ceph_repository_type: dummy

I've been told I must choose ceph_repository.  No one said anything about _type.  What is it?  Do I need to set it?  What are valid values?

What happened:
Reading through all.yml.sample, I see
###########
# INSTALL #
###########
#ceph_repository_type: dummy

I've been told I must choose ceph_repository. No one said anything about _type. What is it?
I looked up this doc,
http://docs.ceph.com/ceph-ansible/master/installation/methods.html#rhcs-repository
and
https://github.com/ceph/ceph-ansible/blob/master/group_vars/all.yml.sample#L178

ceph_repository_type  specifies the installation method of Red Hat Ceph Storage packages, CDN (content delivery network) or ISO.

Do I need to set it?
You'll want to set if you'd set, 'ceph_repository' as 'rhcs'.

What are valid values?
The valid values are 'cdn' or 'iso'
See,
https://github.com/ceph/ceph-ansible/blob/master/group_vars/all.yml.sample#L195
and
http://docs.ceph.com/ceph-ansible/master/installation/methods.html#rhcs-repository

Right, but, note that https://github.com/ceph/ceph-ansible/blob/master/group_vars/all.yml.sample#L128 introduces the variable, whereas https://github.com/ceph/ceph-ansible/blob/master/group_vars/all.yml.sample#L195 defines it and its options.  The questions above weren't questions I had before being able to use the product, but rather rhetorical questions to point out that, when reading the file from the top, those questions need to be answerable before a user can set the value.


Plugin do not render properly

I have 3 tabs and in each tabs I have images of different categories. The first tab is totally fine, the images are ordered correctly; on the second and third tabs the plugin do not fire. As soon as I edit a little the window size it get rendered correctly.
If think this is happening because the images are "hidden" behind the tabs and so, is there a way to let it render programmatically?

can you post some pseudo code to illustrate better your situation? so I can better understand how the plugin is used in your setup

I'm using Nuxt 2.9 and Vuetify 1.x. This is a pseudo code of it. Images in tabs are correctly shown only on the first tab. Thanks for help.
<template>
  <div>
    <v-tabs>
      <v-tab
        v-for="n in 2"
        :key="n"
        ripple
      >
        Item {{ n }
      </v-tab>
      <v-tab-item>
        <vue-justified-layout
            v-infinite-scroll="loadMore"
            :items="photos"
            infinite-scroll-disabled="autoLoadDisabled"
            infinite-scroll-distance="10"
          >
            <template slot="inner" slot-scope="slotProps">
              <!-- all good here -->
            </template>
         </vue-infinite-scroll>
      </v-tab-item>
      <v-tab-item>
        <vue-justified-layout
            v-infinite-scroll="loadMore"
            :items="photos"
          >
            <template slot="inner" slot-scope="slotProps">
              <!-- images are not using justified layout here -->
            </template>
         </vue-infinite-scroll>
      </v-tab-item>
    </v-tabs>
  </div>
</template>

<script>
import VueJustifiedLayout from 'vue-justified-layout'

export default {
  components: {
    VueJustifiedLayout
  },
  data() {
    return {
      photos: [...]
    }
  }
}
</script>

ok, after a quick look I can say it does not render correctly because the justified layout script depends on a fixed (or simply known) container width, when the tabs are unrendered or hidden they has no width.
for a quick fix you can pass the options object prop to the component with a known container width, this will solve your issue until I fix the code and publish a new release I guess

Thanks for the hint. I just tried, it seems to work on loading, but it lose responsiveness. I will try to find a workaround unless a proper fix will be released.

try to use the sync modifier on the options props so when the page is resized it will update the container width option accordingly and your fixed width will not override it

Can you please provide an example because I don't see this option available on Flickr documentation... Thanks!

I meant vue sync modifier on your :options.sync="myOptions" prop this will update whatever you initially entered as containerWidth when resizing

After thinking a little bit I realised that is not a issue for the plugin itself since justified-layout module needs a known containerWidth to work and it's up to the user to specify it, also is a common practice to set fixed sizes instead of percentages when dealing with code that depends on measures, since when hidden are usually set to 0px if not explicitly defined.
When not manually specified via the options the plugin detects the containerWidth of it's parent while mounted but when the element or the parent is not visible in the DOM it has no actual known starting width and the element is already mounted so the event won't fire again.
This is a error that happens only when using v-show since the element is hidden with style instead of being actually removed from the page.
Listening for visibility change it's out of the scope of this plugin and I would like to keep it as simple as possible.
I hope my motivations are shared and appreciated, if you have any other comments, please comment as well, even if I close the issue.


Small patch to improve class instantiation performance on JRuby

It now makes the system call as the class body is being loaded and validated. This value is then returned by a class method.
Performance on JRuby has been improved by several orders of magnitude. It's now competitive with the C-based runtimes that have "cheaper" access to shelling out to a system call.

Thanks. 2.3.5 is out with this fix.


troubleshooting: remove outdated section

This has been supported for a while: https://github.com/iterative/scmrepo/pull/138

Do you think we should specify that DVC does not support interactive auth, and so credentials must be saved somewhere and automatically available when running Git commands to access a private repo?

@dberenbaum indeed. Created https://github.com/iterative/dvc.org/issues/4212 to track this.  For the future if we feel like interactive auth is important, we might want to add support for GIT_ASKPASS (see the git docs)


panic: page 7 already freed

I tried pushing a large directory structure with this command:
drive push -quiet 2012-fdr-psm
It yielded the error
panic: page 7 already freed
goroutine 1076622 [running]:
panic(0x8a7240, 0xc4f7e5ba20)
/net/noble/vol1/home/noble/software/go/src/runtime/panic.go:500 +0x1a1
github.com/boltdb/bolt.(*freelist).free(0xc4f8e98b70, 0xba, 0x7ff145029000)
/net/noble/vol1/home/noble/work/src/github.com/boltdb/bolt/freelist.go:121 +0x2c0
...
I am running
bash-4.1$ drive version
drive version: <IP_ADDRESS>
Commit Hash: <CURRENT_COMMIT>
Go Version: <GO_VERSION>
OS: <OS_INFO>
BuildTime:
My OS is CentOS Release 6.8 with linux kernel 2.6.32.
Full output log is attached.
drive.txt

Hello again @wsnoble, thank you for reporting this issue.
This does look similar to the boltdb issues that have been popping up.
Might your Go version by any chance be < go1.7?

No, I am using go 1.7.4:
-bash-4.1$ go version
go version go1.7.4 linux/amd64
I will try the stuff on the wiki entry you sent.
Bill
On Thu, Jan 26, 2017 at 11:42 PM, Emmanuel T Odeke<EMAIL_ADDRESS>
wrote:

Hello again @wsnoble https://github.com/wsnoble, thank you for
reporting this issue.
This does look similar to the boltdb issues that have been popping up.
Might your Go version by any chance be < go1.7?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/odeke-em/drive/issues/862#issuecomment-275606694, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVfFJj58fxMId5vaSLWxt0JFR1SQuOnXks5rWZ_fgaJpZM4Lt76d
.

same here.
This problem seem to start after "drive delete" operations ...
i used it into lxc-container (Proxmox) - Debian jessie (all updates).
drive push start working again after container restart and stop working after some delete operations ...
drive version
drive version: <IP_ADDRESS>
Commit Hash: <CURRENT_COMMIT>
Go Version: <GO_VERSION>
OS: <OS_INFO>
BuildTime:

# aptitude show drive
Paket: drive
Neu: ja
Zustand: Installiert
Automatisch installiert: nein
Version: <IP_ADDRESS>-1
Priorität: extra
Bereich: net
Verwalter: John Jenkins<EMAIL_ADDRESS>Architektur: amd64
Unkomprimierte Größe: 15,3 M
Beschreibung: Google Drive tool written in Go language
 Command line tool for managing data on Google drive.

/usr/lib/go-1.7/src/runtime/panic.go:500
This directory doesn't exist!!
# drive push
...
Addition count 35 src: 60.06GB
Proceed with the changes? [Y/n]:y
 41943552 /<PHONE_NUMBER>1 [>------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.07% 1h7m40spanic: page 8 already freed

goroutine 45 [running]:
panic(0x55f028335da0, 0xc4204907b0)
        /usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
github.com/boltdb/bolt.(*freelist).free(0xc420374c90, 0xdd3, 0x7f8a8f413000)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/freelist.go:121 +0x2c0
github.com/boltdb/bolt.(*node).spill(0xc420056a80, 0xc42045ba80, 0xc42045ba80)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/node.go:363 +0x1dc
github.com/boltdb/bolt.(*node).spill(0xc420056a10, 0xc420374db0, 0xc4201f7720)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/node.go:350 +0xb7
github.com/boltdb/bolt.(*Bucket).spill(0xc4201bccc0, 0xc420374c00, 0xc4201f7990)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/bucket.go:570 +0x43b
github.com/boltdb/bolt.(*Bucket).spill(0xc4202fe018, 0x55f034c20c36, 0x55f02885c540)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/bucket.go:537 +0x93b
github.com/boltdb/bolt.(*Tx).Commit(0xc4202fe000, 0x0, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/tx.go:163 +0x125
github.com/boltdb/bolt.(*DB).Update(0xc420498000, 0xc4201f7bf8, 0x0, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/boltdb/bolt/db.go:605 +0x10d
github.com/odeke-em/drive/config.(*Context).SerializeIndex(0xc420054ec0, 0xc42006ef00, 0x0, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/drive/config/config.go:279 +0x1a8
github.com/odeke-em/drive/src.(*Commands).remoteMod(0xc420055040, 0xc420367380, 0x0, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/drive/src/push.go:404 +0x4b3
github.com/odeke-em/drive/src.(*Commands).remoteAdd(0xc420055040, 0xc420367380, 0x0, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/drive/src/push.go:414 +0x35
github.com/odeke-em/drive/src.(*Commands).(github.com/odeke-em/drive/src.remoteAdd)-fm(0xc420367380, 0x1, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/drive/src/misc.go:1085 +0x34
github.com/odeke-em/drive/src.(*changeJobSt).changeJober.func1(0xc4204e6ec0, 0x55f027ea8f85, 0x55f028331220, 0xc420566f00)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/drive/src/misc.go:120 +0xb1
github.com/odeke-em/drive/src.jobSt.Do(0x6, 0xc4203d9520, 0x55f02809011f, 0x55f028331220, 0xc420566f00, 0x0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/drive/src/misc.go:100 +0x27
github.com/odeke-em/drive/src.(*jobSt).Do(0xc4203d67e0, 0x0, 0x0, 0x0, 0x0)
        <autogenerated>:6 +0x5b
github.com/odeke-em/semalim.Run.func4.1(0xc4203c74b0, 0xc420566e40, 0xc4203c74c0, 0xc4203c74d0, 0x55f028843780, 0xc4203d67e0)
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/semalim/semalim.go:71 +0x56
created by github.com/odeke-em/semalim.Run.func4
        /build/drive-tyASL_/drive-<IP_ADDRESS>/src/github.com/odeke-em/semalim/semalim.go:76 +0x141

same problem as well
drive version: <IP_ADDRESS>
Commit Hash: 'a3f2f281cc3536bfc116a34eb8e00bdd75b416e7'
Go Version: go1.7.4
OS: linux/amd64
BuildTime: 2017-01-31 10:31:06.171148765 +0200 EET

Thanks y'all for the patience. I think it's high time that we ping the boltdb folks.

Hey folks, please get and test out the latest boltdb as per https://github.com/boltdb/bolt/pull/654
You can do so by running
$ go get -u -v github.com/odeke-em/drive/drive-gen && drive-gen

and let me know if the problem persists and I'll report back to the boltdb issue.

Still suffering the same problem

@ptman what is the git commit that you have in $GOPATH/src/github.com/boltdb/bolt?

git describe --always
e9cf4fa

Thank you @ptman for the confirmation, I've tagged you in the boltdb discussion.

I have a somewhat large number of files. Or at least I don't usually wait around for drive to figure out which files it wants to sync.

Can you isolate a single test directory e.g
$ mkdir -p test-drive-862
$ for ((i=0; i < 10; i++)) do date > test-drive-862/$i.txt;done
$ drive push --depth -1 test-drive-862

and then we can use that for testing

And to repeat the tests, you can run delete on test-drive-862 e.g
$ # Test Run #3
$ drive delete test-drive-862

and then we can repeat the tests

exporting seems to trigger it more reliably

Getting many of these and similar ("panic: assertion failed: write: circular dependency occurred") errors myself too when trying to push even small folders...

I have exactly the same issue.. Can I somehow help you with fixing that? I can provide any information, just let me know, what you need.

Still no fix on this issue?


[backport to 2023.1] avoid unnecessary vlan if no vlan translation is needed

This is for backporting to 2023.1 https://github.com/kytos-ng/mef_eline/issues/389 that Italo has asked

This should've been closed when https://github.com/kytos-ng/mef_eline/pull/393 landed.


parser: add sample rate for analyze option

What problem does this PR solve?
Add new option SAMPLERATE to support collect samples by sample rate for statistics
What is changed and how it works?
Add new grammar
Check List
Tests

Unit test

What is the unit? Percentage?


Extra Tweaks to Build Script

I'll add some comments in line for discussion. Extends @mgsdk's work in #1947

It fails trying to validate 'metadata.t' but aside from that it should be all good. Have tested a number of scenarios so should have reasonable coverage now.

One thing I've never been to sure of is when we need to use ${var_name} and when we can just use $var_name. It would be nice if we could get that cleared with this PR as well. Looks good to me otherwise, with the minor detail of 1.0.0 -> 1.0.

We might want to increment the default KSP version from 1.0.2 to 1.0.4 as well while we are at it?

I'll look through the curly braces, that's mostly about coding style. But consistency is good, I'll get rid of them.

Honestly, I am on the other side of the fence with curly braces. Better be explicit in what you want so you don't fall into unexpected traps while concatenating variable values.
I tend to add curly braces whereever I happen to work on :smiling_imp:

@hakan42 whenever I need to worry that much about it I generally stop using bash ;-)

Webhook test

This looks pretty good to me.
If it breaks anything, we can easily back it out. Tests are generally an area where we should have a higher tolerance for risk, especially since they let us lower the risks in our release code. :)

Merging with great thanks!


change wso2 IAM to wso2 IS

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Move is_zephyr_mirror_realm to be a database field on Realm

Currently is_zephyr_mirror_realm is defined as follows:
    @property
    def is_zephyr_mirror_realm(self):
        # type: () -> bool
        return self.domain == "mit.edu"

We should move it to be a field on the Realm object controlled by the database, rather than hardcoding "mit.edu".

@timabbott So, what I get is you need to get the domain from the database instead of hardcoding it. Is it correct?

No, I'm thinking we just add a new database field and then the "mit.edu" realm would just be have that field set.

@timabbott ./manage.py makemigrations is showing an error. I am reinstalling the development server in case something is wrong with it.

@timabbott Same error even after reinstalling the development server.

I don't see a virtualenv being used on your prompt; you need to run this inside the vagrant guest.

@timabbott Ahh!!! It worked inside the vagrant guest :) But why did the tests fail(https://github.com/zulip/zulip/pull/2295)?
I did not change anything. Should I commit zerver/fixtures/migration-status and zerver/migrations/0043_realm_default_domain.py too for the tests to pass?

I think I've concluded we basically don't actually want to make a DB field for this, but making it a setting would be reasonable.

@timabbott  claim

@zulipbot  claim

@zulipbot claim

zulipbot claim

In which file can i find this codebase

@zulipbot claim

Closing as wontfix; I don't think this is a good database design direction.


Remove typings

@oblador You can remove the typings from here. I added them on DefinitelyTyped so you don't have to maintain them. Also updated them to include the Accordion as well.

Thanks! You've contributed a few good PRs lately, care to become co-maintainer?

Sure! I don't mind helping out where I can

👍  added you 😸

Nice! Anything I should know?

I prefer squashed commits and is cautious about unnecessarily breaking backwards compatibility 😄

Sounds good to me!


mgmt, container service upgrade to 2023-03-01

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

revapi error: https://dev.azure.com/azure-sdk/public/_build/results?buildId=2714363&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=68a849d6-f425-5f38-d450-7e2c3d1df885&l=11

revapi error: https://dev.azure.com/azure-sdk/public/_build/results?buildId=2714363&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=ba3cf43a-b2bf-50f9-f95f-93049ca44ad1&l=846

revapi error: https://dev.azure.com/azure-sdk/public/_build/results?buildId=2714363&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=ba3cf43a-b2bf-50f9-f95f-93049ca44ad1&l=846

capture the important ones in changelog. what are the 2 that get removed?
I will capture those breaking changes into changelog.

The two get removed are:
field com.azure.resourcemanager.containerservice.models.ManagedClusterSkuName.BASIC
field com.azure.resourcemanager.containerservice.models.ManagedClusterSkuTier.PAID
I checked spec repo, the two enum values are removed in 2023-03.
2023-03:
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-03-01/managedClusters.json#L4940
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-03-01/managedClusters.json#L4920
2023-01:
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-01-01/managedClusters.json#L5124
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-01-01/managedClusters.json#L5148

I think that get approved. Just log it in changelog. There are actually real breaks (customer can no longer set them)


Extreme slowness

using prompt-vi-mode results in input becoming excruciatingly slow, to the point that it takes multiple seconds just to write a single word.

+------------------+----------------------+
| xonsh            | 0.9.13.dev1          |
| Git SHA          | 9f7ccc65             |
| Commit Date      | Oct 15 17:14:50 2019 |
| Python           | 3.7.5                |
| PLY              | 3.11                 |
| have readline    | True                 |
| prompt toolkit   | 3.0.2                |
| shell type       | prompt_toolkit2      |
| pygments         | 2.2.0                |
| on posix         | True                 |
| on linux         | True                 |
| distro           | fedora               |
| on darwin        | False                |
| on windows       | False                |
| on cygwin        | False                |
| on msys2         | False                |
| is superuser     | False                |
| default encoding | utf-8                |
| xonsh encoding   | utf-8                |
| encoding errors  | surrogateescape      |
+------------------+----------------------+

I have this issue too. It seems to stem from running this function at every keystroke:
https://github.com/t184256/xontrib-prompt-vi-mode/blob/master/xontrib/prompt_vi_mode.xsh#L17
    mode = state.input_mode

I poked at it a bit, but couldn't find a way to speed this up.
On the bright side, if you're not using {vi_mode} or {vi_mode_not_insert} in your $PROMPT variable, enabling vi key bindings in xonsh is a simple matter of adding the following line to your ~/.xonshrc:
$VI_MODE = True


Module not found: Error: Can't resolve 'crypto'

Trying to run node-twitter-api-v2 in a nodejs electronjs app, I get this message
Module not found: Error: Can't resolve 'crypto'
Module not found: Error: Can't resolve 'https'
Module not found: Error: Can't resolve 'zlib'
Module not found: Error: Can't resolve 'fs'
I've tried to put in package.json the following without success
  "browser": {
    "crypto": false,
    "stream": false
  },

Then I have added this in webpack.main.config.js
module.exports = {
  /**
   * This is the main entry point for your application, it's the first file
   * that runs in the main process.
   */
  entry: {
    main: './src/main.js',
  },
  // Put your normal webpack config below here
  module: {
    rules: require('./webpack.rules'),
  },
  resolve: {
    fallback: {
      crypto: require.resolve('crypto-browserify'),
      stream: require.resolve('stream-browserify'),
      https: require.resolve('https-browserify'),
      zlib: require.resolve('browserify-zlib'),
      fs: require.resolve('fs-extra'),
    },
  },
}

and yarn-installed the 5 modules.
No success, the error messages are the same.
I paste here the dependencies
"dependencies": {
    "@fontsource/roboto": "4.2.1",
    "@fontsource/staatliches": "4.2.1",
    "browserify-zlib": "0.2.0",
    "cors": "2.8.5",
    "crypto-browserify": "3.12.0",
    "electron-squirrel-startup": "1.0.0",
    "express": "4.17.1",
    "form-data": "4.0.0",
    "fs-extra": "8.0.0",
    "googleapis": "109.0.0",
    "highcharts": "9.3.2",
    "highcharts-react-official": "3.1.0",
    "https-browserify": "1.0.0",
    "isomorphic-unfetch": "3.1.0",
    "papaparse": "5.3.1",
    "path": "0.12.7",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "stream-browserify": "3.0.0",
    "styled-components": "5.3.0",
    "twitter-api-v2": "1.13.0",
    "yahoo-finance": "0.3.7",
    "yahoo-finance2": "2.1.2"
  },
  "devDependencies": {
    "@babel/core": "7.14.6",
    "@babel/preset-react": "7.14.5",
    "@electron-forge/cli": "6.0.0-beta.57",
    "@electron-forge/maker-deb": "6.0.0-beta.57",
    "@electron-forge/maker-rpm": "6.0.0-beta.57",
    "@electron-forge/maker-squirrel": "6.0.0-beta.57",
    "@electron-forge/maker-zip": "6.0.0-beta.57",
    "@electron-forge/plugin-webpack": "6.0.0-beta.57",
    "@marshallofsound/webpack-asset-relocator-loader": "0.5.0",
    "babel-loader": "8.2.2",
    "babel-plugin-styled-components": "1.13.1",
    "copy-webpack-plugin": "9.0.1",
    "css-loader": "5.0.0",
    "electron": "13.1.5",
    "node-loader": "2.0.0",
    "prettier": "2.3.2",
    "style-loader": "2.0.0"
  }

node version 16.13.1, windows 10

Likely solved by putting the resolve in webpack.renderer.config.js


Add best reserve

Add best reserve from cg-terminal API queries.
Fixes https://github.com/VolumeFi/paloma/issues/264

@measure-fi The endpoint's rate limit has been raised so we can drop the sleep part.

Did black ./. Are we good?


Response code changes

Describe the bug
I am publishing web services using Istio sidecars. The web server and its istio-proxy will return 200 as a response code, but ingressgateway and its istio-proxy may return 500 or 504 in some cases.
Expected behavior
If the web server and its pod's istio-proxy return 200, ingressgateway and its istio-proxy will also return 200.
Steps to reproduce the bug
I do not know how to reproduce. It rarely occurs in accessing images from css.
Version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.9-gke.7", GitCommit:"572a070abf31a08a8f0d104220da467ea1e3d5f2", GitTreeState:"clean", BuildDate:"2018-11-14T05:26:58Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

Version: 1.0.4
GitRevision: d5cb99f479ad9da88eebb8bb3637b17c323bc50b
User: root@8c2feba0b568
Hub: docker.io/istio
GolangVersion: go1.10.4
BuildStatus: Clean

Installation
Using Helm
Environment
GKE 1.10.9-gke.7

This is the log of the problem.
Ingressgateway log.
"[2019-01-22T09:16:17.048Z] \"GET /my/app/image.pngHTTP/2\" 504 UT 0 24 60001 - \"xxx.xxx.xxx.xxx\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\" \"c0abe3be-1153-45c5-bd8e-067ab597feb4\" \"my.app.com\" \"<IP_ADDRESS>:80\" outbound|80|ga|myapp.default.svc.cluster.local - <IP_ADDRESS>:443 xxx.xxx.xxx.xxx:62257\n"

Application Pod's istio-proxy log.
"[2019-01-22T09:16:17.048Z] \"GET /my/spp/images.pngHTTP/1.1\" 200 - 0 3113 0 0 \"xxx.xxx.xxx.xxx\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\" \"c0abe3be-1153-45c5-bd8e-067ab597feb4\" \"my.app.com\" \"<IP_ADDRESS>:80\" inbound|80||myapp.default.svc.cluster.local - <IP_ADDRESS>:80 xxx.xxx.xxx.xxx:0\n"

nginx log.
{
  "uri": "/my/app/image.png",
  "host": "my.app.com",
  "requestTime": "0.000",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36",
  "xForwardedProto": "https",
  "user": "",
  "protocol": "HTTP/1.1",
  "bodyByteSize": "3113",
  "method": "GET",
  "remoteAddress": "<IP_ADDRESS>",
  "upstreamResponseTime": "",
  "request": "GET /my/app/images.png HTTP/1.1",
  "referrer": "https://my.app.com/",
  "status": "200",
  "xForwardedFor": "xxx.xxx.xxx.xxx"
}

There was an answer with this stack overflow, but it has not been solved yet.
https://stackoverflow.com/questions/54323340/ingressgateway-returns-a-status-code-different-from-pod


nheko: build with VoIP support

Motivation for this change
Making calls (and fix the embedded media player).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

notes:

The media player works but I still can't get calls to work. In particular is not finding any microphone.
I tested with both alsa and pulseaudio on NixOS to no avail. On the other hand, the webcam is working.

For a brief moment, after having switched to pulseaudio, it could detect the microphone and I managed to start a call, but nheko crashed as soon as I pressed the bottom green bar.

It seems the problem with the audio sources detection can be traced to the gstreamer monitor: running this
nix-shell --pure -p gst_all_1.gst-plugins-base --run 'gst-device-monitor-1.0'

fails with Failed to start device monitor!. I would be good if someone else were to confirm this or put the blame on my setup. In theory it should just work and list all the audio and video sources.
cc: @pstn

Video support doesn't work because gst-plugins-good doesn't support qtqml, I added a PR #110608 to fix that.

Video support doesn't work because gst-plugins-good doesn't support qtqml, I added a PR #110608 to fix that.

Audio call was by default in monitor mode in pavucontrol

but if you switch that for non monitor microphone, it works.

Audio call was by default in monitor mode in pavucontrol

but if you switch that for non monitor microphone, it works.

I rebased this onto #110608 with the additonal changeset
diff --git a/pkgs/applications/networking/instant-messengers/nheko/default.nix b/pkgs/applications/networking/instant-messengers/nheko/default.nix
index e4473049ddc..3c08d9bae51 100644
--- a/pkgs/applications/networking/instant-messengers/nheko/default.nix
+++ b/pkgs/applications/networking/instant-messengers/nheko/default.nix
@@ -32,7 +32,9 @@ let
   voipDeps = with gst_all_1; [
     gstreamer
     gst-plugins-base
-    gst-plugins-good
+    (gst-plugins-good.override {
+      qt5Support = true;
+    })
     gst-plugins-bad
     libnice
   ];

to enable qt5support in the gst plugin and successfully tested a video call.

I rebased this onto #110608 with the additonal changeset
diff --git a/pkgs/applications/networking/instant-messengers/nheko/default.nix b/pkgs/applications/networking/instant-messengers/nheko/default.nix
index e4473049ddc..3c08d9bae51 100644
--- a/pkgs/applications/networking/instant-messengers/nheko/default.nix
+++ b/pkgs/applications/networking/instant-messengers/nheko/default.nix
@@ -32,7 +32,9 @@ let
   voipDeps = with gst_all_1; [
     gstreamer
     gst-plugins-base
-    gst-plugins-good
+    (gst-plugins-good.override {
+      qt5Support = true;
+    })
     gst-plugins-bad
     libnice
   ];

to enable qt5support in the gst plugin and successfully tested a video call.

Result of nixpkgs-review pr 110595 run on x86_64-darwin 1

1 package marked as broken and skipped:

nheko

Result of nixpkgs-review pr 110595 run on x86_64-darwin 1

1 package marked as broken and skipped:

nheko

After rebasing I noticed the build of gst-plugins-good broke due to a change in master. I should have fixed it, now.

Checked out the PR on top of current master and was able to do a voice call, so lgtm.

Good, thank you for testing!


Replace last modified date with submitted date column in new moves/shipments queue[delivers #165754927]

Description
Replaces the Last modified date column with Submitted column for the new moves/shipments queue.
Reviewer Notes

The submitted move/shipment doesn't record the time with timezone yet. Just the date.

Setup

login to office app, locally
navigate to the new moves/shipments queue
scroll to the right of table and see new Submitted column

Code Review Verification Steps

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

Screenshots

@donaldthai after running a full make db_dev_e2e_populate, I'm seeing a bunch of moves without a submitted date:

Should we be seeing submit dates for all of them? I noticed that the ones with out dates are approved or accepted. Is this a data issue, or something else?

@donaldthai after running a full make db_dev_e2e_populate, I'm seeing a bunch of moves without a submitted date:

Should we be seeing submit dates for all of them? I noticed that the ones with out dates are approved or accepted. Is this a data issue, or something else?

@garrettqmartin8 pretty sure it's a data issue with how we generate the data locally. If you manually go through the Service Member flow, you'll see a date.

Okie doke!


Vignette to fix demo problem

The demo doesn't run when readtext and quanteda are already loaded.
> demo("chinese", "corpus")

	demo(chinese)
	---- ~~~~~~~

Type  <Return>	 to start :

> # Based on Haiyan Wang's demo at https://github.com/ropensci/textworkshop17/tree/master/demos/chineseDemo
>
> library("httr")

> library("RColorBrewer")

> library("readtext")

> library("stringi")
Error in unloadNamespace(package) :
  namespace ‘stringi’ is imported by ‘readtext’, ‘stringr’ so cannot be unloaded
Error in library("stringi") :
  Package ‘stringi’ version 1.1.2 cannot be unloaded

Actually these calls seem to be redundant because you always use fully qualified function names.
But rather than change this, I've attached a mildly rewritten version of the demo as a vignette plus updated DESCRIPTION in which the other libraries you use are 'Suggests'.
I'd offer it as a PR but I'm having a little trouble getting the repo to compile (in RStudio).

Thanks, this is great!
(See https://github.com/patperry/r-corpus#building-from-source for instructions on building from source; you're not the first to run into this issue...)


Add webmidi support

This PR adds support for web exports by using webmidi.
Demo: (code)
Note: webmidi is not supported on all browsers

PS: It seems OS.get_connected_midi_inputs() will not work on the Web platform if I'm reading the code right. It might be worth documenting this explicitly in its description as well.

Kind of. OS.get_connected_midi_inputs() will be populated asynchronously. https://github.com/godotengine/godot/pull/95928/files#r1726105863

Happy to rename any variables, or make any other changes. Just let me know!

It's been a while, but I am still interested in getting this merged!
Just rebased to fix merge conflicts.

@ryanbraganza Sorry for the delay! I'm reviewing this PR right now!

I'm currently investigating why it fails on the proxy_to_thread=yes build.

PROXY_TO_PTHREAD_ENABLED is essentially telling emscripten to put most of the logic not on the main thread. But as Godot expects some events to happen on the main thread, we essentially use callable_mp_static() to call deferred on the main thread if the event isn't received on it.

applied the changes and rebased

cc. @AThousandShips and @Mickeon for my suggested doc changes.

Applied all suggested changes, squashed, & rebased

Thanks!


clowder tool launcher broken

When I launch a tool from this page: http://<IP_ADDRESS>/clowder/datasets/56d48443e4b0c7e3b16ea67e#
I get "webpage not available" here: http://<IP_ADDRESS>:32810/
The tools were working yesterday. Today, neither the tools launched yesterday and nor the new ones will load.

from discussion - this may be related to IllinoisNet wifi blocking ports.

This is an issue related to the way illinoisnet and the openstack have their IP addresses setup. Both use the 172.X.Y.Z subnet and when you from your laptop try to talk to openstack cluster the networking code thinks you are on the same subnet and tries to have you connect directly using the internal ip address and not the public address.
Will try to reassign ip addresses to the 192.168.100.X subnet which should solve this problem.


How exactally do i run this

So, I have already installed the GOPATH, but I still can't run any of the files.


Kubernets: introduce production ready volume management

### AWS EBS CSI Tasks
- [x] Uniquely Tag EBS to filter them out
- [x] Configure reasonalbe default type, throughput, iops
- [x] Enable resizing
- [x] Add necessary Instance Role Profile

### Miscellaneous
- [x] Clean Up k8s manager after testing
- [x] Update portainer PV size
- [x] Remove S3 CSI from AWS Master
- [x] Clean up S3 Data
- [x] Think through and comment on Read Write Once limitation of AWS EBS CSI (check [this SO thread](https://stackoverflow.com/questions/67197235/how-to-enable-readwritemany-access-mode-using-an-io2-ebs-volume))
- [x] Define storage class per deployment
- [x] Prod volume management for inhouse deployments --> use [local provider](https://stackoverflow.com/a/67237464/12124525) or / and solve this issue once needed

Literature

Container Storage Interface (CSI)

Multi-Replicated Statefulset and PVs

https://stackoverflow.com/questions/72250853/what-happens-when-we-create-stateful-set-with-many-replicas-with-one-pvc-in-kube


distinct() filters None

Is this the desired behavior?  It's not mentioned in the docs, and differs from the way relational databases work (DISTINCT does not remove nulls).  Specifying key and/or presorted produces the same result:
import petl as etl
t = etl.wrap([['foo'], [None], [False], ['a'], ['a']])
t

foo

None

False

a

a

t.distinct()

foo

False

a

I think this is a bug, which occurs when None occurs as the first value in
the table. Thanks for reporting, PR fix welcome if you have any time.
On Monday, February 6, 2017, Brad Maggard<EMAIL_ADDRESS>wrote:

Is this the desired behavior? It's not mentioned in the docs, and differs
from the way relational databases work (DISTINCT does not remove nulls).
Specifying key and/or presorted produces the same result:
import petl as etl
t = etl.wrap([['foo'], [None], [False], ['a'], ['a']])
t
foo
None
False
a
a
t.distinct()
foo
False
a
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/petl/issues/412, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8Qn-dBMkMIPGSeCExpWzs438zJriTks5rZzp4gaJpZM4L4UpX
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721


this version is inpcompatible with tornado via python 3.7

I have an error: "ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.   " which shows that this version is incompatible with tornado on python 3.7. How to solve it ?

pyspider version: ladtest
Operating system: Linux
Start up command:

Expected behavior

Actual behavior

How to reproduce

python -m venv pyspider
.\pyspider\Scripts\activate
pip install tornado==4.5.3
pip install pyspider[all]
pyspider

I need tornado > 4.53 for other libraries. Please update pyspider to support current tornado.


Improve test coverage of query pagination code for queries with type coercions

While adding types to the query pagination code, I realized that a good chunk of the code appears to implicitly assume that queries do not contain type coercions: for example, there was a lot of use of ast.name.value, which is only defined for FieldNode and doesn't work for InlineFragmentNode AST types.
This situation emerged because our SQL backend doesn't currently support type coercions (because SQL in general doesn't do table inheritance), and because we prototyped the query pagination code on SQL.
I am doing my best to fix the code as best I can, but I'm not sure I can get everything. We need more test coverage to prove that query pagination works for all queries, including ones with type coercions.

Worth checking why test_query_pagination.py:test_with_compiler_tests doesn't catch those bugs. It runs pagination against all defined compiler test inputs, checking that no errors are raised.

Ah, the current tests pass because we always paginate at the root right now.


Fix broken link in FAQ

well I guess that's because we have versioned docs now :D

Ah, I see what you mean. The docs are versioned, but the faq is not. If the faq were versioned, next/faq would point to pipeline-syntax and /faq would point to conditional-execution.


Pack fails when output is specified

when running this tool with an output directory the packer step fails with no useful error given
Running dotnet publish -c Release -r win-x64 -o "D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\dotnetwarp_temp" /p:ShowLinkerSizeComparison=true "D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI"
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 46.55 ms for D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\DigitalParadoxCLI.csproj.
  DigitalParadoxCLI -> D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\bin\Release\netcoreapp2.2\win-x64\DigitalParadoxCLI.dll
  DigitalParadoxCLI -> D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\dotnetwarp_temp\

Running Pack...
Running C:\Users\Chris McGrath\.dotnet\tools\.store\dotnet-warp\1.0.5\dotnet-warp\1.0.5\tools\netcoreapp2.2\any\warp\windows-x64.warp-packer.exe --arch windows-x64 --input_dir "D:\dev\GithubReleaseNotes\src\DigitalParadoxCLI\dotnetwarp_temp" --exec "DigitalParadoxCLI.exe" --output "..\..\artifacts\warp\win-x64\cli.exe"
Compressing input directory "D:\\dev\\GithubReleaseNotes\\src\\DigitalParadoxCLI\\dotnetwarp_temp"...
Creating self-contained application binary "..\\..\\artifacts\\warp\\win-x64\\cli.exe"...

Saved binary to "..\..\artifacts\warp\win-x64\cli.exe"
Pack failed. Set --verbose flag for more info.

same command without - o  works fine  and writes exe to project root (or cwd?)

It looks like Warp is failing internally, as it returns non zero exit code. Have you tried the latest version of dotnet-warp ?


Broken Link

Issue in ./help/configuration/cli/start-message-queues.md
Link queue:consumers:start is 404 at the end of page on phrase:
See queue:consumers:start in the Commerce section of the Command-line tools reference for details about the command options, parameters, and values.

Thanks for the report @fauzie! This commit should fix it. I'll confirm after deployment and reopen this issue if not.

Confirmed that the fix worked


"esnext": true vs "esversion": 6,

Upgraded to ember-cli 2.7.0 and now I see warnings like;
'JSHINT let is available in es6 (use esnext option)'
whilst the upgrade options instructed me to replace "esnext": true, with "esversion": 6, in .jshintrc.

This is most likely not related to this plugin but to the jshint feature of intellij itself. You should probably open an issue on their bug tracker instead. Thanks for reporting though!


Live reload CSS partials.

Reload a CSS bundle file when detecting a partial changed instead of
full page refresh.
By default will reload stylesheets/application.css unless
:bundle_file_css option is set.
To opt out set bundle_file_css: nil.
More info:
https://github.com/middleman/middleman-sprockets/issues/28
https://github.com/middleman/middleman-livereload/issues/51

Cool. Mind updating the docs here too?
https://middlemanapp.com/basics/development_cycle/#livereload

@tdreyno #514


🔧 Ensure post is a model instance before calling handlePreview

It seems like calling handlePreview() after Post::whereSlug() operates on a Builder instance instead of a model, so the unsaved preview data is later discarded with the call to firstOrFail().
Not sure if I'm explaining well, let me know if I'm missing something obvious :)

perfect! thank you very much. :)