enhancement: Add a new enhancement 'filesystem-trim'

#836

Trim might be time-consuming if the option UnmapMarkSnapChainRemoved to true. Is a new snapshot creatable while trimming the filesystem?

Trim might be time-consuming if the option UnmapMarkSnapChainRemoved is true. Is a new snapshot creatable while trimming the filesystem?

Shouldn't snapshot-related operations (trim, snapshot, purge/prune, merge/coalesce) be exclusive? otherwise, during the trim, how can we ensure these operations? @shuo-wu

Is this specific for which fs mount or actually it's quite general?

It is quite general, and both ext4 and xfs support the option. It can make the space reclamation transparent to users.
We can have a new ticket for checking any potential issue and performance influence (might slow down the deletion operation) when the option is added.

I think we need to have a setting that allows users to customize the mount options including discard. Since with the setting we introduced, the trim requests would lead to all snapshots becoming removed. This means each file removal after adding discard would invalidate all snapshots.

You are right...BTW, user might add the mount option discard in the storage class' mountOptions, so it will lead to this issue you mentioned. Probably need to mention this point in the trim feature doc first.

Sure. I will mention it the doc later.

Is there any ETA for the release  with this feature by any chance?


Add Graph API

Fix #80

Summary by CodeRabbit

New Features

Introduced a new driver system to enhance database interactions.
Added support for multiple graph database types with easy configuration.
Implemented new methods for fetching and processing graph data and history.

Enhancements

Improved initialization process for database connections.
Streamlined graph data extraction and importation into the database.

Refactor

Generalized database driver usage to accommodate various graph databases.
Updated functions to utilize the new driver interface for database operations.

@snakajima @isamu please review the PR, I'm planing to add a followup PR that will include support to another Graph Database

I tried to run, and I got error.
$ python main.py  --port 8081
Traceback (most recent call last):
  File "/Users/isamu/instagraph/main.py", line 14, in <module>
    from drivers.neo4j import Neo4j
  File "/Users/isamu/instagraph/drivers/neo4j.py", line 4, in <module>
    from driver import Driver
ModuleNotFoundError: No module named 'driver'

diff --git a/drivers/neo4j.py b/drivers/neo4j.py
index 819fce3..06c398d 100644
--- a/drivers/neo4j.py
+++ b/drivers/neo4j.py
@@ -1,7 +1,7 @@
 import os
 from typing import Any

-from driver import Driver
+from drivers.driver import Driver
 from neo4j import GraphDatabase

then I got different error
File "/Users/isamu/.pyenv/versions/3.10.3/lib/python3.10/socket.py", line 955, in getaddrinfo
   for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

The latter is a problem with my settings. An error occurred on the main branch as well.
However, the main branch runs without crashing.
Neo4j database: Cannot resolve address xxxxx

I fixed neo4j's settings and try it again, but it seems that I can't get data from the db.
After that, when I switched to the main branch, I was able to check the data on the main branch.
It seemed that the save was successful.

This condition causes an error.
https://github.com/yoheinakajima/instagraph/blob/main/templates/index.html#L265-L268

@isamu  hanks for the

I tried to run, and I got error.
$ python main.py  --port 8081
Traceback (most recent call last):
  File "/Users/isamu/instagraph/main.py", line 14, in <module>
    from drivers.neo4j import Neo4j
  File "/Users/isamu/instagraph/drivers/neo4j.py", line 4, in <module>
    from driver import Driver
ModuleNotFoundError: No module named 'driver'

Thanks for the feedback... Very strange I don't understand how come I didn't get this error, I'll fix it.

I just tried it and it seems to work:
Here are the screenshots from both Neo4J browser and Instagraph

And looking at the logs it seems to work OK
<IP_ADDRESS> - - [18/Dec/2023 14:15:28] "GET / HTTP/1.1" 200 -
<IP_ADDRESS> - - [18/Dec/2023 14:15:29] "GET /favicon.ico HTTP/1.1" 404 -
<IP_ADDRESS> - - [18/Dec/2023 14:15:30] "GET /get_graph_history HTTP/1.1" 200 -
web scrape done
starting openai call Help me understand following by describing as a detailed knowledge graph: September 19, 2023 The ability to scale out a database is crucial, in this short post I would like to walk through how FalkorDB scales out. As a quick recap I should mention that FalkorDB is a native graph database, developed as a Redis module, Falkor can manage thousands of individual graphs on a single instance. We start out with a single FalkorDB instance, let's call it primary, this instance handles both READ and WRITE operations. # create primary database docker run --name primary --rm -p 6379:6379 falkordb/falkordb As a next step we would like to isolate our reads queries from our writes, to do so we fire up a new FalkorDB instance, let's name it secondary and define it as a replica of primary. Once initial replication between the two servers is done we can divert all of our read queries to secondary and only hand off write queries to primary. # create replica docker run --name secondary --rm -p 6380:6380 falkordb/falkordb --port 6380 --replicaof <IP_ADDRESS> 6379 It is worth mentioning that we're not limited to just a single READ replica, but we can create as many READ replicas as we need, e.g. a single primary and three read replicas: replica-1, replica-2 and replica-3. A load balancer can distribute the read load among these three replicas. In the former example we've distributed the entire dataset from the primary database to multiple replicas, in cases where multiple graphs are managed on a single server e.g. primary-1 holds graphs: G-1, G-2 and G-3.We can distribute the graphs among multiple servers, for example primary-1 would manage G-1 and a new server primary-2 would host G-2 and G-3. Write operations will be routed to the appropriate server depending on the accessed graph key.Of course each one of these primary servers can have multiple read replicas. e.g. primary-1 can have two read replicas and primary-2 will replicate its dataset to just a single replica. FalkorDB version 4 introduce a quick and efficient way of replicating queries between primary and its replicas. Up until recently a WRITE query (which ran to completion and modified a graph) would be replicated as-is to all replicas, causing each replica to re-run the query, although such a replication schema is simple and straightforward it entails a number of issues: 1. Replicated query might fail due to insufficient resources or timeout. 2. Using time related or random functions within a query risks ending up with data discrepancy. # Usage of time and randomnessMATCH (a), (b) WHERE a.create < time() -100 AND b.id = tointeger(100 * rand()) CREATE (a)-[:R]->(b) Although some WRITE queries are short and quick to execute e.g. CREATE (:Country {name:'Montenegro'}) Others might include a long and costly read portions e.g. MATCH (c:Country) WITH average(c.area / c.population) as avg_density MATCH (c:Country) WHERE c.area / c.population > avg_density SET c.crowded = true It would be a waste of time re-running write queries on the replicas, the primary DB had already done the hard work, it computed the "change-set" and so instead of sending the original query to its replicas the primary sends the query's "effects", an effect is a compact binary representation of a change e.g. connect node 5 to node 72 with a new edge, or update node 81 'score' attribute to the value 4. Replicating via effects solves the two problems we've mentioned earlier, in addition to saving the time spent computing what needs to be changed on the replicas. The benchmark tests three setups: single Primary Primary & Replica seperating reads from writes Primary & 2 Replicas scaling out reads Querying a graph with ~50M nodes and ~50M edges Creating the dataset; CREATE INDEX FOR (p:Person) ON (p.id) UNWIND range(0, 1000000) AS x CREATE (p:Person {id:x}) MATCH (p:Person) UNWIND range(0, toInteger(rand() * 100)) AS x CREATE (p)-[:CONNECTED]->(:Z) READ query: MATCH (p:Person {id:$id})-[]->() return count(1) WRITE query: MATCH (a:Person {id:$a_id}) CREATE (a)-[:CONNECTED]->(:Z)
Results from Graph: (EagerResult(records=[], summary=<neo4j._work.summary.ResultSummary object at 0x7f7579d97bd0>, keys=[]), EagerResult(records=[], summary=<neo4j._work.summary.ResultSummary object at 0x7f7579da0810>, keys=[]))
<IP_ADDRESS> - - [18/Dec/2023 14:16:34] "POST /get_response_data HTTP/1.1" 200 -
<IP_ADDRESS> - - [18/Dec/2023 14:16:35] "POST /get_graph_data HTTP/1.1" 200 -

