Can't add orbit-db to yarn project

when trying to add orbit-db with yarn i get these errors:
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^6.x.x".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Which version of Node.js are you on?

i'm using v8.5.0

Is anyone able to replicate the error?
mkdir test
npm init -y
yarn add orbit-db

Got it. I don't use Yarn myself and have never come across this problem, but I believe this is the line causing it.
There's a new version of ipfs-log coming out soon (v3.0.0) which should fix this.

Meanwhile, this should work:
yarn --ignore-engines add orbit-db

@millette thanks for sharing the workaround!
Indeed 3.0 was released, meant 4.0 :) Fixed it in my comment.

This should be fixed now in v0.18.0. I'm able to run yarn add orbit-db without errors.
Closing as fixed, but if anyone still has the problem, please re-open the issue and let us know!
Thank you everyone for helping out on this one! ❤


Tensor decomposition: ED

There are several related issues about various tensor decompositions. I will create several issues, but I will write some general guidelines here.
Proposed guideline: If we provide a tensor decomposition T -> A B C, where T, A, B, C are UniTensors, then we should design the bonds and labels of A, B, C, such that one can directly compare T and cyntax.Contract([A,B,C])  without any relabelling or combing bonds.
Specific issues related to ED
Consider first the non-symmetric UniTensor.

Returned V is always rank-2, i.e., all incoming bonds are combined, all outgoing bonds are combined.
Original labels are not used.

As a result,

Even for rank-2 UniTensor, one has to perform manual relabelling to perform Contract([V, E, Vdag]) and compare to T.
For higher-rank UniTensor, Contract([V, E, Vdag]) will result in a rank-2 tensor and cannot be compared to T.

How to get eigenvectors

For rank-2 UniTensor, returned V is rank-2, and one can use V[:, i] to get the i-th eigenvector.
For higher rank UniTensor, if you want the i-th eigenvector in the original basis, you have to reshape V[:, i] by your self.
For symmetric UniTensor, since slicing is not available, I don't know how to easily obtain i-th eivenvector even for rank-2 UniTensor.

How to check is is a square matrix (I propose we have some more strict rule here)

For rank-2 UniTensor this is trivial.
For higher rank UniTensor

Do we just check the combined dimension?
Or we need to require that number of in-bond = number of out-bond, and the sequence and dimension matches? Meaning the in and out are the same linear space and use the same basis.

Following two code examples will run in current release, but I think maybe we should not allow this, because the in and out space are permuated somehow.
import cytnx
bond1 = cytnx.Bond(cytnx.BD_IN, [cytnx.Qs(1)>>2, cytnx.Qs(-1)>>2],[cytnx.Symmetry.U1()])
bond3 = cytnx.Bond(cytnx.BD_OUT, [cytnx.Qs(-1)>>2, cytnx.Qs(1)>>2], [cytnx.Symmetry.U1()])
uTsym = cytnx.UniTensor([bond1, bond3]).relabels(["a","b"]).set_name("uTsym")
uTsym.print_diagram()
cytnx.random.uniform_(uTsym, low=-1., high=1.)
print(uTsym)
eigvals, V = cytnx.linalg.Eigh(uTsym)
print(eigvals)
print(V)

import cytnx
bond1 = cytnx.Bond(cytnx.BD_IN, [cytnx.Qs(1)>>1, cytnx.Qs(-1)>>1],[cytnx.Symmetry.U1()])
bond2 = cytnx.Bond(cytnx.BD_IN, [cytnx.Qs(-1)>>1, cytnx.Qs(1)>>1],[cytnx.Symmetry.U1()])
bond3 = cytnx.Bond(cytnx.BD_OUT, [cytnx.Qs(-1)>>1, cytnx.Qs(1)>>1], [cytnx.Symmetry.U1()])
bond4 = cytnx.Bond(cytnx.BD_OUT, [cytnx.Qs(1)>>1, cytnx.Qs(-1)>>1], [cytnx.Symmetry.U1()])
uTsym = cytnx.UniTensor([bond1, bond2, bond3, bond4]).relabels(["a","b","c","d"]).set_name("uTsym")
uTsym.print_diagram()
cytnx.random.uniform_(uTsym, low=-1., high=1.)
print(uTsym)
eigvals, V = cytnx.linalg.Eigh(uTsym)
V.print_diagram()
print(eigvals)
# print(V)

Also, I think Lanczos will return higher-rank UniTensor. And when you define the LinOp, I think you basically need to match the in and out vector space.


Add Rails 7.1 Support

