examplename.py is not present in the repository

examplename.py file is not present in the git repo based on the below documentation
Run the examples
Examples are located in the /splunk-sdk-python/examples directory. To run the examples at the command line, use the Python interpreter and include any arguments that are required by the example:
python examplename.py --username="admin" --password="changeme"
If you saved your login credentials in the .splunkrc file, you can omit those arguments:
python examplename.py
To get help for an example, use the --help argument with an example:
python examplename.py --help

Which specific example were you trying to run?

I am not running anything specifically, the file examplename.py is not found in the repo provided as per the documentation

i think its implied that you replace examplename.py with the name of the example you'd like to run. Perhaps this can be made more explicit in the documentation.

Right, there's not a specific example named "examplename.py", you have to replace "examplename" with the specific example in that directory that you want to run.

Thanks @tdhellmann  and @ahvigil , will do the same, it would be better if we could add an extra line in the documentation for the people trying out this for the first time


[FEATURE] Live-reload proxy pool for proxy IP rotator

first
Gotta admit it's a great piece of work❤
There is a suggestion that I hope can be adopted.
System: win11
-f ip.txt（Specify the txt file）
It would be better if it was dynamic
I try to use python to extract IP and modify IP.txt content.
But the new txt data is not recognized after the program runs.
A small suggestion
May good luck be with you

Thanks for suggesting this, @Trapshell, and I think it's worth adding.

Hey @Trapshell, now it's packed on v0.10.0. Bump yours with mubeng --update.


I made a project on Sudoku Solver using CNN.

I made this project against the issue of "Add a new project which will give a basic understanding of CNNs (Deep Learning) that is a Sudoku Solver".

@pratyush2303 is it a udacity project..

No, it is not a udacity given project. This is my own made capstone project. This was made for basic understanding of neural networks for beginners.

@Niketkumardheeryan No, it is not a udacity given project. This is my own made capstone project. This was made for basic understanding of neural networks for beginners.

ok

@Niketkumardheeryan No, it is not a udacity given project. This is my own made capstone project. This was made for basic understanding of neural networks for beginners.

ok

and mention your issue ...

Issue link - "https://github.com/Niketkumardheeryan/ML-CaPsule/issues/251"
Issue no- 251

@pratyush2303 your readme.md file has some issue replace it ....

Can I start a new pull request with the changes requested and close this one? @Niketkumardheeryan

Can I start a new pull request with the changes requested and close this one? But I have commit the changes. Please have a look @Niketkumardheeryan

no need to close this one. Just make changes in the forked repo and it will get reflected here

@Niketkumardheeryan  @Rutikab12  I have already made changes in forked repo but still it is showing "conflicting files". What should I do?

@Niketkumardheeryan @Rutikab12 I have already made changes in forked repo but still it is showing "conflicting files". What should I do?

had you fetched the upstream?. You can refer this


Set package.json version to 0.0.0

The package version is irrelevant for the build process
and is not read anywhere.
The package is not published and causes confusion if the
bump is forgotten.

We do install Scope as an npm module in service-ui. This change shouldn't affect, but a test wouldn't hurt.

Thanks Jordan (it did work when I tried it locally)

I'm afraid this PR have screwed something with yarn.lock in Service UI. It was only updated in https://github.com/weaveworks/service-ui/commit/89dd0d3ee08d6c1991262b5178fe2f599a35d062, but that commit didn't really update the Scope version in the UI (even though the right version was shown in the footer). Still not sure it has to do with this PR though, but maybe we should see if reverting fixes it. :/


Unable to find semicolon/special characters?

I tried searching the reviews on the Chrome Store and the other issues here, but did not see this mentioned:
I am trying to search for a phrase that includes a few special characters including ':', '-', and '>'.  It seems like adding these special characters causes the search to not find anything.
Is there something special I have to do for it to find these special characters as part of the search string?

Hi Christopher, I can replace these characters with no issues on my end. Where are you trying to replace them? If it's in a code editor then there's a good chance they are stored encoded
e.g.
::>>

is equivalent to
%3A%3A%3E%3E

https://www.urlencoder.io/

Needs more info. Closing.


HTTP server should provide a func notify(update StatusUpdate) that can be invoked to signal a successful or failed build

Subsequently, the server should relay this information via web socket.

Done


ci: pin cloudwatch addon version

Fixes #N/A
Description
How was this change tested?
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 82.237%

Files with Coverage Reduction
New Missed Lines
%

pkg/providers/amifamily/ami.go
1
90.22%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
5403

Relevant Lines:
6570

💛  - Coveralls


Connecting to different PHY

Hi,
How should I start to test it with "dump pipe" modems for HF radio like VARA or ardop? Do you think it is worth taking a look on it from my side? I'm currently using UUCP, but I'd like to add some synchronous (or almost) to the network.

As far as I know it's not permitted to use an encrypted protocol like Liminality over amateur HF so there are some conflicting requirements when you start targeting an HF modem as a PHY. The other thing to consider is that in order to provide good privacy properties, Liminality does end up with overhead that similar protocols don't have. Namely, the message IDs are 64 bytes which is pretty big. Have you seen Reticulum? That's what I was looking at using before I began work on this spec. Reticulum allows you to disable encryption which makes it legal for use over HF packet radio.
Liminality is really designed to run on sub-GHz ISM bands. My first hardware target is going to be the S2-LP radio transceiver. I think it would be really cool to find ways to make it work over other kinds of interfaces or even as an overlay network, but that's not my first priority right now.


Job filtering

Hello I need some help please.
I have built a WordPress site and I am using the Bullhorn plugin. The client has requested:
Filter by Vacancy Title
Filter by State (although county would be preferable as in the UK we don’t use the term state)
Filter by Skill (the secondary ones on bullhorn)
The portal doesn't currently do this so how do I get the filtering to work?
Thanks
Mark

To do this with OSCP you may have to fork the code even if the skills are in the public API
Check out the Matador jobs plugin we can do this.
Paul

Thanks Paul
This looks like it's just what we're after. I will share it with the client.
Much appreciated ;-)

For Future readers: You are able to added additional sidebar filter components to the sidebar template.
This adds additional filters, there is not a simple configuration to accomplish this at this time.


Our App Engine deployment run config should allow the selection of App Engine standard modules as deployment sources

IntelliJ Ultimate has built in App Engine support, which handles build and staging of modules with the App Engine facet.  Our deployment UI should allow selecting an IJ App Engine module as a deployment source.

I wanted to get some early discussion on this and share a feel for how this might work. Here is a rough outline of what one option could look like:
Background note: IJ App Engine deployment support works off of exploded war Artifact types.
Showing all of our current deployment source options plus a new exploded war type:

File deployment source - not that the environment is "Flexible" and the Configuration (which applies to Flex env is enabled:

Exploded war source (module has been validated to have an App Engine facet). Note the environment is "Standard" and there is no configuration selector):

Another way I can see this working is that when the user specifies the target environment initially when creating the cloud server. Then, in the deployment window, we only show the deployment sources that are applicable to that cloud. For instance, if "standard" was selected, then only the exploded war artifact (and perhaps even the Maven source) would be shown.

Or, one could select standard/flexible from the 'Server:' drop-down (above the 'Deployment:' drop-down).

The contents of the server dropdown are fixed by the cloud configurations that the user created. If the user creates 2 clouds, one standard and one flex (per my alternative suggestion), then what you are saying would effectively be the same as my alternative suggestion.

One thing that's been on my list of things to do, is consider at this point
whether some of this configuration might not belong in a module level facet
rather than in the deployment runtime.
It's conceivable for instance that the app.yaml and Dockerfile could be
part of a new App Engine facet.  It's actually kind of murky what's module
config and what's deployment config.
I'm making this shit up on the spot, but you could have something like:
if it's a plain old standard app, it just has the Jetbrains AE facet and we
support deployment from it with the 'standard' labeling as in Etan's
screenshots
if it's a standard app with env flex in the appengine-web.xml we add our
flex facet (in addition to the JB AE facet) to it which supports Dockerfile
configuration, and for deployment we label it as flex
if it's a flex app with an app.yaml we add our facet and deploy it as above.
Some of the aforementioned murkiness could be addressed by allowing the
user to override some config (app.yaml and Dockerfile for instance), in the
deploy step. Kind of the way we do now, except they'd be pre-configured
from the facet.
I haven't really though this through, so I'm not pushing for this, but it's
an option to think about.
On Tue, May 3, 2016 at 1:21 PM, Chanseok Oh<EMAIL_ADDRESS>wrote:

Or, one could select standard/flexible from the 'Server:' drop-down (above
the 'Deployment:' drop-down).
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/issues/665#issuecomment-216602202

Interesting. Some things like the cloud sdk path could definitely be considered module level config. In my mind, things that are both module related and auto-configurable could be moved to a facet since these are usually configured automatically based on the project structure (we can still provide the option to override them like you said).
I will think about this idea more. One of the things I am not sure of with this approach is how we would handle projects that have no AE facets. Take a plain maven project for instance: currently we can deploy this to flex using one of several avenues. I don't know if it makes sense to nail our facet to a project like this just because our plugin is installed.

Agreed.
The user would have to manually add the facet to that kind of project.
Ideally they could still deploy that kind of project without it though :)..
I know, it's messy.
On Tue, May 3, 2016 at 2:48 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

Interesting. Some things like the cloud sdk path could definitely be
considered module level config. In my mind, things that are both module
related and auto-configurable could be moved to a facet since these are
usually configured automatically based on the project structure (we can
still provide the option to override them like you said).
I will think about this idea more. One of the things I am not sure of with
this approach is how we would handle projects that have no AE facets. Take
a plain maven project for instance: currently we can deploy this to flex
using one of several avenues. I don't know if it makes sense to nail our
facet to a project like this just because our plugin is installed.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/issues/665#issuecomment-216627475


Avoid recursive interfaces

To be able to deserialize deeply nested records, and also to have "filter" functionality: digging deep into a document, only deserializing what you need from it, not the whole thing, something serde doesn't really let you do.

So I haven't fully realized the idea yet, but as of #75 the actual deserialize methods are asynchronous, which means we could return Poll::Pending in the middle of everything to avoid overflowing the stack, stash that future somewhere, continue with another future (for deeper deserialization), and resume the other one when we're done.
I think. I need to think more about, uh, how the whole thing would be implemented, because the future that yields would need to give information to the waker on: what type to deserialize, where to deserialize it.
Worth experimenting with further later.

This has been handled in #96 — recursive interfaces are fine, I did the async thing, it works unreasonably well. I guess I should introduce InfiniteStackDrop and others — because there's the same problem when it comes to freeing them.