Graph is working, but history is not working.

@isamu fixed (didn't handle the response correctly)

@gkorland
Thank you for your patience.
I think it's very good PR.
I'll merge this!

🙏 next I'll push a PR that will add support to another Graph database

I'm looking forward to your graph database!


[suggestion] Add loot config

Im thinking of editing the code to make it more difficult to get a bandolier in the chests. Perhaps the option in the config file would be interesting, like editing the recipe.
Thanks for your work. :D

You can do all that with data packs already. No need to modify code or add config options.

I'm sorry to insist, but I think maybe I didn't explain myself well.
I'm just looking for a way to suppress or at least change the chance of bandoliers spawning in all the chests he's been assigned to spawn in.
From the ignorance I imagine that it is simpler to edit it in the mod itself than to add a datapack for it.

I understood what you meant. But it seems I have not actually started using loot tables to add the torch bandoliers into chests. So that's something I can fix here. After that, you could simply override the loot tables with an empty one (literally just {} in the JSON file).

Thanks a lot for the help, anyway i want to know how do, or edit a datapack for config that loot. Im working on it, looking* better say


Used interface for repo and upgraded to c++ 23

Some changes for compile compatibility between G++ on Ubuntu and Apple Clang


Replace screenshot

The new one shows the English localisation and uses the default GTK theme and icons (Adwaita).

Thanks for the contributions!


import.meta.glob() does not work with variables

Describe the bug
I'm trying to use import.meta.glob to read a folder. It works if I use a string literal. But I have been unable to make it work with a dynamic folder name. The error I get is import.meta.glob() can only accept string literals.
Reproduction
    let url = "/posts/**/*.md"
    posts = import.meta.globEager(url)

System Info
System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 AMD Ryzen 3 5300U with Radeon Graphics
    Memory: 1005.28 MB / 7.37 GB
  Binaries:
    Node: 16.8.0 - C:\Program Files\nodejs\node.EXE
    npm: 7.21.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (95.0.1020.30)
  npmPackages:
    vite: ^2.6.10 => 2.6.10

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is working as intended. Glob imports can't use variables as they are not statically analyzable. I can't find this information in the docs though so maybe we could add them.

what if a function was provided to "register interest"? so to access meta you need to do something like
meta.import.register("path")
you could also do
meta.import.register(["path","path","path"])
or do multiple calls to register. This makes it statically analyzable, and gives an immense amount of flexibility in contrast to the current system.

    switch (purl) {
      case "posts": posts = Object.entries(import.meta.globEager("/posts/**/*.md"));
      case "proj": posts = Object.entries(import.meta.globEager("/proj/**"));
    }

oh, its issue for me too，i want to build necessary chunks for dist through variable in .env or defines in vite.config.js , but it does not work for import.glob, its so bad. i want to help.

@mingyuyuyu .env variables can only be accessed if it starts with VITE_, e.g. VITE_LANG. Unless you configure envPrefix. The import.meta.glob code is correct.

what if a function was provided to "register interest"? so to access meta you need to do something like

@boehs  I'm not sure how that would work, and if it's necessary either?

maybe (can constants be analyzed?) register can take a variable that is a const to make config easy too with some restrictions (const must be defined as a raw string or array)

Yes, it would make things statically analyzable, but it would require an AST parse, which would be quite expensive for a module dev server and probably not worth the effort. A direct string identifier would be easier to handle with some string manipulation.
The code you posted looks like the right way forward. Was that the working solution?

oh, its issue for me too，i want to build necessary chunks for dist through variable in .env or defines in vite.config.js , but it does not work for import.glob, its so bad. i want to help.

@mingyuyuyu .env variables can only be accessed if it starts with VITE_, e.g. VITE_LANG. Unless you configure envPrefix. The import.meta.glob code is correct.

what if a function was provided to "register interest"? so to access meta you need to do something like

@boehs I'm not sure how that would work, and if it's necessary either?

maybe (can constants be analyzed?) register can take a variable that is a const to make config easy too with some restrictions (const must be defined as a raw string or array)

Yes, it would make things statically analyzable, but it would require an AST parse, which would be quite expensive for a module dev server and probably not worth the effort. A direct string identifier would be easier to handle with some string manipulation.
The code you posted looks like the right way forward. Was that the working solution?

yes, and it works with a config file, so that's cool, it could certainly be more elegant but for now it's fine. will leave this issue open because it could be noted in documentation, I might do that shortly


Error on hoobs

6.2.2021, 22:47:35 [Philips Air] [1000i] Unable to load firmware info: Error: unpad(): found a padding byte of 185 instead of 95 at position 140
After restart:
6.2.2021, 22:55:30 [Philips Air] [1000i] Unable to load status info: Error: unpad(): found a padding byte of 172 instead of 99 at position 124

Does the plugin still work for you?

Does the plugin still work for you?

Homekit-Automation starts only, if I select the room with the 1000i in the Home-App. Verry strange.

Bringing up the room will query the device again. Not sure why it fails on startup and works later though.

On hoobs 3.3.3 here's the LOG:
7.3.2021, 11:48:51 [HOOBS 691B@Keller@Active carbon filter@Filter Change Indication] characteristic value expected number and received undefined
7.3.2021, 11:48:51 [HOOBS 691B@Keller@Active carbon filter@Filter Life Level] characteristic value expected float and received undefined
7.3.2021, 11:48:51 [HOOBS 691B@Keller@HEPA filter@Filter Change Indication] characteristic value expected number and received undefined
7.3.2021, 11:48:51 [HOOBS 691B@Keller@HEPA filter@Filter Life Level] characteristic value expected float and received undefined
7.3.2021, 11:48:51 [HOOBS 691B@Keller<EMAIL_ADDRESS>Density] characteristic value expected float and received undefined
7.3.2021, 11:48:51 [HOOBS 691B@Keller<EMAIL_ADDRESS>Density] characteristic value expected float and received undefined
7.3.2021, 11:48:51 [HOOBS 691B@Keller@Keller@Active] characteristic value expected number and received undefined


[BUG] Going to settings and updating things (specifically s3 settings) and clicking save "once" doesn't work.

Describe the bug
I noticed a UI issue.
So I was adding S3 backup stuff, went into Settings, added the backup fields for s3... clicked Save - I 100% clicked save :-)
Went to backup, told me it was missing....
So tried it again, seems like if I click save 3 / 4 times, then I can guarantee that it saves..
Went to the backup, and now sure enough the data has been saved.
I am able to reproduce this.. I can work around it so its not major for me, but I thought I would let you know.
Log
If applicable, add the Longhorn managers' log when the issue happens.
You can also attach a Support Bundle here. You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment:

Longhorn version: 1.1.0
Installation method (e.g. Rancher Catalog App/Helm/Kubectl):
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k3s

cc @smallteeths @khushboo-rancher

@iangregsondev Could you provide the support bundle for this also? We'd like to check if the frontend requests all reach the longhorn-manager backend. Thank you.

@jenting
Sure, Actually did some screenshots, you will notice the first one, gives a CORS error, then the second one too, and finally the 3rd one seems to be ok
What I did was go in and attempt to change the backup-targer and just click save and then I liked save again for 2 more times until I saw the backup-target give a 200
Does that help ?
I have created a support bundle, is it safe to paste here ? There are some credentials for the my s3 store ???

I am using k8s with traefik, its hosted on a domain but locked down to only work on local Ips, I suppose I can open it up for you but you will need to contact me privately.
If that helps.

I am using k8s with traefik, its hosted on a domain but locked down to only work on local Ips, I suppose I can open it up for you but you will need to contact me privately.
If that helps.

