Manufacturing Serial Number support Sky Glass DE/IT

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: manjunathtsai:x: Hanumanthappa ManjunathHanumanthappa Manjunath seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

need to create it for sprin 2107


[Bug]: Duplicate screen for non-'/' URLs in frontend

What happened?
When opening any URL other than / (a specific example or the embedded Playground), an extra screen is created on top of the first one. This leads to excessive memory consumption, nasty workarounds, and side effects.
The cause is the design of Flutter Navigator 1.0 that automatically creates screens for / and any actual URL if given.
Issue Priority
Priority: 3
Issue Component
Component: beam-playground

.take-issue


Loading another GMC does not work

It seems that switching GMC does not work properly.
I can see the new game runs on PC but it's not streamed to MiSTer.
MisTer only shows buggy screen.
So I need to exit the game first using Esc key.
BTW, this project is awesome.
Thank you for your great work!!

Thanks for the report and the encouragement!
Can you tell me which platform? I tried a new exit strategy today on the config that seems to work with a new Windows build. Check the release page for 0.1.1 and try the w32 version with the winquit config if you haven't yet.
I got a bit casual reusing the release for new builds with big fixes
This weekend I intend to work similar signal handlers in the osx/Linux builds and clean up some things for a 0.1.2 release.

The w32 version with winquit config works!!
Thanks for information. I'll close this issue.


[FS] Performance improvements for withdrawal and deposit extractors

Should help with CPU pressure during deposit sync.

Thanks @quantumagi I adjusted and also made a little commit removing the AsReadOnly, if you could have another quick look and review that would be ace 👍


2023 sitting calendar

The 2023 sitting calendar is ready
I've included the small change from 2022 that was in a previous pull request, which I've now closed

Fingers crossed that should now be deployed on openaustralia.org.au


Update to enable Set and Remove DSC registrations

Cool!! thanks for your contribution @rdbartram . I'll review as soon as I can.


Update service-security-using-microsoft-cloud-app-security-controls.md

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

#sign-off

The update that's submitted in this pull request is already in master, but with slightly different wording (thus, a merge conflict is generated):

We'll close this pull request as a duplicate. The previously merged text should be live today. Thanks!


redirect from login page into dashboard when trainer is loggedin

this pris relates #134
Redirect from login page into dashboard when trainer is loggedin and he go back into login page

Codecov Report

Merging #136 into master will increase coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   54.21%   54.23%   +0.02%
==========================================
  Files         134      134
  Lines        1496     1499       +3
  Branches      121      122       +1
==========================================
+ Hits          811      813       +2
- Misses        618      619       +1
  Partials       67       67

Impacted Files
Coverage Δ

...ponents/Layouts/SessionDetails/styledComponents.js
0% <ø> (ø)
:arrow_up:

client/src/Components/auth/Login.js
40% <66.66%> (+4.7%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03019b5...eed573b. Read the comment docs.


UI- Credentials List user show blank

Remove the field user.

I will take it.

@baixinsui i think we can remove this column itself. It is not relevant anymore.


Adds Multimeter item and client translations

I added a new multimeter item. It doesn't really do anything, but I
upscaled the texture and set up the language localization. According to
the forge documentation, you can set your own translation keys, and I
didn't see much of a convention, so I set it to
tooltip.modid.translationtype.itemorblock.
I also added the translation and tooltip to Flubber. Yay!

I'm just going to merge this. We can go back to this and revise it with commits, but it doesn't really do too much that's in need of review.


Terminal in Editor rendering errors and disposed errors

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

VS Code Version: 1.63.0 (user setup)
OS Version: Windows 10

Steps to Reproduce:

Set the setting: "terminal.integrated.defaultLocation": "editor",
Open a new terminal (should open in editor).

Error Notification: Terminal with ID 4 does not exist (has it already been disposed?)

Open another new terminal in the editor.

Same message shows up

Drag split the terminal window to below.

content disappears from the bottom terminal, and is non interactive

I'm mostly repro-ing this with the WSL2 extension, but also happens with the standard windows powershell.
I also separately have VSCode Insiders installed, and have been seeing this since last month on the Insiders release. This issue has started happening in the standard release channel for me starting from yesterday's update.
This also happens on a fresh insiders install, and def with the wsl extension.
VS Code version: Code 1.63.0 (7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e, 2021-12-07T06:26:56.179Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

I am also experiencing this error on Mac after installing the latest update.
I get this error whenever opening a new terminal in the editor. Terminals in the panel do not appear to be affected.
Version: 1.63.0
Commit: 7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e
Date: 2021-12-07T05:15:48.091Z (2 days ago)
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 18.7.0

Also experiencing the same issue.
Version: 1.63.0 OS: Windows 10

Also happens on Manjaro KDE, on version 1.63. Seems to be transversal to the OS.

merged into the release branch

@meganrogge Is this in today's insider's build? I'm still seeing the issue with 2 editor terminals when I try to split. Though the disposed warning went away.
Version: 1.64.0-insider (user setup)
Commit: b823936907f86ded04a152a4af202d0fc8423522
Date: 2021-12-15T05:14:42.036Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043

@bpasero that sounds like a separate issue. this one was about running create terminal in editor area throwing the error described above.

@weikinhuang

what are you seeing? it's working for me

I do not see the notification toast when I select "New Terminal" from command palette.
But I see this issue that the OP reported I think:

So you are splitting the terminal in the editor area then dragging it to the panel, correct?

No its not split in the editor, its just a normal terminal in the editor area that I drag to the left of another terminal in panel.

I can reproduce that, but not consistently. I'll make a new issue for that - sounds like you verified the main issue and candidate - that error showing up

correct, open 2 editor terminals, then drag one of them to the side, not split from the command palette

Sounds good, setting label for the notification issue.


Security Defaults and MFA prompts for Privileged Role users

The article section:
https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/concept-fundamentals-security-defaults#require-administrators-to-do-multifactor-authentication
States that admin users with privileged roles (IE Global Administrators) will be forced to use MFA at every sign-in. I cannot replicate this behavior. I can only force an MFA prompt if I login to a new device with the admin account (no MFA prompt yet) AND try to edit the account security details (Registered MFA methods). The same behavior applies to regular, non-admin accounts.
Have I misconfigured something, or can you also replicate this issue?
I have changed a setting in the new Azure AD Authentication Methods blade:
https://portal.azure.com/#view/Microsoft_AAD_IAM/AuthenticationMethodsMenuBlade/~/AdminAuthMethods
Changes include setting the "Manage migration preview" option to "Migration Complete".
Is this why Azure is not prompting for MFA challenges during login for accounts with Admin roles? Do the new Azure AD Authentication Methods actually have any effect when Security Defaults are enabled? All the modern Authentication Methods are enabled in my case.

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

ID: cfac0ecf-e5a9-c5ff-f8c2-ce27789708f5
Version Independent ID: 0f5e0cc9-a54f-a5c8-192d-d60a6a4db3ff
Content: Providing a default level of security in Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/fundamentals/concept-fundamentals-security-defaults.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Cardas26
Thanks for your feedback! We will investigate and update as appropriate.

@Cardas26
It seems that you have misconfigured something. The Azure AD Authentication Methods blade(https://portal.azure.com/#view/Microsoft_AAD_IAM/AuthenticationMethodsMenuBlade/~/AdminAuthMethods) is used to manage the migration of authentication methods to the new Azure AD Authentication Methods. The setting "Manage migration preview" option to "Migration Complete" should not affect the MFA prompt during login for accounts with Admin roles.
You can try the following steps to resolve the issue:
1.Check if the Azure AD Multi-Factor Authentication is enabled for the administrator accounts.
2.Check if the administrator accounts are licensed for Azure AD Premium.
3.If the administrator accounts are licensed for Azure AD Premium, you can create a Conditional Access policy to enforce MFA for administrators.
You can read more about this in the article "Require MFA for administrators with Conditional Access - Azure Active Directory"
https://learn.microsoft.com/en-us/azure/active-directory/conditional-access/howto-conditional-access-policy-azure-management


problem with ReadAddressEx

Hello
We are testing the library on a system with multiple cardreaders connected.
In the sample code frm_main.pas , we have therefore replaced the calls:
isEIDcard
by
IsEIDCardEx(aReaderNumber)
ReadIdentity(@Identity)
by
ReadIdentityEx(aReaderNumber, @Identity)
ReadAddress(@Address)
by
ReadAddressEx(aReaderNumber, @Address);
ReadPhoto(@Pic)
by
ReadPhotoEx(aReaderNumber, @Pic)
This works OK except for ReadAddressEx where null values are returned in Address when aReaderNumber is greater than 0.

Fixed in v1.18.19 Please update to the last version


Low-pass filter on example

Hello,
Do you usually apply a low-pass filter on the audio recordings? The example soundscape file has one and I am wondering why that was applied.
Thanks and kind regards,
Meelyn Pandit

There is no particular reason, the sample file was simply one I had lying around and deemed useful :)
However, low and high-pass filtering might have an effect on the results, and might still be worth investigating (esp. when looking for birds in a certain frequency range).

Interesting, thanks for the info!


Expand copying customizations by folders

Currently we only copy individual files from the customization folder to the enabled folder. HUDs that group their customizations by folders (for the purposes of grouping and reducing overlaps) are not supported by the editor.
The ability to copy customization folders instead of files needs to be implemented, with the caveat that this function has to be explicitly enabled via a flag in the schema so to limit the HUD to only one method of copying - files or folders, not both.

Added in 6ff95c37176fedb1587d6c0ab0b9a744a608afdd


Migrate everything else to new telemetry lib

Depends on https://github.com/openconfig/featureprofiles/pull/779

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.191%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1608

Relevant Lines:
2197

💛  - Coveralls

/gcbrun

/gcbrun


[SUPPORT] How to access the Hudi commit statistics

Our team wants to switch all ETL processes to Hudi, but I have the problem that I cannot find a way to access the Hudi metrics.
What I am trying to achieve is, that after a commit I am having a HoodieMetrics object, from which I can pick the metrics that I am interested in. In the end I need to log the metrics into a database after each commit.
What is the way to do this? I tried setting hoodie.metrics.on=true and hoodie.metrics.reporter.type=INMEMORY. But I don't unterstand how I can access the metrics then.
The write looks something like this:
  def targetTableWriteOptions: Map[String, String] = Map(
    OPERATION.key() -> writeOperation,
    RECORDKEY_FIELD.key() -> targetTable.recordKeyColumns.mkString(","),
    PRECOMBINE_FIELD.key() -> targetTable.precombineColumn,
    PARTITIONPATH_FIELD.key() -> targetTable.partitionColumns.mkString(","),
    TABLE_NAME.key() -> targetTable.qualifiedName,
    "hoodie.table.name" -> targetTable.qualifiedName,
    HIVE_DATABASE.key() -> targetTable.database,
    HIVE_TABLE.key() -> targetTable.tableName,
    HIVE_PARTITION_FIELDS.key() -> targetTable.partitionColumns.mkString(",")
  )

  def loadFromSourceToTargetTable(): Unit = {
    sourceDataframe.write.format("org.apache.hudi")
      .options(HudiUtils.basicOptions ++ HudiUtils.basicHiveSyncOptions ++ targetTableWriteOptions ++ HudiUtils.hudiOptionsFromSparkConf)
      .mode(saveMode)
      .save(targetTable.basePath)
  }

@joha0123 We don't have a way to expose HoodieMetrics; it was designed to talk to metrics platform in the background. INMEMORY reporter type is meant for testing purpose. Do you think a CSV report would help in your case? https://issues.apache.org/jira/browse/HUDI-361 it should help write metrics to files for you to inspect. We can re-open it or even better, if you're keen, feel free to pick up the implementation too.
Another solution, you could implement org.apache.hudi.callback.HoodieWriteCommitCallback and in it you can access org.apache.hudi.callback.common.HoodieWriteCommitCallbackMessage#getHoodieWriteStat which has some stats about the write, not exactly the metrics but just something related to commits.

Thank you for your Support. The second Option Looks like what i was searching for. I will try and give you feedback

@joha0123 sure. please close this if you think this no longer an issue. thank you.

I implemented a simple Class to test:
import org.apache.hudi.callback.HoodieWriteCommitCallback;
import org.apache.hudi.callback.common.HoodieWriteCommitCallbackMessage;
import org.apache.hudi.config.HoodieWriteConfig;

public class MyWriteCommitCallbackJava implements HoodieWriteCommitCallback {

    public void MyWriteCommitCallback(HoodieWriteConfig hoodieWriteConfig) {
    }

    @Override
    public void call(HoodieWriteCommitCallbackMessage hoodieWriteCommitCallbackMessage) {
        System.out.println("HERE!");
        Integer x = 1 / 0;
    }
}

But i get this error:
Exception in thread "main" org.apache.hudi.exception.HoodieException: Unable to instantiate class com.infineon.hudi.MyWriteCommitCallbackJava
        at org.apache.hudi.common.util.ReflectionUtils.loadClass(ReflectionUtils.java:92)
        at org.apache.hudi.common.util.ReflectionUtils.loadClass(ReflectionUtils.java:101)
        at org.apache.hudi.callback.util.HoodieCommitCallbackFactory.create(HoodieCommitCallbackFactory.java:34)
        at org.apache.hudi.client.AbstractHoodieWriteClient.commitStats(AbstractHoodieWriteClient.java:205)
        at org.apache.hudi.client.SparkRDDWriteClient.commit(SparkRDDWriteClient.java:124)
        at org.apache.hudi.HoodieSparkSqlWriter$.commitAndPerformPostOperations(HoodieSparkSqlWriter.scala:614)
        at org.apache.hudi.HoodieSparkSqlWriter$.write(HoodieSparkSqlWriter.scala:272)
        at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:164)
        at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
        at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
        at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
        at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:86)
        at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:141)
        at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:137)
        at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:165)
        at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
        at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:162)
        at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:137)
        at org.apache.spark.sql.execution.QueryExecution.toRdd$lzycompute(QueryExecution.scala:93)
        at org.apache.spark.sql.execution.QueryExecution.toRdd(QueryExecution.scala:91)
        at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:684)
        at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:684)
        at org.apache.spark.sql.execution.SQLExecution$$anonfun$withNewExecutionId$1.apply(SQLExecution.scala:80)
        at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:127)
        at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:75)
        at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:684)
        at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:285)
        at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:271)
        at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:229)
        at com.infineon.hudi.HudiLoader$class.loadFromSourceToTargetTable(HudiLoader.scala:23)
        at com.infineon.dwh.HiveExecutorHudi$.loadFromSourceToTargetTable(HiveExecutorHudi.scala:6)
        at com.infineon.dwh.HiveExecutorHudi$.executeWithErrorHandling(HiveExecutorHudi.scala:23)
        at com.infineon.dwh.lib.DwhJob$class.run(DwhJob.scala:157)
        at com.infineon.dwh.HiveExecutorHudi$.run(HiveExecutorHudi.scala:6)
        at com.infineon.dwh.HiveExecutorHudi$.main(HiveExecutorHudi.scala:30)
        at com.infineon.dwh.HiveExecutorHudi.main(HiveExecutorHudi.scala)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
        at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:847)
        at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:161)
        at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:184)
        at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
        at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:922)
        at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:931)
        at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.NoSuchMethodException: com.infineon.hudi.MyWriteCommitCallbackJava.<init>(org.apache.hudi.config.HoodieWriteConfig)
        at java.base/java.lang.Class.getConstructor0(Class.java:3349)
        at java.base/java.lang.Class.getConstructor(Class.java:2151)
        at org.apache.hudi.common.util.ReflectionUtils.loadClass(ReflectionUtils.java:90)
        ... 47 more