No icon in the system tray

I'm not sure what the issue is at the moment, but I tried installing version 1.4.0 and then installing version 1.5.0, and the problem was resolved.

fixed in https://github.com/CodyTseng/nostr-relay-tray/releases/tag/v1.5.1


Defining _POSIX_C_SOURCE in library/threading.c is problematic

Build failure when moving from LTS 2.7 to 2.16 related to _POSIX_C_SOURCE and library/threading.c

Type: Question (though maybe bug)
Priority: Major

We're struggling with a recent change, specifically to library/threading.c (this commit - https://github.com/ARMmbed/mbedtls/commit/e9b10b21f11a84a8fbf74ce663935c7caea563fa) which unconditionally defines _POSIX_C_SOURCE.
The comments state this change was done to enable a gmtime-related change, though I don't understand how that relates to library/threading.c.  I'm wondering if this _POSIX_C_SOURCE definition can be removed from library/threading.c.
The reason this is particularly painful for our port to our embedded platform, is that we provide our own 'alt' threading implementation, based on our (not gcc's!) POSIX pthread implementation (that knows about our RTOS environments).  To disable gcc's POSIX definitions from coming in, we throw -std=c99 and ensure explicitly that _POSIX_C_SOURCE is not defined.  That seems to be the way to disable GCC's headers infrastructure from bringing in it's POSIX implementation, but it conflicts with the change in question.
FWIW, removing that _POSIX_C_SOURCE definition in library/threading seems to work for our environment, though I don't understand any gmtime()-related implications of that change.
For now, I'm just looking to better understand why the change was made, and whether it is really necessary in library/threading.c.
Chris

Hi @cringti
Thank you for your question!
Doesn't 94b540ac63c0c8d9d87edff9772dc7754bd4d220 help you? This defines _POSIX_C_SOURCE conditionally.
Can you define your _POSIX_C_SOURCE globally, prior to threading.c compile time?

@RonEld, thanks for your reply.
The change in that newer commit is an improvement (it lets me define _POSIX_C_SOURCE to my own value if I want), however it doesn't change the fact that _POSIX_C_SOURCE is always defined.  I don't want it defined at all.

Fingers still crossed for a reply on this.  I'm currently working around this by explicitly deleting these 3 lines from library/threading.c:
-#if !defined(_POSIX_C_SOURCE)
-#define _POSIX_C_SOURCE 200112L
-#endif
This resolves my build issues, though I'm not sure of any runtime side effects.  I'd feel a lot better if someone chimed in with "Yep, those lines aren't used in library/threading.c and we'll remove them in the mainline".

Hi @cringti
i apologize for  not getting back to you.

I'd feel a lot better if someone chimed in with "Yep, those lines aren't used in library/threading.c and we'll remove them in the mainline".

This is used in library/threading.c for the gmtime functionality. So, unfortunately, this won't be removed in the mainline.
How about undefining _POSIX_C_SOURCE in your configuration file? I believe this will work for you.

The comments state this change was done to enable a gmtime-related change, though I don't understand how that relates to library/threading.c.

The change was to use the thread safe gmtime_r instead of gmtime, however not all platforms have gmtime_r so there was a need to add a mutex to be generally used, unless you have your own alternative implementation for gmtime_r() by defining MBEDTLS_PLATFORM_GMTIME_R_ALT

Thanks, I appreciate the continued discussion.
A couple things:

I still don't see where the gmtime_r() definition is ever needed in threading.c.  I see where a mutex (that happens to protect gmtime_r() calls) is conditionally defined/managed, but that mutex definition doesn't require the definition of gmtime_r(), so I still question why this _POSIX_C_SOURCE is needed in threading.c.  Again, I'm no expert on the gmtime-related changes, so if I'm just missing where that dependency is, I appreciate that detail.
My understanding is that the gmtime_r() dependency is by design conditional, and I can remove that dependency by providing my own implementation and defining MBEDTLS_PLATFORM_GMTIME_R_ALT.  So is that _POSIX_C_SOURCE chunk of code unnecessary if MBEDTLS_PLATFORM_GMTIME_R_ALT is defined (in threading.c and every file this was done in)?  And we should wrap it in something like:

/*
 * If the configuration isn't using an alt gmtime_r() implementation,
 * unconditionally bring in the toolchain's.
 */
#ifndef MBEDTLS_PLATFORM_GMTIME_R_ALT
#if !defined(_POSIX_C_SOURCE)
#define _POSIX_C_SOURCE 200112L
#endif
#endif

I'll look into undefining it in my config file - but that feels like a hack (which means I'm nervous future code changes will break that approach), but I can give it a shot.

Would defining _POSIX_C_SOURCE to 0 work for you? I think glibc treats it identically to being undefined.
threading.c doesn't call gmtime_r but I'm not sure that it doesn't need _POSIX_C_SOURCE for some other purpose. And even if we could remove it now, there'd be no guarantee that we wouldn't add it back later for the sake of some other platform or if we need to shuffle functions around. On the other hand, if you define _POSIX_C_SOURCE to something, you should know what you're doing, so we'll respect it.

Closing this - please re-open if you are still experiencing issues here.


Fix/warnings

This PR fixes the following warnings:
WARN  'new NativeEventEmitter()' was called with a non-null argument without the required 'addListener' method.
WARN  'new NativeEventEmitter()' was called with a non-null argument without the required 'removeListeners' method.

upgraded react-native-appboy-sdk from 1.38.1 => 1.40.0 and changed kotlin_version to kotlinVersion per their release notes
added stub methods to the Android GooglePushProvisioning java module
pass null into event emitter if module not defined for that OS

WARNING: This environment is missing a secure random source; generated private keys may be at risk, think VERY carefully about not adding a better secure source.

rearranged imports so that react-native-get-random-values is imported before @ethersproject/shims

@cnguyen812 can you regenerate the pod lock?


Added an MVC generator to go along with the Model genrator

Great work! Renamed mvc to scaffold as it felt more appropriate (and it is similar to the Rails scaffold generator) and merged it in. Thanks for your work on this! :smiley:


More Detail for using the automatic cert renewal script

These scripts would be so useful. I am not Global Admin on our corporate AAD.  So I cannot use the setup script. I would like to install the cert update script manually, but the instructions contained seem to be out of date, or I'm just confused. But I can't follow step 3 of Update-AutomationRunAsCredential.ps1 which says "
3. Select the application and click Settings button -> Required Permissions -> Add button
Add the "Manage apps that this app creates or owns" permission from Windows Azure Active Directory." I can't find the settings button.

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

ID: 56e2500f-e1f5-bc87-6e5c-f41b59265049
Version Independent ID: d212be48-7d05-847d-3045-cea82e6ba603
Content: Manage Azure Automation Run As accounts
Content Source: articles/automation/manage-runas-account.md
Service: automation
Sub-service: shared-capabilities
GitHub Login: @bobbytreed
Microsoft Alias: robreed

@SharmainePopov Thanks for the comment. We are actively investigating on the issue and will get back to you shortly with an update.

Assigning to @bobbytreed for visibility and document enhancement considerations.

I have notified the engineering team to update the instructions in the script.  I will close this when it is complete.