Not sure which Traefik version you are using?
If you are using Traefik 2.x, there was an issue with Traefik (CORS), that issue has a workaround.
Can you try the workaround (middleware) mentioned here:
https://github.com/longhorn/longhorn/issues/1442#issuecomment-639761799

This works, it seems :-)
Thank you.
I have tried updating the backup target and it doesn't seem to get any CORS issues and it seems to update the first time.
I think you can close this issue now ?

Thanks for the update.


Maximum recursion depth exceeded during grammar loading

python 3.7
lark ab213bfc1064994a4eb50e3d450b542320a92604
Lark('_A: _A "a" |') raises RecursionError: maximum recursion depth exceeded while calling a Python object

Lark('A: A "a"') results in same error, but a: a "a" is fine. I suspect capital letters have special meaning for Lark.

Solved


[Metrics] How to fetch the download time for javascript？

https://github.com/facebook/react-native/pull/1173
I want to get the consume time for javascript download time，but I don't know how to got it？
@nicklockwood

@dolphinux - check out https://github.com/facebook/react-native/blob/60b56455c4b30cbd0cb29790a7751329576ae8d6/React/Base/RCTBatchedBridge.m#L268-L273 - notice that this is passed in to both RCTPerformanceLogger and RCTProfile - does that help?

Have a look at the Inspect Element tool, specifically in the Perf tab, that will have the data for you!


Unable to create appropriate roles coordinator node

Hi
So while trying to deploy opensearch cluster using the operator, in the yaml of type OpesearchCluster which is used to deploy the cluster, under nodePools section, the roles for coordinator nodes is supposed to be empty in order to have dedicated coordinator nodes, but upon setting this to empty, the node assumes all roles (master, data, ingest).
Are we missing something here, is there some way to have dedicated coordinator nodes(nodes that dont have any role configured)

Hi @karthikbattaram. Thanks for reporting this issue.
As the operator is implemented the roles for a node are configured using an environment variable.
The underlying issue seems to be https://github.com/opensearch-project/OpenSearch/issues/3412, opensearch cannot distinguish betwen the node roles not set at all and set to an empty list so if the operator sets an empty string it is treated as the node roles environment variable not being available and the node assumes all roles.
As a workaround you could give the nodepool the ingest role (asuming you do not use ingest in your cluster).


Adapt high-availability configuration

How to categorize this PR?

/area high-availability
/kind enhancement
/platform equinix-metal
What this PR does / why we need it:
This PR prepares components for HA by labeling them with the corresponding high-availability-config.resources.gardener.cloud/type and defining the required PodDisruptionBudget, please see this document for more information.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/6529
Special notes for your reviewer:
The metallb doesn't provide any leader election, so the high-availability-config.resources.gardener.cloud/type label is not added by this PR.
Release note:

Extension and control-plane components have been adjusted to the high availability configuration supported by Gardener as of release `v1.60`. See [this document](https://github.com/gardener/gardener/blob/master/docs/development/high-availability.md) for more information about HA in gardener.

This release adds HA support for Equinix-Metal's control-plane components when extension is deployed along with Gardener >= `v1.60`. Please see [this document](https://github.com/gardener/gardener/blob/master/docs/usage/shoot_high_availability.md) for more information about HA settings in shoot clusters.

/rebase

Special notes for your reviewer:
The [metallb](https://github.com/gardener/gardener-extension-provider-equinix-metal/tree/master/charts/internal/shoot-system-components/charts/metallb) doesn't provide any leader election, so the high-availability-config.resources.gardener.cloud/type label is not added by this PR.

Well, I should really RTFM :) thanks!


add env var for hip compiler args MIOPEN_DEBUG_HIP_COMPILER_ARGS

This PR allows the injection of compiler args for HIP kernels.

This can become a security issue, as a target for code injection. Therefore, I am closing this.


Feat/more.loading

WIP

Looks like the status always shows "Pending" even when the workflow is running:

Editing workflow template labels doesn't seem to work anymore

Two issues with Workspace labels:

Workspace labels on creation don't persist.
"Edit Labels" button should always sit to the right of last label in the list


use("sqlalchemy", version="0.7.1", hashes={"5ef95d19c31a8cd3905c697be0a7e94e70ab1926ecd4159c3e6c1cf01fc3c492"}, modes=use.auto_install) fails to shadow a local install

sql = use("sqlalchemy", version="0.7.1", hash_value="5ef95d19c31a8cd3905c697be0a7e94e70ab1926ecd4159c3e6c1cf01fc3c492", auto_install=True)
Last executed at 2021-07-05 15:50:28 in 3.49s
Downloading https://files.pythonhosted.org/packages/aa/63/5ddf80758f953fdd6669ff90300f7d58d51bf315072f930a4f1bd459d2f9/SQLAlchemy-0.7.1.tar.gz ...
Downloaded /home/thorsten/.justuse-python/packages/SQLAlchemy-0.7.1.tar.gz
Direct zipimport failed with Traceback (most recent call last):
File "", line 92, in init
KeyError: '/home/thorsten/.justuse-python/packages/SQLAlchemy-0.7.1.tar.gz'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/media/sf_Dropbox/code/justuse/src/use/use.py", line 939, in _use_str
importer = zipimport.zipimporter(path)
File "", line 94, in init
File "", line 386, in _read_directory
zipimport.ZipImportError: not a Zip file: '/home/thorsten/.justuse-python/packages/SQLAlchemy-0.7.1.tar.gz'
attempting to extract and load manually...
Extracting to /home/thorsten/.justuse-python/packages/SQLAlchemy-0.7.1.tar ...
Extracted.
sql.version
'1.3.20'

Turns out pip could install it, but the package is so old, it couldn't be imported either with time.clock() missing.
This was doomed to fail since the beginning.


Not working

It doesn't work on windows phone 8.1!

The current version of the Unity Plugin only supports Windows 10+ UWP platforms.

http://www.xbox.com/en-US/developers/creators-program/ is only on Windows 10 and Xbox One, so the plugin can't support Windows Phone 8.1


Configurable property for Marathon group deletion

When un-deploying a stream in Marathon, the group deletion force flag should be configurable, with a default to force.
Configuration is done via the following property:
boolean spring.cloud.deployer.mesos.marathon.force-group-deletion

Completed with the following previous commit, https://github.com/trustedchoice/spring-cloud-deployer-mesos/commit/70bb83c213214e18397e203cb5e99de3dfbec3dc


BlogTruyen down

nettruyen: nettruyenplus.com
blogtruyen: blogtruyen.com

https://github.com/tachiyomiorg/tachiyomi-extensions/issues/16571, blogtruyen is just down, nettruyen still works fine

Vào Th 6, 26 thg 5, 2023 lúc 09:46 Skitty @.***> đã
viết:

tachiyomiorg/tachiyomi-extensions#16571
https://github.com/tachiyomiorg/tachiyomi-extensions/issues/16571,
blogtruyen is just down, nettruyen still works fine
—
Reply to this email directly, view it on GitHub
https://github.com/Skittyblock/aidoku-community-sources/issues/345#issuecomment-1563742562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BACQNHKQ7IDCNGTBXTF2DZTXIAKRJANCNFSM6AAAAAAYNZPGPQ
.
You are receiving this because you authored the thread.

but i see netttruyen is not working...

Message ID: <Skittyblock/aidoku-community-sources/issues/345/1563742562@
github.com>

It's up again.


kube-apiserver.service file startup issue fix

removed the single quotes from --runtime-config  in kube-apiserver.service
Issue
current version will create a service file with  --runtime-config='api/all=true'  inside, which will interpreted by kubernetes as
Nov 18 22:55:28 controller-1.maas kube-apiserver[15474]: I1118 22:55:28.734101   15474 flags.go:33] FLAG: --runtime-config="'api/all=true'"
which will fail with
Nov 18 22:55:28 controller-1.maas kube-apiserver[15474]: Error: unknown api groups 'api  which will cause the apiserver so fail
removing the single quotes will solve this issue

