Repairability mode prints PatternInstanceAnalyzer results instead of RepairabilityAnalyzer results

In https://github.com/SpoonLabs/coming/blob/master/src/main/java/fr/inria/coming/repairability/JSONRepairabilityOutput.java#L31 the results of PatternInstanceAnalyzer are used to generate the output (instead of RepairabilityAnalyzer results). Is it how the tool is supposed to work? The problem is that some of the results are filtered by RepairabilityAnalyzer (ex, commits that change more than one java file) but currently this filtering does not affect the output. @martinezmatias @monperrus

HI @khaes-kth
Thanks for the issue.
You are right. The JSON output from RepairabilityAnalyzer  does contains not info about the repairability. Actually it outputs the instances found by the PatternInstanceAnalyzer module.
I list the points to be fixed IMO:

[ ] I would create a new entity that represents the results of the ReparabilityAnalyzer.  Right now that analyzer returns  as result  (here ) an object of type PatternInstancesFromRevision , which is the entity used another module (PatternInstanceAnalyzer). This new result entity that represents the  repairability result would be quite similar to the PatternInstancesFromRevision. However, we would add additional information that right now is missing,  for example, the tool that is able to synthesize the commit, the "template" used for synthesizing it, etc.

[ ]  Add a test for each  type of JSON generated (not only related to the RepairabilityAnalyzer)

Hi @martinezmatias ,
Thank you for your consideration.
One tiny note: the information regarding the used tool and template can be (and is already) retrieved from PatternInstancesFromRevision (from the name of the used pattern); however, it would be surely better if they were mentioned explicitly.

@khaes-kth

One tiny note: the information regarding the used tool and template can be (and is already) retrieved from PatternInstancesFromRevision

Thanks for the clarification. That's true: the names are on the pattern specification.

however, it would be surely better if they were mentioned explicitly.

Yes, actually we new result entity returned by the RepairabilityAnalyzer could extend the PatternInstancesFromRevision

The problem is that some of the results are filtered by RepairabilityAnalyzer (ex, commits that change more than one java file) but currently this filtering does not affect the output.

IMO, it would nice to have one test case about "commits that change more than one java file".

Hi @sedflix

IMO, it would nice to have one test case about "commits that change more than one java file".

Yes, that's a functionality that we need to finish and test from the PatternInstancesAnalyzer. I have stated implementing them but I did not arrive to change specification.

Hi @khaes-kth
This issue has been merged. Is it Ok to close the issue?

Hi @martinezmatias ,
Yes, it is done. I will close it.


[Bug] Getting N/A in Balance column while importing account with mnemonic

v.0.13.5
WTR:

Try to import account with mnemonic.

Result: on Select Account Page you will see that child accounts in Balance column have N/A instead of actual amount that is 0.

related to #763

Hi @NikolaiB, thanks for reporting, can you spot that on latest build?

fixed


no build comamd

when I run aqueduct build in my project director. ,
aqueduct build
-- Aqueduct CLI Version: 3.3.0+1
Aqueduct is a tool for managing Aqueduct applications.
Usage: aqueduct  [arguments]
Options:
--version            Prints version of this tool
--[no-]color         Toggles ANSI color
(defaults to on)
-h, --help               Shows this
--[no-]stacktrace    Shows the stacktrace if an error occurs
--[no-]machine       Output is machine-readable, usable for creating tools on top of this CLI. Behavior varies by command.
Available sub-commands:
document   Generates an OpenAPI specification of an application.
create     Creates Aqueduct applications from templates.
serve      Runs Aqueduct applications.
setup      A one-time setup command for your development environment.
auth       A tool for adding OAuth 2.0 clients to a database using the managed_auth package.
db         Modifies, verifies and generates database schemas.

This command got moved to 4.0.0-b1 due to issues in version constraints that were selecting pre-release package instead of the stable release in ^3.0.0. I think pub global activate aqueduct 4.0.0-b1 and then update your project's pubspec to match.


AArch64: load sfsimg via SD card driver

Changes:

Move arch/board/raspi3/emmc.rs to drivers/mmc/bcm2835_sdhci.rs as a block driver.
Refactor fs/device, introduce the Disk struct for MBR partition disk.
Add a shell script mkimg.sh to write kernel/sfsimg/firmwares to SD card (macos only).

Can run on both qemu and real machine, but the BCM2835 SDHCI driver still has bugs, it's too slow
to read/write, and may hang during write.
TODO:

[ ] Linux version shell script.
[ ] Refactor and speed up bcm2835_sdhci driver (will not be included in this PR)

I think we should move bcm2835_sdhci.rs to bcm2837 crate or an individual driver crate in the future?


Permission denied

Hello,
"board_type": "K3LP_DVB",
"hardware_id": "HE_DTV_W17P_AFADABAA",
"product_id": "49UJ630V-ZA",
"core_os_release": "3.9.0-62906",
"webos_manufacturing_version": "06.00.20",

i am a newbie
I have downloaded code from this page
https://github.com/webosbrew/hyperion-webos/actions/runs/1568099580
Copied all files to tmp/hyperion-webos

But when i try to start it with this

i get

Could you please help me!
Thanks!

you need to run chmod +x ./hyperion-webos
Also - is there some specific reason to try such an old version? Current Homebrew Channel version should work equally well.

Thanks a lot!
I just found these files, i am new to github and do not know how it works here...
Could you explain how to get an Homebrew Channel version or you mean piccap (UI of piccap do not work for me)?

By the way i tried to chmod but

try adding -x 192 -y 108 options to that line to limit resolution

Now Perfect!!! Thanks a lot! Works great!

Not i need to find out how to start thsi command with the start of TV... Is there any solution?

Yeah - the proper solution would be to figure out why is the UI/background service not working. Which Homebrew Channel version do you have installed? PicCap depends on some script changes introduced in v0.4.0.

I have just made a https://rootmy.tv/
So actually i have version 0.4.0 and PicCap 0.23
But it is not only my problem with UI as i can see. And it is now fixed till now. So i am looking for way to start the program without PicCap. Actually i have not need in UI, if i alredy defined all settings...

Thanks one more time!!!
It worked for me!

And after reboot of TV hyperion-webos is UP!!!
Great! The issure can be closed!
Thanks!!!


Thanasis/#47 add support for user sessions and auto redirects

PR Title
Issue Number(s): #47
What does this PR change and why?
It adds auth sessions so logged in users can remain logged in for up to week without reentering their credentials.
NOTE: You have to change the env variable to include URL="http://localhost:3000".
Checklist

[x] Requirements have been implemented
[x] Acceptance criteria are met
[x] Database schema docs have been updated or are not necessary
[x] Code follows design and style guidelines
[x] Commits follow guidelines (concise, squashed, etc)
[x] Relevant reviewers (Senior Dev/EM/Designers) have been assigned to this PR

Critical Changes
All pages go through a middleware function that checks for authentication info before loading the pages.
Related PRs

#47

Testing
Log in. Subsequent visits to the login and signup page will redirect to the main page.
Sign out. Any page of the app will redirect to the login and sign up pages.

Merged in #59


iterator feature requires channel feature

In signal-hook 0.3.3, iterator feature requires channel feature, but currently, it is not specified and we will get the following compilation error:
$ cargo check --no-default-features --features iterator
   Compiling signal-hook v0.3.3 ...

error[E0432]: unresolved import `crate::low_level::channel`
  --> src/iterator/exfiltrator/raw.rs:17:23
   |
17 | use crate::low_level::channel::Channel;
   |                       ^^^^^^^ could not find `channel` in `low_level`

error[E0283]: type annotations needed
  --> src/iterator/exfiltrator/raw.rs:21:17
   |
21 | pub struct Slot(AtomicPtr<Channel<siginfo_t>>);
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
   |
   = note: cannot satisfy `_: Default`
   = note: required by `std::default::Default::default`
   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)

I confirmed the issue fixed by this patch and confirmed there were no other similar issues by using cargo-hack:
cargo hack check --feature-powerset --no-dev-deps --all

Codecov Report

Merging #86 (bca843b) into master (48f8100) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   62.41%   62.44%   +0.03%
==========================================
  Files          28       28
  Lines        3826     3824       -2
  Branches      152      161       +9
==========================================
  Hits         2388     2388
+ Misses       1437     1435       -2
  Partials        1        1

Impacted Files
Coverage Δ

src/lib.rs
50.21% <0.00%> (+0.04%)
:arrow_up:

Codecov Report

Merging #86 (bca843b) into master (48f8100) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   62.41%   62.44%   +0.03%
==========================================
  Files          28       28
  Lines        3826     3824       -2
  Branches      152      161       +9
==========================================
  Hits         2388     2388
+ Misses       1437     1435       -2
  Partials        1        1

Impacted Files
Coverage Δ

src/lib.rs
50.21% <0.00%> (+0.04%)
:arrow_up:

Good catch, thanks :-). I better release a new version right now.

Good catch, thanks :-). I better release a new version right now.

Released as 0.3.4

Released as 0.3.4

Thanks!

Thanks!


cargo bench --no-run doesn't work properly

according to --help cargo bench --no-run should Compile, but don't run benchmarks, but it runs them.
cargo --version:
cargo 0.9.0-nightly (c4c6f39 2016-01-30)

rustc --version -v:
rustc 1.8.0-nightly (094c5b0d6 2016-01-31)
binary: rustc
commit-hash: 094c5b0d61a0fb19a1cb94dddd6f59a975089b4b
commit-date: 2016-01-31
host: x86_64-apple-darwin
release: 1.8.0-nightly

Hm, trying this out in the semver crate locally ignores all of the tests. Do you have a sample crate which does this?

sure. https://github.com/debris/cargo-bench-testrepo

Ah, I see what's going on here. semver has no bench tests, so they were ignored for that reason, not because of the --no-run. Sigh. Sorry.

Gah oops! Looks like it's just missing this check.
Should be a pretty easy bug for anyone interested in working on Cargo!


Add emptyColumns feature

A small and simple feature that I really need in my current project. If you specify 3 columns, but you have only 2 items, the third column is empty and takes up space, which ruins the design.
If you’re able to render only 2 columns when there are 2 items, even if you specified 3 columns, you can either center the columns or make them distribute the third column space. This makes things look nicer.