Hi Bobby, FYI the script I tried is also in need of updating – it doesn’t work on current PowerShell, even with  AzureRM loaded. Could you let them know this?
Thanks
Sharmaine Popov
Cloud Solution Architect |Microsoft Canada Inc. | sharmaine.popov<EMAIL_ADDRESS>|<PHONE_NUMBER>
From: Bobby Reed<EMAIL_ADDRESS>Sent: Friday, August 9, 2019 7:37 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Sharmaine Popov<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] More Detail for using the automatic cert renewal script (#36366)
I have notified the engineering team to update the instructions in the script. I will close this when it is complete.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F36366%3Femail_source%3Dnotifications%26email_token%3DAIIVNWWFFS4UYV4EUHZKODDQDVJGBA5CNFSM4IIYZPFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD36NM3Q%23issuecomment-519886446&data=02|01|Sharmaine.Popov%40microsoft.com|2d61503e574d4859031408d71cbde7b0|72f988bf86f141af91ab2d7cd011db47|1|0|637009474278213809&sdata=Wl9U8FoNxYfXYZFcO1WezJnRbOwaV9eHjEImQtZcgRg%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIIVNWRT3EVZLSSCZXNU2CLQDVJGBANCNFSM4IIYZPFA&data=02|01|Sharmaine.Popov%40microsoft.com|2d61503e574d4859031408d71cbde7b0|72f988bf86f141af91ab2d7cd011db47|1|0|637009474278213809&sdata=uhExHiCjPW7%2F4HdqXbPQ7z4Lgp9PzS%2FcsmiXfZTxzrU%3D&reserved=0.

I have reached out to the Engineering team for them to fix

#please-close


feat: add naive prefiltering

This adds a prefilter option to the list of scan options.  If prefilter is true then the filter is applied before the index (instead of after the index).  Currently this only works when using a flat KNN scan (e.g. when use_index is false) and so it may be very expensive on large datasets if the filter is not very selective.
Closes #1032

Rebased, will merge once CI passes


[BUG] block syntax not being parsed properly

Describe the problem
The example VCL code below reports this error:
💥  Unexpected token "log" found
in /Users/smaeda/Documents/GitHub/falco/foo.vcl at line 3, position 5
 1|sub foo {
 2|  {
 3|    log
       ^^^

https://developer.fastly.com/reference/vcl/variables/#user-defined-variables

Fastly VCL does not provide block scope: declarations apply to an entire subroutine's scope even if a variable is declared within a block.

Fastly does not provide block "scope", but block "syntax" is actually supported even if it has no effect in variable scopes.
VCL code that cause the problem
sub foo {
  {
    log "hello";
  }
}

Expected behavior
Should not report errors.

This issue should be fixed in https://github.com/ysugimoto/falco/pull/18


[PrimeService_IsPrimeShould.cs(9,26): error CS0118] in .NET Core 3.1

[PrimeService_IsPrimeShould.cs(9,26): error CS0118]
I received this errors traing to setup the example in unit-testing-with-dotnet-test with xUnit, after running dotnet test
PrimeService_IsPrimeShould.cs(9,26): error CS0118: 'PrimeService' is a namespace but is used like a type [/root/testcsx/PrimeService.Tests/PrimeService.Tests.csproj]

My environment is  a container in Ubuntu 20.04 and using as a console running docker run --rm -it -v $(pwd):/root  -w /root mcr.microsoft.com/dotnet/core/sdk:latest bash
The dotnet --info output is:
.NET Core SDK (reflecting any global.json):
 Version:   3.1.401
 Commit:    39d17847db

Runtime Environment:
 OS Name:     debian
 OS Version:  10
 OS Platform: Linux
 RID:         debian.10-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.401/

Host (useful for support):
  Version: 3.1.7
  Commit:  fcfdef8d6b

.NET Core SDKs installed:
  3.1.401 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Issue metadata

Issue type: sample-update

My mistake.
A empty Class1.cs was the reason.
Sorry.


Clean typos in plugins.

/kind cleanup
Clean typos in plugins.

Thanks all.
Auto-merge is blocked.🥵🥵

Hi @zhanluxianshen can this be rebased? Looks like an integration test issue prevented it from being merged. It is being investigated separately.


Add PrivateKey modal tiles in "For You" block

I think being able to see and save privkey is a must-have for a non-custodial wallet
Possible to re-Add the PrivateKey modal  tiles in the "For You" block ?

saved but doesn't give me any privkey, can't use it on other apps, what if i want to use this address on another wallet? The modal with all privkey (BTC, eth, LTC etc) was perfect on the previous version

@shendel need add "copy private key" to all crypto in submenu under "Copy address" https://screenshots.wpmix.net/chrome_kxO41eaDbnLdFuNb5y1JeJHb1QMceXXU.png

Private key of erc20 token give "undefined" when copied via the new button


vike resolves pages from another vike app (global state pollution?)

Description
Follow up of https://github.com/vikejs/vike/discussions/1202#discussioncomment-7381287
Problem
Running multiple instances of vike in a monorepo/same server leads to routing issues. Vike matches routes/pages from another instance.

Reproduction

Clone https://github.com/samuelstroschein/stackblitz-starters-fd54nc
Run npm i && npm run build && npm run start
Open localhost:3000
Click on go to /editor/login

The server will log editor router page ids [ '/pages/index' ] which is a bug. The route index does not exist for the editor package, only for the website package.
The wrong page ids lead vike's renderPage middleware in editor/router.ts to return a 404. The website renderPage middleware in website/router.ts is subsequently triggered, also returning a 404 because no editor/login page exists in the website package.
The result is a bug that no page is rendered for /editor/login even though the route exists.
Additional information

Using domain-driven settings does not resolve the bug. Vike matches incorrect pages.
I suspect that vike stores stuff in the node_modules/the runtime, leading to global state pollution. If so, I encourage vike to compile all required state into the dist output.
Having multiple vite apps in one repo is a basic monorepo requirement.

You're running two Vite apps within the same Node.js process — that won't work. Not only won't it work with Vike, but I also expect Vite to fail with such setup.
If you want two separate apps, then create two seperate processes i.e. two separate Express.js server.

We are not running Vite. Vite only builds the project?

@brillout I think it's the page file globs

We are not running Vite. Vite only builds the project? The express server uses the vike (build) middleware

I see. Still: having two different Vike apps in a single Node.js process is problematic for many reasons. (Technically speaking: Vike's server runtime assumes that there is only one Vike app.)

I think it's the page file globs

The globbing is only done in dev.

Yes but what's being globbed at build time will then be run in prod, and so may lead to rogue routes in prod. I'm surprised you're able to rule this out so quickly to be honest.

Yes but what's being globbed at build time will then be run in prod, and so may lead to rogue routes in prod.

Agreed. And, in general, Vike's server runtime uses a lot of global variables (see all the getGlobalObject() usages, in particular in node/runtime/globalContext.ts which would actually include the rogue routes you mentioned). Supporting mutliple apps within the same Node.js process would be a major undertaking. I doubt any frontend framework out there supports that.

We are going to separate the servers.
One server/process was so beautifully simple that it might be worth an exploration. We had 0 deployment burdens, just write a router and be done. It felt like "the serverless stack" but we had a full server without limitations.
In any case, Vike's docs should be updated. The slogan "Vike is just a middleware" misled us to believe that Vike works out of the box with what we have in mind. After all, the use case for express.router is exactly what we are doing:

Use the express.Router class to create modular, mountable route handlers. A Router instance is a complete middleware and routing system; for this reason, it is often referred to as a “mini-app”.

Vike's server runtime uses a lot of global variables (see all the getGlobalObject() usages, in particular in node/runtime/globalContext.ts

Why does vike even have a runtime? Compile the output, including the renderPage function into dist and call it a day. That would likely already resolve this issue as global variables between different vike instances wouldn't be shared.

Sorry, just read the issue title. I stand corrected

@AurelienLourot same process. basically we want domain-driven development but a separate package.json to unbundle dependencies

Why

Let alone the fact that there are two different dist/ directories is a major problem. I could probably create an impressive list of issues about having 2 Vike apps for 1 server (i.e. 1 Node.js process). Again, I don't think any frontend framework out there supports that, for good reasons.
@AurelienLourot I actually edited the title :)


[Monitor Query] Improve workspace ID troubleshooting

There have some cases where customers have been trying to use LogsQueryClient.query_workspace by passing in a resource ID of a workspace resource instead of the workspace ID.  Investigation and perhaps some validation should be done for cases like this.
Some options:

Add validation, checking that workspace ID doesn't begin with subscription/* indicating that resource ID was passed in. Suggest using a workspace ID in this case.
Improve the docstring with an example workspace ID, so users can see the expected format.
Improve error message when an invalid/nonexistent workspace ID is passed to the service. Currently, the message returned is The requested path does not exist. This can be improved.

I agree. It is very confusing. For example, the LogAnalyticsManagementClient.workspaces.list returns a Workspace object where the id is actually the resource ID -- the "Workspace ID" is actually called customer_id.


build: remove unused properties on sonar

:tada: This PR is included in version 1.2.1-rc.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Can't find the tourism dataset in GL3D's data

          Thank you for your reply, I can't find the tourism dataset in GL3D's tourism_data.md, if it's convenient for you, please provide the link of the tourism dataset.

Originally posted by @ze-n-g in https://github.com/THU-LYJ-Lab/DarkFeat/issues/2#issuecomment-1629943719

Thank you so much for your open source work, I'm trying to follow your work normally, I have two questions now

One is whether to share tourism data .
There are three steps in the training phase. How much is the loss stable after each step of training, and  how much time is required for each step?

The links provided in GL3D's tourism_data.md file seem expired. As a result, I cannot provide you with the direct link to the dataset you're looking for. I recommend you reach out to the authors of GL3D directly.
Due to the high diversity of GL3D image pairs, which is specifically reflected in the loss curves, there are still fluctuations between samples after the overall trend of the loss becomes stable.
In our implementation, the three training phases were trained with 160k, 60k, and 50k iterations, taking about 3 days, 2 days, and 1.5 days, respectively.


Get requesttimeoutseconds current value on a node

Description
As I manage a private chain using BESU QBFT, I want to be able to get the current requesttimeoutseconds  of a node.
We did some high availability/disaster recovery tests and it would be easier to troubleshoot issues if we could monitor that values from each node at all time.
We are currently using a network of BESU 24.3.0 nodes.

@cryptohazard to clarify - you're asking for a metric for this? you're welcome to do a PR :)

yes a metric would be awesome.
Right now I can only know that value after the blocks have been mined and I plot the timestamps.
I'm not that familiar with Besu's code to contribute (yet) and only look through it when I'm in trouble. Maybe soo I will be able to. Or I will manage to lobby my company to finally sign a contract with you guys for this type of service/request (I know there were some consulting in place but if things keep getting bigger they will have to sign something with you).


Convert DOM to declare class

Based on TSJS-lib-generator#858
I'll update this PR with any changes from that PR.

@typescript-bot run dt
@typescript-bot test this
@typescript-bot user test this


Add share button and create separate rooms for users

Working on the changes mentioned in hasparus' PR

Closing because we're merging #2


Update code & CI

For some reason, tests using the load metadata functionality are not working (they are stuck).
I've commented them for now.


HTSTS now redirects with 308

Expected behavior
Previously, redireciton by application of HSTS was returning a 301 status code.
Actual behavior
It now returns a 308 status code when using Starlette 0.12.2+. As a result, tests are broken.
To Reproduce

Screenshots/Traceback

https://travis-ci.org/bocadilloproject/bocadillo/jobs/555252956
Possible solutions

Update the tests to check for 3xx instead of a specific status code.

Specs

Python Version: 3.7.2
Bocadillo Version: 0.17.0
Starlette version: 0.12.2

Additional context

https://github.com/encode/starlette/compare/0.12.0...0.12.2#diff-d661b231219a1d9edd220158bcaeeb80

Fixed in 0.18 ✅


[Q] Does langchain implement any prompt+response token calculation to prevent hitting max limit

When I'm using RetrievalQA with OpenAI and QDrant, I sometimes hit the limit of OpenAI gpt-3.5-turbo of 4097 token limit. Is this expected behaviour, or does langchain implement a tokens calculator that prevents such events?
For the record, I'm hitting this problem with Arabic text, and so far didn't with English, though I don't know if this is correlated or not.
I want to add that in another project I'm working on I have a 100% working token calculator that didn't fail for me in all of my tests (with the focus group working on the project) so far. The way my calculator work is by limiting the initial prompt to max tokens count, then instruct openai SDK to set limit of response to some pre-defined limit (good for three sentences approx.) or the difference between initial prompt tokens count and model tokens limit, whichever is lower.
If this is needed in langchain I'm more than happy to re-implement it for this project with little guidance on where is the best part of the codebase to add this in.

same here


swagger console infini

Hi,
When i tried on my docker <IP_ADDRESS> https://localhost:9443/ibm/api/ibmmq/console/
there is an dynamic infinite loop in url !
https://localhost:9443/ibm/api/ibmmq/console/ibmmq/console/ibmmq/console/ibmmq/console/ibmmq/console/ibmmq/console/ibmmq/console

I am also facing the same problem. Did anybody know how to resolve this issue?

I just tried this on the latest CD release, MQ 9.2.3, and the issue is no longer present.  MQ 9.1.2 is now out of support, so closing this issue.


Update LEOX lxt-010s-h wiki

finally, will you create me a nice commit message that will take the place of all those you have already written?

i have LEOX GPON STICK LXT-010S-H and it was working great with mikrotik rb5009 and when i change mode from flash set LAN_SDS_MODE 1 to flash set LAN_SDS_MODE 8 the sfp stop working any help please

i have LEOX GPON STICK LXT-010S-H and it was working great with mikrotik rb5009 and when i change mode from flash set LAN_SDS_MODE 1 to flash set LAN_SDS_MODE 8 the sfp stop working any help please

Please open a discussion/issue

Which version of RouterOS and Firmware do you have?
The support was added by 7.3 or later.
Make sure that firmware (under System/RouterBOARD) is update otherwise 2.5Gbit// doesn't work

Which version of RouterOS and Firmware do you have?
The support was added by 7.3 or later. Make sure that firmware (under System/RouterBOARD) is update otherwise 2.5Gbit// doesn't work

My SFP firmware version is V3.3.4L4rc1 (Fix 2.5GbE HiSGMII) and my Mikrotik version 7.11

and someone taled me that I have to have media convertor 2.5G instead 1G to change sfp mode to fiber

Please open a NEW issue


XGBoost Classifier Pipeline

Added my pipeline notebook and added xgboost to requirements.in

A PR tá com conflitos, @willianfco. Git pull. Resolve os conflitos e submete novamente :)


IntrusiveDList: Refreshed for C++ eleventy, added const_iterator.

This is a refresh of IntrusiveDList. This is used in IpMap and I intended to upgrade TSHashTable to use it as well. Some method names were changed to be more inline with other practice in TS and a const_iterator was added for better STL compliance. All of the method implementations were moved out of the class declaration to make the latter cleaner and easier to read.
Some of the key points

It is pure C++ and does not depend on use of the pre-processor, while being more flexible in how the internal links are arranged (for instance, there is no need for separate macros depending on whether the links are directly in the target class or in a nested class).

It is also a queue as the additional work of supporting queue operations was trivial.

The number of elements is tracked.

There is also documentary comments detailing usage and implementation.

STL style iteration is supported which means range style for loops work as expected.

Additional code tweaks and documentation added.

[approve ci autest]

The historic goal of this class is to replace the :code:DLL list support.

So, can / should we replace all use DLLs? Queue in ts/List.h too? Because we use these old implementations in QUIC code, I should replace them with this if possible.

Yes, I think that would be good. If you do, please provide feedback about any issues you have. I definitely want to improve this to the point where it's a clearly better replacement for DLL / Queue from "ts/List.h".


$fromRefs is not returning UnwrapRef type

Version
3.2.4
Reproduction link
None
Steps to reproduce
<script lang="ts" setup>
import { toRefs } from 'vue';

const props = defineProps({
  isDisabled: {
    type: Boolean,
    default: false,
  },
  style: {
    type: String,
    default: 'primary',
  },
});

const { style } = $fromRefs(toRefs(props));

console.log(style); // correct output (primary) but incorrect type (Ref<string>)
</script>

What is expected?
I am expecting the type to unwrap the refs from toRefs(props)
What is actually happening?
The
// The type for `$fromRefs` is
ShallowUnwrapRef<ToRefs<Readonly<{
    isDisabled?: unknown;
    style?: unknown;
} & {
    isDisabled: boolean;
    style: string;
} & {}>>>

// The type for `style` is
Ref<string>

I am expecting it to be a string :thinking:

Is this correct behavior of the type or am I just missing something here?

i can't reproduced it , can you provide a mini repo ?

Somehow, creating a new project and migrating all previous setup to the new one fixed the issue. 🤔


Cannot focus / edit textfields

I cannot get any type of textfields / textareas to work inside the modals. More specifically it seems I cannot focus into the fields such as by clicking on it.
Here's the code I'm trying it with:

      	<input placeholder="test" type="text">

I tested it with other inputs such as checkboxes and those work fine.

Seems to work fine for me. Also there is an instance of a modal with a from on the homepage. Click the trigger modal link to see it action.
Closing this for now. Feel free to open if there is any issue.

I get the same error, I can not type text on input field and choose one option from select field.


"class" and "style" attributes have no effect on functional SFC components

Version
2.5.16
Reproduction link
https://github.com/padcom/vue-functional-no-class-passed
Steps to reproduce

Clone the repository
npm install
npm start
Open http://localhost:4000

What is expected?
Functional component is painted in green/red by applying the items CSS class and color: red style
What is actually happening?
The items CSS class nor style is not applied

I am mostly using the added class in components for BEM-style annotations where a component is at the same time an element from the point of view of the container and a block from its personal point of view thus allowing me to delegate certain properties to the container, like positioning for example.
I'd like to use that same principle in functional components, for example with transition-group that has the option to specify the tag attribute. It works with statefull components but functional components fail to pass the class property when rendering. It also cannot be retrieved using the props.class no matter if it is a declared property or not. Also if the class property is not declared there is no error thrown and no information in the console.

I've been experimenting with JSX in this context and this seems to do the trick for me for now:
export default {
  functional: true,
  render(h, { data, children }) {
    return (
      <transition-group {...data} tag="ul" class="hello">{ children }</transition-group>
    )
  }
}

However in light of issue 7557 it seems that passing on additional parameters and using the {...data} won't be an option in the future so I think fixing SFCs in this regard would be really helpful

I think the following workaround would work forever:
AnimatedUl.js

export default {
  functional: true,
  render(h, { data, children }) {
    data.tag = 'ul'
    data.class = 'items'
    return h('transition-group', data, children)
  }
}

This will render everything that I need regardless of #7557. With that I think a workaround exists but it still would be great to be able to do that in an SFC.

I think reading isn't my strongest suit. I found the explanation in the docs:
v-bind="data.attrs" v-on="listeners"

So now my component actually works:
<template functional>
  <transition-group v-bind="data.attrs" name="slide" tag="ul">
    <slot />
  </transition-group>
</template>

This would also work in an SFC but it is ugly:
<template functional>

    Functional component

</template>

Hi, thanks for filling this issue.
Functional components don't share the behavior of automatically applying attributes/classes/styles as stateful components, which has been documented here:

On normal components, attributes not defined as props are automatically added to the root element of the component, replacing or intelligently merging with any existing attributes of the same name.
Functional components, however, require you to explicitly define this behavior

Skipping the auto binding behavior would remove the performance overhead of always merging classes/styles/attirbutes on normal components. This is how functional components are made to be fast, by design. What you're using in the last comment is actually the correct way, and not a workaround.

Btw - there is nothing about passing on class and style to the functional component and what's even more annoying it does work with regular functional component, written in JavaScript as depicted in the previous example. Can't you at least make that the functional components behave the same without additional plumbing?

now that we have inheritAttrs, it may be possible in the future to change this behaviour, it's all about flexibility. In the past, templates for functional components wasn't possible, so it made sense to have to pass them in js (and also easier):
render: (h, { data }) => h('div', data, [...])
// jsx
render: (h, { data }) =>
...

I think I have it! SFC's seem to be very powerful and that I like very much:

That is very elegant :)