super good job


Data of accuracy table might be missleading

💬 Questions and Help
The accuracy table that we can find in the bottom of the readme.md file is a little confusing.

Many people reported that they got better performance on android when using "best" or "bestForNavigation" and on iOS the other way around.
Can you explain how these numbers where calculated?

@mvanbeusekom
@martijn00
Since you are the maintainer of the plugin maybe you have some insights.

Hi @JulianBissekkou,
The numbers are mend as an indication and are not exact calculations. They are taken (almost 4 years ago) from the documentation on the Android and Apple websites.
For Apple you provide constants to specify the accuracy (for example kCLLocationAccuracyHundredMeters, kCLLocationAccuracyKilometer and kCLLocationAccuracyThreeKilometers) and the values in the table are taken from there (full details can be found in the Apple documentation).
I have put some effort in finding the Android specific documentation but I am unable to find it, so I can't specify the source information here.
Since the table is confusing and also not covers all the platforms we support I think it would be good to remove it all together. I will leave this issue open to track this update.


Apply CSS and get properties

Hey, I just stumbled upon this library and while it looks super neat, the examples are a bit sparse.
So this might be a bit of a stretch, but I'm basically looking to do the following:
(1) Parse some HTML,
(2) parse some CSS,
(3) apply the CSS rules to the HTML tree, and
(4) obtain style properties for each element.
Is this possible with lexbor at this point?

Hi @marcpabst

(3) apply the CSS rules to the HTML tree, and
(4) obtain style properties for each element.

On development stage.
In a week, the parser of CSS properties will be ready and apply them to the nodes of the HTML tree.

Nice! I will keep an eye on this package! Thanks!

@marcpabst
Delays for at least a week.
A lot of things to do at the main job.

@lexborisov still no news on this ?

Seems so. @vtorri
I am looking for a good HTML/CSS parser combo and so far Lexbor is the furthest next to Netsurf's codebase.  Sorry, very busy with main job.

@lexborisov Hello, I hope you are well. Is there progress with CSS work ?

@marcpabst @vtorri  @IngwiePhoenix
The first version of the styles has finally appeared.
Better late than never!
Please, see examples.
Now I am expanding the available properties for parsing.
At the moment, parsing recognizes only two properties: width and height.
All other properties are treated as customs. They also apply to elements.
Plus I will add more examples.

@lexborisov great news !

Thats awesome! :D Going to take a look at it right away.

Took a look and I love what I see.
This is pretty awesome, gonna play with this later. But this is pretty much what I needed. Great work, thanks so much!

@IngwiePhoenix
Thanks for the feedback.
This is just the beginning :)

@lexborisov do you want me to help about css properties ?

@vtorri
You can not ask, but immediately help! :)
In fact, I will now add the main (needed for further development) properties.
And I will describe the steps for adding new properties.

@vtorri
Please, see wiki instructions for add new property for parsing.
Later I will write a list of properties that can be dealt with.

@marcpabst
Done.


request: Dex parser not parsing all the inner instructions token amounts properly

example tx: https://solscan.io/tx/4ENgQPCkvpbnmxAQQ5LH6D19SE6c3Jp5x9BxmQZi2e9sbKgdW9m1KySQioHHsJPzQryTiE9nDyDjvirDpUFTpLe7
Radiyum protocol makes 10 swaps
All are on Raydium Liquidity Pool V4
When I use the substream to stream in the block all the 10 swaps are parsed but the token in and token out amounts are not relevant to the individual swaps instead it all points to the same token in and token out amount.
attached output of the block here: https://gist.github.com/hashimaslam/9504d71e7ad197165e9bb309dc3802eb

Hi @hashimaslam , this issue has been fixed in the latest package  tl-solana-dex-trades-1-0-19-v1.0.19.spkg.


automate-3081 ui flicker on applications tab

:nut_and_bolt: Description: What code changed, and why?
When moving between "OK" and "Disconnected" nodes, the UI moves from the loading spinner, to the old data, to the new data, with a visible redraw when the new data is finally shown.
:chains: Related Resources
fixes #3081
:+1: Definition of Done
Smooth as butter, no flicker.
:athletic_shoe: How to Build and Test the Change
hab studio enter
export DEVPROXY_URL=localhost
build components/automate-ui-devproxy
start_automate_ui_background
start_all_services
applications_populate_database
Steps to reproduce the behavior:
Go to Application Tab
Select "OK" filter
Select "Disconnected" filter.
Note I am very far from this A2 server, so high-network latency may help reproduce it.
:white_check_mark: Checklist

[ ] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

@SEAjamieD thanks for catching that bug! I'll fix it 👍🏻


Chore/ci cross fix

Related Issue(s)
Fixes #9
Resolves #
Closes #
Proposed Changes

[x]

Checklist

[x] I have followed the repository's contribution guidelines.
[x] I have added necessary documentation or updated existing documentation.
[x] My code follows the established code style and formatting of the project.
[x] I have tested my changes and they function as expected.
[ ] I have added suitable unit tests (if applicable).

Screenshots

To-Do

[ ]

Additional Information

Just testing if issue linking is working


Messaging protocol between did's?

I have forked and implemented substrate blockchain and i want to know whether it does have inbuilt messaging protocol between two account id? Like one account want to send a message to other (something like aries have for hyperledger indy)?

