TAJO-1616: Implement TablespaceManager to load Tablespaces.

@hyunsik thanks for the nice patch.
I'm reviewing, but it may take some time. I'll finish as soon as possible.
Anyway, the test failure is not related this patch. This is very annoying, so I'll investigate this problem at https://issues.apache.org/jira/browse/TAJO-1596. Would you please trigger the test again?

@hyunsik thanks for nice work. I left some trivial comments. Please consider them.

Thank you for your review. I reflected the comments.

Thanks @hyunsik, but it seems that there were some problems during test on Travis.
Please trigger again.

I've updated the patch, and I also improved the feature of insert row values.

I found some problem from unit tests through Travis.
java.net.ConnectException: Call From testing-worker-linux-f25aadab-1-20030-linux-7-67640030/<IP_ADDRESS> to localhost:50374 failed on connection exception:
This error message means one of three cases:

localhost is not <IP_ADDRESS>
port 50374 is denied by iptables
server is already closed.

I'll dig it more and I'll upload the new patch soon.

I found the problem. TablespaceManager is designed as a singleton class in a cluster, but some unit tests starts additional TajoTestingCluster. It overwrites the tablespace configurations of TablespaceManager. It results in test failures. I'll try to change them to share the one cluster.

Looks nice. Please ping me when you are ready.

I changed travis script to perform unit tests on jdk 7 as well as jdk 8. I also increased ulimit for thread num.

@jihoonson  It seems to be ready.

rebased.

I left some more trivial comments and questions.

I reflected the comments and updated the patch. Thank you for your review.

Thanks for the nice patch and fast update.
+1 Ship it!


Error with load.cleanResult() function.

Hey,
I am trying to replicate '2 - Single Axis Tracking Yearly Simulation'.
In '9. Clean Results' section, I got error like below:
ile "c:\Users\Yoked\Desktop\Internship\Irradiance\single_axis_tracking_yearly_simulation.py", line 125, in
results_clean = load.cleanResult(results)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Yoked\Desktop\Internship\Environments\irradiance\Lib\site-packages\bifacial_radiance\load.py", line 204, in cleanResult
resultsDF.loc[i,'Wm2Front'] = np.NAN
^^^^^^
File "C:\Users\Yoked\Desktop\Internship\Environments\irradiance\Lib\site-packages\numpy_init_.py", line 428, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'NAN'. Did you mean: 'nan'?
looks like the function has errors. I copied the 'cleanResult' function from the source code, and tried without the initial of 'load.' and it worked. It looks like that the source code is not fully transitioned to the actual operation.

This is fixed by #522.  You can either download the fix from the main branch on github, or wait for our imminent 0.4.3 release.


Automatic restart needed

Problem/Motivation
Homebridge seems to die from time to time (don't know where to find the log, so I don't know the reason). But this is not deteced, so the hassio add-on is justed "stopped" and must be "started" again manually.
Expected behavior
Since I have selected Boot -> Auto, I expect the process to be automatically restarted if it dies. As I would from any other system daemon.
Actual behavior
The Homebridge add-on does not automatically start homebridge again if it dies.
Steps to reproduce
Just keep the add-on running for some days, and it will eventually die. I am using the homebridge-harmonyhub in addition to the standard configuration.
Proposed changes
Make the Homebridge add-on automatically start homebridge again if it dies.

I'm aware of this problem. This is actually limited by design of the Hass.io base images and design of container use.
Currently working on a replacement for this.

Or maybe it can at least cache devices so we should not rename devices, change icons and create scenes in home app every time it restarts.

@WEZANGO I don't see how this is related to the issue reported. The behavior you describe sounds like an issue with Homebridge itself, not the add-on.

I thought it was because of restart problem. Then I will report another issue. Thanks

Added this issue to a larger project, that adds a proper process management to this add-on.

This issue is partially fixed in v2.0.0 of the add-on since it introduces a process manager.
Nevertheless, if something goes wrong, the add-on will die. This is how Docker is designed. These causes should be handled by the Hass.io platform, not by the add-on themselves.


test: add unit test case for func ReportMetrics

Signed-off-by: Guangwen Feng<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Add unit test case for func ReportMetrics in supernode_api.go
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
go test github.com/dragonflyoss/Dragonfly/dfget/core/api -run Test -v
Ⅴ. Special notes for reviews

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1262      +/-   ##
==========================================
+ Coverage   48.58%   48.74%   +0.15%
==========================================
  Files         121      121
  Lines        7751     7751
==========================================
+ Hits         3766     3778      +12
+ Misses       3674     3660      -14
- Partials      311      313       +2

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
21.91% <0.00%> (-0.69%)
:arrow_down:

dfget/core/api/supernode_api.go
81.70% <0.00%> (+15.85%)
: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 b184f25...988e45f. Read the comment docs.


Support for scikit-learn 0.23.1

Still issues even with 0.23.1.

This is resolved in master and will be available in 0.7.1.

Fixed in 801306a4af2014e46a3676260bb8bc1f6186bb66


Protocol improvement suggestions

[UPDATE 2017-03-12: After extensive review, there does not appear to be any known mining exploit with PascalCoin's current PoW consensus rules. These changes are not necessary at this point in time]
There appear to be some exploits happening with mining. Whilst it's not 100% clear how they're being done, it does seem to involve skewing work calculation based using strategic timestamps.
Aligning PascalCoins PoW with Bitcoin's battle-tested approach may solve these issues. Below are the suggestions:

Update Nodes/miners to use Network Adjusted Time instead of system time
Retarget the mining difficulty after 2880 blocks instead of 1
Allow blocks to have times before previous block

Network Adjusted Time

Take the median of all the connected nodes
If median is out by 30 mins, default to system time

Difficulty/Target Consensus Rules

To mitigate effect of timestamp variance, avoid retargeting after every block
Retarget block difficulty every 10 days (2880 blocks)
Target stays constant for 2880 blocks and is reevaluated after 2880 blocks based on the last 2880 blocks
Sum the time differences between last 2880 blocks and if this sum is less than 10 days then increase target else decrease target
This will neutralise any attempts to use timestamps to gain a mining advantage

Timestamping Rules

A block's timestamp must be greater than the median of last 11 blocks
A block's timestamp must be smaller than NetworkAdjustedTime + 1 hour

Just wondering why make the retarget so long? Why not use KWG instead?
I think the retarget can be easily fixed changing the factor in the UBlockchain file.

It's long to neutralize an attackers strategy and to provide a decent sample for statistically computing the retarget. There's probably a tonne of other reasons, but it's how most cryptos do it.
No idea what KWG is.

What problem do you want to solve? Please be more concrete.

There appear to be some exploits happening with mining. Whilst it's not 100% clear how they're being done, it does seem to involve skewing work calculation based using strategic timestamps.

What effects of these exploits you are talking about? It is hard to guess and realize where is the problem.

After some review, I've not found any known exploit with current PoW consensus rules in PascalCoin.

Build 1.5.4 includes NAT, other proposals has been discarded now due needs a hard fork and are not clear that will improve actual rules


image from media

it should be possible to serve an image from the music or video file by reading the media, pulling the image out, and serving via the web server.

I think #7 should be dealt with first or at the same time.  Build a module that contains a 'media' class which contains all of the tags that can be used in a template and one of those could be the image file/image URL.

See media branch


The template has a lot of unneeded content (like /docs folder)

Acceptance

[x] /docs removed
[x] any unused assets from /assets folder removed
[x] custom.css removed
[ ] README reviewed and updated if needed

We definitely don't need all of this in our template. All the docs stuff should be removed.

Ok, the unneeded files are gone now but I think the README requires some work. Especially the "I" phrasing:

Welcome to the body of your site. Everything above this section is part of the Data package front matter. I am adding here markdown text and other data-rich elements and they render beautifully.

Or actually the mix of we/you/I...
And all in all it reads a bit weird and unclear. E.g. it uses some "Data package" term which it doesn't really explain.
It also includes some information about possible site configuration options which shouldn't be there in my opinion.

Closing as FIXED, we may need to revisit README content.


TypeError: 'class Meta' got invalid attribute(s): index_together with Django 5.1

Temporary workaround, stick with Django 5.0.
Django-Cron version: 0.6.0
Env manager: Pipenv
OS: Ubuntu 22.04

This project appears to be abandoned. Feel free to use my fork, which includes a fix for this.

This project appears to be abandoned. Feel free to use my fork, which includes a fix for this.

how do install your fork if in project was installed Tivix/django-cron ? i have error TypeError: 'class Meta' got invalid attribute(s): index_together when install your fork.

pip install git+https://github.com/jorenham/django-cron.git

pip install git+https://github.com/jorenham/django-cron.git

yes, i did it and got error class Meta' got invalid attribute(s): index_together

pip install git+https://github.com/jorenham/django-cron.git

Hi @jorenham I installed your for and I have been getting this error even after deleting my sqlite and all migrations
Django.db.utils.OperationError: index_django_cron_code_89ad04_idx already exists

Hmm strange, I thought that https://github.com/jorenham/django-cron/pull/2 would've fixed it 🤔 . Coiuld you share the full stacktrace?

Hmm strange, I thought that jorenham#2 would've fixed it 🤔 . Coiuld you share the full stacktrace?

Ohhh, I didn't check the PR comments, I just installed directly...I will try and see if it fixes it


syntax for marking project root

Description
I'd like to have a syntax sugar for all path strings to access the project root path in the import, e.g
#import<EMAIL_ADDRESS>
<EMAIL_ADDRESS>
and @project will be replaced by the root path specified to typst compiler via --root, ideally it should be set automatically by some file structure, but typst currently doesn't have a standard way of specifying a project, maybe it can also search the file path typst.toml first.
Use Case
Currently, this is quite inconvenient especially when the project has many files organized by directories. You have to write the above as
#import "../../../templates/lib.typ"

image("../../../figure/image.png")

and moving around the script will break the above path. The idea is quite similar to rust's crate::  and super:: in the module loading syntax
On the other hand, I noticed there is #2148 but more for importing package internals, which is not the same as this proposal.

In the case that using @<name> may break the current package loading behavior, I think special case @project or @root is probably fine as I don't see these two words would make sense in the future.

There is existing syntax for this: /.
#import "/templates/lib.typ" will load the file templates/lib.typ relative to the --root.

oh thanks! I didn't know that, maybe this should be mentioned in the doc somewhere? I did a random search didn't find any.

yeah, I'm not sure but maybe it's in fact not in the docs.


[FIX] Updated podspec to work with Cocoapods 0.36+

This is related to #11. I am bypassing your framework target and just including the files to KISSmetrics allowing Cocoapods do the heavy lifting.
I enabled ARC and set the base to 6.0 too. That's your call, but my guess is anyone that cares about a podspec is probably not targeting anything less than 6.

I believe most of these issues should have been addressed by #19.


Add a Dockerfile for felix

Build felix (and deps) inside the container
Resulting container is ~60MB (mostly python and deps)

retest this please

@tomdee can you give me a bit more context on why you're adding this?  Is it just to scratch an itch or are you looking to use it with calico-docker, for example?

Hopefully we'll be splitting up the big calico-node container into smaller single-process-containers. (Or at least having that as an option). But that's not agreed yet, so for the moment this is just scratching an itch. Seems like it might be useful for people in general to get a simple way to "install" felix, as a cross OS alternative to debs or RPMs.

Sounds good.  We could let this go in as-is but would you mind putting a note in the README or the docs explaining how to use it?  I expect it needs --net=host, for example?

@fasaxc Sorry I've left this so long. I would now like to use this to create a rkt pod. rkt 1.0 is being released next week so I need to move really quickly. I've made the requested changes and merged it so I can start setting up dockerhub. If you need me to make any more changes then let me know.


chore: ci run minial integration test

This PR removes the matrix run of test-and-publish-charm action which runs on multiple combinations and thus also publishes multiple instances of wordpress-k8s charm.
Since the local integration_test workflow runs the full suite of integration tests(test with secrets, combinations of tests using matrices), running the full suite of tests in test-and-publish-charm action is not needed.
The tests swapped in place for the matrix test in test-and-publish-charm is the minimal core integration test suite for the sake of running the test and building docker images.

That is the reason why we had some many versions published


Feature: Support GitLab

We are trying out the alpha release and such a great tool in the making.
We mainly use self hosted GitLab as it offers many extra features and full control over repos, similar to your vision of self hosted CI.
Is it on the roadmap to include support for GitLab?

We built the system with a really extensible architecture to allow for it to include many different code hosting services like GitHub, BitBucket, GitLab, etc. We focused on GitHub as the first provider, so we can get all those pieces right in our 1.0 release. After that, anybody can contribute their favorite provider 🎉

@taquitos make sense. Thanks for the reply. 👍
Off topic: the only negative feedback i have: why have a private repo with projects and users. It seems weird compared to having it in filesystem or db. I think app config and settings should be with the app, not on a remote git repo.

I agree with @viezel. The requirement to have a paid GitHub account makes the project a non-starter for many I guess and as far as I can see it can be avoided by not putting the credentials in a remote repository. (Which is a shame, as the project is incredible! A big thank you to all the contributors!)
If one is not completely ignorant of what is happening nowadays it is generally a good idea not to put your credentials in the hand of any (US based) cloud service.

Interesting, thanks for sharing all of this. I guess we could easily offer an option to keep the git repo locally only for the ci-config at least 👍 However for now we'll still have to require a GitHub account, as we use it for many parts of the fastlane.ci system, in particular the PRs. Again, in the future we do want to support more code hosting providers, it's just that we want to limit the scope in the beginning.
The reason why we want to put the config into a remote git repo, is that if your CI machine breaks, you don't lose any of the configuration or data, but you can just get a new Mac, and booom, you're back online 🚀

@KrauseFx Thats what remote database servers are for. Not repos :)
At least, in GitLab, it should be possible to do all MRs, commits, status update, pipeline changes using the API only. No user is needed.

