http proxy does not work!

I need to run telegram-bot-api as a local API server. I followed the instructions. I run the server by this command:

telegram-bot-api --api-id=123456789 --api-hash=abcdefg --local -v 3 --proxy=http://111.222.333.444:1234

When I send some messages to my telegram bot, I get some logs in my local telegram-bot-api server and it does not respond correctly.
It seems that http-proxy does not set correctly and telegram-bot-api has some problems in sending handshake packets!
Note that I used this local API by setting VPN on my server and it worked! But I need to use http-proxy for some security reasons.
These are the logs:

[ 3][t 1][1716444480.510502099][RawConnection.cpp:95][#7138222303][!PingActor<[<IP_ADDRESS>:5222] to DcId{1} from [<IP_ADDRESS>:53778]>]   Send handshake packet:
[ 2][t12][1716444481.273466110][Stats.cpp:34][!RunOnSchedulerWorker]       CPU usage: 2.435530%
[ 3][t 1][1716444482.241679191][ConfigManager.cpp:795][#7138222303][!Recoverer][&config_recoverer] Failed to connect for 207.527477 seconds
[ 3][t 1][1716444482.241730213][ConfigManager.cpp:824][#7138222303][!Recoverer][&config_recoverer] Ask simple config with turn 32
[ 3][t 1][1716444482.241744995][ConfigManager.cpp:221][#7138222303][!Recoverer][&config_recoverer] Request simple config from https://firebaseremoteconfig.googleapis.com/v1/projects/peak-vista-421/namespaces/firebase:fetch?key=AIzaSyC2-kAkpDsroixRXw-sTw-Wfqo4NxjMwwM
[ 2][t12][1716444482.273231983][Stats.cpp:34][!RunOnSchedulerWorker]       CPU usage: 2.384688%
[ 3][t 1][1716444482.724459171][ConfigManager.cpp:693][#7138222303][!Recoverer][&config_recoverer] Get SimpleConfig error [Error : 0 : HTTP error: 403]
[ 3][t 1][1716444482.724491119][ConfigManager.cpp:795][#7138222303][!Recoverer][&config_recoverer] Failed to connect for 208.010288 seconds
[ 3][t 1][1716444482.724519968][ConfigManager.cpp:869][#7138222303][!Recoverer][&config_recoverer] Wakeup in 5000.0ms
[ 2][t12][1716444483.273335218][Stats.cpp:34][!RunOnSchedulerWorker]       CPU usage: 2.451253%
[ 2][t12][1716444484.273555994][Stats.cpp:34][!RunOnSchedulerWorker]       CPU usage: 2.501251%
[ 3][t 1][1716444484.802396059][ConnectionCreator.cpp:961][#7138222303][!PingActor<[<IP_ADDRESS>:443] to DcId{1} from [<IP_ADDRESS>:53800]>][&connections] Failed connection (checked) [Error : 0 : Pong timeout expired] [<IP_ADDRESS>:443] to DcId{1} from [<IP_ADDRESS>:53800]
[ 3][t 1][1716444484.802428960][ConnectionCreator.cpp:820][#7138222303][!ConnectionCreator][&connections]  In client_loop: [client:0xe8d0ca4a]
[ 3][t 1][1716444484.802458286][ConnectionCreator.cpp:711][#7138222303][!ConnectionCreator][&connections]  Create: [[2001:b28:f23d:f001::a]:80] to DcId{1}
[ 2][t 1][1716444484.802539110][ConnectionCreator.cpp:888][#7138222303][!ConnectionCreator]        [[2001:b28:f23d:f001::a]:80] to DcId{1}: [PosixError : Network is unreachable : 101 : Failed to connect to [[2001:b28:f23d:f001::a]:80]]
[ 3][t 1][1716444484.802555084][ConnectionCreator.cpp:996][#7138222303][!ConnectionCreator][&connections]  [client:0xe8d0ca4a] set timeout in 0.099998
[ 3][t 1][1716444484.903051137][ConnectionCreator.cpp:1027][#7138222303][!ConnectionCreator][&connections] [hash:0xe8d0ca4a] wakeup
[ 3][t 1][1716444484.903082132][ConnectionCreator.cpp:820][#7138222303][!ConnectionCreator][&connections]  In client_loop: [client:0xe8d0ca4a]
[ 3][t 1][1716444484.903111934][ConnectionCreator.cpp:711][#7138222303][!ConnectionCreator][&connections]  Create: [[2001:b28:f23d:f001::a]:5222] to DcId{1}
[ 2][t 1][1716444484.903212070][ConnectionCreator.cpp:888][#7138222303][!ConnectionCreator]        [[2001:b28:f23d:f001::a]:5222] to DcId{1}: [PosixError : Network is unreachable : 101 : Failed to connect to [[2001:b28:f23d:f001::a]:5222]]
[ 3][t 1][1716444484.903232097][ConnectionCreator.cpp:996][#7138222303][!ConnectionCreator][&connections]  [client:0xe8d0ca4a] set timeout in 0.099997
[ 3][t 1][1716444485.003803968][ConnectionCreator.cpp:1027][#7138222303][!ConnectionCreator][&connections] [hash:0xe8d0ca4a] wakeup
[ 3][t 1][1716444485.003838062][ConnectionCreator.cpp:820][#7138222303][!ConnectionCreator][&connections]  In client_loop: [client:0xe8d0ca4a]
[ 3][t 1][1716444485.003866910][ConnectionCreator.cpp:711][#7138222303][!ConnectionCreator][&connections]  Create: [[2001:b28:f23d:f001::a]:443] to DcId{1}
[ 2][t 1][1716444485.003984928][ConnectionCreator.cpp:888][#7138222303][!ConnectionCreator]        [[2001:b28:f23d:f001::a]:443] to DcId{1}: [PosixError : Network is unreachable : 101 : Failed to connect to [[2001:b28:f23d:f001::a]:443]]
[ 3][t 1][1716444485.004005193][ConnectionCreator.cpp:996][#7138222303][!ConnectionCreator][&connections]  [client:0xe8d0ca4a] set timeout in 0.099998
[3][t 1][1716444485.104463100][ConnectionCreator.cpp:1027][#7138222303][!ConnectionCreator][&connections] [hash:0xe8d0ca4a] wakeup
[ 3][t 1][1716444485.104496955][ConnectionCreator.cpp:820][#7138222303][!ConnectionCreator][&connections]  In client_loop: [client:0xe8d0ca4a]
[ 3][t 1][1716444485.104526281][ConnectionCreator.cpp:711][#7138222303][!ConnectionCreator][&connections]  Create: [<IP_ADDRESS>:443] to DcId{1}
[ 3][t 1][1716444485.104738235][ConnectionCreator.cpp:791][#7138222303][!ConnectionCreator][&connections]  Create new direct connection [<IP_ADDRESS>:443] to DcId{1} from [<IP_ADDRESS>:39052]
[ 3][t 1][1716444485.105878114][ConnectionCreator.cpp:982][#7138222303][!ConnectionCreator][&connections]  Start check: [<IP_ADDRESS>:443] to DcId{1} from [<IP_ADDRESS>:39052] without auth data

The option allows to set "HTTP proxy server for outgoing webhook requests in the format http://host:port". There is no option to set a proxy for interaction with Telegram. Instead, it is advisable to host Bot API on a server where Telegram isn't blocked.


Formatters that returns Promises

This is just how I could work I guess, thoughts?

With the state of the test suite this is something that might take some time to get this merged. This is to allow user-functions to be chained to the formatters right?

Nice idea, but there may be wide ranging implications with making formatters async that will require thorough testing to avoid breaking current code.

Well my use case is that if there is a link pasted in the editor I would like to substitute it with a [link src='' type=internal | external etc] and to be able to determine if it's a internal src I need to make a http get and therefor return a promise.
I guess most plugins won't need to return a promise and that works to, obviously we need to get the tests running, I might be able to help with that, just wanted to know if this is something you could see going in to the codebase.
I also would like to know if there's a better way to handle my use case but I still think it would be nice to have formatters able to handle promises if needed.
This might have a performance impact though and that could be a good reason not to make it work this way, I guess we could add async formatters instead of changing a current api.

Yeah, adding a specific async formatter is definitely going to be easier to get into production


Multilabel classification

@StevenGrove  hi thanks for sharing the code base , i have a query  can we consider the feature in the fine grained routing for multilabel classification problem like person attribute recognition like male female age and clothing ?
Thanks in advance

I think it probably works if you want to reduce the complexity. And for multi-class tasks, you can consider the routing process as a sigmoid-like multilabel classification.


AttributeError: 'VideoFileClip' object has no attribute 'subclip'

是否已存在类似问题？

[X] 我已搜索现有问题

当前行为
AttributeError: 'VideoFileClip' object has no attribute 'subclip'
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/MoneyPrinterTurbo/webui/Main.py", line 787, in
result = tm.start(task_id=task_id, params=params)
File "/MoneyPrinterTurbo/app/services/task.py", line 299, in start
final_video_paths, combined_video_paths = generate_final_videos(
File "/MoneyPrinterTurbo/app/services/task.py", line 176, in generate_final_videos
video.combine_videos(
File "/MoneyPrinterTurbo/app/services/video.py", line 68, in combine_videos
split_clip = clip.subclip(start_time, end_time)
预期行为
生成视频
重现步骤
1.docker-compose.exe up
2. 通过浏览器访问http://<IP_ADDRESS>:8501/
堆栈追踪/日志
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/MoneyPrinterTurbo/webui/Main.py", line 787, in
result = tm.start(task_id=task_id, params=params)
File "/MoneyPrinterTurbo/app/services/task.py", line 299, in start
final_video_paths, combined_video_paths = generate_final_videos(
File "/MoneyPrinterTurbo/app/services/task.py", line 176, in generate_final_videos
video.combine_videos(
File "/MoneyPrinterTurbo/app/services/video.py", line 68, in combine_videos
split_clip = clip.subclip(start_time, end_time)
Python 版本
v3.12
操作系统
windows11
MoneyPrinterTurbo 版本
MoneyPrinterTurbo v1.2.1
其他信息
No response

Please update the project to the latest version, and recreate the environment along with reinstalling the dependencies.

Please update the project to the latest version, and recreate the environment along with reinstalling the dependencies.

我git pull到最新版本，重新配置了config.tom1,结果，有问题如下图

I've met this problem too and I used gemini as LLM with docker starting up like him


feat: @oclif/multi-stage-output

What does this PR do?
Use new @oclif/multi-stage-output for org create scratch and org resume scratch
What issues does this PR fix or reference?
@W-16441894@

QA Notes

✅ : looks good

✅ : warnings at end
✅ : --async

✅ : org resume scratch

✅ : errors displayed nicely
✅ : able to re-attach to org and finish auth/settings/creation

✅ : no change to --json
✅ : can create sandbox - https://github.com/salesforcecli/plugin-org/actions/runs/10476681053/job/29016117698


E2E Pipeline: Fix pipeline timeout

We sometimes see errors in the e2e pipeline where it fails due to a 1h 30m timeout, example:

https://github.com/Expensify/App/actions/runs/10473547848/job/29008571128

The problem is that on AWS we sometimes have to wait for 30-60 minutes, until our job is started.
We can check if the provisioning in AWS can be improved, but meanwhile we'd suggest to simply increase the timeout for the e2e job.

cc @kirillzyusko

I think that issue can be closed since the the PR was merged!


keep shebang when formatting?

Is there a way to configure the formatter not to remove #!/usr/bin/env lua at the beginning of a file?

Sorry about that. Just fixed this in https://github.com/trixnz/lua-fmt/commit/9312765fc41118efc1520b26d4572c298696849a. Will be pushing a new build of vscode-lua shortly.

0.9.0 should be live now, works fine on my end :smile:

thanks!


Add mbmcsit.edu.np

@anwesh-b Please provide us with a proof, which shows that the school recognizes the domain mbmcsit.edu.np that you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@anwesh-b Thank you for the clarification. Pull request merged.


block_cache: check last block segment size

In the verified_segment_write, don't write past the end of the total number of blocks on the device.

@ringlej Thanks for submitting this. I finally got a chance to dig into the PR and saw that regression tests were failing. After thinking about it some, I made a bigger change to track a hard limit to the overall device size and introduce a --max-size option that I could use for new regression tests to verify the new partial write feature. I added details at #210.
I'm going to close this and move discussion to #210 or a new issue/PR.
Thanks again for bringing the need for <128KB destinations to my attention.


Highlight specific text in TextInput

Is there a way to highlight a specific text inside a textInput?

change background  textInput or add style for border

@riadhriadh I mean, highlight specific in a text-input. Ex: textInput value: hello world I want to only applied the text color to hello only


XInclude in <x:expect> not resolved

Seems that XIncludes in <x:expect> are not resolved.
Tried that as an alternative solution to #227 but
<x:expect label="should match the expected result.">
	<xi:include href="demo1/article.html"/>
</x:expect>

the XInclude is just parsed as a normal element.

This is by design at the moment.

#1128 supports this.
Usage is demonstrated in tests:

Saxon config
Ant command line


How can I sum amount in footer ?

Is it possible to sum the column amount in my footer ?

                                 id
                                 salary
                                 amount

                                 total amount:

Thank you in advance.

If you want to add the total amount, then you can just eloquent to get the sum like Salary::sum('amount') or something.
Another way, is by hooking on datatables events like draw callback then sum your amount and display it. Haven't tried this yet but some js codes should do this. And you would also need to look on datatables jquery api docs on how to it. http://datatables.net/reference/api/

@yajra , Thank you


Horizontal Scrolling

Hey,
I was wondering if you are open to adding horizontal scrolling to this module or if you want to keep it simple?
I'm asking because with PdfKit these things are quite trivial, but on Android it would require a few more adjustments.
Best,
Finn

Yeah, probably this will require a lot of work because of zoom of the RecyclerView.

+1 for horizontal scrolling. Anything we can help to make this happen?

I believe we'll need to do the following:

Change the layout orientation: https://github.com/douglasjunior/react-native-pdf-renderer/blob/d3ba0cf1b96118f8899b79b4a5cb5ab1976d6e9c/android/src/main/java/com/github/douglasjunior/reactNativePdfRenderer/modules/PdfRendererRecyclerView.java#L79
Update the page size and margin calculation: https://github.com/douglasjunior/react-native-pdf-renderer/blob/d3ba0cf1b96118f8899b79b4a5cb5ab1976d6e9c/android/src/main/java/com/github/douglasjunior/reactNativePdfRenderer/modules/PdfRendererRecyclerView.java#L427-L433
Adjust horizontal scrolling to manage the scroll speed when zoomed in: https://github.com/douglasjunior/react-native-pdf-renderer/blob/d3ba0cf1b96118f8899b79b4a5cb5ab1976d6e9c/android/src/main/java/com/github/douglasjunior/reactNativePdfRenderer/modules/PdfRendererRecyclerView.java#L460
Perform regression tests to ensure that everything is working properly and nothing is broken.

Hi, please can it support text reflow ? If yes how can it be done ?


Fix URL request parsing.

Scope & Purpose
Fix URL request parsing in case data is handed in in small chunks. Previously the URL could be cut off if the chunk size was smaller than the URL size.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[x] :book: CHANGELOG entry made

Backports:

[x] Backports required for: 3.6, 3.7, 3.8

Testing & Verification

[x] This PR adds tests that were used to verify all changes:

[x] Added new integration tests in shell_client_aql

Tested the fix manually and works for me! :+1:


Notebook should have toggle commands for all layout command

Today, notebooks have Toggle Breadcrumb but only (Show) Outline and (Show) Variables. The latter are unfriendly/destructive because they provide a simple way into a UX change without a simple way out of that

Moving to vscode-jupyter for triage.


MEM section says to refer to MEM section for information not found in MEM section

Spent about 10 minutes going in circles trying to figure this one out.
I am implementing the same rule used in the MEM example, "Block abuse of exploited vulnerable signed drivers." The example provides a link to find the required GUID, which I found fairly easily. However, for the required OMA-URI, it says to "Refer to the MEM section earlier in this article for the OMA-URI to use for this example rule."
The MEM section says to refer to "the MEM section earlier in this article," which I assume is referring to itself. Additionally, the MEM section does not mention the OMA-URI being used. Only later in the MDM section can I find what I assume is the correct OMA-URI:
./Vendor/MSFT/Policy/Config/Defender/AttackSurfaceReductionRules

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

ID: 1a360dd4-bb59-9f48-b182-8eaaf9e20a82
Version Independent ID: 54c5dde8-f8f1-4dd3-5408-12d2dc480970
Content: Enable attack surface reduction rules
Content Source: microsoft-365/security/defender-endpoint/enable-attack-surface-reduction.md
Product: m365-security
Technology: mde
GitHub Login: @jweston-1
Microsoft Alias: v-jweston

@jdgregson Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/7596
Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @jdgregson Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Awesome, thanks for the quick update! Glad to help whenever I can.


BannerlordTweaks greyed out on mod selection

Attempted restarts, reinstalling, updating all mods, playing without any other mods. Might be an issue with FixedLauncher, not sure, but the mod is only able to run when entirely on its own.

Make sure that you have ModLib installed and activated before trying to activate BannerlordTweaks


GitHub Pages

Checklist

[x] I've looked at the contribution guidelines.
[x] This pull request is complete and ready for review.

Description

This pull request is based on #640.
The script requires 2 environment variables to run on Travis CI:

USERNAME - username of the repository's owner, raywenderlich in your case.
TOKEN - personal access token with public_repo permission.

The token is used only within the script for the 2 following purposes:

Increase the limit of network calls to GitHub API Markdown to 5000 per hour (unauthenticated request caps at 60).
Push to gh-pages remote branch.

Thanks @aquarchitect!
@vincentngo could you follow up with this?

@aquarchitect merging to see if this works.

@kelvinlauKL @aquarchitect waiting on the personal access token.

@kelvinlauKL please keep me informed on the progress.
The script to generate the page works locally. If you'd like to try, you can run it on a Mac or inside a Linux Docker container (for self-containing reasons).
On TravisCI, however, sometimes builds just exit at one of the tests without any reason or any helpful log. Here is the last one that TravisCI did on my fork. The GitHub page from my fork was generated and pushed manually.
Any idea/suggestion to make this working would be awesome.

@kelvinlauKL @vincentngo
The script ran in the last build - https://travis-ci.org/raywenderlich/swift-algorithm-club. Now we just need the token to push to gh_pages branch.
I can't wait for it to be live. 😄

@aquarchitect https://github.com/raywenderlich/swift-algorithm-club/tree/gh-pages
I just added the necessary username and tokens. Is there a way we can make this like .io/gh-pages?

@aquarchitect I guess this works: https://cdn.rawgit.com/raywenderlich/swift-algorithm-club/gh-pages/index.html

@vincentngo ya, the page is available at http://raywenderlich.github.io/swift-algorithm-club/.

@aquarchitect oh yea for sure! It could be as good as Big O Cheat sheet.

@vincentngo I make some changes to the script to do the following:

Move inline css to the main stylesheet.
Add responsive margin to the body.
Add title to the header.
Replace generated index.html with a parsed one from the main repo's README.markdown.
Parse other markdown files under Important Links section.

Do you know if the main README links to all of the algorithm articles?
Check out the result https://aquarchitect.github.io/swift-algorithm-club/.
It would be awesome if you have any idea/suggestion. Let me know if I can go ahead with a PR.

@aquarchitect yea! this is a good start!

@vincentngo Should I do a PR?

Yes please do!

@vincentngo thanks for merging so quick. What else do you think I can do to improve the GitHub pages?

I think this is great for now, let's see how much traction this gets. Planning to announce this in the next SAC article. Thanks for all your work! Overall I think this is really cool! @kelvinlauKL thoughts? We could definitely work on beautifying this even more in the future. We could open another issue/enhancement to discuss with the community further!

@vincentngo My end goal is to structure this like a book and create an ePub to read offline. Unfortunately, I don't know how to use Pandoc and Calibre properly to make a nice looking ePub 😞. So my thinking logic is eventually figuring out how to use pandoc/calibre to convert HTML to ePub.

Awesome progress 👍
Excited to see the future of this!


Fix travis builds by pinning glide to v0.12.3

Travis builds have been broken since glide 0.13.0, best guess is the issue has to do with: https://github.com/Masterminds/glide/issues/745
Eg broken builds:

https://travis-ci.org/m3db/m3db/builds/194081709
https://travis-ci.org/m3db/m3cluster/jobs/194083048

This patch pins the glide install to 0.12.3 which works around the issue for now.

/cc @xichen2020 @robskillington @kobolog @cw9

rant:
go get doesn't permit specifying versions in the install target, the official solution is gopkg but that doesn't permit specifying patch/minor versions for projects on major version 0:

Import paths take the major version only (.v0 instead of .v0.12.3); see docs at gopkg.in for the reasoning.

(via http://gopkg.in/glide.v0.12.3)
All this for glide, the tool to intended to make versioning simpler in golang.

Coverage increased (+0.07%) to 77.847% when pulling ded07268caaf853a3a4c281c0e9598d91312c299 on prateek/travis-glide-install-hack into f7d173ca5b37b7ce0ef9cbf86776a142cba648e0 on master.

 I meant to Approve with a LGTM, but I accidently merged this pr...

I reverted my merge... please feel free to reopen this pr @prateek

lol, all good. re-opened here - https://github.com/m3db/m3db/pull/226


Not scanned except the first file

Arch Linux
bash 4.4.012
git 2.16.1
git-secrets at master

Here is how to reproduce.
$ echo harmless > some.crt
$ echo forbidden > some.key # should be matched
$ git add -A
$ git secrets --scan some.crt some.key
(cause no errors)

pre-commit hook has same problem, since the internal behavior is almost the same as this.
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

    new file:   some.crt
    new file:   some.key

$ git commit -m 'commit'
 2 files changed, 2 insertions(+)
 create mode 100644 some.crt
 create mode 100644 some.key
(secret was committed)

I have fixed this problem so I will send a pull request soon.
P.S.
I have also passed test/pre-commit-hook.bats and found a small error. After this fix, all tests are passed successfully. But why did this fail while others are succeeded?

Hmmm, I failed some tests. I will check it after I get up tomorrow.
https://travis-ci.org/awslabs/git-secrets/builds/336661419

I'm not sure there are other environmental dependence problems, but I fixed one.
https://travis-ci.org/awslabs/git-secrets/builds/336837712
This part is serious, so I will report it when found.

Confirmed, only running on the first file for me.

This is still broken. Any chance of getting an update here?

Sorry for the delay. I've merged #67, so this is now resolved. Thanks for your contribution!

Never mind. I'm glad you came back! Thank you for merging.


how much size of DB it can handle

I am planning to use this for around 1 TB of database backup management.? Will it work out?
Also please give out some details about the high availability and failover of these backups.

Hi, by now the data flow from your mongoDB to local database is "your MongoDB" -> "the memory of the server that you deployed MDBBM" -> "your local Database", the data will be first stored in the memory , so I don't think MDBBM can handle that much of data now. But huge data handling is a very good point, thanks for considering my project as your choice for your data backup, I will change the data flow in the next release so that it can handle as big as 1TB data. :), I will let you know at that time.
For the availability and failover, if the backup failed, MDBBM will clear all the data that already backup to your local database, it won't have any write operations to your mongoDB, so don't need to worry about any loss of your data if the backup failed.

Hi, Anyone can help with this issue?


Python: support poetry as a build system

Describe the bug
https://github.com/sdispater/poetry can also be used as a PEP 517 build system. We could add a setup hook to support it.

This is actually already supported, all you need to do is to add format = "pyproject"; and add poetry as a build input to the derivation.

Doh, of course, I forgot that would already work. Thanks!

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/buildpythonpackage-pep518/27202/1


Patch version Istio 1.23.x not support K8s 1.31

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
K8s 1.31.0 Released at August 13th, 2024, as the discussion in https://github.com/istio/istio/discussions/52144#discussioncomment-10343054,

The plan is for 1.23.1 to support 1.31.

But just check Istio 1.23.1 https://github.com/istio/istio/blob/64cfafb98498c62fa35e981b95cb5c7a36678af8/prow/integ-suite-kind.sh#L40 and 1.23.2 https://github.com/istio/istio/blob/da0b3f29e9f9eef387691bdf5870a6d665c704c9/prow/integ-suite-kind.sh#L40
They only tested with K8s 1.30.0.
Suggest bump the test to 1.31.0 for Istio 1.23.x, so not blocking end user upgrade to K8s 1.31.
Version
$

Additional Information
No response

I think this is just not tested, does not mean istio cannot run within k8s 1.31


Fuzzing

So I fuzzed BDF with afl on the PE and Macho side.
No RCE (because python), but implement fuzzing detections like the ELF fuzzing from a while back.

dope

https://github.com/secretsquirrel/the-backdoor-factory#the-backdoor-factory-is-no-longer-maintained-or-supported


Autobackstab Backrack

i think whats missing the most is the autobackstab backtrack feature, one of the best features you could add

Shut up

shut up

Soon maybe, but again I don't wanna promise anything because I am genuinely braindead
https://user-images.githubusercontent.com/36936588/179366500-b67b4f02-c259-48de-9e70-21ea8b3653e6.mp4

Soon maybe, but again I don't wanna promise anything because I am genuinely braindead
hl2_IWygVSgIab.mp4

I'm down to help work on this with you but since how bt is set up it's not as easy as people think especially that guy who keeps making alt's to say the same thing

fuck you gabriel

Soon maybe, but again I don't wanna promise anything because I am genuinely braindead
hl2_IWygVSgIab.mp4

I'm down to help work on this with you but since how bt is set up it's not as easy as people think especially that guy who keeps making alt's to say the same thing

Sure, there's still a lot of things I need to do with backtrack and honestly the auto backstab seems like the most annoying to get working, so if you wanna do that for me (I'm retarded) then that'd be nice

Soon maybe, but again I don't wanna promise anything because I am genuinely braindead
hl2_IWygVSgIab.mp4

I'm down to help work on this with you but since how bt is set up it's not as easy as people think especially that guy who keeps making alt's to say the same thing

Sure, there's still a lot of things I need to do with backtrack and honestly the auto backstab seems like the most annoying to get working, so if you wanna do that for me (I'm retarded) then that'd be nice

arent you mfed youre the guy that helped me get auto backstab to work for bt in the discord

Yes i'm mfed, what do you mean helped you get auto backstab to work for bt?

Yes i'm mfed, what do you mean helped you get auto backstab to work for bt?

#include "AutoStab.h"
#include "../../Vars.h"
#include "../../Backtrack/Backtrack.h"
bool CAutoStab::CanBackstab(const Vec3& vSrc, const Vec3& vDst, Vec3 vWSCDelta)
{
vWSCDelta.z = 0;
vWSCDelta.NormalizeInPlace();
auto vecEyeSpy = Vec3();
Math::AngleVectors(vSrc, &vecEyeSpy);
vecEyeSpy.z = 0;
vecEyeSpy.NormalizeInPlace();

auto vecEyeVictim = Vec3();
Math::AngleVectors(vDst, &vecEyeVictim);
vecEyeVictim.z = 0;
vecEyeVictim.NormalizeInPlace();

if (vWSCDelta.Dot(vecEyeVictim) <= 0.01f)
	return false;

if (vWSCDelta.Dot(vecEyeSpy) <= 0.5f)
	return false;

if (vecEyeSpy.Dot(vecEyeVictim) <= -0.3f)
	return false;

return true;

}
bool CAutoStab::TraceMelee(CBaseEntity* pLocal, CBaseCombatWeapon* pWeapon, const Vec3& vViewAngles,
CBaseEntity** pEntityOut)
{
float flRange = (48.0f * Vars::Triggerbot::Stab::Range.m_Var);
if (flRange <= 0.0f)
	return false;

auto vForward = Vec3();
Math::AngleVectors(vViewAngles, &vForward);
Vec3 vTraceStart = pLocal->GetShootPos();
Vec3 vTraceEnd = (vTraceStart + (vForward * flRange));

CGameTrace Trace = {};
CTraceFilterHitscan Filter = {};
Filter.pSkip = pLocal;
Utils::TraceHull(vTraceStart, vTraceEnd, {-18.0f, -18.0f, -18.0f}, {18.0f, 18.0f, 18.0f}, MASK_SOLID, &Filter,
                 &Trace);

if (IsEntityValid(pLocal, Trace.entity))
{
	if (pEntityOut && !*pEntityOut)
		*pEntityOut = Trace.entity;

	return true;
}

return false;

}
bool CAutoStab::IsEntityValid(CBaseEntity* pLocal, CBaseEntity* pEntity)
{
if (!pEntity || !pEntity->IsAlive() || pEntity->GetTeamNum() == pLocal->GetTeamNum() || !pEntity->IsPlayer())
return false;
if (F::AutoGlobal.ShouldIgnore(pEntity)) { return false; }

return true;

}
void CAutoStab::RunLegit(CBaseEntity* pLocal, CBaseCombatWeapon* pWeapon, CUserCmd* pCmd)
{
CBaseEntity* pEnemy = nullptr;
if (!TraceMelee(pLocal, pWeapon, pCmd->viewangles, &pEnemy))
	return;

if (Vars::Triggerbot::Stab::IgnRazor.m_Var && pEnemy->GetClassNum() == CLASS_SNIPER &&
	pEnemy->GetWeaponFromSlot(SLOT_SECONDARY)->GetItemDefIndex() == Sniper_s_TheRazorback)
	return;

if (!CanBackstab(pCmd->viewangles, pEnemy->GetEyeAngles(),
                 (pEnemy->GetWorldSpaceCenter() - pLocal->GetWorldSpaceCenter())))
	return;

pCmd->buttons |= IN_ATTACK;
m_bShouldDisguise = true;

if (Vars::Misc::DisableInterpolation.m_Var)
{
	pCmd->tick_count = TIME_TO_TICKS(pEnemy->GetSimulationTime()
		+ std::max(g_ConVars.cl_interp->GetFloat(), g_ConVars.cl_interp_ratio->GetFloat() / g_ConVars.cl_updaterate
			->GetFloat()));
}

}
void CAutoStab::RunRage(CBaseEntity* pLocal, CBaseCombatWeapon* pWeapon, CUserCmd* pCmd)
{
for (const auto& pEnemy : g_EntityCache.GetGroup(EGroupType::PLAYERS_ENEMIES))
{
if (Vars::Triggerbot::Stab::IgnRazor.m_Var && pEnemy->GetClassNum() == CLASS_SNIPER &&
pEnemy->GetWeaponFromSlot(SLOT_SECONDARY)->GetItemDefIndex() == Sniper_s_TheRazorback)
continue;
	CBaseEntity* pTraceEnemy = nullptr;

	Vec3 vAngleTo = Math::CalcAngle(pLocal->GetShootPos(), pEnemy->GetHitboxPos(HITBOX_PELVIS));

	bool bBacktrackable = (!F::Backtrack.Record[pEnemy->GetIndex()].empty());

	Vec3 vBackupPos = pEnemy->GetAbsOrigin();

	if (bBacktrackable) {
		for (size_t t = 0; t < F::Backtrack.Record[pEnemy->GetIndex()].size(); t++)
		{
			if (F::Backtrack.IsGoodTick(t)) { continue; }
			auto playerbones = reinterpret_cast<matrix3x4*>(&F::Backtrack.Record[pEnemy->GetIndex()].at(t).BoneMatrix);
			Vec3 pelvisPos = Vec3(playerbones[HITBOX_PELVIS][0][3],
				playerbones[HITBOX_PELVIS][1][3],
				playerbones[HITBOX_PELVIS][2][3]);

			vAngleTo = Math::CalcAngle(pLocal->GetShootPos(), pelvisPos);

			pEnemy->SetAbsOrigin(F::Backtrack.Record[pEnemy->GetIndex()].at(t).AbsOrigin);
		}
	}

	if (!TraceMelee(pLocal, pWeapon, vAngleTo, &pTraceEnemy) || pTraceEnemy != pEnemy)
		continue;

	if (!CanBackstab(vAngleTo, pEnemy->GetEyeAngles(),
		(pEnemy->GetWorldSpaceCenter() - pLocal->GetWorldSpaceCenter())))
		continue;

	if (bBacktrackable) {
		pEnemy->SetAbsOrigin(vBackupPos);
	}

	if (Vars::Triggerbot::Stab::Silent.m_Var)
	{
		Utils::FixMovement(pCmd, vAngleTo);
		G::SilentTime = true;
	}

	pCmd->viewangles = vAngleTo;
	pCmd->buttons |= IN_ATTACK;
	m_bShouldDisguise = true;

	if (pCmd->buttons & IN_ATTACK) {
		if (!F::Backtrack.Record[pEnemy->GetIndex()].empty()) {
			pCmd->tick_count = TIME_TO_TICKS(F::Backtrack.Record[pEnemy->GetIndex()].back().SimulationTime);
		}
		else{
			pCmd->tick_count = TIME_TO_TICKS(pEnemy->GetSimulationTime());
		}
	}

	break;
}

}
void CAutoStab::Run(CBaseEntity* pLocal, CBaseCombatWeapon* pWeapon, CUserCmd* pCmd)
{
if (!Vars::Triggerbot::Stab::Active.m_Var || !G::WeaponCanAttack || pWeapon->GetWeaponID() !=
TF_WEAPON_KNIFE)
return;
if (Vars::Triggerbot::Stab::RageMode.m_Var)
	RunRage(pLocal, pWeapon, pCmd);

else RunLegit(pLocal, pWeapon, pCmd);

if (pCmd->buttons & IN_ATTACK)
	G::IsAttacking = true;

G::AutoBackstabRunning = true;

}

Yes i'm mfed, what do you mean helped you get auto backstab to work for bt?

oops how do i attach code again

Yes i'm mfed, what do you mean helped you get auto backstab to work for bt?
message (8).txt

u helped me code this horrible mess which at the time worked but now doesnt work anymore since i think its because of some get simulation time junk so feel free to fix, it only works on 1 game btw, what i mean by that is, u queue into a match and then if u go to another one, when it tries to backstab an enemy in that new match whatever it does the anim and the melee sound yet no hit registered

Mfw my brain has actually degraded over time

Mfw my brain has actually degraded over time

LOL

Soon maybe, but again I don't wanna promise anything because I am genuinely braindead
hl2_IWygVSgIab.mp4

I'm down to help work on this with you but since how bt is set up it's not as easy as people think especially that guy who keeps making alt's to say the same thing

Sure, there's still a lot of things I need to do with backtrack and honestly the auto backstab seems like the most annoying to get working, so if you wanna do that for me (I'm retarded) then that'd be nice

yeah yeah msg me on telegram: MrRealTime or discord: MrRealTime#3604 with what you've got so far

Well i'm still not happy with how it turned out, but it's working now.


L.latLngBounds swapping longitude of Northeast and Southwest point

Consider the example below
var southWest = L.latLng(-7.12725588946924, 159.14), northEast = L.latLng(70.0415297179124, 24.855900000000005);
var bounds = L.latLngBounds(southWest, northEast);

//logs - LatLng(-7.12726, 159.14), LatLng(70.04153, 24.8559)
console.log(southWest.toString(), northEast.toString());

//logs - LatLng(-7.12726, 24.8559)
console.log('bounds SW: ', bounds.getSouthWest().toString());
//logs - LatLng(70.04153, 159.14)
console.log('bounds NE: ', bounds.getNorthEast().toString());

Longitude for SouthWest and NorthEast points are swapped in the bounds. Why? This seems like a very bad bug.
Issue reproduction - http://jsbin.com/huziqi/edit?html,console

Hi,
If I am not mistaken, the conventional cardinal directions and latitude / longitude ranges are:
             North (+90)
               |
(-180) West ———+——— East (+180)
               |
             South (-90)

Therefore your southWest = L.latLng(-7.12725588946924, 159.14) would actually be more East than your northEast = L.latLng(70.0415297179124, 24.855900000000005).
When creating your bounds out of these corners, Leaflet detects the correct positions for you.
Is not it great? :-)

This is a good example of Postel's lay: «an implementation should be conservative in its sending behavior, and liberal in its receiving behavior».
Perhaps it should be a good idea to change the docstrings and rename the parameters for the LatLngBounds constructor into corner1 and corner2 or something like that, to prevent confusion.

@ghybs Some more context -

Here is what I am expecting it to do - Region in the blue box is what I expect my bounds to be, while region is the red box is what leaflet is picking up.

@aaani Look at your blue polygon, it crosses the dateline.
A very easy workaround would have been to use a longitude of 159.14 - 360 = -200.86 to reach the left copy of the world.
Demo: https://jsfiddle.net/3v7hd2vx/80/
See https://github.com/Leaflet/Leaflet/pull/1293

@ghybs thanks for the workaround. I happen to be already aware of it 😄
I guess my bigger concern is leaflet picking the wrong bounds instead of raising an error - Hey, your bounds seems to encompass International Date Line. Or at least providing an option to opt out from this auto adjustment of bounds behavior.
P.S. - Is there any hope for merging #1293 into mater any time soon?

@aaani Thank you for your feedback!
It seems to me that what you are asking for is already somehow a controversy in Leaflet, as shown by #1293 and the associated threads, including duplicating features to all world copies (like in https://github.com/Leaflet/Leaflet/issues/2506).
I think we can say that the current Leaflet behaviour makes the overall assumption that the developer is aware that if they want to cross the IDL, they should specify values outside the [-180; +180] degrees range.
That way, Leaflet does not need to make additional hypothetical assumptions and leaves out the associated complexity.
Then for consistency, L.LatLngBounds should assume that the developer is mistaken this time if they pass a "West" value that is higher than the "East" one, and invert the two, as is currently implemented.
BTW, same applies for North and South, except that they have to be inverted if passed wrong, since we cannot wrap vertically as simply (Earth is ~spherical, not a toroid).
Based on SO questions, many people make that mistake indeed, and the current correction works right for them. In fact, it works so well that they are never aware of their mistake (so even SO answers do not mention it), since Leaflet correction matches their expectation.
In that sense, @IvanSanchez's proposal about changing the parameters names to corner1 and corner2 could indeed make it clearer that L.LatLngBounds do not care about what order are the coordinates, it just sticks to the actual values, under the above overall assumption.
As for "raising an error […] bounds seem to encompass [IDL]", why should it be an error / warning in your case for example, where you really want to encompass the IDL?
This shows that whether Leaflet corrects mistakes or automatically wraps longitude to keep the "West" value to the left, it will act against some people expectation. And if a message is reported, it would also be useless in most cases, and you probably do not want a message to be continuously reported when the code behaves the way you expect, or you have already taken the appropriate workaround.
As for "an option to opt out from this auto adjustment of bounds behavior", please realize that it would not only be a matter of disabling something, but it would actually involve a more complex auto adjustment!
If you want that Leaflet really keeps whatever you specify in "West" as the left side, it should either:

Subtract 360 degrees to your West coordinate (in case it is a higher value than the East one),
Add 360 degrees to your East coordinate,
Perform one or the other and rely on a Features Duplication functionality.

You could make up a choice and build a small plugin out of it, that would override L.LatLngBounds :-)
BTW, also realize that #1293 seems to rely on the current map center, so in the precise case of your JS Bin, it would not even be able to help, since there is no map…
Of course in reality you would probably have a map (but would it be instantiated and the view set before your bounds?), but this shows that such a functionality has to make additional and hypothetical assumptions.
One could even be tempted to try to determine the "correct" auto adjustment by trying to decrease the mismatch of resulting coordinates (i.e. minimizing the resulting area), but it would specifically guess wrong in your precise case (your blue polygon has bigger area than your red one).
This is another sign that every workaround is based on a specific use case situation / assumption, and is probably impossible to generalize.

Is there any hope for merging #1293 into master any time soon?

IMHO, given the time these issues / PR are around (some related threads are much older than #1293), and the fact that it involves some guessing / hypothetical assumptions about developer's intention, with complex algorithm involved, which is against Leaflet spirit of remaining technically simple, lightweight and reliable for the majority of use cases, there is very little to no chance of having such functionality in Leaflet core.
At best, if someone comes up with a working implementation, it could be built in a plugin, so that the complexity and assumptions are kept optional for the use cases that really need it (and are aware of these additional assumptions).
But again, this is only my personal interpretation.
Having said all that, I agree though that it would be lovely to have such a functionality in Leaflet (whether in core or through a plugin). After all, Google Maps does have it (well, at least the features duplication), which is another sign that it is what many people expect from a mapping tool. But since the majority of use cases do not need it, it seems to me that the additional complexity still outweighs the usefulness.
I am sure Leaflet maintainers would have loved to be paid by Google to implement it! :-)
BTW, Leaflet is Open Source, so feel free to contribute! :-)

I have discovered this is not so easy for maps covering 180. If the projection for map is 3851 (proj4.defs("EPSG:3851","+title=NZ Continental Shelf +proj=lcc +lat_1=-37.5 +lat_2=-44.5 +lat_0=-41 +lon_0=173 +x_0=3000000 +y_0=7000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs");
Then when getBounds unprojects the pixel coordinate bounds, you get, say, sw  =-47, 164 and
ne -30, -174. ie proj.4 has returned the negative coordinate. As creator of map, I cannot control this. proj.4 is correct and following the convention. LatLngBounds then effectively reverses them and, well yes... For say EPSG:3587, proj.4 would ne of -30,186 and so not problem.
I am very aware that map crosses antemeridian but cannot force proj.4 to return 0:360 instead of -180:180.
I am amazed that leaflet works in polar projections but somehow it does. However, EPSG:3851 is giving me grief.

This is a good example of Postel's law: «an implementation should be conservative in its sending behavior, and liberal in its receiving behavior».
Perhaps it should be a good idea to change the docstrings and rename the parameters for the LatLngBounds constructor into corner1 and corner2 or something like that, to prevent confusion.

The problem with this, is regardless of this law... this library does not actually show 2 markers when one has points that exceed the bounds of the correct latitude and longitude due to "wrapping" or as you have called it "Postel's law".


It says here on the note that the adaptive cards v1.5 is supported by teams but upon checking, the adaptive cards sent was not showing

It says here on the note that the adaptive cards v1.5 is supported by teams but upon checking, the adaptive cards sent was not showing

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

ID: 3fb4394d-25b1-8752-3996-fe3a2934732d
Version Independent ID: 6d391381-89d0-117c-27cc-00043bd26a36
Content: Types of cards - Teams
Content Source: msteams-platform/task-modules-and-cards/cards/cards-reference.md
Service: msteams
GitHub Login: @surbhigupta
Microsoft Alias: lajanuar

@amrix08 - Can you please share the JSON that you are using? Below is a simple card using v1.5 and it is being rendered in Teams.
 {     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",     "type": "AdaptiveCard",     "version": "1.5",     "body": [       {         "type": "TextBlock",         "text": "Test block ",         "weight": "Bolder",         "wrap": true       },       {         "type": "TextBlock",         "isSubtle": true,         "spacing": "none",         "text": "Business Owner",         "wrap": true       }     ]   }

This is the sample card
{     "type": "AdaptiveCard",     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",     "version": "1.5",     "msTeams": {         "width": "full"     },     "body": [         {             "type": "Container",             "spacing": "Large",             "items": [                 {                     "type": "Container",                     "style": "emphasis",                     "items": [                         {                             "type": "Table",                             "columns": [                                 {                                     "width": 100                                 },                                 {                                     "width": 15                                 },                                 {                                     "width": 15                                 }                             ],                             "rows": [                                 {                                     "type": "TableRow",                                     "cells": [                                         {                                             "type": "TableCell",                                             "items": [                                                 {                                                     "type": "TextBlock",                                                     "text": "Companies",                                                     "wrap": true,                                                     "horizontalAlignment": "Center"                                                 }                                             ]                                         },                                         {                                             "type": "TableCell",                                             "items": [                                                 {                                                     "type": "TextBlock",                                                     "weight": "Bolder",                                                     "wrap": true,                                                     "horizontalAlignment": "Center",                                                     "text": "EC"                                                 }                                             ]                                         },                                         {                                             "type": "TableCell",                                             "items": [                                                 {                                                     "type": "TextBlock",                                                     "wrap": true,                                                     "weight": "Bolder",                                                     "horizontalAlignment": "Center",                                                     "text": "SEC"                                                 }                                             ]                                         }                                     ]                                 },                                 {                                     "type": "TableRow",                                     "$data": "${companies}",                                     "cells": [                                         {                                             "type": "TableCell",                                             "items": [                                                 {                                                     "id": "REMOVE|${Id}",                                                     "type": "Input.Toggle",                                                     "wrap": true,                                                     "title": "Test only"                                                 }                                             ],                                             "horizontalAlignment": "Left"                                         },                                         {                                             "type": "TableCell",                                             "items": [                                                 {                                                     "type": "TextBlock",                                                     "color": "Good",                                                     "wrap": true,                                                     "horizontalAlignment": "Center",                                                     "text": "✖"                                                 }                                             ]                                         },                                         {                                             "type": "TableCell",                                             "items": [                                                 {                                                     "type": "TextBlock",                                                     "color": "Good",                                                     "wrap": true,                                                     "horizontalAlignment": "Center",                                                     "text": "🗸"                                                 }                                             ]                                         }                                     ]                                 }                             ],                             "showGridLines": false                         }                     ]                 }             ]         }     ] }
And it shows an error upon testing on developer teams portal

Earlier we tried sending card through bot, now we have sent the card using Developer portal. We selected the target version as 1.5 and we also see the same behavior. Card is displayed properly in preview but in Teams its showing We're sorry, this card couldn't be displayed. We will check internally and get back to you.

@ipadkid-sketchy - We did try by changing the host app to Microsoft Teams Light and we also see the same behavior. In Teams its showing We're sorry, this card couldn't be displayed. We have raised a bug for the same. We will keep you posted on the updates.

Apologies, currently we do not have any update/ETA to share. We will keep you posted if we get any updates from engineering team.

@ipadkid-sketchy - The issue has been fixed, we have verified the fix. It works fine now. Could you please check once?


In Ubuntu "Default" radio buttons not selected, instead custom text fields have the default values

This is maybe related to Webmin itself and not the theme, but I don't remember this being like that from the time before the theme. But if I'm wrong, I apologize, and I will make an issue with them.
In Ubuntu, a lot of the settings in the modules have values written in the custom box, even though that's the default value and the radio option should be selected instead. In CentOS, all those settings just have the "Default" or "Automatic" radio option selected, which is normal.
In CentOS even when the radio option is "None", in Ubuntu the custom box is selected instead and it's empty. And there are even things like instead of the radio option "All" being selected, the word "all" is written in the custom field.
And if I try changing for example the option from an empty box to "None", it will not save and it will return back to the empty box. So those "None" (or "Not set" etc.) radio buttons can practically never be selected and used, so they're kinda useless.
I'm concerned that this is bad for user experience (confusion), because I don't know what is the default value. Is that value in the box different than the default or not? So system admins can't easily find out what is changed from their default values.
To see what I'm talking about, for example go to Postfix Mail Server module and click on any further options, you will quickly find this everywhere.

Lunar, hi. Thanks for reporting. This one I don't understand. Could you provide the screenshot with emphasising what exactly is wrong, as I don't understand what you're trying to say.

or

or

or

or

I can show like 1000 examples, this is across all Webmin.
So these screenshots are from Ubuntu. In CentOS, the first radio button would always be selected in such cases.

I just tried Gray Framed theme and it's the same. In the future I will test everything with that theme first before making an issue, thanks.


Reorganize conformance tests

This PR implements a reorganization of the conformance tests in the repo and how they are run.
The connect-conformance package previously ran all the conformance tests on its own. Now, the conformance tests have been moved to their respective packages and connect-conformance now simply houses the common functionality used by all the packages to run conformance tests. Conformance tests are now located in:

connect-node - houses and runs both client and server conformance tests for Connect-Node.
connect-web - houses and runs client conformance tests for Connect-Web
connect-express - houses and runs server conformance tests using the connect-express plugin.
connect-fastify - houses and runs server conformance tests using the connect-fastify plugin.
connect-cloudflare (new) - houses and runs server conformance tests for connect-node on Cloudflare.

Note that the Makefile no longer runs the Node-related conformance tests in all supported versions of Node. A follow-up PR will add a Github action matrix that runs these tests in various Node versions.

@srikrsna-buf we can land #1066 now whenever and I can merge main into this.


Tidy paths command for blogpost

The code for the command paths was a little muddied because I had a whole little option for a "droprate", meaning that a certain percentage of the graph's paths would be dropped from the output. This is not a flag that you'd realistically want to pass to the paths command in odgi, but rather a convenience for us: it allowed us to generate a subset of a graph's paths and then pass that subset along when testing the commands depth and overlap.
This PR separates the command and the utility into their own files. slow_odgi paths now takes no options, and is backed up by a short bit of code. A new command slow_odgi somepaths now exists, and that is what we use as a setup utility for testing depth and overlap.

Awesome!! Good thinking.


Remove broken link

The link is broken, and the topic (which it supposed to point at)
can not be found through search engines.
This PR is trash, I admit it. It should be a Github issue, but you guys just would not accept that.

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

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


feat(@embark/embark-deployment): Don’t hang on contract deploy fail

Prior to this PR (including with v4), Embark would hang on a deployment error.
After this PR, Embark continues it’s run routine despite a contract deployment error, and reports the error to the user in the console appropriately.
NOTE: this branch is based on refactor/add-contract-tracking (which would land in https://github.com/embark-framework/embark/pull/1743). If #1743 lands (will be merged in to refactor_5_0_0), I will rebase this branch on top of refactor_5_0_0.

rebased & merged


DRILL-6488 - change instances of "template inline" to just "template"

https://issues.apache.org/jira/browse/DRILL-6488

@parthchandra could you please review this?

@pwong-mapr Please configure your email address correctly in git. The author on your commit is reported as Patrick Wong <Patrick Wong> but it should be Patrick Wong<EMAIL_ADDRESS>You can do this with git config --global user.name<EMAIL_ADDRESS>

Thank you @ilooner  - I have amended the commit author and rebased the branch.

Thank you @ilooner - I have amended the commit and rebased the branch


Add a credentials config which supports custom keys

Closes 606 607
Code Changes

[x] Bump pydantic version to 1.9.0 to support nested environment fields support. pydantic#3159
[x] Remove FIDESCTL__XXX__ env prefixes from existing configs in favor of top level FIDESCTL_ prefix for all configs. Cannot use FIDESCTL__ as there seems to be a bug in pydantic around using the nested delimiter within the prefix.
[x] Add env_nested_delimiter of __
[x] Added credentials_settings.py module which does the following:

Creates a credentials model dynamically to support usage of custom fields in config. This allows usage of nested environment variables with custom keys.
Contains non-dynamic models to hard type actual credential models as they must follow a structure. These are DatabaseCredentials 'AwsCredentials' and OktaCredentials

[x] Add connection-string or credentials-id options to scan db and generate db commands.
[ ] Add credentials-id option  to scan aws and generate aws commands.
[ ] Add credentials-id option  to scan okta and generate okta commands.

Steps to Confirm

[ ] Manual testing of new config usage. Output in description
[ ] Unit / Integration tests of config usage
[ ] Integration tests of new command usages

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation Updated:

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
#606 Requirements were pretty tough to implement with the current state of pydantic. In our current usage of environment variables we define an env_prefix anywhere which we want to allow environment variables to allow field updates. It might be possible that we could have continued to expand on this but this feature seems to be what we need - pydantic#3159.
With this new nested env feature we can define a delimiter __ in our top level config object FidesctlConfig and reference any config in the tree using environment variables. Unfortunately I found a bug in pydantic(which i plan on reporting) where the env_prefix cannot have the delimiter in it. Some wonky stuff happens and it is very hard to debug this. Due to this I have made our prefix for fidesctl settings be FIDESCTL_. I was able to update all our usages of this but we had previously asked devs to set this in their environments: FIDESCTL__CLI__ANALYTICS_ID. Shouldn't be a problem to ask them to use the new variable FIDESCTL__CLI__ANALYTICS_ID.

Will add credentials-id support for aws command once #645 is merged as there is some shared work

Closing to favor #694


update(docs): add rules files configuration details

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind event

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area community

What this PR does / why we need it:
This PR adds some details regarding rules files configuration and rephrase some related sections.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ekoops
Once this PR has been reviewed and has the lgtm label, please assign vjjmiras for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 390973255f9c7a2fe37b30956a382a1dfa04d584

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ekoops, Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[docs] Improve the structure of Pulsar Functions

Is your feature request related to a problem? Please describe.
I'm a little confused when searching information on Pulsar Functions. The content is scattered in different sections and does not integrate as a whole. Meanwhile, some information duplicates in Overview and other sections. It's a little bit frustrating to read the docs as a new user.
Describe the solution you'd like
I want to re-structure the architecture of Pulsar Functions as follows, so it will be easier to read and find information.

If you have any suggestion on the new architecture, feel free to contact me.
If there is no issue with it, I'll update the content throughout.

@srkukarni @jerrypeng @jiazhai @wolfstudy @rdhabalia can you guys help review @Jennifer88huang 's proposal on improving the functions doc?

Is there any suggestion on the proposal?

@Jennifer88huang I would change:

Function Worker -> Deployment or Cluster Deployment?
Since first timers would even know what "Function worker" is.

Deploy -> Function Deployment?
For more info on how to run functions.

While I am ok with having separate headings/pages for Java, Python, and Go functions, we can also have them together but just have different examples for different languages like:
https://spark.apache.org/docs/latest/quick-start.html

Function Worker -> Deployment or Cluster Deployment?
Since first timers would even know what "Function worker" is.
@sijie Any thoughts on this?

Deploy -> Function Deployment?
For more info on how to run functions.
Sure, we can change it as "Function Deployment".

While I am ok with having separate headings/pages for Java, Python, and Go functions, we can also have them together but just have different examples for different languages like:
https://spark.apache.org/docs/latest/quick-start.html
@jerrypeng It's great suggestion to adopt this structure. Smart idea.
Do you know how to implement the switch pattern on our website? I mean switch between "Java/Python/Go examples".

IMO "Deployment" and "Function Deployment" will confuse users.
I actually have a slight different opinion after looking into the documentation of Azure Functions. I think we should differentiate the audience when categorizing the documentations
Here is the layout I suggest.

[ ] Overview : Basically describe the concepts for Pulsar Functions. This is for all audiences.
[ ] Setup: Setup or configure a Pulsar cluster to run Pulsar Functions. It includes how to run Function workers and configure the runtime. This is for administrators.

[ ] Enable Pulsar Functions
[ ] Configure Runtime

[ ] How-to: The how-to guide for developers

[ ] Develop: How to develop a pulsar function. (introduction of API)
[ ] Debug: How to unit test or debugging a pulsar function during development
[ ] Deploy: How to run/deploy a pulsar function.
[ ] Configure: How to configure to run a pulsar function
[ ] Monitor: How to monitor pulsar functions
[ ] Secure: How to secure or access secrets in pulsar functions (it is missing documentation at this moment)
[ ] Troubleshoot: How to trouble shoot running pulsar functions.

Since we only have one depth for the left navigation bar (due to the limitation of current documentation framework we use), the real name of the nav items can be different from the one I proposed. Mine is just an example.
The how-to guide can be organized using the tabs for different languages as what @jerrypeng proposed. Or we can just organize per-language how-to guide as what @Jennifer88huang proposed. Either works for me.
Though the per-language how-to guide might be easier to implement given the current documentation framework and the frontend skills the community has.

https://docs.microsoft.com/en-in/azure/azure-functions/

+1 on the structure @sijie proposed

Great, we can adopt the new structure.
Only one question, what's the differences between "Configure runtime" in the Admin part and "configure" in the developer part?

@Jennifer88huang
It is the administrator's job to configure the runtime. the configuration is applied to the whole cluster.
"configure" a function means specifying the input, output, resources and etc when submitting a function. it is a per-function configuration.

@sijie Thank you for clarifying it, so the "configure Functions runtime" parts we already have had in our website belongs to Admin part. And the "configure" section for developer part is much like user configuration info.

@Jennifer88huang well it is also a bit different from the "Admin" part. "Configure Functions runtime" is more related to the "Deployment" section.

Sounds a little tricky, I'll check the information and re-adjust it.
@wolfstudy  Any thoughts on Sijie's proposal?

@sijie It seems that "Monitor / Secure / Troubleshoot" parts in How-to guides (dev part) are missing. Could anyone provide those content?

@jerrypeng has done a lot work in function metrics. @jerrypeng do you mind helping @Jennifer88huang at providing the content for that part?

@jerrypeng Thank you very much if you could provide related raw materials.
You can also create PR with functions-monitor, functions-secure, functions-troubleshoot with the content. If there is anything I can do for you, feel free to contact me.


Cache trimming seems to still be very cpu consuming

Description
Cache trimming is very cpu intensive. We have a server which runs pretty much only two small imageprocessor web applications. The server has been under pretty heavy CPU load averaging about 50% at all times. Finally tried to disable the cache trimming and immediately the CPU usage dropped to avg. 3%.

Steps to Reproduce
Disable cache trimming by setting trimCache="false" in the cache config file. CPU load drops.
System Configuration

ImageProcessor version: 2.5.4
ImageProcessor.Web version: 4.8.4
Environment (Operating system, version and so on): Windows server 2016 M4 instance on AWS

Hi @ZNS
It's simply due to the disk access. We've limited cache trimming runs, reduces allocations as much as possible but accessing the disk an looping through directories will always increase CPU.
I'm assuming you have a lot of changes in your site? The cache trimming mechanism only kicks in when a new image is cached.


Fix CSS var() + relative url() issue in Safari.

There is a bug in Safari where using the var() property alongside a url() that contains a relative path, the relative path will break. The bug also existed in Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=618165), which has been fixed. However the Safari bug still exists as of Mac OS 11.2.3.
Expected Output

Actual Output

As you can see from the console, the URLs end up being relative to the current page URL, not the CSS file URL in which they are loaded.
This bug was introduced in https://github.com/django/django/commit/0a802233ec1421e5e59a486be69daef9b112fd0d
Related Trac:
https://code.djangoproject.com/ticket/32671

As a regression test is difficult to add here, I would add a comment in the CSS file linking to this issue, otherwise someone else could come later and propose a patch to regroup the "doubled" background lines.

@claudep good suggestion, I have added that.

Closing as per ticket.


Notebook (kernel) not starting up in yarn-client mode

We use spark notebook 0.63 with spark 1.6.1.
Under certain cirumstances (which I cannot reproduce yet), our notebooks (running as yarn-client) won't start up.
In the notebook, it says Kernel starting, please wait.
In the logfile there are just these lines:
2016-11-18 10:19:22,182  INFO [main] (notebook.kernel.pfork.BetterFork$) - Remote process starting
2016-11-18 10:19:22,516  INFO [Remote-akka.actor.default-dispatcher-4] (akka.event.slf4j.Slf4jLogger) - Slf4jLogger started
2016-11-18 10:19:22,551  INFO [Remote-akka.actor.default-dispatcher-4] (Remoting) - Starting remoting
2016-11-18 10:19:22,674  INFO [Remote-akka.actor.default-dispatcher-2] (Remoting) - Remoting started; listening on addresses :[akka.tcp://Remote@<IP_ADDRESS>:34898]
2016-11-18 10:19:22,675  INFO [Remote-akka.actor.default-dispatcher-2] (Remoting) - Remoting now listens on addresses: [akka.tcp://Remote@<IP_ADDRESS>:34898]

In the log of the notebook server, I don't see anything suspicious:
16/11/18 10:19:21 INFO application: getNotebook at path mynotebook.snb
16/11/18 10:19:21 INFO application: Loading notebook at path mynotebook.snb

The process seems to be waiting for something, but I cannot figure out what it is (the driver machine is not under heavy load, there are plenty of free executors...).
Any hint what to do to solve this?

I have the same issue:
[info] application - Closing websockets for kernel c1bdaf31-12cc-4b96-8fc0-2998d
34bd642
[info] application - Closing kernel c1bdaf31-12cc-4b96-8fc0-2998d34bd642
[info] application - UN-registering web-socket (notebook.server.WebSockWrapperIm
pl@3777af) in service notebook.server.CalcWebSocketService$CalcActor@173440c (cu
rrent count is 1)
[error] play - Cannot invoke the action, eventually got an error: java.util.NoSu
chElementException: key not found: c1bdaf31-12cc-4b96-8fc0-2998d34bd642
[error] application -
! @7334hk13d - Internal server error, for (POST) [/api/kernels/c1bdaf31-12cc-4b9
6-8fc0-2998d34bd642/restart] ->
play.api.Application$$anon$1: Execution exception[[NoSuchElementException: key n
ot found: c1bdaf31-12cc-4b96-8fc0-2998d34bd642]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.t
ypesafe.play.play_2.10-2.3.10.jar:2.3.10]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.t
ypesafe.play.play_2.10-2.3.10.jar:2.3.10]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun
$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [com.typesafe.play.pl
ay_2.10-2.3.10.jar:2.3.10]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun
$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320) [com.typesafe.play.pl
ay_2.10-2.3.10.jar:2.3.10]
at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10
.6.jar:na]
Caused by: java.util.NoSuchElementException: key not found: c1bdaf31-12cc-4b96-8
fc0-2998d34bd642
at scala.collection.MapLike$class.default(MapLike.scala:228) ~[org.scala
-lang.scala-library-2.10.6.jar:na]
at scala.collection.AbstractMap.default(Map.scala:58) ~[org.scala-lang.s
cala-library-2.10.6.jar:na]
at scala.collection.mutable.HashMap.apply(HashMap.scala:64) ~[org.scala-
lang.scala-library-2.10.6.jar:na]
at controllers.Application$$anonfun$9$$anonfun$apply$5.apply(Application
.scala:129) ~[nooostab.spark-notebook-0.7.0-scala-2.10.6-spark-2.0.1-hadoop-2.6.
0.jar:0.7.0-scala-2.10.6-spark-2.0.1-hadoop-2.6.0]
at controllers.Application$$anonfun$9$$anonfun$apply$5.apply(Application
.scala:128) ~[nooostab.spark-notebook-0.7.0-scala-2.10.6-spark-2.0.1-hadoop-2.6.
0.jar:0.7.0-scala-2.10.6-spark-2.0.1-hadoop-2.6.0]
[info] application - View notebook '\Flow Example.snb', presentation: 'None'
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=1073741824; supp
ort was removed in 8.0
[info] application - View notebook '\Flow Example.snb', presentation: 'None'
[debug] application - Termination of op calculator

we used spark-notebook (SN) with YARN without any problems. but it was yarn-client model, in which driver runs ON THE SAME MACHINE as spark-notebook - so it has to have all yarn/hadoop configs available in PATH.
P.S. and in production SN server should have plenty of RAM for the driver (128+ GB preferably, if many people using simultaneously).
I can't comment about yarn-cluster mode, as I personally didn't test in yarn cluster mode (not worth it, harder to debug/view logs, kill applications, etc).
here's subset of sample config:
export HADOOP_USER_NAME=someuser
# optional depending on network configuration - executors MUST reach driver (i.e. SN)
# export SPARK_LOCAL_IP=x.x.x.x # needed this
# export SPA_PUBLIC_DNS=notebook.some.com
export LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native/
export HADOOP_CONF_DIR=/etc/hadoop/conf:/etc/hive/conf
./bin/spark-notebook \
  -Dmanager.tachyon.enabled=false \
  -Dmanager.kernel.autostartOnNotebookOpen=true \
  -Dmanager.notebooks.override.sparkConf.spark.port.maxRetries=100 \
  -Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.initialExecutors=1 \
  -Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.minExecutors=0 \
  -Dmanager.notebooks.override.sparkConf.spark.serializer=org.apache.spark.serializer.KryoSerializer \
  -Dmanager.notebooks.override.sparkConf.spark.rdd.compress=true

and append something like this to cluster conf /
  "customSparkConf": {
    "spark.app.name": "Spark Notebook",
    "spark.master": "yarn-client",
    "spark.yarn.jar": "hdfs:///path-to/spark-assembly-1.6.1-hadoop2.6.0-cdh5.X.X.jar"
  },


chore: update kv manual

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


strictNullChecks does not get enabled for Maps when strict is enabled

Bug Report
According to the documentation (https://www.typescriptlang.org/tsconfig#strictNullChecks), strictNullChecks is set to true when strict is set to true, but it does not seem be true for Maps.
The same code has different types with these two settings

strict=true and strictNullChecks=true
strict=true and strictNullChecks not set

But since strict is superset of strictNullChecks, it should behave the same
🔎 Search Terms
strictNullChecks map
⏯ Playground Link
strict=true and strictNullChecks=true -> type is correct Foo | undefined
https://www.typescriptlang.org/play?noImplicitAny=false&strictFunctionTypes=false&strictPropertyInitialization=false&strictBindCallApply=false&noImplicitThis=false&noImplicitReturns=false&alwaysStrict=false&esModuleInterop=false&declaration=false&experimentalDecorators=false&emitDecoratorMetadata=false&target=7&ts=4.8.2#code/MYewdgzgLgBAtgQwA4wLwzAUwO4wLLIAUA2gFAwzEBEA1pgJ5UA0MAjALpOnsCUA3KVKhIsAG4IANgFdMaeMgB0Ac0xRCVAB5aNVfkA
strict=true and strictNullChecks not set -> type is incorrect Foo
https://www.typescriptlang.org/play?noImplicitAny=false&strictNullChecks=false&strictFunctionTypes=false&strictPropertyInitialization=false&strictBindCallApply=false&noImplicitThis=false&noImplicitReturns=false&alwaysStrict=false&esModuleInterop=false&declaration=false&experimentalDecorators=false&emitDecoratorMetadata=false&target=7&ts=4.8.2#code/MYewdgzgLgBAtgQwA4wLwzAUwO4wLLIAUA2gFAwzEBEA1pgJ5UA0MAjALpOnsCUA3KVKhIsAG4IANgFdMaeMgB0Ac0xRCVAB5aNVfkA
🙁 Actual behavior
When enabling strict=true it should also enable strictNullChecks, but it does not seem to be true for Map property access, the return type is Foo instead of Foo | undefined
🙂 Expected behavior
When enabling strict=true it should enable strictNullChecks and Map property access has correct type of Foo | undefined

In your second playground link you have set strictNullChecks to false. This overrides the setting strict. Please note that the playground does not have the ability to leave these flags "unset", it's either set to false or true.

Yea I just checked on regular repository and you are right, closing.


luci-app-ddns: should i port ddns to client side implementation?

@jow- sorry for the random issue... i notice you are converting all the model to client side implementation... should the app be converted too ?

@Ansuel - if you feel like it then yes, it would be a good idea. But its not a strict requirement yet.

@Ansuel Are you still planning to change the app to the new Javascript?

Mh yes but now I'm working on something else.
I need to study the new API to convert all to js... Also it would be good
to "clean" the module...
Why the question?
Il Lun 21 Ott 2019, 17:08 Florian Eckert<EMAIL_ADDRESS>ha
scritto:

@Ansuel https://github.com/Ansuel Are you still planning to change the
app to the new Javascript?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openwrt/luci/issues/3124?email_source=notifications&email_token=AE2ZMQSSV7SJPAUA7KAHQV3QPXAV3A5CNFSM4I3OFCBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB2U7AA#issuecomment-544558976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2ZMQW5WF5262PV75UGEK3QPXAV3ANCNFSM4I3OFCBA
.

I have come up with a few things that I did not like so much with this app. If you rewrite this app we could fix this.

Link to the openwrt page (should be fixed in a general way)
General page should be a tab and not a link
And start/stop should be done on save if the section is enabled

Yes I notice that too...
There is also some strange thing with general ddns option hided in a link
instead of putting them in a tab...
Il Lun 21 Ott 2019, 17:18 Florian Eckert<EMAIL_ADDRESS>ha
scritto:

I have come up with a few things that I did not like so much with this
app. If you rewrite this app we could fix this.

Link to the openwrt page (should be fixed in a general way)
General page should be a tab and not a link
And start/stop should be done on save if the section is enabled

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openwrt/luci/issues/3124?email_source=notifications&email_token=AE2ZMQTYDOJ623RMUEDV6MLQPXB57A5CNFSM4I3OFCBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB2WGAA#issuecomment-544563968,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2ZMQVI7TKDRWSP5LBUEVTQPXB57ANCNFSM4I3OFCBA
.

Anyway i have started the porting of the ddns app... For now i have ported the index page and the global config options

@feckert https://github.com/openwrt/luci/pull/3267 almost done... i think i just need to implement custom script implementation... I need some hint about the name of the js (overview.js is a bit misleading) and a general review of the code and of the functions... I removed some checks and it would be good to have a second opinion if the extra checks should be reintroduced.

@Ansuel see my comments in #3267


Add Srgba8 format

Currently, the only sRGB format is Srgb which has no alpha channel.

We do support it - (R8_G8_B8_A8, Srgb), there is just no shortcut for it at the moment. Do need the shortcut? Most applications don't care about alpha for the main framebuffer.

I need it for textures. Currently gfx_texture uses Rgba8 which gets brighter colors.
Might also need it for frame buffer if we do composed rendering, but don't need it right now.

@bvssvni ok, sounds convincing! We'll add the shortcut into v0.9.2

Published in https://crates.io/crates/gfx_core v0.1.2


avs-device-sdk: install Alexa Sample application

Install Alexa sample application and its following dependencies,
gstreamer
portaudio
openblas
snowboy

In the future we can decide to keep or discard the Sample app.
If we decide to discard the sample app then we should make sure
to remove these dependencies.
Signed-off-by: Tariq Ansari<EMAIL_ADDRESS>

If there are no more comments on this PR, then I will merge this PR by the end of day today.


Another css href url fix #7

I'm thinking it might be the ngnix proxy server setup or new browser strictness, so trying a temporary cdn

👍


Windows Euro Truck Simulator 2 Server Issues

The Server didnt start if you click start they only Update every time maybe you forgot to add the Path on App.ExecutableWin= ? i see its blank

That's deliberate, as explained in the template:
The game server does not run properly as NETWORK SERVICE, so it must be run within Docker on Windows.


Fix mem leak in ECDSA_sign().

Similiar to the issue found in PR #20553 for DSA_sign(). ECDSA_sign() leaked memory if the signature was NULL when i2d_ECDSA_SIG was called.
Note that this does not affect the higher level EVP functions as they correctly handle NULL.

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

This pull request is ready to merge

Merged to master. Trivial conflict when cherry-picked to openssl-3.1 (the ossl_ecdsa_deterministic_sign() function does not exist in 3.1). No issues cherry-picking into 3.0.
Thank you for your contribution!


Milestone 0.0.8

Coverage remained the same at 100.0% when pulling e3b4bb091f3943425b480de1a53d4ef7aed837a8 on milestone-0.0.8 into 43ff608304d10f1cfa2ad2c750df7ce164c7664f on master.

Coverage remained the same at 100.0% when pulling ac380e1def64aad11a87c1440d7b19ad18d5056d on milestone-0.0.8 into 43ff608304d10f1cfa2ad2c750df7ce164c7664f on master.


Agrega metodo para resetear la posicion del motor. (Add step count reset method)

Para funciones de homing es util poder re-setear la posicion del motor.
(For homing moves it can be useful to be able to reset the 0 position of the stepper.)

i needed the same thing for a homing move.
But i did it like this:
	void SetAbsoluteStep(long steps) 	{ 		AbsoluteStep = steps; 	}
I think its more flexible, because you can set 0 steps or a individual step count :-)


Update constants.py

Bugs fixed:
urllib.error.HTTPError: HTTP Error 400: Bad Request
instagram_private_api.errors.ClientCheckpointRequiredError: checkpoint_challenge_required
New values are set:
APP_VERSION
VERSION_CODE

Hi Vobinics, I wasnt expecting the fix to work, but how did you find out ? and why this is not accepted in the Master branch ?

Hello, thanks, but it's already 2023, how do I get the new version value? Where can I find it


pin package to unbreak  novaclient issue

this PR make the following changes

limit the version of python-novaclinent under 8.0.0 in jenkin server
limit the version of python-novaclinent under 8.0.0 in controller node

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test


Katex fails when it is located in the table of contents (TOC).

The latex doesn't work well when the formula is in the toc.

will be fixed in v3 https://github.com/shuding/nextra/pull/2359


Deploy Your First SAPUI5 App

Tutorials: https://developers.sap.com/tutorials/appstudio-sapui5-create.html
Hey,
Thanks for the nice tutorial. I have few points which needs update in the tutorial as they are failing.
Step 4: Build the application is not working. I got two errors when building MTA project -

Failed to read configuration for project sapui5 at "ui5-deploy.yaml". Error: ENOENT: no such file or directory
This error was resolved by explicitly running the script - "deploy-config" by command - npm run deploy-config in the terminal. This command is present in manifest.json file. I think this happened because on clicking - Build MTA Project, it ran deploy script which have some other command to run.
ERROR the xs-security.json path does not exist in the MTA project location
This error was resolved by parameter key from "path" to "config_path" holding the value "./xs-security.json" in mta.yaml file.

Step 5: Deploy the archive to Cloud Foundry. I found one error -

403 Forbidden (status 403) when tried to deploy MTA archive.
The reason being that the Space Developer role was missing from Dev space. I was able to fix the issue by navigating to Cockpit > Cloud Foundry > Spaces > Select dev Space > click on Member on left menu items > Edit member and add Space Developer role.

Please fix those errors so that if someone else try to go through the tutorial, he/she does not face these issues.

Hello @Sachinart ,
Thank you for reaching out and reporting your issues.  I've tried to replicate the problem you have, and I'm having a little difficultly at the moment :(.
After generating the application, can you please confirm that you didn't switch workspace until the application had successfully finished, and you saw the following prompt:

From the errors above, it looks like some files were missing, and perhaps that's because you switched workspace before generation completed.  The deployment files you mention are the last to get created.  If you could confirm this that would help with the investigation.
Thanks,
Ian

Hi @quiggs1001 ,
Thanks for the quick response. I do not remember the prompt, but I will try to replicate the issue tomorrow and let you know. As far as I remember, I did not switch the workspace, but still I'll give it a try and let you know.
Thanks,
Sachin

Hi Ian,
Thank you for replicaing the issue and figuring out the exact cause. You are absolutely right about switching the workspaces. It caused the deployment files not getting generated.
It happened with me for the first time because in step 3 (Create a new single-module-project) poiny 7, when we finish all template steps, the next point suggests to switch on seeing success message but what exactly is the success message it's not mentioned and that confused me.
The message - "Installing dependencies..." is very small, faded and static for atleat 20 seconds that I ignored it and moved to the next step and the blunder happened. 😅
Could you please specify the success message in point 8 or better if you show the success page (i.e. Application Information page) appears after application is created successfully. And then put the next steps, it would be great.
Thanks for your efforts. 👍
Sachin

Thanks Sachin,
That all makes sense, I agree that the generation success message is a little small.  We will update accordingly.  Thanks again for your feedback.
Regards,
Ian

That's great 😊


test times out when running on BTP Launchpad

Describe the bug
Trying to do end to end tests on BTP Launchpad.
Tests work fine running on a Local fiorilaunchpad.html, but when i point the baseUrl to my BTP Launchpad, it authenticates ok and the goto semantic link works fine, the test however times out on the first test
it("should see the List Report page", async () => {
    await FioriElementsFacade.execute((Given, When, Then) => {
        Then.onTheMainPage.iSeeThisPage();
    })
})

HTML5 repo apps run in an Iframe, I tried to switch the browser to the iFrame before WDI5FE.initialize and before the selectors didnt work
before(async () => {
    await wdi5.goTo("#travel-process");
    let frame = await browser.$('#application-travel-process');
    browser.switchToFrame(frame)
    FioriElementsFacade = await browser.fe.initialize({
        onTheMainPage: {
            ListReport: {
                appId: "sap.fe.cap.travel",
                componentId: "TravelList",
                entitySet: "Travel"
            }
        },

To Reproduce
Steps to reproduce the behavior:

clone https://github.com/SAP-samples/cap-sflight
add a fiorilaunchpad.html to the travel_processor with a tile calling the sap.fe.cap.travel component
create a wdio.conf.js pointing baseUrl to http://localhost:4004/travel_processor/webapp/fiorilaunchpad.html
create an e2e folder and port some of the existing Opa5 journey over to wdi5 journey (was an easy cut and paste)
test the app, ensure works
deploy to CF
create a tile in the BTP Launchpad same semantic link as local lauchpad
update  wdio.conf.js pointing baseUrl to https://instance.launchpad.cfapps.regio.hana.ondemand.com/site
add wdi5:authentication provider: "BTP" to wdio.conf.js
run test

Expected behavior
expect the tests to behave the same
Logs/Console Output
Seeing the page 'sap.fe.cap.travel::TravelList' - FAILURE Opa timeout after 15 seconds This is what Opa logged: Found 0 blocking out of 948 tracked timeouts -  sap.ui.test.autowaiter._timeoutWaiter#hasPending AutoWaiter syncpoint -  sap.ui.test.autowaiter._autoWaiter Found no control with the global ID 'sap.fe.cap.travel::TravelList' -  sap.ui.test.Opa5 Matchers found no controls so check function will be skipped

first of all, thanks for the detailed feedback and context 👍
this will make it easier to get FLP/WorkZone std ed support in!
now we're looking into getting the right resources in place to have a permanent deployment of a sample CAP/UI5 app in an FLP/WZ std ed that we can continuously use in the CI cycle!

Hi @vobu,
with my changes in https://github.com/gregorwolf/wdi5/tree/html5-repo I was able to deploy and configure the TypeScript Sample app to my BTP Free Tier. You can access the app via:
https://cswdev.launchpad.cfapps.eu10.hana.ondemand.com/site/csw#TestSampleTSapp-display
Please give it a try.

Does my deployment help? Should I try to automate the deployment so that updates to this repository result in a fresh deployment?

I am going to investigate the https://webdriver.io/docs/api/webdriver/#switchtoframe function in a wdio before hook.

Hi @gregorwolf could please disable the authentication to your test application. I am getting a captcha which cannot be handled by the wdi5 authentication.

In the first step of the logon you see:

You must provide an S- or P-User instead of the E-Mail Address. Then you will stay in SAP ID Service and you should not be re-directed to SAP Universal ID.

Wasn't aware of that. Will try.

Not working neither S-User nor P-User. I get always a redirected to Universal ID with captcha.

Even when I do a login to SAP ID Service (https://accounts.sap.com/) before I access the SAP Work Zone Standard Edition (Launchpad) I'm getting redirected to SAP Universal ID.
I've switched the application now to my custom SAP Identity Authentication and did allow the self registration for the moment. Please give it a try.

Any update on this feature?
One thing i forgot to mention was the sap/ui/test/** dependencies get loaded on the parent window, they would need to be on the child also as that is where the selectors need to work

made some progress thought id share, the following works,

pause while the iframe loads
switch to iframe with awaits and pauses
continue testing
do the onShell commands via browser execute, could do via a parent selector but this works

const { wdi5 } = require("wdio-ui5-service")
const { default: _ui5Service } = require("wdio-ui5-service")
const ui5Service = new _ui5Service()
describe("FE basics", () => {
    let FioriElementsFacade

    before(async () => {
        await wdi5.goTo("#travel-process");
        await browser.pause(2000) //wait for the iframe to load
        let frame = await browser.$('#application-travel-process');
        await browser.switchToFrame(frame)
        await browser.pause(1000)
        await ui5Service.injectUI5()
        FioriElementsFacade = await browser.fe.initialize({
            onTheMainPage: {
                ListReport: {
                    appId: "sap.fe.cap.travel",
                    componentId: "TravelList",
                    entitySet: "Travel"
                }
            },
            onTheDetailPage: {
                ObjectPage: {
                    appId: "sap.fe.cap.travel",
                    componentId: "TravelObjectPage",
                    entitySet: "Travel"
                }
            },
            onTheItemPage: {
                ObjectPage: {
                    appId: "sap.fe.cap.travel",
                    componentId: "BookingObjectPage",
                    entitySet: "Booking"
                }
            },
            onTheShell: {
                Shell: {}
            }
        })

    })

    it("should see the List Report page", async () => {
        await FioriElementsFacade.execute((Given, When, Then) => {
            Then.onTheMainPage.iSeeThisPage();
        })
    })

    it("should see the Object Page loads and returns to list", async () => {
        await FioriElementsFacade.execute((Given, When, Then) => {
            When.onTheMainPage.onTable().iPressRow({ Travel: "4,133" })
            Then.onTheDetailPage.iSeeThisPage()
            // When.onTheShell.iNavigateBack()
        })
        await browser.execute(() => {
            // the child communicates with the parents via messages
            sap.ushell.Container.getService("CrossApplicationNavigation").historyBack()
        })

        await FioriElementsFacade.execute((Given, When, Then) => {
            Then.onTheMainPage.iSeeThisPage()
        })

    })

    it("should create a travel request", async () => {
        await FioriElementsFacade.execute((Given, When, Then) => {
            Then.onTheMainPage.iSeeThisPage();

got the typescript app on https://cswdev.launchpad.cfapps.eu10.hana.ondemand.com/site/csw#TestSampleTSapp-display working fine, its not a good example as the navigation is in app and not through the shell
if you want to stop that biometric page
    before: function (capabilities, specs, browser) {
        browser.setCookies({
            name: 'skipPasswordlessAuthnDeviceConfig',
            value: 'true',
            domain: 'aqywyhweh.accounts.ondemand.com'
        })
    }

I've created a sflight branch cf-deploy-with-sqlite and deployed to https://cswdev.launchpad.cfapps.eu10.hana.ondemand.com/site/csw#travel-process. Hope that will help @jasper07.

cheers @gregorwolf
I am getting a forbidden error when trying to create a trip

I think i need the processor role

are you able to assign my user patterjo_at_gmail.com with that role?

Done.

cheers
here is the repo with the tests, npm ci, create an .env with your user and then run test
https://github.com/jasper07/wdi5btplaunchpad

ill keep looking into the memory leak issues,

thanks @jasper07 and @gregorwolf for all the (prep) work and analysis you put into this so far!
we're planning a coding session next week to progress on this - and hopefully have it in asap.

@vobu completely fine for me. It's running on my BTP Free Tier. So as long as SAP does not change anything here I can provide it.


Feature Request: Quicker ways to get links into Helium

When first open, display the "Open link" / "open file" combo window
Update the current "Open Link", so the link text box is the first selected and that hitting return on the keyboard loads it.
How about no need for the "Open Link" window, just have the ability to past right in it or have it pick up from the past board (if a video isn't currently playing)
Also, Help button in the menu should go to the website or something.

Helium 3 is pasteboard sensitive with the URL dialog

+1 to auto-selecting the link box upon pressing cmd+l or the like for easy pasting.


FORMS-219 # (Sub)FormView#remove() really cleans!

FormView#remove() now calls Page#remove(), so that Element#remove() actually gets called
this means turning the page actually causes SubFormsViews to discard their ElementViews

LGTM :+1:

:+1:

Reviewed by Sam.


loading with empty annotations

Feature: Support for Images Without Annotations
This update adds support for loading images without annotations. When no annotations are present, empty arrays are initialized for each task (e.g., segmentation, bounding boxes, keypoints, and classification).

@klemen1999 @kozlov721 Please note that loading non-annotated images is only supported for basic tasks such as segmentation, classification, boundingbox,  and keypoints. It is not supported for custom tasks.


Add quic_logging_impl.(h|cc) to QUICHE platform implementation.

Description:
Add quic_logging_impl.(h|cc) and unit tests to QUICHE platform implementation.
QUICHE code uses stream-style logging macros to do logging, e.g.:
QUIC_LOG(INFO) << "x = " << x;
The implementation in this PR uses a temporary std::ostringstream (one per macro invocation) to convert the stream into a std::string, then send the string to spdlog.
Risk Level: minimal: code not used yet
Testing:
[Unit test in release mode] bazel test --experimental_remap_main_repo -c opt test/extensions/quic_listeners/quiche/platform:quic_platform_test
[Unit test in debug mode] bazel test --experimental_remap_main_repo test/extensions/quic_listeners/quiche/platform:quic_platform_test
Docs Changes: none
Release Notes: none
[Optional Fixes #Issue]
[Optional Deprecated:]

/retest

@alyssawilk : Can you take a look at this and (if no problem) merge it? Thanks!


Brewing stand recipe book is bugged

Splash potion recipes are in lingering potion's tab and vice versa and on clicking the recipes it looks messed up

I know

I love this mod, but I have an issue with the brewing stand. Sometimes it works, other times it shows up blank or shows only a small amount of potions. I have attached a screenshot where you can see it completely blank - and I made sure to have an Awkward Potion and Spider Eye in my inventory so I was for sure able to craft SOMETHING - even though the recipe book was set to display all.
It seems to happen as a result of flipping on "Brewable", following which it will only show the potions you were able to brew at the time and it won't update again

Minecraft version: Java 1.9
List of my other mods:
Clumps
Enchantment Descriptions
Jade
Just Enough Items
Controlling
Fabric Waystones
Inventory Profiles Next
Inventory Totem
Iron Chests: Restocked
Literally Chunk Loader
Macaw's Bridges
SlimeChunkF3
Speed Trading
ToolTipFix
TrashSlot (Fabric Edition)
Traveler's Backpack [Fabric]
Xaero's Minimap
Xaero's World Map

Having the same issue as above, toggling the show all button at the top right of the brewing recipe book will make all the recipes disappear. The only way I've been able to fix this is by never touching that button lol

the original bug has been resolved

i cannot reproduce the second unrelated bug, mods are not currently supported


Fix/server side rendering

Use iso-morphic-style-loader instead of style-loader to fix ReferenceError: window is not defined errors

Thanks @omjokine for the PR.

Do you mind to release 0.3.0? :) Would be good to use "official" npm in my package.json

Released