[WIP] Feature/limit flask django sql connections

Purpose
Close django connections after request and reset queries before every request for flask app.
Changes
Added a new set of handlers for flask that use internal django methods to reset queries and close old connections.
Side effects
@alexschiller might have a more productive day tomorrow.
Ticket

We'll have to be mindful of Python 2's less-than-ideal import behavior. Specifically, anything that imports from django in the framework package will need to do from __future__ import absolute_import to avoid accidentally importing framework.django.
Got bit by a similar issue in my addons PR, so I thought I'd pass a word of warning.

@chrisseto @sloria Could you review at least the last commit and see if you can think of a less kludgy way to accomplish the same thing? If those handlers are attached while tests are running then the collections are closed twice ... which doesn't work. I looked into the way the django db test case does it and the way pytest django does it and they both appear to be based mostly on magic and hope.

What part of this looks kludgy? It's pretty much exactly what Django does just shoved down flasks throat.
How are the connections closed twice? Wouldn't the closed one get skipped over when close_outdated_more_words is called?

@chrisseto I was thinking the attach_django_handlers kwarg that changes behavior only during testing was kludgy. Not so kludgy that I didn't write it out an put in a PR though.
I think they're being closed twice because the testing stuff closes them with a different method than the close_outdated_more_words thing. The trace is here.

💩


cmake: Individual functional tests cannot be run

Is there an existing issue for this?

[X] I have searched the existing issues

Current behaviour
Running an individual functional test directly is not possible as the files do not exist in the out of tree build. For example, trying to run test/functional/wallet_basic.py from the build dir is not possible.
Expected behaviour
It should be possible to run all functional tests directly. Furthermore, these should be symlinked as making changes to the test in the source directory should result in the executed test also changing without needing a rebuild.
Steps to reproduce
Build normally. Run a functional test by providing the relative path to it as if you were in the root of the source directory.
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
c1e196794c35837b1819b6706c5d909587af1feb
Operating system and version
Arch
Machine specifications
No response

Please see https://github.com/hebasto/bitcoin/pull/226.


Templates need to be in .github

I believe the ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE files need to be in a .github directory to work.

Additionally you'd need something in those files. They're currently empty.

ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE files are added with content.


Test fixes and code coverage automation fixes.

About help test needed Update-Help
Tab completion tests were too stringent. There can be more than 1 matches.
Get-Process test should use $PID.
Improvements to Start-CodeCoverage script with respect to clean up and progress preference.
Removed code for uploading data to coveralls.
Added testexe path to $env:PATH

@SteveL-MSFT  your feedback has been answered. Please have a look.

Chatted with @adityapatwardhan offline and we found it strange that the Should complete about help topic test would fail, because we carry help content files in the package, and we pull it down from nuget package in build. So there shouldn't be a need to call update-help. @adityapatwardhan will investigate further to see what might be the root cause.

@daxian-dbw The updateable help system tests blow away the help and do not restore them. https://github.com/PowerShell/PowerShell/blob/master/test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1#L180

@adityapatwardhan Thanks for finding the root cause! It looks to me that that test shouldn't remove all about*.txt files, as it's testing module help contents and it shouldn't be a problem for about*.txt files to be present. Right?

@daxian-dbw  your feedback has been answered. Please have a look.

@daxian-dbw I added another test fix. Please have a look.

@daxian-dbw All tests have passed. Please have a look.

@daxian-dbw I have updated the tests and all tests pass.

@adityapatwardhan Can you please take a look at the test failures in Travis CI?

@daxian-dbw Thanks for the update.

@daxian-dbw  All tests passed. Ready for merge.


merchants: add secureshift.io

exchange add on of secureshift

Please change the title to:
merchants: add secureshift.io

okay

Important questions (potential blockers):

How long has secureshift been swapping?
How long has secureshift had monero support?

bonus questions (not blockers):
i. Does secureshift have their own xmr reserves
ii. what is secureshift's aml policy (you can send a link)
iii. Does secureshift offer onion/i2p or have a no-logs policy?
thanks

Hello, thank you for your questions.

SecureShift has been operating since March 2023.
SecureShift has supported XMR since the beginning of our operations, and a significant portion of our transactions involve XMR, which, along with some other cryptocurrencies, is a core value coin for us.

i. Yes, SecureShift maintains its own XMR reserves. There are no AML checks over XMR exchanges to any crypto. We do conduct AML checks on BTC, ETH, BNB, and some other coins and tokens.
ii. SecureShift's AML policy can be found here: AML Policy.
iii. We initially offered Onion/I2P services and had a no-logs policy. Currently, these services have been offline for the past year, but we plan to relaunch our online version soon.

our exchange use misttrack aml

In cases where we verify that there was no victim and the flag was false,
we will proceed to complete the exchange order as planned. However, if our
investigation finds that there was a legitimate concern, we will refund the
funds accordingly.
On Tue, 13 Aug 2024 at 11:57 PM, HardenedSteel @.***>
wrote:

@.**** commented on this pull request.
If you refuse to provide data about the origin of the funds sent or...
...SecureShift has the right to freeze the funds for the subsequent return
of funds to the victims
What if there's no victim?
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#pullrequestreview-2236277317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZYKWX2GPZNZMGCT2BDZRJFZLAVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMZWGI3TOMZRG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

In cases where we verify that there was no victim and the flag was false

4.8. If you refuse to provide data about the origin of the funds sent or provide false data, and if the data you provide confirms your connection to criminal activity, SecureShift has the right to freeze the funds for the subsequent return of funds to the victims with the assistance of law enforcement agencies.

What if the flag was true but there's no victim? Such as victimless crimes. This should be clarified.
and please answer the second question i asked above

Regarding point 4.8, if the flag is accurate but there’s no identifiable
victim (e.g., in cases of victimless crimes), we should clarify that the
funds will be forfeited. Alternatively, the funds may be directed to a
donation, as per the administration’s decision.
On Wed, 14 Aug 2024 at 2:09 AM, HardenedSteel @.***>
wrote:

In cases where we verify that there was no victim and the flag was false
4.8. If you refuse to provide data about the origin of the funds sent or
provide false data, and if the data you provide confirms your connection to criminal
activity, SecureShift has the right to freeze the funds for the
subsequent return of funds to the victims with the assistance of law
enforcement agencies.
What if the flag was true but there's no victim? Such as victimless crimes
https://en.wikipedia.org/wiki/Victimless_crime. This should be
clarified.
and please answer the second question i asked above
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2287098621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZ57MUX3HSPUC5KMIZLZRJVIRAVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBXGA4TQNRSGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

What constitutes a crime?
What if its legal in my jurisdiction, but illegal in yours?

What constitutes a crime may vary depending on the jurisdiction involved.
If an action is legal in your jurisdiction but illegal in ours, we will
assess the situation based on the laws and regulations that apply to
SecureShift, including international standards and compliance requirements,
such as those set by the Financial Action Task Force (FATF).
On Wed, 14 Aug 2024 at 3:03 AM, nahuhh @.***> wrote:

What constitutes a crime?
What if its legal in my jurisdiction, but illegal in yours?
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2287175131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZ5VTV4EGWE35MNUWRTZRJ3Q7AVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBXGE3TKMJTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

This information should be included in the terms and conditions

Okay will included this points on terms and conditions
On Wed, 14 Aug 2024 at 6:14 AM, HardenedSteel @.***>
wrote:

This information should be included in the terms and conditions
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2287538215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZ4GPEHF7MPKP7TYFZLZRKR6FAVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBXGUZTQMRRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello Team, any update regarding add on of secureshift

as I mentioned previously your website says its featured on getmonero.org while we didn't merge the pull request. why?

Yes it was mentioned by hoping got listed😊
On Fri, 23 Aug 2024 at 4:23 AM, HardenedSteel @.***>
wrote:

as I mentioned previously your website says its featured on getmonero.org
while we didn't merge the pull request. why?
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2305878541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZ6CA5YDGNOF4MYF4BDZSZTVXAVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVHA3TQNJUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

What about others? how Kraken and Binance featured Secureshift?

Yes we they are liquid partner
On Fri, 23 Aug 2024 at 3:47 PM, HardenedSteel @.***>
wrote:

What about others? how Kraken and Binance featured Secureshift?
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2306775264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZ7W6J7W7DYKNAUUUG3ZS4D4XAVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBWG43TKMRWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sure we will change it with our new upcoming new design update
On Fri, 23 Aug 2024 at 3:52 PM, HardenedSteel @.***>
wrote:

featuring and partnership are different things
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2306783374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZZMDXR7K372W35VJDTZS4EOTAVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBWG44DGMZXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you for your feedback. Secureshift was launched in March 2023 after
years of development, and we’ve successfully completed over 10,000 orders
since then, which led us to apply for listing. Regarding our fees, we
charge a transparent 1% on all transactions, with no additional or hidden
charges.
We understand if the community feels we still need to earn the right to be
listed.
On Fri, 23 Aug 2024 at 6:44 PM, plowsof @.***> wrote:

I think the only chance secureshift can get listed is if they rename and
try again without lying about endorsements and then actually do something
for the monero ecosystem other than take fees. Thats my personal stance on
these swappers.
—
Reply to this email directly, view it on GitHub
https://github.com/monero-project/monero-site/pull/2330#issuecomment-2307071873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEAPDZ7P7WTA3Q4V6GEVK4LZS4YT7AVCNFSM6AAAAABLS3GGZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGA3TCOBXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