What is elegant about this? This is just exploiting sfc-s to the fullest. I would advise use react instead for everyone who ***ed hours of research to make this work.


Merge Pull Request #2 : Sync

Server Side APIs and Client components and functionalities completed

Merged. No issues


min_anystr_length config is not displayed in schema

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic  (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
When setting up min_anystr_length on a pydantic model, the restriction on string length is not replicated in the generated schema.
Example Code
import pydantic
import pytest

def test_pydantic_min_anystr_length_config_not_replicated_in_schema():
    class Demo(pydantic.BaseModel):
        class Config:
            min_anystr_length = 1

        misleading: str
        correct: str = pydantic.Field(min_length=1)

    # Demo that schema is not considering any length validation on misleading
    assert Demo.schema() == {
        'properties': {
            'misleading': {'title': 'Misleading', 'type': 'string'},
            'correct': {'title': 'Correct', 'type': 'string', 'minLength': 1},
        },
        'required': ['misleading', 'correct'],
        'title': 'Demo',
        'type': 'object'
    }

    # Demo that code is doing length validation on misleading
    with pytest.raises(pydantic.ValidationError) as expected_error:
        Demo(misleading="", correct="")
    assert expected_error.value.errors() == [
        {
            'ctx': {'limit_value': 1},
            'loc': ('misleading',),
            'msg': 'ensure this value has at least 1 characters',
            'type': 'value_error.any_str.min_length'
        },
        {
            'ctx': {'limit_value': 1},
            'loc': ('correct',),
            'msg': 'ensure this value has at least 1 characters',
            'type': 'value_error.any_str.min_length'
        }
    ]

Python, Pydantic & OS Version
Python 3.9.1
Pydantic 1.9.1
Windows 10

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[X] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Settings Management
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Confirmed, we've never replicated min_anystr_length and max_anystr_length to JSON Schema.
I think with the alpha of v1.10 released and V2 dropping min_anystr_length and max_anystr_length, we probably won't fix this as much as remove the issue in V2.

As these config settings are removed in v2, I'm going to close this issue.


Upgrade from R39-6 to 41

Can you give a tutorials on how to upgrade R39-6 to 41

There was some tutorial to upgrade to R40 (as it was a massive upgrade compared to R39) available on the SA-MP forums, but now looks like it is gone. This release had all of the breaking changes listed here: https://github.com/pBlueG/SA-MP-MySQL/releases/tag/R40.
Also, I tried to search for the original tutorial in some archives and Google, but all I found was this:
https://alphacs.ro/showthread.php?109650-Tutorial-Updating-BlueG-s-MySQL-plugin-R33-scripts-to-R40
I have no idea if this is the entire tutorial that was originally posted by maddinat0r (if I remember correctly) and it is also pretty hard to understand it, as it has no highlighting or whatsoever.

https://sampforum.blast.hk/showthread.php?tid=616103


Experimental alternate syntax for relations (to consider)

All ownership modifiers should be replaced with functions like type( Ctor ).

Collection.subsetOf( path ) -> subsetOf( path : string, Type = Collection )
Record.from( path ) -> from( path : string, Type = Record )
Type.shared -> shared( Type )

We're keeping the Collection.Refs type so far.
These modifiers could be used in place of type(), and could potentially lead to better code in TypeScript.
@type( Collection.subsetOf( '~users' ) ).as users : Collection<User>
@subsetOf( '~users' ).as users : Collection<User>

@type( User.from( '~users' ) ).as user : User
@from( '~users' ).as user : User

@type( User.shared ).as user : User
@shared( User ).as user : User

In regular JS, it will lead to cleaner annotations as well
@define class X extends Record {
    static attributes = {
         s : subsetOf( '~users' ),
         r : from( '~users' ),
         sh : shared( User )
    }
}

It will lead to cleaner ownership semantic (type means aggregation). It could allow taking attribute metatype and change its ownership scheme. Also, it could allow for splitting relations to the separate assembly.
It should be implemented as primary mechanics at stage 1 with backward compatibility fallbacks.

This stuff is really amazing. Need to think for an alternative name for from, though. recordFrom? takeFrom?

takenFrom( '~users' )


Proof of concept of DocSearch

This is a PoC of using Algolia's DocSearch instead of InstantSearch.
The configuration is at https://github.com/algolia/docsearch-configs/blob/master/configs/cert-manager.json
To test

[ ] versioning
[ ] something else?

Version based indexing added in https://github.com/algolia/docsearch-configs/pull/1744
TODO: someway to handle automated version adding

This does look a lot simpler 😄
That said, it appears to have rendered incorrectly for me on the deploy preview:

Any ideas? I did try refreshing to see if it was a stale cache but it didn't seem to help!

Also seems like there may be a few dupes in there too 🙈

@munnerz test it on https://deploy-preview-132--cert-manager.netlify.com/docs/ i messed up putting the CSS in the correct place, there might be dupes because I pushed versioning but haven't updated the JS yet

Nice! Yes, way better 😄

Index for 0.13 added in https://github.com/algolia/docsearch-configs/pull/1788

/assign @munnerz

Do we want to index next-docs too? We don't actually currently index this today as it doesn't match the regex in the scripts/index file. Could be done later, and from what I understand only requires a change over in the algolia repo and not here

Also, when searching here: https://deploy-preview-132--cert-manager.netlify.com/v0.12-docs/ I expected to see some results (as only v0.13 is being added here, v0.12 already existed: https://github.com/algolia/docsearch-configs/pull/1788/files)
Is that expected?

@munnerz facetFilters: ["version:view-132--cert-manager.netlify.com/v0.12-docs"]"}]}
seems to have made a bug with the deploy preview, taking a look

Fixed this by using the path specified by the browser.

/lgtm


Update User Guide

Changes
Update user guide so that it aligns with v1.2
Related issues
#53

Codecov Report

Merging #78 (816424f) into docs (bacf0c9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               docs      #78   +/-   ##
=========================================
  Coverage     64.00%   64.00%
  Complexity      340      340
=========================================
  Files            72       72
  Lines          1253     1253
  Branches        127      127
=========================================
  Hits            802      802
  Misses          389      389
  Partials         62       62

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Ability to change mapping filename

if using non standardized mapping file naming
//this will work
 $indexBuilder->migrate($this->elasticallyClient->getIndex($indexName), [], ['filename' => 'content_mapping.yaml']);

//this works
$index = $indexBuilder->createIndex($indexName, ['filename' => 'content_mapping.yaml']);

Thanks a lot - that was a bug indeed.
In the next major version I intend to remove this context (https://github.com/jolicode/elastically/issues/115) because it's a source of confusion and error - mapping providers are going to be more robust that way.
I will release this patch very soon. Thanks!

@damienalexandre Ok, so think about solution, how to use same mapping file for more indexes. I have indexes with prefix content- + langName (e.g. cs, de, sk...) so I do not want to make copies of content_mapping.yaml file with the same config. Or think about extending from base mapping file and use something like
content_cs_mapping.yaml:

imports:
  - { resource: ' content_mapping.yaml' }

content_de_mapping.yaml:

imports:
  - { resource: ' content_mapping.yaml' }

Yes, thanks for the suggestion :+1:
We will do our best to include this in the YamlMappingProvider, and if not possible, you always have the possibility of building your own mapping provider with the https://github.com/jolicode/elastically/blob/master/src/Mapping/MappingProviderInterface.php.


Add dumbell MM and MIM network

Added dumbell MM and MIM network topologies.
#121

This change is

@TSarkar99 could you put the related issue to the PR description?
https://github.com/sfc-aqua/quisp/issues/121

@TSarkar99 could you put the related issue to the PR description?
#121

Sure, I will do that.

thanks for contributing!

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @TSarkar99)

quisp/networks/topology_dumbell_network.ned, line 29 at r1 (raw file):

        **.Speed_of_light_in_fiber =<PHONE_NUMBER>01 km;
    submodules:
        EndNode1[1]: QNode {

do we need to use vector type?
https://doc.omnetpp.org/omnetpp/manual/#sec:ned-ref:submodules
IMO, it's ok to write like this
EndNode1: QNode {

hey, you don't need to close the PR!

thanks for contributing!
Pleasures :)

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @TSarkar99)

quisp/networks/topology_dumbell_network.ned, line 29 at r1 (raw file):

        **.Speed_of_light_in_fiber =<PHONE_NUMBER>01 km;
    submodules:
        EndNode1[1]: QNode {

do we need to use vector type?
https://doc.omnetpp.org/omnetpp/manual/#sec:ned-ref:submodules
IMO, it's ok to write like this
EndNode1: QNode {

Yes, it works writing like what you have suggested. Should I change my code to what you suggested then?

hey, you don't need to close the PR!

Sorry, my bad

No problem!

Reviewable status: 0 of 2 files reviewed, 2 unresolved discussions (waiting on @TSarkar99)

quisp/networks/topology_dumbell_network.ned, line 29 at r1 (raw file):
Previously, TSarkar99 (Tanmay Sarkar) wrote…

Yes, it works writing like what you have suggested. Should I change my code to what you suggested then?

If there's no reason to write your way, you should write an easier way.
Finally, it helps us to change it when we want to change this network or configuration in the future.

Okay. I have made the changes.

Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @TSarkar99)

quisp/networks/topology_dumbell_network.ned, line 29 at r1 (raw file):
Previously, TSarkar99 (Tanmay Sarkar) wrote…
good! now it's totally clean!
quisp/networks/topology_dumbell_network.ned, line 59 at r2 (raw file):

            @display("i=device/pc;p=421,61");
        }
        repeater1: QNode {

EndNode is PascalCase, but here repeater starts with lower case.
how about Repeater1 for consistency and readability?

Done.


Separate breadcrumb nav from page content

Please move the breadcrumb out of the first section and make it separate from the page content (see below)-

Resolved from push on 10/3


On the Server side - Cannot GET /

First of all, it is a great application! Thank you.
On the client side, everything works fine. I can start the server on localhost:8080 and I see all the conversation of the diverse localhost:4200s in the server terminal. But in the browser localhost:8080 (server) it is written Error: "Cannot GET /". What could be the issue? How can I fix this error?
I have downloaded your files from GitHub and the terminal (server) looks fine (see screenshot).
Many thanks for your help!
Karin

Meanwhile, I have found the bug. If you like to use angular 6 then you will need to add
(window as any).global = window; to polyfills.ts
https://github.com/socketio/socket.io-client/issues/1206

I just updated the client and server project with the latest versions available. Please let me know if you still have this issue.


MINOR: [CI] Use GITHUB_PATH instead of GITHUB_ACTIONS to detect environment

Rationale for this change
In #35753 we started passing  GITHUB_ACTIONS into the docker containers for better log printing. The sccache script used this var to detect if it was run in gha to add sccache to the path. This now causes false positives.
What changes are included in this PR?
Use GITHUB_PATH directly instead.
Are these changes tested?
Will trigger crossbow jobs

@github-actions crossbow submit conan*

@github-actions crossbow submit conan*


[RHOAIENG-10312] Connection type table view

Closes RHOAIENG-10312
Description
Adds the initial version of the Connection Types view.
How Has This Been Tested?
Login as a product admin, set the devFeaturesFlag on and then uncheck disableConnectionTypes, navigate to Settings -> Connection types
Test Impact
Added cypress e2e tests
Screenshots

Request review criteria:
Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change.

/cc @simrandhaliw

Everything is looking good to me /lgtm

/lgtm

/approve

/lgtm
/approve


Add edit support for qrc files

Add edit support for .qrc files via designer or creator

see PR#8


standardise docs with ganim

decapitalise things and add contributing section for copyright waiver (for more explicit unlicense compliance)

also: surplus.handle_query() chapter of readme - in function signature, Literal should be typing.Literal


Get elm source directories from elm-package.json

This should solve issue #72 without an additional option --watch.

Hello, @architectcodes . Nice to hear from you. There are just two reasons to not responding to a PR. A different bigger project or the family. So everything is fine.
I have closed the PR just to remove it from my open PRs list.

I am going to go ahead and close this. I think someone else is planning on adding this feature based on the new 0.19 update


[BUG]  Stuck when adding custom node to RKE2 cluster, using Rancher - "[ERROR]  000 received while downloading Rancher connection information"

Rancher Server Setup

Rancher version: rancher/rancher:v2.7.1
Installation option (Docker install/Helm Chart): Using docker compose

version: '3'
services:
  ranchers:
    image: rancher/rancher:v2.7.1
    privileged: true
    volumes:
      - /opt/rancher:/var/lib/rancher
    restart: always
    ports:
      - "80:80"
      - "443:443"

Proxy/Cert Details: No proxy, using Rancher build-in cert

Describe the bug

To Reproduce

Start Rancher from docker rancher/rancher:v2.7.1, using docker-compose YAML shown below

version: '3'
services:
  ranchers:
    image: rancher/rancher:v2.7.1
    privileged: true
    volumes:
      - /opt/rancher:/var/lib/rancher
    restart: always
    ports:
      - "80:80"
      - "443:443"

Add RKE2 cluster custom node by ssh into the 1st node and run the command below.

curl --insecure -fL https://<IP_ADDRESS>/system-agent-install.sh | sudo  sh -s - --server https://<IP_ADDRESS> --label 'cattle.io/os=linux' --token jnssnzf2hmgghm4jkcgv7lll8nfr8c4cqrddhrln2nccmpppbrlwck --ca-checksum 773c37025bdfb097b12d4a3fe2b155988dede2220fb92729bed60ab5e5dd9880 --etcd --controlplane
- cluster created with initial 1st master node successfully

The cluster is created successfully with 1st master node.

Restart Rancher server using command below

sudo docker-compose down

Once Rancher is working again, then add the 2nd node (worker node) to RKE2 cluster by ssh into the 2nd node and run the command below

curl --insecure -fL https://<IP_ADDRESS>/system-agent-install.sh | sudo  sh -s - --server https://<IP_ADDRESS> --label 'cattle.io/os=linux' --token jnssnzf2hmgghm4jkcgv7lll8nfr8c4cqrddhrln2nccmpppbrlwck --ca-checksum 773c37025bdfb097b12d4a3fe2b155988dede2220fb92729bed60ab5e5dd9880 --worker

This time we will stuck with the error below.
[INFO]  Label: cattle.io/os=linux
[INFO]  Role requested: worker
[INFO]  Using default agent configuration directory /etc/rancher/agent
[INFO]  Using default agent var directory /var/lib/rancher/agent
[INFO]  Determined CA is necessary to connect to Rancher
[INFO]  Successfully downloaded CA certificate
[INFO]  Value from https://<IP_ADDRESS>/cacerts is an x509 certificate
[INFO]  Successfully tested Rancher connection
[INFO]  Downloading rancher-system-agent binary from https://<IP_ADDRESS>/assets/rancher-system-agent-amd64
[INFO]  Successfully downloaded the rancher-system-agent binary.
[INFO]  Downloading rancher-system-agent-uninstall.sh script from https://<IP_ADDRESS>/assets/system-agent-uninstall.sh
[INFO]  Successfully downloaded the rancher-system-agent-uninstall.sh script.
[INFO]  Generating Cattle ID
curl: (28) Operation timed out after 60001 milliseconds with 0 bytes received
[ERROR]  000 received while downloading Rancher connection information. Sleeping for 5 seconds and trying again
curl: (28) Operation timed out after 60001 milliseconds with 0 bytes received
[ERROR]  000 received while downloading Rancher connection information. Sleeping for 5 seconds and trying again
**Result**

I tweeked the system-agen-install.sh a bit to pinpoint the error in the code.
ubuntu@ip-10-0-1-44:~$ cat script.sh | sudo  sh -s - --server https://<IP_ADDRESS> --label 'cattle.io/os=linux' --token jnssnzf2hmgghm4jkcgv7lll8nfr8c4cqrddhrln2nccmpppbrlwck --ca-checksum 773c37025bdfb097b12d4a3fe2b155988dede2220fb92729bed60ab5e5dd9880 --worker
[INFO]  Label: cattle.io/os=linux
[INFO]  Role requested: worker
[INFO]  Using default agent configuration directory /etc/rancher/agent
[INFO]  Using default agent var directory /var/lib/rancher/agent
[INFO]  Determined CA is necessary to connect to Rancher
[INFO]  Successfully downloaded CA certificate
[INFO]  Value from https://<IP_ADDRESS>/cacerts is an x509 certificate
[INFO]  Successfully tested Rancher connection
[INFO]  Downloading rancher-system-agent binary from https://<IP_ADDRESS>/assets/rancher-system-agent-amd64
[INFO]  Successfully downloaded the rancher-system-agent binary.
[INFO]  Downloading rancher-system-agent-uninstall.sh script from https://<IP_ADDRESS>/assets/system-agent-uninstall.sh
[INFO]  Successfully downloaded the rancher-system-agent-uninstall.sh script.
[INFO]  Generating Cattle ID
[INFO]  Cattle ID was already detected as a4ee46dae4ed6d54f11e2f138d46a772baf1750b27941acc1e1a3caf27a43d7. Not generating a new one.
+ curl --connect-timeout 60 --max-time 60 --write-out %{http_code}\n --cacert /tmp/tmp.ZZtCuFALSO -sS -H Authorization: Bearer jnssnzf2hmgghm4jkcgv7lll8nfr8c4cqrddhrln2nccmpppbrlwck -H X-Cattle-Id: a4ee46dae4ed6d54f11e2f138d46a772baf1750b27941acc1e1a3caf27a43d7 -H X-Cattle-Role-Etcd: false -H X-Cattle-Role-Control-Plane: false -H X-Cattle-Role-Worker: true -H X-Cattle-Node-Name:  -H X-Cattle-Address:  -H X-Cattle-Internal-Address:  -H X-Cattle-Labels: cattle.io/os=linux -H X-Cattle-Taints:  https://<IP_ADDRESS>/v3/connect/agent -o /var/lib/rancher/agent/rancher2_connection_info.json -v
*   Trying <IP_ADDRESS>:443...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /tmp/tmp.ZZtCuFALSO
*  CApath: /etc/ssl/certs
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS header, Certificate Status (22):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.2 (IN), TLS header, Finished (20):
{ [5 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [21 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [1009 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [79 bytes data]
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
* TLSv1.2 (OUT), TLS header, Finished (20):
} [5 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: O=dynamic; CN=dynamic
*  start date: Feb 23 22:45:32 2023 GMT
*  expire date: Feb 23 23:01:46 2024 GMT
*  subjectAltName: host "<IP_ADDRESS>" matched cert's IP address!
*  issuer: O=dynamiclistener-org; CN=dynamiclistener-ca@1677192332
*  SSL certificate verify ok.
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
> GET /v3/connect/agent HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.81.0
> Accept: */*
> Authorization: Bearer jnssnzf2hmgghm4jkcgv7lll8nfr8c4cqrddhrln2nccmpppbrlwck
> X-Cattle-Id: a4ee46dae4ed6d54f11e2f138d46a772baf1750b27941acc1e1a3caf27a43d7
> X-Cattle-Role-Etcd: false
> X-Cattle-Role-Control-Plane: false
> X-Cattle-Role-Worker: true
> X-Cattle-Labels: cattle.io/os=linux
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [130 bytes data]
* Operation timed out after 60001 milliseconds with 0 bytes received
* Closing connection 0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
} [5 bytes data]
* TLSv1.3 (OUT), TLS alert, close notify (256):
} [2 bytes data]
**curl: (28) Operation timed out after 60001 milliseconds with 0 bytes received
+ RESPONSE=000**

Expected Result
We should be able to add the new nodes to RKE2 cluster after restarting the Rancher manager.
Screenshots

Additional context

I tested this on AWS EC2 instances, Ubuntu 22.04
Also tested this onGCP, Ubuntu 22.04 and got the same result
There will be no issue if we don't restart the Rancher manager, I tried many time to prove this.

Rancher has not supported any form of docker-compose installation. Could you confirm if this problem exists in the single docker installation?

If running in docker standalone, then I have:
  -v .../rancher/rancher:/var/lib/rancher \
  -v .../rancher/ca-certificates:/var/lib/ca-certificates \
 So you are not persisting the auto.created self-signed certs, resulting in your error.
Add a volume mount for /var/lib/ca-certificates as well and it should work.

Thanks, will try and confirm the result!!!

I cleaned up everything and started from zero and mounted the volume as shown below.
      - /opt/rancher:/var/lib/rancher
      - ${HOMEDIR}/certs/rancher:/var/lib/ca-certificates

But still getting the same issue.
ubuntu@ip-10-0-1-130:~$ curl --insecure -fL https://<IP_ADDRESS>/system-agent-install.sh | sudo  sh -s - --server https://<IP_ADDRESS> --label 'cattle.io/os=linux' --token 9cgtjbwk2844z66rnshwlbb45g2bgm8phljwp6bx2pth8c2bb5v5rd --ca-checksum e40335dccbc8f75eeffcde5232e92bb681b12925e796bf5cc3393a6ef776d214 --worker
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 29782    0 29782    0     0  3967k      0 --:--:-- --:--:-- --:--:-- 4154k
[INFO]  Label: cattle.io/os=linux
[INFO]  Role requested: worker
[INFO]  Using default agent configuration directory /etc/rancher/agent
[INFO]  Using default agent var directory /var/lib/rancher/agent
[ERROR]  Error while connecting to Rancher to verify CA necessity. Sleeping for 5 seconds and trying again.
[INFO]  Determined CA is necessary to connect to Rancher
[INFO]  Successfully downloaded CA certificate
[INFO]  Value from https://<IP_ADDRESS>/cacerts is an x509 certificate
[INFO]  Successfully tested Rancher connection
[INFO]  Downloading rancher-system-agent binary from https://<IP_ADDRESS>/assets/rancher-system-agent-amd64
[INFO]  Successfully downloaded the rancher-system-agent binary.
[INFO]  Downloading rancher-system-agent-uninstall.sh script from https://<IP_ADDRESS>/assets/system-agent-uninstall.sh
[INFO]  Successfully downloaded the rancher-system-agent-uninstall.sh script.
[INFO]  Generating Cattle ID
curl: (28) Operation timed out after 60001 milliseconds with 0 bytes received
[ERROR]  000 received while downloading Rancher connection information. Sleeping for 5 seconds and trying again
curl: (28) Operation timed out after 60001 milliseconds with 0 bytes received
[ERROR]  000 received while downloading Rancher connection information. Sleeping for 5 seconds and trying again
curl: (28) Operation timed out after 60001 milliseconds with 0 bytes received
[ERROR]  000 received while downloading Rancher connection information. Sleeping for 5 seconds and trying again

I also checked the certs mounted volume to make sure that Rancher persists the certificate in the volume I mounted.
/home/ubuntu/certs/rancher
ubuntu@ip-10-0-0-92:~/certs/rancher$ ls -lrt
total 416
-rw------- 1 root root   1704 Feb 23 13:55 key.pem
-rw-r--r-- 1 root root   1257 Feb 23 13:55 cert.pem
-r--r--r-- 1 root root 155008 Feb 25 06:35 java-cacerts
dr-xr-xr-x 2 root root  24576 Feb 25 06:35 openssl
dr-xr-xr-x 2 root root  20480 Feb 25 06:35 pem
-r--r--r-- 1 root root 209056 Feb 25 06:35 ca-bundle.pem

It seems to be weird, after I restarted the Rancher manager again (use the same data that already persisted) and tried adding new node, this time there is no issue.

We also see this error on Rancher 2.7.9 after removing controller/etcd nodes, cleaning them, then joining them to the Rancher cluster with the registration command.


RDF Dataset Normalization

Hi!
Is it possible to normalize json with this gem?
Thank you!

Normalization is supported in the rdf-normalize gem.


[newrelic-pixie] Include helm .Release.Revision in job fullname

Is this a new chart

No

What this PR does / why we need it:

This helm chart does not allow clean updates, by not having a unique job name, any helm updates on the chart such as to change excluded namespaces or any other chart setting, results in a failure due to editing an immutable field that helm cant update. Requiring the deletion of the job before any deployment of this chart. By adding the revision into the job name this failure can be avoided.

Which issue this PR fixes

fixes #1112

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])

@nserrino @philkuz @htroisi @juanjjaramillo @svetlanabrennan @nrepai @csongnr @vuqtran88 @xqi-nr

 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.

CLA signed.


Support write cache attribute values for peer Sleepy Devices

Problem
https://github.com/project-chip/connectedhomeip/issues/11554 will handle reading of cache attribute values. This ticket is to track the work needed for writing of the cache. The write attribute request will update the cache, and enqueue a command to be sent to the sleepy device.

Is this required for the 1.0 release or it is a later optimization?  Cache or proxy operations may be beyond initial scope (but would be nice to have)

Isn’t this the same as:
https://github.com/project-chip/connectedhomeip/issues/11555
?


Publish-PnP doesn't add PnPApp onto site under -Scope Site

Reporting an Issue or Missing Feature
Publishing an app onto the site app catalog doesn't make it available to the end user.
Getting a "Get It" button after using Publish-PnPApp -Identity  -Scope Site on a site collection appcatalog. Publish-PnPApp (default is -Scope tenant) works without problems.
Expected behavior
Publish-PnPApp -Scope Site should add the app onto the site automatically and user should not have to click "Get It".

Actual behavior
When using Publish-PnPApp on a site collection appcatalog, the following happens:

I notice that this is an issue when this script is run using AzureDevOps as part of the release process.
Am I supposed to use a different cmdlet in order to ensure that the site has newest version of the app?
Steps to reproduce behavior
Create a new teamsite.
Add site collection appcatalog:
Connect-SPOService
Add-SPOSiteCollectionAppCatalog -Site
Create default spfx webpart:
yo @microsoft/sharepoint
Build and package:
gulp bundle --ship
gulp package-solution --ship
Connect to site:
Connect-PnpOnline
Upload, publish and install:
$appInTenant = Add-PnPApp -Path $Path -Overwrite -Scope tenant -Publish -Verbose
$appInSite = Add-PnPApp -Path .\sharepoint\solution\test-app.sppkg  -Scope Site -Overwrite
Publish-PnPApp -Identity $appInSite.Id -Scope Site
Install-PnPApp -Identity $appInSite.Id -Scope Site

Which version of the PnP-PowerShell Cmdlets are you using?

[ ] PnP PowerShell for SharePoint 2013
[ ] PnP PowerShell for SharePoint 2016
[X] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?
3.4.1812.2
How did you install the PnP-PowerShell Cmdlets?

[ ] MSI Installed downloaded from GitHub
[X] Installed through the PowerShell Gallery with Install-Module
[ ]   Other means

Highly appreciate your help! @pauldalyii @VesaJuvonen  @KoenZomers @RobinDijkstra @BorisLand

Thanks @RobinDijkstra . I have been using UpdatePnP-App command let. Tried it once again to confirm the above behavior. I still find the 'Get It' displayed in the catalog.

@officedocsbot assign @yogkumgit

Hello @samyaktelsang how are you?
I took the time to test this in my lab and could not reproduce. Also, as this is specifically for documentation issues, no further PRs on documentation needs to be done. @yogkumgit

@get-itips  Thank you very much for the contribution and sharing this explanation. @samyaktelsang
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


fix(inline) proper local scoping for foreach and inlining code cleanup

Issue #639
Properly handle scoping for foreach in inlining pass.
Changes

Clean up of inlining with clearer partial application
Call scoping function for foreach x in e in generic expression mapper
Chain scope properly through left-fold with context in foreach
Upgrade lodash dependencies

Coverage remained the same at 99.584% when pulling c3449e6c3205e793fdc1d94f92060afbca65dbb9 on jeromesimeon:js-fix-639-inlining into 6e755cd9a246f179c056806a1f961534b0e24503 on accordproject:master.


syz-manager: unwanted syscalls are getting enabled

Since recently the enable_syscalls parameter in the manager config is somehow getting ignored.
Steps to reproduce:

Add some syscalls to enable_syscalls in the manager config.
Run manager for a few minutes.
Observe unwanted syscalls in http://manager_addr/syscalls.

I tried to do some bisection and it looks like 1e9788a0d9bd8fca36978810fd3fc50b6c4f060b is the guilty commit.
@VeronicaRadu

Fixed by e38a6630eb6b89a4b3c344dc62ecb3b60f078028


no space left on /dev/sdb in play with k8s

Hi,
I'm learning k8s and I came across play with k8s. I tried to initiate k8s and I got the error in the attached image. As checked, there's no space left on the /dev/sdb mount. Below are the filesystem details of play with k8s.

I get the same problem

Ciao,
I’m experiencing the same problem! see: https://github.com/play-with-docker/play-with-kubernetes.github.io/issues/78

Same here


[Feature request] Set proxy authentication

Please add the feature to set the authentication credentials for a set proxy to the API.

+1 for this.. We really need this functionality. Thanks!

Proxy authentication would be awesome!

+1

+1

+1

+1

+1

Any chance to reply/implement this ?

@faisalbasra sorry currently we are busy with our other products but feel free to contribute with a PR.

+1

+1

+1

+1

+1

+1

Partial solution provided in https://stackoverflow.com/questions/40864167/how-to-set-credentials-for-unirest-proxy
I think we can add something like that inside class HttpHost

@xlavecat thanks, this solutions works fine =)
But anyway, it would be cool if there was a solution out of box

Hello, this should be resolved or addressed in Unirest 2. Please see the upgrade guide for important changes.


Implement an option to skip VR verification

This is my attempt at an implementation of variadic options for the write package, along with an option to skip VR verification at write time. I have also added a simple test for verification skipping.

I made the change in the form of a new commit, since I'm still pretty new at working with pull requests on GitHub.

@kristianvalind sounds great, that's definitely the right way to do it--adding a new commit to your branch automatically updates this PR, and when I merge it, it'll show up on master as only one unified commit anyway (since I do squash and merge, since it's a bit cleaner imo).


[BUG] successfully install from source but No module named "mlx.core"

Describe the bug
mlx was build from source and installed successfully, but python said "No module named 'mlx.core'" and cannot generate stubs
Python 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlx.core as mlx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'mlx.core'

To Reproduce

git clone git@github.com:ml-explore/mlx.git mlx && cd mlx
brew install pybind11
env CMAKE_BUILD_PARALLEL_LEVEL="" pip install ".[dev]"
python setup.py generate_stubs and ModuleNotFoundError happened in this step

 install log
…/mlx on  main via △ v3.28.1 via 🐍 v3.11.7

➜  env CMAKE_BUILD_PARALLEL_LEVEL="" pip install ".[dev]"
Processing /Users/user/Downloads/mlx
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pre-commit in /opt/homebrew/lib/python3.11/site-packages (from mlx==0.0.9.dev2024114+6e81c3e) (3.6.0)
Collecting pybind11-stubgen (from mlx==0.0.9.dev2024114+6e81c3e)
  Using cached pybind11_stubgen-2.4.2-py3-none-any.whl.metadata (1.7 kB)
Requirement already satisfied: cfgv>=2.0.0 in /opt/homebrew/lib/python3.11/site-packages (from pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (3.4.0)
Requirement already satisfied: identify>=1.0.0 in /opt/homebrew/lib/python3.11/site-packages (from pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (2.5.33)
Requirement already satisfied: nodeenv>=0.11.1 in /opt/homebrew/lib/python3.11/site-packages (from pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (1.8.0)
Requirement already satisfied: pyyaml>=5.1 in /opt/homebrew/lib/python3.11/site-packages (from pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (6.0.1)
Requirement already satisfied: virtualenv>=20.10.0 in /opt/homebrew/lib/python3.11/site-packages (from pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (20.25.0)
Requirement already satisfied: setuptools in /opt/homebrew/lib/python3.11/site-packages (from nodeenv>=0.11.1->pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (69.0.2)
Requirement already satisfied: distlib<1,>=0.3.7 in /opt/homebrew/lib/python3.11/site-packages (from virtualenv>=20.10.0->pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (0.3.8)
Requirement already satisfied: filelock<4,>=3.12.2 in /opt/homebrew/lib/python3.11/site-packages (from virtualenv>=20.10.0->pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (3.13.1)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /opt/homebrew/lib/python3.11/site-packages (from virtualenv>=20.10.0->pre-commit->mlx==0.0.9.dev2024114+6e81c3e) (4.1.0)
Using cached pybind11_stubgen-2.4.2-py3-none-any.whl (29 kB)
Building wheels for collected packages: mlx
  Building wheel for mlx (pyproject.toml) ... done
  Created wheel for mlx: filename=mlx-0.0.9.dev2024114+6e81c3e-cp311-cp311-macosx_14_0_arm64.whl size=11431839 sha256=18b83025e73176856c0f1c2c14766a91e4e3fcecc8acc3f84aad51bd692e4683
  Stored in directory: /private/var/folders/tw/7b3zd1w561z2m25dn0pz776h0000gn/T/pip-ephem-wheel-cache-cpt9tdq_/wheels/62/71/3d/0603f5068744a7bae1e68d1d256899ae698ad800182b546649
Successfully built mlx
Installing collected packages: pybind11-stubgen, mlx
Successfully installed mlx-0.0.9.dev2024114+6e81c3e pybind11-stubgen-2.4.2

Expected behavior
could import without error
Desktop (please complete the following information):

Apple M1 Max
OS Version: MacOS 14.2.1
Python Version: 3.11
Xcode Version: 15.2

Could you check pip --version and make sure it matches python -m pip --version? It's possible your pip is installing somewhere else in which case you can try:
env CMAKE_BUILD_PARALLEL_LEVEL="" python -m pip install -e .

it matched.
➜  pip --version
pip 23.3.2 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)

~
➜  python3 -m pip --version
pip 23.3.2 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)

and here is mlx package directory
➜  ls /opt/homebrew/lib/python3.11/site-packages/mlx/
 __pycache__                  extension.py   nn              utils.py
 _reprlib_fix.py              include        optimizers.py
 core.cpython-312-darwin.so   lib           share

there's no file or directory name core. is that normal?

The code file is there core.cpython-312-darwin.so. From inside that directory you should be able to import core.
It seems like that path isn't getting added to your python path (/opt/homebrew/lib/python3.11/site-packages/mlx/). Maybe try making a conda environment and using it to install ....

from inside mlx directory, it still cannot import core
…/homebrew/lib/python3.11/site-packages/mlx on stable via 🐍 v3.11.7
➜  python3
Python 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import core
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'core'
>>>

I don't know how that happened.. but I would recommend you start from a fresh conda environment and rebuild.

I don't know how that happened.. but I would recommend you start from a fresh conda environment and rebuild.

It indeed strange. every message from installing log point that the version of python which using is python3.11.
Anyway, I used poetry building a new virtual environment and specified python version to python3.11.  In this fresh environment, I build it again. But it got the same problem.
Then I build another new environment and specified python version to python3.12. it works!
I completely have no idea how this happened. python3.12 was install automatically by brew just because some brew package depends on it. The daily used python version is python3.11.
now I got a new problem when I run python setup.py generate_stubs
…/mlx on  main [!] is 📦 v0.1.0 via △ v3.28.1 via 🐍 v3.12.1 (mlx-py3.12) 💫 11s118ms
➜  python setup.py generate_stubs
running generate_stubs
pybind11_stubgen - [  ERROR] In mlx.core.DeviceType.__eq__ : Invalid expression 'mlx::core::Device'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.__init__ : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.add : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.divide : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.maximum : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.minimum : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.multiply : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core._ArrayAt.subtract : Invalid expression 'mlx::core::array'
pybind11_stubgen - [  ERROR] In mlx.core.grad : Can't find/import 'cpp_function'
pybind11_stubgen - [  ERROR] In mlx.core.value_and_grad : Can't find/import 'cpp_function'
pybind11_stubgen - [  ERROR] In mlx.core.vmap : Can't find/import 'cpp_function'
pybind11_stubgen - [WARNING] Raw C++ types/values were found in signatures extracted from docstrings.
Please check the corresponding sections of pybind11 documentation to avoid common mistakes in binding code:

any idea to fix this?

That's just a minor bug with our stub generation, you can safely ignore it for now. I pushed a fix in #455 .


Configuration settings file

Would be really handy to have a configuration file that contains settings. currently i have a git changelog alias setup to call the changelog generator however this gets really messy when you have different repositories setup with different issue labels or you want your change log formatted differently between projects. I think a global configuration file with sections for each repository would be a great way to separate all of that and still be able to use the git changelog alias.
As an example
[global]
# All global settings for every repository
# If empty defaults used or overridden in the repository sections

date-format = "%Y-%m-%d"

[RepositoryName]
enhancement-labels = "Feature, feature"
bug-labels = "Bug Critical, Bug minor, Bug Severe"

Hi @Morketh, thanks for writing this feature idea down.
Would this still be useful to you if it were reduced to "a shared global defaults configuration file"? E.g  ~/.github_changelog_generator.rc? The simplification I'm after is dropping the "sections", and only keep the global defaults in there.
Ttogether with the project-specific  .github_changelog_generator file configuration that already exists, would it cover your use-case?
A question: Did you know that we ship with a Git alias, which reads file config: bin/git-generate-changelog. If you invoke git generate-changelog, it starts normally.

I think that would be the best way to do it as some defaults would be set for the entire system and the rest can be overridden per project file.
I didn't actually know about the alias i couldn't really find much documentation here on the wiki or through the --help flag in the way of configuration files just all of the different command-line options. once i figure out all the project specifics i think a global file should do the trick.

There, now I renamed the issue, to update its goal. Thanks for clarifying the feature request.

Glad i could help provide a few ideas, and look forward to seeing this in production


[Task]: Showing progress bar with progress percentage

Can we provide a commit progress bar with percentage progress? If we do that, we can also do rid of the client timeout. At the moment, it's quite challenging for a user to figure out what's going on in the background, and for complex apps, the commit api times out on the client.

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
No response

Not possible with Git commit


AWM EVM integration docs from Coreth

Doc import from Coreth
Coreth PR
Why this should be merged
brings avalanche warp precompile to the docs
How this works
https://github.com/ava-labs/avalanche-docs/blob/master/editing-guides/remote-github-content-guide.md

/gt docs/build/cross-chain/README.md i18n/es/docusaurus-plugin-content-docs/current/build/cross-chain/README.md spanish


There is no documentation on Linux local creation of Service Fabric cluster

There is no documentation on Linux local creation of Service Fabric cluster

Are you referring to standalone Linux cluster? If so that is currently not available. You can create dev cluster - https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-get-started-linux

@raunakpandya can you clarify what currently not available means?  Does that mean that's it's undocumented but will work if you can figure out the right configuration?  Or do you mean that nobody has been able to run a standalone linux cluster, that's seems unlikely to me.

@garrmark - What I meant was we currently don't support Linux Standalone SF cluster. However this is there in our roadmap.


Uploaded Avatar breaks after changing default file storage location

you have a c5 installed & a couple avatar uploaded onto default file storage.
you installed new file storage such as s3 storage add-on.
you've changed the default storage location to new one.
all of your uploaded avatar images links breaks. (The old ones still exists, but it will try to load from new default file storage)

Bug found by @deek87 & @hissy (I'm just reporting)

What would you propose we could do to fix this? Other than putting a warning on the default storage location saying that if you change it you need to copy your existing files over?

I'd say that avatars should just load from where they were uploaded to originally. If someone changes the default afterwards then old ones should load from their original storage location and it's up to the site owner to handle migrating them.

Add a new column to track the storage location, uAvatarLocation (int). On upload just update uAvatarLocation when we update uHasAvatar


[BUG] Roblox crashing when launching a game

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
hey, i need help, what can i do if my roblox crashes almost everytime when i enter a game?
no, the crash is not because of the fflags, i disabled the fflags and still crashes
thanks

https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch

ok, nvm, it is a fflag, can someone check my fflags to know what is wrong?

Nevermind again, i started from 0 and now isnt crashing


Display notes for App CRs

Towards: https://github.com/giantswarm/giantswarm/issues/22017
Description
The displayed content is .status.release.reason.
The status of an App CR is synced over from the associated Chart CR. The reason field contains information on the outcome of the last Helm release, only for error scenarios. The other fields reflect the actual current state of the Helm release.
Related changes

https://github.com/giantswarm/chart-operator/pull/873

Example outputs
Happy path, the actual release matches the desired release, the last Helm release attempt was successful.
NAME              VERSION                                          LAST DEPLOYED   STATUS     NOTES
hello-world-app   0.3.0-7b13cb84dc6a7a5aa955d01710e306879d99ef02   13m             deployed

We update the App CR version to let's say 0.3.0-b7314a5111b7223ad46653e7c848afe47e3e15fa with contains errors that causes the Helm release for it to fail with an error message. This will persist the reason of the failure on the Chart CR that will be synced over to the App CR by app-operator.  In this case kubectl-gs will now display details on the last failure:

the version that the Helm release failed for
the error categorisation as determined by chart-operator
the error message returned by the Helm release

NAME              VERSION                                          LAST DEPLOYED   STATUS     NOTES
hello-world-app   0.3.0-7b13cb84dc6a7a5aa955d01710e306879d99ef02   12m             deployed   Deployment failed for `0.3.0-b7314a5111b7223ad46653e7c848afe47e3e15fa` with `unknown-error`: `unable to recognize "": no matches for kind "Deployment" in version "dummies/v1"`

IMPORTANT: Please note the VERSION, LAST DEPLOYED and STATUS columns always contain the actual status of the Helm release. Since the  Helm release for version 0.3.0-7b13cb84dc6a7a5aa955d01710e306879d99ef02 was successful and it failed for 0.3.0-b7314a5111b7223ad46653e7c848afe47e3e15fa means that the Helm release was not updated so version 0.3.0-7b13cb84dc6a7a5aa955d01710e306879d99ef02 is still the currently deployed version by Helm. The NOTES column contains the info that 0.3.0-b7314a5111b7223ad46653e7c848afe47e3e15fa failed and with what reason.

As the creator of a pull request, please consider:

[x] Describe the goal you are trying to accomplish here, above the line.
[x] Add a user-friendly description of your change to CHANGELOG.md.
[x] Provide a link to the issue you are solving or working towards, if available.
[x] Request SIG UX for review. They care about almost all user-facing changes.
[ ] Update the public kubectl-gs documentation to reflect the changes here.
[x] add the breaking-change label to the PR if the change you are making changes the existing behaviour. Examples: removal of a flag, removal of a command, change of a default value. (Such changes should be released with a major version bump.)

Feel free to remove this checklist when done.

Thanks for the review! Let me quickly prepare the update for the kubectl-gs docs too before merging. (Then after release I want to add the from version xzy to the NOTES column in the docs).

Here is the base for the doc update: https://github.com/giantswarm/docs/pull/1445. Will update with the release version upon releasing kubectl-gs.


style sheet

Like mapbox is there any ready to use style sheet for leaflet

There is a config object to construct MVTSource that includes a style function that styles your geometries. The styling is less complex than Mapbox, and you can follow what is in the documentation to get started:
https://github.com/SpatialServer/Leaflet.MapboxVectorTile/blob/master/docs/configuration.md
There is no style.json like you find in MapboxGL, but you essentially set the styling of the stroke and fill of shapes being drawn to canvas in this style function.
This example shows some interesting styling of points:
https://github.com/SpatialServer/Leaflet.MapboxVectorTile/blob/7455e28429135f2284a5085ae16c92bad007f8f1/examples/confetti.js#L66
This example shows basic styling:
https://github.com/SpatialServer/Leaflet.MapboxVectorTile/blob/7455e28429135f2284a5085ae16c92bad007f8f1/examples/basic.js#L36


NanoSuit Helmet Night Vision

Hey,
I figured that the NanoSuit Helmet automatically removes the Night Vision Effect as soon you enter a high light level which is really annoying.
Regular Night Vision Goggles just turns the PoV dark.
Pack version <IP_ADDRESS>
https://streamable.com/7vo1sp

Да


Questionnaire Response

[Review Link Results to Questionnaire first.]
Console should currently log 3 things:

The updated questionnaire with answer options for found mCODE resources
The Lform, which was converted from the the questionnaire to be compatible with the UI widget.
The returned QuestionnaireResponse

Currently Lforms does not support the use of valueReferences. When the questionnaire is converted to an "lform", the valueReference field simply gets converted to a text field in the lform, which is interpreted as valueCoding by default when the QuestionnaireResponse is generated.
In this PR, I have a QuestionnaireResponse being successfully generated, and it includes the FHIR resource reference, however it's labelled under:
QuestionnaireResponse.item.answer.valueCoding.display
instead of:
QuestionnaireResponse.item.answer.valueReference.reference

[Review Link Results to Questionnaire first.]
Console should currently log 3 things:

The updated questionnaire with answer options for found mCODE resources
The Lform, which was converted from the the questionnaire to be compatible with the UI widget.
The returned QuestionnaireResponse

Currently Lforms does not support the use of valueReferences. When the questionnaire is converted to an "lform", the valueReference field simply gets converted to a text field in the lform, which is interpreted as valueCoding by default when the QuestionnaireResponse is generated.
In this PR, I have a QuestionnaireResponse being successfully generated, and it includes the FHIR resource reference, however it's labelled under:
QuestionnaireResponse.item.answer.valueCoding.display
instead of:
QuestionnaireResponse.item.answer.valueReference.reference

Needs a rebase since I pulled in the other PR


A PR Test.  Please do not merge

I am checking to see if the CI system will build.

Close this PR since CI is fixed already.