Difference in results

The result of this repository and the original darknet are slightly different (a bit worse detection some objects missing).
It works 90% but isn't quite as good.
I converted the weights file with the project and loaded it.
Its all pretty straight forward, also stable but the detection is  a bit worse.
I also tried to do a fixed resize before the image but that doesnt do the trick.
Any ideas where the slight difference come from?

What model are you using? yolov3, yolov4, ... ?

So dlib's upsample layers use bilinear interpolation. In darknet, the upsample layers use "nearest" interpolation. So there are at least 3 slightly different computational layers, the upsampling layers. The darknet-trained models are optimized for "nearest" interpolation, so it's expected for performance to drop slightly.

For yolov3 model, I think the upsampling is the only difference. For yolov4 models, i'm not sure, there could be other slight differences.

Do you get exactly the same performance drop if you load the model using the weights visitor directly compared to first converting the weights to dlib format, then loading that? In theory, you should get exactly the same performance drop. Otherwise, the weight converter could have an issue.

I've never done a proper evaluation of the ported model. Visually, however, they seemed to work fine.
Anyway, for a few minutes now, the YOLO loss has been merged in dlib, so you can train your own YOLO detectors.
Maybe at some point, if I will try to add a nearest neighbors up-sampling layer...


Swagger for the new ARM resource PrivateLinkHub

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

You don't have permission to trigger SDK Automation.
Please add yourself to Azure group from opensource portal if you are MSFT employee,
or please ask reviewer to add comment *** /openapibot sdkautomation ***.
Please ask<EMAIL_ADDRESS>(or NullMDR in github) for additional help.

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

Can one of the admins verify this patch?

@sugandhaamic , please fix the CI check failures.

@sugandhaamic , please fix the CI check failures.

CI issues fixed

/azp run automation - sdk


Module 3 exercises [Sheila Abla Nyanyonu Humphrey-Ackumey]

Please "drag & drop" exercise 3 file below.
WS2_M3E1_Template - Shiela_1.docx

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 3 and make sure to take
the post-training survey.

Well done,  Sheila. You clearly grasped the material outlined in Module 3 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


issue on local html file on goto action

Expected behavior
await goto("file:///"+fullPath);
fullpath is in win32 format c:\temp.html
shall open file localfile
Actual behavior
In windows 10, i have a timeout but browser is opened on the right file.
      Error Message: Error: Timed out         Stacktrace:          Error: Timed out             at Timeout.<anonymous> (C:\Users\xx\AppData\Roaming\gauge\plugins\js\2.3.5\src\test.js:43:23)             at ontimeout (timers.js:436:11)             at tryOnTimeout (timers.js:300:5)             at listOnTimeout (timers.js:263:5)             at Timer.processTimers (timers.js:223:10)
i have to do string replacement to make it work
  fullPath = fullPath.replace(/(\\)/g,'/');   fullPath = fullPath.replace(/(c:)/g,'C:');
Versions
$ node --version
v10.15.3

$ taiko --version
Version: 1.0.0 (Chromium: 76.0.3803.0) RELEASE

$ gauge --version
Gauge version: 1.0.4
Commit Hash: 3a9a647

Plugins
-------
html-report (4.0.8)
java (0.7.2)
js (2.3.5)
screenshot (0.0.1)

This should not happen.
I have tested the same in win10 os. when i do goto("file:///"+fullPath);
where fullPath value is fullPath= "c:\temp.html";
I am getting file not found error which is excepted as its ignoring t from temp.html file for \ character.
Kindly find below console log:
 Error Message: Error: Navigation to url file:///C:	emp.html failed.
         REASON: net::ERR_FILE_NOT_FOUND

gauge version:
Gauge version: 1.0.4
Commit Hash: 3a9a647

Plugins
-------
js (2.3.5)

could you please provide more information which will be helpful to replicate the same issue.

@z04jmath Any update on this?

@z04jmath Please reopen this issue with more details if you are still facing the problem.


lazy load error when image in an animated tab

