fix extra placeholder in translation

Fixes issue #7007

Codecov Report

Merging #7008 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7008      +/-   ##
==========================================
+ Coverage   41.49%   41.49%   +<.01%
==========================================
  Files         440      440
  Lines       59453    59453
==========================================
+ Hits        24668    24671       +3
+ Misses      31566    31562       -4
- Partials     3219     3220       +1

Impacted Files
Coverage Δ

modules/log/colors_router.go
87.5% <0%> (+4.16%)
:arrow_up:

models/unit.go
67.56% <0%> (+5.4%)
:arrow_up:

Continue to review full report at Codecov.

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

Please fix translations at crowdin:
https://crowdin.com/translate/gitea/all/enus-de


TG Bot Config editor update

updated telegram bot config editor
added option to enable/disable screener/scanner notifications
update to default parser to set to correct object type

Type of change
Please make your selection.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change requires a new dependency
[x] Code Maintainability / comments
[x] Code Refactoring / future-proofing

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added pytest unit tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

@markhollingworth-worthit, there are a few conflicts. Can you update as required please? Thanks


docs: no longer using master but main

Tiny update. Noticed the master branch does not exist.

@mergify queue


Wilke/80 remove print statements and improve log messages for base configpy

Changed default log levels to ERROR in config.py and cli.py.
Changed sys.exit calls to raise.
Throw an exception if duplicate command line option is found.

Did you test this? I think this is going to raise a ValueError every time, because I always get messages like these:
2024-11-25 11:27:32,109 - WARNING - config.py:_add_option - Option help is missing required keys. 2024-11-25 11:27:32,109 - WARNING - config.py:_add_option - Option input_dir is missing required keys. 2024-11-25 11:27:32,109 - WARNING - config.py:_add_option - Option output_dir is missing required keys. 2024-11-25 11:27:32,109 - WARNING - config.py:_add_option - Option log_level is missing required keys. 2024-11-25 11:27:32,109 - WARNING - config.py:_add_option - Option config_file is missing required keys.


Revert counter optimization in RoundRobin until better implementation found

Motivation:
Revert counter based index selection from RoundRobinInetAddressResolver as it can cause stuck into static resolution in some setups.
Related discussion:
https://github.com/netty/netty/commit/5eebe9a06c6873e797b5f8c847086c35ae990ef5#commitcomment-19727669

@Scottmitch
I think the following comment I made at the wrong place, WDTY of the following?
Another solution can be to have a set of sequencers and use the sequencer corresponding to the hashcode of the DNS address, the problem here is the size of set which could be a system property and default to 128 for example, the bigger the better to avoid hashes coalition:
public class Sequencer {
  final AtomicInteger sequencer = new AtomicInteger();

  public int nextIndex(int size) {
    final int index = sequencer.getAndIncrement() % size;
    return index < 0 ? index + size : index;
  }
}

static final Sequencer[] SEQUENCER = new Sequencer[128];

static {
  for (int i=0; i<SEQUENCER.length; i++) {
     SEQUENCER[i] = new Sequencer();
  }
}

// How to get the Sequencer corresponding to an address hashcode:
final int nextIndex = SEQUENCER[Math.abs(dnsAddress.hashCode() % SEQUENCER.length)].nextIndex(addresses.size());

@Scottmitch addressed, thanks.

@Spikhalskiy thanks looking good. Can you please update the commit message to match our template. After this I will pull in:
http://netty.io/wiki/writing-a-commit-message.html

4.1 (4bce554)

Whoops sorry @normanmaurer ... I missed your comment and pulled in 😢 . I guess the change is relatively small so the comment should be sufficient.
Thanks @Spikhalskiy !


Allow validators to customize the behavior when a 'required' property has no value in the request

Currently we run the validators as part of ModelBinding/Deserialization to handle the case where a 'required' property has no value in the request data. If no validator catches it we add a placeholder message which can't be customized.
We should consider instead adding a breadcrumb to ModelState during ModelBinding/Deserialization and adding a 'default' validator that handles this case. Then this behavior becomes customizable via the usual validator extensibility, and we can decouple formatters/modelbinders from running validation entirely.
See discussion here from @jeremyskinner of FluentValidation https://github.com/aspnet/Mvc/issues/1260

Just wondering if there was any updates on when this is likely to be implemented? Thanks

@dougbu please discuss with @rynowak and let's do this for beta8.

@JeremySkinner - we're planning to do this sometime this week.
How would you use this feature? Is a global setting or a per-property/per-type setting more useful to you?

Global would definitely be more useful to me.

28aec3f (though that commit mentions #2969 it's actually a fix for this issue)


Update sveltekit-routing.md installation instructions

Change the installation instructions to read npm create svelte@latest rather than npm create svelte
Using npm create svelte would not install using npm install and it did not have all of the options available on setup.

Is there a reason for doing so?

Thank you! 😄


Pulse Scalability rocks! - extract Pulse data repository?

While enjoying Pulse as a way to view into my Laravel apps I am also evaluating the Pulse data storage as a generic, versatile storage for Time Series Data.
Time Series Data could be e.g. measurements of IoT Sensors (temperature, humidity,...) but also anything else you want to measure over time and analyse.
For validation I have performed a scalability and performance test for 97M recorded events spread across a virtual timeframe of 4 weeks.
Nice! Versatile key value approach
Due to the key_hash approach for all queries, the value for key does not influence the indexing / performance.
So the key can be used as a path to a sensor e.g. location72.sectionB.sensor42  for recording, retrieval and analytics.
Test Scenario
For the test scenario I have seeded Pulse for 1000 keys and 5 types using the command attached at the bottom.
The entries are randomly spread across 4 weeks to generate a large number of aggregates.
All tests done local on MBP M2, MySql 8. After running the command a couple of times the database looks like this:

table
rows

pulse_aggregates
2.3M

pulse_entries
97M

Pulse::Graph
following some tests performed in tinkerwell w/o output of the result.
graph() - default method
graph(1 key)* - #344, supporting keys
The method is called as following:
Pulse::graph(["type:1", "type:3"], "max", CarbonInterval::hours(168));
The modified method is called as following:
Pulse::graph(["type:1", "type:3"], "max", CarbonInterval::hours($hrs), keys: ["key:142", "key:1", "key:789"]]);
Test results

Number of Types
Timeframe
graph()
graph(1 key)*
graph(10 keys)*

1
1
30ms / 32MB
24ms / 31MB
24ms / 31MB

1
6
140ms / 34MB
100ms / 31MB
150ms / 31MB

1
24
500ms / 42MB
200ms / 31MB
200ms / 31MB

1
168
500ms / 42MB
220ms / 31MB
220ms / 31MB

2
1
40ms / 32MB

2
6
200ms / 37MB

2
24
1000ms / 51MB

2
168
1000ms / 52MB

3
1
30ms / 32MB

3
6
250ms / 37MB

3
24
1100ms / 52MB

3
168
1100ms / 53MB

4
1
40ms / 32MB

4
6
300ms / 39MB

4
24
x

4
168
x

5
1
50ms / 32MB
25ms / 32MB
30ms / 32MB

5
6
250ms / 39MB
140ms / 32MB
140ms / 32MB

5
24
x
300ms / 32MB
300ms / 32MB

5
168
x
500ms / 32MB
500ms / 32MB

The query performance is always excellent (some ms) due to the index structure.
The allover performance of the default implementation is depending on the number of types and the timeframe.
However above 3 types it runs into "out-of-memory" (128MB) as all results for all keys are loaded into the result collection.
Improvements of #344
The performance of the method of #344 shows a significant improvement in time and memory consumption as only the relevant data for the given keys is extracted into the result collection.
Conclusion
With some minor changes the data storage of Pulse could be used as a powerful storage for Time Series Data adding to the great Laravel stack!
Some ideas

adding more analytics features
configurable periods for aggegrates
configurable trimming periods
data retention to archive historic data

Your thoughts?

Command used for seeding Data

namespace App\Console\Commands;
use Illuminate\Console\Command;

class seedData extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'app:seed-data';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Pulse Data Seeder';

    /**
     * Execute the console command.
     */
    public function handle()
    {

        $this->numberOfKeys = 1000;
        $this->numberOfTypes = 5;
        $this->numberOfEvents = 10000;
        $this->dateRange = 4 * 7 * 24 * 60 * 60; // spread across 4 weeks

        $keys = collect(range(1, $this->numberOfKeys))->map(function ($number) {
            return  'key:' . $number;
        });

        $types = collect(range(1, $this->numberOfTypes))->map(function ($number) {
            return 'type:' . $number;
        });

        $keys->each(function ($key) use ($types) {
            for ($i = 1; $i <= $this->numberOfEvents; $i++) {
                $types->each(function($type) use ($key) {
                    \Laravel\Pulse\Facades\Pulse::record($type, key: $key, value: rand(-10000, 10000), timestamp: time()-rand(0, $this->dateRange))->avg()->min()->max()->count();
                });
            }
        });
    }
}

Hey @cord, thank you for this overview. Could you comment this on the PR so we can keep the conversation focussed in one place?


Adjust CI configuration for maven projects unifying on project.version 10

Below is list of changes needed regarding unification of project versions across Apache KIE maven repositories.

sanitize SNAPSHOT versioning

main on 10.0.0-SNAPSHOT
after first release, and in further on

bump to 10.1.0-SNAPSHOT
branch 10.0.x, there update to 10.0.1-SNAPSHOT

remove mappings from buldchain configuration files

there used to be expression to adjust versions 1.x vs 8.x when having both drools and kogito repositories in chain

@jstastny-cz Do we really need to update the snapshot for every release?. This basically implies updating all kogito-runtimes parent pom references for every release.

I propose to use a fixed snapshot. About the number, we can use one that nobody will ever map to an existing living release, for example 6969-SNAPSHOT

quick update here: has been defined in dev ML that we'll use 999-SNAPSHOT


Improve UI of home screen, rudimentary SEO

@schafeld  thank you for the MR. Would be great if you merge after this the latest version frm the core repo, so build on new features liek "feedback"


make spdlog 0.13 available on VC++ 2013 as well

spdlog 0.13 minimum requirement is MSVC 2013

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1850
https://travis-ci.org/ingenue/hunter/builds/242886341?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.1851
https://travis-ci.org/ingenue/hunter/builds/242947697?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.12


ipu: Check if insert fails and retry

Often times the IMC will randomly reboot during the insert_media step, we should detect when this has occurred and retry