Adds Rails 7.1 to test matrix
Address expected String issue (https://github.com/zombocom/maildown/pull/71).

Sorry. I opened the PR in the wrong repo。


Issue with shapely.ops.transform and longitudes that equal 180

I'm running into an issue where transforming a geometry with a longitude value of 180.0 throws a TypeError in the shapely.speedups._speedups.geos_linearring_from_py() function.
Expected behaviour and actual behaviour.
I'd expect the geometry to be transformed.
Steps to reproduce the problem.
from shapely.geometry import Polygon
from shapely.ops import transform

def shift_initial(x, y, z=None):
    if x < 0:
        new_x = x + 180.0
    else:
        new_x = x - 180.0
    return tuple(filter(None, [new_x, y, z]))

test_geom = Polygon([(179.5, 75.5), (180.0, 76.5), (180.5, 77.0), (181.0, 76.0), (179.8, 75.5)])

transform(shift_initial, test_geom)

which throws an IndexError:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/shapely/ops.py", line 251, in transform
    shell = type(geom.exterior)(
  File "/usr/local/lib/python3.8/site-packages/shapely/geometry/polygon.py", line 55, in __init__
    self._set_coords(coordinates)
  File "/usr/local/lib/python3.8/site-packages/shapely/geometry/polygon.py", line 70, in _set_coords
    ret = geos_linearring_from_py(coordinates)
  File "shapely/speedups/_speedups.pyx", line 369, in shapely.speedups._speedups.geos_linearring_from_py
IndexError: tuple index out of range

If you run this without geos installed, that code works. Also, modifying the coordinate pair from (180.0, 76.5) to<PHONE_NUMBER>000001, 76.5) is sufficient enough of a change in longitude to make this work (in envs with geos installed).
Operating system
Tested on Windows 10 (with shapely installed via conda) and Docker's python:3.8 container (with shapely installed via pip).
Shapely version and provenance
1.7.1 (pip or conda)

I get the same error you get. I think it's because filter(None, my_list) will filter anything that evaluates to false out of the list. For example:
list(filter(None, [1, False, 2, 0.0, 3, '', 4]))
# [1, 2, 3, 4]

In your example, an input of 180.0 evaluates to 0.0 which evaluates to false and is filtered out. The tuple returned from the function only had one element. Two were assumed and it raised an IndexError. You can get the results your looking for without changing the value of 180 by passing a more explicit function to the filter:
from shapely.geometry import Polygon
from shapely.ops import transform

def shift_initial(x, y, z=None):
    if x < 0:
        new_x = x + 180.0
    else:
        new_x = x - 180.0
    return tuple(filter(lambda a: a is not None, [new_x, y, z]))

test_geom = Polygon([(179.5, 75.5), (180.0, 76.5), (180.5, 77.0), (181.0, 76.0), (179.8, 75.5)])

print(transform(shift_initial, test_geom))
# POLYGON ((-0.5 75.5, 0 76.5, 0.5 77, 1 76, -0.1999999999999886 75.5, -0.5 75.5))

Before reading your issue, I didn't even know that you could just pass None to filter like that. Very interesting. It appears that we have it for the identity example of transform in the docs. Maybe we should be more explicit there as well as to not create more gotchas for anyone who expands on it.


Not enough information to paginate

CoinGecko API responds with HTTP-header rel="next"  per-page: 100  total: 159  or rel="last", <https://api.coingecko.com/api/v3/coins/tether/tickers?exchange_ids=binance&page=2>
for some requests e.g https://api.coingecko.com/api/v3/coins/tether/tickers?exchange_ids=binance
I have not found any information on how the library works with these headers, but they are really needed for correct pagination.

Thanks for the report.  Response headers are not accessible as this library only returns response bodies.  Since pagination information is only available in headers I'm thinking it will be required to copy the relevant information into the response model.
Since that endpoint pages every 100 items, you could attempt to load the next page anytime tickers contains that many items.  If it contains less than 100 items there are no additional pages to load, loading the next page if there are no more items simply results in an empty tickers list.

In 0.1.7 paged responses, including CoinTickerById, implement Page:
interface Page {
    val total: Int
    val perPage: Int
    val nextPage: Int?
    val previousPage: Int?
}


add support for verifying the response header is absent

Is it possible to support None for a non existence header? Passing empty string will not work since the None != Some("").
I added the compression middleware and wanted to do a sanity test.
#[test]
fn should_compress_html() {
    let handler = app();
    assert_headers!(
        get("/")
            .with_request_header(KnownHeaderName::AcceptEncoding, "gzip, deflate, br")
            .on(&handler),
        "content-encoding" => "br"
    );

    assert_headers!(
        get("/")
            .with_request_header(KnownHeaderName::AcceptEncoding, "gzip")
            .on(&handler),
        "content-encoding" => "gzip"
    );

    assert_headers!(
        get("/")
            .with_request_header(KnownHeaderName::AcceptEncoding, "")
            .on(&handler),
        "content-encoding" => None
    );

}

This is already implemented on main, will be released with the next minor revision of trillium-testing

closed with<EMAIL_ADDRESS>


[ENG-6186] add "eas open" command

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
https://linear.app/expo/issue/ENG-6186/add-eas-open-command-to-open-the-project-on-the-website
How
Adds eas open command that opens the project page in a web browser.
Test Plan
I tested 3 scenarios:

Already existing project.
Freshly generated project (create-expo-app).
Outside project directory.

Maybe project:website or project:open would be a better fit?
With open on its own it's not clear what will be opened(e.g. some people might expect it to open expo go or sth like that), plus I feel like this should not be a top-level command.
cc @brentvatne

I agree with @wkozyra95. I like feature, but not the command.

my original thought was that eas project:open would be best, but then i changed the task to eas open because the idea is that it should be a quick shortcut (eas open is quick an easy to type, eas project:open is alias-worthy), and putting it at the top level makes it more discoverable. i'm not so concerned about people thinking it will do something else - the description in help will explain that. that said, we could make eas open just an alias for eas project:open, and then also add eas account:open and maybe others in the future
if people have very strong opinions about this then i'll concede, but i have a slight preference for eas open

/changelog-entry new-feature Add eas open command for opening project page in web browser.


feat: Polling rate to config flow

This will be great as i would like to see Realtime data :D

Any update on when this will be approved?

Just pushed this to my home assistant environment. Everything seems to be working. The only error I could see is once in the advanced options for setting the polling rate. The GUI specifies milliseconds but the text box actually uses seconds.

Hi, this patch is also important for my use case of triggering an automation if the button on the tapo is pressed manually.
I created a fork which can be added in HACS if anyone else also wants to try this out before this PR is merged. I just applied this PR to the latest master (IntelliJ automagically resolved the conflicts) and also included the change from the review.
I can also confirm that everything seems to be working fine!

Hello,
Where should I be able to adjust the polling rate?
I cannot seem to find it. Do I need to re-add my Tapo devices for it to show up?
Running HA with docker.
Best Regards,
David

@davidsch1992 I think you have to re-add them and tick "Advanced settings" in the add-dialog. Not sure if there is a way to edit the value (aside from maybe some internal files).

Hello,
It is working when you add new devices to specify the time interval. I tried 5 seconds, seem to work fine.
/David


Exposure of vlenb missing for vread_csr

A frequently asked question about the API is why aren't vlenb available. It should also be something exposed by the intrinsic, this issue is a placeholder of this and we should resolve it.

Is it possible to take vl and vtype into consdieration as well?

Is it possible to take vl and vtype into consdieration as well?

Can you describe the use-case you envision?
My opinion is we should maintain the current API where the vl and vtype CSRs are abstracted away from the C programmer. In the current API, the user specifies the desired semantics with the size_t vl argument and suffixes like i64m8_tumu in the intrinsics names, leaving the compiler to generate the necessary CSR accesses. Since the compiler has the freedom to reschedule code (as long as it preserves semantics), the C programmer will generally not know where, in the C program order, these accesses will be generated, so it's hard for me to envision how a programmer would use this mechanism usefully.
Also, adding more visibility into vl and vtype would take us down a similar path to C fenv, which is something we've been trying to avoid from the beginning of this project. I'm happy to go into more details.
vlenb is a different scenario because it is read-only (moreover, a "design-time constant"). So the underlying CSR read can be safely generated independently of surrounding (vector) code-gen

Now I understand. Thank you for explaining me the reason why vl and vtype are not included from the beginning. I asked because as an user, it's unclear for me why read-only CSRs are excluded from the read API and thought if we're going to add vlenb, then probably we can take vl and vtype as well (I expected those CSRs are exposed intentionlly for read and should be included in the API).
If you have time I'd like to know the story of fenv. I googled it but got only the documentation.


Unable to run your project. Ensure you have a runnable project type and ensure 'dotnet run' supports this project. A runnable project should target a runnable TFM (for instance, net5.0) and have OutputType 'Exe'. The current OutputType is 'Library'.

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/run
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

dotnet version 6.0.402
windows 11

exact error message, code sample, and anything else that is relevant.

problem solved, thank you for your response
On Tue, Nov 15, 2022 at 10:42 PM github-actions[bot] <
@.***> wrote:

This issue is stale because there has been no response to a request for
more information for 7 days.
—
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/7937#issuecomment-1315624242, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A3TNNK4GTRN3OBNOASKWFJTWIO77PANCNFSM6AAAAAAR2HNTY4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Enabled and fixed formatters unit tests

formatters.tests.ps1 file name had a type and was not being picked up by Pester.  As such, formatter bugs were not being caught.  This PR fixes the typo thus enabling the unit tests.  It also fixes the bugs in Format-Callstack that were exposed from enabling the unit tests.

#11


Add Landfast Sea Ice, Wet Days Per Year, and Beetle dataset download/documentation links to API documentation when they are ready

Incorporate these links into the API documentation similar to how we have linked to other datasets hosted from GeoNetwork (e.g., Temperature, Precipitation, Snowfall Equivalent, etc.).

Landfast ice may not be available or a while, as that endpoint is in-progress and that's OK.  (May want to split that one off from this ticket).

#469


variable output {{myVar}} should html encode per default

not sure any more if Nimja should escape html, since other stuff then html could be templated.
Does anyone has an opinion on this?

closed for now, if you think Nimja should, please reopen.

Hm, I think it'd be nice to have Nimja escape HTML. For anyone else who finds this issue, I think you can use https://nim-lang.org/docs/xmltree.html#escape%2Cstring then use Nimja's filter syntax to escape HTML, especially if it comes from an untrusted source.


Replaced backticked command substitutions with dollar brackets

See http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html#tag_23_02_06_03 for why.

Totally. Something I keep forgetting to do. :sweat_smile: Thanks for pointing it out and sending a patch!


feat(quantic)!: initial value for the originLevel3 updated to be a valid value

SFINT-5663

By doing this we are making sure that the value of the origin level 3, aka the referrer, is set to a valid value which is ideally the url of the page from where the Quantic page is initialized.

https://github.com/user-attachments/assets/a3c88f4a-21f8-4d18-9eb9-9f02c5229690

Looks fine to me, but why are we adding that? Could you shed more light on the why please? :)

this is to make sure that default value in headless is not used, cause this value is default which is considered an invalid value by the analytics schemas.
the originLevel3(referrer) needs to be a valid url or an empty string.

Just to be sure, are you supposed to set '' or specifically something like null ?
But all good otherwise

null will not work, this only accepts strings.


bump version back to dev

[ ] This patch includes any updated documentation of the proposed changes
[ ] This patch includes tests that verify the proposed changes work as expected

Codecov Report

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

@@            Coverage Diff             @@
##           master     #994      +/-   ##
==========================================
+ Coverage   77.17%   78.41%   +1.23%
==========================================
  Files          52       52
  Lines        5600     5600
==========================================
+ Hits         4322     4391      +69
+ Misses       1278     1209      -69

Impacted Files
Coverage Δ

setup.py
0% <ø> (ø)
:arrow_up:

vent/api/plugins.py
78.75% <0%> (-0.18%)
:arrow_down:

vent/api/menu_helpers.py
93.11% <0%> (+0.4%)
:arrow_up:

vent/menus/main.py
79.21% <0%> (+1.31%)
:arrow_up:

vent/api/actions.py
78.24% <0%> (+1.9%)
:arrow_up:

vent/core/network_tap/ncontrol/rest/nlist.py
100% <0%> (+33.33%)
:arrow_up:

vent/menus/ntap.py
57.6% <0%> (+33.6%)
: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 811e752...d56acd9. Read the comment docs.


Is Nix a requirement?

Cant find a way to try obelisk without Nix, what about if I'm not interested in using Nix then what should I do?
Thanks.

Obelisk is mostly an easy to use wrapper around a bunch of Nix scripts, so it's hard to imagine what this would mean. You can use all the underlying Haskell libraries, like reflex and reflex-dom on their own, though Obelisk is a very convenient way to get started.
Note that you don't need to use NixOS to install the Nix package manager and use its build system.

It's like asking to build an npm project without npm. It's not impossible thought.
 But the reality is that it's tedious (and might be very hard) to get the environment right by hand, and that's the process nix trying to simplify and stabilize.
