Scrolling HorizontalPager on desktop doesn't respect pagerSnapDistance

Describe the bug
When using the mouse/trackpad to scroll a HorizontalPager, the snapping behavior doesn't respect the pagerSnapDistance property in the SnapFlingBehavior.
Affected platforms

Desktop (Windows, Linux, macOS)

Versions

Kotlin version*: 1.9.23
Compose Multiplatform version*: 1.6.10-dev1599
OS version(s)* (required for Desktop and iOS issues): macOS 14.5
OS architecture (x86 or arm64): arm64
JDK (for desktop issues): OpenJDK 18.0.2

To Reproduce

Create a HorizontalPager with at least 3 pages.
Scroll quickly with the mouse/trackpad.
Instead of only scrolling by one page (the default for HorizontalPager), if the fling was fast enough, it will scroll by two pages.

Expected behavior
The snapping behavior should respect the max distance.
Screenshots
https://github.com/JetBrains/compose-multiplatform/assets/9020352/78dc97ae-2c10-4722-b542-33731dc8621f
Additional context
This might be intentional behavior to better mimic how scrolling usually works with a mouse. If it's that, though, then snapPositionalThreshold should be respected at least. Even if just one pixel of the "next" page is in view, the pager will snap to that, even if the threshold is 50%.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Debug improvements

Just a quickie.
Having the inspector window pop up in the middle of the screen is annoying.

Merged, thanks!


Sleeping kubernetes

in tests, don't sleep for a second, side step it
reduce status checks on kubernetes pod

not tested (chuck if this deviates from the end goal API)
before:
real	0m7.108s
user	0m0.566s
sys	0m0.257s

after:
real	0m0.816s
user	0m0.545s
sys	0m0.236s

I'm not sure why this is significantly different?