[Enhancement]: There is no bridge between similar games(for Example MOVIE GUESSING GAME, WORD GUESSING GAME,MUSIC GUESSING GAME and FLAG GUESSING GAME.

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
I want to connect these similar games via a switch so that user can easily switch between these games.
I also want to change the background of movie guessing game
Describe the solution you'd like
Solution steps
I will make changes in movie guessing games.
I will add a button of three other similar  games(1. Flag Guessing Game, 2. Word Guessing Game, 3. Music Guessing Game) in Movie guessing games.
I will also change the background of movie guessing game.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @TusharChamlikar !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @TusharChamlikar ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


[Enhancement] make TOPN RuntimeFilter support more scenes

support push down to Project
support push down to HashJoin
support push down to AGG/Analytic

dop=16
set enable_sort_aggregate=true;

Q1: select lo_orderkey,lo_linenumber,lo_custkey,lo_orderpriority,lo_orderdate from lineorder join dates on lo_orderdate = d_datekey where lo_orderpriority like '%LO%' order by lo_orderkey limit 10;
baseline: 1.34 sec patched: 0.09 sec
Q2: select distinct lo_orderkey from lineorder_128_buckets order by lo_orderkey limit 10;
baseline: 1.16 sec patched: 0.04 sec

What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[ ] 2.5
[ ] 2.4

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 36 / 36 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/AnalyticEvalNode.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/planner/AggregationNode.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ExchangeNode.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/planner/PlanNode.java
18
18
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ProjectNode.java
6
6
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 40 / 40 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/AnalyticEvalNode.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/planner/AggregationNode.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/planner/RuntimeFilterDescription.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ExchangeNode.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/planner/PlanNode.java
18
18
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ProjectNode.java
6
6
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 40 / 40 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/AnalyticEvalNode.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/planner/AggregationNode.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/planner/RuntimeFilterDescription.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ExchangeNode.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/planner/PlanNode.java
18
18
100.00%
[]

:large_blue_circle:
com/starrocks/planner/ProjectNode.java
6
6
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


7.36.0 breaks mysql.net.connections, reports bogus values

7.36.0 changes the behavior of mysql.net.connections in a way that was probably unintentional.  7.36.0 reports the Connections status variable as a raw value, but that poses a problem because Connections is cumulative.  This is breaking change from 7.35.2, which reported the delta.  That's resulting in completely broken metrics when updating to 7.36.0:

I originally reported this at https://github.com/DataDog/datadog-agent/issues/12150, but I'm moving it here because it's technically an issue with the MySQL check.

This was likely introduced in 70701cd978356fa8c8110df945dfe8120ab5ad9a, which changes Connections from RATE to GAUGE.  Pinging @alexbarksdale

Case number 818908.  Includes a flare.

https://github.com/DataDog/integrations-core/pull/12084

Thanks; I can confirm 7.36.1 fixes the issue.


Color tabs based on directory

Problem: forgetting your folder
When editing a workspace that has very different directories, such as client and server, it's easy to accidentally write insecure code if you think you're in client when you're in server.
Solution: Assign a color to a directory/folder in project and color the tab/file everywhere
Right click on a folder and click 'color directory'. This adds a line to your settings.json:
{
    "workbench.colorCustomizations": {
         "directories": {
             "server": "red",
             "client": "blue",
         }
    }
}

The tab's / file's color will be shown in explorer, git diff, the tab on top, ctrl-tab, and command-p.
See also

#135082 : They propose a more modest and less useful solution of colorizing specific files
https://marketplace.visualstudio.com/items?itemName=orepor.color-tabs-vscode-ext : can only colorize title bar & status bar based on folder. I don't think it would be possible for an extension to do all the colorizations necessary.

Sounds useful, but this should use general glob paths rather then just directories. This way you can color specific file extensions in different colors.

Also related to #62432  #38857 #62104 #97146 #28717 #31308 #21030 #10748 #66640  #92050 #108667 #115792 #124982 #121738 #126689 #129033 #74404  #75719 #35379  . I would judge there is significant demand for this feature.

My use case would be to color tabs based on which "project folder" the file was under, where project folder means a top level folder in the workspace (not sure if there's a better name).
This would allow me to tell at a glance which repo/project a file belonged to, without having to click the tab and look at the displayed path.
To generate unique but persistent colors, I would hash the folder path (or workspace name + folder name) and use the first 3 bytes as the color. It'd also be nice to be able to override the colors - perhaps based on regex - in the settings file. This would mean the colors were still useful even if two folders resulted in very similar hashes.


Add TS typings

Is your feature request related to a problem? Please describe.
QCalendar doesn't have typings yet
Describe the solution you'd like
Provide TS types natively
Describe alternatives you've considered
I created a shim which others can use and expand, but don't have time to type the whole public API
// src/shims-qcalendar.d.ts

declare module '@quasar/quasar-ui-qcalendar' {
  import Vue, { VueConstructor } from 'vue';
  export interface QCalendar extends Vue {
    prev(): void;
    next(): void;
  }
  export const QCalendar: VueConstructor<QCalendar>;
  export interface Timestamp {
    date: string;
    time: string;
    year: number;
    month: number;
    day: number;
    weekday: number;
    hour: number;
    minute: number;
    doy: number;
    workweek: number;
    hasDay: boolean;
    hasTime: boolean;
    past: boolean;
    current: boolean;
    future: boolean;
    disabled: boolean;
  }
  export function parseDate(date: Date): Timestamp;
}

@IlCallo I have started this, but may need some mentoring
  import Vue, { VueConstructor } from 'vue';
  export interface QCalendar extends Vue {
    prev(): void;
    next(): void;
  }

This part doesn't look right, as the QCalendar is just an object that doesn't use vue.extends like Quasar components do.
If I did the definitions for timestamp.js, can I create a timestamp.d.ts in the same folder? Would it be found? I don't understand how src/shims-qcalendar.d.ts would work.
Lastly, I really don't know ts, but I am damn good extrapolator. So, for timestamp.js, this is what I have come up with, please review when you get a chance, thanks:
export interface Timestamp {
  date: string;
  time: string;
  year: number;
  month: number;
  day: number;
  weekday: number;
  hour: number;
  minute: number;
  doy: number;
  workweek: number;
  hasDay: boolean;
  hasTime: boolean;
  past: boolean;
  current: boolean;
  future: boolean;
  disabled: boolean;
}

export interface TimeObject {
  hour: number,
  minute: number
}

export interface AddToDateOptions {
  year?: number,
  month?: number,
  day?: number,
  hour?: number,
  minute?: number,
  second?: number
}

export type TimestampFormatOptions = (timestamp: Timestamp, short: boolean) => object;
export type TimestampFormatter = (timestamp: Timestamp, short: boolean) => string;
export type TimestampMoveOperation = (timestamp: Timestamp) => Timestamp;

export function today(): string
export function getStartOfWeek(timestamp: Timestamp, weekdays: number[], today?: Timestamp): Timestamp;
export function getEndOfWeek(timestamp: Timestamp, weekdays: number[], today?: Timestamp): Timestamp;
export function getStartOfMonth(timestamp: Timestamp): Timestamp;
export function getEndOfMonth(timestamp: Timestamp): Timestamp;
export function parseTime(input: number|string|TimeObject): boolean|number;
export function validateTimestamp(input: string): boolean;
export function compareTimestamps(ts1: Timestamp, ts2: Timestamp): boolean;
export function compareDate(ts1: Timestamp, ts2: Timestamp): boolean;
export function compareTime(ts1: Timestamp, ts2: Timestamp): boolean;
export function compareDateTime(ts1: Timestamp, ts2: Timestamp): boolean;
export function parsed(input: string): Timestamp | null;
export function parseTimestamp(input: string, now?: Timestamp): Timestamp | null;
export function parseDate(date: Date): Timestamp;
export function getDayIdentifier(timestamp: Timestamp): number;
export function getTimeIdentifier(timestamp: Timestamp): number;
export function diffTimestamp(ts1: Timestamp, ts2: Timestamp, strict?: boolean): Timestamp;
export function updateRelative(timestamp: Timestamp, now: Timestamp, time?: boolean = false): Timestamp;
export function updateMinutes(timestamp: Timestamp, minutes: number, now?: Timestamp): Timestamp;
export function updateWeekday(timestamp: Timestamp): Timestamp;
export function updateDayOfYear(timestamp: Timestamp): Timestamp;
export function updateWorkWeek(timestamp: Timestamp): Timestamp;
export function updateDisabled(timestamp: Timestamp, disabledBefore?: string, disabledAfter?: string, disabledWeekdays?: number[], disabledDays?: string[]): Timestamp;
export function updateFormatted(timestamp: Timestamp): Timestamp;
export function getDayOfYear(timestamp: Timestamp): number;
export function getWorkWeek(timestamp: Timestamp): number;
export function getWeekday(timestamp: Timestamp): number;
export function isLeapYear(year: number): boolean;
export function daysInMonth(year: number, month: number): number;
export function copyTimestamp(timestamp: Timestamp): Timestamp;
export function padNumber(x: number, length: number): string;
export function getDate(timestamp: Timestamp): string;
export function getTime(timestamp: Timestamp): string;
export function nextDay(timestamp: Timestamp): Timestamp;
export function prevDay(timestamp: Timestamp): Timestamp;
export function moveRelativeDays(timestamp: Timestamp, mover?: TimestampMoveOperation = nextDay, days?: number = 1, allowedWeekdays?: number[] = [0, 1, 2, 3, 4, 5, 6]): Timestamp;
export function relativeDays(timestamp: Timestamp, mover?: TimestampMoveOperation = nextDay, days: number = 1, allowedWeekdays: number[] = [0, 1, 2, 3, 4, 5, 6]): Timestamp;
export function findWeekday(timestamp: Timestamp, weekday: number, mover?: TimestampMoveOperation = nextDay, maxDays: number = 6): Timestamp;
export function getWeekdaySkips(weekdays: number[]): number[];
export function createDayList(start: Timestamp, end: Timestamp, now?: Timestamp, weekdaySkips?: number[], disabledBefore?: string, disabledAfter?: string, disabledWeekdays?: number[] = [], disabledDays: string[] = [], max: number = 42, min: number = 0): Timestamp[];
export function createIntervalList(timestamp: Timestamp, first: number, minutes: number, count: number, now?: Timestamp): Timestamp[];
export function createNativeLocaleFormatter(locale: string, getOptions: TimestampFormatOptions): TimestampFormatter;
export function makeDate(timestamp: Timestamp): Date;
export function makeDateTime(timestamp: Timestamp): Date;
export function isBetweenDates(timestamp: Timestamp, startTimestamp: Timestamp, endTimestamp: Timestamp, useTime:boolean = false): boolean;
export function isOverlappingDates(startTimestamp: Timestamp, endTimestamp: Timestamp, firstTimestamp: Timestamp, lastTimestamp: Timestamp): boolean;
export function addToDate(timestamp: Timestamp, options: AddToDateOptions): Timestamp;
export function daysBetween(ts1: Timestamp, ts2: Timestamp): number;
export function weeksBetween(ts1: Timestamp, ts2: Timestamp): number;

in v3.1.0 - please give them a try

Thanks! Will try them out (and correct if needed) next time I touch the project which uses this extension

@IlCallo If there is anything to correct, update the QCalendar.json "tsType" key as they are generated from there. If you need somehting new, add to the ui/types/types.d.ts file. It automatically imports any new typing found in QCalendar.json from that file.


added ability to import ansible_port if set on the inventory file

Hi all,
I have the need when importing hosts from the ansible inventory file to also set custom ssh ports per host, since this feature was not available i made the following changes, my code is perhaps not the best, feel free to propose / change anything if needed.
Introduced changes:
When using ansible inventory files with different ssh ports per host defined within the ansible_port option the plugin was not importing that into rundeck, according to rundeck documentation it is expecting the following format:
hostname:port
The proposed change reads, if set, the ansible_port value from the inventory file and change the hostname to defined format, if not set defaults back to port 22.

+1


chore: Add job to label PRs with merge conflicts

Summary
This is used over on the MDN repos through a shared workflow https://github.com/mdn/workflows/blob/main/.github/workflows/pr-rebase-needed.yml
Found this helpful, as it will notify authors when there PR gets merge conflicts so they know that they need to rebase to move a PR forward

Oops, looks like there are some other security settings that is blocking this for now

<EMAIL_ADDRESS>is not allowed to be used in dotnet/docs. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, or matching the following: peter-evans/create-pull-request@, timheuer/issue-notifier@, lee-dohm/no-response@, dependabot/fetch-metadata@, dotnet/docs-tools/actions/sequester@*.

@BillWagner @gewarren would one of you have the permissions to add the extension to the allow list on the repo settings?

@nschonni We've added an exception for this action - thanks!

Although now it's failing with a different error - https://github.com/dotnet/docs/actions/workflows/rebase-needed.yml.
Error: error adding "rebase needed :construction:": HttpError: Resource not accessible by integration
at /home/runner/work/_actions/eps1lon/actions-label-merge-conflict/releases/2.x/dist/index.js:7539:23
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Weird, I also just saw a few that succeeded on some of the pushed branches to the repo https://github.com/dotnet/docs/actions/workflows/rebase-needed.yml?query=is%3Asuccess
I haven't seen this one happen on the mdn/content mdn/translated-content repos running for the last month or so

I tried it on my fork and it seemed to work https://github.com/nschonni/dotnet-docs/actions/runs/3698094150/jobs/6264266087
I also restricted the allowed actions and just allowed that one, but it still passed after that


Fix Install Guide formatting.

Fixes minor formatting issues in the Pipelines installation guide.

thanks for all the fixes and continuously improving the quality @spomorski !
/lgtm
/approve
/meow space


EBI cluster migration to codon

EBI is migrating to a new cluster called codon. The key difference is that codon is in HL, whereas the existing cluster is in HX. More info on the cluster is here: https://sysinf.ebi.ac.uk/doku.php?id=codon_cluster_good_computing_guide
An inventory has been made for all processes, scripts, tasks, that need to be migrated: https://docs.google.com/document/d/1ocTAhI_CMktjWlCA-Ci_t30CZffUrayVNr9p8ilrl_0/edit?usp=sharing
A preliminary deadline of end of 2021 to complete this task has been given.

all issues complete or deprioritised


Add the GPU implementation for IntTensor Unfold function

Description
Add GPU implementation for IntTensor Unfold function (OpenMined/PySyft#1268)
Fixes (OpenMined/PySyft#1268)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Add unit test for GPU version of IntTensor unfold function
[x] Add the usage information in the tests directory (jupyter notebook)

Test Configuration:

CPU: Intel Code i7 (4th Gen), Jupyter Notebook, Python 3.6
GPU: GeForce GT 740M
PySyft Version: 0.1.0
Unity Version: 2017.2.0f3 Personal
OpenMined Unity App Version: latest

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Great job on the unit tests and thank you for also adding end user demonstration to the jupyter notebook!


kbuild should follow the xdg-base-dir specification

This specification defines certain well known directories in a user's home directories.
In particular, kbuild should use store its cache under $XDG_CACHE_DIR if set, and otherwise use ~/.cache/....

There is an existing python library that handles this: https://pyxdg.readthedocs.io/en/latest/basedirectory.html#xdg.BaseDirectory.save_cache_path
This StackOverflow answer recommends using the XDG standard on MacOS too  (though ~/Library/Caches/ is also suggested)


ssr render generated script is missing;

When ssr renders html, it generates this code
<script>self.$R=self.$R||[];_$HY.r["0200001000001000001100"]="$$f"_$HY.r["02000010000010000020"]="$$f"</script>

The generated code is missing; it will cause the generated code to execute incorrectly
https://github.com/ryansolid/dom-expressions/blob/b0016751ad0149e61c93337ce10c135f3f8efe90/packages/dom-expressions/src/server.js#L20

Yeah renderToStringAsync/Stream has it but it is missing from renderToString. Good find.


Unreported loss of precision when mixing big long values with floating-point values in a Column

from Standard.Base import all
from Standard.Table import all

polyglot java import java.lang.Long as Java_Long

main =
    i1 = Java_Long.MAX_VALUE - 123

    c1 = Column.from_vector "X" [i1, 1]
    IO.println c1.value_type
    IO.println (c1.to_vector.at 0 == i1)
    IO.println (c1.to_vector.at 1 == 1)

    c2 = Column.from_vector "Y" [i1, 1.0]
    IO.println c2.value_type
    IO.println (c2.to_vector.at 0 == i1) # This prints true, because `i1` is coerced to double before comparison, so it gets rounded in the same way as in input.
    IO.println (c2.to_vector.at 1 == 1.0)

    c3 = c2.cast Value_Type.Integer
    IO.println c3.value_type
    # But once we convert to integer, we see they are not really equal:
    IO.println (c3.to_vector.at 0 == i1) # False
    IO.println (c3.to_vector.at 1 == 1.0)

As we can see in this example, when we create a Column containing mixed integers and decimals, we coerce all values to double.  We can see that once we convert back to integer, the number we 'take out' is not the same as the one that we did 'put in'.
Obviously, this is a normal behaviour for coercing into floating point values, we cannot do much about it apart from storing such mixed cases using some kind of BigDecimal - but that is rather not the direction we want to go.
However, in line with the philosophy of avoiding data corruption, I think we should warn whenever a coercion like this causes a loss of precision.
I suggest that when building a column from mixed Integers and Floats, whenever we encounter an Integer that cannot be exactly represented (i.e. (long) (double) x != x), we issue some kind of Lossy_Conversion warning (it probably should be aggregated to only report one warning for the whole column).
Silently losing precision seems wrong and can lead to getting wrong results - i.e. when the silent coercion loses precision and then I want to join on a column that was not converted this way - the equality between the values may no longer hold and the join will not find all records leading to wrong results. To prevent that, we should issue a warning so that the user is conscious that a loss of precision is ocurring and can either avoid the lossy coercion or take it into account when going forward.

Agree worth attaching a warning.


Closing modal doesn't unlock the main body

Issue description

components: Modal
reactstrap version #5.0.0-alpha3
import method npm + import
react version #16.0.0
bootstrap version #4.0.0-beta

What is happening?
The modal background isn't clearing to allow access to the main body after closing it.
What should be happening?
Not that...
Steps to reproduce issue

Open a modal.
Close it.

Error message in console
None

Code
https://codepen.io/anon/pen/YEXNMv
There might be something else elsewhere in my code that causes this as well, since that link doesn't actually have the same issue, but I get no errors so I'm not sure how to quickly narrow it down.

Without being able to reproduce the problem, it make the problem difficult to solve. Can you give any more information?
When the issue happens:

Does the <body> have the class modal-open?
Are the modal elements still attached to the body?

What is the value of isOpen (use the react dev tools to see the actual value Modal receives)?

I switched to React 15 and the exact same code didn't have this issue.  I realise the previous information wasn't much help...

I think this is related to an issue where toggling the modal too quickly caused it to get into a bad state. A fix was added in 2cdf225. I am trying to cut a release, but am running into rollup issues. I'll investigate that when I have time and hopefully get a release out soon for you to test.

Please test with the latest release and reopen issue if still occurs

Still happening to me.
Using:

bootstrap: "4.0.0-beta.3"
reactstrap: "5.0.0-beta"
My quick fix was to call:
document.getElementsByTagName('body')[0].classList.remove('Modal_modal-open-3Y')
when the modal is closed but it's a terrible fix haha.


Sync master with release branch and release latest code changes

Question

Can we release the latest changes?
I can see the library supports the latest api like "setMyCommands" etc... but these changes are in the master, not in the release branch so they are not released yet? at least I don't have it after picked the library up in my project.
Right now API documentation is out of sync with the latest release version. (I guess we want to collect documentation from the release branch as well)
So could you please do a new release? Thanks guys!

My bad. I was using typescript and there was missing info in definitions file. Updated types package and everything is okay now. Sorry for bothering you.


Bug: Correct report sending logic

Seems like this breaks the tests, can you have a look?

The failing tests fails on master too

Thanks!


Add data source config to opensearch-dashboards-docker

Related PR: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2563
Signed-off-by: Kristen Tian<EMAIL_ADDRESS>Description
Add data source config to opensearch-dashboards-docker
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi @kristenTian , can you rebase with main branch? Looks like groovy tests are failing for this PR.


Fix issues identified in first tests done in https://github.com/ami-iit/component_ANA-Avatar-XPRIZE/issues/326

We address here the issues raised during the first tests done by @S-Dafarra tracked in https://github.com/ami-iit/component_ana-avatar-xprize/issues/326#issuecomment-921972093).

Based on that list, I distinguish here three types of issues: [bug]s, a.k.a unexpected behaviors which need analysis; identified critical [imp]rovements which require new work; [war]nings during the tool installation. So I tagged the initial list accordingly and classified it along decreasing priority. I also added the following classifications:

The severity (H)igh, (M)edium and (L)ow, depending on the impact a bug or missing improvement has on the tool features and user experience.
The fix or implementation complexity (a rough pre-assessment of the history points).

...

#
type
Severity
Reported Observations
Comments
Tracker

1
[bug]
L
The force visualization connects to the legs' ports, instead of the ones of the feet.

2
[bug]
H
The iCubTelemVizServer remains active in the background when pressing Ctrl+C, and it has to be killed manually every time, otherwise there are address conflicts when restarting.
This is related to the default processing of the event signals SIGTERM, SIGINT, SIGQUIT, which does not implement a robust termination sequence
#34

3
[bug]
H
In the browser interface, if you start the ping, then you refresh the page, there is no way to stop or restart the ping process anymore.

4
[bug]
L
Many of the connections have hardcoded icubSim, so we had to connect manually the internal connections.

5
[imp]
L
It is needed to have a refresh mechanism of the connections with the yarp port without having to restart everything. This could be a bit of a headache also considering the point 1.

6
[imp]
L
A timeout is required when waiting for rpc port replies for avoiding control console infinite lock.

7
[bug]
M
I tried to launch the servers on icub30 while in SSH, and then I tried to run the visualizer on my PC (while in the robot subnet). No signal was displayed. When I launched everything on my PC, I was able to see them.

8
[bug]
L
The plots are missing the unit of measurement.

9
[bug]
H
The input coming from the camera is very delayed (~1 minute), very low quality, and with the blue and red color swapped.

10
[war]
L
There is a warning related to a vulnerability when installing the openmctStaticServer (refer to (https://github.com/dic-iit/element_software-engineering/issues/47#issuecomment-855276088)

11
[imp]
L
When starting the servers, it prints the address to connect to. These addresses contain localhost, hence they cannot be copied easily to other machines.

12
[imp]
L
The timestamp is in UTC time. It would be nice having it in the current timezone (or a select the time zone from the GUI).

13
[imp]
L
It would be nice to be able to set the signal time range from the GUI.

Originally posted by @nunoguedelha in https://github.com/ami-iit/component_ANA-Avatar-XPRIZE/issues/288#issuecomment-922135528

CC @traversaro @S-Dafarra

Dynamic issues list
(numbering matches table in https://github.com/ami-iit/yarp-openmct/issues/33#issue-1001140854)

[ ]  1: The force visualization connects to the legs' ports, instead of the ones of the feet
[ ]  2: #34
[ ]  3: Refreshing the control console browser interface breaks the ping process interface
[ ]  4: The Yarp port names in the script configuration have the hardcoded prefix icubSim
[ ]  5: Add the capability to refresh the Yarp port connections (e.g. in the control console)
[ ]  6: Set a timeout when waiting for rpc port replies for avoiding infinite loop lock
[ ]  7: Set a timeout when waiting for s are visible in the visualizer when the telemetry server and browser are running in different machines.
[ ]  8: The plots in the visualizer interface are missing the measurement units
[ ]  9: The Camera view in the visualizer has a very poor performance compared to the real cameras output
[ ] 10: We get warnings on vulnerabilities during the Node.js servers installation
[ ] 11: Telemetry and Visualization Servers log "localhost" instead of the raw IP address on the output stream.
[ ] 12,13: The measurements time range and time zone (UTC) are fixed, check how to change them from the web interface.


Resync NPC steering

Our steering will be identical to the upstream ones after this is merged

ok nvm it looks like it needs some engine changes to build, i'll have to go in 1 go most likely


[bug report] failed to export image which has manifest list on 1.2.xx containerd

ctr: export failed: content digest sha256:50fc1e1a234bf6576860456f2a2cc960bd76e6c1a5114b1bbfb3621deedaf323: not found

all same as in https://github.com/containerd/containerd/issues/2862 and https://github.com/containerd/containerd/issues/3103
can you backport this PR
https://github.com/containerd/containerd/pull/2622
https://github.com/containerd/containerd/pull/3108
to 1.2.xx releases ?

@LuckySB is this issue fixed by the PRs you mentioned and can it be closed?
The docs still point to this open issue:
https://github.com/kubernetes-sigs/kubespray/blob/master/docs/downloads.md
Thanks!

Sorry. 1.2.x has been EOL'd since October 15, 2020. We wouldn't backport the changes.


Automatic Scrolling Should Be There

I have encountered an issue on site where the automatic scrolling feature does not work as expected. When the output exceeds the visible screen area, users are required to manually scroll down to view the full result. This behavior is counterintuitive and disrupts the user experience.

Hi @VivekBaldha0712
Thanks for the bug report.
Marking this issue to be fixed.

Can I work on this issue?

If yes, then can you assign this issue to me?
So, I can work on this..

Hi @hritikadhikari05
Someone has created a PR already (though it hasn't been merged yet).
If the PR doesn't end up being merged, I'll assign this issue to you.

Join our Discord server to discuss ideas, ask questions, and collaborate with others.

Hi @hritikadhikari05 Someone has created a PR already (though it hasn't been merged yet). If the PR doesn't end up being merged, I'll assign this issue to you.
Join our Discord server to discuss ideas, ask questions, and collaborate with others.

Sure!!


timestamp (ts) verification code needs to be updated to RFC 5816 & 5035

The timestamp (ts) app and crypto are designed to RFCs 3161 & 2634. These RFCs from 2001 and 1999 have been updated by RFCs 5816 & 5035, yet the timestamp code has not kept pace. As a result the current code is unable to verify valid timestamp responses from TSAs which use the newer attributes SigningCertificateV2 and ESSCertIDv2.

Yes.  The TS code is not a priority for the openssl dev team, so if you want it consider making a pull request.

See also PR #206

Both PR's merged, closing this issue.


Error reported in Console: UrlParsing.ts:38 Uncaught (in promise)...

Describe the bug
An error is seen in the console log:
UrlParsing.ts:38 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')     at UrlParsing.ts:38:
After upgrading the Sonatype Platform Browser Extension from <= 2.5.1 to 2.9.0, this error can be see in the console log.
FYI @maurycupitt

:tada: This issue has been resolved in version 2.10.0 :tada:
The release is available on:

Chrome Web Store
v2.10.0
GitHub release

Your semantic-release bot :package::rocket:


[6.5.x] RHBRMS-349: New Item Menu: No Project selected, all items enabled after Perspective reset (#437)

See https://issues.jboss.org/browse/RHBRMS-349
(cherry picked from commit 903d0068908a59bb09ced6da9d2aa0a1165656cc)

This is the corollary of https://github.com/droolsjbpm/kie-wb-common/pull/437 for 6.5.x.

Part of an ensemble:-

https://github.com/uberfire/uberfire/pull/488
https://github.com/droolsjbpm/kie-wb-common/pull/449

Jenkins please retest this (now the upstream issue is fixed)..

Jenkins please retest this.

@Rikkola Hi, would you mind reviewing this please (it's a cherry-pick). Thanks.

Nice, I see you removed some dead code.
+1


Fix segfaults with debug mode code on 64-bit Arm

While getting pony working on 64-bit Arm, we found a bug where the
test-stdlib-debug tests would segfault. Everything worked fine with release
builds, but debug builds would crash.
After investigation, we've found that in codegen_machine in host.cc if the
opt_level is get to either CodeGenOpt::Default or CodeGenOpt::Aggressive
instead of CodeGenOpt::None the problem goes away.
It seems likely that this is an LLVM bug, but that hasn't been established.
We've committed a fix in host.cc that when the target is arm (which is
64-bit arm) that we use CodeGenOpt::Default. This is far from ideal, but gets
us working compilations until we can investigate further.
The end result of this should either be a patch that we upstream to LLVM or
possibly, the discovery that we are doing something wrong with our Arm code
generation that optimization manages to fix.

Hi @SeanTAllen,
The changelog - fixed label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.
Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 3875.md to match the number of this pull request.
The basic format of the release notes (using markdown) should be:
## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.


ENH clean out the C layer warnings

Right now we have a lot of C layer warnings which are

not descriptive
not correct
override other warnings so that the error is not clear at the python layer
inconsistent usage of ccl_cosmology_set_status_message

We need to clean this up and make sure everything is correct.
One thing that might be good to do is to use various C macros to denote the file and line number. This will ease the burden of listing the function name in the string. Also, C99 has a standard function name macro that we can use as well.

@beckermr is this resolved by the above merged PR?

Nope. This is still a big issue in the library. The above PR is where we made this issue.

Ah okay thanks, sorry.


Move line up is broken

move line up
:sob: lines moves up but cursor stays

copy line up suffered from the same bug, please verify that too


document unified views and how to use them

Changes tracking in https://github.com/m-lab/website/tree/sandbox-document-unified-views

Changes tracking in https://github.com/m-lab/website/tree/sandbox-document-unified-views


Having issues with proxy tool

Describe Your Problem:
Hey there - I'm struggling with the proxy tool and I'm sure it's user error.  I've installed the cert but once I configure the proxy on my wifi network, I immediately lose internet connectivity, which prevents me from logging into Xfinity Home.  I've tried on multiple devices, but again, sure I'm doing something wrong.  Any tips?  Let me know if I can provide more detailed repro steps.  Thanks.
Expected behavior:
No response
Logs:
[11/6/2022, 8:15:40 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /startProxy
[11/6/2022, 8:15:41 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /proxyActive
[11/6/2022, 8:16:08 AM] [Homebridge UI] [homebridge-xfinityhome] Terminating child process...
[11/6/2022, 8:16:08 AM] [Homebridge UI] [homebridge-xfinityhome] Child process ended
[11/6/2022, 8:17:43 AM] [Homebridge UI] Changes to config.json saved.
[11/6/2022, 8:17:44 AM] [Homebridge UI] Running Command: sudo -E -n npm uninstall -g homebridge-xfinityhome
[11/6/2022, 8:18:03 AM] [Homebridge UI] Running Command: sudo -E -n npm install -g<EMAIL_ADDRESS>[11/6/2022, 8:19:57 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /startProxy
[11/6/2022, 8:19:57 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /proxyActive
[11/6/2022, 8:20:39 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /token
[11/6/2022, 8:20:52 AM] [Homebridge UI] [homebridge-xfinityhome] node:internal/tls/secure-context:69
    context.setCert(cert);
            ^

Error: error:0909006C:PEM routines:get_name:no start line
    at node:internal/tls/secure-context:69:13
    at Array.forEach (<anonymous>)
    at setCerts (node:internal/tls/secure-context:67:3)
    at configSecureContext (node:internal/tls/secure-context:156:5)
    at Object.createSecureContext (node:_tls_common:121:3)
    at Server.setSecureContext (node:_tls_wrap:1353:27)
    at Server (node:_tls_wrap:1212:8)
    at new Server (node:https:73:3)
    at Object.createServer (node:https:109:10)
    at Proxy._createHttpsServer (/usr/lib/node_modules/homebridge-xfinityhome/node_modules/http-mitm-proxy/lib/proxy.js:106:27) {
  library: 'PEM routines',
  function: 'get_name',
  reason: 'no start line',
  code: 'ERR_OSSL_PEM_NO_START_LINE'
}
[11/6/2022, 8:20:52 AM] [Homebridge UI] [homebridge-xfinityhome] Child process ended
[11/6/2022, 8:21:28 AM] [Homebridge UI] [homebridge-xfinityhome] Terminating child process...
[11/6/2022, 8:22:29 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /startProxy
[11/6/2022, 8:22:30 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /proxyActive
[11/6/2022, 8:23:04 AM] [Homebridge UI] Changes to config.json saved.
[11/6/2022, 8:23:04 AM] [Homebridge UI] [homebridge-xfinityhome] Terminating child process...
[11/6/2022, 8:23:04 AM] [Homebridge UI] [homebridge-xfinityhome] Child process ended
[11/6/2022, 8:23:20 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /startProxy
[11/6/2022, 8:23:20 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /proxyActive
[11/6/2022, 8:23:22 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /token
[11/6/2022, 8:23:28 AM] [Homebridge UI] [homebridge-xfinityhome] node:internal/tls/secure-context:69
    context.setCert(cert);
            ^

Error: error:0909006C:PEM routines:get_name:no start line
    at node:internal/tls/secure-context:69:13
    at Array.forEach (<anonymous>)
    at setCerts (node:internal/tls/secure-context:67:3)
    at configSecureContext (node:internal/tls/secure-context:156:5)
    at Object.createSecureContext (node:_tls_common:121:3)
    at Server.setSecureContext (node:_tls_wrap:1353:27)
    at Server (node:_tls_wrap:1212:8)
    at new Server (node:https:73:3)
    at Object.createServer (node:https:109:10)
    at Proxy._createHttpsServer (/usr/lib/node_modules/homebridge-xfinityhome/node_modules/http-mitm-proxy/lib/proxy.js:106:27) {
  library: 'PEM routines',
  function: 'get_name',
  reason: 'no start line',
  code: 'ERR_OSSL_PEM_NO_START_LINE'
}
[11/6/2022, 8:23:28 AM] [Homebridge UI] [homebridge-xfinityhome] Child process ended
[11/6/2022, 8:24:04 AM] [Homebridge UI] [homebridge-xfinityhome] Terminating child process...
[11/6/2022, 8:24:25 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /startProxy
[11/6/2022, 8:24:26 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /proxyActive
[11/6/2022, 8:24:46 AM] [Homebridge UI] [homebridge-xfinityhome] Incoming Request: /token
[11/6/2022, 8:24:53 AM] [Homebridge UI] [homebridge-xfinityhome] node:internal/tls/secure-context:69
    context.setCert(cert);
            ^

Error: error:0909006C:PEM routines:get_name:no start line
    at node:internal/tls/secure-context:69:13
    at Array.forEach (<anonymous>)
    at setCerts (node:internal/tls/secure-context:67:3)
    at configSecureContext (node:internal/tls/secure-context:156:5)
    at Object.createSecureContext (node:_tls_common:121:3)
    at Server.setSecureContext (node:_tls_wrap:1353:27)
    at Server (node:_tls_wrap:1212:8)
    at new Server (node:https:73:3)
    at Object.createServer (node:https:109:10)
    at Proxy._createHttpsServer (/usr/lib/node_modules/homebridge-xfinityhome/node_modules/http-mitm-proxy/lib/proxy.js:106:27) {
  library: 'PEM routines',
  function: 'get_name',
  reason: 'no start line',
  code: 'ERR_OSSL_PEM_NO_START_LINE'
}
[11/6/2022, 8:24:53 AM] [Homebridge UI] [homebridge-xfinityhome] Child process ended
[11/6/2022, 8:25:46 AM] [Homebridge UI] [homebridge-xfinityhome] Terminating child process...

Config:
{
            "email": "*****",
            "password": "*****",
            "pin": "****",
            "system": "XFINITY_HOME",
            "refresh_token": "token=fZGkx1nRzUGVpURm_uXjm1:APA91bGADvrWUF2qwj9b94FtLRtxveAVxhqwcoAt2zO6ruGakFw2QwK-ctcW5zO-6tAfIMOqy26-GUct7T1uBMT4XkDvJi_nYjqaBDdjtLJPwjzAZGbNhpByWPpJTgYfHbYam3twn-02",
            "motion_accessories": true,
            "contact_accessories": true,
            "light_accessories": true,
            "panel_accessories": true,
            "camera_accessories": false,
            "device_info": false,
            "platform": "Xfinity Home"
        },

Operating System:
Debian
Node Version:
16.18.1
NPM Version:
8.19.2
Homebridge Version:
1.5.1
Plugin Version:
2.4.0

Closed due to inactivity, please comment to re-open


Sync Status and Sharing Clarification

macOS 12.1; Maestral 1.5.2
I tried searching a few parameters but didn't find directly related info, so apologies if a duplicate. All of these comments use DB client as a comparison.
With DB client, it's clear when a file is synced and whether it's stored locally or remotely. In Finder, I don't see this info using Maestral.

Prior to Maestral install, I deleted DB client. At this time, about half my directories were local and half stored remotely.
Now that Maestral sync is complete, do I assume all directories are local?
If so, I don't see a way to change this status to remote. Is it possible?
Having icons similar to DB that indicate sync and storage status would be very helpful.
Related, I see Share options in the contextual menu, but this is only for files or folders themselves. Similar to DB client, is "Copy link" a feature that could be implanted?

Thanks for your help,
-John

Now that Maestral sync is complete, do I assume all directories are local?
Yes, they are all local.

If so, I don't see a way to change this status to remote. Is it possible?

Maestral currently does not support remote files / downloading on demand. This is partially because such functionality is pretty platform specific and I am not sure if there is any way to achieve this on different Linux systems.

Having icons similar to DB that indicate sync and storage status would be very helpful.

Agreed, that would be nice. This should not be too difficult in Finder or Nautilus and I can imagine a plugin system here to provide the functionality for different file managers on different platforms.

Related, I see Share options in the contextual menu, but this is only for files or folders themselves. Similar to DB client, is "Copy link" a feature that could be implanted?

It could be. It's currently supported through the command line interface with maestral sharelink create PATH but not through the GUI. Implementations will again be platform specific.
You can see a pattern here: I've shied away from tight platform integration because it requires quite a bit of work, more than I can take on at the moment for such a hobby project. But some of this may be coming slowly...

Sam,
Truly grateful for your detailed response—especially given this is a side project. This helps me to both manage Maestral now and integrate it going forward.
Blessings,
-John

On Jan 2, 2022, at 12:56 PM, samschott @.***> wrote:
Now that Maestral sync is complete, do I assume all directories are local?
Yes, they are all local.
If so, I don't see a way to change this status to remote. Is it possible?
Maestral currently does not support remote files / downloading on demand. This is partially because such functionality is pretty platform specific and I am not sure if there is any way to achieve this on different Linux systems.
Having icons similar to DB that indicate sync and storage status would be very helpful.
Agreed, that would be nice. This should not be too difficult in Finder or Nautilus and I can imagine a plugin system here to provide the functionality for different file managers on different platforms.
Related, I see Share options in the contextual menu, but this is only for files or folders themselves. Similar to DB client, is "Copy link" a feature that could be implanted?
It could be. It's currently supported through the command line interface with maestral sharelink create PATH but not through the GUI. Implementations will again be platform specific.
You can see a pattern here: I've shied away from tight platform integration because it requires quite a bit of work, more than I can take on at the moment for such a hobby project. But some of this may be coming slowly...
—
Reply to this email directly, view it on GitHub https://github.com/samschott/maestral/issues/561#issuecomment-1003752510, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU5VT3DPA7KVV4HKR3Q4PK3UUCGTZANCNFSM5K6H4P5Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

I suppose someone could write a Finder plug-in that accesses maestral command line and figures out the sync status from there, and shows it (Mac OS).
Good call not adding platform specific things.


[ACS][CallAutomation] Fixing live test to use TestProxy

LiveTest update for CallAutomation with using TestProxy, and various improvements for testings

Enabling all live tests, and re-recorded all live tests
Using TestProxy and Assets repo for saving request/responses (non-events)
Updated to remove printf happening during the call
Properly sanitize values from events recordings
JSON event recording to be saved in proper JSON format

API change check
API changes are not detected in this pull request.


Makes streaming interface works with big files

cf. #28
turns out the io.Reader interface of golang doesn't require the entire input buffer, which simplifies our logic and makes it all work!

Ah, so we were trying to fill the input buffer completely, which was probably corrupting the stream with partial blocks or something like that. Thanks for sorting that out! :+1:


docs: Improve the types of Billboard&BillboardCollection.add and Label&LabelCollection.add

Description
Reopen a closed PR because the PR missed some properties.
I think I have signed the CLA this time, sorry for my previous carelessness :pray: .
It improves the types of Billboard&BillboardCollection.add and Label&LabelCollection.add.
Fix a doc bug that they both do not contain disableDepthTestDistance in option, which should be contained.
Add types about the constructOptions of Label and Billboard. They are copy from BillboardGraphics / LabelGraphics.
Future improvement:
I think it may be need a little discussion that The BillboardGraphics and LabelGraphics already have similar type declarations. Should I
use the type declarations here directly in Billboard and Label,
or declare them in Billboard and Label and then reference them elsewhere,
or simply copy the type declarations and use them in both Label and LabelCollection?
I believe both approaches would not have any impact on the usage of the code (including TypeScript users). However, a less optimal solution might cause confusion during future maintenance.
Issue number and link
close #11813.
Testing plan
The PR is only about docs. Run build-docs and build-ts, and check the effect.
Before: BillboardCollection.add and LabelCollection.add have no intellisense.
After: They should have correct intellisense.
Run npm run build-docs to confirm the document should be correct to show the information.
Author checklist

[x] I have submitted a Contributor License Agreement
[x] I have added my name to CONTRIBUTORS.md
[ ] I have updated CHANGES.md with a short summary of my change
[ ] I have added or updated unit tests to ensure consistent code coverage
[x] I have update the inline documentation, and included code examples where relevant
[x] I have performed a self-review of my code

I checked the result of build-docs and build-ts again. There should not be any more obvious mistakes then.

Great, thanks @s3xysteak! Congrats on your first PR! 🎉


test(client): regression test for directUrl

closes https://github.com/prisma/prisma/issues/17810

This test passes both with and without engine changes because the engine is initialised before the environment variable is unset.

Not really, here's this same PR but with the previous engine https://github.com/prisma/prisma/pull/17827

That said, I can see how this can be flaky and inconsistent so I added your change :+1:

@millsp

Not really, here's this same PR but with the previous engine https://github.com/prisma/prisma/pull/17827

Huh, that's weird, maybe I accidentally used too old engine that didn't have the validation yet? Thank you for double checking and sorry if it was a false alarm!


bugfix can not load favicon.ico in dashboard

bugfix can not load favicon.ico in dashboard
change warong favicon.png to favicon.ico
before:

after:

please help to review @yu199195

Thank you for your contribution


ValueError: '2D_versatile_fluo' is neither a key or alias for 'StarDist3D'

Just updated to the latest version:
╰─ pip show stardist-napari                                      (apple-TF28) ─╯
Name: stardist-napari
Version: 2022.3.30

With the 2D nuclei sample open launching the plugin gives an error:
ValueError: '2D_versatile_fluo' is neither a key or alias for 'StarDist3D'

ValueError                                Traceback (most recent call last)
File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/superqt/utils/_qthreading.py:616, in create_worker.<locals>.reraise(e=ValueError("'2D_versatile_fluo' is neither a key or alias for 'StarDist3D'"))
    615 def reraise(e):
--> 616     raise e
        e = ValueError("'2D_versatile_fluo' is neither a key or alias for 'StarDist3D'")

File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/superqt/utils/_qthreading.py:176, in WorkerBase.run(self=<napari._qt.qthreading.FunctionWorker object>)
    174     warnings.filterwarnings("always")
    175     warnings.showwarning = lambda *w: self.warned.emit(w)
--> 176     result = self.work()
        self = <napari._qt.qthreading.FunctionWorker object at 0x2a7fdaa60>
    177 if isinstance(result, Exception):
    178     if isinstance(result, RuntimeError):
    179         # The Worker object has likely been deleted.
    180         # A deleted wrapped C/C++ object may result in a runtime
    181         # error that will cause segfault if we try to do much other
    182         # than simply notify the user.

File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/superqt/utils/_qthreading.py:356, in FunctionWorker.work(self=<napari._qt.qthreading.FunctionWorker object>)
    355 def work(self) -> _R:
--> 356     return self._func(*self._args, **self._kwargs)
        self._func = <function plugin_wrapper.<locals>._model_change.<locals>._get_model_folder at 0x2a7fdac10>
        self = <napari._qt.qthreading.FunctionWorker object at 0x2a7fdaa60>
        self._args = ()
        self._kwargs = {}

File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/stardist_napari/_dock_widget.py:1007, in plugin_wrapper.<locals>._model_change.<locals>._get_model_folder()
   1005 @thread_worker
   1006 def _get_model_folder():
-> 1007     return get_model_folder(*key)
        key = (<class 'stardist.models.model3d.StarDist3D'>, '2D_versatile_fluo')

File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/csbdeep/models/pretrained.py:92, in get_model_folder(cls=<class 'stardist.models.model3d.StarDist3D'>, key_or_alias='2D_versatile_fluo')
     91 def get_model_folder(cls, key_or_alias):
---> 92     key, alias, m = get_model_details(cls, key_or_alias)
        cls = <class 'stardist.models.model3d.StarDist3D'>
        key_or_alias = '2D_versatile_fluo'
     93     target = str(Path('models') / cls.__name__ / key)
     94     path = Path(get_file(fname=key+'.zip', origin=m['url'], file_hash=m['hash'],
     95                          cache_subdir=target, extract=True))

File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/csbdeep/models/pretrained.py:83, in get_model_details(cls=<class 'stardist.models.model3d.StarDist3D'>, key_or_alias='2D_versatile_fluo', verbose=False)
     81     aliases = _ALIASES.get(cls,{})
     82     alias = key_or_alias
---> 83     alias in aliases or _raise(ValueError("'%s' is neither a key or alias for '%s'" % (alias, cls.__name__)))
        cls = <class 'stardist.models.model3d.StarDist3D'>
        alias = '2D_versatile_fluo'
        aliases = {}
        alias in aliases = False
     84     key = aliases[alias]
     85 if verbose:

File ~/Dev/miniforge3/envs/apple-TF28/lib/python3.9/site-packages/csbdeep/utils/utils.py:91, in _raise(e=ValueError("'2D_versatile_fluo' is neither a key or alias for 'StarDist3D'"))
     89 def _raise(e):
     90     if isinstance(e, BaseException):
---> 91         raise e
        e = ValueError("'2D_versatile_fluo' is neither a key or alias for 'StarDist3D'")
     92     else:
     93         raise ValueError(e)

ValueError: '2D_versatile_fluo' is neither a key or alias for 'StarDist3D'

Also, the widget shows Downloading progress bar, but I don't see any data transmitted. The model should be already on disc, because I can use stardist programatically just fine...
Name: stardist
Version: 0.8.0

Edit1:
Here's a screenshot:

Edit2:
Using Nuclei 3D and 3D model works fine, so somehow all model choices are compared vs. StarDist3D.

I've done some poking around.
the problem is definitely here:
https://github.com/stardist/stardist-napari/blob/da0b89ebb44e3c8063ff571e75f0bd682ec31fe4/stardist_napari/_dock_widget.py#L1000
If I change the else to StarDist2D then the 2D models start working and 3D fail.
Also adding a print(Signal.sender()) returns None so it appears that this is the issue: the if is never triggered so the else is always returned.

Thanks for the bug report, @psobolewskiPhD. Unfortunately, I can't reproduce this.
(@tlambert03, could this be due to the recent Signal change in #14?)

Anything possible, but the only thing that changed in #14 was where the import occurred (the object didn't change)

I had magicgui at 0.3.7 from: https://forum.image.sc/t/stardist-napari-plugin-not-working/65032/8?u=psobolewskiphd
Upgrading to 0.4.0 solves the issue.
pip install magicgui==0.3.7 makes it occur again.
Perhaps that means that the pin for magicgui should move up to 0.4.0?

I had magicgui at 0.3.7 from: https://forum.image.sc/t/stardist-napari-plugin-not-working/65032/8?u=psobolewskiphd
Upgrading to 0.4.0 solves the issue.
pip install magicgui==0.3.7 makes it occur again.

I can reproduce the issue with magicgui 0.3.7.

Perhaps that means that the pin for magicgui should move up to 0.4.0?

Probably the easiest... but I have no idea if this restrictive to some users or not.


Add EventBridge Service enum constant

It is also known as Cloudwatch Events

One of the checks has failed, namely find_gradle_jobs https://github.com/testcontainers/testcontainers-java/pull/3875/checks?check_run_id=2106333584 , but it seems to be an infrastructure failure, probably not something I could fix...

We just added #3995 that allows enabling any service supported by LocalStack, so you should be able to achieve the same with:
.withServices(LocalStackContainer.EnabledService.named("events"))


Displayed position of the selected item is strange when sorting list items on iPad

I don't know how to identify the iPad, so I'll hide the cloned item on everything except the desktop.


It's "principal components", not "principle"

Of course in the post-spelling age I am just condemning myself to irrelevance. Great article in any event.

Fixed!


Containerize Enclave manager and Shell as services

A separate container service is added for enclave manager and its own Dockerfile is newly created.
Previously available tcf service is renamed to avalon-shell to execute test cases and run clients.
All references of TrustedComputeFrameWork has been renamed to avalon.
A separate container service is created for shell to execute tests and run clients.

Signed-off-by: manju956<EMAIL_ADDRESS>

Jenkins job is failing...please address this

please address thi

I am looking into the issue

@manju956 I observed that in the latest commit, you have introduced a new change (renaming common/python to common/crypto) which seem not to be related to this PR. Please revert this change and raise a seperate PR if at all that is required.

Looks like some new changes related to crypto was introduced accidentally. Please revert it and resubmit new commit

Accidentally, few of the file changes to crypto pushed to this PR. I am reverting it.

@manju956 I observed that in latest commit, you have introduced a new change (renaming common/python to common/crypto) which seem not be related to this PR. Please revert this change and raise a seperate PR if at all that is required.

I am reverting the accidental file commit.

Please make the relevant changes in tools/rebuild.sh as well.

Done


Add badges and links to readme

We fix the readme to show the status of the project.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
555

Relevant Lines:
617

💛  - Coveralls


Correct shape->dense_shape in SparseTensor

Just a typo correction.

Can one of the admins verify this patch?


cleanup: enable clang-tidy for bigtable headers

Note that some "performance-unnecessary-value-param" NOLINT
directives are only due to an apparent clang-tidy bug, and
are tagged as "TODO(#4112)" to make their later removal easy.
Part of #3958.

This change is

I think TODO(#...) or even #... (instead of BOGUS) pointing to a GitHub issue explaining what the bug is, and what the cleanup needs to be would be easier to understand by our future selves. Is that possible?

Yes.  Good idea.  Done.  Thanks.


Add Bootstrap v4 support.

Add suport for Bootstrap v4.
Note that the documentation is a little out of date and the use of a list is no longer supported (as can be seen in the scss source file).

Coverage remained the same at 100.0% when pulling eef8ad0b0a80ed6910520d5646835cc570adcf9d on JP-Ellis:master into 12a17214e6aee0e6655545a1a07a3db606cd2622 on prymitive:master.

Thanks!

I should have asked originally, but do you want me to update the docs and version as well?

Nah, thanks, I'll do that when updating docs for new release (in a few hours)

tagged and pushed 0.7.3


Enhance contributing file with git commit details

Description
In order to help contributors to make git commits consistent and easy to understand it's essential to have clear instructions on how to do it in the CONTRIBUTING.adoc file. Adopting the Conventional Commits Specification (https://www.conventionalcommits.org/en/v1.0.0/) it's a good way to solve this problem.
Proposal Solution
Add a section into the CONTRIBUTING.adoc file that explains the Conventional Commits specification and how to use it in the project. Instructions like how to format the commit messages and which types of messages to use for different changes should be included in the documentation.
Acceptance Criteria
The CONTRIBUTING.adoc file must include:

The new section explains the Conventional Commits specification and how to use it in the project;
The new section with instructions on how to format commits and which types of messages to use for different types of changes;

Can I be assigned? I will work on it.

Sure!! I'll be amazing to receive your contributions @luiguip !!!


French translation

I'm asking if it's possible to translating the README in French.
Or any part of the package.
I just want to make a pull request for the Hacktoberfest event.

Hey! A french translation is fine by us :D

hey ! i can work on it. I'm a native french speaker

Closing this because it's old and we have a French translation now.


How come Stitch iOS documentation based on pod "NexmoConversation" while source code uses pod 'Stitch'

Why is the Stitch iOS documentation based on pod "NexmoConversation" while source code starting from Quick Start Two uses pod 'Stitch'?
There are a lot of errors when I'm trying to build it via provided documentation (https://developer.nexmo.com/stitch/in-app-messaging/guides/2-inviting-members)!

@Semeruk the name changed internally from 'NexmoConversation' to 'Stitch'
in your podfile use
 pod 'Nexmo-Stitch'
In your ViewControllers, add:
import Stitch

These updates should work:

pod 'Nexmo-Stitch'

import Stitch


Spread Image to 100% of height of the FlexBox that it's in

OpenUI5 version: 1.36
I want to have the image as big as the height of my FlexBox.
The flexbox is 20% of my window.
Right now the image height of 100% will take the the absolute original pixel size of the image regardless of the container that it's in. I've been looking for a solution for quite some time. Is this by design? How can I achieve what I'm trying to do here?
<mvc:View controllerName="com.pj.test.tilecontainer.controller.Main" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.mvc"
	xmlns="sap.m">
	<App>
		<pages>
			<Page title="{i18n>title}">
				<content>
					<FlexBox
					height="20%"
					alignItems="Center"
					justifyContent="Center">
					<items>
						<Image
					src="https://someimage.png"
					densityAware="false"
					height="100%"
					backgroundSize="contain">
					<layoutData>
						<FlexItemData growFactor="1" />
					</layoutData>
				</Image>
					</items>
				</FlexBox>
			<TileContainer id="container" tiles="{ path: '/TileCollection' }" height="80%" class="tileContainer">
				<StandardTile icon="{icon}" type="{type}" number="{number}" numberUnit="{numberUnit}" title="{title}" info="{info}" infoState="{infoState}"
				press="moveToPage"/>
			</TileContainer>
				</content>
			</Page>
		</pages>
	</App>
</mvc:View>

Hi Piejanssens,
we have analyzed the issue but did not have a quick solution, i think it is by design from the flexbox behavior as there are also a couple of threads on stackoverflow about it:
I contacted the control owner to check and give more precise feedback, internally tracked as #1680147610
Kind Regards,
Michael

Well, in this case the flex item itself has the correct height, but the image overflows. With overflow:hidden it would be cropped. The image doesn't resize appropriately because it's not part of the flex calculation as it's wrapped in a div element. In 1.42.1, we introduced a new option (Bare) for the FlexBox renderType property which gets rid of the div. Try it out. The image should honor the 20% height.


Standalone bootstrap doesn't work on generate-launcher.sh

I added the option to make a standalone launcher (-s) in generate-launcher.sh, however, the resulting launcher still downloads JARs on its initial run.

The generate-launcher.sh script was a deprecated script from the previous version (0.3.x), I just updated it. Note that passing it the -s option makes the corresponding kernel fail to start for now (because of the way the classpath is handled by Ammonite, the underlying scala interpreter, which seems to be fine with the in-memory classpath of the standalone launcher). It should be fix-able though.

Okay thanks! just wondering, would there be any potential issues using a launcher generated by the deprecated script?

Closing as a duplicate of https://github.com/almond-sh/almond/issues/94.


LspFold breaks on typst file using tinymist lsp

Steps to Reproduce

Using the (tinymist lsp), open the following file (it is only one line, no blank line after):

# Heading

Do :LspFold
See this error:

Error detected while processing function lsp#lsp#FoldDocument[12]..<SNR>56_FoldRange:
line   23:
E16: Invalid range: :2, 2fold

I know that this probably counts as a tinymist bug as well, but I believe this plugin should check whether a range of lines exists before trying to fold it, that way it can be ignored or maybe a better error message can be displayed.
Additional details
Server setup
g:LspAddServer(
    [
        {
            name: 'tinymist-typst-lsp',
            filetype: ['typ', 'typst',],
            path: $HOME .. '/bin/tinymist',
            initializationOptions: {
                'exportPdf': 'onType',
                'formatterMode': "typstyle",
            },
        },
    ]
)

Tinymist version
Build Timestamp:     2024-08-26T16:22:10.986712173Z
Build Git Describe:  v0.11.20
Commit SHA:          1f9a42c2e863f6b1fe8624da796e47adf44a9a83
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: x86_64-unknown-linux-gnu
Typst Version:       0.11.1

Vim version
9.1.0689

Thanks for reporting the issue.  This should be addressed by ce7ce83368439e146b20afe6f907076447d3eb0e.


Distinguishing between multiple subscribers?

I'm having some trouble figuring out how to distinguish between multiple subscribers for a particular characteristic.
If I'm understanding correctly, it looks like only one update value callback is ever stored on the characteristic. If multiple centrals subscribe, does onSubscribe get called more than once? Or does bleno paper over that? In other words, does bleno do "reference counting" for subscribers so that you only have to call one callback and it notifies all subscribers for you? Or do you need to maintain your own list of callbacks to support multiple subscribers?
More importantly, if bleno doesn't do reference counting, onUnsubscribe doesn't take any parameters, so how can you identify which central unsubscribed?

@mattpat bleno currently only supports one connected central at a time.


Web - Profile - Blue frame appears when using TAB key for navigating around the year option

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging.new.expensify.com
Login with any account
Go to Settings - Profile - Personal details - Date of Birth
Click on calendar option
Select a Year
Use TAB key to scroll the page

Expected Result:
Blue frame does not appear when using TAB key for navigating around the year option
Actual Result:
Blue frame appears when using TAB key for navigating around the year option
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/226702230-d9786999-78cf-46b0-8183-dc5649b3400b.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I am unable to reproduce this

@MitchExpensify Checking, update you shortly.

Asking if actually a bug in internally https://expensify.slack.com/archives/C01SKUP7QR0/p1680187507302369

Not deemed a bug, closing


SQL error code = -206

Description
SQL Error [335544578] [42S22]: Dynamic SQL Error; SQL error code = -206; Column unknown; PP.RDB$NULL_FLAG; At line 9, column 4 [SQLState:42S22, ISC error code:335544578]
Dynamic SQL Error; SQL error code = -206; Column unknown; PP.RDB$NULL_FLAG; At line 9, column 4 [SQLState:42S22, ISC error code:335544578]
Dynamic SQL Error; SQL error code = -206; Column unknown; PP.RDB$NULL_FLAG; At line 9, column 4 [SQLState:42S22, ISC error code:335544578]
Dynamic SQL Error
Dynamic SQL Error
SQL error code = -206
Column unknown
PP.RDB$NULL_FLAG
At line 9, column 4
DBeaver Version
<IP_ADDRESS>409221725
Operating System
Windows 11
Database and driver
Firebird 2.0.1
Steps to reproduce

connected to db and then clicked on procedure table, as this database design was done in 2009

Additional context
No response

Could you do the following actions? It will help us understand your issue

Open Query Manager

Turn on showing all types of queries

Clear log

Reproduce the issue once again

Send us the screenshot of the Query Manager view or the failed query (it's highlighted with red)

It's been a while since no update here. If the issue is still actual please let me know and provide the requested information.


Is it possible to define a page range to the next to last page?

qpdf --empty --pages input.pdf 50-z -- output.pdf

If I use this command, the output file will contain pages from 50 to the last. But is there a way to tweak this syntax so that the output file will contain pages from 50 to the next to last instead? That is, for example, if the input file is 100 pages, the output is assumed to contain pages 50 to 99.

50-r2 -- see qpdf --help=page=ranges for details.


Stage additional representative finding aids and institution data in ArcLight demo

Proposed list of additional representative sample EADs (and some additional institutions): https://docs.google.com/spreadsheets/d/1W77H91RVSuBZ6rv6nVTHC-NiMbX12hfoBxBN8lPnvbM/edit?usp=sharing

African American Museum & Library at Oakland is complete:
https://oac.cdlib.org/findaid/ark:/13030/c83f4vcq
TitleNotFound: <unittitle/> or <unitdate/> must be present for all documents and components

Attaching the full error output of one of the errors from bancroft.  It looks like the errors are shown in context in the full EAD outputm70_89_cubanc_error.txt

@everreau it looks like the UCB Bancroft finding aid error for m70_89_cubanc.xml m70_89_cubanc_error.txt is specifically related to the <c0#> components lacking IDs needed by ArcLight. But ArcLight should be minting / assigning the IDs as needed per https://github.com/projectblacklight/arclight/wiki/Indexing-EAD-in-ArcLight . So hopefully they are non-blocker errors -- and this finding aid should index / display fine 🤞

There were issues in the indexing the bancroft finding aids.  There may be more than one problem but I have narrowed it down completely yet.
I disabled the error for any component that had a missing id.  This will probably need to be fixed later but it was preventing me from making progress.
I found 1 fairly widespread problem where the EAD id is not consistent and therefore the indexer is grabbing a long string that has invalid characters which prevents arclight from being able to display this finding aid. example:
Good:
p1959_003_cubanc.xml
<ead:eadid countrycode="US" identifier="ark:/13030/tf7d5nb8zx" mainagencycode="CU-BANC" publicid="-//University of California, Berkeley::Bancroft Library//TEXT (US::CU-BANC::BANC PIC 1959.003--PIC::1934 International Longshoremen's Association and general strikes of San Francisco)//EN">p1959_003_cubanc.xml</ead:eadid>

Bad:
mcb891_cubanc.xml
<eadid identifier="ark:/13030/tf3q2nb06d" mainagencycode="CU-BANC" publicid="-//University of California, Berkeley::Bancroft Library//TEXT (US::CU-BANC::BANC MSS C-B 891::Inventory of the Abraham Darlington papers)//EN" countrycode="us">PUBLIC "-//University of California, Berkeley::Bancroft Library//TEXT (US::CU-BANC::BANC MSS C-B 891::Inventory of the Abraham Darlington papers)//EN" "mcb891_cubanc.xml"</eadid>

Inside the eadid tags should only contain the filename portion.  I fixed the example above by hand and it's displaying now:
http://ec2-34-210-75-34.us-west-2.compute.amazonaws.com/catalog/mcb891_cubanc-xml

I found one other finding aid that is not displaying correctly but doesn't match the above pattern (and throws a different error)
http://ec2-34-210-75-34.us-west-2.compute.amazonaws.com/catalog/earthfire-xml_c1007370
This one is a little odd because it looks like this is actually a subcomponent of the full EAD but it's displaying it in a list of EAD results.

ok, I have slight theory on this one now. In the container list this finding aid expresses lists of items like this:
<c03 level="collection" id="c5000001">
    <did>
        <unitid type="callno">BANC PIC 1933.007--ALB</unitid>
        <unittitle>New San Francisco: Three Years after the Great Conflagration: Photographs, 1909</unittitle>
        <repository>The Bancroft Library</repository>
    </did>
   <c04 level="item" id="c5000465">

Most other finding aids don't use level=collection in the container list they usually use series or subseries.  I think this is probably misinterpreted but the indexer.

I changed this level from collection to file as that seems correct based on these docs: https://wikis.mit.edu/confluence/display/ARCHIVESPROCESSING/Level+of+Description
That seems to have fixed it.

There are two finding aids that are not parsable by python:
BANC_MSS_C-B_1018_ead.xml
mcb79_fortransformation_cubanc.xml
There are also a variety of EADID consistencies, some have nothing in this field, some have typos, etc.  I will fix all of them to use the filename as the eadid.

attaching list of bancroft eads that did not have the filename as the EADID:
bancroft_ead_bad_id.txt

calanhm only has one error regarding a date range.  I'm attaching the full error message. calanhm.txt

Error in AAMLO:
Loading eads/aamlo/00002.xml into index...
E, [2024-10-24T15:35:36.475647 #552662] ERROR -- : Unexpected error on record <source_id:al_b8d1d23030b89f751df552d6a51eef0ec4825383 output_id:00002_al_b8d1d23030b89f751df552d6a51eef0ec4825383>
    while executing (to_field "normalized_title_ssm" at /apps/arclight/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/arclight-1.1.2/lib/arclight/traject/ead2_component_config.rb:123)

    Record: <c04 level="item" id="al_b8d1d23030b89f751df552d6a51eef0ec4825383">
<did>
<container type="box-folder" label="Box ">3 : 14 </container>
<unittitle/>
<unitdate/>
</did>
</c04>
    Exception: Arclight::Exceptions::TitleNotFound: <unittitle/> or <unitdate/> must be present for all documents and components
    /apps/arclight/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/arclight-1.1.2/lib/arclight/normalized_title.rb:28:in `normalize'

attaching the full error report from AAMLO.  There are 34 errors all seem to be title errors but some manifest a little differently and about 9 of them don't seem to have a lot of context with them.

attaching full error report from EDA.  There are 24 errors a mix of "Range inverted" and title errors.
eda.txt

un-parseable glbthistory:
williamstruzenberg.xml
glbths_2001-04.xml
glbths_1998-08.xml
fernandoaguayogarciaead.xml
glbths_1998-07.xml
glbths_1996-02.xml
glbths_1998-48.xml
glbths_1997-24.xml
glbths_1999-32.xml
gidlow.xml

janm parsing errors:
janm_gormankelley.xml
KoganYoshizumi.xml
janm_JACL-DC.xml
janm_tetsuotoyama.xml
janm_williammmarutani.xml
janm_JACL-PSW.xml
minetafa.xml
janm_kondofamily.xml
janm_paulwatanabe.xml
janm_jirokozai.xml
janm_georgefujii.xml
EmeryFast.xml
janm_charlespalmerleetest.xml
janm_muraifamily.xml
Frost.xml
janm_ruthleppman.xml
janm_williamhohri.xml
janm_JAMA.xml
GeorgeHoshida.xml
janm_herbertnicholson.xml
janm_CLPEF.xml
Minerichupload.xml
janm_johnbonomi.xml
janm_takeshiban.xml

@aturner  I think a lot of the UCI UA finding aids should validate with EAS. Here's one: http://ec2-34-210-75-34.us-west-2.compute.amazonaws.com/catalog/as004-xml

no additional errors identified in hoover.


Visualizer: Create VisualizerConfig json file + other changes

This is the reworked PR based on code review feedback + with some additional changes.

Created a new VisualizerConfig json file in NCE that holds configs for the visualizer. Configurations are only loaded first time through or if the app id changes.
Moved the TypesToAdd cube from UD.REF.APP to a json file in NCE. Also moved typesToAdd method in Visualizer.groovy into VisualizerInfo.groovy.
Refactored to pass the VisualizerInfo object back and forth between the .js and the .groovy. Previously, the object was only passed down to the .js and had to be recreated in .groovy.
No longer passing selectedGroups and selectedLevel back and forth from server from js. Not necessary.
Commented out code relating to gathering availableScopeKeys. Not needed currently, but I will revisit this and may use it again. If not, I’ll remove the code.
Removed left-over code from when we still had the feature to load traits for all nodes.

I am merging this as is, however, soon I want to see the 'types to add' code removed for the following reasons.  1) It has no concept of field.  It is relating objects on type-only, which is not valid in many circumstances.  2) This information, rather than being stored as configuration, can be 'discovered.'  And in discovering it, the concept of 'field' can be handled.


Add search box

This PR fixes #3.
https://github.com/JuliaPackageComparisons/JuliaPackageComparisons.github.io/assets/7488140/d639412c-fb9e-492d-8de7-b63bbf515aa5

This looks perfect! You are really cleaning up this web page, awesome <3
I do not have any critisism on the look and functionaly, so this is ready to go whenever you feel like it is ^_^

One problem is searching with a term in the sidebar. For example, the result with 'graphs' shows all pages on the site. (x-ref: https://github.com/tlienart/Franklin.jl/issues/1071)

This should be fixed in Franklin.jl, so it should be okay to merge this PR.

Another possible issue will be a CI failure.
We could have some CI checks or preview pages per PR, but let's merge this PR for now.

The result is not correct. I'll open another PR. :joy:

https://juliapackagecomparisons.github.io/search/index.html?q=Makie.jl

Fixed!

One problem is searching with a term in the sidebar. For example, the result with 'graphs' shows all pages on the site.

That is indeed very unfortunate. Great that you opened an issue in the appropriate place (Y)


Dynamic answerExpression not working

Describe the bug
answerExpression doesn’t support accessing context from variable expression, it only can for launch context. This makes it not possible to have dynamic answer options.
So basically, the answer options within the dropdown widget is static once the app render the questionnaire.
Component
SDC library
To Reproduce
Steps to reproduce the behavior:

Paste the downloaded sample Questionnaire into demo app assets folder
Replace the file name in the following line of code to 'dynamic-answer-expression.json'
https://github.com/google/android-fhir/blob/master/demo/src/main/java/com/google/android/fhir/demo/EditPatientViewModel.kt#L48
Run demo app, and wait for sync
Click a patient
Click edit icon (top-right corner)
In the first dropdown, select the "NAIROBI" city
Open the second dropdown
It still shows nothing

Expected behavior
answerExpression should be able to access other context including variable expression, therefore making the answer options dynamic, every time the variable updates.
Screenshots
device-2023-06-30-181824.webm
Smartphone (please complete the following information):

Device: [e.g. Pixel4a emulator]
Android version: [e.g. Settings -> About phone -> Android version]
Build number: [e.g. Settings -> About phone -> Build number]
Version [e.g. 22]

Additional context

Sample Questionnaire, download below:
https://drive.google.com/file/d/1aweK2JZ-3dzG9N7M2KoPwy_80sqZF9my/view?usp=sharing
The cqf-expression extension within the sample, serve as a prove that the variable expression DOES updates and you can see it in the second dropdown question title. But the answerExpression DOES NOT update.
FHIR doc of answerExpression: https://build.fhir.org/ig/HL7/sdc/StructureDefinition-sdc-questionnaire-answerExpression.html
More FHIR doc of answerExpression: https://build.fhir.org/ig/HL7/sdc/expressions.html#answerExpression
In this case, answerExpression is retrieving a list of Patient from local db, then display it in the dropdown as answer options
The code you probably need to look at: https://github.com/google/android-fhir/blob/master/datacapture/src/main/java/com/google/android/fhir/datacapture/QuestionnaireViewModel.kt#L585-L589

Would you like to work on the issue?
N/A

Hey @FikriMilano Could you give an example ?

@MJ1998 thanks you so much for the interest!
I added the sample questionnaire, demo video, and more details in the ticket description.

Hi @MJ1998
Kindly let me know if you have any follow up questions

@f-odhiambo @pld

Hi @FikriMilano
Sure. Thanks for adding a detailed description.

@MJ1998 just to make sure, I would like to inquire whether you are currently working on this task. If not, I would be happy to pick this up, as it holds high priority for our team.

Yes @FikriMilano, I am working on this. I hope a solution by tomorrow should be good ? If its urgent then please feel free to take this up.

That's great news! thank you @MJ1998 :D
Tomorrow is fine, please continue. It would be a shame if your 1 week of efforts is not getting merged. Looking forward for you code, thanks :D

Alright I have a crude working solution. There are 2 errors:

answerExpressionMap stores initial expression and does not re-evaluate
variables in x-fhir-query are not supported, only launchContext

Crude solution is to bypass 1 and replace variables with values evaluated in the fhir-query expression.
But from the other PR's comment you tagged me, it seems its better to modify the QuestionnaireViewItem API with enabledAnswerOptionList .

@FikriMilano There you go!

Thanks @MJ1998 :D
I'll review it.


Bug in where clause, when "LIKE" and "AND"/"OR"

There is no way to do WHERE clause filtering by this way.
$where=array("OR"=>array("user_id"=> "1","LIKE"=>array("name"=>"a")));
returns
SELECT * FROM user_meletes WHERE user_id = '1' OR "LIKE" IN ('a')
Is there any way to do this?
Thanks

Improve since 0.9.8 http://medoo.in/api/where


esp-idf v5.3 small change

Additional fields to take into account
victus: {3325} diff components/XPowersLib/src/XPowersCommon.{tpp,tpp.orig}
175,181d174
< #if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,3,0))
<           // New fields since esp-idf-v5.3-beta1
<           .scl_wait_us = 0,
<           .flags = {
<             . disable_ack_check = 0
<           }
< #endif

Fixed