I know its early - and I really dont wanna hate here. Just would like you guys to succeed in this excellent vision you got 👍 Choosing simple dependencies decoupled from the provider would make it easier to maintain and also add support for multiple providers.


[Firefox] Error: undefined method `extname' for 0:Fixnum

hi, it happened while I tried to install firefox.
$ brew cask install firefox

==> Downloading https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US
######################################################################## 100.0%
Error: undefined method `extname' for 0:Fixnum
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/container/criteria.rb:46:in `extension'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/container/pkg.rb:3:in `me?'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/container.rb:50:in `block in for_path'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/container.rb:48:in `each'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/container.rb:48:in `find'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/container.rb:48:in `for_path'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/installer.rb:65:in `extract_primary_container'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/installer.rb:32:in `install'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:20:in `block in install_casks'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:17:in `each'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:17:in `install_casks'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:6:in `run'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/cli.rb:80:in `run_command'
/usr/local/Cellar/brew-cask/0.39.3/rubylib/cask/cli.rb:120:in `process'
/usr/local/bin/brew-cask.rb:42:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/brew.rb:59:in `require?'
/usr/local/Library/brew.rb:142:in `<main>'

You’re using an old version of homebrew-cask. Please brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup and try again.
See #8673.

@iggyvolz thank you!


Update MeshConfig Validating Webhook Configuration to prevent missing SAN errors

Update MeshConfig Validating Webhook Configuration to prevent the following error:
{"level":"error","component":"kube-ingress","error":"Ingress gateway certificate spec must specify at least 1 SAN","time":"2021-11-10T01:32:47Z","file":"gateway.go:149","message":"Error updating ingress gateway cert and secret"}

The validation and enforcement of having at least 1 SAN in MeshConfig should be also done in the validating webhook.
Example MeshConfig CRO:
apiVersion: config.openservicemesh.io/v1alpha1
kind: MeshConfig
metadata:
  name: osm-mesh-config
  namespace: kube-system
spec:
  certificate:
    certKeyBitSize: 2048
    ingressGateway:
      secret:
        name: osm-ingress-mtls
        namespace: ingress-nginx
      #subjectAltNames:
      #- ingress-nginx.ingress-nginx.cluster.local
      validityDuration: 1h
    serviceCertValidityDuration: 24h
  featureFlags:
    enableAsyncProxyServiceMapping: false
    enableEgressPolicy: true
    enableEnvoyActiveHealthChecks: false
    enableIngressBackendPolicy: true
    enableMulticlusterMode: false
    enableRetryPolicy: false
    enableSnapshotCacheMode: false
    enableWASMStats: true
  observability:
    enableDebugServer: true
    osmLogLevel: error
    tracing:
      enable: false
  sidecar:
    configResyncInterval: 0s
    enablePrivilegedInitContainer: false
    envoyImage: mcr.microsoft.com/oss/envoyproxy/envoy:v1.19.1
    envoyWindowsImage: envoyproxy/envoy-windows@sha256:c904fda95891ebbccb9b1f24c1a9482c8d01cbca215dd081fc8c8db36db85f85
    initContainerImage: mcr.microsoft.com/oss/openservicemesh/init:v0.11.1
    logLevel: error
    resources: {}
  traffic:
    enableEgress: true
    enablePermissiveTrafficPolicyMode: true
    inboundExternalAuthorization:
      enable: false
      failureModeAllow: false
      statPrefix: inboundExtAuthz
      timeout: 1s
    inboundPortExclusionList: []
    outboundIPRangeExclusionList: []
    outboundPortExclusionList: []
    useHTTPSIngress: false

The validation and enforcement of having at least 1 SAN in MeshConfig should be also done in the validating webhook.

@draychev the validating webhook does not perform validation on the MeshConfig resource since the MeshConfig resource resides in the control plane namespace. Performing validation via a webhook will result in certain race conditions we encountered while using the ConfigMap for control plane configs.
Adding a min-length schema definition if specified should suffice.

Per the meshConfig crd definition the SubjectAltNames filed is mandatory when the ingressGeatway certificate details are provided, however users can provide an empty array. In order to avoid the error message described in this issue a minimum length is specified for the array in the crd definition. This will help solve the issue and we do not need to add any extra code in the validating webhook


Fix #77, Fix #131

I think these two issues should be split into two PRs to fix. For #77 I might prefer to add a vertically parameter to the maximize method


Feat/display backup size

Hi there!
Thank you very much for making this piece of software. A GUI database backup project has been on my todo list for a long time, but I'll use yours since it's pretty good!
When using pgbackweb, I wished the size of the backups would be displayed, so I made it. Hope you think it fits the project!
Since I don't think we can't get the size of an io.Reader without consuming the stream, I had to pull the file size from the destinations. I just returned a simple int64, but I wonder if a struct with a single field would not be better for code sustainability.

Backups prior to this PR simply won't have a display size

Hi @julien-wff I hope you enjoy the project as much as I do.
Let me thank you for your contribution to the project, it is something necessary and you implemented it perfectly according to the rest of the project.
We will leave your implementation as is, and if we need to return something additional to the file size in the future then we will create the struct.
Your changes will be included in the next release, thank you very much for your time to contribute <3

Thank you both. Luis for the project, and Julien for this useful addition.


Crossref must be queried for updates and corrections to author metadata

Context
See single-cell-discover-ux.
Crossref corrected primary author metadata for a DOI that was previously retrieved when the Collection DOI was first submitted, so the CELLxGENE short citation was incorrect. @jahilton was forced to remove and re-add the DOI to retrieve the correct metadata and re-create the short citation.
There's already related work planned in Increase the velocity of dataset schema evolution and dataset migration
scoped to Automate preprint DOI to published DOI updates.
This scope should be extended in the future to check for updates and corrections.
It appears that CELLxGENE could cache deposited to compare against subsequent response queries:
"deposited":{"date-parts":[[2023,1,4]],"date-time":"2023-01-04T01:16:31Z","timestamp":1672794991000}
From Crossref Metadata API JSON Format:

Field
Type
Required
Description

deposited
Date
Yes
Date on which the work metadata was most recently updated

indexed
Date
Yes
Date on which the work metadata was most recently indexed. Re-indexing does not imply a metadata change,see deposited for the most recent metadata change date

Back link to #6322 for future reference


Add Pluralization Hook to Reverse Engineer

Introduces a new IPluralizer service that is used to singularize entity type names and pluralize DbSet names. The default implementation is a no-op, so this is just a hook where folks can easily plug in their own pluralizer.
I left this separate from the existing CandidateNamingService, which is responsible for cleaning up the table name into a C# friendly identifier.
Here is what it looks like for a developer to hook in their own pluralizer (this example uses Inflector). Our code generation coverage is lacking, so I tested this against Northwind and verified by round tripping data.
public class Startup
{
    public void ConfigureDesignTimeServices(IServiceCollection services)
    {
        services.AddSingleton<IPluralizer, MyPluralizer>();
    }
}