I think your performance gains are strictly from changing the specs (i.e. you've changed every spec to do Running => Succeeded where before it was "Running => Running => Succeeded").  If you just change the specs and not the code do you still get the perf gains?

Oh good catch this would have been introduced when we went to kubeclient.
I think you can just expect(subject).to receive(:sleep).with(1) in the kubernetes_spec though

Oh I see - it's doing Running => Succeeded => Succeeded, which introduces a second unnecessary get_pod call.

Regardless, this is clearer to me.  Should we also remove the running? and success? methods since they are no longer used?

udpate:

added with(1) to sleep specs

@kbrock Can you update the PR title to better reflect the change?


update proxy of master to raftstore-proxy

What problem does this PR solve?
Issue Number: ref #4982
Problem Summary:
update proxy to raftstore-proxy
Proxy PR:
Including:\nSubmodule contrib/tiflash-proxy cb4a9dbfba..cd89e8e4f2:

Merge TiKV about 6.5(616b4402192) (#221)
Add some tests to protect logics before and after cloud TiFlash (#220)

What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge


Request: Restore Fighter's Finesse with Mythic Weapon Finesse functionality

Hello,
The new patch 1.40 has broken the interaction between Fighter's Finesse ("The fighter gains the benefits of the [Weapon Finesse] feat with all melee weapons that belong to the associated fighter weapon group (even if they cannot normally be used with [Weapon Finesse]). The fighter must have the [Weapon Finesse] feat before choosing this option.") and Mythic Weapon Finesse, making only regular Finessable weapons subject to the Mythic Feat and not considering Fighter's Finesse with Weapon Training.
I'd appreciate it if you could restore this functionality, which makes these feats actually valuable to some builds.
Best regards,
/Haplo

This is a really weird decision on Owlcat's part if it is intentional, as Regill's default build relies on this exact interaction...

Right. That makes it even weirder.

Interestingly upon testing, Regill seems immune to this change and still gets Dex to damage with his double hammer.

What weapon are you testing with otherwise? Perhaps there's an intricacy we're missing.

I've been intending to use scythes, so Heavy Blade Training. Tested mainly with longswords.
However I've just checked and axes don't work either. Interestingly, Gnome Hooked Hammers ALSO don't work on the MC with Double Weapon Training.

Good news! As of the latest update, this is no longer a problem.

True. Fantastic news!
Thank you for your kind interest.


Reverse of an array  (code+explanation in C++)

Description
Reverse of an Array with code and explanation in C++
Domain
DSA
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


fix(router): fix return value for getTransition of NSRouterLink

Return undefined transition value from getTransition method of NSRouterLink when boolean value is used for pageTransition input. Fixes #1784
PR Checklist

[x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
[x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
[x] You have signed the CLA.
[x] All existing tests are passing: https://github.com/NativeScript/nativescript-angular/blob/master/DevelopmentWorkflow.md#running-the-tests
[x] Tests for the changes are included.

What is the current behavior?
The getTransition method of NSRouterLink returns an empty object value for the transition property, when the ´pageTransition´ input is given a boolean value. This leads to the defaultTransition of the Frame not being applied.
What is the new behavior?
The getTransition method of NSRouterLink now returns undefined as the value for the transition property.
Fixes #1784.

test

Any news on this PR?

Hi @flore2003 ,
The PR has been reviewed but is not yet merged because we are in the process of a release which is planned for later this week. After that release we will update this PR to the latest branch and process it. Sorry for the delay caused by our current release plan.

test


Doesn't work at all in jquery 3

$.event.mouseHooks is deprecated in 3.0

Hi
I love your script but it's not working under jQuery 3.0
Is there any progress on this?
Dirk

Sorry! I need to make time for it.

Fixed by 5544d70e6ffada97b865c03f13492cb89e163637


CSS "visibility" (hidden/visible/etc)

CSS "visibility" (hidden/visible/etc)

This issue was imported from Google Moderator
Moderator votes: +5
Issue added by Dan S on 2014-05-05
To vote this issue up or down, simply include +1 or -1 in your comment.

-1

-1

Now available at https://caniuse.com/#feat=mdn-css_properties_visibility


Added Sex/Gender to the user profile

General
Added the gender character to the user user profile, reflected the change into the IProfileRequest and user profile tests to ensure that the property is being saved and updated.
Gender nullable to support not providing said gender.
Reference: (Trello)
Notes

I updated the user profile template in the user-profile testing to be 'userProfileTemplate' instead of 'settings' as it felt misleading.
There does not seem to be a lot of input validation from the client, this might be something worth looking more into.

Changes reflected based on feedback.


A bug that a new Train cannot be created when using Paper

BkCommonLib version:1.15.2-v2
TrainCarts version:1.15.2-v1
Paper version:git-Paper-198
API version : 1.15.2-R0.2-SNAPSHOT

Problem or bug: A bug that a new Train cannot be created when using Paper
Expected behaviour: Change to Train when placing Minecart with bare hands
Steps to reproduce:Introducing TrainCarts while using Paper

Please use the 1.15.2-v3 release with paper, v2 doesnt work anymore


[Bug]: select options/datepicker/field borders inside dialog content disappear behind dialog footer or dialog-title

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Bug type
Functionality
It affects the following packages
Components
Which version of Lyne Components are you using
0.51.1
Operating system
Windows 10
Browser / Browser version
Chrome, Edge
Input mode
Mouse/Keyboard
Additional settings
No response
What happened?
I use the sbb-dialog component with sbb-dialog-content and sbb-dialog-actions. Inside the content the last element is an sbb-select with a list of options. If you click on the select field, the options are displayed but disappear partially behind the footer and aren't selectable.
I expect that the options are displayed in front of the footer so that all options are selectable.

Steps to reproduce the issue

Define a sbb-select with a list of options (at least 4 options) inside an sbb-dialog-content as last element
Add some sbb-dialog-actions
Review result

Relevant log output
No response

I have seen that the datepicker component is hidden too and in some case (e.g. when field error message displayed) the fields jump and the top fields are also partially hidden by dialog-title....
Here's an Screenshot:


Expose the seconds param

I realised the seconds param wasn't available via this API so figured I'd add it. Easy change, backwards compatible, figured it was worth a PR. :-)
Thanks for this package, super helpful to be able to send alerts from outside of a react component and have them displayed in Material UI. ❤
I mentioned in the commit, I'd recommend renaming seconds to milliseconds as it seems like it's actually milliseconds and not seconds. I'd guess displaying an alert for 5k seconds is unlikely!

Again, linting failed on this PR, but seems to run locally with only warnings, no errors.

Good catch, thanks again.
I'll rename the property in another PR.


SD_FORBID_HELPERS not doing anything

Issue Description
Ran into some problem with DNN on an old AMD Turion processor so wanted to test without the native mkldnn helper. Tried various way to set SD_FORBID_HELPERS to disable the helper but couldn't get it to work.
Version Information
Running deeplearning4j-1.0.0-beta7
Additional Information
I found in libnd4j/include/legacy/impl/Environment.cpp what looks like a typo in the check. It pulls in the environment variable into a local variable and then performs a check against another local variable.
        /**
         * If this env var is defined - we'll disallow use of platform-specific helpers (mkldnn, cudnn, etc)
         */
        const char* forbid_helpers = std::getenv("SD_FORBID_HELPERS");
        if (max_master_threads != nullptr) {
            _allowHelpers = false;
        }

The forbid_helpers variable is not checked anywhere else in the code.

Try to set SD_MASTER_THREADS then and see if that makes a difference :)
Also try to set ND4J_FALLBACK, ND4J_MKL_FALLBACK=true, and SD_BLAS_FALLBACK.

Pro tip!
I already did as I found missing check in the code. And it worked. Now it's a lot slower on the DNN operations but it hasn't crashed yet.

Awesome! Please send a pull request with the fix if possible. Thanks!

You got it. I created PR #9126 but need to get the ECA signed.

Created PR #9127 instead. Looks like the signoff worked this time.


Added consistent single quotes.

Sorry. Nobody has ever submitted me a PR before so I wasn't expecting this. I'll do a manual merge when I'm back at my workstation (on a Chromebook at the moment). Thanks for your contribution!

github bugged out so i just added the changes manually. thanks though, i never pay attention to consistency with quotes.


add option to output scientific notation as well

might be able to just change the BigNumber config directly

fixed in  897f945


Incompatible with the current Intellij IDEA version

version: 2019.2 Ultimate Edition
updated by Snap

Thanks for reporting. I don't have a stable version for 2019.2 because it's still an EAP version, but in the meantime, you might try using a version of this plugin from the alpha channel. You need to add https://plugins.jetbrains.com/plugins/alpha/10053 as your custom plugin repository channel.
BTW, I'm surprised you're using my plugin instead of the JetBrains' one. (I believe the Scala plugin by JetBrains has Play/routes support in IJ Ultimate -- I created my plugin as a free alternative). Have you tried that one?

@tomas-milata actually I did downgrade because there was more unstable plugins. I already have installed Scala plugin but there is no feature about routes as you have.


download

how to download annoted pdf file??? i cant able to download annoted pdf file

hi @sajithjm did you find any successful implementation for downloading the annotate,
I want to acheve the same task.
Thanks in advance

no @rmemon

In my case, I save annotations in database. I have a controller action for download which reads original pdf file using fpdi, retrieves annotations from database, inserts them into pdf using tcpdf and finally returns the new annotated pdf also with tcpdf.
Here is a code snippet that might be useful.
This is an example that inserts only the comments inside the pdf. From this point, including the other annotation types should be pretty straightforward.
//-------------------------------------------------
require_once('tcpdf/tcpdf.php');
require_once('fpdi/fpdi.php');
function annotationsByPage($json, $page) {
$res = [];
foreach ($json as $value) {
if ($value->class == 'Annotation' && $value->page == $page) {
$res[] = [$value, commentByAnnotation($json, $value->uuid)];
}
}
return $res;
}
function commentByAnnotation($json, $uuid) {
$res = null;
foreach ($json as $value) {
if ($value->class == 'Comment' && $value->annotation == $uuid) {
$res = $value;
if (!isset($value->content)) {
$value->content = '';
}
break;
}
}
if (!$res) {
$res = new stdClass();
$res->content = '';
}
return $res;
}
$pdf = new FPDI('', 'pt', 'A4', true, 'UTF-8', false, false);
try {
$file_name = 'example.pdf';
$annotations_url = "http://example/api/annotations/$file_name";	//I have a RESTful API that fetches annotations from database
$annotations = file_get_contents($annotations_url);
$json = NULL;
if ($annotations) {
$json = json_decode(json_decode($annotations));
}
$pageCount = $pdf->setSourceFile("path/to/file/example.pdf");
for ($i = 1; $i <= $pageCount; $i++) {
$tplIdx = $pdf->importPage($i, '/MediaBox');
$pdf->AddPage();
if ($json) {
$page_annotations = annotationsByPage($json, $i);
foreach ($page_annotations as $annotation) {
if ($annotation[0]->type == 'point' && $annotation[0]->class = "Annotation") {
$pdf->Annotation($annotation[0]->x, $annotation[0]->y, 100, 70, $annotation[1]->content, array('Subtype' => 'Text', 'Name' => 'Comment', 'T' => 'Comment', 'Subj' => 'Example', 'C' => array(255, 255, 0)));
}
}
}
$pdf->useTemplate($tplIdx);
}
$pdf->Output($file_name, 'D');
} catch (Exception $exc) {
}

Exactly we can't save but we can save our annotation to repository by
document name or Id then when we open that document it automatically fetchs
from our repository.. see that js there is method to save and fetch instead
of using cache use your repository
On Sep 1, 2017 10:05 PM, "Felix Daniel"<EMAIL_ADDRESS>wrote:

In my case, I save annotations in database. I have a controller action for
download which reads original pdf file using fpdi, retrieves annotations
from database, inserts them into pdf using tcpdf and finally returns the
new annotated pdf also with tcpdf.
Here is a code snippet that might be useful.
This is an example that inserts only the comments inside the pdf. From
this point, including the other annotation types should be pretty
straightforward.
//-------------------------------------------------
require_once('tcpdf/tcpdf.php');
require_once('fpdi/fpdi.php');
function annotationsByPage($json, $page) {
$res = [];
foreach ($json as $value) {
if ($value->class == 'Annotation' && $value->page == $page) {
$res[] = [$value, commentByAnnotation($json, $value->uuid)];
}
}
return $res;
}
function commentByAnnotation($json, $uuid) {
$res = null;
foreach ($json as $value) {
if ($value->class == 'Comment' && $value->annotation == $uuid) {
$res = $value;
if (!isset($value->content)) {
$value->content = '';
}
break;
}
}
if (!$res) {
$res = new stdClass();
$res->content = '';
}
return $res;
}
$pdf = new FPDI('', 'pt', 'A4', true, 'UTF-8', false, false);
try {
$file_name = 'example.pdf';
$annotations_url = "http://example/api/annotations/$file_name"; //I have
a RESTful API that fetches annotations from database
$annotations = file_get_contents($annotations_url);
$json = NULL;
if ($annotations) {
$json = json_decode(json_decode($annotations));
}
$pageCount = $pdf->setSourceFile("path/to/file/example.pdf");
for ($i = 1; $i <= $pageCount; $i++) {
$tplIdx = $pdf->importPage($i, '/MediaBox');
$pdf->AddPage();
if ($json) {
$page_annotations = annotationsByPage($json, $i);
foreach ($page_annotations as $annotation) {
if ($annotation[0]->type == 'point' && $annotation[0]->class =
"Annotation") {
$pdf->Annotation($annotation[0]->x, $annotation[0]->y, 100, 70,
$annotation[1]->content, array('Subtype' => 'Text', 'Name' => 'Comment',
'T' => 'Comment', 'Subj' => 'Example', 'C' => array(255, 255, 0)));
}
}
}
$pdf->useTemplate($tplIdx);
}
$pdf->Output($file_name, 'D');
} catch (Exception $exc) {
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/instructure/pdf-annotate.js/issues/27#issuecomment-326626804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIC381YDY7xDgNuzGkYyhKZpsFEkd9IWks5seDJQgaJpZM4Me9OS
.


#35176 Remove reference to "backspace" regex

Remove reference to "backspace" regex in example #35176

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[X] My changes do not use shortened URLs or affiliate links.

Closes #35176

@QuincyLarson I tested this locally and looks like what you requested.

@almazkun Awesome! Thank you for fixing this issue and for cleaning up the presentation a bit as well!


ERROR: azure-cli 2.19.1 has requirement azure-cosmos>=3.0.2,~=3.0, but you'll have azure-cosmos 4.2.0 which is incompatible.

When I try to install cosmos sdk I get this output with several errors:
Collecting azure.cosmos
  Using cached azure_cosmos-4.2.0-py2.py3-none-any.whl (136 kB)
Requirement already satisfied: azure-core<2.0.0,>=1.0.0 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from azure.cosmos) (1.10.0)
Requirement already satisfied: six>=1.6 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from azure.cosmos) (1.15.0)
Requirement already satisfied: requests>=2.18.4 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from azure-core<2.0.0,>=1.0.0->azure.cosmos) (2.25.1)
Requirement already satisfied: chardet<5,>=3.0.2 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from requests>=2.18.4->azure-core<2.0.0,>=1.0.0->azure.cosmos) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from requests>=2.18.4->azure-core<2.0.0,>=1.0.0->azure.cosmos) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from requests>=2.18.4->azure-core<2.0.0,>=1.0.0->azure.cosmos) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from requests>=2.18.4->azure-core<2.0.0,>=1.0.0->azure.cosmos) (1.25.11)
ERROR: azure-cli 2.19.1 has requirement azure-cosmos>=3.0.2,~=3.0, but you'll have azure-cosmos 4.2.0 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement azure-graphrbac~=0.60.0, but you'll have azure-graphrbac 0.61.1 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement azure-mgmt-containerregistry==3.0.0rc16, but you'll have azure-mgmt-containerregistry 2.8.0 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement azure-mgmt-keyvault==8.0.0, but you'll have azure-mgmt-keyvault 2.2.0 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement azure-mgmt-storage~=16.0.0, but you'll have azure-mgmt-storage 11.2.0 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement cryptography<3.0.0,>=2.3.1, but you'll have cryptography 3.3.1 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement pytz==2019.1, but you'll have pytz 2021.1 which is incompatible.
ERROR: azure-cli 2.19.1 has requirement websocket-client~=0.56.0, but you'll have websocket-client 0.57.0 which is incompatible.
Installing collected packages: azure.cosmos
Successfully installed azure.cosmos
Requirement already satisfied: seaborn in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (0.11.1)
Requirement already satisfied: numpy>=1.15 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from seaborn) (1.18.5)
Requirement already satisfied: matplotlib>=2.2 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from seaborn) (3.2.1)
Requirement already satisfied: pandas>=0.23 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from seaborn) (0.25.3)
Requirement already satisfied: scipy>=1.0 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from seaborn) (1.5.2)
Requirement already satisfied: kiwisolver>=1.0.1 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from matplotlib>=2.2->seaborn) (1.3.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from matplotlib>=2.2->seaborn) (2.4.7)
Requirement already satisfied: cycler>=0.10 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from matplotlib>=2.2->seaborn) (0.10.0)
Requirement already satisfied: python-dateutil>=2.1 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from matplotlib>=2.2->seaborn) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from pandas>=0.23->seaborn) (2021.1)
Requirement already satisfied: six in /anaconda/envs/azureml_py36/lib/python3.6/site-packages (from cycler>=0.10->matplotlib>=2.2->seaborn) (1.15.0)

and If I try  something as easy as this:
from azure.cosmos import CosmosClient, PartitionKey
I get :
ImportError: cannot import name 'CosmosClient'

Thanks for the report @levalencia - it's true that there are many cases where the azure-cli is using a locked SDK versions, which will generally be incompatible in a developer environment. How (and on what OS) was the CLI installed?

