Storing user address on file uploading

When saving meta information about a file (when uploading a file), there is a "user_address" field in which the user's address is stored. After serialization, it was converted from a binary representation to a set of numbers. In some other places, the address is stored in hex form.
I think for unification it would be better to save this address everywhere in hex form without 0x.

it is bytes representation of user address.
The suggestion is good but, changing that will break compatibility with the files already in the network.
how is fdp-storage storing it? @IgorShadurin

user_address was removed in bad5f1ca48985494ea7062cef3606afb8c0a1984


[SVE2][TC-CNET-4.13] Verification for ReorderNetwork command [DUT-Server]

Workflow issues
In TC-CNET-4.13:

The pre-requisite step#4 states:
=======================================
The test case is not verifiable. As MaxNetworks value is 1 but expected is 4

./chip-tool networkcommissioning read max-networks 1 0

[1653476960.303444][30164:30169] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion:<PHONE_NUMBER>
[1653476960.303531][30164:30169] CHIP:TOO:   MaxNetworks: 1
[1653476960.303641][30164:30169] CHIP:EM: Sending Standalone Ack for MessageCounter:2083922 on exchange 45120i
=======================================

And:

All test steps have this comment:
=======================================
The test case is not verifiable in RPI platform. As MaxNetworks value is 1 but expected is 4
( Pre-Condition)
=======================================

So it was suggested to create this new issue, and to reference it in TEDS.

Platform
raspi
Anything else?
No response

@njames-11 if your platform supports MaxNetworks>1 then you should be able to run this test, Otherwise you can skip this test as not supported. In either case, this is not an SDK issue (something that needs to be fixed in SDK), so closing the issue here. Feel free to reopen if it is still an issue


5.6 beta not showing up

I've noticed the new 5.6 beta is not showing up when i check for updates with betas enabled.
How can I update to the 5.6 beta?

We haven't released any 5.6.0 betas yet. We are currently in the process of releasing beta 1 but we have some problems with the build process.

Ah! I just saw the Commit and it stated about releasing the beta.  Ah well.  Apologies!


dwSensitivity & pSensitivity Added

dwSensitivity updated and pSensitivity added.
Also, I updated the README.md for you with all the offsets.

Thanks for updating / adding those. Damn - I really need to refactor this project.


Update versions of firestore-bigquery-export scripts

Codecov Report

Merging #725 (9727e67) into next (15721b0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #725   +/-   ##
=======================================
  Coverage   50.38%   50.38%
=======================================
  Files          30       30
  Lines        1324     1324
  Branches      194      194
=======================================
  Hits          667      667
  Misses        656      656
  Partials        1        1


[SPARK-35576][SQL][3.1] Redact the sensitive info in the result of Set command

What changes were proposed in this pull request?

Currently, the results of following SQL queries are not redacted:
SET [KEY];
SET;

For example:
scala> spark.sql("set javax.jdo.option.ConnectionPassword=123456").show()
+--------------------+------+
|                 key| value|
+--------------------+------+
|javax.jdo.option....|123456|
+--------------------+------+

scala> spark.sql("set javax.jdo.option.ConnectionPassword").show()
+--------------------+------+
|                 key| value|
+--------------------+------+
|javax.jdo.option....|123456|
+--------------------+------+

scala> spark.sql("set").show()
+--------------------+--------------------+
|                 key|               value|
+--------------------+--------------------+
|javax.jdo.option....|              123456|

We should hide the sensitive information and redact the query output.
Why are the changes needed?

Security.
Does this PR introduce any user-facing change?

Yes, the sensitive information in the output of Set commands are redacted
How was this patch tested?

Unit test

Test build #139131 has started for PR 32720 at commit 66536fb.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43651/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43651/

Merging to branch-3.1

+1, LGTM. Thank you, @gengliangwang .

Test build #139131 has finished for PR 32720 at commit 66536fb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139131/


Loop body not executed

Code Analysis feature of Visual Studio says : "Loop body not executed" for some part of the code from matx.hpp
for example:
template<typename _Tp, int m, int n> inline
Matx<_Tp, m, n>::Matx(_Tp v0, _Tp v1)
{
    CV_StaticAssert(channels >= 2, "Matx should have at least 2 elements.");
    val[0] = v0; val[1] = v1;
    for(int i = 2; i < channels; i++) val[i] = _Tp(0);
}

please review

Is it says 2 times (or more, but "channels" value is 1,2)?
I believe It is just template specialization processing for some "unexpected" values (like many warning, like "dead code" or condition "is constant"). So there is nothing to fix really (fix will be ugly copy-paste, but wait ... this larger code block is already a bunch of copy-paste stuff).
Is there available some kind of "suppression" file for this tool?
BTW, I see here problem with naming consistence: there is very strange channels name for number of total elements (Matx33f with channels=9):
    enum { depth    = DataType<_Tp>::depth,
           rows     = m,
           cols     = n,
           channels = rows*cols,
           type     = CV_MAKETYPE(depth, channels),
           shortdim = (m < n ? m : n)
         };

But it is too legacy and there no way to fix it now.

Thanks for the explanation.


Remix forms site example no longer maintained?

Shame the
https://github.com/seasonedcc/remix-forms-site
is no longer maintainted, it seemed like the good start point to switch from chakra-ui to tailwind and have
a foundation to not implement all myself.
I upgraded the repro to remix v2.
Is there another place to look for a full implementation of tailwind with remix-forms?
OR would this repro still be the best reference.
Sorry for posting here but the other repro is archived and could no longer comment.

Hey, @Jarrodsz! The website now lives in the same monorepo as the package. Here it is: https://github.com/seasonedcc/remix-forms/tree/main/apps/web


WinRAR Crack 7.02 Final + Keygen Free Download [2024]

WinRAR Crack Free Download is a powerful archive manager that provides full support for RAR and ZIP archives and decompresses CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO, 7Z, Z files. Its RAR format may only be the second in its compression level – but it is always the fastest in packaging and unzipping files. Although RAR files are not native files for Windows or Mac, many other compression programs still decompress it. Despite this name, WinRAR Crack download 64 bit available on Windows, OSX and Linux.
Download Link
WinRAR Keygen Full Version provides a graphical interface that utilizes mouse and menu and command line interface. Download WinRAR 7.01 Final Crack is easier to use than many other archiving programs, including a special “wizard” mode that allows instant access to basic archiving functions through a simple Q&A program. It uses AES (Advanced Encryption Standard) and 128-bit keys to give you the advantage of industry-strength archive encryption.


ujson option

Hi,
Is it possible to use ujson as an optional JSON encoder/decoder for requests? Or, if ujson satisfies all the use cases of requests, replace simplejson with ujson?

For those finding this issue circa-2019, please not that I believe the current way of doing this would instead be:
import requests
import ujson

requests.models.complexjson = ujson

I've seen plenty of examples of code on Github that monkey-patches requests.models.json, which does not appear to accomplish the stated goal, since that attribute of models does not exist and is not used in the modern requests code base.


Merge push to create, open PR from push, and push options docs articles into one

Add documentation for this feature.

I was unable to create a backport for 1.19. @lunny, please send one manually. :tea:

Can we somehow avoid referring to autogenerated files (trans-copy)?
Until today I was able to build the docs in Gitpod with
cd docs
make clean update
hugo server -D -F --baseUrl $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=<IP_ADDRESS>

I did it this way so no untracked (git) files would be created. Today, one of the pages is referring to an auto-generated page https://github.com/go-gitea/gitea/blob/ecf34fcd899fecad9782eea3097a4c38f9fe258b/docs/content/doc/usage/push.zh-tw.md?plain=1#L55.
It seems the ability to automatically build the docs without generating files that don't have to get cleaned up before a commit is made was lost

Don't know whether we should ref to doc without .zh-tw here.


Change logged-in user redirect to login_init hook

Changes
PR #583 did not address all warnings that came from this change. Moving this to an existing method hooked to login_init and adding tests for this and all other functionality in the login_auto method.
References
#583
Testing

[x] This change adds unit test coverage
[x] This change has been tested on the latest version of the platform/language or why not

Codecov Report

Merging #584 into master will increase coverage by 0.74%.
The diff coverage is 94.11%.

@@             Coverage Diff              @@
##             master     #584      +/-   ##
============================================
+ Coverage     27.76%   28.51%   +0.74%
+ Complexity     1307     1306       -1
============================================
  Files            51       51
  Lines          4200     4202       +2
============================================
+ Hits           1166     1198      +32
+ Misses         3034     3004      -30

Impacted Files
Coverage Δ
Complexity Δ

WP_Auth0.php
22.36% <ø> (-2.64%)
62 <0> (-2)

lib/WP_Auth0_LoginManager.php
20% <94.11%> (+9.88%)
121 <0> (+1)
:arrow_up:

lib/WP_Auth0_Lock10_Options.php
69.64% <0%> (-4.47%)
61% <0%> (ø)

lib/WP_Auth0_Nonce_Handler.php
71.05% <0%> (+23.68%)
18% <0%> (ø)
: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 7324a03...d534ae8. Read the comment docs.


fix: change log level to info

I think we need to make this stuff configurable from the samples, but for now will disable to avoid confusion from users.
Fixes VSTS#1436

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Scaffold] Transaction Details

@geffenz Note that the screenshots you included are for transaction history, not details.

Thanks @pacu - I deleted the comment and here is the correct image:

This is usable for scaffolding, but there will be some differences for the functional ticket.

Notes: See view ScreenOverlay on this url  https://github.com/zcash/zcash-ios-wallet/blob/master/wallet/wallet/Views/Feedback/FeedbackDialog.swift

@geffenz We are missing the transaction id.


fix: [logging] fix render chart error type

SUMMARY
This PR is to fix a logging issue: remove an unnecessary user_event render_chart_container error type, and use render_chart for all chart render errors.
TEST PLAN
Manual test
@etr2460 @ktmud

Codecov Report

Merging #10000 into master will decrease coverage by 0.65%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10000      +/-   ##
==========================================
- Coverage   70.40%   69.75%   -0.66%
==========================================
  Files         585      184     -401
  Lines       31043    18193   -12850
  Branches     3277        0    -3277