Can you tell me what im doing wrong?

Got it to work implementing the WriteCommitCallback.
hoodie.write.commit.callback.class=com.example.MyWriteCommitCallback```

class MyWriteCommitCallback(hoodieWriteConfig: HoodieWriteConfig) extends HoodieWriteCommitCallback {
override def call(hoodieWriteCommitCallbackMessage: HoodieWriteCommitCallbackMessage): Unit = {
val stats = hoodieWriteCommitCallbackMessage.getHoodieWriteStat
println(stats.asScala)
}
}

@xushiyan Thanks again for the support!


Add support for one time fixture setup/destroy

Test fixtures would be enhanced by the ability to have a single setup()/destroy() which is called before/after any tests have run.

Added in 5f26fc6b68d8f9e5daa8fc1ecc2802389cfa1b9a


Clarify checking for freeze attacks on the root metadata file.

For heartsucker/rust-tuf#49

Coverage remained the same at 97.936% when pulling 13cfa2ee6f02ee439803e95f6a5117fee5a9c518 on trishankkarthik:add-detailed-workflow into c1e72e0fdd092c5d71d52ffa345893b4a8013a25 on theupdateframework:develop.

Coverage increased (+1.3%) to 97.904% when pulling a44551b77be92d46dcf2df316cd6d9da6e5d405c on trishankkarthik:add-detailed-workflow into ee770da10f0e347bd730bb0dc8bfef60045b893d on theupdateframework:develop.


Update a note on AppEngine

This is simply an update on AppEngine support to point people in the right direction.

thanks!


Editing of comments

@asm89 is working on editing capabilities as the next stage of the restful controllers introduced in #106

Got this working. I'll send a PR if the rest stuff is merged:
https://github.com/asm89/FOSCommentBundle/tree/edit-comments
https://github.com/asm89/FOSCommentBundle/compare/restful-controllers-rebased...edit-comments

A note, the comment blamer needs to be modified for this functionality, otherwise it will reblame the comment for whoever edited it.

56a3254 fixes the blamer issue


How to build de CRX file?

Hi @nicolasepiscopo,
I want to know how to build the extension to a CRX file manually. Considering you need to pre-compile Less files before, it would be great to automate production code generation.
I want to help and learn a lot contributing to your project.
Regards

Hey Tomas,
It’s not really needed to make a crx extension. Google allow us upload zip files. Is simple as compress all the Project to a zip file.
Surely we can do this automated with webpack, grunt or gulp in order to include production only files.
I was thinking about changing to React, in that way I’d preffer to use webpack. What do you think about it?
Regards

Changing to React would be great including all the tooling (webpack, babel, npm, etc) and features (ES2015, JSX, etc).
Let's do it!

Please take a look to this branch https://github.com/nicolasepiscopo/name-that-color-less-sass/tree/webpack-react
We can work on there

I was thinking more like doing baby steps, based on the current stable (fully functional) version. Every little change would add new features but keep app running as functional as today.

Nowadays in webpack-react branch there's a folder named old-app which maintains the previous code, so it's still functional here and in master. We can work in webpack-react branch till we have an stable version with automated packaging and the app transported to React.
If you want you can take part on the automated packaging task and I can continue changing the app to work with React. I'll make the tasks, please assign the automated zipping related one to you (because I can't do it.. I don't know why).
BTW I've made an Slack team to discuss this sort of things, could you please give me your email address? so I can invite you.

You need to add me as a collaborator in order to appear as assignee.
/settings -> /collaboration
I'll send you my email address via Twitter

Done

Opened issue #3 refering to this question. Closing this issue.


Colors: Updated documentation

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

changed color hex value of ocean-100

📦 Published PR as canary version: 25.1.1--canary.1484.a0a3ebdf219b30f11214abea9eb948c26b499267.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Resolved in https://github.com/Infineon/infineon-design-system-stencil/pull/1506


Gzip compression with servor broken

Describe the bug:

Servor enables gzip compression by default on all .http files (source here https://github.com/lukejacksonn/servor/blob/master/servor.js#L86), and it seems that stackblitz injects a non gzip encoded header at the front that confuses the browser. The browser shows the response to the http request as:
<script<EMAIL_ADDRESS>�M���0��<E�L(��!���HL0�cH��R~
5E�=-`���;�V��as�K^S�S����J��`���s���y�@Z�O;���&j$ܟ�iq��ܤ��m��o�K
���^4��^Mz��BG�vС�S�	���5t>����C�M����F�T6���-��@�����b٧�;`��tK2

Link to the blitz that caused the error:
https://stackblitz.com/edit/servor-bug
Steps to reproduce:

Go to https://stackblitz.com/edit/servor-bug
See ‹M½Â0„÷›‹ÉC±MöúªÊFÍT6ÞÎÔ-¹÷@´„±âùbÙ§£;ÃïtK2

Expected behavior:

I would expect this to show a page with testing 123 displayed
Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version: 91

This might be related to https://github.com/stackblitz/webcontainer-core/issues/48. However, it seems slightly different because it errors silently

Yea this seems to be a big. Thanks for reporting 🙏 But it's unrelated to crypto.

Looks like this is solved now! Thanks for reporting! ❤ ❤ ❤


Fix store errors build conflict

build conflict from #992 merge
@estesp
Signed-off-by: Tonis Tiigi<EMAIL_ADDRESS>

Codecov Report

Merging #1045 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1045   +/-   ##
=======================================
  Coverage   59.28%   59.28%
=======================================
  Files           5        5
  Lines         781      781
=======================================
  Hits          463      463
  Misses        204      204
  Partials      114      114

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca2ec3e...82464fe. Read the comment docs.