This iwas in an Azure ML notebook, so it's a Linux os, the compute. Instance was created yesterday so I assume it has the latest Azure ML python sdk
Any way to fix this?

Thanks @levalencia - I will keep investigating if something further can be done to properly resolve this without waiting on the Azure CLI to update their cosmos version.
In the meantime, to get unstuck - you can find the 3.x version of the cosmos SDK here:
https://github.com/Azure/azure-cosmos-python
It includes all the samples and documentation you would need to work with this version of the SDK.

It looks as though a short term solution was provided so we're now closing this issue. If it did not resolve it, please reopen the issue and we'll investigate further. Thanks!
For internal MSFT use: https://msdata.visualstudio.com/Vienna/_workitems/edit/1120917


Fix Kap preventing sleep

When an editor was open, Kap would prevent the computer from going sleep. This was caused by chrome's functionality of preventing sleep when there's media playing on the page. Until a better solution is found, we decided to at least pause the editor window when it is blurred, and resume when focused.
This indeed removes Kap from the list of Apps that prevent sleep a couple of seconds after blurring. The issue, of course, will remain if you keep the editor focused.
Questions:

While doing this, I was also wondering if it would be worth utilizing that functionality and preventing the computer from sleeping while aperture is recording. I think I've heard of a couple of issues of putting the computer to sleep while recording, but I'm not 100% sure.

If I pause the video, blur the window, and then focus the window again it starts playing, but it should be paused like it was before being blurred.

@sindresorhus
Good catch, updated. Also, fixed the preferences categories color issue. It will need some more touching up (the gray background focus state) but I'm working on a follow up PR to add tab accessibility to the preferences window, so I'll address further there.

While doing this, I was also wondering if it would be worth utilizing that functionality and preventing the computer from sleeping while aperture is recording. I think I've heard of a couple of issues of putting the computer to sleep while recording, but I'm not 100% sure.

Better to do that at the source: https://github.com/wulkano/Aperture/pull/64


[BUG]Incorrect function name and accidental override

Current Behaviour

Hey, I'm a GSSoC '23 Contributer and I found an issue.
The function for inflation is overridden by the effective annual rate function and hence the result in incorrect.
Can you fix the bug by yourself?

[x] YES
[ ] NO

Additional Information

The error can be seen here:
@app.get(
    "/effective_annual_rate",
    tags=["Effective Annual Rate"],
    description="Calculate Effective Annual Rate",
)
def inflation(annual_interest_rate: float, compounding_period: int):

Go ahead and solve the issue @Nishith-Savla ;)

@ighoshsubho Seems it was fixed by someone else in some another PR.

Sorry it was the other issue. My bad


feat(web/http): Add custom context, and a way to access request ID easily

Closes #18
Initial idea for this came from this set of comments after @cohix 's question: https://github.com/suborbital/e2core/pull/365#discussion_r1097874189

Added a new function RID to grab a request ID from an echo context.


logging levels

The documentation advises that:

Available levels are .debug, .info, .error, and .critical. For warnings, use warnings module.

But in fact logging an .error level does nothing, logging a .critical raises an exception (trace below), and there are leftovers from when "warnings" were available.
In [3]: log.critical("what")
---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
<ipython-input-3-53d8881f152d> in <module>()
----> 1 log.critical("what")

~/anaconda2/envs/py36/lib/python3.6/logging/__init__.py in critical(self, msg, *args, **kwargs)
   1351         """
   1352         if self.isEnabledFor(CRITICAL):
-> 1353             self._log(CRITICAL, msg, args, **kwargs)
   1354
   1355     fatal = critical

~/anaconda2/envs/py36/lib/python3.6/logging/__init__.py in _log(self, level, msg, args, exc_info, extra, stack_info)
   1440         record = self.makeRecord(self.name, level, fn, lno, msg, args,
   1441                                  exc_info, func, extra, sinfo)
-> 1442         self.handle(record)
   1443
   1444     def handle(self, record):

~/anaconda2/envs/py36/lib/python3.6/logging/__init__.py in handle(self, record)
   1450         """
   1451         if (not self.disabled) and self.filter(record):
-> 1452             self.callHandlers(record)
   1453
   1454     def addHandler(self, hdlr):

~/anaconda2/envs/py36/lib/python3.6/logging/__init__.py in callHandlers(self, record)
   1512                 found = found + 1
   1513                 if record.levelno >= hdlr.level:
-> 1514                     hdlr.handle(record)
   1515             if not c.propagate:
   1516                 c = None    #break out

~/anaconda2/envs/py36/lib/python3.6/logging/__init__.py in handle(self, record)
    861             self.acquire()
    862             try:
--> 863                 self.emit(record)
    864             finally:
    865                 self.release()

~/research/projects/astra/python/astra/utils/logger.py in colored_formatter(record)
     95             message = '{} {}'.format(color_text(warning_text, ''), warning_category_colour)
     96
---> 97     sys.__stdout__.write('{}{}\n'.format(header, message))
     98     sys.__stdout__.flush()
     99

UnboundLocalError: local variable 'header' referenced before assignment

Ok, I think this is fixed. Indeed, the critical level was raising an error because it was not being handled in the colored_formatter function. That should be fixed.
I've also remove the warning leftovers and redone how the system handles the warnings. The main problem is that the warning redirection can only happen by overriding the function that warnings uses to handle the warning. astropy already does that so there can be conflicts if astropy is imported. What I've done is to disable the astropy handling of warnings and redirect everything to our _showwarning. If this still produces problems the only solution would be to give up on trying to catch warnings and use log.warnings instead.
log.error should not do anything apart from logging a message with the level CRITICAL. It's not supposed to raise an exception (unless raise or log.exception). print_exception_formatted is called when an exception is raised, but not with log.error.


create an express adapter

Steps are as follows:

Extract first all of the "common components" that aren't Koa based. Controllers, middleware utils perhaps, types, etc.
Use the shared components in the Koa thing
Develop an Express-only adapter using the shared stuff

List of Koa-only things:

https://github.com/imballinst/oas-typescript/blob/main/packages/oas-typescript-koa/templates/typescript/utils.ts
https://github.com/imballinst/oas-typescript/blob/main/packages/oas-typescript-koa/src/helpers/templates/middleware.ts
https://github.com/imballinst/oas-typescript/blob/main/packages/oas-typescript-koa/src/helpers/templates/router.ts

Might need to add more.

All the stuff should be here now: https://github.com/imballinst/oas-typescript/compare/83-create-an-express-adapter?expand=1
Let's try to generate the stuff later.


Percentage Calculation Bug on Result Page

In the current code, when calculating the total score, the percentage of each type of score is incorrect when calculating the percentage ㅠㅠ
This results in an error where if all the questions were answered neutral, the total should be 50% but 60% is output. What should we can do??

 The issue likely occurs because the current scoring system assigns fixed integer values (1, 2, 3, 4, 5) to each option, and the percentage calculation doesn't properly normalize the scores, leading to inflated percentages when all responses are neutral.
A possible solution could be to adjust the scoring system to use scaled values like 0, 2.5, 5, 7.5, 10 instead of 1, 2, 3, 4, 5. This would allow for a more accurate calculation of the total percentage, ensuring that neutral responses (e.g., 5 when scaled) contribute proportionately to the final result. By using this method, if all responses are neutral, the total percentage would correctly reflect 50%, avoiding the current overestimation issue.
Would love to hear your thoughts on this approach! 😊

Aha!!! Very good approach! I will revise the code to reflect Haneol's comments. Thank you very much:) ☺

It still works strangely... We need to check it more detailed. ㅜㅜ


feature: Implement azure-ad:// as a fragment store URI scheme

This updates the Azure fragment store to support active directory authentication. In order to do so, you have to create an "Application" in Azure, and then generate a secret for that application (also called a service principal). In order to share access to storage accounts in external tenants, you must add the application to that tenant, and then grant it access to the storage account.
Three new environment variables are exposed here:

AZURE_TENANT_ID: the name of your tenant
AZURE_CLIENT_ID: the id of your application
AZURE_CLIENT_SECRET: the secret you generated for your application

This change is

My intent with the URL comments is that Azure's SDKs and APIs are pretty convoluted, and it took me a while to find the right places in the docs that describe what I need. I generally try to not write tautological comments, and I guess in this case a comment like // Link to the Azure docs talking about AD auth felt like it wasn't actually useful, since it's clearly a link to the azure docks for authentication, but I'm happy to adjust upwards my tolerance for comments if that's the pattern here.

I generally try to not write tautological comments, and I guess in this case a comment like // Link to the Azure docs talking about AD auth felt like it wasn't actually useful, since it's clearly a link to the azure docs for authentication, but I'm happy to adjust upwards my tolerance for comments like that if that's the pattern here.

I'll just chime in and say that links, even for big public companies like MS, frequently break. IMO it's best to provide a brief summary of the relevant info from the link, and just treat the link more like a citation where readers can go for more details. This also saves readers from needing to visit the link in order to know whether it's relevant to their current focus.

I may be running into a stumbling block here: it looks like the libraries we're using to do the meat of the actual fragment store operations on Azure blobs here are both no longer maintained and are segfaulting when trying to run this e2e locally..

azure-storage-blob-go:

If you would like to access our latest Go SDK, please refer to the new preview azblob package here.

azure-pipeline-go: https://github.com/Azure/azure-pipeline-go/issues/28

Is this project no longer developed / maintained or EOL? (since there has been no actions since quiet some time now)
yes that's correct, the replacement is here: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/azcore

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x18 pc=0x104d12484]

goroutine 264 [running]:
github.com/Azure/azure-pipeline-go/pipeline.(*pipeline).newPolicies(0x14000609b40, {0x10581f280, 0x14000018790})
	/Users/js/go/pkg/mod/github.com/!azure/azure-pipeline-go@v0.2.3/pipeline/core.go:155 +0x124
