chore: generalise more lemmas from LinearOrderedField to GroupWithZero

... and move the lemmas from Algebra.Order.Field.Basic to Algebra.Order.GroupWithZero.Unbundled. Also take the opportunity to add ₀ at the end, per the naming convention.

bors d+
On Wed, 2 Oct 2024, 16:58 Yaël Dillies, @.***> wrote:

@.**** commented on this pull request.
In Mathlib/Algebra/Order/GroupWithZero/Unbundled.lean
https://github.com/leanprover-community/mathlib4/pull/17359#discussion_r1784826746
:

+variable [PosMulStrictMono G₀]

+/-- See lt_inv_mul_iff₀' for a version with multiplication on the other side. -/
+lemma lt_inv_mul_iff₀ (hc : 0 < c) : a < c⁻¹ * b ↔ c * a < b where

mp h := by simpa [hc.ne'] using mul_lt_mul_of_pos_left h hc
mpr h := by simpa [hc.ne'] using mul_lt_mul_of_pos_left h (inv_pos.2 hc)

+/-- See inv_mul_lt_iff₀' for a version with multiplication on the other side. -/
+lemma inv_mul_lt_iff₀ (hc : 0 < c) : c⁻¹ * b < a ↔ b < c * a where

mp h := by simpa [hc.ne'] using mul_lt_mul_of_pos_left h hc
mpr h := by simpa [hc.ne'] using mul_lt_mul_of_pos_left h (inv_pos.2 hc)

+lemma one_lt_inv_mul₀ (ha : 0 < a) : 1 < a⁻¹ * b ↔ a < b := by rw [lt_inv_mul_iff₀ ha, mul_one]
+lemma inv_mul_lt_one₀ (ha : 0 < a) : a⁻¹ * b < 1 ↔ b < a := by rw [inv_mul_lt_iff₀ ha, mul_one]
+
+lemma one_lt_inv₀ (ha : 0 < a) : 1 ≤ a⁻¹ ↔ a ≤ 1 := by simpa using one_le_inv_mul₀ ha (b := 1)
Got mixed up indeed!
—
Reply to this email directly, view it on GitHub
https://github.com/leanprover-community/mathlib4/pull/17359#discussion_r1784826746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHESIOSLBNFEWNSVJOAEDF3ZZQJ4BAVCNFSM6AAAAABPH5GOCSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNBTGQYDCNJQGA
.
You are receiving this because you commented.Message ID:
@.***>

bors merge

bors r-
Let's make sure the build works before trying to merge again!

The build works 😐

bors merge

bors merge


Evaluate OTA Provider retry counter usage

Problem
The initial introduction of the DefaultOTARequestorDriver::mProviderRetryCount is to track how many times a provider has responded with Busy response. After some max retry has been attempted, the requestor should stop retrying and either move on to another provider (if one exists) or stop the OTA process. Over time, the code has changed a bit such that this counter now keeps track of every time a QueryImage is sent, regardless of whether it is due to the provider being busy or not.
Specifically, there could be a small window where the default provider responds with Busy, the requestor has transitioned to Idle state internally to wait for the next QueryImage and then an AnnounceOTAProvider occurs for a different provider. The current code would increment the counter, which may result in reaching the max retry faster than expected.
Proposed Solution
Evaluate usage of mProviderRetryCount and make sure its meaning is consistent.

We should also take into account that currently, we check mProviderRetryCount against kMaxBusyProviderRetryCount and move to next provider in the list only inDefaultOTARequestorDriver::ScheduleQueryRetry().  We may want to consider a mProviderRetryCount per provider.


fix hosting cluster reconcile triggered by manifestwork changes.

When the manifestworks that contains resdources applied to hosting cluster is updated or deleted, it should never trigger hosting cluster reconcile, instead, it should triiger hosted cluster reconcile.
Signed-off-by: morvencao<EMAIL_ADDRESS>

/test test-e2e

/test test-e2e

/retest

/test test-e2e

/test test-e2e

/test test-e2e

/test test-e2e

/retest

/lgtm
/cherry-pick release-2.6


⚠ Bofrost.de has degraded performance

In b1577b6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1102 ms

Resolved: Bofrost.de performance has improved in 98ac6bf after 11 minutes.


removed dependancy on cat and simplefied command

removed unneeded cat to simplefy the code a bit.

cat command was indeed redundant, thanks for pointing that out!


Input compnent is missing

ran thru the demo.... it was amazing...
everything worked perfect except that it i cant render any Inputs...
i backed down to 0.3.0 because input would not work...
I added it to your index.js and it worked..
also using an InputGroup  without an Icon throws an 'undefined is not an object (evaluating 'Icon.props')
hope this helps

Hey, can you tell me the RN version you're using?

Fixed.


need auth example

How do I auth?

Sorry for the late reply -- I only saw this today.  :(
Did you see the demo at net.thegreshams.firebase4j.demo.Demo ?
If you already saw that, can you expound on what particular issue you are having?


Bug: CDD Data Preview Improperly sized

Context
The CDD data preview appears to not be sizing correctly. This seems to happen for all of the data types regardless of query parameters. There shouldn't be a white space below it on any size screen. It should be responsive like the rest of the application.

Steps to Reproduce

Navigate to the CDD
Select A data type
Apply filter criteria
Select Preview Data

On smaller screens the data table has alot of white space underneath it. There shouldn't be a white space below it on any size screen. It should be responsive like the rest of the application.

Large desktop screen resolved

Issue still happens for smaller screens

Bug remediated


Dataverse endpoint filtering

Hi,
The documentation about the Dataverse is not really clear.

In the text below, the connectors are referred to as "Dataverse dynamics" and "Dataverse current". However, in the admin portal when managing the DLP, there are no connectors with these names. Instead, there are connectors labeled "Microsoft Dataverse" and "Microsoft Dataverse (legacy)". No other connectors were found, including in the blocked list.
The endpoint configuration for the connectors "Microsoft Dataverse" and "Microsoft Dataverse (legacy)" is not available.
I don't see any Dataverse connectors with endpoint filtering. Is this even possible?
The text below mentions twice that the current environment is not in scope. Hence, starting the sentence with "Also" is not appropriate.

"
Dataverse endpoints are represented by the organization ID, such as, 7b97cd5c-ce38-4930-9497-eec2a95bf5f7. Please note that only the regular Dataverse connector is currently in scope for endpoint filtering. Dataverse dynamics and Dataverse current connectors are not in scope. Also, the local instance of Dataverse (also known as the current environment) can never be blocked for use within an environment. This means that within any given environment, makers can always access the Dataverse current environment.
"
Could you have a look at this?

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

ID: 0ed8b795-d48b-9f40-58a0-27ce00bcde93
Version Independent ID: 0ed8b795-d48b-9f40-58a0-27ce00bcde93
Content: Connector endpoint filtering (preview) - Power Platform
Content Source: power-platform/admin/connector-endpoint-filtering.md
Service: power-platform
Sub-service: admin
GitHub Login: @mikferland-msft
Microsoft Alias: miferlan

Thanks for your comment, @pieterh. This issue has been assigned to the doc author for review.


Fix load! for non-string parameters

This was broken for e.g. arrays, and anything where the Julia string representation differed from the LibPQ string representation.
Fixes #204

You can add the simple case in the issue a test.

Coverage failure seems erroneous

🙏!

Could we get a patch release for this?

Yes, sorry, I was waiting for tests to pass on master but I forgot
Should be in next automerge round


Fixes #604 - Add timestamp (and record ID) to the BEACON message.

Codecov Report

Merging #605 (a87f325) into main (35c756c) will increase coverage by 0.00%.
The diff coverage is 37.50%.

@@           Coverage Diff           @@
##             main     #605   +/-   ##
=======================================
  Coverage   25.04%   25.05%
=======================================
  Files         117      117
  Lines       28944    28951    +7
  Branches     4687     4687
=======================================
+ Hits         7250     7254    +4
- Misses      20726    20727    +1
- Partials      968      970    +2

Flag
Coverage Δ

unittests
25.05% <37.50%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/vanflow.c
32.71% <37.50%> (+0.63%)
:arrow_up:

src/router_core/address_watch.c
73.86% <0.00%> (-1.14%)
:arrow_down:

src/router_core/route_tables.c
15.64% <0.00%> (-0.28%)
: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 35c756c...a87f325. Read the comment docs.


Remove TCPClientWebsockets - Fix il2cpp compilation

@NFMynster please review and merge. Thanks!

Unfortunatelly I don't have access to merge this.

@NFMynster please merge when you have a chance.


[BUG] There is no finish_reason: "length" in ./memgpt/local_llm

There is no finish_reason in ./memgpt/local_llm which is support in openai which is also used in this repo:
used here:
https://github.com/cpacker/MemGPT/blob/main/memgpt/agent.py#L148-L150
async def get_ai_reply_async(
        # special case for 'length'
        if response.choices[0].finish_reason == "length":
            raise Exception("Finish reason was length (maximum context length)")

This exception will finally call the summarize_messages_inplace and call step again.
https://github.com/cpacker/MemGPT/blob/main/memgpt/agent.py#L1074-L1080
            # If we got a context alert, try trimming the messages length, then try again
            if "maximum context length" in str(e):
                # A separate API call to run a summarizer
                await self.summarize_messages_inplace()

                # Try step again
                return await self.step(user_message, first_message=first_message)

But I think it is just a workaround. It is not perfect. But it works indeed. This job should be decided by the llm. Anyway, let's talk about it later.
Now, let's have a look at why the issue https://github.com/cpacker/MemGPT/issues/252 occurs.
There is no finish_reason: "length" replied by  ./memgpt/local_llm when exceeds maximum context length, instead, it raise an exception:
raise Exception(f"Request exceeds maximum context length (code={response.status_code}, msg={response.text}, URI={URI})")

which will not catch by get_ai_reply_async we expected, but by handle_ai_response.
The handle_ai_response should record the function error message into the message history and feedback to llm in the next step.
We expect the llm do the right decision, but it is not. Why? It should be the prompt engineering problem. Let's discuss it later.
It's time to get the conclusion:
To solve the issue of https://github.com/cpacker/MemGPT/issues/252
There is two approachs:
Approach 1: quick fix. Make ./memgpt/local_llm support finish_reason: "length" instead of raise exception.
Approach 2: prompt engineering. Make ./memgpt/local_llm  raise more comprehensive exception as prompt into the message history which feedback to llm in the next round for decision.
Finally, when Approach 2 works, let's remove the length catch in get_ai_reply_async and remove the summarize_messages_inplace.
Wait a minute, who knows the compact messages good or not. Only the experiments can tell us.

Hey, thanks for taking the time to look through the codebase.
The summarizing should be transparent to the LLM because it's an unrecoverable error -- there's nothing the LLM can do by dfn of its context window limitations -- if you cannot summarize properly (vs. not being able to run a function successfully).

hehe


Update documentation for OSX homebrew

however brew install graphviz groff won't work and I tried brew install graphviz homebrew/dupes/groff as homebrew suggested, it worked.

Oops, seems an error with Code Climate itself...

@homu r+

:pushpin: Commit 9ffc204 has been approved by segiddins

:hourglass: Testing commit 9ffc204 with merge 3976630...

:sunny: Test successful - status


[Enhancement] Please integrate newest models

Hello Paul,
could you integrate gpt3.5 16k and the new versions of gpt-4 and gpt-3.5-turbo?
https://openai.com/blog/function-calling-and-other-api-updates
Will be interesting to test out GPT-4 with 8k context vs GPT-35 with 16k context.
And maybe you could utilize the functions also?
Greetings

You should be able to try it with --model gpt-3.5-turbo-16k. I am about to do that myself.
And yes, I'll be investigating the functions too.

Sorry, you'll need to pull the latest build from GitHub for that to work. For now it just treats it like 3.5 with a bigger context window. So repo maps are disabled and it does not try and use a diff based output format. I'll be experimenting to see if either of those restrictions can be relaxed with this new model.

I'm playing with the new 3.5 16k model. I asked the LLM to create a new file, but aider keeps complaining that "Malformed ORIGINAL/UPDATE blocks, retrying..."

Sorry to hear you're having troubles.
Are you able to paste some example output showing the problem? Often it's easiest to open up .aider.chat.history.md and pull the plain-text lines out of there.

Thanks for the workaround.
Could you also add support for this?

Unsupported model: gpt-4-32k-0613

I'm continuing to have "is not one of" issues. I asked for a modification for a specific file but the code block wasn't tagged in the parsable format.
Here's the updated content of `online/cmd/crawl.go`:

```go
package main

I wonder if it makes sense to integrate the new functions api instead, and offer the LLM functions to create and modify files, with json arguments that explicitly include a filename property.

Ya, support for gpt-3.5 models is experimental. It looks like you might have access to gpt-4? If so, it is much more reliable about following directions for including code/edits in its responses.
I will certainly be investigating how to use the new functions capabilities in aider! Both for 3.5 and 4.
Also, I updated aider to be more flexible about openai's models. It should now support any model that your key has access to, including gpt-4-32k-0613.

It would be good to refactor the code to use langchain so other models from different providers can more easily be integrated / experimented with in the future.

I'm continuing to have "is not one of" issues. I asked for a modification for a specific file but the code block wasn't tagged in the parsable format.

Hi @tmm1, I just released version 0.7.0, which has more robust support for GPT-3.5. Aider is now much more permissive at recognizing which files to edit when 3.5 returns malformed instructions (as it often does). I did some benchmarking, and this release of aider performs better at coding editing competency with 3.5 compared to the prior release. Let me know if you have a chance to try it out and if you see improvements.

I wonder if it makes sense to integrate the new functions api instead, and offer the LLM functions to create and modify files, with json arguments that explicitly include a filename property.

I also roughed in an coding backend for 3.5 which uses the new functions api. Surprisingly it benchmarks significantly worse than the current editing format that relies on markdown backtick fenced codeblocks. I'm going to continue to experiment here, and will hopefully share some quantitative learnings at some point.

Thanks for the feedback @tomrobinsond. I agree it would be nice for aider to support a larger variety of LLMs.
Other users have used the --openai-api-base argument to run aider against other models that can provide an OpenAI-compatible api. This looks like a relevant tool to serve many local models via a compatible api. I haven't tried it myself yet though.
https://github.com/go-skynet/LocalAI
One thing to keep in mind is that it generally requires some model-specific tuning to get prompts and editing formats working well. For example, GPT-3.5 and GPT-4 use very different prompts and editing formats in aider right now. So I imagine adopting new LLMs will require a similar effort to tailor the prompting and edit formats.
The latest version of aider includes a major refactor that makes it easy to develop, benchmark and manage a collection of many "coding backends". This should make it easier tailor aider to additional LLMs in the future.

Hi @paul-gauthier
Did you look into LocalAI yet? It would be such a great direction to go. We see open-source models such as WizardCoder rocketing in performance. Being able to run locally will allow data-sensitive work to benefit, without as much data-breach risk to contend with (e.g. in medical domains).

@mallefitzo thanks for reporting this problem. And congrats for having access to gpt-4-32k!
What output is telling you that aider is using gpt-4-32k but only treating it as an 8k context window?
Aider parses the context window size right out of the model name. So it should be assuming 32k.

@mallefitzo thanks for reporting this problem. And congrats for having access to gpt-4-32k!
What output is telling you that aider is using gpt-4-32k but only treating it as an 8k context window?
Aider parses the context window size right out of the model name. So it should be assuming 32k.

@paul-gauthier this is the error I'm getting:

But as you can see, I have access to 32k:

Thanks for the screenshot @mallefitzo, super helpful.
Are you running aider with --model gpt-4-32k? What model does it report in the first few status lines?
$ aider --model gpt-4-32k
API key does not support gpt-4-32k, falling back to gpt-3.5-turbo-16k
Model: gpt-3.5-turbo-16k
Git repo: ../.git
Repo-map: disabled
Use /help to see in-chat commands.

Obvious my attempt to run with gpt-4-32k fails. But what status lines do you get?

@paul-gauthier ahhh! It shows me this now (I assumed, it would pick the highest model automatically).

So I suppose, this will enable the 32k tokens?
Thanks for your help!

Glad to hear you have it working now @mallefitzo
Aider defaults to plain old gpt-4. If that isn't available it falls back to gpt-3.5-turbo-16k.
I didn't want to automatically select gpt-4-32k because of the cost. I figured it would be safer to let folks choose it explicitly.

Also @mallefitzo you can use the /tokens command inside the chat to verify that aider thinks you have a 32k context windows.


Assertion failure in headless backend

The following assertion fails when mpv is put into fullscreen mode on a headless output:
sway: backend/headless/output.c:94: output_commit: Assertion `output->back_buffer != NULL' failed.

Backtrace:
#0  0x00007fed0dea4615 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fed0d258940 (LWP 121952))]
(gdb) where
#0  0x00007fed0dea4615 in raise () at /usr/lib/libc.so.6
#1  0x00007fed0de8d862 in abort () at /usr/lib/libc.so.6
#2  0x00007fed0de8d747 in _nl_load_domain.cold () at /usr/lib/libc.so.6
#3  0x00007fed0de9cbf6 in  () at /usr/lib/libc.so.6
#4  0x00007fed0e73b0d6 in output_commit (wlr_output=0x557be1744a30)
    at ../subprojects/wlroots/backend/headless/output.c:94
#5  0x00007fed0e778ed6 in wlr_output_commit (output=0x557be1744a30)
    at ../subprojects/wlroots/types/wlr_output.c:598
#6  0x0000557be0bbc48a in scan_out_fullscreen_view
    (output=0x557be18970f0, view=0x557be1bfe540) at ../sway/desktop/output.c:555
#7  0x0000557be0bbc564 in output_repaint_timer_handler (data=0x557be18970f0)
    at ../sway/desktop/output.c:580
#8  0x0000557be0bbc846 in damage_handle_frame
    (listener=0x557be1897270, user_data=0x557be18972c0) at ../sway/desktop/output.c:671
#9  0x00007fed0e78b9a3 in wlr_signal_emit_safe (signal=0x557be1897320, data=0x557be18972c0)
    at ../subprojects/wlroots/util/signal.c:29
#10 0x00007fed0e772bd8 in output_handle_frame (listener=0x557be18973d0, data=0x557be1744a30)
    at ../subprojects/wlroots/types/wlr_output_damage.c:56
#11 0x00007fed0e78b9a3 in wlr_signal_emit_safe (signal=0x557be1744bb8, data=0x557be1744a30)
    at ../subprojects/wlroots/util/signal.c:29
#12 0x00007fed0e779269 in wlr_output_send_frame (output=0x557be1744a30)
    at ../subprojects/wlroots/types/wlr_output.c:678
#13 0x00007fed0e73b395 in signal_frame (data=0x557be1744a30)
    at ../subprojects/wlroots/backend/headless/output.c:166
#14 0x00007fed0e0bb1dd in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#15 0x00007fed0e0b94e7 in wl_display_run () at /usr/lib/libwayland-server.so.0
#16 0x0000557be0bb7a4e in server_run (server=0x557be0c2f320 <server>) at ../sway/server.c:244
#17 0x0000557be0bb6f4a in main (argc=1, argv=0x7ffcfaa676e8) at ../sway/main.c:412

Steps to reproduce:

Run WLR_BACKENDS=headless sway (built from master branch)
Run WAYLAND_DISPLAY=wayland-1 wayvnc
Connect to the VNC server using some client, e.g. wlvncc
Play a video in mpv and put it into fullscreen mode

Can you try https://github.com/swaywm/wlroots/pull/2524?

Yeah, that fixes it.
An unrelated "problem" is that I always get this printed out to the terminal when in full screen. But it was like that before:
[types/wlr_output.c:579] Basic output test failed

I also get this printout whenever there's something new rendered, which (IIRC) only started happening after the v6 update.
[EGL] command: eglGetConfigAttrib, error: EGL_BAD_CONFIG (0x3005), message: "eglGetConfigAttrib"

Basic output test failed

Hm, I don't get that on AMD. I'm running mpv --hwdec=none --fullscreen whatever. What hw and test client are you using?

eglGetConfigAttrib, error: EGL_BAD_CONFIG (0x3005), message: "eglGetConfigAttrib"

Yeah, wlroots tries to figure out whether there is an alpha channel by reading the EGL config. This is incorrect when a FBO is used, and since https://github.com/swaywm/wlroots/pull/2510 we don't have a config anymore. Opened https://github.com/swaywm/wlroots/issues/2527 to track it, in the meantime it's mostly harmless and it'll just mean you'll get RGBX via screencopy shm instead of RGBA.


Change System.GPU to Control.Parallel and more...

To be able to test this on osx I had to change some potentially unrelated things in OpenCL.cabal.
I left the test-suite section in, but that has to be modified to build on OSX due to a bug in Cabal where you can't put conditionals in a test-suite section:

http://www.haskell.org/pipermail/cabal-devel/2011-March/007316.html

I tried to wrap the whole test-suite section in a conditional but that failed to parse.  I tried to use a flag and set buildable to the value of the flag but that also failed.  I'm out of ideas for how to manage that.  It really just comes down to us needing to specify extra-libraries on non-OSX platforms.  Specifying frameworks should be fine on all platforms.
I found that the included headers did not match the OSX headers and so that was causing parse errors for c2hs.  So I hardcoded the default install path for OpenCL headers on OSX.  The one thing here is that I tested on 10.6 which ships OpenCL 1.0 instead of 1.1.  It's possible my changes will not be compatible with OSX 10.7.
If we change the module names, I think we need to bump to 1.1.x due to the Package Version Policy:
http://www.haskell.org/haskellwiki/Package_versioning_policy
Thanks!
Jason

Merged it into develop branch.

Also I added a comment about versions in README.org 2c93236, I don't know if the policy is good enough by I liked to indicate OpenCL API version in package version.


FE: SR: Compare schema view adjustments

Format the layout according to design

Hello @Haarolean
How this one look ?
https://user-images.githubusercontent.com/55583718/234895955-5741631f-aac4-4459-9967-3d5e01409367.mov

@inanc-can We're missing at least proper paddings from the left side and the borders around both schemas

I have two questions regarding this issue:
Component "PageHeading" doesn't support this format where there are multiple layers, that's why I replaced this with the following content(which I also took from PageHeading and edited):
Before:

After:

I suggest changing the PageHeading component itself.

Also when I want to edit the styling of comparing schemas, I can only edit the whole box rather than each of them.

Could you tell me how can I cant the individual boxes?


Optional error message in templates

Trello: https://trello.com/c/kqjkCP72/101-move-csrf-session-expired-message-to-utils
In order to pull in the error handling utils/templates to the Buyer FE, we need to:

handle custom error messages in the templates
register a handler for 410 'Gone' errors (there is already a template in the FE toolkit for this)

The existing 503 error handler on the Buyer FE passes through the e.response as the error message:
https://github.com/alphagov/digitalmarketplace-buyer-frontend/blob/master/app/main/errors.py#L36
There's probably a decision to be made about what level of visibility we want for error messages that could potentially be displayed to the user, but it's good to have the option there if we need it.


New runes are not displayed on the ord wallet balance after etching.

I got one strange problem after updating the wallet to version 0.19.0. After any rune etching operation, these new runes do not appear on the wallet balance, although the etching operations always end successfully. The created new runes are visible on the website https://ordinals.com if you enter the rune name in the search. That is, these new runes exist, but they seem to be outside the access of the original ord wallet in which they were created.
I checked the outputs list after creating the next rune and I see that the new rune is on one of the outputs that is on my wallet and is displayed in the list when executing the command: "ord wallet outputs"
I attached screenshots where this problem is visible step by step:

I created a new rune "UNCOMMON•OLD•GODS•BTC" and saw the output on which it is located ("08fd0acf27a56ae73c0ba5c4db101684ff76a4f2637eac320d1d5603207d7363:0:0")

I checked the outputs list on my server via the "ord wallet outputs" command and found that this output 08fd0acf27a56ae73c0ba5c4db101684ff76a4f2637eac320d1d5603207d7363:0:0 is on my server

I opened the website https://ordinals.com and entered the name UNCOMMON•OLD•GODS•BTC in the search. This rune was found and I see that this rune is placed on this output. Example:
https://with19.ordstuff.info/rune/UNCOMMON•OLD•GODS•BTC

I execute the command "ord wallet balance" but my new rune is not in the list of runes.

I tried to create 4 different runes for several days and each time they do not show up in the wallet balance. When I try to send the rune via the send command, I also get the error "error: insufficient UNCOMMON•OLD•GODS•BTC balance, only 0 $ in wallet"
I carefully read the previously created issues about this problem and tried to apply the following solutions to this problem:

Restarted bitcoind and ord server after the poison operation, after the new rune was created. And I also rebooted my VPS

Tried to execute commands to unlock UTXO, for example:

bitcoin-cli -rpcwallet=ord listunspent | wc -l
bitcoin-cli -rpcwallet=ord lockunspent true

I tried to manually specify the wallet address where the inscription and rune should be created via the --destination field in the .yaml file

All these methods did not give any effect and all new runes are still not displayed on the balance of the ord wallet.
Maybe someone knows how to fix this bug and make these runes available for my ord wallet?

I think the step that corrected this issue previously was to rescanblockchain from Bitcoin Core.

Yes, I did rescanblockchain after each rune etching.
I tried rescanblockchain starting from block 767430 or later blocks.
> bitcoin-cli -rpcwallet=ord rescanblockchain 767430
It did not give any result. It did not affect the balance display of new runes

Did you fix it? What was it?


Release the android version on F-Droid

f-droid.org is an alternative appstore, used on custom ROMs or where Google play is completely censored (like in China).
This might also help against the issue of server-side geoblocking
https://github.com/manosim/gitify/issues/261

Wrong git repository.  See manosim/gitify-mobile.


Undefined reference while trying to static linking with mingw32

Hello Im trying to switch in my project to static version of SFML and SFGUI and I am stuck. My project work very well with dynamic linked library on Windows and Linux Ubuntu and Linux Fedora. I use CMake as a build system.
It is funny because I Dont know why sometimes I received .lib files and sometimes only .a files when I am compiling SFML by myself.
This is information about mingw32-g++:
mingw32-g++.exe (MinGW.org GCC-6.3.0-1) 6.3.0
I read instructions for SFML and SFGUI many times and I didnt find any valuable information to solve my problem. It will be really nice If someone could help me. Thanks in advance!
Code:
#include <SFML/Graphics.hpp>
#include <SFGUI/SFGUI.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);
    sfg::SFGUI sfgui;
    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }
        window.clear();
        window.draw(shape);
        window.display();
    }
    return 0;
}

Directory:

Command:
mingw32-g++.exe -c main.cpp -I.
mingw32-g++.exe main.o -L. -DSFML_STATIC -DSFGUI_STATIC -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -lopengl32 -lwinmm -lgdi32 -lfreetype -lSFGUI-s
Output:
main.o:main.cpp:(.text+0x7c): undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
main.o:main.cpp:(.text+0xa2): undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
main.o:main.cpp:(.text+0xde): undefined reference to`_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
main.o:main.cpp:(.text+0x115): undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'
main.o:main.cpp:(.text+0x126): undefined reference to `_imp___ZN2sf5Color5GreenE'
main.o:main.cpp:(.text+0x130): undefined reference to`_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'
main.o:main.cpp:(.text+0x142): undefined reference to `_imp___ZN3sfg5SFGUIC1Ev'
main.o:main.cpp:(.text+0x151): undefined reference to `_imp___ZNK2sf10WindowBase6isOpenEv'
main.o:main.cpp:(.text+0x171): undefined reference to`_imp___ZN2sf10WindowBase9pollEventERNS_5EventE'
main.o:main.cpp:(.text+0x191): undefined reference to `_imp___ZN2sf6Window5closeEv'
main.o:main.cpp:(.text+0x1be): undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
main.o:main.cpp:(.text+0x1d9): undefined reference to`_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'
main.o:main.cpp:(.text+0x1ec): undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'
main.o:main.cpp:(.text+0x200): undefined reference to`_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'
main.o:main.cpp:(.text+0x212): undefined reference to `_imp___ZN2sf6Window7displayEv'
main.o:main.cpp:(.text+0x22b): undefined reference to `_imp___ZN3sfg5SFGUID1Ev'
main.o:main.cpp:(.text+0x247): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
main.o:main.cpp:(.text+0x280): undefined reference to `_imp___ZN3sfg5SFGUID1Ev'
main.o:main.cpp:(.text+0x2a4): undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
main.o:main.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0xa): undefined reference to `_imp___ZTVN2sf11CircleShapeE'
main.o:main.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0x17): undefinedreference to `_imp___ZTVN2sf11CircleShapeE'
main.o:main.cpp:(.text$_ZN2sf11CircleShapeD1Ev[__ZN2sf11CircleShapeD1Ev]+0x2a): undefinedreference to `_imp___ZN2sf5ShapeD2Ev'
collect2.exe: error: ld returned 1 exit status

Cmake-gui:

Expected result:
Build project with static version of SFML and static version of SFGUI

I haven't had trouble building project on Windows with the MSVC toolchain. I usually just use the CMake generator options for it. If MinGW is not a requirement, you may want to go that way.
Now, this is not a solution, it's a workaround.
Were you able to use static libraries on Linux?
Were SFML and SFGUI built with the same toolchain?
Do you think SFGUI causes problem with your linking?
The linking error you have seem to indicate that SFML symbols cannot be resolved. Your command line look sane to me, but I am not a MinGW user. You mention having your project configured via CMake. Do you have CMake files to share? I am more versed in that technology ;).
For faster help and answers, I do recommend you ask on the SFML discord.


nftables: 0.8.2 -> 0.8.3

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build nftables

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: nftables
No log is available.

Success on x86_64-linux (full log)
Attempted: nftables
Partial log (click to expand)
make[1]: Leaving directory '/tmp/nix-build-nftables-0.8.3.drv-0/nftables-0.8.3'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3
shrinking /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3/sbin/nft
gzipping man pages under /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3/sbin
patching script interpreter paths in /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3
checking for references to /tmp/nix-build-nftables-0.8.3.drv-0 in /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3...
moving /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3/sbin/* to /nix/store/xddn4x19bl8dmyawknmz2ajwqx50dsxy-nftables-0.8.3/bin

Success on aarch64-linux (full log)
Attempted: nftables
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3
shrinking /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3/sbin/nft
gzipping man pages under /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3/sbin
patching script interpreter paths in /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3
checking for references to /build in /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3...
moving /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3/sbin/* to /nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3/bin
/nix/store/wb1q4rysmw1brbkj73i1s86c8v9s8n1j-nftables-0.8.3

also backported: ce68ae5d9a03398824d1646dc7a6c9daccba1730


Updating Grad Students Section

Changing Category to Student helpers
Updated information: emails/linkedin/github

👷 Deploy Preview for sit-cybersecurity processing.

Name
Link

🔨 Latest commit
46b0900e669ad686752b7901348cb297c4854a13

🔍 Latest deploy log
https://app.netlify.com/sites/sit-cybersecurity/deploys/64758a6794e3f80008968d60


OAuth Token Exchange (External/3rd Party Tokens)

I have a user in a service which doesn't rely on ZITADEL. That user should be able to exchange the token from 3rd party for a token of ZITADEL based on a configured identifier.
Acceptance Criteria

[ ] token endpoint is extended with the rfc8693
[x] It is only allowed to impersonate for projects that have enabled impersonation #7209
[ ] Token endpoint documentation is extended
[ ] Guide for impersonation is written

Additional Information
https://datatracker.ietf.org/doc/html/rfc8693#section-2.1
requires #7212 to be done first

Being able to define an external IdP with only a JWKS url would be useful in conjunction with this feature. For example, GCP service account allow to self sign JWT and GCP take care of managing the keys and publishing the public key as JWKS ref. If this feature is implemented, being able to exchange a JWT signed by GCP service account for a Zitadel machine user would simplify key management for service user.


[Mobile] Is it possible to disable the cursor (TextSelection) when read only?

Description
Hi,
I would like to render the Delta generated on my website into my flutter app. Everything is working fine, but if I touch somewhere in the text, the cursor will not be hidden anymore.
Is there a way to disable this?
Thanks
Sample code
import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:flutter_quill/models/documents/document.dart';
import 'package:flutter_quill/models/quill_delta.dart';
import 'package:flutter_quill/widgets/controller.dart';
import 'package:flutter_quill/widgets/editor.dart';
import 'package:http/http.dart' as http;

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Quill test App',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomeScreen(),
    );
  }
}

class HomeScreen extends StatefulWidget {
  HomeScreen({Key key}) : super(key: key);

  @override
  _HomeScreenState createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
  List quillList = [];
  QuillController controller;
  bool fetching = true;

  void fetchAPI() async {
    var response = await http.get(Uri(
      scheme: "http",
      host: "<IP_ADDRESS>",
      port: 8000,
      path: "/description",
    ));

    quillList = jsonDecode(response.body)['ops'];

    controller = QuillController(
      selection: const TextSelection.collapsed(offset: 0), // i was not able to set this as null
      document: Document.fromDelta(
        Delta.fromJson(quillList),
      ),
    );
    setState(() {
      fetching = false;
    });
  }

  @override
  void initState() {
    fetchAPI();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: fetching
          ? Center(
              child: CircularProgressIndicator(),
            )
          : QuillEditor.basic(
              controller: controller,
              readOnly: true,
            ),
    );
  }
}

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: fetching
          ? Center(
              child: CircularProgressIndicator(),
            )
          : QuillEditor.basic(
              controller: controller,
              showCursor: false,
              readOnly: true,
            ),
    );
  }

Thanks!

The named parameter 'showCursor' isn't defined. (Documentation)


Volto Scaffolding

Yeoman, create-volto-app, volto-starter-kit

Finished the transition to generator-volto


ci: Use macOS 15 to build

Chromium changed a lot of things since version 131 to take advantage of macOS 15 SDK, like [5894764] (also see https://github.com/ungoogled-software/ungoogled-chromium/pull/3089#issuecomment-2480123156) and [5868514] (also see https://github.com/ungoogled-software/ungoogled-chromium-macos/actions/runs/11963693332).
As a consequence, our GitHub Action Host, running macOS 13 (for Intel) and 14 (for ARM), aren't able to build new versions. As it might be too much of hassle to revert all changes, and I actually expect more changes to come, I decided to move to macOS 15 Action Runner for both platforms.
Potential downsides are:

macos-15 runner is in public preview state for GitHub Action, so it might be unstable;
compatibility with older macOS version might not be as great;
as there's no Intel runner with macOS 13+, we have to cross compile x64 ungoogled-chromium from ARM hosts, which might make the now ages long building action even longer (or shorter, we shall see, ARM might be still faster).

But this is the best solution I can come up with for now.
Current Test Run: https://github.com/iXORTech/ungoogled-chromium-macos/actions/runs/11984866059 (the 7th one, let's hope it pass)
Signed-off-by: Qian Qian "Cubik"<EMAIL_ADDRESS>

Update: arm64 builds fine, still need to fix x64 build.

There's still issue building for x86_64 on arm64 (Rust is the most apparent one now), and referring to https://chromium.googlesource.com/chromium/src.git/+/master/docs/mac_arm64.md#building-on-arm-macs (and https://issues.chromium.org/issues/40209129), I will disable Intel (x86_64) build for now, until we have a better solution (our own building hosts, or some other patches). This is the best solution I can get, given that I don't have much time to work on this.
/cc @PF4Public @networkException

There's still issue building for x86_64 on arm64

I'm just curious why cannot you build not on arm?

There's still issue building for x86_64 on arm64

I'm just curious why cannot you build not on arm?

I do not have a machine on Intel, and GitHub Action do not have Intel hosts with newer macOS.

I'm also hesitant about or for me to cover some of my personal expenses. @networkException would this be a good wording?

I also am thinking about that, I might remove it, it was there for transparency at first.

basically making it impossible to build with older OS

You're the maintainer, so it is up to you what is best :)

I will investigate what I can do when I have more time, I just don't have that much time now.

I want to tell where those contributions go if not Apple Developer License

I would suggest thinking of it this way: if it was stated to be used for Apple Certificate at the first place (at the time of donation taking place), it should be used for just that. Changing the donation target afterwards might be a moral problem at the very least.

Yeah, I agree with that, I'll change it.

You removed "future membership years" too :)

You removed "future membership years" too :)

It was because the list contained the sponsors who's contribution that was not counted towards this year's license fee, now that all contributions is only for Apple License, the list will just be updated based on the year and all contributions from the people on the list will only be for this year's Apple License.

You removed "future membership years" too :)

It was because the list contained the sponsors who's contribution that was not counted towards this year's license fee, now that all contributions is only for Apple License, the list will just be updated based on the year and all contributions from the people on the list will only be for this year's Apple License.

 My initial idea is just asking for some sponsor, and I'll make sure that no matter what, the current and the next year's Apple License should be secured first, and then I might reallocate these for other purpose. This was because UGC is not the only source of sponsor (even though I absolutely know it made the very most part of it), and I couldn't possibly mark every sponsor as Apple License only...
There was a form asking if the contribution is only for UGC (for the matter of making sure people donating for UGC macOS will help UGC macOS on it's license fee), but only 1 out of all sponsors in #184 submitted it, there are way more than 1 recorded in the list because what I did is basically mark everyone as for UGC.

My initial idea is just asking for some sponsor help, […] and then I might reallocate these for other purpose.

In no way I'm saying that you cannot do that. I wanted to convey that it would be the fairest if you would clearly and transparently state your intention first and then act accordingly having the approval of your donors.

My initial idea is just asking for some sponsor help, […] and then I might reallocate these for other purpose.

In no way I'm saying that you cannot do that. I wanted to convey that it would be the fairest if you would clearly and transparently state your intention first and then act accordingly having the approval of your donors.

This is the idea when I first started the donation project and still is, and I agree that this is not clearly communicated, and it's me to blame for that. The plan now is that I will make sure all previous contributions is for the Apple Developer License, and then I will make this clear in the both the issue and the related README section so it's acknowledged by all future sponsors. Does this sound like a good plan to deal with this?

I will make this clear in the both the issue and the related README section so it's acknowledged by all future sponsors. Does this sound like a good plan to deal with this?

Absolutely!

I will make this clear in the both the issue and the related README section so it's acknowledged by all future sponsors. Does this sound like a good plan to deal with this?

Absolutely!

I plan to add this note to #184 and the sponsorship section of the README/Announcement:

[!NOTE]
The prioritized usage of the sponsorship I received will always be the coverage/securing the Apple Developer Membership fee of the current and the next membership year. However, please acknowledge that, after the current and the next year's membership fee have been fully covered/secured, the donation I received might be reallocated for other personal purpose.

Does this sound good as a clarification for this? /cc @PF4Public @networkException

I added the note above regarding sponsorship to the README, and I'll add it to #184 after this PR is merged, in case we still want to change some detail about it. More importantly, let's publish the 131.0.6778.85 update :)


Deprecating Cross Tenant Subscription

Description:
We will go to deprecate the cross tenant subscription feature which allows us to subscribe and invoke APIs in a different tenant.
After this change, if the user needs to enable this feature. User needs to enable explicitly from below configuration.
[apim.devportal]
enable_cross_tenant_subscriptions = true

Closing the issue as its already fixed


AppManager incorrectly enters the UninstallFailed state when uninstalling DecApp

When AppManager uninstalls DecApp, if the DecApp service folder is occupied, AppManager will mark it as UninstallFailed status. Should it be marked as successfully uninstalled here? If the occupied folder may cause the installation to fail in the future. Should it go to InstallFailed at the time of installation, or should it remain UninstallFailed?

When uninstalling an app, how do we define uninstallation failure? Based on my understanding, uninstalling an app generally involves the following core steps:

System state: Currently, there should be a set of app-related data associated with the root state. If this data is deleted or the state is modified, the app should be considered uninstalled (at least from a system perspective).

Local installation files: Executable files, scripts, and the www directory, etc.

So, the key question is, how do we define uninstallation failure? Should both of the above steps be successful for the uninstallation to be considered successful? Or, as long as the system state in the first step is successfully uninstalled, it is considered successful?
Looking at the uninstallation of apps on the Windows platform, it is quite common for some data to remain. However, in most cases, this does not affect the successful uninstallation of the app.

I think we can make a decision in the installation logic of DecApp: if the installation directory cannot be cleared during installation, then the installation is judged as failed.
Then, when uninstalling, we only need to make sure that the system state is cleared correctly, and the uninstallation can be regarded as successful. At this time, there are some local files left, and it does not affect the judgment of whether the uninstallation is successful or not.
Translated with www.DeepL.com/Translator (free version)

finish at f010265d

When uninstalling  DEC APP, is the app data of DEC APP being deleted? Or has there been consideration for providing a way for users to choose whether or not to clear the data of DEC APP during uninstallation? If the data of DEC APP is not cleaned up, then the disk space occupied by DEC APP will never be released.

No. DecApp's data, including root_state and the separate app data folder, are not deleted. The current design does. It may be considered in the future to provide the option of whether to delete data when uninstalling DecApp.


GPT-4 MMLU evaluation setup

Dear authors,
I enjoyed reading your work! I wonder if the GPT-4 evaluation results described in the paper only evaluate 100 instances from each MMLU subject? I ask this because it seems like only 100 instances are used per subject, on your mmlu.sh evaluation script.
If this is true, why wasn't this discussed in the paper? That is, is it a convention to use only 100 instances per subject for GPT-4 evaluation?
Thanks

Hi @brucewlee, thanks for raising this question! Your observation is true - for evaluating GPT4's performance on MMLU, we only used 100 instances per subject (totally 57 * 100 instances). We did this only for GPT4 model, mainly to save the time/cost of this evaluation. From my experience, the numbers should stay quite similar. I don't think this is a common practice. We will make sure to clarify this in our next version.

@yizhongw Thanks!


[WIP] Using Scope with the microservices demo app

Looks like this landed in mesos-marathon subfolder by accident. Please fix.
Then I'll have a go at adding some words and screenshots etc.

Could you include instructions on how to install (just a link to the official install docs) or check that you have Docker for Mac running?

Can you include a screenshot of the whale in your OS X menu bar?

Could you include instructions on how to install (just a link to the official install docs) or check that you have Docker for Mac running?

Done.

Can you include a screenshot of the whale in your OS X menu bar?

Done.

Please add two other guides based on common content which show how to do this with:

docker-machine with a VirtualBox boot2docker VM
Plain Docker on Linux (which would work for Windows users with Linux in a VM)

Plain Docker on Linux (which would work for Windows users with Linux in a VM)

I'm not quite sure this is the best way to address Windows users. There is Docker for Windows, and also Docker Machine sort of works on Windows, but not I never tried it myself.

That may well be true. But it would be good to get something that probably works for them with minimal effort, rather than having to stand up a windows box. I often see Windows users with Ubuntu VMs in VirtualBox...

TODOs

[x] Docker for Mac
[ ] add screenshots
[ ] Docker Machine
[ ] Local Docker on Linux

Tested this and the app did not load properly in my browser based on these instructions.  Also, we need to mention Weave Net as well, as a prerequisite.

Also, we should include a way to kill this app on your machine, as it takes up quite a few resources on your local machine.

Tested this and the app did not load properly in my browser based on these instructions.

How long did you wait? It's mostly Java, so it takes a while to become usable... may be we should address that somehow.

Also, we need to mention Weave Net as well, as a prerequisite.

No, we are not using Weave Net here.

Also, we should include a way to kill this app on your machine, as it takes up quite a few resources on your local machine.

Yes, we should add it. It's docker-compose -p shop down.

How long did you wait? It's mostly Java, so it takes a while to become usable... may be we should address that somehow.
Also, we need to mention Weave Net as well, as a prerequisite.
No, we are not using Weave Net here.

Ok, let me try it again. It does take quite a long time to load. Can we simplify this a bit? It seems a bit overkill to me as an example, especially if we are not using net here.


Support for new INNR RF 265

Can one add support for INNR RF 265? Lamp is equal to INNR RB 265 but then with transparant bulb and led filament. https://shop.innrlighting.com/nl/shop/203/smart-filament-bulb-white-e27

If you are able to provide me the model ID I can do it: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Also does it support color temperature or only brightness?

It does only support brightness.
Output of log:
,{"ieeeAddr":"                                                                                0xcccccccccccccccc","type":"Router","model":"RF 265","friendly_name":"Tuinkamerb                                                                                ar rechts"}]}'
It should be the same as the RB 265 from INNR. Only difference is that this type is transparant bulb and ledfilament.
Thanks for your support.

I've just checked, but it seems support has already been added: https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/devices.js#L1664


TreeViewItem set ItemsSource ,but it's childs not binding attr successed

I want use TreeView control, inside of it's children ,treeviewItem ,I set it's attr 'ItemsSource' and set it's ItemTemplate ,but i cann't get my goal , following code below:
    <TreeView >       <TreeViewItem Header="1112" ItemsSource="{Binding Persons}">         <TreeViewItem.ItemTemplate>           <DataTemplate >             <TextBlock Text="{Binding Name}"></TextBlock>           </DataTemplate>         </TreeViewItem.ItemTemplate>       </TreeViewItem>     <TreeView.ItemsPanel>       <ItemsPanelTemplate>         <VirtualizingStackPanel/>       </ItemsPanelTemplate>     </TreeView.ItemsPanel>   </TreeView>
it cann't work well

Hey @liufei134
this isn't a bug imo but more a question you have. Please ask these on telegram or in github discussions. If you consider this to be a bug, please fill out the templates provided. Thx.
I'll convert it into a discussion now for you.


Create map file that points a TargetPath to a location on the filesystem

A base64 encoded sha512 sum is 89 characters long which uses up a lot of the characters of the max file name length in ext4 (and other FS's). There will need to be a map file that is kept up to date with a mapping of TargetPath => UUID, and the FileSystemRepository will have to do look ups often.
This would actually be a huge win in that we can remove most of the restrictions on TargetPath and MetadataPath since those paths won't be used when writing files to the FS.

Removing this from 0.3.0 because the Python TUF implementation doesn't do this, and it's going to be a bit of a pain. This maybe need to be added in the future, especially because I've seen path name overflow problems on Ubuntu with encrypted home directories.


Server side rendering for noscript users

Can likely get away with just having extra routes defined on the relevant paths that dump the app shell HTML with the relevant content as markdown in the app div.

I've tried this several different ways and have had no luck. Closing this issue until the situation for server side rendering of React.js is less sad.

Will be fixed by #4


Update Netlify Settings and DNS

In the Netlify settings we need to add the kodi.tv domain (as well as www.kodi.tv) and then enable the SSL site certificate. Not sure what needs to be done on the DNS side.

https://staging.kodi.tv/
should be alright

SSL is handled by Cloudflare by the way :)

Done and live!


specifying version

since --prerelease flag is only available .net core sdk 5 forward.  my bad.

Well that's annoying.
I feel like maybe we should tell users to use the .NET 5+ for development instead then. As long as the project targets netcoreapp3.1 that should be fine.


Static functions never triggered

I'm using React 0.12.2, and react-router 0.11.6. My routes look like this:
module.exports = (
  <Route handler={GlobalApp}>

    <DefaultRoute handler={LoginPage} />

    <Route handler={InnerApp}>
      <Route name="Explore" path="/explore" handler={ExplorePage} />
      <Route name="TrackSearch" path="/tracks/search" handler={TrackSearchPage} />
      <Route name="Playlists" path="/playlists" handler={PlaylistsPage} />
      <Route name="PlaylistSearch" path="/playlists/search" handler={PlaylistSearchPage} />
      <Route name="Playlist" path="/playlist/:slug" handler={PlaylistPage} />
      <Route name="CreatePlaylist" path="/create" handler={CreatePlaylistPage} />
      <Route name="Profile" path="/profile/:username" handler={ProfilePage} />
      <Route name="Settings" path="/settings" handler={SettingsPage} />
    </Route>

    <Route handler={OuterApp}>
      <Route name="Login" path="/login" handler={LoginPage} />
      <Route name="Register" path="/register" handler={RegisterPage} />
      <Route name="ForgotPassword" path="/forgot" handler={ForgotPasswordPage} />
      <Route name="ResetPassword" path="/reset/:userId/:key" handler={ResetPasswordPage} />
      <NotFoundRoute handler={LoginPage} />
    </Route>

  </Route>
);

and my router looks like this:
Router.run(routes, Router.HistoryLocation, function(Handler, state) {
  React.render(<Handler params={state.params} query={state.query} />, document.getElementById('app'));
});

This works fine, all my pages load and navigate correctly and as I intended. However, the statics functions willTransitionTo and willTransitionFrom never get called. First, I was trying it in an 'AuthenticatedRoute' mixin like this:
var AuthenticatedRouteMixin = {
  statics: {
    willTransitionTo: function (transition) {
      console.log('will transition');
    }
  }
};

Then, I just tried a very simple one (below) directly on my handlers. I tried placing this on a top-level handler, such as InnerApp, as well as inner pages such as PlaylistsPage. None of these worked.
statics: {
    willTransitionTo: function(transition) {
      console.log('will transition to', transition);
    }
  },

any ideas?

What do you do to cause navigation?

There's a variety of things that cause navigation, but it's all directly via the router. Through either <Link />, this.TransitionTo(), or this.ReplaceWith().

Might be worth putting a breakpoint here:
https://github.com/rackt/react-router/blob/v0.11.6/modules/utils/Transition.js#L82
and taking a look at hooks

Done, but not exactly sure what to be looking for here? Here's what it looks like:

I currently have a willTransitionTo static hook on every single route handler in my original post, and none of them are getting triggered

Yeah I got it, just want to understand the issue better. If you add a transition hook to GlobalApp, does it get called?

Sorry, I meant that I have them on GlobalApp, InnerApp, and OuterApp now as well! Still nothing =/

Sorry, I don't understand what's going on there. Can you reproduce this with a smaller example?

I am also setting a static hook that is not getting called.  In my case it's a willTransitionFrom hook.  I have set that static property on my view, through a mixin.
Debugging the code, I have verified that the view appears in the list of fromRoutes.  When the check runs to see if the handler has a willTransitionFrom property, that is returning undefined.  However, if I check components[index].willTransitionFrom, that is defined.
The handler is a function that looks like this:
function (config, children) {
    // This factory should not be called when JSX is used. Use JSX instead.
    if ("production" !== "development") {
      warnForLegacyFactoryCall();
    }
    return factory.apply(this, arguments);
}

I don't see how or why this function would include the static properties of my view.  So my suspicion is that we are checking the wrong place for this property.  However, when I forked the project and tried to change handler to components[index], the tests blew up quite magnificently.  So I'm not sure what's going on here.
I would definitely appreciate some insight on this, as it's blocking me on my current project.

Ok... nevermind.  My problem was that I did not use the statics key.  I missed that when reading the documentation.
Another question:  When can we expect to see the refactor from promises to callbacks as an NPM publish?  I'm one of those strange people that prefers callbacks, so I'm excited about that.  :-)

Also, the work that I want to do inside these functions almost always relates to the state of the component.  Why are we defining these as static methods only to pass the component as an argument?  It would seem more idiomatic (and convenient) for willTransitionFrom to be an instance method.

@bitmage Callbacks will be released shortly in version 0.12. willTransitionFrom is a static method just for parity with willTransitionTo. Instead of having willTransitionTo be static (of necessity) and willTransitionFrom be instance-level, we just make them both static and give you the component in willTransitionFrom.

@jakemmarsh Can you reproduce the problem you're having in a smaller example? We have a ton of unit tests around transition hooks, so it's most likely a problem with your code somewhere.

@mjackson Ah, that does make sense.  You're saying willTransitionTo has to be static because the instance doesn't exist yet at the time you need to call it.

I'm having a similar problem. When I try to load the DefaultRoute component or Link components like so:
var Router = require('react-router');
var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var RouteHandler = Route.Handler;

If I step through the code in my debugger, the DefaultRoute, Link, and Route variables all end up containing the following:
function (config, children) {
    // This factory should not be called when JSX is used. Use JSX instead.
    if ("production" !== "development") {
      warnForLegacyFactoryCall();
    }
    return factory.apply(this, arguments);
  }

Farther down the line, I end up with an error:

Uncaught TypeError: Cannot read property '_mockedReactClassConstructor' of undefined

Does anyone know what I may be doing wrong here?

@ezmiller Make sure you don't have a separate React inside node_modules/react-router/node_modules/react. Two Reacts on one page won't work together, this often causes weird issues.

Right! I don't think that's it thought. The package has react listed as a peerDependency (and not a dependency) in package.json, which is as it should be I think. I've run into that problem before as well.

This happens when people install router first, then react.

FyI, i'm using React v0.12.2 and React-Router v0.12.0.

Can you put up a reproducible example on Github?

I will try. Might take a bit.

@gaearon: https://github.com/ezmiller/react-router-problem
this seems to recreate the problem.

I have not taken a close look yet but I see you're trying to render root component both in main.jsx and in App.jsx and this is strange. You certainly don't need two different React.render calls.

I don't quite follow. There is no "root" component. Do you mean the fact that there is a React.render call in main.jsx and then again within the Router.run callback?

I think I understood what you meant, and reorganize the code so that I'm only calling React.render once in main.jsx through the Router.run method. I'm still, however, getting the same ugly error.

One thing I noticed is that you forgot to import LoginForm in Login.jsx. But this should give you a reference error, not the one you mentioned.

@taurose fixed those errors. good catch. still the same confusing error however. :(

You still have it wrong :smile:
var RouteHandler = Router.Handler;
should be
var RouteHandler = Router.RouteHandler;

ok, so it basically looks like this issue is more of a request for support, which is fine, but I don't think there's any code that demonstrates there's a bug in our code or docs.
@jakemmarsh Can we close this? Or are you still having the same problem? If so, can you post a minimal example that shows us what's broken?

My problem is resolved, and it was a bug. The problem was as @taurose identified, that I'd not defined RouteHandler correctly. It was a typo in the end!
The broader issue seems to be the totally opaque nature of this error message, which made the problem seem entirely more complicated than it was. But that may be an issue for React in general.

I'm having this will when used in combination with partial-app-loading (https://github.com/rackt/react-router/blob/master/examples/partial-app-loading/app.js). Because the Route's handler is created programmatically it seems as though the static methods inside my React views are not accessible by the React Router.

just tried reproducing this on current master, and it appears all transition hooks are working as designed, let me know if you find any issues.


Update truffle and tests to error on Revert

I upgraded truffle to 4.0.6 to get the proper revert message.
This is a pre-req for integrating solidity-coverage.

Also, I know you hate staging, but would you mind making this PR to staging?

@skmgoldin FYI, I've learned to stop worrying and love the staging.
Other changes:

fixed conflicts with staging
improved linting scripts, which were missing some files (FYI, eslint --debug is a good way to check which files get linted)
implemented assertRevert just the way you like it.

LFGTM


[Web] sentry.io changed domain, need to update CSP

might just need *.sentry.io ?

check if there is potential risk similar to slope

check if there is potential risk similar to slope

https://mattersnews.slack.com/archives/C88CK7Q7L/p1659590919766839 @Carolusian

@devformatters @robertu7 Since we don't store private key information, it is highly unlikely to have private key information being leaked to Sentry. But we still need to pay attention to other kinds of sensitivity information.
In Sentry project setting, there  is  a Data Scrubbing option which has been enabled for all projects by default. The following data is being scrubbed by default:

Values that look like they contain credit cards (using a basic regular expression)
Values that themselves contain, or whose keynames contain, any of the following strings:

password
secret
passwd
api_key
apikey
access_token
auth
credentials
mysql_pwd
stripetoken
card[number]
github_token
privatekey
private_key

Other information set in Additional Sensitive Fields

In addition, data can also be scrubbed in beforeSend hook.
See:

https://docs.sentry.io/product/data-management-settings/scrubbing/server-side-scrubbing/
https://docs.sentry.io/platforms/javascript/data-management/sensitive-data/


better error message on missing solver

For now, the message is: Z3 not installed
Something like:
The Z3 solver is not installed. You must install it through opam with the command `opam install z3`. You could also try to use another solver (have a look at the documentation of the application you are using). Note that installing the solver with your system package manager is not enough, you must install it through opam.

Would be better, WDYT ? I'm trying to prevent something like https://github.com/OCamlPro/owi/issues/332 to happen again.

Indeed it is much more informative! I'll take care of it. Thanks!


async/await example?

Is there ES6/ES7 example?
Thanks!

as the library provides promise API, you can yield or await results in a generator or async function.
for more example please check official node document.
I may change README file of the project and provide more examples in the future.
also, feel free to submit PR.


TIMESTAMP column in schema

https://prestodb.io/docs/current/release/release-0.89.html
https://github.com/facebook/presto/commit/aaab8ee74c9eafc275
update airlift to 0.99
presto 0.89

Finished around  1bbbf0dacc5b9c42418d0.


How to get file extension ?

im not getting file extension if there is a space between file name.
example:
shock life.png
im not getting .png if there is a space in fiile name.

@akshgods Did you find any fix for it?


Suggestion: button to copy aircraft

[ ] Add a button to copy aircraft, for example, you want a 737-8 subfleet with ten 737-800 NG aircrafts, then you do click in copy and after you only need write/modify the registration numer or what you need.
Example:

This one is a little tougher to do - there would need to be an interface to do so. The easiest way would be to just create a new CSV with all of the aircraft and then import it. That way, in the import, you can set the subfleet for all of the aircraft too.

It's more complex - the registration IDs also need to be set. The easiest way is to do the CSV import


Cancel upload

What is the user problem or growth opportunity you want to see solved?
Sometimes I select a picture by mistake, or forget to remove EXIF before uploading.
Currently the only option is to reset the app's data, which:

is inconvenient,
forces the user to log in again,
redownloads hundreds of megabytes of contributions,
loses bookmarks and history.

How do you know that this problem exists today? Why is this important?
No response
Who will benefit from it?
No response
Anything else you would like to add?
No response

I want to work on this...
So in this i have to add functionality of cancelling upload, which is started by user, Am i right ?

@arinmodi Yes, thanks! When tapping the X button, the upload should stop and the picture's row in Contributions should disappear entirely. Please try to reuse the round X button seen when an upload failed (it has the desired effect of removing the upload):

Do I have to show any popup to user before cancellation ?

@arinmodi Good idea! I would suggest Are you sure you want to cancel this upload?

@nicolas-raoul, I have one query that....
According to me, allowing the cancellation during the ongoing upload is not a good user experience, but we can allow this option once user pause the upload,
what you think ?
Thanks

Yes, sounds good, thanks for citing an example from another app!

Just for the confirmation, I have to allow the cancel only after pause, right ?

Yes.

During upload only the pause button is visible.
After tapping on pause, two buttons are visible: remove (cross-shaped icon) and unpause (play icon)
After tapping remove, a popup asks for confirmation.
Removing makes the picture's row disappear, and removes associated memory/connection resources if any.


docs: improve development instructions

Alternative approaches exist, but at least this one should work. The alternatives can be added later.

Closing due to inaction - I added somewhat better instructions to https://github.com/aiven/astacus/pull/67


Ability to insert Views within  tags for more substantive label UI layouts.

Is your feature request related to a problem? Please describe.
A particular labeling task I have has close to 130 multiple choice for a multi class image classification task. These tags are broken up into logical groups, and it would be nice to be able to design a UI in such a way that allows me to group these choices within multiple flexed views.
It appears however, either due to a bug, or due to how specific design decisions, that one cannot have multiple choices tags (as they would require the same name) and nor can one have a nest view or header tags inside of a choices tag group.
ie:
<View>
  <choices name="someUniqueName">
    <view>
    <choice value="choice1"></choice>
    <choice value="choice3"></choice>
    </view>
    <view>
    <choice value="choice2"></choice>
    <choice value="choice4"></choice>
    </view>

  </choices>
</View>

While the above is a silly example, being able to control the layout (and perhaps even visibility) of some choices might be very helpful.

@vade Excellent point! Making multiple tags with the same name can't work because then the model may get confused. But adding an ability to adjust the view can be an option. I'll experiment later today and let you know if that's doable.
As a side note, I've run some experiments with nesting the Choice tags inside other Choice tags, something like this:
<View>
  <Choices name="checkbox">
    <Choice value="main group 1">
      <Choice value="sub group 1"></Choice>
    </Choice>
    <Choice value="main group 2" />
  </Choices>
</View>

It would render the main group only, and you can "open" it by clicking on it and find a specific item. Also, something that can be useful is to show an input to filter.

Oh goodness the latter option would be amazing!

Yea if nested choices are revealed when the parent is clicked that would be amazing. Does
    <Choice value="main group 1">
also have the ability to have a value and alias to send to the model and show up as a task output?
Perhaps if it has the tags it can? That would help make a flexible 'tree' of choices to navigate.
Alternatively it might be nice to have the sub-group expand - select some choices for the data , and then collapse the set of choices while retaining your selection.
Perhaps some sort of disclosure triangle like metaphor?
Very much appreciate the quick reply! Thank you!

@vade that is now supported with the latest release, you can include the <View> and <Header> and <HyperText> tags inside either Choices or Labels tags. Check it out

Try to check this examples:
1 conditional classification
2 two level classification
3 taxonomy tag


Could not verify version of supplied programId

Hi!
I tried creating any type of DAO on devnet. It failed with "Could not verify version of supplied programId" in the console. The interface just freezes.
This is happened to me on https://app.realms.today and on local dev.

This issue has been previewed on Pull Request. To Resolve,
Contact the Support page to resolve your error.
Note: You can also initiate a chat with the live agent on the chat button to get more information about your request via Live Chat
@drez

Is this real? Seems scammy<EMAIL_ADDRESS>....

No relevant anymore


'lax' validation not matching documentation description?

v0.9.27, just starting to play with this today to see if I can make it work for my needs.
When XML is received/parsed/validated that has a datatype mismatch against the schema and validation='lax the validation immediately returns just the XMLSchemaDecodeError of that particular validation violation with nothing else.
Consider the following schema ('tcsTelem.xsd'):
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="TCSTelemetry">
        <xsd:complexType mixed="true">
            <xsd:sequence>
                <xsd:element name="TimeStamp" minOccurs="0" type="xsd:long"/>
                <xsd:element name="ScienceTargetName" minOccurs="0" type="xsd:normalizedString"/>
                <xsd:element name="MountDomeAzimuthDifference" minOccurs="0" type="xsd:decimal"/>
                <xsd:element name="DomeOccultationWarning" minOccurs="0" type="xsd:boolean"/>
                <xsd:element name="MountTemperature" minOccurs="0" type="xsd:decimal"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>

And the following XML (msg):
<TCSTelemetry>
    <TimeStamp>1524207885</TimeStamp>
    <ScienceTargetName>HD180418</ScienceTargetName>
    <MountDomeAzimuthDifference>UNKNOWN</MountDomeAzimuthDifference>
    <DomeOccultationWarning>false</DomeOccultationWarning>
    <MountTemperature>1.4103411087176</MountTemperature>
</TCSTelemetry>

And the following code snippet:
import xmlschema as xmls

schema = xmls.XMLSchema('./tcsTelem.xsd')
xmlp = schema.to_dict(msg, decimal_type=float, validation='lax')

The resulting value of xmlp is just the XMLSchemaDecodeError resulting from the failure of converting "UNKNOWN" to type xsd:decimal (or python's float) for the <MountDomeAzimuthDifference> XML tag.  Looking at the documentation, I would have expected that there should be much more useful stuff in xmlp like the parsable contents + accumulated errors:

lax
Schemas are validated against the meta-schema. The processor collects the errors and continues, eventually replacing missing parts with wildcards. Undecodable XML data are replaced with None.

If the documentation is wrong, then a validation state of 'warn' that combined the parsed results with any accumulated errors would be greatly helpful for development and maintenance!

It's an error of ValidatorMixin.decode() method of module xsdbase.py, originally written for stopping at first error. A manner to improve this maybe collecting errors within the method's cycle when validation mode is 'lax'. In those cases if errors are detected the method will return a tuple containing the decoded data and an errors list instead of only decoded data.
In order to do this the code of the method have to be changed from:
    def decode(self, data, *args, **kwargs):
        validation = kwargs.pop('validation', 'strict')
        for chunk in self.iter_decode(data, validation=validation, *args, **kwargs):
            if isinstance(chunk, XMLSchemaValidationError) and validation == 'strict':
                raise chunk
            return chunk

to:
    def decode(self, data, *args, **kwargs):
        validation = kwargs.pop('validation', 'strict')
        errors = []
        for chunk in self.iter_decode(data, validation=validation, *args, **kwargs):
            if isinstance(chunk, XMLSchemaValidationError):
                if validation == 'strict':
                    raise chunk
                elif validation == 'lax':
                    errors.append(chunk)
            elif errors:
                return chunk, errors
            else:
                return chunk

Waiting feedback about this solution.
Thanks

I took a look, and this works well with the example I gave initially.  The invalid type was indeed replaced with None in the returned dict, and the 2nd element of the returned tuple was the error encountered.  It also worked well for multiple problems in the XML being validated.  Thanks!


Updated Bugly service to use https

Switched Bugly service to https, updated docs to reflect the v2 interface.

This change is live.  Let us know if it works.  Hopefully the SSL certs can be verified.


Add helper functions for the various Seq[T]s of interest

def modifiers(xs: Modifier*): Modifier
def frags(xs: Frag*): Frag

These are already basically-available through implicits on Seq[Frag] and Seq[Modifier], but it would be nice to have dedicated aliases for them. Seq(...) on its own doesn't work because the type inference doesn't line up right

Fixed by https://github.com/lihaoyi/scalatags/commit/0380c632fc907637999b4de4aa95961a68c09ffe


chart: set rpcpassword as a value, add to labels for scenarios

The configmap helm logic then adds the chart value to bitcoin.conf and to the pod metadata labels, same mechanism we currently use for rpcport. This allows chart-writers to override rpcpassword on an individual per-tank basis. When deploying a scenario, the metadata with the password is read from the metadata labels and written to warnet.json in the commander pod. Assuming namespaces limit users ability to read pod metadata, this should restrict rpc access to users in multiplayer mode.
I also changed the default password in the base chart values so if anything was hard coded we should see tests fail.
UPDATE: that was so smart of me, "password" was hard coded in the prometheus exporter

All worked for me.


Can you share code to do the depth generation?

I'd like to test generating depth map from my own dataset. Can you share with us the code to do depth map prediction?
Thank you :)

the same


Guide users when all moves could not be guessed

In some cases tfautomv cannot guess all moves that need to be made. For improved user experience, we could make the following changes:

[ ] Print a message when tfautomv could not guess a move for all resources
[ ] Add a page to the docs that walks users through advanced usage (-show-analysis, -ignore, etc.)
[ ] Link to the page in the message

The first case I had, tfautomv could not guess.
I had a module, called by a for_each going over a list.  I removed the loop calling the module and split it out into a number of calls to the same module without the loop.   It didn't seem to be able to figure this out.

As mentioned on Reddit by HourglassDev, we should print a message when rerunning may find more moves.
This is the case when tfautomv found at least one move but the plan still isn't empty.


Github copilot

Hi, I love your minimal config. It is possible to integrate copilot.lua with mini.completion ?
Thanks

Thanks for the feedback!
The answer is no, as 'mini.completion' is built to support only two sources: 'LSP' and a fallback (by default - built-in <C-n> completion). This likely won't change.
You can look for way to integrate Copilot in the Neovim config in Awesome Neovim.


Groupby reduce with string grouping keys fix

a = DTable((a=rand(["abc", "bcd", "efg"], 100), b=rand(100)), 11)
r = fetch(reduce((x, y) -> x + y, DTables.groupby(a, :a), cols=[:b], init=0))

it would return r.a = ['a', 'b', 'e']

Codecov Report
Base: 95.85% // Head: 95.86% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (c5e5ac8) compared to base (39ef120).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   95.85%   95.86%   +0.01%
==========================================
  Files          10       10
  Lines         820      822       +2
==========================================
+ Hits          786      788       +2
  Misses         34       34

Impacted Files
Coverage Δ

src/operations/operations.jl
98.50% <100.00%> (+0.04%)
:arrow_up:

src/operations/dataframes_interface_utils.jl
92.45% <0.00%> (-1.89%)
:arrow_down:

src/table/dtable.jl
92.85% <0.00%> (+0.79%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


docker caching is currently not supported due to limitations of cargo/issues/2644. However, there are ways around this.

Docker caching is currently not supported due to limitations of cargo/issues/2644. However, there are ways around this.
Ideally, the case scenario is to run cargo fetch on just the Cargo.lock file. However, that cannot run unless src/* are present which defeats the whole point of layered docker caching.
Alternatively:

we could setup empty projects with mocked src/* structure and use Cargo.lock to RUN cargo fetch
other use something like cargo-chef

Originally posted by @fuxingloh in https://github.com/DeFiCh/metachain/pull/163#discussion_r1030071315

/kind feature
/area workflow


[FEATURE] Update model listing file.

We have a model listing for our pre-trained models support: https://opensearch-project.github.io/opensearch-py-ml/reference/pre_trained_models.html
This list is not updated if you compare with this final list: https://artifacts.opensearch.org/models/ml-models/model_listing/pre_trained_models.json
We need to update this list in our py-ml repo.
For amazon/neural-sparse/opensearch-neural-sparse-tokenizer-v1 model:
Model url: https://artifacts.opensearch.org/models/ml-models/amazon/neural-sparse/opensearch-neural-sparse-tokenizer-v1/1.0.0/torch_script/opensearch-neural-sparse-tokenizer-v1-1.0.0.zip

Config url: https://artifacts.opensearch.org/models/ml-models/amazon/neural-sparse/opensearch-neural-sparse-tokenizer-v1/1.0.0/torch_script/config.json

For amazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v1 model:
Model url: https://artifacts.opensearch.org/models/ml-models/amazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v1/1.0.0/torch_script/opensearch-neural-sparse-encoding-doc-v1-1.0.0-torch_script.zip

Config url: https://artifacts.opensearch.org/models/ml-models/amazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v1/1.0.0/torch_script/config.json

For amazon/neural-sparse/opensearch-neural-sparse-encoding-v1 model:
Model url: https://artifacts.opensearch.org/models/ml-models/amazon/neural-sparse/opensearch-neural-sparse-encoding-v1/1.0.0/torch_script/opensearch-neural-sparse-encoding-v1-1.0.0-torch_script.zip

Config url: https://artifacts.opensearch.org/models/ml-models/amazon/neural-sparse/opensearch-neural-sparse-encoding-v1/1.0.0/torch_script/config.json

For huggingface/sentence-transformers/distiluse-base-multilingual-cased-v1 model: [Only Torchscript]
Model url: https://artifacts.opensearch.org/models/ml-models/huggingface/sentence-transformers/distiluse-base-multilingual-cased-v1/1.0.1/torch_script/sentence-transformers_distiluse-base-multilingual-cased-v1-1.0.1-torch_script.zip

Config url: https://artifacts.opensearch.org/models/ml-models/huggingface/sentence-transformers/distiluse-base-multilingual-cased-v1/1.0.1/torch_script/config.json

For huggingface/sentence-transformers/paraphrase-mpnet-base-v2 model: [TorchScript & Onnx both]
Torchscript:
Model url: https://artifacts.opensearch.org/models/ml-models/huggingface/sentence-transformers/paraphrase-mpnet-base-v2/1.0.0/torch_script/sentence-transformers_paraphrase-mpnet-base-v2-1.0.0-torch_script.zip

Config url: https://artifacts.opensearch.org/models/ml-models/huggingface/sentence-transformers/paraphrase-mpnet-base-v2/1.0.0/torch_script/config.json

Onnx:
Model url: https://artifacts.opensearch.org/models/ml-models/huggingface/sentence-transformers/paraphrase-mpnet-base-v2/1.0.0/onnx/sentence-transformers_paraphrase-mpnet-base-v2-1.0.0-onnx.zip

Config url: https://artifacts.opensearch.org/models/ml-models/huggingface/sentence-transformers/paraphrase-mpnet-base-v2/1.0.0/onnx/config.json

Can I be assigned to this issue?

@wuzhijing0127 any update?

@dhrubo-os submitted PR #353 for review


Webpack.config.dev.js resolve.root =  path.resolve('src')... the key to happiness

I propose to add this:
resolve: {
    root: path.resolve('src')
    ...
}

in webpack.config.dev.js
The benefit of this is the following one:
Let say I have the following file structure:
/src
  /actions
  /components
  /views
    /App
      index.js
      styles.css
  index.js
  index.css

let say I need to call views/App/index.js  from src/index.js
With the current webpack.config.dev.js I have to do this:
import App from './views/App';

and this is just a simple use case, I let you imagine if you have to call a component 3 or 4 levels before you should have something like:
../../../components/myComponent

such a pain, such a shame
with
resolve: {
    root: path.resolve('src')
    ...
}

it becomes now so easy and beautiful...
import App from 'views/App';
import BlahBlah from 'components/BlahBlah'; // wherever this is from, it can be so deep in your this no matter

Thanks for the suggestion! Please search past issues for existing discussions about this.
https://github.com/facebookincubator/create-react-app/issues/253
https://github.com/facebookincubator/create-react-app/issues/388
https://github.com/facebookincubator/create-react-app/issues/636
https://github.com/facebookincubator/create-react-app/pull/651
https://github.com/facebookincubator/create-react-app/issues/741
https://github.com/facebookincubator/create-react-app/pull/1043
https://github.com/facebookincubator/create-react-app/issues/1065
https://github.com/facebookincubator/create-react-app/issues/1136
https://github.com/facebookincubator/create-react-app/issues/1492
tl;dr:

We won't be adding anything that breaks Node resolution algorithm and tools that depend on it.
You can sorta emulate this behavior today by using NODE_PATH environment variable and running NODE_PATH=src npm start and other commands.
We are still discussing how to fix this in the best way for the future, but it won't be involving modifying Webpack config. We'll likely suggest using a monorepo setup with something like Lerna and symlinks, but details are being worked out.

Hope this helps!

Sorry I didn't search indeed. Thanks

No worries 😉


Manually-written change to use channel pool scoping.

Note that the declaration of s_channelPool must be moved to after
the declaration of DefaultScopes as otherwise DefaultScopes would be
null at the point of pool creation.
This change should end up in the code generator, but for now this
simple change will unblock us.
All versions of packages from gax-dotnet upgraded to CI00074 for
simplicity.

LGTM


imdb example: fix deprecated warnings

Hi,
this PR fixes some deprecated warnings:
/home/stefan/.local/lib/python2.7/site-packages/keras/datasets/imdb.py:45: UserWarning: The `nb_words` argument in `load_data` has been renamed `num_words`.
  warnings.warn('The `nb_words` argument in `load_data` '

imdb_from_scratch.py:41: UserWarning: The `nb_epoch` argument in `fit` has been renamed `epochs`.
  validation_data=(X_test, y_test))

For more information see Keras 2.0 release notes.

Thanks. Would you be up for changing the same issue in the remaining code so we remove all deprecated warnings?

Sure :) At the moment np_{epoch,words} are only used in this example.

Ah okay, I thought it was a more common occurrence in the code base. Thanks! Merged.


Error when applying migrations on database exception page

When clicking the Apply Migrations button, I get the following error:
An error occurred applying migrations, try applying them from the command line
You can also apply migrations from the command line:

dotnet ef database update

When trying to manually run the above command:
C:\dd\samples\WebApplication3\src\WebApplication3>dotnet ef database update
System.DllNotFoundException: Unable to load DLL 'sni.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.Data.SqlClient.SNINativeMethodWrapper.UnmanagedIsTokenRestricted(IntPtr token, Boolean& isRestricted)
at System.Data.Win32NativeMethods.IsTokenRestrictedWrapper(IntPtr token)
at System.Data.ProviderBase.DbConnectionPoolIdentity.GetCurrent()
at System.Data.ProviderBase.DbConnectionPoolGroup.GetConnectionPool(DbConnectionFactory connectionFactory)
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open()
at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerDatabaseCreator.Exists(Boolean retryOnNotExists)
at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
at Microsoft.EntityFrameworkCore.Design.MigrationsOperations.UpdateDatabase(String targetMigration, String contextType)
at Microsoft.EntityFrameworkCore.Commands.DatabaseUpdateCommand.<>c__DisplayClass0_0.b__0()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Microsoft.EntityFrameworkCore.Commands.Program.Main(String[] args)
Unable to load DLL 'sni.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

/cc: @rustd @rowanmiller

The database error page issue is already tracked as #4742.
@bricelam is working on making commands functional again but not sure if this "System.DllNotFoundException: Unable to load DLL 'sni.dll': The specified module could not be found. " is one of the problems we are tracking.

@divega can we please track this as part of RC2.

@rustd #4742 (which you filed :smile:) is already tracked for RC2.
I will close this one as a dupe after confirming with @bricelam that the exception on the command is something that we know about.

Thanks! I wasn't sure this specific issue unique

Confirmed with @bricelam that the inability to find sni.dll is likely another symptom of how commands are broken right now. That is tracked in #3925.
So closing as dupe.


Remove file contents from error messages

Description
Token and character filters in OpenSearch allow the end user to specify a local file for custom mappings. This allows an attacker to read partial file content from the local file system.
This change modifies the error message so that specific file content is not included in case it is invalid.. The current behavior is to include the file content as part of the error message as shown below.

Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Signed-off-by: Rabi Panda<EMAIL_ADDRESS>

Codecov Report

Merging #4338 (203ca98) into main (7ea6e88) will decrease coverage by 0.02%.
The diff coverage is 78.28%.

:exclamation: Current head 203ca98 differs from pull request most recent head f0d192a. Consider uploading reports for the commit f0d192a to get more accurate results

@@             Coverage Diff              @@
##               main    #4338      +/-   ##
============================================
- Coverage     70.63%   70.61%   -0.03%
- Complexity    57201    57220      +19
============================================
  Files          4611     4611
  Lines        275108   275214     +106
  Branches      40284    40299      +15
============================================
- Hits         194330   194329       -1
- Misses        64493    64599     +106
- Partials      16285    16286       +1

Impacted Files
Coverage Δ

.../java/org/opensearch/gradle/pluginzip/Publish.java
0.00% <0.00%> (-58.00%)
:arrow_down:

...arch/analysis/common/MappingCharFilterFactory.java
0.00% <0.00%> (ø)

...alysis/common/WordDelimiterTokenFilterFactory.java
61.03% <0.00%> (ø)

...rc/main/java/org/opensearch/index/IndexModule.java
82.03% <ø> (ø)

...in/java/org/opensearch/indices/IndicesService.java
69.64% <ø> (-0.16%)
:arrow_down:

...java/org/opensearch/index/shard/StoreRecovery.java
67.87% <60.00%> (-0.22%)
:arrow_down:

...search/index/shard/RemoteStoreRefreshListener.java
79.48% <78.08%> (-13.62%)
:arrow_down:

...a/org/opensearch/index/store/RemoteIndexInput.java
92.00% <83.33%> (-3.00%)
:arrow_down:

...ysis/common/StemmerOverrideTokenFilterFactory.java
91.66% <100.00%> (ø)

...in/java/org/opensearch/index/shard/IndexShard.java
70.08% <100.00%> (+0.68%)
:arrow_up:

... and 500 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Support linter configuration files

Rubocop allows specifying a rubocop.yml to enable / disable / configure individual linter checks. So does jshint (which I plan to add support for)
To do this, we would probably have to clone the repo locally, run linter on all the code and filter the results by changed files / lines.

I was thinking that the rubocop handler could dynamically pull the rubocop file out of the root of the repository if it exists, and default to some low-impact yml file otherwise (trailing whitespace, tabs, and end of file whitespace).
Although, I suppose since farcy currently requires a 1 to 1 mapping between process and repo, maybe that's unnecessary and possibly unsafe to dynamically execute untrusted yml files.

I like the cloning of the repo and checking out the branch of the PR:
Biggest plus is that it will open up a path to use more extensive linters like PyLint. Once pylint support is there I am planning to start using Farcy for my side project Home Assistant.
It will also make it trivial for Rubocop to find the configuration files. I don't know if many repos do it but Rubocop allows configuration files in any parent folder. From the Rubocop readme:

RuboCop will start looking for the configuration file in the directory where the inspected file is and continue its way up to the root directory.

About untrusted YML files, wouldn't this be a responsibility of the user as the user is pointing this at their own repo?

Yes, checkouts make sense in the context you described.

About untrusted YML files, wouldn't this be a responsibility of the user as the user is pointing this at their own repo?

In that context that you have full control over who accesses your repository, yes. However, for an open source project, I wouldn't enable rubocop as all pull requests (untrusted) would be tested.

Fixed in PR #26