public class MyPluralizer : IPluralizer
{
    public string Pluralize(string name)
    {
        return Inflector.Inflector.Pluralize(name) ?? name;
    }

    public string Singularize(string name)
    {
        return Inflector.Inflector.Singularize(name) ?? name;
    }
}

Resolves #3060

Adding providers-beware tag as providers who derive from RelationalScaffoldingModelFactory will need to add the new constructor parameter (see changes to SqlServerScaffoldingModelFactory and SqliteScaffoldingModelFactory in this PR).

(I edited your example to use IDesignTimeServices. We should recommend this over a class named Startup)

Nice, I didn't know about IDesignTimeServices... I'll update a recent blog post I did too 😄

@rowanmiller It looks like the sample from your blog doesn't handle child navigation property pluralization for ICollection items. It does appear to work for the root levels in the context itself.

@jwooley good point, I'll put together a change to pluralize collections

Pluralization of collection navs addressed in https://github.com/aspnet/EntityFramework/commit/6841330be6bf3f7d37d252617b448806ed37e27e


listener in-place update can be used for listener filter config update

Inspired by https://github.com/envoyproxy/envoy/issues/20100
Currently update the order of listener filters using the in-place update, since we rebuild the listener filter factory when in-place update.
https://github.com/envoyproxy/envoy/blob/b6bc5ca51227cea3ce00e0302d43ce50031d513e/source/server/listener_impl.cc#L430
That also means we can use in-place update for listener filter config update. But currently, it is fully update.

/assign @soulxu

cc @lambdai

Yeah, sound right. Because we always rebuild the listener filter factory when we using the in-place listener update. So we can ingore the listener filter config comparing when we decide whether to use the in-place listener update.

According to the discussion https://github.com/envoyproxy/envoy/pull/21059#pullrequestreview-968110370, this doesn't seem to have a strong benefit to taking the risk to improve this. This can be done in the future if people asking this in the production.


[Question] Sample report format.

Hi @divinity666 , this is an awesome projects! and thank you for this. I actually new to this, and I am looking for an example on how I configure my own report?
I was testing this tool using my self hosted grafana, I think it works fine as a web service since it outputs the report, here is my configuration on grafana as per documentation:

When I click that link on my dashboard, it outputs this pdf file:

I believe this report template is the default template, but I wonder why didn't see any images in here? like my panels in a specific dashboards? What I actually want is to just print what is in my dashboard, see below:

When I click the "Print PDF Report", I was expecting that it automatically prints it in the pdf file, but again, in the report generated by the default template, it doesn't have any images.
Now my question is how would I do that? If you can give me a documentation on what are the things I need to learn in order to achieve that would be very appreciated!
Thank you.
Regards,
Henjoe

Hi Henjoe, thanks for trying out the reporter.
Well, unfortunately, it looks like the demo report is not working, as it does not show any data at all. I propose to run again the configuration wizard and see if the report afterwards contains data.
If not, we should investigate in the web URL of your dashboard from the browser and the generated template (*.adoc) file. If possible, it would be great to share those files. Maybe you can also provide the configuration file, but please x-out API keys and private data.

Thanks @divinity666 ! I will try to do this and will get back to you.
Regards,
Henjoe

Closing because of missing feedback


[prover] trait for compositional interproc analysis, use for packed types analysis and usage analysis

This PR introduces a CompositionalAnalysis trait that facilitates bottom-up interprocedural analysis. It uses the same mechanism for storing and retrieving summaries that UsageAnalysis already uses.
To demonstrate the generality of this trait, the PR splits the two analyses in usage_analysis.rs (packed types and memory usage) into separate files and uses the CompositionalAnalysis trait to implement both of them.
The motivation for this is making it easier to build other summary-based analyses that are flow-sensitive (e.g., fine-grained read/write set analysis to support transaction parallelization and AOS approvals, inference of post/aborts conditions, ...). There is more work to be done first, such as allowing the summary and abstract state to be different types, supporting recursion, decreasing the boilerplate impl trait for's, and so on. But I think this is a good start.
Note: CompositionalAnalysis implements a flow-sensitive propagation, which is overkill for the flow-insensitive packed types and memory usage analyses. However, I measured the performance before/after conversion (benchmark: building packed types map for stdlib) and can't observe a difference. So I think it is ok to use CompositionalAnalysis everywhere, even on flow-insensitive summary-based analyses. We can always add a separate trait for flow-insensitive analyses if perf becomes a problem.

/land

:broken_heart: Test Failed - commit-workflow

/land


Percent width and breakpoints not sorted

My classes:

Expected but not happen:

when remove lg: and replace w-1/3 with w-2 it woks:

Headwind currently sorts any breakpoint classes (or unknown classes) to the end of the list. Is this the issue you're facing?

No problem with unknown classes as it was sorted to the end as expected. but when breakpoint present, sort does not work at all.

I'm about to push an update. Can you test in 5 minutes and let me know if the issue still occurs?

Update should be available through VS Code now!

I've tested with the new update and sorting seems to work as it should. I'm closing this issue and will open another for sorting breakpoints.

Yes, It's working now with putting a breakpoint and unknown classes to the end.
Waiting for sorting breakpoints.
Thank you. Good job.


Create DoThisNow

You need to address this security issue.

@mpstein Thanks. This repository is just an example.


Prevent unsafe server-side store updates

closes #8614

This aliases svelte/store to a virtual module that intercepts calls to writable and overwrites the set and update methods to throw an error if you try to use them on the server. This means that something like this...
// src/lib/stores.js
import { writable } from 'svelte/store';

export const user = writable(null);

// src/routes/+layout.server.js
import { user } from '$lib/stores.js';

export async function load(event) {
  user.set(await get_user(event));
}

...would throw an error in development.
We don't want this to apply for stores that were created during load or render, so we track whether that's currently happening and only apply the override when it's not. (Due to the async nature of data loading there's a very small chance of harmless false negatives.)
Needs tests
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Damn, that's a smart way to implement this. I think it needs to be configurable/opt-in and/or a warning though.

Some existing apps might suddenly crash, leaving people scratching their heads what's going on
For some apps this might be intentional. Imagine a Node environment where some persistent state across users (multiplayer game state for example) is handled through writables - something like that should still be possible

Downgrading it to a warning could work.
There's a more immediate practical concern though — using __sveltekit/store makes a module impossible to unit test. Not sure how best to solve that without replacing uvu with vitest

Also, the virtual modules are getting out of hand, I'm going to add a dedent utility in a separate PR. We have trim(...) already but i think it can be improved

Doesn't import-meta-resolve need to be a prod dependency of Kit? It's used in packages/kit/src/exports/vite/index.js which isn't getting bundled AFAIK.

Hi, this would start breaking our production application. We have a custom wrapper on top of svelte store to make it not accidentally share state on server for different requests, but this change throwing out error is basically going to force us and probably others into looking at other state management libraries instead of using Svelte stores. I think a configurable warning is much better alternative.

In that case — and since this somewhat complex addition only prevents one specific kind of unwanted side-effect, namely those that happen to use writable instead of any other method of sharing state (including normal variables) — I'm inclined to close this, and rely on the docs to help people avoid shooting themselves in the foot. Any objections?

Sounds good to me 👍

Would it be a good idea to put a dev && console.log('writable <name> created') after every Writable creation in my app? If one of these console.logs pops up in my server log, I'd know something is wrong.
After reading all related threads, I found the hardest part, how to test / detect server-side store updates. There's somehow no feedback loop telling instantly, hey, this is wrong (or is there?). Hence, the aforementioned idea.
Moreover, Svelte stores are one of the best state management systems where you just code complex state without thinking too much, I just wonder if I can keep this flow also with ssr = true.


add InfluxDB blog post link about Parquet catalog

adding a link to the blog posts resource section to a post about how InfluxDB is using Parquet for their new storage engine

CC @shangxinli

Sorry for being late. Do you still want to merge this? @charlesmahler

@wgtmac yes please, no worries about the delay


Add type hints to authlib

Is your feature request related to a problem? Please describe.
There are no type hints for authlib, so running mypy on it gives the warning
Skipping analyzing "authlib.integrations.requests_client": module is installed, but missing library stubs or py.typed marker

Describe the solution you'd like
Type hints are included with the library
Describe alternatives you've considered
Ignoring the issue and just closing the ticket, e.g. #562
Additional context
Wouldn't it make sense to leave a ticket for this task open until someone is able to get to it? Mypy (or one of its alternatives) is becoming an established part of the Python development stack. I may try and do so myself as soon as I have a minute

Wouldn't it make sense to leave a ticket for this task open until someone is able to get to it?

I believe they have, I think #460 covers the same thing as this

Oh my bad, closing this then


Developer guide updates

bold + grey box: actual commands
italics + grey box: classes
grey box: other general stuff

Pull Request Test Coverage Report for Build 152

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.748%

Totals

Change from base Build 151:
0.0%

Covered Lines:
1829

Relevant Lines:
1972

💛  - Coveralls


Bridge App lack of the implementations related to update to the set of Bridged Devices occurs