should not rely on the state of the connection after a check. If you run "if connected" as a check, immediately afterward it might already disconnect. We need to assume the connection is alive and reconnect if need be. Then, we should keep checking until we reach a desired state (ie check that we've downloaded the full iso).

Actually, once we are using the Redfish API to verify the iso is installed, we will remove this code anyways, so this might be a non-issue. Will close for now


Visibility of groups to group members and their non-members

Documentation: https://docs.google.com/document/d/13OQ0gtdLsha4RKttxVZlGTKEncvjOToa2duv8bOdyvs/edit#heading=h.xsf65cn5ty5q
Author: @lampholder
Date: 30/10/2017

@lampholder what's the status on this?

I only have a loose memory of writing the doc and I'm not doing anything to progress it currently (nor am I expecting to in the future).
tl;dr: this document is abandoned and its status unknown


APEXCORE-700 Uniform interface between setup and runtime plugins

@tushargosavi  please see
Better to merge after https://github.com/apache/apex-core/pull/503/

rebased

Anyone else who wants to review it, please do so, so that it can be ready for the release.

@PramodSSImmaneni let me take a look

Incorporated suggestions from Vlad's PR https://github.com/PramodSSImmaneni/apex-core/pull/2 and updated


Analyzer: Future requiring return statement?

As of dev-6.0:
Future<void> doThing() async {
  return;
}

... lints the return statement with:
warning: Missing return value after 'return'. (return_without_value at [...])

If I change it to return null;, the warning goes away. Interestingly enough, Future<Null> is fine:
Future<Null> doThing() async {
  return;
}

On a related note - what is the status of Future<void>? I didn't try compiling/running the code.
EDIT: Thanks @munificent - I see that full support is not planned until after the FE migration.

You should probably be allowed to not return, or use return; , with a return type of either void or FutureOr<void> (or FutureOr<FutureOr<void>>, etc).
Maybe something like:

A type is "voidable" if it is void or it is FutureOr<T> and T is voidable. It's an error if a function body contains return; or can reach the end of the body without throwing or returning, unless the function's return type is voidable. It is an error if a function body contains return expr; and the function's return type is void.

The FutureOr<void> type is a little tricky. Any value can be assigned to it, so it's not that different from dynamic, void or Object, and it's not void. There are operations you can do on it - it's just that if it\s not Future<void>, you're not supposed to use it.


config.route.v3.RouteAction.HashPolicy.Cookie passive cookie

https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto.html#envoy-v3-api-msg-config-route-v3-routeaction-hashpolicy-cookie tells that envoy supports 2 modes for session cookie:

Passive. Envoy takes a cookie that’s present in the cookies header and hashes on its value.
Generated. Envoy generates and sets a cookie with an expiration (TTL) on the first request from the client in its response to the client, based on the endpoint the request gets sent to.

Unfortunately Istio's LoadBalancerSettings.ConsistentHashLB.HTTPCookie.ttl parameter is required:
https://istio.io/latest/docs/reference/config/networking/destination-rule/#LoadBalancerSettings-ConsistentHashLB-HTTPCookie
Please make it optional as it seems now Envoy supports it (at least documenation explicitely implies it).
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

I think it is reated to #25621 but it looks like now it is supported by Envoy.

Good day,
I would like to describe issue I faced with
our backend generates and uses JSESSIONID cookie to identify user session.
Istio DestinationRule loadBalancer is configured to use JSESSIONID
loadBalancer:
consistentHash:
httpCookie:
name: JSESSIONID
ttl: 1800s
With the first client request istio genearte cookie and backend generate cookie.
as result two different JSESSIONIDs is present in request. it is couse backend to fail because istio generated cookie id is not present in the backend session map.
Expected that istio will not generate its own cookie and uses cookie  provided by backend for balancing

Is there any workaround? Using an external session cookie to keep the session affinity is very common and most of the load balancer allow it.
In our case we are facing a lot of problems due to this limitation because a lot of java clients of our applications only expects the JSESSIONID cookie and ignore any other cookie used to keep the session affinity

I am not sure how a passive cookie helps in JSESSIONID case
Today:
Request 1: client request (no JSESSIONID) -> envoy (generate JSESSIONID 1) pick endpoint based on JSESSIONID 1 -> server X (respond with JSESSIONID 2)
Request 2: client request (now has JSESSIONID 2) -> envoy pick based on  JSESSIONID 2 -> server Y
Passive:
Request 1: client request (no JSESSIONID) -> envoy pick endpoint randomly -> server X (respond with JSESSIONID 2)
Request 2: client request (now has JSESSIONID 2) -> envoy pick based on  JSESSIONID 2 -> server Y
?

@howardjohn
It helps when you have multiple domains in cookie then you share the session between different domains.

That still doesn't seem to help the issue that request 1 and request 2 are not sent to the same server if the session id is generated by the server?


What namespace are you running everything in?

I have cert manager installed in the cert-manager namespace.
I install this via: helm uninstall my-release dmahmalat/cert-manager-webhook-google-domains -n default and I guess it goes into the default namespace
Then my issuer secret is in the cert-manager namespace.
My issuer doesn't have a namespace.
When I install a certificate from the default namespace I get this in the cert-manager pod.
E0403 01:34:07.619223       1 controller.go:167] cert-manager/challenges "msg"="re-queuing item due to error processing" "error"="unable to get secret cert-manager; unable to get secret cert-domain-tls-key-example.com/cert-manager; secrets \"cert-domain-tls-key-example.com\" is forbidden: User \"system:serviceaccount:default:my-release-cert-manager-webhook-google-domains\" cannot get resource \"secrets\" in API group \"\" in the namespace \"cert-manager\"" "key"="default/example-com-dphgr-1778196375-4263164308"
Are you by chance running cert-manager in the default namespace?  Just trying to get this working.

I'm actually running it:

outside of the default namespace (although it should still work in default)
in the same namespace where cert-manager is installed
I'm also using a ClusterIssuer for my certificate

I haven't tried installing cert-manager in a different namespace from the webhook however.
Were you able to get it working? Sounds like an RBAC permission issue, but I'd like to dig further if you're still having issues.

I'm having this same issue
Looking at the cert-manager logs I noticed that the user it is trying to use is system:serviceaccount:cert-manager:google-webhook-cert-manager-webhook-google-domains but I guess it should be using cert-manager/cert-manager, as specified in the chart values
please take a look at my files
values-google_webhook.yaml.txt
google-secret.yaml.txt
test.cert.yaml.txt
google-issuer.yaml.txt

So I just ran some tests.
I get the same error if I deploy cert-manager-webhook-google-domains in a separate namespace from the secret.
The secret which contains the eab-key and acme-key must be in the same namespace as where you deploy the helm chart for cert-manager-webhook-google-domains:

cert-manager needs this secret since it uses the eab-key to talk to GTS and issue the challenge.
cert-manager-webhook-google-domains also needs this secret to solve the challenge by using the acme-key to present a DNS entry.

To access the acme-key, the cert-manager-webhook-google-domains pod needs to be able to read the secret. This is done through RBAC:

there's a Role that lets the ServiceAccount used by the pod to read a secret that has a specific name (the one specified by secretName in the values.yaml)
because this isn't a ClusterRole, this is namespaced -> you can't have the pod running in one namespace, and the secret in another.

To make it cross-namespace, I'd have to play with making it a ClusterRole, but I feel like that gives it unnecessarily broad scope. The pod would be able to read any secret in the cluster by changing the name in the values.yaml.
Try deploying the issuer, cert-manager and cert-manager-webhook-google-domains in the same namespace - does the error go away for you?
@gschanuel change the secretName in your values.yaml to cert-domain-tls-key-mydomain.com and I think it should work.
Let me know !

Hello @dmahmalat
I did the change you suggested and it really worked!
I'm attaching the files again with the changes just in case it helps someone else :-)
Thanks a lot for your work and attention!
google-secret.yaml.txt
values-google_webhook.yaml.txt
test.cert.yaml.txt
google-issuer.yaml.txt


feat: prometheus metrics

Fixes #506

The current error metrics is a bit useless since the server is exiting right after.
Imho useful requests could be for example track when a user successfully integrates a service, or when activities are synced, stuff like that...

@lbesson yes, the first step was only o validat the truct.
What do you think of the current metrics? There are a lots of code changes, but you could focus on https://github.com/c2corg/c2c_tracking/pull/529/files#diff-7d77f5ceb6ee4534805dfcce30eb145ee8dec315c582250d584a7510fbfb226d and its use.


[feature] Main watch list - add more title/URL info

Is your feature request related to a problem? Please describe.
Continuing request from https://github.com/dgtlmoon/changedetection.io/issues/1857, this feature request is to improve the 'main' page of watches, at [URL]/, and how much information it displays.

When using the feature Extract <title> from document and use as watch title, sometimes the title is not descriptive enough, and to view the URL you have to hover over the URL button to get the additional context.
The Last Checked / Last Changed time does not display exact information

For example:

Title hiding the URL prevents a quick glance which site is being watched.
Describe the solution you'd like
When pages have titles, URL can be displayed alongside the title itself, either in parentheses or perhaps on a tooltip?
Having Last Changed/Checked fields display exact timestamp on tooltip when hovered for more granular data would be nice.
4 days ago could display 10/13/2023 X:Y:Z on hover. Similar to github timestamps itself:

better split Watch Title/URL into 2 separate fields

Hmmm thought about this - no - I think it will make the table too noisy/squashed, but definitely having the title/mouseover's will be the best way

In the future on another major release, could be worth revisiting the UI entirely https://coderthemes.com/hyper/saas/tables-datatable.html
but not yet - definitely will add some more tip/title/mouseovers for now

https://grumpy.website/1389 too :)

In the future on another major release, could be worth revisiting the UI entirely https://coderthemes.com/hyper/saas/tables-datatable.html
but not yet - definitely will add some more tip/title/mouseovers for now

That would be great. Mostly when tracking price changes. Seeing those right on the table could be super useful.


Query Plan will not scroll after view query option is selected

When looking at a plan, right click and select "view query".  The associated T-SQL query will open into a new tab, however, when you return to the execution plan it will no longer scroll correctly.  I had a co-worker confirm the behavior as well.  We are both on ADS version 1.41.1.
You can see in the attached screen shot the vertical scroll bar is already at the top and I cannot scroll further to the left.
Results:

Apologies as I didn't include system information,

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off

Load (avg)
9, 9, 9

Memory (System)
64.00GB (0.53GB free)

Process Argv

Screen Reader
no

VM
0%

@aasimkhan30 could you please take a look?


Spag request from a predefined file

Define requests in yaml files
Spag discovers request files in specified directories
Added spag request command

spag request post_thing.yml --dir=./tests/resources
spag request v2/post_thing.yml --dir=./tests/resources

looks first for 'post_thing.yml' in our dir
uses 'v2/post_thing.yml' to disambiguate

common.py resolves a circular dependency between spag and spag_files

Not done. Needs refactoring and more test cases. Probably should add the @common_request_args decorator to the request command.


[WIP] Create Paillier bridge to hide test constructor

