[GHSA-fvc5-cffp-h22w] In Cyrus SASL 2.1.17 through 2.1.27 before 2.1.28,...

Updates

Affected products
Summary

Hi @Bezzo100-lab,
Curation team checking in to say thank you for your contribution. Unfortunately, Cyrus SASL is not supported in any of our supported ecosystems, listed here. If you feel that this is in error, and can show us to where to find the package, we would be happy to revisit this advisory. Thank you!


Feature/sort functionality

Feature Description
Add Sorting Feature to the Home Page
This feature aims to enhance the user experience by adding a sorting functionality on the Home page, allowing users to organize the movie listings according to their preferences. The sorting options will include:

Rating: Users can sort movies based on their ratings (e.g., 5-star, 4-star).
Total Votes: This option enables sorting by the total number of votes received by each movie, highlighting the most popular titles.
Release Date: Users will have the ability to sort movies by their release dates, facilitating easier access to the latest releases.

Changes Made
This pull request implements the following changes:

Sorting Dropdown: Introduced a dropdown menu that allows users to select their preferred sorting criteria.
Sorting Logic: Implemented logic to sort the movie list based on the selected criteria, ensuring the display updates dynamically.
User Interaction: The dropdown closes automatically when a user selects an option or clicks outside of it, improving the overall usability of the interface.

These enhancements aim to provide a more organized and user-friendly experience on the Home page, enabling users to filter movies based on their preferences effectively.
Screenshots or Videos (optional)
https://github.com/user-attachments/assets/b28cbb25-df1b-46d0-bdc2-565e07e1ec83
Agreement
By submitting this issue, I agree to:

I agree to follow this project's Code of Conduct.
I’ve read all the issues in the issue section, and this feature has not been proposed yet.

Other Information
I'm a Hacktoberfest '24 contributor

@DeshDeepakKushwaha Can you specify the issue number?

One PR is for #149 and another PR is for #154
On Sun, 6 Oct 2024, 18:04 Om Maniya, @.***> wrote:

@DeshDeepakKushwaha https://github.com/DeshDeepakKushwaha Can you
specify the issue number?
—
Reply to this email directly, view it on GitHub
https://github.com/maniyaom/Movie-Ticket-Booking/pull/163#issuecomment-2395423954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5XQPHXSQW6UWZLGNTMOJKDZ2EU4TAVCNFSM6AAAAABPOGPDB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQZDGOJVGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@DeshDeepakKushwaha Issue 154 is not about sorting movies, and I have not assigned issue 149 to you. I can only assign it to you if Abhishek-TG18 is not willing to work on that feature.


Issue with HTTP lib

Summary
It seems when running either HTTP.get() or HTTP.post() multiple times a segfault occurs. Upon preliminary investigation it seems to be an issue with the garbage collector.
Reproduction steps
Build Dictu in debug mode and execute the following.
import HTTP;

for (var i = 0; i < 10000; i = i + 1) {
    HTTP.post("http://httpbin.org/post");
}

Debug information
After running the script through CLion using the debugger it seems to segfault in a couple of places throughout the GC process (which was half expected before running it). As and when i find out more, i'll add more to this issue.

On further inspection it seems to be something when generating the response headers.
When commenting out
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, writeHeaders);
curl_easy_setopt(curl, CURLOPT_HEADERDATA, &response);

in post it seems as though it continues as normal, however, when adding it back the segfault returns. Will continue investigating.

On further inspection it seems to be related to the resizing of the internal string table, will continue to investigate further


[turborepo] eslint-plugin-turbo: process.env is monitored but import.meta.env is not

What version of Turborepo are you using?
latest
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
When using eslint-config-turbo with the recommended ruleset, process.env is monitored correctly. My frontend package uses Vite, and therefore my env variables live in import.meta.env instead.
See: https://vitejs.dev/guide/env-and-mode.html#env-variables-and-modes
Astro uses this convention as well: https://docs.astro.build/en/guides/environment-variables/
Expected Behavior
This plugin should also support this convention. It works exactly like process.env.
To Reproduce

Reproduction Repo
No response

Thank you, it's on the list! We have an existing issue for this here, so I'm going to close this one to consolidate.


When switching units for custom page sizes, convert the numbers to the new unit