Problem
As the section "9.12.6. Changes to the set of Bridged Devices" described, Bridge node should expose/update the bridged endpoints accordingly when there is add/remove operation happened from their own tools, maybe the mobile app.
[https://github.com/project-chip/connectedhomeip/tree/master/examples/bridge-app/linux], there is no related implementation to solve this problem, right now, the bridged endpoints list under the Bridge node is fixed, and not dynamic change according to the real operation.

Proposed Solution
I will suggest adding below features in example codse:

on the Descriptor cluster of endpoint 0:
◦ update the PartsList attribute (add/remove entries from this list)
◦ send a PartsListChanged event to indicate the changes to PartsList
update the exposed endpoints and their descriptors according to the new set of Bridged Devices

@yufengwangca Hi Yufeng, hope this request can be considered by your team. thanks

will take a look.

@Kevin552270 can you confirm if this is complete?

Hello Justin,
It has been completed, thanks for confirming.
Br,
Kevin
From: Justin Wood @.>
Sent: Monday, February 7, 2022 11:20 AM
To: project-chip/connectedhomeip @.>
Cc: Kevin QIAN @.>; Mention @.>
Subject: Re: [project-chip/connectedhomeip] Bridge App lack of the implementations related to update to the set of Bridged Devices occurs (#7049)
[External email: Use caution with links and attachments]

@Kevin552270https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKevin552270&data=04|01|jinwei.qian%40se.com|0d9505b019e6474988c508d9e9e8ac5a|6e51e1adc54b4b39b5980ffe9ae68fef|0|0|637798007792282888|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=JrvXWE075OO0LDWbV2ZPgWs%2BWBn3mMaXb%2Fhxcg6fkQk%3D&reserved=0 can you confirm if this is complete?

Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fproject-chip%2Fconnectedhomeip%2Fissues%2F7049%23issuecomment-1031032332&data=04|01|jinwei.qian%40se.com|0d9505b019e6474988c508d9e9e8ac5a|6e51e1adc54b4b39b5980ffe9ae68fef|0|0|637798007792282888|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=1Y3hVXsvJArZNmRuYw819mCUDALg6UzWUq9eZ2NNwOc%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQSZXH7DBGJHT7HXRL3MQMDUZ424NANCNFSM45KEAIUQ&data=04|01|jinwei.qian%40se.com|0d9505b019e6474988c508d9e9e8ac5a|6e51e1adc54b4b39b5980ffe9ae68fef|0|0|637798007792282888|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=0QL0%2BlvukoDeokvKJaz8y9AQG6MvyEZz3UBbBZbSxqQ%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|jinwei.qian%40se.com|0d9505b019e6474988c508d9e9e8ac5a|6e51e1adc54b4b39b5980ffe9ae68fef|0|0|637798007792282888|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=xQ%2BixjGaDGW1Nc5g1Gl9KSHWmvZGKJ5KGvdESHL7CLs%3D&reserved=0 or Androidhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|jinwei.qian%40se.com|0d9505b019e6474988c508d9e9e8ac5a|6e51e1adc54b4b39b5980ffe9ae68fef|0|0|637798007792282888|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=3JDn%2Bhqgg%2FM9ogGtq3UX7l5puxDOluCOeiI6MQ%2FXXhU%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>
Internal


more descriptive msg for nsfw cmds inhibited

Description of the PR
"You may not use NSFW commands in this channel." doesn't tell the user why they cannot use the command and/or how to fix the issue so they can use it in this channel
"This command might post NSFW content, please mark this channel as NSFW to use it here." - tells the user that it might output NSFW content, and that they can mark the channel as NSFW to use it there.
Changes Proposed in this Pull Request (List new items in CHANGELOG.MD)

Semver Classification

[ ] This PR only includes documentation or non-code changes.
[X] This PR fixes a bug and does not change the (intended) framework interface.
[ ] This PR adds methods or properties to the framework interface.
[ ] This PR removes or renames methods or properties in the framework interface.

"You may not use NSFW commands in a non-NSFW channel." is still as concise, but clearer imo.

"You can only use NSFW commands in NSFW channels."

I think "You cannot use NSFW commands in SFW channels." would be better, without the word duplication.

I don't see the duplication of NSFW as a problem since that's how it's defined as a setting both in klasa and in discord. However, I do think it sounds funny You cannot use not ...

You may not use NSFW Commands in channels that aren't marked as NSFW or similar 😄

The problem with tyler/vlad's suggestion is they are double negatives, which should be avoided here.

Solves the duplicate NSFW plus the double negative + solves the OP concern about telling the user to edit the settings.
This command will not work until this channel allows NSFW content in its settings.

I still think my original one is best as it: points out that the command is NSFW and that it can post nsfw content, and that you have to mark the channel as NSFW to use it. Every other suggestion in the thread doesn't do the first thing (explicitly state that the command posts NSFW things) - which I think its better if it does: "This command might post NSFW content, please mark this channel as NSFW to use it here.". I'd say it could be objectively better because it provides more information as opposed to being subjectively better because it sounds better or is shorter/succinct.
Although I suggest Ao just picks the one he likes best as we could discuss this forever :stuck_out_tongue_closed_eyes:

It's irrelevant to speculate on what the command may or may not post. That's why none of the alternatives state that... The message is meant to indicate the command's not going to work "here".


Windnet: Forecast correct values?

Describe the bug
I'm not totalyl convience the forecast is working proerply
Expected behavior
follow the generation values
Additional context

might need to check the batch values are going in correctly
might need to check the live ecmwf values are simiarl to the backtest ones. Sometimes they could be out by a factor of 1000 due to units
are the NWP variables in the correct order?
I had to rename t->t2m and tlc to tcc, is this right? linked with https://github.com/openclimatefix/nwp-consumer/issues/131

Things done / TODO

[x] Updated location in database
[x] Check variables names are ok
[x] TCC looks right, so ok to rename from clt
[x] Check nwp are in the right order, yes ocf_datapipes does this. the xr_data.sel(...) does this
[x] update lon/ lat position
[x] Check normalize variables are the same
[x] Check live and backtest ecmwf are in 0.1 degrees
[x] Check wind speed are similar to open meteo
[ ] compare backtest batch with live batch
[x] Checked that NWP targettimes do change, when running app at different times
[ ] ...

The t to t2m might be fine, I'll check that. But the tlc to tcc seems like it might be wrong. As that is setting the total low cloud cover to the total cloud cover

Actually, I believe its because in the training data, the longitude is 74.6399 while in the prod example batch it is 72.6399, which is from me moving it around to align more with where the wind sources are

The variable renaming might also still be an issue, but that is less of one I think

See https://github.com/openclimatefix/nwp-consumer/commit/6fa7fde9a658abde20064fd14cf6823c771b0e75 for handling the renaming. Updating the version of the consumer in terraform will propogate this.

Here is where the code takes the metadata from the database and returns the lat/lon tuples for the dataloader: https://github.com/openclimatefix/india-forecast-app/blob/8d42a3d95cbeb9b6ffbeeaf8dde6681a2291f9ff/india_forecast_app/models/pvnet/model.py#L174C9-L181

Actually, I believe its because in the training data, the longitude is 74.6399 while in the prod example batch it is 72.6399, which is from me moving it around to align more with where the wind sources are

And 26.4499 latitude?

Does `time-of-day' go in as a feature?

Could the model be trained with a weighting on the first few hours, to help reduce the error in the earl forecast horizons?

Actually, I believe its because in the training data, the longitude is 74.6399 while in the prod example batch it is 72.6399, which is from me moving it around to align more with where the wind sources are

And 26.4499 latitude?

Yes, that latitude is correct

Does `time-of-day' go in as a feature?

It doesn't for wind explicitly at least, solar it does with the solar elevation and azimuth.

Could the model be trained with a weighting on the first few hours, to help reduce the error in the earl forecast horizons?

Yeah, I think its pretty easy to do that

I had a quick look at the normalized nwp variables and 'prate' stood out abit
| ---- | --- | ---- |
| hcc | 1.4295 |-0.9376
| lcc |-1.1843 |-1.1843
|mcc | 1.7643 | tensor(-0.8646)
| prate
| tensor(9.3231)
| tensor(-0.3168)
| sde
| tensor(-0.0887)
| tensor(-0.0887)
| sr
| tensor(4.4933)
| tensor(0.6274)
| t2m
| tensor(4.6202)
| tensor(-1.3150)
| tcc
| tensor(0.7871)
| tensor(-1.8804)
| u10
| tensor(0.3539)
| tensor(-1.2574|
u100
| tensor(0.4887)
| tensor(-1.5100)
| u200
| tensor(0.3803)
| tensor(-1.6375)
| v10
| tensor(0.3623)
| tensor(-1.1152)
| v100
| tensor(0.6133)
| tensor(-1.4429)
| v200
| tensor(0.4583)
| tensor(-1.5155)

Ive found somehting funny in the normalize part of ocf_datapipes. Mean and std seem to be different lenght that then xr_data its wokring with
https://github.com/openclimatefix/ocf_datapipes/blob/main/ocf_datapipes/transform/xarray/normalize.py#L55

Yep, I can look at some of the training examples. The prate shouldn't be that high, I don't think. If so, probably should be normalizing a few of those variables by different numbers.

[ ] Check variables names are ok
[ ] update lon/ lat position
[ ] Check normalize variables are the same
[ ] Check live and backtes ecmwf are in 0.1 degrees
[ ]

Yeah, they are the same ones right now being used,  I didn't recalculate for india, forgot to do that

Yeah, they are the same ones right now being used, I didn't recalculate for india, forgot to do that

Thats ok, as long as they are the same for the moment. Might be something for the future though

Backtest lat/lon are in 0.05 degrees increments

Yeah, that probably sounds good, the 0.05 is already an interpolation, as the native model resolution is only 0.1 degrees

ah, how come 0.05 is used in training? not the 0.1 native model?

That's how we saved the data to disk for some reason. @devsjc might have a better idea as to why? But I'm pretty sure the forecast model's native resolution is 0.1 (around ~9km at the equator)

It is how it appears in our backtest data

could you confirm in each batch what the max and min lat and longs are?

This looks like this makes a big difference
from

to

This looks like this makes a big difference from
to

Is that the interpolation?
Here is all the lat/lons:
Latitude: [27.25 27.2  27.15 27.1  27.05 27.   26.95 26.9  26.85 26.8  26.75 26.7
 26.65 26.6  26.55 26.5  26.45 26.4  26.35 26.3  26.25 26.2  26.15 26.1
 26.05 26.   25.95 25.9  25.85 25.8  25.75 25.7 ]
Longitude: [73.85 73.9  73.95 74.   74.05 74.1  74.15 74.2  74.25 74.3  74.35 74.4
 74.45 74.5  74.55 74.6  74.65 74.7  74.75 74.8  74.85 74.9  74.95 75.
 75.05 75.1  75.15 75.2  75.25 75.3  75.35 75.4 ]

thank you

Notices a big shift in change in the forecast yesterday

This was becasue we got some new NWP files. Something to investigate I think

@jacobbieker how much time lag do you add to the ECMWF data when training? It looks like in real like we get init runs from 00:00 and 12:00 and they appear about 6 or 7 hours later

Training I think the delay is 3 hours, same as for UKV. So another thing to probably change then to 7 hours?

This https://github.com/openclimatefix/ocf_datapipes/pull/284 will fix the normalization, and rescale the training examples to be 0.1 degrees, if its smaller than that. The config for training has also been updated to use a 7 hour delay. Once that PR is merged, can make new batches with most of the things in this thread fixed then I think.

sr also does this

For future reference I checked this for the UK training and production data and it was the same

Also seen a very similar behaviour when deploying PVnet

What I struggle is at the moment, the NWPs say its windy

But the forecasts are low (real generation is high)

Hmmm, that might be partly because of the normalization, with the very large numbers for prate, sr, etc. compared to the wind values, the wind values might be getting ignored in the model. I can try training one that only has the wind variables, as they seem to be normalized better in the current dataset? It should force a better correlation between them.

I was thinking just the u and v of the wind speed, as the other ones are not as tied to generation, and the u and v ones seem to be normalized better than the other ones.

@jacobbieker do you mind confirming the max and min lat long, now we are using 0.1 for PV
In production currently they are

lat max: 28
lat min: 24.9
lon max: 76.1
lon min: 73

The PV ones are nearly the same, have the same lat min and max, lon max is 76.2, lon min 73.1

Ive changed the long in the database from 75.639 to 75.65 which seems to now get the correct longitude

@jacobbieker just looking at the NWP data. Looks like lat=27, lon=70 which is where some of the wind farms is super important data. Could this be included in the batch and ML model?

Yes, it is in the latest batches now. New models will be trained soon with it, once https://github.com/openclimatefix/PVNet/pull/165 gets merged

Another piece of evide that 27, 70 is a useful lcoation that should be included

Ive set the centers to be (wind on top)

Thanks, sorry wind was on the bottom. Interesting, ok I will try locally and check that the correct grid is used. Thats the most important thing right?

Yeah, the grid is the important one, we don't directly pass the lat longs to the model, so it only matters that the grids match

I've been looking into the forecast performance. Here's a graph of the results including the model version number at the bottom. This is the rolling 15 minute horizon and across the month it got an MAE 240 MW (i.e. 7.11% capacity).  I've set the limits on the y-axis on the top plot so the highest value is the capacity (currently 3,381,000 KW)

This is the same graph but for 24 hour horizon
To me it looks like things have been okay since v0.1.37


Iphone X 12.4.1 wait for unc0ver or update to 13.3 and run checkra1n ?

Hi guys i wanted to jail my iphone , unfortunaly i cant downgrade to 12.4 and also 12.4.1 is not supported you think there is way to wait for jail or update to 13.3 and use checkra1n ?

The checkra1n tool is supporting iOS 12.4.1
You can use checkra1n to jb iOS 12.4.1

I see ok thanks , hope they soon realse for windows as i dont use mac

It won’t work on a12

Or a13

HI i have X version with A11 not A12 or A13 . version 12.4.1 the Unc0ver dont work for me "unsuported"

OK just making sure some idiots come on here and think they can do that and then they find out that they’re stuck

i have the latest ver of unc0ver v3.8.0 beta 1

I have my iPhone XR waiting on 12.4.1 since unc0ver is broken I fixed my SE all it needed was a new lighting connector flex after that I was running Electra on 11.1 have blobs saved so I i updated to 13.3 to run Checkm8 and nothing works I mean I can’t even get Alkaline or Zepplin to even work  The substrate needs to be updated

i have the latest ver of unc0ver v3.8.0 beta 1

It’s broken iPhone XR will not work with it only XS and XS max

i have X and not work to why ? some website calim it work on 12.4.1

https://github.com/pwn20wndstuff/Undecimus/issues/1640
Here is my bug page

Everyone on iPhone XR is waiting unc0ver will not work we are all waiting for beta 2

What abaout normal X ? with A11

Your fine hold on to that phone that going up in price like nuts just don’t update to 13.3 there is a lot of bugs just use Checkm8 and never worry about revokes again

Just for get unc0ver Checkm8 is all you need

Yes but its only work until first reset after reset need rejail again

Yes but its only work until first reset after reset need rejail again

So every time you turn off a unc0ver phone you have to rejailbreak it oh and then you go to hit the unc0ver app and it’s revoked again fuck that Checkm8 is the way to go

Bottom line they both have their problems and they both have their advantages but in the end checkmate is the way to go it’s the best exploit out there right now and probably ever

12.4.4 waiting release jalbreak


Fix lint error in integration tests

What changed?

Why?
Previous PR https://github.com/uber/cadence/pull/4098 didn't run linter to format the code.

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build ea62e993-e235-4d49-8b13-02bdaf895df2

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
125 unchanged lines in 18 files lost coverage.
Overall coverage increased (+0.02%) to 67.983%

Files with Coverage Reduction
New Missed Lines
%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

client/history/client.go
2
44.78%

client/history/metricClient.go
2
49.43%

common/task/parallelTaskProcessor.go
2
92.48%

host/sizelimitTest.go
2
94.03%

service/history/handler.go
2
46.59%

service/history/queue/transfer_queue_processor.go
2
57.37%

common/cache/lru.go
3
90.73%

common/types/mapper/thrift/history.go
4
60.87%

service/frontend/workflowHandler.go
4
55.55%

Totals

Change from base Build 80e65db7-d99c-4b5c-8eec-8d34fd0345da:
0.02%

Covered Lines:
98606

Relevant Lines:
145045

💛  - Coveralls


migrate ether.js to viem

Migrating all componenets and tests that are using ether.js to viem.sh
#3372

changed the base branch to feat/viem and ready to merge for the further development.


task-7

What should be the commands for the compilation and deployment of contracts in the Hardhat environment? We have deploy.js as our deployment script for the contract.
Note:- make your txt files with your names on it in task-7 folder

@Plycedes please make a new pr so that i can assign you points

@rnavaneeth992  make a new pr and mention the issue number correctly


fix: typo in auth-schema.mjs

Simple fix. Won't break anything
Closes #
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog
[Short description of what has changed]

Screenshots
[Screenshots]
💯

i know it's small but it was bugging me a bit

This one needs to be changed too
https://github.com/t3-oss/create-t3-app/blob/f02d49953c57bd9450775dd2583c9ae3e6b2f08f/cli/template/addons/env/auth-prisma-schema.mjs#L19
Maybe update NextAuth => NextAuth.js while you're at it
https://github.com/t3-oss/create-t3-app/blob/f02d49953c57bd9450775dd2583c9ae3e6b2f08f/cli/template/addons/env/auth-prisma-schema.mjs#L17
This one too
https://github.com/t3-oss/create-t3-app/blob/f02d49953c57bd9450775dd2583c9ae3e6b2f08f/cli/template/addons/env/auth-schema.mjs#L16
Also, you need to add a changeset for CLI changes

Superseded by #889


Allow expected failures in dependents

This change should allow https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61001 and https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61620 to pass CI

Ah, you managed to catch both me and @sandersn on vacation. I believe @sandersn is back tomorrow-ish and would know more about this than I would. Also cc @jakebailey who’s on DT this week.

Awesome, no worries. Yeah, I have no idea if this is the correct solution. I just want to get those lodash changes in, and so looking for whatever way to get it done, and this conceptually might do the job, so why not.
Thanks! I'll ping Jake on the DT repo on those issues.


Allow TLS negotiation on a multi-threaded executor.

I had to take the RefCell out, because wait() would await holding &RefCell, making the futures require Sync.
It was replaced by a Mutex, since the socket read/write splitting design is not clear yet.

I had to take the RefCell out, because wait() would await holding &RefCell, making the futures require Sync.
It was replaced by a Mutex, since the socket read/write splitting design is not clear yet.

First: a diversion regarding borrowing/locking across await points:
I don't think we are actually keeping a borrow of the RefCell across await points. Clippy would've complained if that's the case, and really, where do you see that? Also of note - putting a blocking Mutex (by the way - if you need a blocking mutex and you want to stay no_std compatible, you can use the one in esp_idf_svc::private::mutex) does not solve this problem (need to keep a lock during awaits) but makes it worse of course, as now you might have deadlocks instead of panics, in data race cases.
Even an async Mutex won't solve the "issue" in our particular case, precisely because of socket splitting: putting an async mutex around EspTls would prevent the reader and writer from working concurrently, as the first one to enter the async mutex (say, the reader) would prevent the other one (say, the writer) to poll for "I can write" until the reader exits the async mutex.
Really, the only proper way to do locks in the presence of socket splitting is to use RefCell borrows (single-threaded) or blocking mutex locks (multi-threaded) and ensure you don't keep the lock/borrow across await points.
Regardless, the above issue is I hope moot, simply because I don't believe we are holding a lock (a borrow, actually) across await points in the first place! We only do ii for a short glimpse when reading/writing data from/to the socket, when data is already reported to be available, as it should be.
Second: why I think UnsafeCell is not a solution and might blow up (please read carefully, I might be wrong! :) ):
A multi-threaded executor wants futures to be Send, so that it can do the first poll of the future on one thread, then the second poll of the future on potentially a different thread and so on.
Looking at the signature of - say - async fn read(&self, buf: &mut [u8]) -> Result<..> - this is just sugar for
fn read<'t>(&'t self, buf: &mut [u8]) -> impl Future<Output = Result<..>> + 't (where 't is very important).
So if the future needs to be Send, then &'t self needs to be Send too, as it is contained inside the future (that's why the impl Future<...> has + 't). But then if &'t self needs to be Send, then self itself needs to be Sync! Hence you actually DO need a blocking mutex around EspTls.
A concrete example why EspTls needs to be mutexed (and thus Sync) would be a "read" future running in one thread, and then a "write" future running in another. In that case, they both need concurrent access to EspTls, hence access to EspTls needs to be synchrionized.
Please let me know if you see gaps in my thinking!