Are you asking about encrypting completely off-chain messages, but obtaining key material from account keys?  If so, https://eprint.iacr.org/2011/615 argues this basically works, but any extra protocol one adds risks breakage.  As HDKD always creates risks, and is ubiquitous in blockchains, I'd suggest authentication and maybe encrypting hello messages with on-chain keys, but then use ephemeral keys wherever possible, also for forward security.
You're maybe after state channels, meaning messages occur off-chain, but represent state evolution so if one party does not evolve the state correctly then the other party disputes on-chain.  We want state channels because they're pretty useful for games, but they require encoding this off-chain state transition into an validation procedure for handling disputes on-chain.  We're a ways off on parathreads, but Ink parachains could support state channel disputes too, not sure which happens sooner.  And full parachains can do this too of course.
As you said DID, there are many ethical problems with the user oriented DIDs proposed by W3C and maybe Hyperledger.  And hopefully legal problems sooner rather than later.  It's all fine for business-to-business use cases of course.  It's also fine for people being "public figures" to influence on-chain governance, meaning linking account balances with off-chain discussions, which is what most folks care about right now.  Yet, you'll end up with racist, classist, etc. results if you let people to prove they have a job, degree, etc., which is the W3C's stated goal.  As a relatable example, we do not want a world in which few people take a year off from work because applying for a job too often requires proof that you currently have a job.  :(

No, wat i need is a peer to peer offchain meassging mechanism through  two account


Add documentation for validating JWT with JWKS

Description
This PR adds documentation for theprocess for using a JWKS endpoint for JWT authentication. This also breaks out JWT backend configuration into its own topic, which now exists in the "Authentication backends" section instead of basic configuration.
Issues Resolved
Fixes #4050
Checklist

[ ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cwperks Could you have a look at the section I added in JWT documentation for JWKS endpoint for validating signature of the JWT? Specifically, the new content is lines 216 through 238 of the jwt.md file. Please also verify the example URL for jwks_uri is realistic.
You'll also notice that I finally broke out the JWT backend documentation into its own topic, finally united with the others. This leaves only basic authentication remaining in the configuration section. I will get to this next. For other changes, I commented out Kerberos configuration. If and when we develop that support, I can reinstate what we have.
Thanks.


Link account email missmatch issue

Can you change the error to: the email of the account and the email on facebook/twitter etc does not match. It would make this easier to solve. It's frustrating for users.

i am also facing the same issue
i had it configured correctly on one domain
but after transfering to another domain
now it is not getting email , first name and last name
i am using wordpress  plugin of this package

I think I'm facing a simillar issue. Are you hable to upload screenshots, please?
I'll try to open a PR to solve this. :D

When a social account's email address does not match the existing email address of the account to be linked to, I just see and error, "Sorry, that username already exists!" This is issue #153 . https://github.com/miled/wordpress-social-login/issues/153
That is, unless there is already another account linked with the email address of the social account, in which case it logs me into that one despite putting credentials for a different account. Odd.
And either way, the linking does not occur: if I log out and log back in, it asks me to link them again. I think this is because one account cannot be associated with more than one social account.


Mark master_proxy as deprecated on hex

MasterProxy should be marked as deprecated on hex somehow

MasterProxy has now been marked as deprecated: https://hex.pm/packages/master_proxy
via mix hex.retire master_proxy 0.1.4 deprecated --message "Development has moved to main_proxy"


Fix auto-migration in RSpec tests

Use correct migration paths
Update code to auto-migrate (API changed in Rails 7.2)

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Add buildInputs to quick-start doc

Motivation
Upon further testing it looks like the crate-doc quick start also needs buildInputs when you add more involved doc tests on macos. Other platforms should remain unaffected.
Checklist

[ ] added tests to verify new behavior
[x] added an example template or updated an existing one
[ ] updated docs/API.md with changes
[ ] updated CHANGELOG.md

Looks good, thanks for the PR @mitchty!

No problem I wasn't sure on my original pr and deferred to later, turns out it needed it after all on macos. Thanks for the quick turnaround!


feat(ci): minor versions should always point at the latest patchversion

This PR makes it possible to add another tag when we build a tagged version. The new tag is always a minor version(patchversion stripped) and will be a moving tag like latest/stable.

Codecov Report
Patch and project coverage have no change.

Comparison is base (b48ded3) 17.87% compared to head (cd812cf) 17.87%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #646   +/-   ##
========================================
  Coverage    17.87%   17.87%
========================================
  Files           53       53
  Lines         5080     5080
========================================
  Hits           908      908
  Misses        4145     4145
  Partials        27       27

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


L5 Suport

Hi,
when do you plan to merge the L5 PR? Or provide different ServiceProviders? Any news to that?

I'm hoping to get to this by tomorrow. I need to do a bit of refactoring to support an elegant way of supporting L4 and L5.


ERROR running force:source:deploy:  Cannot read property 'success' of undefined

ERROR running force:source:deploy:  Cannot read property 'success' of undefined
getting the above error while deploying code from VS code to salesforce org.
SFDX CLI Versionsfdx-cli/7.75.1-5585088c75 linux-x64 node-v12.18.3
OS and version: Ubuntu 20.04.1 LTS

I am running into the same issue. I have tried different orgs and I have done sfdx update to make sure I was on the latest packages.

@rameshvar25 what org are you deploying to? Winter '21 or Summer '20?

Error Log sfdx force:source:deploy --loglevel TRACE
{"name":"sfdx","hostname":"Haas-Desktop","pid":5576,"log":"SfdxProjectJson","level":40,"msg":"The config file: C:\Users\haasa\.sfdx\sfdx-project.json is not schema valid\nDue to: Validation errors:\nshould have required property 'packageDirectories'","time":"2020-10-14T14:41:21.060Z","v":0}
{"name":"sfdx","hostname":"Haas-Desktop","pid":5576,"log":"SfdxProjectJson","level":40,"msg":"The config file: C:\Users\haasa\.sfdx\sfdx-project.json is not schema valid\nDue to: Validation errors:\nshould have required property 'packageDirectories'","time":"2020-10-14T14:41:21.072Z","v":0}
{"name":"sfdx","hostname":"Haas-Desktop","pid":5576,"log":"SourceDeployCommand","level":50,"msg":"[\n  '\u001b[1mERROR running force:source:deploy: \u001b[22m',\n  '\u001b[31mMissing one of the following parameters: manifest metadata sourcepath validateddeployrequestid\u001b[39m'\n]","time":"2020-10-14T14:41:21.080Z","v":0}

@rameshvar25
I figured out my issue. My issue was that my username got disabled in the org I was deploying to. I reauth with that org and then I was able to deploy.
Hope this helps.

@AndyHaas I figured out the issue and fixed that.
actually the issue was due to sfdx plugin, I just updated the CLI and Installed latest  sfdx plugin.

Will vscode update the plugin automatically? Or what are the steps for updating the sfdx plgin?


Iron out controller defaults feature

Looks incomplete... for example, how do I set defaults that i'm passing to lay_cement() for a controller (i.e. logging).

All controllers now have a 'defaults' dictionary under it meta class.  These defaults override config -> <controller_label> -> option.


PyPI please

Hey, this is pretty cool! I was just about to start writing the same thing. Fortunately, you wrote it first :smile:
How about a pypi release?

Hi, thanks! The pypi release seems to be missing static and templates.
Writing setup.py is fun I guess, an alternative is https://github.com/python-poetry/poetry

oh thanks for reporting it. I should have tested it better. I'll fix it in the evening and test it this time.

Also, maybe add to https://djangopackages.org/
Takes like 10 secs

The new version 0.2.0 includes now includes the non-python file assets. This time I tested it in the voctoconf project and it seems to be set up correctly.
I also added it to django packages, thanks for pointing it out: https://djangopackages.org/packages/p/django-tuieditor/


Purchase history in user profile

Are there any plans to integrate the purchase history into user profiles?

I agree this would be a fantastic feature to add in

My team is developing a customer manager that includes purchase history. It is a bit of a composition of concrete5 members and community store orders, bundled into a separate package.
Parts of the package are specific to our application, but I could strip that out and make it available within a couple of weeks.

Sounds like a great option

@dbuonomo Just wondering if you've made any progress with this?
I'm looking to start on adding some purchase history screens (into the backend first) and I wouldn't want to duplicate efforts.

any news on this?

any update?

Sorry for the delay in responding.
The original version of this package that I mentioned back in March is basically a copy of the native c5 user manager (Members) that is integrated with Community Store. It's evolved a lot since then, so I need to decide weather to put the original version out on a repository or remove those application specific features and use the current version. There are also some v8 rendering issues to resolve - nothing huge.
Can you tell me more specifically what you are looking to do with this. It will help inform my decision.

sounds a bit like it has the potential to be a marketplace as well..?

I’d mainly been wanting to have a location for an order history. Having a place for customers can go does lead to other thoughts for help and contact areas.

any update?

I agree with @justynpride @dbuonomo, the ability to include past orders would be a good place to start, Shopify does a very nice job with this feature and goes a few steps further.

Has there been any movement on this? I as well, am looking for this functionality.

Has any of you guys had any effort for this? I am happy to place this as a job request if anyone would want to do it.

There is now a solution from @JeRoNZ in his github repo: https://github.com/JeRoNZ/community_store_order_history


Add Readthedoc

I want to add this...
and I have authorised in : https://readthedocs.org/projects/gluex-nstar/
seems like adding the .readthedocs.yaml file is enough(?)

Fancy! Not sure if RTD is really needed. Usually it is used for packages that need versioning (so a page per version, e.g. https://qrules.rtfd.io/0.10.1). Another benefit is PR previews. If you don't need those, GitHub Pages suffices. (GH has the benefit that it can cache e.g. notebook results and sympy caches.)

But let's discuss tomorrow, there is something to say for using RTD ✨

Fancy! Not sure if RTD is really needed. Usually it is used for packages that need versioning (so a page per version, e.g. https://qrules.rtfd.io/0.10.1). Another benefit is PR previews. If you don't need those, GitHub Pages suffices. (GH has the benefit that it can cache e.g. notebook results and sympy caches.)

Yup actually I wanna have PR preview, that's why I wanna add it :)

OK, now I understand. Maybe "rtd" is not necessarily appropriate here, but I'll decide later and make this work first.

Have a look at the log output. The config is looking for docs/source/conf.py, not docs/conf.py
https://readthedocs.org/projects/gluex-nstar/builds/24613998/

Interestingly... I see at some point the readthedoc is okay but the Github pages failed :(
Not sure if I can have both(?)
extension of mystnb and sphinx of readthedoc

Man.... Finally now in this version both the GitHub documentation and RTD are working :) 🐳

Hmm seems that this is a bit more complicated then expected. I think the best way forward is to convert pixi.toml to pyproject.toml, so that the dependencies can be installed through pip (or uv) directly (which RTD requires/prefers). But let's look at that once I'm back

@shenvitor check this new apixi release. There are some examples now of how to use pixi in Read the Docs:
https://github.com/prefix-dev/pixi/blob/main/examples%2Freadthedocs-override%2F.readthedocs.yaml

@shenvitor check this newpixi release. There are some examples now of how to use pixi in Read the Docs:
https://github.com/prefix-dev/pixi/blob/main/examples%2Freadthedocs-override%2F.readthedocs.yaml

Wow thanks for the info in midnight :)
p.s. gotta sleep I'll have half marathon in the early morning hahah😎

I think you can replace the entire .readthedocs.yml with this part:
https://github.com/prefix-dev/pixi/blob/f8f84d305673976600689aca74d8bdc312b63561/examples/readthedocs-override/.readthedocs.yaml#L1-L10
Forget the last line with pixi run readthedocs for now. Maybe we need some modification of that task later on, but let's see if it works without.


Custom error filename and stack track location

Is your feature request related to a problem or a nice-to-have?? Please describe.
I am validating JSON using Mocha, which makes a failed assert's contextual information more or less useless.
I have all the diagnostics information for the JSON. It's just a problem of reporting it in Mocha.
Describe the solution you'd like
I'd like to have a way to report a custom file and line number in Mocha.
Describe alternatives you've considered
Leaving it as a failed TypeScript assert gives no information about the JSON failure.
Using console.log won't give it a native look and could trigger linter warnings.

Throwing your diagnostics and line number does not help your problem?
I don't think I fully understand your needs. But you may need a custom reporter.

https://github.com/SNDST00M/starfall-visual-studio-code/blob/5e2c834/themes/test/suite/starfall-color-theme.test.ts

status: waiting for author on a deleted account. Okie dokie.


Update Dictionary Renderer Graphics Overlay sample to use new Ordered Anchor Points

Changes in this PR:

Converted sample from Java->Kotlin
Removed Java sample
Reverted back the sample to use the original XML file with dictionarySymbolStyle set to use "ORDERED ANCHOR POINT"
Updated screenshot and README.md files.
Sample works using the XML file loaded using ADB

To check:

Not sure if the data used in the README file is correct. It is the URL as per the design doc.
Should we be should be using this XML file as our data source, which is hosted as a ZIP file here.
The Mil2525DMessages.xml file is not being downloaded by the SampleViewer., most likely URL used in provision_from is not correct.

你好，来信已收到，请放心。

Changes made to fix provisioning error:

Sample now downloads Mil2525DMessages.xml from this AGOL item.
Updated README.metadata.json provision URL
Updated README.md offline section to reflect corrected download link

Tested with the sample viewer, the sample builds and successfully provisions the .xml file


change(db): Pipeline database write requests

Motivation
We need Zebra to sync faster for the cached state lightwalletd tests.
Pipelining writes might make it faster.
Specifications
RocksDB allows splitting write threads into two queues:
https://docs.rs/rocksdb/latest/rocksdb/struct.Options.html#method.set_enable_pipelined_write
Solution

Split write threads into a write-ahead-log queue, and a memtable queue

This does not need a state version increment, it is a runtime-only option.
I ran a full sync test to check performance:

https://github.com/ZcashFoundation/zebra/actions/runs/2086843717

Review
Anyone can review this PR.
This PR is based on PR #3999.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Existing Tests Pass
[ ] Sync is faster

This change does not make Zebra faster, so we should only apply it if it fixes a bug.


hacktober first practice(Benjamin Ughegbe)

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

done


Getting the filtered values from DataFilterExtension

I'm creating a web app that has ScatterplotLayer with the the DataFilterExtension.  To the right of the map I'm showing aggregated stats of what's being filtered. I can't seem to find how I get the filtered values from the DataFilterExtension instance?
Example would be:
const DataToBeFiltered = [
      { shots: 23, RecordedDateTime: "time stamp here" },
      { shots: 22, RecordedDateTime: "time stamp here" },
      { shots: 5452, RecordedDateTime: "time stamp here" },
      { shots: 4, RecordedDateTime: "time stamp here" },
      { shots: 6, RecordedDateTime: "time stamp here" },
      { shots: 77, RecordedDateTime: "time stamp here" },
      { shots: 89, RecordedDateTime: "time stamp here" },
      { shots: 3, RecordedDateTime: "time stamp here" },
      { shots: 6767, RecordedDateTime: "time stamp here" },
      { shots: 4, RecordedDateTime: "time stamp here" },
    ];

Then I create a scatter plot layer that would filter based on the RecordedDateTime field (which to be clear works great... it shows what I'm looking for on the map)
const dataFilter = new DataFilterExtension({ filterSize: 1 });
new ScatterplotLayer({
        id: "Outages",
        data,
        opacity: 0.8,
        radiusScale: 100,
        radiusMinPixels: 1,
        wrapLongitude: true,

        getPosition: d => [d.longitude, d.latitude],
        getRadius: d => {
          // console.log(d);
          let num = d.CustomersAffected;
          let len = num.toString().length;
          return Math.pow(2.6, len);
        },
        getFillColor: d => {
          return [228, 101, 93];
        },

        getFilterValue: d => d.RecordedDateTime / MS_PER_DAY, // in days
        filterRange: [filterValue[0], filterValue[1]],
        filterSoftRange: [
          filterValue[0] * 0.9 + filterValue[1] * 0.1,
          filterValue[0] * 0.1 + filterValue[1] * 0.9
        ],
        extensions: [dataFilter],

        pickable: true,
        onHover: this._onHover
      })

Afterwards I want to query for all the filtered content and aggregate the total filtered value for 'shots'
Which in this example would be (23+22+5452+4+6+77+89+3+6767+4):
Shots: 12,447
How would I gain access to this data?

DataFilterExtension performs filtering on the GPU, so no intermediate JavaScript array is generated. You can however just iterate through your data array and check if the time stamp is within your filterRange.

@Pessimistress
I decided to get things going to do the filtering myself
let filteredData = data.filter(
        d => {
          var time = new Date(d.RecordedDateTime).getTime() / MS_PER_DAY;
          return filterDateStart < time && time < filterDateEnd;
        }
      );

It would be nice to have an accessor for the filtered data on the DataFilterExtension. Maybe something like gpu.js

@samcreate , which specific API of gpu.js you are referring too.
You can use luma.gl Transform, but as with any other GPU based library, data has to be GPU friendly format (JS Typed arrays or WebGL Buffer objects), you can have your Transform shader filter and output array indices, which you can treat as filtered indices to access actual data elements. Please note this is WebGL2 only API.


Added new --allbranches option

Two new options have been added to the Generate Site command
--allBranches
--excludeBranches
This will allow the site builder to generate a site for every branch that is found in a remote repository and exclude any that have been explicitly named.
Not sure how to create a test for this, there doesn't seem to be any test for the existing site builder processes.

@dirkgroot I've moved this to be a draft PR for the moment. I want to test to see what happens when if it hits a branch that does not build correctly or doesn't even have a workspace.dsl file and then do a little error trapping to skip those branches. I think this will provide a better experience.

@dirkgroot I think I have a good solution for site generation using --all-branches where a branch may contain malformed DSL or even doesn't contain a DSL file at all.
My first thought was to just drop a try/catch around the diagram and site generator but this would result in the bad branches still being listed in the branch switcher dropdown. To get around this I had to loop the branches twice, first to generate the diagrams and detect the errors and then a second loop to generate the actual sites after the bad branches names had been removed from the lists of found branches.


Replace which with type. Fixes #16.

Need to ignore stderr too when working with type command.
Also fixed two small linter errors.
cc #16.

fantastic


Test on Android 6.0 because, new permission model.

Tested latest content sync on Android 6.0 device. Discovered no issues with new permission model.

Yay!


Allow standardized look for diagrams

This should allow both C4 diagrams and classical UML diagrams to share the same set of colors.

See also #323


[Fingerprint]Example of fingerprint extension

This example shows how to use the fingerprint to finish local
authentication.

For Android, please use app-tools to make the apk file.
For iOS, please use pod to configure the project.

For more details, please read the README.md file.
BUG=XWALK-4513

@halton @jondong please review the PR, thanks!

LGTM, @halton please help to merge, thanks


Add CI to run test, rustfmt and clippy on push/PR

This PR introduces some GitHub actions to perform CI. The template for the CI file was taken from Rust Github Template project: https://rust-github.github.io/ .
cargo fmt was run once.
The PR should not conflict with #7 as it only added lines.

I usually prefer when there is a single topic by pull request, but it's all right. I like when people add CI to my crates so I don't have to, thanks! :smile:

Clippy is not happy...


chore: correct typos docs

What changed? Why?
Minor typos fixed in docs, significant repetition adjusted in DesktopNav.tsx

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

@cb-heimdall finish

@brendan-defi finish

hi @sky-coderay thanks for your contribution! we've approved and merged 🙇


fix(eslint): change config after discussion

I apply the new config on some packages to ensure everything is working fine :)


Add rules_pkg 0.10.1

Add rules_pkg 0.10.1

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (rules_pkg) have been updated in this PR. Please review the changes.

@meteorcloudy


Browser too old (WP theme)

This is for the WP theme. We need a page to show something when the browser is too old for the PWA technology.
Something like this:

Good idea, let's hide the device frame as there is nothing worthy of showing (on desktop is mostly for consistency between layouts).

Closed at https://github.com/frontity/wordcamp-wp-theme/commit/b0852b785126f4a272177d11b86876e547428641.


Don't lose ordinals if reveal transaction is not mined

It's currently possible to lose ordinals by broadcasting a commit transaction, but then losing the reveal transaction. We should avoid this.
Ideas:

Save the reveal transaction to disk. Doesn't help if the reveal transaction is invalid, and so can never be broadcast.
Add the reveal transaction descriptor, including the private key, to the bitcoin wallet, so bitcoin can spend it.
Save the reveal transaction private key somewhere, so the user can intervene.
Save a "recovery" transaction somewhere, that can be broadcast if the reveal transaction can't be mined that just returns coins to the wallet

get bitcoin core to import descriptor of commit tx address/private key
maybe even move signing of tx into bitcoin core (instead of generating private key ourselves)

dumpprivkey???
generate a descriptor and hand in script???

gen priv key
gen taproot descriptor for priv key
import to bitcoin core
???

figure out taproot descriptors.
What is a taproot descriptor for a single private key? with a tweaked private key?

rawtr(tweaked private key)

https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md
Waiting for new release of bitcoin core

@raphjaph Just a note on this one: As long as we can make sure that the wallet has the correct private key imported, and we're super sure of that, then getting it to sign with it can probably be deferred until later, since it isn't super important for the prototype inscription milestone.


Miscellaneous TextMate Changes

After talking with you on twitter the other day I added the bundle to my review list to be added to the bundle installer. Did a review of the bundle mostly in regard to TextMate conventions and new features included in 2.0, nothing really Rust specific.
Made the these changes over the last couple days and just rebased on top of the current state. Ask if you have any questions about any of these changes or any TextMate questions in general.
A few comments and questions left after looking over the bundle:

For single line snippets half end in a newline, half do not. We don't have any standard for this really, but should be consistant inside the bundle.
The shortcuts for Compile/Compile With Tests are non-standard, generally we like to keep these to some combination of R/B and modifier keys. Compile (⇧⌘C) currently conflicts with Go → Computer.
Question on cargo: Once a project is using cargo will those commands always be used and will a Cargo.toml file always be present at the project root?
Should Compile be changed to Build to be consistant with Cargo Build or is there a reason for the terminology difference?
Compile/Compile With Tests both only save the current document, the other related commands save all modified documents, an oversight?

This is awesome feedback and great changes, thank you so much!!!!! :heart: :heart: :heart:

For single line snippets half end in a newline, half do not. We don't have any standard for this really, but should be consistant inside the bundle.

I will totally clean this up! I haven't done a full audit to make code style consistent yet; this is a good time :)

The shortcuts for Compile/Compile With Tests are non-standard, generally we like to keep these to some combination of R/B and modifier keys. Compile (⇧⌘C) currently conflicts with Go → Computer.

I will totally change that, I clearly have no idea what i'm doing on that front.

Question on cargo: Once a project is using cargo will those commands always be used and will a Cargo.toml file always be present at the project root?

Yup! Cargo.toml is kind of like a Gemfile.

Should Compile be changed to Build to be consistant with Cargo Build or is there a reason for the terminology difference?

So "Compile" was there before, and probably what most people would call what you do when you just run "rustc", but the cargo command is "cargo build". So the difference is an inconsistency in rust terminology :-/ I'm totally fine with changing Compile to Build, it might bother some people but oh well :)

Compile/Compile With Tests both only save the current document, the other related commands save all modified documents, an oversight?

Not really, cargo compiles all the files in your current project, but the Compile/Compile With Tests commands will only compile the current file... how do other bundles handle this?

I will totally change that, I clearly have no idea what i'm doing on that front.

One big feature we added recently has made finding available shortcuts easier in two ways:
In Select Bundle Item use ⌘3 to enable it to search all scopes (or use gear menu), you can then search for named items in all scopes to get an idea what similar items give their shortcut.
The even handier item is using the same but also switching to key equivalent search (⌘2). This will let you enter a shortcut and see what bundle items claim this shortcut, to see if there are any conflicts. The big thing added to this recently is that it lists all menu items as well, very handy for catching conflicts.

Yup! Cargo.toml is kind of like a Gemfile.

So the fact that it is required is great news, I'll get cargo added to the build systems we add a scope for. This means anytime a project is open that has a Cargo.toml file in it's root there will be a new scope added. This means you can use it for triggering commands. Thusly you can, if desired, use the same shortcuts for Run and Cargo Run with the presence of the scope picking the winner.

I'm totally fine with changing Compile to Build, it might bother some people but oh well :)

Your choice there, the only real benefit with the word build is that it syncs up mentally with using B in the shortcut.

Not really, cargo compiles all the files in your current project, but the Compile/Compile With Tests commands will only compile the current file... how do other bundles handle this?

Always want to save the least possible number of items. Generally we want the user to explicitly save themselves, and only auto-save when the command would require it. When possible for running single files we can even use temporary files to prevent needing to save anything. Of course this isn't always possible depending on the compiler or reliance on relative files.

Looked through your changes finally, they all make sense!! Working on your suggestions now :)

Buttons are hard.

I'm assuming I should wait for https://github.com/textmate/textmate/pull/1305 to land and be released before making the shortcuts for, e.g. Compile and Cargo Build be the same.

Yeah, there will be two stages: First will be deploying the change in a nightly build, then deploying the change in a normal release. The nightly will happen relatively quickly, the normal will be probably a month or two. Should probably just wait for the nightly and tell people to update. Worst case they have they have to manually select the cargo commands for a short while.


Add host param support for status service in OOD-daemon

Currently, the status service provided by the ood-daemon binds the http interface to the local loopback address by default. However, in some cases, it may be necessary to bind to a different address, such as a local intranet IP, in order to initiate access, especially when running within some Docker environments. Therefore, it's worth considering adding a corresponding command-line parameter to allow external users to modify the binding IP address of the http interface.

Add "status-host" param to OOD-daemon, so can specify the http address of the status service, which can be local/unspecified/a list of ip addresses separated by commas, and the default is local
Complete at 51a30b090c4c7d115df14060ababed1df2f601fc


Can't find crate std error when using anchor build

error[E0463]: can't find crate for `std`
  --> /Users/jivinvaidya/.cargo/registry/src/github.com-1ecc6299db9ec823/bs58-0.3.1/src/lib.rs:73:1
   |
73 | extern crate std;
   | ^^^^^^^^^^^^^^^^^ can't find crate
   |
   = note: the `bpfel-unknown-unknown` target may not support the standard library
   = help: consider building the standard library from source with `cargo build -Zbuild-std`

For more information about this error, try `rustc --explain E0463`.
error: could not compile `bs58` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

Solana version is 1.8.5
anchor-cli 0.18.2
On an m1 mac with rosetta.
using x86_64 toolchains for rust

It's not an anchor issue.
I'm not sure that it's possible to compile bpf target on m1 with x86_64 toolchain, please try aarch64. Or you can try to add rust-std-.. component with rustup.

It's not an anchor issue. I'm not sure that it's possible to compile bpf target on m1 with x86_64 toolchain, please try aarch64. Or you can try to add rust-std-.. component with rustup.

It was compiling before. This happened recently. Can I use tha aarch64 toolchain with solana too?

cargo clean and updating to most recent version of anchor resolves this problem. I encountered the same error on WSL2 and resolved it by updating everything i had and rebuilding after cargo clean. cargo build and then anchor build solved the issue for me

doesnt look like an issue with anchor, so Im closing this


Fix staging directory cleanup

Should fix https://github.com/GoogleCloudPlatform/openjdk-runtime/pull/63#issuecomment-286574489


Small contribution to automate tests with GitHub Actions

Hope you like it, this should speed up your testing. :-)

@geertjanw Thank you for the contribution, but we've already done something like this in our new repository which is set up for the next major version of the project. We may copy that configuration here as well.
Sorry, we haven't popularized the new repo yet, as it's not quite the primary yet.

Great, no worries, that looks good.


Cancel an Event Attendance

Description
Sometimes, you might choose to attend an event and then change your mind, due to life, work, or concerns with the event. After someone has decided to attend an event, we should give them the option to stop attending.
Please create a "Not Attending" button, that deletes the Event Attendee record. This should appear where the "Attend" button was. I'd like it to be is-error in style.
Current:
https://github.com/ChaelCodes/ConfBuddies/blob/94b0a6b2d3d16827271610d18eee67b425cbe34d/app/views/events/show.html.erb#L13-L25

Hi, I can take it! Could you assign this issue to me?

Hi, I can take it! Could you assign this issue to me?

It's yours! I look forward to seeing your PR!


Roadmap component

Epic https://github.com/x-team/auto/issues/573

Create new component.

Dependencies

RoadmapLevel component https://github.com/x-team/auto-ui/issues/8
RoadmapTimelineElement component https://github.com/x-team/auto-ui/issues/10
Copy component https://github.com/x-team/auto-ui/issues/12
SvgIcon component https://github.com/x-team/auto-ui/issues/15
Button component https://github.com/x-team/auto-ui/issues/14

Props
children: node|array,

Behaviour
This component is the layout styles wrapper for Roadmap, the children prop should be the render itself, receiving RoadmapLevel, RoadmapTimelineElement, etc.
Example usage:
<Roadmap>
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 1" level=1 body={body1Content} isActive />
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 2" level=2 body={body2Content} />
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 3" level=3 body={body3Content} />
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 4" level=4 body={body4Content} />
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 5" level=5 body={body5Content} />
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 6" level=6 body={body6Content} />
  <RoadmapLevel icon="icon-id" heading="lorem ipsum 7" level=7 body={body7Content} />
</Roadmap>

just kinda a quick update on dependencies:

waiting for one component to be completed: https://github.com/x-team/auto-ui/issues/10
waiting for one component to be reviewed and merged: https://github.com/x-team/auto-ui/issues/14

waiting on #10 to be done in order to accomplish the current one.

unblocked now and ready to be done :)