LGTM


add DTS gpio support for NRF51

The NRF51 platforms / SoCs need dts support for HAS_DTS_GPIO

@Mierunski thanks. Then I will assign this to you and we can close it as part of the PR. Please add Fixes #8713 to the PR or commit message.


feat(dev): add script to run auto-reloading celery workers

The single script starts celery scheduler, analytics worker and alerts
worker. It also stops all 3 of them on doing ctrl-c.
Added a new dependency watchdog to watch files and restart workers
when there's a code change.
TODO: have a flag to disable auto-reload.

LGTM.


@workspace is failing with last nights update in vscode 1.85, copilot-chat-0.11.0

VS Code Version: 1.85
OS Version: ubuntu 22.04
Copilot Chat version: copilot-chat-0.11.0

Steps to Reproduce:

@workspace
between these 2 inventory files is there a vm without any IP address
inventories/auckland/Auckland.ipv4.inventory.ini
inventories/auckland/Auckland.ipv6.inventory.ini

resulted in:
Encountered an error while deciding what workspace information to collect: failed

logs:
2023-12-08 12:26:02.590 [info] [extension] Error: Encountered an error while deciding what workspace information to collect: failed
    at A7.resolveContext (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:512:1771)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 2)
    at Uue (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:604:124)
    at Ei.buildPrompt (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:608:779)
    at n1._provideResponseWithProgress (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:1256:798)
    at n1.provideResponseWithProgress (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:1254:2086)
    at s.x (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:1266:1022)
    at f.$invokeAgent (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:141:128938)
2023-12-08 12:34:23.583 [info] [chat fetch] engine https://api.githubcopilot.com/chat
2023-12-08 12:34:23.584 [info] [chat fetch] modelMaxTokenWindow 4096
2023-12-08 12:34:23.584 [info] [chat fetch] chat model gpt-4
2023-12-08 12:34:26.613 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 3029 ms
2023-12-08 12:34:31.735 [info] [streamMessages] message 0 returned. finish reason: [stop]
2023-12-08 12:34:31.737 [info] [streamChoices] request done: requestId: [c4ca1b3d-a1c8-42f1-ac58-3514d2a2d9b6] responseId: [24eae97d-1b5e-4ab2-ac11-8c813aebbb4a] model deployment ID: [x74a4b0e7ace1]
2023-12-08 12:34:31.753 [info] [chat fetch] engine https://api.githubcopilot.com/chat
2023-12-08 12:34:31.753 [info] [chat fetch] modelMaxTokenWindow 8192
2023-12-08 12:34:31.753 [info] [chat fetch] chat model gpt-3.5-turbo
2023-12-08 12:34:33.269 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1516 ms
2023-12-08 12:34:33.272 [info] [streamMessages] message 0 returned. finish reason: [stop]
2023-12-08 12:34:33.273 [info] [streamChoices] request done: requestId: [e7f36e64-75c3-480a-93e5-5237dffa84cc] responseId: [dbe344be-3c8e-45bd-86f4-122bc4fbe8cd] model deployment ID: [x338b9c029b38]
2023-12-08 12:34:58.021 [info] [chat fetch] engine https://api.githubcopilot.com/chat
2023-12-08 12:34:58.021 [info] [chat fetch] modelMaxTokenWindow 4096
2023-12-08 12:34:58.021 [info] [chat fetch] chat model gpt-4
2023-12-08 12:34:59.690 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1668 ms
2023-12-08 12:34:59.693 [info] [chat fetch] Request ID for failed request: ,f57571fc-e75d-4556-b2c6-d58f5b8d7fd5
2023-12-08 12:34:59.694 [info] [chat fetch] Unhandled status from server:,400,Bad Request

2023-12-08 12:34:59.698 [info] [extension] Error: Encountered an error while deciding what workspace information to collect: failed
    at A7.resolveContext (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:512:1771)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 2)
    at Uue (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:604:124)
    at Ei.buildPrompt (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:608:779)
    at n1._provideResponseWithProgress (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:1256:798)
    at n1.provideResponseWithProgress (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:1254:2086)
    at s.x (/home/shadmin/.vscode/extensions/github.copilot-chat-0.11.0/dist/extension.js:1266:1022)
    at f.$invokeAgent (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:141:128938)

This is happening for me as well, both on release and pre-release version.
Query: @workspace find where the /customer endpoint is defined
Results:
2023-12-11 11:04:49.954 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1854 ms
2023-12-11 11:04:49.955 [info] [chat fetch] Request ID for failed request: ,93edf2f3-db80-405d-a758-ff319f5e9d04
2023-12-11 11:04:49.957 [info] [chat fetch] Unhandled status from server:,400,Bad Request

2023-12-11 11:04:49.958 [info] [extension] Error: Encountered an error while deciding what workspace information to collect: failed
    at A7.resolveContext (/.../.vscode-insiders/extensions/github.copilot-chat-0.11.0/dist/extension.js:512:1771)

    ...

 2023-12-11 11:06:47.565 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1369 ms
2023-12-11 11:06:47.566 [info] [chat fetch] Request ID for failed request: ,663817e7-f220-469f-8427-42ae0a62cccb
2023-12-11 11:06:47.567 [info] [chat fetch] Unhandled status from server:,400,Bad Request

2023-12-11 11:06:47.568 [info] [extension] Error: Encountered an error while deciding what workspace information to collect: failed
    at C3.resolveContext (/.../.vscode-insiders/extensions/github.copilot-chat-0.12.2023120701/dist/extension.js:512:1768)

Using VSCode Insiders on Mac M1:
Version: 1.85.0-insider (Universal)
Commit: 055458feab40fc308fc6d70b185068138c8cf8eb
Date: 2023-11-27T05:36:15.984Z (2 wks ago)
Electron: 25.9.4
ElectronBuildId: 25127168
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.1.0