For discussion:
Paillier currently exposes a public constructor that is only for testing.  This is one way to make it default visibility (package private) to hide it as a published API, but make it available for testing via a bridge.
I hope we agree not to expose methods only designed for testing as public API.
Is there a better way to do this?

Hadoop uses guava's VisibleForTesting annotations I've used a little and it pretty simple.  Could put a unit test together sometime this weekend if interested.

The reason that this constructor was marked as "Only used, at this point, for testing purposes" was as an intermediate safeguard to user error. However, it is desirable, under certain conditions, for a user to input their primes p and q instead of allowing the system to generate them. This is the case for which this constructor public. It's not currently exposed out to the user (via a CLI), but it can/will be at some point to allow this functionality. Thus, I'm not in favor of marking it private.

Ok, thanks for the comment.  Let's update the javadoc instead.


Support paths for SSL cert/key

At this moment nuxt supports cert/key only as content (NITRO_SSL_CERT/NITRO_SSL_KEY env vars). Can support of paths be added too? It would improve DX with using .env file.

Sorry to grave dig but I'm curious, could you clarify what you mean when you say non-Node environments?

For example, on Cloudflare, Bun, Deno or Lagon.


Using cilium for network injection

Feature Request
Is your feature request related to a problem? Please describe:

Maybe we can use cilium to extend our chaos action
Describe the feature you'd like:

Explore cilium and extend our chaos actions
Describe alternatives you've considered:

None
Teachability, Documentation, Adoption, Migration Strategy:

None

It seems cilium is a more promising way for operating and managing networks.

It seems that cilium is a more promising way for operating and managing networks for us.

Yes. but it required bpf support

Is there a problem for adding bpf support? Forgive me. I don't get it.

Yes. It required a high kernel version(4.x). It seems now much server's kernel version is still 3.x

Make Cilium the default way to generate network chaos. When bpf is not available, fallback to netem ?

Make Cilium the default way to generate network chaos. When bpf is not available, fallback to netem ?

Yes, Exactly what the issue want to display

Wow. Seems interesting. Could you share more details about how we extend the chaos action now ?

Wow. Seems interesting. Could you share more details about how we extend the chaos action now ?

Sorry. I am still not sure about it now. It is still a suggestion and no proposal for it. Would you like to write a proposal for it(Maybe we also can found other use for cilium)

Yes. Let me try.


[Bug] Documentation Links are broken for a few datasources

Description
Users try to access our documentation links from the query page and don't get a result because they are configured incorrectly
Google Sheets, SnowFlake etc.

@ajinkyakulkarni super small fix that can help a lot of users

@ApekshaBhosale @vnodecg Hey team! Can you please add your planning poker estimates with ZenHub

Looks like this is fixed in current release.


Wrong Content Returned in Parallel Proxied Requests on 2.x

Experimenting with Wiremock 2.1.8 standalone in our functional tests I discovered that when many proxied requests occur concurrently (in our case the ~200 js files in the pre-minified/combined app) some requests will be randomly served content from other requests.
This is with a trivial setup, the only stub is wireMockServer.stubFor(WireMock.any(WireMock.urlMatching(".*")).atPriority(10).willReturn(         WireMock.aResponse().proxiedFrom("http://localhost:9999")));
Switching to 1.58 without any code changes appears to work successfully.

Thanks for letting me know. I've replicated this in a test case now.


Is clipped ReLU used in Jasper?

https://nvidia.github.io/OpenSeq2Seq/html/speech-recognition/jasper.html says that Clipped ReLU is used. However in the source code it's just "activation_fn" : tf.nn.relu
Thanks!

We use regular ReLU, clipped ReLU is optional

thanks!


cookbook:  ex_aws

ex_aws is widely used and supports minio via https://github.com/CargoSense/ex_aws/issues/253

Closing this as the original issue is also closed.


Corrected credential storage keys

Corrected the keys that are found in secrets representing storage credentials
For GA (1.0.0), to make use of credentials stored in secrets, the values that are being replaced in this PR will need to be used. This will need to be documented. @kurtismullins @thomasmckay any thoughts on how we would want to do this (Storage document?)

@sabre1041

any thoughts on how we would want to do this (Storage document?)

I think the storage document works great for now. I like the format you've started with; demonstrating how to configure each storage backend individually.


Fullstack Golang (tgram)

Work in progress here: https://github.com/recoilme/tgram
Based on golang/gin/slowpoke backend: https://github.com/recoilme/golang-gin-realworld-example-app
It will use Gin, Slowpoke and vanilla javascript
I have plans do it more close to "real world" then usually
With the medium like editor, medium like looks and feel and so on. But i am not good web developer any help - welcome!

First alpha (technical build) - may be available here:
http://tgr.am/

Looks like finished, but i use another design and UI, not from realworld.io
I think my version is much more functional. More "real"
Demo: http://tgr.am/

Screenshots if my site will down:
User pages:

@recoilme this looks really cool!
Does this implement the realworld spec though? This looks like a similar but different project, is the backend api the realworld api? If not I'm not sure we'd want to add it as a realworld project. We could add it as a community project possibly but the value of everyone adhering to the same specification is that every comparison is "apples to apples". This might be more valuable to the go community than the realworld community.
Thoughts? @anishkny

