Nwl/unfold dispersion redundancy

Improves documentation of Phonon object and usage of the is_unfolding flag which previously was read from multiple sources during different routines. We now only accept this argument in the Phonon object.
Updates package requirements of users who want to build the docs to be compatible with latest versions on pip
Merged in Giuseppe's clean up of the dtypes, with one edit to specify a smaller int type when reading sparse third order matrices to preserve good memory scaling.

Small note on keeping the API understandable-
There should probably be some discussion around whether the "is_unfolding" flag should be moved to the ForceConstants object given that it's more of a treatment of the underlying force constants more than how we treat any phononic  quantity directly.

This closes #87, and is compatible with zekun's fix for the bandwidth. @ZKC19940412 I'll merge this into main, if you fetch and merge your PR we can close that too!

Thanks @niklundgren . LGTM!

Thanks @niklundgren .
I've noticed some of the tests fail.

=========================== short test summary info ============================
FAILED kaldo/tests/test_amorphous_af_conductivity.py::test_af_conductivity_50 - AssertionError:
Items are not equal to 2 significant digits:
 ACTUAL: 0.002467084722307332
 DESIRED: 0.098
FAILED kaldo/tests/test_amorphous_af_conductivity.py::test_af_conductivity_300 - AssertionError:
Items are not equal to 2 significant digits:
 ACTUAL: 0.019437854938486515
 DESIRED: 0.532
FAILED kaldo/tests/test_amorphous_classic.py::test_qhgk_conductivity - AssertionError:
Items are not equal to 2 significant digits:
 ACTUAL: 0.7554788441322309
 DESIRED: 0.996
FAILED kaldo/tests/test_antiresonant.py::test_af_conductivity_without_antiresonant - AssertionError:
Items are not equal to 3 significant digits:
 ACTUAL: 1.0709869486512578
 DESIRED: 0.804
FAILED kaldo/tests/test_antiresonant.py::test_af_conductivity_with_antiresonant - AssertionError:
Items are not equal to 3 significant digits:
 ACTUAL: 1.212987825732782
 DESIRED: 0.825
FAILED kaldo/tests/test_antiresonant.py::test_af_conductivity_without_antiresonant_gauss - AssertionError:
Items are not equal to 3 significant digits:
 ACTUAL: 0.5491826375576702
 DESIRED: 0.8305
FAILED kaldo/tests/test_antiresonant.py::test_af_conductivity_with_antiresonant_gauss - AssertionError:
Items are not equal to 3 significant digits:
 ACTUAL: 0.5532732461010444
 DESIRED: 0.8335
FAILED kaldo/tests/test_diffusivity.py::test_diffusivity - AssertionError:
Arrays are not almost equal to 3 decimal

Not sure if it's related to this latest change or the change in the bandwidth. But in your previous commit they looked ok.

I removed some small things that I want to change in a future PR because I am not sure they were tested.
Specifically-

coords_to_write
file: kaldo/interfaces/eskm.py    line: 107
Our current approach uses python built-in "int" type which is 64 bit to describe coordinates of the third order force constant matrix. When using amorphous systems this easily becomes 100's of Mb if not Gb.
I'd like to switch to using np.uint16 which should cut the memory requirements by 75%

is_amorphous
file: kaldo/observables/harmonic_with_q.py    line: 138
Our current approach to detecting whether a system is amorphous is fragile, as it is taken as arguments in some functions, but then explicitly determined in some routines based on replication.
We should calculate this once in the forceconstants/phonons object, possibly allow users to override our decision (e.g. if they want to use a crystal but replicate in reciprocal space only) and pass this internally as needed rather than determine at every step.

zheev
file: kaldo/observables/harmonic_with_q.py    line: 327
At the end of calculate_eigensystem_unfolded function, we change our return based on whether or not the user only wanted eigenvalues however it doesn't speed up the calculation at all if they did.
A small if/else statement and one argument passed to zheev could speed up calculations where only the frequency is needed (e.g. dispersion).


Extract styles to separate CSS file

The styles of this component are included in the JS distribution file, so at runtime they will be added to the <head> tag of my application. Because this can violate CSP, I want to extract CSS to a separate file, so the styles can be processed in my Webpack workflow as usual.
The rollup-plugin-vue supports doing the extraction since v4, so this PR updates some dependencies and enables CSS extraction. This results in separate CSS files in the dist/ folder after running yarn build.
I'm not sure if my changes are the best way to achieve this. Maybe some additional changes will be needed. Feel free to add other changes or give me some hints to improve this PR.

Coverage remained the same at 100.0% when pulling 042d7797fa5f3a413a18845bddf9717c0feef1a0 on ledermann:extract-css into bf28bcaa4453f66572e3af496dfb2ffc801a9cee on charliekassel:master.

@ledermann , thanks for help! I will use it on my fork :)

@ledermann , thanks for help! I will use it on my fork :)


Remove ? operators that cannot fail

There are many impossible error paths in CommitNode constructors and in the compiler. In the general case, these combinators could fail, but in these specific cases they cannot. We should replace ? with expect.

I think the last of these were removed in #143 which revamped the compiler/satisfier.


Prepare object_store 0.10.0

Which issue does this PR close?

Closes #.
Rationale for this change

Updates to object_store 0.10.0 which contains some breaking changes
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Waiting on arrow release: https://github.com/apache/arrow-rs/issues/5688

Done in https://github.com/apache/datafusion/pull/10765


Logging

Using the stdlib Logger https://docs.julialang.org/en/v1/stdlib/Logging/ will probably be a good start to log progression of the algorithm, with users optionally passing a logger to the function to print the log to a file

merged with other issue


[minor] Update comment in RecyclerViewExpandableItemManager

Thank you! I have just merged this PR into the develop branch manually.


is it work without picom ?

i mean can i make rounded corner without picom?
and i have some doubt can you provide your discord/telegram/insta account for talk

Hey, @sbd26 it has rounded corners and you don't need to use picom for that.
img:


Incremented version to 2.1.1.

Coming from https://github.com/opensearch-project/opensearch-build/issues/1818 post release activities.

Codecov Report

Merging #288 (791957b) into 2.1 (5d13b1a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              2.1     #288   +/-   ##
=======================================
  Coverage   52.73%   52.73%
=======================================
  Files         209      209
  Lines        5450     5450
  Branches      763      763
=======================================
  Hits         2874     2874
  Misses       2574     2574
  Partials        2        2

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 5d13b1a...791957b. Read the comment docs.

Alerting dashboards depends on Alerting and Notifications, so these PRs will need to be resolved before this one.
https://github.com/opensearch-project/alerting/pull/492
https://github.com/opensearch-project/notifications/pull/478

Closing this as 2.2.0 is released and this version will not be out now.
Thanks!


Visit pod no response

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

vip on node2
pod on node1
visit  vip:port on client， no response.
tcpdump on pod, src ip is <IP_ADDRESS>?  Is this the bug reason?

Cilium Version
cilium version
Client: 1.12.7 6719063 2023-02-13T09:31:05+01:00 go version go1.18.10 linux/amd64
Daemon: 1.12.7 6719063 2023-02-13T09:31:05+01:00 go version go1.18.10 linux/amd64
Kernel Version
uname -a
Linux qfusion-node1 4.18.0-348.el8.x86_64 #1 SMP Tue Oct 19 15:14:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.17", GitCommit:"68b4e26caf6ede7af577db4af62fb405b4dd47e6", GitTreeState:"clean", BuildDate:"2021-03-18T01:02:41Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.17", GitCommit:"68b4e26caf6ede7af577db4af62fb405b4dd47e6", GitTreeState:"clean", BuildDate:"2021-03-18T00:54:02Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
no this command
Relevant log output
No response
Anything else?
There is no error on harbor
Code of Conduct

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

cilium endpoint config 850
ConntrackAccounting               : Enabled
ConntrackLocal                    : Disabled
Debug                             : Enabled
DebugLB                           : Disabled
DebugPolicy                       : Enabled
DropNotification                  : Enabled
MonitorAggregationLevel           : None
PolicyAuditMode                   : Disabled
PolicyVerdictNotification         : Enabled
TraceNotification                 : Enabled

Thanks for logging this issue @llhhbc.
Could you please gather a sysdump using https://docs.cilium.io/en/stable/operations/troubleshooting/#automatic-log-state-collection and add it to this issue?
Also, when you say "vip is on node2", how did you provision that vip?

I am use metallb to provision vip.  Our cilium version don't has sysdump command.

@youngnick

Thanks @llhhbc, I can see what you're saying, and that might be the answer, but we won't be able to tell without more information from the cluster. That's what the sysdump is for. The Cilium CLI is what has the sysdump command, so following the instructions on https://docs.cilium.io/en/stable/operations/troubleshooting/#reporting-a-problem should help you get one.

ok. I will upload dump info later.

There should not be, no, aside from IP addresses.

OK

I found that sysdump will only export the information under kube-system. Our business pod is in another namespace. Do we need to add relevant parameters?

It occurs occasionally. After the last repair, it has not reappeared for the time being. You need to wait for the next time it reappears to dump


Bugfix/home page typo

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: seugui sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Upgraded integration tests to support latest ACK features

Is your feature request related to a problem?
Our existing integration test framework cannot facilitate some of the latest features of ACK. Namely:

Cross-service references
Environment agnosticism
Multi-version support (upcoming feature)

Describe the solution you'd like
The test framework should be upgraded to support these features in mind and to support the ability to extend the tests for even more features in the future.
Describe alternatives you've considered
We are already using the test framework in a way that it was not intended. Some service teams have created their own declarative test framework, and others have jury-rigged reference tests (only within the service).

/lifecycle frozen


Preview for .txt files does not work in Windows Explorer