By the way... why are you running a multi-threaded executor in embedded context in the first place? I kind of miss the point? And there's tokio's LocalSet and async-executor's LocalExecutor anyway...

@ivmarkov  Thanks for the detailed feedback, you made a very good point about Sync. I was in bed when I realized I had some unsoundness in what I submitted and put this PR in draft once more. I reached for UnsafeCell somewhat in desperation for the no_std case. Having RefCell inside  of EspAsyncTls instead of around it annoyed me to no end.
For the multi-threaded executor, I'd simply like my web server to be able to take advantage of the two cores for serving files over separate connections. I'm using smol's Executor and LocalExecutor. One thread has a local executor, and both threads execute from the global work-stealing Executor. In a lot of regards, I am still in the exploratory phase of my project and I am interested by what can be done.

@ivmarkov Thanks for the detailed feedback, you made a very good point about Sync. I was in bed when I realized I had some unsoundness in what I submitted and put this PR in draft once more. I reached for UnsafeCell somewhat in desperation for the no_std case. Having RefCell inside of EspAsyncTls instead of around it annoyed me to no end.

OK, I'll merge your change shortly. What's a bit annoying (but only so slightly) is that we'll now take the mutex hit even if we don't plan to use the EspAsyncTls in a multi-threaded context. But that should be a negligible overhead, and I guess I can make a generic version of the private mutex that is not Sync as it would use a no-op mutex sometime in future.

