Missing .xcodeproj for iOS projects

Description
During upgrade the project from react-native 0.60.* to react-native c it was observer that react native does not have *.xcodeproj files anymore. That make it impossible to use the latest and greatest react native in project that uses Carthage. There is also nothing about it in docs. For example, https://reactnative.dev/docs/integration-with-existing-apps says that CocoaPods are needed, but that is not an option for existing projects that uses Carthage. Same for https://reactnative.dev/docs/upgrading.html, it does not cover this case.
As a result migration to the latest react native is blocked:

React Native version:
System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 6.23 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v12.16.1/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 26, 27, 28, 29
      Build Tools: 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.2
      System Images: android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
    Xcode: 11.3.1/11C505 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_242 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.3 => 0.63.3
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Use existing project with Carthage
Try to integrate react native to this project

Or

Use existing react native project with Carthage with RN version <= 0.60.*
Try to upgrade react native to this project

Expected Results

.xcodeproj files are part of the react native
https://github.com/facebook/react-native/pull/25583 pull request is reverted
it is still possible to use project without CocoaPods

Snack, code example, screenshot, or link to a repository:
Not needed
Additional information
According to official RN documentation linking-libraries-ios
If the library has native code, there must be an .xcodeproj file inside its folder. Drag this file to your project on Xcode (usually under the Libraries group on Xcode);

it is also clearly stated that there must be an .xcodeproj and this is how iOS development happens.

To elaborate a bit, by removing the .xcodeproj files manual linking of react-native has become AFAIK close to impossible. The only way I can think of now is by creating references from all the react-native sources in node_modules in the consuming project. This however is a cumbersome job and in addition very error prone (think of missed files, or adding sources that are only needed for testing to the actual build target).
By disabling manual linking, the only way for any project to use react-native seems to be by using CocoaPods.
IMO, this is not a solution that fits all.
There are many existing projects that rely heavily on Carthage for example, or SPM.
By forcing CocoaPods, one can only decide to either use both CocoaPods and the other dependency manager (welcome trouble, this is definitely not advisable nor maintainable) in the same project, or migrate the complete project to CocoaPods. But the latter is not even always possible, as for example some specific dependencies might not be available using CocoaPods.
I am very curious if there is another way of using the latest react-native in a project while not using CocoaPods.

I also hope to be able to provide a solution, without the help of any third-party management, to directly deal with project dependencies. I encountered a situation where cocoapods cannot be used in the project, and I need to deal with it urgently.
@sanderfrenken

Please recreate this issue in the upgrade-support repo:
https://github.com/react-native-community/upgrade-support

@rectified95 Can you please elaborate more why do you think it is upgrade issue? Because it is not: the same issue you will get in a new project.

According to official RN documentation linking-libraries-ios

Did you also read this comment? This is official documentation and it clearly says: If the library has native code, there must be an .xcodeproj file inside its folder., so that issue is still valid as long as this documentation exists.
Moreover it is an issue for native project which potentially could benefit from integrating RN into it, but you just killed that possibility by closing the issue.

https://github.com/react-native-community/upgrade-support/issues/102https://github.com/react-native-community/upgrade-support/issues/102

My impression was that you were trying to leverage patterns that used to work in a previous release and use them in a newer version of RN - that's what made me classify the issue as an upgrade problem.
Do note that there are around 800 open issues, and in order to keep it manageable, proper redirection to eg. the Proposals/Upgrade repo helps achieve that. Also, note that I suggested opening the issue in another repo, rather than saying it was going to be ignored - thanks for creating it there.
I'm reopening this issue, and tagging it for further investigation, and will let my colleagues decide which of the issues to keep around.

react-native-community/upgrade-support#102

That's only part of the problem, but do not try to looks at it only from the upgrade side (which is a pain for a lot of projects of course). Looking at React v17.0 release, there is a good statement:

It also makes it easier to embed React into apps built with other technologies.

So in web they take care about other technologies and make it possible to embed the app. Why it is different in React native?
You can also look at it from another point of view: it is not a secret that there are at least 2 dependency management on iOS: Carthage and Pods. By forcing new project to use Pods maybe is not so bad (except that there are some downsides of that solution which is not a scope of the discussion), but for existing projects it is definitely not. Just think about a case: Some company has native iOS and native Android application, you as a developer, lead, architect or a consultancy company decide that the company can benefit from React Native and want to migrate their projects to RN. Of course you can rewrite everything at once, which will require a lot of resources and time. Or you can do a POC to convince that React Native is a right tool for that and will work to cover all business needs and do the work gradually. For that you can start with integration with Existing Apps, which of course requires Install CocoaPods step and which can be easily skipped for Carthage projects, if you have .xcodeproj files. That's why if you have a big project with Carthage, you will fail with React Native. And that's why my proposal was to:

#25583 pull request is reverted

which can easily fix that problem. Or find a better solution together and make React Native compatible with other technologies, just like React does.

https://reactnative.dev/docs/integration-with-existing-apps#3-install-cocoapods
the document has the following description:

Hope to improve the document, convenient for developers to use.

Can you give me a solution or a feasible solution? Or is the solution time expected?

@suwu150 did you discover a solution? having the same problem...

@suwu150 did you discover a solution? having the same problem...

I lowered the react-native version. .

I have also the problem of missing.xcodeproj file and to use xcode and cocoapods which is impossible as I cannot run pod init

I am also very interested in a solution to use RN with a different dependency manager than Cocoapods. In my case I‘d like to cache RN instead of recompiling it all the time and something like Carthage support would definetly help in this scenario.

Are there no further developments here.  It seems crazy to omit these files from the libraries given the impact this is causing.


Provide 1-D vector interface

... to add_vector() etc

Also would be good to allow call to solution without the list of roots - then defaulting to as many as possible, starting with the first.


READY for preliminary user testers

Purpose: Let users enter their study plan into NUS Oracle so that the backend can retrieve them and export them for Team Lezzgo to use

No need for code reviews since all have been acknowledged in the other branches (development, etc)


Subdomains?

Is it possible to use this with subdomains?

Do you mean:
https://sub.domain.com/short-url1
https://sub.domain.com/short-url2
https://sub.domain.com/short-url3

If so, then yes! You need to configure netlify for your subdomain.
If you mean:
https://short-url1.domain.com
https://short-url2.domain.com
https://short-url3.domain.com

Then I'm afraid not. You'll have to configure DNS records for each one of those.
I hope that helps! Good luck!

Do you mean:
https://sub.domain.com/short-url1
https://sub.domain.com/short-url2
https://sub.domain.com/short-url3

If so, then yes! You need to configure netlify for your subdomain.
If you mean:
https://short-url1.domain.com
https://short-url2.domain.com
https://short-url3.domain.com

Then I'm afraid not. You'll have to configure DNS records for each one of those.
I hope that helps! Good luck!


Display JS console error if UAA is wrong version when initializing Singular

It would be helpful if an error was displayed in the console that the UAA server Singular is connecting to is a version older than the version Singular is compatible with.

Thanks for creating this issue.
The docs currently specify the minimum version requirement of uaa server.
However, to assist the developer and/or help when debugging singular, uaa-singular could make a call to https://docs.cloudfoundry.org/api/uaa/version/4.8.0/index.html#server-information and based on the app.version print to the browser console log if it detects that the uaa server is incompatible.
This approach would slow down the uaa-singular init time.
@sreetummidi  @jhamon  WDYT?

@sreetummidi Jen and I think this would be fairly simple to implement. We have a story to create a compatibility matrix in the README, but we think it would be a better user experience to also detect misconfiguration and print a helpful message for the developer. If you think that's worthwhile, please create another story for that change.


Grant CamperChan write permissions to some repos

CamperChan isn't able to close PRs in some repos:

https://github.com/freeCodeCamp/boilerplate-demographic-data-analyzer
https://github.com/freeCodeCamp/boilerplate-medical-data-visualizer

While you're at this, please help give her write permissions to the following repos as well (they aren't accepting contributions yet, but just in case):

https://github.com/freeCodeCamp/contribute
https://github.com/freeCodeCamp/ui

@raisedadead would we be able to grant camperbot maintainer permissions across all repos? Or do I need to continue adding the @freeCodeCamp-bot team to repos?

That is a account, and not a team? There is an @freeCodeCamp/bots team which we could add to all repos.

The correct solution is to make CamperChan use GitHub Application Credentials, which can then be installed on all repos. Using PAT with the bot accounts is not a good idea IMHO.

That is a account, and not a team? There is an @freeCodeCamp/bots team which we could add to all repos.

Whoops yes that's the one I meant to tag

The correct solution is to make CamperChan use GitHub Application Credentials, which can then be installed on all repos. Using PAT with the bot accounts is not a good idea IMHO.

Will look in to this

Closed as completed - she now uses an app and is authed to all repos.


ifdef'ing out contents of driver source/header files when not used.

This change wraps driver header/source files in the appropriate
constants to effectively make them empty if that driver is not
used in this build.
The ESP-IDF build system is smart enough to conditionally build
source files depending on project settings (see CMakeLists.txt
in drivers folders). PlatformIO is not, and always builds every
file. This change effectively makes those files no-ops
which serves the same purpose and makes this project able to
compile with PlatformIO (and other build systems).
This addresses, but does not entirely fix, issue #220.

So something I don’t understand here, I use PlatformIO and esp-idf and I can build the demo project just fine with either. PlatformIO also now uses esp-idf for the esp32 so why does it behave differently than using esp-idf  directly. I am not sure I am seeing that as they appear mostly identical to me (different output structure is about all that is different).  Maybe it does compile all the source files but the linker seems to exclude the drivers not used.
My concern is that by ifdef out all the drivers when you make a change that affects them all you are more likely to not notice a breaking change unless you configure and compile each one separately and that is going to be very painful.

Hi David:
When you say that you can "build the demo project" are you referring to lv_platformio (as described in the README), or are you referring to main/main.c in this project?