github.com/Azure/azure-pipeline-go/pipeline.(*pipeline).Do(0x14000676080?, {0x10582adf0, 0x14000616b90}, {0x10581f280?, 0x14000018790?}, {0x14000676088?})
	/Users/js/go/pkg/mod/github.com/!azure/azure-pipeline-go@v0.2.3/pipeline/core.go:129 +0x38
github.com/Azure/azure-storage-blob-go/azblob.containerClient.ListBlobFlatSegment({{{{0x14000676080, 0x5}, {0x0, 0x0}, 0x0, {0x14000676088, 0x16}, {0x1400067609e, 0x19}, {0x0, ...}, ...}, ...}}, ...)
	/Users/js/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.14.0/azblob/zz_generated_container.go:596 +0x390
github.com/Azure/azure-storage-blob-go/azblob.ContainerURL.ListBlobsFlatSegment({{{{{...}, {...}, 0x0, {...}, {...}, {...}, 0x0, 0x0, {...}, {...}, ...}, ...}}}, ...)
	/Users/js/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.14.0/azblob/url_container.go:238 +0xe8
go.gazette.dev/core/broker/fragment.(*azureBackend).List(0x1060550a0, {0x10582adf0, 0x14000616b90}, {0x140000408c0, 0x3d}, 0x14000842240?, {0x1400038c730, 0x4e}, 0x140005f4a80)
	/Users/js/Documents/estuary/gazette/broker/fragment/store_azure.go:150 +0x384
go.gazette.dev/core/broker/fragment.List({0x10582adf0, 0x14000616b90}, {0x140000408c0, 0x3d}, {0x1400038c730, 0x4e}, 0x0?)
	/Users/js/Documents/estuary/gazette/broker/fragment/stores.go:136 +0x170
go.gazette.dev/core/broker/fragment.WalkAllStores({0x10582adf0, 0x14000616b90}, {0x1400038c730, 0x4e}, {0x1400093a020, 0x1, 0x0?})
	/Users/js/Documents/estuary/gazette/broker/fragment/index.go:212 +0x11c
go.gazette.dev/core/broker.fragmentRefreshDaemon(0x140000160d0, 0x14000b0e780)
	/Users/js/Documents/estuary/gazette/broker/replica.go:86 +0x1fc
created by go.gazette.dev/core/broker.NewService.func1
	/Users/js/Documents/estuary/gazette/broker/service.go:41 +0x9c

I don't love the idea of rewriting code that should work, but this appears to be happening inside a library that is no longer maintained, so I'm somewhat doubtful of whether it'll be able to work. Thoughts?
And the new libraries are clearly not API-compatible with the ones we're using here.

Okay @jgraettinger I think I'm ready for another round of 👀 on this. Sorry for all the back-and-forth here, hopefully next time I PR into Gazette it'll be a good bit smoother 😅
It turns out I was wrong and we absolutely do need getAzureStorageCredential() in order to create an azblob Pipeline. I put it back and added some comments that I think should match up with the style you're asking for.
I also ran into an issue when testing this with the scenario that we'll be using it in, in which the service principal is owned by one tenant but the storage account is owned by another. It looks like even though the Azure SDK is supposed to support cross-tenant API calls without friction, that doesn't appear to work.
As a result, it appears to be necessary to know ahead-of-time the ID of the tenant that owns the resource we're trying to access, so I had to add another field to AzureStoreConfig: accountTenantID, as well as plumbing it through from the storage mappings table which you can see over here: https://github.com/estuary/flow/pull/1099

Also, I was having an issue here where errors.Cause(err) was returning nil when err was clearly non-nil. This was causing storeRequestTotal.WithLabelValues to segfault (and thus obscure the actual error that was happening) because the error value was nil, so I changed it to check explicitly for errors.Cause unexpectedly returning nil. Is there something else I should have done here instead?

Ugh. This seemed to be working in that it's writing data to the right account in azure storage, but somehow when trying to read that data back out I'm getting an error about the token's issuer being invalid.
<AuthenticationErrorDetail>Issuer validation failed. Issuer did not match.</AuthenticationErrorDetail>

It seems that the azure sdk is somehow getting tokens from azure AD's v1 endpoint described here with iss values of https://sts.windows.net/7135f765-7f7f-497d-b0c0-25d9557e8226/, whereas it should be using the v2 endpoint here and getting a token with iss of https://login.microsoftonline.com/7135f765-7f7f-497d-b0c0-25d9557e8226/v2.0...
I did some digging, and other people claim that the fix for this is to set a particular value in the app manifest: "accessTokenAcceptedVersion": 2. Supposedly this takes some time to propagate, but I set it ~14h ago and still no luck. So... either this just takes ages to propagate, or I'm doing something wrong but I have no idea for the life of me what it is.
Will check again tomorrow :/

Woohoo! Thanks to @psFried for lending me another set of eyes on this, we figured it out! The problem was that I was generating a token for our tenant (i.e the tenant that owns the service principal), rather than their tenant (the tenant that owns the storage account). Man that was obscure... this is working now!

Just to confirm: I tested this with two separate catalogs, both using azure-ad://, pointed at two separate storage accounts in two separate tenants, and it worked great both writing and reading


Indicate that .cast is an old alias for Promise.resolve

Some old docs/tutorials etc still use .cast. Was a bit confusing that it was nowhere to be found in the bluebird docs.

Promise.resolve is compatible with earlier ECMAScript versions, the deprecation and name change is because the standard name for this method is Promise.resolve in ES6

Yeah this is just wrong. No ES version ever had .cast - a few drafts did but that was it.

Is the .cast alias going away in bluebird? If not, the notice Could still be useful for others who are unfamiliar with the differences in es implementations of promises.

There is one standard ES implementation and it does not use .cast @Laoujin - this has been the case for at least a few years.

Well it's not going away in the sense that we will suddenly break code, but we also don't encourage any usage of it by not including it in docs etc.


Add javadoc and basic logging for Module

Codecov Report

Merging #34 (da855c0) into master (befa294) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #34      +/-   ##
============================================
- Coverage     61.85%   61.76%   -0.09%
  Complexity      395      395
============================================
  Files            79       79
  Lines          1413     1415       +2
  Branches        154      154
============================================
  Hits            874      874
- Misses          502      504       +2
  Partials         37       37

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/model/ModelManager.java
73.84% <0.00%> (-2.35%)
:arrow_down:

...c/main/java/seedu/address/model/module/Module.java
0.00% <ø> (ø)

...in/java/seedu/address/model/module/ModuleCode.java
0.00% <ø> (ø)

...in/java/seedu/address/model/module/ModuleList.java
21.95% <ø> (ø)

...in/java/seedu/address/model/module/ModuleName.java
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


question about NYU-v2

Hi,Thanks for your great work,but i have some question during the dataset preparation.
In dataset preparation of NYU,you downlod the dataset from   https://drive.google.com/file/d/1AysroWpfISmm-yRFGBgFTrLy6FjQwvwP/view?usp=sharing.
I want to know the difference between downloading from https://cs.nyu.edu/~silberman/datasets/nyu_depth_v2.html and downloding from   https://drive.google.com/file/d/1AysroWpfISmm-yRFGBgFTrLy6FjQwvwP/view?usp=sharing

Ok i got this


Parallax in out

Can you add different speed of in and out for the parallax effect?

You mean like to have data-swiper-parallax-duration-in and data-swiper-parallax-duration-out ?

Yes, that's what I mean :)

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

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


feat: subheadings

Codecov Report

Merging #21 (d094768) into master (70b973d) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master     #21      +/-   ##
=========================================
- Coverage    4.12%   4.11%   -0.01%
=========================================
  Files         142     142
  Lines        2835    2840       +5
  Branches      843     832      -11
=========================================
  Hits          117     117
- Misses       2717    2723       +6
+ Partials        1       0       -1

Impacted Files
Coverage Δ

src/aws/actions/articles.ts
39.47% <0.00%> (-1.07%)
:arrow_down:

src/pages/article/[year]/[month]/[slug].page.tsx
0.00% <0.00%> (ø)

src/pages/article/[year]/[month]/[slug].styles.ts
0.00% <0.00%> (ø)

src/components/Table.tsx
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Create Viewer for glbs

So inscribing GLBs WORKS just need front end to be fixed to be able to view it now? https://ordinals.com/inscription/2ab9c03109114de3b27a277392a082f39df718937170fa52a6a68c0a5ef7c078i0 this is proof of inscription

Correct! First order of business for creating a glb viewer: come up with a convention for the camera. Does the gltf format define a "main" camera that we can use to position the viewer camera?
Going to the source spec is always best: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#glb-file-format-specification

So I propose we use https://modelviewer.dev/ as the viewer. The Glbs themselves are just the 3D data and the viewer just places the model in the middle. Here's an example of model viewer
https://formfunction.xyz/@os_whs/68Rwi7UTa6BL2XSdBjTGc2pp6oYQMk2HuZQ41hz5awzD?width=1080&height=1080

I don't want to have to think about dependencies yet, please see my question about main camera above. I want to understand the format we're trying to support, rather than grabbing a large, hard to understand dependency that might be making weird choices.

So glb itself wont define a camera. It just stores "(geometry, key frames, skins), and images" data. Also im not a giga brain like yall I just mess with code until it works so sorry if im not much help.

There's another viewer that's open source called three.js btw could be more your ethos

Done in #2369.


[Urgent] Fix decorators & test

Decorators are wrongly declared & tests incorrectly done.
This patch fixes it.
Types of Changes

[ ] Core
[x] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Broken test: tests/filters/test_filters.py::test_resolver_filter_with_info
Broken decorator

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@kwongtn I noticed it as soon as I was going to make a release =P. Don't know why tests didn't catch this though

@bellini666 During initial PR I realized CI tests does not run for first-time contributors -- it only runs once you approved 😅
Probably that's the cause 😂


toggleClass 2nd argument