For the multi-threaded executor, I'd simply like my web server to be able to take advantage of the two cores for serving files over separate connections. I'm using smol's Executor and LocalExecutor. One thread has a local executor, and both threads execute from the global work-stealing Executor. In a lot of regards, I am still in the exploratory phase of my project and I am interested by what can be done.

I hope you are aware that the total number of sockets that can be opened via ESP IDF is ~ 10. With some persistence and convincing you can raise this number to 16, which is then a hard limit. Just mentioning, in case you were planning to support a much higher number of connections and thus a heavier workload that does need two cores...

... and I haven't checked, but I do believe sockets that you accept from a server-side socket do count to that number...

Thanks for the merge and the heads up about the connection limits. I'm not planning on using too many concurrent connections.


Does kubean currently support kube-vip and how to achieve high availability

usage issue

Does kubean currently support kube-vip and how to achieve high availability?

kubean support kube-vip

/kind test

kubean support kube-vip

The current kubean cluster is created using the IP of a master node, not the kube-vip address. What is the design here?


Update overview.md

Adding more detailed information about Microsoft's membership of the CCC and some details about what is confidential computing.

@ju-shim
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


[Poll] #356 Implementation

so feature/4 will be integrated in 6.0.0, but now i wanted to ask what would be better:

making the functions static and keep the Class as is, or
-> this would mean that it is still included in the class which could be problematic in .create({} as Class)
outsourcing all the functions and "remove" the class
-> this would mean that it couldnt be called from the class, but wouldnt have the problem above
(or, make both, but one is returning the other (static function returns the outsourced function))

progress on this feature can be seen on https://github.com/hasezoey/typegoose/tree/r6/outsource
(i cant really decide this on my own)
-> for now i will outsource it

i will ping some people i know who work with typegoose, understand it a bit, and are active
(if you are one of the persons pinged, you dont need to answer this, but it would be good :) )
@Ben305
@mfulop
@PabloSzx
@nodkz
@naorzr

Too many changes in https://github.com/szokodiakos/typegoose/compare/master...hasezoey:r6/outsource and it difficult to follow them for making the correct decision. Also, I try to find what exactly feature/4 introduces and without luck.

If it means that we wont have to extend Typegoose and then do new Foo().getModelForClass, I'm all up for that.

Removing Typegoose class will free up that slot.

@nodkz, @nodkz described it correctly

Removing new Foo().getModelForClass sounds good! Need to test it in the real project when a beta will be ready.
But if it will be possible to provide both syntaxes in v6: a new without Typegoose class and the old with Typegoose class - it will be great! It provides a more seamless migration for existing apps.

But if it will be possible to provide both syntaxes in v6: a new without Typegoose class and the old with Typegoose class - it will be great! It provides a more seamless migration for existing apps.

sorry, but this cant be done without breaking the new one...

it is now implement in 72a2da7b11be1509227820e1285975d6bc8ec338,
free for anyone to test, but expect changes
and i dont know fully what these lines do, but they work
https://github.com/hasezoey/typegoose/blob/72a2da7b11be1509227820e1285975d6bc8ec338/src/typegoose.ts#L50-L53

Outsourcing the functions seems to be the best idea, since it also improves TypeScript class types for client usage, right now if you want to use the class for types in client TypeScript code, you get getModelForClass and setModelForClass in addition of the actual attributes 😢

and i dont know fully what these lines do, but they work

does this help? :) https://artsy.github.io/blog/2018/11/21/conditional-types-in-typescript/

so it means T if S is assignable to class T (extends a class with their constructor “returning” T) otherwise S

i later commits to r6/master, i understood it a bit more, but its still a bit of magic to it...

i will close this because the implementation will stay how it currently is in 6.0.0
currently released under @hasezoey/typegoose@next

But if it will be possible to provide both syntaxes in v6: a new without Typegoose class and the old with Typegoose class - it will be great! It provides a more seamless migration for existing apps.

@nodkz in version 6.0.0-22 the functions are re-added with a deprecation warning (and just as a pass-through to the new syntax)


Error in fragment

Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
Styled JSX inside a React Fragment container causes a rendering error.
If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar
Mounting this component:
const Test = () => (
  <>

Test

  </>
)

Causes this error:
Warning: Received `true` for a non-boolean attribute `jsx`.

What is the expected behavior?
No rendering error.
Environment (include versions)

OS: macOS
Browser: Chrome v67.0.3396.99
styled-jsx (version): v2.2.6
next (version): v6.1.0

Did this work in previous versions?
There were other bugs with fragments which have since been closed.

styled-jsx is not compatible with Babel7 yet but it would probably as simple as also visiting JSXFragment like we do for JSXElement

Any update on this?
And is the incompatibility with Babel 7 documented anywhere? Just lost hours trying to debug this before figuring out it was the new Fragment syntax that was causing it.

Can this please be escalated to bug status? It makes no sense that this will work:
import { Fragment } from 'react'

const Logo = () => (
  <Fragment>

  </Fragment>
)

... and this legitimate syntax (supported by stable React and Babel) won't:
const Logo = () => (
  <>

  </>
)

We need to make a patch release before starting to work on v4 and switch to babel 7. I don’t do this for a living so sometimes things can be slower. If any bugfix or feature is crucial for your work I welcome any contribution and I’d be happy to give guidance and help

A heads up (see referenced issue above) that this bug resurfaced when using the styled-jsx-plugin-sass plugin.


Fix readme job launcher server

Description
This pull request addresses an issue with outdated information in the project's README file. The previous version of the README provided instructions for setting up a PostgreSQL database with the name "reputation-oracle", which is no longer relevant to the current state of the project. The instructions have been updated to reflect the correct database name, "job-launcher", ensuring that new developers or contributors can set up their development environment accurately and efficiently.
Summary of changes
Updated the PostgreSQL setup instructions in the README file to change the database name from "reputation-oracle" to "job-launcher".
Updated the user permissions instructions to ensure consistency with the new database name.
How test the changes
Follow the updated instructions in the README to set up the PostgreSQL database.
Ensure that you are able to create the "job-launcher" database and assign the necessary permissions to the "operator" user without any issues.
Confirm that you are able to connect to the "job-launcher" database using the provided credentials.
Related issues
Keywords for linking issues
N/A
Operational checklist

[x] All new functionality is covered by tests
[x] Any related documentation has been changed or added

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

@sarthakvijayvergiya you need to sign CLA


The data structure of the datasets--How do I turn multiple folders of images into pickle files

(RE) root@6fb5978ad687:/RECCE# CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --nproc_per_node=1 --master_port 12345 train.py
/root/miniconda3/envs/xiao_db2/lib/python3.8/site-packages/torch/distributed/launch.py:180: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
Using debug mode: False.

Loading dataset: 'FaceForensics'...
Loading data from 'FF++ all' of split 'train' and compression 'c40'
Please wait patiently...
Traceback (most recent call last):
File "train.py", line 32, in
trainer = ExpMultiGpuTrainer(config, stage="Train")
File "/data1/ShivamShrirao/RECCE/trainer/exp_mgpu_trainer.py", line 29, in init
super(ExpMultiGpuTrainer, self).init(config, stage)
File "/data1/ShivamShrirao/RECCE/trainer/abstract_trainer.py", line 38, in init
self._train_settings(model_cfg, data_cfg, config_cfg)
File "/data1/ShivamShrirao/RECCE/trainer/exp_mgpu_trainer.py", line 62, in _train_settings
self.train_set = load_dataset(name)(train_options)
File "/data1/ShivamShrirao/RECCE/dataset/faceforensics.py", line 36, in init
indices = torch.load(indices)
File "/root/miniconda3/envs/xiao_db2/lib/python3.8/site-packages/torch/serialization.py", line 771, in load
with _open_file_like(f, 'rb') as opened_file:
File "/root/miniconda3/envs/xiao_db2/lib/python3.8/site-packages/torch/serialization.py", line 270, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/root/miniconda3/envs/xiao_db2/lib/python3.8/site-packages/torch/serialization.py", line 251, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'path/to/data/train_c40.pickle'

Can someone send me the pre-processed files，my email is<EMAIL_ADDRESS>


Fix code scanning alert - Potentially unsafe external link

Tracking issue for:

[ ] https://github.com/mertturkmenoglu/horizon/security/code-scanning/2

fixed with the latest commit


Irish language two-letter code should be ga not gd

https://github.com/alphagov/whitehall/blob/78fb8bdce8fb45ae61409eacb63580a1f2afb922/config/locales/en.yml#L412
Introduced in https://github.com/alphagov/whitehall/pull/4713
Reference: https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes
Noticed by a user of GovSearch. "There seems to be a bug - might be related to Whitehall - for documents that are in Irish. They're classified in GovSearch as 'Scottish Gaelic' rather than 'Gaeilge' or 'Irish'. I think this might be picking up that the Irish language urls wrongly end in '.gd' when they should end in '.ga'."
There are currently three such pages:

https://www.gov.uk/guidance/eu-settlement-scheme-how-we-use-your-personal-information.gd
https://www.gov.uk/government/publications/union-connectivity-review-interim-report.gd
https://www.gov.uk/government/publications/union-connectivity-review-final-report.gd

Made the necessary changes to the code.


add ukrain language support to eventyay-tickets

This PR fixes the #148 issue and try to add PO files for translation.

Resolve conflicts

actually i already added resolved the conflict on my branch and thought that there would be problem in PR that's raise other PR ,but its difficult to understand where is issue


x/pkgsite: package removal request for github.com/lingyuze1996/go-smartcomms

What is the path of the package that you would like to have removed?
github.com/lingyuze1996/go-smartcomms
Are you the owner of this package?
Yes.
What is the reason that you could not retract this package instead?
The related repository has been deleted.

Done. Please allow a few days for the configuration change to reach production.


Google picker is not working in IE11.