==========================================
- Hits        21857    12691    -9166
+ Misses       9075     5502    -3573
+ Partials      111        0     -111

Flag
Coverage Δ

#cypress
?

#javascript
?

#python
69.75% <ø> (-0.23%)
:arrow_down:

Impacted Files
Coverage Δ

superset/views/database/mixins.py
59.64% <0.00%> (-21.06%)
:arrow_down:

superset/utils/cache.py
48.00% <0.00%> (-20.00%)
:arrow_down:

superset/db_engine_specs/mysql.py
78.26% <0.00%> (-13.05%)
:arrow_down:

superset/views/database/validators.py
78.94% <0.00%> (-5.27%)
:arrow_down:

superset/views/database/api.py
84.09% <0.00%> (-3.41%)
:arrow_down:

superset/db_engine_specs/postgres.py
97.29% <0.00%> (-2.71%)
:arrow_down:

superset/views/database/views.py
87.17% <0.00%> (-2.57%)
:arrow_down:

superset/models/core.py
83.96% <0.00%> (-2.34%)
:arrow_down:

superset/jinja_context.py
80.00% <0.00%> (-0.96%)
:arrow_down:

superset/security/manager.py
88.73% <0.00%> (-0.35%)
:arrow_down:

... and 405 more

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 63e0188...10ab169. Read the comment docs.

Congrats @graceguo-supercat for opening PR number #10000 ! 🎉

🥳 🎆 🎉 🎉 🥳 🎆 🎉 🎉 🥳 🎆 🎉 🎉 🥳 🎆 🎉 🎉 🥳 🎆 🎉 🎉 🥳 🎆 🎉 🎉 🥳 🎆 🎉 🎉


[T3A2][W13-A4]Hee Han Xiang

Ready for review
Change feedbackToUser to private and add a getter method for it

Good effort @fisherhx


Add comment to check Codecov.io

Codecov Report

Merging #15 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #15   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         114    114
=====================================
  Hits          114    114

Impacted Files
Coverage Δ

f8a_utils/versions.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@tisnik Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-15


Specify Proxy

How can we specify a proxy proxy that should be used on the request out the the dynamoDB endpoint?

Hi
You should be able to configure a proxy by creating an instance of ClientConfiguration ( http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/ClientConfiguration.html ) and passing this as an argument to the AmazonDynamoDBClient constructor when it's called with the spring configuration config.
Hope this helps,
Michael

Yes, that worked perfectly. Thanks for the quick response!


Mobile preview render of 12 column grid not properly displaying

Challenge Name
https://www.freecodecamp.com/challenges/use-the-bootstrap-grid-to-put-elements-side-by-side
Issue Description

Challenge preview buttons dont follow the 12-column grid, and include spaces between them, and appear to be of a fixed not fluid size. Changing text length does not change button width.
Browser Information

Browser Name, Version: chrome 58
Operating System: windows 8.1
Mobile, Desktop, or Tablet: Desktop

Your Code

Screenshot

Hi @aaronwi,
I understand what you mean. The challenge seems to be working as expected.
Here are some next steps that you should follow before we can help you with your query:

Check these troubleshooting steps first.
Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

IMPORTANT:
Please NOTE that this tracker is for reporting bugs and enhancements to freeCodeCamp's code base only.
Happy Coding!

the challenge works, but the visual display is not correct

Could you please submit your code? In the image you included, you have icons in the buttons which I don't think are suppose to be their. The 12 column grid is likely working correctly. Note: buttons don't use the whole col they are place inside.

Each of the buttons are inside divs that have padding, which is why there is whitespace between them. The bootstrap col-xs-4 has left and right padding 15px.

Closed #14992

how would one use these columns without the padding?
the icons were specified as part of the tutorial

@aaronwi I don't think the icons aren't part of this specific challenge. The challenge display is correct.
Please, feel free to ask the gitter chat how to use these columns with the padding.

Check these troubleshooting steps first.
Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

IMPORTANT:
Please NOTE that this tracker is for reporting bugs and enhancements to freeCodeCamp's code base only.
Happy Coding!
This issue can be closed #14992.

I'd change the wording to say:
Before each text (Like, Info, Delete) add the corresponding Font Awesome icon.
So the student can at least see the trash icon.

Can't understand this, there are no icons on this challenge, so what needs to be modified and how?

I'm closing this issue as stale since it hasn't been active lately. If you think this is still relevant to the newly updated platform, please explain why, then reopen it.


Towncrier setup and other tweaks.

Fixes #23.

This change is

Reviewed 6 of 6 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Current coverage is 100.00%

Merging #24 into master will not affect coverage as of 503aa6e

@@            master     #24   diff @@
======================================
  Files           20      20
  Stmts         1535    1535
  Branches       139     139
  Methods          0       0
======================================
  Hit           1535    1535
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 503aa6e

Powered by Codecov. Updated on successful CI builds.

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Bech32

Would be good if it would support the new Bech32 address format.
Thanks

PRs welcome 🙌

PR Bech32 address format support https://github.com/LinusU/php-bitcoin-address-validator/pull/4


Table Schema Changes when GeoJSON Response is Empty

S/B 7251411
@iriberri
Context
If a user creates a sync table using a GeoJSON and the GeoJSON response when synced is empty, the schema of the table changes. If the table is being used with a SQL query in a map, and columns no longer exist, the map is broken.
Process
Create a sync table from GeoJSON file hosted online.
Empty the GeoJSON file:
{
"type": "FeatureCollection",
"features": [
{}
]
}

With an empty GeoJSON, there is no schema information. The updated table will be empty with only two columns (cartodb_id and the_geom).
Expected Result
The updated table should retain the same schema as previously.
Current Result
Empty sync table with two columns (cartodb_id and the_geom)

This issue is a duplicated from https://github.com/CartoDB/cartodb/issues/5131.
The "expected result" is not a current functionality of CartoDB, which is targeted in the issue #5131.

