Upgrade to 0.14.0 alpha2

Closes #229 .
A couple of tests in multi-test are failing, but publishing anyway as they are interesting cases to look at (wrong sender can now send bank messages in the multi-test context).
Update: This makes sense, because BankMsg doesn't have a from_address anymore. Will just modify / remove these tests.
Still needs some styling, and closely following MIGRATING.md guidelines, but this is compiling, passes linting AFAIK, and passes almost all tests.

I did some cleanup to see if this passes CI now.
I wonder if we should rename HandleMsg to ExecuteMsg across the board as well? This will change all the schema file output as well.

I did some cleanup to see if this passes CI now.
I wonder if we should rename HandleMsg to ExecuteMsg across the board as well? This will change all the schema file output as well.

I think the sensible thing is to rename it. Particularly when writing new contracts, it would be confusing to have to write a HandleMsg for execute.
Maybe we can leave this change for a future version, though, as not to introduce so many changes at once.

I did some cleanup to see if this passes CI now.
I wonder if we should rename HandleMsg to ExecuteMsg across the board as well? This will change all the schema file output as well.

I think the sensible thing would be to rename it. Particularly when writing new contracts, it would be confusing to have to write a HandleMsg for execute.
Maybe we can leave this change for a future version, though, as not to introduce so many changes at once.

We can do that in another PR, but let's do this by the next v0.6.0 cosmwasm-plus release, so that is a stable point.

Only missing piece AFAIK, was migrating to the new entry point system. Do the old system still works? If not, we should open a follow-up issue and finish that.

Yeah, they both work and there is a new issue for that one. It's a bit down the backlog https://github.com/CosmWasm/cosmwasm-plus/issues/230 But if you want to, you can pull that next (it shouldn't be a big deal)

Just for reference / documentation, addressed pending changes in #249 and #250.


Pls update

I BEG to have this updated. I have broken my desk trying to install all these damn dependencies just to change the 10 in the outputted small flags to an 11. Pls update.

Hi @ajaxxxxxxx
I updated the GUI so you can enter your own custom sizes. Hope this helps!
https://github.com/atthematyo/hoi4_flag_maker/releases/tag/1.1.0


Adding xdrip offline support

Added support for xdrip as cgm source, using xDripAPS microservice.

Thanks! As soon as I have time, I'll pull the docs and add some details. Should I pull the dev docs, or master?

Hi Colin,
Looks good. Might also be usefull for my dex usb branch, see
https://github.com/openaps/oref0/pull/282
I noticed a possible security issue on lines
https://github.com/colinlennon/xDripAPS/blob/master/xDripAPS.py#L79 and
https://github.com/colinlennon/xDripAPS/blob/master/xDripAPS.py#L123
You don't do any input checking as far as a I see, see
https://www.owasp.org/index.php/Testing_for_SQL_Injection_(OTG-INPVAL-005)

Most docs PRs go to master. We save dev for major restructurings that we need to preview in RTD and collaborate on.

Did xDrip support multiple REST upload targets? Wondering what the optimal setup for this would be. We have three active loops and sync everything to Nightscout, so what could work is xDrip pushing locally to all three if they're present (using .local domains) as well as Nightscout. @scottleibrand what's the default loop behavior if SGV data is available from multiple sources? Or was the script single-source as is?

You should be able to give xdrip space separated URIs, but at least with some old uploader versions if an upload failed to one of the destinations it would prevent/slow uploads to the others.

@sulkaharo we have updated oref0 to support multiple CGM sources uploading to NS, and routinely have both a rig and Dexcom Share data being uploaded there, sometimes from differently calibrated receivers. @jasoncalabrese has also tested using different sensors. When the readings are off by more than about 1 mmol, you can get weird oscillations depending on the timing of uploads, any upload gaps, and the timing of oref0 runs. But even then it tends to all average out to do the right thing. If they're pretty close it works great.

installing fresh with xdrip and getting error and exit:
Checking /home/pi/myopenaps: /home/pi/src/oref0/bin/oref0-setup.sh: line 231: openaps: command not found
Can't init /home/pi/myopenaps

@libxmike Is it a completely fresh install? Looks like you might not have the OpenAPS toolset installed. If you're not sure, you could check by creating a test directory, cd into it and see if 'openaps init' works or not.

@PieterGit Thanks Pieter. Yes, you're correct, I should add checks for SQL injection attacks to the code, that's on my to-do list.

@colinlennon you right, I did not run on this rig openaps install. now I can install. Got confused with many of my SD Card images I have.


Attempt a monotonic revision based signals polyfill

Prior to this change, we used the current signals polyfill which had some performance troubles.
This change implements the signals API but uses Pzurek's monotonic revision to handle tracking and reactivity.
This is an attempt to see if it shows performance improvements.
Paired-with: NullVoxPopulli
re-wind of https://github.com/lifeart/glimmer-next/pull/145

@sukima looks like some error in implementation, Benchmark is unable to start:
check on
http://localhost:5173/benchmark

I don't have access to push to this branch. I ran through the main API tests and here is a patch to update the polyfill as an experiment to see if the benchmark builds again.
From 6a79c84d1652736e79f95d82c314031aa242b06d Mon Sep 17 00:00:00 2001
From: Devin Weaver<EMAIL_ADDRESS>Date: Mon, 20 May 2024 20:46:51 -0400
Subject: [PATCH] WIP check implementation with benchmark [skip ci]

---
 src/signal-polyfill.ts | 61 +++++++++++++++++++++++++++---------------
 1 file changed, 39 insertions(+), 22 deletions(-)

diff --git a/src/signal-polyfill.ts b/src/signal-polyfill.ts
index f309b0a..03535f4 100644
--- a/src/signal-polyfill.ts
+++ b/src/signal-polyfill.ts
@@ -2,6 +2,7 @@ type Revision = number;

 interface Signal<T> {
   get(): T;
+  isDirty: boolean;
 }

 const $WATCHED = Symbol('watched');
@@ -11,24 +12,24 @@ const $WATCHER_NOTIFY = Symbol('watcher notify');

 const WATCHERS = new Set<Watcher>();