In jquery toggleClass can take a second argument - boolean, which value is used to toggle class - even if it doesn't change anything. I see it implemented in the readme but seems to be not working.
`
$.fn.toggleClassDefault = $.fn.toggleClass;
$.fn.toggleClass = function(selector, value) {
if (value === true) {
this.addClass(selector)
} else if (value === false) {
this.removeClass(selector)
} else {
this.toggleClassDefault(selector)
}
}`
works as temporary fix

Should be sorted now. Pull latest build for update.


New Lobby Screens

About the PR

added the coolest lobby screens since grand theft goob
courtesy of blooodyspy
Why / Balance

its extremely overpowered idk if we should merge this
Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Added 4 new lobby screens made by blooodyspy!!

Summary by CodeRabbit

New Features

Added four new texture files (cqcm.webp, cqcm1.webp, cqcm2.webp, cqcm3.webp) with respective licensing information.
Introduced configuration files for each texture, enabling filtering to enhance visual quality.

Documentation

Updated attributions to include new texture files and their licensing details.

@Piras314 i would like you to cherry pick and port this https://github.com/WWhiteDreamProject/wwdpublic/pull/47


Add 009-WE3-Lab

Address #13
Description:

README touchups; root README + adding GitHub rendered note across all folder READMEs.
Let me know if it's necessary to keep all files relating to the notebook in the folder (or just the README + the main marimo notebook). (Reverted 8e0a1d681104cbe28ecce0812aaf094eed4e497d for now).
Also facing an issues where the data doesn't really load in the graphs; followed the instructions stated in their repository. Have raised an issue regarding the same https://github.com/we3lab/valuing-flexibility-from-water/issues/12 Edit: Fixed now.

@akshayka Let me know if I should add relevant files relating to running the notebook completely; the issue regarding data not showing up in the graphs was just owing to a simple path issue - resolved.

If the assets are required to run the notebook, perhaps we include them?

If the assets are required to run the notebook, perhaps we include them?

Yup, made the changes. Hope it's good to go now.

It looks great! Thank you :)

Oh wow, I didn't realize there were so many assets! I will merge this for now, but if you think there are too many assets, for example if the repo size is too large now, you're welcome to remove them.

Oh wow, I didn't realize there were so many assets! I will merge this for now, but if you think there are too many assets, for example if the repo size is too large now, you're welcome to remove them.

Yup, that's what I was a little worried about. Can let this be for now.


[5.5][CSBindings] Fix inference of partial key path from conversion constraints

Cherry-pick of https://github.com/apple/swift/pull/37679

Explanation:

Fixes a long standing issue in key path inference where type-checker would reject
expressions because it couldn't infer correct key path type from context.
It's not permitted to use PartialKeyPath type to resolve a key path
expression, because that type is intended to be a type-erased version of
a fully resolved KeyPath type.
In situations where contextual type is a partial key path (e.g. parameter
type is a partial key path), let's replace it with a KeyPath type that
is a subtype of PartialKeyPath and allow value inference to happen.

Scope: Passing key path literal as an argument to PartialKeyPath parameter and/or
other situations where PartialKeyPath could be inferred directly from context.

Main Branch PR: https://github.com/apple/swift/pull/37679

Resolves: rdar://32365183

Risk: Low

Reviewed By: @hborla

Testing: Regression tests added to the suite

Resolves: SR-5667
Resolves: rdar://32365183

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - d7b987efa85bac2c6a870f63cd2a2397f074eeea

Build failed
Swift Test OS X Platform
Git Sha - d7b987efa85bac2c6a870f63cd2a2397f074eeea

@swift-ci please test


⚠ Empornium has degraded performance

In 391f4d5, Empornium ($EMP) experienced degraded performance:

HTTP code: 500
Response time: 1066 ms

Resolved: Empornium performance has improved in 3c64c57 after 12 minutes.


improving fine-tuning quality

Hello, Thank you for this great project and the code!
I have a small set of birds images that I want to fine-tune on, They look like this:

I am using '*' as my placeholder string. After 6100 training iterations, the images generated look something like this:

These are pretty good, but is there a way to improve the quality of the final images?
I am using the large ldm model and all the default parameters.
Thanks!

That depends on what quality improvement you're looking for. If you're talking about better resolutions and shapes, you might have better results with Stable Diffusion, but editability suffers there.
If you want it to capture finer details and you don't care about editing, you can just bump up the number of learned vectors (num_vectors_per_word) or increase the learning rate.

Thank you @rinongal  for the detailed explanation.
What do you mean by "editability" with Stable Diffusion here? (Sorry if it is obvious, but I am new to Diffusion Models).

By editability I mean how well you can change the object with your prompts.
If you train your concept too strongly, then things like "a photo of *" would give your birds, but things like "a painting of * in the style of Van Gogh" will still give photo-realistic images, and not paintings in the style of Van Gogh.
If all you care about is generating more of your subjects, then you don't care about their editability.

Gotcha! Thank you for the reply! I am closing this issue now!


allow focusing of next and previous page w PageUp/Down when in navigation mode

This PR fixes #149882

I see a few issues:

Just up and down trigger navigation mode now, I think we should require ctrl+up/down/pgup/pgdn to enter navigation mode before activating the up/down and page up/down keybindings
Page up moves up a page but also moves to the previous row, the visible row should remain the same (opposite is true for page down)
Sometimes page down doesn't move to the last row in the buffer, when there is no more room to scroll when using page down/page up it should move the focus to the very end

Just up and down trigger navigation mode now, I think we should require ctrl+up/down/pgup/pgdn to enter navigation mode before activating the up/down and page up/down keybindings

not for me on macOS, I'll look at the keybindings more closely. the behavior you describe above is how it currently works on mac

not for me on macOS, I'll look at the keybindings more closely. the behavior you describe above is how it currently works on mac

Same for me now, I guess my ctrl key got stuck.

Page up/down still move 1 row when doing it.

A better approach actually is to align exactly with how the editor does it; if the line is in the top 2, move up a page (to the second line, to give 1 line of context), if not it moves to the second line in the viewport without scrolling.

Opps, I hadn't pulled 🤦 still it's a bit weird at the ends and aligning with the editor is the best approach after thinking about it.

definitely something weird going on when switching bw up/down line and up/down page. it's working for me to jump to the top though. not sure why that's happening for you

https://user-images.githubusercontent.com/29464607/174683971-5254cfb3-76fa-4b58-93a9-eb444aed1944.mov

the keybindings for these command w navigation mode enabled interfere with command tracking fyi @Tyriar not sure if that's expected, but it's not a new issue

@meganrogge yep I'm aware of that


Strange layout constraint errors

I'm having strange layout errors when using FloatingPanel with a specific content view controller, where I am using a UITableViewDiffableDataSource and applying the snapshot asynchronously.
I've created a project showing the error: https://github.com/kevinrenskers/FloatingTest.
The interesting part is TableViewController:
import UIKit
import Combine

class TableViewController: UIViewController {
  @IBOutlet private var tableView: UITableView!

  @Published private var text = ""
  private lazy var dataSource = makeDataSource()
  private var cancellables = Set<AnyCancellable>()

  override func viewDidLoad() {
    super.viewDidLoad()
    tableView.dataSource = dataSource

    $text
      .receive(on: DispatchQueue.main)
      .map { _ -> Void in () }
      .sink(receiveValue: applySnapshot)
      .store(in: &cancellables)
  }

  private func makeDataSource() -> UITableViewDiffableDataSource<String, AnyHashable> {
    return UITableViewDiffableDataSource<String, AnyHashable>(tableView: tableView) { tableView, indexPath, item in
      fatalError()
    }
  }

  private func applySnapshot() {
    let snapshot = NSDiffableDataSourceSnapshot<String, AnyHashable>()
    dataSource.apply(snapshot)
  }
}

2020-04-23 13:48:46.788298+0200 FloatingTest[8724:10202719] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x600001a44780 h=--& v=--& FloatingPanel.FloatingPanelSurfaceView:0x7ff0f7b08560.height == 0   (active)>",
    "<NSLayoutConstraint:0x600001a44a50 V:[UITableView:0x7ff108022000]-(0)-|   (active, names: '|':UIView:0x7ff105f1ef60 )>",
    "<NSLayoutConstraint:0x600001a44c80 V:[UILabel:0x7ff105f12ec0'Label']-(16)-[UITableView:0x7ff108022000]   (active)>",
    "<NSLayoutConstraint:0x600001a45270 UILabel:0x7ff105f12ec0'Label'.top == UILayoutGuide:0x600000089c00'UIViewSafeAreaLayoutGuide'.top + 16   (active)>",
    "<NSLayoutConstraint:0x600001a45180 UIView:0x7ff105f1ef60.height == FloatingPanel.FloatingPanelSurfaceView:0x7ff0f7b08560.height   (active)>",
    "<NSLayoutConstraint:0x600001a45040 'UIViewSafeAreaLayoutGuide-top' V:|-(0)-[UILayoutGuide:0x600000089c00'UIViewSafeAreaLayoutGuide']   (active, names: '|':UIView:0x7ff105f1ef60 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600001a44c80 V:[UILabel:0x7ff105f12ec0'Label']-(16)-[UITableView:0x7ff108022000]   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

I think the big problem there is the FloatingPanelSurfaceView:0x7ff0f7b08560.height == 0 part. Why does FloatingPanelSurfaceView want to be 0 pixels tall?
Now, if I remove the .receive(on: DispatchQueue.main) operator, no error. Which is of course an easy workaround in this case, but in a real-world app this can be a necessary operator!
Also interesting: if I only show a full screen UITableView, also no error. But as soon as I show anything above the table, I get the error.
The error only happens when I show this view controller via FloatingPanel. If I just push it onto the navigation stack, no error.
How do you display panel(s)?
Present modally
How many panels do you display?
1
Environment
Library version
1.7.4
Installation method
Swift Package Manager
iOS
13.4.1
Xcode
11.4.1

I am also always getting UITableView was told to layout its visible cells warning by the way.