I don't think it's duplicated, this is a different situation (or it should be at least).
If instead of using GeoJSON the user syncs a shapefile and it's empty, the sync doesn't break because a shapefile has always a schema so the table would be simply empty.
GeoJSON doesn't explicit any schema, but  I don't think we should stop the sync (the solution addressed at #5131) but create an empty table with the same schema of the previous sync.
@iriberri what do you think?

In #5131 we still don't really have the way to go. If you see the history of the issue, the first idea was to disconnect it. After some discussion (outside the thread), we thought that disconnecting would be too much, so we started thinking about just stopping it until there's a valid schema in a next sync.
If you have ideas about scenarios that we would have to take into account when the schema doesn't match between syncs, I encourage you to continue the discussion in the other thread (i.e. set a table with the old schema but no contents, instead of maintaining the old data until the schema is compatible again). I don't think that setting different behaviours with respect to the type of the file that is being uploaded is something we want to do.

Oh well if the sync resumes then that's a different story, didn't knew
that, I thought when they stop user needs to resume it manually. I wasn't
referring to have different behaviors by file type quite the contrary.
Thanks for the detailed answer @iriberri !!
On Thu, Feb 25, 2016 at 5:03 PM, Carla<EMAIL_ADDRESS>wrote:

In #5131 https://github.com/CartoDB/cartodb/issues/5131 we still don't
really have the way to go. If you see the history of the issue, the first
idea was to disconnect it. After some discussion (outside the thread), we
thought that disconnecting would be too much, so we started thinking about
just stopping it until there's a valid schema in a next sync.
If you have ideas about scenarios that we would have to take into account
when the schema doesn't match between syncs, I encourage you to continue
the discussion in the other thread (i.e. set a table with the old schema
but no contents, instead of maintaining the old data until the schema is
compatible again). I don't think that setting different behaviours with
respect to the type of the file that is being uploaded is something we want
to do.
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/6651#issuecomment-188854096.

--
Jorge Sanz
Solutions Engineer
CartoDB · Map Your World's Data


fix(explore): allow falsy control defaults

SUMMARY
While testing the Mixed timeseries chart, I noticed that falsy default values were not set when initializing a control panel. This fixes the bug and adds a unit test that fails on master.
TESTING INSTRUCTIONS

Open Mixed timeseries chart
Add some metrics and save the chart
Inspect the metadata and notice that yAxisIndex and yAxisIndexB are undefined, not 0 as they should be based on the defaults

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

LGTM! Thanks for the fix!

@villebro looks like this one fell through the cracks. Do you think you'll have bandwidth to usher it through?

Unfortunately I don't have permission to push to this branch anymore. I'll close this one and open a new one if this is still relevant (not sure if this is still an issue)


ign -> gz CMake, Python, Partial Source, and File Migrations : gz-physics

See: https://github.com/gazebo-tooling/release-tools/issues/765

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!


Regression: Simple Log logging JSON

In alpha.4, the Simple Logger is logging a JSON string.

Nope, I was looking at an old log.


Wait until HDFS name node leaves the safe mode

Looks ok from my side.

@OleksandrBerchenko @corebug
Tests passed successfully.


Issue with flake8-noqa, flake8-eradicate and commented out code

Hello. I'm using flake8, flake8-noqa & flake8-eradicate. Until flake8-noqa==1.2.5 it worked fine, but now I encounter weird behaviour.
Python version
$ python --version
Python 3.9.10

Dependencies:
flake8==5.0.4
flake8-eradicate==1.4.0
flake8-noqa==1.2.9
Current behaviour
code.py
# a = 5
a = 7

flake8 run
$ flake8 code.py
code.py:1:1: E800 Found commented out code

code.py
# a = 5  # noqa: E800
a = 7

flake8 run
$ flake8 code.py
code.py:1:1: NQA102 "# noqa: E800" has no matching violations

Expected behaviour
code.py
# a = 5
a = 7

flake8 run
$ flake8 code.py
code.py:1:1: E800 Found commented out code

code.py
# a = 5  # noqa: E800
a = 7

flake8 run -- no error
$ flake8 code.py

I created the same issue in flake8-noqa repository but its author pointed out that the issue could be in your package.
Can you please take a look?

Hi - i just ran into this issue today, any updates? Thanks!


Disabled time does not have aria-disabled attribute (unlike disabled dates)

Describe the bug
When certain time is excluded, it does not have aria attribute aria-disabled unlike disabled dates
To Reproduce
Steps to reproduce the behavior:

Go to https://reactdatepicker.com/#example-exclude-times
Inspect Time column using Chrome's dev tools
See html output similar to this:

5:00 PM

Go to https://reactdatepicker.com/#example-exclude-dates
Inspect disabled date cell using Chrome's dev tools
See html output similar to this:

15

Expected behavior
See attribute aria-disabled="true" present for both, disabled dates and disabled times.

If my understanding is correct, we only need to add aria attribute here:
https://github.com/Hacker0x01/react-datepicker/blob/9c249604050009e6875e614bbfd02bed646a5fe3/src/time.jsx#L208-L210
If this sounds right, I can submit a PR for this.

Go ahead, I can review a PR

Hi @martijnrusschen, I tried fixing this issue along with the RTL test case migrate in my PR - https://github.com/Hacker0x01/react-datepicker/pull/4319.  Kindly review it and let me know if any changes required.


Permission denied error

Not sure if it's something related to comma, but after #47 I had to remove the comma package from my home-manager config since I got
> error: collision between `/nix/store/l2x9kyb234qzrjyih36zfv2mk87m2b83-comma-with-db-1.6.0/bin/,' and `/nix/store/ch4s39pafpnm24fm9gpjqqpp494v8qm0-comma-1.6.0/bin/,'

Now although everything is fine, when I try to run any comma command I get
❯ , ls
error: creating directory '/nix/store/l2x9kyb234qzrjyih36zfv2mk87m2b83-comma-with-db-1.6.0/share/cache/nix': Permission denied

but using the "real" comma binary, it works as expected, i.e.:
/nix/store/ch4s39pafpnm24fm9gpjqqpp494v8qm0-comma-1.6.0/bin/comma ls

It looks like the overridden XDG_CACHE_HOME env variable in the wrapper is causing problems.  Am I missing something?
Thanks!

Ah. is the issue maybe not comma but nix, that tries to create this?

Forgot to mention (sorry), I'm using Arch among with home-manager
❯ cat $(realpath $(which ,))
#! /nix/store/j80wcbm6bb1nsqsgmniq43rg980p27q9-bash-5.2-p15/bin/bash -e
export XDG_CACHE_HOME='/nix/store/l2x9kyb234qzrjyih36zfv2mk87m2b83-comma-with-db-1.6.0/share/cache'
exec "/nix/store/ch4s39pafpnm24fm9gpjqqpp494v8qm0-comma-1.6.0/bin/,"  "$@"

❯ tree /nix/store/l2x9kyb234qzrjyih36zfv2mk87m2b83-comma-with-db-1.6.0/share/cache
/nix/store/l2x9kyb234qzrjyih36zfv2mk87m2b83-comma-with-db-1.6.0/share/cache
└── nix-index
    └── files -> /nix/store/p1fv6pmynmd276lrf8dfh8f9rlnwm0zs-index-x86_64-linux

Thanks for the prompt reply!

Yes. The issue is nix and not comma here. It also tries to use the environment variable set this wrapper.


v3: ColorScheme autocmd, No highlight group 'IndentBlanklineScope' found

Cheers on your hard work on v3.
I'm reporting one bug; when changing colorscheme after ibl.setup is called once, e.g., colorscheme <anything>, an error will occur: No highlight group 'IndentBlanklineScope' found.
Error detected while processing ColorScheme Autocommands for "*":
Error executing lua callback: .../indent-blankline.nvim/lua/ibl/highlights.lua:73: No highlight group 'IndentBlanklineScope' found
stack traceback:
        [C]: in function 'error'
        .../indent-blankline.nvim/lua/ibl/highlights.lua:73: in function 'setup'
        .../indent-blankline.nvim/lua/ibl/autocmds.lua:55: in function <.../indent-blankline.nvim/lua/ibl/autocmds.lua:54>

The colorscheme may not have IndentBlanklineScope, etc. not defined, in which case ibl.setup {} will raise an error.
config used
  vim.cmd [[
    highlight! IndentBlanklineChar     guifg=#444444 gui=nocombine
    highlight! IndentBlanklineScope    guifg=#9e9e9e gui=nocombine
  ]]
  require ('ibl').setup {
    indent = {
      char = '┊',
      highlight = {
        'IndentBlanklineChar'
      }
    },
    scope = {
      show_start = false,
      show_end = false,
      highlight = {
        'IndentBlanklineScope'
      }
    },
  }

IndentBlanklineScope does not come from indent-blankline. The default highlight group for scope is LineNr.

Oops, sorry to include my config. I added them in the original message. I think this bug is when a custom highlight group is used -- which is not defined in the colorscheme.

I added a hook for highlight setup, you can define the highlight groups in there and it should work.
local hooks = require "ibl.hooks"
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
    vim.api.nvim_set_hl(0, "IndentBlanklineChar", { fg = "#444444" })
    vim.api.nvim_set_hl(0, "IndentBlanklineScope", { fg = "#IndentBlanklineScope" })
end)

9af80aa and the updated documentation looks great. I think this now can be closed.


Create droplet with SSH key

To use SSH keys in your create request, simply add the new paramater ssh_key_ids with a comma separated list of SSH Key IDs that you would like added to the new server that you will create:
https://api.digitalocean.com/droplets/new?name=[DROPLET_NAME]&size_id=[SIZE_ID]&image_id=[IMAGE_ID]®ion_id=[REGION_ID]&client_id=[YOUR_CLIENT_ID]&ssh_key_ids=[SSH_KEY_ID1],[SSH_KEY_ID2]
ssh_key_ids=[SSH_KEY_ID1],[SSH_KEY_ID2]

What is the issue? or the question?

Not sure how to add SSH Keys using v2 PHP SDK.  e.g. $droplet->create('name', 'nyc1', '1gb', 2343432, [70217,70272,70553]);
How do you pass in an array of SSH key ids at the end causes an error?

This functionality already exists in the Droplet creation code: https://github.com/toin0u/DigitalOceanV2/blob/master/src/Api/Droplet.php#L119


multi select + filter(can do search)

i need multi select but can do filtering too

Hi, currently there is no Autocomplete component in Hope UI.
If you want a multi-select with filtering you can check solid-select.


[bug]:  FlutterFire CLI is not able to handle projects that use Kotlin DSL for Gradle

Is there an existing issue for this?

[x] I have searched the existing issues.