Microsoft PowerToys version
0.78.0
Installation method
GitHub
Running as admin
No
Area(s) with issue?
File Explorer: Preview Pane
Steps to reproduce
[HKEY_CLASSES_ROOT.txt\shellex{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{D8034CFA-F34B-41FE-AD45-62FCBB52A6DA}"
gehört zu powertoys. wenn {D8034CFA-F34B-41FE-AD45-62FCBB52A6DA} bei .txt eingetragen ist, sehe ich keine txt dateien mehr im Vorschaufenster.
Wie kann ich die originale Vorschau für .txt dateien wiederherstellen ?
Manfred
✔ Expected Behavior
the preview is displayed
❌ Actual Behavior
if {D8034CFA-F34B-41FE-AD45-62FCBB52A6DA} is entered for .txt, I no longer see any txt files in the preview window.
Other Software
No response

It works now,
I completely uninstalled Powertoys and reinstalled it.
I wish there was an opportunity
to be able to add certain file extensions to "txt".
for example .conf to .sh from the Linux world
Manfred

/dup #26760


single quote in drawtext

How do you write a single quote with drawText and videoFilter?
command.videoFilters({
                filter: 'drawtext',
                options: {
                text: 'I\'m here'

            });

but the single quote is omitted, the written text became "Im here".

For anyone else looking for the solution - you have to escape the string a couple times - this worked for me
text.replace("'", "\\\\\\'");

Reference: https://stackoverflow.com/a/10729560/13370504

If anyone can't manage to make this work, try this
string.replace(/'/g, "\u2019");
from https://stackoverflow.com/a/26963014/6605412

That doesn't work at all, unless you are using double quotes in your syntax. My syntax doesn't accept double quotes. So it's really dumb, how this lousy program has no way to get around that.
"C:\ffmpeg\bin\ffmpeg.exe" -y -i "D:\100\Sexo\S06\SATC - S06E02 - Models and Mortals.mkv" -ss 00:00:35 -to 00:01:01 -c:v libx265 -c:a copy -vf "[in]drawtext=fontfile=C\\:/Windows/fonts/arial.ttf:text='S06E02 - Models and Mortals':fontcolor=yellow:fontsize=45:x=(w-text_w)/2:y=(h-text_h)/2:enable='between(t,60*00+35,5+60*00+35)',drawtext=fontfile=C\\:/Windows/fonts/arial.ttf:text='Barkley''s modelizer':fontcolor=yellow:fontsize=35:x=(w-text_w)/2:y=40+(h-text_h)/2:enable='between(t,60*00+35,5+60*00+35)'[out]" "D:\100\Converter\001-SATC - S06E02 - Models and Mortals-00_00_35-00_01_01x.mp4"

Based on @David-Development's answer and the linked stackoverflow post, here's my function to escape all the potentially bad characters in the drawtext filter:
function escape(text) {
  return text
    .replaceAll("\\", "\\\\\\\\\\\\\\\\")
    .replaceAll("'", "\\\\\\'")
    .replaceAll("%", "\\\\\\\\\\%")
    .replaceAll(":", "\\\\\\\\\\\\:");
}

I don't see a strong reason why options.text for filter: drawtext shouldn't be automatically escaped. Should this be a pull request?

For
text = "sample-text%'"

this works
text = text.split("%").join("\\\\%")

but this doesn't work
text = text.split("'").join("\\\\\\'")

So I am using
text = text.replace(/[\\\%\'\:]+/g, " ")

For
text = "sample-text%'"

this works
text = text.split("%").join("\\\\%")

but this doesn't work
text = text.split("'").join("\\\\\\'")

So I am using
text = text.replace(/[\\\%\'\:]+/g, " ")


doc: extract_content.py: support multiple build directories

Exclude (other) build directories with a CMakeCache.txt file as they
typically contain previous output from ourselves.
One key feature of 'out of source" builds offered by CMake is allowing
multiple build directories. For instance to build different
configurations without starting from scratch. Unfortunately, the
extract_content.py code had a severe issue with multiple build
directories with an interesting effect on build times, see simple
reproduction below:
cd doc/
cmake -B _build/
cmake -B _b2

 # Repeat these a couple times
make -C _build content
make -C _b2 content

find -name rst
./_b2/rst
./_b2/rst/doc/_build/rst
./_b2/rst/doc/_build/rst/doc/_b2/rst
./_b2/rst/doc/_build/rst/doc/_b2/rst/doc/_build/rst

Signed-off-by: Marc Herbert<EMAIL_ADDRESS>

I'm tempted to nitpick this line into being made part of the previous list comprehension but I won't ;)

I was tempted too but I would have needed help from black or some other formatter external to my editor which is IMHO the sign of awkward code. I love functional programming styles and list comprehensions but breaking down things into a sequence of smaller steps is sometimes easier to read.
From a performance point of view I suspect the cost of scanning the list twice will be dwarfed by the file accesses.


Data assessment

Description
As a bioinformatician , I want to make an assessment of the data from current providers to get an overview of data types to acquire to enrich model value.
Acceptance criteria

[ ] done

https://docs.google.com/spreadsheets/d/1RraJDido9PFtEFKkQSAYASQwDN8FOTWmGM2aZYawxe8/edit#gid=0


CB-1452. Let existing config in template take precedence

What changes were proposed in this pull request?
Prefer configuration defined in cluster template (blueprint) over configuration generated by code.
How was this patch tested?
Adjusted unit test.  Deployed cluster with custom dfs_datanode_failed_volumes_tolerated setting.

I am wondering whether the integration-test will ever be finished.

It takes around 45 minutes recently.  eg. https://circleci.com/gh/hortonworks/cloudbreak/65331

Nice job! 👍


When specifying with a transition decorator, it should be possible to use a CSS selector.

Currently, it's possible to decorate a transition function with either an id or, if no id is given the event is applied to the whole card.
We should add a new (optional) argument called query that takes a valid CSS query. It is used to find matching child elements of the referenced card, that should respond to the given event with the decorated function.
For example:
@my_app.transtion("my_card", "click", query=".classname")
def my_transition(card, datastore):
    """
    Will be called on all child elements of the card that have the css class
    "classname".
    """
    ... do stuff ...

This is an "escape hatch" for more advanced users. Most folks will just use the id as we currently have it. But, while creating som demos we realised we needed something a bit more flexible for attaching event handling to groups of elements (done via CSS selectors).

all I see then is a group name to attach to any element so that we can move the CSS selecting logic on our side ... to be honest, once you open the CSS way, troubles are easy to be created for ourselves and the App/user intent.


How to output merged fasta?

Hello,
Thank you for making such an incredibly useful set of tools!
I have successfully used bedtools merge to make a bedfile.   However, I have not been able to find how to extract a fasta file from the merged.bed output.   The getfasta function throws an error that there is a length mismatch (of course there is.)
Can you offer any advice as to which combination of tools I can use for this?
Thanks!

Can you give a minimal example of a BED record and FASTA that cause this issue?


new Tier Option is updating the tag but NOT the tier

Affected module
1.4.5 and below
Describe the bug
I have created a new Tier TAG:
https://sandbox-beta.open-metadata.org/tags/Tier
To Reproduce
This Tag if added, adds on the TAGs, but Tier says No Tier:

Expected behavior
Tier Tags are added as Tier
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

Also, TIERS do not show the icons/colors.


refactor(loader): v4.0.0

Compatibility issues

[ ]  N/A

Commit message body
- Fixes for Webpack 4.x
- Applies Defaults 2.x
- Drops support for NodeJS 4.x

BREAKING CHANGE: Sets `engines` to `"node": ">= 6.9.0 || >= 8.9.0"`
BREAKING CHANGE: Drops support for Webpack `v3.x`

@d3viant0ne, any chance you could move forward with this? That would be awesome! Webpack v4 has been out for a couple weeks now, so I'd love to leverage it. Thanks a bunch!

Updated in master


Javascript support

I know this question isn't specifically related to robobrowser but I'm using Joshua Carp's awesome robo browser python package. I was hoping to contact him directly but I'm not sure if that's possible on GitHub.
Anyway I'm looking for a pure python 3 headless JavaScript browser package and I can't seem to find any. I've looked and looked and all the ones that I've researched have underlying dependencies which makes them less appealing.
I'm relatively new to python, and I'm using python 3.x. Some of my code may run on a NAS server that has a python 3.5 distribution but uses it's own proprietary 64-bit Linux. (specifically a Synology 716+ NAS)  or as a standalone application.
I really want to use something that's self contained, isn't doing any RPC based controlling of a headless browser either, etc.
I can't find anything and I'm thinking nothing exists. Do anyone know of one?
Thanks

You should take look at Selenium with PhantomJS.
from selenium import webdriver
driver = webdriver.PhantomJS()
driver.set_window_size(800, 600)
driver.get("https://duckduckgo.com/")
driver.find_element_by_id('search_form_input_homepage').send_keys("rick astley")
driver.find_element_by_id("search_button_homepage").click()
print(driver.current_url)
driver.quit()


Edges field with inconsistent string types

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

After the creation of the following table, Order's id is char(12), order_id type is varchar(12), order_id should also be char(12), whether I think it might be a bug?
Order Table:
func (Order) Fields() []ent.Field {
	return []ent.Field{
		field.String("id").MinLen(12).MaxLen(12).
			SchemaType(map[string]string{
				dialect.MySQL: "char(12)",
			}),
	}
}

func (Order) Edges() []ent.Edge {
	return []ent.Edge{
		edge.To("refund_order", RefundOrder.Type).Unique(),
	}
}

RefundOrder Table:
func (RefundOrder) Fields() []ent.Field {
	return []ent.Field{
		field.String("order_id").MinLen(12).MaxLen(12).Optional().
			SchemaType(map[string]string{
				dialect.MySQL: "char(12)",
			}),
	}
}

func (RefundOrder) Edges() []ent.Edge {
	return []ent.Edge{
		edge.From("order", Order.Type).
			Ref("refund_order").
			Field("order_id").
			Unique(),
	}
}

I tried using StorageKey with the same result.
func (Order) Edges() []ent.Edge {
	return []ent.Edge{
		edge.To("refund_order", RefundOrder.Type).StorageKey(edge.Column("order_id")).Unique(),
	}
}
func (RefundOrder) Edges() []ent.Edge {
	return []ent.Edge{
		edge.From("order", Order.Type).
			Ref("refund_order").
			Unique(),
	}
}

Your Environment 🌎

Tech
Version

Go
1.16.4

Ent
v0.8.1-0.20210702044153-1e90c51eb58f

Database
Mysql

Driver
https://github.com/go-sql-driver/mysql

Thanks for reporting this issue @RobinCodeX 🙏
https://github.com/ent/ent/pull/1701 fixed the issue, and you're welcome to update to master and reopen if you have any other problems with it.
You're also welcome to join our Slack channel 😃


ModuleNotFoundError: No module named 'tomesd' (Paperspace)

I have this error on Paperspace:
Traceback (most recent call last):
File "/notebooks/sd/stable-diffusion-webui/webui.py", line 49, in
from modules import shared, sd_samplers, upscaler, extensions, localization, ui_tempdir, ui_extra_networks, config_states
File "/notebooks/sd/stable-diffusion-webui/modules/sd_samplers.py", line 1, in
from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared
File "/notebooks/sd/stable-diffusion-webui/modules/sd_samplers_compvis.py", line 9, in
from modules import sd_samplers_common, prompt_parser, shared
File "/notebooks/sd/stable-diffusion-webui/modules/sd_samplers_common.py", line 5, in
from modules import devices, processing, images, sd_vae_approx, sd_samplers, sd_vae_taesd
File "/notebooks/sd/stable-diffusion-webui/modules/processing.py", line 15, in
import modules.sd_hijack
File "/notebooks/sd/stable-diffusion-webui/modules/sd_hijack.py", line 5, in
import modules.textual_inversion.textual_inversion
File "/notebooks/sd/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 17, in
from modules import shared, devices, sd_hijack, processing, sd_models, images, sd_samplers, sd_hijack_checkpoint
File "/notebooks/sd/stable-diffusion-webui/modules/sd_models.py", line 20, in
import tomesd
ModuleNotFoundError: No module named 'tomesd'

A1111 updated their repo, I'll fix it

thank you

I am having the same problem today
ModuleNotFoundError: No module named 'tomesd'

I am having the same problem today ModuleNotFoundError: No module named 'tomesd'

Ok, !pip install tomesd  worked :)

@TSSMARTiNVEST just use the latest notebook

the latest notebook

Sorry, I'm new to all this, I don't have any programming knowledge. Please tell me where to get the latest notebook

@TSSMARTiNVEST this link will always get you the latest notebook https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

@TSSMARTiNVEST this link will always get you the latest notebook https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

thank you!

the latest notebook

Sorry, I'm new to all this, I don't have any programming knowledge. Please tell me where to get the latest notebook. I use google colab pro.

Hi! I am new too and zero in coding. In this case, if I understood correctly, I just removed all SD from my Colab, opened this notebook and copied, and installed it all again. It works fine now. Also, when I have errors like this, when some module is missing, I ask chatgpt to explain me as I am dummie what to do in steps. Usually it is needed to install this kind of module, I do it in the Requiremens section (cell). I copy suggested by Chat GPT code line and paste it somewhere in the Requirenent cell, then restart. It usually looks like this !pip install


rancher-sandbox/luet-mtree has potential security vulnerabilities in its dependencies.

not sure if this is real @kkaempf
See https://github.com/dependabot/dependabot-core/issues/4740 this is wrongly reporting entries in go.sum as dependencies, which is not correct.

Updated deps and seems like all alerts have been auto closed: https://github.com/rancher-sandbox/luet-mtree/security/dependabot?q=is%3Aopen
https://github.com/rancher-sandbox/luet-mtree/pull/10

BTW, GitHub fixed it so go.sum is no longer used as a source of dependencies: https://github.blog/changelog/2023-03-07-dependency-graph-removes-go-sum-support/


Internal reference

Now where we move so far: Internal reference might be easier. I will post here my thoughts.

Previusly I added extra: Anchors above each obj output docstring which where calculated after all was written. This made internal reference nearly impossible. (with some work it would have been possible)
With the new excellent meta syntax system we might find a better solution.

IDEA:
We can know now exactly where an object will be output: requirement is that: !!set(secion:Testing1.md/Exported/1) is probably implemented on Lexicon side.
EXAMPLE TARGET:
module Testing1

"""
!!summary(Substracts `b` from `a`)

Function Author: !!setget(author:Hugo Boss)
Function License: !!setget(license:[GPL](http://www.gnu.org/copyleft/gpl.html))

!!set(secion:Testing1.md/Exported/1)
"""
function substract(a::Int, b::Int)
    return a - b
end

end #module

EXAMPLE LINK REF: something like this
module Testing2

"""
!!summary(Calulates the sum of the arguments)

Author: !!setget(author:Michael Hatherly)
License: !!setget(license:[MIT](https://github.com/MichaelHatherly/Lexicon.jl/blob/master/LICENSE.md))

See also: !!link(Testing1.substract:LinkText)

!!set(Testing2.md/Exported/1)
"""
function sum(a::Int, b::Int)
    return a + b
end

end # module

Bases on !!link(Testing1.substract:LinkText) we can get the meta: Testing1.substract[:section] and calculate any relative final link depending on the format.
?

Yes, this sounds good.

2 questions:
Should such be also handled within Lexicon or Docile?
what would be the best to refer to an obj I'm a bit unsure how this !!link(Testing1.substract:LinkText)
Testing1.substract within the text string could be best implemented?

I saw your Allow for Base documentation. now an related thought: if we could auto add to  the Base docstrings a section meta one could reference them within the standalone documentation.

Should such be also handled within Lexicon or Docile?

Hopefully all on the Lexicon side of things though there are some concerns:
To be able to pick up all reference names and locations of reference usage we might need some kind of two-pass to do things properly. Also realise that the order or docstring parsing is undefined since we are iterating over an unordered ObjectIdDict of raw docstrings.

I saw your Allow for Base documentation. now an related thought: if we could auto add to the Base docstrings a section meta one could reference them within the standalone documentation.

Let's not get ahead of ourselves ;)

Let's not get ahead of ourselves ;)

I have faith: just think about that: [ peter1000 commented 27 days ago ] opened Extract for ALL Pkg documentation #71

Also realise that the order or docstring parsing is undefined

Yeh you are probably right - need first to suck in all metas and than splice them out in case of links

need first to suck in all metas and than splice them out in case of links

We could use a !!ref of some kind to splice in a special looking markdown link that we then look for in the Markdown ASTs that are generated by parsedocs and rewrite them then, but it's still a little tricky.

I have faith: just think about that: [ peter1000 commented 27 days ago ] opened Extract for ALL Pkg documentation #71

I've not tried it yet, but calling using for every available package and then letting Docile parse them might be an interesting experiment...

Probably not relevant anymore given the work done on the rewrite branch.


Error messages are not so useful

I started using Yamale in order to give more detailed error messages to users when they enter in incorrect Yaml, to help direct where the issues are. This has been an overall success, but there's still some confusion as there are more error messages than I expected.
Take the following example
Schema
list(
  map(include('generate_deck_parts'), key=regex('generate_deck_parts')),
  map(include('generate_csv'), key=regex('generate_csv')),
  map(include('generate_crowd_anki'), key=regex('generate_crowd_anki'))
)

---

generate_crowd_anki:
  folder: str()
  headers: str()
  notes: include('notes_to_source')
  note_models: include('note_models_to_source')
  media: any(include('ca_media'), bool(), required=False)

ca_media:
  from_notes: bool()
  from_note_models: bool()

note_models_to_source:
  deck_parts: list(include('note_model_to_source'))

note_model_to_source:
  deck_part: str()

notes_to_source:
  deck_part: str()
  sort_order: list(str(), required=False)
  reverse_sort: bool(required=False)
  additional_items_to_add: map(str(), key=str(), required=False)

Data
- generate_deck_parts:
    ....
- generate_csv:
    ....
- generate_crowd_anki:
    folder: exports/crowdankidecks/csv_to_crowdanki1/
    headers: default
    notes:
      deck_part: csv_first_attempt
      #sort_order: [note_model, guid]
      #reverse_sort: false
      # additional_items_to_add: {key: value}
    note_models:
      deck_parts:
        - deck_part: LL Noun
        - deck_part: LL Verb
        - deck_part: LL Word
    media:
      from_notes: true
      from_note_models: false
      bad_key: test                      <------------------------------------------------- Bad key

Error
Validating this gives the errors:
	1: Key error - 'generate_crowd_anki' is not a regex match.
	1: Key error - 'generate_crowd_anki' is not a regex match.
	1.generate_crowd_anki.media.bad_thing: Unexpected element
	1.generate_crowd_anki.media: '{'from_notes': True, 'from_note_models': False, 'bad_thing': 'test'}' is not a bool.

Where the 3rd line is the only actual error I am interested in :disappointed:

Why are the first two errors there? They seem to be about the other two perfectly valid list items, but only show when this one breaks :thinking:
The 3rd line does not specify that it is trying to parse it as a ca_media, which could help with clarity.
Sure, Media is neither a bool or a ca_media, but the 4th line just says "Is not a bool", which is confusing. Something like "media is neither a 'ca_media' or a bool" would be technically accurate and not confusing.

Does this perhaps have something to do with my Yaml being a top level list? I ask because I had some even funkier isses in a previous version where I was not looking for specific keys in the list of dictionaries.
Full Schema and Yaml

Schema
list(map(include('generate_deck_parts'), include('generate_csv'), include('generate_crowd_anki'), key=str()))

---

generate_deck_parts:
  list(map(include('from_csv'), include('from_crowd_anki'), include('from_deck_parts'), key=generatedeckpartstask()))

from_crowd_anki:
  folder: str()
  notes: include('from_ca_notes', required=False)
  note_models: list(include('from_ca_note_models'), required=False)
  headers: include('from_ca_headers', required=False)
  media: any(bool(), include('ca_media'), required=False)

generate_crowd_anki:
  folder: str()
  headers: str()
  notes: include('notes_to_source')
  note_models: include('note_models_to_source')
  media: any(bool(), include('ca_media'), required=False)

from_ca_notes:
  name: str()
  sort_order: list(str(), required=False)
  save_to_file: str(required=False)

from_ca_note_models:
  name: str()
  model_name: str(required=False)
  save_to_file: str(required=False)

from_ca_headers:
  name: str()
  save_to_file: str(required=False)

ca_media:
  from_notes: bool()
  from_note_models: bool()

note_models_to_source:
  deck_parts: list(include('note_model_to_source'))

note_model_to_source:
  deck_part: str()

notes_to_source:
  deck_part: str()
  sort_order: list(str(), required=False)
  reverse_sort: bool(required=False)
  additional_items_to_add: map(str(), key=str(), required=False)

from_deck_parts:
  notes: list(include('deck_part_to_read'), required=False)
  note_models: list(include('deck_part_to_read'), required=False)
  headers: list(include('deck_part_to_read'), required=False)

deck_part_to_read:
  name: str()
  file: str()

from_csv:
  notes:
    name: str()
    save_to_file: str(required=False)
    note_model_mappings: list(include('note_model_mapping'))
    file_mappings: list(include('file_mapping'))

generate_csv:
  notes: str()
  note_model_mappings: list(include('note_model_mapping'))
  file_mappings: list(include('file_mapping'))

note_model_mapping:
  note_models: list(str())
  columns_to_fields: map(str(), key=str())
  personal_fields: list(str())

file_mapping:
  file: str()
  note_model: str(required=False)
  sort_by_columns: list(str(), required=False)
  reverse_sort: bool(required=False)
  derivatives: list(include('file_mapping'), required=False)

Data
- generate_deck_parts:
    - from_crowd_anki:
        folder: exports/crowdankidecks/csv_to_crowdanki1/
        notes:
          name: test_from_CA
          sort_order: [note_model_name, guid]
          save_to_file: deck_parts/notes/csv_first_attempt.yaml
        note_models:
          - name: LL Noun
            model_name: LL Noun
            save_to_file: deck_parts/note_models/LL_Noun.yaml
          - name: LL Verb
            model_name: LL Verb
            save_to_file: deck_parts/note_models/LL_Verb.yaml
          - name: LL Word
            model_name: LL Word
            save_to_file: deck_parts/note_models/LL_Word.yaml
        headers:
          name: default
          save_to_file: deck_parts/headers/default.yaml
        media:
          from_notes: true
          from_note_models: true
          # Location
          # Rename files?
          # filter

    - from_deck_part:
        note_models:
          - name: LL Noun
            file: deck_parts/note_models/LL_Noun
          - name: LL Verb
            file: deck_parts/note_models/LL_Verb
          - name: LL Word
            file: deck_parts/note_models/LL_Word
        notes:
          - name: csv_first_attempt
            file: deck_parts/notes/csv_first_attempt
        headers:
          - name: default
            file: deck_parts/headers/default

    - from_csv:
        notes:
          name: csv_first_attempt
          save_to_file: deck_parts/notes/csv_first_attempt.yaml

          note_model_mappings:
            - note_models:
                - LL Word
                - LL Verb
                - LL Noun
              columns_to_fields:
                guid: guid
                tags: tags

                english: Word
                danish: X Word
                danish audio: X Pronunciation (Recording and/or IPA)
                esperanto: Y Word
                esperanto audio: Y Pronunciation (Recording and/or IPA)

                present: Form Present
                past: Form Past
                present perfect: Form Perfect Present

                plural: Plural
                indefinite plural: Indefinite Plural
                definite plural: Definite Plural
              personal_fields:
                - picture
                - extra
                - morphman_focusmorph

          file_mappings:
            - file: source/vocab/main.csv
              note_model: LL Word
              sort_by_columns: [english]
              reverse_sort: no

              derivatives:
                - file: source/vocab/derivatives/danish/danish_verbs.csv
                  note_model: LL Verb
                - file: source/vocab/derivatives/danish/danish_nouns.csv
                  note_model: LL Noun

- generate_crowd_anki:
    folder: exports/crowdankidecks/csv_to_crowdanki1/
    headers: default
    notes:
      deck_part: csv_first_attempt
      #sort_order: [note_model, guid]
      #reverse_sort: false
      # additional_items_to_add: {key: value}
    note_models:
      deck_parts:
        - deck_part: LL Noun
        - deck_part: LL Verb
        - deck_part: LL Word

      #Name: LL Noun
      #mode: automatic
      #error_handling:
        # on_extra: error
        # on_missing: warning
    media:
      from_notes: true
      from_note_models: false
      bad_thing: test
- generate_crowd_anki:
    folder: exports/crowdankidecks/csv_to_crowdanki1/
    headers: default
    notes:
      deck_part: csv_first_attempt
      #sort_order: [note_model, guid]
      #reverse_sort: false
      # additional_items_to_add: {key: value}
    note_models:
      deck_parts:
        - deck_part: LL Noun
        - deck_part: LL Verb
        - deck_part: LL Word

      #Name: LL Noun
      #mode: automatic
      #error_handling:
        # on_extra: error
        # on_missing: warning
    media:
      from_notes: true
      from_note_models: false

- generate_csv_collection:
    notes: csv_first_attempt

    note_model_mappings:
      - note_models:
          - LL Word
          - LL Verb
          - LL Noun
        columns_to_fields:
          guid: guid
          tags: tags

          english: Word
          danish: X Word
          danish audio: X Pronunciation (Recording and/or IPA)
          esperanto: Y Word
          esperanto audio: Y Pronunciation (Recording and/or IPA)

          present: Form Present
          past: Form Past
          present perfect: Form Perfect Present

          plural: Plural
          indefinite plural: Indefinite Plural
          definite plural: Definite Plural
        personal_fields:
          - picture
          - extra
          - morphman_focusmorph

    file_mappings:
      - file: source/vocab/main.csv
        note_model: LL Word
        sort_by_columns: [english]
        reverse_sort: false

        derivatives:
          - file: source/vocab/derivatives/danish/danish_verbs.csv
            note_model: LL Verb
            sort_by_columns: [danish]
          - file: source/vocab/derivatives/danish/danish_nouns.csv
            note_model: LL Noun
            sort_by_columns: [danish]

Which generates the errors:
	1.generate_crowd_anki: '{'folder': 'exports/crowdankidecks/csv_to_crowdanki1/', 'headers': 'default', 'notes': {'deck_part': 'csv_first_attempt'}, 'note_models': {'deck_parts': [{'deck_part': 'LL Noun'}, {'deck_part': 'LL Verb'}, {'deck_part': 'LL Word'}]}, 'media': {'from_notes': True, 'from_note_models': False, 'bad_thing': 'test'}}' is not a list.
	1.generate_crowd_anki.folder: Unexpected element
	1.generate_crowd_anki.headers: Unexpected element
	1.generate_crowd_anki.media: Unexpected element
	1.generate_crowd_anki.note_models: Unexpected element
	1.generate_crowd_anki.notes: '{'deck_part': 'csv_first_attempt'}' is not a str.
	1.generate_crowd_anki.note_model_mappings: Required field missing
	1.generate_crowd_anki.file_mappings: Required field missing
	1.generate_crowd_anki.media: '{'from_notes': True, 'from_note_models': False, 'bad_thing': 'test'}' is not a bool.
	1.generate_crowd_anki.media.bad_thing: Unexpected element

With the error generate_crowd_anki.file_mappings: Required field missing even though that is not a value on that type of object, but one of the other ones :scream:
Anyways, apologies for the data dump. Any light anyone could shed onto my issues here would be well appreciated. I simply want to check for a specific key and match that to a specific object, in a top level list. If I am doing something wrong here I'd love to hear and correct it! :grin:

Thanks for the detailed report. On the surface, this seems to be an error in the processing of the list validator when combined with more complex validators such as the map validator.


fix: generate manifest file when creating new publish target

Description
fix: generate manifest file when creating new publish target
Bind generateManifest & publish function after creating or selecting publish target.

Task Item
closes #7655
Screenshots

Coverage decreased (-0.003%) to 50.552% when pulling cf543d23ce037fd6aa05566a3f30669850d1c005 on julong/skill-bugfix into 1eefb2e596e99af08b292e4b481a5d10840e1a43 on main.


contact Lykke exchange (where we applied) also, so they accept us

 Issue by Erkan-Yilmaz
Sunday Jan 22, 2017 at 01:40 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/39

we applied to Lykke exchange

https://cryptocointalk.com/topic/51655-lykke-exchange/

please contact them additionally (email, twitter) to bring more attention to it, thx
mentioned in hangout 22:

 Comment by grctest
Sunday Jan 22, 2017 at 14:59 GMT

Related: https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/24

 Comment by Erkan-Yilmaz
Wednesday Aug 02, 2017 at 06:17 GMT

see:

Vote for Gridcoin to be added to Lykke exchange

and also:

"122 votes for Golem and just 22 for Gridcoin. Marketing does pay off." (here)

Lykke has changed its listing process. The exchange has been added to the exchange listing document for followup.


Fix destroy propagation

I moved the branch from my fork to the project https://github.com/wanadev/PhotonUI/pull/169

Dataview needs to be a widgets not a layout. A layout can add/remove single children but a dataView cannot

@flozz I changed Dataview naming, could you take a look ? thx


Fix typos in LED roulette section

The sentence in question is currently the following:
At 13 we creating v_half_period and then read() it's value in lines 17 and 20.
It should be this:
At 13 we create v_half_period and then read() its value in lines 17 and 20.

Fixed in #484


Remove pkginfo.

Node require() supports json.  This drops a dependency and improves
compatibility with bundlers.

@indexzero This seems like a straightforward change, is there anything I can do to move it forward?

@indexzero Has this project been abandoned?

@indexzero Please consider this PR.
I'm getting following error

W20161029-17:05:31.503(-4)? (STDERR) Error: ENOENT: no such file or directory, scandir 'node_modules/winston/node_modules/pkginfo/lib'

W20161029-17:05:31.503(-4)? (STDERR)     at Error (native)

W20161029-17:05:31.504(-4)? (STDERR)     at Object.fs.readdirSync (fs.js:808:18)

W20161029-17:05:31.504(-4)? (STDERR)     at Function.pkginfo.find (webpack:///./~/winston/~/pkginfo/lib/pkginfo.js?:95:18)

W20161029-17:05:31.504(-4)? (STDERR)     at Function.pkginfo.read (webpack:///./~/winston/~/pkginfo/lib/pkginfo.js?:119:17)

W20161029-17:05:31.504(-4)? (STDERR)     at module.exports (webpack:///./~/winston/~/pkginfo/lib/pkginfo.js?:69:21)

W20161029-17:05:31.504(-4)? (STDERR)     at Object.eval (webpack:///./~/winston/~/pkginfo/lib/pkginfo.js?:132:1)

W20161029-17:05:31.504(-4)? (STDERR)     at eval (webpack:///./~/winston/~/pkginfo/lib/pkginfo.js?:137:30)

W20161029-17:05:31.505(-4)? (STDERR)     at Object.<anonymous> (app/server.js:1016:2)

W20161029-17:05:31.505(-4)? (STDERR)     at __webpack_require__ (app/server.js:23:30)

W20161029-17:05:31.505(-4)? (STDERR)     at Object.eval (webpack:///./~/winston/lib/winston.js?:14:1)

This was included in https://github.com/winstonjs/winston/pull/931 which was merged earlier this week. Thank you for your contribution!

Excellent, thanks @acrazing and @indexzero.


allUserProfiles - user_ids query param not working as intended?

The user_ids query param for allUserProfiles simply returns all users, instead of users with matching ids. Is this workings as intended?

So, this filtering is a total hack and much too slow. I'm going to close this and reopen a "fix filtering" issue.  The Graphene library has an active pull request for this django filtering integration and a new plugin system we need to look into.


[Bug] ns-isolation-policy takes a long time take effect

Search before asking

[X] I searched in the issues and found nothing similar.

Version
3.0.0
Minimal reproduce step
I want to set a isolation policy for a namespace, i execyted ns-isolation-policy command, but i can get a error when  i execute partitioned-lookup command, refer to the figure below for details.

i tried to produce messages to this topic, it also cann't works, and give a error.

What did you expect to see?
The  topic in the namespace  belongs can be assigned to the broker on port 8080
What did you see instead?
Refer to the screenshot above for the problem
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

The primary and secondary should better be ip form (no port).  In your reproduce step, it won't find any matched broker.
See the detailed implementations https://github.com/apache/pulsar/blob/001b134653b89103089b1429b9058d987cd0485c/pulsar-common/src/main/java/org/apache/pulsar/common/policies/impl/NamespaceIsolationPolicyImpl.java#L52-L60
https://github.com/apache/pulsar/blob/001b134653b89103089b1429b9058d987cd0485c/pulsar-common/src/main/java/org/apache/pulsar/common/policies/impl/NamespaceIsolationPolicyImpl.java#L103-L110


Websocket connection does not reconnect after WebSocketChannelException

Describe the issue
Connection drops with the exception WebSocketChannelException and cannot be restored without restarting the app. The problem occurs more or less regularly when the app is idle for at least 20-30 minutes e.g. in the background.
To Reproduce
I couldn't find an easy way to reproduce it, but I will try with the example app.
I'm using custom WebSocketLink that uses compute to parse messages and maybe I'm missing something that was already fixed?
class CustomWsLink extends WebSocketLink {
  CustomWsLink(
    super.url, {
    super.config,
    super.subProtocol,
    required this.getToken,
    required this.userUid,
  });

  final Future<String?> Function() getToken;
  final String userUid;
  _Connection? _connection;

  /// this will be called every time you make a subscription
  @override
  // ignore: type_annotate_public_apis
  Stream<Response> request(Request request, [forward]) async* {
    final token = await getToken();
    if (token == null) {
      throw Exception('Auth token is missing');
    }

    /// check is connection is null or the token changed
    if (_connection == null || _connection!.token != token) {
      _connectOrReconnect(token);
    }
    yield* _connection!.client.subscribe(request, true);
  }

  /// Connects or reconnects to the server with the specified headers.
  void _connectOrReconnect(String token) {
    _connection?.client.dispose();

    _connection = _Connection(
      client: SocketClient(
        url,
        config: SocketClientConfig(
          autoReconnect: true,
          inactivityTimeout: const Duration(seconds: 30),
          queryAndMutationTimeout: const Duration(seconds: 10),
          delayBetweenReconnectionAttempts: const Duration(seconds: 5),
          connectFn: (uri, protocols) async {
            await getToken();
            var channel = WebSocketChannel.connect(uri, protocols: protocols);
            // ignore: join_return_with_assignment
            channel = channel.forGraphQLIsolate();

            return channel;
          },
          initialPayload: () async {
            return {
              'headers': {
                'Authorization': await getToken(),
                'X-Hasura-User-Id': userUid,
                'X-Hasura-Role': 'user',
                'Content-Type': 'application/json',
              },
            };
          },
        ),
      ),
      token: token,
    );
  }

  @override
  Future<void> dispose() async {
    await _connection?.client.dispose();
    _connection = null;
  }
}

/// this a wrapper for web socket to hold the used token
class _Connection {
  _Connection({
    required this.client,
    required this.token,
  });

  final SocketClient client;
  final String token;
}

class CustomGraphQLWebSocketChannel extends GraphQLWebSocketChannel {
  CustomGraphQLWebSocketChannel(super.webSocket);

  Stream<GraphQLSocketMessage>? _messages;

  /// Stream of messages from the endpoint parsed as GraphQLSocketMessages
  @override
  Stream<GraphQLSocketMessage> get messages =>
      _messages ??= stream.asyncMap<GraphQLSocketMessage>(
        (d) async => compute(safeParse, d),
      );
}

GraphQLSocketMessage safeParse(dynamic message) {
  try {
    return GraphQLSocketMessage.parse(message);
  } catch (e) {
    if (kDebugMode) {
      print('Error parsing message $message\n$e');
    }
    return ConnectionError(message);
  }
}

extension GraphQLGetter on WebSocketChannel {
  /// Returns a wrapper that has safety and convenience features for graphql
  GraphQLWebSocketChannel forGraphQLIsolate() =>
      this is CustomGraphQLWebSocketChannel
          ? this as CustomGraphQLWebSocketChannel
          : CustomGraphQLWebSocketChannel(this);
}

Expected behavior
The websocket eventually reconnects
device / execution context
Happens both on iOS and Android
Other useful/optional fields

Stacktrace:
#0      new IOWebSocketChannel._withoutSocket.<anonymous closure>
#1      Stream.handleError.<anonymous closure> (dart:async/stream.dart:929:16)
#2      _HandleErrorStream._handleError (dart:async/stream_pipe.dart:269:17)
#3      _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157:13)
#4      _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
#5      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
#6      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
#7      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
#8      _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
#9      _StreamController._addError (dart:async/stream_controller.dart:656:7)
#10     _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
#11     _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
#12     _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
#13     _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
#14     _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
#15     _StreamController._addError (dart:async/stream_controller.dart:656:7)
#16     new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:251:18)
#17     _RootZone.runBinary (dart:async/zone.dart:1658:54)
#18     _FutureListener.handleError (dart:async/future_impl.dart:162:22)
#19     Future._propagateToListeners.handleError (dart:async/future_impl.dart:778:47)
#20     Future._propagateToListeners (dart:async/future_impl.dart:799:13)
#21     Future._completeError (dart:async/future_impl.dart:574:5)
#22     Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:665:7)
#23     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

Logs:
I/flutter (31184): Disconnected from websocket.
[log] [DataClient] 💡 Token expires at 2022-11-02 17:55:33.000
I/flutter (31184): Initialising connection
[log] [DataClient] 💡 Token expires at 2022-11-02 17:55:33.000
I/flutter (31184): [SocketClient] message stream encountered error: WebSocketChannelException: WebSocketChannelException: HttpException: Connection reset by peer, uri = https://redacted.hasura.app:0/v1/graphql
I/flutter (31184): stacktrace:
I/flutter (31184): #0      new IOWebSocketChannel._withoutSocket.<anonymous closure>
I/flutter (31184): #1      Stream.handleError.<anonymous closure> (dart:async/stream.dart:929:16)
I/flutter (31184): #2      _HandleErrorStream._handleError (dart:async/stream_pipe.dart:269:17)
I/flutter (31184): #3      _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157:13)
I/flutter (31184): #4      _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
I/flutter (31184): #5      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
I/flutter (31184): #6      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
I/flutter (31184): #7      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
I/flutter (31184): #8      _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
I/flutter (31184): #9      _StreamController._addError (dar
E/flutter (31184): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: WebSocketChannelException: WebSocketChannelException: HttpException: Connection reset by peer, uri = https://redacted.hasura.app:0/v1/graphql
E/flutter (31184): #0      new IOWebSocketChannel._withoutSocket.<anonymous closure>
E/flutter (31184): #1      Stream.handleError.<anonymous closure> (dart:async/stream.dart:929:16)
E/flutter (31184): #2      _HandleErrorStream._handleError (dart:async/stream_pipe.dart:269:17)
E/flutter (31184): #3      _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157:13)
E/flutter (31184): #4      _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
E/flutter (31184): #5      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
E/flutter (31184): #6      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
E/flutter (31184): #7      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
E/flutter (31184): #8      _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
E/flutter (31184): #9      _StreamController._addError (dart:async/stream_controller.dart:656:7)
E/flutter (31184): #10     _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
E/flutter (31184): #11     _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
E/flutter (31184): #12     _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
E/flutter (31184): #13     _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
E/flutter (31184): #14     _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
E/flutter (31184): #15     _StreamController._addError (dart:async/stream_controller.dart:656:7)
E/flutter (31184): #16     new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:251:18)
E/flutter (31184): #17     _RootZone.runBinary (dart:async/zone.dart:1658:54)
E/flutter (31184): #18     _FutureListener.handleError (dart:async/future_impl.dart:162:22)
E/flutter (31184): #19     Future._propagateToListeners.handleError (dart:async/future_impl.dart:778:47)
E/flutter (31184): #20     Future._propagateToListeners (dart:async/future_impl.dart:799:13)
E/flutter (31184): #21     Future._completeError (dart:async/future_impl.dart:574:5)
E/flutter (31184): #22     Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:665:7)
E/flutter (31184): #23     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (31184): #24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
E/flutter (31184):
E/flutter (31184): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: WebSocketChannelException: WebSocketChannelException: HttpException: Connection reset by peer, uri = https://redacted.hasura.app:0/v1/graphql
E/flutter (31184): #0      new IOWebSocketChannel._withoutSocket.<anonymous closure>
E/flutter (31184): #1      Stream.handleError.<anonymous closure> (dart:async/stream.dart:929:16)
E/flutter (31184): #2      _HandleErrorStream._handleError (dart:async/stream_pipe.dart:269:17)
E/flutter (31184): #3      _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157:13)
E/flutter (31184): #4      _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
E/flutter (31184): #5      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
E/flutter (31184): #6      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
E/flutter (31184): #7      _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
E/flutter (31184): #8      _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
E/flutter (31184): #9      _StreamController._addError (dart:async/stream_controller.dart:656:7)
E/flutter (31184): #10     _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
E/flutter (31184): #11     _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
E/flutter (31184): #12     _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
E/flutter (31184): #13     _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
E/flutter (31184): #14     _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
E/flutter (31184): #15     _StreamController._addError (dart:async/stream_controller.dart:656:7)
E/flutter (31184): #16     new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:251:18)
E/flutter (31184): #17     _RootZone.runBinary (dart:async/zone.dart:1658:54)
E/flutter (31184): #18     _FutureListener.handleError (dart:async/future_impl.dart:162:22)
E/flutter (31184): #19     Future._propagateToListeners.handleError (dart:async/future_impl.dart:778:47)
E/flutter (31184): #20     Future._propagateToListeners (dart:async/future_impl.dart:799:13)
E/flutter (31184): #21     Future._completeError (dart:async/future_impl.dart:574:5)
E/flutter (31184): #22     Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:665:7)
E/flutter (31184): #23     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (31184): #24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

and then few more times the same stacktrace

additional context

What backend are you trying to use? - Hasura
Related to #856

Dependencies:
|-- data_client 1.0.0
|   |-- equatable...
|   |-- firebase_auth...
|   |-- flutter...
|   |-- graphql 5.1.2-beta.5
|   |   |-- collection...
|   |   |-- gql...
|   |   |-- gql_dedupe_link 2.0.3
|   |   |   |-- async...
|   |   |   |-- gql_exec...
|   |   |   |-- gql_link...
|   |   |   '-- meta...
|   |   |-- gql_error_link 0.2.3
|   |   |   |-- async...
|   |   |   |-- gql_exec...
|   |   |   |-- gql_link...
|   |   |   '-- meta...
|   |   |-- gql_exec 0.4.1
|   |   |   |-- collection...
|   |   |   |-- gql...
|   |   |   '-- meta...
|   |   |-- gql_http_link 0.4.4+1
|   |   |   |-- gql...
|   |   |   |-- gql_exec...
|   |   |   |-- gql_link...
|   |   |   |-- http...
|   |   |   |-- http_parser...
|   |   |   '-- meta...
|   |   |-- gql_link 0.5.1-alpha+1660256327632
|   |   |   |-- gql...
|   |   |   |-- gql_exec...
|   |   |   '-- meta...
|   |   |-- gql_transform_link 0.2.3-alpha+1660256327655
|   |   |   |-- gql_exec...
|   |   |   '-- gql_link...
|   |   |-- hive 2.2.3
|   |   |   |-- crypto...
|   |   |   '-- meta...
|   |   |-- http...
|   |   |-- meta...
|   |   |-- normalize 0.7.2
|   |   |   |-- collection...
|   |   |   '-- gql...
|   |   |-- path...
|   |   |-- rxdart...
|   |   |-- stream_channel...
|   |   |-- uuid 3.0.6
|   |   |   '-- crypto...
|   |   '-- web_socket_channel 2.2.0
|   |       |-- async...
|   |       |-- crypto...
|   |       '-- stream_channel...
|   |-- http...
|   |-- intl...
|   |-- json_annotation...
|   |-- log...
|   |-- rxdart...
|   '-- simple_date...

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.6, on macOS 12.6 21G115 darwin-arm, locale pl-PL)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.72.2)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

I was trying to reproduce the problem on the starwars example app, but it works just fine with that:

Start the example starwars server locally and run the example starwars app on Android emulator
Turn airplane mode on the emulator
Websocket gets disconnected
You can see I/flutter ( 5978): There was an error causing connection lost: SocketException: Connection failed (OS Error: Network is unreachable, errno = 101), address = <IP_ADDRESS>, port = 3000
But after turning on the internet the connection restores with I/flutter ( 5978): Initialising connection

In case of my CustomWsLink I was able to capture the exception in onStreamError of SocketClient and reconnect as follows. When the WebSocketChannelException is thrown, the onStreamError is called and this is how I can react to this by repeatedly trying to reconnect. It's a proof of concept, but for now it seems to work better than without it.
  void _connectOrReconnect(String token) {
    _connection?.client.dispose();

    _connection = _Connection(
      client: SocketClient(
        url,
        // the default implementation does nothing with the exception
        onStreamError: (error, stackTrace) {
          Logger(tag: 'CustomWsLink').e('Socket error:', error, stackTrace);
          Future<void>.delayed(const Duration(milliseconds: 1500))
              .then((value) {
            _connectOrReconnect(token);
          });
        },
        config: SocketClientConfig(
          autoReconnect: true,
          inactivityTimeout: const Duration(seconds: 30),
          queryAndMutationTimeout: const Duration(seconds: 10),
          delayBetweenReconnectionAttempts: const Duration(seconds: 5),
          connectFn: (uri, protocols) async {
            await getToken();
            var channel = WebSocketChannel.connect(uri, protocols: protocols);
            // ignore: join_return_with_assignment
            channel = channel.forGraphQLIsolate();

            return channel;
          },
          initialPayload: () async {
            return {
              'headers': {
                'Authorization': await getToken(),
                'X-Hasura-User-Id': userUid,
                'X-Hasura-Role': 'user',
                'Content-Type': 'application/json',
              },
            };
          },
        ),
      ),
      token: token,
    );
  }

Sorry to be late there, I will try to reproduce it in some of the new demo

From some digging I'm doing ( facing the same problem, errors on the stream are swallowed along the way ) seems the problem is the SocketClient which assumes a default onStreamError which only prints errors.
My idea would be to create with a custom websocketlink which passes a streamError function which ( depending on the type of error ) will trigger the reconnect. More on that later.

I can confirm it works. ( after better reading your comments i've seen that you've reached the same conclusions ).
The fix would be to do something like (on WebSocketLink)
@override
  void connectOrReconnect() {
    _socketClient?.dispose();
    _socketClient = graphql.SocketClient(url,
        config: config,
        protocol: subProtocol,
        onStreamError: _reconnectOnNetworkError);
  }
_reconnectOnNetworkError(err, stack) {
    if (err is NetworkException &&
        err.type == NetworkExceptionType.connectionFailure) {
      connectOrReconnect();
      return;
    }
    // we have no way of capturing the stream here. if we do nothing the
    // error is just swallowed
    throw err;
  }

This NetworkException is a custom exception that I use on my custom WebSocketChannel, but any other mechanism can be used to detect if it is a recoverable exception or not.


Bitcode bundle could not be generated

Xcode Version :  12. 4
PayU Version : Latest, just updated

We are already looking into the issue.

@RishabhSRS  This issue is fixed, please use version 2.1.1. Thanks


Fix LocBaml link

Fixes dotnet/docs.zh-cn#435
Fixes #3623

Hi! Thanks a bunch for this fix. I've edited your comment to use the word "Fixes" which automatically causes those issues to be closed when this PR is merged.

@Thraka I know fixes, but I don't think it's appropriate to close the second issue.

I think that should be fine @imba-tjd. I missed that the sample was merged back in May. I also updated the original FwLink to go to the new location. Is there anything else we're missing?

@mairaw 🆗


[REQUEST] vRight,vLeft in one file

Having an option to export velocityRight, velocityLeft in single file mode (same for accelerationRight, accelerationLeft).

*From the requests we send, this one is the highest priority for us.

Added in 4a152e0
I'll update the readme with the new symbols.


Ignores Windows 11 start and search

Is this just future proofing or is SearchHost present and used in windows 10 as well?

It's not used in the stable Windows 10 builds, as far as I know.


Define shared model across Android, web, and Cloud Functions

@os-micmec FYI tracking bug also here

Perhaps something like JSON Schema could also work?
Code gen:

https://github.com/pwall567/json-kotlin-schema-codegen
https://github.com/jimblackler/jsonschematypes/tree/master/codegen

There's currently no easy way to do this. We could use something like quicktype to generate model code from JSON Schema, but that would require data to be converted to JSON and then parse (wasteful), and it's not as customizable. Firestore doesn't support this by design (filed this FR), so we'd need to roll our own. Dart isn't supported on Cloud Functions (see FR, so even if we can share model and logic between Angular and Android, we'd still need another impl there.

A good place to start might be https://sianloong90.medium.com/step-by-step-build-a-kotlin-multiplatform-library-sdk-part-1-e973bdbfa55d

A few more notes:

Kotlin immutable collections looked promising for cross-platform immutable collections, but they don't export any JS classes: https://github.com/Kotlin/kotlinx.collections.immutable/issues/172
There's a multiplatform Firebase maintained by GitLiv here: https://github.com/GitLiveApp/firebase-kotlin-sdk. It implements most of the SDK, not sure how hard it would be to migrate auth etc, but might be worth a look.

@jcqli Moving out of this iteration for now since we punted on this.


Add matcher to part of the date

I made the new matches but seems that have someones created some that are alike.
Is there a matcher that still make sense?

All looks good.


[SPARK-39420][SQL] Support ANALYZE TABLE on Datasource V2 tables

What changes were proposed in this pull request?
Support ANALYZE TABLE on v2 tables.
Through this PR, users can use the ANALYZE TABLE statement on Datasourcev2 to analyze the table. Since the API of Datasourcev2 does not support the NOSCAN and PARTITION features, currently using the Analyze table with PARTITION, COLUMNS and NOSCAN statements will report an error.
The statistics obtained through the analysis will be stored in the SessionState to be used by statements of the DESC EXTENDED. In the future, the data in the SessionState can be provided to DataSourceV2Relation to reduce repeated statistics.

Why are the changes needed?
ANALYZE TABLE syntax for aligning Datasourcev1 and v2

Does this PR introduce any user-facing change?
No

How was this patch tested?
Add new test

cc @MaxGekk @cloud-fan @hvanhovell

Hi @Hisoka-X
Good day. I would like to know whether this pull request to for spark sql query with delta lake delta table v2.
I simply encounter this issue with spark 3.2 (delta lake 1.2) and spark 3.3 (delta lake 2.2), which I think this pull request could help resolve this issue.

I saw this ANALYZE TABLE command is originated from spark : https://spark.apache.org/docs/3.3.1/sql-ref-syntax-aux-analyze-table.html#analyze-table. But delta lake documentation do not mention ANALYZE TABLE usage https://docs.delta.io/2.2.0/delta-intro.html.
Since this pull request will merge to master branch and want to know whether it will backfill to spark 3.2, spark 3.3 also.
Thank you
Best regards,
Jerry

Hi @HyukjinKwon ,
I would like to know this feature will be backfilled to spark 3.2, spark 3.3 also? It is important for us to review our OSS spark version.
Best regards,
Jerry Lin

Why do we not add a new SupportsGatherStatistics, to allow V2 to implement necessities for ANALYZE TABLE support? Or do we expect V2 to provide sql extension with custom functions? When using different V2 provider together, each will have to implement different functions? User would be required to understand table kind? ANALYZE TABLE seems like a good abstraction? Just like CREATE is only specific in options?

@MaxGekk, @Hisoka-X, do you have any plans to reconsider this?
I think the ANALYZE command is still important, even for Delta. By default it only collects stats for 32 columns, and it doesn't has all the stats, for example distinct count (which is important for query planning), or histogram.


Migrate article: Technical Emails #1080

Migrated help article : Technical Emails

Thank you @laysauchoa and @anelook for reviewing this PR.
@dragonlancewu and I have replaced the screenshot and added the updates as per review.


Update README.md

Update docs
Update basic rmf installation. will soon require to cherry-pick instructions from the original doc here, to create a comprehensive guide.

Apologize for the multiple force-push as all past commits required sign-off.


Display error occurs after a few hours of running

Occurs after running for a period of time. Requires reset in the terminal window to get back to normal. The attachment is not the full error as scrolling is disabled and cannot grab the entire error.
errors.txt

When resizing the window, it can be crashed relatively quickly, especially with large window sizes (500x200 or so). By accident, it occurred several times in maybe 2-3 minutes (trying out how it looked best in Cool-Retro-Term, but it should be unrelated to the actual terminal emulator used).
By running goterm 2> /tmp/error.log, I got the following error.log
I would guess the first line is the important one:
fatal error: concurrent map iteration and map write

Probably gomatrix requires some locking.

It also crashes for me, mostly after splitting the terminal in kitty, however not everytime.
gomatrix.log


Psych Engine Feature Idea

What is your question?
Idea: Add a shop. It would make gameplay a lot better if you could start with a health boost or something. (Note: You WOULD have an option when you first start up the game to enable/disable the shop.) Ideas for shop items: Buying Weeks; You would have to go through the weeks in order to get the next weeks, leading up to week 7. 2nd Idea: Add Gameplay Boosts; This would mean you could spend currency (Of your choice) and buy boost that would give you a health boost, or a health regeneration effect. 3rd Idea: Currency by Beating Songs; If you beat a song, you get money. You would be able to spend that money on the shop. And THAT, is my idea for Psych Engine. Please add this.


Updated UN ILO topic generation script, added variable groupings

Updated UN ILO topic generation script
Added dc/g/Custom_UN variable grouping root to un staging environment
Fixed some typos in undata who variable groupings
Updated un staging ILO bt version
added undata_ilo search index
added undata_ilo embeddings and topic cache

I see your comments, but not the commit?

I see your comments, but not the commit?

Commented a little too early- just pushed


chore: release version 0.2.1

Landed in https://github.com/metarhia/metasql/commit/90f51daf6211ad7f52c9c67380ea433aa796d01a


Deprecate in favor of rack-attack

This is a really large conceptual PR so I'm going to let this sit for a while to gather feedback!
RackAttack has much more active maintenance & is more mature. I believe we should nudge those looking to do rate limiting in rack apps that way to be the most helpful we can be!
Fixes #43
Fixes #55

@gkellogg I noticed a few dependency updates from you & dependabot. I was wondering if you wanted to chime in here?
@artob as well, but I know you have been away from open source stuffs lately :)

@FreekingDean I don't really have an opinion; dependency updates would be due to the RDF.rb 3.1 release and dropping support for older Ruby versions, and of course versions of Rack < 2.0.
I think the way to probably handle it is to do necessary updates to make this gem current, and add a [DEPRECATION] warning that points people to RackAttack and that this gem is now deprecated and will not receive any substantial updates. [DEPRECATION] probably needs to go in the gemspec post_install_message and all of the initialize methods for each module.
As the author and only person who can update RubyGems, @artob would need to either add an owner to the library (preferable) or do the push to RubyGems for whatever comes out of this.
I see it's used by 236 different repos, although the gem spec looks pretty old.
See https://github.com/ruby-rdf/rack-linkeddata/blob/develop/rack-linkeddata.gemspec for something that would be compatible with where we are with Ruby RDF.

I have rubygem push access on this! I just didn't want to make a decision
in a vacuum :)
Thanks!
--
Dean Galvin
Software Developer
M:<PHONE_NUMBER>
On Wed, Dec 18, 2019 at 3:31 PM Gregg Kellogg<EMAIL_ADDRESS>wrote:

@FreekingDean https://github.com/FreekingDean I don't really have an
opinion; dependency updates would be due to the RDF.rb 3.1 release and
dropping support for older Ruby versions, and of course versions of Rack <
2.0.
I think the way to probably handle it is to do necessary updates to make
this gem current, and add a [DEPRECATION] warning that points people to
RackAttack and that this gem is now deprecated and will not receive any
substantial updates. [DEPRECATION] probably needs to go in the gemspec
post_install_message and all of the initialize methods for each module.
As the author and only person who can update RubyGems, @artob
https://github.com/artob would need to either add an owner to the
library (preferable) or do the push to RubyGems for whatever comes out of
this.
I see it's used by 236 different repos, although the gem spec looks pretty
old.
See
https://github.com/ruby-rdf/rack-linkeddata/blob/develop/rack-linkeddata.gemspec
for something that would be compatible with where we are with Ruby RDF.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dryruby/rack-throttle/pull/51?email_source=notifications&email_token=AAOAJXMB67Q6SHZWRIV7WXLQZKCATA5CNFSM4I4XAMWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHHMX4Q#issuecomment-567200754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOAJXONZUMETK72V67OPV3QZKCATANCNFSM4I4XAMWA
.

Thanks that must be new :)
Thanks!
--
Dean Galvin
Software Developer
M:<PHONE_NUMBER>
On Fri, Sep 25, 2020 at 10:13 AM sandstrom<EMAIL_ADDRESS>wrote:

@sandstrom commented on this pull request.
I think this is a very sound adjustment. 👍🏻 on the merge
Just one data point, but I found this quickly, but didn't notice
rack-attack until quite a while later.
In README.md
https://github.com/dryruby/rack-throttle/pull/51#discussion_r495015989:

@@ -1,3 +1,13 @@

+DEPRECATED We suggest using rack-attack instead
+===============================================

+https://github.com/kickstarter/rack-attack Accomplishes the same goal as rack-throttle,
⬇ Suggested change
-https://github.com/kickstarter/rack-attack Accomplishes the same goal as rack-throttle,
+https://github.com/rack/rack-attack Accomplishes the same goal as rack-throttle,

In lib/rack/throttle/limiter.rb
https://github.com/dryruby/rack-throttle/pull/51#discussion_r495016144:

@@ -23,6 +23,7 @@ class Limiter

 # @option options [String]  :message    ("Rate Limit Exceeded")

 # @option options [String]  :type       ("text/plain; charset=utf-8")

 def initialize(app, options = {})

 warn "[DEPRECATION] `rack-throttle` is deprecated.  Please use consider using `rack-attack` https://github.com/kickstarter/rack-attack instead."

⬇ Suggested change

 warn "[DEPRECATION] `rack-throttle` is deprecated.  Please use consider using `rack-attack` https://github.com/kickstarter/rack-attack instead."

 warn "[DEPRECATION] `rack-throttle` is deprecated.  Please use consider using `rack-attack` https://github.com/rack/rack-attack instead."

In rack-throttle.gemspec
https://github.com/dryruby/rack-throttle/pull/51#discussion_r495016276:

@@ -38,5 +38,9 @@ Gem::Specification.new do |gem|

gem.add_runtime_dependency     'rack',      '>= 1.0.0'

gem.post_install_message       = nil

gem.post_install_message       = <<-POST

+rack-throttle is no longer under active development. Please consider
+using https://github.com/kickstarter/rack-attack instead as it is
⬇ Suggested change
-using https://github.com/kickstarter/rack-attack instead as it is
+using https://github.com/rack/rack-attack instead as it is
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dryruby/rack-throttle/pull/51#pullrequestreview-496460302,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOAJXODAEUSQTV4DIMG443SHSQQPANCNFSM4I4XAMWA
.

@dryruby @FreekingDean any movement on this? This would help save some time for developers looking into rate limiting for rack-based applications.


Remove torcx from bootengine

Follow-up to https://github.com/flatcar/scripts/pull/1216.

PR: https://github.com/flatcar/bootengine/pull/77


update zora chain details

Description
updates the name and rpc/block explorer urls for zora network.
Additional Information

[✅] I read the contributing docs (if this is your first contribution)

updated with changeset!


zkVM: fix build issues arising from undefined _end

When building zkvm as a host-side staticlib to link with platforms such as go, the build can fail due to an undefined _end symbol. Hide this when building for the host.
Fixes: #1329

It seems strange to me that the _end is only hidden on non-zkvm targets. This means that sys_alloc_aligned is still compiled and exported, but is probably incorrect because parts of it are changed.
I actually preferred the previous approach where no syscalls were exported or even compiled on the host as they are not needed here. Can we maybe keep this and just make sure that the guest mod is not behind a target flag?
If not, I think it would still be better to disable the entire sys_alloc_aligned function on non-zkvm targets (but nothing else). Rather than have it compile a somehow modified version.

It's nice to have the IDE do analysis and references. Thus the guest code is still meant to be able to be compiled on a target that it won't run on.


[Feature Request] Support DELETE command with Deletion Vectors

Feature request
Overview & Motivation
This task is part of the Deletion Vectors to speed up DML operations. Refer to the umbrella issue for the design and details.
The scope of this issue is to support the DELETE command with Deletion Vectors (DVs). In the curent implementation, DELETE rewrites all files having at least one row that matches the DELETE condition. The rewrite removes the matching rows. This could be an expensive operation if the DELETE is touching only few rows per file. Using DVs, the rewrites can be avoided. DVs are separate metadata files (reference stored in AddFile metadata) for each data file containing the indexes of the rows that are marked as deleted. For the protocol details of DVs, see Deletion Vectors
High level implementation details
Current implementation of the DELETE has following steps:

Step 1: Find the data files in current snapshot that have rows matching the DELETE condition (deleteCondition)
Step 2: Replace the TahoeFileIndex in the original table scan with a TahoeBatchFileIndex that contains file list generated in Step 1.
Step 3: Rewrite the files using the scan created in Step 2 after Filter(!deleteCondition)
Step 4: Use the Delta protocol to remove all files from Step 1 and add new files generated in Step 3.

DELETE with DVs modifies the above steps as follows:

Step 1: (not changed) Find the data files in current snapshot that have rows matching the deleteCondition. Call the file list generated as candidateFiles.
Step 2: Replace the TahoeFileIndex in the original table scan with a TahoeBatchFileIndex that contains the candidateFiles generated in Step 1. In addition, we also modify the Scan and TahoeBatchFileIndex to select few additional metadata columns.

_metadata.file_path - absolute path of the data file
row_index - For each this number correspond to the position of this row in the data file from which it is read.

Step 3: Has multiple sub-steps

Create a data frame (targetDf) from Scan created in Step 2 and with Filter(deleteCondition).

filesWithDvDf = targetDf
.select("_metadata.file_path", "row_index")
.join(candidateFiles.toDF().select("file_path", "deletionVector", joinExpr = _metadata.file_path = file_path)
.agg(new BitmapAggregator(col("row_index")).groupBy("_metadata.file_path, "deletionVector")
.select("_metadata.file_path", "bitmap", "bitmapRowCount")

In the above map, we are basically aggregating all row_indexes that match the deleteCondition into a bitmap. This is a custom UDAF implementation that generates a RoaringArrayBitmap.
Before aggregating we join the each file with its existing DV, so that when a new DV is rewritten it includes the existing DVs and the existing rows marked as deleted are still marked as deleted.

Step 4: Go through the results in filesWithDvDf and generates AddFile actions with DVs and also the remove file actions for candidateFileList. There are some corner cases here. If the DELETE removes all rows in the file, mark the files as completely deleted using the RemoveFile instead of adding a AddFile with DV that marks all rows as deleted. Commit the files actions to Delta table using the protocol.

Project Plan

ID
Task description
PR
Status
Author

1
Bitmap aggregator UDAF
delta-io/delta#1592
DONE
@vkorukanti

2
Update DeltaParquetFileFormat to populate row index when the schema contains the columns. In order to generate the row_index, we disable file splitting and filter pushdown into reader. This is temporary until we upgrade to Parquet reader in Spark 3.4 that generates the row_indexes with file splitting and filter pushdown.
delta-io/delta#1593
DONE
@vkorukanti

3
Update DeleteCommand to use DVs based on a configuration option and whether DV feature is enabled on the table or not.
delta-io/delta#1596
DONE
@vkorukanti

4
Recompute stats and set tightBounds=wide for the data files that have DVs generated. TODO code pointer is here.
delta-io/delta#1661
DONE
@xupefei

5
Recalculate stats for files with DVs that don't have stats to begin with

6
DV Metrics

7
Combine multiple DVs into one DV file
delta-io/delta#1670
DONE
@vkorukanti

Willingness to contribute
The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?

[x] Yes. I can contribute this feature independently.
[ ] Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
[ ] No. I cannot contribute this feature at this time.

Releasing in 2.4.0

Items 5 and 6 are completed?


Can the "No feed was returned" error be more human readable?

Good idea! What did you have in mind?

I'm actually not super familiar with the Google Sheets API and why this error occurred. Do you know why it happens?


not working...?

I added it after installation, but ie11 still has problems.

@dvlpr91 what specifically is it you're having problems with in IE11?

@dvlpr91 what specifically is it you're having problems with in IE11?

I'm trying to use "laravel", "inertiajs" and "svelte".
The error that occurs in "ie11" is very complex, so it is not easy to explain. However, by adding and setting "laravel-mix-polyfill", normal output is not performed in "ie11". ("polyfill" and "transpile" problems?, I don't know. If "laravel-mix-polyfill" is used, "ie11" and "chrome" always print the same?)


[config.toml] Add Deterministic extension load order

This is no longer needed (Prior reasons for this no longer apply)


How to customize airline for one terminal buffer?

Hi,
I'm trying to understand whether it's possible to customize the airline for one single terminal buffer. I know that the terminal extension can be disabled altogether with
let g:airline#extensions#term#enabled = 0

but I don't want that.
My use case is a plug-in I'm writing, where I'm using one terminal buffer, whose airline I'd like to customize. What I'm doing is
function! MyPlugin(...)
    if &filetype == 'MyPluginFileType'
        let w:airline_section_a = 'MyPlugin'
        ...
    endif
endfunction
call airline#add_statusline_func('MyPlugin')

as suggested in the docs, but the terminal extension seems to be overriding whatever is set in a terminal buffer.
Is there any way to achieve what I need?

environment

vim: NVIM v0.4.3
vim-airline: 0.11
OS: Linux Fedora 31
Have you reproduced with a minimal vimrc: yes
What is your airline configuration: not relevant

if you are using terminal:

not relevant

if you are using Neovim:

does it happen in Vim: yes

I believe this is hard to do currently, because how should airline know, to do a special highlighting only for a particular terminal window but not for another one?

Yeah I understand that. Though, I'm setting setlocal filetype=MyPluginFileType right after opening a terminal buffer, thus in principle one can discern that specific buffer from other terminal buffers. It just seems that airline is prioritising buftype=terminal over filetype=MyPluginFileType.

Addressed in 72a19ed9edb252b685dcf14fe0724d37756cab65


Add changelog in with custom mine menu

might be possible ... somehow...

Did what I could in Unabridged. It should work much better in Abridged.


Capture transaction data

i want to capture the transaction data when the user finish the payment
    def complete_process(self):
        """
        this completes the transaction by either capturing or authorizing the payment
        registers an endpoint that would be redirected after approval.
        Parameters
        ----------
        """
        with self.app.app_context():
            @current_app.route(f'/{self.return_url_endpoint}')
            def complete_process():
                res=''
                if self.intent=="CAPTURE":
                    res=self._capture()
                elif self.intent=="AUTHORIZE":
                    res=self._authorize()
                else:
                    res='not successful'
                return res  #<--- You are showing the data

So is there a way to get that data? and bind it with  the user? for give to the user more roles after payment
or i need to overwrite the class?
Payer = Sandbox('USD', 10, 'shirts', 6, 'nice shirts', 10, 20, 2, 3, 7, 2, 'CAPTURE', 'http://localhost:8080/okme',
                'okme', 'http://localhost:8080/')
Payer.init_app(app)

Payer.generate_access_token(client_id, client_secret_key)

Payer.create_order_route('shirts')

Payer.complete_process()

@app.route("/")
def home():
    return render_template("pago/paypal.html")
@app.route("/okme")
def okme():
    if request.method == 'GET':
        print("GET")
        print(request.data)
    if request.method == 'POST':
        print("POST")
        print(request.get_json())

if __name__ == '__main__':
    app.run(debug=False,host="localhost",port="8080")

Inside the complete_process method , it returns the transaction data to the
browser, I haven't written any code to capture the data yet to bind it to
the user. The project is still in development , thanks for your involvement.
On Wed, Jan 18, 2023, 7:22 PM EnriqueGautoSand @.***>
wrote:

i wanna to capture the transaction data when finishes the payment
def complete_process(self):
    """
    this completes the transaction by either capturing or authorizing the payment
    registers an endpoint that would be redirected after approval.
    Parameters
    ----------
    """
    with self.app.app_context():
        @current_app.route(f'/{self.return_url_endpoint}')
        def complete_process():
            res=''
            if self.intent=="CAPTURE":
                res=self._capture()
            elif self.intent=="AUTHORIZE":
                res=self._authorize()
            else:
                res='not successful'
            return res  #<--- You are showing the data

So is there a way to get that data? and bind it with the user? for give to
the user more roles after payment
or i need to overwrite the class?
Payer = Sandbox('USD', 10, 'shirts', 6, 'nice shirts', 10, 20, 2, 3, 7, 2, 'CAPTURE', 'http://localhost:8080/okme',
'okme', 'http://localhost:8080/')
Payer.init_app(app)
Payer.generate_access_token(client_id, client_secret_key)
Payer.create_order_route('shirts')
Payer.complete_process()
@app.route("/")
def home():
return render_template("pago/paypal.html")
@app.route("/okme")
def okme():
if request.method == 'GET':
print("GET")
print(request.data)
if request.method == 'POST':
print("POST")
print(request.get_json())
if name == 'main':
app.run(debug=False,host="localhost",port="8080")
—
Reply to this email directly, view it on GitHub
https://github.com/jerrygeorge360/flaskpaypallib/issues/4, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AU7VY2FICJJCUK4GNFONZDDWTAYGRANCNFSM6AAAAAAT7M5ZU4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Remove src_nodata from Raster.reproject()

The proposal is to remove the ability to force a source nodata value in Raster.reproject().
Instead, we would instruct users to in the docstring that, to use a different nodata, use raster.set_nodata before reproject.
See discussion in Jan 2024 hack GDoc for more info.

The operation on Mask works because we always convert the bool array to uint8, then perform the operation, then convert back. This is done for all ops, to circumvent any nodata issues (nodata is not an attribute of Mask).
Is this still an issue?

The operation on Mask works because we always convert the bool array to uint8, then perform the operation, then convert back. This is done for all ops, to circumvent any nodata issues (nodata is not an attribute of Mask).
Is this still an issue?

Yes, the operation can work on Masks, that's not the problem. The problem would arise if we remove src_nodata as suggested in this issue. Therefore, maybe we should close that issue and leave it as it is?

What about just renaming the argument force_source_nodata then? (because src_ is not used anywhere else in Raster, and nodata is usually defined so it really is a "forcing" operation)
I can do this while addressing #449 and #445

What about just renaming the argument to force_source_nodata then? (because src_ is not used anywhere else in Raster, and nodata is usually defined so it really is a "forcing" operation) I can do this while addressing #449 and #445

nodata is defined, unless it is None, which is the case for our landsat examples. But I'm fine with your suggestion if you think that's clearer.


Webhooks only Http seems to be supported in v6

Issue summary
Looking at the code here, is it not possible to process AWS Eventbridge or Google Pub/sub events? It seems like its deliberate in the code to not process these webhook handlers, but the docs say that it is possible to use AWS Eventbridge. What's the workaround? Should I downgrade to v5.3.0?

@shopify/shopify-api version: 6.1.0
Node version: 16.15.1
Operating system: MacOS 13.1 Ventura

Expected behavior
I'm able to use DeliveryMethod.Eventbridge type handlers to send webhooks to AWS Eventbridge.
Actual behavior
I get the log [shopify-app/ERROR] Failed to process webhook: Error: No HTTP webhooks registered for topic CARTS_UPDATE
Steps to reproduce the problem

Follow the instructions here and create a new node application.
Run npm run dev and install the app.
In "gdpr.js" file add...

CARTS_UPDATE: {
  deliveryMethod: DeliveryMethod.EventBridge
  arn: "your-arn-address"
}

Go to your shop. Settings > Notifications and create a webhook for "cart update" and use the ngrok url with /api/webhooks as the url.
Send a test notification or go to your shop and trigger the event.
See error in the log.

@jnrepo Why are you doing step 4 above (configuring a webhook for cart/update in the Admin)?  This is creating a HTTP webhook, which is then being triggered to your app, for which you don't have a handler.
The configuration you've added to gdpr.js
CARTS_UPDATE: {
  deliveryMethod: DeliveryMethod.EventBridge
  arn: "your-arn-address"
}

... will instruct the library to register the webhook on your behalf ... there is no need to configure it in the Admin.
When the webhook is triggered, it will send the webhook to the arn configured.  Only HTTP webhooks will be sent to your app, via /api/webhooks path (or whatever path set in the shopifyApp configuration).
The reason you're getting the error is because of the HTTP webhook being registered in step 4, which is unnecessary.

@mkevinosullivan Thanks for the clarification. It wasn't easily apparent through the docs how the AWS Eventbridge webhooks were being registered. Got the webhook setup and working, closing out.


Add descriptive errors for invalid data types

Right now, we only handle numeric and categorical data.
We should raise a descriptive error if a user pass a dtype we cannot handle.
The only common one that comes to mind now are Datetime. Are there any others?

We've done this! We have a data check for invalid target types based on problem type. For features, the woodwork library handles inferring types and controlling how those types are used by evalml.

We've done this! We have a data check for invalid target types based on problem type. For features, the woodwork library handles inferring types and controlling how those types are used by evalml.


fix: ol-notmuch moved from org-contrib to new repo

org-contrib is moving a number of files to separate repositories, including ol-notmuch.el. ol-notmuch.el is set up by default in the notmuch module, but was no longer installed by default, resulting in a Problems while trying to load feature ‘ol-notmuch’ message when opening the org-agenda.
The new repo location is referenced in the file at org-contrib: https://git.sr.ht/~bzg/org-contrib/tree/e14dfea5/item/lisp/ol-notmuch.el#L8

Great that ol-notmuch is now on MELPA. I've updated the PR. Thank you @hlissner.

LGTM. Thanks for your help!


uploaded full friends with validations

It appears this branch contains merge conflict ?__? and as such cannot be merged. Check out the conflicting files here, then resubmit a clean pull request for them:
https://github.com/dallaspythondojo/python/pull/184


Admin: Implement user invites with email accept

As a hack, we currently create "phantom" users when inviting a user who does not exist to an org or project. We should instead track invites in a separate table and email people to sign up. (We will not separately ask people to accept/reject invites for now. Upon signing up, all invitations should automatically be applied.)
Proposed DB schema:
CREATE TABLE user_invites (
    id UUID NOT NULL DEFAULT uuid_generate_v4() PRIMARY KEY,
    -- Email invited to join
    email TEXT NOT NULL,
    -- ID of the user who sent the invite (e.g. to show something like "<admin name> has invited you to org <org name>")
    invited_by_user_id UUID REFERENCES users (id) ON DELETE SET NULL,
    -- Optional org ID and role to grant the user when accepting
    org_id UUID REFERENCES organizations (id) ON DELETE CASCADE,
    org_role_id UUID REFERENCES org_roles (id) ON DELETE CASCADE,
    -- Optional project ID and role to grant the user when accepting
    project_id UUID REFERENCES projects (id) ON DELETE CASCADE,
    project_role_id UUID REFERENCES project_roles (id) ON DELETE CASCADE,
    -- Metadata
    created_on TIMESTAMPTZ NOT NULL DEFAULT now()
);

Flow:

Add an invite to the user_invites table when adding an org/project member whose email does not match an existing user
Send an email to the invitee telling them to sign up
In the signup flow, lookup in user_invites by email and turn all invitations into roles for the user

what would be the default role if not specified ? This user will be added to all user group of the org if orgId is specified but if project id is specified then it will not be added all user group. Specifying either org or project is mandatory ?


Add a Memory Game as Extension

Memory Card Game Extension
Overview
The Memory Card Game is a fun and interactive addition to the application, aimed at enhancing user engagement and providing a delightful break from the main functionalities. This game is designed for users of all ages and helps improve memory and concentration skills.
Features
Game Board:
A grid of cards, typically 4x4 or 6x6, depending on the difficulty level.
Each card has a hidden image or icon, with pairs of matching images scattered throughout the grid.
Game Mechanics:
Players flip two cards per turn.
If the cards match, they remain face-up. If not, they flip back over after a short delay.
The goal is to match all pairs with the fewest number of turns or in the shortest time possible.

Already added to this repository #118. Closing it