@Cameron-C-Chapman Hello, thank you for your attention! I started this project as realworld app but now it totally different from backend to frontend. Typegram has the same functionality in many places. Anyway it may be interesting to  realworld community, i don't know
I published it in golang nuts, but with zero comments(
https://groups.google.com/d/msg/golang-nuts/sR2YICtuEgM/uKhEgWyBBgAJ

Hello,
Great work but as it doesn't follow the specs anymore, we won't add it on this repo.


Fix executables listing

When we install this gem using Bundler's path: option in a Gemfile, and we're caching gems, the dynamic lookup of executables doesn't work b/c we're not in the repo's Git dir. Instead, just list the one executable we publish.

I've had just use the boilerplate generated by bundle gem, I guess the pwd is different then, so it will not find the executable.
Never used it in a Gemfile, always installed it just via gem install or rake install, so then the Gemspec would be evaluated.
I will merge it, if it helps you.

Thank you, @zealot128


feat(auth): support for fastify

@llong2195 can you fix the test failures?
And do you think you could add an e2e test scenario for this in our integration folder? 🙂

Why was this closed and not merged? @tolgap

@rauldeheer I didn't close it? I simply asked the contributor to fix the tests and add some Fastify tests to the integration tests.


2.13.0-M5

~Just checking if the CI passes for now (still some unnecessary duplication, and probably adjustments to be made in ops to break less things).~

@lihaoyi Do you want to review? I guess I can merge else…

@alexarchambault no idea what's going on, but you seem to know what you're doing so go ahead

I only had a quick look at the links of the "collection changes" section, in the 2.13.0-RC1 release notes, to adapt History, FilterMapExt, and LsSeq. Apart from that, it's mostly inocuous changes (version bumps, conversions to immutable seqs for 2.13, …)
I guess I'll merge when the CI is green then.


RefMutContainer could be dropped when its owner still exists

The below code shows RefMutContainer can drop when its Owner variable still exists.
>>> import rraft
>>> s = rraft.MemStorage()
>>> s.initial_state().initialized()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
rraft.DestroyedRefUsedError: Cannot use a destroyed object's reference!

So, users should save the intermediate variable somewhere.
(For example, See v2 in https://github.com/lablup/rraft-py/blob/1566964/harness/tests/test_raft.py#L4255)
It would be great if users doesn't need to save these variables.
I'm uncertain if it could be possible.

import rraft

class MemStorageWrapper:
    def __init__(self):
        self._storage = rraft.MemStorage()
        self._initial_state = None

    def initial_state(self):
        if self._initial_state is None:
            self._initial_state = self._storage.initial_state()
        return self._initial_state

I found that the mere presence of method chaining does not guarantee that the error will be reproduced.
Python 3.11.3 (main, May 11 2023, 10:45:37) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rraft
>>> snapshot = rraft.Snapshot.default()
>>> snapshot.get_metadata().set_index(0)
>>>

Oh, I found initial_state of mem_storage returns Owner type instead of Reference type.
This seems the cause of this weird bug 😅
Because when a method returns Owner type, it should be dropped in python when its reference count is zero.

I think it's a very part to miss, but it's not a bug, so I will close this issue.


Same migration running twice in multi-server environment...when transaction: false

Environment
Knex version: 0.21.12
Database + version: Postgres 12.6
OS: Linux
Bug
We use K8S and leverage initContainers to be responsible for running our migrations via knex migrate:latest when we deploy, before the pods running the new code are fired up.
If we have more than 1 pod, that means more than 1 initContainer will run. It is expected that 1 init container will be successful at running any outstanding migration(s), while the other(s) will either finish with an already up to date, or warn about obtaining the lock, and then fail/retry and subsequently complete with already up to date.
However, I have recently deployed code that contains a migration that was actually run twice: once by each init container (we have 2 pods, so 2 init containers).
The init container "A" did the work, while init container "B" failed at first complaining about the lock...but then subsequently re-ran the migration.
2 entries were created in the knex_migrations table as a result - each with the same value in the name column, but with different batch numbers and timestamps.
I have been been able to replicate and observe this behavior multiple times, though it does not always happen...presumably due to timing.
Some notable things:

This was a "data" migration where we did not actually change the schema, but wanted to convert some data.
Because there was a lot of data being altered, the migration exported a config that specified not to use a transaction.

I'm confused by what Knex must be doing with the locks, as well as by its decision to re-run the migration with the same filename...seems like a bug around locking and selecting/inserting into the knex_migration table both when it's thinking about doing the work, and when it has completed doing the work.
Init container A's logs were something like this:
knex migrate:latest --cwd server
Batch 76 run: 1 migrations

While init container B's logs were something like this:
knex migrate:latest --cwd server
Can't take lock to run migrations: Migration table is already locked
If you are sure migrations are not running you can release the lock manually by running 'knex migrate:unlock'
error Command failed with exit code 1.
knex migrate:latest --cwd server
Batch 77 run: 1 migrations

Here's the knex_migrations table afterwards:

Here's a simplified version of the migration file:
'use strict'

export const config = {
  transaction: false,
}

export async function up (knex) {
  while (true) {
    // Select some things
    if (lengthOfThings === 0) break
    // Do some work
  }

  return true
}

export function down (knex) {
  return Promise.resolve()
}

Do you have readinessprobes on the pods?

What I was thinking was that maybe the first pod became ready before the migrations are done, but no, initcontainer should be finished before that happens, right?

I believe that that the initContainers run and must exit successfully before the nodes in the Pod will be started up. But, as I mentioned, we have 2 Pods so each has an initContainer that runs at roughly the same time.

@newhouse Have you tried this against the latest version of KnexJS (0.95.5)?


Handle lid closing in the right way

Ref: https://unix.stackexchange.com/questions/307497/gnome-disable-sleep-on-lid-close

Still having problems


The EDA is a serious issue

It's insane to mine 30 blocks/hour. If we don't fix the EDA algorithm this crazy oscillation will never stop. When these mining pools adopt auto switch mining（Bitcoin.com already did）, the oscillation will occurs even more frequently( 1% more profit will make the hashpower switch). We can't beg some kind miners to keep mining with less profit to stop the EDA lock in. It is not a long-term mechanism which backed by game theory and economic incentives.
'As such, if the market perceives the BCC chain as better, the fluxuations
will stop as the majority of the hashpower starts moving to it. Permanently.'---Tom Zander
Tom, I'm really worried about your thinking. Why you so sure it's so obvious that market should notice BCC chain is better. Market is greedy, they only care about profit and price. The inflation caused by EDA will keep BCC’s price down and slow the adoption. Hashpower won't move to BCC permanently, unless BTC dies. But if we don't fix the EDA, BCC may die first（the reward halving will arrive much quicker than BTC，which also means hashpower halving）.
As a user，I'd like to accept BCC in my store，but waiting 6 hours for a single confirm？You gotta be kidding me.
Sorry about my broken English，but I think I made my point.

It may be useful to note that I largely agree with you.
I noticed this issue before we forked off, and I proposed a solution which has been ignored by the rest of the community; https://github.com/Bitcoin-UAHF/spec/pull/15
I even proposed a solution for this on the mailinglist as well.
Unfortunately the reality is that we need a hard fork to fix this. Nothing I say or do will change that. On top of that it is a change that 100% of the wallets, miners and users need to follow.
And I have to be realistic and state that doing that in 2017 is not a good idea.


Want to have a simple use example

Want to have a simple use example

Hi,
please have a look recent README.md


Community Meeting May 18, 2021

Tuesday May 18, at noon Eastern, 9am Pacific, 4pm UTC; find your time
Meet link: https://meet.google.com/squ-dtxk-xdi
This issue will collect prospective agenda topics. Add topics you'd like to discuss below.

progress update; changes this week
how do people want to run kcp? options include:

embedded as a library
separate kcp / cluster-controller-with-syncer ("push")
separate kcp / cluster-controller with in-cluster ("pull") syncers
separate kcp / cluster-controller with external/remote syncers ("none"-mode)

Add more topics below!

A couple more potential topics:
Syncer will need some notion of filters/transforms to apply to resources, beyond just only syncing objects with the cluster label. How should we express those?

filter out any resources in syncer-system (https://github.com/kcp-dev/kcp/issues/83)
transform namespace names before applying to the leaf cluster
@smarterclayton 's comment in Slack thread:

some kind of pod spec defaulting spec -> fill out security defaults -> spec would be a specific transformation
...
the reason to have separate syncers is because you can more tightly control the pipeline. admission doesn’t have to be part of the source cluster - it might be part of the syncer.  this has other advantages (strong control over what is admitted to the target cluster).  admission on create loses context that a sync pipeline has that the control plane may not

There are already a few "syncer"-like things out there, in CAPN, OCM, etc. -- how much should we focus on kcp including its own syncer impl, vs making sure existing syncers can be made to work with kcp to retain their own syncer behavior/semantics. cc @mdelder

Jason DeTiberus's KubeCon talk, "From Tweet to Badidea: Creating an Embeddable Kubernetes Style API Server", is up on YouTube: https://www.youtube.com/watch?v=fxqV24h_ocs  👀

Discussion about adding a new line of investigation around "syncer as a reusable library"

Lots of people (CAPN, vcluster, karmada, ocm/acm) have done library for syncing - targeted for their use cases

in theory a "library" or "framework" should match the key use cases and be easily pivotable
transparent multi-cluster (have an object at the top level and an object on the cluster) is our unique focus and we'll assess components based on that

Unique contributions that kcp prototype can bring to the syncer narrative

CRD normalization is an attempt to solve "how do i evolve an API across clusters" - sometimes that is adding optional fields (how kube handles v1).  Sometimes that is detecting version breaks, or conversion.  If we can solve this problem more effectively, that changes what syncers can rely on (namely that direction a -> direction b is always safe)

Discussion on transparent multi cluster

In theory transparent multi-cluster is intended to give us the tools to make "regional failure" and "partition" normal to test, emulate, or simulate in production since movement relies on those tools surviving those mechanics.  By making these behaviors normal, we can give operational teams a new toolset for simulating and surviving failure at each of these domains, which requires us to think very closely about how we design our APIs.


Feat: Support nested add/remove columns + positional additions

When doing forward-only changes we can now do the following:

Identify changes at the struct level and support adding a column to the struct (if the engine supports it)
Identify the position to where a column was added and add to the given position (if the engine supports it)

The struct can be standalone or in an array. Engines can define how they support referring to an element in the array if they support it.
All of this mostly just benefits Delta tables today but this was built to support other engines or formats in the future if they also support these features.
TODO:

[x] Add positional support to SQLGlot: https://github.com/tobymao/sqlglot/issues/1382
[x] Write some tests to verify behavior with precision associated with types (like VARCHAR(20))

@izeigerman can you take a look at this please because it's your code


Add checking for Function.prototype.bind() exists

Hi.
I work with browsers that are so old that they don't have 'bind' function (Function.prototype.bind() ) and this line (src/livereload.coffee:20) causes an error, which crash all livereload.
Can you add check to the 'bind' function existence?
Somethin like that:

error:  this.window.console.error.bind ? this.window.console.error.bind(this.window.console) : function() {}

I hope that you can add this small checking ;)

Same problem here, using phantomjs.


Unable to cross compile for Raspberry Pi Zero

Firstly, what an amazing project. I found it so useful, I run my own atuin server and I've installed the client on nearly all my machines.
It took a LOT of work to get this compiled to run on some machines. Some of my older machines like Ubuntu 14.04, I was just not able to get it compiled for. I currently have atuin running on about 90% of my systems, which is pretty impressive.
This issue is about Raspberry Pi Zero. I've successfully compiled atuin for aarch64 (rpi3 and rpi4). However, the rpi Zero binary
I've compiled doesn't seem to work. It compiles just fine, using cross (https://github.com/rust-embedded/cross). The binary seems to run on the rpi Zero. I was able to do atuin import bash and atuin history list without a problem on the rpi Zero.
I'm unable to login though. Here's the result from atuin login on the rpi Zero.
thread 'main' panicked at 'Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.', /cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/runtime/blocking/shutdown.rs:51:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Has anyone been able to compile and run atuin on Raspberry Pi Zero?

Since the error suggests tokio (our asynchronous runtime), and the page for the RPi Zero says it's a single core device, I guess it's a threading issue. I think it might be reproducible on other environments if we configure tokio to be single threaded.

I looked into it, I think I should be able to get a fix out shortly


Bridge request for Graphic Audio.

Bridge request
I would like to request an RSS bridge for Graphic Audio (https://www.graphicaudio.net/).
General information
It would be nice to have generated RSS feeds for new releases (https://www.graphicaudio.net/our-productions/new-releases.html), upcoming releases (https://www.graphicaudio.net/our-productions/upcoming-releases.html), new sets (https://www.graphicaudio.net/our-productions/series-set.html), new releases for listed authors (https://www.graphicaudio.net/our-productions/authors/a-e/cherie-priest.html), and maybe direct store exclusive releases (https://www.graphicaudio.net/our-productions/direct-store-exclusives.html).
Useful information from an entry (https://www.graphicaudio.net/mistborn-series-set.html) could be title, author, date of release, the summary (full summary or partial summary, by RSS-Bridge user selection), running time, genre, and content rating.  And, of course, a direct link to the page at graphicaudio.net.
Formatting seems as if it would be fairly straightforward, fitting into the existing RSS schema:

rss -> channel -> item -> title would map to the audiobook's title
rss -> channel -> item -> dc:creator would map to the audiobook's author(s)
rss -> channel -> item -> pubDate would map to the date the audiobook's entry appeared
rss -> channel -> item -> description or content would map to the audiobook's summary on the page

The running time could also fit here.
The genre could also fit here.
The content rating could also fit here.

rss -> channel -> item -> link would map to the audiobook's link on the site

..possibly also the guid field, though personally I'd prefer an actual GUID for this.

Which of the following parameters do you expect?

[X] Title
[X] URI (link to the original article)
[X] Author
[X] Timestamp
[X] Content (the content of the article)
[ ] Enclosures (pictures, videos, etc...)
[X] Categories (categories, tags, etc...)

Options

[X] Limit number of returned items

Default limit: 5

[X] Load full articles

Cache articles (articles are stored in a local cache on first request): yes
Cache timeout (max = 24 hours): 24 hours

[X] Balance requests (RSS-Bridge uses cached versions to reduce bandwidth usage)

Timeout (default = 5 minutes, max = 24 hours): 5 minutes

Hi @virtadpt
You can use the xpath bridge to get you basically all the way (only "problem" is that there is no real description, but to do that with a bridge of its own, you would need to run hundreds of querys for every update. So it wouldnt be nice anyways.).
Use the xpath bridge with these settings:
URL: <any of the ones you've posted>
Item Selector: /html/body/div[7]/main/div[4]/div/div[5]/ol/li[*]
Item Title Selector: .//div/a/div/h2
Item Description Selector: .//div/a/@href
Item URL Selector: .//div/a/@href
Item Image Selector: .//div/a/span/span/@style

Thank you - I'll give it a try!


Add --skip-protocols to exclude specific protocols from format extraction

this is different from using protocol!= because it won't request manifest urls at all for the specified protocols.

i will work on the idea of skiping steps as you request when i have more time.


using web worker at npm component

Describe the bug
i was  using web worker at npm component, and package a worker.js at dist directory.
when i using this component at development environment:
import '@vb_he/vue-virtual-scroll/dist/worker.js?worker'

it turn's error:
GET http://localhost:3000/worker.js 404 (Not Found)
Reproduction
https://stackblitz.com/edit/vitejs-vite-po77p4?file=vite.config.js
Steps to reproduce
No response
System Info
System:
<EMAIL_ADDRESS>
Binaries:
  nodejs: v16.12.0
  npm: 8.1.0
npmPackages:
  vite: 4.0.4
  vue: 3.2.45

Used Package Manager
npm
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 vuejs/core instead.
[ ] 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.

@vb_he/vue-virtual-scroll has the following code that loads /worker.js.
const worker = new Worker(new URL("/worker.js", self.location));

https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>When you access http://localhost:3000, this code will load the worker from http://localhost:3000/worker.js.
Closing as this is working as intended.
Maybe you wanted to do new Worker(new URL("./worker.js", import.meta.url))? This one doesn't work when the package is pre-bundled (#8427).


Power Toys Window Closes Itself Upon Opening (or you get a blank window every now and then)

ℹ Computer information

Windows build number: 20185
PowerToys version: 0.20.1 x64
PowerToy module: Microsoft.PowerToys.Settings.UI.Runner.exe

📝 Provide detailed reproduction steps (if any)

Run Powertoys
Try to open the interface by clicking on the taskbar icon (or right clicking it and choosing settings)

✔ Expected result
PowerToys Main Window should open
❌ Actual result
Window Opens empty and closes itself after a second, or it hangs empty doing nothing. I tried reinstalling it many times, even using revo uninstaller to remove almost everything (except for my settings). The program seems to be running ok in the background (I can use my fancy zones normally), but I can't open the program's interface to change any settings.
📷 Screenshots
No useful screenshots, but there's this in the event viewer:
Faulting application name: Microsoft.PowerToys.Settings.UI.Runner.exe, version: <IP_ADDRESS>, time stamp: 0x5e222541
Faulting module name: ucrtbase.dll, version: 10.0.20185.1000, time stamp: 0x2cbcc1e1
Exception code: 0xc0000409
Fault offset: 0x000000000007c61e
Faulting process id: 0x4f6c
Faulting application start time: 0x01d66c89fc887e07
Faulting application path: C:\Program Files\PowerToys\SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: b2a28115-0ebd-4c31-a716-00f5f21181c5
Faulting package full name:
Faulting package-relative application ID:

EventData

   Microsoft.PowerToys.Settings.UI.Runner.exe
   <IP_ADDRESS>
   5e222541
   ucrtbase.dll
   10.0.20185.1000
   2cbcc1e1
   c0000409
<PHONE_NUMBER>07c61e
   4f6c
   01d66c89fc887e07
   C:\Program Files\PowerToys\SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.exe
   C:\WINDOWS\System32\ucrtbase.dll
   b2a28115-0ebd-4c31-a716-00f5f21181c5

@ryanbodrug-microsoft / @laviusmotileng-ms

@TheSimArchitect
is this still happening for you with 0.27.1?

Hi @enricogior
Since it seems the camera features were rolled out a while ago I didn't update past 0.25 yet, sorry.
I have been using it for a while without issues, but I didn't want to risk being locked out of PowerToys again when I saw that you brought the camera thing back. 😟

@TheSimArchitect
since in 0.25 this was not happening for you, can we close the issue?

Sure! Thank you very much!


[feature request] unable to override dist.init_process_group timeout in under zero.Init

When zero.Init is used how can a user override the timeout dist init arg? as the dist is inited here:
https://github.com/microsoft/DeepSpeed/blob/41a9bde14c808a75452baaa2609681316fc6912b/deepspeed/runtime/zero/partition_parameters.py#L654-L655
Of course the user could do something like this before instantiating the model:
from datetime import timedelta
import torch
[...]
                if not torch.distributed.is_initialized():
                    torch.distributed.init_process_group(backend="nccl", timeout=timedelta(seconds=3*60*60)))

but I'm not sure this would even work with deepspeed now using its own comms module and the init calls is much more complex - how would they know to provide the right args?
https://github.com/microsoft/DeepSpeed/blob/41a9bde14c808a75452baaa2609681316fc6912b/deepspeed/comm/comm.py#L376-L383
but perhaps the other alternative is to give users an API to override the default default_pg_timeout, so then they could just do:
form deepspeed import something
something.set_default_pg_timeout(3*60*60)
model = AutoModel.from_pretrained(...) # which internally calls `zero.Init` in transformers

for context: we are dealing with a silent crash in GPU followed by a timeout, so in order to be able to catch this event in action we were trying to extend the timeout to something much longer and run into this issue. Going to try the workaround I proposed at the top of this post.
@tjruwase

Do you think a ds_config option would work here? zero.Init has access to the ds_config.

Yes, that would be another option on how to do it. I just thought that as this is very rarely going to be used it won't be worthwhile adding to the config, but by all means, yes, it'd work.

I've been facing NCCL timeouts and even after setting timeout to larger value in AcceleratorState, I still face this error. Finally, I see that this is on the deepspeed side.
It's a bit complex to figure out the right place to initialize the process group. So for now, I've done an ugly thing and modified the constants.py directly and increased the timeout.
Would be great to have this feature!

same error here , an update?

same error, how is it going now?

How to solve it, same error

how to solve it?

If you're using Accelerate, it should work fine there since summer.
Try the approach shown in this reply:
https://github.com/huggingface/accelerate/issues/1401#issuecomment-1543257739
I have just tried the code from above and it works for me. e.g. I set the timeout to 1 sec, and then the timeout easily gets triggered - e.g. inside the dataloader code creation.
Also add export TORCH_CPP_LOG_LEVEL=INFO and then check the logged value of TIMEOUT(ms) as demoed in the comment I linked to above.
Make sure you get the numbers right when you assign the timeout. e.g. for 3h timeout=timedelta(seconds=3*60*60)
I'm using accelerate==0.25, torch==2.12, deepspeed==0.12.6


Should not allow retention policy with Replication > number of data nodes

Multiple copies of the same point on the same node accomplishes little other than using up extra disk space. Therefore the replication factor should never exceed the number of data nodes.
Running a single-node cluster so by definition only one data node. From the CLI ran > CREATE RETENTION POLICY test_dupe ON mydb DURATION INF REPLICATION 3 and the RP was created without error and happily accepted writes.

Were you able to confirm that Influx was actually writing each point 3 times to that single node? Or maybe I'm misunderstanding your observation.
At first blush I actually think it makes sense for a cluster to accept a RF > data_node_count, as long as the system is able to recognize that when data_node_count is finally >= the RF, the data that was not replicated fully (due to a lack of data nodes) is subsequently replicated appropriately to the new nodes.
It seems like a silly scenario, but I can imagine a situation where a 3-node cluster loses a data node, and while it's being brought back online / replaced, new databases are created with RF=3. If the cluster appropriately removes the failed data node, then the new RF should still be accepted and should accept writes, but should log warnings about replication being incomplete (or something).
Then when that 3rd data node is back online / replaced, whatever data should have been replicated on that node is automatically replicated to it and primacy for the appropriate shards is reassigned.
Then again, I could be unaware of major problems with that line of thinking. :-) That's just how I envision a resilient cluster.

@cboggs I didn't try to confirm anything about the replication, it just seemed a bit nonsensical. You bring up an interesting edge case, though, where the RF can be temporarily greater than the node count due to a node outage.
I think, though, that it would be acceptable for the retention policy create statement to error out while there were still only two nodes. Retention policies that have to be created during that downtime can be altered post-node restore.
The real question is whether the data re-replicates when the RP is updated. I think right now historical data is not re-replicated due to changes but that could be something triggered with a specific command.

Yea that seems pretty reasonable. Creating lots of databases frequently seems like an anti-pattern (or at least a non-pattern), so it's probably not a common enough case to worry about explicitly.
As for the historical replication, that does indeed sound difficult to manage automatically. Having to trigger a 'recovery' operation or something after node replacement would be a good interim fix. Automating it would be ideal though - I'm kind of in love with Elasticsearch's ability to do so. :-)
Thanks for the feedback!

Closing this out since it's no longer applicable.


How to respone to client with webapi not console and less lag？ thank you

is there ssr function in the sdk？

Can you explain your question more?

sprry there is a typo
I mean make a webapi api with SSE sever side event to fast respone。。is this sdk include this method or I must make it myself

Use AskStream method. @Smallthing
If you are using the unofficial one, see my PR which fixes it.


Drag interpolation speed

Describe the bug

There is no documentation on how to increase the speed of the animation interpolation of a dragged animated div.

I presume there is somewhere deep within the library a way to increase the interpolation of the drag action, but it's not trivial to find it at all. Could someone point me in the right direction in order to increase the speed of the interpolated dragged animated div?
Currently, all I have is this but I would really want to increase the speed of the interpolation:
const translateCard = (r: number, x: number, y: number) =>
  `translateX(${x}px) translateY(${y}px) rotateZ(${r}deg)`;

<animated.div style={{transform: to([rotation, x, y], translateCard)}} />

Checklist:

[x] I've read the documentation.

For context, the full drag code implementation for my case can be found here


Fix connecting to non-localhost clearnet bitcoind

Bug introduced with #49. Also added host:port info to connecting log message and commented out bad debug lefover print (outputs RPC password).

Ahh I was so sure I replaced all the old config lines.. Thanks!


Add gpus-per-node to job scripts and resources

Checklist

[ ] API documentation in the Developer's Guide (api.md) has any new or modified class, method and/or functions listed
[ ] Testing comment in the PR documents testing used to verify the changes

This is probably needed before #204.  It probably shouldn't be included in that PR so things are cleaner, but it also can't really be tested without the new version of mache in that PR.

@altheaden, can you approve this based on your testing?


Update mina.go

Taking the code from: https://github.com/xenowits/nakomoto-coefficient-calculator/issues/59
Closes: https://github.com/xenowits/nakomoto-coefficient-calculator/issues/38
Closes: https://github.com/xenowits/nakomoto-coefficient-calculator/issues/59
Tested working by running go run main.go
2024/10/02 09:16:21 Calculating Nakamoto coefficient for Algo
Total voting power:<PHONE_NUMBER>262260
The Nakamoto coefficient for Algorand is 10
2024/10/02 09:16:22 Successfully calculated Nakamoto coefficient for Algo: 10
2024/10/02 09:16:22 Calculating Nakamoto coefficient for Aptos
Total voting power:<PHONE_NUMBER>0866825
The Nakomoto coefficient for Aptos is 23
2024/10/02 09:16:25 Successfully calculated Nakamoto coefficient for Aptos: 23
2024/10/02 09:16:25 Calculating Nakamoto coefficient for Cosmos
2024/10/02 09:16:25 Fetching data for cosmos
2024/10/02 09:16:27 Voting powers for cosmos: 180 validators with a total voting power of<PHONE_NUMBER>69432
2024/10/02 09:16:27 The Nakamoto coefficient for cosmos is 7
2024/10/02 09:16:27 Successfully calculated Nakamoto coefficient for Cosmos: 7
2024/10/02 09:16:27 Calculating Nakamoto coefficient for Avalanche
Total voting power:<PHONE_NUMBER>71923092
The Nakamoto coefficient for Avalanche is 25
2024/10/02 09:16:28 Successfully calculated Nakamoto coefficient for Avalanche: 25
2024/10/02 09:16:28 Calculating Nakamoto coefficient for Agoric
2024/10/02 09:16:28 Fetching data for agoric
2024/10/02 09:16:30 Voting powers for agoric: 97 validators with a total voting power of<PHONE_NUMBER>50664
2024/10/02 09:16:30 The Nakamoto coefficient for agoric is 6
2024/10/02 09:16:30 Successfully calculated Nakamoto coefficient for Agoric: 6
2024/10/02 09:16:30 Calculating Nakamoto coefficient for BNB Smart Chain
The Nakamoto coefficient for BNB Smart Chain is 7
2024/10/02 09:16:31 Successfully calculated Nakamoto coefficient for BNB Smart Chain: 7
2024/10/02 09:16:31 Calculating Nakamoto coefficient for Polkadot
Total voting power:<PHONE_NUMBER>170143564
The Nakamoto coefficient for Polkadot is 123
2024/10/02 09:16:33 Successfully calculated Nakamoto coefficient for Polkadot: 123
2024/10/02 09:16:33 Calculating Nakamoto coefficient for MultiversX
Total voting power: 3201
The Nakamoto coefficient for MultiversX is 8
2024/10/02 09:16:34 Successfully calculated Nakamoto coefficient for MultiversX: 8
2024/10/02 09:16:34 Calculating Nakamoto coefficient for Graph Protocol
Total voting power:<PHONE_NUMBER>29994033545772962
The Nakamoto coefficient for graph protocol is 3
2024/10/02 09:16:35 Successfully calculated Nakamoto coefficient for Graph Protocol: 3
2024/10/02 09:16:35 Calculating Nakamoto coefficient for Hedera
Total voting power for Hedera is: 2.0967741928e+10
The Nakamoto coefficient for Hedera is 7
2024/10/02 09:16:36 Successfully calculated Nakamoto coefficient for Hedera: 7
2024/10/02 09:16:36 Calculating Nakamoto coefficient for Juno
2024/10/02 09:16:36 Fetching data for juno
2024/10/02 09:16:38 Voting powers for juno: 100 validators with a total voting power of<PHONE_NUMBER>7111
2024/10/02 09:16:38 The Nakamoto coefficient for juno is 8
2024/10/02 09:16:38 Successfully calculated Nakamoto coefficient for Juno: 8
2024/10/02 09:16:38 Calculating Nakamoto coefficient for Polygon
Total voting power:<PHONE_NUMBER>
The Nakamoto coefficient for 0xPolygon is 4
2024/10/02 09:16:41 Successfully calculated Nakamoto coefficient for Polygon: 4
2024/10/02 09:16:41 Calculating Nakamoto coefficient for Mina Protocol
The Nakamoto coefficient for Mina is 11
2024/10/02 09:16:46 Successfully calculated Nakamoto coefficient for Mina Protocol: 11
2024/10/02 09:16:46 Calculating Nakamoto coefficient for Near Protocol
Total voting power:<PHONE_NUMBER>23691052687778204513616
The Nakamoto coefficient for near protocol is 11
2024/10/02 09:16:47 Successfully calculated Nakamoto coefficient for Near Protocol: 11
2024/10/02 09:16:47 Calculating Nakamoto coefficient for Osmosis
2024/10/02 09:16:47 Fetching data for osmosis
2024/10/02 09:16:48 Voting powers for osmosis: 150 validators with a total voting power of<PHONE_NUMBER>61920
2024/10/02 09:16:48 The Nakamoto coefficient for osmosis is 8
2024/10/02 09:16:48 Successfully calculated Nakamoto coefficient for Osmosis: 8
2024/10/02 09:16:48 Calculating Nakamoto coefficient for Pulsechain
Total voting power:<PHONE_NUMBER>48
The Nakamoto coefficient for Pulsechain is 5
2024/10/02 09:16:49 Successfully calculated Nakamoto coefficient for Pulsechain: 5
2024/10/02 09:16:49 Calculating Nakamoto coefficient for Regen Network
2024/10/02 09:16:49 Fetching data for regen
2024/10/02 09:16:50 Voting powers for regen: 21 validators with a total voting power of<PHONE_NUMBER>18883
2024/10/02 09:16:50 The Nakamoto coefficient for regen is 5
2024/10/02 09:16:50 Successfully calculated Nakamoto coefficient for Regen Network: 5
2024/10/02 09:16:50 Calculating Nakamoto coefficient for Thorchain
Total voting power:<PHONE_NUMBER>047115
The Nakamoto coefficient for thorchain is 31
2024/10/02 09:16:51 Successfully calculated Nakamoto coefficient for Thorchain: 31
2024/10/02 09:16:51 Calculating Nakamoto coefficient for Sei
2024/10/02 09:16:51 Attempting to calculate Sei Nakamoto coefficient...
2024/10/02 09:16:51 Fetching data for sei
2024/10/02 09:16:52 Voting powers for sei: 39 validators with a total voting power of<PHONE_NUMBER>022587
2024/10/02 09:16:52 The Nakamoto coefficient for sei is 8
2024/10/02 09:16:52 Successfully calculated Nakamoto coefficient for Sei: 8
2024/10/02 09:16:52 Calculating Nakamoto coefficient for Solana
2024/10/02 09:16:52 Error in chain Solana: json: cannot unmarshal object into Go value of type chains.SolanaResponse
2024/10/02 09:16:52 Failed to update chain info: SOL json: cannot unmarshal object into Go value of type chains.SolanaResponse
2024/10/02 09:16:52 Calculating Nakamoto coefficient for Stargaze
2024/10/02 09:16:52 Attempting to calculate Stargaze Nakamoto coefficient...
2024/10/02 09:16:52 Fetching data for stargaze
2024/10/02 09:16:53 Voting powers for stargaze: 129 validators with a total voting power of<PHONE_NUMBER>698422
2024/10/02 09:16:53 The Nakamoto coefficient for stargaze is 11
2024/10/02 09:16:53 Successfully calculated Nakamoto coefficient for Stargaze: 11
2024/10/02 09:16:53 Calculating Nakamoto coefficient for Sui Protocol
Total voting power for sui: 10000
The Nakamoto coefficient for sui is 16
2024/10/02 09:16:54 Successfully calculated Nakamoto coefficient for Sui Protocol: 16
2024/10/02 09:16:54 Calculating Nakamoto coefficient for Celestia
The Nakamoto coefficient for celestia is 8
2024/10/02 09:16:55 Successfully calculated Nakamoto coefficient for Celestia: 8

@xenowits do you need to redeploy? its been a while this has been merged, but seems the calculation is still off on the live site.

Hey @shawntabrizi , I'm still debugging this issue on the devops side. Meanwhile, please run the code again and see if mina's calculation is fixed.


⚠ Bofrost.at has degraded performance

In 0da881b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1742 ms

Resolved: Bofrost.at performance has improved in b836181 after 23 minutes.


docs(add): "your first plugin" guide

A guide for first time users at creating a plugin.

Important: this guide uses links that are only valid to my other docs update for the major refactor of concepts/plugins.
#802

Sanitization of birthday should probably take place in that before hook too huh...

this is really good!

this is really good!

Thanks, I really appreciate it!!


Scavenger Hunt: Using the network tab in the browser devtools, try to find how the data we get from mapillary's backend services are structured/formatted

Part of understanding what gets rendered to the map is understanding where that data comes from, and how it is structured.
To accomplish this task, you will need to:
Find an area of the map that contains mapillary objects and traffic signs.
Enable those layers in the map using the 'map data' option in the right-hand sidebar, then 'photo overlays->mapillary->map features' and 'map signs'.
Screenshot:

You can head to detroit, MI to see tons of examples of mapillary data.
To get to detroit, you can use the feature search bar in the upper-left of the rapid UI:

data comes mainly from: https://graph.mapillary.com and https://mapwith.ai/rapid
request: https://graph.mapillary.com//1142183016308648/detections?access_token=MLY|3376030635833192|f13ab0bdf6b2f7b99e0d8bd5868e1d88&fields=id,value,image
# example response for tiles { "data": [    {       "url": "https://scontent.fcai19-4.fna.fbcdn.net/m1/v/t6/An_Hsr8ZDUb6a_vumArxv4_NRTndlW5UJl_LKOiDuU44yFU7zUzjRfaG0zaF1_IlMey5BvWT4GApwpRlXjtLiFWkgXzemSdsAHnbN5DB0IYAOUI_om3LysgtS-xFRvZd1V1OwIU0a8z2r4DL5BQs0kk?stp=c0.0.4096.4000a_s1024x1024&ccb=10-5&oh=00_AT9kRpUXHlqTQhXsSRWoFphUNem7tsRmYywKdldcc96log&oe=62146099&_nc_sid=122ab1",       "z": 11,       "x": 0,       "y": 0    },    {       "url": "https://scontent.fcai19-4.fna.fbcdn.net/m1/v/t6/An_Hsr8ZDUb6a_vumArxv4_NRTndlW5UJl_LKOiDuU44yFU7zUzjRfaG0zaF1_IlMey5BvWT4GApwpRlXjtLiFWkgXzemSdsAHnbN5DB0IYAOUI_om3LysgtS-xFRvZd1V1OwIU0a8z2r4DL5BQs0kk?stp=c4096.0.3904.4000a_s1024x1024&ccb=10-5&oh=00_AT8p-w_iDpj6G_sQle3MBtI3UI4Xx9ay2odDR7tuAwD6Tg&oe=62146099&_nc_sid=122ab1",       "z": 11,       "x": 1,       "y": 0    } ] }

# example response for the a street light    {          "id": "147888333990126",          "image": {             "geometry": {                "type": "Point",                "coordinates": [                   -83.047415359139,                   42.363216409778                ]             },             "id": "147428514036108"          },          "geometry": "Gi14AgoGbXB5LW9yKIAgEh4IARgDIhgJRuYYSgYCBAYACAEEGQgFBwAJAgMMBQ8=",          "value": "object--street-light"       },


Admin Reporting App

Background: A health plan administrator user will need to be able to log into an app that gives them a views/dashboards of 3rd party app usage and API usage in their particular single tenant 1up environment

Health plan admin user can login into an application in single tenant environment (e.g., akin to Dev Console)
Review list of 3rd party apps registered with 1up (done centrally in 1up PROD), and decide if a particular 3rd party app needs to be blocked/rejected (which will invalidate all of that's app tokens, and remove their production access)
Review 3rd party app registrations

HTD will be creating the non-reporting aspects of the admin app. Reporting aspects will be in Kibana. Allows much faster, cheaper iteration with real-world usage on the reporting aspects. Will explore integration/embedding into admin app later.

Reports / Views related to their Specific Single Tenant Instance:

How many members (patients) loaded to the environment, over time, broken down by:

Active members
Inactive members
Delegates (children, dependents, powers of attorneys, etc.)
See below on additional billing details

How many total API calls over time period overall (across all apps)
Total API calls per individual 3rd party app
API calls by FHIR resource type (overall and by 3rd party app)

Most used apps for members (based on how many times authorized by member, which will be captured in FHIR Consent resources in FHIR server)

How many total members have approved any 3rd party apps (across all apps)
How many members have approved a particular 3rd party app
How many members have approved at least 1 individual 3rd party app
Automated 1up API status dashboard (starting with current dev console)

Particular APIs relevant to health plans:

FHIR R4 crud
Their auth server /token, /authorize endpoints

Reference Docs:

https://www.notion.so/1uphealth/Single-Tennant-Multiuse-Reporting-with-Kibana-3c9abdd3530d42c3a008f06d2c76e27c


Example project?

I'm really interested in the performance/fps - can you tell me something about it? Or can you provide the sushi-recognition example project? 🙂

@haemi
Thank you for your interest.
I wrote a blog post about the sushi recognition iOS app. You can find a demo video in it.
It takes around 0.1 sec to predict a frame on average. (meaning 9 fps)
But I think it can be improved by using Tensorflow Lite or/and converting the trained model to CoreML model.


Fix release test config/script

How to categorize this PR?

/area quality
/kind bug
/priority normal
What this PR does / why we need it:
During the release of v2.0.0, the test-e2e step failed because of some misconfigurations and required flags for the testrunner: see https://concourse.ci.gardener.cloud/teams/gardener/pipelines/terraformer-master/jobs/master-release-job/builds/1
This PR (hopefully) fixes the problem.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/invite @schrodit
✅ depends on https://github.com/gardener/test-infra/pull/315
Release note:

/ready
/test-single

/test


Much code in one String doesn't show properly

Hey,
If I use this on an Arma script that has for example a big string like:
_bigstring = "
much here, like 100 lines or more
";
call compile _bigstring;
then you would see everything just in "green" as it is all part of "that" string :-/

i am not 100% sure but this can be a issue from Atom. i rember see this in C# and c++ and CS Code too

mhh that might be true. Atom pretty much remembers me of Sublime, not sure why but it does. Well on Sublime I experienced the same problem

That's because it's a string. Why is this an issue?

Code in a string won't be highlighted as code pieces, but as one big string, is this not expected behaviour?

Well in other programs like notepad++ or programmer's notepad it is not like that
You would only have the line where the string opens highlighted and where it ends
_test = "  <- this line
much code within a string
"; <- and this line
that way you can see as well from where to where the string goes but you also have good highlights on what's happening within

First off I would simply recommend not having 100 lines of code in the form of a string :stuck_out_tongue:
Secondly, isn't this default behaviour in most text editors? I feel like last time I used N++ it behaved this way. Not sure there's even anything we can do about it, sounds more like a complaint with regard to Atom.

Well in arma strings use way less memory than for example code.
Especially when it comes to networking in arma, sending code from client to server, server to client or client to client it makes a huge difference if you do that as a String (string is just much faster, even if you have to call compile it afterwards) or as Array, Scalar, Code
on N++ it is fine, I just wish it was like it is there, on this. As ATOM really seems to be nice :)

I do not consider this a bug, sorry.

Same, it's expected behaviour (it even works like that in Visual Studio IIRC). Marking as invalid, if you'd like different behaviour it is something Atom  itself has to do.


ghost image is too far way from mouse cursor on FF and Safari

test.zip

hi guys, i am facing an issue on FF and Safari with this lib. in my case, i am trying to drag items from right side nav, and drop them on target area. with the sample code as attached, it works fine on Chrome and IE, but broken on FF and Safari. the problem is the ghost image is too far away from mouse cursor as shown in the attached image.
can you guys advise how does it happen and what is the workaround? thanks very much.

If you're using dnd-handle, then it's probably a duplicate of #238. Otherwise it might be a CSS problem.


Titles and description doesn't work

I tried out the generator by following the readme steps and the Yaml doesn't update the <title> tag or insert a description. Is there something that i'm doing wrong?

I think this could be a bug. I'll check it out. Thanks


[TF 2.0 docs] Add description for activation functions

Add descriptions to softplus, softsign and tanh. I am not a native English speaker, so maybe there are some spelling errors.

We've signed the CLA's. @rthadur, could you set CLA's to yes and review please
Thanks..

Thanks, @kyscg for the improvements! ;)

@rthadur, gentle ping to review and set CLA's to yes

@aweers thank you for your contribution , please make sure all the contributors have signed CLA

@rthadur @kyscg and I signed the cla and we are the only contributors ;)

@rthadur @akshaym Gentle ping to review

Hi @fchollet, thanks for your suggestions! I hope now everything matches the style conventions. ;)