Project is private, and it can't be shared.
It is structured as a monorepo, containing a few experimental folders and a main /src/ with different projects.
Most of the software is written in Python, with a React frontend, and a small Go code presence.
We use Pants build system as a Python toolchain, and npm for Javascript.
I've also tried using a .copilotignore file such as:
*
!src/nada/app/*

to mask everything apart one backend project, with the same results.

Please test this on copilot-chat 0.12+ and let me know if you're still seeing this issue

It crashes on copilot-chat v0.13.2024020701 (pre-release)
Maybe because it is a monorepo...?
I got it working for other smaller projects...
LOGS
Copilot Chat
2024-02-07 15:40:45.615 [info] [chat fetch] url https://api.githubcopilot.com/chat/completions
2024-02-07 15:40:45.615 [info] [chat fetch] modelMaxPromptTokens 7168
2024-02-07 15:40:45.615 [info] [chat fetch] modelMaxResponseTokens 4096
2024-02-07 15:40:45.615 [info] [chat fetch] chat model gpt-3.5-turbo
2024-02-07 15:40:46.364 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 749 ms
2024-02-07 15:40:46.822 [info] [streamMessages] message 0 returned. finish reason: [stop]
2024-02-07 15:40:46.823 [info] [streamChoices] request done: requestId: [e032ce2c-e210-4181-8fba-ec3310a92d67] responseId: [e032ce2c-e210-4181-8fba-ec3310a92d67] model deployment ID: [xd71d885bb108]
2024-02-07 15:41:55.512 [info] [FetcherService] Using Helix fetcher
2024-02-07 15:41:55.512 [info] [gitExtensionService] Initializing Git extension service.
2024-02-07 15:41:55.866 [info] [gitExtensionService] Successfully activated the vscode.git extension.

Extension Host
many of the following:
2024-02-07 15:41:51.718 [error] RangeError: Invalid string length
    at n.k (/Users/.../Downloads/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:168:18)
    at n.handleData (/Users/.../Downloads/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:167:1171)
    at Socket.<anonymous> (/Users/.../Downloads/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:440)
    at Socket.emit (node:events:514:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Socket.push (node:internal/streams/readable:234:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
...
2024-02-07 15:41:54.124 [info] Extension host with pid 13827 started

Extension Host (worker)
2024-02-07 15:41:54.092 [info] Extension host started
2024-02-07 15:41:54.092 [info] Eager extensions activated

Main
2024-02-07 15:41:53.570 [info] Extension host with pid 53635 exited with code: 7, signal: unknown.


ERROR ee stack install > HHVM cant authenticated?

trying ee stack install and get this error on /var/log/ee/ee.log
WARNING: The following packages cannot be authenticated!
  hhvm
E: There are problems and -y was used without --force-yes
2015-06-18 07:58:38,657 (INFO) ee : Oops Something went wrong!!
2015-06-18 07:58:38,659 (ERROR) ee : Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!

How to solve this error

related to #566


TV-App DUT should support Content Launcher Cluster commands

Problem
While Executing the media cluster test case [TC-MC-10.3], [TC-MC-10.5],[TC-MC-10.4] and [TC-MC-10.6]
TV-app DUT is returning command not supported.
TV-app should be enhanced to support the Content launcher commands as mentioned in the Spec.
expected behavior:-The DUT should respond with a success response (value 0)
actual behavior:- We are getting UNSUPPORTED_CLUSTER(0xC3) error response.

Command used in chip-controller:
sudo ./chip-tool contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 1 1
sudo ./chip-tool contentlauncher launch-url "exampleUrl" '{"providerName": "exampleName", "background": { "imageUrl": "exampleUrl", "color": "blue", "size" : {"width": 1.0, "height": 1.0, "metric": 0} }}' 1 1

system configuration
Chip-Tool: RPI
DUT: RPI
Platform : IP and Wifi
Commit-ID: https://github.com/project-chip/connectedhomeip/commit/6109d14348023229614227775b57b8b4c80f131a
Dut: TV-app
TH screenshot:-

DUT screenshot:-

Test-Plan reference:-
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/media.adoc

Same issue facing in KeyPad Input Cluster Test Cases
steps to reproduce:-./chip-tool keypadinput send-key 1 1 1
DUT side screenshot:-
image
TH side:-
image

[TC-MC-10.1] Read Content Launcher Attributes (DUT as Server)
Above mentioned same issue facing while verifing that the DUT can properly respond to attribute read requests Content Launcher Cluster Attributes.
Command used in chip-controller:
./chip-tool contentlauncher read accept-header 1 1
PFA DUT screenshot below:-


feat: DataLoader for get request

Original discussion https://github.com/sensedeep/dynamodb-onetable/discussions/250
In this PR I added the https://www.npmjs.com/package/dataloader dependency that allows to group all get requests made in parallel and perform a single BatchGetRequest.
For example (see tests for more)
// this will accumulate all gets request into a single batch request
// and return an array of items
const items = await Promise.all(
    ids.map(id => model.get({ id })
);

// this will perform a single batch get operation with just one item get and will return to each get the same value
// dynamo does not supports duplicate keys on batch request and the implementation will deal with that
const items = await Promise.all([
  model.get({ id: 'same-id' }),
  model.get({ id: 'same-id' }),
  model.get({ id: 'same-id' })
]);

it solves this discussion https://github.com/sensedeep/dynamodb-onetable/discussions/235
// this will perform 2 batch requests one with 25 items and another with the extra 5
// as DataLoader is configured with maxBatchSize = 25
// dynamo has a limit of 25 items on batch request
const items = await Promise.all([
  model.get({ id: '1' }),
  model.get({ id: '2' }),
  ...
  model.get({ id: '30' })
]);

With this implementation batchGet gets deprecated as all get request will already be grouped and turned into batchRequest internally.
P.S.: there was lots of lint errors and I fixed all of them on this PR too, the implementation is all on Table.js and the other files changes are just lint fixes
~TODO: add config to make this feature optional and fallback to original implementation~

Thank you. Really appreciated.
Can I give some feedback to help us digest this.
There is lots of code reformatting which makes reading the diffs difficult and doing a merge/pull risky. Can you resubmit the pull request without any code reformatting?
Can you also please resubmit the pull request in 2 parts: the data loader patch and the lint fixes. Both without any code reformatting. That way we can unlink the change sets and make each pull request focussed on one thing. We need a pull request to be minimal so we can properly assess every line change. We are very careful about this.
Second, we want zero external dependencies. This is for risk/security as well as minimal footprint. So can you use pass a data loader instance in via the Table constructor. That way, users who won't use this, don't pull in the data loader dep. Users who do want it, can construct the data loader when they create the table.


Add openAI and Anthropic API for text generation

It would be great to have access to OAI and Anthropic for text gen. I have assistants on OAI set up specifically for technical translation. o1 mini is far superior to Gemini for generating highly detailed podcasts. I am using Podcastfy a lot for academic podcast generation and translation - but i am generating transcripts using o1 mini as it has higher quality output and then using gpt4o assistant that has technical language bilingual glossary for translation accuracy.
This is such a great software and resource. I have made my own basic .bat file that makes the input and function selection a lot easier. Are you going to make a gradio front end like the great huggingface demo?

Thanks for sharing your experience.
Yes, adding OAI is a high priority.
I released a gradio/HF app yesterday. See usage section of README.
Would love your feedback!
On Tue, Oct 29, 2024, 12:49 AM OrphBean @.***> wrote:

It would be great to have access to OAI and Anthropic for text gen. I have
assistants on OAI set up specifically for technical translation. o1 mini is
far superior to Gemini for generating highly detailed podcasts. I am using
Podcastfy a lot for academic podcast generation and translation - but i am
generating transcripts using o1 mini as it has higher quality output and
then using gpt4o assistant that has technical language bilingual glossary
for translation accuracy.
This is such a great software and resource. I have made my own basic .bat
file that makes the input and function selection a lot easier. Are you
going to make a gradio front end like the great huggingface demo?
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3PCTZE3OURBM3PR6XDZ54ASXAVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDAMBUG43TQNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It worked for me once - but now it will not. I have uploaded 10 pdfs to the HF demo and it processes for a few seconds then returns nothing. The first attempt worked well though - only with a single pdf. Not sure what is going on as no console

Thanks, I've created an issue in the gradio app repo and will prioritize it
ASAP.
https://github.com/souzatharsis/podcastfy-demo/issues/2
On Tue, Oct 29, 2024 at 10:36 AM OrphBean @.***> wrote:

It worked for me once - but now it will not. I have uploaded 10 pdfs to
the HF demo and it processes for a few seconds then returns nothing. The
first attempt worked well though - only with a single pdf. Not sure what is
going on as no console
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127#issuecomment-2444256714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3K7SUVTGOMMUF626D3Z56FPNAVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBUGI2TMNZRGQ
.
You are receiving this because you commented.Message ID:
@.***>

I've just done a fresh install - I'm pretty new to installs from github but can find my way around - create .bat files and do the basics.
The latest install puts the podcastfy folder inside my site packages inside my env. I have moved it back to the root folder for convenience - as that's where all the data is at.
The biggest hurdle to me using the full suite of tools on offer is the lack of a UI. I imagine that is very much on your radar given your HF implementation.
I am fully using the transcript tool - made like 20 podcasts with it using OAI. I had to adapt it to handle Chinese characters as my use case is making bilingual podcasts for use with native Chinese speakers.
I'm actually pretty busy otherwise I'd be putting more time into testing and experimenting.

basically the options I would want in the UI are

LLM dropdown
Prompt dropdown (to a folder of prompts and custom prompts)
Source doc folder path (pdf and txt)
Output language.
Translate generated transcript (So there is an accurate translation of previously generated transcript)
Upload transcript
The rest of the options you have already in the HF demo.

This is particular to my use case - but i think the ability to create bilingual podcasts - so its a translation of, rather than a new generation, is a solid tool that would have a lot of utility.
Being able to direct it to a folder with all the docs in it is a good quality of life feature.
Love your work!

@OrphBean that's for sharing your use case!
podcastfy is focused on programmatic use and I'd love to hear your needs!
for UI development though I'd refer you to Open Notebook which offers an amazing UI and uses podcastfy in the backend:
https://github.com/lfnovo/open-notebook
Feel free to reach out to the author @lfnovo who has been very active

Great! Thanks for the link and clarity of your project. I'll jump over there!

Hey all! You have an amazing product, but why do you only use Gemini? Is it more capable for this task rather than Claude and OpenAI?
Thank you!

Hello, thanks for your question.
Gemini pro was the first model because of its long context window (2M), so we can support processing large number of input sources/content.
Enabling other base models should be a straight-forward update since we are using langchain.
Would you be excited to solve this issue?

I'll take a look - this should be straightforward to implement.
Btw after checking my Gemini console metrics, I noticed I'm only using around 8K characters, which suggests the 2 million token context window might be oversized for typical usage patterns.

Agreed. And chances are openai and Claude 3.5 Sonnet new will generate much
richer transcripts.
Adding them will be a great value add.
I am thinking they all implement langchains chatmodel so we can have that
as common interface.
On Wed, Nov 6, 2024, 7:09 AM Albert Aleksieiev @.***>
wrote:

I'll take a look - this should be straightforward to implement.
Btw after checking my Gemini console metrics, I noticed I'm only using
around 8K characters, which suggests the 2 million token context window
might be oversized for typical usage patterns.
image.png (view on web)
https://github.com/user-attachments/assets/9f39f4d0-2c6c-453c-a44d-760c43c75e6e
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127#issuecomment-2459198458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3IXD4MWWSJI4GZALBTZ7HTE3AVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJZGE4TQNBVHA
.
You are receiving this because you commented.Message ID:
@.***>

Or should we move to openrouter + langchain. Sounds the way to go to enable
seamless integration with any openai compatible api model
@.***/openrouter-langchain-leverage-opensource-models-without-the-ops-hassle-9ffbf0016da7
On Wed, Nov 6, 2024, 7:37 AM Thársis T. P. Souza @.***>
wrote:

Agreed. And chances are openai and Claude 3.5 Sonnet new will generate
much richer transcripts.
Adding them will be a great value add.
I am thinking they all implement langchains chatmodel so we can have that
as common interface.
On Wed, Nov 6, 2024, 7:09 AM Albert Aleksieiev @.***>
wrote:

I'll take a look - this should be straightforward to implement.
Btw after checking my Gemini console metrics, I noticed I'm only using
around 8K characters, which suggests the 2 million token context window
might be oversized for typical usage patterns.
image.png (view on web)
https://github.com/user-attachments/assets/9f39f4d0-2c6c-453c-a44d-760c43c75e6e
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127#issuecomment-2459198458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3IXD4MWWSJI4GZALBTZ7HTE3AVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJZGE4TQNBVHA
.
You are receiving this because you commented.Message ID:
@.***>

from langchain_groq import ChatGroq
from langchain_anthropic import ChatAnthropic
from langchain_openai import ChatOpenAI

And add them to LLMBackend should be fine. Also by adding Groq gives the blazing speed for podcast generation.

Sounds good!
On Wed, Nov 6, 2024 at 9:43 AM Albert Aleksieiev @.***>
wrote:

from langchain_groq import ChatGroq
from langchain_anthropic import ChatAnthropic
from langchain_openai import ChatOpenAI
And add them to LLMBackend should be fine. Also by adding Groq gives the
blazing speed for podcast generation.
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127#issuecomment-2459655614,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3N6CGCHI374QPGE373Z7IFF3AVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJZGY2TKNRRGQ
.
You are receiving this because you commented.Message ID:
@.***>

LiteLLM + Langchain would be more straightforward:
https://docs.litellm.ai/docs/langchain/

We wouldn't need an additional API Key as in openrouter
We don't need to instantiate separate classes in your example

We simply pass the base model name and we're done.
Of course, this is assuming the user prefers having individual API Keys per model instead of a single one for all (e.g. openrouter).
os.environ['OPENAI_API_KEY'] = ""
chat = ChatLiteLLM(model="gpt-3.5-turbo")

messages = [
    HumanMessage(
        content="what model are you"
    )
]
chat.invoke(messages)

This issue is a subset of #115

Hi, This is done.
You can now generate podcast transcripts from 100+ LLM models:
https://github.com/souzatharsis/podcastfy/blob/main/usage/how-to.md#custom-llm-support
Would love your feedback.

Oh wow! Amazing work, thank you!

I would love to hear your feedback: What base model should we recommend
users to utilize?
On Wed, Nov 6, 2024, 7:51 PM Albert Aleksieiev @.***>
wrote:

Oh wow! Amazing work, thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127#issuecomment-2460952819,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3P5YIOAG4FWJ5CH2BDZ7KMORAVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQHE2TEOBRHE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Sure! Here's what I found so far:
GPT-4o Preview

Generates longer conversations
Produces 2-3x more dialogs compared to GPT-4o base

GPT-4o Base

Generates good quality content
Similar performance to Gemini
Appears to be the optimal choice

Claude 3.5 Sonnet

Generates notably shorter content

So it looks like gpt-4o or Gemini is the optimal choice. However if you can pay 1$ at average for podcasts, o1 preview looks like the best choice.
Sample Outputs

Sonnet 3.5 Sample
o1 Preview Sample
GPT-4o Sample