If you really don't want to install nix on your system, perhaps you could give nix's docker image a try?
(BTW, by the design of nix, almost everything nix installed will locate at /nix directory, so it is super easy to remove every-nix-thing when you don't need them anymore)


fix: namespace the ChannelSearch's root element "inline" and "popup" classes

🎯 Goal
Avoid conflicts with integrators' custom rules attached to inline class.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Different parameters to different sources in the initialisation of the likelihood

As stated in issue #50 I have come across a problem when trying to use different sources in the likelihood. If the different sources use different parameters the likelihood initialisation would fail since it was designed to use the same sets of parameters for all the sources.
With this pull request I have changed the way we filter the parameters and appropriately give them to the sources they are used in.
To do so I had to initialise the sources with data = None a first time, read the defaults and compare the defaults with the parameters given. If the parameters given are in the defaults of one source they are given to a second final initialisation of the source they are used in, this time with the data as well.
This is probably not the most elegant way to do it, but it works and it makes the initialisation of the likelihood just a bit slower.

Added a small fix in the simulate method to work with different parameters for different sources and an if statement to avoid the simulation of ColumnSource... For now.

I've implemented the suggestion above to avoid initializing the sources twice. It moves the discovery of the function parameters to a classmethod which LogLikelihood uses to get the defaults without initializing the source.

When find_default is a classmethod the tests fail. I'm not exactly sure why but have removed the decorator for now.

Looks nice! Thanks!

I've fixed the function inspection so now find_defaults works again for class methods.

Agreed, I'll add you comment to issue #47


Update the "expected return" to staking for some chain

Description the issue
The "expected return" to staking for some chain is incorrect
To reproduce the bug
Actual: The "expected return" to staking for some chain is incorrect:

Kusama
Aleph Zero
Ternoa

Expected:

Please kindly check this value on parachain & dApp
Update the correct "expected return"

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./756-merge-build-0.6.7-1666925496096.zip
Validation passed.


Resource files not copied to publish directory once app upgraded to Windows App SDK 1.5

Describe the bug
When publishing an unpackaged app configured to publish as a single file using the latest stable version of the 1.5 App SDK, the resource files are not copied to the publish directory as they were when using Windows App SDK v1.4. This includes any assets set to copy always, the resources.pri and bootstrap dll.
This causes the published app to be unable to launch when using v.1.5.
I notice that there is a warning generated during the build and publish for a 1.5 app. Is there a new way that we're supposed to achieve this? I would really prefer to publish my app as a single exe, if possible.
PublishSingleFile is recommended only for Windows App SDK Self-Contained apps:
<PropertyGroup>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
</PropertyGroup>

Steps to reproduce the bug
PublishTest.zip
The attached test app recreates the issue. I used this command (cribbed from our devops build agent) to publish the projects, substituting in the path to each project file:
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild.exe"   "<PATH TO .csproj>"   /nologo   /nr:false   /t:Rebuild;Publish   /p:DebugSymbols=false   /p:DebugType=None   /p:DeleteExistingFiles=True   /p:RuntimeIdentifier=win-x64   /p:PublishSingleFile=True   /p:SelfContained=False   /p:NuGetInteractive=True /p:platform="x64"   /p:configuration="Release"   /p:VisualStudioVersion="17.0"
It will likely be necessary to restore the nuget packages before running this command.
Expected behavior
Expect that the resource files should be copied to the publish directory so that the app is able to run.
Screenshots
1.4 output:

1.5 output:

NuGet package version
Windows App SDK 1.5.5: 1.5.240627000
Packaging type
Unpackaged
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response

Could this be related to #4390 ?

Looking at it, it could very well be. Thanks! I'll go through the suggested steps and see if it helps in our case.

OK, so setting true on the 1.5 test project and publishing as /p:SelfContained=True makes it so that the published app is able to be launched.
Is the plan, then, that it will only be possible in future to publish as a single file if the app is self contained? Fine, if so. I just need to make a decision which way to go.

I believe it was <EnableMsixTooling>true</EnableMsixTooling> that messes with the copying of the resource file.


escape pipes in the research.splunk.com description

https://research.splunk.com/endpoint/bd5c311e-a6ea-48ae-a289-19a3398e3648/

Haag fixed this a while back.


RFC: Bounded recursion instead of well-founded recursion on Nat

Motivation
Right now, functions defined by well-founded recursion get compiled to (effectively)
fixBy {α : Sort u} {β : Sort v} [WellFoundedRelation β] (f : α → β)
  {C : α → Sort w} (F : ∀ x, (∀ y, WellFoundedRelation.rel (f y) (f x) → C y) → C x) (x : α) : C x

Internally, this function uses recursion on Acc, and is known to reduce very inefficiently in the kernel, sometimes causing odd errors #2171. We have made these functions irreducible to the meta code (https://github.com/leanprover/lean4/pull/4061) and am considering also making it irreducible to the kernel (#5192).
However, many recursive functions have a measure function that maps into Nat. These functions do not need the full power of well-founded recursion: That Nat simply indicates an upper bound on the number of recursive calls and can be implemented using the following fuel-based fixpoint combinator:
def Nat.fix (h : α → Nat) {motive : α → Sort u}  (F : (x : α) → ((y : α) → h y < h x → motive y) → motive x) : (x : α) → motive x :=
  let rec go : ∀ (fuel : Nat) (x : α), (h x < fuel) → motive x := Nat.rec
    (fun _ hfuel => (not_succ_le_zero _ hfuel).elim)
    (fun _ ih x hfuel => F x (fun y hy => ih y (Nat.lt_of_lt_of_le hy (Nat.le_of_lt_add_one hfuel))))
  fun x => go (h x + 1) x (Nat.lt_add_one _)

This is essentially drop-in, so existing features of recursive functions (equational theorems, functional induction) should work as before. But with this fuel-based implementation, kernel reduction works fine.
For example, Nat.sqrt 441 now reduces in 2m instead of 1400ms!
Proposal
So we could let WF.Fix recognize when the termination_by argument indicates a termination argument of type Nat, and then use the different combinator, and not mark the functions as irreducible.
Impact
Some functions would now behave well when reduced by the kernel. This would already help mathlib, which uses such reduction to decide primality of small numbers (see https://github.com/leanprover/lean4/issues/5192#issuecomment-2319061605 for more investigation about this function) and will become much more relevant when more proof-by-reflection happens.
The main downside of this change is that the performance cliff between “reduces nicely” and “don’t expect this to reduce” moves from between structural and wf recursion to an even harder to understand place in the spectrum. In particular, lexicographic termination orders will still behave badly.
I also cannot rule out that for some open terms, the reduction behavior may subtly change? But hopefully nobody is relying on that.
Alternatives

Do nothing
Require an explicit opt-in from the user, for less surprises.
“fix well founded recursion”, as desired by Mario, by not reducing proofs in the kernel in the first place

Implementation note
We don’t actually use the fixBy above yet, but WellFounded.fix, so that refactoring should happen first. #5233 tries to change that, but is stuck due to some technical debt in WF.Fix.
Community Feedback
(none yet)
Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

Hmm, here is an observation that I didn’t fully appreciate yet.
Well-founded recursion using WellFounded.fix does sensibly reduce – one step deep:
set_option pp.fieldNotation.generalized false
set_option pp.proofs true
set_option pp.deepTerms.threshold 8

-- recursive definition
@[semireducible] def foo : Nat → Nat
 | 0 => 0
 | n+1 => (foo n) + 1
 termination_by n => n

-- this works:
example : foo (n+1) = foo n + 1 := rfl

-- here we see why: the function unrolled once, and now only differs
-- by an `Acc` value, and proof irrelevance kicks in.

/--
info: fun n =>
  Nat.succ
    (Acc.rec (fun x₁ h ih => Nat.rec (fun x => 0) (fun n n_ih => ⋯) x₁ ih)
      ((fun y lt => Eq.ndrec (motive := fun x => ⋯ → ⋯) (fun acx ih => ⋯) rfl (fun y lt => ⋯) fun y a => ⋯)
        ((Nat.rec ⟨⋯ Nat.zero PUnit.unit, PUnit.unit⟩ (fun n n_ih => ⋯) 0).1 n)
        (foo.proof_2 ((Nat.rec ⟨⋯, PUnit.unit⟩ (fun n => ⋯) 0).1 n))))
-/
#guard_msgs in
#reduce fun n => foo (n+1)
/--
info: fun n =>
  Nat.succ (Acc.rec (fun x₁ h ih => Nat.rec (fun x => 0) (fun n n_ih => ⋯) x₁ ih) (WellFounded.apply foo.proof_1 n))
-/
#guard_msgs in
#reduce fun n => foo n + 1

-- But this does not work:
example : foo (n+1+1) = foo n + 2 := rfl

-- Because now the `Acc` term is no constructor, and reduction is stuck:

/--
info: fun n =>
  Nat.succ
    (Acc.rec (fun x₁ h ih => Nat.rec (fun x => 0) (fun n n_ih => ⋯) x₁ ih)
      ((fun y lt => Eq.ndrec (motive := fun x => ⋯ → ⋯) (fun acx ih => ⋯) rfl (fun y lt => ⋯) fun y a => ⋯)
        ((Nat.rec ⟨⋯ Nat.zero PUnit.unit, PUnit.unit⟩ (fun n n_ih => ⋯) 1).1 n)
        (foo.proof_2 ((Nat.rec ⟨⋯, PUnit.unit⟩ (fun n => ⋯) 1).1 n))))
-/
#guard_msgs in
#reduce fun n => foo (n+2)

-- This is all quite fragile: Specializing in the working first example n to m+1 breaks the
-- proof:
example : foo ((m+1)+1) = foo (m+1) + 1 := rfl

So where does the first Acc.intro constructor come from that allows one reduction? Probably from the apply WellFounded.intro here
https://github.com/leanprover/lean4/blob/e9e858a4484905a0bfe97c4f05c3924ead02eed8/src/Init/WF.lean#L175-L191
I’m not sure if this behavior of open reduction of  well-founded recursion is a badly behaving accident, or an ingenious design. It is relied on in mathlib in at least one instance, namely here:
https://github.com/leanprover-community/mathlib4/blob/74692d179beb8ffc96264f909af763339a2cf8b5/Mathlib/CategoryTheory/Filtered/Small.lean#L77-L85

While this seems quite nice, I have since learned that we actually expect the lean kernel to eventually reduce Acc.rec without looking at the proofs, obliterating the need for this. Hence closing.

In https://github.com/leanprover/lean4/pull/5624 I am exploring a variant of this that maybe helps with any WellFounded relation. I wonder even if it means that some equational lemmas can become defeq this way. Given that currently

Well-founded recursion using WellFounded.fix does sensibly reduce even for open terms – one step deep:

then this would maybe make it reduce sensibly for finite steps deep. (There are probably downsides, though).


do not always load bismillah

Deployed to: http://staging.quran.com:32973

Deployed to: http://staging.quran.com:32974


tools/client: move to CoCo AA, use single threaded runtime

CI is failing because of https://github.com/confidential-containers/kbs/issues/102

@mythi Please rebase with the latest code. Ideally it could help pass the CI.


Add scores of particular test

please assign this issue to me @avinashkranjan

Hello @avinashkranjan. I'm a GSSoCC'23 contributor. I would like to add the scores of particular test. Could you please assign this task to me.

Go Ahead @Abhinavcode13

I would like to add the scores of particular test. May you please assign this task to me.

Any Update on this @Apreksha, or Should I assign this to @ETHER-BHASHI

Hi @avinashkranjan, this issue hasn't been assigned to me.


update bloop to 1.3.2

Motivation for this change
A new release of bloop is out.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Hey nice to see people using bloop on nixos ! I've already opened a PR (#62812), if you want to take a look. Yours is good too.

aham! I didn't see your's, let's close mine, I think? I'll take a look at yours & test it!


New command: spo site chrome set which allows you to set the chrome options from the site

Usage
At the moment only the site can be changed. In order to change the chrome settings (header layout, mega menu, ...) this command is needed.
Description
This command allows you to set the chrome header and footer.
Options

Option
Description

-o, --option <option>
option

-o, --output [output]
Output type. json,text. Default text

--verbose
Runs command with verbose logging

--debug
Runs command with debug logging

info: I will fill this in later when I got all the required values.

Additional Information
You can assign me to the task.

Great suggestion! Are there so many specific settings that we need a separate command for it rather than integrating it inside spo site set?

Think it is better to separate it, as these are all the settings for the SetChromeOptions API:
headerLayout?: HeaderLayout;
headerEmphasis?: Emphasis;
megaMenuEnabled?: boolean;
hideTitleInHeader?: boolean;
logoAlignment?: Alignment;
footerEnabled?: boolean;
footerLayout?: FooterLayout;
footerEmphasis?: Emphasis;

You're right 👍


Error during install: undefined: timeutil.TimeRFC3339Zero

Trying to install the latest lib for ringcentral API v1 with:

go get github.com/grokify/go-ringcentral/office/v1/client <- works
go get github.com/grokify/go-ringcentral/office/v1/util <- returns the error below

# github.com/grokify/oauth2more
../github.com/grokify/oauth2more/basicauth.go:43:16: undefined: timeutil.TimeRFC3339Zero
../github.com/grokify/oauth2more/oauth2more.go:242:16: undefined: timeutil.TimeRFC3339Zero

I installed timeutil with go get github.com/grokify/gotilla/time/timeutil but no difference.

go get github.com/grokify/oauth2more yields the same errors:
# github.com/grokify/oauth2more
../github.com/grokify/oauth2more/basicauth.go:43:16: undefined: timeutil.TimeRFC3339Zero
../github.com/grokify/oauth2more/oauth2more.go:242:16: undefined: timeutil.TimeRFC3339Zero

@julbr Thanks for reporting this.
This should be resolved now with the introduction of dependency management with Go Modules.
As part of the move to Go Modules, this repo and package has been renamed to github.com/grokify/go-ringcentral-client. Please use this as go-ringcentral-client with version 0.1.0 or later

@julbr Thanks for reporting this.
This should be resolved now with the introduction of dependency management with Go Modules.
As part of the move to Go Modules, this repo and package has been renamed to github.com/grokify/go-ringcentral-client. Please use this as go-ringcentral-client with version 0.1.0 or later


RPi5: wlan0 doesn't exist when Boot Order is USB->SDCARD

Describe the bug
Using latest bookworm image, via the RPi Imager, the wlan0 interface only exists when Boot Order is SDCARD->USB.
When changing this to USB->SDCARD, it doesn't appear in "ifconfig", nor "rfkill list" and WLAN Locale is greyed out.
Changing back to SDCARD->USB restores the wlan0 interface.
There is no sdcard in slot.
Steps to reproduce the behaviour

Burn image to SSD drive via RPi official imager.
wlan0 exists, if Boot Order is SDCARD->USB
Change Boot Order to USB->SDCARD, wlan0 doesn't exist after boot.
Changing it back to SDCARD->USB, wlan0 exists after boot.

Device(s)
Other
Compute Module IO board.
No response
RPIBOOT logs
No response
Kernel logs
No response
Device UART logs
No response

Closing, as this perhaps should be under the "firmware" repository.


Please publish current 2.9.0 version to npmjs.com

Hello!
The current published npm version of this package is 2.8.5 which is 2 years old with a known warning related to componentWillReceiveProps.
Please update npm to the current package version 2.9.0.

Hey man, there is already an issue about it: https://github.com/mastermoo/react-native-action-button/issues/347. The warnings is annoying, sadly only the maintainers can update on npm packages

Hey man, there is already an issue about it: https://github.com/mastermoo/react-native-action-button/issues/347. The warnings is annoying, sadly only the maintainers can update on npm packages

Hey guys! I publisher the updated version, which also includes "useNativeDriver" warning fix, to npmjs for easier installation. Feel free to try it and create issues there, maybe we will be able to keep it maintained by community, in absence of creator
https://www.npmjs.com/package/react-native-action-button-warnings-fixed


Corrupt calendar entries after changing sprint dates (cannot remove/delete)

It appears that we have corrupt calendar entries now after changing sprint dates.
As you can see from the attached, we have a corrupt entry for "Colin" in Sprint 8 (was correct at the time entered), but since we changed sprint dates, the entry does not change to reflect that it is now in Sprint 7.
We've had to add additional entries into Sprint 7 to gain accuracy, and have uninstalled and re-installed the marketplace calendar extension multiple times, but the problem still exists.
Calendar Extension view:

As you can see, the correct days are in Sprint 7 (now added via Sprint capacity tab), and Sprint 8 shows 0 days off (which inthe Calendar view shows as Sprint 8):
Sprint Capacity view:

We're closing old issues so we can get back to actively maintaining the extension. Feel free to reopen if this is still an issue for you.


Fixed phpdoc typos in the HandlerInterface

Closing as it conflicts with other fixes that were applied. If there are still issues in master please send a PR, but for 1.x docblock fixes won't be accepted as they conflict too much.

Closing as it conflicts with other fixes that were applied. If there are still issues in master please send a PR, but for 1.x docblock fixes won't be accepted as they conflict too much.


Obsolete HasAlternateKey

It's never significantly useful to call it with its current semantics, and it often results in a loss of functionality when used incorrectly. See #8645

Kay. So. Found a use for this which may be a reason for keeping it. It provides a place for other fluent API to hang off that can then be used for things like setting the constraint name, making it clustered, etc. Without this API there is no way to set these things for non-primary keys.


Tooltip

Looks like Tooltips on tab items have no effect. Is this supported?
Also context menu is not working either, but that's less of a concern.
BTW, finding these as I'm moving over existing tabs from MahApps. Other than these (so far anyway) everything just worked as is without any changes which is pretty awesome.

Are you setting them directly on a TabItem?

Yes.

Any word on this? This is the one thing that would be really useful in Markdown Monster: Be able to see the underlying file name when hovering over a tab (a la Sublime).

I'll try and have a look over this week.

Thanks James  - I wasn't trying to be pushy. Appreciate all the work you're doing with this excellent library. Making me look good :-)
Aloha.

No problem.  And thanks 😃.  Big football competition in Europe at the moment...bit distracting 😃

Awesome! Works great!


fix MoreComments NameError

fixes NameError passed from
                        if isinstance(top_level_comment, MoreComments):

@emptycrown np! can you merge this?


awsx is listed as a native provider in the registry but should be a component

awsx is listed as a native provider in the registry but should be a component

@stack72 heres an issue for ya


Cleanup

Just a bunch of cleanup.

Whoops, sorry supposed to be on a fork I'm maintaining.  Please ignore.


fix: styling

:tada: This PR is included in version 2.3.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Query execution failed

hello
my dbeaver have a problem nometter what SQL i excute there is aways a error :
Query execution failed
原因：
SQL 错误 [1105] [HY000]: line 1 column 53 near " SQL_SELECT_LIMIT=74" (total length 73)
can you give me some advice?

I test the 4.1.2  works normal, but the 5.1.4 always have the error

What is you database?
Please post the problem query  text.

What SQL are you executing? Just a SELECT? OR all queries are failing?
Maybe you should disable "Use SQL to limit fetch size" feature:

@serge-rider  all queries are failing. I have try to disable the feature but there still have the error..

I can't reproduce this (ss I don't have access to TiDB). Maybe the problem is in some recent changes in DBeaver or in the recent TiDB driver.
Could you try some earlier version of DBeaver (https://dbeaver.io/files/) ?

If some older version will work ok please tell what version exactly. At least we'll know when it broke.

ok

Cannot reproduce on 6.0.2


Add Ethernet Support

can we collaborate to start integrating some peripheral to the board? why not eth for example?
Thanks @jenschr

@sdrabb Hi. This board isn't really meant to be used as is. It's more like a starting point for others. Adding Ethernet is not hard though. Just follow the schematic and add a similar ETH plug as PJRC is using? https://www.pjrc.com/store/j1b1211ccd.pdf Then you lay that out in a board that is better suited for your purpose?

great, thanks!


[AspireDeployment] Project Build's errors occurring on JSON RPC invocation should be better reported back to client

When a JSON RPC request is done to the azd vs-server, and the project needs to be built, any build error is reported as follow:
`StreamJsonRpc.RemoteInvocationException: failed to load app host manifest: failed to load app host manifest: generating app host manifest: dotnet run --publisher manifest on project 'C:\Users\anvillan\source\repos\AspireApp2\AspireApp2.AppHost\AspireApp2.AppHost.csproj' failed: exit code: 1, stdout: Building...
C:\Users\anvillan\source\repos\AspireApp2\AspireApp2.ServiceDefaults\AspireApp2.ServiceDefaults.csproj : error NU1102: Unable to find package Microsoft.Extensions.ServiceDiscovery with version (>= 8.0.0-preview.3.24105.21)
...
, stderr:
The build failed. Fix the build errors and run again.
at StreamJsonRpc.JsonRpc.d__1541.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Threading.Tasks.ValueTask1.get_Result()
at Microsoft.VisualStudio.ConnectedServices.Azure.AzDev.AzdAspireService.<>c__DisplayClass4_0.<b__0>d.MoveNext() in D:\WebTools\src\ConnectedServices\ConnectedServices.Package2\Azure\AzDev\Impl\AzdAspireService.cs:line 37
--- End of stack trace from previous location where exception was thrown ---
...`
Certainly, a user looking at the VS IDE AZD Cli output panel may spot the line stating a Build error occurred, but as the error is treated as any other failure (in the STDERR) it might also be overlooked.
Is there a way to better communicate a build error as such so that VS IDE can take it and show it in a more prominently way?

Tirage update: Not a must-fix item for VS 17.10 Preview 2. Moving to next milestone.
@anvillan @weikanglim @abpiskunov @ellismg

@anvillan
Happy to provide structured errors and error codes once we have ideas of how we'd want to present this in VS.
As a short-term improvement while we're still writing to the output terminal, I wonder for cases of RemoteInvocationException*, on the VS client, could inspect the error.message contained within the exception and only print out error.message to the terminal.
This would end up working nicely. For example, the error.message would avoid the client callstack, and more easily highlight "not logged in".

*Footnote: Technically, RemoteInvocationException could include other protocol / client errors, but just logging the message would be clear enough for debugging.

@weikanglim
As we discussed, let's ...

Use the IObserver<ProgressMessage> to send back a structured error message when any of the exposed endpoints generate such error; the proposal of taking the error.message sounds good for starters. Let's begin with the most visible invocation,EnvironmentService.DeployAsync(), though we should do it for all our API endpoints.

In the azd.exe process execution nothing should change from our current implementation: we should keep sending all the STDOUT/STDERR as we currently do.

CC @abpiskunov

@anvillan
We can send the RPC call failure error message in EnvironmentService.DeployAsync() using Observer notifications immediately to unblock. In VS, this ends up sending the error message to the "Build" output, while "Azure Developer CLI" output would have the same message from the RPC call failure. This works nicely.
For operations other than EnvironmentService.DeployAsync(), if we're not separating the "observer output" from the "rpc log" output, this would end up printing the same message twice. If we're thinking there's always two different output terminals, this problem goes away. If not, we may need to make some client changes here.

@weikanglim
Understood. Let's start only with EnvironmentService.DeployAsync() as you correctly point out, it is the only one where we have a separate output panel.
I'd say we keep in mind that if we have the need to do the same operation(s), the code ready to do so.

@anvillan I started thinking about this more over the weekend as I tried implementing this on the server side, and I think there are some issues we want to avoid:

Constant churn between server-side and client-side handling (i.e. doing it for just one isn't going to work)
Protocol errors between server and client would still be unreported (note that IObserver only works when the client<->server RPC handshake succeeds, and the server is sending back data in the nominal flow)

For those reasons, I started thinking what it'd look like if we just reported errors on the client-side. I submitted what an alternative proposal would look like in our internal Webtools repo. I hope we can discuss this, because I do prefer this approach for the reasons listed above. We can still use IObserver in the future to send back info/warning/error message streams, but we also want to handle RPC call failures in a nominal way so that the user is always given the right error context info when things do go wrong.

@weikanglim
I replied on your VS - WebTools PR.
Have a couple of questions but this approach looks OK.

We landed the change in VS - WebTools. I'm closing this issue.


Support role external flag

See SURE-8133 , particularly my comment on 2024-04-18.

Pointing for Richard but if he can't tackle this, we can repoint.


Minor style issues

[ ] decrease that gap at the bottom under footer
[ ] add top margin for h4-6
[ ] make logo on home page smaller; align it with text

[ ] Display of links is not consistent

A few display as underlined all the time.  For most you have to hover to see the underline.  Personally, I like to know what's a link without having to hover, but in any case we should be consistent.

[ ] Display of links is not consistent

A few display as underlined all the time.  For most you have to hover to see the underline.  Personally, I like to know what's a link without having to hover, but in any case we should be consistent.


AppxBundleManifest.xml not in root

When following the quick launch instructions I'm getting this error.  I can't find a copy of the file anywhere.
DEP0700: Registration of the app failed. [0x80073CF9] Rejecting a request to register from AppxBundleManifest.xml because the manifest is not in the package root.	Contoso.App

I also encountered the same problem, how to solve it?

Appending -DisableDevelopmentMode at the end works for me.

Try to change the property of Package.appxmanifest from Don't coup to Copy if newer

How to change this property
I mean how to edit in vscode, I am newbie Please guide me

@sagaroshiv  I already don't remember what we were talking about but from my comment you should right-mouse click on the file then select properties in context menu. One of the properties will have those options.

For me this was caused by another user having the app installed. So the fix was (for my app named 'foo', notice the '-all'):
get-appxpackage -all *foo* | remove-appxpackage -all

I’ll describe in more detail the answer that helped me (the same as MikeHillberg)

Get the app "Name" via
a) Get-AppxPackage -AllUsers | Select Name in PowerShell
b) In VisualStudio open requested project and open Package.appxmanifest and see Package->Identity->Name
Get-AppxPackage -AllUsers MyProjectName | Remove-AppxPackage -AllUsers