still work in progress...

@nicksp I haven't yet seen any obvious way to fix this... There are some additional complications where the vertical line is not exactly centered, and this becomes especially apparent at certain screen widths:

It's frustrating when you get so far, only to run into complications like these! 😆


[Bug] v2.10+spring2024 branch was moved to the releases folder, TH User Guide mismatch

Describe the bug
[Bug] v2.10+spring2024 branch was moved to the releases folder, TH User Guide mismatch
The TH user guide specifies the fdsfds branch as the one to clone, if used in the clone command it returns an error, but if releases/ is prepended it works.
The TH user guide doesn't specify the releases folder.
TH User Guide
https://github.com/project-chip/certification-tool/blob/releases/v2.10%2Bspring2024/docs/Matter_TH_User_Guide/Matter_TH_User_Guide.adoc
Current branches
https://github.com/project-chip/certification-tool/branches

Thanks for the feedback.
The branch name has now been restored.

@raul-marquez-csa can this be closed?


CrcError during install (Qt 6.7.0) on Aliyun Server

Describe the bug
Install failed due to crcerror
To Reproduce
Steps to reproduce the behavior:

install aqt using pip
run aqt with aqt install-qt linux desktop 6.7.0 linux_gcc_64 -m all
See error

Expected behavior
A clear and concise description of what you expected to happen.
aqt output
Add program output to help explain your problem.
WARNING : Caught CrcError, terminating installer workers
ERROR   : (959788162,<PHONE_NUMBER>, '6.7.0/gcc_64/plugins/imageformats/libqicns.so')
Traceback (most recent call last):
File "/home/steam/.local/lib/python3.10/site-packages/aqt/installer.py", line 182, in run
args.func(args)
File "/home/steam/.local/lib/python3.10/site-packages/aqt/installer.py", line 447, in run_install_qt
run_installer(qt_archives.get_packages(), base_dir, sevenzip, keep, _archive_dest)
File "/home/steam/.local/lib/python3.10/site-packages/aqt/installer.py", line 1189, in run_installer
raise e from e
File "/home/steam/.local/lib/python3.10/site-packages/aqt/installer.py", line 1148, in run_installer
pool.starmap(installer, tasks)
File "/usr/lib/python3.10/multiprocessing/pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
py7zr.exceptions.CrcError: (959788162,<PHONE_NUMBER>, '6.7.0/gcc_64/plugins/imageformats/libqicns.so')
ERROR   : aqtinstall(aqt) v3.1.13 on Python 3.10.12 [CPython GCC 11.4.0]
Working dir: /home/steam
Arguments: ['/home/steam/.local/bin/aqt', 'install-qt', 'linux', 'desktop', '6.7.0', 'linux_gcc_64', '-m', 'all'] Host: uname_result(system='Linux', node='iZj6ceafr1ibcd707jvjiiZ', release='5.15.0-71-generic', version='#78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023', machine='x86_64')
Desktop (please complete the following information):

OS: Aliyun Server Ubuntu 22.04 LTS
aqt version 3.1.13

Additional context
Add any other context about the problem here.

duplicate #777


TokenizerGpt3.Encode  incorrect

Describe the bug
TokenizerGpt3.Encode incorrect
Your code piece
 text = """
                Many words map to one token, but some don't: indivisible.

                Unicode characters like emojis may be split into many tokens containing the underlying bytes: 🤚🏾

                Sequences of characters commonly found next to each other may be grouped together:<PHONE_NUMBER>
                """;
            int n=TokenizerGpt3.Encode(text).Count;

Result
= 260
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [Windows]
Language [c#]
Version [6.7.0]

Additional context
Add any other context about the problem here.

That's interesting, I thought I solved this issue in 6.7.0 . Thanks for reporting, I will have a look

solved in v6.7.2