Can one of the admins verify this patch?

@aweers can you please resolve conflicts ?

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

It has been 43 days that this pull-request has stalled. Please create a new pull-request with the requested changes.


Turn loadmore into a property instead of a reply

👓 @schwers

why do we commit the bundle with webpack?

@curioussavage it's nicer for anyone who isn't using webpack in their stack, and it makes having npm link'ed modules easier to develop as there's no need to resolve plugins. Still looking into the right way to build only the parts your reddit project needs

:fish:

kool


feat: provinces flags and coat of arms

Based on opened issues I added flags and coat of arms to all provinces.
Only for Girona, Lledia, Alicante, Casteleón, Vallencia and La Coruna it seems there is no official flag (although some unofficial cycle around), so I left those fields null.
Had to update couple of test data as well.

Thank you very much!!

Thank you very much!!

You welcome. Finally found a #hacktoberfest project where I found myself capable of contributing :D


el/local OS biometric(Pin code) authentication API

After the Splash page, the Login page will be displayed.
I have sent the video of the UI appearance to the Element chat group, you can watch it from there (fix some text styles).
A) If the device supports Biometric authentication:

The user will be asked for their fingerprint or face recognition, and if the user uses it, they will go to the Home page.
If the user does not want to use Biometric authentication, they can enter a Pin code and sign in from there.
If the user accidentally denies Biometric authentication, there is a button for them to use it again.
If the user does not want to use fingerprint or face ID, they can sign in with either the device's Pin code or the Encointer Pin code.