This project has not received any updates for several years now. Feel free to fork this project if you still rely on it. I am closing this PR now, thank you for your continued care!


fix(e2e): quarkus native is memory eager

In the latest releases it seems it requires at least 30% more in memory usage.
Hopefully this PR solves the problem we are seeing in Quarkus native checks by setting a higher amount of resources and no ceiling to the memory to use.
Closes #4723

Release Note
fix(e2e): quarkus native is memory eager

I can't help but wonder if we should we be concerned by that increase of memory usage...

We should, but probably we cannot do much more than trying to increase vertical scaling. I guess it's a problem of all Quarkus applications.

Somthething strange is happening with the error
The push refers to repository [kind-registry:5000/apache/camel-k]
Get "https://kind-registry:5000/v2/": dial tcp: lookup kind-registry on <IP_ADDRESS>:53: server misbehaving
make: *** [image-push] Error 1

I'm closing this PR and try a new one :/


Installing on a shared host

Hi, sorry if I have posted this in the wrong area.
I don't have a dedicated server and am on shared hosting.  Is there a way to install this via FTP and CPanel?

You can install this locally and upload the whole folder to your webroot. For the database you need to create a dump and import later.
I did not test this, but it should work without problems. On updates you have to apply the update locally and repeat these steps. You should download all files and the database apply the updates and reupload.

@kwa11ace You may be able to find a guide for installing a 'Laravel' app on your shared hosting. BookStack is based on Laravel so the steps will be roughly the same.
Please be careful though, Normally on a BookStack/Laravel install, only the public/index.php PHP file would be accessible to the internet. On shared hosting, since you have limited options where to place files, it's easy to make all PHP/Config files accessible. If possible you want to set the 'Root' web directory to the public folder.

Closing due to issue age and the fact the conversation came to a close, Feel free to comment if you want to discuss further though and this issue can be re-opened.


Error when config 'carry_over_entries_to_today' => true

v1.2.0 raises an error when the config 'carry_over_entries_to_today' option is set to true and editing today's entries (e.g. dsu e n). This is being addressed. The temporary fix is to delete the config file or set the option to false.

v1.2.0 raises an error when the config 'carry_over_entries_to_today' option is set to true and editing today's entries (e.g. dsu e n). This is being addressed. The temporary fix is to delete the config file or set the option to false.

Squashed v1.2.1

Squashed v1.2.1


cabana: align y axis correctly

align plots by finding the longest y-axis label. remove hard coded aligned_pos,

@mlouielu were you looking for something like this?

It is, this works perfectly!
On Sun, Dec 25, 2022, 12:17 Nelson Chen @.***> wrote:

@mlouielu https://github.com/mlouielu were you looking for something
like this?
—
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/pull/26837#issuecomment-1364712294,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG3QA2ASIROPWMHVSP7OXH3WPB6T5ANCNFSM6AAAAAATI337GE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Explorer opens to directory, not filename