I have tested a GIT snapshot of PAPPL some days ago (shortly before 1.2b1 release). There I have especially seen that one can switch the units for the page size (Issue #118) between inches and millimeters now. Thanks for implementing this.
But there is a little issue with it. If you have entered the numbers for the page's dimensions and then switch the unit, the numbers do not change, they are not converted into the new unit. So if you have selected millimeters and enter 254 mm, and then you switch to use inches, you want 10 inches, not 354 inches.
Should be possible to fix it by adding some Javascript.

@tillkamppeter I thought about doing that, but the problem is that if you enter the dimensions first and then realize you have the wrong units, clicking on "mm" or "in" will change the numbers and make them invalid.
Given that the most common use case is that you are entering inches or millimeters and not trying to convert, I'm going to keep things as they are unless we get a lot of users complaining about it...


I have a question about MPL

Hi, I'm Seyoung.
I want to refer to the FreeRDP/client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/utils/ButtonPreference.java file in my commercial app.
And I find the license "MPL" not "Apache" at top of the code.
Please let me know I must comply MPL license to use the code or can comply Apache license.

@seyoung-hyun FreeRDP is generally APL. However some parts, including the Android Client, do have different licenses. If a different license is stated in the file header it does apply.
In your case if you are working an aFreeRDP based application you need to comply to APL for the user interface part.


DIscordJS V-13 With Some Commands

@ShreshthTiwari Please use 1024 for mb/gb and not 1000 the rest is working perfectly so this can be merged after that change
@HirziDevs

I did 1000 intentionally
bcz if it is 1001MB or 1023MB
it will show as that and its not looking good
instead it will show 0.9MB

Servers count ram/disk in Gbit and not in GB so its better to update it to Gbit so its 1024

Is this PR still maintained?


Delete user and group in case of conflicts

Fixes #36214
The build of the DevContainer fails if the local UID:GID is 1000:1000, as normally happens in a personal machine, because the Dockerfile try to add a user and a group that already exists in the base image.
This PR proposes a simple, yet not perfect solution: if a conflicting UID or GID exists in the base Docker image, the existing entities are deleted before creating the new ones.

 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.


Random breaking of one of the replicas

I'm running into a strange issue sometimes when deploying a standard configuration with 3 replicas. Most of the time everything works as expected, but in some cases one of the pods comes up with an empty main database and a mismatched olcRootPW value that doesn't match the other two pods. The environment variable populated password for the admin user is identical on all three pods.
As the result, the pod in question can't replicate from the other two pods, and fails to give correct responses to queries.
Logs look fairly identical between the three and I didn't see anything that stands out too much, except after the initial configuration and restart of the container (which I assume is normal), the following log lines are repeated:
TLS certificate verification: Error, self signed certificate
syncrepl_message_to_entry: rid=001 mods check (objectClass: value #1 invalid per syntax)

This is on 4.1.1.
Any pointers on how I might be able to debug why this might happen further would be very appreciated. Thanks!

I've also tried updating to 4.2.2 from 4.1.1 on a fresh deployment to see if it might help, but even less luck there. Using the exact same values as in 4.1.1, and just bumping the chart version. It seems that customLdifFiles is no longer being processed, so I'm only getting some user01, user02 type of default users from bitnami, even though I'm not defining the 'users' value at all.
Was there a migration changelog that I missed perhaps?

After a bit more digging around it seems that for some reason my custom ACLs no longer work on 4.2.2, but the default ones do, so need to do some digging around in that area. Also I guess the replication issue above is due to needing a real certificate since I'm running multiple nodes. Will try making fixes to those two things first before asking for help again :)


Added SageMaker PipelineSession mock

Inspecting issue #7037,
Created a file sagemaker_mocks.py to implement SageMaker PipelineSession mock.

Maintains a basic in-memory storage of pipelines.
Implemented create_pipeline, start_pipeline, and list_pipelines methods with minimal functionality.
Returns mock ARNs and execution ARNs that resemble real SageMaker responses.

To use this in your tests:
Import this class in your test file.
Create an instance: mock_session = MockPipelineSession()
Pass it to components that expect a PipelineSession.

This looks like what an LLM would output. Please don't use LLM code without reviewing it and ensuring that it works (or force others to spend time reviewing it).


Manually triggering a pipeline does not run all stages if there are trigger rules on a stage exempting it.

Rancher versions:
rancher/rancher v2.1.0
Steps to Reproduce:

Create a pipeline connected to a remote repository I used our develop branch as the target.
Create a stage, while creating, click "show advanced options"
Add a trigger rule for "Run this rule when"
Select Event is Pull Request.
Save everything.
Manually run the pipeline.

Results:
The stage with a trigger rule was skipped.
Expected Results
Manually triggering a pipeline should run all stages.
This is needed so that the steps can be tested without going through the hoops of creating a branch and a Pull Request just to test the stages themselves.
Pre rancher/rancher v2.1 this was working.

There can be cases that users want pipelines to obey the rules. Say, when I set branch=dev condition for stage A, branch=master condition for stage B, I would hope not to run stage B when I manually trigger a run on branch dev.
But It would be helpful for testing if we can have an Ignore condition rules and run all steps option when we do a manual run.

or maybe you can manually trigger it as a particular event. That might be even more useful for testing.


Update Bitkit ToS on Website

https://docs.google.com/document/d/15L_3YegLmsuixRfGT23bhO2Mm1gPEabz/edit?usp=sharing&ouid=108976799534797215192&rtpof=true&sd=true
Place: https://bitkit.to/terms-of-use

We will publish the new website soon.
Here is the PR that fixes this:
https://github.com/synonymdev/synonym-website/pull/128


Add reference in notebooks to specific version of data-prep-toolkit

In order to make sure that the notebook continues to work as expected without impact from future releases of the library, it is highly recommended to add data-prep-toolkit==0.2.1 to the requirements.txt file. Current and future releases of the transform have more relaxed requirements using add data-prep-toolkit>=x.x.x. However, as it relates to this particular notebook, it may not be desireable to pull in the latest release but, more appropriately, lock down a specific release.
https://github.com/IBM/data-prep-kit/blob/359c1a46058ff88149d519a72b28dee256c0b537/examples/notebooks/rag/requirements.txt#L3

@touma-I This is a good idea. For the rag example, both in the dev branch and in the notebook branch, this has already been done (By @sujee ), i.e., data-prep-toolkit==0.2.1 in the requirements.txt file.

Closing this issue as complete. cc: @shahrokhDaijavad


add setup using vagrant and virtualbox and support for python 2.7

Hi, I saw your project(edge) and I really liked.
However I'm still on python 2 and I wanted to use edge for python 2. Thus I created this fork. Maybe in your project you could point people who want python 2 compatibility over here.
I also added vagrant/ansible devops.
cheers,
Komu W.

Thanks Komu. The devops part was really fantastic. I am working on adding Python 2.x compatibility into the project. Hope to include it in the next release soon.

@arocks Hi, Thanks for the kind words.
It's great that you plan on supporting python2 in the next release. I hope that very soon we will all move to the land of milk, honey and python3.


Count is less than expected count (84)

Chapter-wise count: {1: 17, 2: 6, 3: 3, 4: 1, 5: 1, 6: 5, 8: 2, 10: 7, 11: 31, 12: 1, 14: 1, 17: 1, 18: 2}
Total verses by Arjuna: 78
Chapter 1 is missing several verses due to missing the Arjuna said. Quick fix would be to change the bhagavad_gita.txt to include that right after 1.20 (Arjuna said:)
Seeing the sons of Dhritaraashtra standing; and the war about to
begin; Arjuna, whose banner bore the emblem of Hanumana, took up
his bow; and (1.20)
Spoke these words to Lord Krishna: O Lord, (please) stop my chariot
between the two armies until I behold those who stand here eager
for battle and with whom I must engage in this act of war.
(1.21-22)

With these changes, now count is 82. I will get a PR out after checking for two more.
diff --git a/arjuna-uvacha.py b/arjuna-uvacha.py
index a9551af..650890f 100644
--- a/arjuna-uvacha.py
+++ b/arjuna-uvacha.py
@@ -12,7 +12,7 @@ def get_arjuna_verses_by_chapter(text):
is_arjuna_speaking = False
 for line in lines:

   if re.search(r'\bArjuna\b.*?\bsaid:', line):

   if re.search(r'(\bArjuna\b.*?\b([sS]aid:|[sS]poke)|\bArjuna said:?)', line):
       is_arjuna_speaking = True
       current_verse = []
   elif 'said:' in line and not re.search(r'\bArjuna\b.*?\bsaid:', line):

diff --git a/bhagavad_gita.txt b/bhagavad_gita.txt
index 2a24bed..0966c6e 100644
--- a/bhagavad_gita.txt
+++ b/bhagavad_gita.txt
@@ -115,7 +115,7 @@ hearts of the Kauravas. (1.19)
Seeing the sons of Dhritaraashtra standing; and the war about to
begin; Arjuna, whose banner bore the emblem of Hanumana, took up
his bow; and (1.20)
-Spoke these words to Lord Krishna: O Lord, (please) stop my chariot
+Arjuna Spoke these words to Lord Krishna: O Lord, (please) stop my chariot
between the two armies until I behold those who stand here eager
for battle and with whom I must engage in this act of war.
(1.21-22)

With this change, count is now closer to (but now exceeds) what is expected, need to work on it one more time.
         if is_arjuna_speaking:
             current_verse.append(line)
-            verse_matches = re.findall(r'\((\d+)\.(\d+)\)', line)
-            for chapter, verse in verse_matches:
+            verse_matches = re.findall(r'\((\d+)\.(\d+)(\-(\d+))?\)', line)
+
+            #for chapter, verse  in verse_matches:
+            # verse_matches examples - [], [('1', '23', '', '')], [('1', '21', '-22', '22')]
+            if len(verse_matches) > 0:
+                chapter = verse_matches[0][0]
                 chapter = int(chapter)
                 chapter_verse_counts.setdefault(chapter, 0)
                 chapter_verse_counts[chapter] += 1
+                if verse_matches[0][3] != '':
+                          chapter_verse_counts[chapter] += int(verse_matches[0][3]) - int(verse_matches[0][1])
                 arjuna_verses_text.setdefault(chapter, []).append(' '.join(current_verse))
                 current_verse = []

Thanks @krishnaharathi for continuing to work on this. Good you are handling the verses which are coupled (1.21-22). On Chapter 2 and Chapter 11, it is over counting. Chapter 2 has only 6 verses attributed to Arjuna. Maybe your regular expression of [sS]poke) is matching more.
Another approach we can take is to modify the data file directly and keep the matching with the said:
< My head turns,
< (1.30)
< I am unable to stand steady and, O Krishna, I see
< bad omens. I see no use of killing my kinsmen in battle.
< (1.31)

My head turns, I am unable to stand steady and, O Krishna, I see
bad omens. I see no use of killing my kinsmen in battle. (1.30-31)

@krishnaharathi I committed a change for this. We are still missing one verse. I dont know if it is due to the original counting in chapter1 some as 1/2 verse or something else.
Chapter 1: ['1.21', '1.22', '1.23', '1.28', '1.29', '1.30', '1.31', '1.32', '1.33', '1.34', '1.35', '1.36', '1.37', '1.38', '1.39', '1.40', '1.41', '1.42', '1.43', '1.44', '1.45', '1.46']
Chapter 2: ['2.04', '2.05', '2.06', '2.07', '2.08', '2.54']
Chapter 3: ['3.01', '3.02', '3.36']
Chapter 4: ['4.04']
Chapter 5: ['5.01']
Chapter 6: ['6.33', '6.34', '6.37', '6.38', '6.39']
Chapter 8: ['8.01', '8.02']
Chapter 10: ['10.12', '10.13', '10.14', '10.15', '10.16', '10.17', '10.18']
Chapter 11: ['11.01', '11.02', '11.03', '11.04', '11.15', '11.16', '11.17', '11.18', '11.19', '11.20', '11.21', '11.22', '11.23', '11.24', '11.25', '11.26', '11.27', '11.28', '11.29', '11.30', '11.31', '11.36', '11.37', '11.38', '11.39', '11.40', '11.41', '11.42', '11.43', '11.44', '11.45', '11.46', '11.51']
Chapter 12: ['12.01']
Chapter 14: ['14.21']
Chapter 17: ['17.01']
Chapter 18: ['18.01', '18.73']
Chapter-wise count: {1: 22, 2: 6, 3: 3, 4: 1, 5: 1, 6: 5, 8: 2, 10: 7, 11: 33, 12: 1, 14: 1, 17: 1, 18: 2}
Total verses by Arjuna: 85


jdk 1.7.79 x 64 installation problem/ubuntu x64

Hi.
You need setup user values for jdk_version and other vars if user installed version not listed in set-role-variables.yml.
Fot example i try to install java_version 7 and java_subversion 79  jdk_arch x64 from local file.
In during installation i got error  'jdk_version' is undefined.

Yes.
One approach to getting rid of this limitation is to write a crawler to periodically check the Oracle site and output such a table accordingly.

Yes

I've added a new option jdk_tarball_file in https://github.com/William-Yeh/ansible-oracle-java/commit/661cc68653750bbb904243570cf9318d0b93a178
Below is extracted from README:
Customized variables, if absolutely necessary
If you have a pre-downloaded jdk_tarball_file whose filename cannot be inferred successfully by tasks/set-role-variables.yml, you may specify it explicitly:
# Specify the pre-fetch filename (without tailing .tar.gz or .rpm or .dmg);
# used in conjunction with `java_download_from_oracle: false`.

jdk_tarball_file

# For example, if you have a `files/jdk-7u79-linux-x64.tar.gz` locally,
# but the filename cannot be inferred successfully by `tasks/set-role-variables.yml`,
# you may specify the following variables in your playbook:
#
#    java_version:    7
#    java_subversion: 79
#    java_download_from_oracle: false
#    jdk_tarball_file: jdk-7u79-linux-x64
#


Request: add option for baseline/prior when fitting a model

Would be nice if lightgbm allowed passing a vector or matrix of scores to use as a starting point when fitting a model, akin to catboost's "baseline" - that is, if I fit a binary classification model and pass a score of 0.1 for that observation, it should already start with a prediction/residual slightly oriented towards the positive class.
I see it currently has an "init_model" option, but it's not exactly the same.

Can you please provide some specifics on how LightGBM's init_score is different from what you'd like to see?

Apologies, had interpreted the docs incorrectly, from some experimentation it is the same indeed.

No problem! If you think there is a way to make the documentation clearer, we'd welcome a pull request with a proposed improvement.


fix(contrib): warn if commit subject is too long

[skip ci]

:+1: Do we want to use yellow for warnings?

Yes, I'll change it. :yellow_heart:

LGTM. The line length was more of a guideline than an enforced rule. I'll update the docs to be less harsh. :)

LGTM


net.sf.jsqlparser.parser.ParseException

sql:
select count(id) from p_custom_data ignore index(pri) where tenant_id=28257 and entity_id=92609 and delete_flg=0 " +
"and ( (dbc_relation_2 = 52701) and (dbc_relation_2 in ( select id from a_order where tenant_id = 28257 and  1=1  ) ) ) order by id desc, id  desc
why can't parse the sql.
Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " <S_CHAR_LITERAL> "'index' "" at line 1, column 44.
Was expecting one of:

"JOIN" ...
"LEFT" ...
"FULL" ...
"WHERE" ...
"GROUP" ...
"INNER" ...
"LIMIT" ...
"OUTER" ...
"ORDER" ...
"RIGHT" ...
"OFFSET" ...
"HAVING" ...
"NATURAL" ...
";" ...
"," ...
"LEFT" ...
"RIGHT" ...
"FULL" ...
"NATURAL" ...
"OUTER" ...
"INNER" ...
"JOIN" ...
"," ...
"WHERE" ...
"GROUP" ...
"HAVING" ...
"ORDER" ...
"LIMIT" ...
"OFFSET" ...
"LIMIT" ...
at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:5530)
at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:5406)
at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:149)
at net.sf.jsqlparser.parser.CCJSqlParserManager.parse(CCJSqlParserManager.java:38)
... 25 more

who can answer me?

We are still on the start to provide optimizer hints. The problem here seems to be at the first glance:  ignore index(pri).

this SQL statement can be executed directly by Mysql,  why jsqlparse can not parse it?

because JSqlParser supports a subset of all different SQL grammars. Niche cases, like yours, have only been added slowly by other people via PRs.
It seems from the grammar that ignore index(blah) should be supported:
{
	(actionToken = <K_USE>
	| actionToken = <K_IGNORE>
	| actionToken = <K_FORCE> )
	(indexToken = <K_INDEX>
	| indexToken = <K_KEY>)
	"("
	indexName = Identifier() { indexNameList.add(indexName); }
	("," indexName= Identifier() { indexNameList.add(indexName); })*
	")"
	{
		return new MySQLIndexHint(actionToken.image, indexToken.image, indexNameList);
	}
}

And the Plain select ends up calling FromItem, which has the code for trying to find the hint
I think your best bet would be to try to use the Visualize Parsing section to see what token didn't get consumed properly.

@AnEmortalKid Thx for pointing that out. I will look into it.

Sorry for being a little late. Which version do you use? Using JSqlParser V1.1 I was able to parse your statement successfully.

Could be an older version, looks like this was fixed recently: https://github.com/JSQLParser/JSqlParser/pull/429


No_std fix

Fixes #1
Added examples feature that pulls in the linux-embedded-hal so that the examples can be executed

The checks fail with this error:
Error: failed to parse manifest at `/home/runner/work/dummy-pin-rs/dummy-pin-rs/Cargo.toml`
Caused by:
  feature `examples` includes `#linux-embedded-hal` which is neither a dependency nor another feature
Error: The process '/usr/share/rust/.cargo/bin/cargo' failed with exit code 101

I don't know where that # comes from... Any idea?


"Start Scan" button in SQLMAP Scanner Tab is not visible

Hi Josh,
First of all thank you for writing this awesome burp extension, it comes real handy in identifying parameters vulnerable to sql injection using SQLMap. However, I have been facing this issue where I don't see "Start Scan" button in SQLMAP Scanner Tab. I reached out to Burp Support and they were able to see the "Start Scan" button somehow.
I have tried the following things:

Changing Display UI to Metal, OS x and Nimbus.
Using it with updated Oracle Java installed.
Using it on Burp pro and Burp Free
Using it on Mac OS x and Kali Linux (Both Free and Pro Version)
Re-Installing SQLipy Extension
Re-installing Jython

but nothing seems to be working, I am using Burp (Paid and Free) and Jython latest version.
There are no errors generated only the following output:
Calling: /usr/bin/python /usr/share/sqlmap/sqlmapapi.py -s -H <IP_ADDRESS> -p 8888

[06:36:49] [INFO] Running REST-JSON API server at '<IP_ADDRESS>:8888'..
[06:36:49] [INFO] Admin ID: 683e40ffbf9de08abf671fe0baec0532
[06:36:49] [DEBUG] IPC database: /tmp/sqlmapipc-sHXl8u
[06:36:49] [DEBUG] REST-JSON API server connected to IPC database

What do you think could be causing this issue?
Let us know your thoughts on this.
-Ishan

What is the resolution of the monitor set to?  What version of the extension are you using?  What version of Jython are you using?  What is the actual full version of Java in use?  Do you see all of the other form fields in the "SQLMap Scanner" tab?  Can you provide a screenshot of what you see on that tab?  Within Burp, in the "User options"->"Display" tab, what is the font size set to?

trying find in SQLiPy.py "self._jButtonStartScan.setBounds(346, 1047, 103, 29)"
change "self._jButtonStartScan.setBounds(346, 10, 103, 29)"

Hi @codewatchorg ,
Version Details are follows:
Burpv <IP_ADDRESS>
SQLiPy - 0.5.0
Java 8 Update 101
Resolution:	2560 x 1600 Retina
Jython Version: Standalone 2.7.0.jar

Burp Diagnostics
java.runtime.name                Java(TM) SE Runtime Environment
java.runtime.version             1.8.0_101-b13
java.specification.version       1.8
java.version                     1.8.0_101
java.vm.version                  25.101-b13
os.arch                          x86_64
os.name                          Mac OS X
os.version                       10.11.6

Yes I am able to see all other form fields and controls just not "Start Scan Tab".
Font Size is Default: 11 (default)
Screenshot Attached.

@fengdingbo
Thank you so much, I have change the setBound values as you mentioned and Now I can see the button on the top.
Thank you.