-let CONSUME_TAGS: boolean = true;
-let CURRENT_REVISION: Revision = 0;
-let CURRENT_COMPUTATION: Set<Tag> | null = null;
-let CURRENT_COMPUTED: Computed | null = null;
+let consumeTags: boolean = true;
+let currentRevision: Revision = 0;
+let currentComputation: Set<Tag> | null = null;
+// let currentComputed: Computed | null = null;

 class Tag {
-  [$REVISION]: Revision = CURRENT_REVISION;
+  [$REVISION]: Revision = currentRevision;
 }

 function dirtyTag(tag: Tag): void {
-  if (CURRENT_COMPUTATION?.has(tag))
+  if (currentComputation?.has(tag))
     throw new Error('cannot dirty tag that has been used during a computation');
-  tag[$REVISION] = ++CURRENT_REVISION;
+  tag[$REVISION] = ++currentRevision;
   notifyWatchers();
 }

 function consumeTag(tag: Tag): void {
-  if (CONSUME_TAGS) CURRENT_COMPUTATION?.add(tag);
+  if (consumeTags) currentComputation?.add(tag);
 }

 function notifyWatchers(): void {
@@ -41,11 +42,17 @@ function getMax(tags: Tag[]): Revision {

 class State<T> implements Signal<T> {
   private tag = new Tag();
+  private lastRevision: Revision;
   private equals = (a: T, b: T): boolean => a === b;
   private [$WATCHED] = (): void => {};
   private [$UNWATCHED] = (): void => {};

+  get isDirty() {
+    return this.lastRevision < this.tag[$REVISION];
+  }
+
   constructor(private value: T, options: SignalOptions<T> = {}) {
+    this.lastRevision = this.tag[$REVISION];
     this.equals = options.equals ?? this.equals;
     this[$WATCHED] = options[$WATCHED] ?? this[$WATCHED];
     this[$UNWATCHED] = options[$UNWATCHED] ?? this[$UNWATCHED];
@@ -53,6 +60,7 @@ class State<T> implements Signal<T> {

   get(): T {
     consumeTag(this.tag);
+    this.lastRevision = this.tag[$REVISION];
     return this.value;
   }

@@ -71,6 +79,10 @@ class Computed<T = unknown> implements Signal<T> {
   private [$WATCHED] = (): void => {};
   private [$UNWATCHED] = (): void => {};

+  get isDirty() {
+    return !(this.lastTags && getMax(this.lastTags) === this.lastRevision);
+  }
+
   constructor(private cb: (this: Computed<T>) => T, options: SignalOptions<T> = {}) {
     this.equals = options.equals ?? this.equals;
     this[$WATCHED] = options[$WATCHED] ?? this[$WATCHED];
@@ -78,26 +90,27 @@ class Computed<T = unknown> implements Signal<T> {
   }

   get(): T {
-    if (this.lastTags && getMax(this.lastTags) === this.lastRevision) {
-      if (CURRENT_COMPUTATION && this.lastTags.length > 0)
-        for (let tag of this.lastTags) CURRENT_COMPUTATION.add(tag);
+    if (this.lastTags && !this.isDirty) {
+      if (currentComputation && this.lastTags.length > 0)
+        for (let tag of this.lastTags) currentComputation.add(tag);
       return this.lastValue;
     }

-    let previousComputation = CURRENT_COMPUTATION;
+    let previousComputation = currentComputation;
+    currentComputation = new Set<Tag>();

     try {
       this.lastValue = this.cb.call(this);
     } finally {
-      let tags = Array.from(CURRENT_COMPUTATION ?? []);
+      let tags = Array.from(currentComputation ?? []);
       this.lastTags = tags;
       this.lastRevision = getMax(tags);

       if (previousComputation && tags.length > 0)
         for (let tag of tags) previousComputation.add(tag);

-      CURRENT_COMPUTATION = previousComputation;
-      CURRENT_COMPUTED = null;
+      currentComputation = previousComputation;
+      // currentComputed = null;
     }

     return this.lastValue;
@@ -109,17 +122,17 @@ class Computed<T = unknown> implements Signal<T> {
 // Analogous to `crypto.subtle`
 function untrack<T>(cb: () => T): T {
   try {
-    CONSUME_TAGS = false;
+    consumeTags = false;
     return cb();
   } finally {
-    CONSUME_TAGS = true;
+    consumeTags = true;
   }
 }

 // Get the current computed signal which is tracking any signal reads, if any
-function currentComputed(): Computed | null {
-  return CURRENT_COMPUTED;
-}
+// function currentComputed(): Computed | null {
+//   return currentComputed;
+// }

 // Returns ordered list of all signals which this one referenced
 // during the last time it was evaluated.
@@ -170,7 +183,11 @@ class Watcher {
   // Returns the set of sources in the Watcher's set which are still dirty, or is a computed signal
   // with a source which is dirty or pending and hasn't yet been re-evaluated
   getPending(): Signal<unknown>[] {
-    return Array.from(this.signals);
+    return Array.from(this.pending());
+  }
+
+  *pending(): Generator<Signal<unknown>> {
+    for (let signal of this.signals) if (signal.isDirty) yield signal;
   }

   [$WATCHER_NOTIFY](): void {
@@ -187,7 +204,7 @@ export const Signal = {
   Computed,
   subtle: {
     Watcher,
-    currentComputed,
+    // currentComputed,
     untrack,
     watched,
     unwatched,
--
<IP_ADDRESS>0.g2953d95d40

@sukima thanks! Going to update PR. GH says your invite is still pending:

@sukima seems this signals implementation is way better at least in unwatch performance.

The github app seems to hide invites? I'll look into the web site version later for the invite.
I'm pleased to know this is working. @NullVoxPopuli  want to pair again to game plan next steps? Should we add more introspection at the cost of performance or not and optimize the current code?


Release v0.3.6

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/195
Originally created by @edgarrmondragon on 2021-08-17 23:15:39

Evergreen Releases - Prep Steps:
An Evergreen release process means we are always releasing. We open a new release ticket as soon as we've completed the prior release. (It's therefore the final step in this checklist.)
"Evergreen Prep" Checklist

[x] Open this Issue
[x] Indicate the version to be released here in the issue's title and here: v0.3.6

If the release number changes (from minor to major or patch, for instance), update the version here and in the issue description.

[x] Provide the planned release date: 2021-08-26

Release Readiness Checklist:
Engineering team, the Monday prior to the release:

[x] Ensure all already-merged commits since the last release have changelog entries (excepting non-user-impacting commits, such as docs fixes).
[x] Create a comment in this issue with pending-but-not-merged MRs potentially shipping.

Otherwise a comment that all known merge candidates are already merged.

[x] Link issues to this issue which have already merged, or are expected to merge.

Release Checklist
Marketing and Product, on the day prior to the release:
Leveraging the combination of linked issues

[x] Review the changelog for grokability, merging an update for clarity/readability/typos if needed.
[ ] Create summary readouts for any planned blog posts, optionally requesting clarification or additional exposition in the #engineering-team channel.
[x] Unlink any 'slipped' issues which are not being included in this release.

Rotating assignee, on the morning of the release:

[x] Changelog updates and version bump:

[x] Create a new branch named release/vX.Y.Z and a corresponding MR.
An automated pipeline (linked to the branch prefix release/v*) will
automatically bump the version and flush the changelog.

[x] Check this box to confirm the automated changelog flush and version bump are complete.

[x] Review the changelog, committing an update for clarity/readability/typos if needed.
[x] Compare against main branch commit history and add any significant user-impacting updates, excluding docs.
[x] Open the Changelog in preview mode, mouse over each link and ensure tooltip descriptions match the resolved issue. Check contributor profile links to make sure they are correct.
[x] Merge the resulting MR to main with the merge commit message Release vX.Y.Z

[x] Cut a release tag from main named vX.Y.Z with Message=Release vX.Y.Z

In response to new tag creation, these steps are performed automatically in Gitlab pipelines:

Abort if tag vX.Y.Z does not match output from poetry version --short
[x] Publish to PyPi

[ ] Open the next Release issue, assign as appropriate, and provide that link here: https://gitlab.com/meltano/sdk/-/issues/203

Announcements, Marketing, and Promotion
Marketing or Product team:

[ ] Post-release announcement steps:

[x] Post announcement to Meltano slack: #announcements
[x] Cross-post (share) to #sdk
Copy-paste to:

[x] Singer slack: #meltano, #singer-sdk
[x] dbt slack: #tools-meltano

[ ] Blog post
[ ] Tweet the blog post

View 24 previous comments from the original issue on GitLab


Add "react-native-email.d.ts" to npm package

Typescript type definition was not included in the npm package. This PR fixes that.

@CoolCyberBrain thanks for the PR 😄


course info scraper bugs

the course info scraper is currently failing on certain courses on certain webpages. Looks like those regex need some tweaking... I'm on it.

development started on branch fixCourseInfoScraper-84

10/10 issue description

certain courses don't have required properties, i.e. credits, desription

some description properties contain the contents of what should be scraped into the separate NOTE property.  working on that now.


.NET property not accessible in derived classes

Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.

[x] Are you running the latest version?
[x] Did you perform a cursory search?

Description
.NET property is not accessible in derived classes where only the setter or the getter has been overridden
a workaround is to use the unbound base class instance method syntax (Ipy2 or Ipy3)
Steps to Reproduce
C# lib
using System;
using System.Collections.Generic;

namespace TestGetter
{
    public class BaseClass
    {
        protected string name = "noname";

        public virtual string Name
        {
        	get { return name; }
        	set {name = value; }
        }
    }

    public class DerivedClass : BaseClass
    {
        public override string Name
        	{
        	set { base.Name = value.ToUpper();}
        	}
    }
}

Python code
import clr
import sys
import System
print(sys.implementation)
print(sys.version)
sys.path.append(r'C:\Users\****l\Documents\SharpDevelop Projects\TestGetter\TestGetter\bin\Debug')
clr.AddReference("TestGetter")
from TestGetter import BaseClass, DerivedClass

d = DerivedClass()
b = BaseClass()

b.Name = 'BaseClass Name'
d.Name = 'DerivedClass Name'
print("#" * 40)
print(b.Name)   # ok
print("#" * 40)
try:
	print(d.Name)   # TypeError: property cannot be read
except:
	import traceback
	print(traceback.format_exc())
print("#" * 40)
try:
	print(BaseClass.Name.GetValue(d))  # workaround ok
except:
	import traceback
	print(traceback.format_exc())

Result

Thanks for the report, I was able to reproduce the issue.


How to train this model?

Thanks for your interest. The training script has not been released. We will release it in the near future. Stay tuned!

when will release the traing script? @FengLi-ust

when release training code?

We have released the training code.


Update spring-boot's version to 2.3.5

Update spring-boot's version to 2.3.5

/azp run java - spring - tests


dump_dynamical_matrices from TDEP to QE

Dear tdep developers,
    At website (https://github.com/tdep-developers/tdep/tree/main/src/dump_dynamical_matrices), you give us a tool to  extract the dynamical matrices fromTDEP to ABINIT. It is not known whether a tool can be provided to realize the dynamical matrices from TDEP to QE.

Best wishes
Donglin Guo

Hi Donglin,
indeed - the idea is to have a general tool usable by other DFT / DFPT
platforms. For the moment it only outputs abinit format DDB files, but it
should be quite simple to export qe as well. The reading in and conversion
to bohr/Hartree atomic units is done already.
best
M.
On Tue, Apr 23, 2024 at 4:47 PM Guodonglin-cqust @.***>
wrote:

Dear tdep developers,
At website (https://github.com/tdep-developers/tdep/tree/main/src/dump_dynamical_matrices), you give us a tool to  extract the dynamical matrices fromTDEP to ABINIT. It is not known whether a tool can be provided to realize the dynamical matrices from TDEP to QE.

Best wishes
Donglin Guo
—
Reply to this email directly, view it on GitHub
https://github.com/tdep-developers/tdep/issues/61, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWOT3642WHKDFHQEDQPEZLY6ZX65AVCNFSM6AAAAABGVDEPFSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TSMBYGI4TQNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Professor Matthieu J Verstraete
Fellow, American Physical Society
Chair, Steering Committee, European Theoretical Spectroscopy Facility
www.etsf.eu
Alumnus Fellow, Young Academy of Europe  yacadeuro.org

Institute for Theoretical Physics (ITP) Department of Physics
Buys Ballot Gebouw/Building, Princetonplein 5, office
University of Utrecht,  3584 CC Utrecht
ITP Secretariat: +31 30 253 5928 E-mail<EMAIL_ADDRESS>
Group web page (Liège): http://www.nanomat.ulg.ac.be/

Nanomat lab, Q-Mat center, Université de Liège
Département de Physique, Bat. B5a, 4/50
Allée du 6 août, 19 B-4000 Sart Tilman, Liège Belgium
Phone : +32 4 366 90 17

European Theoretical Spectroscopy Facility (ETSF)

Mail<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Dear Professor,
When I type "dump_dynamical_matrices -qg 3 3 3",  i can not produce the file of outfile.many_dynamical_matrices_DDB. I find the main.f90 file has a lot of comment sections using !, so the outfile.many_dynamical_matrices_DDB can not be generated by dump_dynamical_matrices command.
best
Donglin Guo

Hi Donglin,
have you tried running the test suite? Does that work? See the python and
makefile scripts - it should run the dump_xxx as well, and that would be a
first step before you try your own inputs. dump_xxx requires the
forceconstants and ucposcar files as input (I think that's all that is
needed).
M.
On Sun, Apr 28, 2024 at 3:08 PM Guodonglin-cqust @.***>
wrote:

Dear Professor,
When I type "dump_dynamical_matrices -qg 3 3 3", i can not produce the
file of outfile.many_dynamical_matrices_DDB. I find the main.f90 file has a
lot of comment sections using !, so the outfile.many_dynamical_matrices_DDB
can not be generated by dump_dynamical_matrices command.
best
Donglin Guo
—
Reply to this email directly, view it on GitHub
https://github.com/tdep-developers/tdep/issues/61#issuecomment-2081479928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWOT3YIZ6QNLLJEHFMMHWLY7TYEDAVCNFSM6AAAAABGVDEPFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGQ3TSOJSHA
.
You are receiving this because you commented.Message ID:
@.***>

--
Professor Matthieu J Verstraete
Fellow, American Physical Society
Chair, Steering Committee, European Theoretical Spectroscopy Facility
www.etsf.eu
Alumnus Fellow, Young Academy of Europe  yacadeuro.org

Institute for Theoretical Physics (ITP) Department of Physics
Buys Ballot Gebouw/Building, Princetonplein 5, office
University of Utrecht,  3584 CC Utrecht
ITP Secretariat: +31 30 253 5928 E-mail<EMAIL_ADDRESS>
Group web page (Liège): http://www.nanomat.ulg.ac.be/

Nanomat lab, Q-Mat center, Université de Liège
Département de Physique, Bat. B5a, 4/50
Allée du 6 août, 19 B-4000 Sart Tilman, Liège Belgium
Phone : +32 4 366 90 17

European Theoretical Spectroscopy Facility (ETSF)

Mail<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Dear Professor,
In test suite, "dump_dynamical_matrices -qg 3 3 3" works well, it could output the outfile.many_dynamical_matrices_DDB.
i want to  export the dynamical_matrices of qe, and i try to modify the main.f90 file,
the attach file is the main.f90 file, the line 211-223 line is following:
do a2=1,uc%na
do y=1,3
  jj=(a2-1)*3+y
  do a1=1,uc%na

!      do x=1,3
ii=(a1-1)*3
dynmat(ii,jj)=dynmat(ii,jj)*sqrt(uc%mass(a1)*uc%mass(a2))
write (u,'(1x,i5,1x,i5,1x,i5,1x)') a2, a1
write (u,'(1x,f12.8,1x,f12.8,1x,f12.8,1x,f12.8,1x,f12.8,1x,f12.8,1x)') dynmat(jj,ii+1),dynmat(jj,ii+2),dynmat(jj,ii+3)
!      enddo
enddo
enddo
enddo
main.zip
The code can be successfully compiled, but it can not output the matrix of QE, could you help me,
thank you vey much.
best
Donglin Guo

Hello Donglin,
The clean way to do this is to implement a method in the
forceconstant object, e.g. write_to_qe to mirror write_to_anaddb
You also do not give us any information about what is going wrong (what
does "can not output" mean?). Your code is generic but looks normal.
Finally, you are using a random unit "u" for fortran writing. You are
probably not turning on the flag readqpointsfromfile, so u is not even
initialized.
I don't know your proficiency with fortran, but a basic googling will help
you with this file handling stuff.
M.
On Fri, May 3, 2024 at 8:48 AM Guodonglin-cqust @.***>
wrote:

Dear Professor,
In test suite, "dump_dynamical_matrices -qg 3 3 3" works well, it could
output the outfile.many_dynamical_matrices_DDB.
i want to export the dynamical_matrices of qe, and i try to modify the
main.f90 file,
the attach file is the main.f90 file, the line 211-223 line is following:
do a2=1,uc%na
do y=1,3
jj=(a2-1)*3+y
do a1=1,uc%na
! do x=1,3
ii=(a1-1)*3
dynmat(ii,jj)=dynmat(ii,jj)*sqrt(uc%mass(a1)*uc%mass(a2))
write (u,'(1x,i5,1x,i5,1x,i5,1x)') a2, a1
write (u,'(1x,f12.8,1x,f12.8,1x,f12.8,1x,f12.8,1x,f12.8,1x,f12.8,1x)')
dynmat(jj,ii+1),dynmat(jj,ii+2),dynmat(jj,ii+3)
! enddo
enddo
enddo
enddo
main.zip https://github.com/tdep-developers/tdep/files/15196899/main.zip
The code can be successfully compiled, but it can not output the matrix of
QE, could you help me,
thank you vey much.
best
Donglin Guo
—
Reply to this email directly, view it on GitHub
https://github.com/tdep-developers/tdep/issues/61#issuecomment-2092405238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWOT35XS74DRKT7QUR4OO3ZAMXKLAVCNFSM6AAAAABGVDEPFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGQYDKMRTHA
.
You are receiving this because you commented.Message ID:
@.***>

--
Professor Matthieu J Verstraete
Fellow, American Physical Society
Chair, Steering Committee, European Theoretical Spectroscopy Facility
www.etsf.eu
Alumnus Fellow, Young Academy of Europe  yacadeuro.org

Institute for Theoretical Physics (ITP) Department of Physics
Buys Ballot Gebouw/Building, Princetonplein 5, office
University of Utrecht,  3584 CC Utrecht
ITP Secretariat: +31 30 253 5928 E-mail<EMAIL_ADDRESS>
Group web page (Liège): http://www.nanomat.ulg.ac.be/

Nanomat lab, Q-Mat center, Université de Liège
Département de Physique, Bat. B5a, 4/50
Allée du 6 août, 19 B-4000 Sart Tilman, Liège Belgium
Phone : +32 4 366 90 17

European Theoretical Spectroscopy Facility (ETSF)

Mail<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>


[1.10] Backport: fix(PackagesTab): provide empty message for catalog search

Backport changes from #3231 that provide a message indicating when no results were found when searching Catalog page.
Closes DCOS-41396
Testing
Go to Catalog page and try searching using strings that will match as well as strings that won't. Ensure regular filtering happens as expected and ensure non-matching strings show the empty message. Ensure 'view all' clears the filter as expected.

Some linting issues
./src/js/pages/catalog/PackagesTab.js
  17:44  error  Follow `prettier` formatting (expected '\n' but found ' ')  prettier/prettier

Linting fixed but test failure looks like it could be legit. Looking into it

run integration tests


fixed bug

Pull Request Format
PR Removed Repeated Contact Us
Issue #0 : Repeated Contact Us solved
Type of PR

Repeated Contact Us.
[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to Repeated Contact Us
Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

Thank you for reviewing my pull request!

I will provide the working videos

https://github.com/user-attachments/assets/e1b7f1a2-587b-4d29-92d1-4012253030cf

@Deepikakolli4, you didn't provide any issue number or PR name. Could you clarify what exactly you would like me to check?


Create Admin users with control over one or more facilities

Currently our users are exclusively guests, authenticated via Guardian JWT links, and we use a basic auth hex module to manage admin areas of the site with a single login.
PR #161 adds multi-facility support, but adminsitration is still global.  We either need to extend some users with limited admin priveleges and provide a proper login based authentication for them (while maintaining some users who do not have email etc for JWT/link based login), or make a new admin type of user managed seperately.  Whoever tackles this can decide best approach, but probably using https://github.com/smpallen99/coherence or https://github.com/ueberauth/ueberauth are the two main approaches, but alternatives are welcome.  I would guess slight bias toward ueberauth starting with https://github.com/ueberauth/ueberauth_identity because we already have Guardian and want that to continue working, and I beleive they are maximally interoperable, unless we create an entirely new user type, in which case Coherence may be equally easy.  For now, an admin should probably have complete control of any facility they're linked to, and they shouldn't be restricted to only one facility.  We also want to entirely replace the current basic auth system and create a super-admin role that can modify any facility

I think probably a few tiers of auth..

OP admin: (godlike control over all, though we probably do want to have action logging at some point. )
Site Admin: (Control over stock and users at specific locations could be granted this access to multiple locations or one)
Volunteer/Worker: Can enable a client/family size.
Client: Can make orders.

My understanding is that after enabling guardian it gets a lot easier to enable things like Google SSO which in the US is very useful since they give out free business accounts to non-profits and are thereby one of the favorite email suppliers for non-profits... makes it easy to enable permissions to people based on their agency.

Agreed re Ueberauth (not Guardian), another good reason for that bias.
For additional tiers of auth, that's fine but let's avoid too much scope creep here, we can add followup stories (or new stories to this epic), but let's try and keep the stories well scoped and small/iterative.


using ptable with primeng

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ X] support request

Current behavior
Using ptable from primeng does not work when using html tables in the template since Formly-field tag is render just before every th or td for columns or cells and hence the browser does not correlate the tr and th/td to keep the table alignment.
Expected behavior
there should be a way to suppress formly-field tag or render it as attribute.
Minimal reproduction of the problem with instructions
https://angular-cqx5uc.stackblitz.io
UI Bootstrap: https://stackblitz.com/edit/ngx-formly-ui-bootstrap
UI Material: https://stackblitz.com/edit/ngx-formly-ui-material
-->
What is the motivation / use case for changing the behavior?
want to implement table control.
Please tell us about your environment:
OSX, WebStorm

Angular version: 2.0.X
7

Browser: [all]

Language: [all]

Node (for AoT issues): node --version =

managed to make it work by doing this:
https://stackblitz.com/edit/angular-cb2dbs


Why are debugging tools classified under "windows drivers"?

The debugger interfaces are widely used by anyone wanting to handle crash reporting for their software. I would never think to look under hardware/driver development to find this stuff, they are just general development tools aren't they?

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

ID: 68be4f3a-a792-45da-3c43-533aed0f89b1
Version Independent ID: 2cc4d72a-3053-6f06-8613-61e7a144e094
Content: Debugging Tools for Windows (WinDbg, KD, CDB, NTSD) - Windows drivers
Content Source: windows-driver-docs-pr/debugger/index.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@billw2012 - That is an interesting question. Historically the work for kernel code (vs. user mode app dev work) was done by device driver developers. Many device developers write code to to talk to hardware, so that is I think why the debugger docs have been associated with the "Windows Driver Kit" or WDK. Other dev environments with their debuggers such as Visual Studio, VS Code or Eclipse are typically used by managed code developers.  The good news is using a search engine, the WinDbg debugger docs can be located. But thanks for the feedback on where the debugging tools might be located on docs.microsoft.com.


Is it possible to add translation function? Not online but just as open webui function

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I am a bit confused at what you are asking here.
Are you asking if there is a way to implement an offline translation library? If so, you can do this with a tool, a function, or a pipeline, however there aren’t many great offline translation libraries to my knowledge.
Please fill out the template when you submit issues.

https://openwebui.com/f/iamg30/libretranslate_filter

https://openwebui.com/f/iamg30/libretranslate_filter

This function requires further setup (LibreTranslate integration into Open WebUI) to utilize.
https://openwebui.com/f/justinrahb/google_translate/ on the other hand, should work right out of the box, yeah? 😍


Obvious exact match missing from results

Describe the bug
I was testing out my search implementation, and it was mostly going well until I tried using a specific keyword (in my example case, it was "SAML".) Despite being an exact match in many items in the array, I get no results. Perhaps I'm missing some key configuration, or I'm severely misunderstanding the way Fuse works, but my expectation is that this would be a slam dunk for a search result match.
Version
5.1.0
🔬Minimal Reproduction
On the live demo page, this is reproducible with the following:
list.json
[
  {
    "heading": "Update",
    "text": "The Users page provides many options for adjusting a user, such as SAML"
  }
 ]

main.js
const options = {
  isCaseSensitive: false,
  includeMatches: true,
  keys: [
    "heading",
    "text"
  ]
};

const fuse = new Fuse(list, options);

// Change the pattern
const pattern = "SAML"

return fuse.search(pattern)

Working as expected. The problem is the combination of location, distance & threshold.
Specifically:

location defaults to 0
distance defaults to 100
threshold defaults to 0.6

The calculation for it be a match (whether fuzzy or exact) takes into account how far the pattern is from the expected location, with a threshold calculation (see here)
With the above defaults, for it to be considered a match it would have to be within (threshold) 0.6 x (distance) 100 = 60 characters away from the expected location.
However, in your case, "SAML" appears at index 67.
To address, you can either change distance to a larger number, or change the threshold. I would recommend the former.
Separately, I'm working on ways to exclude distance & location from the calculation, so that people don't have to worry about fiddling with these options.

Gotcha, thanks for the explanation. I'm thinking fuzzy search may be overkill for my case, and I should just tackle my problem with a more naive search. Thanks for the explanation.


Add - Available transaction date range to API

Contact Details
.
Issue category
Refinement
Issue description
Declare the date range of data available ("from" to "to range) on the "/transactions" or "/accounts" API.
Issue reasoning
According to the FinMa proposal, the "service user" (aka Nicht-kontoführende Bank) has to keep the cached data in sync with the "service provider" (kontoführende Bank).
To simplify this process and the initial loading of data, knowing the data range would be very helpful.
Request
Add a "from" and "to" date regarding the available transactions to the API
Proposed change
to be discussed

Affected API's
AIS
Code of Conduct

[X] I agree to follow this project's Contribution Guidelines

Meeting Notes 12.12.24
The new issue needs to be presented by @ochatelain on next meeting.


Update table extension tests to call skipLocal for any test that typically can't be run locally

Make sure you have the recommended RBAC roles for running tests locally (see: AutomatedTestsCredentials.md)
Update table extension to the latest testing package
Make sure your local environment creds file is up to date with key vault
Run the tests locally to verify that they are working
For any tests that fail, see if it is because of needing to run with actual test Azure connections/credentials that have varying permission levels
For those tests, call skipLocal to skip them when running locally

table-extension only uses credentials that work locally. We don't need to do anything for this task.

@JasonYeMSFT Was a fix merged for this?


[TW#25929] ethernet: infinite loop if phy cannot be initialized

Both phy_lan8720_init() and phy_tlk110_init() calls esp_eth_smi_wait_value() in an infinite loop which, in case phy cannot be initialized for some reason, blocks the whole system, eventually causing task watchdog timeout.
I think there should some kind of timeout, the function should exit with failed status which should propagate to esp_eth_enable() function, returning ESP_FAIL.
...
E (784552) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0 (mask 0xfff0). Current value 0xffff
E (785552) emac: Timed out waiting for PHY register 0x2 to have value 0x0007 (mask 0xffff). Current value 0xffff
E (786552) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0 (mask 0xfff0). Current value 0xffff
Task watchdog got triggered. The following tasks did not reset the watchdog in time:
 - mp_task (CPU 1)
Tasks currently running:
CPU 0: IDLE
CPU 1: IDLE
E (787552) emac: Timed out waiting for PHY register 0x2 to have value 0x0007 (mask 0xffff). Current value 0xffff
E (788552) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0 (mask 0xfff0). Current value 0xffff
E (789552) emac: Timed out waiting for PHY register 0x2 to have value 0x0007 (mask 0xffff). Current value 0xffff
...

Linking with https://github.com/espressif/esp-idf/issues/2141

Thank you for the link, I hope it will be addressed in the esp-idf.

The issue is slightly different than the linked one as the blocking occurs on different place in code.
It looks like there are infinite loops in the ethernet componnent in several places.
This is realy a bad behaviour, any function should fail gracefully in all possible scenarios instead of blocking (or resetting) the whole system.
The ethernet component developers should realy look at the code and fix this.

Yes I know, just suggesting they should be fixed together. Some of the while loops for the internal Mac registers might be ok although maybe not if something kills the peripheral clock.

I also had same situation ones but bug gone after turn off/on power and never happened again

@loboris Thanks for your advice. The infinite loop problem will be fixed in the newest master branch later.

hi everyone. i'm facing the same issue but with different ethernet shield.
FYI, i'm using ENC28J60 and following are the error appear on arduino serial monitor.
E (1033) emac: Timed out waiting for PHY register 0x2 to have value 0x0007(mask 0xffff). Current value 0x0000 E (2033) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0(mask 0xfff0). Current value 0x0000 E (2033) emac: Initialise PHY device Timeout
i did the test using example code in the library from http://www.fisch.lu/junk/ESP32-Ethernet.zip
hope the details above will provide enough information regarding this issue. regards.


[UI] Status bar color will not change when I start debugging from touchbar

When I start debugging from touch bar, status bar color not change, if I start debugging from ui or from shortcut(F5) status bar color will change
CHECK THIS VIDEO

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

VS Code Version: 1.58.2 (Universal)
OS Version: MacOS BigSur 11.4
Version: 1.58.2 (Universal)
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:09:06.581Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.5.0

Steps to Reproduce:

Start debugging from touchbar

That is because you have been touching the Run button, not the Debug button. When we just Run (start without debugging) we do not hit breakpoints and we do not change the status bar color

Is there a possibility to modify touchbar buttons?

Not at the moment. We might change this in the future.


🐛 Bug Report: Safari wrong fonts

📜 Description
In desktop Safari wrong fonts are displayed.
👟 Reproduction steps
Open DocsGPT on desktop Safari.
👍 Expected behavior

👎 Actual Behavior with Screenshots

💻 Operating system
MacOS
What browsers are you seeing the problem on?
Safari
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?
None
🧑⚖ Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, can i solve this issue

Hi @HarshitVashisht11 , how are things going with the issue?

@pabik Could you please assign these tickets? I will start working on these issues.

@staticGuru are you still working on this, I came across this issue today and know the solution to this. I can submit a PR for this in case you are stuck. Thanks!

@dartpain thanks for assigning! Have created the PR.


Missing model files: en_ha

The Google Drive link to the en_ha models are deprecated/wrong.

@WalePhenomenon can you help?

@juliakreutzer Updated the link


Move package folder to src

Part of the new standard that I want to adhere to has no further consequences for the operation of the package.
You may need to run poetry install after a git pull.

Codecov Report
Patch and project coverage have no change.

Comparison is base (260df52) 100.00% compared to head (9c7ba97) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           86        86
  Branches         9         9
=========================================
  Hits            86        86

Impacted Files
Coverage Δ

src/arnhem/__init__.py
100.00% <ø> (ø)

src/arnhem/arnhem.py
100.00% <ø> (ø)

src/arnhem/exceptions.py
100.00% <ø> (ø)

src/arnhem/models.py
100.00% <ø> (ø)

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


Change the text on the FB message

Description
Today we after user is trying to signin/signup through FB Browser we display after the registration massage the following message-
"You can close this window now " we should change the content of the massage and his place in the flow.

User is clicking on the Gooddollar link on FB> User displayed with the intro pages > display the text in a popup>  happy to have you here! unfortunately our wallet is not supported by FB browser. In order to open our wallet please do the following -
Copy Our URL- Copy
Close this window and open your chrome browser and paste our URL there
See you there!

@Esfir-E check if this massage is displayed in other social media's

@iLystopad
I think that we solved the issue with opening the wallet link from facebook.
please verify that user can open a wallet using facebook browser

@sirpy with the last version of the Facebook app it is not displayed. The user is able o sign up, but after sign up is displayed the popup that this browser isn't supported, switch to Chrome or Safari
Facebook app version 3<IP_ADDRESS>.121


Improve Cypher queries for foreign groups and users

Update "Users" and "Groups with foreign domain group membership" Cypher queries to more accurately specify "domainsid" instead of "domain" in the WHERE clause. This resolves an issue where returned results incorrectly included non-foreign domain groups or users
Description
Groups with foreign domain group membership and Users with foreign domain group membership can incorrectly return results that include domain local objects.
Motivation and Context
This changes the queries to specify domainsid rather than domain.
How Has This Been Tested?
Tested in a BHCE dev environment and BHE environments.
Types of changes

[ X ] Chore (a change that does not modify the application functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] Documentation updates are needed, and have been made accordingly.
[ ] I have added and/or updated tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My changes include a database migration.

I have read the CLA Document and I hereby sign the CLA


BackOffice_2 posters site wont build after fresh maven build

After a fresh maven build with mvn clean and mvn process-classes attempting to start the posters site in the console throws errors and crashes unsuccessfully. The site will not be accessible in Chrome and neither is the backoffice. Without a fresh build the site will load but the backoffice will be unavailable (as is to be expected).

Please verify the stability of the current version and/or tag the latest stable version to allow testing.

Resolved, updated the pom and the conf files to include the backoffice models


BirdDog Play

Can we have access to control BirdDog play via its Api
https://birddog.tv/AV/API/index.html#api-_

Support for the Play is built into the new version that will come with Companion v3. This should be in the betas soon.


💡 [FEATURE] - Enhancement of navbar

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
I want to enhance the navbar.
Please assign me this task.
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
No response

Can you explain the enhancement you;re gouing to make?

Enhancing Navbar
contents below the Navbar is overlapping while scrolling, I want to work on this issue

Let me make overlapping free navbar


Question: how to apply device map to a paired model

Hello everybody,
I have been experimenting with Mistral models and have written a small second model to be paired with it. However, I have a machine with 2 GPUs and would like to use both. I am aware that the parallelization accelerate uses is based on splitting the data by batches. How can I apply the device map from the Mistral model to my small second model?
Additional information
The second model which I have written injects a signal into the Mistral model at a strategic layer. However, this is done in a way that removes the possibility of inlining as I do not want to rewrite the model. How can I apply the same device map from the Mistral model?

Hi @EricLBuehler, device_map dispatches the layers of a model to a specific device. You can apply the same device_map from the Mistral model to your small model if they have the same structure. You can get the device_map with model.hf_device_map.

Thank you for your answer. My small model does not have the same structure, so this seems like a problem. I am sure it is a misunderstanding on my part, but if the layers of the model are being dispatched to different devices, then the sequential interdependencies between the layers means that no performance gain is achieved?
Additionally, the signal from my classifier is on one device and is injected to some layers. As such, is it to be impossible for me to utilize multiple GPUs by mapping across the batch dimension?

device_map is used to enable naive model parallelism. See doc here . You won't get performance gain but it will enable the user to load models that don't fit in one gpu.


use rq_total in load_stats_reporter to tell whether there is load

Title: use rq_total in load_stats_reporter to tell whether there is load
Description:
In load_stats_reporter.cc, Envoy use rq_active+rq_success+rq_error to tell whether there is load for a cluster locality.
See https://github.com/envoyproxy/envoy/pull/37083, in some rare cases, rq_total is a better indicator for load: no matter a response is received or not, a request is "handled"(activeStream, cluster picking, host picking, connection creation) by Envoy already.
We should just use rq_total to indicate whether there is load.
https://github.com/envoyproxy/envoy/blob/3a1a72e9d7a272e452bb5499c4dcdc43e1eee5ed/source/common/upstream/load_stats_reporter.cc#L106
[optional Relevant Links:]

related total_issued introduced in https://github.com/envoyproxy/envoy/pull/6784

cc @adisuissa @yanavlasov @karthikbox


feat: Missing transfer instances

Match https://github.com/leanprover-community/mathlib/pull/18247

Please fix error. If the change was simple, feel free to merge yourself
bors d+

Uhoh, looks like we're hitting the same problem as in #1238. I suspect it has to do with Function.Injective.addGroupWithOne now being reducible.
Posted on Zulip.

Looks like this is happy after merging master

Ok, cool. Then let's merge this
bors merge


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1087 ms

Resolved: Bofrost.lu performance has improved in 2cb1f4c after 6 minutes.


pip3 install pyspecs fails

apparently it uses 2.x version of a lib because the error message is:
Collecting pyspecs
Downloading pyspecs-2.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-v9a13ynw/pyspecs/setup.py", line 2, in
import pyspecs
File "/tmp/pip-build-v9a13ynw/pyspecs/pyspecs/init.py", line 3, in
from pyspecs._reporting import ConsoleReporter
File "/tmp/pip-build-v9a13ynw/pyspecs/pyspecs/_reporting.py", line 61
print problem
^
SyntaxError: Missing parentheses in call to 'print'

No. I forgot to add parenthesis to one print.
Fixing it.

It should already be fixed in master.

thnx for the quick response. guess it should be in another issue but post it here: i've tried to build it via setup.py from master and got another error:
running build
running build_py
running build_scripts
error: file '/home/areshytko/repos/pyspecs/scripts/pyspecs_.py' does not exist

It should be fixed too right now.

okay another portion:
In [2]: from pyspecs import given, when, then, the, finish
ImportError: cannot import name 'given'
import pyspecs works
but it contains nothing in it

hmmmm... I sent a PR with a POC that was finally merged. I will fix it in a couple of days, I hope

I was wrong; it wasn't yet.
I've fixed the new problem and improved the travis execution in order to run the examples in addition to tests. It is working right now: https://travis-ci.org/mdwhatcott/pyspecs
In addition, I've fixed some flake8 recomendations and added it to travis.
Please, notice that the new version does not require to import anything. Check the examples.

There's a HUGE disadvantage of not importing the, this, etc. Because I can't use autocompletion for the hints about possible expressions to chain - and it kills all the usability. Honestly. I'm the very new to pyspecs so i don't remember all of them by heart (and I shouldn't!). There must be possibility for autocompletion in IDE and ipython shell, otherwise it's not usable. Also the docs in README contains import statements. I liked the ideas behind the pyspecs a lot, please consider these remarks

The vocabulary is:

given
provided
at
when
and_
then
so
therefore
however
as_well_as
the
it
this
that

So, despite I do not agree with you, because my IDE already completes, it is not a huge dictionary and to have a python import in the specs file is not very clear (specs usually should be written by non-developers), I think it is a good idea to have backwards compatibility and allow that option.
So I'm on it.

Yeah, the vocabulary of initial expressions is not a problem the problem is in remembering further statements such as should_NOT, should.be_empty() etc. it's a nice thing - to be able to press a button and see what options you have. I agree with you. But my primary use case is to use it instead of ordinary unit tests in my daily development cycle. I'm not a zealot of BDD but do believe that they are a "better version" of unit tests. Anyway, thank you!  Should we close this issue?

I'm using this issue to fix this too so I suppose not. Let's fix this here too

The fix I wrote improved the test isolation. But the cost was that I inject the pyspecs methods instead to use the global pyspecs method.
I'm afraid the only way I see to make it is to have a fake version of them.
Please, could you try by adding from pyspecs.dictionary import * instead the current import?

got an error:
In [1]: from pyspecs.dictionary import *
In [2]: this([1, 2, 3]).should.contain(2)
TypeError                                 Traceback (most recent call last)
 in ()
----> 1 this([1, 2, 3]).should.contain(2)
TypeError: 'object' object is not callable

OK. I see. You are trying to run it directly from your IDE, running the .spec file directly. Remember they are fake versions. I'm not sure if this has been a good idea.
The correct way to run them is with pyspecs directory

okay, my fault. I thought it can be used like Expect or Should libraries are used in javascript BDD frameworks. what is pyscpecs directory and how to run with it?

In javascript they have very bad isolation.
Maybe I should go back and remove my changes.
Please, give me a couple of days to think about this.

I am not very fan from Singletons, but here it fits the bill.
It should be fixed, and the import is optional.
Additionally, I found a minor problem with reporting, because steps were not counted correctly.

yeah it works. Thank you. Although because attributes are added dynamically interpreter/IDE can't suggest autocompletion options..
where can I (or other users) find the list of possible attributes of a "should/should_NOT" property?

be_greater_than,
equal,
etc.
only in sources?

Ok, I will add them for tomorrow.
They are here: https://github.com/mdwhatcott/pyspecs/blob/master/pyspecs/_should.py

I've been having a look to the list of attributes of a should/should_not properties. That properties just return the same element, so they just initialize the matcher.
I'm not sure about how your IDE works; maybe it doesn't process properties (ipython 5.1.0 does).
Anyway, this is far far beyond the scope of this issue, what was about installing pyspecs on python3 :)
Regards.

Agree) Thank you! I'm closing this one

btw i've used ipython 4.2. Need to upgrade mine


Suggestion: Change like default on PostgreSQL

Problem Description
As noted in the docs for like and not_like, MySQL and SQLite use case insensitive queries, while PostgreSQL defaults to case-sensitive queries. It might make more sense to default like and not_like to produce ILIKE queries for PostgreSQL, and provide another postgres-specific query for case-sensitive likeness. This could help applications using diesel to be generic across databases.
Checklist

[x] I have already looked over the issue tracker for similar issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)

Diesel does not try to hide differences between databases, therefore the like functions behave like the underlying implementation behaves. For postgresql there is also an ilike function exposed. The basic reason for that is that we don't try to hide the underlying sql. A user should be able to see which sql is generated by just looking at the dsl written query (at least whenever possible).
I don't think we will chance that policy anytime soon therefore I close this issue.  For applications generic across different databases it is possible to abstract over that using some custom trait. That is also possible as third party crate, so maybe just publish it if you think there is some value for others there?


Poor result in Densecap Evaluation

Hello,
I am trying to use the results produced by the provided checkpoint of densecap to evaluate on VG, and after replacing
logprobs(confidence/score),    box,     captions  in addResult() as well as idx_to_token,   vocab_size in model,
in densecap/eval_utils.lua,  I got a mAP result of 0.000609. I found that the number of 'ok' is very small, meaning few ground truth are assigned to predictions. Seems like I have done something wrong.
I combined GRiT's boxes, descriptions and score predictions of a image together,  and fed them into addResult() per image in densecap, but I got a reletively low mAP and I found that the IOU between ground truth and prediction boxes are very small,  could you please tell me what I am wrong with?  Thank you!
Here is the process of replacement:
`  while true do
------- single image ------
counter = counter + 1
-- Grab a batch of data and convert it to the right dtype            batch_size = 1
local loader_kwargs = {split=split, iterate=true}
local img, gt_boxes, gt_labels, info, _ = loader:getBatch(loader_kwargs)
info = info[1]

-- fine the index of corresponding preditions, the indexs of image_id,box,score,descriptions are same in the same image
for index, v in ipairs(my_results.image_id) do
    if tostring(v) == string.gsub(info.filename, '.jpg', '') then
         index_ = index
         print(index_)
    end
end

assert(string.gsub(info.filename, '.jpg', '') == tostring(my_results.image_id[index_]) )

-- replace these with the predictions of the corrsponding image in GRiT
local boxes, logprobs, captions = my_results.box[index_], my_results.score[index_], my_results.descriptions[index_]
local boxes, logprobs = torch.Tensor(boxes), torch.Tensor(logprobs)
local gt_captions = model.nets.language_model:decodeSequence(gt_labels[1])   -- seq: tensor of shape N x T    id_to_tokens      bs = 1

evaluator:addResult(logprobs, boxes, captions, gt_boxes[1], gt_captions)`

Densecap evaluates the results in their box coordinates system. For example, we make change to the output boxes to adapt their coordinates as shown here: https://github.com/JialianW/GRiT/blob/39b33dbc0900e4be0458af14597fcb1a82d933bb/grit/evaluation/eval.py#L100
Did you save results which go through the above code? If not, please follow it to rescale the box.

Line 100 in 39b33db

Yes, I run the
python train_net.py --num-gpus-per-machine 8 --config-file configs/GRiT_B_DenseCap.yaml --output-dir-name ./output/grit_b_densecap --eval-only MODEL.WEIGHTS models/grit_b_densecap.pth
coomand to get the json result of preditions on VG, which has gone through process() to resize the boxes.

I don't think the densecap repo has evaluation issues. We successfully obtain our results by only adding a read function.
Perhaps you didn't get it right because of the box coordinate format. Our saved json is in (lefttop_x, lefttop_y, w, h), while densecap uses (center_x, center_y, w, h). Please make sure to convert to densecap format and try again.
Apart from this, the only other change is how to read the results in lua, which shouldn't have issues or confusing points.

The densecap repo should not have evaluation issues. We successfully obtain our results by only adding a read function.
Perhaps you didn't get it right because of the box coordinate format. Our saved json is in (lefttop_x, lefttop_y, w, h), while densecap uses (center_x, center_y, w, h). Please make sure to convert to densecap format and try again.
Apart from this, I think there are no other places that could make a difference in the results.

Thank you so much!

@Wykay @JialianW Hi
I have a similar issue as @Wykay had before! I appreciate your help
In your evaluation code, are you using denscap dataloader to get the ground truth bounding boxes and captions?
What is the format of the ground truth bounding boxes in test.json and train.json?  Is it (x_topleft, y_topleft,w,h) or (xc,yc,w,h) or (x1y1,x2,y2)?


Change to bind to support unix sockets

The AAF wishes to use Unix sockets for ruby applications instead of having applications (potentially) bind to public interfaces.
The commit 0f4b7f5 directly underpins this need and is the key review-]able here.
I noted some out of date gems so have also patched for security as part of this PR.
Do not merge this PR yet. Co-ordination is required here with Ansible PR https://github.com/ausaccessfed/aaf-ansible/pull/418 and other rails application PR.

Not for merge
These PR are being held until DB changes push through given they also require co-ordination across all projects. We don't want collisions.
@smangelsdorf will restart these PR when appropriate for the DevOps team.

Linking to https://github.com/ausaccessfed/aaf-ansible/issues/391


Incorrect Link

Issue Type
[ x ] Bug
[ ] Feature Request
Priority
[ x ] Minor
[ ] Major
[ ] Critical
[ ] Blocker
Environment

ALL OS's

Description
Links for AppVeyor and TravisCI on the website page for cordova-plugin-globalization show build passing and are actually pointing to the page for cordova-plugin-geolocation, when it should be to it's own plugin page.
To Reproduce: Click on the AppVeyor or TravisCI link on cordova-plugin-globalization page.

The plugin references come from the plugin's Github repository README. You should be able to find the link there, replace it and send a PR with the fix.

I fixed the links in the cordova-plugin-globalization README, so this should fix itself in the docs with the next deploy.


Pisces modal

Pisces card modal including sign with least compatibility, most likely way to die, 1-3 negative traits, and top challenge

As a Pisces, the least compatible would be Geminis or Libras. Their most likely way to die would be by human sacrifice. Some negative traits that Pisces have is they can be easily influenced by their surroundings, careless, rash and ill-disciplined, and Inability to confront reality due to an absence of confidence. Their top challenge can include empathy, boundary setting, self-awareness, indecisiveness.


⚠ Bofrost.fr has degraded performance

In 9c4897d, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1033 ms

Resolved: Bofrost.fr performance has improved in 1346faa after 6 minutes.


⚠ ClamAV has degraded performance

In a3e54db, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 436 ms

Resolved: ClamAV performance has improved in eecabe7.


Make composer create accept any flags or args, and run interactively, fixes #1737

The Problem/Issue/Bug:
#1737 points out that ddev composer create doesn't allow passing very many flags to composer create-project, and it causes all kinds of trouble.
How this PR Solves The Problem:

Stop validating flags
Pass everything directly to composer create-project
Turn on tty if available, so authentication can happen

Manual Testing Instructions:
Try the operations in ddev composer create -h, which should cover all these things. The --no-install and --repository options are probably the most annoyances at this time.
Automated Testing Overview:

Added a --no-install example into the TestComposerCmd

Related Issue Link(s):
OP #1737
Release/Deployment notes:

Artifacts for testing are at https://circleci.com/gh/drud/ddev/17553#artifacts/containers/0

This works for my use case ddev composer create drupal-composer/drupal-project:8.x-dev --stability dev --no-interaction --no-install - thank you!


Webfont fallbacks on missing glyphs in Roboto 400 doesn't work properly in OSX Chrome

Not sure if this is the right place to report webfont related issues but I'll give this a shot. Apologies if this is the wrong place as I'm really stumped about where to report this issue to.
We are using Roboto in our site at the moment and noticed that Roboto 400 doesn't display the fallback font if the glyphs used with Roboto is missing. For example, loading Roboto with font-family: Roboto, sans-serif CSS on a Japanese text will display a lot of missing glyphs characters instead of the text in sans-serif. This behaviour happens to me on a Mac OS X 10.11.5 running Chrome and Chrome Canary. Other browsers don't exhibit this behaviour weirdly enough.
YouTube, which is using Roboto as you may have known, has problems displaying Japanese words in Roboto 400 as well.

You can see that the description is all replaced with missing glyphs and the headings on the suggested videos on the right using Roboto 500 is not affected.

Same goes with Google Fonts, which is using Roboto 400 for their input to ask for words to type to view the same text in the font you choose.

Are you using the web font via the google fonts api or self hosting?
Github.com/google/fonts/issues might be better for this

In this bug's case, both. We self-hosted it but I skimmed over YouTube and Google Fonts and they both are using Google Fonts.

Just found out that the issue belongs to Typekit. I installed Roboto 400, 400 italic, 700 and 700 italic over at Typekit and it seems like the way Typekit handles it produces issues on the font stack. This is what Chrome tells me:

Anyway closing this issue since it's a Typekit/Adobe issue or Chrome's.

This happened to me, and I think its Chrome's issue.


Do not greet the user with the license agreement

This just struck me right after opening the documentation. I think it is not useful at all to have the full license agreement text on the very first page, right after the about section. It takes a lot of space and the user does not need to have so much detail right after opening the docs.
As an alternative, I would propose for example something similar to what the pandas library developer's are writing on their docs landing page.
pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.

To further improve that, the name of the license should link to the actual page with the full license agreement text.

/create-issue-branch


Invitation to contribute

Dear @Syzygy24,
An fork of Jdorn's JSON schema editor is being maintained here: https://github.com/json-editor/json-editor
We'd like to formally invite you to contribute there!

I'll definitely take a look! I'd be happy to move over to a repo with more than just me contributing, if I can get some of the features I added there :)


Change np.float to np.float32

It seems most, if not all other np.float has been changed to np.float32. This np.float caused error when running the interactive demo with python 3.10, numpy 1.24.2

LGTM. Thanks!


scope employee_request:read for DOCTOR and ADMIN

The roles DOCTOR and ADMIN should have a scope employee_request:read

as soon as there is a workaround it was decided to suggest a workaround to MIS but not to change current implementation


Blacklisted Content

Hello,
I am a Real Estate agent (jeff.bua@compass.com), who enjoys using JSBin to create a shareable link to my monthly newsletters. I recently received the message below when attempting to share a link / publish my latest newsletter.

Something went wrong!
But don't worry we're probably on the case. In the meantime you could try refreshing the page, if that doesn't work let us know by creating an issue on the issues page.
The error: 400 BadRequest: Unable to save: Post contains blacklisted content

Is there any way to work around this so that I may continue to publish my newsletter?
I've included my code below:
<html><head>

      <style type="text/css">

@font-face {
font-family: 'Compass Sans';
font-style: normal;
font-weight: 400;
src: url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Regular.woff2') format('woff2'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Regular.woff') format('woff'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Compass Sans';
font-style: normal;
font-weight: 500;
src: url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Medium.woff2') format('woff2'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Medium.woff') format('woff'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Medium.ttf') format('truetype');
}
@font-face {
font-family: 'Compass Sans';
font-style: normal;
font-weight: 700;
src: url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Bold.woff2') format('woff2'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Bold.woff') format('woff'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSans-Bold.ttf') format('truetype');
}
@font-face {
font-family: 'Compass Serif';
font-style: normal;
font-weight: 400;
src: url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-Regular.woff2') format('woff2'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-Regular.woff') format('woff'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Compass Serif';
font-style: normal;
font-weight: 600;
src: url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-SemiBold.woff2') format('woff2'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-SemiBold.woff') format('woff'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-SemiBold.ttf') format('truetype');
}
@font-face {
font-family: 'Compass Serif';
font-style: normal;
font-weight: 700;
src: url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-Bold.woff2') format('woff2'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-Bold.woff') format('woff'),
url('https://d11k51v32u8ru4.cloudfront.net/fonts/2.3.1/CompassSerif-Bold.ttf') format('truetype');
}
:root {
--mc-listings-width: 270px;
}

What Clients Are Saying

This year, I was fortunate to have the opportunity to collaborate with Compass agents on 4 transactions.  Interestingly, the properties were located in 4 distinctly different neighborhoods: Upper East Side, Financial District, Gramercy Park and Long Island City. The camaraderie between and among my Compass colleagues was truly exceptional.  And the experience of working with these agents was a professional highlight for me in 2018. In order of appearance, a BIG shout-out to: Lauren Chao, Eric Fleming, Mark Griffith/Anthony Caserio & Noel Borbon. They are all intelligent, motivated, creative thinkers with the energy and acumen to deal with complex challenges. I am looking forward to teaming up again in 2019!

Real Estate in the News

It's Official, Amazon to Open New HQ in LIC

        Read The Article

WeWork Battle Lines

WeWork's rise pushes landlords to redefine their place in the office landscape. Read the full article here.

How To Climb Hudson Yards’ Vessel Next Spring

If you've walked The Highline lately, you've undoubtedly noticed The Vessel - the tall, honeycomb-shaped public art installation at Hudson Yards. Expected to open in the spring, the building is more than a spectacle: it's also climbable. 6sqft compiled all the details in this article on how to be among the first to ascend the work of art.

Health & Fitness

TCS NYC MarathonNovember 4, 2018My 6th NYC Marathon was...well, take a look at the 1st and 2nd half photos - clearly, a tale of two races.  It was not my finest showing on the pavement but an incredible experience, as always. I redeemed myself 2 weeks later, though...

Philadelphia Half Marathon November 17, 2018 Bounce Back with Passion! Running through the scenic and historic streets of Philadelphia on Saturday was a joy and quite inspiring. I am happy to report, I did just fine, finishing just 4 minutes off my personal best!

Featured Listings

1349 Lexington Ave, Unit 1D

Carnegie Hill
Medical Use | Residential Maisonette

630 1st Ave, Unit 21H

Murray Hill
Condo 1 Bed | 1 Bath

4 Lexington Ave, Unit 9A (Buyer's Broker)

Gramercy Park
1 Bed Duplex | 1 Bath

10-63 Jackson Ave, Unit 6B (Buyer's Broker)

Long Island City
Condo Studio | 1 Bath

242 East 38th Street, Unit 5F

Murray Hill
Studio | 1 Bath

27 East 65th Street, Unit 6E

Upper East Side
1 Bed | 1 Bath

Jeffrey Bua
<EMAIL_ADDRESS>917-991-1792Instagram  Facebook  LinkedIn

Unsubscribe

    </body></html>

I think there was a paste error as your code is in a weird state.  I can't reproduce it.


Add no-boolean-literal-compare rule

PR checklist

[X] Addresses an existing issue: #1910
[X] New feature, bugfix, or enhancement

[X] Includes tests

[X] Documentation update
[X] Enable CircleCI for your fork (https://circleci.com/add-projects)

What changes did you make?
Added the no-boolean-compare rule, which warns for x === true.

how about a more explicit name to clarify that this only lints for literals? no-boolean-literal-compare

thanks, @andy-hanson

Remember to close #1910


User Settings: Email confirmation alert not italicized correctly

Steps

Navigate to a project for which you have an unconfirmed secondary email address.
Navigate to your user settings.
Click on "Account Settings" in the side bar.
Under Unconfirmed Emails, click on "resend confirmation."
Notice italics in the green alert that pops up.

Expected Behavior
That only the email address will be italicized in the alert.
Actual Behavior
The second sentence ("Please check your email and confirm") is also italicized.
Screenshot

I can take this one.


Enabling Location Services

Pull Request
#issue20
Fixes #(issue number)
Description: Currently the project has no support for location services. This issue proposes the integration of location services to address this gap.
Proposed Solution:
To implement location services, we can use the geocoding and geolocator packages to get the coordinates and name of the locality in the app

@LegendSumeet can you assign this issue to me?

Assign me @LegendSumeet under iwoc


Your FFProbe version is too old and does not support -show_streams option, please upgrade.

Hi.
I've searched the problem a little bit. I see, OptionTester is seaching show_streams in FFmpeg's help. Not FFprobe's.
$output = $this->retrieveHelpOutput(); returns ffmpeg -help.
[root@snc845 ~]# ffprobe -help
ffprobe version 2.4.3 Copyright (c) 2007-2014 the FFmpeg developers
built on Nov 30 2014 11:15:32 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-55)
configuration: --disable-yasm
libavutil      54.  7.100 / 54.  7.100
libavcodec     56.  1.100 / 56.  1.100
libavformat    56.  4.101 / 56.  4.101
libavdevice    56.  0.100 / 56.  0.100
libavfilter     5.  1.100 /  5.  1.100
libswscale      3.  0.100 /  3.  0.100
libswresample   1.  1.100 /  1.  1.100
Simple multimedia streams analyzer
usage: ffprobe [OPTIONS] [INPUT_FILE]
Main options:
-L                  show license
-h topic            show help
-? topic            show help
-help topic         show help
--help topic        show help
-version            show version
-buildconf          show build configuration
-formats            show available formats
-devices            show available devices
-codecs             show available codecs
-decoders           show available decoders
-encoders           show available encoders
-bsfs               show available bit stream filters
-protocols          show available protocols
-filters            show available filters
-pix_fmts           show available pixel formats
-layouts            show standard channel layouts
-sample_fmts        show available audio sample formats
-colors             show available color names
-loglevel loglevel  set logging level
-v loglevel         set logging level
-report             generate a report
-max_alloc bytes    set maximum size of a single allocated block
-cpuflags flags     force specific cpu flags
-hide_banner hide_banner  do not show program banner
-f format           force format
-unit               show unit of the displayed values
-prefix             use SI prefixes for the displayed values
-byte_binary_prefix  use binary prefixes for byte units
-sexagesimal        use sexagesimal format HOURS:MM:SS.MICROSECONDS for time units
-pretty             prettify the format of displayed values, make it more human readable
-print_format format  set the output printing format (available formats are: default, compact, csv, flat, ini, json, xml)
-of format          alias for -print_format
-select_streams stream_specifier  select the specified streams
-sections           print sections structure and section information, and exit
-show_data          show packets data
-show_data_hash     show packets data hash
-show_error         show probing error
-show_format        show format/container info
-show_frames        show frames info
-show_format_entry entry  show a particular entry from the format/container info
-show_entries entry_list  show a set of specified entries
-show_packets       show packets info
-show_programs      show programs info
-show_streams       show streams info
-show_chapters      show chapters info
-count_frames       count the number of frames per stream
-count_packets      count the number of packets per stream
-show_program_version  show ffprobe version
-show_library_versions  show library versions
-show_versions      show program and library versions
-show_private_data  show private data
-private            same as show_private_data
-bitexact           force bitexact output
-read_intervals read_intervals  set read intervals
-default            generic catch all option
-i input_file       read specified file

Did you end up resolving this issue?
Having the same issue on IIS

I "fixed" it by making the application pool to run as administrator.
Previously I managed to fix it by giving IUSR and IIS_USRS full permissions to the executable, though that didn't work this time.

@JOOSTR correct that works!


Add rust-lang.org markdown link

I think this was the intention and fixes this from the "What is it" paragraph:
[the Rust programming language][rust].
Making markdown interpret it as a link instead.

Thanks for the fix!
The Travis CI failure is unrelated, I'm looking into that issue separately.


Add images for blue-green deployment

Signed-off-by: faizanahmad055<EMAIL_ADDRESS>

@faizanahmad055 Image is available for testing. docker pull stakater/workshop-excercise:SNAPSHOT-PR-32-87949a31


Automated Package Upgrade

:tada: This PR is included in version 26.0.16 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[project_task_subtask] 8.0 module for v10.0

Hello all,
Is there a migration ongoing for the module: project_task_subtask to v10.0
https://www.odoo.com/apps/modules/8.0/project_task_subtask/
Thanks

@blutecsolutions yes, we did some migration updates, but haven't finished yet due to time shortage.
@GabbasovDinar Can you publish current progress?

Actually, I mistook this module with another one.
We, haven't started to work on project_task_subtask migration yet. Sorry

@blutecsolutions
Glad to inform that we migrated the module project_task_subtask to v10.0


Upgrade Font Awesome to 4.7.0

In order to consume the full set of Font Awesome icons, we need to update to the latest 4.7.0 (we are currently using 4.6.3). This update gives us 41 new icons.
In order to make upgrades easier, we should separate Font Awesome from the PatternFly-Sass-CSS consumable and have it as a separate package in the package.json for each repo. Webpack will need to be configured to place the stylesheets in the correct location.

@SMahil PatternFly has the latest version of Font Awesome built into it. After completing the Less to Sass conversion, this can be closed as well.

outdated - closing


Request: don't install dart if have suitable dart-sdk installed

Steps to Reproduce

install dart-sdk from darklang website
clone flutter
run flutter channel beta

Flutter includes a customized Dart SDK and the Dart builds are tightly bound to a specific Flutter builds. There is no way to reuse external Dart SDKs.


[1.20.1-Forge] Huge FPS drops when using a transmogrified item.

Title^
Versions:
MC: 1.20.1
Forge: 47.1.3
Transmog: 1.2.3
Video: (FPS is in the top left corner.)
https://streamable.com/dfcd8c
- Gbergz

Hey there, thanks for the report!
I can't reproduce this on my machine, so I'd appreciate it if you could attach a spark profiler report from your game.
If you don't know how to do that, you can download spark from here: https://spark.lucko.me/download and then install it just like any other Forge mod. After installing it, run the command /sparkc profiler start --timeout 15 and it will profile the performance of the game for 15 seconds, after which it will give you a link in the chat to the uploaded report!
Just hold a transmogrified item during that time, and I'll be able to figure out what might be causing the FPS drops :)

Will do this. I'll get back to you.

https://spark.lucko.me/dDjKvKX5Z9

Thanks for the profiler results! I managed to replicate the issue (Seems it was the performance-inefficient checks that are negligent in a more vanilla enviornment compounded severly the more mods required them) and I have a version that seems to fix it, at least on my machine.
Could you try this version and tell me if it still impacts your FPS?
transmog-forge-1.2.4+1.20.zip

Seems a lot better from my testings.
Although there's still a small dip in the FPS, as it can be seen on the video below. Not as major at all.
Vid: https://streamable.com/x20wgc
New Profiler: https://spark.lucko.me/NnGdl5hS9J
Maybe can't get any better than this, I am still very much pleased and thank you for the fix.

Hmm, does this version fix FPS drops for you?
transmog-forge-1.2.4+1.20.zip

Tested it now and I am not sure if that made a difference, to be honest.
Definitely drops a bit. Maybe more than the previous one you sent? Not sure.
Vid: https://streamable.com/8024bf
New Profiler again: https://spark.lucko.me/tfEMVkXgzH

Well, I've made one final change that I'd appreciate you trying since it should improve the performance even more (though you don't have to!) transmog-forge-1.2.4+1.20.zip
I'm gonna go ahead and publish the version with these fixes soon, thanks for bringing this to my attention! :)

No problems! I will test it whenever I have time :)

It was better, thanks again :)

Awesome, thanks again for bringing the issue to my attention :)

No problems!


ios 10.0 Navgationbar appears shank.

adjust the navigationbar backgroundImamge can resolve this promble.
set backImage:[UIIMage new ]


maint/fix-spec-warnings

@hlindberg this is to eliminate these warnings from spec runs. Only a small subset are snipped below ;)
./Users/kylo/devel/puppet/lib/puppet/pops/loader/../../../puppet/functions/defined.rb:69: warning: already initialized constant Puppet::Pops::Loader::RubyFunctionInstantiator::ARG_TYPE
/Users/kylo/devel/puppet/lib/puppet/pops/loader/../../../puppet/functions/defined.rb:69: warning: previous definition of ARG_TYPE was here
./Users/kylo/devel/puppet/lib/puppet/pops/loader/../../../puppet/functions/defined.rb:69: warning: already initialized constant Puppet::Pops::Loader::RubyFunctionInstantiator::ARG_TYPE
/Users/kylo/devel/puppet/lib/puppet/pops/loader/../../../puppet/functions/defined.rb:69: warning: previous definition of ARG_TYPE was here
./Users/kylo/devel/puppet/lib/puppet/pops/loader/../../../puppet/functions/defined.rb:69: warning: already initialized constant Puppet::Pops::Loader::RubyFunctionInstantiator::ARG_TYPE
/Users/kylo/devel/puppet/lib/puppet/pops/loader/../../../puppet/functions/defined.rb:69: warning: previous definition of ARG_TYPE was here

I've seen these warnings in 3.x also

That's true. They were introduced in the 3.8 cycle. Closing this in favor of #3950.


Fix dockertest.py

This moves everything from the misc directory to the buildscripts directory, and also fixes the downloader to work against the new .tgz files that docker distributes.
Also drop support for testing 1.8 and 1.9.
(the script runs successfully for me on master atm)

thank you for updating this, LGTM pending CI!

LGTM

Looks like Gordon is AFK. Merging without him.


[$250] Payment issue for #23725

Created via: https://github.com/Expensify/App/issues/23725
This issue is used to create an upwork job that can be used for payment purposes
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01a087027380b4e722
Upwork Job ID:<PHONE_NUMBER>689062400
Last Price Increase: 2024-04-15

UW job created, offers sent, will handle payment summary and completion steps in original GH


Merge Editor: Git Integration Experience

[ ] anyOS @sandy081
[ ] anyOS @amunger
[x] anyOS @daviddossett

Complexity: 4
Create Issue

This is an issue to test the Git integration experience of the 3 way merge editor.
You can use this script to automate creating a conflict.
You can use git merge --abort to reset a merge and start over.
Ideally find a real-world merge conflict that you experienced in the past and resolve it using the merge editor.

Make sure you didn't configure "git.mergeEditor" in your settings
Open a file under conflict. Verify a blue button is shown in the bottom to open the merge editor.
Try to understand and resolve the conflict.
Verify the merge editor can be used to successfully resolve the conflict
Verify accepting a merge conflict works
Verify closing the merge editor works and reasonable messages are shown

still hitting https://github.com/microsoft/vscode/issues/160910 for notebooks, everything else looks fine


Performance problem in the dev mode with zone-js and long-stack-trace-zone

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
I would like to report a bug.

What is the current behavior?
When using multiple div components with multiple attached method bindings (methodX)="methodX()" the performance in the dev mode with hmr is unexpectedly bad compared to a production build (even without AOT). The reason seems to be the included zone.js/dist/long-stack-trace-zone that is producing some ZoneAwareErrors.

Loading a basic component takes more than 4 seconds in the dev mode compared to basically loading instantly in the production mode.

I suspect these errors to be responsible for the performance hit, but don't know where they originate from (I don't see any errors in the console).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
I forked the AngularClass/angular2-webpack-starter repository and provided a demo of the problem under https://github.com/mircowidmer/angular2-webpack-starter/commit/ea6511356b13b833f14d455186ec362d7a90c638. To reproduce the problem, a download of the repository and the following steps should be enough to reproduce the problem:
npm install
npm run server:dev:hmr
Navigating from the home component to the problem component should take longer than expected.

What is the expected behavior?
The loading of the example component should take not much more time compared to the production mode when run in the hmr dev mode.

What is the motivation / use case for changing the behavior?
Developing components in such a slow environment is not really feasible.

Please tell us about your environment:

Angular version: 2.4.6, but also happens on 4.0.0
webpack: 2.3.1
webpack-dev-middleware: 1.10.0
webpack-dev-server: 2.4.1
Browser: Chrome 56
the environment is exactly the same as of commit https://github.com/AngularClass/angular2-webpack-starter/commit/f63bee00abfa4d67de627424df3072706e7b51dd besides my additional commit in the referenced forked repository to showcase the problem.

Other information
The corresponding stackoverflow post: http://stackoverflow.com/questions/43098721/angular4-app-with-webpack-dev-mode-suffers-from-slow-performance-when-using-even
A possible workaround is mentioned in the comment: It's possible to comment out the line
require('zone.js/dist/long-stack-trace-zone'); in the polyfills.browser.ts and then the application performs similarly compared to the production mode.
https://github.com/mircowidmer/angular2-webpack-starter/commit/ea6511356b13b833f14d455186ec362d7a90c638

https://github.com/angular/zone.js/issues/691 seems to be related.

I have the same issue, but in prod mode all is fine


SolidLineConnector and other connectors should have a child parameter.

I want to create a custom timeline. A TimelineTile that will show contents, with a node that has a custom indicator. The node has an endConnector parameter that I think the connector widget should have a child parameter in case you want to connect to another TimeLineTile.
           TimelineTile(
             contents: const Padding(
               padding: EdgeInsets.all(8.0),
               child: Text(
                 "WORK EXPERIENCE",
                 style: TextStyle(
                     color: Colors.white, fontWeight: FontWeight.bold),
               ),
             ),
             node: TimelineNode(
               endConnector: const SolidLineConnector(
                 color: Colors.white,
               ),
               indicator: Container(
                 width: 50,
                 height: 50,
                 decoration: BoxDecoration(
                     borderRadius: BorderRadius.circular(25),
                     color: HexColor('#eab676')),
                 child: const Icon(
                   Icons.work,
                   color: Colors.white,
                 ),
               ),
             ),
           ),
         )),

Solved, No need.


improve docs for EA

The overview document should explain the steps of the EA and how the calculators defined in the input file are used by it.

Fixed in #95


Fix trading strategy.

Codecov Report

Merging #33 (d0b40a9) into main (79c1fb3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main      #33   +/-   ##
=========================================
  Coverage     95.96%   95.96%
  Complexity      490      490
=========================================
  Files           138      138
  Lines          1288     1289    +1
  Branches         69       69
=========================================
+ Hits           1236     1237    +1
  Misses           39       39
  Partials         13       13

Impacted Files
Coverage Δ

...andle/api/domain/model/strategy/TradingStrategy.kt
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Running this on heroku

Is there an easy way to run this on Heroku? Would love to try this out by myself.

Agreed! A heroku app would be more sustainable, in my opinion.


Do minifiers undo this?

I'd just like to have clarified (and preemptively warned about) using a minifier after this. I'm worried they might detect the parenthesis as unnecessary and remove them.

Yes, minifiers will undo this.
Please, see README: https://github.com/nolanlawson/optimize-js#is-optimize-js-intended-for-library-authors


[BUG] Clicking the fullscreen controls button causes crashes or weird behavior on iOS only

Bug description
I have created a production app using this plugin and I have to thank you for all the great work you have done with it, but I found an issue on iOS devices only and that is when the fullscreen button is clicked the app crashes on some iOS  versions (before 13)  it doesn't even print error logs and on other iOS versions (13) the app rotates but the video keeps stuttering and showing weird behavior.
This issue only happens on iOS devices, Android devices are not affected by it at all.
Code
I am posting the code I am using, maybe it is an implementation error (I doubt it since it works perfectly fine on Android)
youtube_player.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:youtube_player_flutter/youtube_player_flutter.dart';

class YoutubePlayerContainer extends StatefulWidget {
  const YoutubePlayerContainer(
      {Key key, @required this.youtubeController, @required this.thumbnail})
      : super(key: key);

  final YoutubePlayerController youtubeController;
  final String thumbnail;

  @override
  _YoutubePlayerContainerState createState() => _YoutubePlayerContainerState();
}

class _YoutubePlayerContainerState extends State<YoutubePlayerContainer> {
  bool loading;
  @override
  void initState() {
    SystemChrome.setPreferredOrientations([
      DeviceOrientation.portraitDown,
      DeviceOrientation.portraitUp,
      DeviceOrientation.landscapeLeft,
      DeviceOrientation.landscapeRight
    ]);
    loading = true;
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Stack(children: [
      Center(
        child: YoutubePlayer(
          bottomActions: <Widget>[
            CurrentPosition(),
            ProgressBar(isExpanded: true),
          ],
          controller: widget.youtubeController,
          showVideoProgressIndicator: true,
          onReady: () async {
            await Future.delayed(Duration(milliseconds: 700));
            setState(() {
              loading = false;
            });
          },
          progressIndicatorColor: Theme.of(context).primaryColor,
        ),
      ),
      if (loading)
        Center(
          child: Container(
            height: 60,
            width: 60,
            child: CircularProgressIndicator(
              strokeWidth: 6,
            ),
          ),
        ),
    ]);
  }

  @override
  void dispose() {
    widget.youtubeController.dispose();
    SystemChrome.setPreferredOrientations([
      DeviceOrientation.portraitDown,
      DeviceOrientation.portraitUp,
    ]);
    super.dispose();
  }
}

And here is where I call the previous widget passing in the controller
YoutubePlayerContainer(
                          thumbnail: thumbnail,
                          youtubeController: YoutubePlayerController(
                              initialVideoId:
                                  YoutubePlayer.convertUrlToId(videoUrl),
                              flags: YoutubePlayerFlags(enableCaption: false)),
                        )

Technical Details:

Device: iPhone (different versions)
OS: iOS 13 and before

@Ayman-Kortobaa  hi, I am also facing the same issue, any work around solution

@Ayman-Kortobaa hi, I am also facing the same issue, any work around solution

The only workaround which really doesn't achieve what I wanted was to remove the fullscreen button and make the screen rotatable, the code snippets are in the original post. I hope someone can find a better workaround or a solution.

@srinivasii  I have found a better workaround and it works perfectly, using SizedBox, I'll post the whole code snippet below because I hope that it helps.
I am not closing the issue yet as the default behaviour of the plugin is causing it.
Here's the code:
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:youtube_player_flutter/youtube_player_flutter.dart';

class YoutubePlayerContainer extends StatefulWidget {
  const YoutubePlayerContainer({Key key, @required this.youtubeController})
      : super(key: key);

  final YoutubePlayerController youtubeController;

  @override
  _YoutubePlayerContainerState createState() => _YoutubePlayerContainerState();
}

class _YoutubePlayerContainerState extends State<YoutubePlayerContainer> {
  int _rotation;
  @override
  void initState() {
    _rotation = 0;
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return RotatedBox(
      quarterTurns: _rotation,
      child: Stack(
        children: <Widget>[
          SizedBox.expand(
            child: YoutubePlayer(
              bottomActions: <Widget>[
                IconButton(
                  icon: Icon(
                    _rotation == 0 ? Icons.fullscreen : Icons.fullscreen_exit,
                    color: Colors.white,
                  ),
                  onPressed: () async {
                    widget.youtubeController.pause();
                    if (_rotation == 0) {
                      setState(() {
                        _rotation = 1;
                      });
                    } else {
                      setState(() {
                        _rotation = 0;
                      });
                    }
                  },
                ),
                RemainingDuration(),
                ProgressBar(isExpanded: true),
                CurrentPosition(),
              ],
              controller: widget.youtubeController,
              showVideoProgressIndicator: true,
              progressIndicatorColor: Theme.of(context).primaryColor,
            ),
          ),
          Align(
            alignment: Alignment.topRight,
            child: IconButton(
              icon: Icon(
                Icons.close,
                color: Colors.white,
              ),
              onPressed: () => Navigator.of(context).pop(),
            ),
          ),
        ],
      ),
    );
  }

  @override
  void dispose() {
    widget.youtubeController.dispose();
    SystemChrome.setPreferredOrientations([
      DeviceOrientation.portraitDown,
      DeviceOrientation.portraitUp,
    ]);
    super.dispose();
  }
}

Should fix with v7.0.0. Feel free to reopen if the issue persists.


Fix chef_client_config template rendering

Description
This fixes the rendering of ohai_disabled_plugins and ohai_optional_plugins properties in the client.rb template.
Related Issue

Fixes https://github.com/chef/chef/issues/12816

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

@PrajaktaPurohit should this be backported to Chef 16 branch?


run with Library

deal not found error
Set assumptions
Run with multi scenario
Unicode support
Update docs

todo : Update docs

2b583c30f3eefe12ec8241403134963375406d3c