@cmumford I am referring to building main/main.c in this project which builds all the drivers as well as several demo projects. I typically just load the project up in PIO and build it (after setting up my platformio.ini file). This is the method I used to work on the DMA SPI driver as well as the other display-specific drivers I was working on. I occasionally cross-check by building it with ESP-IDF too from the command line. I've never had an issue switching back and forth despite the output files being in different folders. In fact I regularly use the ESP-IDF command line to do the menuconfig stuff even while using PIO to build this project. It has been my experience that the interoperate well.
As I mentioned, my concern is that if we if-def out all the drivers then go making changes to the core SPI driver, etc... it might set us up to not notice a broken build unless we go through a build cycle of configuring and building for each display and that is going to be painful when working on core common code.

@davidjade I agree with your concern, and only went this route because I could see no alternative. I will build as you suggest above and see if I get the same results. I think the main difference between your approach and mine is that when you are building your project is lv_port_esp32, and when I'm building I'm just adding lv_port_esp32 as a dependency.
I'm new to PIO, so I'm sure you're more experienced than I am. I would think that adding lv_port_esp32 as a dependency would be the preferred approach because it would obviate the need to add lv_conf.h, or any other file from this project, to the application project, and make it easier to upgrade/downgrade lv_port_esp32 versions.

@cmumford Using as a component I'm not sure what the answer is. I'm not fully up to date on all aspects of this project but I thought there was an effort to separate the ESP32 drivers out so they could be used with the main LVGL codebase as a component. That effort I think is in another repo and I'm not sure of its status. @C47D likely knows that status of that effort and the direction it is going. That may be the ultimate answer here.
I suspect the right thing to do is to structure things such that they follow the ESP-IDF separate component way of doing things as these should then work in PIO builds. Right now this project uses components but they are not separable. If things were separate components, in my mind there doesn't need to be anything done for PIO specifically since it uses ESP-IDF under the covers. Same goes for LVGL but right now, since this ESP32 code includes a copy of LVGL, etc... it is not really set up to be included as a separate component as you are finding.
Sorry if I am complicating things but it seems to me that there is a structural issue that needs to be addressed to include this project as a component in both ESP-IDF and PIO projects and that effort may already be happening in another project/plan which likely impacts or maybe even negates these proposed changes

@davidjade would you mind describing how you are building this project with PIO? My build is failing whether I create my own platformio.ini file, or copy the one from lv_platformio.

Thx for your help @davidjade - I was able to build with both esp-idf and PlatformIO. I'm going to close this PR. I do still think that this project should modified to allow this project to be included into another PlatformIO project using lib_deps, but that's a larger discussion that needs to be had with the project owners. Thx again.


Invalid Argument On Some Source

hello
when i try to Running enumeration on any domain then i get this error
some time its failed to connect shodan and some time "Ask" and some time other source
output error: connect: invalid argument

Hello @anasalzuvix , thanks for reporting this.
From the picture it looks like the issue is related to the system not being able to lookup addresses. if you execute from the shell any lookup, does it work correctly?
Eg.
$ nslookup www.dogpile.com


Export node total CPUs, total memory. And node name as metric label

Hi, thanks for your PR!
As I can see from libvirt documentation:
Use of this API is strongly discouraged as the information provided is not guaranteed to be accurate on all hardware platforms.

As I assume, for x86-64 this info should be OK for most users. But I would recommend using node-exporter to get information about the hypervisor node itself.
(GetHostname)[https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainGetHostname] probably requires qemu quest-agent to be installed. I've never used it in public clouds. If libvirt can't find a hostname it raises an error. We shouldn't fail metric collection if we cannot get guest hostname. We also don't need label with empty value. Maybe adding this metric to libvirt_domain_info_meta if it exists is enough?

Hi, I wonder that the other method such as virNodeGetMemoryStats is okay to get a hypervisor stats?
I'm trying to extract hypervisor metrics from openstack and I don't want to install node-exporter to every hypervisors.


Patch for Looney Tunes

Can you please make a Patch for Looney Tunes on GB

Hi there!
Have generated a patch. Seems to work fine for me, on the first stage at least.

Thank You
Gesendet: Montag, 25. Juni 2018 um 08:29 Uhr
Von: "Matt Currie"<EMAIL_ADDRESS>An: mattcurrie/gb-save-states<EMAIL_ADDRESS>Cc: termidr<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [mattcurrie/gb-save-states] Patch for Looney Tunes (#2)
Hi there!
Have generated a patch. Seems to work fine for me, on the first stage at least.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


%(timestamp)s template option only returns NA

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=wan5tojr8ug', '-o', '%(upload_date)s-%(timestamp)s.%(ext)s', '--write-info-json', '-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.8.2 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg N-96910-gcfd9a65903-COMPILED_BY_JohnWarburton, ffprobe N-96910-gcfd9a65903-COMPILED_BY_JohnWarburton, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] wan5tojr8ug: Downloading webpage
[youtube] wan5tojr8ug: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video description metadata as JSON to: 20200921-NA.info.json
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] 20200921-NA.mkv has already been downloaded and merged

Description

WRITE DESCRIPTION HERE
No videos give me the timestamp variable in the naming template, I've tried with youtube and bitchute. Seems to be a broken variable. Please fix, thank you! :)

https://github.com/ytdl-org/youtube-dl#does-the-issue-involve-one-problem-and-one-problem-only


Remove the extra contact form #102

Fixes #102

Checkout my description, abide to these tags in the future, will be helpful.


Error in oxocarbon.so:1

Hi, I get this error when trying the theme with :colo oxocarbon.
E5113: Error while calling lua chunk: .../site/pack/packer/start/impatient.nvim/lua/impatient.lua:264: ...m/site/pack/packer/start
/oxocarbon.nvim/lua/oxocarbon.so:1: '=' expected

The theme has been installed, the install.sh script has been run by packer and I tried running it manually (it succeeded). Rust version is 1.62, neovim is latest head:
NVIM v0.8.0-dev-751-g8952def50
Build type: Release
LuaJIT 2.1.0-beta3

EDIT: Forgot to add, I'm on macOs Monterey, 12.3.1, Apple M1.

Ok, I guess it's because of impatient.so.

lewis6991/impatient.nvim#69 should have fixed this issue

It is fixed. Thanks!


Updated nuget packages.

Updated all nuget packages for all platforms.
Updated OkHttp RequestBody.Create() in OkHttpNetworkHandler method due to deprecation in OkHttp 4.2.2 version

Hi yurkinh.
OkHttp version 4.x is not compatible with older androids.
See my comment here
I think its too early to stop supporting android 5.

Fully agree.

I have downgraded OkHttp version to 3.12.6 hence it should be compatible with old android versions. And it is a bit newer then version 3.8.1 which is currently used

Merged manually.


Not working at all

Helm values:
global:
  veleroNamespace: velero

uiIngress:
  enabled: true
  ingressClassName: nginx
  metadata:
    annotations: []
  spec:
    tls:
    - hosts:
      - velero-ui.domain.com
      secretName: velero-ui-tls

Result:
Unable to login, login button not working
Error in web ui:

❯ velero version
Client:
Version: v1.14.0
Git commit: none
Server:
Version: v1.14.0
velero ui: Helm release 0.1.12

Can you add these lines in your values-override.yaml?
uiNp:
  enabled: false

Let me know whether the installation was successful or not.

Can you add these lines in your values-override.yaml?
uiNp:
  enabled: false

Let me know whether the installation was successful or not.

I'm already tried it (because I don't need NodePort) and had same issue

global:
  veleroNamespace: velero

uiIngress:
  enabled: true
  ingressClassName: nginx
  metadata:
    annotations: []
  spec:
    tls:
    - hosts:
      - velero-ui.domain.com
      secretName: velero-ui-tls

I have nothing else, only this config

This configuration is working.
Can you verify the data in the config map velero-ui-config?
If the url in NEXT_PUBLIC_VELERO_API_URL_1 and NEXT_PUBLIC_VELERO_API_WS_1 are correct, try restarting the velero-ui deployment.

data:
  NEXT_PUBLIC_REFRESH_DATATABLE_AFTER: "1500"
  NEXT_PUBLIC_REFRESH_RECENT: "5000"
  NEXT_PUBLIC_VELERO_API_NAME_1: <cluster-name>
  NEXT_PUBLIC_VELERO_API_URL_1: http://:30001/api
  NEXT_PUBLIC_VELERO_API_WS_1: ws://:30001

Of Course I tried to install velero-ui multiple times
I'm using port-forward to access UI

The configmap is wrong.
I tried the your values-override.yaml is working.
Can you try to install from scratch and verify the contents of the configmap?
It is important to disable uiNp if it is not used
uiNp:
  enabled: false

From scratch:
My vaules:
global:
  veleroNamespace: velero

uiNp:
  enabled: false

uiIngress:
  enabled: true
  ingressClassName: nginx
  metadata:
    annotations: []
  spec:
    tls:
    - hosts:
      - velero-ui.domain.com
      secretName: velero-ui-tls

Configmap:
❯ k get configmaps  -o yaml velero-ui-config
apiVersion: v1
data:
  NEXT_PUBLIC_REFRESH_DATATABLE_AFTER: "1500"
  NEXT_PUBLIC_REFRESH_RECENT: "5000"
  NEXT_PUBLIC_VELERO_API_NAME_1: <cluster-name>
  NEXT_PUBLIC_VELERO_API_URL_1: https://velero-ui.domain.com/api
  NEXT_PUBLIC_VELERO_API_WS_1: wss://velero-ui.domain.com

The same problem. I also tried to set global.clusterName: velero
logs from api pod:
k logs vui-api-79d6cb648d-q4tt9 | grep -i error | c
INFO      [Env creation] key: SECURITY_TOKEN_KEY value:                          validation:ERROR NOT A VALID SECRET KEY
INFO      [Env creation] key: SECURITY_REFRESH_TOKEN_KEY value:                          validation:ERROR NOT A VALID SECRET KEY
(trapped) error reading bcrypt version
AttributeError: module 'bcrypt' has no attribute '__about__'
ERROR:    2024-07-16 09:42:51.291 [helper.velero_client] ./velero-client/dl/velero-v1.12.2-linux-amd64.tar.gz is not a valid tarball file.
ERROR:    2024-07-16 09:42:51.291 [helper.velero_client] Init velero client failed.
ERROR:    2024-07-16 09:42:51.292 [helper.velero_client] E=Error extract velero, F=/app/helpers/velero_client.py, L=245
ERROR:    2024-07-16 09:42:51.292 [helper.velero_client] an forced exit code(100) is called
ERROR:    2024-07-16 09:42:51.329 [helper.velero_client] ./velero-client/dl/velero-v1.12.2-linux-amd64.tar.gz is not a valid tarball file.
ERROR:    2024-07-16 09:42:51.329 [helper.velero_client] Init velero client failed.
ERROR:    2024-07-16 09:42:51.330 [helper.velero_client] E=Error extract velero, F=/app/helpers/velero_client.py, L=245
ERROR:    2024-07-16 09:42:51.330 [helper.velero_client] an forced exit code(100) is called
ERROR:    2024-07-16 09:42:51.412 [helper.velero_client] Init velero client failed.
ERROR:    2024-07-16 09:42:51.413 [helper.velero_client] E=Compressed file ended before the end-of-stream marker was reached, F=/usr/local/lib/python3.10/gzip.py, L=507
ERROR:    2024-07-16 09:42:51.413 [helper.velero_client] an forced exit code(100) is called