Thank you for your test repo. I debug your repo, bit actually It's not this library's issue because
The constraint error is at floatingPanelController.set(contentViewController: contentVC) before calling present(floatingPanelController, animated: true, completion: nil). The reason why the surface view's height is zero.
You can fix it to override func viewWillAppear(_ animated: Bool) and move the following code block into it.
    $text
      .receive(on: DispatchQueue.main)
      .map { _ -> Void in () }
      .sink(receiveValue: applySnapshot)
      .store(in: &cancellables)

You're right, that solves all the warnings and errors. So annoying of UIKIt that workarounds like these are necessary 🤦


Notification not appearing when app is removed from the task manager

Hi there,
I am working on a mobile application using cordova, android platform.
Notification will appear when the mobile app detects a beacon.
This is working fine when I run the mobile app in the background.
However, when i remove the app from the task manager, i am no longer getting a notification.
I tried to install this plugin but it is not working. Do i need to change any codes from this plugin?
This is because when I remove facebook app or whatsapp from my task manager, i still receive notification

Same problem here, have you fixed this ?

@rendy44 hi, sadly, i have not fixed the problem :((((
I researched and thought it has something to do with broadcast receiver. but, i realized that this plugin has the broadcastActivate event java file. so, i eliminate the above idea.
is the mobile application you developing related to beacon also?

this is the big problem, please fix it soon

This is because when I remove facebook app or whatsapp from my task manager, i still receive notification

These are push notifications! The scope of the plugin is another one. It prevents your app from going to sleep in background. But if you kill it, its killed.


is this much slower than R auto.arima?

I found this occupy too much cpu and really slow

Please submit the code and data you're running it with or I can't be much help.
This uses statsmodels under the hood, which is pure python, and thus can be a bit slower than R's underlying C code in some cases.


[entropy_src/dv] Health tests sometimes fail in scoreboard but not in DUT

In very rare cases (based on how rarely this occurs even in full regression runs), entropy_src's scoreboard predicts a recoverable alert due to a failed health tests but RTL does not produce this alert. This usually manifests itself as UVM_ERROR @ * ps: (cip_base_scoreboard.sv:*) uvm_test_top.env.scoreboard [uvm_test_top.env.scoreboard] alert recov_alert did not trigger max_delay:*.
This seems to affect bucket tests and Markov tests.
Given current evidence, I think this is a minor difference between scoreboard and DUT (e.g., of statistical nature) and does not pose a substantial problem. Nonetheless, we should resolve it for DV closure. I'm thus labeling it V3.
Here's a patch that can help with debugging:
diff --git a/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv b/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv
index 150130dca4..1419793a00 100644
--- a/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv
+++ b/hw/ip/entropy_src/dv/env/entropy_src_scoreboard.sv
@@ -574,6 +574,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
                                               !total_scope, sigma_lo, fail_lo);
     end

+    `uvm_info(`gfn, $sformatf("evaluate_adaptp_test()=%b", fail_hi || fail_lo), UVM_LOW)
     return (fail_hi || fail_lo);
   endfunction

@@ -604,6 +605,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
                                               1'b0, sigma, fail);
     end

+    `uvm_info(`gfn, $sformatf("evaluate_bucket_test()=%b", fail), UVM_LOW)
     return fail;
   endfunction

@@ -636,9 +638,11 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
     update_watermark("markov_hi", fips_mode, total_scope ? value : maxval);

     fail_lo = check_threshold("markov_lo", fips_mode, total_scope ? value : minval);
+    `uvm_info(`gfn, $sformatf("fail_lo=%b", fail_lo), UVM_LOW)
     if (fail_lo) predict_failure_logs("markov_lo");

     fail_hi = check_threshold("markov_hi", fips_mode, total_scope ? value : maxval);
+    `uvm_info(`gfn, $sformatf("fail_hi=%b", fail_hi), UVM_LOW)
     if (fail_hi) predict_failure_logs("markov_hi");

     if (ht_is_active()) begin
@@ -650,6 +654,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
                                               !total_scope, sigma_hi, fail_lo);
     end

+    `uvm_info(`gfn, $sformatf("evaluate_markov_test()=%b", fail_hi || fail_lo), UVM_LOW)
     return (fail_hi || fail_lo);
   endfunction

@@ -730,6 +735,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
     windowed_fail_count = evaluate_adaptp_test(window, fips_mode) +
                           evaluate_bucket_test(window, fips_mode) +
                           evaluate_markov_test(window, fips_mode);
+    `uvm_info(`gfn, $sformatf("windowed_fail_count=%0d", windowed_fail_count), UVM_LOW)

     // Are there any failures this in the last sample (continuous or windowed)?
     // Note: If the last sample in the window has a continuous HT failure, then
@@ -738,7 +744,10 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(

     // Add the number of continuous fails (excluding the last sample)
     // to any failure in this sample.
+    `uvm_info(`gfn, $sformatf("continuous_fail_count=%0d", continuous_fail_count), UVM_LOW)
+    `uvm_info(`gfn, $sformatf("extht_fail_count=%0d", extht_fail_count), UVM_LOW)
     total_fail_count = sample_fail_count + continuous_fail_count + extht_fail_count;
+    `uvm_info(`gfn, $sformatf("total_fail_count=%0d", total_fail_count), UVM_LOW)

     // Implementation artifact:
     // Account for the fact that simultaneous failures for windowed, continuous and ExtHT tests
@@ -746,6 +755,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
     // sample.
     overcount = sample_fail_count + cont_fail_in_last_sample + extht_fail_in_last_sample;
     overcount -= (overcount >= 1);
+    `uvm_info(`gfn, $sformatf("overcount=%0d", overcount), UVM_LOW)
     total_fail_count -= overcount;

     // To avoid double counting only mark a sample failure if there haven't