So, script works fine, except...
When I run it and select 'yes', it opens the explorer, but only opens to the directory and doesn't select the actual photo.
Then if I run this script on a separate line, it shows the directory and selects the photo as intended.
             Start-Process explorer.exe -ArgumentList "/select,`"$WallpaperSource`""

My explorer.exe shows thumbnails as default.
Hope this helps...
Windows11, latest preview build 22H2 22623.1095

I can't reproduce your report. The script runs as intended here. I don't use a beta build of Microsoft Windows, though. They are supposed to have bugs.


2024-08-12 - KDB Project Call Meeting Agenda

Date
Monday, August 12, 2024 - 9:30am ET / 2:30pm UK
// Second Monday of every month
Attendees

Fullname
Affiliation
GitHub Username

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

(5 min) Convene, roll call, welcome new people.
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
(5 min) Approve previous meeting minutes.
(10 min) Ryan Hamilton's "The Future of kdb+?" blog post.

https://www.timestored.com/b/the-future-of-kdb/

https://news.ycombinator.com/item?id=41143764

(10 min) Conor Twomey moving on?

https://www.linkedin.com/posts/conortwomey_leadership-kx-fd-activity-7226880674257891329-1L0s

(10 min) PyKX Discussion Continued(?)

Toss around common queries / operations and see how they'd look in Pythonic PyKX.

Common to do lambdas when manipulating string columns.

Some find it hard to learn q without "immersion".

Is there a "learning plan" that can teach useful abstractions through PyKX in stages?

(5 min) Why GitHub Copilot will struggle with q.

https://thakkarparth007.github.io/copilot-explorer/posts/copilot-internals.html#a-close-look-at-snippet-extraction

Depending upon the options, this either uses a “Fixed window Jaccard matcher” or an “Indentation based Jaccard Matcher”.

https://github.blog/2024-04-04-what-is-retrieval-augmented-generation-and-what-does-it-do-for-generative-ai/

"RAG doesn’t require embeddings or vector databases.".

(10 min) Demo of GitHub Copilot Enterprise Chat using https://github.com/KxSystems/docs as a "knowledge base" (@github #kb):

https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/managing-copilot-knowledge-bases

(5 min) AOB, Q&A, Adjourn.

Decisions Made

Decision 1
Decision 2
...

Action Items

Action 1
Action 2
...

Join Zoom Meeting

https://zoom.us/j/94523415326?pwd=NkJDaUtUUlZTcHVwcUJHdG0yRFJUdz09
Meeting ID: 945 2341 5326
Passcode: 361990
Find your local number: https://zoom.us/u/abTtYRZ0B6

Aaron Davies/Morgan Stanley

Ross Duffy/ Morgan Stanley

Péter Györök / KX

Karl Moll / FINOS

Rian Ó Cuinneagáin / KX

Gary Davies / Data Intellect

Ryan Hamilton / TimeStored

Latest LinkedIn event: Mastering kdb+ Architecture: A Panel Discussion
Newest training courses:

kdb+ Architecture course
Updated PyKX course

Alvin Shih / Morgan Stanley


Postgres COPY API improvements

Export PgCopyIn from sqlx::postgres

Documentation for this type is currently not visible but knowing what methods it has is important to understanding how to use it.

Downgrade &mut self to &self for Pool<Postgres>::{copy_in_raw, copy_out_raw}

Signature was likely copied from the same methods on PgConnection, but &mut self shouldn't be required for Pool (backwards-compatible change)

Closed by #1537


Modify CLI commands to work lib contracts as an on-chain library

Once we have moved all the lib contracts to an on-chain library (see https://github.com/zeppelinos/zos-lib/issues/224), our current commands being supported by the CLI should be modified to support such change.
Here are some things that we may want to consider that also follow the lightweight idea:

add could keep working as it is doing currently
push could upload all the implementations to a network and the respective addresses could be saved of-chain in the zos.<network>.json file by default
create could work picking the addresses of the implementations from the zos.<network>.json file by default
upgrade could work picking the addresses of the implementations from the zos.<network>.json file by default.
bump could only modify the version of the zos.<network>.json file working as an of-chain piece of information.
we can work on a new publish or so command that simply deploys the whole lib architecture to the network updating the  zos.<network>.json file with the respective addresses of the app and package contracts
Finally, I think there are two options... either the push, create and update could start using the on-chain App information once the whole architecture has been deployed (once the publish command has been run), or they can still work the same way and you need to run the publish command to reflect whatever the zos.<network>.json has locally to the on-chain representation of your app.

I'm sure there are a lot of many other edge cases here that we will need to keep thinking on, but I'm leaving this idea to start discussing the topic.

I feel like we're mixing up two things here: lightweight mode for the CLI, and upgradeable zOS contracts. IMO these are two different topics.
1- Upgradeable zOS contracts can be implemented using https://github.com/zeppelinos/zos-lib/issues/224, and the only changes required are actually having the push command create a proxy to App/Package/Provider instead of deploying new ones. There is an extra complication which arises from who admins these proxies (should we transfer upgradeability ownership of the App to the App itself? it may require a forwarding contract in between).
2- Lightweight mode for the CLI would imply changing the commands as discussed in the issue. This is, instead of registering all implementations in a Provider on-chain, just keep all that info off-chain in the network.json files, and work from them.

True, I was considering that both issues could be tackled at once. Given that the push command needs to change in different ways depending on which feature we implement first, IMO it will be more straightforward to adapt the CLI to the lightweight mode and then make it work with the on-chain libraries than the other way around. But of course, we can first implement the lightweight mode moving the App architecture deployment to the publish-like command and then make it work with proxies.
Let's discuss a little bit which one we should tackle first and then I'll update the issues with the final decission

Closing as lightweight mode has been implemented, and #1325 covers the other half


Call to an undefined method on relation scope

Larastan Version: 1.0.3
--level used: 5

Description
Hello,
I got an error on a scope method called on a relationship. I already tried to type-hint the scopes with Relation and Builder but it didn't worked out. After searching a lot in the issues here, I didn't find a solution that worked. Under "I tried" are the solution I found in the issues that did not worked out as expected.
Error message (changed function name to sync with the example):
Call to an undefined method Illuminate\Database\Eloquent\Builder::forTestingFirstFunction().

Laravel code where the issue was found
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;

class TestClassA extends Model
{
  public function testClassB(): HasMany
  {
    return $this->hasMany(
      TestClassB::class,
      'test_class_b_id'
    );
  }
}

class TestClassB extends Model
{
  public function scopeForTestingFirstFunction(Builder $builder, bool $someParameter = true): Builder
  {
    return $builder->where('some_column', '=', $someParameter);
  }

  public function scopeForTestingSecondFunction(Builder $builder, bool $someOtherParameter = false): Builder
  {
    return $builder->where('some_other_column', '=', $someOtherParameter);
  }
}

/** This is a service class in my case */
class TestClassC
{
  TestClassA::all()->each(function(TestClassA $testClassA) {
    if (somecondition) {
      $testClassA
        ->testClassB()
        ->forTestingFirstFunction()
        ->forTestingSecondFunction()
        ->get()
    }
    else {
  /* [...] */
    }
  });
}

I tried
 /** @mixin \Illuminate\Database\Eloquent\Relations\Relation */
class TestClassB extends Model
{
  /* [...] */
}

class TestClassB extends Model
{
  /**
   * Get all order types that has the show in order entry set.
   *
   * @param  \Illuminate\Database\Eloquent\Builder<\App\Models\TestClassB>|\Illuminate\Database\Eloquent\Relations\Relation<\App\Models\TestClassB>  $builder
   * @param  bool  $someParameter
   *
   * @return  \Illuminate\Database\Eloquent\Builder<\App\Models\TestClassB>|\Illuminate\Database\Eloquent\Relations\Relation<\App\Models\TestClassB>
   */
  public function scopeForTestingFirstFunction($builder, bool $someParameter = true)
  {
    return $builder->where('some_column', '=', $someParameter);
  }
  /* [...] */
}

class TestClassB extends Model
{
  /**
   * Get all order types that has the show in order entry set.
   *
   * @param  \Illuminate\Database\Eloquent\Builder<\App\Models\TestClassB> $builder
   * @param  bool  $someParameter
   */
  public function scopeForTestingFirstFunction($builder, bool $someParameter = true)
  {
    return $builder->where('some_column', '=', $someParameter);
  }
  /* [...] */
}

class TestClassB extends Model
{
  /**
   * Get all order types that has the show in order entry set.
   *
   * @param  \Illuminate\Database\Eloquent\Builder<\App\Models\TestClassB>|\Illuminate\Database\Eloquent\Relations\Relation<\App\Models\TestClassB>  $builder
   * @param  bool  $someParameter
   */
  public function scopeForTestingFirstFunction($builder, bool $someParameter = true)
  {
    return $builder->where('some_column', '=', $someParameter);
  }
  /* [...] */
}

Hi,
Could you test this with 2.x version if possible?
We are not supporting 1.x anymore. If this still happens with 2.x please open a new issue.

Hello,
I tested it and it seems fixed. Need to test it with a higher level but for level 5 it should be fixed. Thanks!
(Could not upgrade till yesterday :-) So, quite lucky)


(fix) add external referral program to FTX

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Add externalReferralProgram to the body of the POST/api/orders request performed in place_order method of FTX.
Tests performed by the developer:
Tips for QA testing:

@cardosofede  Please resolve branch conflits, thanks


Rename my pipeline

I'm trying to rename my existing pipeline and I could not find a way to rename it. I checked the settings, view api etc. But I don't see any edit configuration that can lead to renaming the pipeline. Please help
Version: 2.x

Hi @renperez
Thanks for your report.
We have refactored the Pipeline UX in v2.1.0. There is no pipeline name now. It is just the name of your repo. Please have a try in v2.1.0.
Close this issue due to the new pipeline UX.


Fixes #6803

Drag and drop for security groups. Tested in Chrome, FF on Mac OSX. No actual javascript changes, just minor changes to html markup in the end.

Sorry I didn't squash these commits.

Thanks Frank. I've just merged the relevant commits, not the tree ones. To avoid this, please use topic branches next time (like I've noted in the Google doc on the hackathon).

Yeah, oops! sorry about that. I'll use branches in future.


[$500] IOU - Payment option reverts back to 'Pay with Expensify'

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

Version Number: 1.4.38-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Create an IOU in workspace chat
Change payment option to 'Pay elsewhere'
Click on the IOU preview component

Expected Result:
Payment option on the header should be 'Pay elsewhere'
Actual Result:
Payment option on the header and IOU preview component of the main report reverts back to 'Pay with Expensify'
Workaround:
Unknown
Platforms:

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

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/408ebf3b-1eb3-4c22-8c04-559dfec1e563
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0153ee13375ff6a485
Upwork Job ID:<PHONE_NUMBER>447237120
Last Price Increase: 2024-02-08

We think that this bug might be related to #vip-bills
CC @davidcardoza

Fix is in review

I did not mean to remove that blocker label earlier.

PR merged, awaiting CP to staging before I check this off the checklist.

Yes. @ZhenjaHorbach is fixing a regression from their own issue. So I believe payment only applies to:

@mkhutornyi for providing the proposal we ended up using
@ishpaul777 for C+ review

Handled. CP'd, build is in progress

Awaiting payment

Reminder set
Please apply to this job: https://www.upwork.com/jobs/~0153ee13375ff6a485. @mkhutornyi + @ishpaul777

Invites sent https://www.upwork.com/jobs/~0153ee13375ff6a485. @mkhutornyi + @ishpaul777

Paid and contracts ended - Thanks every one!


External Authentication

Also, see this - #529
Allow for external authentication providers to be connected to cQube.

commented in https://github.com/Sunbird-cQube/community/issues/529


Bug - MLB schedule endpoint returning the incorrect date

Solution - filter by today's date using moment and add startDate and endDate to query string

Fixed in PR#8


Could not allocate CursorWindow in room

Hi, I'm using room in a big application (messaging application) and when a conversation auto download images is enabled, I got this error:
Could not allocate CursorWindow [my db name] of size 2097152 due to error -12.
error while executing job ...DownloadMultimediaJob@3977b039
android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. # Open Cursors=1 (# cursors opened by this proc=1)
at android.database.CursorWindow.(CursorWindow.java:108)

Hi! The idea is that the CursorWindows has maximum 2mb so in this case for that query in order to get some consistant data you sould annotated your Dao method with @Transaction.

Same problem android.database.CursorWindowAllocationException: Cursor window allocation of 2048 kb failed. # Open Cursors=1 (# cursors opened by this proc=1)

The exception means your process can't allocate a 2MB buffer. This usually indicates a memory leak, and it's happening with cursor because when you're nearly out of memory, a big cursor allocation is more likely to fail than some tiny other object.
If you can reproduce this locally, try and take a snapshot of memory state, and see if anything looks like a leak: https://developer.android.com/studio/profile/am-memory.html#snapshot
For the future, this issue tracker is for issues with the samples. To open an issue against the libraries themselves, please use: https://issuetracker.google.com/issues/new?component=197448&template=878802 (which is linked in the d.android.com top level pages for arch components)
Thanks


MRKnow

Any new Beta's or adding anything new to Specto at all ?

mrknow mentioned that he is rewriting the code

@xxcriticxx  what code ?

i guess specto

do you know if he is working to get those other accounts to work at all ?

i don't know his plans sorry

new code i assume smother, faster, lighter kind of deal

ohh alright

you know where i can get premiumize.me voucher code to test it out for 1 month at all ?

nope i use rapidgator

doesnt work with the addons though huh ?

i dont use specto

ohh what do you use  then ?

read above

i saw that i though that was just for an account for extra HD links thats why

50 mb isp i get avg download speed btw 6-8 mb

nope is just file host

ohh got ya

goodnight karnage and good luck

goodnight too you , i am always around lol


Slow webgl performance

Hi,
I have written a proof of concept demo application: http://lavela.hu/sp/d.html
which is quite fast. I migrated it into a Vue.js/Babel/Webpack/Es6 application and its webgl performance became very bad.
It seems that using the canvasrenderer it is still acceptable, so I assume that not the environment (itself) is causing the trouble.
In Chrome's profiler it seems that most of the time is spent here in the webgl renderer:

A little more zoomed:

In the original demo this part is quite quick (with webgl as well).
In the real application it is around 100x times slower.
Chrome profiler puts Float32ArrayConstructByIterable to the top in the wrong case.
(76% of total time)
Could you please help me what can cause this?
Thank you.
Best regards,
Lajos

Like you can see most of the time is spent uploading a texture. Are you uploading the entirety of a large texture each frame?

With debug information:

What is strange that the same picture with roughly the same logic behaves quite differently in the demo and in the real application.

The same pictures with debug:

To be honest I do not see too much difference...
In the demo app it works smoothly, but in the real application it does not.
The picture and the logic are roughly the same. (I mean something important has to be different, but I can't find it...)

Are you uploading the entirety of a large texture each frame?
I do not think so. The picture has 3000 filled circles and ~200-300 characters, 1 rectangle and 3 lines.
(You can check on the first link in the original post.)

Is that one Graphics that you refill each frame, or 3000 graphics objects? If so, do you clear those 3000 objects each tick or you only change their positions?

Thank you! I try to answer:
1 graphics only. They are static. (Some are overriden rarely to change their colors.)
http://lavela.hu/sp/d.html
would be a static map where you can select some seats. (select = change its color) +pan+zoom+hover. Roughly.
The source is not very huge in the demo. (And not very nice either...) But may explain it better than I can.

try to avoid refill of whole graphics. Separate it into several Graphics objects, may be ~100 objects in each.

@ivanpopelyshev Do you mean create ~100 object graphics batches and add them to a big graphics object? Like a 3 layered tree?

yeah, batches, add into container. Just assume that every Graphics is an extra drawcalls, and for PC i recommend 200 drawcalls max. At the same time, each update uploads whole graphics, so 1 Graphics is bad too.

By the way, i just noticed that Graphics has STATIC_DRAW in buffer, so buffer upload is slow. We really need a setting for DYNAMIC graphics.

However like @GoodBoyDigital just told me in pixijs slack, triangulation is one more bottleneck.

@ivanpopelyshev Thank you very much for the ideas.

Just to clarify the batches: Should it look like this roughly: 1 big container, 30 small container, each with 100 circles?
What is this STATIC/DYNAMIC? Can I change it somehow? Or is this some kind of implementation detail?
Do you have any guess how the same operations/code can be quick in a different environment? What can influence this?

Thanks again!

@ivanpopelyshev What do you think would this refactoring cause any troubles on normal canvas?

1 big container has 30 graphics, each has 100 circles. You have to understand pixi hierarchy. Graphics is Container that can also have shapes inside.
2. implementation detail that you can fix later by hacking pixi if you dont have other options.
3. i have no idea.

@ivanpopelyshev Thank you very much.
As you can see we have only some basic shapes. Let's say fewer than 30.
What do you think would it worth prerendering them and/or using sprites?
(I would like to optimise mostly for the first time rendering, the pan/zoom parts are quick enough already.)

Make shapes in photoshop, create an atlas out of them, use sprites in pixi. That's the fastest approach. You'll have some problems with zoom though - quality of sprites is worse than Graphics. I dont want to explain why and how to fix that before you try that approach.

@ivanpopelyshev Thanks again!

I played a very little with sprites, but it seemed that their "default" resolution was not the best. (That is why I gave it up originally.) For the hovering effect we already use a sprite. It seemed that doubling the size of texture and halving the sprite size gives us good enough resolution.
Could something similar work for thousands of sprites? I was a bit afraid of this doubling/halving neutralises the saving on rendering.
Is this approach compatible with the 30/100 split? Which one would you start with?
(4. To be 100% accurate, we have 4 shapes in 6 different colours, their rendering logic is already done. If that makes any difference.)

Thousands of sprites are fine. There's Graphics that can handle Sprites and its called pixi-tilemap

btw, tilemap is effective even if you use only one instance, and clear/refill it every time something changes.

@ivanpopelyshev Thanks. To be honest I am a bit lost. You say the whole situation could be handled with that pixi-tilemap?

(I have just tried the 30x100 combination, but it did not do any difference.)

@vlajos post a link here? :)

@ivanpopelyshev Sorry. I suspended the optimizations.
I found the issue in the meantime:
It seems that the babel-polyfill package does something with the Float32Arrays/arrays which makes PIXI with webgl slow.
I am not too sure about the exact details, but I have updated the demo pages:

http://lavela.hu/sp/d.html Base implementation
http://lavela.hu/sp/d2.html The same + Babel polyfills.

d2.html is around 1sec slower on Chrome on the machines what I can access. It produces the above flame graphs. On d.html the same update things are around 300ms.
And the really fun part:
If you run d2.html in a tab, and then d.html in the same, it becomes slow as well.
(Separete tabs seems to be unaffected.)
Is this interesting/important to the pixi team?
Or should I report it to the babel guys?

It seems that the babel-polyfill package does something with the Float32Arrays/arrays which makes PIXI with webgl slow.

We learned something today.

Congratulations!

@ivanpopelyshev Thank you for your help.
As our application grows we might need those optimization ideas

I spent a little more time to debug this: https://github.com/zloirock/core-js/issues/377
I think we can close this issue.
Thanks again for your help


Update CEXL doc to include extension fns

I feel like we should document ip() and match() (and whatever else I've forgotten) somewhere.

Can this be closed?

yes.


Draft high level function to setup and run simulation

Description
I've written a draft of the high level function to setup and run the virtual_rainforest model. Most of this function is just a set of TODOs at the moment, but config validation and model configuration is currently performed. This involved defining functions to extract the models to be configured from the config object, and to actually configure a set of models which can then be used downstream.
While doing this I also changed error handling a bit to ensure that the user is provided with the maximum amount of useful information, e.g. report all models that fail to configure before ending the process, and reporting all schema validation errors rather than just the first.
Fixes #98, #100
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Codecov Report

Merging #112 (5fa88bf) into develop (5567582) will increase coverage by 0.61%.
The diff coverage is 95.18%.

@@             Coverage Diff             @@
##           develop     #112      +/-   ##
===========================================
+ Coverage    95.90%   96.51%   +0.61%
===========================================
  Files            9       10       +1
  Lines          366      431      +65
===========================================
+ Hits           351      416      +65
  Misses          15       15

Impacted Files
Coverage Δ

virtual_rainforest/main.py
88.88% <88.88%> (ø)

virtual_rainforest/soil/model.py
95.23% <95.23%> (+6.66%)
:arrow_up:

virtual_rainforest/__init__.py
100.00% <100.00%> (ø)

virtual_rainforest/core/config.py
98.17% <100.00%> (+0.80%)
:arrow_up:

virtual_rainforest/core/model.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Cleanup more usages of DirectClient

How to categorize this PR?

/area dev-productivity scalability
/kind cleanup
/priority normal
What this PR does / why we need it:
This PR cleans up more usages of the DirectClient in order to eventually get rid of it.
It tackles usages in

gardenlet bootstrap code
gardener-controller-manager project controller
gardener-controller-manager plant controller (switches to strategic merge patches for updating the status)

Which issue(s) this PR fixes:
Part of #2822
Special notes for your reviewer:
/squash
Release note:

NONE

/hold
until the v1.19.0 release is cut.

/unhold

/assign


panstarrs_get_lightcurve using lsdb

having some trouble catching exceptions for FileNotFound in the call to lsdb's crossmatch with the Panstarrs catalog.  It would be nice if we could somehow catch this error so that the crossmatch doesn't fail if a file is missing.  Instead, it would be ideal if one of the objects fails the crossmatch, that the crossmatch still finishes with the other objects complete, and the final result just looks like no match was found for that trouble-causing object/file.
Helpdesk request submitted to MAST 9/19 about the missing file.

MAST helpdesk responded that they will fix the file problem on S3 before Oct 7, so this PR will wait for that fix to move forward, so that testing can be completed.

Now fully functional!
This PR includes:

new panstarrs function which uses lsdb to access a hipscat parquet in S3
removes the 'old' functions which use the panstarrs API
changes name in plotting to be in line with actual name of the dataset "Pan-STARRS" (but is too hard for me to type every time)
added runtime info to the intro cell (800s to run the full notebook) @bsipocz is this too long?

Notes

along the way I discovered missing files in the panstarrs S3 parquets, MAST fixed those, and Troy assures me that he has checks for these things when he pushes data to S3.  So I think that is one problem that got fixed, that I hope we will not have to see in the future.
This function is not actually faster for the sample size of 30 that we use in the notebook, but will be faster than the API for larger samples, and in general accessing data in parquet format in the cloud is the direction we want to be going.
this might be the first calls to lsdb in our notebooks?  but probably not the last.

This will close #165
This uses help from: https://github.com/astronomy-commons/lsdb/issues/416

800s to run the full notebook

It's a bit long, but for fornax it's totally acceptable unless we hit a VM limit. We currently skip this notebook due to the ZTF private bucket access.
(and I don't know why we see the error with the classifier notebook, that should not be affected by this PR)

Your comments and experience around working with the dtypes would be a super useful feedback to the lincc team I think.

LGTM. Thanks!

Your comments and experience around working with the dtypes would be a super useful feedback to the lincc team I think.

message received, I put this in as feedback to lsdb in issue #441 over at astronomy-commons/lsdb

@bsipocz when you get a chance, can you please merge this PR?  I don't know why it is failing ci.

It seems to be something unrelated, but I'm not sure I can dive into the details before I get back home.

I'm not in a hurry, thanks.

OK, my latest commit should fix the failure. Basically adding some dask would trigger sktime to check if dask[dataframe] is all installed, and it wasn't.

Hmm, apparently this is in fact an sktime issue: https://github.com/sktime/sktime/issues/7250. Someone reported that downgrading sktime solves the issue, so I was trying that. If it doesn't work, I'll look into more hackery.

I'm not sure why the classifier notebook run into VM limits now, I'm doing some more debugs and see if it is still OK with GHA. If yes, then I'll bring over the configs from the IRSA notebooks to we can easily opt in GHA build here, too.

see if it is still OK with GHA
@bsipocz what is "GHA"?

GHA: GitHub Actions. We use GHA for doing the HTML rendering and hosting the pages with github. But for the PRs we use a different system, and their limitations differ a bit. It was already close to the limit but from below, I suspect adding the new dependencies may changed it worse the worse a bit, but we can't do much about it.
TL;DR, I may need to tweak the configs but I don't think there is much here to do about it. So I would merge this now and figure out issues with circleCI if/when they arise on main.


Fix the markdown rendering issue with a code block inside a markdown code block

Description

Fix the markdown rendering issue with a code block inside a markdown, using a different number of backticks for the delimiters.

Current doc site: https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/code_splitter#markdown
After fix:

Who can review
PTAL @dev2049

thanks @yaohui-wyh!


OneNote Tab is now available in GCC tenants

I believe the roll out of Microsoft Apps for Teams, including the OneNote tab is in-process. https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=OneNote%2Cintegration%2Cin%2CTeams

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

ID: e7faee29-6d56-f3bf-766c-6deaefe92e34
Version Independent ID: 6029b6f8-7d49-6474-fa40-2793000c74a4
Content: Plan for Microsoft 365 Government - GCC deployments - Microsoft Teams - Microsoft Teams
Content Source: Teams/plan-for-government-gcc.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@jmillerFLND  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @jmillerFLND, thank you for your feedback.
Yes, it's not available yet. In the table I can see "On the Government backlog".

@jmillerFLND Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Link Gmail account

Problem statement
Users need a way to link their Gmail account so that they can see what data is held by Gmail, start controlling that data, or lat4er on monetize such data.
Proposed work
Add the ability for the user to link their Gmail account by logging into their Gmail account in-app, with their app credentials.
Roadmap ticket: https://www.notion.so/mytiki/Link-Gmail-account-9fcff4e017f44cfbb238e1a5b128b201

Using the google_sign_in package to handle that. Working on UI.

I will leave that open and tracking the background process while #89 will be the UI layer of it.


Publish 7.3-20211019003238+0000

Publish 7.3-20211019003238+0000

Pre-tested commit build failed.


Add Github Action for Publishing to Comfy Registry

This PR adds a Github Action (publish-node-action) that will run whenever the pyproject.toml file changes. The pyproject.toml defines the custom node version you want to publish (added in another PR).
Action Required:

[ ] Create an api key on the Registry for publishing from Github. Instructions.
[ ] Add it to your Github Repository Secrets as REGISTRY_ACCESS_TOKEN.
More info on the registry. Please message me on Discord if you have any questions!

hey @wolfden ! Thanks for such a quick review! Just a few last steps, to get onto the registry you just need to create a publisher id (ideally same as your github name).
Steps:

Go to the registry. [https://www.comfyregistry.org/]
Login and create a publisher id.
You can update the toml file with your publisher ID, and publish your node either through the CLI or with GH Actions!

Also dropping a 1m video on how to onboard too: https://youtu.be/WhOZZOgBggU
Thanks for getting back to us so quick though and lmk if you have any questions!!


'setBackgroundColor' is only available on Android

There is no background on the first screen on iOS.
The following error shows up:
'setBackgroundColor' is only available on Android
How can I fix this problem to show a proper background? In advance, thank you for sharing the code. I really like your project.

Hi @lockeyo
That warning is coming from here.
I believe it's just that the setBackgroundColor method only applies to Android, so it's just a warning for iOS, so that the developer is aware.
If the warning is causing some frustration, you could probably wrap that method call in a Platform conditional, so that it's only called on Android devices.

This warning appears when you use setBackgroundColor property with StatusBar inside the render.
StatusBar.setBackgroundColor('transparent', true);
It works fine on android but it will show warning on iOS. Add a Platform check on it, this warning will be removed.


[Bug] Appsmith Deployment Fails on Redhat

Description
A user reported an error while deploying appsmith on their redhat instance
Adding repo from: https://download.docker.com/linux/rhel/docker-ce.repo
Installing docker
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Please share your email if you wish to receive support with the installation

I am that user and there is a way to install.
Comment install_docker* in install.sh and manually install it manually.

Hey @dulatello08, thank you for chiming in. From the error message it looks like the installation for Docker failed to fetch metadata. Can you confirm if you have internet connectivity on this machine?
Also, did you already have Docker installed on your machine? Asking because if yes, then the script shouldn't have tried to install Docker again, that would be a bug.

@sharat87 actually the docker download was also failing because the osname for redhat was Red Hat instead of rhel, after changing this, we got a new error
https://github.com/appsmithorg/appsmith/commit/b54869c03ebfb016042bfb4a718f1ce75bf6138d#diff-ed1191c237ea4ba8f2011568f4ed0208c8d0ca36cbde1285828a61b4ff2128b4


"Microsoft.CognitiveServices.Speech.core.dll" not found

Hi, I am using Azure Cognitive Services Speech to do a speech recognition project. However, I keep running into this error when running my python script in Visual Studio Code. I am using python 3.11.2 and have installed my packages in a virtual environment. I have tried to run the script on 3 different computers and run into the same issue. Error code below. Thanks in advance for any help:)
Traceback (most recent call last):
File "C:\Users\Cortana\Documents\DevelopersSpace\V.3\CortanaAIv3.py", line 4, in
import azure.cognitiveservices.speech as speechsdk
File "c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech_init_.py", line 8, in
from .speech import *
File "c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech\speech.py", line 13, in
from .interop import (
sdk_lib = load_library.LoadLibrary(lib_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 454, in LoadLibrary
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\ctypes_init_.py", line 376, in init
self._handle = _dlopen(self.name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll' (or one of its dependencies). Try using the full path with constructor syntax.
(Cortana) PS C:\Users\Cortana\Documents\DevelopersSpace\V.3> pip uninstall SpeechRecognition
WARNING: Skipping SpeechRecognition as it is not installed.
(Cortana) PS C:\Users\Cortana\Documents\DevelopersSpace\V.3>  c:; cd 'c:\Users\Cortana\Documents\DevelopersSpace\V.3'; & 'c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Scripts\python.exe' 'c:\Users\Cortana.vscode\extensions\ms-python.python-2023.6.0\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '62205' '--' 'C:\Users\Cortana\Documents\DevelopersSpace\V.3\tester.py'
Traceback (most recent call last):
File "C:\Users\Cortana\Documents\DevelopersSpace\V.3\tester.py", line 1, in
import azure.cognitiveservices.speech as speechsdk
File "c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech_init.py", line 8, in
from .speech import *
File "c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech\speech.py", line 13, in
from .interop import (
File "c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech\interop.py", line 20, in
sdk_lib = load_library.LoadLibrary(lib_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 454, in LoadLibrary
return self.dlltype(name)
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\ctypes_init.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'c:\Users\Cortana\Documents\DevelopersSpace\V.3\Cortana\Lib\site-packages\azure\cognitiveservices\speech\Microsoft.CognitiveServices.Speech.core.dll' (or one of its dependencies). Try using the full path with constructor syntax.

I was successfully able to run a Speech SDK sample under Visual Studio Code with the SDK installed in virtual environment. Could you make sure you have installed Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads as the Speech SDK depends on it. If that does not help, could you provide detailed steps how you setup your environment so we can try to reproduce following them. Also, which version of Speech SDK are you using?

Thank you so much for your help. I had already installed Visual C++ for my system, but it wasn't working. I uninstalled and reinstalled Visual C++, and it all of a sudden started working. Just for reference I was working on a 2009 Mac Mini running windows as the only operating system on the machine.
Again, thank you so much for your help. It is greatly appreciated!

✨


Support running extension tests through cmd line

Add support for running plugin/extension tests through the command line. This is particularly useful for things like CI. I was able to setup gulp+mocha, but any tests that reference vscode doesn't work.
Paraphrasing @bpasero, "this is a consequence of having an extension host that runs your plugin. This host is really the entire VS Code app and cannot be emulated from the command line easily. "

+1 - I believe atom manage to do this using a similar mechanism to Chromium's browser tests.

+1 this is on our backlog. however you will not be able to run tests without having a windowing system because in order to provide the VS Code APIs for the tests we still need to open a window.

This will be supported in the next release with the following syntax: code --extensionDevelopmentPath=<path to extension> --extensionTestsPath=<path to compiled tests>
The output goes directly to console and the exit code is set properly.
Note: in order for the exit code to function properly you will need<EMAIL_ADDRESS>at least as dependency from your extension.

@jpoon @Tyriar maybe I closed this too early. What you can now do is run tests from the command line but only if code is not already running. This should however be good enough for running extension tests as part of Travis CI. We are actually able to run some of our API tests on Mac and Linux through Travis even though the tests require a real code instance to spawn.

@bpasero will that constraint go away when launchNewInstance (or whatever it will be)  is set to true? https://github.com/Microsoft/vscode/issues/48

@Tyriar unfortunately not.

@bpasero What release should have this? 0.10.2?

@jpoon no, mid december!

Documented here: https://code.visualstudio.com/docs/extensions/testing-extensions#_running-tests-automatically-on-travis-ci-build-machines

Thanks @bpasero.
It looks like tests that rely on the active window fail (vscode.window.activeTextEditor => undefined). I'm not sure if this is inherent to Travis -- does it allow you to open a window?
Unfortunately, I'm running on Windows and can't debug this further (any plans for adding Windows support?). On Travis, I do see these warnings:
Xlib:  extension "RANDR" missing on display ":99.0".

Yes we have tests that rely on that too, if you have the tests somewhere online I can try to run them on Mac/Linux from the command line to see whats going on.

Are your tests that rely on vscode.windowactiveTextEditor` working?
Guess I'm doing something wrong on my end then. Our tests are here: https://github.com/VSCodeVim/Vim/tree/master/test