filepath.Abs returns different values when passed "."

What version of Go are you using (go version)?

$ go version go version go1.14.2 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/hassen/.cache/go-build"
GOENV="/home/hassen/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/hassen/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/hassen/goroot"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/hassen/goroot/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build324432177=/tmp/go-build -gno-record-gcc-switches"

What did you do?
calling filepath.Abs returns different values based on whether the program is ran in terminal or in CI/CD system because it sometimes uses Getenv("PWD") OR does syscall.Getwd
https://play.golang.org/p/lvU1dF0dFcE

What did you expect to see?
I expect the filepath.Abs to return the same value and be consistent and either always call syscall.Getwd or always use PWD
What did you see instead?
Different values. View https://play.golang.org/p/lvU1dF0dFcE example

The way it works is that if the environment variable PWD is set, and it names the same directory as the current directory, then we use the value in PWD.  This generally gives a better result when using a Unix shell.  If PWD is not set, then we call the getcwd system call.  If you need some sort of canonicalized path that is independent of PWD, use filepath.EvalSymlinks.
Closing because this is working as intended.

I already worked around it by evaluating the symlinks but I wouldn't call this "working as intended."
having the api rely on both PWD and getcwd is wrong.
os.Chdir doesn't change PWD and vice-versa. Which is fine.
The API should pick one lookup method though.
Instead we had a program that passes the test suite but failed in production because the golang API used the PWD environment variable in production and getcwd in the test suite.