Now the config map has the correct syntax, but you should correctly configure the url velero-ui.domain.com . It also verifies that the velero api can connect to the Internet to download the velero client.

What if I wouldn't like to expose velero ui? It's very strange approach

global:
  veleroNamespace: velero
  clusterName: velero

uiNp:
  enabled: true

uiIngress:
  enabled: false
  ingressClassName: nginx
  metadata:
    annotations: []
  spec:
    tls:
    - hosts:
      - velero-ui.domain.com
      secretName: velero-ui-tls

This configuration doesn't work either :(

Installing via Helm allows you to configure access to the UI using either NodePort or Ingress. That said, I don't see anything unusual or strange about this approach.
As stated in the example file, if you use NodePort, you must also configure the ip, apiPort, and uiPort. If you use Ingress, you need to use a valid domain. This domain does not necessarily have to be exposed on the internet; you can also use internal resolution domains.

So, why my config doesn't work?
velero-ui.domain.com - valid domain

The configuration will work if the domain "velero-ui.domain.com" is correctly resolved within your internal network when traffic is directed towards the Kubernetes Ingress. This issue is not related to the specific application (Velero UI) but rather to the structure and setup of the network where Kubernetes is installed.
If you are testing on k8s local solutions, it might be better to use NodePort instead of Ingress. NodePort exposes the service on a static port on the node's IP address, which can simplify access during development and testing on local environments.

The configuration will work if the domain "velero-ui.domain.com" is correctly resolved within your internal network when traffic is directed towards the Kubernetes Ingress. This issue is not related to the specific application (Velero UI) but rather to the structure and setup of the network where Kubernetes is installed. If you are testing on k8s local solutions, it might be better to use NodePort instead of Ingress. NodePort exposes the service on a static port on the node's IP address, which can simplify access during development and testing on local environments.

Why should it resolve itself? This is a very strange approach. I can't recall any product that requires this, especially in a Kubernetes environment.

The project consists of several modules: UI, API, and Watchdog. The UI communicates with the API (which is a separate project also used by other projects) that is exposed at velero-ui-domain.com/api. If this domain is unreachable, the UI cannot communicate with the API.
So to solve the problem you either use a valid domain or nodeport with all the configuration parameters.

The project consists of several modules: UI, API, and Watchdog. The UI communicates with the API (which is a separate project also used by other projects) that is exposed at velero-ui-domain.com/api. If this domain is unreachable, the UI cannot communicate with the API. So to solve the problem you either use a valid domain or nodeport with all the configuration parameters.

Why I can not use k8s Service?

You can use whichever method you prefer. The Helm chart is configured to support installation via ingress or node port. If these options don't meet your requirements, feel free to modify the configuration as needed.

Why does the service need to resolve itself through the ingress? It can do this through Service, but it doesn't work.
What if I want to use something other than an ingress controller, like an istio gateway? The Service resource should be configured separately from the ingress as they are two different entities.
If I were able to run your project, I would gladly make a pull request with corrections to the Helm chart, but for now, your project is completely non-functional and you do not provide a clear answer as to why it needs a domain name inside a private network when there is a k8s Service.

As mentioned earlier, from a technical standpoint it's crucial that the Next.js frontend effectively communicates with the FastAPI backend. If the frontend in the browser cannot reach the API endpoints, the application will not function correctly. The frontend interacts directly with the backend API through HTTP requests (such as GET, POST, etc.).
It's imperative that these API endpoints are accessible from the client's browser. This requires proper exposure and configuration of the API endpoints to ensure that requests from the frontend can reach them and receive valid responses.
If you're deploying with a domain, ensure it resolves to ingresses that route requests to the API. Alternatively, if using NodePort, ensure the APIs are exposed and reachable from client browsers.

Installing via Helm allows you to configure access to the UI using either NodePort or Ingress. That said, I don't see anything unusual or strange about this approach.
As stated in the example file, if you use NodePort, you must also configure the ip, apiPort, and uiPort. If you use Ingress, you need to use a valid domain. This domain does not necessarily have to be exposed on the internet; you can also use internal resolution domains.

"I disagree with this idea. Users may optionally want to disable both NodePort and Ingress and define their own Ingress via Rancher, for example. I believe users should have the option to disable both as needed."


PNPM support does not appear to work with workspaces

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
npm
Package manager version
pnpm 8
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
No response
Updated dependency
No response
What you expected to see, versus what you actually saw
In experimenting with the new pnpm support to shift our monorepo from yarn to pnpm, I encountered issues trying to get dependabot to recognize a pnpm workspace project. I created a few minimal examples to demo what I am seeing. First I have a working, multi project repo that uses pnpm but does not use a workspace. This caused dependabot to create PRs and properly update the pnpm lock files.
See: https://github.com/LucasHillDex/pnpm-dependabot-example
Now, with adding workspaces there were two different ways I tried. First was to configure dependabot to look at each project individually. Dependabot inspected each project, but did not open PRs to update the out of date dependencies. This issue in this example seems to be that dependabot does not see a lockfile in the project directories and decides it has no work to do.
See: https://github.com/LucasHillDex/pnpm-workspace-example2
In another issue (https://github.com/dependabot/dependabot-core/issues/4993) it was recommended to not enumerate your workspace projects, but only point dependabot to the root directory. Configuring this way also did not trigger dependabot to open PRs. The issue in this example could be that dependabot does not see any package.json files in the root directory and decides there is no work to do.
See: https://github.com/LucasHillDex/pnpm-workspace-example
If this is not an actual issue and I'm taking the wrong approach please let me know, much appreciated.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

Hi @LucasHillDex!
This is indeed an issue. When I implemented PNPM support, all monorepos that I saw had a root package.json file, and all other JavaScript package managers that we support also require a package.json file.
But I see now that PNPM does not need it, so we'll need to implement support for this kind of project.

@deivid-rodriguez thanks for the confirmation! Looking forward to getting this working as pnpm + workspaces has been a huge improvement for our CI in my testing!

I updated one of the test projects with a root package.json, I missed your implication that it might work if I did that, and sure enough it seems to! Both the package.json in the project and the top level workspace lockfile are getting updated.
See: https://github.com/LucasHillDex/pnpm-workspace-example/
Its probably still worth adding support for projects without the root package.json

Good to hear @LucasHillDex, and apologies for not making the workaround more explicit!

With reference to your practice, I still cannot solve the problem that the lock file is not updated. In addition, I also encountered two problems and the following two errors. I am not sure why

Dependabot can't authenticate to a private package registry, even if I add my private package to ignore list
2.Error processing(Dependabot::SharedHelpers::HelperSubprocessFailed)

can you help figure out the reason? @LucasHillDex


Set up code structure for initial modeling pipeline

Need some sort of pipeline structure.
I think we'll want another manager/processor, a generator subclass, and probably a registry.
For now, entire implementation can happen in the generator, and we can separate out filtering stuff further down the line when we get the filtering classes in common.
But for placeholders, we should have functions for setting filters on different features (or columns) for training phase.
Also, for our calculation step, we should actually have two functions: Train and Apply.

Concretely, doing the following:

ModelManager - like other Manager classes, this will have functions to call its generators to process each event/featuredata. It will also need to keep track of individual Processor instances - for now, this is just a single population-level one.
ModelProcessor - this probably ends up like PopulationProcessor, where there's only ever one instance, but we do need the functions to distribute events and/or features to generator instances via a registry.
ModelRegistry - Probably 90% the same as an ExtractorRegistry, just needs to load up "Models" instead.
Model - Generator subclass, can 'extract' from event or feature data, which probably just looks like tacking them onto lists. Not very efficient, realistically we should just have our "Train" function directly operate on a given array. Not how we're set up now, though, so it'll have to come later. Then instead of just a CalculateFeatureValues or GenerateEvent or whatever, we'll have two "calculation rule" functions: Train and Apply. Train runs when all events are in, generates actual model object.


[Doc Feature][Manifest]

Docs Build status updates of commit 4e37b81:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/resources/schema/manifest-schema.md
:white_check_mark:Succeeded
View

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

Closed, updated with PR 5130


Python training

WAP to display the average of elements in a list
WAP to count the frequency of a word in a string

Invalid


Strange behavior of "Total Requests per Second" chart

Description of issue
Total Requests per Second's RPS drop to below 1 after the test start a while despite the RPS number on top keep rising
Expected behavior
The RPS of Total Requests per Second chart  should keep updating according to the RPS number on top
Actual behavior
The RPS of Total Requests per Second chart value does not match the RPS number on top after the test start a while
Environment settings (for bug reports)

OS: Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-78-generic x86_64)
Python version: 2.7.12
Locust version: 0.9.0

Steps to reproduce (for bug reports)
I don't know what to put here but feel free to ask for any extra information. I can't provide the code though
Screenshot

P/s: Sorry for ignored the template.