@jpoon check out our tests that we manage to get run: https://github.com/Microsoft/vscode/tree/master/extensions/vscode-api-tests

And are those tests working when you run them via Code?

Yep. Tests work when running with Code. Here's one of the failed builds: https://travis-ci.org/VSCodeVim/Vim/builds/99793291
  1) Mode Handler ctor:
     TypeError: Cannot read property 'selection' of undefined
      at new Motion (src/motion/motion.ts:22:61)
      at new ModeHandler (src/mode/modeHandler.ts:19:24)
      at Context.<anonymous> (test/mode/modeHandler.test.ts:8:27)

where line 22 of motion.ts is:
    public constructor(mode : MotionMode = null) {
        let currentPosition = vscode.window.activeTextEditor.selection.active;

@jpoon in that test I am not seeing code that would open a text editor, so I wonder how the tests run green when running inside Code, maybe you can explain: https://github.com/VSCodeVim/Vim/blob/master/test/motion.test.ts
Does it make any difference if you run the tests locally using the same command you run in travis?

I am not seeing code that would open a text editor

That statement triggered a :bulb: (epiphany).  When running in Code, it seems as though the tests automatically open a text editor, hence didn't need to do it explicitly. After refactoring my tests to open an editor....
https://travis-ci.org/VSCodeVim/Vim/builds/99801078 :tada:
Thanks @bpasero .

@jpoon very cool!


polars expression serialization

Changes

Fixed Polars expression serialization for healthcheck filters.

Previously: Polars automatically converted expressions to JSON format
Now: Explicitly serialize expressions before writing to params.yml
Why: Newer Polars versions default to binary format which can't be safely stored in YAML
Solution: Added proper serialization/deserialization handling for expressions. Serialize just before creating YAML and deserialize in heatlhcheck.qmd

Code Organization Improvements

Simplified executable version handling as per @operdeck's TODO suggestion
Moved utility functions (find_quarto_executable) from Reports.py to report_utils.py
Resolved circular import issue where Reports class was being imported in its util file

@operdeck
match-case statements are failing in python 3.9 because they are introduced in 3.10
will change them to if-elif-else if there is no objection
def rag_background_styler(
    rag: Optional[Literal["Red", "Amber", "Yellow", "Green"]] = None,
):
    match rag[0].upper() if len(rag) > 0 else None:
        case "R":
            return style.fill(color="orangered")
        case "A":
            return style.fill(color="orange")
        case "Y":
            return style.fill(color="yellow")
        case "G":
            return None  # no green background to keep it light
        case _:
            raise ValueError(f"Not a supported RAG value: {rag}")

Stupid python but yes no objections :) Thanks
Op ma 30 dec 2024 om 16:33 schreef yusufuyanik1 @.***>