Thank you so much for your feedback and analysis!
Is it OK if I add it to the official documentation?
If yes, would you mind sharing in out used (url/pdf/text) and gemini
output with me?
I've noticed Sonnet did not follow the instructions well since the output
lacked Conclusion section. o1 indeed was impressive though costly.
Thanks!
On Thu, Nov 7, 2024, 8:59 AM Albert Aleksieiev @.***>
wrote:

Sure! Here's what I found so far:
GPT-4o Preview

Generates longer conversations
Produces 2-3x more dialogs compared to GPT-4o base

GPT-4o Base

Generates good quality content
Similar performance to Gemini
Appears to be the optimal choice

Claude 3.5 Sonnet

Generates notably shorter content

So it looks like gpt-4o or Gemini is the optimal choice. However if you
can pay 1$ at average for podcasts, o1 preview looks like the best choice.
Sample Outputs

Sonnet 3.5 Sample
https://audio.com/albert222/audio/podcast-sonnet-35
o1 Preview Sample
https://audio.com/albert222/audio/podcast-o1-preview
GPT-4o Sample https://audio.com/albert222/audio/podcast-gpt-4o

—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/127#issuecomment-2462055946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3LJT4ABSDIJZP3WMSDZ7NI3XAVCNFSM6AAAAABQY5BSDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRSGA2TKOJUGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Sure, sounds good!
This is a link to Gemini - https://audio.com/albert222/audio/podcast-gemini
A source PDF - 2006WICC.pdf


Error when sending an estimate gas with almost the same parameters as a non-minable tx in the mempool

This is all I could narrow down the problem:
  const [a] = await network.provider.send("eth_accounts", [])
  await network.provider.send("evm_setAutomine", [false])

  await network.provider.send("hardhat_setNextBlockBaseFeePerGas", ["0x100"])
  await network.provider.send("hardhat_mine", [])

  await network.provider.send("eth_sendTransaction", [{
    from: a, to: a, nonce: "0x0", maxFeePerGas: "0xA"
  }])

  await network.provider.send("eth_estimateGas", [{
    from: a, to: a, nonce: "0x0", maxFeePerGas: "0x200"
  }])

Explanation:

We disable automining
Then we set the base fee to some value
After that we send a tx with a maxFeePerGas below the base fee. This means that this tx will be in the mempool but it won't be minable.
Finally, we send an eth_estimateGas with the same nonce as the tx in the mempool, but with a minable maxFeePerGas.

This works fine in<EMAIL_ADDRESS>but it throws this in<EMAIL_ADDRESS>ProviderError: Invalid transaction: NonceTooHigh { tx: 1, state: 0 }

Interestingly, this error comes directly from REVM, not from EDR, which seems to suggest there's something wrong with our logioc.

I ran the repro steps in both ethereumjs/main and main. We are doing the except same steps as you described, except that ethereumjs/main disables the nonce check.
We'll have to introduce that config option in revm to mimick ethereumjs.


Evaluate early prediction and taxonomy prediction?

what parameter need to be passed to evaluate early prediction and  taxonomy prediction for fbnet,resnet,vgg.

Your question is unclear. Please substantiate it with enough details.

How to obtain values for plotting this graph. README file doesn't say anything about early prediction and taxonomy prediction.

@amir32002  please reply sir.thanks


Uniswap NFTs cause ANR

Reproduce steps:

Watch gtd.eth
Click Uniswap V3 Positions in Collectibles section
Click item to view details (As the NFT image is dynamic, it's a little bit slow)
Press back button (May not response)
Press back button again

It shows ANR sometimes.

Didn't find a way to optimize. It works well on other Android phones.


Remove reverse relations from NetworkElementEntity to InspectionPort.

@dmitryintel branch out of date. also fix deprecation warnings on osgi test


Draft: Fix #165: session.laps.pick_fastest() should return the overall faste…

…st lap, instead of the fastest lap in the latest session.
The personal best lap times are now additionally tracked in another column, 'historicalPersonalBest' which will let us pull the fastest legal lap across all sessions for any given event.

I'll re run the tests. I think some tests are checking the size of the dataframe - since I added another column, the asserts need to be updated. I'll push a change for that.

I haven't really looked at this yet. But some tests will fail with the dataframe  being changed. You can ignore it for now, maybe we need to change something again. Then you need to update everything twice.

Sounds good. I'll make the changes to the test after and if we agree this approach is fine!

Looking at this now, I agree that a boolean value is still good enough to mark the personal best laps. I currently don't see the benefit of keeping two columns for current and historical, though?
The current column is equal to taking the last lap that is a historical personal best, no? So it'd be fine to just keep a single column where all personal best laps are marked as such. Do you agree or am I missing something?

Looking at this now, I agree that a boolean value is still good enough to mark the personal best laps. I currently don't see the benefit of keeping two columns for current and historical, though? The current column is equal to taking the last lap that is a historical personal best, no? So it'd be fine to just keep a single column where all personal best laps are marked as such. Do you agree or am I missing something?

I agree. There maybe a slight nuance that the "pole" position time will always be Q3 fastest time. If we mark everything as true in personalBest we won't have access to the pole position time without getting all the personal bests, and then checking with time.  This will obviously be resolved once we implement the new method where we split the lap times by Q1,Q2,Q3, then it should be easy to get the pole time (fastest in Q3), but in the interim period it will require some extra post-processing on the user side (should we choose to mark all personalBests as true). What do you think?

Ok, so this does not work correctly yet. You can not assume that the current lap is a personal best whenever a personal best value is received.
See, for example, Norris in the Spanish GP Qualifying:

The second to last lap (1:19.977) was deleted because  of track limits. After that, the API sends 1:20.471 again, which was the previous fastest lap. But the way you have it implemented currently, this is interpreted as the last lap being a fastest lap as well. You need to keep track of the actual personal best values, at least locally in the api parser. It's the only way you can detect if a fastest lap is deleted. You can then match these values to their respective laps and mark them as personal best.

Okay, let me check this again!

Will the API always send the previous legal lap immediately after a lap time is considered deleted?
01:20.471
01:19.977 <-- deleted
01:20.471
Or is there any situation like below that can arise
01:20.471
01:19.977 <-- deleted
01:18.850
01:20.471
I think the above case wouldn't make sense but just wanted to confirm API behavior. I was able to find what the issue was with my earlier implementation, I did not consider the deleted laps, and was updating bestLaps by lapcnt - but really we should be matching with the actual best lap times like you mentioned.

The answer is, I don't know for sure. But here is what I would expect. Consider that the timing data that FastF1 is downloading really just is a recording of the live timing data stream. Therefore, it would make sense that the personal best value directly updates what is displayed live in the app interface.
I assume that if your second example situation occurs, we would not be able to detect that the lap was deleted. In my opinion, if a faster lap has already been set before the lap is deleted, no personal best value will be sent again because the currently displayed personal best value would not need to be updated. This is of course not ideal, but it is not a huge issue either because .pick_fastest would still return the correct lap. Usually nowadays, lap time deletions due to track limit violations are fairly quick and there shouldn't be any issues, though.
I would like to get the data as accurate as possible from this one data source. We might not be able to make it perfect, though. Parsing the race control messages additionally, to catch edge cases as well, could be considered after that. This would need to be done somewhere in Session._load_laps, so it can be added later separately.
One more edge case that we need to consider somehow is what happens if a driver's very first lap is deleted. Yes, this would be an outlap, and it is therefore not really relevant. But we need to make sure that there's no unhandled exception in case the personal best value is an empty value or something like that.

Good points all. I think for now then we can assume that the previous lap time is sent again immediately if the current lap time is deleted?
I might need some more time to close this - as I'm busy with some IRL things. But if anyone else wants to pick it up in the meantime, I think our discussion should provide plenty background. I'll try to get back to this in a week or so.


[Q] timeout handling

Hi!
Haven't found the way to set connection timeout. How to?

There is an open discussion on timeout handling in the Fetch specification repository: https://github.com/whatwg/fetch/issues/20. We will add the behavior to the polyfill when the feature is added to the standard specification.

You can implement your own timeout wrapper for Promises:
// Rough implementation. Untested.
function timeout(ms, promise) {
  return new Promise(function(resolve, reject) {
    setTimeout(function() {
      reject(new Error("timeout"))
    }, ms)
    promise.then(resolve, reject)
  })
}

timeout(1000, fetch('/hello')).then(function(response) {
  // process response
}).catch(function(error) {
  // might be a timeout error
})

The timeout() function will wrap any promise and ensure that it's at least rejected within ms milliseconds. If the fetch succeeds to resolve earlier than that, then the request will be successful.
Note that this is not a connection timeout. This is a response timeout. Due to technical restrictions we can't implement a connection timeout. Also note that with the above implementation, even if the timeout happends the original request won't be aborted because we don't have an API to abort fetch requests. Instead, the request will complete in the background but its response will get discarded.

@mislav  Awesome!

@mislav Good one.

Five cents to @mislav solution - remove timeout if promise was resolver or rejected internally.
function timeoutPromise(ms, promise) {
  return new Promise((resolve, reject) => {
    const timeoutId = setTimeout(() => {
      reject(new Error("promise timeout"))
    }, ms);
    promise.then(
      (res) => {
        clearTimeout(timeoutId);
        resolve(res);
      },
      (err) => {
        clearTimeout(timeoutId);
        reject(err);
      }
    );
  })
}

@nodkz  @mislav  thanks for your idea!
and how could I use it in ES7 async/await syntax?

I ensure above statement can't suitable for ES7 async/await syntax,
but I don't know how to call timeout method, any idea?

i wish this was actually possible to stop the underlying fetch() work...
shortcuting the flow but not interrupting is not really satisfying.
I really wish fetch() was interruptable like in xhr.abort()..

@gre That would be nice, but in reality it's not so trivial to add. See https://github.com/whatwg/fetch/issues/27

Another 2c to @nodkz enhancement. Don't re-resolve/re-reject the promise if the request does eventually complete after the timeout fires:
function timeoutPromise(ms, promise) {
  return new Promise((resolve, reject) => {
    let timeoutId = setTimeout(() => {
      timeoutId = undefined;
      reject(new Error("promise timeout"))
    }, ms);
    promise.then(
      (res) => {
        if (timeoutId) {
          clearTimeout(timeoutId);
          resolve(res);
        }
      },
      (err) => {
        if (timeoutId) {
          clearTimeout(timeoutId);
          reject(err);
        }
      }
    );
  })
}

@dieseldjango @nodkz I appreciate you trying to improve upon my solution, but you assure you, both approaches are not necessary. Promises can't be re-resolved or re-rejected: the first resolution or rejection "wins" and the others are ignored. Thus, my original code works just as well without any extra code thrown at it:
function timeout(ms, promise) {
  return new Promise(function(resolve, reject) {
    setTimeout(function() {
      reject(new Error("timeout"))
    }, ms)
    promise.then(resolve, reject)
  })
}

If you add extra code that clears the timeout if it won't be necessary, it's a premature optimization. You're basically saving yourself from no more than just an overhead of executing a function that constructs a new Error instance. And, since this function executes async, it's not an overhead at all.

What about this?
function timeout (promise, ms = TIME_OUT) {
  let timerPromise = new Promise((resolve, reject) => {
    setTimeout(() => {
      reject(new Error('Request Timeout'))
    }, ms)
  })
  return Promise.race([timerPromise, promise])
}

#547 may help this.

I tried a TypeScript Version of @mislav code.
function timeout<T>(ms, promise): Promise<T> {
    return new Promise<T>(async (resolve, reject) => {
        setTimeout(() => {
            reject(new Error("timeout"))
        }, ms)
        resolve(await promise)
    })
}

@mislav it would be great to have a connection timeout. This seems to be a fairly common and needed option going as far back to AngularJS with $http timeout in ms, but as you suggested there are alternatives. Here's an ES6/ES7 compatible approach with a demo (note you will need to Babel this for IE):
`
/************************************************

Asynchronous functions with async and await.
***********************************************/
"use strict";
const fetch = require('node-fetch');
// Lots of data (130Mb):
let TARGET_URL = "https://raw.githubusercontent.com/zemirco/sf-city-lots-json/master/citylots.json";

class AjaxService {
constructor() {
this.url = TARGET_URL;
this._timeout = {active: false, ms: 0};
}
/************************************************************************************
 * Provide a fetch based promise and set a initiation timer. The Fetch API currently
 * has not mechanism to handle timed out AJAX requests. Here's an explanation from
 * one of the Fetch API maintainers (mislav) on Github:
 *
 * Note that this is not a connection timeout. This is a response timeout. Due to
 * technical restrictions we can't implement a connection timeout. Also note that with
 * the above implementation, even if the timeout happens, the original request won't
 * be aborted because we don't have an API to abort fetch requests. Instead, the
 * request will complete in the background but its response will get discarded.
 *
 * What this function provides is an initiation timeout. If the Fetch request takes
 * more than a set amount of time in ms then reject that request's response data.
 *
 * See: https://github.com/github/fetch/issues/175
 *
 * @param fetchPromise
 * @returns {Promise}
 */
fetchWithTimeout(fetchPromise) {
    if (this._timeout.active && this._timeout.ms > 0) {
        return new Promise((resolve, reject) => {
            setTimeout(() => {
                reject(new Error("Fetch is taking to long. Rejecting the response."));
            }, this._timeout.ms);
            fetchPromise.then(resolve, reject);
        });
    } else {
        console.warn("_timeout member needs to be active with seconds greater than zero");
    }
}

resetUrl() {
    this.url = TARGET_URL;
}

set timeout(timeout) {
    this._timeout = JSON.parse(JSON.stringify(timeout)); // deep copy
}

async asyncFetchData() {
    let response = await ((this._timeout.active && this._timeout.ms > 0) ?
        this.fetchWithTimeout(fetch(this.url)) : (fetch(this.url)));
    if (response.ok) {
	    return await response.json();
    } else {
        throw new Error(response.status);
    }
};

// Run the data fetch function.
run() {
    this.asyncFetchData()
        .then(data => console.log("Data type: ", data.type))
	    .catch(reason => console.error("Caught error: ", reason.message));
};

}
let ajaxService = new AjaxService();
// Demo the service:
ajaxService.run();
// Now test with an invalid url to see what happens:
ajaxService.url = "bogus";
// This should run first since it's a bogus url:
ajaxService.run();
ajaxService.resetUrl();
// Test the timeout of the initiating request by making a very fast (10 ms) request:
ajaxService.timeout = {active: true, ms: 10};
ajaxService.run();
`
Tested this out with NodeJS v9.4.0 Works really well and in an asynchronous manner as expected.

it would be great to have a connection timeout

@jasonwr Sure, but we are just a polyfill, and the fetch spec itself doesn't define any timeout functionality. If you want to discuss said features, you can ask in the official repo: https://github.com/whatwg/fetch/issues/20 https://github.com/whatwg/fetch/issues/180 for updates.


Negative time

Today i played a 5m+3s game against Woodpusher v1.2.1 and i won. However, this was due to Woodpusher exceeding the time limit. Playing against other engines (i use CuteChess GUI) the time management seems good, but my game was different : CuteChess allows a human to exceed the time limit, which is a good feature, i think. This simply explains the loss.
I attach the ZIPped CuteChess log : woodpusher-v1.2.1-loses-on-time-against-human.zip
It shows the negative times for the Black. I guess you were not aware of this CuteChess functionality and it can easily be solved.

[Event "human vs engine"]
[Site "Holland"]
[Date "2024.11.27"]
[Round "?"]
[White "Woodpusher v1.2.1"]
[Black "Roelof Berkepeis"]
[Result "0-1"]
[ECO "A04"]
[GameDuration "00:13:54"]
[Opening "Reti Opening"]
[PlyCount "60"]
[Termination "time forfeit"]
[TimeControl "300+3"]

1. Nf3 {+0.28/7 5.6s} d6 {21s} 2. e4 {+0.58/7 3.9s} e5 {24s}
3. Bd3 {+0.28/6 3.8s} Be7 {19s} 4. O-O {+0.22/6 3.5s} Bg4 {11s}
5. h3 {+0.34/6 2.9s} Bh5 {5.5s} 6. Nc3 {+0.54/6 2.3s} c6 {3.4s}
7. Be2 {+0.43/6 3.8s} Nf6 {17s} 8. d4 {+0.33/6 5.3s} Nbd7 {4.7s}
9. Be3 {+0.41/4 1.8s} Bxf3 {13s} 10. Bxf3 {+0.67/7 4.9s} exd4 {1.5s}
11. Bxd4 {+0.65/7 4.0s} Qc7 {10s} 12. Qe2 {+0.64/6 3.7s} Ne5 {1.9s}
13. Rad1 {+0.50/7 6.3s} O-O {12s} 14. Rfe1 {+0.39/7 11s} Rad8 {20s}
15. Bg4 {+0.37/7 7.5s} Nfxg4 {12s} 16. hxg4 {+0.31/7 6.4s} b5 {55s}
17. a3 {+0.31/6 3.5s} a5 {13s} 18. f4 {+0.34/6 5.7s} Nc4 {2.7s}
19. b3 {+0.27/7 7.1s} Nxa3 {5.0s} 20. Qf2 {+0.01/7 6.0s} Rb8 {5.9s}
21. e5 {+0.16/7 7.3s} b4 {16s} 22. Na4 {-0.03/7 5.1s} c5 {9.5s}
23. exd6 {+0.51/8 15s} Bxd6 {7.2s} 24. Bxc5 {+0.55/7 4.9s} Bxc5 {26s}
25. Nxc5 {+0.09/8 6.1s} Rbd8 {29s} 26. f5 {+0.20/7 5.6s} Nb5 {5.0s}
27. f6 {+0.41/8 18s} g6 {17s} 28. Rd3 {+0.59/7 5.6s} Rxd3 {8.7s}
29. Nxd3 {+0.39/8 15s} h6 {23s} 30. Re5 {+0.68/9 99s}
Nc3 {38s, White loses on time} 0-1

[ i'm on Xubuntu 22.04 ]

No, I didn't have that scenario covered. When it failed to parse a negative time it defaulted to five minutes (and lost). Now it should be OK, as long as it is the opponent that plays on borrowed time. The engine will return bestmove (none) if it has no time to think.


Prometheus crash when boot with a empty checkpoint dir

What did you do?
bootstrap cortex 1.4
What did you expect to see?
running
What did you see instead? Under which circumstances?
level=info ts=2020-10-09T11:20:56.594262Z caller=wal.go:570 msg="recovering from /tmp/cortex/wal/checkpoint.000003"
panic: runtime error: index out of range [0] with length 0

goroutine 498 [running]:
github.com/prometheus/prometheus/tsdb/wal.NewSegmentBufReader(0x0, 0x0, 0x0, 0x0)
        /Users/allenzhli/Workspace/infrastore-metric/vendor/github.com/prometheus/prometheus/tsdb/wal/wal.go:845 +0x13f
github.com/prometheus/prometheus/tsdb/wal.NewSegmentsRangeReader(0xc000ee5768, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
        /Users/allenzhli/Workspace/infrastore-metric/vendor/github.com/prometheus/prometheus/tsdb/wal/wal.go:827 +0x4e8
github.com/prometheus/prometheus/tsdb/wal.NewSegmentsReader(0xc000d6c180, 0x21, 0x0, 0x0, 0x0, 0x0)
        /Users/allenzhli/Workspace/infrastore-metric/vendor/github.com/prometheus/prometheus/tsdb/wal/wal.go:799 +0xfa
github.com/cortexproject/cortex/pkg/ingester.newWalReader(0xc000d6c180, 0x21, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0)
        /Users/allenzhli/Workspace/infrastore-metric/pkg/ingester/wal.go:1002 +0xa8
github.com/cortexproject/cortex/pkg/ingester.processCheckpoint(0xc000d6c180, 0x21, 0xc00015c600, 0xc000528b90, 0xf, 0xc000ae8000, 0xc, 0xc0009d2300, 0xc, 0xc, ...)
        /Users/allenzhli/Workspace/infrastore-metric/pkg/ingester/wal.go:633 +0x86
github.com/cortexproject/cortex/pkg/ingester.processCheckpointWithRepair(0xc000528b90, 0xf, 0xc000ae8000, 0xc, 0xc0009d2300, 0xc, 0xc, 0xc0009d2360, 0xc, 0xc, ...)
        /Users/allenzhli/Workspace/infrastore-metric/pkg/ingester/wal.go:572 +0x618
github.com/cortexproject/cortex/pkg/ingester.recoverFromWAL(0xc000ae8000, 0x0, 0x0)
        /Users/allenzhli/Workspace/infrastore-metric/pkg/ingester/wal.go:525 +0x3f8
github.com/cortexproject/cortex/pkg/ingester.(*Ingester).starting(0xc000ae8000, 0x3f57120, 0xc0002dc600, 0x0, 0x0)
        /Users/allenzhli/Workspace/infrastore-metric/pkg/ingester/ingester.go:231 +0x1a9
github.com/cortexproject/cortex/pkg/util/services.(*BasicService).main(0xc000872b40)
        /Users/allenzhli/Workspace/infrastore-metric/pkg/util/services/basic_service.go:134 +0xc2
created by github.com/cortexproject/cortex/pkg/util/services.(*BasicService).StartAsync.func1
        /Users/allenzhli/Workspace/infrastore-metric/pkg/util/services/basic_service.go:96 +0x118
Exiting.

Environment
cortex 1.4

System information:
Darwin 19.6.0 x86_64

Prometheus version:
prometheus 2.20

This should no longer happen with Prometheus 2.22. You will need to remove that empty dir manually.
Duplicate of https://github.com/prometheus/prometheus/issues/6976


OCM-10011 | test: automated cases id:73538

`jfrazier@jfrazier-mac  ~/workspace/rosa   jf_73538 ±  ginkgo run -focus 73538 tests/e2e
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of Ginkgo imported by your packages:
Ginkgo CLI Version:
2.11.0
Mismatched package versions found:
2.17.1 used by e2e
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file.  Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
Running Suite: ROSA CLI e2e tests suite - /Users/jfrazier/workspace/rosa/tests/e2e
Random Seed:<PHONE_NUMBER>
Will run 1 of 161 specs
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 1 of 161 Specs in 3.907 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 160 Skipped
PASS
Ginkgo ran 1 suite in 9.184167625s
Test Suite Passed`

/retest

/lgtm


Fix log options for contrib logger

Description
This PR fixes the bug in log options for contrib logger
Issue reference
This PR will close: https://github.com/dapr/dapr/issues/1532
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

This change is

Thanks, LGTM - @youngbupark - it'd be good to have specific scopes for each component i.e. dapr.pubsub.kafka rather than dapr.contrib across all components. I'm not sure this is doable with the current injected logger though - maybe we can just call log.SetReportCaller(true) on the logContrib so we get the method name or we create a logger per component if we think it's an acceptable cost.

Thanks for your contribution. I leave nitpicks.

Thanks, LGTM - @youngbupark - it'd be good to have specific scopes for each component i.e. dapr.pubsub.kafka rather than dapr.contrib across all components. I'm not sure this is doable with the current injected logger though - maybe we can just call log.SetReportCaller(true) on the logContrib so we get the method name or we create a logger per component if we think it's an acceptable cost.

log.SetReportCaller(true) may include too much information for normal user. it will be useful only when user set log level to Debug.
Maybe we need to change  scope to namespace and then allow users to set scope in each code.

Thanks, LGTM - @youngbupark - it'd be good to have specific scopes for each component i.e. dapr.pubsub.kafka rather than dapr.contrib across all components. I'm not sure this is doable with the current injected logger though - maybe we can just call log.SetReportCaller(true) on the logContrib so we get the method name or we create a logger per component if we think it's an acceptable cost.

log.SetReportCaller(true) may include too much information for normal user. it will be useful only when user set log level to Debug.
Maybe we need to change  scope to namespace and then allow users to set scope in each code.

Yeh - I’ll create a separate issue to propose this


GoogleWebAuthorizationBroker in embedded browser?

hello there, I starting developing C# gui application. I searching through google and havent found anything about verification using embedded browser, so user doesnt need to leave apps....
Any help?
thanks  :)

The project is open source, so you might want to develop a WPF window for doing so. Feel free to contribute to the library.
We have a similar solution for WP, as you can find here: https://github.com/google/google-api-dotnet-client/blob/master/Src/GoogleApis.Auth.WP/OAuth2/WebAuthenticationBrokerUserControl.xaml

thanks you peleyal. I tried what I can do. But no support for winform?

We have no current plans to implement any extra embedded browser support.

Is there any solution that allow use WinForm embedded browser for authorization?

Code the authentication yourself and build a data store that the library can use. Embedded browsers are not supported by the library sorry


Identify AMReX integration points

Work out where in the subgrid code AMReX fits

Grids for density, velocity, force, and distribution function should be replaced. These are part of the lattice struct defined in Lattice.h and malloc'd in d3q15_init in d3q15.c. Those, therefore, are the obvious places to begin inserting AMReX. One note of warning: AMReX is C++/Fortran but not C. Therefore we should begin by attempting to compile with a C++ compiler (or figure out an alternative strategy).


Export of aggressive_tokenizer_fr.js

The following line is missing from index.js
exports.AggressiveTokenizerFr = require('./tokenizers/aggressive_tokenizer_fr');

ok will try to fix asap, feel free to submit a PR as well


feature - enabling a time to execution property on Routines

Pull request summary
Proposed attempt to exposing a "time to next execution" property within Routines
Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.
[x] I have updated the changelog with a quick recap of my changes.

[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Have you tested all variations of multiple routines running simultaneously with some being stopped, the execution time being changed mid run, cancelled etc.

Have you tested all variations of multiple routines running simultaneously with some being stopped, the execution time being changed mid run, cancelled etc.
We also run this with black -l 120

Still working through test cases. Happy path for what I need it for seems to be stable with start/stops but it's by no means exhaustive yet. Are there tests in the repo or elsewhere to improve that coverage or at least ensure I'm doing no harm?
Copy on the use of black.

The checks are failing due to using 3.10+ Union syntax (T | None) when the minimum python version is 3.7. You may need to switch it out for typing.Union[T, None].

Have you tested all variations of multiple routines running simultaneously with some being stopped, the execution time being changed mid run, cancelled etc.
We also run this with black -l 120

./test.py is my sort of body of evidence that, yes, I believe that this has now been tested against most use cases (in the hackiest way). It will be removed when this leaves draft, but I wasn't sure how else to prove that.

There's also a merge conflict that must be resolved be we can merge.


[Bug]: Issues with the new Date/Date Range Picker component

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Below are the issues with the new Date/Date Range Picker component in StoryBook:
Functional:

The year dropdown always starts from the yearStartRange. This can be frustrating for the user who wants to select a relatively closer date. (suggestion is to show the selected year in the middle or something once the dropdown is clicked.)
timeFormat does not work.
When allowSameDay is set to false, we are still able to select the same day in the Date Range Picker.
max/min Time don't work.
Clear & Today buttons are missing.
The time fields in the min/maxDate & date fields in min/maxTime do not work.

Design:

The height & width of the card changes on changing the month.
Wrong gap between month & year dropdown.
Gap between Days (Sun, Mon...) not visible. Should be 4px
Wrong gap between month/year dropdown & Days (Sun, Mon etc.)

Steps To Reproduce

Go to https://design-system.appsmith.com/
Click on the Date Picker component.

Public Sample App
No response
Environment
Deploy Preview
Issue video log
No response
Version
Cloud

@rohitagarwal88 Yes


Fixed syntax error in prometheus-adapter

What this PR does / why we need it:
Fixes syntax error in prometheus-adapter chart
Which issue this PR fixes : fixes #7293

I don't have approve rights, but this looks good to me :)

@Matei207 there's another occurrence in https://github.com/helm/charts/blob/98b48cb722047701477029658a4a5b78962c4d7f/stable/prometheus-adapter/templates/secret.yaml#L5 that maybe could be fixed too?

/ok-to-test
/assign

Hi @davidkarlsen, sorry for the long wait, I was on holiday. Thanks for pointing it out to me, I've updated the PR to also include the fix in secret.yaml.
Let me know if there is anything else that's missing!

/lgtm


Concurrent build issues

If I'm invoking two acbuilds acbuild where the first is using begin and the second is using --modify, the second one fails to start because the lock for the first is created in the current directory, and the second cannot acquire the lock.
It would be great if the .acbuild context was named after the build, and the lock was associated with a particular .acbuild context (or aci if using --modify).
Ex:
acbuild begin path/to/example.aci --name example-app where --name must be unique for this particular build, to allow for multiple concurrent builds.
This would result in something like:
.acbuild-example-app and a lock named .acbuild-example-app.lock in the current directory.
acbuild --modiy path/to/example.aci set name coreos.com/example could produce a lock named something like:
.path_to_example.aci.lock
You could still only have one instance of an acbuild begin in a single directory, but you could have as many acbuild --modify running in the same directory, assuming each have their own ACI to modify (still limited to one acbuild per aci).

I suppose I should create a temp directory for --modify builds

On Oct 24, 2015, at 18:33, Chance Zibolski<EMAIL_ADDRESS>wrote:
If I'm invoking two acbuilds acbuild where the first is using begin and the second is using --modify, the second one fails to start because the lock is created in the current directory.
―
Reply to this email directly or view it on GitHub.

Now that I've taken a look at this, the issue is actually sillier than I originally thought. acbuild does make a temp directory, which is used by begin, write, and end, but it's not used by the given command you want to run.


Version v1.2.12 breaks in Chef 11.x

It looks like my issue may be related to #22  #21  Please fix ASAP!
================================================================================
Recipe Compile Error in /var/lib/aws/opsworks/cache.stage2/cookbooks/dnsupdate/recipes/add.rb
================================================================================

ArgumentError
-------------
wrong number of arguments (1 for 0)

Cookbook Trace:
---------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/xml/recipes/ruby.rb:44:in `block in from_file'
/var/lib/aws/opsworks/cache.stage2/cookbooks/xml/recipes/ruby.rb:43:in `from_file'
/var/lib/aws/opsworks/cache.stage2/cookbooks/route53/recipes/default.rb:20:in `from_file'
/var/lib/aws/opsworks/cache.stage2/cookbooks/dnsupdate/recipes/add.rb:2:in `from_file'

Relevant File Content:
----------------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/xml/recipes/ruby.rb:

37:      Chef::Application.fatal!("You must specify a version less than or equal to 1.6.1 of nokogiri to use system libraries. You set: #{node['xml']['nokogiri']['version']}.")
38:    else
39:      ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES'] = node['xml']['nokogiri']['use_system_libraries'].to_s
40:    end
41:  end
42:
43:  chef_gem 'nokogiri' do
44>>   compile_time true if Chef::Resource::ChefGem.method_defined?(:compile_time)
45:    version node['xml']['nokogiri']['version']
46:    action :install
47:  end
48:

Related to: https://github.com/opscode-cookbooks/aws/pull/110

any development on this?

Should be fixed in 1.2.13
—
Sent from Mailbox
On Fri, Feb 20, 2015 at 12:03 PM, data-wiz<EMAIL_ADDRESS>wrote:

any development on this?
Reply to this email directly or view it on GitHub:
https://github.com/opscode-cookbooks/xml/issues/23#issuecomment-75309343

Indeed it is fixed in 1.2.13


Track version name OR code

Issue Link

Closes #122
Goals

Allow tracking last version name OR code of events.

Coverage increased (+0.7%) to 16.704% when pulling 48939c86e1084e4114bbf04687ccc63dd256b74f on separate-version-rules into ef5f83dcc7fe9a1f849bca7966f78e148e83c56f on 1.1.0.


Feature navigation drawer setup

Description
Add navigation drawer functionality to navigate between different fragments in the app and allow the user to log out
Type of change

[X] New feature (non-breaking change which adds functionality)

Change Status

[X] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[ ] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] There are no merge conflicts

Still need to:

[ ] Fix Toolbar title changing between selections
[ ] Have nav_heeader_main display user info

Potentially:

[ ] Make nav drawer selections switch upon user clicking the nav_header_main, to display Manage Account & Logout options


HELP: Syntax Highlighting

How can I automatic syntax highlighting. I checked the docs but I'm not able to figure it out, can you gimme a working example? Thanks

Hello @preetkam !
There is no automatic syntax highlight unfortunately. Library provides a way to plugin your own solution, but not bundled with working implementation.
I have a plan on implementing it in future, but right now I cannot say when I will start working on it.

Hey @noties !
Thanks for the quick response. I'm just asking if I can make use of a library within the syntax highlight function. Or if there's any work-around which I can use to make it work with basic syntax highlighting?

Hey @preetkam !
There is a small document about syntaxt highlight: https://github.com/noties/Markwon/blob/master/docs/SyntaxHighlight.md
In short, you can use any existing parser/highligher, but it should return result as an Android Spannable (or you should convert a result to it)

So, it is still not clear how to use the SyntaxHighlight plugin.
What I am trying to do is implement a Syntax Highlighting solution like this for python, javascript.
In the documentation site, you say :
Generally obtaining a Prism4j instance is pretty easy:

final Prism4j prism4j = new Prism4j(new GrammarLocatorDef());

Where GrammarLocatorDef is a generated grammar locator (if you use prism4j-bundler annotation processor)

I have included the annotation processor library but it is unclear how to make use of it.
Would be great if you could share an example on that.

So, I read the Prism4j documentation and added a class like below :
@PrismBundle(
    includeAll = true,
    grammarLocatorClassName = ".TestGrammarLocator"
)
class MyGrammarLocator {}

The class TestGrammarLocator isn't getting generated at all. Is there a way to force create the class somehow?
I am using Kotlin. I tried that on both Kotlin & Java with no luck.

So, I got this to work by changing annotationProcessor to kapt
For more details https://kotlinlang.org/docs/kapt.html


Infinite loop when first migration is started and we use variable like  liquebase.db.schema= ${schema}  from application properties

Search first

[ ] I searched and no similar issues were found

Description
This issue is active also in 4.20.0 - 4.25.1 versions too. Linux environment, property like liquebase.db.schema= ${schema} in application.yml file for docker container. And we should have clear database for first migration attemp then it appears, it can be solved when we replace it for example from .yml file to docker service environments or run app with this environment variables like liquebase.db.schema= schema.name natively.
Steps To Reproduce

create in docker compose manifest where volume of your api will have  liquebase.db.schema= ${app.schema} and app.schema=schemaName,
You need clear database with current schema existed or will be created with container
Then start aplication this loop wil appear

Expected/Desired Behavior
Expected: my scripts will be done
Liquibase Version
4.20 - 4.25
Database Vendor & Version
Postgres 14.9
Liquibase Integration
Gradle, SpringBoot 3.1.6
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Linux
Additional Context
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR (Thank you!)

update same loop here https://github.com/liquibase/liquibase/issues/2988 but It is resolved

Hi @kevin-atx It`s also was reproduced on Mac.

Hi @evgenkolesman
I'm having some trouble reproducing this issue. I don't understand what information goes where. Could you provide more detailed step-by-step instructions?
If you already know how to fix the bug, feel free to submit your PR, and our development team will be available to provide guidance.
Thank you,
Tatiana


Unknown keyword: endpoint

Hello,
3 days ago I started to receive an error in Postal's sentry instance: ArgumentError: unknown keyword: endpoint in lib/postal/lets_encrypt.rb. I attach a capture of Sentry error page to see the details. Looks like it doesn't find the endpoint variable, but I see it's defined in the same file. It was working normally since May more or less, when I installed Postal, and suddenly started to fail. By the way, I have no idea of Ruby, so maybe it's a novice fault.
I have ruby 2.3.7p456 (2018-03-28 revision 63024) and the latest postal (installed from this repository).

Thanks for the report, I've not seen this one but I have seen random errors in sentry. The endpoint should be found within that same file so I'm not sure what its on about.
Are there multiple events for this issue or has it only occurred the once?
Does your click tracking work over SSL?

It has been happening every 30 minutes more or less since September 25th, so it has been 685 times at this time. And yes, it's working over SSL. If I open the domain with http or https, both return a 'Hello.' without error. It may be related with letsencrypt renewal, because it expires in 5 days.

Ah okay so it must have worked at least once. Can you verify that the file on your system exactly matches https://github.com/atech/postal/blob/master/lib/postal/lets_encrypt.rb?
If it does, can you try restarting your Postal and/or the whole server?

Yes, I think I checked some months ago that it renewed correctly the certificate, so it worked almost once. We have Postal installed by git on master branch, but anyway I checked that file manually and it's the same.
When I first see this issue (September 25th), the whole server had an uptime of 5 days because we restarted it on September 21. It was using ruby 2.4.1 and I restarted Postal server several times and then changed ruby version to 2.3.7 to see if it was a version problem, but none of these things worked. I can try to restart the whole server at night if you think it can help.

Interesting, this recent commit https://github.com/atech/postal/commit/cfc60d0e4182645a76fc243c888a19c431dc1b7b changed a few versions of the dependencies.
You could try resetting the Gemfile.lock and Gemfile to the previous versions and re-bundling to reset the versions installed to see if that makes a difference.
We're using the same Ruby 2.3.7 version as you but have the older Gemfiles.

Okay, yesterday I modified Gemfile.lock and Gemfile to have the same versions that Postal had before that commit, and now the error is gone and the certificate has finally been renewed. There's something in that vendor versions upgrade that causes the error, but I don't know how to debug and find which one.

Aha good to know.
I'd like to pin the blame on the lets encrypt gem which had a significant version bump but this is probably something for @catphish

I've just confirmed this is an issue for new installs of the latest git code so reverting back to https://github.com/atech/postal/commit/ed7889a40e1d777f1d80821043562ab18b04766e seems to be the answer for now unless @adamcooke or @catphish can provide a better answer

Hi there, I'm having the same error as @cmmata, previously I had to change the Gemfile from this:
`source 'https://rubygems.org'
gem 'rails', '= 5.2.1'
gem 'mysql2', '>= 0.3.18', '< 0.5'
gem 'puma', '~> 3.0'
gem 'turbolinks', '~> 5'
gem 'haml'
gem 'nifty-utils'
gem 'nilify_blanks'
gem 'kaminari'
gem 'bcrypt'
gem 'foreman'
gem 'hashie'
gem 'authie', '~> 3.0'
gem 'dynamic_form'
gem 'changey'
gem 'mail'
gem 'autoprefixer-rails'
gem 'bunny', '~> 2.5.1'
gem 'secure_headers'
gem 'chronic'
gem 'basic_ssl'
gem 'clockwork'
gem 'encrypto_signo'
gem 'nio4r'
gem 'mongo'
gem 'sentry-raven'
gem 'gelf'
gem 'moonrope'
gem 'jwt'
gem 'createsend', '~> 4.0'
gem 'acme-client'
gem 'highline', :require => true
group :development, :assets do
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'jquery-rails'
end
group :development, :test do
gem 'byebug'
end
group :development do
gem 'annotate'
gem 'rspec'
gem 'rspec-rails'
gem "factory_girl_rails", "~> 4.0"
gem "database_cleaner"
end`
to this >>>:
`source 'https://rubygems.org'
gem 'rails', '= 5.2.1'
gem 'mysql2', '>= 0.3.18', '< 0.5'
gem 'puma', '~> 3.0'
gem 'turbolinks', '~> 5'
gem 'haml'
gem 'nifty-utils'
gem 'nilify_blanks'
gem 'kaminari'
gem 'bcrypt'
gem 'foreman'
gem 'hashie'
gem 'authie', '~> 3.0'
gem 'dynamic_form'
gem 'changey'
gem 'mail'
gem 'autoprefixer-rails'
gem 'bunny', '~> 2.5.1'
gem 'secure_headers'
gem 'chronic'
gem 'basic_ssl'
gem 'clockwork'
gem 'encrypto_signo'
gem 'nio4r'
gem 'mongo'
gem 'sentry-raven'
gem 'gelf'
gem 'moonrope'
gem 'jwt'
gem 'createsend', '~> 4.0'
gem 'acme-client'
gem 'highline', :require => true
gem 'coffee-rails', '~> 4.2'
gem 'jquery-rails'
gem 'uglifier', '>= 1.3.0'
gem 'sass-rails', '~> 5.0'
group :development, :test do
gem 'byebug'
end
group :development do
gem 'annotate'
gem 'rspec'
gem 'rspec-rails'
gem "factory_girl_rails", "~> 4.0"
gem "database_cleaner"
end`
So I could upgrade to the latest version using postal upgrade...(according to a solution given by an user here) Otherwise I couldn't upgrade Postal to the latest version...
but now the Lets encrypt renewing is failing....so, what is the "good" Gemfile to have?

I've just confirmed this is an issue for new installs of the latest git code so reverting back to ed7889a seems to be the answer for now unless @adamcooke or @catphish can provide a better answer

As above, it seems the Gemfile as of that particular is usable.

This should be fixed by c3f2adc10df9a5a8c1e0b14906f0b75c30b4e455


Document how to create cluster with existing private network

In some cases, users want to create a Kubernetes cluster on a private network and expose some services publicly and privately.
For example, an https service should be exposed publicly, but a MySQL service that is running on the same private network, but another host outside kubernetes and shouldn't be exposed publicly.
A way to do that is creating a network infrastructure inside openstack and reference that on the kubernetes cluster creation.

create a private network ( setup a dns name server, for example <IP_ADDRESS> or <IP_ADDRESS> )
create a router connected to an external network
add a port of the private network inside the router

On the k8s cluster creation, the user should:

check box to create a load balancer for the cluster
On network settings, unmark "Create New Network" and select the existing private network created.
On the Network access control, select the Cluster API to be accessible publicly

For following the ticket
Yesterday I provided a .doc file:
https://vexxhost-my.sharepoint.com/:w:/p/mmeneses/EZ-Jx5jCur9NsGXGBee6ByIB3JwSTW4U6nMkS0QNfPQfIg?e=AKJKd1

Hi @okozachenko1203 , I have a PR for this aswell
https://github.com/vexxhost/magnum-cluster-api/pull/184
Is it necessary?

Am I right to assume it is necessary to add existing subnet CIDR to label fixed_subnet_cidr if it is different from default <IP_ADDRESS>/24?