I have updated the code to version 0.5.2, adding a new feature as well as fixing this issue of the start button not displaying.  It is in Github now but hopefully will be added to the BApp store soon.
From: Ishan Girdhar<EMAIL_ADDRESS>Sent: Thursday, August 11, 2016 4:53 AM
To: codewatchorg/sqlipy<EMAIL_ADDRESS>Cc: Josh Bery<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [codewatchorg/sqlipy] "Start Scan" button in SQLMAP Scanner Tab is not visible (#10)
Closed #10 https://github.com/codewatchorg/sqlipy/issues/10 .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/codewatchorg/sqlipy/issues/10#event-752441269 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHkg8U1AvswIcIjfHizrx5EWGEVEmlCTks5qevDjgaJpZM4JdkXF .  https://github.com/notifications/beacon/AHkg8SrMjUrAM3Etoi-2H7xxDgKDroCJks5qevDjgaJpZM4JdkXF.gif

How can i install sqlipy in burp manually from git without bapp store?

Dmitry,
You just download the script file, then when you start Burp go to the “Extender->Extensions” tab and hit the “Add” button.  In the “Extension Details” you change the type to Python, hit the “Select file” button and navigate to where you downloaded the script, and then click the “Next” button.
Thanks,
Josh
From: Dmitry Dementyev<EMAIL_ADDRESS>Sent: Monday, August 29, 2016 4:31 AM
To: codewatchorg/sqlipy<EMAIL_ADDRESS>Cc: Josh Bery<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [codewatchorg/sqlipy] "Start Scan" button in SQLMAP Scanner Tab is not visible (#10)
How can i install sqlipy in burp manually from git without bapp store?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/codewatchorg/sqlipy/issues/10#issuecomment-243077732 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHkg8YgQD6nX4irm6uaKtFMz5C3bSgaZks5qkqa5gaJpZM4JdkXF .  https://github.com/notifications/beacon/AHkg8S5eQQhA86OKhaPhH3ymC5f-_OU9ks5qkqa5gaJpZM4JdkXF.gif


New button variant: Subtle

Purpose: Add new color variant to the Button component named "Subtle".
Figma: https://www.figma.com/file/VoWYiiOKKppcYm5QLgPyDC/Components---Inputs?node-id=88%3A10722
AC
Default (light) mode
Contained

1.0 Default state
-- 1.1 Icon + text color = neutral-700
-- 1.2 Background color = neutral-100
-- 1.3 Border color =  neutral-300
2.0 Hover state
-- 2.1 Background color = #000000, opacity 5%
3.0 Active state
-- 3.1 Background color = #000000, opacity 10%
4.0 Disabled state
-- 4.1 Same as disabled state on Secondary button

No container, text only

5.0 Default state
-- 5.1 Icon + text color = neutral-700
-- 5.2 Background color = transparent
-- 5.3 No border
6.0 Hover state
-- 6.1 Background color = #000000, opacity 5%
7.0 Active state
-- 7.1 Background color = #000000, opacity 10%
8.0 Disabled state
-- 8.1 Same as other disabled text only buttons

Inverse (dark) mode
Contained

9.0 Default state
-- 9.1 Icon + text color = neutral-100
-- 9.2 Background color = transparent
-- 9.3 Border color =  #FFFFFF, opacity 20%
10.0 Hover state
-- 10.1 Background color = #000000, opacity 30%
11.0 Active state
-- 11.1 Background color = #000000, opacity 50%
12.0 Disabled state
-- 12.1 Same as disabled state on Secondary button

No container, text only

13.0 Default state
-- 13.1 Icon + text color = neutral-100
-- 13.2 Background color = transparent
-- 13.3 No border
14.0 Hover state
-- 14.1 Background color = #000000, opacity 30%
15.0 Active state
-- 15.1 Background color = #000000, opacity 50%
16.0 Disabled state
-- 16.1 Same as other disabled text only buttons

How to test

Confirm the Subtle button color matches specs (https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/button--default)
Test it works within a ButtonGroup, IconButton, SplitDropdown
Confirm appropriate changes have been made to the docs site (https://next--upbeat-sinoussi-f675aa.netlify.app/api/button/)

Verified the ticket and found this to be working as desired.
See Screen-cast : http://somup.com/c3XnhlvBF6
Thanks!


Cordova is not working with Angular 9.

When i upgraded my project to ionic 5 with latest version of angular 8, cordova plugins works perfectly, but when i upgrade to angular 9, plugins don't work.
i use: ionic cordova run android --consolelogs -l --no-native-run --address=<IP_ADDRESS>

Thanks for the issue. It looks like the issue is caused by this: https://github.com/ionic-team/angular-toolkit/issues/184.
There is a PR that is open and should be merged soon: https://github.com/ionic-team/angular-toolkit/pull/201


Running single test method broken when using full Junit5 method name with parentheses included

Multiple IDEs have operations for re-running failed tests.  To discover failed JUnit tests (when delegating test runs to Gradle), they parse the JUnit output to collect the failed method names.  This has been working well for a long time, but...
Junit5 reports method names with some extra new text at the end.  Namely, there is always a parenthesized list of comma-separated parameters.  And for repeated or parameterized tests there is also instance-identifying information in square brackets.
The problem is that the Gradle test filtering doesn't yet comprehend that extra new text at the ends of method names.  So it doesn't match on the method(s) given, even though the given names are legal and unambiguous Junit5 test method names.
For example, this correctly runs the given test method:
gradle cleanTest test --tests "my.package.MyTestClass.myTestMethod"

And this should do the same thing, but fails with "No tests found for given includes":
gradle cleanTest test --tests "my.package.MyTestClass.myTestMethod()"

Please fix Gradle's processing of test filters so that all legal Junit 5 method names (as they would appear in Junit 5 reports) are accepted and run correctly.
Otherwise, tools which want to parse Junit 5 output to collect method names and re-run them through Gradle are forced to hack around this issue by stripping off the extra new suffixes.   But that is a band-aid solution for them, and isn't desirable because the resulting names passed to Gradle are actually ambiguous.  One can imagine future support for running a specific instance of a parameterized test by providing the full new Junit 5 method name with instance indentifier included.  Having other tools stripping away the suffix would preclude that useful potential future feature.

For Netbeans with the old Gradle Support plugin, this was solved in https://github.com/kelemen/netbeans-gradle-project/issues/392
But this issue still appears to be happening in IDEA even on latest version... it tries to pass the name with parens to Gradle and so "re-run failed" operation doesn't work.
I'm sure there are many other tools with same issue out there when combining Gradle and Junit 5...


Add geodistance query test

Description
Adds a spec test for the geodistance query
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@nhtruong @Xtansia @dblock This is my first spec test so please bare with me :) The geodistance query requires a field from which to measure the distance. This field must be a geo_point. If I add a field to the test without adding it to the spec, it fails because the field is not in the spec. If I add the field property to the GeoDistanceQuery, I cannot specify the field to be geo_point (it's not one of the allowed values). What's the preferred way of going about this?

@dblock Thanks for reviewing. I addressed your comments.

@kolchfa-aws Can you please rebase?

@nhtruong @Xtansia @dblock This is my first spec test so please bear with me :) The geodistance query requires a field from which to measure the distance. This field must be a geo_point. If I add a field to the test without adding it to the spec, it fails because the field is not in the spec. If I add the field property to the GeoDistanceQuery, I cannot specify the field to be geo_point (it's not one of the allowed values). What's the preferred way of going about this?

Looks like you figured out a workaround by putting this in the prologue? LMK if you still need help.

Looks like there are still unrelated changes and a missing DCO. LMK if you need help.


feat: add BroadcastMailbox type

Closing for now since this is becoming a little outdated. If this is useful for you, please leave a comment and I'll look into it again


Fix string issue for temp_export_dir

Currently, running tensorflow on python3 I get redundant b modifier of basename
INFO:tensorflow:SavedModel written to: b"exported_models/temp-b'1520964906'/saved_model.pb"
INFO:tensorflow:SavedModel written to: b"exported_models/temp-b'1520964906'/saved_model.pb"

Wait a sec, seems like I can update a couple more things and double check on this

anybody to take a look? cc @martinwicke

2 failing and 14 successful checks - looks good so far, is there anything we can do with two failing builds?

There are linter failures, should be easy to fix. The relevant log is here:
https://source.cloud.google.com/results/invocations/09a9636f-b6b5-46a5-a563-e1ac23e651e1/targets/%2F%2Ftensorflow%2Ftools%2Fci_build:gen_ci_sanity_out/log
(look for "non-whitelited pylint errors")

Should be good now, seems like we need to re-trigger test with kokoro:force-run


Add variable name extraction methods to prompt clients

Overview
PR introduces a _find_variable_names static method to extract variable names from content, similar to how _compile_template_string static method. works.
Usage
text_prompt = TextPromptClient(
    name="example_text_prompt",
    version=1,
    prompt="{{ var1 }} {{ var2 }}",
)

text_variables = text_prompt.variable_names()
print(text_variables)
# > ['var1', 'var2']

chat_prompt = ChatPromptClient(
    name="example_chat_prompt",
    version=1,
    prompt=[
        {"role": "system", "content": "{{ system_var }}."},
        {"role": "user", "content": "{{ user_var }}."},
    ],
)

chat_variables = chat_prompt.variable_names()
print(chat_variables)
# > [{'role': 'system', 'variables': ['system_var']}, {'role': 'user', 'variables': ['user_var']}]

ref: https://github.com/orgs/langfuse/discussions/4414

[!IMPORTANT]
Add _find_variable_names method to extract variable names from prompt templates in BasePromptClient, with tests for text and chat prompts.

Behavior:

Adds _find_variable_names static method in BasePromptClient to extract variable names from content.
Implements variable_names() in TextPromptClient and ChatPromptClient to return variable names from prompts.

Tests:

Adds tests in test_prompt.py for variable_names() in both text and chat prompts, covering cases with and without variables.

This description was created by  for 6cdbb708d4483d2c1dd6519f2a19931c96375e40. It will automatically update as commits are pushed.

@hassiebp looks good?

Thanks a lot for your contribution @rhighs - looks good and I'll take it from here! 🙏🏾


Struggling to train with custom alphabet including spaces...

Hi, Fausto
First of all, thanks for sharing this implementation, I have actually started using your codebase recently because it's much nicer and cleaner than what I did a few months ago! :)
I'm trying to train the model using a custom dataset, and a custom alphabet including all letters, some special symbols and the space ' ' character. Everything works great if I ommit the space character from the sequences. When the ' ' (or whatever replacement I'm using) I can't get the model to train, I see 2 issues arise:

loss is inf.
a message in the console showing an error in the ctc funcion (./tensorflow/core/util/ctc/ctc_loss_calculator.h:499] No valid path found.)
[2] happens some times during normal trianing but it's not very common and the model keeps training correctly.

I've tried freezing the backbone layers with no success... (It actually achieves much better results when training the whole network).
I tried adding a start sequence character '\t' and an end sequence '\n' and that can be learned on a sencence level, but not on a word level...
I also changed the get_batch_generator function to remove the .strip() calls to each sentence.
Do you have any ideas that I could try or changes to the code that might prevent this issue?
Thank you!
Chepe

Just chiming in as someone who has been able to train the recognizer using a custom dataset and a custom alphabet that includes more than just lowercase letters and digits.
Here's my alphabet:
alphabet = ' #()-./0123456789:ABCDEGHIKLMNRSTUVWabcdeghiklmnoprstuvwyz'
I then instantiate the recognizier like this:
recognizer = keras_ocr.recognition.Recognizer(alphabet=alphabet, weights=None)

Then a training script identical to the one here  in the docs works, with the only change being the kwarg for keras_ocr.datasets.get_recognizer_image_generator being changed from alphabet=recognizer.alphabet to alphabet=alphabet.

Thanks @csmcallister! What you proposed is what I was planning to say.
I think the main problem here is that it seems you are expecting the recognizer to be able to pick up on leading / trailing spaces and newlines. The recognizer architecture, being a convolutional recurrent neural network, makes its predictions using full height vertical slices being passed sequentially to the RNN portion of the network. This architecture makes it all but impossible for the network to discern between what is actual whitespace (i.e., margin) and semantically meaningful whitespace (i.e., trailing space) when it occurs at the start or end of a sentence. Spaces embedded within a sentence can be picked up but not spaces at the start or end. This is why the .strip() is important and should not be removed.

@csmcallister and @faustomorales  Thank you both for your quick replies. That is essentially what I'm doing, except for the fact that I'm using actual crops from real images instead of artificially generated images. (dataset was annotated manually and used effectively to train other models.
The strip function is back in place. But the spaces embedded within sentences are not being picked up by the model, instead sending the errors to inf... I can share some code snippets below:
 DEFAULT_ALPHABET = '\t\n!"#$\'/()*+.,-0123456789:;=?<>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]_abcdefghijklmnopqrstuvwxyz{}~¢¥µñÑΩ€'
 recognizer = keras_ocr.recognition.Recognizer(alphabet=DEFAULT_ALPHABET, weights='kurapan')
To cleanup the sentences and introduce the start/end characters (which are useful for my application and other RNNs later in the chain), i do:

def clean_text(samples):
    new_samples = []
    for _,text,img in samples:
        text = remove_accents(text)
        text = '\t'+text+'\n'
        text = ''.join([c for c in text if c in DEFAULT_ALPHABET])
        new_samples.append((_,text,img))
    return new_samples

Then, I call your batch generator as below:
batch_size = 8
training_gen, validation_gen = [
    recognizer.get_batch_generator(
        recognizer,
        image_generator=image_generator,
        batch_size=batch_size
    )
    for image_generator in [sample_generator(images_train, texts_train),sample_generator(images_val, texts_val) ]
]

And start the training proces..
However, if the dicionary includes the space character, this is what I'm seing in the training log: 100/100 [==============================] - 5s 47ms/step - loss: inf - val_loss: inf
and in the output console:
 ./tensorflow/core/util/ctc/ctc_loss_calculator.h:499] No valid path found
If the alphabet doesn't include the space character, it is removed by my cleanup function...

The example script that @csmcallister linked to does not use artificially generated images. They are crops from real images.
The recognizer architecture will not be able to detect whitespace characters like \t or \n. These must be removed. Spaces are okay, as long as they are between words (like the space between "the" and "fox" in the phrase "the fox").
To help diagnose the exploding gradient, I would suggest using a single image as a test case and see if the gradient continues to explode. If you share a sample image, I can try to take a look.

If you need the whitespace characters to wrap the predictions, that can happen as a post-processing step after the network output, rather than including it as part of the network output.

Thank you, that would be great. I can send you a few sample images privately (please let me know an email address, I can't post them here...).
About the extra characters, they are useful for a seq2seq model that come after in the chain, but for the purposes of this discussion they have been removed (with the same result).
I don't think the problem is exploding gradients per se... the message in the console leads me to believe that the ctc error calculation is aborted for some reason, because the loss changes to inf imediately after that message appears.
JM

Done. Thank you :)

Hi! I just solved my issue. Turns out that some of my labels had duplicate spaces...  I fixed that and now it's training flawlessly :D thanks again for your comments, they definitely pointed me in the right direction (our own data).
Cheers!

Thank you so much for reporting this issue. Indeed the problem was that you had labels that looked like "foo    bar", which made it very difficult for the model to train since it is all but impossible to distinguish five spaces from four spaces. I was able to use your dataset to train successfully using the following snippet.
The key line is  ' '.join(f.read().split()) which splits the strings using whitespace and then recombines them with only a single space.
import glob
import string

import keras_ocr

def load(label_filepath):
    with open(label_filepath) as f:
        label = ' '.join(f.read().split())
    image_filepath = label_filepath.replace('.txt', '.jpg')
    return image_filepath, None, label

labels = list(map(load, glob.glob('sample_dataset/*.txt')))
alphabet = string.ascii_letters + string.digits + '* /.:,+-¥='
assert all(not any(t not in alphabet for t in text) for _, _, text in labels), 'An illegal character was found.'

recognizer = keras_ocr.recognition.Recognizer(alphabet=alphabet)
recognizer.compile()

image_generator = keras_ocr.datasets.get_recognizer_image_generator(alphabet=alphabet, labels=labels, height=31, width=200)
batch_generator = recognizer.get_batch_generator(image_generator=image_generator)
recognizer.training_model.fit(
    x=batch_generator,
    steps_per_epoch=10
)

I've just pushed https://github.com/faustomorales/keras-ocr/commit/900f873346728f3079ee66ccb92f5e9a21c88e95, which adds an assertion to check for this problem. Without this issue, we probably would not have found it. Again, thanks!

Awesome! Thank you very much for this!


Don't generate rcov coverage data by default

Only generate it on CI build, or if run with COVERAGE=on.
Generating the coverage files takes a non-trivial time after a successful run
of the test suite, which can be annoying if you want to get on with running
another command.

I've wanted this. Thanks!


Add benchmark/dataset for classical ML algorithms

I don't see any datasets in MLPERF, which can be solved with classical machine learning algorithms ( e.g. Linear or Logistic Regression, Decision Trees, Random Forest etc.).
Some examples of datasets I can reference here are :

https://www.kaggle.com/c/criteo-display-ad-challenge/data for binary classification.
https://www.kaggle.com/c/house-prices-advanced-regression-techniques for regression.

These would be useful for use in real-world scenarios where interpretability of the prediction is of utmost importance. Generalized Linear Models have a good share in the real world for this very reason!
I did not find a reference which states that MLPERF is only for deep learning problems, so I think this kind of benchmark/dataset should be added for the democratization of these suit of benchmarks.
Thanks!

I totally agree that ML != DL, but do you have any data on how widely these models are used in production?

Well, I think they target different problem space(though sometimes overlap). I can't confidently say much about the actual usage in production, but based on Kaggle survey 2018 I still see sizable importance given by data science practitioners to sklearn, random forest and xgboost. There are also new promising players like snapML and cuML which continue to invest in the classic machine learning space.

Facebook is quite public that they use gradient-boosted decision trees for
sigma - their anomaly detector.
I would strongly support more traditional forms of ML.
David
On Sat, Mar 9, 2019 at 7:45 AM ksangeek<EMAIL_ADDRESS>wrote:

Well, I think they target different problem space(though sometimes
overlap). I can't confidently say much about the actual usage in
production, but based on Kaggle survey 2018
https://www.kaggle.com/paultimothymooney/2018-kaggle-machine-learning-data-science-survey
I still see sizable importance given by data science practitioners to
sklearn, random forest and xgboost. There are also new promising players
like snapML https://www.zurich.ibm.com/snapml/ and cuML
https://rapids.ai/ which continue to invest in the classic machine
learning space.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mlperf/policies/issues/188#issuecomment-471192202,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Am63K4A1b6Ufbj19MV771DTY6AfxyTMhks5vU9cVgaJpZM4bmnqa
.

Is there any dataset we can use at MLPerf? Maybe just borrow from Kaggle?


Allow query-param cache busting in chunk names

We use query params for cache-busting (eg, chunkFilename: '[name].js?[chunkhash]'), but extname() can't properly get the extension when there's a param attached. This change would allow the use of query params.

Hello @jordanburk, thanks, can you add a test please?

Hi @neoziro , sorry about that! I have added tests as requested. Please let me know if they are sufficient, thank you ^_^

Yes all good for me thanks!

Hi @neoziro, thank you for accepting this. Any estimate on when it will be released? Hoping to get this in use on production soon.
Thanks for your time!

Released!


Set up MVC

Set up the BBC MVC as base (https://github.com/ICT-BBC/mvc)

resolved by 1fd5ffb7be444b12c979c988ab6824aa2ae19418


[Wallets] fix gas estimations for local and embedded wallets

Problem solved
For local/embedded wallets, we weren't using our custom gas estimation
Changes made

[ ] Public API changes: list the public API changes made if any
[x] Internal API changes: wrapped signers to override sendTransaction, getDefaultOverrides now always return regardless of browser context

How to test

[ ] Automated tests: link to unit test file
[x] Manual tests: tested in react app + dashboard

/release-pr


[decomp] get started on entity

Unfortunately we aren't quite ready to do this entire file, but I at least got it started and learned a lot about the entity/actor/camera/ambient system.
Here's a screenshot of the green sage's hut, with entity marks and visiblity.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

50 of 83 (60.24%)  changed or added relevant lines in 5 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.005%) to 64.748%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

goalc/compiler/compilation/Static.cpp
9
10
90.0%

game/system/newpad.cpp
0
2
0.0%

decompiler/util/data_decompile.cpp
7
12
58.33%

decompiler/IR2/bitfields.cpp
33
58
56.9%

Files with Coverage Reduction
New Missed Lines
%

decompiler/util/data_decompile.cpp
1
53.41%

goalc/listener/Listener.cpp
3
84.29%

Totals

Change from base Build<PHONE_NUMBER>:
-0.005%

Covered Lines:
39807

Relevant Lines:
61480

💛  - Coveralls


Feature request: mapMaybe

I find myself doing fromJust . filter isJust . fmap f, where f :: a -> Maybe b. Is it possible to have a mapMaybe-like function for this to avoid importing and using partial functions?

@GregorySchwartz: What is the type signature that you expect for this utility?

(a -> Maybe b) -> Shell a -> Shell b. Or, preferably, have an instance of Shell that would accomplish the same task (and more through generalization).

Does this do what you want?
filterShell :: (a -> Maybe b) -> Shell a -> Shell b
filterShell p s = fmap p s >>= select

It seems like this doesn't have to be turtle-specific.  This utility could be generalized to any MonadPlus:
example :: MonadPlus m => (a -> Maybe a) -> m a -> m a
example f m = do
    a <- m

    case f a of
        Nothing -> mzero
        Just b  -> return b

I'm actually surprised that there's not already something like this in Control.Monad.

Wouldn't the more general function be the following ?
example2 :: MonadPlus m => m (Maybe a) -> m a
example2 m = do
    a <- m
    case a of
        Nothing -> mzero
        Just b  -> return b

Then example f m = example2 $ fmap f m

Yes, that would be perfect (although simplier than I thought it would be, which is always a good thing!).

@GregorySchwartz: Could you try to see if this could be added to base?  If they turn it down, though, then I can add it to turtle

This exists as the mapMaybe method of Filterable in witherable.
It seems the WrappedFoldable instance is the one wanted here (perhaps via DerivingVia?):
mapMaybe :: (Foldable f, Alterative f) => (a -> Maybe b) -> f a -> f b
mapMaybe f = foldr (\x xs -> case p x of {Just a -> pure a <|> xs; _ -> xs}) empty


Cron jobs and timezone handling

I have a docker container which inherits from scratch. I have an apalis cron job which is supposed to execute at 0000 hrs and 1200 hrs everyday. It does execute but at exactly 0530 hrs for me (I live in Asia/Kolkata timezone which has that offset). How can I configure apalis so that it executes at 0000 hrs of my timezone?
Setting the TZ env variable does not work, probably due to the scratch docker environment.
I'm not really sure if this problem even belongs to this repository, but would love any pointers you'd have on debugging this issue.

Currently apalis uses UTC.
https://docs.rs/apalis-cron/latest/src/apalis_cron/lib.rs.html#108
Is it possible you play around with a custom CronStream implementation? And then you can comment here what you find out then we shall see what solution is possible.

Any suggestions on how I can test it?

I will try something and get back.

Yes that behaviour is expected. However I'm running my application in an environment which does not have the timezone database (docker scratch).

Could you give this a try?
RUN apt-get update && apt-get install -y tzdata
ENV TZ=Your/Timezone
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

Not sure it will work but just throwing it out there

Can't do this since this has to be set at build time, and I want users to be able to configure it at start-time.

I think there is a fix that can help though. Since cron offers a chance to set the timezone,
   pub fn after_owned<Z: TimeZone>(&self, after: DateTime<Z>) -> OwnedScheduleIterator<Z> {
        OwnedScheduleIterator::new(self.clone(), after)
    }

I will offer the same functionality as here:
 pub fn to_stream_with_timezone<T: Timezone>(self) -> BoxStream { .. }

Yeah, looks good to me!

Awesome, this should be fixed in the next release.
On another note, I want to make a list of projects using apalis, hope I can include ryot there :)