@operdeck https://github.com/operdeck
match-case statements are failing in python 3.9 because they are
introduced in 3.10
will change them to if-elif-else if there is no objection
def rag_background_styler(
rag: Optional[Literal["Red", "Amber", "Yellow", "Green"]] = None,
):
match rag[0].upper() if len(rag) > 0 else None:
case "R":
return style.fill(color="orangered")
case "A":
return style.fill(color="orange")
case "Y":
return style.fill(color="yellow")
case "G":
return None  # no green background to keep it light
case _:
raise ValueError(f"Not a supported RAG value: {rag}")
—
Reply to this email directly, view it on GitHub
https://github.com/pegasystems/pega-datascientist-tools/pull/308#issuecomment-2565630497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEVTKHUATB3QICWQWN3RTL2IFRUVAVCNFSM6AAAAABUMGBHX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVGYZTANBZG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


cmake: lookup strip tool and set CMAKE_STRIP for host-gnu target

Fixes: #51821
Set CMAKE_STRIP using find_program(CMAKE_STRIP strip) to support strip when building on native posix.
Signed-off-by: Torsten Rasmussen<EMAIL_ADDRESS>

Thanks @tejlmand for the very prompt fix.
Any idea why running cmake twice worked around this problem?

Trying to answer myself after some cmake --trace-expand.
I think the design issue here is: CMAKE_STRIP (and CMAKE_OBJCOPY etc.) are built-in / INTERNAL CMake variables; they're not supposed to be defined by find_program() in any CMakeLists.txt because CMake itself already owns them, defines them and generally manages them.
I suspect the reason why running CMake twice avoided bug #51821 is because of some "race" to  between target_bintools.cmake trying to use CMAKE_STRIP and CMake itself defining it.
On the first cmake run, zephyr/cmake/bintools/gnu/target_bintools.cmake was running "too early" and setting strip_command = ${CMAKE_STRIP} before CMake itself had time to define ${CMAKE_STRIP}.
On the second CMake run, target_bintools.cmake found the ${CMAKE_STRIP} left in CMakeCache.txt by the first cmake run.
I think some CMAKE_STRIP -> ZTOOLCHAIN_STRIP mass rename would likely avoid subtle "races" like the above and avoid any "undeterministic" behavior like this for any future CMAKE_FOO / ZTOOLCHAIN_FOO binary. It would make sure ZTOOLCHAIN_FOO is either always found or never found and it would never drive anyone crazy. Problems mysteriously coming and going are really the worst kind.
Messing with CMake's built-in variables feels like a really bad idea.