B) If the device does not support Biometric authentication:

When trying to use Biometric authentication, a Snackbar will be displayed, such as "this device is not supported," and the user can sign in by entering a Pin code.
If the password is entered correctly, the Home page will open.
If the password is incorrect, the Pin code will be reset, and a Snackbar will be displayed saying "Password is incorrect."

Note: Other banking apps or apps using Pin code use a static 4 to 6 digit Pin code. In the example design in the task description, it is also based on a 4-digit Pin code. However, in our application, the user can use a Pin code of 4 to 20 characters. I wrote it based on that, please check it.
Extra: All pushAndRemoveUntil methods changed to  pushNamedAndRemoveUntil.
Suggestion: Our Api Webview and Stores all initialize in the splash view, and app takes a bit longer to open. Now, when the app opens, the create or login pages will be visible. Let's only check if the user exists in the splash view, and perform other actions only after create or login. I think this way, the app can open faster. Metamask takes too long to open and that bothers me :)
Please review the text that I used, I need help with this :).

Name
English
German
French
Russian

welcome
Welcome
Willkommen
Bienvenue
Добро пожаловать

biometricError
Your device does not support biometric authentication
Ihr Gerät unterstützt keine biometrische Authentifizierung
Votre appareil ne prend pas en charge l'authentification biométrique
Ваше устройство не поддерживает биометрическую проверку подлинности