Awesome, this should be fixed in the next release.

What changes would I have to make?

hope I can include ryot there :)

I would be honored!

Cool makes sense. Thanks for your prompt response.

Hey @geofmureithi any updates on this?

Hopefully by the end of this month. OSS doesn't pay, I still have to pay my bills you know.

Sorry if I came off as entitled. I understand.

Hi @geofmureithi. Were you able to get to this?

Here is a quick solution for your case.
trait ToStreamWithTimezone {
    fn to_stream_with_timezone(self, tz: Timezone) -> BoxStream;
}

Then implement it for CronStream.
This is a simple workaround and can unblock you until this issue is fixed.
Let me know if this helps.

I am not able to figure out how to use it. Is there any example?

This is how the implementation would look:
impl<J: From<DateTime<TZ>> + Job + Send + 'static, T: Timer + Sync + Send + 'static, TZ> ToStreamWithTimezone for
    CronStream<J, T>
{
   fn to_stream_with_timezone(self, tz: TZ) -> BoxStream<'static, Result<Option<JobRequest<J>>, JobError>> {
        let stream = async_stream::stream! {
            let mut schedule = self.0.upcoming_owned(tz);
            loop {
                let next = schedule.next();
                match next {
                    Some(next) => {
                        let to_sleep = next - DateTime::<TZ>::now();
                        let to_sleep = to_sleep.to_std().map_err(|e| JobError::Failed(e.into()))?;
                        self.2.sleep(to_sleep).await;
                        yield Ok(Some(JobRequest::new(J::from(DateTime::<TZ>::now()))));
                    },
                    None => {
                        yield Ok(None);
                    }
                }

            }
        };
        stream.boxed()
    }
}

Let me know if it works, I haven't tested it.

Where does ToStreamWithTimezone come from?

I could not get it working: https://github.com/IgnisDa/ryot/pull/355/commits/ae2987f44545263e86fb195ee0bdaafb4c958d4c

I could not get it working

What was the error? Let me try to run it locally.

I could not get generics working

@IgnisDa Please check if this solution works for you. #178

@geofmureithi I was not able to figure out how to use it. I tried it with chrono_tz::Asia::Kolkata but it did not work.

The compiler is telling you of a missing From<DateTime<Tz>> implementation here
impl From<DateTimeUtc> for ScheduledJob {
    fn from(value: DateTimeUtc) -> Self {
        Self(value)
    }
}

@geofmureithi Does not work.

https://github.com/IgnisDa/ryot/commit/4c09f55c34201bded002718974bc0e12be640d4e

Give it a try now.

@geofmureithi Yep this works as expected. I think it can be merged.

@geofmureithi Could you also publish to crates.io?

Yeah on it

Thank you very much for fixing this issue.

@geofmureithi Were you able to get around to publishing it?

#181


Protocol versioning

TODO: versioning at libp2p level

I don't think that meta-schema versioning can be strict; we can't retroactively update extant records.

edited to remove no longer relevant layers


Unique word count might be failing in static initializer methods

Here: https://github.com/mauricioaniche/ck/blob/master/src/main/java/com/github/mauricioaniche/ck/metric/MethodLevelWordCounter.java
Need to handle static initializer as well

Should be fixed now.


Powerrename cannot replace extension if extension is blank

ℹ Computer information

PowerToys version: 0.27.0
PowerToy Utility: Powerrename
Running PowerToys as Admin: No
Windows build number: 19042.630

📝 Provide detailed reproduction steps (if any)

Attempt to rename files that have no extension.
Check "Extension only"
Try any method of replacing a blank extension.  Even regex .* doesn't match.

✔ Expected result
Leaving search for blank or using a variety of regex like ^ should match a blank extension.
❌ Actual result
There is no way to effectively add an extension if one doesn't exist.  It cannot match blanks.
📷 Screenshots

@robross0606
use the regex that matches the end of file:


⚠ Bofrost.at has degraded performance

In a50b6e6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2619 ms

Resolved: Bofrost.at performance has improved in d013fc9.


conformance: fix GatewayUnsupportedRouteKind HTTPS listeners without TLS config

What type of PR is this?
/kind bug

What this PR does / why we need it:
The resources created by the GatewayUnsupportedRouteKind test aren't valid because if protocol is HTTPS, the TLS field must be set. I think #1460 would have caught this.
They don't need to be HTTPS for this test however.
Does this PR introduce a user-facing change?:

NONE

@michaelbeaumont Thanks for raising this PR, but I don't think we have a validation to check TLS config must be set when the protocol is HTTPS so far. My PR https://github.com/kubernetes-sigs/gateway-api/pull/1460 is to check the certificateRefs must be set and not empty when tls is set and tls mode is terminate.

@gyohuangxin From reading the docs, i.e. the field comments, I would say you could add to your validation that TLS must be set when HTTPS is the protocol. Terminate is the default mode and when Terminate is set, certificateRefs must be set, right?

TLS is the TLS configuration for the Listener. This field is required if the Protocol field is “HTTPS” or “TLS”.

@michaelbeaumont Thanks for raising this PR, but I don't think we have a validation to check TLS config must be set when the protocol is HTTPS so far. My PR #1460 is to check the certificateRefs must be set and not empty when tls is set and tls mode is terminate.

Ah ok, I commented on that PR


Patch for HZ Performance

This request addresses issues related to large Hazelcast Clusters and performance issues related to /status and /ssosessions endpoints in CAS.
Features:

Hazelcast registry split into separate TGTs and STs maps similar to other replication implementations
Third "user" map that tracks unique logged in users and maps their TGTs
/status includes unique user count and cluster size when Hazelcast Monitoring is included
/ssosessions now requires entry of Regular expression to filter by unique users before displaying table

Limitations

getTickets() is limited to 100 tickets
/ssosessions only brings back first 100 users that match regular expressions

TO DO

Have not tested API changes with other replication implementations

Let me know if you have any questions about any change and feel to add any changes
Travis

 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.

hey @tsschmidt could you please resolve conflicts once? We probably could target this PR for RC3. [Seems a bit too late for RC2]

I've reworked this pull request based on the excellent work @tsschmidt has done on the HZ registry to ensure (all) ticket types are dynamically recognized and handled. The functionality of this sort of discovery likely needs to be iterated, reviewed and hashed out better. So please take a pass; there are bound to be plenty of shortcomings or faulty assumptions. Let's improve.


tools: Skip patch regeneration if there are no changes to input schemas

Presently genpatch unconditionally regenerates the entire patch series, regardless of whether there are any content changes or not. We can optimize this by persisting a content hash for the input schemas to compare successive runs against.

Looks great! Previously, I had only been running this script when I update the schemas to a new version. I'm guessing based on this patch that you've integrated it into some larger build system? Does it make sense to write a build step to run this script into generate.mk, now that we have this optimization?

Yes, indeed. I am using this as part of a build system where I am taking in a repo of new/custom schemas, then any time one of those changes, copying them in to redfish-codegen, regenerating the patch/models/routing, and automatically pushing the updates to external models and axum crates, which are in turn picked up as dependencies by other repos.
Notably, I do already have a generate.mk target for running this as part of that process, but I still have a bit of work to do on making it possible to supply custom input schemas in a more generic way, which also goes towards enabling custom model/axum crates. I will open a PR for those changes in the coming days for your consideration.