@@ -807,6 +817,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
           end
           threshold_alert_active = 1;
           `DV_CHECK_FATAL(ral.recov_alert_sts.es_main_sm_alert.predict(1'b1));
+          `uvm_info(`gfn, $sformatf("recov_alert due to main SM"), UVM_LOW)
           set_exp_alert(.alert_name("recov_alert"), .is_fatal(0), .max_delay(cfg.alert_max_delay));
           // The DUT should either set the alert, or crash the sim.
           // If we succeed, sample this alert_threshold as covered successfully.
@@ -2315,6 +2326,7 @@ class entropy_src_scoreboard extends cip_base_scoreboard#(
       if (seeds_out != 0 && get_csrng_seed(item.d_data) == prev_csrng_seed) begin
         `uvm_info(`gfn, "Repeated seed, expecting recov_alert", UVM_MEDIUM)
         `DV_CHECK_FATAL(ral.recov_alert_sts.es_bus_cmp_alert.predict(1'b1));
+        `uvm_info(`gfn, $sformatf("recov_alert due to repeated seed"), UVM_LOW)
         set_exp_alert(.alert_name("recov_alert"), .is_fatal(0), .max_delay(cfg.alert_max_delay));
       end

The problem can be reproduced with Xcelium 21.09-s006 as follows:

commit 02fd38a036eb88f0e1068c83667b928d11e1f648, test entropy_src_rng, seed<PHONE_NUMBER> (failing bucket test)
commit c6009c674b93ae28b06badb8a98bba5c577ad4ab, test entropy_src_rng_max_rate, seed<PHONE_NUMBER> (failing Markov test)

You may also be able to reproduce the problem on master by running many random seeds of the tests above.

Along the reasoning above, I think this is not critical for M2.5.2 and am thus assigning it to M2.5 Backlog.
CC @johngt @vogelpi

Moving to M7 as part of V3.

I fixed most of these in #23787.
However, I think there is also an RTL bug here. When rst_alert_cntr_o in the main SM goes high while there is a failure in one of the continuous health tests like the repcnts test, the failure is ignored because the counter is incremented and cleared at the same time (clr supersedes the incr). I observed this for this seed:
util/dvsim/dvsim.py hw/ip/entropy_src/dv/entropy_src_sim_cfg.hjson -i entropy_src_rng_max_rate -t xcelium --fixed-seed<PHONE_NUMBER>58779596642755797006271320644578869651229429093932085286013706466631
I'll check if I can find some more that fail due to different reasons and report it here.

I have now checked the last 5 regressions.
I have found a total of two left over failures.
For the first one I have created a bug report #24159.
For the second one I have created a PR #24166.
There are also some failures that were probably already fixed by #23787.
I think after merging the above PR we can close this issue.

@h-filali: #23787 has now been merged; should we wait for #24166 to get merged before closing this issue?

@andreaskurth yes I think we should wait for https://github.com/lowRISC/opentitan/pull/24166 to close. I'll tag this issue in the PR such that it closes automatically.


Change mode wheel fortune automation

Update service docs, change mode to allow concurrent trigger from gas and electricity

Thanks for the update


Property -webkit-text-size-adjust is an unknown vendor extension

W3C CSS validator says Property -webkit-text-size-adjust is an unknown vendor extension
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

I got warning from W3C CSS validator.

You —and the W3C validator— are right, this property is non-standard; but we need to use it to solve a problem. 😀


Group and Sort Exercises in Course Dashboard

Allow users to group the exercises according to:

Exercise Type
Release Date
Due Date (standard)

For Release Date and Due Date, it should be displayed on a weekly basis

implemented by @maximilianmeier

Currently, exercises are grouped by type. However, I think an option to switch to a time-linear view would also be handy in some cases; maybe add an option to switch views where all exercises are ordered by release date/due date and grouped by week instead of their types?

@krusche There are still a lot of places where ordering is not implemented. It's getting really inconvenient to find an exercise, e.g. the default sorting by exercise type in the tutor dashboard is absolutely useless. Also as a user, I don't understand why H02E01..., H01E02, H01E03, H01E04, H01E01 is a meaningful order.
Please fix this, it shouldn't be something hard to do but helps a lot for everyday users like tutors.

@Khalphion we will fix the order in the tutor course dashboard and also make sure the option show finished exercises works


Docker container errors

When launching a container on a Rasp Pi 3.
When launched, the logs show:
Aug 30 05:56:48.000 ERR could not listen and serve on: <IP_ADDRESS>:53 error="listen udp <IP_ADDRESS>:53: bind: address already in use"
Aug 30 05:56:48.000 WRN could not listen on udp: <IP_ADDRESS>:53 error="listen udp <IP_ADDRESS>:53: bind: address already in use"
Aug 30 05:56:48.000 ERR could not listen and serve on: <IP_ADDRESS>:53 error="listen tcp <IP_ADDRESS>:53: bind: address already in use"
Aug 30 05:56:48.000 WRN could not listen on tcp: <IP_ADDRESS>:53 error="listen tcp <IP_ADDRESS>:53: bind: address already in use"

Before launching, there's nothing listening on port 53:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      403/sshd: /usr/sbin
tcp6       0      0 :::22                   :::*                    LISTEN      403/sshd: /usr/sbin
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           308/dhclient

After launching, netstat returns:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:53              <IP_ADDRESS>:*               LISTEN      2132/docker-proxy
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      403/sshd: /usr/sbin
tcp6       0      0 :::53                   :::*                    LISTEN      2140/docker-proxy
tcp6       0      0 :::22                   :::*                    LISTEN      403/sshd: /usr/sbin
udp        0      0 <IP_ADDRESS>:53              <IP_ADDRESS>:*                           2154/docker-proxy
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           308/dhclient
udp6       0      0 :::53                   :::*                                2160/docker-proxy

nslookup from another machine does provide results:
> yahoo.com
Server:  [<IP_ADDRESS>]
Address:  <IP_ADDRESS>

Non-authoritative answer:
Name:    yahoo.com
Addresses:  2001:4998:124:1507::f000
          2001:4998:24:120d::1:1
          2001:4998:24:120d::1:0
          2001:4998:44:3507::8000
          2001:4998:44:3507::8001
          2001:4998:124:1507::f001
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>
          <IP_ADDRESS>

However, as soon as the ctrld container is queried, the logs fill up with this message:
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:43366-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:54253-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:39888-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:53613-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:51786-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:59539-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:51193-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:45256-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:55510-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:36988-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:36032-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:34299-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:38708-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:53415-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:46353-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:60513-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:44992-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:47081-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:49327-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:54442-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:45936-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:34393-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:36370-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:37519-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:60778-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:37952-><IP_ADDRESS>:53: i/o timeout"
Aug 30 05:57:48.000 ERR could not lookup IP error="read udp <IP_ADDRESS>:47944-><IP_ADDRESS>:53: i/o timeout"

This is the error message from ptr lookup discovery. Next release will lower the message from error to warn level.
In the meantime, you can set discover_ptr = false in your config to disable ptr discover.

@cuonglm May be good to make error more explicit too: "could not perform PTR lookup"

Sure, sounds definitely better.

This issue is fixed in v1.3.1 release.


[draft] use fluent in readme to pick pipeline

@jianghaolu
We are able to use $(fluent) in readme to pick different yaml and hence different pipeline.
However I am not able to start 2 java plugin at same time. (I don't think --use:./preprocessor --use:./javagen would be the real use case in published npm pakcage, unless we publish all these separately)
Idealy we need to start preprocessor and javagen (well, plus fluentnamer and fluentgen) in package.json start script. So pipeline can pickup whatever plugin need to finish the flow.
But due to stdin/stdout problem, I am not able to use concurrently to do this. Any advice?
Well, if we indeed can use for 4 --use to load 4 plugins, we can do same $(fluent) in plugin readme to control pipeline.

Sorry just saw your question - let me play with it


[Issue-2362][Issue-2373] Fix issue related to history

PR for #2362
PR for #2373

🚀 Deployed on https://pr-2377--sw-web-runner.netlify.app


Wrong results in Tensorflow JS

Hi! I'm having very strange outputs in TensorflowJS w.r.t. the ones I obtain running locally the MattingRefine model.
Everything is fine if the refine mode is "Full" or I use only the MattingBase network.
But if I use in TensorflowJS the "sampling" and "thresholding" refine modes within the MattingRefine model I obtain wrong results, like showed in the figures.
The images are simply the foreground output concatened with the alpha channel. Background and bottle are the same.
Tensorflow JS output (MattingRefine w/ thresholding mode)

Tensorflow output (MattingRefine w/ thresholding mode)

I think this is related to different implementations of operators between Keras and TensorflowJS.
Do you have any idea where are the instructions wrongly interpreted?
Thanks for your help and congrats for your great job!
Notes: I converted the Keras model first to Saved Model format and then to TFJS using TFJS-converter.

I actually discovered that the problem was due to TensorflowJS not supporting the operation TensorScatterUpdate.
So the reimplementation of this operation in JS was just wrong.
You can delete this issue if you want.


Migrate TasksDaoTest to Robolectric

Need to prove that Robolectric works correctly with Room.
Room migration tests failed because SQLite version doesn't match sdk version#4209

Dupe of #116


quark pipe from plastic sheet make more

https://github.com/PandaBoy444/Create.run/blob/fa294f42d956d02a4977b3437627496c640a917a/Client/scripts/crafting.zs#L5-L5

Closed in favor of #38


Bug: search repositories pressing enter takes to about:blank

Describe the bug
In the main page, typing into the Search Repositories box and clicking enter before results show will open a new tab with the address about:blank
this problem may not be significant if you have a good internet connection, but in a low internet connection it takes several seconds for search results to show
https://github.com/open-sauced/hot/assets/54329101/1b982fd2-ad9d-4f12-9224-e99d092824e7
Steps to reproduce

go to https://hot.opensauced.pizza/
in the Search Repositories type rust
without waiting for the results to show up click enter
a new about:blank tab will be opened

Browsers
Other (add additional context)
Additional context (Is this in dev or production?)
production, using the Arc browser (arc.net)
Code of Conduct

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

Contributing Docs

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

.take


fix(package.json): Updated angular to version 4, typescript 2.2 and o…

…ther dev dependencies
Updated angular to major version 4 which enables us to update typescript to 2.2.x and upgrade our
typings versions as well

Codecov Report

Merging #27 into master will decrease coverage by 3.44%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
- Coverage     100%   96.55%   -3.45%
==========================================
  Files           6        6
  Lines          60       58       -2
  Branches        3        3
==========================================
- Hits           60       56       -4
- Partials        0        2       +2

Impacted Files
Coverage Δ

src/flash-messages/flash-messages.module.ts
100% <100%> (ø)
:arrow_up:

src/app/app.component.ts
92.85% <0%> (-7.15%)
:arrow_down:

src/flash-messages/flash-messages.component.ts
92.85% <0%> (-7.15%)
:arrow_down:

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 e1ea5df...4618b36. Read the comment docs.


Identify a subset of DCP/1 data sets

March 20 Demo Action Items
Identify a subset of DCP/1 data sets [cXg matrices] to be "migrated" [and include project metadata]

References:
All DCP/1 Data Sets
Related slack conversations: [1] and [2]

Document containing details:
https://docs.google.com/spreadsheets/d/1Qtbut2-yL2i7mPfN6gd154i255BzteX0gCTG9kPHOwc/edit?usp=sharing
CONTRIBUTOR MATRIX & ANNOTATION:
This tab lists the DCP1 projects that have had its corresponding public matrices and metadata assessed for the availability of dimensionality reduction embeddings. The heuristics for prioritizing projects is: human > mouse, simpler studies > complex studies, and has annotations > does not have annotation (slack comment)
SUMMARY:

Majority of projects do not have embeddings available in the public domain.
Spatio-temporal immune zonation of the human kidney: This data is currently being hosted at https://www.kidneycellatlas.org/, where a cellxgene interactive viewer is available for subsets of the data and the h5ad file is downloadable.
Structural Remodeling of the Human Colonic Mesenchyme in Inflammatory Bowel Disease: Data generators were previously contacted during UX exercise, and they provided tSNE embeddings and cluster annotation. This would need to be mapped to the contributor matrix. Files are have been uploaded to a google drive.

Pending actions to complete review and close - @jahilton wrote:
that's on me and @ambrosejcarr to look at what does/doesn't make sense to migrate

I've gone through and marked each DCP dataset with a priority (Column A). Priority based on human, healthy/reference tissue, Seed Network members.
I see 7 as priority to migrate prior to 'going live', then list the others in order or priority. There are some at the bottom that I'd like to run by Seed Network members to understand the value of the dataset before placing it in the priority list.
Curious what @ambrosejcarr 's thoughts are.

As our team will focus on Seed Network data, and that's the only criteria needed to determine datasets to migrate, so previous comments about prioritizing are irrelevant now.
We will migrate the 1 Seed network project & the 8 pilot projects:
snRNA retina (Chen) - 9c20a245-f2c0-43ae-82c9-2232ec6b594f
HDCA (Linnarsson/Lonnerberg) - 008e40e8-66ae-43bb-951c-c073a2fa6774
Early Human Diabetic Nephropathy (Humphreys/Wilson) - 577c946d-6de5-4b55-a854-cd3fde40bff2
Kidney (Humphreys) - 027c51c6-0719-469f-a7f5-640fe57cbece
T cell activation (Sims/Farber) - 4a95101c-9ffc-4f30-a809-f04518a23803
scRNA-Seq comparison (Pott/Basu) - a9c022b4-c771-4468-b769-cabcf9738de3
Ischaemic sensitivity (Meyer/Stegle/etal) - c4077b3c-5c98-4d26-a614-246d12c2e5d7
Cell hashing (Satija/Smibert) - f81efc03-9f56-4354-aabb-6ce819c3d414
Bone marrow (Amit) - a29952d9-925e-40f4-8a1c-274f118f1f51
After those are migrated, we will evaluate the required and consider additional DCP datasets, if bandwidth allows.


SFTP breaks when navigating a Directory on Linux that contains a file whose name contains a backslash

Bug Report
System Information

Linux, Any distribution
DEV 2023-01
Bleeding

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

When attempting to browse a directory in SFTP on a Linux host where that directory contains a file whose name contains a backslash (literal \) - the enumeration will fail and it won't be possible to navigate that directory.

Reproduction

Create a file with a backslash in the name. E.g. echo foo > foo\\bar
Navigate to that directory via SFTP.

This issue has been raised with the upstream vendor for the SFTP component.

The new behaviour for the time being is that files whose names contain a literal \ are simply excluded from the results when browsing a directory via SFTP. The issue is not trivially fixable due to limitations in the SFTP components own virtual file system implementation. I've discussed the issue with the upstream developer and they have raised an issue to allow \ in VFS on Linux systems in the future, but cannot give a timeframe for its implementation at this time - so this will allow AMP to keep working for the time being, but you'll have to use AMPs file manager for any files on Linux whose names contain a \.


chore(flamescans)!: remove flamescans

They have permanently shut down due to an impending threat from WEBTOONS
More Info: https://old.reddit.com/r/FlameScans/comments/17eff49

Looks like they are not dead?
https://old.reddit.com/r/FlameScans/comments/17f55rr
I'll draft this until something changes

might be worth removing it for now anyways since it's dead currently

New site is up, I've already got it working, about to push now


Can't convert ERC200 Rune to Native Rune

Hi,
My wallet shows I have 5 ERC20 Rune that need converting to Native Rune

I don't think this next pic is correct. It shows my 5 Rune twice in my Eth account, and  I'm sure it should only show once, but I might be wrong???

Then when I select either of them and click next to convert, I get this following message and it just hangs.
Message : "This RUNE is currently a ETH token. By clicking the button below, you will be upgrading it off of the ETH chain to native RUNE. Your native RUNE will show up in your RUNE wallet in user settings."
The blue circle just rotates - I never get any button to select.

Not sure if these screenshots are uploading - I hope so. Please help?

@ LaelLeeH This issue is related to https://github.com/asgardex/asgard-exchange, pls open an issue there, thx!


Image Search Page performance

Type

Health/Feature

Needs

[ ] User research to identify optimal loading strategies.

Acceptance Criteria

[ ] Performance budget for image search pages
[ ] Performance budget met!

Problem to be solved / User Story
In order to return usable search results to users, the search pages should return useful images as quickly as possible.

@pollecuttn @davidpmccormick @jamesgorrie @kenoir Do we know where we are with this one? I know it's being monitored in dotorg-explosions but it's not clear who needs to do what next.

I'm not sure this is - we can start looking at how to get RUM on images only perhaps, and then roll forward with perf improvements.

The search page is being monitored on speed tracker with the same startRender and speedIndex metrics as other pages. We're also passing a parameter in the url for the test, which means images always come from origin, not the CDN, which simulates the slowest the page will ever be.
The page is consistently passing: http://ghp.wellcomecollection.org/speedtracker/works/?period=week

We should add some of the speedtracker stuff to our perf principles in Cardigan (currently threadbare): https://cardigan.wellcomecollection.org/docs/principles.html#perf

Does this still need

User research to identify optimal loading strategies

if the page is passing the speedtracker test? It sounds like it doesn't and this issue could be closed (and a new issue opened related to this for adding speedtracker stuff to Cardigan).
But is there still work to be done around RUM on images (per James' suggestion)?

Closing this issue, as discussed with Natalie and have created new ones (#1476 ) to address issues raised above.


To Reproduce
Steps to reproduce the behavior:

Go to 'Alt+M'
Click on 'Search items...'
Search for anything
Try searching an item again
The auto complete feature won't work anymore

Expected behavior
Search auto complete from the market feature should still work after unlimited number of searches

Screenshots

🌍  Your Environment

Version:  e.g. 1.0.10 Overwolf
PoE:  e.g. Steam 3.12.2/e English

Seems to be fixed


idea: depject image manipulation app based around canvas

I think a modular app for doing stuff with canvas could be a really nice example app for depject.
image manipulation is a natural fit for modular stuff (much like music software is) there are generators and effects and transforms etc.
it could all be based around the canvas, because you can do pretty much anything with the canvas. If it generated an ecosystem of scriptable image transforms that would be very useful for a range of things, and you could run from scripts either with a headless electron, or via node-canvas (great if you can get it to build!)
but if it also had a UI that you ran inside the electron or the browser then you'd have a pretty powerful demonstration of depject.

I'm thinking something like a chain of synchronous function that take a canvas and return a modified canvas. they could also have input parameters and if those change you'd re-run the steps that have changed.

yeah this is a cool idea. rather than a canvas, i'd recommend using ndarray as your inter-operable format, specifically i discovered a whole heap of modules using ndarray in a common format for pixels, which i documented at livejs/ndpixel. the only bit missing is which color format is being used (in case you receive an unknown set of pixels), but you could standardize on RGB here if you want.

there may indeed be a place for that, but you are gonna have to write it to a canvas to display it anyway -- and also you'll have to redo all the basic stuff, like drawing a line, when everyone already understands canvas.
ndarray probably gains you stuff for doing really interesting stuff... but seems like a bigger upfront investment.

yeah very true. :smile:


Telemetry not exporting data to csv while recording in race. only in Freeroam. (FH5)

Describe the bug
Telemetry app appears to not be saving any in-race data to CSV files, they show up as blank.
Telemetry data is exporting fine for Freeroam recording.
I've double-checked the settings for data-out and they match the instructions on the repository.
To Reproduce
Just record in race and then look at the file. versus
Expected behavior
Should be populating data in the CSV files from races.
Desktop (please complete the following information):

OS: Win-10 x64
Game: Forza Horizon 5

I've attached files from Freeroam versus In Race
In Race.csv
Freeroam.csv
.

I tried two things when I repro'd your steps:

I started recording a few seconds after the race had started (after pausing the game).
I started recording while I was in the pre-race menu.

Both techniques resulted in telemetry being outputted to a csv file. I did both tests in the Castillo Del Mar Street Race event, by the way.
Does this issue happen every time or just some of the time? Does this happen for every type of race? Maybe this bug only happens in special races, like the opening race at the start of the game?

I was at the stadium circuit for this. But I just reran it again now and it
seems to be working. It may have been that I already had an active
recording that I had stopped, but forgot to reset before restarting and
starting the race.
It could be worth looking at that race again, but I may have encountered a
one-time issue.
Thanks for testing again though!
On Sun, Nov 28, 2021, 6:39 PM Austin Baccus @.***>
wrote:

I tried two things when I repro'd your steps:

I started recording a few seconds after the race had started (after
pausing the game).
I started recording while I was in the pre-race menu.

Both techniques resulted in telemetry being outputted to a csv file. I did
both tests in the Castillo Del Mar Street Race event, by the way.
Does this issue happen every time or just some of the time? Does this
happen for every type of race? Maybe this bug only happens in special
races, like the opening race at the start of the game?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/austinbaccus/forza-telemetry/issues/48#issuecomment-981239713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWWJHSPBCLYMFD3DQCDGIWLUOLRULANCNFSM5I57ATQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


OverrideNeeded and IncompatibleConstraintsError for macOS and python 3.8 make install

What happened?
git clone -> cd RecTools ->make install does not work on macOS and python 3.8. Throughs OverrideNeeded and  IncompatibleConstraintsError when trying to install scikit-learn (1.3.2)
Expected behavior
No response
Relevant logs and/or screenshots

Installing scikit-learn (1.3.2): Failed
OverrideNeeded
({Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.19.3)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.21.0)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.17.3)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.17.5)>}}, {Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy ()>}})