I think the design issue here is: CMAKE_STRIP (and CMAKE_OBJCOPY etc.) are built-in / INTERNAL CMake variables; they're not supposed to be defined by find_program() in any CMakeLists.txt because CMake itself already owns them, defines them and generally manages them.

Not correct, those variables are perfectly valid to set and are often required to be set in a cross compilation environment.
That is usually done in a toolchain file, but in Zephyr we have our own infrastructure for this.
But it is correct, that if you don't specify them, then CMake will try to look up a host tool.

I suspect the reason why running CMake twice avoided bug https://github.com/zephyrproject-rtos/zephyr/issues/51821 is because of some "race" to between target_bintools.cmake trying to use CMAKE_STRIP and CMake itself defining it.

No, the reason it worked on a second run is because CMake will lookup the tool and set it in the CMake cache if it has not been set already by the system. However, CMake did this after we had used it for the external command call.
Therefore, on a second CMake run, the Zephyr build system would be using the value that is now present in the CMake cache, but on the first run it was empty.

Thanks @tejlmand !

Not correct, those variables are perfectly valid to set

Could you share the corresponding CMake documentation? What I found seemed different.
In https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html

CMake reserves identifiers that: 1. begin with CMAKE_

CMAKE_AR is in the section "Variables that Provide Information". I (mis?)understand "provide" as "read-only".
CMAKE_STRIP is not on that page.
In the CMakeCache.txt, CMAKE_STRIP seems marked as "Internal" CMAKE_STRIP-ADVANCED:INTERNAL=1
In https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html#internal-variables

CMake has many internal variables. Most of them are undocumented. Some of them, however, were at some point described as normal variables, and therefore may be encountered in legacy code. They are subject to change, and not recommended for use in project code.

No, the reason it worked on a second run is because CMake will lookup the tool and set it in the CMake cache if it has not been set already by the system. However, CMake did this after we had used it for the external command call.

Yes, that's exactly what I was trying to say. A behavior depending on the number of time cmake is run is a very unexpected hence incredibly confusing cmake debug experience and I suspect it will happen again the next time someone forgets something in a new toolchain or wants to add some new CMAKE_TOOL and misses one spot.

Not correct, those variables are perfectly valid to set

Could you share the corresponding CMake documentation? What I found seemed different.

@tejlmand, ping?
cc: @romkell

Could you share the corresponding CMake documentation? What I found seemed different.

@tejlmand, ping?