Example of google picker demo at http://stuff.dan.cx/js/filepicker/google is not working in Internet explorer 11(exact version - 11.909.15063.0CO).
After clicking on Agree button in Google window, its getting closed and nothing is displaying to user.
However, I have observed console error as below:

@Rajesh3646 I've experienced a similar issue in an implementation and was told to try this: https://developers.google.com/picker/docs/#rpcrelay
It did not work for me, but maybe it will for you!


Console commands do not work

Initially using PAPI OI tried to have the console use economy to give a player a specified amount of money and it wasn't working, so I tried using luckperms papi and that was not working either.
After a lot of trial and error, research and contacting support on the discord I realized the plugin itself was not working. I tried using the console command to give a player an item, put a player in creative and so on and nothing is working.

This will be worked on as part of the 1.20 update

Could not replicate, I assume this is a 1.20 issue which has now been updated and supported fully. Otherwise please reopen this issue will steps to reproduce.


[Feature] Support to read menu items from OAP server

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Create a new template service(GraphQL) to provide menu structure in JSON with hierarchy structure, carrying menu name, and layer name if it is a leaf menu.
Use case
To avoid we have to change the UI codes repeatedly to add new features. We current accepted many new features which required new menu items to add.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Let's keep the menu configuration in UI. I will optimize the configuration to make it easier to add, delete or change.


link styles on html output

one minor thing I noticed is that copying the HTML output also pulls in the styling from the github page when trying to paste the content into an email client for example.  For example, my links show up as orange.

@crixlet I believe this problem is now fixed, give it a shot and let me know.


Document PR life cycle

Fixes Github https://github.com/tensorflow/tensorflow/issues/33802

More in general it is hard to track or have an overview of the PRs flow as our Kanban on Github is totally unmaintained:
https://github.com/tensorflow/tensorflow/projects/1
And also our TF release related Kanban:
https://github.com/orgs/tensorflow/projects?type=classic
/cc @theadactyl

CC @learning-to-play @rishikasinha-tf for the Kanban processes

Too late for my comments... copybara-service has arrived to merge this.

I've added a reference to my comments at https://github.com/tensorflow/tensorflow/issues/33802#issuecomment-1239922340


[BUG] - Playground Preview Does Not Update When Using Promise in Example Code

Describe the Bug
When attempting to modify code using the example codes provided in the AgenticJS documentation on their website, the playground preview does not update correctly. The issue seems to stem from the example code ending with:
team.start().then((result) => {
  console.log("Final Output:", result);
});

This promise handling appears to interfere with the playground’s live preview functionality.
AgenticJS Team Config
To reproduce the issue, you can use the following link to an AgenticJS playground setup with an example configuration: Example Playground
Steps to Reproduce

Open the Example Playground provided.
Modify any part of the example code.
Observe that the preview of the result does not update after making the modification.

Current vs. Expected behavior
Current Behavior: After modifying the code and running team.start().then((result) => { console.log("Final Output:", result); });, the preview fails to show the updated results.

Expected Behavior: Modifying the code in the playground should immediately update the preview upon executing team.start(); without needing to handle the promise.
Environment

Framework/Library: JavaScript / AgenticJS
AgenticJS Version: 0.1.0
JavaScript Runtime: Chrome

@dannleft thank you for bringing this issue to our attention. I'm happy to inform you that the problem has been resolved.
To clarify, in the playground, it is not necessary to include team.start();. Simply defining and creating the team is sufficient for the playground's live preview to function correctly.

Thanks for the quick response @OdinSweng . Great then 🚀


Fix clippy issues

Additional issue with codecov https://app.codecov.io/gh/objectionary/sodg

@alex-semenyuk clippy problems fixed already


build: bump aerie-ts-user-code-runner to 0.3.0

Description
bump aerie-ts-user-code-runner to latest version (0.3.0)

@camargo We need to remove the sourceContext from the UserCodeError GraphQL type here https://github.com/NASA-AMMOS/aerie/blob/build/bump-dep/deployment/hasura/metadata/actions.graphql#L237


Support recursive resource type definitions in components