CLI Version
1.0.0
Firebase Tools version
13.3.0
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.22.1, on Fedora Linux 40 (Workstation Edition) 6.8.10-300.fc40.x86_64, locale en_IN.UTF-8)
• Flutter version 3.22.1 on channel stable at /mnt/hdd/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (9 days ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /mnt/hdd/Development/SDKs/android-sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /opt/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 18.1.6 (Fedora 18.1.6-3.fc40)
• cmake version 3.28.2
• ninja version 1.11.1
• pkg-config version 2.1.0
[✓] Android Studio (version 2023.3)
• Android Studio at /opt/android-studio
• Flutter plugin version 79.0.2
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[✓] VS Code (version 1.89.1)
• VS Code at /usr/share/code
• Flutter extension version 3.90.0
[✓] Connected device (2 available)
• Linux (desktop) • linux  • linux-x64      • Fedora Linux 40 (Workstation Edition) 6.8.10-300.fc40.x86_64
• Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.112
[✓] Network resources
• All expected network resources are available.
• No issues found!
Description
PathNotFoundException: Cannot open file, path = '/mnt/hdd/projects/repro/android/build.gradle' (OS Error: No such file or directory, errno = 2)
Steps to reproduce
Create A Flutter Project, Migrate it to use Kotlin DSL.
Run flutterfire configure
Expected behavior
The CLI should complete the configuration without errors.
Screenshots
No response
Additional context and comments
No response

I am working for a fix for this right now, will test it out and submit a PR If I am able to fix it.

I have fixed this issue, but I cannot submit Tests in my PR since Flutter doesn't allow creating a project with the Android Kotlin DSL for Gradle at the moment. Hence to test this, it'll involve us needing to create files like build.gradle.kts, settings.gradle.kts and app/build.gradle.kts.

Same issue when using flutter 3.28
PS D:\Projects\untitled> flutterfire configure --project=example-1b63e i Found 4 Firebase projects. Selecting project example-1b63e. ✔ Which platforms should your configuration support (use arrow keys & space to select)? · android, ios, macos, web, windows ✔ Which Android application id (or package name) do you want to use for this configuration, e.g. 'com.example.app'? · com.example.untitled i Firebase android app com.example.untitled registered.                                                                                i Firebase ios app com.example.untitled registered. i Firebase macos app com.example.untitled registered. i Firebase web app untitled (web) registered. i Firebase windows app untitled (windows) registered. PathNotFoundException: Cannot open file, path = 'D:\Projects\untitled\android\build.gradle' (OS Error: The system cannot find the file specified. , errno = 2)


how to make zipline support live trading

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: debian
Python Version: 3.5
Python Bitness: 64
How did you install Zipline: compile from source
Python packages:
alembic==0.8.8
bcolz==1.1.0
Bottleneck==1.1.0
cachetools==1.1.6
click==6.6
contextlib2==0.5.4
cycler==0.10.0
decorator==4.0.10
empyrical==0.2.0
intervaltree==2.1.0
Logbook==1.0.0
lru-dict==1.1.4
lxml==3.6.4
Mako==1.0.4
MarkupSafe==0.23
matplotlib==1.5.3
networkx==1.11
numexpr==2.6.1
numpy==1.11.1
pandas==0.18.1
pandas-datareader==0.2.1
pyparsing==2.1.9
python-dateutil==2.5.3
python-editor==1.0.1
pytz==2016.6.1
requests==2.11.1
requests-file==1.4
scipy==0.18.1
six==1.10.0
sortedcontainers==1.5.3
SQLAlchemy==1.0.15
tables==3.3.0
toolz==0.8.0
tushare==0.5.0

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
In the description of zipline, it has capability to support live trading. But it hard to find any tutorial to write code based on live trading.
On the other words, how can i make zipline support incremental backtest. In detail:
before the TradingAlgorithm run, I can set the positions & orders.

What did you expect to happen?

Before the TradingAlgorithm run, I can set the positions & orders.

What happened instead?

Currently, there is no way to set positions & orders before TradingAlgorithm run.
...
Sincerely,
Haibin

Hi Haibin,
You may better ask this on the mailing list or other support mediums. Don't think you should use Zipline alone on live trading, you need many other components to watch, notify and safe-guard your money.
Cheers,
Lucas

Hi Lucas,
how can I join the mailing list of zipline?

https://groups.google.com/forum/#!forum/zipline

@lssilva Thanks~

@femtotrader thanks.

This is in progress here.


Expected utilisation percentages

The theoretical expected utilisation percentages are described in the swarm specifications:
specifications
Private Zenhub Image
Private Zenhub Image
We are called to run some tests in order to find out how close we are to these percentages.

This is expected to be done with benchmarking unit tests. Let's have a table with the expected utilisation (like the above), based on the different depths.

with this new test ethersphere/bee#4398
it was revelated that depth 22 can consistently provide > 50% utilization
go test  -run ^TestUtilization$ github.com/ethersphere/bee/pkg/postage -count=1 -v
=== RUN   TestUtilization
    stampissuer_test.go:236: depth: 17, actual utilization: 0.037651
    stampissuer_test.go:236: depth: 18, actual utilization: 0.102993
    stampissuer_test.go:236: depth: 19, actual utilization: 0.223402
    stampissuer_test.go:236: depth: 20, actual utilization: 0.349894
    stampissuer_test.go:236: depth: 21, actual utilization: 0.491061
    stampissuer_test.go:236: depth: 22, actual utilization: 0.610335
    stampissuer_test.go:236: depth: 23, actual utilization: 0.672418
    stampissuer_test.go:236: depth: 24, actual utilization: 0.757001


[KYUUBI #1206][FEATURE] Support GROUP for engine.share.level

Why are the changes needed?

The detail locates #1206
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #1207 (a7cb80d) into master (4f8f4d9) will decrease coverage by 78.76%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #1207       +/-   ##
============================================
- Coverage     78.76%   0.00%   -78.77%
============================================
  Files           182     156       -26
  Lines          6754    5815      -939
  Branches        805     617      -188
============================================
- Hits           5320       0     -5320
- Misses          979    5815     +4836
+ Partials        455       0      -455

Impacted Files
Coverage Δ

...in/scala/org/apache/kyuubi/engine/ShareLevel.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
0.00% <0.00%> (-79.23%)
:arrow_down:

...main/scala/org/apache/kyuubi/KyuubiException.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/scala/org/apache/kyuubi/session/package.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ain/scala/org/apache/kyuubi/util/ThreadUtils.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/scala/org/apache/kyuubi/config/ConfigEntry.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../scala/org/apache/kyuubi/operation/Operation.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...la/org/apache/kyuubi/ha/client/RetryPolicies.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/kyuubi/cli/HandleIdentifier.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 159 more

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 4f8f4d9...a7cb80d. Read the comment docs.

please update the config docs


Lost all the tmpNotes

Hi - I have been using this app for close to an year now and had 5 workspaces with lot of data. Today, I opened tmpNote and I could not see any of saved messages. All the five workspaces are empty. How do I fix this and recover my messages?

@buddax2 @oyakub Please help with this issue.

@PraveenViswanathan this might be caused by a sync issue. Please try to turn off synchronisation in settings.

@buddax2 I tried disabling the "Synchronization with iCloud" options in the preferences but it did not resolve the issue. Still not seeing my notes. Is there a way to check in the file system to look for those workspace notes? My immediate attention is on recovering those notes.

The latest version of the app stores notes in this folder (replace %userName% with your username):
if sync is turned on: /Users/%userName%/Library/Mobile\ Documents/iCloud~com~buddax2~tmpNote/Documents/
sync turned off: /Users/%userName%/Library/Containers/com.buddax2.tmpNote/Data/Documents/
To open these folders you can run this command in your Terminal:
open /Users/%userName%/Library/Mobile\ Documents/iCloud~com~buddax2~tmpNote/Documents/
open /Users/%userName%/Library/Containers/com.buddax2.tmpNote/Data/Documents/
Previous version was storing note in the User Defaults file. You can find it here: /Users/%userName%/Library/Containers/com.buddax2.tmpNote/Data/Library/Preferences/com.buddax2.tmpNote.plist
open /Users/%userName%/Library/Containers/com.buddax2.tmpNote/Data/Library/Preferences/com.buddax2.tmpNote.plist
I'm really sorry for this issue.

@buddax2 I could not find the old notes at any of the above path. Looks like all the container files (1-5) got deleted. That's fine its good to know the path details. I will close the issue for now.


CypherPunk Ghosts Application

LFG

with that Tutorial video i learned basics of coding, thank you Ghosts !

so now i just need to delete this pull request and do another one changning the inscription name?

You can or you can  just change line 25 where you put the wrong one with yours.

so i can put the inscription i want? or i need to put specific ones? sorry for the disturb.

You need to inscribe it your own and check if its valid
https://github.com/cypherpunklab/manifesto#inscribe

oh yeah so basically i just need to inscribe the text (in the 13,982,020 inscription), once inscribed i get the id and i put it, right?

See the inscructions. Download the file here

look https://www.ord.io/14555207 this is my inscription but when i put the id it says "manifesto is not valid"

   now it gives me that tipe of error...

@tommyflower Someone already submitted that one. Were you front ran or do you submit under a different account?
https://github.com/cypherpunklab/manifesto/pull/75


English Version

Great Job, but i don't really understand the follow of app,  can you add english version for this application, i think it's very useful :+1:

OK. I am planning to add English version for it later. Thank you for using it.

Great Job, but i don't really understand the follow of app, can you add english version for this application, i think it's very useful 👍

OK. I am planning to add English version for it later. Thank you for using it.

OK. I am planning to add English version for it later. Thank you for using it.

You can put your text in string.xml and i can help you translate it xD.


Add support for decoding WebP images

Hiya 👋
I was hoping to use WebP in a project, and noticed (via #575) that the image-webp project has been published now. This PR adds support for the project within resvg.
As noted in #575 there may be performance issues - I haven't tested extensively. However in my use case, it saves a step of converting .webp images to a compatible format, so even a slow(ish) implementation is an overall positive. With that in mind, it feels like a step forward for resvg to support WebP, even if there's still room in future for their (pre-1.0) project to improve.

Looks good to me. All we have to do now is to ask them nicely to stop using thiserror.

https://github.com/image-rs/image-webp/issues/66

Looks like we need a MSRV bump as well.

Ok, waiting for 0.1.3 and I'm ready to merge.

any updates on this? would be great to have webp support ❤

Still waiting for the new release I think.

0.1.3 was just released, so I'll rebase & clean up the PR soon....ish. I've got some family in town so it might be a couple of days.

Sure, no problem.

Okie doke, tests are green locally, so this should now be ready to review.

error: package image-webp v0.1.3 cannot be built because it requires rustc 1.67.1 or newer, while the currently active rustc version is 1.65.0

How much of a dealbreaker is this? And/or as image-webp is an optional dependency, anyone that doesn't want to opt into the feature can continue to use < 1.67.1 version, I guess?

We can bump MSRV no problem. It's set in:

.github/workflows/main.yml
README.md

@RazrFalcon bumped MSRV, can you approve workflow? tyty.
Also, do you want me to bump CHANGELOG.md within the PR, or do you author those (for consistency etc)?

All good, thanks.


render background color error when used rowspan

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
i will use it to canvas table.   i will  used rowspan and
table tr:nth-child(even) {
     background-color: green;
}

the canvas some table-cell background-color is error.
the error sample code is

html2Canvas table test

        name
        aaa
        abc

        row1-1
        row1-2
        row1-3

        row2-3

        row3-1
        row3-2

        row4-1
        row4-2
        row4-3

Render Result:

Specifications:

html2canvas version tested with:  v1.4.1
Browser & version:  chrome 107.0.5304.107
Operating system:  windows 11

I was facing the same issue, discovered that if you drop the styling down to the td the issue is resolved:
tr:nth-of-type(even) {
  td {
    background-color: green;
  }
}


Unit 4 Proposal Updates

Avoid writing a false equality
Bring one precision in pg-theorem: why grad (p R) is grad p * R
at, st formatting

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks for the update, I'm merging it after testing the display


Adding MOSAIKS tutorial notebook

This adds a new tutorial notebook that has an example implementation of the MOSAIKS method from "A generalizable and accessible approach to machine learning with global satellite imagery". It performs an unsupervised feature extraction of S2 imagery, then trains/tests a ridge regression model on population density labels from the extracted image features.
Some notes:

It runs in 30-40 minutes on a GPU instance on the PC Hub
It doesn't have any new library dependencies
It depends on a single external file (containing lat, lon points and associated population density labels from the above paper) -- "https://files.codeocean.com/files/verified/fa908bbc-11f9-4421-8bd3-72a4bf00427f_v2.0/data/int/applications/population/outcomes_sampled_population_CONTUS_16_640_UAR_100000_0.csv?download"

nbviewer link: https://nbviewer.jupyter.org/github/microsoft/PlanetaryComputerExamples/blob/295470443651d9d7005341707df80a59e04df699/tutorials/mosaiks.ipynb
@estherrolf

Very neat! A few random thoughts on the content as I run through it through it in the background:

We set a few of your "GDAL best practicies" environment variables automatically on the hub (https://planetarycomputer.microsoft.com/docs/overview/environment/#environment-variables). I wonder if we should set the others. (might still be OK to include in the notebook, for those running this in other places than the Hub)
We'll have census 2020 data (including boundaries and populations) on the PC soon-ish. Might want to revisit that once that's available if it's an appropriate substitute for that file with population density.
The pattern of querying the STAC endpoint under "Extract features from the imagery around each point" seems generally useful. I think pystac-client would benefit from something like this. I'll think about it a bit and write up an issue.
I'm interested in how the interaction between "List of STAC Items" and PyTorch dataset (/ dataloader) can be improved.

Some details on number 3 above: In particular, I wonder how repeated queries to the  STAC API performs relative to a single query with a very complex polygon. The flow would be something like

Union all the lat / lon points into a MultiPoint polygon
Submit a single query with the (complex) intersects geometry
Fetch all the Items
Find which Item covers which point(s)

If you're OK with it, I might push some cleanup / simplifications to this branch. We'll want something that runs in a handful of minutes, perhaps by limiting the number of points a bit.

If you're OK with it, I might push some cleanup / simplifications to this branch. We'll want something that runs in a handful of minutes, perhaps by limiting the number of points a bit.

Definitely change whatever you want!
I just tested decreasing the number of points by a factor of 10: this makes little effect on the number of STAC API calls you have to make (still ~1000) which takes 5-10 minutes, but (obviously) speeds up the time taken to actually run the model on the imagery (takes ~1 minute). The end results of the model are worse but the message is still the same.

We set a few of your "GDAL best practices" environment variables automatically ...

I'll run the featurization step w/ and w/out these environmental variables set and report back

We'll have census 2020 data (including boundaries and populations) on the PC soon-ish...

Cool! We could definitely use this. The current values come from this dataset (which would also be really useful to have).

The pattern of querying the STAC endpoint

Any speed ups here would be awesome. An alternative look at what I'm trying to do is, "how can I get a single layer of S2 scenes that cover a spatial extent?". Here I don't care about mosaicking them or anything, I just need the least cloudy ones.

I'm interested in how the interaction between "List of STAC Items" and PyTorch dataset (/ dataloader) can be improved.

In torchgeo our GeoDataset takes a big list of GeoTIFFs as input, builds an internal spatial index, and then lets you sample imagery by bounding box (+ time range). If you could efficiently find the subset of S2 scenes that you wanted to sample from up front, then you could wrap most of the logic into a single Dataset that follows the same idea.

We set a few of your "GDAL best practices" environment variables automatically ...

Looks like loading time is similar w/ or w/out the additional env variables

https://nbviewer.jupyter.org/gist/TomAugspurger/ceadc4b2f8b7e4263ff172ee1ea76dbb has some analysis / thoughts on speeding up the STAC queries. With some effort I was able to get all the STAC items in ~2-3 minutes (haven't associated them with the points yet though).
The basic idea is described at https://nbviewer.jupyter.org/gist/TomAugspurger/ceadc4b2f8b7e4263ff172ee1ea76dbb#Option-2:-Parallelize...-carefully., but the tl/dr is to

Partition the data & parallelize the requests (fetching ~4 result sets in parallel, could parallelize more since we're I/O bound rather than CPU bound but would need to watch how the endpoint / database handles that)
Carefully sort the data prior to partitioning. Make sure nearby points are in the same partition to avoid re-fetching an item many times (since a single Item covers many points)

The final table of results is at https://nbviewer.jupyter.org/gist/TomAugspurger/ceadc4b2f8b7e4263ff172ee1ea76dbb#Results.
I'm not 100% sure what the next steps are, but for now I think we adopt that partitioning code in the example here and then look to put it in a library / API in the future.

Hey @TomAugspurger, I've implemented the RCF model used here in torchgeo (https://github.com/microsoft/torchgeo/pull/176). Is this notebook still something on the radar to include in the tutorials? (wondering if I should refactor it to use the torchgeo model implementation)

@calebrob6 I updated the notebook to use a variant of the strategy in https://github.com/microsoft/PlanetaryComputerExamples/pull/70#issuecomment-912775352. The core idea is in
def query(points):
    """
    Find a STAC item for points in the `points` DataFrame

    Parameters
    ----------
    points : geopandas.GeoDataFrame
        A GeoDataFrame

    Returns
    -------
    geopandas.GeoDataFrame
        A new geopandas.GeoDataFrame with a `stac_item` column containing the STAC
        item that covers each point.
    """
    intersects = shapely.geometry.mapping(points.unary_union.convex_hull)

    search_start = "2018-01-01"
    search_end = "2019-12-31"
    catalog = pystac_client.Client.open(
        "https://planetarycomputer.microsoft.com/api/stac/v1"
    )

    # The time frame in which we search for non-cloudy imagery
    search = catalog.search(
        collections=["sentinel-2-l2a"],
        intersects=intersects,
        datetime=[search_start, search_end],
        query={"eo:cloud_cover": {"lt": 10}},
        limit=500,
    )
    ic = search.get_all_items_as_dict()

    features = ic["features"]
    features_d = {item["id"]: item for item in features}

    data = {
        "eo:cloud_cover": [],
        "geometry": [],
    }

    index = []

    for item in features:
        data["eo:cloud_cover"].append(item["properties"]["eo:cloud_cover"])
        data["geometry"].append(shapely.geometry.shape(item["geometry"]))
        index.append(item["id"])

    items = geopandas.GeoDataFrame(data, index=index, geometry="geometry").sort_values(
        "eo:cloud_cover"
    )
    point_list = points.geometry.tolist()

    point_items = []
    for point in point_list:
        covered_by = items[items.covers(point)]
        if len(covered_by):
            point_items.append(features_d[covered_by.index[0]])
        else:
            # There weren't any scenes matching our conditions for this point (too cloudy)
            point_items.append(None)

    return points.assign(stac_item=point_items)

This basic idea is to spatially partition the data, and then feed each partition to query in parallel. An earlier version just did the STAC item searching in parallel. Now this also associates each point with a single STAC item (in parallel). That runs in ~75s on the 70,000 points.

Awesome!! Makes a ton sense and gives almost a linear speed-up compared to the single-threaded way I was doing previously.
So we don't have a torchgeo release yet, but I've implemented the RFC model defined in cell 4 -- https://torchgeo.readthedocs.io/en/latest/api/models.html#torchgeo.models.RCF. Do you want me to open a PR to clean this up once we have an actual release vs. adding it now with a pip install https://github.com/microsoft/torchgeo.git?

Another sensible refactoring step would be to convert the returned STAC items into a stac collection with the population labels, then make a STACDataset (in torchgeo) to use instead of the CustomDataset. This doesn't exist and will take a bit of effort.

I talked with Caleb in Teams, and he plans to submit a PR updating this notebook once a version of torchgeo with this model is released.
Thanks for submitting this PR @calebrob6! It's great to see higher-level applications of STAC. I'm hopeful we can improve the user-experience around large queries like this, but in the meantime it's nice to have a concrete example.


Add filenamePattern option in negative-tests

With this option it would be possible to only activate the lint rule on
test files in the flow-typed repo.

@jeffmo Any thoughts on this?


ObjectMapper and Realm's List types

Realm To-Many Relationships types is List. and ObjectMapper is Array OR Set.
ObjectMapper could support RealmSwift List types?

I have the same problem.
Currently I'm trying the following workaround. I wonder if you have any other ideas until the problem is fixed?
class MyObject: Object, Mappable {
    let tags = List<Tag>()

    required convenience init?(_ map: Map) { self.init() }

    func mapping(map: Map) {
        var tags: [Tag]?
        tags <- map["tags"]
        if let tags = tags {
            for tag in tags {
                self.tags.append(tag)
            }
        }
    }
}

same for me

You can use ArrayTransform
items <- (map["items"],ArrayTransform<Item>())

There is reference to simple extension that can be used https://github.com/Hearst-DD/ObjectMapper#objectmapper--realm

I guess this issue should be closed. @pawin s solution works perfectly

I've created an operator which properly fixes this issue. Please, check https://gist.github.com/danilValeev/ef29630b61eed510ca135034c444a98a
With this operator you don't need any additional code or transforms.
list <- map["name"]


Add loading component as placeholder while backend fetch is onging

Is this fixed by #156

Yes, fixed with #156.


chore: add docker healthcheck to SIPI image (INFRA-130)

Pull Request Checklist
Task Description/Number

https://linear.app/dasch/issue/INFRA-130/implement-sipi-healthcheck
This PR adds a docker healthcheck to the knora-sipi docker image and will enable docker swarm to automatically restart SIPI when it stops working.  Mitigates the impact of https://dasch.atlassian.net/wiki/spaces/E/pages/152043521/Postmortem+2022.12.06+-+DSP-APP+freezes+when+SIPI+is+not+responding and https://dasch.atlassian.net/browse/DEV-1499 as SIPI will automatically be restarted.
Issue Number: INFRA-130
Basic Requirements
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix: represents bug fixes
[ ] Refactor: represents production code refactoring
[ ] Feature: represents a new feature
[ ] Documentation: documentation changes (no production code change)
[x] Chore: maintenance tasks (no production code change)
[ ] Style: styles updates (no production code change)
[ ] Test: all about tests: adding, refactoring tests (no production code change)
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Does this PR change client-test-data?

[ ] Yes (don't forget to update the JS-LIB team about the change)
[x] No

Thanks!


No such file or directory, stat 'node_modules/dns-equal'

Pre-flight checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project uses.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
7.5.0
Electron version
26.6.5
Operating system
macOS 15.0
Last known working Electron Forge version
No response
Expected behavior
electron-forge package with @electron-forge/maker-dmg 7.5.0 succeeds.
Actual behavior
$ electron forge make
✔ Checking your system
✔ Loading configuration
✔ Resolving make targets
  › Making for the following targets: ,
❯ Running package command
  ✔ Preparing to package application
  ❯ Running packaging hooks
    ✔ Running generateAssets hook
    ❯ Running prePackage hook
      ✔ [plugin-webpack] Preparing webpack bundles
        ✔ Preparing native dependencies: 1 / 1 [6s]
        ✔ Building webpack bundles [1m22s]
      ✔ [plugin-serialport-native-modules-workaround] Running prePackage hook
      ✔ [plugin-ngrok-native-modules-workaround] Running prePackage hook
      ✖ [plugin-zigbee-herdsman-workaround] Running prePackage hook
        › ENOENT: no such file or directory, stat 'node_modules/dns-equal'
      ◼ [plugin-vm2-workaround] Running prePackage hook
  ◼ Packaging application
  ◼ Running postPackage hook
◼ Running preMake hook
◼ Making distributables
◼ Running postMake hook

An unhandled rejection has occurred inside Forge:
Error: ENOENT: no such file or directory, stat 'node_modules/dns-equal'

error Command failed with exit code 1.

Steps to reproduce
Here's the relevant forge.config.js:
module.exports = {
  packagerConfig: {
    asar: {
      // unpack node native binaries so that the notarization can examine these libraries
      // and they can be executed from outside an ASAR
      unpack: '*.{node,dll}',
    },
    icon: 'icons/icon',
    extendInfo: 'Info.plist',
    appBundleId:  [redacted],
    osxSign: {
      [redacted]
    },
    ...(process.env.APPLE_ID &&
      process.env.APPLE_ID_PASSWORD &&
      process.env.APPLE_TEAM_ID && {
        osxNotarize: {
          tool: 'notarytool',
          appleId: process.env.APPLE_ID,
          appleIdPassword: process.env.APPLE_ID_PASSWORD,
          teamId: process.env.APPLE_TEAM_ID,
        },
      }),
    executableName: process.platform === 'linux' ? productName.toLowerCase() : undefined, // required for Linux production builds
  },
  makers: [
    {
      name: '@electron-forge/maker-dmg',
      config: {
        icon: [redacted],
        background: 'installer/DMG_background.png',
        additionalDMGOptions: {
          window: {
            size: {
              width: 658,
              height: 498,
            },
          },
        },
      },
    },
     plugins: [
    {
      name: '@electron-forge/plugin-webpack',
      config: {
        ...(isDev && { devServer: { hot: true, liveReload: false } }), // Required for @pmmmwh/react-refresh-webpack-plugin
        devContentSecurityPolicy: '',
        mainConfig: './webpack.main.config.js',
        renderer: {
          config: './webpack.renderer.config.js',
          nodeIntegration: true,
          entryPoints: [
            {
              html: './src/app/app.html',
              js: './src/app/app.ts',
              name: 'app',
            },
           ...

Additional information
Note that electron-forge make also fails with the same error but electron-forge start does not throw an error.

Yes, that worked for me as well. I believe it should be included as a dependency.

Is there anything particular happening in plugin-zigbee-herdsman-workaround? It seems to be failing on that step in the package flow. I don't think this is related to the DMG maker since we're not even getting the app successfully packaged first.

Is there anything particular happening in plugin-zigbee-herdsman-workaround? It seems to be failing on that step in the package flow. I don't think this is related to the DMG maker since we're not even getting the app successfully packaged first.

Nothing DNS related. It just copied a few files from the node_modules folder.

I'm unable to repro with the base Forge webpack template on my end. Is there anything in your code that eventually calls dns-equal for some reason?

I've been trying to work that out. It might be that the Sentry Webpack Plugin uses it but I can't find any reference to it in the source code. If you can't reproduce it then it could be something specific about our setup but there's nothing obvious.


Issue with type checkers

Hello!
When I use your package, apparently mypy and PyLance are not happy with it. They raises warning saying:
Stub file not found for "lazy_imports"

Indeed some of your datatypes cannot be properly understood by the type checkers because of this missing file (see https://mypy.readthedocs.io/en/stable/stubs.html). Any chance you can fix this at some point ?
Thanks :)

Hi @jplu !
Thanks for reporting this. I will investigate it.
Do you think providing a stub would be the best solution?
Would it help to add more type annotations to this python source code?
I'm not super familiar with mypy and PyLance, unfortunately. Do you know more?

In order to be sure, better to add the stub file, py.typed with:
partial

And doing a simple:
pip install mypy
mypy .

And fix all the raised warning by mypy.

https://peps.python.org/pep-0561/#packaging-type-information

Which Python version do you use?

I'm using Python 3.10, so it should be ok then :)


Add responses to exceptions!

The BadResponse exception type is pretty much useless without explaining what went wrong—the provided message (You may be missing a required argument or provided bad data) is downright useless compared to the discarded response body, which actually helps provide an understanding of what is wrong with the request.
This pins a response to the exception, if there is a response to pin.

Coverage remained the same at 100.0% when pulling 1f917b9296fa52fb5e0127612c4ad9da42b25fc2 on duane:add_responses_to_exceptions into bec48668337ec320922f1a0e4628471abc7e7f52 on hipchat:master.


CI: gcp integration test

Reference Issues or PRs

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

A PR from a fork cannot have the required permission, close.


feat: Added Category 'API'

Related Issue
Closes #1511

Description
Added code to include the category 'API' and added a free api in the DB.
Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@PurviSaini the category should have at least 8 tools

Ok, I will add more.

It's done


scrolling bug in a chapter

In a chapter, pressing the back button while scrolling and then pressing the back button while scrolling on the novel list causes the very first page to be set to the novel list. This causes an "image" of the novel list to appear over the screen.
Steps to reproduce:

Open BakaReader EX
select Light novels
select any light novel in the list that has chapters not in an external link
select a chapter
while continuously scrolling up and down, hit the back button
while continuously scrolling up and down, hit the back button again

Here is a link to a video demonstration of this:
https://drive.google.com/file/d/0B2G_jPctxVodd05HWGhnbkg0cVk/view?usp=sharing
repeatedly pressing the back button causes this error to fix itself somehow.

try: https://github.com/calvinaquino/LNReader-Android/releases/tag/1.1.32-beta2

Updated: https://github.com/calvinaquino/LNReader-Android/releases/tag/1.1.32-beta3


Minor ugly code formatting in generated code

Description
We have tried hard to generate clean code.  Indenting is wrong on Java Doc for these  methods in generated ProtoCodec

write()
measure()
measureRecord()
fastEquals()
parseInternal()
parseStrict()

They all start like:

        /**
     * Parses a Everything object from ProtoBuf bytes in a {@link ReadableSequentialData} in strict mode, such that
     * parsing will fail if the encoded protobuf object contains any fields that are unknown to this

Steps to reproduce
generate code
Additional context
No response
Hedera network
other
Version
latest
Operating system
None

@jasperpotts  , is it possible to use the "good first issue template"? This would make it easier for people to know what to do and make our issue template consistent.
Here is an example issue template.


Articles

Use this issue to discuss the Articles in the ONS Design System

Is there a variant of this without the images?

@armstrongb It should work without an image, if you have not specified one.
This is still in the works, so I can make sure it does.
The patterns was designed and developed for Census2021 News
https://deploy-preview-118--sdc-prototypes.netlify.app/prototypes/census-website-engage/news/
https://deploy-preview-118--sdc-prototypes.netlify.app/prototypes/census-website-engage/news/article/
https://deploy-preview-118--sdc-prototypes.netlify.app/prototypes/census-website-engage/news/category/
If you have any other requirements, let me know.

Not a requirement as such just a query. For wider use the ability to have the image optional would be useful I'd expect.

Also... is this the article or an article variant of card? Article to me would hint at the full content.


Change davit head forward to match convnext

Davit's forward_head can be handled the same way as Convnext.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


NVLS support.

@saeedmaleki please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

Hi @saeedmaleki, according to the instruction, could you please reply "@microsoft-github-policy-service agree" to the bot comment? Thank you!


Change the ordering of ObsHistID for Twinkles Run 3

The bin/get_twinkles_visit.py  follows the prescription outlined in https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/347 . Talking to @drphilmarshall , it became apparent that there is a need to get the WFD visits first. This means, that we should stick in all the WFD visits at the beginning of Twinkles3.2  if possible

The logic was that in case it takes a long time to complete the DDF visits,
we could be doing a more-or-less complete analysis of the WFD survey, and
potentially even write that up on its own with the DDF analysis in a
follow-up paper. I don't think we'll necessarily be in this position, but
you never know: it seems like a good idea to enable ourselves to finish a
logical unit of analysis, as a safety net.
On Sun, Nov 13, 2016 at 7:40 PM, rbiswas4<EMAIL_ADDRESS>wrote:

The bin/get_twinkles_visit.py follows the prescription outlined in #347
https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/347 .
Talking to @drphilmarshall https://github.com/drphilmarshall , it
became apparent that there is a need to get the WFD visits first. This
means, that we should stick in all the WFD visits at the beginning of
Twinkles3.2 if possible
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DarkEnergyScienceCollaboration/Twinkles/issues/402,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArY9yF9Cup2eZFudtTpU0BtFV74cNnYks5q99ghgaJpZM4Kw7Pv
.


Adding hashtable fuzz corpora

dependent on the merging of https://github.com/openssl/openssl/pull/23607

Merged. Thank you.


Improve the Show in Finder button

An initial version was added in #43, but it could be improved. See the feedback given there.

@sindresorhus has rewarded $180.00 to @sentialx. See it on IssueHunt

:moneybag: Total deposit: $200.00
:tada: Repository reward(0%): $0.00
:wrench: Service fee(10%): $20.00


ssh: update SSH_ASKPASS workaround to more closely match what ssh-add needs

Fixes #1478 (and possibly supersedes #1479)
Note that I haven't been able to test this since I'm currently on a Mac. If anyone can confirm this fix works, I'd be happy to merge it in.
Also note that I don't think checking the OSTYPE is needed, as in other environments, DISPLAY wouldn't be set, and that mirrors what ssh-add is looking for.

and possibly supersedes #1479

definitely, thank you!

Can you confirm that this fix works for you? I'm not as familiar with this module since I don't personally use it.

yes, it does! thanks again

Alright, it's been merged. Thanks for filing the issue!

Hi, just for history with #1334 shell no longer asks for the passphrase you must install ssh-askpass
In #1408 I tried to fix it for those who do not use ssh-askpass
Now I tested with and without ssh-askpass in both case no X11 windows is open and works fine.

NP, i should have checked and reviewed your PR, then it could have fixed it for all 😄

I think I have gotten bitten by this. I log in to a bare terminal and start with startx on arch. Previously, after login I would be asked my ssh password, and then it was saved and I never got asked again.
I recently updated and my passphrase is no longer saved, I get prompted in the terminal each time


Call dace.serialize.set_properties_from_json from Diode

For some reason we had two implementations of set_properties_from_json: one in dace.serialize, and one in diode.diode_rest. Get rid of the latter, and fix the call that was breaking transformations in Diode.

@tbennun Still running tests, but this seems to fix it


Target the same element with multiple jQuery Selectors

Challenge Target the same element with multiple jQuery Selectors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

Only add one class with each of your three selectors. Please let me know if there is correction in code.

Thank you for reporting this issue.
As per the instructions, you should add only the btn-primary class to #target1.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.


Test timeline v2

Codecov Report

Merging #86 (dd2f8bb) into main (ede35ab) will increase coverage by 0.69%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #86      +/-   ##
==========================================
+ Coverage   51.33%   52.02%   +0.69%
==========================================
  Files         239      239
  Lines        5895     5895
==========================================
+ Hits         3026     3067      +41
+ Misses       2869     2828      -41

Impacted Files
Coverage Δ

...v2/Timeline/Requests/GetUsersTweetsRequestV2.swift
100.00% <0.00%> (+9.52%)
:arrow_up:

.../Timeline/Requests/GetUsersMentionsRequestV2.swift
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Add form field title for a11y

Motivation
Resolves part of: https://github.com/facebook/Docusaurus/issues/462
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Run pa11y localhost:3000 before and after this change to confirm that the below error was solved.
 • Error: This form field should be labelled in some way. Use the label element (either with a "for" attribute or wrapped around the form field), or "title", "aria-label" or "aria-labelledby" attributes as appropriate.
   ├── WCAG2AA.Principle1.Guideline1_3.1_3_1.F68
   ├── #search_input_react
   └── <input type="text" id="search_input_react" placeholder="Search" class="aa-input" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="false" aria-labelledby="search_input_react" aria-owns="algolia-autocomplete...

Related PRs
N/A

cc @yangshun
The job is on hold in Circle CI, but I think it will pass because a yarn ci-check is successful.

Thanks, a11yproject def looks like a good resource!
I originally went with a label with a for attribute (cause it was listed first) e.g. <label for="search_input_react" class="visuallyhidden">Search</label> but it didn't clear the error. (It seemed fine to pass on, cause would have had to add the visuallyhidden class.)
It already has a aria-labelledby="search_input_react" on inspection (not sure where it's coming from yet?) which is confusing since aria-labelledby is listed as a way to solve the error>
And adding aria-labelinstead of title also doesn't clear the error... 🤔

Not a good idea to change the HTML structure as that's an Algolia search field and Algolia will have to access that DOM element to add functionality.

It already has a aria-labelledby="search_input_react" on inspection (not sure where it's coming from yet?)

Upon inspection, the aria-labelledby field is most probably dynamically added by the Algolia SDK. Search for aria-labelledby and see that it is determined by the id value when the placeholder is present, in the following line of minified code:
..."aria-labelledby":e.attr("placeholder")?e.attr("id"):null...

which is confusing since aria-labelledby is listed as a way to solve the error.

Sounds like a bug in pa11y. We would have to dig into their code to find out why (another opportunity for an open source contribution!)


Design pattern for protein-containing complex formation and children

Hello,
Last week, @ukemi @vanaukenk and I noticed a discrepancy between the relations ''results in organization of', and  its children, results in assembly of', 'results in disassembly of' 'results in remodeling of', and how these are used in the ontology.
Results in organization of is a child of 'has anatomical participant', which is certainly wrong for protein-containing complexes (and possibly for other structures described in 'results is organization of x' terms).

(Results in assembly of is also a child of 'developmentally related to', which is even more preblematic)

'has anatomical participant' is defined as 'p has anatomical participant c iff p has participant c, and c is an anatomical entity'; does that cover 'celluar anatomical entities we have in GO?

The proposal is to change the logical definition of terms as follows:

'x protein-containing complex assembly'  -> change from  'results in assembly of' to  'has output'
'x protein-containing complex disassembly'  -> change from  'results in disassembly of' to  'has input'
'x protein-containing complex subunit organization' -> ?
' x protein-containing complex remodeling' -> ? many children are lipoprotein particles

Thanks, Pascale

agreed, this is a quick fix on RO

fixed in latest RO https://github.com/oborel/obo-relations/releases/tag/v2021-12-07
refreshing import will fix

RO import has been refreshed: #22535


generated_license_contents: early return when license.text is nil

I have this error when running licensed (in a larger project):
/licensed-2.14.2/lib/licensed/dependency.rb:149:in `generated_license_contents': undefined method `lines' for nil:NilClass (NoMethodError)

I figured that license.text in dependency.rb:149 must be nil for this error to occur.
I am not a ruby developer so feel free to edit the code as much as needed.

@jonabc I cannot share the project. But I see what I can do to narrow down the problem.

I cannot share the project. But I see what I can do to narrow down the problem.

Can you set up a repro project that uses the same dependencies but doesn't have any private code/IP?

Was able to reproduce in a controlled environment.
Here are the needed files:
https://gist.github.com/Eun/8afcca0b6ad60ab6fee20d8fbe1f4d1b
$ yarn --version
1.22.5
$ node --version
v12.20.0

To reproduce do
$ yarn install
$ licensed cache

@Eun sorry for the delay.  I was unable to reproduce the issue using the following app versions.
➜  repro-licensed-328 git:(master) ✗ yarn -v
1.22.4
➜  repro-licensed-328 git:(master) ✗ npm -v
6.14.4
➜  repro-licensed-328 git:(master) ✗ node -v
v14.1.0
➜  repro-licensed-328 git:(master) ✗ licensed -v
2.14.2

I don't want to continue to block you from using the tool, so I'm going to merge this change and release a new version with the fix.  I'd like to continue to understand how you hit this scenario though.  If you wouldn't mind, can you share what versions of yarn, npm, node and licensed you're using locally that are hitting the issue?

I stitched a Dockerfile together that can be used to reproduce the bug:
# This Dockerfile should demonstrate the isse at https://github.com/github/licensed/pull/328
# To build run:
# 	docker build --no-cache -t test:latest
# After building start docker container using
# 	docker run -ti -v $(pwd):/app/ -w /app --rm test:latest /bin/bash
# Inside the docker container run
#   yarn install && licensed cache
FROM ubuntu:20.10

RUN apt-get update && \
	apt-get install -y curl gnupg && \
	curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
	curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
	echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
	curl -sSL -o /tmp/licensed.tar.gz https://github.com/github/licensed/releases/download/2.14.2/licensed-2.14.2-linux-x64.tar.gz && \
	tar -xf /tmp/licensed.tar.gz -C /tmp && \
	mv /tmp/licensed /bin/ && \
	chmod 0777 -R /tmp && \
	apt-get update && \
	apt-get install -y nodejs yarn

@Eun thanks for the dockerfile, I was able to figure out why I was not reproducing the issue locally and ultimately get the root cause.  The time-input dependency is listed as UNLICENSED in it's package.json, which licensee translates to the no-license license that has no text.  Checking for nil text is the right fix 👍
Thanks for the opening the PR and working with me to validate the root cause 🙇


Analyse local font by name

[ ] Allow user to type in the name of a local font to add to the fonts list
[ ] Check if font is available before adding/analysing it

:+1:


Bug: WIN+E causes tabs to duplicate

Description
WIN+E causes tabs to duplicate. If you have 1 tab, now you have 2. If you have 2, now you have 4, and so goes on.
Steps To Reproduce

Opening 3 tabs
Using Win+E
The tabs are duplicated

Probably this needs the option "Replace file explorer".
Requirements
When Files is already opened tabs should remain the same.
Files Version
3.3.0
Windows Version
Version	10.0.22631 Build 22631
Log File
debug.log

Update, managed to crash if you keep going:
https://github.com/files-community/Files/assets/52143624/5eb28cc5-3d8d-4015-b818-d80da8732eb4

Btw, tried to debug, but WIN+E causes to open the release version, not the VS one :(

I was able to reproduce it.

WIN+E causes to open the release version, not the VS one :(

This is a known issue discussed in https://github.com/files-community/Files/issues/13112.

Let's merge with #13112

Btw, tried to debug, but WIN+E causes to open the release version, not the VS one :(

@gumbarros, you can change this from Windows Settings > Apps > Default Apps > Files. At the bottom of the page there should be an option for URL:files-uwp and you can click it to change to the dev version.

@yaira2 the problem is not that Win+E opens another build, but that Win+E doubles open tabs.

@yaira2 the problem is not that Win+E opens another build, but that Win+E doubles open tabs.

Exactly, but I think this will help in the debug.


update cargo.toml with licence changes

Thanks for the pull request, and welcome! The MaidSafe team is excited to review your changes, and you should hear from @canndrew (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTOR.md for more information.

squashing this and other pr's down into one pr


TCOTA-574 Updated submission details

I think this looks good but there are merge conflicts now. @rmathis can you fix the merge conflicts? Thanks.

Fixed


Fix updateDimensions()

fix https://github.com/stevebauman/showcode/issues/211

Note: I'm not a vue developer. This is my very first PR on a vue project!
So ...

Fixed -- accidentally deleted those missing methods in a previous commit. Thank you for your PR though and for bringing this up! ❤


Implement Organization Settings

Problem
Organizations need to be able to manage users, settings, etc.
Solution
Implement the design at https://invis.io/TFVDRGW9VQH#/318800829_My_Organisation_User_Management, https://invis.io/RKVGRB8BE9M#/319799954_My_Organisation_Settings_affiliate
Note: Only the items circled are 3.0 MVP
Screenshot

Done.


What about mention AssemblyScript in "Cross-language comparison"?

AssemblyScript already implement similar abilities along time ago. See examples

Thanks for the reference, I didn't know about this. PRs welcome for adding the reference.


Update README.md

Fixed statement about jellyfish. It supports unicode strings for quite some time and it performs well with them.
I was looking if I can find faster implementation than what jellyfish provides and found this library. It turned out to be not that good as advertised, in my tests it's about 7 times slower than jellyfish. It would be fair to include it in the benchmarks as well.
PS: I probably have something different in my setup as I get worse results than advertised on a slightly more powerful CPU (i7-7700):
>>> timeit.timeit("damerau_levenshtein_distance('e0zdvfb840174ut74j2v7gabx1 5bs', 'qpk5vei 4tzo0bglx8rl7e 2h4uei7')", 'from pyxdameraulevenshtein import damerau_levenshtein_distance', number=500000)
20.89569331565872
>>> timeit.timeit("damerau_levenshtein_distance('e0zdvfb840174ut74j2v7gabx1 5bs', 'qpk5vei 4tzo0bglx8rl7e 2h4uei7')", 'from jellyfish import damerau_levenshtein_distance', number=500000)
3.016888005193323

Thanks for the PR! I'll merge.
And thanks for the performance note about Jellyfish. I need to look into how its implementation its different than what's happening in this library.


Add support for Uvicorn 0.5.x

Fixes #183
Proposed changes

Pin Uvicorn to 0.5.x
Fix how hot reload is implemented in debug mode

Codecov Report

Merging #186 into master will increase coverage by 0.38%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
+ Coverage   98.57%   98.95%   +0.38%
==========================================
  Files          21       21
  Lines         982      957      -25
  Branches       92       88       -4
==========================================
- Hits          968      947      -21
+ Misses          9        6       -3
+ Partials        5        4       -1

Impacted Files
Coverage Δ

bocadillo/applications.py
100% <100%> (+2.28%)
:arrow_up:

bocadillo/middleware.py
100% <0%> (ø)
:arrow_up:

bocadillo/app_types.py
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@tomchristie I am encountering pickling issues I'm not really sure about. 🤔
Consider this example app:
# debug/app.py
from bocadillo import App

app = App()

@app.route("/")
async def index(req, res):
    res.text = "Hello"

if __name__ == "__main__":
    app.run(debug=True)

If I run it, I get the following traceback:
$ python debug/app.py
INFO: Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO: Started reloader process [20030]
Traceback (most recent call last):
  File "debug/app.py", line 12, in <module>
    app.run(debug=True)
  File "/Users/Florimond/Developer/bocadillo-projects/bocadillo/bocadillo/applications.py", line 465, in run
    _run(self, host=host, port=port, **kwargs)
  File "/Users/Florimond/.local/share/virtualenvs/bocadillo-AaIIUH0P/lib/python3.7/site-packages/uvicorn/main.py", line 255, in run
    supervisor.run(server.run, sockets=[socket])
  File "/Users/Florimond/.local/share/virtualenvs/bocadillo-AaIIUH0P/lib/python3.7/site-packages/uvicorn/supervisors/statreload.py", line 34, in run
    process.start()
  File "/Users/Florimond/.pyenv/versions/3.7.2/lib/python3.7/multiprocessing/process.py", line 112, in start
    self._popen = self._Popen(self)
  File "/Users/Florimond/.pyenv/versions/3.7.2/lib/python3.7/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/Users/Florimond/.pyenv/versions/3.7.2/lib/python3.7/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/Users/Florimond/.pyenv/versions/3.7.2/lib/python3.7/multiprocessing/popen_fork.py", line 20, in __init__
    self._launch(process_obj)
  File "/Users/Florimond/.pyenv/versions/3.7.2/lib/python3.7/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/Users/Florimond/.pyenv/versions/3.7.2/lib/python3.7/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function index at 0x10484a8c8>: it's not the same object as __main__.index

I tried removing the index view, and now I get the same error but for a function in Jinja2:
_pickle.PicklingError: Can't pickle <function do_first at 0x102be80d0>: it's not the same object as jinja2.filters.do_first

I'm even more puzzled by the fact that everything runs smoothly if I run it from the command line, despite the fact that this makes a direct call to run() (code):
uvicorn debug.app:app --reload

Any clues? Do you think this is an issue with uvicorn (in which case we should probably discuss this over there)?

Urg. Let's discuss this on https://github.com/encode/uvicorn/issues/315

@tomchristie I was able to make hot reload work programmatically. The hack is to inspect the call stack to find the file in which the app was declared, and build the import string from that. Kind of dirty but it does the trick in a development context. :+1:

Closing in favor of #187


Rewriting the Language Servers to use a language-agnostic approach

This PR supersedes #14, in that it also brings semantic highlighting, integrating @HumphreyHCB's changes.
The key idea is to use data-structures very close and in parts already based on the ones needed for the language server protocol.
We then offer a somewhat small API, for languages to record these information, and use the resulting data to answer requests from the LSP clients.
Notable Changes

update TruffleSOM and SOMns
use JDK 17 to be consistent with TruffleSOM, SOMns
add minimal copy of SimpleLanguage, mostly generated from the grammar, and implementing the required classes as shims
generate-impl.sh documents how the parser was generated from the grammar. The remaining classes where generated by Eclipse to satisfy type requirements.
added unit tests for the languages and basic features of their language support

This is basically not reviewable in this form.
I'll merge it, since CI is updated and green.
Then we can take it from here.


fix https://github.com/zappa/Zappa/issues/1039 prohibit public access…

… to created lambda functions by setting SourceAccount when creating lambda resource policy.

Description

When granting permissions to invoke a lambda for an event source such as s3 object created, specify the SourceAccount to restrict access to the lambda function to strictly that account. This is a minor change to prevent public access to a lambda function.
GitHub Issues

https://github.com/zappa/Zappa/issues/1039

Pease make the same pull request on  Zappa2, which is a branch of this repo. Since This repo has been deprecated I will take up maintenance.
PyPi - pip install zappa2

@ghostmaster-ai any chance you'll be able to publish the package to pypi as zappa, rather than zappa2?

@ghostmaster-ai any chance you'll be able to publish the package to pypi as zappa, rather than zappa2?

for that to happen the owners/maintainers of PyPi account will have delete their project on PyPi since there cannot be 2 projects with the same name. Not only do I not see that happening I don't think it's a good idea to take down the original project as they might want to take up maintenance again in the future, till then i hope Zappa2 does the trick.


Get the Time Zone offset

Is there a way to get the Time Zone GMT offset (-1, +14, 0, ...), instead of the Time Zone name?

You can extract this offset from a properly setup pytz "timezone" class. I wrote about how to set it up in the readme under "further application". Hope that helped.

That wasn't exactly what I was looking for, but it pointed me in the right direction ;)
In the end this is the function I wrote to get what I wanted (if you consider this post to not be useful, feel free to remove it):
from timezonefinder import TimezoneFinder
from pytz import timezone
import pytz
from datetime import datetime

utc = pytz.utc
tf = TimezoneFinder()

def diff_time_zone(target):
	today = datetime.now()

	tz_target = timezone(tf.certain_timezone_at(lat=target['lat'], lng=target['lng']))
	today_target = tz_target.localize(today)
	today_utc = utc.localize(today)

	return (today_utc - today_target).total_seconds() / 60

If I pass it a dictionary, like this one
bergamo = dict({'lat':45.69, 'lng':9.67})
It returns me the number of minutes the location's time zone is away from the UTC 0

Ok. I'll add this to the readme for further reference.

Instead of doing:
today_target = tz_target.localize(today)
today_utc = utc.localize(today)
offset = today_utc - today_target

we can directly do: offset = tz_target.utcoffset(today)
Also, if today is in summer time while the target isn't, you may want to substract the DST: offset = tz_target.utcoffset(today) - tz_target.dst(today)


Comments can’t be uncommented in VS Code

Create an MDX file with the following content:
This is markdown

export function foo() {
  return
}

Select a range that starts at the first line of the exported function. Press Ctrl + / a couple of times.
Expected behaviour
Comments are toggled
Actual behaviour
This has awkward behaviour that eventually results in //  prefix being added several times.
Comment behaviour has always been awkward in MDX, because there are different contexts of nested languages, but it has gotten worse with the new language definition.

but it has gotten worse with the new language definition.

I disagree. They were completely broken. It has improved.

This is likely unrelated to syntax highlighting but related to VS Code.
There are other tm* files I can generate here, which are used by Sublime, Atom, and TextMate, which relate to comments, but I don’t think VS Code uses them.
Take for example https://github.com/microsoft/vscode/tree/main/extensions/typescript-basics, that doesn’t have other tm* files.
There are two problems you describe:

mixed languages, every VS Code language has this problem. Try some HTML:<script>a
  b
c</script>

commenting some markdown (a -> {/* a */}) can’t be uncommented (-> // {/* a */})
This must be fixable, because for the HTML <script>asd</script>, VS Code switches to <!-- <script>asd</script> -->, so it knows it’s about HTML, even though there’s JS in there.

VS Code has three commands, to add (CMD+K+C), to remove (CMD+K+I), and to toggle (CMD+/).
But uncommenting doesn’t work correctly in MDX. Try with {/* a */} and // {/* asd */}, CMD+K+U. Does weird things

Found it. Comments and more work through https://github.com/mdx-js/mdx-analyzer/blob/ef42008fba129dc4d5b3aee3de63f9757bc2044d/packages/vscode-mdx/package.json#L131. Which attach to something in this grammar. Which was classified more broadly than it should’ve been!

I’m inclined to believe you here. This is not my expertise.
I didn’t even know of the commands to add or remove comments. I just always toggle.
The TypeScript language service has some functions related to commenting, but they’re not implemented. I don’t see anything related to comments in the LSP specification. TypeScript in VSCode doesn’t use a language server, so maybe they use that for smarter contexts.

language service

That too was one hunch when I learned there are different commands, that there might be something missing in our MDX language server!


algodao doce url

closes #3962
I don't know how the site was able to use a special character like ã in the url, but when testing it out with the url with the ã, I've noticed that in the webview it was using the https://algodãodoce.com site instead. So I tried it out and it worked
Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[x] Added the isNsfw = true flag in build.gradle when appropriate
[x] Have not changed source names
[ ] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[ ] Have removed web_hi_res_512.png when adding a new extension

I don't know how the site was able to use a special character like ã

FWIW, that's punycode

I don't know how the site was able to use a special character like ã

FWIW, that's punycode

I didn't knew about the existence of punycodes ngl
ty for informing me