because your looking at general CMake documentation.
What we are doing in Zephyr is to implement our own toolchain infrastructure, this means the corresponding toolchain handling we do is more aligned with how CMake's built-in toolchain support is working.
So this means when Zephyr has it's own infrastructure then Zephyr must ensure we correct defines such settings, just like  FindBinUtilTools.cmake would have been doing if you are using CMake's built-in support.
So for a normal user, this variable is surely informational, but when implementing complete toolchain support (which users regularly don't do), then such variables are valid to set, just as such variables are set by modules shipped as part of CMake releases.

In the CMakeCache.txt, CMAKE_STRIP seems marked as "Internal" CMAKE_STRIP-ADVANCED:INTERNAL=1

And so is the CMake C compiler, yet it's a variable users are expected to set when cross compiling:
$ grep -w CMAKE_C_COMPILER build/CMakeCache.txt
CMAKE_C_COMPILER:STRING=/opt/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1

A behavior depending on the number of time cmake is run is a very unexpected hence incredibly confusing cmake debug experience

I agree, but this is actually not specific to toolchain handling, but a general problem that if we have any CMake code which relies on a cache variable not set on first invocation then we are in trouble.
Also one reason among many that I introduced https://github.com/zephyrproject-rtos/zephyr/pull/41301 because it provides us a better possibility to ensure depending modules has been loaded before current module.

and I suspect it will happen again the next time someone forgets something in a new toolchain or wants to add some new CMAKE_TOOL and misses one spot.

Which is why I would like if we could disable the FindBinUtilsTools from executing, similar to how we request CMake to not test the compiler, as we do here:
https://github.com/zephyrproject-rtos/zephyr/blob/5d059117fd279ee0eec4fb1c4d0244a37937013c/cmake/modules/FindHostTools.cmake#L75-L77
(just noticed that the above code should probably be moved to another location).
That way, something like your issue would probably have been easier to identify if the regular CMake infrastructure would not kick in at a later unexpected stage, which resulted in a second CMake apparently fixing the problem.


[SPIKE] Add administrate

Part of #4

Closing this as I don't think we will end up going down this path.


IWW Issue #33, January 12th 🛌 2021

This pull request is for gathering links for the January 12th issue of the Immersive Web Weekly newsletter for the W3C Immersive Web Community Group.
If you have a link to a news article, event, artwork, or project that is directly related to the immersive web then we welcome your help!
To submit a link comment below using this template:
title: Example title of link
url: https://example.com/
author: Alice Smith
content: A short description of what is at the link and why it's related to the immersive web

Please keep in mind that comments here and all submitted links are public!
We keep each issue pretty short so we won't immediately use every submission but we keep track of them all and they may appear in a later issue.
Deadline
IWW goes out each Tuesday morning around 10am Pacific time.
Trevor will edit each issue on the Monday before publication so submissions after that will roll over for use in future issues.
If you need editorial support then email @TrevorFSmith<EMAIL_ADDRESS>

title: 6000+ Facebook People Are Working on XR
url: https://www.bloomberg.com/news/articles/2021-01-06/facebook-smart-glasses-coming-sooner-than-later-without-ar
author:  Kurt Wagner, Sarah Frier

title: 6000+ Facebook People Are Working on XR
url: https://www.bloomberg.com/news/articles/2021-01-06/facebook-smart-glasses-coming-sooner-than-later-without-ar
author:  Kurt Wagner, Sarah Frier

title: Using WebXR in HTML IFrames
url: https://medium.com/samsung-internet-dev/using-webxr-in-html-iframes-629c248ff96d
author: @AdaRoseCannon
content: It’s really useful but there are a few pitfalls to avoid.

title: Using WebXR in HTML IFrames
url: https://medium.com/samsung-internet-dev/using-webxr-in-html-iframes-629c248ff96d
author: @AdaRoseCannon
content: It’s really useful but there are a few pitfalls to avoid.

title: Faking It: Inverse Force Feedback for Satisfying VR Interactions
url: https://babylonjs.medium.com/faking-it-inverse-force-feedback-for-satisfying-vr-interactions-6a606e82c1e6
author: Babylon.js
content: One of the most well-known problems with physically-inspired interactions in virtual reality is that the virtual world provides no physical feedback. What if there were something we could do to evoke in VR some portion of a physically-inspired action’s inherent satisfaction?

title: Faking It: Inverse Force Feedback for Satisfying VR Interactions
url: https://babylonjs.medium.com/faking-it-inverse-force-feedback-for-satisfying-vr-interactions-6a606e82c1e6
author: Babylon.js
content: One of the most well-known problems with physically-inspired interactions in virtual reality is that the virtual world provides no physical feedback. What if there were something we could do to evoke in VR some portion of a physically-inspired action’s inherent satisfaction?


Upgrade packages to fix vulnerabilities

Upgrade npm and python packages
Remove unused npm packages
Upgrade py-expression-eval to latest patched version (fixes #124)

Approved.


Add documentation about supported compilers

Description
Add documentation about supported compilers - to address #578. I decided not to code up some complicated logic that we'll have to revert again later. Documentation should do.
Definition of Done

[ ] Render documentation looks correct

Issue(s) addressed
Closes #578
Dependencies
none
Impact
none

readthedocs integration isn't working anymore - @climbfuji to fix


fix: Correct repo in PR title

It's not very useful to have the name of the repo you make the update in in the title...

/cc ankitm123 tomhobson babadofar

would be good to have a test for this, so we dont regress?


Copyright notices are everywhere even in the examples !

################################################################################
# Copyright 2013-2015 Aerospike, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################

https://github.com/aerospike/aerospike-client-php/blob/master/examples/ldt/llist.php
To be honest, I first time see something like this. A company shares code examples to be easy for developers,  but that examples together with a copyright policy. And it's strange. I forgot to mention, at the time when I post this, there is "NO llist documentation" for PHP but "only examples". So, somehow developers just being forced to be adding the above copyright.

Also the examples contain old data types which are now dropped from Aerospike. And as I know, currently there are only map and llist data types are available. You might want to up to date the docs + and might want to add "find_from" operation into the driver. Thanks.

It's actually not uncommon to repeat a mini-version of the license block. For example:
https://github.com/mongodb/mongo-php-driver/blob/master/api/batch.c
https://github.com/nrk/predis/blob/v1.0/src/Cluster/ClusterStrategy.php
Restating the Apache 2.0 license in the file doesn't really change much. The license still applies. Comments don't get executed.
As for the LList documentation, somehow you've missed it all over the place. LList actually has documentation both in the doc/aerospike_llist.md directory and locally through phpdoc comments. You can use the standard phpdocumentor tool to generate it for yourself, as described in this README. Also, the quickguide on our site refers you to it.
Thanks for pointing out that some methods aren't included in the examples. You're on GitHub, though. You can fork the repo, modify the PHP example for LList or add to it, and send a pull request. I'll be happy to merge it in if it does the job.

I'm sorry that you misunderstood me. And thanks for your kindly approach.
First of all, I said no docs, and it's my fault because I actually meant; "no better doc" as I see only class methods at that page. However, it's not a big problem, I still can code using the examples.
Secondly, I meant, the license that in the "examples (and only examples)", not in the libraries. To clarify what I mean; for an example, there are docs but without examples, so a developer links to examples to see how to use it and uses it. So, even s/he uses the example's code, s/he has to add the copyright license, right? There is no problem adding of license, but it's not developer friendly any more if copying a small piece of example code requires ~20 new lines to be adding. Anyway, sorry If I'm wrong anyway, only tried to optimize the things :)

Ah, I get it. I will remove the license out of the examples - honestly it's more of a copy & paste issue in play, not some devious plan :laughing:
I'll make a note of expanding the LList examples to be more useful.


Triplanar Texturing Node In Visual Shader Editor

Hello there,
I was advised by Calinou to create an issue to request this feature.
Triplanar texture mapping  is incredibly useful for a number of reason, and I can see it's an option when using the editor for SpatialMaterial. But it would be really super useful to have the option to use triplanar texture filtering in the visual shader editor too, and as far as I know that currently isn't possible in the current visual shader editor and I believe (correct me if I'm wrong) it isn't possible in the new updated visual shader editor as well?
It would be especially useful to have triplanar texture mapping for procedural materials that use seamless repeating textures on objects of any shape or size. Would it be possible to implement this in 3.2 along with the other new nodes in the new visual shader editor?
Side note: How would triplanar texture mapping effect normal maps in this regard and would it be possible for those to work as expected using the visual shader editor?
Thanks!

I'm not sure this makes sense as a "feature" because you can just implement it yourself using the current nodes.
Alternatively, in 3.2, you can make a SpatialMaterial, select "Convert to ShaderMaterial", then copy the relevant code into an expression node in your VisualShader.

I'm sure you could can implement yourself but you could also implement yourself in Blender's shader editor, but they still added it as a feature. Implementing it yourself with nodes or copy pasting shader code would kinda defeat the purpose of having an easy to use shader node editor, especially if you use it for lots of materials?

The visual shader editor is not the same as blenders material node system. Its meant as a way to let users write shader code using nodes, rather than an all out material system that replaces shaders completely. If you need triplanar texturing it is provided out of the box in the SpatialMaterial.

Well if anyone does feel like implementing this feature it would be super appreciated. It would save a huge amount of time for artists and be easier to use than having to create a bunch of nodes to replicate the functionality or copypaste shader code from a spatial material, and make it easier to create materials that mix 2 or more triplanar textures.

@Chaosus What do you think?

Well I think such function may be implemented..

@Chaosus Amazing work, fantastic! That's just perfect, that little node will be so useful!


Search queries when enter is pressed

The query search form has an input field for text search:

I added an event handler so that when pressing enter a search is executed, since I saw many users trying to do this while teaching Superset at work.

Codecov Report

Merging #6043 into master will increase coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #6043     +/-   ##
=========================================
+ Coverage   77.79%   77.89%   +0.1%
=========================================
  Files          46       46
  Lines        9398     9398
=========================================
+ Hits         7311     7321     +10
+ Misses       2087     2077     -10

Impacted Files
Coverage Δ

superset/connectors/sqla/models.py
81.13% <0%> (+0.75%)
:arrow_up:

superset/db_engine_specs.py
55.7% <0%> (+0.87%)
:arrow_up:

Continue to review full report at Codecov.

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


Max possible fps

Hello @lydiazoghbi and @anirudhtopiwala
I am using the unet_live.py code for streaming and detection in my code and model, It seems to have a lower fps and slower video when i try to stream from video file or a camera. Whereas, in the normal opencv it is very smooth. Is it something to do with the model's processing time for segmentation? What's the max achievable fps and speed of real-time stream using U-net?
Is there any variation of Unet that is fast in realtime segmentation or is there something that i need to change in order to achieve it. I have attached my edited Unet_live code here. Any input will be appreciated. :)
`# Importing bunch of libraries
import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
import random
import time
import datetime
import csv
import cv2
import matplotlib.pyplot as plt
import numpy as np
import torch
from skimage.io import imread, imshow
from skimage.transform import resize
from unet.unet_model import UNet
from matplotlib.animation import FuncAnimation
Specify Image Dimensions
IMG_WIDTH = 400
IMG_HEIGHT = 400
IMG_CHANNELS = 3
seed = 42
random.seed = seed
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
print("Using device: ", device)
Load the trained model, you can use yours or the model we provide in our code
Make sure to set up the path correctly
PATH = r"C:\Users\NAK4SI\Documents\Python_codes\Unet\Pytorch-UNet-master\checkpoints\gaus\CP_epoch50.pth"
model = UNet(n_channels=3, n_classes=1)
model.load_state_dict(torch.load(PATH, map_location=device))
model.eval()
Open window to visualize the segmentation
cv2.namedWindow("preview")
cv2.namedWindow("Original")
#vc = cv2.VideoCapture(0, cv2.CAP_DSHOW)
vc = cv2.VideoCapture("clear.mp4")
Try to get first frame
if vc.isOpened():
rval, frame = vc.read()
else:
rval = False
fps = vc.get(cv2.CAP_PROP_FPS)
start_time = time.time()
frame_count = 1
print (fps)
plt.rcParams.update({'font.size': 22})
#fourcc = cv2.VideoWriter_fourcc('XVID')
#out = cv2.VideoWriter('your_video.avi', fourcc, 20.0, size)
filename = r'C:\Users\NAK4SI\Documents\Python_codes\Unet\Pytorch-UNet-master\output_vid\ '+str(time.strftime("%Y-%b-%d at %H.%M.%S %p"))+'.avi'
fourcc = cv2.VideoWriter_fourcc('XVID')
out = cv2.VideoWriter(filename, fourcc, 30, (IMG_WIDTH, IMG_HEIGHT),0)
filename1 = r'C:\Users\NAK4SI\Documents\Python_codes\Unet\Pytorch-UNet-master\csv\ '+str(time.strftime("%Y-%b-%d at %H.%M %p"))+'.csv'
header = ['Area %']
with open(filename1, 'a') as f:
writer = csv.writer(f)
writer.writerow(header)
Loop until user presses ESC key
while rval:
ret, frame = vc.read()
rgb_image = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
resized_img = np.asarray(resize(rgb_image, (IMG_HEIGHT, IMG_WIDTH), mode='constant'))
channel_first_img = np.transpose(resized_img, (2, 0, 1))
img_added_axis = np.expand_dims(channel_first_img, axis=0)
input_tensor = torch.from_numpy(img_added_axis).float()
input_tensor.to(device=device)
preds = model(input_tensor)
prediction = preds[0].cpu().detach().numpy()
prediction = np.transpose(prediction, (1, 2, 0))
# To see a binary mask, uncomment the below line.
prediction = np.uint8((prediction > 0.7) * 255)
#out.write(frame)
img_size = np.sum(prediction>=0)#r.size

white_pixels_count = np.sum(prediction==255)#np.sum(white_pixels_if_true)

white_area_ratio = (white_pixels_count / img_size)*100
frame= cv2.resize(frame,(400,400))
cv2.imshow('Original', frame)
area= white_area_ratio
position = (10,50)
cv2.putText(prediction, #numpy array on which text is written
 str(area),#text
 position, #position at which writing has to start
 cv2.FONT_HERSHEY_SIMPLEX, #font family
 1, #font size
 (240, 52, 52, 1), #font color
 3)

cv2.imshow("preview", prediction)
out.write(prediction)
#out.write(frame)
print("White pixel count : ", white_pixels_count)
#print("size of pic : ", size)
print("rate of fullness : % ", white_area_ratio)
area=white_area_ratio.flatten()
with open(filename1, 'a') as f:
    writer = csv.writer(f)
    #writer.writerow(header)
    writer.writerow(area)
x= ((time.time()-start_time)/60)
y=area
plt.scatter(x, y)
plt.title("Real Time plot")
plt.xlabel("Time (minutes)")
plt.ylabel("Area covered (%)")
plt.pause(1)

key = cv2.waitKey(20)
if key == 27:  # exit on ESC
    break
'''if frame_count % 30 == 0:
    print("Frame Per second: {} fps.".format(
        (time.time() - start_time) / frame_count))
frame_count = frame_count + 1'''

#plt.show()
vc.release()
out.release()
cv2.destroyWindow("preview")
cv2.destroyWindow("Original")
cv2.destroyAllWindows()
Close window
`

This is likely a very late response but I'll put it in here since it may help others. Just quickly glancing at what you pasted, your image size is over 3 times larger than what we have trained our network on. I am going to assume that you have trained your own network because ours will not return anything reasonable with a 400 x 400 image input, in which case I still cannot reasonably comment on the lags without knowing your network architecture. Streaming images without any post-processing operations is one thing, and running a network on a real-time video stream is a totally different thing. It can also depend on the machine you're using. In other words, there's a lot of variables here, and you'd have to narrow down your question and provide additional information to pinpoint the source of the lag you're experiencing. Last we tried in 2019, we got an fps of 37.


patch: Pin Cloudflare Wrangler to latest version

Also change deploy command due the following warning
[WARNING] `wrangler pages publish` is deprecated and will be removed in the next major version.

Please use `wrangler pages deploy` instead, which accepts exactly the same arguments.

Signed-off-by: Vipul Gupta (@vipulgupta2048) <EMAIL_ADDRESS>

@balena-ci I self-certify!


Paella7: Add support for text/vtt captions in DownloadsPlugin

This PR adds the captions files to the paella7 downloads plugin

Your pull request should…

[x] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

Follows the subtitle standard for Opencast. I approve it.
@miesgre what happens if someone doesn't use the same tag standard lang:? Would it be possible to change it through the paella config?
I'm thinking of old videos that had other tags before the standardization in Opencast.

No, only tracks are supported.


ci/rust-version.sh should use or match rust-version

Currently, both rust-version and ci/rust-version.sh have to be manually kept in sync. This makes no sense.

@nyetwurk, you can assign that to me if you're not working on it.

See also https://github.com/Blockdaemon/solana-accountsdb-plugin-kafka/pull/68


Update Blog “biryani”

Automatically generated by Netlify CMS

👷 Deploy Preview for koytak processing.

Name
Link

🔨 Latest commit
38651df7ee8ae4a4781d19a67c8a6e5b77eb7b62

🔍 Latest deploy log
https://app.netlify.com/sites/koytak/deploys/65373ce0623a4c0008095a39


Update: readme, deps, linters

Fixed readme
Cleaned up dependencies
Removed a deprecated linter

Codecov Report

Merging #3 (495d797) into master (dcac9fb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   92.60%   92.60%
=======================================
  Files           5        5
  Lines         230      230
=======================================
  Hits          213      213
  Misses         11       11
  Partials        6        6

Continue to review full report at Codecov.

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

@Nerd35184 I am going to merge this in (usually I would wait for you) - but these are changes that should have been in the previous pull-request. Sorry!

@Nerd35184 I am going to merge this in (usually I would wait for you) - but these are changes that should have been in the previous pull-request. Sorry!

that's ok @mrz1836


Monthly updates on 8.0 are not cumulative.

Fixes in 8.0.1 are not included in 8.0.2.   We should make that transparent - as it is pretty odd.

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

ID: bcdefbcf-c3ad-9b1f-0988-452cea3e2108
Version Independent ID: 7e002437-1ad9-ca29-7844-87e6709fe0fe
Content: Software lifecycle policy and cloud releases - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/migration-upgrade/versions-update-policy.md
Service: dynamics-ax-platform
GitHub Login: @RyanCCarlson2
Microsoft Alias: rcarlson

created PR 361 for this
https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/pull/361

Thanks for letting us know!  I've reached out to the PM to get approval for the change to the article.

The Software Lifecycle Policy has been updated: https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/migration-upgrade/versions-update-policy?toc=/fin-and-ops/toc.json


This project is someway incompatible with node 6

proves: https://gist.github.com/JelF/a814322b41af9f497d6048f3c89c37be
Toolchain should prevent running with node < 7 or either node 6 should be supported

The problem is likely in global state in test/unit/counter/ticking.test.js. If you run any single spec in focus mode, it passes. If you run at least 2 specs, last one fails. My guess is it has to do with all the components not being unmounted at the end of each test.


aruba ports

Please describe the motivation for this PR and provide enough
information so that others can review it.
Please mark with X for applicable areas.

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests / CI System      [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

http://<IP_ADDRESS>/logfiles/vivek1601736632141/testlog


Possible error in the implementation of objective_function

I suspect that in this line you should have budget and not the constant 100 in the divisor:
https://github.com/automl/nas_benchmarks/blob/50ac6126b54159a6f592a30f777f4ffa1286f0f8/tabular_benchmarks/fcnet_benchmark.py#L54
and here:
https://github.com/automl/nas_benchmarks/blob/50ac6126b54159a6f592a30f777f4ffa1286f0f8/tabular_benchmarks/fcnet_benchmark.py#L76
and here:
https://github.com/automl/nas_benchmarks/blob/50ac6126b54159a6f592a30f777f4ffa1286f0f8/tabular_benchmarks/fcnet_benchmark.py#L96

Now I think, I am probably wrong. You have 100 because you have pretrained models for 100 epochs?

yes that's correct probably one should make that more clear


Subclassing SWTableViewCell Causes Cell to Be Empty!

I am attempting to subclass SWTableViewCell to gain its capabilities, but when I do, all of my cell's subviews disappear.  All that displays is an empty cell.
What could be causing this issue?
Here is the header for my SWTableViewCell subclass:

Here is my prototype for my subclass:

View hierarchy for my cell prototype:

I specified the Custom Class:

I specified my reuse identifier

Here is the code that create's my SWTableViewCell subclass.  Note that if I make CourseCell (my subclass) a subclass of UITableViewCell instead of SWTableViewCell and comment out the SWTableViewCell-specific code, it displays fine.

Here are the empty cells when I subclass SWTableViewCell:

Here is what it should look like and does look like when I do not subclass SWTableViewCell.

I'm getting this issue but the cell.containingTableView is not there anymore. How can I fix this?
P.s. I'm using Swift


Preview Not Working

Why is my preview not working? I am expecting three model classes to be generated:

You have selected input type JSON Schema but you have not entered a JSON Schema.

This would be regular JSON then?

Yep. Select source type: JSON.


TRT run the torchscripte model failed!

Description
Torchscripte model run on the TRT failed! TRT server can load the torchscripte model sucess, but it runs failed. The output failure information is as flows “failed to allocate pinned system memory, falling back to non-pinned system memory”. As mentioned above, data can also be loaded into GPU memory, but it run the torchscripte model break off.
Triton Information
trt version=20.03 pytorch=1.0.0

You are using a Pytorch version that is very old. The version used in 20.03 is 1.5.0. The error message you see above does not crash the server or prevent the model from loading. Please run with --log-verbose=1 and share the exact error the model reports.

Closed for inactivity. Reopen if additional information is available.


Making the Commons extension Core as optional field in the collections

As we are currently discussing making the collection field from the Commons extension core (see #384), I think we could make the whole Commons extension core as optional field for collections. It is used in many cases anyway, either to describe collections with fields that are usually used for items (but having no items, see GEE and multiple implementations for openEO) or to describe common fields of items (sat-api, sentinel-stac, landsat-stac). So we have 6 implementations, which basically makes the extension stable. It makes the spec IMHO a whole lot easier to understand as collections and commons are so closely related and both refer to each other so often. It would also bring us closer to the common metadata model, I think. Also, it makes validation easier.

👍

Yup, I'm +1 - thanks for humoring me on evolving it as an extension, but I agree that there's good implementation use of it. Ideally we should touch back on the idea of the 'common metadata model', which I think is taking this even further, saying all fields could serve as 'commons'. But I think just having the commons extension in core could be a happy medium that enables lots of reuse, but doesn't try to fit every 'collection' level thing to also be used in items. Though we do have to sort out the other way is the single item extension, but maybe #385 solves that for us?
Happy for this to all move in to PR's so we can see how it all looks in practice, in the spec and in examples.

Great, I'll make a PR for #384 and this issue once things are a little less busy in the openEO project.

Thinking about moving it to 0.8.0 as this is also related to #413 / #416. Opinions?

Done.


Do I run docker-compose on server or on client?

I have docker server on one computer and docker client on another (Gentoo Linux).
I attempted to follow README.md, sitting on the client. I came to the point of docker-compose. It refused to start. Investigation showed that it failed to bind-mount config directory.
I wouild like to know, if it is at all possible to run docker-compose on computer not running docker daemon? If yes, how do I get bind-mounting to work?

Do you mean that you did not use the docker-ce package to install docker?
At the least, container runtime (e.g., containerd) must be required to run containers.
Also, which directory did you fail to mount?
If you did not change the directory structure of this repository, there is a possibility that there would be some changes in terms of the directory structure in the latest version of Open5GS.  I have not tried the latest version.  So in this case, you have to fix it or you can also use the old version of Open5GS.
Or if it is the PGW, there is a possibility of the TUN device.  The PGW requires TUN to have GTP tunnels for UEs's connections.  In this case, please confirm the TUN device is available in your environment.

I installed docker with emerge app-emulation/docker  where emerge is gentoo'ish apt and app-emulation/docker is a name of package which contains both client and server. containerd is provided by app-emulation/containerd, and got automagically installed because app-emulation/containerd is a dependency of app-emulation/docker.
The problem is that mounting of config directory silently fails, therefore all containers started by your docker-compose.yaml  don't do anything useful. I changed entrypoint command from "/bin/sh" "/etc/open5gs/run_hss.sh" to "sleep" "1h", attached to the running hss container, did ls /etc/open5gs, the directory was empty.
Bind mount systematically fails on computer not running dockerd server. For instance, theese commands
mkdir unique_dir
cd unique_dir
>got.file
docker run --rm -it -v `pwd`:/please.mount ubuntu ls -l /please.mount

print total 0 when run on client computer, when unique_dir does not exist on server.
I used docker before (approximately 2 years ago) with dedicated dockerd server and did not experience problems with mounts.
I would like you to test bind-mounting on non-server computer. If that works, I would like to know your docker and linux kernel version.

Closing the issue as suggested by @hassiweb


#warning esp_intr.h is deprecated

I am using the library in an ESP32 application in PlatformIO using the Arduino framework with MCP2515 hardware. I am getting the warning message below.  It is only a warning, so no big deal, but I thought you would like to know.
In file included from .pio/libdeps/esp32dev/CAN/src/ESP32SJA1000.cpp:6:
C:/Users/Al Testani/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/esp_hw_support/include/esp_intr.h:8:2: warning: #warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead [-Wcpp]
 #warning esp_intr.h is deprecated, please include esp_intr_alloc.h instead

replaced with esp_intr_alloc.h.


fix(tests): remove delays between dials

This is a bug report
Problem
nwaku<>js-waku interop saw flakiness when we dial two nwaku nodes, from js-waku, one after the other -- the connections seems to be dropping.
adding a small delay of 500ms between the two dials seems to have fixed it -- https://github.com/waku-org/js-waku/pull/1973/files
Proposed Solutions

Investigate why the delays needed to be add
Remove the delays

Maybe @fbarbu15 has any input on it.