passwordError
Password is incorrect
Das Passwort ist falsch
Le mot de passe est incorrect
Неверный пароль

signIn
Sign in
Anmelden
Se connecter
Войти

localizedReason
Login to your account using the security feature on your device.
Melden Sie sich mit der Sicherheitsfunktion Ihres Geräts an Ihrem Konto an.
Connectez-vous à votre compte en utilisant la fonction de sécurité de votre appareil.
Войдите в свой аккаунт, используя безопасную функцию вашего устройства.

To understand this task, I have some questions (I'm sorry). We want to use biometric_auth/pin where it's needed.

If a user is new, we want to cache their pin by the package flutter_secure_storage, and check it from the cache.
If the device supports biometrical_auth, we would use it (but we shouldn't forget that localAuth.authenticate can give only true or false).
Users will enter with bio or pin, and then the app will never ask for a pin again (for transactions or other actions).

Questions:

In the profile, we added enable/disable bio/pin authentication. If the user doesn't want to use any pin/bio, what should we do?
When a new user comes, we can cache their pin. But what should we do with the users who already use our app, and in our cache, we don't have their pins?
The user is trying to make a transfer but has not authenticated, and the device does not support BIO authentication. Won't we have to use PasswordDialog or something like that again?

Ok, I think with these questions, we can finally get to a mutual understanding of the task. :)

In the profile, we added enable/disable bio/pin authentication. If the user doesn't want to use any pin/bio, what should we do?

Disabling should only disable biometric authentication, not all authentication. This is useful for instance if a device supports biometric authentication, but it is unreliable.

When a new user comes, we can cache their pin. But what should we do with the users who already use our app, and in our cache, we don't have their pins?

Usually, when a user enables biometric authentication for the first time, the PIN needs to be entered. I think we should do this too.

The user is trying to make a transfer but has not authenticated, and the device does not support BIO authentication. Won't we have to use PasswordDialog or something like that again?

I understood that the task is that the new authentication screen always appears at start up and either asks for the PIN or the biometrics, both paths will lead to a cachedPin in the store so that we can always send transactions.

I think that answering the questions, actually implies that I kind of agree with your suggestions. Please look at it altogether if it makes sense now. :)

We can delete this this function and widget. But can we delete with another PR? Because this PR is already big enough.
https://github.com/encointer/encointer-wallet-flutter/blob/6c5cb4acb933698064147603e842b0c13851514c/app/lib/common/components/password_input_dialog.dart#L10-L144

I have played around with the app and I think in general it does what it needs to do, good job! But there are some details, need to be fixed, otherwise users will be confused:

Don't enable biometric identification by default.
Biometrics button on the bottom left of the login screen. If biometrics are supported and biometrics are not enabled → Ask the user if biometrics should be enabled and ask for the PIN to enable it.
Enabling biometrics on the profile page should ask the user for the PIN to enable it.

Having this clearly structured flow will simplify the code because you don't have to rely on the cached pin when you enable biometrics.

Welcome back to a my BIG PR :). I hope I fixed some bugs that confuse the user. And I fixed the codes a little bit.

I know why there is an error for iPhone 8 Plus. If you agree, let's merge this branch. With this PR(#1204), I'm trying to completely solve that scrolling issue. It works for a very peculiar device, but it doesn't work for another one.


Use Marhsal.dump to save caches

Pros

More simple implementation
A bit faster

Cons
Maybe none

I suppose this allows a hacker with write access to the cache to inject whatever they want into the process that runs Rubocop. Do we think Rubocop might be used on shared CI servers or some contexts where this matters?

Indeed, @jonas054 was addressing a security concern with the current implementation.