microsoft to-do

Service

Link to your repository

Additional Information

Good day, please find my PR here for your requested service https://github.com/meetfranz/plugins/pull/340


Route with a greedy segment in OWIN host not matching with dots in last part of segment

I'm using 1.1.0 of both Nancy and Nancy.Owin.
If I have a route with a greedy segment:
Get["/echo/{slug*}"] = _ => _.slug;

Then:

/echo/foo returns foo :+1:
/echo/foo/bar returns foo/bar :+1:
echo/foo.bar/gaz returns `foo.bar/gaz :+1:
echo/foo.bar doesn't match the route (404) :-1:

Obviously this is something around Nancy assuming something with a dot at the end of the route is a file. This is inconsistent though because using Nancy.Testing to try to replicate this passes on the /echo/foo.bar case:
var module = new ConfigurableNancyModule(with => with.Get("/echo/{slug*}", (o, nancyModule) => o.slug));
var browser = new Browser(with => with.Module(module));

Assert.Equal(browser.Get("/echo/foo").Body.AsString(), "foo");
Assert.Equal(browser.Get("/echo/foo/bar").Body.AsString(), "foo/bar");
Assert.Equal(browser.Get("/echo/foo.bar/gaz").Body.AsString(), "foo.bar/gaz");
Assert.Equal(browser.Get("/echo/foo.bar").Body.AsString(), "foo.bar");

(i.e. all of the assertions pass)

After Adding in Startup.cs
app.UseStageMarker(PipelineStage.MapHandler);

and in web.config
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
</system.webServer>

Without this additional configuration, the StaticFileModule from OWIN would intercept the request and return a 404.
(from https://github.com/NancyFx/Nancy/wiki/Managing-static-content#extra-steps-required-when-using-microsoftowinhostsystemweb)

Tested this with the Microsoft.Owin.Host.HttpListener with actual HTTP requests.
namespace ConsoleApplication2
{
    using System;
    using System.Net.Http;
    using System.Threading.Tasks;
    using Microsoft.Owin.Hosting;
    using Nancy;
    using Owin;
    using Xunit;

    public class Foo
    {
        [Theory]
        [InlineData("/echo/foo")]
        [InlineData("/echo/foo/bar")]
        [InlineData("/echo/foo.bar/gaz")]
        [InlineData("/echo/foo.bar")]
        public async Task Bar(string requestUri)
        {
            Action<IAppBuilder> builder = app =>
            {
                app.UseNancy();
            };
            using (WebApp.Start("http://localhost:1080", builder))
            {
                using (var client = new HttpClient { BaseAddress =  new Uri("http://localhost:1080") })
                {
                    var response = await client.GetAsync(requestUri);
                    Assert.Equal(System.Net.HttpStatusCode.OK, response.StatusCode);
                }
            }
        }
    }

    public class SampleModule : NancyModule
    {
        public SampleModule()
        {
            Get["/echo/{slug*}"] = _ => _.slug;
        }
    }
}

All test passed

I strongly suspect the problem is with IIS and/or the SystemWeb dealing with the request because it thinks its a file. If you must use IIS, try this host: https://www.nuget.org/packages/Microsoft.Owin.Host.IIS


freerdp with ffmpeg enabled on F39 makes gnome-connections/remmina etc. display blank screen when used on Hyper-V VM

Description:
With latest builds of freerdp for F39 appear to have ffmpeg enabled. When RDP connections are attempted with gnome-connections, remmina or xfreerdp, the screen appears blank. The error messages in the log contain something to the effect of:

No VA display found for device /dev/dri/renderD128
Could not initialize hardware decoder, failing back to to software: Invalid argument

Forcing a downgrade to F38 packages makes all of these RDP clients work again.
Steps to reproduce the behavior:

Install F39 as Hyper-V VM.
Open gnome-connections and attempt to connect to another machine via RDP.
Blank screen.

Expected behavior:
Should work, like it did in F38.
Screenshots
If applicable, add screenshots to help explain your problem.
Application details

FreeRDP version:  freerdp-2.11.2-1.fc39
Command line used
Output of xfreerdp /buildconfig: build logs are here: https://koji.fedoraproject.org/koji/buildinfo?buildID=2297812
OS version connecting to (server side): Windows Server 2019?

Environment (please complete the following information):

OS: Fedora Linux 39
Version/Distribution: Fedora Linux 39
Architecture: x86_64:

Additional context
Fedora 39 enabled FFMEG support here: https://src.fedoraproject.org/rpms/freerdp/c/2424f54884289948c8b2cec4e359573b4115d83d
Downstream bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2242028

nothing suspicious with the changes, but you can try forcing a different mode with:
/gfx or /gfx:rfx and disabling H264 support on the client (and therefore bypassing any FFMPEG usage) and check if you see something then.

Indeed, both of these options make things appear with xfreerdp. Shouldn't this kind of fallback happen automatically, especially with clients that use the library (e.g. gnome-connections, remmina etc.)?

@bsmojver fallback on what? sounds like there is an issue with ffmpeg on fedora 39

Maybe I'm not reading the errors in the log correctly, but given this is Hyper-V guest without hardware GPU, fallback to whatever is alternative to that. Of course, if these errors have nothing to do with the problem, this could all be just a red herring.

FreeRDP with FFMPEG enabled works fine on Archlinux. It might make a difference with what options FFMPEG was compiled on Fedora. @bsmojver Are you sure, FFMPEG was compiled here with AVC support?

I have no idea, but I'll try to check. Anything that is patented will definitely not be on Fedora.

I've looked through the parts here on the weekend and couldn't spot an issue. Whenever something fails, FreeRDP prints out an error message. You didn't get one here, so the issue is in your FFMPEG build.
The message Could not initialize hardware decoder, falling back to software: Invalid argument comes from FreeRDP though. The Invalid argument refers to why the hw decoder could not be created (the provided path was invalid). Not an issue, since FreeRDP falls back to software encoding. From then it is the same, as if you built with WITH_VAAPI=OFF, which works just fine here.
The difference between Archlinux' build and Fedoras is that Arch uses x264 and Fedora patched their FFMPEG to dlopen openH264. Considering the amount of custom patches, that Fedora applies here (including the dlopen openH264), this looks to be an issue in Fedora. @bsmojver Please open an issue in Fedora against their FFMPEG pkg regarding this.
Some addendum: It doesn't make sense, that Fedora builds FreeRDP with WITH_VAAPI=ON btw, because Fedora does not build mesa with AVC decode support (anymore) and also afaik patched that functionality out of their Intel media driver too.

Thanks @pnowack. I already have a bug opened with Fedora. I'll point them to your comments. And then move the bug to ffmpeg, so that it can be looked at there.

I have no idea, but I'll try to check. Anything that is patented will definitely not be on Fedora.

The latest build log for x86_64 is here: https://kojipkgs.fedoraproject.org//packages/ffmpeg/6.0/12.fc39/data/logs/x86_64/build.log

./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 '--optflags=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' '--extra-ldflags=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-bzlib --enable-frei0r --enable-chromaprint --enable-gcrypt --enable-gnutls --enable-ladspa --enable-lcms2 --enable-libshaderc --enable-vulkan --disable-cuda-sdk --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfdk-aac --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libiec61883 --enable-libilbc --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopenh264-dlopen --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librabbitmq --enable-librav1e --enable-librist --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsvtav1 --enable-libsoxr --enable-libspeex --enable-libssh --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lto --enable-libvpl --enable-lv2 --enable-vaapi --enable-vdpau --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libxvid --enable-openal --enable-opencl --enable-opengl --enable-pthreads --enable-vapoursynth --enable-muxers --enable-demuxers --enable-hwaccels --disable-encoders --disable-decoders --disable-decoder=h264,hevc,vc1 --enable-encoder=,a64multi,a64multi5,aac,libfdk_aac,ac3,adpcm_adx,adpcm_argo,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apm,adpcm_ima_qt,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_swf,adpcm_yamaha,alac,alias_pix,amv,anull,apng,ass,asv1,asv2,av1_amf,av1_nvenc,av1_qsv,ayuv,bitpacked,bmp,cinepak,cljr,dca,dfpwm,dnxhd,dpx,dvbsub,dvdsub,dvvideo,exr,ffv1,ffvhuff,flac,flashsv,flashsv2,flv,g723_1,gif,h261,h263,h263_v4l2m2m,h263p,h264_amf,h264_nvenc,h264_qsv,h264_v4l2m2m,h264_vaapi,hap,hdr,hevc_amf,hevc_nvenc,hevc_qsv,hevc_v4l2m2m,hevc_vaapi,huffyuv,ilbc,jpegls,jpeg2000,libaom,libaom_av1,libcodec2,libgsm,libgsm_ms,libilbc,libjxl,libmp3lame,libopencore_amrnb,libopenh264,libopenjpeg,libopus,librav1e,libschroedinger,libspeex,libsvtav1,libtheora,libtwolame,libvo_amrwbenc,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,libxvid,mjpeg,mjpeg_qsv,mjpeg_vaapi,mlp,mp2,mp2fixed,mpeg1video,mpeg2video,mpeg2_qsv,mpeg2_vaapi,mpeg4,mpeg4_v4l2m2m,msmpeg4v2,msmpeg4v3,msvideo1,nellymoser,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,phm,png,ppm,qoi,qtrle,r10k,r210,ra_144,rawvideo,roq,roq_dpcm,rpza,rv10,rv20,s302m,sbc,sgi,smc,snow,sonic,sonic_ls,speedhq,srt,ssa,subrip,sunrast,svq1,targa,text,tiff,truehd,tta,ttml,utvideo,v210,v308,v408,v410,vc1_qsv,vc1_v4l2m2m,vc2,vnull,vorbis,vp8_qsv,vp8_v4l2m2m,vp8_vaapi,vp9_qsv,vp9_vaapi,wavpack,wbmp,webvtt,wmav1,wmav2,wmv1,wmv2,wrapped_avframe,xbm,xface,xsub,xwd,y41p,yuv4,zlib,zmbv, --enable-decoder=,aac,aasc,libfdk_aac,ac3,acelp_kelvin,adpcm_4xm,adpcm_adx,adpcm_afc,adpcm_agm,adpcm_aica,adpcm_argo,adpcm_ct,adpcm_dtk,adpcm_ea,adpcm_ea_maxis_xa,adpcm_ea_r1,adpcm_ea_r2,adpcm_ea_r3,adpcm_ea_xas,adpcm_g722,adpcm_g726,adpcm_g726le,adpcm_ima_acorn,adpcm_ima_alp,adpcm_ima_amv,adpcm_ima_apc,adpcm_ima_apm,adpcm_ima_cunning,adpcm_ima_dat4,adpcm_ima_dk3,adpcm_ima_dk4,adpcm_ima_ea_eacs,adpcm_ima_ea_sead,adpcm_ima_iss,adpcm_ima_moflex,adpcm_ima_mtf,adpcm_ima_oki,adpcm_ima_qt,adpcm_ima_qt_at,adpcm_ima_rad,adpcm_ima_smjpeg,adpcm_ima_ssi,adpcm_ima_wav,adpcm_ima_ws,adpcm_ms,adpcm_mtaf,adpcm_psx,adpcm_sbpro_2,adpcm_sbpro_3,adpcm_sbpro_4,adpcm_swf,adpcm_thp,adpcm_thp_le,adpcm_vima,adpcm_xa,adpcm_xmd,adpcm_yamaha,adpcm_zork,alac,alias_pix,amrnb,amrwb,amv,anm,ansi,anull,apac,ape,apng,arbc,argo,ass,asv1,asv2,atrac1,atrac3,atrac3al,atrac3p,atrac3pal,aura,aura2,av1,av1_qsv,ayuv,bethsoftvid,bfi,bink,binkaudio_dct,binkaudio_rdft,bintext,bitpacked,bmp,bmv_audio,bmv_video,bonk,brender_pix,c93,cbd2_dpcm,ccaption,cdgraphics,cdtoons,cdxl,cinepak,clearvideo,cljr,cook,cpia,cscd,cyuv,dca,dds,derf_dpcm,dfa,dfpwm,dirac,dnxhd,dolby_e,dpx,dsd_lsbf,dsd_msbf,dsicinaudio,dsicinvideo,dss_sp,dvaudio,dvbsub,dvdsub,dvvideo,dxa,dxtory,eacmv,eamad,eatgq,eatgv,eatqi,eightbps,eightsvx_exp,eightsvx_fib,escape124,escape130,evrc,exr,ffv1,ffvhuff,ffwavesynth,fits,flac,flashsv,flashsv2,flic,flv,fmvc,fourxm,ftr,g723_1,g729,gdv,gem,gif,gremlin_dpcm,gsm,gsm_ms,gsm_ms_at,h261,h263,h263_v4l2m2m,h263i,h263p,hap,hca,hcom,hdr,hnm4_video,hq_hqa,hqx,huffyuv,hymt,iac,idcin,idf,iff_ilbm,ilbc,imc,indeo2,indeo3,indeo4,indeo5,interplay_acm,interplay_dpcm,interplay_video,ipu,jacosub,jpeg2000,jpegls,jv,kgv1,kmvc,lagarith,libaom,libaom_av1,libcodec2,libdav1d,libgsm,libgsm_ms,libilbc,libjxl,libopencore_amrnb,libopencore_amrwb,libopenh264,libopenjpeg,libopus,librsvg,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,libzvbi_teletext,loco,lscr,m101,mace3,mace6,mdec,media100,metasound,microdvd,mimic,misc4,mjpeg,mjpeg_qsv,mjpegb,mlp,mmvideo,motionpixels,mp1,mp1float,mp2,mp2float,mp3,mp3adu,mp3adufloat,mp3float,mp3on4,mp3on4float,mpc7,mpc8,mpeg1video,mpeg1_v4l2m2m,mpeg2video,mpeg2_qsv,mpeg2_v4l2m2m,mpeg4,mpeg4_v4l2m2m,mpegvideo,mpl2,msa1,mscc,msmpeg4v1,msmpeg4v2,msmpeg4v3,msnsiren,msp2,msrle,mss1,mss2,msvideo1,mszh,mts2,mv30,mvc1,mvc2,mvdv,mvha,mwsc,mxpeg,nellymoser,nuv,on2avc,opus,paf_audio,paf_video,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f16le,pcm_f24le,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_lxf,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24daud,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s64be,pcm_s64le,pcm_s8,pcm_s8_planar,pcm_sga,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcm_vidc,pcx,pfm,pgm,pgmyuv,pgssub,pgx,phm,photocd,pictor,pjs,png,ppm,prosumer,psd,ptx,qcelp,qdm2,qdmc,qdraw,qoi,qpeg,qtrle,r10k,r210,ra_144,ra_288,rasc,rawvideo,realtext,rka,rl2,roq,roq_dpcm,rpza,rscc,rv10,rv20,s302m,sami,sanm,sbc,screenpresso,sdx2_dpcm,sgi,sgirle,shorten,simbiosis_imx,sipr,siren,smackaud,smacker,smc,smvjpeg,snow,sol_dpcm,sonic,sp5x,speedhq,speex,srgc,srt,ssa,stl,subrip,subviewer,subviewer1,sunrast,svq1,svq3,tak,targa,targa_y216,tdsc,text,theora,thp,tiertexseqvideo,tiff,tmv,truehd,truemotion1,truemotion2,truemotion2rt,truespeech,tscc,tscc2,tta,twinvq,txd,ulti,utvideo,v210,v210x,v308,v408,v410,vb,vble,vcr1,vmdaudio,vmdvideo,vmnc,vnull,vorbis,vp3,vp4,vp5,vp6,vp6a,vp6f,vp7,vp8,vp8_qsv,vp8_v4l2m2m,vp9,vp9_qsv,vp9_v4l2m2m,vplayer,vqa,vqc,wady_dpcm,wavarc,wavpack,wbmp,wcmv,webp,webvtt,wmav1,wmav2,wmavoice,wmv1,wmv2,wnv1,wrapped_avframe,ws_snd1,xan_dpcm,xan_wc3,xan_wc4,xbin,xbm,xface,xl,xpm,xsub,xwd,y41p,ylc,yop,yuv4,zero12v,zerocodec,zlib,zmbv,

if fedora is using openh264 it might be an option to build freerdp directly against openh264 if there are issues with using ffmpeg as glue.
enabling both, ffmpeg and openh264 will default to use openh264, so that should not be an issue.

I don't understand how the code works exactly, but it looks like freerdp is trying to set codec options that are not supported by OpenH264:
libfreerdp/codec/h264_ffmpeg.c:175
	av_opt_set(sys->codecEncoderContext, "preset", "medium", AV_OPT_SEARCH_CHILDREN);
	av_opt_set(sys->codecEncoderContext, "tune", "zerolatency", AV_OPT_SEARCH_CHILDREN);

Compare:
libavcodec/libopenh264enc.c:62
The return code from av_opt_set() is not checked.
Similarly, at libfreerdp/codec/h264_ffmpeg.c:177
the loop filter is getting enabled via context flag, which seems to be picked up by x264 automatically:
libavcodec/libx264.c:863
but not for openh264, where it needs to be set via an option (although it's on by default):
libavcodec/libopenh264enc.c:175
So I wonder if avcodec_open2() call at libfreerdp/codec/h264_ffmpeg.c#L180
is actually succeeding or not.

@rathann The codelines, that you reference here, are unrelated. It might be the case, that av_opt_set() needs to be checked for the encoding paths, but changing them won't affect this situation here, as the client decodes the content provided by the server side and not encodes something here.

Ah, I missed that this is about the decoder, not encoder. Sorry for the noise, hiding comment.

So I did some tests. I can reproduce it against a Windows 10 VM, just I see a slightly different error:
[AVHWDeviceContext @ 0x7f4770308a80] Failed to initialise VAAPI connection: -1 (unknown libva error).
[13:03:05:179] [113837:113838] [ERROR][com.freerdp.codec] - Could not initialize hardware decoder, falling back to software: Input/output error

The -WITH_VAAPI=OFF option causes the errors to be not printed, but the screen is still blank. It is needed to turn off also -DWITH_FFMPEG=OFF and -DWITH_DSP_FFMPEG=OFF to make it work.
With -DWITH_OPENH264=ON it works fine, however,  it is not possible to build against it directly in Fedora. Something like https://github.com/endlessm/noopenh264 would be needed...
So I will have to probably revert https://src.fedoraproject.org/rpms/freerdp/c/2424f54884289948c8b2cec4e359573b4115d83d for now :-( Or any other ideas?

@ondrejholy sorry, without header we can not build, linking is not required with defining -DWITH_OPENH264=ON -DWITH_OPENH264_LOADING=ON


Alert of invalid CVC

Hi,
I would like to know if is there a way to recognize invalid CVC/CVV before generating the token on android/ios sdk's, or even after generating it.
What we are current doing is:

Generate token with React Native and Android/IOS modules
Send the token to the back end (nodejs)

Doing that, we only figure it out that the payment wasn't accepted after some time.
If we could alert the user about incorrect CVC/CVV at the payment moment would be real time saving for the process.
Thanks

Hi,
No, the only way to check if the CVC or CVV is correct is actually doing a payment. This is not a MercadoPago requirement is how Credit Card works, you can validate the length, but if it is actually correct is imposible to do it without making the payment 😛. You can implement our Android or Iphone SDK for Checkout (We do all the work, congrats, rejections, etc...)
Cheers!


Average of Levels in Binary Tree

📚 Documentation
(A clear and concise description of what the issue is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Given a binary tree, Find the average value of the nodes on each level in the form of an array.
Example:
Input: root = [3,9,20,15,7,null,null]
Output: [3.00000,14.50000,11.00000]
Hey @hushee69 I want to work on this issue under 'NeoAlgo/C-plus-plus/cp' as a participants of GSSOC'21.
yes !!

I want to work on this issue.
Plz assign  to me!!

Greetings sir/Mam,
I would like to contribute the code for Bubble Sort Algorithm #933 in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding GSSOC'21.
Regards,
Hitain Kakkar


feat: port Analysis.Analytic.Composition

I've exhausted my ideas on how to fix the remaining sorrys. This file was pretty awful.

bors merge


chore(main): release 1.5.0

:robot: I have created a release beep boop
1.5.0 (2024-12-02)
Features

Add OffJAx class (46c82f9)
Make x and y symmetry optional, remove rotational symmetry (fe1cb33)

Bug Fixes

Added x/y symmetry options to the JAX implementation (08d08e6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/CoreySpohn/yippy/releases/tag/v1.5.0 :sunflower:


Reduce the size of macOS wheels

Use Boost built from source with ICU disabled:
https://github.com/colmap/pycolmap/blob/6bfe48468d0e73005f4a4e2d97787761a8a1a68b/package/build-wheels-macos.sh#L76-L84
Fails with linking issue: https://github.com/colmap/pycolmap/actions/runs/6042365188/job/16397322142

Could you please tell me the installed CMake version in macOS runner?

We pull the latest version:
https://github.com/colmap/pycolmap/blob/05abbd037bc303f746a096a52783851bff990dd5/package/build-wheels-macos.sh#L22
From latest logs (not sure you're able to see it), it's 3.27.6

Solved with https://github.com/colmap/pycolmap/commit/3f2b219508dcc87ba175456a20d230e6508dd1d9.


TypeError: this.$L.Routing.openrouteservice is not a constructor

Hello, I have this issue, when I try to request my route.
This is my code :
      this.route =L.Routing.control({
        waypoints: [
         L.latLng(this.currentLocation.lat, this.currentLocation.lng),
         L.latLng(to.lat, to.lng)
        ],
        fitSelectedRoutes: false,
        addWaypoints: false,
        options: {profile: option},
        router: new L.Routing.openrouteservice('api key')
      })
      .on('routesfound', e => {
        this.distance = Math.ceil(e.routes[0].summary.totalDistance / 1000).toFixed(1)
        this.time = Math.ceil(e.routes[0].summary.totalTime / 60)
      })
      .addTo(this.map)

Thanks

How did you manage to set the profile as an option? In the file L.Routing.OpenRouteService.js I see the profile is hard-coded ( profile: 'driving-car', ) and I don't know how to make this available as an option .

Hi, i also have encounter this issue when i run using browser. And my finding is the chrome said something regarding Cross-Origin Read Blocking (CORB) blocked. I'm not sure what is CORB about. below are screenshot about the issue.

Hi, have anyone found the solution for this?


Add word-break to ActionList

Closes https://github.com/primer/react/issues/4328

Changelog

New

Changed

Removed

Rollout strategy

[ ] Patch release
[ ] Minor release
[ ] Major release; if selected, include a written rollout or migration plan
[ ] None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge
[ ] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

Surprising that this doesn't update any visual tests! Do you mind adding one just so that we have it for the future!

Thanks @siddharthkp, good call. I added a story


Request: NZB creation

Title speaks for itself, but automatic NZB creation would be really great.

check this fork, it works nicely and creates nzb too :)
https://github.com/F4n4t/GoPostStuff

This is a duplicate of #4


Try the sync context again maybe

Trying something

The big problem the sync context added for us was timeouts. IIRC the xunit sync context isn't about limiting the number of tests running at once but rather the number of available threads which means we can overload the queues if we have a bunch of active background tasks.

yea I remember now, we need to figure out the starvation issue then.


[meta] false positive @internal annotation invalid_internal_annotation

This code sample shows a warning
info - Only public elements in a package's private API can be annotated as being internal - lib\main.dart:9:3 - invalid_internal_annotation

class A {
  @internal
  static void b() {}
}

Is this file part of a package's private API? This annotation is only allowed on a package's private API.

Hmm, I think I misunderstood what this is intended to do. It seems the actual false negative is a named constructor
class A {
  @internal
  A.fromId();
}

Is this file part of a package's private API?

No, it was a part of the public API

See https://pub.dev/documentation/meta/latest/meta/internal-constant.html.
If @internal is used to annotate a part of a package's public API, then analyzer will report invalid_internal_annotation. This annotation is only meant for private API which should not be exported from public API.

I see. So this is a false negative, right https://github.com/dart-lang/sdk/issues/47744#issuecomment-975717003 ?

I'm not sure what you're asking regarding https://github.com/dart-lang/sdk/issues/47744#issuecomment-975717003. Do you see an error reported on that @internal annotation? Do you expect to see one? Is that code in a library which is in a package's public API?

I don't see the warning. I do expect one. It is a part of the package's public API.

Yeah that looks like a false negative.


Alt a2 dp 1.0.5 del

[x ] Have you signed the Contributor License Agreement?
[x ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110499&drop=dogfoodAlpha

What is the reason for removing this package?

We'd like to retract AltA2DP from winget repo. (Remove request for other version will be requested soon)

[Policy] Reset Feedback


You cannot drag mobbers to change order

You could previously change order by  hovering over a mobber, a grab symbol woulld appear and you could drag someone to change their order.

I believe this is a dupe of #217 (and yes, I found this bug, too)

This issue also occurs for reordering goals #234


Illegal reflective access warnings when running Netty with Java 9

Expected behavior
No warnings.
Actual behavior
Warnings when starting netty with java 9:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/doom369/.m2/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

with --illegal-access=warn enabled :
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/doom369/.m2/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/doom369/.m2/repository/io/netty/netty-common/4.1.16.Final/netty-common-4.1.16.Final.jar) to method java.nio.Bits.unaligned()

Steps to reproduce
Run any netty server with Java 9.
Netty version
4.1.16.Final
JVM version (e.g. java -version)
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Maybe it would be better to do not access above classes in case of java 9 to avoid warning?

Can we re-open this to actually solve the issue, I'd hate for things to break later on because this never got fixed?
The warning is quite clear this will break later on.

@rockwotj Actually when reflection access will be removed from Java 9 - netty will be ready. As fixed was already applied.
Netty was tested on EA builds were reflective access was removed and right now netty handles this case.

I see what version of netty has these changes?

It was many months ago - https://github.com/netty/netty/issues/6345

This seems strange to be open and closed at that same time.
I'm getting these errors also and would love to know when/how to upgrade Netty to get rid of them.

I think we could add a system property that tells netty to not even try to access this stuff when running on java9. Let me reopen

same problem with netty 4.1.13

Still appears with netty 4.1.15.Final

Yep... That said while a warning is logged netty works.

The error still occurs with netty 5.0.0.Alpha2. Please reopen the issue.

The error still occurs with netty 5.0.0.Alpha2. Please reopen the issue.

Did not get warning in 4.1.43.Final.
5.0.0.Alpha2 is from 2015.  Anything from 4.0.56.Final should be fine.

use spring boot project - 2.4.3
it takes netty-all version - 4.1.59.Final
and this warning also appears

@nazar-art Can you include the actual warning you see? Also, what Java version do you use?

@chrisvest Solve this issue by adding VM parameter: --illegal-access=warn
Tried to eliminate it. Don't see this warning anymore.

Second that this issue occurs with following setup:
java 14.02

args:
--add-opens java.base/jdk.internal.misc=ALL-UNNAMED
-Dio.netty.tryReflectionSetAccessible=true
--illegal-access=warn

warning:
WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/<filepath-to-user>/gradle/caches/modules-2/files-2.1/io.netty/netty-common/4.1.53.Final/f5aac2cd268483ded1f76dacc5c9eb27899dee72/netty-common-4.1.53.Final.jar) to constructor java.nio.DirectByteBuffer(long,int)

@johanneshiry You are seeing the warning because you have -Dio.netty.tryReflectionSetAccessible=true which overrides the default, which is false for Java 9 and above.

@normanmaurer
Just got this warning with arrow jdbc driver installed in Tableau
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. 2023-10-12T22:09:48.924283 Protocol Server starting.  WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by cfjd.io.netty.util.internal.ReflectionUtil (file:/Users/yuriygavrilov/Library/Tableau/Drivers/flight-sql-jdbc-driver-10.0.0.jar) to constructor java.nio.DirectByteBuffer(long,int) WARNING: Please consider reporting this to the maintainers of cfjd.io.netty.util.internal.ReflectionUtil WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

@YuriyGavrilov  look into the system properties that tableu sets, and what netty version the jdbc driver shades. Then review the solutions already mentioned in this issue.

I had same issue but fixed this issue using jdk1.8.1x version instead of anything higher gives problems building basic test classes not associated with any db yet. But now all works as expected to not find any data until db is setup or H2.


Feature Requests: Remove update link to store.shopware.com

Now the store gives a pop-up every time a update is made on the original plugin. Please remove update link to store.shopware.com

I haven't seen this. Can you provide a screenshot where this happens?

I have a suspicion about what the issue could be. In some places, we are still using the same name as the original plugin. For example, here in the Shopware Update Wizard, it says 'SasBlogModule'. Of course, we can change that.
I would also change the database tables being used, because currently we are still using the same ones as the original plugin. However, this is a breaking change, and all content would need to be completely recreated. Would that be okay for you? It's better to do it now rather than later when the plugin has more users and more data.

This should be fixed in v4.0.0.
Beware, this is a breaking release.
All content needs to be completely recreated.

Now it seems correct.

Thanks, fixed now!
Keep up the good work.


wrong link to compute section

In the section "Continuous monitoring of your Kubernetes clusters - wherever they're hosted" you have a link that points to the compute section of the reference list. Shouldn't this be "container" section instead?

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

ID: ad7c05f1-f69c-c033-0409-39f5c8f03674
Version Independent ID: ebcceb7b-0d9c-618c-9576-b3b1713fe1ef
Content: Container security with Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/defender-for-containers-introduction.md
Service: defender-for-cloud
GitHub Login: @ElazarK
Microsoft Alias: v-ekrieg

Thanks for the feedback! We are currently investigating and will update you shortly.

@sebhe Thank you for bringing this to my attention. I am looking into the matter and hope to have a resolution soon.

#please-close


Removes initial_folder and default_dir

It solves the problem of the Flatpak sandbox GLib.get_user_special_dir(GLib.UserDirectory.DIRECTORY_DOWNLOAD) that returns null.
ISSUE: #4

Sorry, won't happen again.


config: strengthen validation for gRPC config sources.

This addresses oss-fuzz issue
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9335, where a bad
config could cause the protobuf library to throw a non-EnvoyException
CHECK exception, causing Envoy to abort.
As a bonus, made sure we include the ApiConfigSource debug string in
respective EnvoyExceptions, this makes pinpointing the specific part of
the config easier in large configs.
Risk level: Low
Testing: Corpus entry and unit test added.
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

@ambuc no, these unit tests are very fast anyway. Thanks for the review!


PermissionsService 2.0 (just implementation)

This is the implementation of the new version of the Permissions Service, without changes to the existing code.
You may have seen this code before in https://github.com/NuGet/NuGetGallery/pull/5097

@joelverhagen @chenriksson @skofman1 @agr
All feedback was addressed.

@scottbommarito My only remaining feedback is with the distinct call... please look at that, then I'm good.


Support MiniCPM-V-2_6 multi-modal benchmarking with latency text streamer

Support MiniCPM-V-2_6 multi-modal benchmarking with latency text streamer

PR Validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/10613348573


typo in type file SLIENT -> SILENT

https://github.com/amazon-connect/amazon-connect-streams/blob/4da7e360f51be6b93a5ccf02e45ed668dcee1e1e/src/index.d.ts#L726

can we get this fixed? causing comparator issues in our project

Thanks so much for pointing it out, just merged the fix.


Cannot type ">" character in PHP or HTML files.

I'm not sure if this applies to other types of files (it seemed to work in Javascript files) but it appears to not want to autoclose in PHP or HTML files, and I cannot type a ">" character. What I'm currently doing is having it on my clipboard so I can easily paste it.

Many users of non-QWERTY or non-US keyboards are having a problem where the keybinding attached to ">" is actually bound to some other key (see #128), is it possible this is your problem as well?
When you press ">" what happens? Does it output a ">", but doesn't add the closing tag or does it do nothing?

I AM using a US QWERTY keyboard, so I doubt this is the issue.
Nothing happens. The character does not appear, and the tag does not close.

If you press cmd/ctrl + . to open up the keybinding resolver, does it show the "autoclose-html:close-and-complete" resolving when you press ">" in an html/php file?

It does, yes.

The very first line of code in the command is
atom.workspace.getActiveTextEditor().insertText(">")

so I'm not sure what could be causing it from, at the very least, inserting the ">".
Could you give me some more info on what OS, version of atom, and community packages you have installed?  I can try and replicate the issue on my end.
If you're comfortable debugging, with view > developer > toggle developer tools, you should be able to set breakpoints like you would in the normal chrome developer tools.

I can confirm this issue too, can't type ">". It started happening as soon as I upgrade the latest (0.22.0) version. I've had to disable the package for now.

So, it started working all of the sudden? Everything is happening as expected. I'll still give you the details, though:
I'm using Windows 10, Atom 1.5.3, and have the following community packages installed:

atom-beautify
autoclose-html (obviously :stuck_out_tongue_winking_eye:)
color-picker
javascript-snippets
linter
minimap
php-cs-fixer

@laxeot Did you restart atom perhaps?

I did restart atom, yes.

@tetsuo808 Does restarting atom fix the issue for you too? If so I'll close this

@mattberkowitz Indeed it does :+1:


Add STDIN as a valid paramter for kpt live commands

Currently kpt live commands only accept a directory as a valid parameter. We will re-add STDIN as a valid input parameter to allow invocations such as: kustomize build | kpt live apply -

https://github.com/kubernetes-sigs/cli-utils/pull/143