I don't agree that there is an obvious right answer here.  The approach that Go takes is the one that most Unix shells take, and it produces appropriate results when a user uses cd to get to a directory and then runs a Go program that uses that directory.


[BUG] Adding LED Stripe

[07/03/2022, 23:48:57] [homebridge-magichome-dynamic-platform] Unknown device version number: '8'... unable to create accessory.
[07/03/2022, 23:48:57] [homebridge-magichome-dynamic-platform] Please create an issue at https://github.com/Zacknetic/HomebridgeMagicHome-DynamicPlatform/issues and upload your homebridge.log
[07/03/2022, 23:48:57] [homebridge-magichome-dynamic-platform] Warning! Discovered device did not respond to query. This is usually due to an unresponsive device.
Please restart homebridge. If the problem persists, ensure the device works in the "Magichome Pro" app.
File an issue on github with an uploaded log. {
ipAddress: '<IP_ADDRESS>',
uniqueId: 'F4CFA23DE981',
modelNumber: 'AK001-ZJ2104'
}

I had exactly the same error message. In one of the other issues I did read it could be connected to node.js still being on version 10.x, so I upgraded to version 16 today. Now it seems to recognize the LED controller first, but then the error message pops up again. Please help.
Short Log:
[21.3.2022, 19:16:37] [homebridge-magichome-dynamic-platform] Attempting to assign controller to new device: UniqueId: '10521CDCA725'
IpAddress '<IP_ADDRESS>'
Model: 'AK001-ZJ2104'
Hardware Version: '8'
Device Type: '1'
[21.3.2022, 19:16:37] [homebridge-magichome-dynamic-platform] Unknown device version number: '8'... unable to create accessory.
[21.3.2022, 19:16:37] [homebridge-magichome-dynamic-platform] Please create an issue at https://github.com/Zacknetic/HomebridgeMagicHome-DynamicPlatform/issues and upload your homebridge.log
[21.3.2022, 19:16:37] [homebridge-magichome-dynamic-platform] Warning! Discovered device did not respond to query. This is usually due to an unresponsive device.
Please restart homebridge. If the problem persists, ensure the device works in the "Magichome Pro" app.
File an issue on github with an uploaded log. {
ipAddress: '<IP_ADDRESS>',
uniqueId: '10521CDCA725',
modelNumber: 'AK001-ZJ2104'
I have two of these RGB LED controllers: https://www.ebay.de/itm/383880092525?hash=item5961095b6d:g:DMwAAOSwTcdf6v9e
homebridge.log.txt


Port forwarding help

Currently have the tunnel working and can get to the internet. But im trying to open ports to allow my plex server to work.
At my house im behind a cgnat. But at our vacation house we have fiber and can open ports. I have the pi setup at the vacation house with the pivpn running.
Can anyone help me?

Currently have the tunnel working and can get to the internet. But im trying to open ports to allow my plex server to work.

If your Plex server is at your vacation house you should be able to reach it using its internal IP while connected via PiVPN. Anyways, it’s not clear what issue you have, and you have not filled the template, so I will close. Reopen after you have provided the details.

Currently have the tunnel working and can get to the internet. But im trying to open ports to allow my plex server to work.

If your Plex server is at your vacation house you should be able to reach it using its internal IP while connected via PiVPN. Anyways, it’s not clear what issue you have, and you have not filled the template, so I will close. Reopen after you have provided the details.

Not sure about a template?
The plex server is at my main house. The pivpn server is at the vacation house. Im trying to tunnel thru my cgnat and get to my plex from the vacation house.

Not sure about a template?

When you open an issue, you have some text with some fields that you are supposed to fill:

PiVPN Issue Template
PLEASE READ THIS TEMPLATE CAREFULLY BEFORE OPENING AN ISSUE!
Any Issue opened that doesn't follow this template will be removed.

Continues...

The plex server is at my main house. The pivpn server is at the vacation house. Im trying to tunnel thru my cgnat and get to my plex from the vacation house.

Well you can do it but it's not trivial. You could setup a second raspberry at the main house that connects to PiVPN at the vacation house, so you have a point-to-point tunnel as a base point. Then you need to configure both raspberry pis to forward traffic between the two LANs and possibly also setup some routes on both router.
Anyway that's a networking problem no related to PiVPN.

The networking is what im trying to figure out i guess. Im using the windows openvpn gui to connect to the pivpn. But how do i open ports in the tunnel to get back to the plex?

As I said, it's just not a matter of opening ports, when you connect to PiVPN via OpenVPN, you reach your vacation LAN, but you want to reach the main house LAN, and that's a different feat.

Gotcha!
Is there somewhere i can learn how to reach it or help me?

Networking subreddits on Reddit, OpenVPN forum.


Develop a tool to validate taxonomy against the spec

What: A go tool to validate taxonomy YAMLs against https://github.com/IBM/the-mesh-for-data/blob/master/config/taxonomy/HOWTO_SPEC.md

Blocked by https://github.com/getkin/kin-openapi/issues/344

Done in #637


Load schemas from local variable by getting the raw $ref

What version of Ajv you are you using?
6.7.0
What problem do you want to solve?
I would like to get the initial value of any $ref which is not found (MissingRef). Thus, I would be able to load additional referenced schemas from a local variable / map. Currently, the loadSchema() method gets called with either a resolved URI or the $ref itself. Therefore, I would have to apply some conditional logic to infer the actual $ref which was missing in the first place, by parsing the URI and so on. I would like to be able to get the initial $ref directly in the loadSchema() method so that I can check whether the initial $ref is already available in the local record of schemas and load it from there or otherwise load it from any upstream host.
What do you think is the correct solution to problem?
I think one of the solutions is to pass a second parameter, which holds the initial missing $ref, to the loadSchema() method.

I can't think of any other solution which makes this possible in the package itself.
I also tried the ajv.addSchema() to add any local schemas, but then the loadSchema() is still getting called.

Will you be able to implement it?
Yes, the MissingRefError needs to have another property. Something like initialRef. Eventually, the loadSchema() method has to be called with two parameters - the resolved URI and the initialRef. This could easily be done inside loadMissingSchema() of async.js

I think you may be mixing some concepts. loadSchema is always passed schema ID. $ref is not a schema ID, in general case, it is a relative URI that should be resolved using current schema ID as the base URI. Therefore the SAME schema can be referenced using full URI and relative URI - and loadSchema should provide the same schema object.
Whether this schema is available in memory or it should be downloaded from any remote resource or from the database or from a local file is completely irrelevant here - the spec explicitly says that schema ID being URI does NOT mean that this schema is available at this URI.
The role of loadSchema function is to provide the mapping from URI to the schema objects - where these objects are stored is an application concern, not something that Ajv should be aware of.

Thanks for the fast answer. I get a better idea for the loadSchema() method now. Nevertheless, I am asking for a way to get the value of any missing $ref. This is currently impossible if I don't apply some reverse engineering on the uri passed inside loadSchema(). Maybe I did not communicate well enough in the first place. I don't want to make Ajv aware of where the schema comes from. I just need a way to get the value of a missing $ref so that I can decide in my application where I get the actual schema object from.
So, I believe it would be valuable for Ajv itself to have a way to provide a not-found $ref or all not-found $refs

For example, you have a schema:
{
  "$id": "https://example.com",
  "properties": {
    "a": {"$ref": "/schema.json"},
    "b": {"$ref": "https://example.com/schema.json"},
  }
}

Both refs mean exactly the same schema with the same URI and you should not make any logic depend on whether you have full or relative URI in $ref. So in both cases loadSchema would be called with "https://example.com/schema.json".
Refs should not be interpreted as is, outside of the context of the schema where they are used, so I think it can only cause mistakes if they are passed without being resolved with the base URI (schema $id).

Closing it, as $ref's should not be interpreted outside of the schema where they are used.


feat: new hook useSyncedRef

What new hook does?
Like useRef, but it returns immutable ref that contains actual value.
I'm not sure about hook naming, i dont really like the useSyncedRef, but it is the best i came up with.
Checklist

[x] Have you read contribution guideline?
[x] Does the code have comments in hard-to-understand areas?
[ ] Is there an existing issue for this PR?

link issue here

[x] Have the files been linted and formatted?
[x] Have the docs been updated?
[x] Have the tests been added to cover new hook?
[x] Have you run the tests locally to confirm they pass?

What's an example use case for this hook? It doesn't seem like the example story illustrates one very well.

I'm unable to imagine different =(

Do you have an example where this hook would be useful in general? I think I need help "getting" this one.

It is mostly required for other hooks, to provide stable API, 4ex:
https://github.com/react-hookz/web/blob/master/src/useMediatedState.ts#L21
Will be replaced with this hook.


Enhancement to Clone Request

hey, love Bruno 🐶
one small UX enhancement: I believe that after cloning a request, the new request should be selected.
Currently, the cloned request is selected, I missed that a few times and edited the original request when I just wanted to test a few things with a clone.

Issue resolved! PR #1930 merged, so closing this.


Support different output formats

I'm using license-maven-plugin to only check the sources when a new PR is submitted. I didn't find a way to get the messages in the machine-readable form (XML/JSON). It would be great to have such feature because it could be used in automatization and integration with external plugins/bots.

Hi @php-coder,
The plugin uses the maven infrastructure to output and log so there are some formatting out of our control.
Though, we could eventually "bufferize" the logs and at the end of the execution, output the result in some format (json or xml) in a target directory.
This would be a kind of report, that could be used for some reporting tools.

Implemented in PR https://github.com/mathieucarbou/license-maven-plugin/pull/227.
See report examples when running ReportTest
See updated plugin doc: https://mycila.carbou.me/license-maven-plugin/reports/4.2-SNAPSHOT/license-maven-plugin/plugin-info.html


Add support for doc command stdout mode

Add support for doc command to run in stdout mode
with EE enabled/disabled
Refactor doc command in interactvie mode to use runner
API's to fetch the plugin docs

recheck


How to post json?

My service is not supporting parameters, just recieve json entity. So I wanna to post json entity to server,  how can I do that?
thanks.

Somehow I am unable to do a post with JSON, this is what I did:
response = Unirest.post(
  URL,
  headers: { "Accept" => "application/json" },
  parameters: {keyInJSON: 'valueReceived'}.to_json
)

p response

Am I missing something? The service is throwing error saying missing key, but I am proving everything right. I checked the data with a command line & it works!

I'm also having this problem:
def publish
  Unirest.post ENV.fetch('ENDPOINT'),
                       headers: headers,
                       parameters: parameters
end

private

def parameters
  {
    type: @@event_type,
    data: @data.deep_transform_keys! { |key| key.to_s.camelize(:lower) }
  }.to_json
end

def headers
  headers = {
    'Accept' => 'application/json',
    'Content-Type' => 'application/json' # tried with and without this
  }
  headers['Authorization'] = bearer_token if @user_id.present?
  headers
end


Consumer timeout parameter not available on the CLI

We are currently ignoring the --consumer-timeout parameter. We need to map this to the session_timeout on the OpenDXL SDK

[AS DESIGNEd] This is an improvement not an issue as by default kafka uses common settings if not speciefied.


load_checkpoint nuances

I have a few questions about model checkpointing: https://deepspeed.readthedocs.io/en/latest/model-checkpointing.html
I'm trying to figure out how to best integrate deepspeed into that area.

If we already have code that does checkpointing of the model/optim/scheduler - so in a simplified way we have the basic:

torch.save(self.optimizer.state_dict(),  d)
torch.save(self.lr_scheduler.state_dict(), d)
torch.save(self.model.state_dict, d)

where self.model.state_dict is the "client" model. And then the same for loading.
Now when I call deepspeed.DeepSpeedEngine.save_checkpoint I get 4 things saved engine/model/optim/scheduler
When it comes to loading it back, I do deepspeed.DeepSpeedEngine.load_checkpoint - do I need to somehow update our trainer self.scheduler, self.optimizer from that loaded object? I don't see an API to do that?
Or would it be simpler to not delegate to DS any savings other than its own engine and save model/optim/scheduler and restore those separately (since we are doing it anyway if the trainer is not running under DeepSpeed).
To exemplify with code:
We start with:
model, optimizer, _, lr_scheduler = deepspeed.initialize(...)
self.deepspeed = model # DeepSpeedEngine object
self.model = model.module
self.optimizer = optimizer
self.lr_scheduler = lr_scheduler

So the new saving code would be:
torch.save(self.optimizer.state_dict(),  d)
torch.save(self.lr_scheduler.state_dict(), d)
torch.save(self.model.state_dict, d)
if self.deepspeed:
    self.deepspeed.save_checkpoint(d)

and then on load again leave most of our code intact and just update the engine:
self.optimizer.load_state_dict(torch.load(os.path.join(model_path, "optimizer.pt")...
self.lr_scheduler.load_state_dict(torch.load(os.path.join(model_path, "scheduler.pt")...
self.model = self.model.from_pretrained(model_path)
if self.deepspeed:
    self.deepspeed.load_checkpoint(model_path, load_optimizer_states=False, load_lr_scheduler_states=False)

Am I wasting resources saving/loading the separate components, since deepspeed will have to do it anyway? I'm asking since our code is spread around and we don't always load all components together. e.g. sched/optim are loaded separately, so we end up loading the model twice because deepspeed doesn't separate the components. i.e. we can't say not to load the model (but can skip loading the sched/optim)
Alternatively, I could just do:
if self.deepspeed:
    self.deepspeed.load_checkpoint(model_path, load_optimizer_states=True, load_lr_scheduler_states=True)
else:
    self.optimizer.load_state_dict(torch.load(os.path.join(model_path, "optimizer.pt")...
    self.lr_scheduler.load_state_dict(torch.load(os.path.join(model_path, "scheduler.pt")...
    self.model = self.model.from_pretrained(model_path)

and if this is done, do we get all the previous variables .e.g self.optimizer  that we assigned at the beginning from deepspeed.initialize updated to the loaded-from-the-checkpoint values - or do we now somehow have to recreate all those variables?
model, optimizer, _, lr_scheduler = self.deepspeed.somehow_get_each_component_again
self.deepspeed = model
self.model = model.module
self.optimizer = optimizer
self.lr_scheduler = lr_scheduler

I hope my question is easy to understand.
If I were to ask it in a different way: what happens on deepspeed.load_checkpoint and where things go and what needs to be done besides loading the checkpoint. An example would have been very helpful.

And one more question: we have code that checks whether the saved model dir has saved optim/sched:

            and os.path.isfile(os.path.join(model_path, "optimizer.pt"))
            and os.path.isfile(os.path.join(model_path, "scheduler.pt"))

and loads them before training. How would you approach that for deepspeed, which filesystem pattern to match to identify that there is a saved DeepSpeed checkpoint that can be loaded?
I typically see a global_step0 folder. Is it always the same, or perhaps you have a discovery function, so that we could do something like:
if deepspeed.has_checkpoint(path):
    deepspeed.load_checkpoint(path)

I suppose we could try/except too, but that's not very clean if there is/could be an API to do that.
And thinking more about it, since deepspeed.load_checkpoint will return (None, ?) if nothing found at path - will this invalidate the existing deepspeed object?
Thank you.

Let me try to understand the first question. If the optimizer and lr_scheduler are returned by deepspeed.initialize(...), then save_checkpoint() and load_checkpoint() should work to restore both components. In particular, your snippet below just should work to instantiate the underlying optimizer and lr_scheduler variables appropriately without any need for extra copying.
if self.deepspeed:
    self.deepspeed.load_checkpoint(model_path, load_optimizer_states=True, load_lr_scheduler_states=True)
else:
    self.optimizer.load_state_dict(torch.load(os.path.join(model_path, "optimizer.pt")...
    self.lr_scheduler.load_state_dict(torch.load(os.path.join(model_path, "scheduler.pt")...
    self.model = self.model.from_pretrained(model_path)

Does this address your first question? Or are you experiencing something different with the code?

Let me try to understand the first question. If the optimizer and lr_scheduler are returned by deepspeed.initialize(...), then save_checkpoint() and load_checkpoint() should work to restore both components. In particular, your snippet below just should work to instantiate the underlying optimizer and lr_scheduler variables appropriately without any need for extra copying.
if self.deepspeed:
    self.deepspeed.load_checkpoint(model_path, load_optimizer_states=True, load_lr_scheduler_states=True)
else:
    self.optimizer.load_state_dict(torch.load(os.path.join(model_path, "optimizer.pt")...
    self.lr_scheduler.load_state_dict(torch.load(os.path.join(model_path, "scheduler.pt")...
    self.model = self.model.from_pretrained(model_path)

Does this address your first question? Or are you experiencing something different with the code?

Yes, thank you!
The problem is that such APIs are ambiguous. If deepspeed.initialize returns 3 variables:
deepspeed_engine, scheduler, optimizer = deepspeed.initialize()

how can a user guess that calling:
deepspeed_engine.load_checkpoint()

will affect the scheduler, and optimizer variables. Does my quandary make more sense now?
If the API were to be for example:
deepspeed_engine, scheduler, optimizer = deepspeed.initialize()
scheduler, optimizer = deepspeed_engine.scheduler, deepspeed_engine.optimizer

then a user knows that those are part of the engine and not separate entities. and so updating that engine will update its attributes as well.

Yes, thank you!
The problem is that such APIs are ambiguous. If deepspeed.initialize returns 3 variables:
deepspeed_engine, scheduler, optimizer = deepspeed.initialize()

how can a user guess that calling:
deepspeed_engine.load_checkpoint()

will affect the scheduler, and optimizer variables. Does my quandary make more sense now?
If the API were to be for example:
deepspeed_engine, scheduler, optimizer = deepspeed.initialize()
scheduler, optimizer = deepspeed_engine.scheduler, deepspeed_engine.optimizer

then a user knows that those are part of the engine and not separate entities. and so updating that engine will update its attributes as well.

This is so spot on. I completely agree. I feel the API would be similar to that if we could do them all over again. In fact, I would tweak your proposal ever so lightly
deepspeed_engine = deepspeed.initialize(..)
assert deepspeed_engine.has_module() and deepspeed_engine.has_scheduler() and deepspeed_engine.has_optimizer()
model = deepspeed_engine.module
scheduler = deepspeed_engine.scheduler
optimizer = deepspeed_engine.optimizer

Do you think this could help with the confusion? We will discuss if we can move towards this.

This is so spot on. I completely agree. I feel the API would be similar to that if we could do them all over again. In fact, I would tweak your proposal ever so lightly
deepspeed_engine = deepspeed.initialize(..)
assert deepspeed_engine.has_module() and deepspeed_engine.has_scheduler() and deepspeed_engine.has_optimizer()
model = deepspeed_engine.module
scheduler = deepspeed_engine.scheduler
optimizer = deepspeed_engine.optimizer

Do you think this could help with the confusion? We will discuss if we can move towards this.

Yes, your proposed version is perfect, @tjruwase.

Yes, your proposed version is perfect, @tjruwase.

My only gripe in general with most pytorch implementations is that model/module duplicity. While I understand that module implies a subclass of nn.Module, and model doesn't have to be as long as it implements __call__, but I still find this somewhat vexing at times. Especially since some wrappers use .model and others .module to access that they wrapped - I guess it'd have been different if it were nn.Model in first place.

My only gripe in general with most pytorch implementations is that model/module duplicity. While I understand that module implies a subclass of nn.Module, and model doesn't have to be as long as it implements __call__, but I still find this somewhat vexing at times. Especially since some wrappers use .model and others .module to access that they wrapped - I guess it'd have been different if it were nn.Model in first place.

@stas00 I totally get you. My background is PL, where elegance, clarity, and cleanliness were required in programming constructs :).

@stas00 I totally get you. My background is PL, where elegance, clarity, and cleanliness were required in programming constructs :).

Is this on the TODO list and it safe to close this?

@stas00, sorry this needs to remain opened for a bit longer in order to track it. Not yet got a chance to work on this.

Is there a way to get the param_groups property of the optimizer if the optimizer was created by json config?

@stas00, sorry this needs to remain opened for a bit longer in order to track it. Not yet got a chance to work on this.

What about now @tjruwase :D

@FarukOzderim, thanks for bringing attention to this again. I must confess that it has fallen off my radar. Can you please explain your interest in this issue and your desired outcome? Thanks

I have no desire or interest, just saw it still was hanging after 1 year and thought could be beneficial to mention :)

Fair enough :). Unfortunately, we are still chugging along with the counter-intuitive API for now. If you have bandwidth to contribute a PR on this, it will be greatly appreciated.

From this documentation https://deepspeed.readthedocs.io/en/latest/initialize.html#training-initialization, it looks like it is possible to pass an optimiser separately when initializing for training:
model, optimizer, _, _ = deepspeed.initialize(model=model,
                                              config_params=utils.get_deepspeed_config(),
                                              optimizer=checkpoint_optimiser,
                                              model_parameters=parameters)


ARROW-17355: [R] Refactor the handle_* utility functions for a better dev experience

For context; these handle_* functions originally caught an error and if it contained a particular string raised an augmented error message with extra guidance for the user (and if not, raised the original error message).
This became problematic in a later PR where we wanted to test multiple conditions and only raise the original error if none of the conditions were met - the temporary approach was to move the responsibility for the raising of the original error to outside of the handle_* functions.  The issue here is that this makes it easy for developers to forget to add in this line of code.
The proposed solution here implements a generic error augmentation function augment_io_error_msg(), which tests all conditions, raises an error with an augmented message if any conditions are met, or raises the original error if not.

Would something even more generic work? Something like
try_arrow <- function(expr, error_handlers = list()) {
  tryCatch(expr, error = function(e) {
    call <- caller_env(n = 5)
    for (fun in error_handlers) {
      fun(e)
    }
    abort(e, call = call)
  })
}

You'd pass a list of functions to check for those error conditions, like:
try_arrow(
  out <- as_arrow_table(x),
  error_handlers = list(
    handle_csv_read_error,
    handle_augmented_field_misuse
  )
)

Would something even more generic work? Something like
try_arrow <- function(expr, error_handlers = list()) {
  tryCatch(expr, error = function(e) {
    call <- caller_env(n = 5)
    for (fun in error_handlers) {
      fun(e)
    }
    abort(e, call = call)
  })
}

You'd pass a list of functions to check for those error conditions, like:
try_arrow(
  out <- as_arrow_table(x),
  error_handlers = list(
    handle_csv_read_error,
    handle_augmented_field_misuse
  )
)

I don't think that would work as those functions have different arguments which also need passing in, to provide more context for if the error should be triggered.

stop_for_XXXX

Do you have any examples of these? I did have a look but couldn't find anything.


Empty sentence being cached

When the first call of merge is of empty array, then it will become
MERGE INTO [TenantClassStudents] AS [t]
USING (
    VALUES

) AS [cte] ([ClassId], [StudentId])
    ON ([t].[StudentId] = [cte].[StudentId]) AND ([t].[ClassId] = [cte].[ClassId])
WHEN NOT MATCHED BY TARGET
    THEN INSERT ([StudentId], [ClassId]) VALUES ([cte].[StudentId], [cte].[ClassId]);

However, after this operation, calling this merge with an non-empty will carry on all the sentences, but the SQL command text is still empty.

Merge 100 items then 25 items, the 100-item sentence will be cached.


Make the same dfsclient in recheck process of move action.

Move action will recheck file length in execute process. If the file is compressed, it will compare the original length with compressed length because of two different dfsclients. As a result, moving compressed file cannot update sid. So, I replace smartDFSClient with DFSClient for MoveFileAction.

It woud be better if we set client inside the action. You can refer to EnableErasureCodingPolicy.java

It woud be better if we set client inside the action. You can refer to EnableErasureCodingPolicy.java

Looks good to me. Will commit soon.

Looks good to me. Will commit soon.


Add ContextKeyExprType to services

I get errors about this type being absent, so I tried to fix this.
Please check this carefully, my typescript foo is still limited.

One of the errors I get:
5082     readonly type = ContextKeyExprType.GreaterEquals;
                         ~~~~~~~~~~~~~~~~~~

  node_modules/vscode/dist/services.d.ts:4998:15
    4998 declare class ContextKeyInExpr implements IContextKeyExpression {
                       ~~~~~~~~~~~~~~~~
    'ContextKeyInExpr' is declared here.

You're right, it seems there is a bug in rollup-plugin-dts that doesn't realize ContextKeyExprType is used

Thanks you for your contribution.
Unfortunately, your code doesn't build, and the issue exists in another module as well, so I created another PR "fixing" everything with some explanations
=> https://github.com/CodinGame/monaco-vscode-api/pull/42

the v1.69.3 vas released, can you check?

Seems to work fine! Thanks!


update pdwrite to support multiple dfs for excel

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
[x] Description in RELEASE_NOTES.md Added

Adding to RELEASE_NOTES.md
Please add a single line in the release notes similar to the following:
- (#XX)[http://link-to-pr.com] Added feature which does something

should be good for someone to review @danielhuppmann @OFR-IIASA


QXcbConnection: Could not connect to display localhost:12.0425.

Hi all, new to Chainer but not deep learning.  I have TensorFlow w/ CUDA & CUDNN working on a cluster but no graphics.  When I try to run the MNIST example, I get the error message below.  Can someone please tell me which lines to comment out to prevent the plotting from crashing the program?
this epoch [############################     total [##................................................]  4.17%
this epoch [############################X11 connection rejected because of wrong authentication. 0 epoch / 20 epochs
QXcbConnection: Could not connect to display localhost:12.0425.
Aborted (core dumped)

Handled by #3925.  Thank you @niboshi!

Oh, I'm sorry I didn't notice #3924 was a duplicate of this issue.
Thank you for reporting, anyway!


query parapmeters in urlbypass mode

when is use urlbypass source type , query parameters not detect on target web app.
what is my problem?

.

.

Hi, can you provide more details? There shouldn't be any issues regarding to query params.

Closing this, please open a new issue if you still have this problem.


Movies/ web series search

Movies/ web series search
keypoints

implement the search logic.
Simply take input from the TextEditingController.text of the text field, rather CupertinoTextField and make calls with the search query every time the user changes something.
Make sure to display some generic search results from the beginning itself when user input is empty.

I am ready to take up this issue under JWOC

Issue solved under #51

Please close this issue so as this is merged already


Fix label <> type for user attribute

My latest plan wants to create all the user attributes that already exist. I'm not actually sure if terraform can identify that these resources already exist if they haven't been imported into the terraform state. I was mucking around and noticed this. I thought maybe we might be constructing the id wrong and that is why it thinks it needs to create all these -- that is probably not the case.
Also there seems to be a pretty active fork off of this repo:
https://github.com/hirosassa/terraform-provider-looker
Maybe we pull their commits into ours? Our use theirs?

Hey Jason, I noticed your interest in this provider and I think you will be more interested in this new looker provider. https://github.com/devoteamgcloud/terraform-provider-looker
It has a lot more resources and features. It also implements an option to import existing users. Feel free to also contribute to it. :) @jsnb-devoted


Move sidechain storage to sidechain repository

The sidechain storage is still within the service folder. We should move it to the sidechain specific crate:
https://github.com/integritee-network/worker/tree/85bbc21815c8a98eb1e54a8fb6604a7a6425bec1/service/src/sidechain_storage

Closed with  #529


Fix missing packages when chatting in LLaMA Board

Fix missing packages when chatting in LLaMA Board

won't add these packages to requirement.txt due to non-core dependencies


Tooltip not show after first click on link

In this case tooltip show only after second click on element:
        var initTooltipster = function(container) {
            $('.tooltip', container || document).tooltipster({
                theme: 'tooltipster-shadow',
                contentAsHTML: true,
                interactive: true,
                trigger: 'click',
                functionBefore: function(instance, helper) {
                    var self = $(helper.origin);
                    if (self.is('a') && self.data('loaded') !== true) {
                        $.get(self.attr('href'), function(data) {
                            instance.content(data);
                            self.data('loaded', true);
                        });
                    }
                }
            }).on('click', false);
        };

And second question: How i can prevent go to new page if element is a, without .on('click', false) ?

But, anyway i have a bug :(
I use instance.content(data).open(); and i have 2 ajax requests on one click http://joxi.ru/BA04X5Ntd3wNAy

It comes from the way you configured your application because Tooltipster makes no ajax call by itself.

Whats wrong here?..
$('.tooltip-remote').tooltipster({
    theme: 'tooltipster-default',
    contentAsHTML: true,
    interactive: true,
    trigger: 'click',
    functionBefore: function(instance, helper) {
        var self = $(helper.origin);
        if (self.data('loaded') !== true) {
            $.get(self.data('href'), function(response) {
                instance.content(response).open();
                self.data('loaded', true);
            });
        }
    }
});

If i use without .open(), ajax request calls once.

well you just found it.

But tooltip are not opening after one click because method open() are not called...

That's because your tooltip has no content at the begining, so it can't open. In the documentation, we wrote content: loading.

Yea, i understand it. But in case with ajax tooltip will not open since method open will not called.
But if i call this method, ajax request triggers twice...

Or tooltip must automatically open if content setted?

The tooltip is already opening when functionBefore is called, so it will open as long as there is some content to display. Look, I'm sorry but I can't provide that kind of support here. I provide bug support and there is no bug here. Please head over to Stackoverflow for implementation help. Thank you.

I managed! It works this! Big thanks for explanation :)

Glad to hear it, you're welcome.