Maybe this is already supported? I couldn't figure out how to do it.
I have some component resource code I'm trying to port from a typescript component into a go MLC with pulumi-go-provider:
https://github.com/pulumi/pulumi-auto-deploy-old/blob/main/index.ts#L61-L76
I have a component resource AutoDeployer with input property downstream (the recursive reference). downstream is an array of AutoDeployer.
From within the component, I want to read input properties on the downstream AutoDeploy resources that get passed in and create other resources from those inputs.
export const b = new AutoDeployer("auto-deployer-b", {
    org,
    project,
    stack: "b",
    downstream: [d, e, f],

Since I could not figure out the appropriate types and pulumi struct tags, I had to change the type of downstream to be an array of stringInput which is unfortunately not as type-safe:
export const b = new AutoDeployer("auto-deployer-b", {
    org,
    project,
    stack: "b",
    downstream: [d.stackRef, e.stackRef, f.stackRef],
});

Per internal conversation, this is likely blocked on supporting Go generics:

pulumi/pulumi#9143

This is because the particular type of recursive type desired is a list of AutoDeployer instances.


Can I use the bitmap as a image for a 3d plane?

I need to be able to save the signature as a bitmap within the app and then apply it as a texture for a 3d plane. Can I do that without saving it to the storage on the device? In the same way you would do text to bitmap?

Yes,  you could simply call get SigatureBitmap() to obtain a Bitmap object.


Feat/add dungeons functionality

changes included in https://github.com/decentraland-scenes/Antrom-RPG/pull/30


[Bug Report] popover nesting checkbox, switch  checkbox, trigger  popover  hide and show, Lead to splash screen

Element UI version
2.3.8
OS/Browsers version
win10, chrome 69
Vue version
2.5.17-beta.0
Reproduction Link
https://jsfiddle.net/dfne2m95/4/
Steps to reproduce
click checbox, trigger  popover  hide and show,
What is Expected?
Do not trigger popover  hide and show, ,no Lead to splash screen
What is actually happening?
Lead to splash screen

@zhouxinnana 不太明白你的意思。用中文描述吧。


Fix state value not loading properly for profile

Loading state after country to avoid problem where saved profiles always default to the first alphabetical state in the list when loaded.

closes #68


ci: use correct github action permission contents instead of content

Rationale for this change
The syntax for permissions should use contents instead of content, see: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idpermissions
What changes are included in this PR?
Update to correct GitHub actions syntax.
Are these changes tested?
No, but can be seen the usage on the Arrow repo: https://github.com/apache/arrow/blob/bbda6b1e1322c5a9b8c107a03343d18b759694c1/.github/workflows/comment_bot.yml#L28
Are there any user-facing changes?
No

I edited the title as afaik fix should only be used when it's in a part of the code base that influences the semver (as it bumps the patch component). Also @zeroshade do you merge via Github UI here?

I edited the title as afaik fix should only be used when it's in a part of the code base that influences the semver (as it bumps the patch component).

Maybe would be nice to add some examples and/or guidelines on the contributing guide like on the angular contributing guidelines:
https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type


Probability updates

Calculate and display the probability in the UI
Still needs to recalculate based on removed patterns. e.g. small spike from random is 35%, but if the only patterns in the list are random and small spike, then it should be 35/(35+20), with 20 being random's chance

Implemented the percentage reevaluation mentioned in the first post, I think the probability maths should be correct.

Phew that was a heck of a merge conflict. Will test shortly to see if everything is on fire.

I believe everything is now merged/bugfixed correctly.

Thanks for this, I've got a version of this merged in master now :)


Create web app

Few edits

Few nitpicks, otherwise looks fine on staging.

Thanks @hflynn for reviewing it today. I will fix that

@hflynn: done

:+1:


How to output the public key of CKKS

When I was debugging the CKKS scheme, I specified the  default_seed to generate the RandomGenerator, now I want to verify that the public key will be the same every time I start CKKS after specifying the default_seed, but now I don't know how to check the generated public key every time

Although fixing the random see can work, I recommend saving the public key and loading it every time. There is no method to directly compare two PublicKey objects, except for comparing every data member and polynomial coefficients.

Although fixing the random see can work, I recommend saving the public key and loading it every time. There is no method to directly compare two PublicKey objects, except for comparing every data member and polynomial coefficients.

Yes, it is a very good way to save the pk and then load it, which solved a problem I had been having before, thank you very much for the suggestion


Removed the unnecessary $

Hey, thanks, but its intended. Anyway, we're working on new version. Would you be interested in collaboration? We're looking for some help and you look passioned about Nette and Vue.

Hey, thanks, but its intended. Anyway, we're working on new version. Would you be interested in collaboration? We're looking for some help and you look passioned about Nette and Vue.

Sure, I'm down. You can hmu on Messenger, probably most active there :+1:

Hey, thanks, but its intended.
IMO many people will take it as if you did a typo while writing Latte

Anyway, we're working on new version. Would you be interested in collaboration? We're looking for some help and you look passioned about Nette and Vue.
Sure, I'm down. You can hmu on Messenger, probably most active there :+1:

Componette is reworked. I am closing it here. We will reach you.


Sourcemap Issue - @dfinity\agent\src\actor.ts not found

Reported in https://github.com/gabrielnic/dfinity-react/issues/5 - in certain scenarios, the sourcemap reports an invalid file structure in node_modules.
Reproduced in https://github.com/MCLYang/err_react.

Closing because original is closed


Cannot run test_csvdir.py

When I run the file I get this output:
| AAPL: sid 0
| IBM: sid 1
| KO: sid 2
| MSFT: sid 3
C:\Users\pannefr\AppData\Local\Continuum\anaconda3\envs\zipline_py35\lib\site-packages\zipline\data\us_equity_pricing.py:931: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
if not issubdtype(actual, expected):
Traceback (most recent call last):
File "C:/Users/pannefr/AppData/Local/Continuum/anaconda3/envs/zipline_py35/Lib/site-packages/tests/data/bundles/test_csvdir.py", line 133, in
t.test_bundle()
File "C:/Users/pannefr/AppData/Local/Continuum/anaconda3/envs/zipline_py35/Lib/site-packages/tests/data/bundles/test_csvdir.py", line 125, in test_bundle
adjs_for_cols = bundle.adjustment_reader.load_pricing_adjustments(
AttributeError: 'SQLiteAdjustmentReader' object has no attribute 'load_pricing_adjustments'
Process finished with exit code 1
I am able to "fix it" by changing on line 125:
adjs_for_cols = bundle.adjustment_reader.load_pricing_adjustments(
by
adjs_for_cols = bundle.adjustment_reader.load_adjustments(


Multiple ACME Files

As far as I can see, at the moment only one acme file is supported.
But my Traefik setup has multiple acme files (different DNS challanges by different domain provider).
Is there any better workaround/ soluton, then starting multiple instances?
Thanks in advance!
Regards,
Basti

Quick dirty workaround:
changing the following lines seems to work:
dump.sh
line 7: acme_file_path=$(echo $acme_file_path | cut -d " " -f 1)
new line 7: ACME_FILE_PATH=${ACME_FILE_PATH:-/traefik/acme.json}
line 439...:
while true; do
  if [[ -f ${acme_file_path} ]]; then
    inotifywait -qq -e modify "${acme_file_path}"
    if [[ $? -eq 0 ]]; then
      dump
    fi

new 439..:
while true; do
  if ls ${ACME_FILE_PATH} > /dev/null 2>&1; then
    acme_file_path=$(inotifywait -q -e modify  $ACME_FILE_PATH)
    if [[ $? -eq 0 ]]; then
      acme_file_path=$(echo $acme_file_path | cut -d " " -f 1)
      dump
    fi

Tested with:
ACME_FILE_PATH=/traefik/*.json
ACME_FILE_PATH=""
ACME_FILE_PATH="/traefik/acme.json /traefik/acme2.json"
After starting the script, I get the following message:

2023/06/07 18:35:14 root.go:45: v2: dump failed: failed to unmarshal file "": read .: is a directory

After changing one of the ACME_FILES I get the correct outputs.

Hi,
I think the current way of handling multiple domains is to just run the container for each domain separately. Feel free to suggest an PR containing the feature for handling multiple domains.
Cheers

certdumper-1  | [2024-03-30T07:28:48+0000]: /traefik/acme.json is not a file. Retrying...


Fix nightly EKS failures

Trying out a change that may help fix the tests. The weird thing is that the test works in GHA, but not in EKS. This particular line I am changing was hanging forever which caused timeouts in the EKS runs.

Merging and am triggering a new run.


Updates for mAPI 1.5

mAPI is getting updated very soon and there are some changes we will need to reflect here in terms of response formats and error codes.
These have all changed to give more detailed error responses and the concept of retryable vs non-retryable errors etc.
I don't yet have full detail of all changes but when I do I will update this ticket so the work can then be done to this lib to get it up  to date. This will probably be a new major version release for this lib as there are most likely breaking changes.

@theflyingcodr sounds like mAPI v2.0 lol
Let me know and we can roll out a new major version!

So had a good look through everything, i think we'll be good, main changes are:

new 500 response code for internal mAPI issues, previously it returned a 400
new 503 response code if the node is unavailable
Submit Tx & Txs responses have a new failureRetryable field denoting if the tx can be resubmitted as it will have a chance of being processed
Submit Tx &Txs responses have a new warnings array added which may include some node errors
Txs already submitted will now return a success
Some new error strings replacing the old constants
It may need a new version as we have to update the error constants, if you're relying on them in 1.4 and below they won't work if using the new constants. The new fields are backwards compatible, they'll just change to default values if not supplied.

Further details of the changes are https://github.com/bitcoin-sv-specs/brfc-merchantapi#enhancements and https://github.com/bitcoin-sv/merchantapi-reference#improvements

I'm working on a PR for this at the moment

PR #80 now closes this issue ;-)


Test deregistration of stake address that is not registered

https://github.com/input-output-hk/cardano-node-tests/commit/cced6f274f1cd2cb1adb37e9c5c99c0dfaf707e3

https://github.com/input-output-hk/cardano-node-tests/commit/2c13afc47e4c4ccaa0c4fbaa6ddabe647e75da3d
https://github.com/input-output-hk/cardano-node-tests/commit/9240d46cc02ebce052d3372bf14a3882b7508adf

https://github.com/input-output-hk/cardano-node-tests/commit/2e88f03e09ccf8b9ccdfaab05002c88023230e93


Sub-Header

Article Pages:
Mobile

Desktop

Search Results Page:
Mobile:

Desktop:

Originally posted by @amol-anand in https://github.com/hlxsites/accenture-newsroom/issues/2#issuecomment-1671255194

closing because duplicate


Finding node is very very slow..

After set
Capybara.default_driver = :webkit

It always takes more than 30s to find a node.
for example
require 'capybara'
require 'capybara/dsl'
Capybara.default_driver = :webkit

include Capybara::DSL
visit 'some_path'
fill_in 'username', with: '***'
fill_in 'password', with: '***'
click_button 'btnSubmit' # very slow

Can someone help me ?

I'll close this issue due to the long time of inactivity.


[Feature] - Set remote SD URL with environment variable

Motivation:
Allows users to use a remote instance of the Automatic UI
How to use:
export SD_URL=http://<IP_ADDRESS>:10758 (example URL I was using)
// start app
uvicorn serverMain:app --reload

Or you can do the following:

Add set SD_URL=http://<IP_ADDRESS>:10758 in your start_server.bat

How it works:
All requests are proxied through the local python server. The remote SD server is then hit

This is great – thanks!

this is awesome.
all of the generation related request like (img2img, inpaint) are working
but the progressbar seem to be broken. it's stuck at 0%.
I will keep testing it.

@AbdullahAlfaraj ah I see what's happening - the server is only handling one request at a time, so the progress request isn't resolving until after the images are done. I should be able to do the image task in the background to fix - will update shortly

Ok, done. I ending up adding asyncio and httpx to handle the async requests on the python side. So now I'm seeing it working with the progress request, as well as the txt2img/img2img

@sphuff fantastic work.


landscape on iPhone crashes

I just got a Theta S and tried the download on your website but the were several minor issues so I tried downloading here (as of Jan 12, 2016) and all the issues were fixed (jumpy zoom, drag problems, etc). Yay!
But now it crashes if I turn the iPhone to landscape mode.
p.s. thank you, thank you for making this software available!

Which iPhone and iOS version are you using? Does only Pannellum crash, or does Safari?

iPhone 6+
iOS 9.2
Sometimes just Pannellum, sometimes both Pannellum and Safari.
Sometimes I just get the error “A problem occurred with this webpage so it was reloaded”. But then it reloads without the photo.
-Mike

On Jan 13, 2016, at 12:30 PM, Matthew Petroff<EMAIL_ADDRESS>wrote:
Which iPhone and iOS version are you using? Does only Pannellum crash, or does Safari?
—
Reply to this email directly or view it on GitHub https://github.com/mpetroff/pannellum/issues/103#issuecomment-171389382.

Unfortunately, iOS's WebGL implementation seems to be a bit buggy, and there have been previous issues with it. However, I also found a discussion thread that suggest that this might be a more general bug in Safari. I'll try to reproduce the bug when I have access to an iOS device again (probably March).

Other pano viewers work fine and I haven't had Safari crash on any other websites. (also that thread refers to an old version of the iOS)
Looking forward to March ...

I'm unable to reproduce this on an iPhone 5c with iOS 9.3.1.

@mikeMikeymike,
Can you provide steps to reproduce, I can try checking on my end too. I'm testing with the following, but haven't seen any major issues...
Apple iPad Air
iOS: 9.2.1
Browser: Mobile Safari
Apple iPhone 6
iOS: 9.2.1
Browser: Mobile Safari
Samsung Galaxy Nexus
OS: 4.3
Browser: Mobile Chrome
Apple iPhone 6
iOS: 9.2.1
Browser: Mobile Safari

Closing due to inactivity.


Malware on site

I am very sad to notice that the https://btorrent.xyz/ site contains malicious miners:
<script src="https://coinhive.com/lib/coinhive.min.js"></script>
<script src="https://authedmine.com/lib/authedmine.min.js"></script>

Please, remove them - load the code as it is on github. On the other hand, if this was intentional, please inform your users upfront that you mine with scripts on their machines.
Regards

Why is it "malicious"? because it consumes CPU? It is intentional, Vultr referrals alone are not enough to maintain the tracker.
I don't want the code published to contain my key and my ads.
And users that block coinhive and used authedmine do get a popup asking for their permission.


Best practice to make contract data available via Subgraph?

I am new in both contracts and graph, so maybe the question is incorrect.
In short: how to expose the totalSupply value calculated by contract via Subgraph:
contract SimpleTokenCoin is Ownable {
    string public constant name = "Simple Coin Token";
    string public constant symbol = "SCT";
    uint32 public constant decimals = 18;
    uint public totalSupply = 0;
    ...

Assuming I have a token contract, it may have few functions like totalSupply(), mintCount(), transferCount(), etc. I want that data be available via GraphQL. I see the following options:

Not using Graph: make direct calls to ETH RPC for totalSupply().
Using Graph, pass totalSupply as a dedicated event parameter, update DB in handlers.
Using Graph, calculate totalSupply in event handlers from other event params like mintedAmount, update DB.

Option 1 is impractical. Option 2 requires to pass extra data with each event for not obvious (for contract) reason. Option 3 creates another one source of truth (the same amounts are available from contract directly, and they also calculated using Mint event params and stored in the database). Also calculations may differ (rounding, etc) or contract code may be updated, so it's really bad solution.
Is there any option to provide such contract data from its getters via Subgraph directly? Say, call contract function from an event handler and update stored in the DB value to expose via GraphQL later? I am ok to call such updater after each event, but would like to not duplicate calculations made by the contract itself.

Answer found, my bad.

What? what was the answer? how can you just ask some complicated question and not tell us what the answer is?

Would be nice if you could share the solution you found :)


Create role for upload bundle artifacts to S3 bucket

Closing this, we have cloudformation code that sets this up here: https://github.com/opensearch-project/opensearch-build/tree/main/bundle-workflow/cloudformation


More design changes

More design system alignment with the designer
Restructuring of the API page (more distinct to the rest of the API)
Navigation alignment

Is there a way we could preview the modification (like Netlify & others services can do with preview build on generated domain)?

@MoOx there is! Do you see the View deployment button inside this PR?

Oh I missed that! Thanks 👍

I would go for a centered column, on my 15" laptop I have a column on the left & this feels a bit weird.
Do you want help to enhance the design somehow? I could go for small PRs with very tiny changes if you are open to :)

@MoOx This is still a draft PR, I'll be happy to receive feedback / PRs when the actual design is implemented!