I understand, I'll close this pull-request.
BTW, users can configure CacheRootDirectory to avoid security incidents.


[Packaging] Drop Ubuntu 21.10 Impish Indri DEB package

Related command
According to https://wiki.ubuntu.com/Releases, Ubuntu 21.10 Impish Indri will reach its End of Life at July 14, 2022. Azure CLI should drop its support.

Let's release DEB for Impish one last time this sprint and drop it in 2.40.0.

Looks like we have to remove impish support right away as its installation repo has been shut down. It is now blocking our CI:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=1734386&view=logs&jobId=3785ca6e-0e58-5722-c7f7-f718f26c5084&j=3785ca6e-0e58-5722-c7f7-f718f26c5084&t=c716ad81-3cd2-56a0-7de7-4ff271e84af1
E: The repository 'http://security.ubuntu.com/ubuntu impish-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu impish-backports Release' does not have a Release file.


204 as a dev i want to enforce non null constraints on entity fields to prevent records with all null fields

ref #204
This PR focuses on adding table constraint to not insert empty rows.


How to set the environment variable “KMP_AFFINITY” if I have 24 physical CPUs?

Also setting the following two environment variables may help:
KMP_AFFINITY=granularity=fine,compact,1,0 if there are two physical CPUs

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Add IR Tiles

Add a new menu for InfraRed attacks. At this moment, only TVBGone has been implemented.

Closing this one, as IR tile has been added months ago (but again, thanks for this PR :+1: )


The count stated in the CI logs doesn't match the number of artifacts produced

For example, see the pipeline from a recent PR: https://dev.azure.com/azure-sdk/public/_build/results?buildId=544543&view=artifacts&type=publishedArtifacts
It doesn't include the code coverage report or the map file output. Currently, the real number is 8.

GenerateReleaseArtifacts

View raw log

Pool: Azure Pipelines
Image: windows-2019
Agent: Azure Pipelines 2
Started: Today at 11:13 PM
Duration: 3m 18s

Job preparation parameters
7 queue time variables used
3 artifacts produced

cc @danieljurek, @weshaggard

@ahsonkhan you are comparing different things. That summary output only accounts for the artifacts produced in the GenerateReleaseArtifacts job. Other artifacts are produces from other jobs.

Ah yes, good point.
For example, this leg produces 1 of the artifacts (code coverage):
https://dev.azure.com/azure-sdk/public/_build/results?buildId=544543&view=logs&j=74751b56-698d-5a5a-5271-ec1dd5a1cbe8


problems with variables with / in their names

fixed by https://github.com/bpowers/simlin/commit/9b533eccf015dd278f6916d82cfaeb7be03fdc87 !


Add type documentation

Closes #68.

Changed pre and code CSS to make this guide legible.
I think adding a background colour to the code blocks is a requirement. I prefer having the monospace text have the background too but I'm not married to it.


fix: re-introduce retry interceptor for synchronous client

In an earlier commit we made some changes to the implementation
of the synchronous client to use the grpc synchronous API directly,
rather than wrapping the asyncio API, which was causing problems
in environments that used other asyncio libraries.
During the rollout of that change we mistakenly lost the retry
capabilities that we have in the asyncio client.  This commit
adds the retry suppport back in for the sync client.
This implementation is not DRY and we need to clean it up as we
are doing the work to introduce Configuration, but this will
at least unblock users for now.

This should address https://github.com/momentohq/client-sdk-python/issues/167


Cannot compile a new file

Hi,
First of all, Kudos to @vincanger and community for the amazing work. It looks cool!
I am new to React and OpenSaas. When I added a new .tsx file under src\client\app\MainPage.tsx, and added the following route in main.wasp:
route MainPageRoute { path: "/MainPage", to: MainPage }
page MainPageRoute {
component: import MainPage from "@src/client/app/MainPage"
}
Problem: I cannot compile the file after adding this code. I wonder what I did wrong.
Error:
❌ --- [Error] Your wasp project failed to compile: -------------------------------

/app/main.wasp @ 149:46-53
Type error:
Undefined identifier: MainPage
148 |
149 | route MainPageRoute { path: "/MainPage", to: MainPage }
150 | page MainPageRoute {

Hey, thanks for the kind words :)!
Your route is referencing MainPage, but you by accident also named your page MainPageRoute, so there is no identifier MainPage.
Fix:
route MainPageRoute { path: "/MainPage", to: MainPage }
page MainPage {
component: import MainPage from "@src/client/app/MainPage"
}

Fantastico! It works like charm :) Thanks @Martinsos!


Initiate a voice call to a GB28181 device

Does it  support talking to devices?

It will be implemented in future versions.


kebab-case events are attached as lower case on web components

Version
3.0.4
Reproduction link
https://jsfiddle.net/meo9Lfya/3/
Steps to reproduce

Open: https://jsfiddle.net/meo9Lfya/3/
click the "click lower case" button - notice the text to the right of the buttons changes to "Clicked lower"
click the "click kebab case" button

What is expected?
The text to the right of the buttons should change to "Clicked kebab"
What is actually happening?
The text to the right of the buttons doesn't change

To confirm it was an issue with vue binding to the event, I added a "Mount Native Event Listeners" - if you click this button, it'll attach event listeners using addEventListener - and the buttons will both work as expected.
Note - this is utilizing vue 3.0.4, but I was seeing the same issue in 3.0.2 in my project, which relies on Vite.
Also - might be similar to: https://github.com/vuejs/vue-next/issues/2429 - however it's happening on newer versions of Vue...

That's because the kebab-case custom event foo-bar in web components will parse to foobar. Vue will add foobar as the name of event listener. I think this needs a fix.

Thanks for the quick catch/solve! Hopefully it gets into the next release.

What is the state of this PR ?
I am facing the same issue using vue 3.0.5.
I can't catch event from webcomponent having a dash as name.
Even if I am using camelcase instead of keba case

What is the state of this PR ?
I am facing the same issue using vue 3.0.5.
I can't catch event from webcomponent having a dash as name.
Even if I am using camelcase instead of keba case

Same here. I'm using Shoelace webcomponents and can't catch events like sl-show from it.
I've created a minimal working example and also described it at https://github.com/shoelace-style/shoelace/discussions/310.

Same here. I'm using Shoelace webcomponents and can't catch events like sl-show from it.
I've created a minimal working example and also described it at https://github.com/shoelace-style/shoelace/discussions/310.

As a workaround you can replace <sl-form @sl-submit="submit"> with <sl-form v-on="{ 'sl-submit': submit }">.

As a workaround you can replace <sl-form @sl-submit="submit"> with <sl-form v-on="{ 'sl-submit': submit }">.

@recamshak Didn't know about that syntax, it's working, thanks!

@recamshak Didn't know about that syntax, it's working, thanks!


control Accordion and a Tab bug when working with google map

Hi,
This is a great framework to me :)
But Still find some question here.
I'm going to take and show a camera picture inside a Accordion List as a Form option,
but the view of picture was cut by Accordion List after taken picture by camera,
I need to hide and show this Accordion List then make view correct that means I can see the complete picture I took.
So I want know is there any method allow me control one of my Accordion List ?
And I also have a bug with Footer Tabs
The tab's nav bar and footer tabs run away when I press the backbutton.
nav bar goes left and footer tabs icon goes right and they both didn't come back !
But tab's function still working,
I can press the old side where tabs haven't gone and tab-content still change tab's content.
I try to track where is bug happen and here are what I  found :
1.navigator will going back to previous page and return to current page .
2.Cordova's document.on('backbutton') event work fine (even get current page) but nav bar and footer tab still run away.
So I going to searching phonon.js and toggle callClose function to fix this bug.

Please, post print of bugs, describe him and put your code (only part interest of question), this will help us help you 😉

@John-Henrique thanks for your fast reply and suggest
for my first question about Accordion List's js method

    附近地標

      <button class="btn " id="book_pic_button">附近地標</button>

http://i.imgur.com/cZ3ZBlk   this is screenshot after first show Accordion List
http://imgur.com/S1S6UkH  this is the screenshot after take picture
http://imgur.com/x6EfdFC    this is the screnshot after do a AccordionList's hide and show
and for my second question
document.addEventListener("backbutton",Codrova_Backbutton, false);
function Codrova_Backbutton(){
  return false
}

http://imgur.com/ohXh07r
this is before press backbutton
every tabs working great and smooth
http://imgur.com/PySG3uv
this is after press backbutton
nav bar and bottom tab disappear
and after I toggle callClose function from phonon.js no.2153
// callClose(currentPage, last.page, opts.hashPrefix + last.page + '/' + last.params);

Android's backbutton working fine.
By the way, every page have option preventClose: true and I had no idea why I can't override Android's backbutton event.

You image #book_pic need be height inside of accordion, because when Phonon is ready your image have only width and Phonon calculate size of accordion based in this size. Try leave a height size fixed and give me a feedback.
I don't know, you really need change default action of backbutton? Try this method 😉
document.addEventListener( "backbutton", app_backbutton, false );
	function app_backbutton(){
		if( phonon.navigator().currentPage == 'YOUR_PHONON_HOME_SCREEN' ){
			navigator.app.exitApp();
		}else{
			// Isn't necessary but...
			//history.back();
		}
	}

About preventClose
This param sometimes is used incorrectly, use only when user need do an action as save changes or choose an option. When preventClose is true you need add method onClose in your activity like this...
activity.onClose(function(self) {
	if(action !== null) {
		self.close();
	} else {
		phonon.alert('Please choose an option.', 'Action required');
	}
});

If user take action, you allow to get out using action = true. See example in pizza app, into folder examples (Phonon package).

@John-Henrique
Thanks for your quick reply !
I am sorry about feedback too slowly.
At first I use chrome inspect find the pixel of picture after taken is 437px.
so I make html code like

Then the AccordionList's view like http://imgur.com/8WOyjAh
What I am looking for is the AccordionList's height fix with inner HTML element.
So I try to do this on camera's callback :
function onSuccess(imageData) {
    BOOK_PIC = imageData;
    document.querySelector('#book_pic').src = "data:image/jpeg;base64," + imageData;
    document.querySelector('#book_pic').style.height = "437px";
}

But still didn;t get what I want.
Just curious Is there any solution for this ?
About preventClose , I read the pizza example and learned how to use it.
It's a great function :D

Hi @ckhsu3926,
Thank you for opening this issue and for using Phonon. :)
Did you find a solution?


Translate to other language version

I'm learning about zkp and Vamp-IR and this book helped me a lot. Can I translate it into Chinese version? I didn't see anything about License.
If so, should I create a separate repo, or make a PR to this repo?

Seems like there is no way to provide multilingual versions in the same mdbook. In the past, we provided two repositories and provided two GithubPage urls. So I will fork this repository and start this work.