I have also encountered this issue. I dug into the responses and it's happening because the /stats/request endpoint stops returning the "Total" stat block at the end of the stats list. This then causes the graph to show a RPS from a random path instead of from the total like it should. Interestingly, as is shown in the screenshot from @hoangphucITJP, the RPS in the header is still correct.
I tried to dig into the Python code and figure out what's causing it there, but haven't had much success there yet (mostly b/c I'm only running this in AWS, not locally so my debugging options are somewhat limited).
Please let me know if there's any suggestions as to how to solve this or any other debugging information I can provide.

@cgoldberg I think my simple change should work as a fix (it has solved the issue for me). Thanks.

@hoangphucITJP @klloveall - let me know if manually applying my change fixes your issue. I think my PR is correct, but it is not building for unrelated reasons. Thanks.

we are also facing this issue, when is the PR supposed to be merged?

any update for this issue ?

I also see the RPS drop off as shown in the graph every time we run Locust. It makes tracking the average RPS value over a run very hard without it working.

I cant reproduce this (on MacOS, using locust 0.12.1). Is this only an issue on Linux? Or is it something related to the test plan?

I believe this could have the same cause to #1060 which has now been fixed.

Hi, I am unable to understand how this total request per second is calculated? Can someone please explain this? I am new to locust


On Linux, ./main.go:4:2: undefined: say

On Ubuntu 20.10 Linux with goLand 2021.1.1
$ go version
go version go1.16 linux/amd64

Compiling Chapter08/say/main.go gets
GOROOT=/usr/local/go #gosetup
GOPATH=/home/dalem/go #gosetup
/usr/local/go/bin/go build -o /tmp/___4go_build_main_go__1_ /home/dalem/GolandProjects/Building-Cross-Platform-GUI-Applications-with-Fyne/Chapter08/say/main.go #gosetup
# command-line-arguments
./main.go:4:2: undefined: say

Compilation finished with exit code

I suppose say_other.go's
// +build !darwin
is not taking effect.

That should have been:
Compiling Chapter08/say/main.go gets

You don't share what command is used to build, I am guessing that you've used go run main.go.

If the issue still persists, please reopen.


Remove unnecessary condition.

No need it. Is always not null when reach the line.

Thanks for the PR, @arturobernalg!


[DOCS] Document that DNSSEC breaks DNS on new installs in a VM

I tested it by commenting out a single line.
At least when giving a fixed IP, DOT is not an issue, but for some reason even opportunistic DNSSEC breaks connection.
This may be related to how libvirt handles the network.
Reproduce:

setup a VM with normal Fedora ISO
rebase to secureblue unsigned
try to rebase to signed
no DNS, ping <IP_ADDRESS> works

Workaround:

set a fixed DNS server in the /etc/systemd/resolved.conf.d/securedns.conf like DNS=<IP_ADDRESS>
comment out DNSSEC=opportunistic

This should be documented. There were 2 issues about this problem.

issue 1
issue 2

@qoijjj locked one after I gave the solution for the issue, where the workaround was simply disabling everything (while DOT is not the issue).
I find this behavior not helpful, as well as closing existing issues that only have a workaround, even more if that workaround is insecure, like disabling DOT.
Locking issues to "contributors only" that quickly very much harms the contribution culture and does not match with what is written in the Code of Conduct.

Yes, this should be added to the FAQ. PRs welcome.

@firefoxlover Issues can only be locked that way unfortunately, if I could have locked it completely I would. Issues are closed when they are not actionable anymore, either via resolution or determining that it's an upstream issue. Opening a new issue like you did here to request docs is the right approach.
That said, please read these:

https://world.hey.com/dhh/open-source-is-neither-a-community-nor-a-democracy-606abdab
https://gist.github.com/richhickey/1563cddea1002958f96e7ba9519972d9

Entitled attitudes are not welcome here, including entitlement to dictate how the project issues page is managed. Consider this a formal warning.

I understand that one can only "dictate" for oneself. But I dont think asking for something is "dictating". This is totally up to you of course, I just never saw this on any project where I contributed.
Also, here my point was that both issues were not resolved. It was a workaround, and an insecure one. DNSSEC seems to be broken, as quad9 supports it.
https://quad9.com/service/service-addresses-and-features/
This is really strange, I will try to find the cause and make a PR on the postinstall readme.

@firefoxlover thanks yeah and if the cause is upstream, please create an issue upstream as well

the root cause if I remember right is that the resolved behavior had issues, and so an issue will probably need to be created to resolved. But an FAQ item until that gets done is a good idea

https://github.com/secureblue/secureblue/commit/7132b12816c673e700c69d0dec39a811831b4ae6


TV Shows view capped at 299 entries

When presented with a large library, Kore fails to scan all titles to be browseable on Android.  A seemingly random selection of titles do scan properly, totaling approximately 299 titles.  (Unfortunately, since there isn't a counter built into Kore itself, I'm relying on my relatively fallible ability to count by hand.)  If a title on that list is removed from the library and subsequently re-added, it does not subsequently reappear; another title takes its place.  My suspicion, although I am unable to demonstrate this rigorously, is that shows are somehow being added in reverse last-modified order until a certain maximum number is reached, after which Kore stops scanning and caching.
Steps to replicate: have a library with 300 or more TV Show entries in it; attempt to scan that library with Kore.
Expected outcome: all TV shows in library are visible through Kore.
Actual outcome: total number of visible TV show entries is capped at approximately 299.

There is no limit for the tv shows, though it is possible that the sync service isn't finishing successfully so it doesn't sync all shows.
If you do a refresh and wait for it to end, does it end successfully? Any messages shown?

Thanks for the reply-
It completes apparently normally, (no error messages), but does not add or remove any entries - still 299 or so shows and 54.17MB of cache.  Is there a way of getting a console readout or log from Kore to see what's going on?

Are you able to connect your device to your computer, compile a debug version of this (gradlew installDebug) and check the messages that appear on logcat?

Sure.  Capture started about a second before I started the update, and was stopped about a second after it completed.  No indication of a failed sync; even gave the 'success' popup.
In two pieces because even after redacting as much unrelated noise as I could on the logs it was too big for pastebin.
http://pastebin.com/Y1UJ2i2n
http://pastebin.com/jdYr904S

Thnks for this, though it wasn't a debug build of Kore, so it doesn't contain the relevant log messages...
Are you able to compile a debug version of Kore? If not, you can get it from here:
https://drive.google.com/file/d/0B8b8P_pnImuPdkF5NEhvVkV2MEE/view?usp=sharing
(you'll have to uninstall your current version, as Android doesn't allow the coexistence of diferent build types).
Then, run this on a shell, to filter the logcat results:
adb logcat | grep adb shell ps | grep org.xbmc.kore | cut -c10-15``

On the contrary, that definitely was a debug build; I compiled it myself with the usual 'gradlew assembleDebug && adb -d install ./app/build/outputs/apk/app-debug.apk' process.  Screenshot of the build folder: https://i.imgur.com/Dbi3f7t.png  The relevant debugging bits in the first run are buried in a pile of semi-related system calls.
Here's the output of
adb logcat | grep org.xbmc.kore
on a fresh debug run.  Still getting "Sync successful"; still getting incomplete syncs.
http://pastebin.com/JmYK0LuA

Oh, and
ps | grep org.xbmc.kore on my phone gives
u0_a152   14505<PHONE_NUMBER> 157528 ffffffff 00000000 S org.xbmc.kore
Not sure if that's how you meant that shell command you posted to be run; as posted it doesn't do anything because it calls adb twice.  Also, I dispensed with running
ps | grep org.xbmc.kore | cut -c10-15
Because LG doesn't ship cut with its version of GNU coreutils, but I imagine the output would be something like
14505

Ok, i just didn't find the messages i was looking for in the first dump. Unfortunately they also aren't on the second dump... But that is because adb logcat | grep org.xbmc.kore will strip them.
Like you said, you need to get the pid of the process, so if you could do adb shell ps | grep org.xbmc, get the pid (second row, the 14505 you mention) and then add logcat | grep pid to get the relevant  output.
Make sure you get the latest version from git, as i've included some new messages yesterday.

Got it- thanks for clarifying that.
Also, thanks for whatever you did to add those messages to the output; somehow that patch fixed the bug!  All 440 entries scraped properly, with one minor caveat - it's sorting entries whose titles start with lowercase letters to the end of the list.
http://pastebin.com/h7J7ZfVW

errrr... The latest patch was supposed to only contain additional log messages, but i inadvertently also changed a constant that determines the amount of tv shows to sync, from 300 to 2 (this was to test in my device).
So, it works syncing 2 at a time, but not 300, though it doesn't blow up with an out of memory and the code is the same... strange.
Anyway, i can't keep it at 2 shows at a time, i'll change it to 200, and ask you to try again to check if it helps.

Sounds good; I'll keep my build environment ready to go.  Thanks for your help!

So, not sure if this is the result of a change in the meantime, or just me not noticing because I hadn't added anything to the library in a while, but this issue is back in the current Google Play builds. Maybe you could add a "Large Library Compatibility Mode" toggle to the advanced settings that adjusts the constant down for slow scraping?

Looks like this is the same issue as #219.
It's on my TODO list to add the fix for other media as well.
But if anyone else has some spare time in the coming weeks and willing to fix this. See #236 on how to do this.

Fix merged, see #283
Please reopen if issue persists.


TS: bug: selected text in code is not commented with /* */ but entire line with //

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

Version: 1.89.0
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10
Steps to Reproduce:

Write code

function test(a: string, b: string, c: string) {
}

Select second param like this:

Press command shortcut to comment parameter with /* */, but instead entire line will be commented

Correct behaviour:

function test(a: string/*, b: string*/, c: string) {
}

Try toggle block comment instead of toggle line comment


Fix/role permission registration

Summary

PR Status
Type
Impact level

Ready
Bug
High

Description
It was reported in mail by a user, that during registration, the user was getting admin privileges even when the flag was set to false.

Motivation & Context
It was reported by @Joan Colmenero
Hello Aman!

I'm looking into the code, and I'm trying to create a findAllBy to get all of those users that have been registered as Admin, I've created one with the flag in false, but on my database I still see that that guy has the same authority than the admin one, please could you tell me how do I fix this?

I created two users, one with registerAsAdmin true(1) and other registerAsAdmin false(2) and as you can see both have both roles...

The bug arose because I was removing admin role from the set of roles by creating a new object instead of comparing their enums.
Set removal on a new object didn't work obviously. Fixed by checking on the enum type instead.
Why was this change not caught
It was a miss from my side.
This project lacks UT's and I plan to add them shortly.
Thanks @Joan Colmenero for reporting the bug

Thanks @https://github.com/joancolmenerodev

Thanks for fixing it @isopropylcyanide


Consider changing reject reason to be an Error instance

Because https://github.com/petkaantonov/bluebird/blob/master/docs/docs/warning-explanations.md#warning-a-promise-was-rejected-with-a-non-error
Of course, it's ok from JavaScript point of view. I had to disable this warning in https://github.com/este/este, because I can't ensure all third party libraries will follow this rule. Still, it's a good advice.
Quick fix:
var error = new Error('fok');
error.reason = reason;
error.action = rejectedAction;
reject(error);

If you want to improve DX, use https://github.com/julien-f/js-make-error

This makes sense. I can look into the changes, but could you make a JSBin or some quick example that demonstrates it? I understand the change, but having it in code would be nice.

That's the only code I can provide you right now.
https://github.com/este/este/blob/master/src/common/lib/validation/ValidationError.js

@steida I've opened a PR with the behavior I think you are requesting. The argument is an instance of Error.
Does this resolve your issue?

Yes, thank you.

Great. I'm going to keep this open until I merge and release it.


[FLINK-32076][checkpoint] Introduce file pool to reuse files

What is the purpose of the change
Add file pool for concurrent file reusing
Brief change log

Introduce PhysicalFilePool and use it in FileMergingSnapshotManager
Support different type of PhysicalFilePool

Verifying this change
This change added tests and can be verified as follows:

Added testConcurrentFileReusingWithNonBlockingPool and testConcurrentFileReusingWithBlockingPool

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

The failed case is not related to this pr: FLINK-29114

@masteryhx Thanks for the PR, I took a quick look and had some questions, PTAL.

@flinkbot run azure

@flinkbot run azure

The failed case caused by FLINK-34660 which is not related to this PR.
I also submitted a pr to resolved this.


Using CommitDirect3D11DepthBuffer with RemotingHostSample?

I copied the code that uses HolographicCameraRenderingParameters::CommitDirect3D11DepthBuffer  from here into the RemotingHostSample but when it calls CommitDirect3D11DepthBuffer() I get this exception:
Exception thrown at 0x7432B872 in RemotingHostSampleUWPXAML.exe: Microsoft C++ exception: Platform::InvalidCastException ^ at memory location 0x10BFEE48. HRESULT:0x80004002 No such interface supported WinRT information: No such interface supported  occurred
Is the CommitDirect3D11DepthBuffer method supported for Holographic Remoting or do I need to use SetFocus and do the calculations myself?

@keveleigh Any progress on this issue? It'd be very nice to use for remoting.


【ＬＩＶＥ~】 Mr. OlYmPiA 2024 LiVe 𝐒𝐭𝐫𝐞𝐚𝐦𝐬 FrEe BrOaDcAsT oN tV cHaNnEl 12 October 2024

Mr. Olympia 2024 Live: Celebrating 60 Years of Bodybuilding Greatness in Las Vegas
[🅻🅸🆅🅴🔴▶ CLICK HERE TO WATCH LIVE ONLINE
[🆆🅰🆃🅲🅷🔴▶ CLICK HERE TO LIVE STREAM
The stage is set for one of the most anticipated bodybuilding competitions of the year—Mr. Olympia 2024, marking its 60th anniversary. This prestigious event has grown to become the pinnacle of professional bodybuilding, attracting the best athletes from around the world. It’s more than just a competition—it’s a global celebration of physical fitness, muscle development, and elite-level athleticism. Returning to the dazzling lights of Las Vegas, the 2024 edition promises to be a milestone year, with legends and newcomers alike vying for glory.
A Weekend of Champions
From Friday, October 11th through Saturday, October 12th, Resorts World Las Vegas will host the world’s top bodybuilders as they compete for the coveted Mr. and Ms. Olympia titles. Fans, fitness enthusiasts, and athletes alike are eagerly awaiting this historic edition, with pre-judging rounds kicking off on Friday morning for Ms. Olympia, followed by the grand finals later that evening. On Saturday night, the spotlight shifts to the Mr. Olympia main event, a spectacle that showcases not just raw power, but the artistry of the human physique in its peak form.
2024 Mr. Olympia: The Stakes Are High
As the competition reaches its 60-year milestone, the stakes have never been higher. Athletes from all corners of the globe are gathering in Las Vegas, each with the hope of etching their names in bodybuilding history. Not only are competitors pushing for the prestigious Mr. Olympia title, but they are also contending for the impressive prize pool, which last year reached a record-breaking $1.6 million. This year, the total purse is expected to surpass even that, with top contenders vying for a lion’s share of the rewards.
Last year’s Mr. Olympia winner, Derek Lunsford, made history by becoming the first bodybuilder to win titles in two different divisions—2021 212 Mr. Olympia and 2023 Mr. Olympia. In a thrilling battle, Lunsford claimed the title over Hadi Choopan, the defending champion from 2022, in what many hailed as one of the most fiercely contested Olympia showdowns in recent history. The stage is now set for an epic rematch in 2024, as both Lunsford and Choopan have qualified again and are more determined than ever.
However, they won’t be the only competitors to watch. Brandon Curry, the 2019 Mr. Olympia champion, will also be competing, hoping to reclaim his title. With so many decorated athletes participating, including top-ranked contenders like Samson Dauda, Rafael Brandao, and William Bonac, the competition is wide open. Each athlete brings their own unique strengths, and fans are eagerly speculating on who will emerge victorious in Las Vegas.
Ms. Olympia: Shaw’s Five-Peat Ambition
While Mr. Olympia garners much attention, Ms. Olympia 2024 promises to deliver its own excitement. This year’s standout competitor is Andrea Shaw, who is gunning for her fifth consecutive Ms. Olympia title. Shaw has dominated the competition since her debut, showcasing unparalleled muscle symmetry, strength, and posing precision. With such dominance in recent years, Shaw is the favorite, but as always, the competition is fierce, and there are no guarantees in the world of bodybuilding.
Other top contenders include Angela Yeo from the USA and Alcione Santos Barreto from Brazil, both of whom have qualified for the 2024 edition. These athletes have shown tremendous potential in their previous competitions, and all eyes will be on whether anyone can dethrone Shaw.
The Road to Mr. and Ms. Olympia: How Athletes Qualify
Competing in Mr. and Ms. Olympia is the ultimate goal for professional bodybuilders, but the road to Las Vegas is not an easy one. Athletes must qualify for the event by earning points in various competitions sanctioned by the IFBB Professional League. These qualifying events occur throughout the year, with athletes accumulating points based on their performance in regional, national, and international competitions.
By the time the qualification window closes, only the top-ranked athletes in each category receive an invitation to compete at Olympia Weekend. In 2024, 19 men qualified for Mr. Olympia, while 15 women earned a spot in Ms. Olympia. These numbers represent the elite of the elite, as only the best athletes from each division make it to the grand stage in Las Vegas.
Mr. Olympia Competitors to Watch in 2024
In addition to defending champion Derek Lunsford, the roster for Mr. Olympia 2024 is stacked with talent from around the world. Here are some of the top contenders to keep an eye on:
Derek Lunsford (USA): The reigning Mr. Olympia champion, Lunsford is looking to defend his title after his remarkable victory in 2023. Known for his extraordinary muscle density and conditioning, Lunsford is a formidable competitor.
Hadi Choopan (Iran): The 2022 Mr. Olympia champion, Choopan will be eager to reclaim his title after finishing second in 2023. His muscular detail and stage presence make him a top threat.
Samson Dauda (UK): A rising star in the bodybuilding world, Dauda has steadily climbed the ranks with his impressive size and conditioning.
Rafael Brandao (Brazil): A fan favorite, Brandao has been on a hot streak in recent years. His aesthetic physique and well-balanced muscle groups make him a strong contender.
Nicholas Walker (USA): Known as "The Mutant," Walker’s massive frame and incredible vascularity have earned him a reputation as one of the most exciting competitors in the sport.
Other names to watch include Brandon Curry (USA), Theo Leguerrier (France), and Hunter Labrada (USA). Each of these athletes has the potential to steal the show and claim the ultimate bodybuilding title.
[🅻🅸🆅🅴🔴▶ CLICK HERE TO WATCH LIVE ONLINE
[🆆🅰🆃🅲🅷🔴▶ CLICK HERE TO LIVE STREAM
Ms. Olympia Competitors to Watch in 2024
As the reigning four-time champion, Andrea Shaw will undoubtedly be the one to beat in the 2024 Ms. Olympia competition. However, several other athletes have proven themselves capable of mounting a serious challenge:
Angela Yeo (USA): A seasoned competitor, Yeo has consistently placed well in international competitions and will be looking to upset Shaw’s reign.
Alcione Santos Barreto (Brazil): With an impressive track record and a physique that has wowed judges and fans alike, Barreto is one to watch in this year’s event.
Helle Trevino (USA): A veteran of the sport, Trevino is known for her impressive muscularity and conditioning, making her a serious contender for the Ms. Olympia title.
Other top competitors in the women’s division include Leyvina Rodrigues Barros (Brazil) and Ava Melillo (USA), each of whom has proven themselves on the global bodybuilding stage.
Mr. Olympia Weekend: More Than Just Muscle
Mr. Olympia Weekend is much more than the main event. In addition to the Mr. and Ms. Olympia competitions, there are several other contests that showcase different categories of bodybuilding, ensuring that there’s something for everyone.
For the men, categories include:
212 Olympia: Featuring athletes weighing 212 pounds or less, this division emphasizes conditioning and muscle symmetry.
Men’s Physique Olympia: Focused on aesthetic appeal, athletes in this division show off lean, toned physiques without the extreme muscle mass seen in the Open category.
Classic Physique Olympia: A division that celebrates the “golden era” of bodybuilding, where athletes aim for a more classic and streamlined look.
Wheelchair Olympia: This inspiring competition showcases the strength and dedication of athletes who compete from wheelchairs, demonstrating the universal appeal of bodybuilding.
For the women, categories include:
Figure Olympia: A division focused on feminine muscle development and balance, emphasizing symmetry and definition.
Fitness Olympia: Combining bodybuilding with acrobatic and dance routines, this division rewards both muscle development and athletic performance.
Bikini Olympia: This division celebrates lean and toned physiques, with competitors aiming for a beach-ready look.
Women’s Physique Olympia: Similar to the men’s Classic Physique division, this category emphasizes symmetry, muscle detail, and conditioning.
Wellness Olympia: A relatively new category, Wellness Olympia focuses on a fuller lower body while maintaining a balanced upper body.
Wheelchair Olympia: Just like in the men’s division, the women’s Wheelchair Olympia event is a showcase of strength, determination, and athleticism.
Prize Money and Prestige
While the honor of being crowned Mr. or Ms. Olympia is the ultimate prize, the financial rewards are equally enticing. In 2023, Derek Lunsford took home a staggering $400,000 for his victory in the Mr. Olympia competition. Second and third place finishers earned $150,000 and $100,000, respectively. Although the total purse for 2024 has not yet been officially announced, it is expected to exceed the record-breaking $1.6 million from last year.
How to Watch Mr. Olympia 2024 Live
For those unable to attend the event in person, OlympiaTV offers a pay-per-view live stream of the entire weekend’s competitions. Priced at $74.99, the stream provides fans with access to all of the action, from pre-judging to the final showdown. While Mr. Olympia may not be broadcast on national television, the online platform ensures that bodybuilding fans around the world won’t miss a moment of the action.
In addition to the pay-per-view option, fans can stay up to date on all of the competition’s happenings via social media platforms like Instagram, Facebook, and Twitter. Many athletes also provide behind-the-scenes updates and insights, giving fans a glimpse into the intense preparation that goes into competing at the highest level of bodybuilding.
Conclusion
With a legacy that spans six decades, Mr. Olympia 2024 promises to be a landmark event in the world of bodybuilding. Athletes from around the world are bringing their best physiques to the stage, all vying for a chance to make history.


Removed unused import.

There is no need to import "hhmmss", so it's being removed apparently.

UwUctoberfest

I don't think anyone will win that easily.

I don't think anyone will win that easily.

50,000 is too much less for this event

We are saying the same thing ig. 50,000 is maybe already claimed. the number is too less to start with. Although they are excluding many projects like writing names, dsa etc..

@rojserbest

lol


Auto crafting waiting to the result even if the slot given to is null.

When on a Program for auto crafting you mark the crafting Ok and don't specify a slot the program doesn't get terminated and as a result you can't request multiple operations in that case.
it would stop after one

Can you show me a screenshot of the program? Because termination of the program is unrelated to crafting and I think you may have a green arrow pointing the wrong way

In a minute by the way I double checked it and the green arrow was not pointing anywhere.

http://imgur.com/a/tUXd4

How much is the delay set at?

1 second

I cannot reproduce this... Weird

Can you do ctrl-a and then ctrl-c in the programmer and paste the resulting program on bpaste.net and how that to me?

sure
https://bpaste.net/show/81c3266df281

What version of RFTools Control?

latest-1.30

by the way is it intended to be able to request crafting only while in gui?

I imported your program and requested an item. The program marks the craft result as ok and ends. So I really don't understand the problem on your side.
And to answer your other question no. You can act on other types of events as well and initiate auto-crafting that way as well. As long as you have a way to identify what you want to craft you should be fine. And there are ways to do that (like for example with token items or so)

Ah btw
Type 'reset' in the processor and try your program again to make sure

did it and it didn't help and i meant requesting multiple

Oh wait, what exactly are you doing? Describe the exact steps?

going to the station. clicking shift+LCB and type 2,3,co'

it only worked once I gave it a result...

You type exactly 2,3,co??? What's that supposed to mean? Sorry. But I'm a bit confused and I have no clue what exactly you're doing

sorry it means random nuber

Ah now I got it. I can reproduce it. I'll see what I can do about it

thanks
btw you can't  request a crafting whilst not in gui there is a Video that proves it do you want me to put a link here?

I don't know what you mean by 'requesting a crafting' while not in the gui. The only way to craft requests is via the crafting station. So what do you mean by 'whilst not in gui'?

That's not possible. The crafting is not done on that station. Crafting happens on the processor which doesn't even know that the gui is open

https://www.youtube.com/watch?v=UOVsARQbXTQ
8:57

What does that proof? The items would have crafted even if he closed the gui

sorry wrong part

https://www.youtube.com/watch?v=P52v-IBm_y8 8:33
sorry...

I don't see a problem there. Having the gui open or not has no effect at all on what it is doing. That's pure client side and the operations are done server side

I don't find the video but I can reproduce it.
Do you wan't me to put a screenshot here?

I'll open a new Issue

have you found the cause?

The cause of what? I don't see any problem. Not sure what to do with this report really

Oh this has been fixed a while ago. Forgot to close this


Downgrade target crates versions to 0.42.1

New imports were added, but that didn't necessitate the semver incompatible version bump. Fortunately, version 0.43.0 of those crates or crates that depend on them have never been published, so we can pretend the bump never happened.
What's this all about?
Fixes: #2384 ⬅ Be sure to refer to an existing issue here!

Not sure why we keep throwing around the word "incompatible". Any change we make in 0.x is semver compliant; the crate is in pre-release.

It's a strong convention in the Rust community. See SemVer Compatibility

Initial development releases starting with "0.y.z" can treat changes in "y" as a major release, and "z" as a minor release. "0.0.z" releases are always major changes. This is because Cargo uses the convention that only changes in the left-most non-zero component are considered incompatible.

I see thanks! I haven't heard of this until now. So really this is more about being Cargo-flavored semver incompatible. Not sure we follow that but if the ecosystem is rallying around this, it's probably looking into.

When a crate (like parking-lot and many others) has the following dependency in its Cargo.toml (omitting features):
[dependencies]
windows-sys = "0.42.0"

what cargo reads is "the crate can use any 0.42.* version".
When windows-sys goes from 0.42.0 to 0.43.0, it means those crates need updated dependencies to pick the new version, while the new version has no change that would break any of the crates that depend on 0.42.0.

if the ecosystem is rallying around this

that's how the cargo ecosystem has worked for something like 7 years, FWIW.

I don't think it makes sense for crate owners to have to care about this until 1.x, but that's just my opinion not the crate's. 🙃

Please limit the change to the crates in the targets folder. That should suffice for this PR. Thanks!


data files version

hi thanks for sharing, do i need to only upgrade VPK from version 1.0 to 1.1 or i also need update the data files for version 1.1?thank you

Only the VPK

thank you for the information


V9.x on Debian Sid results in black screen

Since V9 .x update on Sid i get a black screen after starting Tor Browser. Very annoying, not Tor browser on all boxes meanwhile. Thank you for your help

happened on my end too, I was able to see #942901 on the Debian bts and I followed the workaround and it worked. It has been integrated by upstream, we are probably going to have to either use the workaround provided or wait for a new release of torbrowser-launcher.
Either way it works.
https://github.com/micahflee/torbrowser-launcher/commits/develop

This issue is on Debian Stable/Buster too.
Bug link on Debian BTS

The workaround given by Paul Wise works, I tried and used it perfectly :)


Cannot find module cypress-image-diff-js/dist/plugin

I'm trying to run the plugin for the first time and I encounter the following problem, could you help me, please?
Error:
Error: Cannot find module '/Users/caiquecoelho/Documents/Projects/openid_server_code/node_modules/cypress-image-diff-js/dist/plugin'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:1098:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:1091:15)
    at resolveExports (node:internal/modules/cjs/loader:567:14)
    at Function.Module._findPath (node:internal/modules/cjs/loader:636:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
    at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/Users/caiquecoelho/Library/Caches/Cypress/13.6.0/Cypress.app/Contents/Resources/app/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
    at Function.Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/Users/caiquecoelho/Documents/Projects/openid_server_code/cypress.config.ts:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module.m._compile (/Users/caiquecoelho/Library/Caches/Cypress/13.6.0/Cypress.app/Contents/Resources/app/node_modules/ts-node/dist/index.js:857:29)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/caiquecoelho/Library/Caches/Cypress/13.6.0/Cypress.app/Contents/Resources/app/node_modules/ts-node/dist/index.js:859:16)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Function.Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at loadFile (/Users/caiquecoelho/Library/Caches/Cypress/13.6.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_require_async_child.js:89:14)
    at EventEmitter.<anonymous> (/Users/caiquecoelho/Library/Caches/Cypress/13.6.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_require_async_child.js:116:38)
    at EventEmitter.emit (node:events:517:28)
    at EventEmitter.emit (node:domain:489:12)

cypress.config.ts
import { defineConfig } from 'cypress';
import getCompareSnapshotsPlugin from 'cypress-image-diff-js/plugin';

export default defineConfig({
  e2e: {
    setupNodeEvents(on, originalConfig) {
      const config = getCompareSnapshotsPlugin(on, originalConfig);
      require('@cypress/grep/src/plugin')(config);
      getCompareSnapshotsPlugin(on, config);
      return require('./cypress/plugins/index.js')(on, config);
    },
    experimentalRunAllSpecs: true,
    specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
    baseUrl: 'http://localhost:9000',
    retries: {
      runMode: 1,
      openMode: 0,
    },
    experimentalMemoryManagement: true,
    numTestsKeptInMemory: process.env.CI ? 0 : 10,
  },
  chromeWebSecurity: false,
  defaultCommandTimeout: 10000,
  requestTimeout: 25000,
  responseTimeout: 25000,
  env: {
    grepFilterSpecs: true,
    grepOmitFiltered: true
  }
});

System:
Mac Os 14.1 (23B74)
Cypress: 13.6.0

@CaiqueCoelho We have just released version 2.1.0, please upgrade your package and see if the error still persists.
Side note: I've noticed you have initialized our plugin twice, can you confirm if it's just a copy and paste problem?

Hi @kien-ht I recently updated the plugin and also read the previous issue. I followed the steps but still got an error.
Configuration
// cypress.config.js
const { defineConfig } = require("cypress");
const getCompareSnapshotsPlugin = require('cypress-image-diff-js/plugin');
module.exports = defineConfig({
e2e: {
video: false,
setupNodeEvents(on, config) {
  return getCompareSnapshotsPlugin(on, config);
},

},
});
// cypress-image-diff.config.cjs
const config = {
ROOT_DIR: 'cypress/Visua_Test',
REPORT_DIR: 'cypress/Report/html-report',
SCREENSHOTS_DIR: 'screenshots',
FAILURE_THRESHOLD: 0.1,
RETRY_OPTIONS: {
log: true,
limit: 2, // max number of iterations
timeout: 30000, // time limit in ms
delay: 300, // delay before next iteration, ms
},
FAIL_ON_MISSING_BASELINE: true,
COMPARISON_OPTIONS: { threshold: 0.2 },
JSON_REPORT: {
FILENAME: 'cypress_visual_report',
OVERWRITE: false,
},
CYPRESS_SCREENSHOT_OPTIONS:{
capture: 'fullPage',
disableTimersAndAnimations: true,
}
};
module.exports = config;
e2e.js
const compareSnapshotCommand = require('cypress-image-diff-js/command');
compareSnapshotCommand();
import './commands'
package-lock

@camhost01, I've just created a working integration example here. Please take a look and see if you have any misconfig parts.

Hi @kien-ht  I checked the Java configuration and they are the same. I notice that in your example, the cypress.config.js is the same compared with TypeScript. Is that correct? the issue that I facing is related in the const definition

Look what I have
cypress-image-diff.config.cjs

cypress.config.js

e2e.js

dependencies

I think I do not need an extra configuration to run the plugin, right?

Yes correct. Configuration file is optional, used in case you want to change the default behaviour of this plugin.
May I suggest you two things:

Clean cache the node_modules and reinstall again.
Pull the actual code of the example I provided above, and run it locally to see if you see any problems. I believe I wrote a README.md in the respective example folder, in case you struggle to make it run.

Hi @kien-ht I checked the Java configuration and they are the same. I notice that in your example, the cypress.config.js is the same compared with TypeScript. Is that correct? the issue that I facing is related in the const definition

Look what I have cypress-image-diff.config.cjs
cypress.config.js
e2e.js
dependencies
I think I do not need an extra configuration to run the plugin, right?

I updated to V2.1.1 and did follow this step but still found error same as you
I tried to clean node_modules many times but still found this error

Same error, using it in a NextJS Typescript project.

@camhost01, I've just created a working integration example here. Please take a look and see if you have any misconfig parts.

I am seeing the same issue as others within this thread.
I have downloaded the example project linked, and ran the following: npm install and npm run test. I am presented with the following error:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

🎉 This issue has been resolved in version 2.1.2 🎉
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot 📦🚀

Thank you for the excellent support. I was able to run through that point. However, I encountered another error. #198

Thank you so much @kien-ht  @PippoRaimondiDIT now it works :D


Add resizable panes to layout

This PR adds Split Grid to allow for resizing of the components/data panel split. An initial stab at this...see what you think to the code organisation/approach.
Also as an aside, there seems to be some funky tabbing/alignment going on in the panel.html code. May be worth us settling on a standard.

Also as an aside, there seems to be some funky tabbing/alignment going on in the panel.html code. May be worth us settling on a standard.

I've set up an action that runs prettier on changed files and commits them automatically, but on PRs from forks it doesn't look the the GitHub actions is even working

Weird jumping happening in the simulator but not when loaded as an extension
I'll merge this and do the refactor to a function instead of the massive inline attribute 😄

@stephenoldham Actually after I changed it up to use a function instead of all the devtools panel code being inline, I get the same issue in Devtools:

Sorry dude I missed these comments. Some slightly odd styling of the gutter going on there too. That's Firefox eh?

Sorry dude I missed these comments. Some slightly odd styling of the gutter going on there too. That's Firefox eh?

Yeah it was an issue whereby the panel width goes to 0 when you go to another tab so it always defaults back to portrait.
Worked around it by caching & using the last non-zero width to compute the layout

Nice catch 👌🏼


Add a scale-test counter for expression type checking.

Also add the first example of using the counter to test for
known-exponential typechecking behavior for nil-coalescing.

@graydon Does this look approximately reasonable?

@swift-ci Please smoke test and merge

The Linux failure is one that I saw on a builder recently, but
@swift-ci Please smoke test Linux platform

Hey cool! LGTM!


Publish storybook along with Volto documentation

We now have storybook integration, but we should also publish it somewhere online.

@tiberiuichim maybe storybook.voltocms.com (for now until we find a better place for it)? I could set up the DNS entry. Or we register plone6.com ;)


Converting chatterbot used py to exe

After converting a simple chatbot program (using chatterbot module) to exe i encountered thousands of module not found runtime error when i run the exe file.... I simply keep adding hidden imports while compiling to exe using pyinstaller but i am tired now as there are tons of hidden modules require i guess...... So is there any easy way to solve the error???

use docker https://github.com/gunthercox/ChatterBot/pull/617/files

I'm not aware of a good way to convert a python project with several dependencies into an exe file.


Incorrect hyperlinks to "Step 1: Plan the Web Application Proxy Infrastructure"

The article contains some incorrect hyperlinks:

Two links "Additional Authentication Methods" point to Step 1: Plan the Web Application Proxy Infrastructure, which does not discuss authentication methods. Those links should perhaps point to Configure Additional Authentication Methods for AD FS, instead.
One link "Manage Risk with Additional Multi-Factor Authentication for Sensitive Applications" likewise points to Step 1: Plan the Web Application Proxy Infrastructure. That link should perhaps point to Manage Risk with Additional Multi-Factor Authentication for Sensitive Applications, instead.

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

ID: 432d0552-7fd9-7220-c5b2-3dd726ce54fa
Version Independent ID: fa375dbe-43da-abcc-bc52-87f48b3d0b0c
Content: Build a Custom Authentication Method for AD FS in Windows Server
Content Source: WindowsServerDocs/identity/ad-fs/development/ad-fs-build-custom-auth-method.md
Product: windows-server
Technology: ad-fs
GitHub Login: @billmath
Microsoft Alias: billmath

@KalleOlaviNiemitalo : Thank you for reporting and even more so for including detailed suggestions for what the links should be instead.
I will have a go at updating the links, hopefully this weekend.

#assign:IngridAtMicrosoft
gh issue comment 4998 -b #assign:IngridAtMicrosoft

#assign:IngridAtMicrosoft

#assign:xelu86

Hello @KalleOlaviNiemitalo,
You're correct, apologies. Links now point to the correct paths. Please allow up to the next business day for these changes to be live.
Have a most pleasant day.


bad line length character: <htm

Description
I will encounter this error when I execute push when using nginx reverse proxy
Enumerating objects: 492, done.
Counting objects: 100% (492/492), done.
Delta compression using up to 12 threads
Compressing objects: 100% (414/414), done.
Writing objects: 100% (492/492), 229.61 KiB | 229.61 MiB/s, done.
Total 492 (delta 59), reused 492 (delta 59), pack-reused 0
fatal: protocol error: bad line length character: <htm
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly

nginx log
[error] 27114#0: *217529 attempt to set status 403 via ngx.exit after sending out the response status 200, client: <IP_ADDRESS>, server: ww.www, request: ＂POST /lingling/text66.git/git-receive-pack HTTP/2.0＂

Gitea Version
1.17.1 built with GNU Make 4.1, go1.18.5 : bindata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
Nov 14 21:46:37 lingling gitea[27307]: 2022/11/14 21:46:37 [637246bd] router: completed GET /lingling/text66.git/info/refs?service=git-receive-pack for <IP_ADDRESS>:0, 401 Unauthorized in 3.3ms @ repo/http.go:532(repo.GetInfoRefs)
Nov 14 21:46:37 lingling gitea[27307]: 2022/11/14 21:46:37 ...dules/git/command.go:153:Run() [D] [637246bd-2] /var/lib/gitea/data/gitea-repositories/lingling/text66.git: /usr/bin/git -c credential.helper= -c filter.lfs.required= -c filte
Nov 14 21:46:37 lingling gitea[27307]: 2022/11/14 21:46:37 [637246bd-2] router: completed GET /lingling/text66.git/info/refs?service=git-receive-pack for <IP_ADDRESS>:0, 200 OK in 26.1ms @ repo/http.go:532(repo.GetInfoRefs)
No response
Screenshots
No response
Git Version
2.17.1
Operating System
ubuntu 18
How are you running Gitea?
I am running the official downloaded binaries through systemctl
Database
MySQL

This problem doesn't occur when I don't use a reverse proxy

It should be a reverseproxy configuration problem.

应该是reverseproxy配置问题。

我是按照官方文档配置的反向代理 我也不知道为啥 老哥可以看看你的配置吗

反向代理配置如下
    location / {
        proxy_pass http://<IP_ADDRESS>:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

ngx.exit is a Lua method.
Check your nginx config. Or, please provide a simple reproducible demo for debugging purpose.
It doesn't seem to be a Gitea problem.


fix(input): error in IE on unsupported input types

Fixes IE throwing a template error and stopping all rendering if an unsupported input type is set on an md-input instance.

@crisbeto this will be obsolete with #1858


BUG-ID: CLOUDSTACK-8483 -  Private template not visible in project

added new 'projectId' parameter in createTemplate command and based current user, account and projectid decide the owner of the template.
Problem: Template created using createTemplte API within project context is not visible in project view.
Root Cause: CeateTemplate API does not have projectId parameter and hence it creates the template against the caller's account id.
Solution: A new parameter 'projectId' has been added to createTemplate command and the ownership is decided based on current user account and projectid.

Do we really need projectId here?  The api doc says "A template created from this command is automatically designated as a private template visible to the account that created it."

@sudhansu7 can you reply to @karuturi ? thanks. Otherwise this will stay stuck waiting for your answer.

@karuturi
When a user switches to project view the ownership changes to project account. So any resource created inside project view should be mapped to project account.

There is an API change. Should this go into master only?

@karuturi @kishankavala can you answer @bhaisaab or add your LGTM?

with the new changes, looks good to me :+1:

@sudhansu7 can you please rebase the changes for master?


Quick fix to correct qualified names to indexed access types

Fixes #17461

@aozgaa no, I didn't generalize the check, but I can at a later point. I did add a negative fourslash test, and augmented the tests added in #17459.


BUG: AttributeError: 'float' object has no attribute 'shape'

Describe your issue.
I tried to plot QQ plot by using stats.probplot, but raised AttributeError.

Reproducing Code Example
stats.probplot(
    df['col'],
    dist="norm",
    plot=pylab
    )
pylab.show()

Error message
AttributeError: 'float' object has no attribute 'shape'

SciPy/NumPy/Python version information
1.7.3 1.21.6 sys.version_info(major=3, minor=7, micro=15, releaselevel='final', serial=0)

Thanks for reporting. Does adding df['col'].to_numpy() change anything? If not could you please provide a reproducible example that can be ran.

I cannot reproduce this in main, at least not without pylab, which makes me suspect that it's a pylab issue if anything.
import numpy as np
import pandas as pd
from scipy import stats
df = pd.DataFrame({'x': np.random.rand(100), 'col': np.random.rand(100)})
stats.probplot(
    df['col'],
    dist="norm",
    )

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from scipy import stats
ax = plt.subplot()
df = pd.DataFrame({'x': np.random.rand(100), 'col': np.random.rand(100)})
stats.probplot(
    df['col'],
    dist="norm",
    plot=ax
    )

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from scipy import stats
df = pd.DataFrame({'x': np.random.rand(100), 'col': np.random.rand(100)})
stats.probplot(
    df['col'],
    dist="norm",
    plot=plt
    )
plt.show()
@bhaskoro-muthohar please try using `matplotlib` directly instead of `pylab` and upgrading to the latest version of SciPy (1.9.3). If the problem persists, please reopen this issue, providing complete code to reproduce the problem (including any code to generate a Pandas dataframe) and including a complete stack trace of the error (i.e. so we can see where the `AttributeError` is generated). I'll close in the meantime.

Thanks for reporting. Does adding df['col'].to_numpy() change anything? If not could you please provide a reproducible example that can be ran.

It does not work, still raised the same error.
Here I'm using google colab and using bigquery public data, you need to use bigquery api tho.
from google.colab import auth

auth.authenticate_user()

%load_ext google.cloud.bigquery

%%bigquery test --project [your BQ project name]
SELECT name, SUM(number) as count
FROM `bigquery-public-data.usa_names.usa_1910_current`
GROUP BY name
ORDER BY count DESC

test.head(10)

from scipy import stats

stats.probplot(
    test['count'].to_numpy(),
    dist="norm",
    )
pylab.show()

raised
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-9-eaf90185aa1a>](https://localhost:8080/#) in <module>
      1 stats.probplot(
      2     test['count'],
----> 3     dist="norm",
      4     # plot=pylab
      5     )

3 frames
[/usr/local/lib/python3.7/dist-packages/scipy/stats/morestats.py](https://localhost:8080/#) in probplot(x, sparams, dist, fit, plot, rvalue)
    602     if fit:
    603         # perform a linear least squares fit.
--> 604         slope, intercept, r, prob, _ = stats.linregress(osm, osr)
    605
    606     if plot is not None:

[/usr/local/lib/python3.7/dist-packages/scipy/stats/_stats_mstats_common.py](https://localhost:8080/#) in linregress(x, y, alternative)
    153     #   ssxm = mean( (x-mean(x))^2 )
    154     #   ssxym = mean( (x-mean(x)) * (y-mean(y)) )
--> 155     ssxm, ssxym, _, ssym = np.cov(x, y, bias=1).flat
    156
    157     # R-value

<__array_function__ internals> in cov(*args, **kwargs)

[/usr/local/lib/python3.7/dist-packages/numpy/lib/function_base.py](https://localhost:8080/#) in cov(m, y, rowvar, bias, ddof, fweights, aweights, dtype)
   2516             w *= aweights
   2517
-> 2518     avg, w_sum = average(X, axis=1, weights=w, returned=True)
   2519     w_sum = w_sum[0]
   2520

<__array_function__ internals> in average(*args, **kwargs)

[/usr/local/lib/python3.7/dist-packages/numpy/lib/function_base.py](https://localhost:8080/#) in average(a, axis, weights, returned)
    413
    414     if returned:
--> 415         if scl.shape != avg.shape:
    416             scl = np.broadcast_to(scl, avg.shape).copy()
    417         return avg, scl

AttributeError: 'float' object has no attribute 'shape'

I'm tried to use matplotlib but still raised the same error. The issue is on the dataframe that produced by bigquery magic I used https://cloud.google.com/python/docs/reference/bigquery/latest/magics, when I tried to read dataframe manually by using pd.read_csv('xxx.csv') the plot works just fine!

you need to use bigquery api tho.

There are other ways. For instance, you could create a gist with the data included in the file, or you could find a smaller example that reproduces the problem by looking at the data in the Series you extract.
What is the dtype of count? We'd expect it to be an integer, but does it turn out to be something else? Does it have infs or nans?

OK, I think I've found the issue. Probplot will raise an error if the data frame input is coming from Bigquery, otherwise it's fine.
Here's the example:
from google.cloud import bigquery
from scipy import stats
import pandas as pd

client = bigquery.Client(project='[insert_your_project_name_here]')

sample_count = 2000
df = client.query('''
  SELECT
    name,
    SUM(number) AS count
  FROM `bigquery-public-data.usa_names.usa_1910_current`
  GROUP BY 1
  ''').to_dataframe()

stats.probplot(
    df["count"],
    dist="norm",
    )
pylab.show()

raised
from google.cloud import bigquery
from scipy import stats
import pandas as pd

client = bigquery.Client(project='[insert_your_project_name_here]')

sample_count = 2000
df = client.query('''
  SELECT
    name,
    SUM(number) AS count
  FROM `bigquery-public-data.usa_names.usa_1910_current`
  GROUP BY 1
  ''').to_dataframe()

stats.probplot(
    df["count"],
    dist="norm",
    plot=pylab
    )
pylab.show()

But, if I write the data frame from BQ to csv then write the csv again as data frame, it works just fine!
from google.cloud import bigquery
from scipy import stats
import pandas as pd

client = bigquery.Client(project='[insert_your_project_name_here]')

sample_count = 2000
df = client.query('''
  SELECT
    name,
    SUM(number) AS count
  FROM `bigquery-public-data.usa_names.usa_1910_current`
  GROUP BY 1
  ''').to_dataframe()

df.to_csv('df.csv')

df2 = pd.read_csv('df.csv')

stats.probplot(
    df2["count"],
    dist="norm",     )
pylab.show()

It's weird. Any thoughts sir @mdhaber @j-bowhay ?

Almost certainly, the data type of the data in the Pandas DataFrame create by bigquery is object.  I can recreate the problem with numpy with data type object:
In [140]: from scipy.stats import probplot

In [141]: a = np.arange(20.0).astype(object)

In [142]: probplot(a, dist='norm')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[... snip ...]
File /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:554, in average(a, axis, weights, returned, keepdims)
    550     avg = np.multiply(a, wgt,
    551                       dtype=result_dtype).sum(axis, **keepdims_kw) / scl
    553 if returned:
--> 554     if scl.shape != avg.shape:
    555         scl = np.broadcast_to(scl, avg.shape).copy()
    556     return avg, scl

AttributeError: 'float' object has no attribute 'shape'

Try passing df['col'].to_numpy(dtype=float) to probplot.

Almost certainly, the data type of the data in the Pandas DataFrame create by bigquery is object. I can recreate the problem with a numpy array with data type object:
In [140]: from scipy.stats import probplot

In [141]: a = np.arange(20.0).astype(object)

In [142]: probplot(a, dist='norm')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[... snip ...]
File /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/numpy/lib/function_base.py:554, in average(a, axis, weights, returned, keepdims)
    550     avg = np.multiply(a, wgt,
    551                       dtype=result_dtype).sum(axis, **keepdims_kw) / scl
    553 if returned:
--> 554     if scl.shape != avg.shape:
    555         scl = np.broadcast_to(scl, avg.shape).copy()
    556     return avg, scl

AttributeError: 'float' object has no attribute 'shape'

Try passing df['col'].to_numpy(dtype=float) to probplot.

Yess, it's worked like a charm! Thanks!!

It looks like the average of something is a Python float rather than a NumPy scalar. What is type(sum(df["count"]))?


Feature request: fully dynamic execution pool

Related to #900
It should be possible to expand and contract the number of workers attached to a parsl session. Right now it seems that we can only expand using the 'simple' strategy, and in a very strange way (where it almost immediately goes to max_blocks).
For instance:

set a target time for the whole processing workflow to complete
accumulate statistics for N jobs (N~100), use this to estimate time to completion
if time to completion is > M sigma (M ~2-3) from target time, submit enough managers to bring the expected completion time to the target time.
If execution is finished (empty task queue) for a manager for > X minutes (X ~10) remove that manager from the pool.

do not remove manager if number of managers < min managers

Maybe it would be interesting to expose the strategy interface to parsl users rather than using the hard-coded set of strategies now. Some raw data is collected through monitoring which might support other interesting strategies.


DD/MM/YYYY format is  not working when we use minDate and MaxDate

Hello,
First let me thank you for this great project. I'm currently facing the following problem, i am setting date format is DD/MM/YYY with minDate and maxDate specified. I am facing problem like, its always taking MM/DD/YYYY format instead of DD/MM/YYYY.
I have created jsfiddle. Please refer the following URL.
URL: http://jsfiddle.net/Jalandharp/mw61971w/1/
Please can you help me how to get dates with DD/MM/YYYY format if we are specifying minDate and maxDate.

When I use the format DD/MM/YYYY it doesn't accept default value


install-gpu-azure : exception "The nvidia driver version ... does not give good results ..."

Hi, when running lesson 1 on azure gpu (Standard NC6 with Ubuntu 16.04) the following exception is thrown :
Exception: The nvidia driver version installed with this OS does not give good results for reduction.Installing the nvidia driver available on the same download page as the cuda package will fix the problem: http://developer.nvidia.com/cuda-downloads
I tried others nvidia drivers without luck. But installing cuda-8 instead on 9 solved it for me. In my local version of install-gpu-azure.sh in replaced :
sudo apt-get -y install cuda
with
sudo apt-get -y install cuda-8-0
It fixed the problem.

This was also a fix for me running on a home machine with ubuntu 16.04 and an nvidia GeForce GTX 1060 6GB.


Enable opening an isolated REPL

For a buffer number x of filetype ft, first check if x is in s:term_buffer_nr, then check if ft is in s:term_buffer_nr.
Mapping?

Fixed in branch testing.