in lazy-load.js line 119
when image in an animated tab and the tab is not the first(and active) tab,  el.getBoundingClientRect() will get the rect out of the window(because the tab is out of the window when tab:show event is trigged). So I think we should get the tab's rect first.
This is an example but not the solution.
        function isElementInViewport (el) {
            var rect = el.getBoundingClientRect();
            // xingye 如果使用animated-tab，图片的位置会是整个tab相对于窗口的位置
            // 而此时tab可能在窗口之外
            var rectContent = pageContent[0].getBoundingClientRect()

            var threshold = app.params.imagesLazyLoadThreshold || 0;
            return (
                rect.top >= (rectContent.top - threshold) &&
                rect.left >= (rectContent.left - threshold) &&
                rect.top <= (rectContent.bottom + threshold) &&
                rect.left <= (rectContent.right + threshold)
            );
        }

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Oops! I forgot to delete scripts/update-officer.js

          Oops! I forgot to delete [`scripts/update-officer.js`](https://github.com/EthanThatOneKid/acmcsuf.com/blob/ff6fb670fb26ea65278d6afa861c2a3fcc219c14/scripts/update-officer.js).

Originally posted by @EthanThatOneKid in https://github.com/EthanThatOneKid/acmcsuf.com/issues/903#issuecomment-1710964930

Resolved previously.


Menu auto opening on scroll down...

https://github.com/NebraLtd/hm-diag/assets/3359418/88a2e5dc-d2a4-47b4-b86e-988ae3b47d97

I'm not sure why this is happening again, it was fixed in the previous PR

@Louisreed No the previous PR was it closing when you scroll down.
This is it opening when yourl scroll up...


How to answer mocked Domain object no-arg methods

This might be a limitation of ApexMocks but perhaps there is some trick I haven't thought of ...
Given a domain class Opportunities that looks like the below with a domain method assignOwners() - no arguments
public virtual class Opportunities extends fflib_SObjectDomain implements IOpportunities {

 public Opportunities(Opportunity[] sObjectList) {
   super (sObjectList);
 }

 public static IOpportunities newInstance(List<Opportunity> sObjectList){
   return (IOpportunities) Application.Domain.newInstance(sObjectList);
 }

 public void assignOwners() {
   for (Opportunity o : (Opportunity[]) Records) {
     // some complex logic to assign o.OwnerId, leaving Records changed
   }
 }

 public class Constructor implements fflib_SObjectDomain.IConstructable {
   public fflib_SObjectDomain construct(List<SObject> sObjectList) {
	return new Opportunities(sObjectList);
   }
 }
}

Given a code-under-test class that uses the domain class to assign Owners
public class MyCoolClass {
  public void doWork() {
   fflib_ISobjectUnitOfWork uow = Application.UnitOfWork.newInstance();
   Opportunity[] oppos = new List<Opportunity>();
   // create a variable number of Oppos
   for (integer i = 0; i < Math.mod(System.currentTimeMillis,5); i++) {
    oppos.add(new Opportunity(..);
   }
   // instantiate the (dependency) domain class
   IOpportunities oppoDomain = Opportunities.newInstance(oppos);

   // ask domain to assignOwners; results come back as mods to oppos
   oppoDomain.assignOwners();
   uow.registerNew(oppos);
   uow.commitWork();
 }
}

So, the question is, how to mock the domain class' assignOwner method to coerce mocked ownerIds to the value of Records in the domain object?
Using answers, I tried the following in a test class ...
class MyAssignOwnerAnswer implements fflib_Answer {
  public Object answer(fflib_InvocationOnMock invocation) {
     Opportunities stubbedDomain = (Opportunities) invocation.getMock();
     for (Opportunity o : (Opportunity[]) stubbedDomain.Records) {
         o.OwnerId = UserInfo.getUserId();
     }
     return null;
  }
}
@IsTest
static void whenDoStuffVerifyNewOppos() {
   // Given mock Unit of Work and Mock Opportunities domain
   fflib_ApexMocks mocks = new fflib_ApexMocks();
   Opportunities mockOpportunitiesDomain = (Opportunities) mocks.mock(Opportunities.class);
   fflib_SObjectUnitOfWork mockUow = (fflib_SObjectUnitOfWork) mocks.mock(fflib_SObjectUnitOfWork.class);

   mocks.startStubbing();
   mocks.when(mockOpportunitiesDomain.sObjectType())
      .thenReturn(Opportunity.SObjectType);
   ((IOpportunities) mocks.doAnswer(new MyAssignOwnerAnswer(),mockOpportunitiesDomain))
       .assignOwners();
   mocks.stopStubbing();

   Application.Domain.setMock(mockOpportunitiesDomain);
   Application.UnitOfWork.setMock(mockUow);

   // then verify UnitOfWork registered New Opportunities with ownerIds ....

But this doesn't work.
Although the custom answer callback class is invoked, the mocked domain object's constructor is never invoked so fflib_SObjectDomain's Records variable is null and you can't mock an answer for the domain's assignOwners() method.
ApexMocks "Answer" seems to only work when there is an argument to the method that you want to modify with a mocked "answer".
So ...

Is the above analysis correct?
Is the only alternative to have the test class implement a concrete implementation of the domain class and inject that to the Application factory? This concrete implementation would have a test implementation of the applyOwners() method as it would have access to Records.  As such, ApexMocks doesn't come into play at all for the mocked domain dependency.

Will try to post a full answer later, but in short, in the absence of java
style anonymous inner classes or java script style callbacks, you need to
provide your fflib_Answer implementation with a reference to the objects it
needs to mutate. You can provide this in its constructor, which avoids the
need to uglify the production code for the sake of a test.
On Fri, 26 Apr 2019, 17:40 Eric Kintzer<EMAIL_ADDRESS>wrote:

Non-FF Sender
This might be a limitation of ApexMocks but perhaps there is some trick I
haven't thought of ...
Given a domain class Opportunities that looks like the below with a
domain method assignOwners() - no arguments
public virtual class Opportunities extends fflib_SObjectDomain implements IOpportunities {
public Opportunities(Opportunity[] sObjectList) {
super (sObjectList);
}
public static IOpportunities newInstance(List sObjectList){
return (IOpportunities) Application.Domain.newInstance(sObjectList);
}
public void assignOwners() {
for (Opportunity o : (Opportunity[]) Records) {
// some complex logic to assign o.OwnerId, leaving Records changed
}
}
public class Constructor implements fflib_SObjectDomain.IConstructable {
public fflib_SObjectDomain construct(List sObjectList) {
return new Opportunities(sObjectList);
}
}
}
Given a code-under-test class that uses the domain class to assign Owners
public class MyCoolClass {
public void doWork() {
fflib_ISobjectUnitOfWork uow = Application.UnitOfWork.newInstance();
Opportunity[] oppos = new List();
// create a variable number of Oppos
for (integer i = 0; i < Math.mod(System.currentTimeMillis,5); i++) {
oppos.add(new Opportunity(..);
}
// instantiate the (dependency) domain class
IOpportunities oppoDomain = Opportunities.newInstance(oppos);
// ask domain to assignOwners; results come back as mods to oppos
oppoDomain.assignOwners();
uow.registerNew(oppos);
uow.commitWork();
}
}
So, the question is, how to mock the domain class' assignOwner method
to coerce mocked ownerIds to the value of Records in the domain object?
Using answers, I tried the following in a test class ...
class MyAssignOwnerAnswer implements fflib_Answer {
public Object answer(fflib_InvocationOnMock invocation) {
Opportunities stubbedDomain = (Opportunities) invocation.getMock();
for (Opportunity o : (Opportunity[]) stubbedDomain.Records) {
o.OwnerId = UserInfo.getUserId();
}
return null;
}
}
@IsTest
static void whenDoStuffVerifyNewOppos() {
// Given mock Unit of Work and Mock Opportunities domain
fflib_ApexMocks mocks = new fflib_ApexMocks();
Opportunities mockOpportunitiesDomain = (Opportunities) mocks.mock(Opportunities.class);
fflib_SObjectUnitOfWork mockUow = (fflib_SObjectUnitOfWork) mocks.mock(fflib_SObjectUnitOfWork.class);
mocks.startStubbing();
mocks.when(mockOpportunitiesDomain.sObjectType())
.thenReturn(Opportunity.SObjectType);
((IOpportunities) mocks.doAnswer(new MyAssignOwnerAnswer(),mockOpportunitiesDomain))
.assignOwners();
mocks.stopStubbing();
Application.Domain.setMock(mockOpportunitiesDomain);
Application.UnitOfWork.setMock(mockUow);
// then verify UnitOfWork registered New Opportunities with ownerIds ....
But this doesn't work.
Although the custom answer callback class is invoked, the mocked domain
object's constructor is never invoked so fflib_SObjectDomain's Records
variable is null and you can't mock an answer for the domain's
assignOwners() method.
ApexMocks "Answer" seems to only work when there is an argument to the
method that you want to modify with a mocked "answer".
So ...

Is the above analysis correct?
Is the only alternative to have the test class implement a concrete
implementation of the domain class and inject that to the Application
factory? This concrete implementation would have a test implementation of
the applyOwners() method as it would have access to Records. As such,
ApexMocks doesn't come into play at all for the mocked domain dependency.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/frup42/apex-mocks-sfdx/issues/2,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLSEZ3FXTZVZWOPWPEDFI3PSMWBHANCNFSM4HIXGNOQ
.

Hope this helps!
class MyAssignOwnerAnswer implements fflib_Answer {
	private final Opportunity[] records;
	public MyAssignOwnerAnswer(Opportunity[] records) {
		this.records = records;
	}

	public Object answer(fflib_InvocationOnMock invocation) {
		Id userId = UserInfo.getUserId();
		for (Opportunity record : this.records) {
			o.OwnerId = userId;
		}

		return null;
	}
}

@IsTest
static void whenDoStuffVerifyNewOppos() {
	// Given mock Unit of Work and Mock Opportunities domain
	fflib_ApexMocks mocks = new fflib_ApexMocks();
	Opportunities mockOpportunitiesDomain = (Opportunities) mocks.mock(Opportunities.class);
	fflib_SObjectUnitOfWork mockUow = (fflib_SObjectUnitOfWork) mocks.mock(fflib_SObjectUnitOfWork.class);

	Opportunity[] testRecords = //... TODO create in-memory records

	mocks.startStubbing();
	mocks.when(mockOpportunitiesDomain.sObjectType())
		.thenReturn(Opportunity.SObjectType);

	((IOpportunities) mocks.doAnswer(new MyAssignOwnerAnswer(testRecords), mockOpportunitiesDomain))
		.assignOwners();
	mocks.stopStubbing();

	Application.Domain.setMock(mockOpportunitiesDomain);
	Application.UnitOfWork.setMock(mockUow);

	// then verify UnitOfWork registered New Opportunities with ownerIds ....
}

David
Thanks for the quick response
I was afraid this was the "answer". Using a constructor arg for my
fflib_Answer to provide a list of objects to mutate doesn't really work in
the example I contrived as the objects to mutate are created inside the
code-under-test and hence there's nothing to work with in the
fflib_Answer's constructor (i.e. the testmethod won't know what these
objects are)
This leaves two options (I think):

Don't use apexMocks and instead create a subclass of the domain in the
test class and inject that or ...
Rework the code under test so the objects to be passed to the domain are
themselves provided by another dependency, i.e.
SomeService.generateOppos(..) that the testclass could also mock; thereby
providing something to construct in the MyAssignOwnerAnswer fflib_Answer.

BTW - I have a trivial PR for fflib_ApexMocks readme.md file you might want
to consider.
Eric
On Fri, Apr 26, 2019 at 10:40 AM David Frudd<EMAIL_ADDRESS>wrote:

Will try to post a full answer later, but in short, in the absence of java
style anonymous inner classes or java script style callbacks, you need to
provide your fflib_Answer implementation with a reference to the objects it
needs to mutate. You can provide this in its constructor, which avoids the
need to uglify the production code for the sake of a test.
On Fri, 26 Apr 2019, 17:40 Eric Kintzer<EMAIL_ADDRESS>wrote:

Non-FF Sender
This might be a limitation of ApexMocks but perhaps there is some trick I
haven't thought of ...
Given a domain class Opportunities that looks like the below with a
domain method assignOwners() - no arguments
public virtual class Opportunities extends fflib_SObjectDomain
implements IOpportunities {
public Opportunities(Opportunity[] sObjectList) {
super (sObjectList);
}
public static IOpportunities newInstance(List sObjectList){
return (IOpportunities) Application.Domain.newInstance(sObjectList);
}
public void assignOwners() {
for (Opportunity o : (Opportunity[]) Records) {
// some complex logic to assign o.OwnerId, leaving Records changed
}
}
public class Constructor implements fflib_SObjectDomain.IConstructable {
public fflib_SObjectDomain construct(List sObjectList) {
return new Opportunities(sObjectList);
}
}
}
Given a code-under-test class that uses the domain class to assign Owners
public class MyCoolClass {
public void doWork() {
fflib_ISobjectUnitOfWork uow = Application.UnitOfWork.newInstance();
Opportunity[] oppos = new List();
// create a variable number of Oppos
for (integer i = 0; i < Math.mod(System.currentTimeMillis,5); i++) {
oppos.add(new Opportunity(..);
}
// instantiate the (dependency) domain class
IOpportunities oppoDomain = Opportunities.newInstance(oppos);
// ask domain to assignOwners; results come back as mods to oppos
oppoDomain.assignOwners();
uow.registerNew(oppos);
uow.commitWork();
}
}
So, the question is, how to mock the domain class' assignOwner method
to coerce mocked ownerIds to the value of Records in the domain object?
Using answers, I tried the following in a test class ...
class MyAssignOwnerAnswer implements fflib_Answer {
public Object answer(fflib_InvocationOnMock invocation) {
Opportunities stubbedDomain = (Opportunities) invocation.getMock();
for (Opportunity o : (Opportunity[]) stubbedDomain.Records) {
o.OwnerId = UserInfo.getUserId();
}
return null;
}
}
@IsTest
static void whenDoStuffVerifyNewOppos() {
// Given mock Unit of Work and Mock Opportunities domain
fflib_ApexMocks mocks = new fflib_ApexMocks();
Opportunities mockOpportunitiesDomain = (Opportunities)
mocks.mock(Opportunities.class);
fflib_SObjectUnitOfWork mockUow = (fflib_SObjectUnitOfWork)
mocks.mock(fflib_SObjectUnitOfWork.class);
mocks.startStubbing();
mocks.when(mockOpportunitiesDomain.sObjectType())
.thenReturn(Opportunity.SObjectType);
((IOpportunities) mocks.doAnswer(new
MyAssignOwnerAnswer(),mockOpportunitiesDomain))
.assignOwners();
mocks.stopStubbing();
Application.Domain.setMock(mockOpportunitiesDomain);
Application.UnitOfWork.setMock(mockUow);
// then verify UnitOfWork registered New Opportunities with ownerIds ....
But this doesn't work.
Although the custom answer callback class is invoked, the mocked domain
object's constructor is never invoked so fflib_SObjectDomain's Records
variable is null and you can't mock an answer for the domain's
assignOwners() method.
ApexMocks "Answer" seems to only work when there is an argument to the
method that you want to modify with a mocked "answer".
So ...

Is the above analysis correct?
Is the only alternative to have the test class implement a concrete
implementation of the domain class and inject that to the Application
factory? This concrete implementation would have a test implementation of
the applyOwners() method as it would have access to Records. As such,
ApexMocks doesn't come into play at all for the mocked domain dependency.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/frup42/apex-mocks-sfdx/issues/2,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ADLSEZ3FXTZVZWOPWPEDFI3PSMWBHANCNFSM4HIXGNOQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/frup42/apex-mocks-sfdx/issues/2#issuecomment-487140874,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGDWAA74GWTXQLZYJHR36IDPSM5BZANCNFSM4HIXGNOQ
.

--
Eric Kintzer
Salesforce Architect
1 Circle Star Way, Floor 2, San Carlos, CA 94070
650 533 5619 (m)
www.helix.com | We're hiring https://www.helix.com/careers


goctl  window下安装失败

E:\pkg\go\pkg\mod\github.com\zeromicro\go-zero\tools\goctl@v1.3.0\migrate\migrate.go:80:70: undefined: syscall.SIGTSTP

Working on it.
Try: go install<EMAIL_ADDRESS>


Add more italic font weights.

There is one more small problem connected to #46. Since italic fonts can also be bold or part of a heading, I would suggest adding the respective weight of the font too.
Before

After

I just imported the counterparts to the normal fonts (400 to 800). I'm not sure if all are necessary, only 400, 600 and 700 showed change after removing again.
This is my first ever pull request. I apologize if I did something wrong.

Nice job with your first PR! I went ahead and cut+pasted your imports to the _font.scss file, then ran sass to update theme.css. I also used the inspector in Obsidian (cmd+alt+i) to check that each weight works (it does). If you want to check on your end, use some sample text, bring up the inspector, and insert in the element.style { } box:
font-weight: 400;
font-weight: 500;
font-weight: 600;
font-weight: 700;
font-weight: 800;

Uncheck them all, then reenable them one-by-one. You should be able to see the weights changing each time. Sorry if you already know how to do this, but I read your post as you doing it manually and I didn't want you to have to keep doing that!


Update sbt-scoverage to 2.0.7

Updates org.scoverage:sbt-scoverage from 2.0.6 to 2.0.7.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.0.6).
You might want to review and update them manually.
build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Codecov Report
Base: 87.20% // Head: 87.28% // Increases project coverage by +0.08% :tada:

Coverage data is based on head (4250c55) compared to base (daa085b).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #726      +/-   ##
==========================================
+ Coverage   87.20%   87.28%   +0.08%
==========================================
  Files         141      141
  Lines        1524     1526       +2
  Branches      226      260      +34
==========================================
+ Hits         1329     1332       +3
+ Misses        195      194       -1

Impacted Files
Coverage Δ

...at/inspections/collections/DuplicateSetValue.scala
100.00% <0.00%> (ø)

...n/scala/com/sksamuel/scapegoat/Configuration.scala
2.94% <0.00%> (+0.08%)
:arrow_up:

...pegoat/inspections/unneccesary/VarCouldBeVal.scala
91.30% <0.00%> (+0.39%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


⚠ Bofrost.lu has degraded performance

In 4ace7ba, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 945 ms

Resolved: Bofrost.lu performance has improved in 0ae52a3.


[lit-html] Should renderLight() be moved to labs?

https://github.com/Polymer/lit-html/blob/lit-next/packages/lit-html/src/directives/render-light.ts
Before final release we should consider if this is more of a labs feature.

renderLight() is now in labs/ssr-client


Allow file globbing/list of files to compile

A user in a german support board asked how he could compile multiple files as he was used to it from latexmk (latexmk *.tex does compile all texfiles in the current dir). We told him that it is not currently possible, but I do think that it would be a huge addition to arara to make this possible.
I do know about the differences about handling the asterisk on commandline by windows and unixoids, so I do know, that it will be a little bit harder under windows, because you need to resolve the glob by yourself there, but under unixoid operating systems it should be as easy as iterating over a list of sourcefiles.

latexmk with no argument does just that - compile all .tex files in the directory.

Still, the user wants to work with arara, and that is missing such a feature.

Just for the sake of completeness a link to the corresponding thread:
original and google translated

Sorry  - I misread your post.  Such a feature for arara would be a good idea.

Hi, friends!
Indeed, it would be an interesting feature. :smile: To be honest, I always imagined arara to handle one file at a time, but I believe users could benefit from handling several files at once.
I tried the following code:
public class TestArgs {

    public static void main(String[] args) {
        int counter = 1;
        for (String arg : args) {
            System.out.println(counter + " --> " + arg);
            counter++;
        }
    }

}

The output I got:
[paulo@cambridge ~] $ find . -maxdepth 1 -type f
./b.txt
./TestArgs.java
./TestArgs.class
./a.txt
./c.tex
[paulo@cambridge ~] $ java TestArgs *.txt
1 --> a.txt
2 --> b.txt
[paulo@cambridge ~] $ java TestArgs *.t*
1 --> a.txt
2 --> b.txt
3 --> c.tex

I don't have a Windows virtual machine right now, but if this behaviour holds, I think the implementation would be straightforward. I will take a closer look later on today, once my dad lets me use his computer. I am still waiting a budget to get my VMware/Parallels license. :smile:

This behavior does not hold for windows, windows does pipe through the
asterisk as is. I already stated that in my initial post.
Paulo Cereda<EMAIL_ADDRESS>schrieb am Fr., 09.10.2015, 14:52:

Hi, friends!
Indeed, it would be an interesting feature. [image: :smile:] To be
honest, I always imagined arara to handle one file at a time, but I
believe users could benefit from handling several files at once.
I tried the following code:
public class TestArgs {
public static void main(String[] args) {
    int counter = 1;
    for (String arg : args) {
        System.out.println(counter + " --> " + arg);
        counter++;
    }
}

}
The output I got:
[paulo@cambridge ~] $ find . -maxdepth 1 -type f
./b.txt
./TestArgs.java
./TestArgs.class
./a.txt
./c.tex
[paulo@cambridge ~] $ java TestArgs *.txt
1 --> a.txt
2 --> b.txt
[paulo@cambridge ~] $ java TestArgs .t
1 --> a.txt
2 --> b.txt
3 --> c.tex
I don't have a Windows virtual machine right now, but if this behaviour
holds, I think the implementation would be straightforward. I will take a
closer look later on today, once my dad lets me use his computer. I am
still waiting a budget to get my VMware/Parallels license. [image:
:smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/cereda/arara/issues/74#issuecomment-146860133.

I thought there could be some JVM trickery, so my dad kindly let me test this code:
Microsoft Windows [versão 6.1.7601]

F:\>java TestArgs *.txt
1 --> a.txt
2 --> b.txt

F:\>java TestArgs *.t*
1 --> a.txt
2 --> b.txt
3 --> c.tex

So, it seems to work consistently. :smile: I need to check other versions.

Hasn't worked in XL though... I'll give it a try on on Win10 when home.
Paulo Cereda<EMAIL_ADDRESS>schrieb am Fr., 09.10.2015, 15:25:

I thought there could be some JVM trickery, so my dad kindly let me test
this code:
Microsoft Windows [versão 6.1.7601]
F:>java TestArgs *.txt
1 --> a.txt
2 --> b.txt
F:>java TestArgs .t
1 --> a.txt
2 --> b.txt
3 --> c.tex
So, it seems to work consistently. [image: :smile:] I need to check other
versions.
—
Reply to this email directly or view it on GitHub
https://github.com/cereda/arara/issues/74#issuecomment-146871048.

@NobbZ: Danke, Norbert. :smile:

Does work with win10 and Java 1.8.
Paulo Cereda<EMAIL_ADDRESS>schrieb am Fr., 09.10.2015, 15:37:

@NobbZ https://github.com/NobbZ: Danke, Norbert. [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/cereda/arara/issues/74#issuecomment-146873541.

Thank you, I will take a look at earlier versions of Windows and JVM, :wink:

New light on this issue! Up!

arara v5.0 will feature multi-file processing (as long as the files are within the same working directory). The release is scheduled to happen before the DANTE Frühjahrstagung.


Fix pkg dependency issue

This PR should fix the error:
Cannot find module 'broccoli-funnel'

when running command:
$ ember install ember-cli-blanket

thanks @zetaj


Structured migrations

Having to run schema migrations in production is a recurring task that we need a structured, deterministic approach too.
We should investigate a long-term solution so that we don't rely on 1-off db-scripts every time a migration is necessary.
Considerations:

can we use a library that takes care of this?
can we use a library that isn't coupled to mongoose (since we may not want to use mongoose long-term)?
if we cannot use a library we should implement it ourselves (it isn't that complicated) using the standard pattern of an up/down script per migration and a migrations table in the database to document which have been executed.

@bodymindarts we use migrate-mongo so far for info.
https://github.com/GaloyMoney/galoy/blob/782b62912dcc825f0a722f410443fb41afd9b2f2/package.json#L104
https://github.com/GaloyMoney/galoy/blob/main/src/migrations/20210610073725-multi-lnds.ts
the script is just manually for now and should be integrated as part of the CD flow

Migrations structure already in place just need to differentiate between new instances vs existing instances.

we have something now. closing this generic ticket.


Did Not Auto Open Steam

When in the steps, did you want me to close steam completely in task manager with no running steam clients? Or just close the main tab, when I launched the Exe file it did not auto open steam so I don't know what to do

Are you using administrator account or normal user? Open HKEY_CURRENT_USER\Software\Valve\Steam in regedit and make screenshot.

The Steam Client is not auto-opening on me as well.

if someone has "steam not opening" make sure u disable antivirus cuz may block running it and make it as administrator. thats all

close it, i have spam on home page....

@CoClanDeath


Update zio, zio-test, zio-test-sbt to 2.1.12

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 2.1.3 to 2.1.12
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #141.

Superseded by #144.


Missing Min height before main branch change

This is the missing commit before you merged the old PR and renamed the branches

Thanks


Hills workshop

DDS team is planning to write Hills. In order to successfully create Hills together, we need research and alignment around core findings and artifacts.
Additional information

Linda and Roberta are tentatively planning workshop for March 25–26
Resources and notes on Hills available on Box

Tasks

[ ] Lara to collect personas and share with DDS leadership to determine if they need updates
[ ] Lara to set up a stakeholder map and share with Linda to complete
[ ] Lara to create draft of as-is scenario(s)
[ ] Lara to find a facilitator and confirm availability
[ ] DDS leadership to draft mission statement and share with team
[ ] Linda to collect metrics including NPS, # of pages, # of visitors, page load (CSS), # of adopters (DGC)

Acceptance criteria

All research and pre-work to be shared with DDS team in advance of workshop
All DDS team members to complete EDT practitioner badge training by March 23

This is back on track! Updates:

Target dates for workshop are June 3rd and 4th.
Facilitators include Emery Ford with support from Abigail Sirus.
Lara working with Emery on prep work and draft agenda.
Lara to confirm with Nigel if there is any available funding to cover Emery's time.

Done.  Closing


[Wallet] Support remote images for Firebase controlled notifications

Description
This PR allows using remote images for Firebase controlled notifications.
This was needed as part of the work done for the Bidali integration.
It depends on #6510
Other changes

Removed local generic remote notification icon which only worked in dark mode
Support layout without an icon too
Cleaned up some outdated i18n strings

Tested
Example with Bidali icon set to a remote image

Example with no icon set

Related issues

#6514

Backwards compatibility
Yes

Hi @jeanregisser  Verified task using Android play store build  v1.9.0(1004294331) & Test Flight Build V1.9.0(41) and found the following:

CTA Now Available: Buy Gift.... is not shown in Mainnet even after creating a new accounts.
Observed that CTA is shown into alfajore network build v1.9.0 (41) in IOS, but blank screen is shown after tapping on Buy Now button.
Can you please let me know should i raised a ticket for the Alfajore network and do the needful that how we can see the CTA in Mainnet or let us know if we need to file a bug for the same.

Attachment: IOS_Alfajore_CTA_Issue.mp4

Hi @jeanregisser  Verified task using Android play store build  v1.9.0(1004294331) & Test Flight Build V1.9.0(41) and found the following:

CTA Now Available: Buy Gift.... is not shown in Mainnet even after creating a new accounts.
Observed that CTA is shown into alfajore network build v1.9.0 (41) in IOS, but blank screen is shown after tapping on Buy Now button.
Can you please let me know should i raised a ticket for the Alfajore network and do the needful that how we can see the CTA in Mainnet or let us know if we need to file a bug for the same.

Attachment: IOS_Alfajore_CTA_Issue.mp4


request to https://api.openai.com/v1/chat/completions failed, reason: connect ETIMEDOUT

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
request to https://api.openai.com/v1/chat/completions failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
yeah
Additional context
No response

Hi - this is likely related to your region/VPN/Proxy settings. Please check the existing issues and resolutions suggested here:
https://github.com/gencay/vscode-chatgpt/issues/176
https://github.com/gencay/vscode-chatgpt/issues/177
If you are trying to use the extension in remote SSH environments, then please check this issue: https://github.com/ai-genie/chatgpt-vscode/issues/3#issuecomment-1478828920

Add the following code  in setting.json
"http.proxy": "http://<IP_ADDRESS>:8890/",
"http.proxyStrictSSL": false,

8890 is the port of your vpn


New version: RLEVectors v0.9.4

Registering package: RLEVectors
Repository: https://github.com/phaverty/RLEVectors.jl
Created by: @phaverty
Version: v0.9.4
Commit: 53f0367a232ded50c2f073631a76fcdd4617e424
Reviewed by: @phaverty
Reference: https://github.com/phaverty/RLEVectors.jl/issues/30#issuecomment-590611755

Thanks, sorry for the clutter. I was confused about how the new TagBot thing worked. 0.9.3 is the keeper.

No worries at all!


Wrong configured License in the repository

According to the repository's MIT license I could use and distribute it commercially. But that's not what the repository description says.

It was important to adjust the license of the repository to avoid future licensing problems with people who did not read or wanted to take advantage of the wrong licensing configuration on github.

Thanks for noticing this. Let me check a few things and I will make an
appropriate update.
On Fri, Mar 26, 2021 at 8:37 AM Kevyn Tuleu Dourado <
@.***> wrote:

According to the repository's MIT license I could use and distribute it
commercially. But that's not what the repository description says.
[image: image]
https://user-images.githubusercontent.com/44689444/112655357-0e552400-8e2f-11eb-83a4-5b0b0634dad7.png
It was important to adjust the license of the repository to avoid future
licensing problems with people who did not read or wanted to take advantage
of the wrong licensing configuration on github.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/12dmodel/deep_motion_mag/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANUQV3O7VMY33AU74OU3A3TFSS3HANCNFSM4Z3TVJHA
.


added hello world program in react

What the program do ?
Program Prints the Value : Hello World
In what programming language it is written?
React Js

This pull request do not contains files in specific folders. Please fix it and reopen

In which folder I need to place it.


"corpus cannot be empty" error when chatting with assistant that has workspace tool and knowledge files added to thread.

Electron build - 9d4616691
Steps to reproduce the problem:

Create an assistant with workspace tool.
Chat with this assistant and add knowledge file -
Reunion-Under-The-Stars.pdf
Ask a question about this knowledge tool.

Following errors are presented to the user:

Is this reproducible?

Yes. This issue is reproducible for me.
If i do the Restart Script after this error is seen, I dont see knowledge too getting used

Stack trace:
Chatted with WorkspaceAssistant
Input
"Who are the main characters in Reunion under the starts story?"

Messages
"Reunion Under the Stars" is a fictional story, and without additional context or a specific source, I can't provide the exact main characters. However, if you have a text file or document containing the story, you can upload it, and I can help identify the main characters for you. Would you like to do that?

Calls
Loaded context from Workspace Context
Input
""

Messages
The workspace directory is "/Users/sangeethahariharan/Library/Application Support/acorn/Acorn/threads/7caehg/workspace" and contains no files. Always use absolute paths to interact with files in the workspace. Prefer creating new files in the workspace if the user does not imply a specific directory. If the user refers to '.' that is the current working directory and not the workspace directory.

Loaded provider from GPTScript Gateway Provider
Input
""

Messages
http://<IP_ADDRESS>:10664

I wasn't able to replicate this issue, but I added some error handling, so that it won't surface to the user.
Also I'm adding some logging so we can debug this from the traces in the future.
EDIT: I actually didn't refresh the page so didn't see your last addition.
This looks like the initial ingestion failed and is kind of similar to @cjellick 's case where a dataset was only partially existent. Meaning the dataset was initialized completely (in this case), but the data was never ingested at all.
This is the only way that could lead to this error (no text content is in the dataset).
I'm trying to find a way to replicate it, but it's really hard to debug.

Mitigations and debugging support landed here: https://github.com/gptscript-ai/knowledge/releases/tag/v0.4.13
Waiting for https://github.com/gptscript-ai/desktop/pull/450 to be merged

@iwilltry42 I am testing with the 0.4.13 version of knowledge tool.
When I follow the exact steps mentioned in the issue , I dont see the "corpus cannot be empty" error anymore.
But i am not able to get the knowledge tool to provide me any information about the the knowledge file i have added.
https://github.com/user-attachments/assets/84fdd274-f7e7-49e9-9b67-85ca34b7dd04

Did you reload the assistant before trying again?
I assume it was a pre-existing assistant (or thread?) and needed to pull the updated tool first 🤔

This is a new assistant that i created just now .
I had cleared all configs and cache before I pulled latest desktop code (which also pulled the new knowledge tool).

The same behavior of not being able to work with thread knowledge files is also seen when testing with Assistants that are created with no tools.
Even in this case I see the thread id being used as 0 in datasets="[0 824] in stack trace:
Loaded context from Knowledge Retrieval Context
Input
"Who are the main characters in reunion under the stars "

Messages
2024/09/06 11:27:01 INFO Retrieving sources for query query="Who are the main characters in Reunion Under the Stars" datasets="[0 824]"

When testing with Tildy and thread knowledge , I am able to get answers as expected from thread knowledge . In this case I see thread id being used as expected in datasets="[ju3h07 0] in stack trace:

Loaded context from Knowledge Retrieval Context
Input
"who are the main characters in reunion under the stars story?"

Messages
2024/09/06 11:29:59 INFO Retrieving sources for query query="who are the main characters in reunion under the stars story?" datasets="[ju3h07 0]"

Tested both variants in desktop commit 2be2f66 with https://github.com/gptscript-ai/knowledge/releases/tag/v0.4.14-rc.1 and didn't see the issue occur. However, I also do not see the thread ID being set as 0.
Can you confirm that the issue persists for you?

Tested with latest build of desktop - a66cd29ecd which uses knowledge from  https://github.com/gptscript-ai/knowledge/releases/download/v0.4.14-rc.1/knowledge-darwin-amd64
I am still not able to work with Thread knowledge

Create an assistant (Add no tools)
Chat with this assistant.
Add a knowledge file using "Add Knowledge"
Ask any question relating to the file added.
No information is fetched relating to knowledge file that was added

Stack Trace shows - thread id being used as 0 - datasets="[0 862
Input
"Who are the main characters in reunion under star?"

Messages
<tool call> knowledgeRetrieval -> {"query":"main characters in Reunion Under the Star"}

I couldn't find specific information about the main characters in "Reunion Under the Star." If you have any other questions or need information on a different topic, feel free to ask!

Calls
Loaded context from Knowledge Retrieval Context
Input
"Who are the main characters in reunion under star?"

Messages
2024/09/09 10:53:23 INFO Retrieving sources for query query="Who are the main characters in reunion under star?" datasets="[0 862]" 2024/09/09 10:53:23 DEBUG Using default DSN dsn="sqlite:///Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/knowledge.db" 2024/09/09 10:53:23 DEBUG Using default VectorDBPath vectordbPath="/Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/vector.db" 2024/09/09 10:53:23 DEBUG Using embedding model provider provider=openai config="{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4 EmbeddingModel:text-embedding-ada-002 EmbeddingEndpoint:/embeddings APIVersion:2024-02-01 APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}" 2024/09/09 10:53:23 DEBUG Loading retrieval flows from config flows_file=blueprint:context dataset="[0 862]" 2024/09/09 10:53:23 DEBUG Query Modifier custom configuration name=enhance config="{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}}}" 2024/09/09 10:53:23 DEBUG Retriever custom configuration name=subquery config="{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}} Limit:3 TopK:10}" 2024/09/09 10:53:23 DEBUG Retriever custom configuration name=bm25 config="{TopN:10 K1:1.2 B:0.75 CleanStopWords:[auto]}" 2024/09/09 10:53:23 DEBUG Retriever custom configuration name=merge config="{TopK:10 Retrievers:[{Name:subquery Weight:0xc0012c3818 Options:map[limit:3 model:map[openai:map[apiKey:39108f5fd5151b50:d4038456a23d4db2614d5f233ff73f3dbb30ac9f0e92acc6cda1481ba344da3b apiType:OPEN_AI baseURL:https://gateway-api.gptscript.ai/llm model:gpt-4o]] topK:10]} {Name:bm25 Weight:0xc0012c3848 Options:map[b:0.75 cleanStopWords:[auto] k1:1.2 topN:10]}] retrievers:[]}" 2024/09/09 10:53:23 DEBUG Postprocessor custom configuration name=similarity config="{Threshold:0.4 KeepMin:5}" 2024/09/09 10:53:23 DEBUG Postprocessor custom configuration name=reduce config={TopK:10} 2024/09/09 10:53:23 DEBUG Loaded retrieval flow from config flows_file=blueprint:context dataset="[0 862]" 2024/09/09 10:53:23 DEBUG Retrieving content from dataset dataset="[0 862]" query="Who are the main characters in reunion under star?" 2024/09/09 10:53:23 DEBUG Prompting LLM prompt="The following query will be used for a vector similarity search.\nPlease enhance it to improve the semantic similarity search.\nQuery: \"Who are the main characters in reunion under star?\"\nReply only with the JSON {\"result\": \"<enhanced-query>\"}.\nDo not include anything else in your response and don't use markdown highlighting or formatting, just raw JSON." 2024/09/09 10:53:24 DEBUG Modified queries before="[Who are the main characters in reunion under star?]" queryModifier=enhance after="[List the primary characters in the book 'Reunion Under the Star'.]" 2024/09/09 10:53:24 DEBUG Updated query set query="Who are the main characters in reunion under star?" modified_query_set="[List the primary characters in the book 'Reunion Under the Star'.]" 2024/09/09 10:53:24 DEBUG Retrieving documents from merging retriever query="List the primary characters in the book 'Reunion Under the Star'." datasetIDs="[0 862]" where=map[] whereDocument=[] 2024/09/09 10:53:24 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=subquery 2024/09/09 10:53:24 DEBUG Prompting LLM prompt="The following query will be used for a vector similarity search.\nIf it is too complex or covering multiple topics or entities, please split it into multiple subqueries.\nI.e. a comparative query like \"What are the differences between cats and dogs?\" could be split into subqueries concerning cats and dogs separately.\nThe resulting subqueries will then be used for separate vector similarity searches.\nJust changing the phrasing of the input question often won't change the semantic meaning, so those may not be good candidates.\nLimit the number of subqueries to a maximum of 3 (less is ok).\nQuery: \"List the primary characters in the book 'Reunion Under the Star'.\"\nReply with all subqueries in a json list like the following and don't reply with anything else (also don't use any markdown syntax).\nResponse schema: {\"results\": [\"<subquery-1>\", \"<subquery-2>\"]}" 2024/09/09 10:53:24 DEBUG SubqueryQueryRetriever generated subqueries queries="Who are the primary characters in the book 'Reunion Under the Star'?" 2024/09/09 10:53:24 DEBUG Retrieved documents from retriever retriever=subquery numDocs=0 2024/09/09 10:53:24 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=bm25 2024/09/09 10:53:24 INFO No documents found for BM25 retrieval datasets="[0 862]" 2024/09/09 10:53:24 DEBUG Retrieved documents from retriever retriever=bm25 numDocs=0 2024/09/09 10:53:24 DEBUG MergingRetriever topK=0 numDocs=0 2024/09/09 10:53:24 DEBUG Retrieved documents num_documents=0 query="List the primary characters in the book 'Reunion Under the Star'." datasets="[0 862]" retriever=merge 2024/09/09 10:53:24 DEBUG Postprocessed RetrievalResponse num_responses=1 original_query="Who are the main characters in reunion under star?" Retrieved the following 1 source collections for the original query "Who are the main characters in reunion under star?": {"List the primary characters in the book 'Reunion Under the Star'.":null}

Calls
Loaded input from QueryRelevancy
Input
"{\"input\":\"Who are the main characters in reunion under star?\"}"

Messages
Who are the main characters in reunion under star?

Calls
Loaded context from LastUserInputOverview
Input
""

Messages
<USER_MESSAGES> </USER_MESSAGES>

Loaded output from KnowledgeInstructions
Input
"{\"chat\":false,\"continuation\":false,\"output\":\"2024/09/09 10:53:23 INFO Retrieving sources for query query=\\\"Who are the main characters in reunion under star?\\\" datasets=\\\"[0 862]\\\"\\n2024/09/09 10:53:23 DEBUG Using default DSN dsn=\\\"sqlite:///Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/knowledge.db\\\"\\n2024/09/09 10:53:23 DEBUG Using default VectorDBPath vectordbPath=\\\"/Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/vector.db\\\"\\n2024/09/09 10:53:23 DEBUG Using embedding model provider provider=openai config=\\\"{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4 EmbeddingModel:text-embedding-ada-002 EmbeddingEndpoint:/embeddings APIVersion:2024-02-01 APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}\\\"\\n2024/09/09 10:53:23 DEBUG Loading retrieval flows from config flows_file=blueprint:context dataset=\\\"[0 862]\\\"\\n2024/09/09 10:53:23 DEBUG Query Modifier custom configuration name=enhance config=\\\"{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}}}\\\"\\n2024/09/09 10:53:23 DEBUG Retriever custom configuration name=subquery config=\\\"{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}} Limit:3 TopK:10}\\\"\\n2024/09/09 10:53:23 DEBUG Retriever custom configuration name=bm25 config=\\\"{TopN:10 K1:1.2 B:0.75 CleanStopWords:[auto]}\\\"\\n2024/09/09 10:53:23 DEBUG Retriever custom configuration name=merge config=\\\"{TopK:10 Retrievers:[{Name:subquery Weight:0xc0012c3818 Options:map[limit:3 model:map[openai:map[apiKey:39108f5fd5151b50:d4038456a23d4db2614d5f233ff73f3dbb30ac9f0e92acc6cda1481ba344da3b apiType:OPEN_AI baseURL:https://gateway-api.gptscript.ai/llm model:gpt-4o]] topK:10]} {Name:bm25 Weight:0xc0012c3848 Options:map[b:0.75 cleanStopWords:[auto] k1:1.2 topN:10]}] retrievers:[]}\\\"\\n2024/09/09 10:53:23 DEBUG Postprocessor custom configuration name=similarity config=\\\"{Threshold:0.4 KeepMin:5}\\\"\\n2024/09/09 10:53:23 DEBUG Postprocessor custom configuration name=reduce config={TopK:10}\\n2024/09/09 10:53:23 DEBUG Loaded retrieval flow from config flows_file=blueprint:context dataset=\\\"[0 862]\\\"\\n2024/09/09 10:53:23 DEBUG Retrieving content from dataset dataset=\\\"[0 862]\\\" query=\\\"Who are the main characters in reunion under star?\\\"\\n2024/09/09 10:53:23 DEBUG Prompting LLM prompt=\\\"The following query will be used for a vector similarity search.\\\\nPlease enhance it to improve the semantic similarity search.\\\\nQuery: \\\\\\\"Who are the main characters in reunion under star?\\\\\\\"\\\\nReply only with the JSON {\\\\\\\"result\\\\\\\": \\\\\\\"\\u003cenhanced-query\\u003e\\\\\\\"}.\\\\nDo not include anything else in your response and don't use markdown highlighting or formatting, just raw JSON.\\\"\\n2024/09/09 10:53:24 DEBUG Modified queries before=\\\"[Who are the main characters in reunion under star?]\\\" queryModifier=enhance after=\\\"[List the primary characters in the book 'Reunion Under the Star'.]\\\"\\n2024/09/09 10:53:24 DEBUG Updated query set query=\\\"Who are the main characters in reunion under star?\\\" modified_query_set=\\\"[List the primary characters in the book 'Reunion Under the Star'.]\\\"\\n2024/09/09 10:53:24 DEBUG Retrieving documents from merging retriever query=\\\"List the primary characters in the book 'Reunion Under the Star'.\\\" datasetIDs=\\\"[0 862]\\\" where=map[] whereDocument=[]\\n2024/09/09 10:53:24 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=subquery\\n2024/09/09 10:53:24 DEBUG Prompting LLM prompt=\\\"The following query will be used for a vector similarity search.\\\\nIf it is too complex or covering multiple topics or entities, please split it into multiple subqueries.\\\\nI.e. a comparative query like \\\\\\\"What are the differences between cats and dogs?\\\\\\\" could be split into subqueries concerning cats and dogs separately.\\\\nThe resulting subqueries will then be used for separate vector similarity searches.\\\\nJust changing the phrasing of the input question often won't change the semantic meaning, so those may not be good candidates.\\\\nLimit the number of subqueries to a maximum of 3 (less is ok).\\\\nQuery: \\\\\\\"List the primary characters in the book 'Reunion Under the Star'.\\\\\\\"\\\\nReply with all subqueries in a json list like the following and don't reply with anything else (also don't use any markdown syntax).\\\\nResponse schema: {\\\\\\\"results\\\\\\\": [\\\\\\\"\\u003csubquery-1\\u003e\\\\\\\", \\\\\\\"\\u003csubquery-2\\u003e\\\\\\\"]}\\\"\\n2024/09/09 10:53:24 DEBUG SubqueryQueryRetriever generated subqueries queries=\\\"Who are the primary characters in the book 'Reunion Under the Star'?\\\"\\n2024/09/09 10:53:24 DEBUG Retrieved documents from retriever retriever=subquery numDocs=0\\n2024/09/09 10:53:24 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=bm25\\n2024/09/09 10:53:24 INFO No documents found for BM25 retrieval datasets=\\\"[0 862]\\\"\\n2024/09/09 10:53:24 DEBUG Retrieved documents from retriever retriever=bm25 numDocs=0\\n2024/09/09 10:53:24 DEBUG MergingRetriever topK=0 numDocs=0\\n2024/09/09 10:53:24 DEBUG Retrieved documents num_documents=0 query=\\\"List the primary characters in the book 'Reunion Under the Star'.\\\" datasets=\\\"[0 862]\\\" retriever=merge\\n2024/09/09 10:53:24 DEBUG Postprocessed RetrievalResponse num_responses=1 original_query=\\\"Who are the main characters in reunion under star?\\\"\\nRetrieved the following 1 source collections for the original query \\\"Who are the main characters in reunion under star?\\\": {\\\"List the primary characters in the book 'Reunion Under the Star'.\\\":null}\\n\"}"

Messages
Use the content within the following <KNOWLEDGE></KNOWLEDGE> tags as your learned knowledge. <KNOWLEDGE> Retrieved the following 1 source collections for the original query "Who are the main characters in reunion under star?": {"List the primary characters in the book 'Reunion Under the Star'.":null} </KNOWLEDGE> If this knowledge seems irrelevant to the user query, ignore it. Avoid mentioning that you retrieved the information from the context or the knowledge tool. Only provide citations if explicitly asked for it and if the source references are available in the knowledge. Answer in the language that the user asked the question in.

Loaded context from Knowledge
Input
""

Messages
You have access to a RAG tool named "Knowledge Retrieval". It will work with files previously uploaded by the user. Use it to answer questions from the user. Only consider this tool if the knowledge from your context doesn't already hold the answer to the user query. Give citations or source references only if asked for it and that doesn't conflict with any other instructions you've received in your system prompt. If the answers that the knowledge tool returns seem irrelevant, you may use another tool.

Loaded context from Knowledge Retrieval Context
Input
""

Messages
2024/09/09 10:53:28 INFO Retrieving sources for query query="Who are the main characters in reunion under star?" datasets="[0 862]" 2024/09/09 10:53:28 DEBUG Using default DSN dsn="sqlite:///Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/knowledge.db" 2024/09/09 10:53:28 DEBUG Using default VectorDBPath vectordbPath="/Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/vector.db" 2024/09/09 10:53:28 DEBUG Using embedding model provider provider=openai config="{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4 EmbeddingModel:text-embedding-ada-002 EmbeddingEndpoint:/embeddings APIVersion:2024-02-01 APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}" 2024/09/09 10:53:28 DEBUG Loading retrieval flows from config flows_file=blueprint:context dataset="[0 862]" 2024/09/09 10:53:28 DEBUG Query Modifier custom configuration name=enhance config="{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}}}" 2024/09/09 10:53:28 DEBUG Retriever custom configuration name=subquery config="{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}} Limit:3 TopK:10}" 2024/09/09 10:53:28 DEBUG Retriever custom configuration name=bm25 config="{TopN:10 K1:1.2 B:0.75 CleanStopWords:[auto]}" 2024/09/09 10:53:28 DEBUG Retriever custom configuration name=merge config="{TopK:10 Retrievers:[{Name:subquery Weight:0xc0012a9828 Options:map[limit:3 model:map[openai:map[apiKey:39108f5fd5151b50:d4038456a23d4db2614d5f233ff73f3dbb30ac9f0e92acc6cda1481ba344da3b apiType:OPEN_AI baseURL:https://gateway-api.gptscript.ai/llm model:gpt-4o]] topK:10]} {Name:bm25 Weight:0xc0012a9858 Options:map[b:0.75 cleanStopWords:[auto] k1:1.2 topN:10]}] retrievers:[]}" 2024/09/09 10:53:28 DEBUG Postprocessor custom configuration name=similarity config="{Threshold:0.4 KeepMin:5}" 2024/09/09 10:53:28 DEBUG Postprocessor custom configuration name=reduce config={TopK:10} 2024/09/09 10:53:28 DEBUG Loaded retrieval flow from config flows_file=blueprint:context dataset="[0 862]" 2024/09/09 10:53:28 DEBUG Retrieving content from dataset dataset="[0 862]" query="Who are the main characters in reunion under star?" 2024/09/09 10:53:28 DEBUG Prompting LLM prompt="The following query will be used for a vector similarity search.\nPlease enhance it to improve the semantic similarity search.\nQuery: \"Who are the main characters in reunion under star?\"\nReply only with the JSON {\"result\": \"<enhanced-query>\"}.\nDo not include anything else in your response and don't use markdown highlighting or formatting, just raw JSON." 2024/09/09 10:53:29 DEBUG Modified queries before="[Who are the main characters in reunion under star?]" queryModifier=enhance after="[main characters in the book Reunion Under the Star]" 2024/09/09 10:53:29 DEBUG Updated query set query="Who are the main characters in reunion under star?" modified_query_set="[main characters in the book Reunion Under the Star]" 2024/09/09 10:53:29 DEBUG Retrieving documents from merging retriever query="main characters in the book Reunion Under the Star" datasetIDs="[0 862]" where=map[] whereDocument=[] 2024/09/09 10:53:29 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=subquery 2024/09/09 10:53:29 DEBUG Prompting LLM prompt="The following query will be used for a vector similarity search.\nIf it is too complex or covering multiple topics or entities, please split it into multiple subqueries.\nI.e. a comparative query like \"What are the differences between cats and dogs?\" could be split into subqueries concerning cats and dogs separately.\nThe resulting subqueries will then be used for separate vector similarity searches.\nJust changing the phrasing of the input question often won't change the semantic meaning, so those may not be good candidates.\nLimit the number of subqueries to a maximum of 3 (less is ok).\nQuery: \"main characters in the book Reunion Under the Star\"\nReply with all subqueries in a json list like the following and don't reply with anything else (also don't use any markdown syntax).\nResponse schema: {\"results\": [\"<subquery-1>\", \"<subquery-2>\"]}" 2024/09/09 10:53:30 DEBUG SubqueryQueryRetriever generated subqueries queries="main characters in the book Reunion Under the Star" 2024/09/09 10:53:30 DEBUG Retrieved documents from retriever retriever=subquery numDocs=0 2024/09/09 10:53:30 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=bm25 2024/09/09 10:53:30 INFO No documents found for BM25 retrieval datasets="[0 862]" 2024/09/09 10:53:30 DEBUG Retrieved documents from retriever retriever=bm25 numDocs=0 2024/09/09 10:53:30 DEBUG MergingRetriever topK=0 numDocs=0 2024/09/09 10:53:30 DEBUG Retrieved documents num_documents=0 query="main characters in the book Reunion Under the Star" datasets="[0 862]" retriever=merge 2024/09/09 10:53:30 DEBUG Postprocessed RetrievalResponse num_responses=1 original_query="Who are the main characters in reunion under star?" Retrieved the following 1 source collections for the original query "Who are the main characters in reunion under star?": {"main characters in the book Reunion Under the Star":null}

Calls
Loaded input from QueryRelevancy
Input
"{\"input\":\"\"}"

Messages
Who are the main characters in reunion under star?

Calls
Loaded context from LastUserInputOverview
Input
""

Messages
<USER_MESSAGES> [User Message #1] Who are the main characters in reunion under star? </USER_MESSAGES>

Calls
Loaded context from sys.chat.current
Input
""

Messages
{"id":"1725903464","tool":{"name":"sys.chat.current","description":"Retrieves the current chat dialog","modelName":"gpt-4o","internalPrompt":null,"arguments":{"type":"object"},"instructions":"#!sys.chat.current","id":"sys.chat.current","source":{}},"completion":{"model":"gpt-4o","internalSystemPrompt":false,"tools":[{"function":{"toolID":"https://raw.githubusercontent.com/gptscript-ai/knowledge/f54ce7c597eab1fa3d85b109690b37bb21496d7c/gateway/tool.gpt:Knowledge Retrieval","name":"knowledgeRetrieval","description":"Retrieve information from files uploaded by the user.","parameters":{"properties":{"debug":{"description":"(OPTIONAL) Set to \"true\" to enable debug mode - only use if you are explicitly asked to do so.","type":"string"},"query":{"description":"The query to search for in the knowledge base. It will be used for semantic similarity search, so enhance it accordingly to yield good results.","type":"string"}},"type":"object"}}}],"messages":[{"role":"system","content":[{"text":"\n\nYou have access to a RAG tool named \"Knowledge Retrieval\".\nIt will work with files previously uploaded by the user.\nUse it to answer questions from the user.\nOnly consider this tool if the knowledge from your context doesn't already hold the answer to the user query.\nGive citations or source references only if asked for it and that doesn't conflict with any other instructions you've received in your system prompt.\nIf the answers that the knowledge tool returns seem irrelevant, you may use another tool.\n\nUse the content within the following \u003cKNOWLEDGE\u003e\u003c/KNOWLEDGE\u003e tags as your learned knowledge.\n\u003cKNOWLEDGE\u003e\nRetrieved the following 1 source collections for the original query \"Who are the main characters in reunion under star?\": {\"List the primary characters in the book 'Reunion Under the Star'.\":null}\n\n\u003c/KNOWLEDGE\u003e\nIf this knowledge seems irrelevant to the user query, ignore it.\nAvoid mentioning that you retrieved the information from the context or the knowledge tool.\nOnly provide citations if explicitly asked for it and if the source references are available in the knowledge.\nAnswer in the language that the user asked the question in.\n\n\nYou are a helpful assistant named New Assistant. When you first start, just introduce yourself and wait for the user's next message."}],"usage":{}},{"role":"assistant","content":[{"text":"Hello, I'm New Assistant. How can I help you today?"}],"usage":{}},{"role":"user","content":[{"text":"Who are the main characters in reunion under star?"}],"usage":{}},{"role":"assistant","content":[{"toolCall":{"index":0,"id":"call_gLF6paQEVLToTWy3PScMnQaY","function":{"name":"knowledgeRetrieval","arguments":"{\"query\":\"main characters in Reunion Under the Star\"}"}}}],"usage":{}}],"chat":true}}

Loaded output from KnowledgeInstructions
Input
"{\"chat\":false,\"continuation\":false,\"output\":\"2024/09/09 10:53:28 INFO Retrieving sources for query query=\\\"Who are the main characters in reunion under star?\\\" datasets=\\\"[0 862]\\\"\\n2024/09/09 10:53:28 DEBUG Using default DSN dsn=\\\"sqlite:///Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/knowledge.db\\\"\\n2024/09/09 10:53:28 DEBUG Using default VectorDBPath vectordbPath=\\\"/Users/sangeethahariharan/Library/Application Support/gptscript/knowledge/vector.db\\\"\\n2024/09/09 10:53:28 DEBUG Using embedding model provider provider=openai config=\\\"{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4 EmbeddingModel:text-embedding-ada-002 EmbeddingEndpoint:/embeddings APIVersion:2024-02-01 APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}\\\"\\n2024/09/09 10:53:28 DEBUG Loading retrieval flows from config flows_file=blueprint:context dataset=\\\"[0 862]\\\"\\n2024/09/09 10:53:28 DEBUG Query Modifier custom configuration name=enhance config=\\\"{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}}}\\\"\\n2024/09/09 10:53:28 DEBUG Retriever custom configuration name=subquery config=\\\"{Model:{OpenAI:{BaseURL:https://gateway-api.gptscript.ai/llm APIKey:REDACTED Model:gpt-4o EmbeddingModel: EmbeddingEndpoint: APIVersion: APIType:OPEN_AI AzureOpenAIConfig:{Deployment:}}} Limit:3 TopK:10}\\\"\\n2024/09/09 10:53:28 DEBUG Retriever custom configuration name=bm25 config=\\\"{TopN:10 K1:1.2 B:0.75 CleanStopWords:[auto]}\\\"\\n2024/09/09 10:53:28 DEBUG Retriever custom configuration name=merge config=\\\"{TopK:10 Retrievers:[{Name:subquery Weight:0xc0012a9828 Options:map[limit:3 model:map[openai:map[apiKey:39108f5fd5151b50:d4038456a23d4db2614d5f233ff73f3dbb30ac9f0e92acc6cda1481ba344da3b apiType:OPEN_AI baseURL:https://gateway-api.gptscript.ai/llm model:gpt-4o]] topK:10]} {Name:bm25 Weight:0xc0012a9858 Options:map[b:0.75 cleanStopWords:[auto] k1:1.2 topN:10]}] retrievers:[]}\\\"\\n2024/09/09 10:53:28 DEBUG Postprocessor custom configuration name=similarity config=\\\"{Threshold:0.4 KeepMin:5}\\\"\\n2024/09/09 10:53:28 DEBUG Postprocessor custom configuration name=reduce config={TopK:10}\\n2024/09/09 10:53:28 DEBUG Loaded retrieval flow from config flows_file=blueprint:context dataset=\\\"[0 862]\\\"\\n2024/09/09 10:53:28 DEBUG Retrieving content from dataset dataset=\\\"[0 862]\\\" query=\\\"Who are the main characters in reunion under star?\\\"\\n2024/09/09 10:53:28 DEBUG Prompting LLM prompt=\\\"The following query will be used for a vector similarity search.\\\\nPlease enhance it to improve the semantic similarity search.\\\\nQuery: \\\\\\\"Who are the main characters in reunion under star?\\\\\\\"\\\\nReply only with the JSON {\\\\\\\"result\\\\\\\": \\\\\\\"\\u003cenhanced-query\\u003e\\\\\\\"}.\\\\nDo not include anything else in your response and don't use markdown highlighting or formatting, just raw JSON.\\\"\\n2024/09/09 10:53:29 DEBUG Modified queries before=\\\"[Who are the main characters in reunion under star?]\\\" queryModifier=enhance after=\\\"[main characters in the book Reunion Under the Star]\\\"\\n2024/09/09 10:53:29 DEBUG Updated query set query=\\\"Who are the main characters in reunion under star?\\\" modified_query_set=\\\"[main characters in the book Reunion Under the Star]\\\"\\n2024/09/09 10:53:29 DEBUG Retrieving documents from merging retriever query=\\\"main characters in the book Reunion Under the Star\\\" datasetIDs=\\\"[0 862]\\\" where=map[] whereDocument=[]\\n2024/09/09 10:53:29 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=subquery\\n2024/09/09 10:53:29 DEBUG Prompting LLM prompt=\\\"The following query will be used for a vector similarity search.\\\\nIf it is too complex or covering multiple topics or entities, please split it into multiple subqueries.\\\\nI.e. a comparative query like \\\\\\\"What are the differences between cats and dogs?\\\\\\\" could be split into subqueries concerning cats and dogs separately.\\\\nThe resulting subqueries will then be used for separate vector similarity searches.\\\\nJust changing the phrasing of the input question often won't change the semantic meaning, so those may not be good candidates.\\\\nLimit the number of subqueries to a maximum of 3 (less is ok).\\\\nQuery: \\\\\\\"main characters in the book Reunion Under the Star\\\\\\\"\\\\nReply with all subqueries in a json list like the following and don't reply with anything else (also don't use any markdown syntax).\\\\nResponse schema: {\\\\\\\"results\\\\\\\": [\\\\\\\"\\u003csubquery-1\\u003e\\\\\\\", \\\\\\\"\\u003csubquery-2\\u003e\\\\\\\"]}\\\"\\n2024/09/09 10:53:30 DEBUG SubqueryQueryRetriever generated subqueries queries=\\\"main characters in the book Reunion Under the Star\\\"\\n2024/09/09 10:53:30 DEBUG Retrieved documents from retriever retriever=subquery numDocs=0\\n2024/09/09 10:53:30 DEBUG Retrieving documents from retriever component=MergingRetriever retriever=bm25\\n2024/09/09 10:53:30 INFO No documents found for BM25 retrieval datasets=\\\"[0 862]\\\"\\n2024/09/09 10:53:30 DEBUG Retrieved documents from retriever retriever=bm25 numDocs=0\\n2024/09/09 10:53:30 DEBUG MergingRetriever topK=0 numDocs=0\\n2024/09/09 10:53:30 DEBUG Retrieved documents num_documents=0 query=\\\"main characters in the book Reunion Under the Star\\\" datasets=\\\"[0 862]\\\" retriever=merge\\n2024/09/09 10:53:30 DEBUG Postprocessed RetrievalResponse num_responses=1 original_query=\\\"Who are the main characters in reunion under star?\\\"\\nRetrieved the following 1 source collections for the original query \\\"Who are the main characters in reunion under star?\\\": {\\\"main characters in the book Reunion Under the Star\\\":null}\\n\"}"

Messages
Use the content within the following <KNOWLEDGE></KNOWLEDGE> tags as your learned knowledge. <KNOWLEDGE> Retrieved the following 1 source collections for the original query "Who are the main characters in reunion under star?": {"main characters in the book Reunion Under the Star":null} </KNOWLEDGE> If this knowledge seems irrelevant to the user query, ignore it. Avoid mentioning that you retrieved the information from the context or the knowledge tool. Only provide citations if explicitly asked for it and if the source references are available in the knowledge. Answer in the language that the user asked the question in.

Ran Knowledge Retrieval
Input
"{\"query\":\"main characters in Reunion Under the Star\"}"

Messages
2024/09/09 10:53:26 INFO Retrieving sources for query query="{\"query\":\"main characters in Reunion Under the Star\"}" datasets="[0 862]" Retrieved the following 1 source collections for the original query "{\"query\":\"main characters in Reunion Under the Star\"}": {"{\"query\":\"main characters in Reunion Under the Star, plot highlights, character development, and important themes\"}":null}

Loaded provider from GPTScript Gateway Provider
Input
""

Messages
http://<IP_ADDRESS>:11228


Framework: Tokens can be converted to strings

Tokens (such as resource attributes) can now be implicitly converted
into strings. Parameters and attributes can now be combined into larger
strings using the native string facilities of the host language.
The process will be reversed by the resolve() function during synthesis,
which will split the string up again into string literals and
CloudFormation intrinsics.
The same transformation is applied during JSON.stringify(), so that
Tokens in a complex JSON structure are preserved.
Fixes #24 and #168.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

I'm not 100% happy with the current implementation yet, as the resolve() function now needs to have knowledge of the FnConcat primitive, and is restricted to CloudFormation.
However, barring a more complicated rework of Token to make it aware of the context its being used in, I don't see a good solution to this. Right now, Tokens are free-floating and not attached to the construct tree in any way.

After a giant slough, reintroducing tokenAwareJsonify()
MAJOR CHANGES

Reintroducing tokenAwareJsonify; it needs to be there because
otherwise we cannot have enough knowledge to do escaping properly;
see documentation in the code.
Introducing markAsIntrinsic() which sets a hidden property on an
object which is used as a hint to the rest of the engine that
(a) the value doesn't need to be resolved anymore and (b) we can
use it as a type hint to reject non-intrinsic complex types during
stringification. A wrapper class would have been nicer but this
entails fewer code changes (deepEqual everywhere...). A convenience
class has been introduced in the CloudFormation section to make
impact minimal.
Implement inversion-of-control on the FnConcat thing, execution
engines (name?) can now register themselves to handle string
combining. Still not perfect because if there are not intrinsics
we can't really guess the engine (so we "default" to CFN anyway)
but we have the initial trappings of CFN decoupling.

ALSO

Add a run config and a helper script to debug a unit test from VSCode
(breakpoints \o/)

I expect this to generate a healthy amount of debate. Also I would
appreciate suggestions on naming of the various pieces, I'm afraid
I haven't been 100% consistent just yet.

What do we call CloudFormation/Terraform/...?
What do we call stringified Tokens?

Just realized this is still wrong when putting a token that lazily resolves to a number in a string first and then into a JSON structure :(

Just realized this is still wrong when putting a token that lazily resolves to a number in a string first and then into a JSON structure :(

I guess the correct solution is still to use a different marker for "full value" JSONifications and threat them differently than string-inlined Token values. The difference is illustrated here:
const token = new Token(() => 1);

const embedded = `the number is ${token}`;

// Should lead to "the number is 1"
CFN(resolve(embedded));

// Logically, must lead to { "embedded": "the number is 1" }
// (but right now will throw)
CFN(resolve({ embedded }));

// However, a naked use of the token should preserve the type
// Should lead to { "the number": 1 }
CFN(resolve(tokenAwareJsonify({"the number": token})))


fix: display word count with i18n enabled

This should fix #88

@1bl4z3r Just found this link i18n/en.toml, which I think implies this PR isn't a fix, but I should be using
[wordCount]
other = "{{ .WordCount }} Words"

Should I even be using i18n settings if I'm not doing multiple languages? The only reason I went down this road to begin with is the hugo site audit implies that getting the [i18n] output is an error.

Hi @paisleyrob,
I think we need to revise this a tad bit.
What we can do is removing {{ .WordCount }} from Internationalization to layouts, so that i18n would be
[wordCount]
other = "Words"

Let me know your suggestions regarding this

Hi @paisleyrob,
I think we need to revise this a tad bit. What we can do is removing {{ .WordCount }} from Internationalization to layouts, so that i18n would be
[wordCount]
other = "Words"

Let me know your suggestions regarding this

This seems like a better solution. I'll revise this PR accordingly.


Please support rtsp payload type 33

Search existing open issues, specifically with the label ‘enhancement’:
https://github.com/google/ExoPlayer/issues/9400

[REQUIRED] Use case description
For play MP2T rtsp
Test url
rtsp://[2409:8087:2001:20:2800:0:df6e:eb18]:554/ott.mobaibox.com/000000400000001/H265_8000k_1080P_cctv1_CR
In addition, since Uri currently does not support ipv6, URI must be used instead

Sparkle TV is an IPTV Application that uses exoplayer as the built-in player. Similar to tivimate. (https://play.google.com/store/apps/details?id=se.hedekonsult.sparkle&hl=en_US)
Here's the same problem because Sparkle TV on Android TV uses exoplayer, which makes it impossible to play (rtsp://[2409:8087:2001:20:2800:0:df6e:eb18]:554/ott.mobaibox.com/000000400000001/H265_8000k_1080P_cctv1_CR) from (https://raw.githubusercontent.com/Kimentanm/aptv/master/m3u/iptv.m3u)

RTP Payload Type 33 is defined in RFC2250


bananaPi-p2Maker: Add support for Banana Pi P2 Maker

The Banana Pi P2 Maker is a low-cost Allwinner H2+ (variant of the H3) development board primarily notable for having (optional) PoE. I've tested this with Arch Linux ARM, Debian, and Fedora, and all three work. It likely also would work with the P2 Zero, which uses the same PCB but with eMMC (and possibly support components for it?) populated, but of course without eMMC support. I initially attempted implementing the P2 Zero instead of the P2 Maker, but I wouldn't have been able to test the eMMC capabilities, and the missing eMMC caused warnings during boot.
The U-Boot patch could probably be upstreamed (especially the change to sunxi-h3-h5.dtsi, which is necessary for USB host functionality to work in U-Boot after a refactor), but I've had bad experiences submitting patches to these projects.

Hi! :wave:
Given this is an Allwinner board, the changes are 99.99% likely good without requiring any more testing. In my experience they all work so much alike that it's (thankfully) boring.
I don't see you specifically stating that you've tested HDMI out. Have you?

especially the change to sunxi-h3-h5.dtsi, which is necessary for USB host functionality to work in U-Boot after a refactor

I don't think I'll have the time to test, but I wonder if any h3/h5 boards I own have been affected. I guess the way to check is that USB plainly doesn't work? Or is it a particular interface? I'm led to understand that the OTG port at the very least would be affected.

The U-Boot patch could probably be upstreamed

It really should, I've not been stellar at it, but ideally only opinionated changes should live in this repo. Or at least I'd like that every changes sees a genuine effort at being sent upstream.

but I've had bad experiences submitting patches to these projects.

Assuming it's about the individuals, have you had experience with U-Boot specifically? You can leave the answer vague if you're not comfortable, and I definitely don't want names in that unlikely event.
I've found that the worst that happened to me was that a set of patches was left ignored, though asking around on their IRC channel gives an almost direct link to some maintainers that can help. My only complaint is that it's the ol' patch-in-mail, everything else has been good.

I don't see you specifically stating that you've tested HDMI out. Have you?

Yes. There's some weird artifacting at 4K without accelerated graphics, but it's still usable for setup.

I guess the way to check is that USB plainly doesn't work? Or is it a particular interface? I'm led to understand that the OTG port at the very least would be affected.

I think it's just the OTG port, and only when device mode support is compiled out in U-Boot, but this device only has the one port and I didn't do much testing with device mode enabled.

Assuming it's about the individuals, have you had experience with U-Boot specifically? You can leave the answer vague if you're not comfortable, and I definitely don't want names in that unlikely event.

It's not really about any individuals.

Oops... Got in the flow with other PRs and rebased+pushed, even though this applies as-it-is on development.


Swagger UI js console errors

Getting console errors on swagger UI page. If i click on get/post method. it display console errors too.
Cannot read properties of undefined (reading 'match')

Current Behavior
It displays lit of console errors
Steps to Reproduce

Step 1: open this URL https://demo.backstage.io/catalog/default/api/petstore/definition#/
Step 2: Click on inspect and click on console
Step3: you will see error like Cannot read properties of undefined (reading 'match')

Hmm @dschwank have you seen this particular error crop up before? I'll have to look into if this has something to do with our example data being bad, or if it's something bigger at play.

Seems to be caused by the url

Hm. I wonder what url that is supposed to be.

@freben Just had a short look into that issue - it seems to be related to the url argument of the SwaggerUI. If that argument is not set, it will result to be undefined in the spec, which will cause the error then.
I haven't had time to go deeper into that issue - I assume that it is connected to the setTimeout which we use for initialization, but that's just an assumption.
I created a small fix which mitigates the issue, but I would like to double check / have a deeper look into that issue. Apparently I am on vacation on Monday & Tuesday ✌, so my answers will be delayed in the next days. 😬


chromebook pixel 2013,there is no sound output when plug in earphone

In chromebook pixel 2013,there is no sound output when plug in earphone. Sound is still output from speaker in cloudready image. Even I use ubuntu to check if this is an OS issue. But it is still fail in ubuntu.

Thanks for the reply!
You meant your firmware can work under chromeOS; so after run the script how to install chromeOS (or which chromeOS can be used to install?)

one cannot run ChromeOS with the UEFI firmware. you need to use CloudReady, or a hack solution like Chromefy / project croissant


false error message for items which has no parent

For item's which has no parent's you get the following error message:
Can't add member 'myTestClass' to parent item 'undefined'. Unsupported parent member type: 'undefined'. Insert this item as a top level declaration```

Comment
The output is correct, but the error message has to be suppressed if an item has no parent item

solved with #5d1a53bce6135341cf1098ce6be5eccb84a38f81


Add support for sysctls

Sysctls are passed as annotations in CRI. We need to process those keys in annotations and set sysctls in the runc config.json.
See http://kubernetes.io/docs/admin/sysctls/#safe-vs-unsafe-sysctls
https://github.com/kubernetes/kubernetes/pull/36728/files

Cool. We may also consider AppArmor and Seccomp, which are also passed in annotations.

Yeah can you create an issue for that?

On Nov 16, 2016, at 9:31 PM, Pengfei Ni<EMAIL_ADDRESS>wrote:
Cool. We may also consider AppArmor and Seccomp, which are also passed in annotations.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@mrunalp OK.

Any taker for this one? @mikebrow ?

        If no one take this yet, I'd love to do it.
        On 11/18/2016 01:41, Mrunal Patel wrote:Any taker for this one? @mikebrow ?

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kubernetes-incubator/cri-o","title":"kubernetes-incubator/cri-o","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kubernetes-incubator/cri-o"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mrunalp in #198: Any taker for this one? @mikebrow ?"}],"action":{"name":"View Issue","url":"https://github.com/kubernetes-incubator/cri-o/issues/198#issuecomment-261315688"}}}

@Crazykev sure, assigned to you :)

Do we handle ulimits?

@rhatdan CRI doesn't have support for it. Will check if it needs to be added there.


[Question] Is there any reason to add epsilon to action mean?

Question
I read Training using REINFORCE for Mujoco.
In REINFORCE#sample_action method, self.eps is added to the first argument for Normal.
I have no knowledge about REINFORCE, but is it intentional?
https://github.com/Farama-Foundation/Gymnasium/blob/596bdcc94d068ad494ff4347612df25c6ebec62c/docs/tutorials/training_agents/reinforce_invpend_gym_v26.py#L183

Could you find the original specification of REINFORCE to confirm either way what the correct implementation would be?

I think I misled you. Actually, the part I'm wondering about is that we sample according to the probability distribution (normal distribution) obtained by the REINFORCE algorithm.
It makes sense to add a small epsilon to the standard deviation to increase numerical stability, but adding it to the mean seems strange.

I want to ask original committer,
@siddarth-c If you have time, could you please check it? Thanks.

I want to ask original committer, @siddarth-c If you have time, could you please check it? Thanks.

I am not sure why I added eps to the mean. But it should not affect the final performance of the agent.
I believe it should even learn w/o the eps added to the mean.


Removed outdated discount code

Removed the webdoc40 code which was no longer valid
Added a new book from Elton Stoneman to the list
Updated headings to match the existing markdown style

Related issues (optional)
https://github.com/docker/docker.github.io/issues/10077

@StefanScherer PTAL


Redesigning About Page

Redesign of the About page

This is great, I'll make a few changes to image and quote prior to merging


Added status badges to README

Current dependencies on/for this PR:

main

PR #256

PR #257

PR #258   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: qYlXzUlAYXC10T8a8PDB


using quill with css modules in css-loader webpack configuration

Hello,
I'm using css-loader with modules: true in my project.
When I follow the README.md and use import theme from 'react-quill/dist/quill.snow.css'; I get following object:
Object { "ql-container": "_1TfYIQ30FYxWvZRshbC4zi", "ql-disabled": "X5sf4tQ3Vjzd63aHfoIj2", "ql-tooltip": "uvr_IM_uLb9686k-1HSDa", "ql-editor": "_1-LIJlaTkkNyiETvloJ3Fn", "ql-clipboard": "_3JNjxHR2Wd8N-yArLWQ5iI", "ql-direction-rtl": "_2C5-kRtgGG8w31C0Y80i81", "ql-indent-1": "PiKWolNH2liFJT-U7ScmY", "ql-indent-2": "_2BOkuOtvnUN8BITBs_TQsc", "ql-indent-3": "_25QOjBc7DHqutGMCwMMo9Y", "ql-indent-4": "_1Cb8SNx7cMHhEUWqK3gD-q", … }
Is there a way, to use quill with css modules enabled in css-loader?
If this is not possible, why is the style imported this way?
If theme cannot be used, then an import like import 'react-quill/dist/quill.snow.css'; would be better, or do I miss anything here?

In general, CSS modules are intended to contain styles for a single component. Importing a prebuilt CSS file for use with a library will not work.

If this is not possible, why is the style imported this way?

Webpack's css-loader is not specific to CSS modules, and the default for modules is false.
How to fix it:

Separate the loaders for local and library CSS in the module block in your Webpack config:

{
      test: /\.(css)$/,
      include: [/stylesheets/, /node_modules/],
      use: [
        'css-loader',
      ],
},
{
      test: /\.css$/,
      exclude: [/stylesheets/, /node_modules/],
      use: [
        'css-loader?sourceMap&modules,localIdentName=[local]-[hash:base64]',
      ],
},

If you're using a precompiler like SCSS/LESS/PostCSS you can use the @import ... syntax

If that doesn't work due to something else going on in your setup, you can import the styles with a link tag as in the README.

Thank you for your quick answer.
It worked with your proposed webpack config. 👍
But then, my last argument still remains.
You should change the import in the documentation from
import theme from 'react-quill/dist/quill.snow.css';
to
import 'react-quill/dist/quill.snow.css';
Named css imports only make sense with css modules and since theme will otherwise be an empty object it just brings confusion here.
I have a very strict ESLint configuration so it would also cause a no-unused-vars violation.

Add to styles.css
@import '~quill/dist/quill.core.css';
@import '~quill/dist/quill.bubble.css';
@import '~quill/dist/quill.snow.css';


OneDrive personal and business use same api but give different response

Hi everyone,
i have a django app that have for ambitions to sync in backend all the items i have in the drive.
For business, i call view.delta on root and i get at once all the files:
their id : item["id"]
and their path: item["parentReference"]["path"]
Doing the very same with personal account, assuming the same api should work the same way, but no,
there is no such item["parentReference"]["path"] for example:
"parentReference":  {
"driveId": "c3b79f20e3bd7378",
"id": "C3B79F20E3BD7378!103"
},
Would i be possible to harmonise the API across all the products ?
Kind regards

@raccoon4me: Our goal is certainly to have the same API behavior across all of the services that OneDrive API works with. However, OneDrive, SharePoint, and OneDrive for Business are all separate services and from time to time the behavior may be different between them.
The documentation is the source of truth for what to expect to work consistently across all end points.
In this case, the documentation specifically calls out that path isn't available when using view.delta:

The parentReference property on items will not include a value for path.

I know that doesn't make it better though. However, using path and view.delta together is a recipe for data loss and sync issues. You need to use the item IDs to make sure that you properly record all changes and don't lose track of operations like moving a file or folder, which may cause inconsistent path data to be reported.

Thanks a lot rgregg for your answer, nevertheless,
if there is no path in the json respomnse, and i want to synchronize only one folder with the following structure:
/a/b/c/d/{file1, file2, file3}
If i want to synchronize everything in folder a (id="a1")
All the files in the "d" directory {file1, file2, file3} have for parents, not the id of the root folder a, BUT  the id of the directory "c", and i have no idea what is the id of the "c" directory since all i know is the id of the "a" directory.
And no, i don't want to use the view.delta per path, as in onedrive business is not available, so there is no way i can use the same method for business account and personal accounts as they do not share the same response :/.

@raccoon4me:
If I understand correctly, you're just trying to sync folder 'd' and ideally you would call view.delta directly on 'd', but since OneDrive for Business only allows you to sync at the root, you want to call view.delta on the root for both services. Since you're still only interested in changes under 'd', you want to know which view.delta changes are safe to ignore. In OneDrive for Business you're doing this by looking at the 'path' property, which isn't available in OneDrive for Consumer.
This approach mostly works, except if a file moves from 'd' into 'b', it will show up with the new path, and you won't realize that it got removed from 'd' unless you also remember its id and notice that its path got changed. This means your app must remember ids. This is what @rgregg is referring to when he says that using path alone without analyzing ids can cause data loss.
Since you need to use id, you don't really need the path at all. As you sync, you need to keep track of the ids that get returned and build up the item hierarchy, including the 'd' folder you care about. When you're done, you will know the id of 'd' and all of the items under it. You can then throw away any ids that aren't in the hierarchy you care about. When you call view.delta later to get changes, you can ignore any items whose id or parent id doesn't match one of the ones you care about.
I hope this helps.
daron

@daspek
Thanks a ton for having taken time to give me such a precise answer, really much appreciated :)
Nevertheless, I'm not just trying to sync folder 'd', at the opposite, I trying to sync folder 'a', so every single file from folder 'a'. Indeed when my users login, they can subscribe to folder ONLY at root directory, so I give them the choice of selecting all the folder they have in the rot directory. In this case 'a'.
So syncing 'a' will also include b, c and d of course. So my guess is that if a user move the file from 'd' to 'c' I'm still saved thanks to the path
But I just realize thanks to your answer that it might happen a corner case:
if the user move file from a,b,c,or d to an another folder of the root directory that the user didn't subscribed to, ideally I should delete it in my backend but deletion only occurs when I got the delete key in the Response of view.delta, mhm I need to send this stuff to testers Monday first hour.

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


need help

i failed to sign in "https://console.anthropic.com/claude"
erros shows "You do not currently have a valid Anthropic account. You may need to accept your invite: check for an email with the subject “Your invitation to Claude, from Anthropic” and click the link there."
so , is that means i need someonelse' invitation?

You do not require an invitation from anyone else. You simply need to apply on this website. Typically within one to two weeks, you will receive an email (example below) notifying you that your application has been approved. Subsequently, you will be able to access Claude's console and API.


While the storage/getItem issue is solved, I'm not sure whether this was the main reason of the original bug, given that this issue would result in warnings but not any breakage.
Possibly, Cannot read property 'importKey' of undefined is the real problem here, but I cannot reproduce.

Possibly, Cannot read property 'importKey' of undefined is the real problem here, but I cannot reproduce.

It is, but I keep getting it over and over (running on localhost) and it's driving me crazy.  All my libs are up to date.  Cryptic.  With post more if I make progress.

With post more if I make progress.

Perfect, please create a new issue with this.

If it's the importKey error occured when I was running on localhost with a self signed cert.
When deployed to gh-pages with an ssl cert the error went away.

Interesting, can you make that into a reproducible issue? (I don't run into it myself, seemingly same circumstances.)


chore: expose TypeCoercionRewriter::new and add examples for type coerce expressions

Which issue does this PR close?

Closes #13375.
Rationale for this change

What changes are included in this PR?

Expose TypeCoercionRewriter::new.
Add examples for applying type coercion to expressions.
Update out-of-date README for the datafusion-sql module

Are these changes tested?

Are there any user-facing changes?

The TypeCoercionRewriter::new is now made public.

@alamb Thanks for reviewing so quickly. I have submitted the changes.


Coverage increased (+0.005%) to 62.422% when pulling 39218318bc24d9c597a0cc7bd07d79c21d6a8dc0 on DUOS-343-status into 3e9fa67c260c4831e6648127fd1d449a62e2b64a on DUOS-343-email.


Make ColorSwatch more general, and test it

cc @HansMuller

I'm going to have to make the _swatch member public (probably @protected) to make this work. Let me know if you don't think it's worth it.

LGTM