The following error occurred when trying to handle this error:
OverrideNeeded
{Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.12.12'): {'numpy': <Dependency numpy (==1.22.2)>}}
The following error occurred when trying to handle this error:
OverrideNeeded
{Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.12.12'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.10.25'): {'numpy': <Dependency numpy (==1.22.2)>}}
The following error occurred when trying to handle this error:
OverrideNeeded
{Package('oldest-supported-numpy', '2023.12.21'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.12.12'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.10.25'): {'numpy': <Dependency numpy (==1.22.2)>}, Package('oldest-supported-numpy', '2023.8.3'): {'numpy': <Dependency numpy (==1.22.2)>}}
The following error occurred when trying to handle this error:
IncompatibleConstraintsError
Incompatible constraints in requirements of oldest-supported-numpy (2022.11.19):
numpy (==1.22.2) ; platform_machine == "loongarch64" and python_version < "3.11" or python_version == "3.8" and platform_python_implementation == "PyPy"
numpy (==1.21.0) ; python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"
Cannot install scikit-learn.
Operating System
macOS Big Sur 11.6 (Apple M1)
Python Version
3.8.13
RecTools version
latest main

Also true for python 3.9. I get:
IncompatibleConstraintsError
Incompatible constraints in requirements of oldest-supported-numpy (2022.11.19):
numpy (==1.22.2) ; platform_machine == "loongarch64" and python_version < "3.11"
numpy (==1.23.3) ; python_version == "3.9" and platform_system == "OS400"
numpy ; python_version >= "3.9" and platform_python_implementation == "PyPy"

This is only a poetry problem. Rectools package installation is fine on macOS and python 3.8, so I'm closing this one.
For development on macOS it is just easier to install fresher version of scikit-learn or use different python version.


Improve test isolation by implementing let & before

Might be useful to explore Python's with statement for assistance in creating better test isolation.
These features will need to do the following:

[x] Catch exceptions that are thrown in the let or before code defined in a spec file & mark any tests that depend upon the code as failed.
[x] Defer execution of code supplied in a let or before 'block' until test runtime.
[x] 'let' methods define code in the same scope as the 'Describe' instance that the let is called in
[x] 'before' methods are ran only at each test
[x] tests can alter objects defined in a 'let' method & the changes will persist to the next test
[x] tests can not alter objects defined in a 'before' block

 better scope isolation of tests

merged in https://github.com/andrew-dewitt/pyspec/tree/v1.1. closing issue, fix will be merged w/ release of v1.1