*Hit destructors are virtual

I just noticed that some (all?) of the derived Hit classes have virtual destructors. What is the reason for this? I thought only the base class, aka TGRSIDetectorHit and TObject, should have a virtual destructor.

I haven't checked all classes, I just noticed this in TDescantHit and TGriffinHit.

That is true. Might be a habit thing. I think it's a very small performance hit. But we can change that if you want. We will have to remember to make them virtual again if we inherit from them down the line for whatever reason.
On Sep 21, 2016, at 8:29 PM, Vinzenz Bildstein <notifications<EMAIL_ADDRESS>wrote:
I haven't checked all classes, I just noticed this in TDescantHit and TGriffinHit.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/GRIFFINCollaboration/GRSISort/issues/756#issuecomment-248545716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFLTwBJC8lWexvBtxRiVB_15NtmfI2HKks5qsOrzgaJpZM4KCh7I.

I'm actually wondering how the classes get destructed at all, since none of their destructors are non-virtual?

Should it not call the most derived dtor and then move up the chain regardless of virtual? I thought that's how it worked. You can try it otherwise. Should make a big difference in memory if it's like you say.
On Sep 21, 2016, at 9:20 PM, Vinzenz Bildstein <notifications<EMAIL_ADDRESS>wrote:
I'm actually wondering how the classes get destructed at all, since none of their destructors are non-virtual?

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/GRIFFINCollaboration/GRSISort/issues/756#issuecomment-248557074, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFLTwBpL1ZHYmm8qAEism3jBpB4nYlPxks5qsPbSgaJpZM4KCh7I.

Actually just realized my mistake, the inherited destructor is always virtual, whether it's declared that way or not, since the virtual property is inherited as well. So it doesn't matter and is probably much clearer if we leave the virtual keyword in the daughter-classes as well.


tslib should be put in dependencies

Current Behavior
Currently the tslib is put in devDependencies, but as importHelpers is true in tsconfig.json, the build result will only require tslib. In some build context, such as in electron, the tslib will not be packaged since it is not in dependencies.
Suggested solution(s)
Two options:

importHelpers set to false
or, add tslib as dependencies instead of dev dependencies

Your environment

Software
Version(s)

TSDX
0.12.0

Correct

This was a regression caused by #130 and fixed in #415, related to #413
TSDX transpiles TS -> ESNext, then ESNext -> preset-env, so Babel's helper functions get generated instead of TS ones.
There's still some debate about whether those should import from @babel/runtime (instead of being duplicated between libraries) by default or not, but currently they don't.


[issue] Nested items population with relations (media)

Hello (again²),
Issue related to: #56 (but not solved for me).
I have added a custom media field called card_image inside my item.
It seems I cannot request the populated media field combined with the nested parameter.
Case 1:
GET /api/menus/1?nested&populate=*
Populates my nested items but without my media relation...
Case 2:
GET /api/menus/1?populate[items][populate][0]=card_image
Populates my menu with the required fields (and my media relation) but flattened...
Case 3:
GET /api/menus/1?nested&populate[items][populate][0]=card_image
Like case 2, the nested parameter is completly ignored.
Is this a bug, an error from me in my implementation, or just something that is not yet possible ?

[SOLVED]
Okay so actually the package works fine, but there is a lack of information regarding this point in the documentation imho.
The actual way to populate nested relations as well as keeping the nesting is to specify the parent property inside the query parameters.
❌
GET /api/menus/1?nested&populate[items][populate][0]=card_image
Populates card_image relation without nesting.
✅
GET /api/menus/1?nested&populate[items][populate][0]=parent,card_image
Populates card_image relation with nesting kept.

Found this while looking to fix this bug.
I would suggest reopening this issue under "Documentation" or something similar as it would be of GREAT value to have this info be easier to find.
Thank you for the great plugin btw!


Failures on [dart:js_interop] Add generics to JSArray and JSPromise...Adjust UP to move the intersection type rules up

There are new test failures on [dart:js_interop] Add generics to JSArray and JSPromise...Adjust UP to move the intersection type rules up.
The tests
co19/LibTest/typed_data/Int32List/setRange_A06_t02 RuntimeError (expected Pass)
co19/LibTest/typed_data/Int64List/setRange_A06_t01 RuntimeError (expected Pass)
co19/LibTest/typed_data/Uint32List/setRange_A06_t02 RuntimeError (expected Pass)
co19/LibTest/typed_data/Uint64List/setRange_A06_t01 RuntimeError (expected Pass)
lib/js/static_interop_test/js_function_conversions_test Timeout (expected Pass)

are failing on configurations
dart2wasm-linux-firefox
dart2wasm-linux-jscm-chrome

It looks like when implementing setRange on JS typed arrays, we can't mix BigInt64Array and other types of arrays. For example, this works:
let dest = new Int16Array(10);
let source = new Int32Array([1, 2, 3]);
dest.set(source);

But if one of the arrays is BigInt64Array it fails:
let dest = new BigInt64Array(10);
let source = new Int32Array([1, 2, 3]);
dest.set(source);

Fails with:
Uncaught TypeError: Cannot mix BigInt and other types, use explicit conversions
    at BigInt64Array.set (<anonymous>)

There may be other issues as well.

setRange issues fixed in https://dart-review.googlesource.com/c/sdk/+/343160.
js_function_conversions_test is a different issue, I'll fix it separately.

js_function_conversions_test triggers a Firefox crash. I'll try with the latest Firefox nightly and report it in Firefox issue tracker if the issue persists.

@osa1 Can we close this issue?

@mkustermann We haven't updated Firefox yet so the test js_function_versions_test is still crashing on Firefox.

I think this is working now. I'll also update firefox.


✨[Feature Request]: Add Terms and Conditions Page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
We need to create and add a Terms and Conditions page to our website. This page will outline the rules and guidelines that users must agree to in order to use our services.
Use Case
Conditions page should include:
An introduction explaining the purpose of the terms
Definitions of key terms used in the document
User responsibilities and acceptable use policy
Information about our services and limitations of liability
Details on account creation, management, and termination
Intellectual property rights
Dispute resolution procedures
Changes to the terms and conditions
Contact information for any queries related to the terms
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@varshith257 and @Anishkagupta04 Can you assign me under GSSOC 24?


Implementation of AlgebraicExpressionComponent class that creates a part of a report

Class is to implement in guides.en.py module that creates a part (reporting component - formally child of ReportComponent class) of guide or report for reporting module.

Call code:
from dynpy.utilities.components.guides.en import AlgebraicExpressionComponent

AlgebraicExpressionComponent(None)


Added custom cards page.

Contains two cards with image, name, position, some description and two buttons (Github & Twitter).
Also fixed some "Go Back" links that weren't working properly, hopefully it will be fixed now.

Should be fine now, noticed the links were again wrong, I think it's fine now. Ready to merge.

Thanks for the PR. The website looks dope. It has been merged.
I will be glad if you can leave a star on this repository.

Thanks for the PR. The website looks dope. It has been merged.
I will be glad if you can leave a star on this repository.

already did, long time ago.


Game Crashes upon Launch (probably incompatible mods)

Not sure if this is the correct place to put this but I couldn't think of a better one so lmk if theres somewhere else i should post this.
Describe the bug
Game crashes upon launch
To Reproduce
Steps to reproduce the behavior:

Install Cosmetica and other mods
Run Game
Game closes on startup

Expected behavior
Game Launches as Normal
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: Windows 10
Minecraft Version: 1.20.1
Version: All that I've tested

Additional context
https://pastebin.com/raw/YsxycFvE

Yeah the mod that appears in the stack trace is immediatelyfast so I suspect it's a conflict with them


crash from not sanitizing unicode hostnames

I ran into an error that crashed mitmproxy.  It looks like something not handling unicode hostnames.
First, here's a workaround from my inlinescript.  Note the str() wrapping the hostname.
partial diff:
        -            hp = ( proxy['host'] , int(proxy['port']) )
        +            hp = ( str(proxy['host']) , int(proxy['port']) )

context for the diff:
        server_changed = flow.live.change_server(
            hp,
            force=True,
            persistent_change=True)

Here's what mitmproxy said:
mitmproxy has crashed!
Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy
<IP_ADDRESS>:42455: Traceback (most recent call last):
  File "/.../venv/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 125, in handle
    **conn_kwargs).handle_messages()
  File "/.../venv/lib/python2.7/site-packages/libmproxy/protocol/http.py", line 1033, in handle_messages
    while self.handle_flow():
  File "/.../venv/lib/python2.7/site-packages/libmproxy/protocol/http.py", line 1163, in handle_flow
    (flow.request.host, flow.request.port)):
  File "/.../venv/lib/python2.7/site-packages/libmproxy/protocol/http.py", line 1476, in process_connect_request
    self.c.establish_ssl(server=True, client=True)
  File "/.../venv/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 243, in establish_ssl
    cert, key, chain_file = self.find_cert()
  File "/.../venv/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 312, in find_cert
    ret = self.config.certstore.get_cert(host, sans)
  File "/.../venv/lib/python2.7/site-packages/netlib/certutils.py", line 329, in get_cert
    sans),
  File "/.../venv/lib/python2.7/site-packages/netlib/certutils.py", line 100, in dummy_cert
    [OpenSSL.crypto.X509Extension("subjectAltName", False, ss)])
  File "/.../venv/lib/python2.7/site-packages/OpenSSL/crypto.py", line 651, in __init__
    extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value)
TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode

Here's what curl said:
$ curl -v --proxy 'http://localhost:8080' 'https://xxx/' --insecure
* About to connect() to proxy localhost port 8080 (#0)
*   Trying ::1... Connection refused
*   Trying <IP_ADDRESS>... connected
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
* Establish HTTP proxy tunnel to xxx:443
> CONNECT xxx:443 HTTP/1.1
> Host: xxx:443
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/<IP_ADDRESS> zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Proxy-Connection: Keep-Alive
>
< HTTP/1.0 200 Connection established
< Content-Length: 0
<
* Proxy replied OK to CONNECT request
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* NSS error -5938
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error

Thanks for the report. I'm not sure what exactly you issue is?  Could you provide a reproducible example please?


Landing Page / Marketing

create a nice landing page and also some yt videos?
e.g. -> https://www.framer.com/templates/landing-page/

done with framer


fix(TDI-41153) : Use Daikon NameUtil to get compatible Avro name

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-41153
What is the new behavior?
Use of the existing Daikon method to fix given name.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results


Dogfood testfixtures

Context
This PR replaces our custom test fixtures API with the newly introduced Java test fixtures API.
The TestFixtures plugin has been simplified in order to only do what is not supported by the new plugin (basically only conventions specific to gradle/gradle).

PR has been rebased, squashed, and now working on a regular snapshot from master. :crossed_fingers:


Change type of multisig ID in MultisignatureTx to hex

When we want to use multisig in CLI or Ledger, it is convenient to have a standardized string representation exposed from IOV-Core level. This allows for easy copy/past as well as displaying in the Leder.
I suggest using uppercase hex, which is the tendermint style somehow (like in TransactionId). We could potentially use a tagged type like Address/TransactionId but I'm not really sure if the small additional type safety is worth the effort of writing as Address all the time.

As discussed here (https://github.com/iov-one/iov-core/pull/1218#discussion_r319016960), it is nicer to represent the ID as an uint64.
I just verified that only suceeded transactions from chain need to be parsable, so a value > MAX_SAFE_INTEGER that failed to execute but is in chain still does not get parsed. So we can use JS number.


missing dependencies?

In Laravel 9.48 I've composer required
Laravel Data and then this typescript-transformer package.
When I run php artisan typescript:transform it complaints about several missing dependencies, related to nesbot/carbon package:
Interface "PHPStan\Reflection\MethodsClassReflectionExtension" not found at vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php:27
Class "Doctrine\DBAL\Types\VarDateTimeType" not found   at vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php:12
I have mostly been doing node/NPM and my expectation would be that these dependencies were handled automatically with composer, like in npm, but maybe I'm wrong.
I apologize if this is not really an issue with typescript-transformer.

I don't think this has anything to do with TypeScript transformer since we're not relying on those dependencies. Are you able to run any other artisan commands?

You are right, nothing to do with typescript-transformer per se.
It came down to a misspecification of the app_path. In /config/typescript-transformer.php I had hardcoded the app path to '../src'  (which was wrong)
'auto_discover_types' => [
        // app_path()
        '../src'
    ],

It somehow send typescript-transformer on a wild-goose hunt, trying to typescript transform files in the vendor directory, complaining about missing packages here and there.
Got it fixed. Thanks. Closing issue.


Problem manually setting up single node flannel v0.8.0-amd64 cluster

I am trying to setup a single node Kubernetes cluster on Ubuntu 16.04 using docker containers, hyperkube for kubernetes and https://quay.io/repository/coreos/flannel?tag=v0.8.0-amd64&tab=tags for flannel. I had a setup which is working, which was using etcd, flannel, and kubernetes processes setup as services in which flannel depends on etcd, and docker depends on flannel. Trying to setup via containers and not able to get flannel working, ran in to multiple issues. Currently I am stuck with the following error messages. Need help with the correct instructions on how to setup flannel overlay network with out using etcd and via dockerized flannel container.
2017-08-21T13:39:08.234445293Z I0821 13:39:08.234212       1 main.go:446] Determining IP address of default interface
2017-08-21T13:39:08.234583658Z I0821 13:39:08.234521       1 main.go:459] Using interface with name enp0s3 and address <IP_ADDRESS>
2017-08-21T13:39:08.23459441Z I0821 13:39:08.234554       1 main.go:476] Defaulting external address to interface address (<IP_ADDRESS>)
2017-08-21T13:39:08.234634073Z E0821 13:39:08.234593       1 config.go:322] Expected to load root CA config from /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, but got err: open /var/run/secrets/kubernetes.io/serviceaccount/ca.crt: no such file or directory
Your Environment

Flannel version: v0.8.0-amd64 (https://quay.io/repository/coreos/flannel?tag=v0.8.0-amd64&tab=tags)
Backend used (e.g. vxlan or udp): vxlan - using kube-flannel.yaml (https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml)
Etcd version:
Kubernetes version (if used): 1.6.8_coreos.0 (hyperkube)
Operating System and version: Ubuntu 16.04
Link to your project (optional):

Thanks for your time and help.

flannel daemon set is failing. appreciate your help. thanks
{"log":"E0822 00:28:17.613136       1 config.go:265] Expected to load root CA config from /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, but got err: open /var/run/secrets/kubernetes.io/serviceaccount/ca.crt: no such file or directory\n","stream":"stderr","time":"2017-08-22T00:28:17.613518972Z"}
{"log":"E0822 00:28:47.615504       1 main.go:127] Failed to create SubnetManager: error retrieving pod spec for 'kube-system/kube-flannel-ds-hrnm2': Get https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system/pods/kube-flannel-ds-hrnm2: dial tcp <IP_ADDRESS>:443: i/o timeout\n","stream":"stderr","time":"2017-08-22T00:28:47.615694906Z"}

https://github.com/coreos/flannel/commit/53d1855d7eead6e519f43b75cec725b2121e3557
fix this, but flannel doesn't release a new image. You can build you own image by base from flannel:v0.8.0 add add the CA.

@vnalla I've install flannel daemonset successful, you can saw my steps in
https://github.com/kubernetes/kubernetes/issues/51881

@gwind Thanks for the information. Yes it deploy flannel and starts cni0 upon deploying the first pod. But the pods are not talking to the pod network. kubedns  and dashboard are in endless crash loop because they can not talk to apiserver. Tried the trouble shooting as suggested in https://github.com/kubernetes/dashboard/blob/master/docs/user-guide/troubleshooting.md, the test pod give no route to host error, however curl from host machine is able to connect.
kubectl exec test-1741613794-lvj32 -- curl -k https://<IP_ADDRESS>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to <IP_ADDRESS> port 443: No route to host
kubectl get services NAME         CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE kubernetes   <IP_ADDRESS>   <none>        443/TCP   21h
curl -k https://<IP_ADDRESS> Unauthorized
`TOKEN_VALUE=$(kubectl exec test-1741613794-lvj32 -- cat /var/run/secrets/kubernetes.io/serviceaccount/token)
curl --cacert /srv/kubernetes/ca.crt -H  "Authorization: Bearer $TOKEN_VALUE" https://<IP_ADDRESS>
{
"paths": [
"/api",
"/api/v1",
"/apis",
"/apis/apps",
"/apis/apps/v1beta1",
"/apis/authentication.k8s.io",
"/apis/authentication.k8s.io/v1",
"/apis/authentication.k8s.io/v1beta1",
"/apis/authorization.k8s.io",
"/apis/authorization.k8s.io/v1",
"/apis/authorization.k8s.io/v1beta1",
"/apis/autoscaling",
"/apis/autoscaling/v1",
"/apis/autoscaling/v2alpha1",
"/apis/batch",
"/apis/batch/v1",
"/apis/batch/v2alpha1",
"/apis/certificates.k8s.io",
"/apis/certificates.k8s.io/v1beta1",
"/apis/extensions",
"/apis/extensions/v1beta1",
"/apis/policy",
"/apis/policy/v1beta1",
"/apis/rbac.authorization.k8s.io",
"/apis/rbac.authorization.k8s.io/v1alpha1",
"/apis/rbac.authorization.k8s.io/v1beta1",
"/apis/settings.k8s.io",
"/apis/settings.k8s.io/v1alpha1",
"/apis/storage.k8s.io",
"/apis/storage.k8s.io/v1",
"/apis/storage.k8s.io/v1beta1",
"/healthz",
"/healthz/ping",
"/healthz/poststarthook/bootstrap-controller",
"/healthz/poststarthook/ca-registration",
"/healthz/poststarthook/extensions/third-party-resources",
"/logs",
"/metrics",
"/swaggerapi/",
"/ui/",
"/version"
]
}
`

@vnalla It's probably best to try to solve this interactively. Try asking for help on the #coreos IRC channel on the #flannel channel on the Calico users slack (https://github.com/coreos/flannel#contact)


adding curriculum section

Description

Checklists
General Checks

[x] the branch is up to date with main/master
[x] the code works when pulled and run locally
[x] All CI checks pass
[x] all conflicts are resolved (if any)
[x] PR has a descriptive title
[x] PR has appropriate labels and milestones for easy identification
[x] PR it is assigned to the owner
[ ] reviewers are assigned
[ ] the PR contributes only one focused change
[ ] It is in the appropriate column in the project board (if necessary)
[ ] has short and clear description
[ ] is linked to an issue (if it is related)
[ ] feedback is addressed (if any and if it is appropriate feedback.)

Markdown

[ ] the markdown source is formatted
[ ] spelling and grammar is correct in all text
[ ] The markdown looks correct when you preview the file
[ ] all links and images work

could you fix the conflict, please?

@alasaidi  could you fix the conflict, please?

all done @Ashrafpoless

@alasaidi  thank you ,

well done :+1:  @alasaidi


Remove indent under your Collections.

closes #1632
Why was this change made?
Fix indent.
How was this change tested?
Local
Which documentation and/or configurations were updated?
NA

Before:

After:


Self Signed Certificates

I'm using Riak CS, a S3 Compatible API to run a local S3 Server while testing. I can connect using Transmit and the server is working fine. But when I try to use this module to connect using code I get
unable to sync: Error: self signed certificate
    at Error (native)
    at TLSSocket.<anonymous> (_tls_wrap.js:1000:38)
    at emitNone (events.js:67:13)
    at TLSSocket.emit (events.js:166:7)
    at TLSSocket._finishInit (_tls_wrap.js:567:8)

It'd be nice for s3.createClient to allow you to pass in a option to allow self signed or invalid certs while doing testing.
I was looking for workarounds and process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; before starting the S3 Client didn't want to work. Anyone know of a workaround? Seems like the only thing todo is openup node.js in the aws-sdk dependencies and do rejectUnauthorized: true to false but I'd hate to have to do that everything there's an update

I'd be open to accepting a PR that adds this functionality, but the core goal of this module is to support S3, not third party services.

Nice. Not sure if this could be done in this module directly, or if aws-sdk part would require the change instead. So far directly modifying it as a workaround, it works but I think it should really be a configurable option. Not sure if I would use Riak CS in production yet, but having a local server is useful for testing/development since my upload speed isn't the greatest.

After doing some more digging, found out under s3Options I can pass in my own sslAgent! :) So this allows me to use the module without editing the code for the module directly. So I'm pretty happy about that.
Here's how I did it, hopfully this will help anyone else if they ran into this problem:
function mySSLAgent()
	{
		var https = require('https');
		var agent = new https.Agent({
			rejectUnauthorized: false //changed to false, different from the default one
		});

		// delegate maxSockets to globalAgent
		Object.defineProperty(agent, 'maxSockets', {
			enumerable: true,
			get: function() { return https.globalAgent.maxSockets; }
		});

		return agent;
	}

then for the s3.createClient part, I added httpOptions: {agent: mySSLAgent()} after secretAccessKey and reverted my modified version of the module, and it worked perfectly :)

Glad you found a way!


jump game 2@hactoberfest2023

I would like to add jump game in C
please assign this issue to me @sherigar


Animate to specific percentage? Possible?

Trying for half an hour with different settings, and no luck.
Is it possible to animate chart to specific percentage, like 43% for example. To animate from 0% to 43% and stop.
LP Rok

Hello, at the moment there is no possibility to stop the animation at a certain point, if you are interested, then I will implement it, in addition, write English documentation :)

At the moment, to stop the progress bar can be thus:
if(bar.get() == 20) bar.isStop = true;

And in the same way it is possible to run.
I believe that the question is closed =)

Oh, i tried this and i'm not sure how to use it.
This are my current settings:
// graf
window.onload = function() {
// Controll
var canvas = document.getElementById('porabe');
var ctx = canvas.getContext('2d');

canvas.width = 208;
canvas.height = 208;

var progressBarOne = new RadialBar(ctx,
	{
		x: 104,
		y: 96,
		radius: 70,
		lineWidth: 30,
		lineFill: '#a0c9ec',
		backLineFill: '#d12f30',
		bgFill: '#1d355e',
		//progress: 10,
		isShowInfoText: true,
		infoStyle: 'bold 24px Ubuntu',
		infoColor: '#FFF'
	});

function loop() {
	ctx.clearRect(0, 0, canvas.width, canvas.height);
	progressBarOne.set(32);
	progressBarOne.add(0.5);
	progressBarOne.update();
	requestAnimationFrame(loop);
}
loop();

}

For starters update the library to the new version https://github.com/AZbang/RadialBar/releases/tag/v0.2.0
Then try this:
// code...

// To set the value outside the loop
progressBarOne.set(32);

function loop() {
    ctx.clearRect(0, 0, canvas.width, canvas.height);

    // add value (loop)
    progressBarOne.add(0.5);

    // If progress is 55%, then stop
    if(progressBarOne.get() == 55) progressBarOne.isStop = true;

    // update progress bar
    progressBarOne.update();
    requestAnimationFrame(loop);
}

loop();


Limit spam with the contact form

As stated on https://formspree.io/ you can add <input type="text" name="_gotcha" style="display:none" /> to the contact form.

Add this "honeypot" field to avoid spam by fooling scrapers. If a value is provided, the submission will be silently ignored. The input should be hidden with CSS.

You can also follow this tip from https://webdesign.tutsplus.com/tutorials/quick-tip-add-a-formspree-form-to-your-static-sites--cms-23870 to avoid email scraping.
<script>
    var contactform =  document.getElementById('contactform');
    contactform.setAttribute('action', '//formspree.io/' + 'your' + '@' + 'email' + '.' + 'com');
</script>

The honeypot field was originally omitted since it isn't really necessary due to their built in reCAPTCHA, but it does provide an additional layer of filtering that some may wish to have. Similarly, with the email scraping JS snippet, although it provides an additional layer of security, overall I think there is a bit of a trade-off in terms of reducing email scraping versus having your form be functional with no JS. Overall, I decided to simply include a link to that tutsplus tutorial and leave that choice up to the individual users.


[bug 1183113] Upgrade django to 1.7.9

r?

Travis passed it and no one is around, so I'm going to self-r+ this.


README: Add discord invitation

Just a little PR to make note of where people can ask us questions about lndk. However, I was reading about how discord invite links are impermanent unless you have a particular type of discord server, so emailing us directly might be the best route for discord invites? Thoughts?
If anyone else wants to add their email to the list lmk. Otherwise I'm happy to be the invitation handler.

You can edit the invite link to never expire.
On Sat, Aug 19, 2023 at 6:29 AM dunxen @.***> wrote:

@.**** commented on this pull request.
Ooh yeah the expiring invites thing...
Maybe we could just have them open an issue if it expires? :)
—
Reply to this email directly, view it on GitHub
https://github.com/lndk-org/lndk/pull/68#pullrequestreview-1585641457,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACPUA2ROLUHEL2TMBPWP5DXWC5UZANCNFSM6AAAAAA3WBRUGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

So if I try to edit the link to never expire it says "Only Community Servers can create permanent invite links"
Carla as the server admin, would there be any problem with turning BOLT 12 into a community server? https://support.discord.com/hc/en-us/articles/360047132851-Enabling-Your-Community-Server

Permanent link: https://discord.gg/Pk7mT3FQFn

Added that link etc when y'all have a chance for one more look :)


Have you ever tested in real-world driving environment?

Have you ever tested in real-world driving environment?

No. Read the paper


fix: Owner requirement boolean parsing from string

When parsing boolean values from string using bool() builtin funtion string which is not empty returns True Writing a util function to convert such strings
to proper boolean values. NOTE: distutil implementation: from distutils.util import strtobool
will be deprecated and removed in future python releases thus implementing a funtion ourselves might be
future proof solution at this time.
Signed-off-by: Tibor Dudlák<EMAIL_ADDRESS>

value_to_bool looks like, that it is a perfect candidate for a unit test ;)

I thought that when affected mrack util unit tests were not wrapped by Class It caused that they were not run.
The old run of pytest:
https://dev.azure.com/neoave/mrack/_build/results?buildId=816&view=logs&j=27008f10-b491-547d-a654-20cfee07d03e&t=73113a39-43fd-502e-b4fb-b68667aceda6&l=330
======================= 81 passed, 22 warnings in 1.32s ========================

Adding the class and waiting for new run.
@miskopo Could you try to help me find what I am missing?

Though not related with this but we should one test for osp env as well like for get_username(host_win_aws, metahost_win, provisioning_config)
Rest LGTM

Thanks for review !


stable release: Truncate error message

@thomasyu888 There seems to be something wrong with this PR as it capture old commits that are already part of the default branch.

@tschaffter I did a deletion of commits due to the configuration file that contained the MCW IP...

@thomasyu888 I don't understand this. You have not removed commits with this PR, you just added a single commit eb9dc025b08109a9c467ff0aac07e21e48baf923 to the default branch (squash and merge).

@tschaffter please remind me to explain to you what happened next week on our one on one


feat(RNVideoTrimmer): log entire error object for easier debugging

Problem
I try to trim a video and it fails with this console log. I need more info to understand what's failing.
Failed: Optional("Operation Stopped")

Solution
Log the entire error object like this:
Failed: Optional(Error Domain=AVFoundationErrorDomain Code=-11838 "Operation Stopped"
UserInfo={NSUnderlyingError=0x170656cb0 {Error Domain=NSOSStatusErrorDomain Code=-12109 "(null)"},
NSLocalizedFailureReason=The operation is not supported for this media.,
NSLocalizedDescription=Operation Stopped})

@flybayer looks good thanks !

How to solve this problem? I get this error when I try to re-trim along the same path


Account disable: Wrong error message given when trying to log in from a disabled account

Currently when the account is disabled the error message given does not indicate of the disabling rather states of a incorrect username or password. This should be corrected and the disabling should be notified to the user

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


fix Android/HTML5 custom templates option does not work

Fixes #17661, allowing to export projects for android and html even if the default export templates are missing, as long as you provide custom ones.

Thanks!


Adding examples, docs, fixing small issues

Description
Adding examples, docs, fixing small issues
Motivation and Context

Fixes remaining issues from Sonar Cloud
Adding useful examples in the tests and docs (URL, email, MD5, SHA256)
Added some information on limitations
Removed dependency to System.IO.FileSystem as not needed

How Has This Been Tested?
Through the unit tests
Types of changes

[x] Improvement (non-breaking change that improves a feature, code or algorithm)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[x] Dependencies (update dependencies and changes associated, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@nfbot updatedependencies

@nfbot updatedependencies


Prep for 8.14

Gonna admin merge. We haven't gotten around to those test failures yet. :roll_eyes:


Error with tmp file input

Hello,
Thank you for this library. I am encountering an issue with images coming directly from my temp directory after an upload.
const outputBuffer = await libreOfficeFileConverter.convert({
   inputPath,
   format: 'jpeg',
   input: 'file',
   output: 'buffer',
})

sample inputPath : /tmp/se5n1y89pvf5p5hcy3yej7xn
Error: ENOENT: no such file or directory, open '/tmp/libreoffice-file-converter-24932-pz2qaaKe7a0J/.jpeg'

No problem with  a transformation in buffer.
Thank's for your help

Hi, @batosai
Issue seems to be related to file name extraction from input path. Could you please share an example of input path with such issue?

Yes I put one in inputPath, it doesn’t even have an extension, I think it comes from there. However, this is the behavior of an uploader.
´´´tmp/se5n1y89pvf5p5hcy3yej7xn´´´

Fixed in v3.0.2


Log spam when GregTech installed.

When I install Progression in my pack log file spams this .

Going to close this as I am done with the 1.7.10 version for now.


Dog dashboard mobile view

[FE] Dog dashboard mobile views
Issue Number(s): #164
What does this PR change and why?
This adds mobile view for dog dashboard, for Admin, Manager, and Volunteer (Card view).
Checklist

[yes] Requirements have been implemented
[yes] Acceptance criteria is met
[yes] Database schema docs have been updated or are not necessary
[yes] Relevant reviewers (EM) have been assigned to this PR

Critical Changes

Database change / migration to run
Environment config change
Breaking API change

Related PRs
PR Number(s): #number_of_pr
How To Test
scan the QR code to login through mobile view (test@gmail.com). navigate around dog dashboard.

This looks FANTASTIC!! The only minor change that I have is that it seems like the filters are center-aligned, so it sits at a different x position than the search bar and filters applied. Can we make it left-aligned so they all line up at the same place on the left? Other than that it looks perfect. You did a really good job!


Need a place to provide and update a data dictionary

Users should be able to upload and view a data dictionary that is a .tsv/.txt with the minimum of the column names 'metadata_category' and 'description'
This will be especially useful once studies become public and others are viewing and accessing the study

Not really sure what this means. Perhaps an specific example will be useful, could you send one?

Example of metadata and data dictionary attached
data_dictionary.txt
metadata.txt

This and https://github.com/biocore/qiita/issues/1997 are basically the same request: being able to add "attachments" to studies; which we agree is useful. I'm going to change this feature from must-have to nice-to-have for this release but have it as group-input so we can discuss the ground rules for the attachment system.

@adswafford, looking at this issue and perhaps we have a tentative solution. I can imagine a user uploading their files to a permanent storage like https://figshare.com/ and then using this new feature to https://github.com/biocore/qiita/pull/2986 let other users know how to use those files. What do you think?

That seems like a reasonable low-effort tie in (likely just updating the tutorial/help docs to suggest this?) until if/when we tackle making metadata dynamic?


Lack of animation while page still loading in Firefox

Hi guys, I just got trouble with firefox.
Normally, the animation is as smooth as in webkit browsers.
the difference is, webkit browsers still render smooth animation while page still loading. Firefox doesn't.
How do we fix that?

Short of using css animations I don't think you can - there's only two things that will prevent frames from rendering on time - something blocking Javascript, or something blocking page rendering (it it's still happening but stuttering it's probably Javascript, if it's constantly playing catchup then it's probably rendering) - both of which are out of our control - and only the first one can possibly be fixed with css animations / transition - supplying a JSFiddle might be able to help with suggestions, but this is likely more useful on StackOverflow etc.


Fix panic when there is no @default-panic and add more checks for clone macro

There are still many tests here that don't check if the closures are actually doing what they're supposed to do but I guess this is an improvement already. I'm sure you'll find more bugs if you try checking the other closures :)

Sending more PRs later then!


As a developer, I would like to see the status of my deployment

I would like to see the status of my deployment (if it's degrated, deployed, etc...).

ArgoCD

Also, check for a solution to manage this https://github.com/ai-cfia/infra/issues/20

Closing this one. Will be done with https://github.com/ai-cfia/howard/issues/20


RAW audio

we are testing livekit but the audio quality is too bad. can you help me to make it same like agora . we want mp3 quality.
please let me know how we can get it thanks in advance.

Which client and encoding parameters are you using?  Livekit support up to 510kbps stereo high quality Opus encoding.

@naziur604, which platform/SDKs are you building for?

Which client and encoding parameters are you using? Livekit support up to 510kbps stereo high quality Opus encoding. If you are using client-sdk-js in browser, you can use AudioCaptureOptions and TrackPublishOptions like this:
{
  channelCount: 2,
  echoCancellation: false,
  noiseSuppression: false,
}

{
  audioPreset: AudioPresets.musicHighQualityStereo,
  dtx: false,
  red: false,
}

thank you for your quick reply.
right now i am using android SDK with this config
i dont know how to change config i try to get it but i dint find any doc about it
val options = RoomOptions(
audioTrackCaptureDefaults = LocalAudioTrackOptions(
noiseSuppression = true,
echoCancellation = true,
autoGainControl = true,
highPassFilter = true,
typingNoiseDetection = true,
),
videoTrackCaptureDefaults = LocalVideoTrackOptions(
deviceId = "",
position = CameraPosition.FRONT,
captureParams = VideoPreset169.HD.capture,
),
audioTrackPublishDefaults = AudioTrackPublishDefaults(
audioBitrate = 96_000,
dtx = true,
),

@naziur604, which platform/SDKs are you building for?

right now i am using android SDK

@naziur604 The bitrate looks good, you can check the subscriber's track bitrate to see if the track is encoding to 96kbps correctly, but you need to change the audio capture options to disable noiseSuppression, echoCancellation, autoGainControl, highPassFilter, dtx that the webrtc's APM(audio process module) would downsample the audio as it can't process 48KHz sample rate / stereo audio samples and will hurt the quality because it is designed to use by conference. Hence, you need to close those options for high quality music.

@naziur604 The bitrate looks good, you can check the subscriber's track bitrate to see if the track is encoding to 96kbps correctly, but you need to change the audio capture options to disable noiseSuppression, echoCancellation, autoGainControl, highPassFilter, dtx that the webrtc's APM(audio process module) would downsample the audio as it can't process 48KHz sample rate / stereo audio samples and will hurt the quality because it is designed to use by conference. Hence, you need to close those options for high quality music.

how can i check the subscriber's track bitrate to see if the track is encoding to 96kbps ?
also is there any way to check Codec ?
also do i need to change anything on livekit server code or only android SDK
please let me know

Please avoid filing duplicate tickets. Since you've filed https://github.com/livekit/client-sdk-android/issues/259, I'm going to close this one.


Update contributors.html

Added myself to contibuters.html

To be on the contribution list you actually have to contribute with something :)
Closing this but you can make a new pull request when you contributed.


Create and store in the database the history of executed scheduled jobs

Task Description
We need to create and store the history of executed scheduled jobs.
This will require creation of new @Entity/GenericEntity classes (see org.carlspring.strongbox.domain.ArtifactEntry as an example) and new liquibase changeset (see v<IP_ADDRESS>__ArtifactEntry.xml) as an example (the code for this is in the strongbox-db project).
The history should contain a list of entries with:

Task name
Thread name
Start datetime
End datetime (either fail or success)
Status (started, fail, success)
Exception message

Acceptance Test

[ ] Building the code with mvn clean install -Dintegration.tests still works.
[ ] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[ ] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[ ] The tests in the strongbox-web-integration-tests still run properly.

See Also

Getting Started With Persistence

Help

Our chat
Points of contact:

@carlspring
@sbespalov
@fuss86

@adityasrini ping, have you had a chance to work on this yet? :)

Not yet since I was involved with some csv to database sanitization stuff! I'll pick this up now and ping you on gitter.

Hi @fuss86 / @carlspring .
I am thinking of picking up this issue. Please can you help me understanding the issue better.
Thanks!

@carlspring, can I work on this one?

I'm sure @carlspring would say yes :) Pick it up :)

Of course! Please, go ahead!

On it.

You might want to look at #1373 as well. To be honest, I'm not sure, if that's not a duplicate (@fuss86 , @sbespalov : could you please confirm, thanks!).

#1373 is not dup

Okay, thanks!


<EMAIL_ADDRESS>

na1/go/pkg/mod/k8s.io/client-go@v11.0.1-0.20190409021438-1a26190bd76a+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
have (*versioned.Decoder)
want (watch.Decoder, watch.Reporter)
require {
k8s.io/api v0.0.0-20190813180838-e711354a0280
k8s.io/apimachinery v0.0.0-20190813060636-0c17871ad6fd
k8s.io/client-go v11.0.0+incompatible
)
any idea on this issue, started happening from today

I followed this - https://github.com/kubernetes/client-go/blob/master/INSTALL.md but I still see this issue. This was working earlier.

That likely means you have other dependencies that are pulling in newer versions of some libraries causing a mismatch
I'd suggest updating your requires statements to matching levels, like the following:
require (
k8s.io/api kubernetes-1.15.3
k8s.io/apimachinery kubernetes-1.15.3
k8s.io/client-go kubernetes-1.15.3
)


[BUG] Slot calculation error in static_hash_table.cu

Describe the bug
in gpu_cache/src/static_hash_table.cu, line 117, why slot accumulate again? it seems like slot already in next group before line 117

To Reproduce
Expected behavior
Screenshots
Environment (please complete the following information):
Additional context

if "& (capacity - 1)" clear the lower bits, then step 0 run twice

I'm not the author of this code, but I can give some comments. In my understanding, this is a variant of the linear probing method for hash. Line 117 is used to probe different hash addresses. Since the author assumes that the capacity is a power of 2, "& (capacity - 1)" is equivalent to "% capacity". I don't think the step 0 will run twice, it should probe a different address when the loop continue.


Added Web Scraping File

Please Review my Web Scrapping File.

@Megha0606 add .ipynb file of ensemble methods


Adding NFTs to existing Vault

When I want to add NFTs I have to unstake first, add to the vault and then stake again. That causes paying fees for unstaking and re-stakign again and I don't know if variable staking rewards based on staked time too... Could be changed?

I am on the same boat.

You can do the flash stake, but you will still have to pay the fees to do it.  But at least you won't have to unstake and restake!

I understand there are ways to package these instructions into one transaction but I have not implemented it.  In our case, we just go ahead and ask for two approvals and do the instructions to end cooldown ourselves after unstaking.  It's a pain, but it works for now.  This is definitely something I want to revisit once I have time.  In the meantime, review some of the other issues that are in this repo - I believe others are attempting this as well.


[agent] device presence enhancements

As a user who has started an agent, in order to have confidence the agent was deployed successfully and is healthy, I would like to be able to one or more of the following:

Agent resource utilization (CPU, memory, disk, network)
Replication traffic to agent
Agent uptime

This information is not intended for in-depth diagnosis of problems, so it need not be too precise and could have a collection period of several minutes (or hours?)
...also...
]Josiah: any ideas on how we might determine how helpful agents are being in terms of getting our data replicated? I have a strong suspicion that agents are really helping get data replicated between devices that aren't online at the same time, but I also don't have any way of proving that

related thought:
]Josiah: any ideas on how we might determine how helpful agents are being in terms of getting our data replicated? I have a strong suspicion that agents are really helping get data replicated between devices that aren't online at the same time, but I also don't have any way of proving that


Fix index when inserting a structure into an array

When inserting a structure inside an array, the index for 'object' should be zero. See test case
Without the fix you get
/issues/1/       |end      |object |                        |1|2
/issues/2/       |end      |object |                        |2|2

But it should be
/issues/1/       |end      |object |                        |0|2
/issues/2/       |end      |object |                        |0|2

Good catch. Thanks !
P.S. jumping between languages with scoped variables (js) and abap is a source of bugs ... :)
P.P.S probably this method need better variable naming ...


Open Ventilator Remote Monitoring Project

The goal of our project is to provide a single dashboard interface to remotely monitor multiple ventilators at once. Check out our Live Demo and Github Repo. Please submit an issue on our Github repo to discuss software integration with you ventilator design. Priority is given to ventilator design teams who are closest to manufacturing.

Added under Systems for Multiple Patients.


Auto Login seems buggy and does not occasionally

I have my spee.ch login credentials saved in my browser, when i opened and it was automatically filled but i was unable to log in, i have include a screenshot of the message i am getting, seems there are other issues as well...

@ceoger are you sure this channel was created on the main spee.ch site, and not the staging.spee.ch one? That's one possibility. Were you able to login previously? Maybe the password was updated incorrectly somewhere?
If none of that helps, @billbitt would need to look into the db to possibly reset your password.

yes @tzarebczan I signed up through the main spee.ch site

login issues should be resolved, reopen if necessary


'gzip,deflate' vs 'gzip, deflate'

In haskell-http2-linear I get from for decoding story_02.json the header value "gzip,deflate".
But the json file says "gzip, deflate".
For a test case it should be 100% match, even if it might not matter in this case.
Can someone validate, it might just be my decoder being wrong (yet it does not mess up any other strings).
This might happen in other files too (like it does with the same file in haskell-http2-linear-huffman)

All test files use ""gzip, deflate", not ""gzip,deflate".
Other implementations can decode story_02.json correctly.

Thank you for the reply.
You are correct. I checked the official version at http://httpwg.org/specs/rfc7541.html and it uses a space the sperate them both. My Static Table did not contain a space, hence it was giving me a false result.
Sorry about that and and I am happy you made/maintain this repository.


Migrate to Terraform Plugin Framework

Terraform Plugin Framework is the next major version of Terraform Plugin SDKv2(this provider is currently using).
https://developer.hashicorp.com/terraform/plugin/framework
There are newly added features in Terraform Plugin Framework.
https://developer.hashicorp.com/terraform/plugin/which-sdk#do-you-need-more-features-than-sdkv2-provides

If you maintain a large existing provider, we recommend that you begin migrating from SDKv2 to the framework by developing new resources and data sources with the framework. You can use terraform-plugin-mux to refactor the provider over time. Refer to the Migrate to Terraform Plugin Framework documentation for more details.

We may want to gradually migrate resources and data-sources to use Terraform Plugin Framework as recommended in the doc.

Terraform Plugin Framework 1.0 is now GA
https://www.hashicorp.com/blog/terraform-plugin-framework-is-now-generally-available


Is there are no way for display current viewers counter?

Hi.
Is there are no way for display current viewers counter?
That's useful for live streaming

The player is not "aware" of current viewer count value, only the server is.
But if you have a "server-side" way to get this value, you can display it on player with a custom plugin.

on my side I use wowza as streaming server and there is an url to get connections informations
I use the output to display value under the player with a refresh each 30 seconds
if a plugin existed to display it inside player (in the bar, on the left) that would be cool (with a personal refresh)

Making a plugin doing this is very simple to accomplish.
For example, take a look at source code of clappr-heading-plugin : it is a very simple plugin which display video title over video.
Just use it as base skeleton, then :

adjust css to choose where you want to display user count
add code to perform ajax request each N seconds to get data
add a plugin option to configure ajax request interval in seconds
add a plugin option to configure url where to perform ajax request
add an optional plugin option to set a callback function which parse ajax request result and return text to display (or only user count)

There is probably more usefull options to add to plugin, but i think this yould be a good start 😄

more this one : https://github.com/Metrakit/clappr-comment-plugin (to get info in seek bar)
but doesn't work for me


Run mii-sd.py failed

Hello, I encountered the following error while running mii-sd.py. How can I resolve it.Thank you
deepspeed                0.9.0
deepspeed-mii            0.0.3
urllib3                  1.26.13
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in validate_conn
conn.connect()
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connection.py", line 414, in connect
self.sock = ssl_wrap_socket(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/root/miniconda3/lib/python3.10/ssl.py", line 512, in wrap_socket
return self.sslsocket_class._create(
File "/root/miniconda3/lib/python3.10/ssl.py", line 1070, in _create
self.do_handshake()
File "/root/miniconda3/lib/python3.10/ssl.py", line 1341, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in validate_conn
conn.connect()
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/connection.py", line 414, in connect
self.sock = ssl_wrap_socket(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/root/miniconda3/lib/python3.10/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/root/miniconda3/lib/python3.10/ssl.py", line 512, in wrap_socket
return self.sslsocket_class._create(
File "/root/miniconda3/lib/python3.10/ssl.py", line 1070, in _create
self.do_handshake()
File "/root/miniconda3/lib/python3.10/ssl.py", line 1341, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/DeepSpeed-MII-main/examples/benchmark/txt2img/mii-sd.py", line 15, in
mii.deploy(task='text-to-image',
File "/root/miniconda3/lib/python3.10/site-packages/mii/deployment.py", line 82, in deploy
mii.utils.check_if_task_and_model_is_valid(task, model)
File "/root/miniconda3/lib/python3.10/site-packages/mii/utils.py", line 120, in check_if_task_and_model_is_valid
valid_task_models = _get_hf_models_by_type(None, task_name)
File "/root/miniconda3/lib/python3.10/site-packages/mii/utils.py", line 80, in _get_hf_models_by_type
models = api.list_models(filter=model_type)
File "/root/miniconda3/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 153, in inner_f
list_value = f(*args, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
return fn(*args, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1055, in list_models
items = [ModelInfo(**x) for x in data]
File "/root/miniconda3/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1055, in
items = [ModelInfo(**x) for x in data]
File "/root/miniconda3/lib/python3.10/site-packages/huggingface_hub/utils/_pagination.py", line 43, in paginate
r = requests.get(next_page, headers=headers)
File "/root/miniconda3/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/requests/adapters.py", line 547, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Hi @15925473068 there was bug introduced in DeepSpeed v0.9.0 that broke Stable Diffusion support (https://github.com/microsoft/DeepSpeed/pull/3218). Could you please upgrade to the latest DeepSpeed release and try again? Thanks!

嗨，DeepSpeed v0.9.0中引入了错误，破坏了稳定扩散支持（Microsoft / DeepSpeed#3218）。您能否升级到最新的DeepSpeed版本并重试？谢谢！

Hello, I updated deepspeed=0.9.2, but it's still the same error

嗨，DeepSpeed v0.9.0中引入了错误，破坏了稳定扩散支持（Microsoft / DeepSpeed#3218）。您能否升级到最新的DeepSpeed版本并重试？谢谢！

Hello, I updated deepspeed=0.9.2, but it's still the same error.Thank you!

@15925473068 I just tested the script and it's working for me. Can you share the output of ds_report? Also, what kind of GPU are you trying to use?

Closing. Please reopen if you are still experiencing an issue with the Stable Diffusion models


feat(curriculum): add a preview page to pyramid project

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #54801

A new step 1 was created that explains what Javascript is and what the project is about. The old step 2 was also modified such that it didn't repeat itself on what Javascript was. The other challenges just had their numbers updated.

I think I merged it wrong.

I think I need to rebase this, again.

Okay merge changes gone again


Performance of webpack-dev-server with source maps

I'm working on this larg(ish) project where we currently use AMD. It works all right, we don't build the project in development and load each module individually. It takes about ~2.5 seconds to load the page with ~420 modules/templates.
I'm exploring switching to webpack (which so far looks amazing) for all the benefits that would add. I have our entire existing project building with webpack with no modifications to the project, which is awesome.
It takes 14s to build the project, but if I use webpack-dev-server, the rebuilds are impressively fast ~1s.
However, if I turn on devtool: "source-map", the rebuilds then take ~4s which is slower than loading all modules individually with Require.js where source maps are not needed.
I've tried using devtool: "eval" and that's fast, but it's not .. a perfect sourcemap (e.g. requires are all numbers now and pathInfo: true doesn't seem to work for me).
So, my question really is, why does sourcemap slowdown rebuilds so much and how could I try to go around it. E.g. Should I try to make more smaller chunks? Should I try to move some of the shared dependencies from the chunks into the entry bundle? Am I doing something wrong with having so many megabytes of JavaScript?
Here's my current output just to give you the idea of the size of the project.
Version: webpack 1.0.0-rc3
Time: 14180ms
      Asset     Size  Chunks             Chunk Names
  bundle.js   985492       0  [emitted]  main
1.bundle.js   437111       1  [emitted]
2.bundle.js   552099       2  [emitted]
3.bundle.js  1848882       3  [emitted]
4.bundle.js  2413145       4  [emitted]

That's 5.9MB in total at the moment, even though the unuglified r.js build is 3.8MB. That's because there's a lot of code duplication in chunks 1, 2, 3, 4. I'd like to build all modules that are shared at least once into the parent bundle, but haven't figured how to do that yet.

Switching from source-map to eval-source-map it looks like the CSS source maps are not being bundled by the ExtractTextPlugin. Is it expected? Thanks

Switching from source-map to eval-source-map it looks like the CSS source maps are not being bundled by the ExtractTextPlugin. Is it expected? Thanks

yes.
webpack 1.8 now offers an additional SourceMap option which is pretty fast but generates SourceMaps: devtool: "cheap-source-map" and devtool: "cheap-module-source-map" (plus eval- variants).
Here is a overview: http://webpack.github.io/docs/configuration.html#devtool

Thanks. I'm confused though. How do you use both the devtool option and the SourceMapDevToolPlugin? I have to use the plugin because of the exclude parameter I contributed in PR #897.

If I do this alone:

config.devtool = 'source-map';

My sourceMaps are generated fine. There is a big 2.2 MB vendors.js.map generated for my vendors chunk that I don't need, and a 177KB app.js.map I want to keep around.

Now that webpack 1.8.0 has #897 I can exclude the vendors sourceMap:

config.plugins.push(new webpack.SourceMapDevToolPlugin({
   filename: '[file].map',
   exclude: ['vendors.js']
}));

Great! I end up with only my app sourceMap.

Now if I use this below to get these fast sourceMaps you mentioned:

config.devtool = 'cheap-source-map';

I end up with a 113KB apps.js.map (nice) but still a big vendors.js.map.
How do I combine both 2) and 3)? How can I exclude my vendors chunk while using cheap sourceMap for my app chunk?
 It is not clear to me what the relationship is between devtool and the plugin itself. How do you specify in the plugin options which type of source map you want (cheap, eval, etc)? Or is there a plugin for each type of devtool value? And if that's the case, do I need to add this exclude flag for all the plugins?
Thanks

The devtool option maps to the SourceMapDevToolPlugin (see here). If you want to apply additional option for the plugin, you need to use the plugin version and omit the devtool options. Using both doesn't make sense.
The cheap SourceMaps map to columns: false:
new webpack.SourceMapDevToolPlugin({
   filename: '[file].map',
   exclude: ['vendors.js'],
   columns: false, // no columns in SourceMaps
   module: false / true // use SourceMaps from loaders
})

I'll add documentation for the SourceMapDevToolPlugin to the list of plugins.

Thanks @sokra. cheap-source-map is indeed as fast as eval for me. I posted some numbers below. Unfortunately, I must be doing something wrong because I can't see any useful difference between eval and source-map at this point. None of these options ever points back at my original ES6 code. And most of the source-map variants actually reports the correct line:column location in the my ES6 code, but bring the ES5-transformed code in the Chrome debug window, where that location does not match. Puzzling.
The numbers below are for a small test app, where webpack seems to be going through 470+ modules during build. My code uses ES6 and React extensively (and some ES7), therefore babel comes into play to transform everything back to ES5. I generate a small app.js bundle for my own code, and a much larger vendors.js for everything else found under node_modules.
In the scenarios below I introduced an error that shows up at runtime. I then click on the error message in Chrome's console, and check where that leads me (i.e. is the line:column right on the error, and with respect to which file). I also report how long it took to run webpack (averaged over 3 tries).
eval - Each module is executed with eval and //@ sourceURL.

time: 8.4s
vendors.js: 1.61 MB
OK. Points at the correct line:column but inside what looks like the ES5 post-processed file (after babel ES6 to ES5 transformation, that is), not my original ES6 file.

source-map - A SourceMap is emitted.

time: 10s
vendors.js: 1.51 MB
vendors.map: 1.72 MB
NOT OK. Reports the correct line:column w/ respect to the original ES6 source file but shows the ES5 post-processed file instead (mozilla/source-map issue?).

hidden-source-map - Same as source-map, but doesn’t add a reference comment to the bundle.

time: 9.8s
vendors.js: 1.51 MB
vendors.map: 1.72 MB
OK. Behaves like eval (to me), points at the correct line:column but inside the resulting huge ES5 bundle/module file (vendor.js), not the original, specific ES6 file.

inline-source-map - A SourceMap is added as DataUrl to the JavaScript file.

time: 9.9s
vendors.js: 3.81 MB
NOT OK. Behaves like source-map (but inlined).

eval-source-map - Each module is executed with eval and a SourceMap is added as DataUrl to the eval.

time: 9.8s
vendors.js: 3.88 MB
NOT OK. Behaves like source-map (but inline/eval'ed).

cheap-source-map - (new in 1.8) A SourceMap is emitted. Faster version.

time: 8.4s
vendors.js: 1.50 MB
vendors.map: 1.71 MB
OK. Behaves like eval (i.e. points at an ES5 file, not the original ES6 file).

And most of the source-map variants actually reports the correct line:column location in the my ES6 code, but bring the ES5-transformed code in the Chrome debug window, where that location does not match. Puzzling.

You need to enabled SourceMaps in the Chrome DevTool settings.

It is enabled. I'm wondering if they are read properly though. Maybe something to do with publicPath?

On Apr 21, 2015, at 04:45, Tobias Koppers<EMAIL_ADDRESS>wrote:
And most of the source-map variants actually reports the correct line:column location in the my ES6 code, but bring the ES5-transformed code in the Chrome debug window, where that location does not match. Puzzling.
You need to enabled SourceMaps in the Chrome DevTool settings.
—
Reply to this email directly or view it on GitHub.

I don't now. SourceMaps work fine for me. You should be able to see the SourceMap requests in the Network tab.

@sokra could you elaborate on "work fine for me"? I can see the SourceMap requests in the Network tab. Actually if I turn SourceMaps off in DevTool settings, and I click on the error in the console, it brings me to the bundle file (app.js). If I turn it on, it leads me to "something" that has the same name as the original source file the error is in (aka HomePage.react.js, not the bundle app.js file). So it seems to be doing something. BUT, this is not my real original HomePage.react.js, it's a version of it after the JSX transformation, i.e. instead of seeing, for example:
class HomePage extends PureRender {
  render() {
    foo = foo / 0; // THE ERROR
    return (
      <div className="home">
[...]

I see:
var HomePage = (function (_PureRender) {
  function HomePage() {
    _classCallCheck(this, HomePage);
    if (_PureRender != null) {
      _PureRender.apply(this, arguments);
    }
  }
  _inherits(HomePage, _PureRender);
  _createClass(HomePage, [{
    key: 'render',
    value: function render() {
      foo = foo / 0;
      return React.createElement('div', { className: 'home' }, [...]

Is that the behavior you are seeing, and is it expected?

Which devtool? (only cheap-module-source-map and source-map, optionally plus eval- support module mappings)
Which loaders are applied for the file? (all loaders applied must support SourceMaps)

Thanks @sokra. I've to admit, I do not know what module mappings are, can't find documentation.
When I use devtool = 'source-map' the correct line number is reported from the original ES6 file, BUT the incorrect transformed (ES5) file is loaded by Chrome. Which is unusable for debugging, since they don't match.
When I look at the SourceMap file, I can see references like "webpack:///./src/js/pages/HomePage.react.js". Inside the devTool panel in Chrome, in the Sources tab, I can see a webpack:// entry in the Sources tree; if I navigate that tree, I can find the src/js/pages/HomePage.react.js entry, but it is the transformed file, not the original file.
The loader being used for .react.js files is babel-loader?stage=0.

stats: 'errors-only' don't work for me...
I prefer a simple console.warn = function() {} to rpevent console message on client...

https://github.com/webpack/webpack/issues/168#issuecomment-99564627
Hi @sebastienbarre , did you solve this issue?


Resolves #115 merge sort tutorial

[ ] I have added the tests to cover my changes.
[ ] I have updated the documentation, VERSION, and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

Resolves #115 .

Putting this on hold for now.


Fossil Island bird house timer

Would it be possible to get a bird house timer?

Duplicate of #1224

oh sorry mb

didnt realize that this was a duplicate


Emmet: Select prev item gets stuck in comment blocks

Testing #27316

Create a HTML file with multiple tags
Comment one of the tags
Keep cursor anywhere after the commented tag.
Use Emmet: Select prev Item to navigate through the tags and attributes

Observe that once you reach the commented tag, select prev doesnt work anymore.
Ideally we should skip commented tags.
Note: In css files, the commented parts do get skipped

Not sure whether to open a new issue or reopen this.

Open an html file
Comment out a tag
Use 'next item' and 'prev item' - it works as described, at first
After doing that a few times, it just stops working and 'next item' and 'prev item' have no effect. No errors in devtools


vagrant: Add a few minor fixes.

The fixes do the following.

Adds the recently added -nodeport option to ovnkube
as we want nodeport to work in vagrant
Adds the recently added -service-cluster-ip-range to ovnkube
so that it gets tested.
Changes a typo in certificate name passed to -ovn-north-client-cacert
Does a 'sudo service ovn-host restart' for master after setting the
SSL options to ovn-controller. We need this because, for master, ovnkube
does not do a ovn-controller restart.

Signed-off-by: Gurucharan Shetty<EMAIL_ADDRESS>

Depends on #221


Fix "interaction has failed" issue in demographics

Changed at least one line to interaction.reply instead of interaction.channel.send to remove "interaction has failed" errors

Stale.


FLW-957 Staking screen: fix rounding of total staked fiat

Codecov Report

Merging #339 (300fb23) into develop (7920849) will increase coverage by 3.25%.
The diff coverage is 37.11%.

@@             Coverage Diff             @@
##           develop     #339      +/-   ##
===========================================
+ Coverage    31.43%   34.68%   +3.25%
===========================================
  Files          462      528      +66
  Lines        19656    24110    +4454
===========================================
+ Hits          6179     8363    +2184
- Misses       13477    15747    +2270

Impacted Files
Coverage Δ

...ataProvider/Sources/JsonSingleProviderSource.swift
0.00% <0.00%> (ø)

...DataProvider/Sources/WebSocketProviderSource.swift
0.00% <0.00%> (ø)

.../Subscription/SingleValueSubscriptionHandler.swift
8.33% <0.00%> (-2.78%)
:arrow_down:

...ion/FearlessUtils/StorageKeyFactory+Implicit.swift
0.00% <ø> (ø)

...s/Common/Extension/Model/WalletAssetId+Chain.swift
0.00% <0.00%> (ø)

...peration/CompoundOperationWrapper+Dependency.swift
0.00% <0.00%> (ø)

...e/CDTransactionHistoryItem+CoreDataDecodable.swift
0.00% <0.00%> (ø)

.../Common/Extension/UIKit/GradientButton+Style.swift
0.00% <0.00%> (ø)

...s/Common/Extension/UIKit/RoundedButton+Style.swift
0.00% <0.00%> (ø)

...mon/Extension/UIKit/TriangularedButton+Style.swift
0.00% <0.00%> (ø)

... and 258 more


OpenAPI introspect problem when schema attribute not specified

Bug description
We are getting following error when introspecting our OpenAPI spec:
            if (schema.oneOf && schema.oneOf.length === 1) {
                       ^

TypeError: Cannot read properties of undefined (reading 'oneOf')
    at RESTApiBuilder.resolveSingleSchemaOneOf (/home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:840:24)
    at RESTApiBuilder.traverseSchema (/home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:282:27)
    at /home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:188:22
    at Array.forEach (<anonymous>)
    at RESTApiBuilder.traversePath (/home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:183:54)
    at /home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:49:26
    at Array.forEach (<anonymous>)
    at RESTApiBuilder.build (/home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:43:42)
    at openApiSpecificationToRESTApiObject (/home/ibmko/lab/blockfort/crossplane2/eks/crossplane-prod-ready-eks/garbage/wunder2/kubernetes-deployment/testapp/node_modules/@wundergraph/sdk/dist/v2openapi/index.js:30:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

How to reproduce
After further investigation we found out that this error is shown when schema field is not present in input parameters for a path: for example WG fails if I have path like this:
  /backoffice/token/balance/{wallet_id}/hash/{token_hash}:
    get:
      tags:
        - crate
      description: ''
      operationId: get_balance_wallet
      parameters:
        - name: wallet_id
          in: path
          description: Wallet Id
          required: true
          deprecated: false
          schema:
            type: string
        - name: token_hash
          in: path
          description: Token hash
          required: true
          deprecated: false

This can be fixed by introducing schema field:
  /backoffice/token/balance/{wallet_id}/hash/{token_hash}:
    get:
      tags:
        - crate
      description: ''
      operationId: get_balance_wallet
      parameters:
        - name: wallet_id
          in: path
          description: Wallet Id
          required: true
          deprecated: false
          schema:
            type: string
        - name: token_hash
          in: path
          description: Token hash
          required: true
          deprecated: false
          schema:
            type: string

@remeq Thanks for letting us know. We're working on a new framework for introspecting OpenAPI data sources which should fix all these problems. It should be ready quite soon. Once we release it we can revisit this issue to check if the problem still persist.

@remeq We released a new version of the OAS introspector, could you give it another go?
Instead of introspection.openApi() you can now use introspection.openApiV2(), this should give better results.
Thanks for your patience.


Interactive PDFs

Is your feature request related to a problem? Please describe.
No, I have been trying to find a way to play Vampire the Masquerade through FoundryVTT and your module seemed like the solution. Until I got it all installed and working properly and found that PDFs lose their interactivity function.
V20_4-Page_Neonate_Interactive.pdf
Describe the solution you'd like
I would love to have a way to be able to retain the interactive features of PDFs like the one above with the ability to save them after they were edited. This would allow me to use them as character sheets in Foundry
Other than that the module is great!

There is an alpha out for this right now https://github.com/Djphoenix719/PDFoundry/issues/5


Streaming multiparts: pubsub

This was seen originally but at least it seemed some months ago that there wasn't a way to process multiparts streaming. Luckily the older js-ipfs-http-client puts the message in query. Later versions related to #228 use multipart bodies, but the topic is still a query argument.
Depends on #230.

Adds test for the older query part message parsing
Uses &'static str instead of &'static [u8] (fixes error messages)

The latest version should leave us failing only the conformance tests related to:

pinning
?timeout=<not sure what unit>

refs
cat
get
block/get
dag/get

wantlist

This is:
  146 passing (3m)
  21 pending
  8 failing

Real review range: https://github.com/rs-ipfs/rust-ipfs/pull/231/files/6f2bf990cb0379ca2b7b7fa9e1be74b537473d54..7498e7ebda3408de12208cf661c4984c08153d00


Invalid code generated with array typedef

The following generates invalid C code with Cython 0.27.2:
ctypedef int int_arr[100]

cdef class X:
    cdef int_arr arr
    cdef foo(self):
        cdef int* ptr = self.arr

The assignment ptr = self.arr is compiled with an extra temporary (why?) of type int_arr which is not legal. The relevant part of the generated C code:
static PyObject *__pyx_f_6cytest_1X_foo(struct __pyx_obj_6cytest_X *__pyx_v_self) {
  int *__pyx_v_ptr;
  __pyx_t_6cytest_int_arr __pyx_t_1;

  __pyx_t_1 = __pyx_v_self->arr;
  __pyx_v_ptr = __pyx_t_1;

Interestingly, with an explicit cast cdef int* ptr = <int*>self.arr, no temporary is used:
__pyx_v_ptr = ((int *)__pyx_v_self->arr);

END.

known


Handle securitry hotspot

Sonar shows a false-positive security hotspot.

See https://community.sonarsource.com/t/compliant-solution-does-not-work-on-windows/42663


Hide symbols from dependent libraries if HIDE_PRIVATE_SYMBOLS is ON.

In current implementation HIDE_PRIVATE_SYMBOLS hides symbols from TVM
itself but not from its dependent libraries. This is problematic when
other third-party libraries with the same symbols are linked to the
same executable.
One example is using TVM with Mesa OpenCL drivers: they depend on LLVM
and load its shared libraries with RTLD_GLOBAL flag, which results in
conflicts with LLVM symbols that TVM uses. Arguably this particular
issue belongs to Mesa (here's their tracking bug:
https://gitlab.freedesktop.org/mesa/mesa/issues/236) but in general
that's the right thing to do regardless of this particular bug.
Note that I'm not enabling this functionality for Darwin as in my
earlier tests their linker didn't seem to understand "--exclude-libs"
(but I don't have test platform ATM to double-check).

Thanks @ndl


Add a data model for keeper actions

Kloppy's event data model currently does not support keeper actions. It would be great if this could be added.
How data providers do it
StatsBomb has a single "Goal Keeper" event where the type of the intervention is coded as "Collected", "Goal Conceded", "Keeper Sweeper", "Penalty Conceded", "Penalty Saved", "Punch", "Penalty Saved To Post", "Save", "Saved to Post", "Shot Faced", "Shot Saved", "Shot Saved Off T", "Shot Saved To Post" and "Smother".
Opta has seven keeper events: "Save", "Claim", "Punch", "Cross not claimed", "Smother", "Keeper pick-up", and "Penalty faced".
Wyscout has "Shot against (Save attempt)" and "Goalkeeper leaving line" events.
SoccerAction maps keeper events to four actions: "keeper_save", "keeper_claim", "keeper_punch" and "keeper_pick_up".
Proposal
I suggest creating a single GoalkeeperEvent and use GoalkeeperQualifiers to distinguish between a Save, Claim, Punch, PickUp and Smother.

Is this widely accepted as an agreed plan?

@koenvo & @JanVanHaaren do you see any caveats in this proposal?
If not, then I can start on this issue.

Fixed in https://github.com/PySport/kloppy/pull/196


Update client packages and historian with new protocol, driver, and container definitions, and also new server packages

Also adapts for a few incoming breaking changes and fixes the relevant type tests.
@znewton There are some updates in routerlicious-driver and historian corresponding to the Axios upgrade you did in #9221, would appreciate if you can take a look.  I opted to only make typing changes rather than functional changes (e.g. no new asserts or anything) to be on the safer side in case my assumptions were poor.

Verified with @hedasilv that the Lumberjack errors are ok to ignore for now.  Opened #9370 to track that issue.


Cannot add picture in some cases

When adding a new product, sometimes the app won't use the picture I take with camera. I choose Take Picture, the camera opens, I take a picture, the buttons Verwerfen (Discard) and Speichern (Save) appear, I click Save, the OpenFood data entry mask reappears, but no photo is attached. I can try Take Picture again, but often this will still fail just like before.
This might be related to screen orientation: if I rotate the phone so that the left long side is down (so that the camera goes into widescreen, and the Discard/Save buttons are displayed on the left long side of the screen), it usually works fine (taken pictures are visible in the data entry mask). In any other orientation it usually fails.
This is on Samsung S4 Mini, with Android 4.4.2, OpenFood 0.1.12 (from F-Droid), and Kamera (com.sec.android.app.camera) 2.0.

@oliver Can you reproduce with the current version ?

Tried with version 0.3 from F-Droid, but now I can't even get that far (it crashes as soon as I want to add a new product, or view a known product). Is there any way I can get you infos about these crashes from my phone? I don't have Android SDK available though.
Is it recommended to do a complete reinstall? I saw in Logcat app this warning:

11-11 18:43:58.907 E/AndroidRuntime(23770): java.lang.RuntimeException: Unable to start activity ComponentInfo{openfoodfacts.github.scrachx.openfood/openfoodfacts.github.scrachx.openfood.views.HistoryScanActivity}: android.database.sqlite.SQLiteException: no such table: SENDPRODUCT (code 1): , while compiling: ALTER TABLE SENDPRODUCT ADD UNIQUE (barcode)

Same here

11-14 08:27:52.560 851-870/? I/ActivityManager: Displayed openfoodfacts.github.scrachx.openfood/.views.SaveProductOfflineActivity: +326ms
11-14 08:27:57.451 29841-29841/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: openfoodfacts.github.scrachx.openfood, PID: 29841
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.isEmpty()' on a null object reference
at openfoodfacts.github.scrachx.openfood.views.SaveProductOfflineActivity.onSaveProduct(SaveProductOfflineActivity.java:179)
at openfoodfacts.github.scrachx.openfood.views.SaveProductOfflineActivity_ViewBinding$5.doClick(SaveProductOfflineActivity_ViewBinding.java:91)
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:22)
at android.view.View.performClick(View.java:5204)
at android.view.View$PerformClick.run(View.java:21153)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-14 08:27:57.452 851-2191/? W/ActivityManager:   Force finishing activity openfoodfacts.github.scrachx.openfood/.views.SaveProductOfflineActivity

Hey @teolemon and @oliver is this still an issue? Very old issue I know but I want to close it if it no longer affects anyone.


Dark style

Hi, did anyone manage to include a dark style option ?
Thanks in advance !

That is a good idea

With some help from https://derekkedziora.com/blog/dark-mode I finally managed to add the possibility to switch to a dark theme. Hope it helps!

Hi @AntoineSoetewey I know this issue is closed but could you give details on how you managed to add the switch without breaking the rest of the SCSS of the page? I could add the switch but then the rest of the site gets broken :sweat_smile:

Hi @AntoineSoetewey I know this issue is closed but could you give details on how you managed to add the switch without breaking the rest of the SCSS of the page? I could add the switch but then the rest of the site gets broken 😅

Hello @ctuni,
This was a long time ago so to be honest I don’t remember, except that I got help from the website mentioned above to add this feature.
Since then, I have switched to another theme, so I cannot even show you the code to make it work for your site.
If you have the time, you could always check previous versions of my website via my repository (https://github.com/AntoineSoetewey/antoinesoetewey.com), but good luck because it’s quite a long time ago and there are quite a lot of commits.
Hope this helps.

Hi @AntoineSoetewey Thank you for your answer! I understand that it might be difficult but I'll try nonetheless. Thanks for pointing me in the right direction!

Hi, any updates on this?


Completed Get API in AutomationContainer for existing ControlType classes

And fixed various bugs on the way, refactored classNames into constants and added tests

Great stuff. especially adding additional tests.


Day4

https://adventofcode.com/2024/day/4
--- Part Two ---
it's an X-MAS puzzle in which you're supposed to find two MAS in the shape of an X.
例：
M.S
.A.
M.S

In this example, an X-MAS appears 9 times.
.M.S......
..A..MSMS.
.M.S.MAA..
..A.ASMSM.
.M.S.M....
..........
S.S.S.S.S.
.A.A.A.A..
M.M.M.M.M.
..........

How many times does an X-MAS appear?

@nodchip さん
レビューいただきありがとうございます。
Step4を追加しました。すごくスッキリ書けました。


Resolve todo comments in json rpc test

This PR resolves TODO comments in the json rpc test. Test in ibft folder is fixed, but since it is planed to remove this folder from the code in the future, tests are also adapted and moved to json rpc test in polybft which contained only one test case. Test case for getting the block by the hash is deleted since this is not a valid parameter as per ethereum documentation (block number should be used)
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[ ] I have tested this code manually

This e2e fails: TestE2E_Bridge_Transfers. @Stefan-Ethernal is it flaky?

It should have been fixed through https://github.com/0xPolygon/polygon-edge/commit/a5aea765047c7a7ca383f95c869a224450507b08. As far as I can see, this branch does not include this commit. Let's rebase it.


feat: allow schemas in pipeline files

Closes #1077
Summary of Changes
Pipelines files can now contain schemas.

:tada: This PR is included in version 0.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.13.0
GitHub release

Your semantic-release bot :package::rocket:


Use simpler delegate when constructing AzureEventSourceListener

Following the completion of #45191 and the publishing of an Azure.Core version with that change, this PR makes use of the new constructor in the Extensions Monitor.OpenTelemetry projects.

API change check
API changes are not detected in this pull request.

Thanks, @pharring!  We'll see about getting this into October's releases.

/check-enforcer override


Issues using rust crate on M2 Max

Not sure if anyone else on apple silicon is facing issues, but for the rust crate I had to manually add RUSTFLAGS="-L/opt/homebrew/opt/libomp/lib -L/opt/homebrew/opt/llvm/lib -lblas -llapack" in order for the linker to work properly.
Curious if this is a result of my local setup or an issue that others on silicon were facing for the rust crate

Hey thanks for sharing! The Rust bindings are extremely new/experimental and I haven't had the chance to try on a M1 mac yet. Those flags seem right, the MacOS x64_64 and Linux builds also require similar flags.
Will try it out on my M1 and will update the docs when needed.
If you're tired to constantly defining RUSTFLAGS as a variable, consider moving it to a build.rs file:
https://github.com/asg017/sqlite-vss/blob/67aae7cbf27f8bb3fe7f20abe1d0df31a0662ba7/examples/rust/build.rs#L2-L6

For reference I got my app to compile using the following:
fn main() {
    if cfg!(target_os = "macos") {
        println!("cargo:rustc-link-arg=-Wl,-undefined,dynamic_lookup,-lomp,-L/opt/homebrew/opt/libomp/lib");
    } else if cfg!(target_os = "linux") {
        println!("cargo:rustc-link-arg=-Wl,-undefined,dynamic_lookup,-lstdc++");
    }
}

After installing libomp via brew


Crash in Copy tab

While doing simple Copy exercise, got crash:
QThread: Destroyed while thread is still running
make: *** [run] Segmentation fault: 11

Note that there was no pause/restart here, just start copy and crashed after 3 or 4 chars.

After various fiddles that really shouldn't have fixed anything, I can no longer recreate the problem.
Close this bug report, open another that contains things to do if this problem arises again.


Validation within a transaction?

Prisma (especially Prisma2) shows a lot of potential to be a huge game changer and our team is excited about transitioning onto it. I'm posting here as requested from the Prisma Slack channel.
Is it possible to apply some pending changes in a transaction, run custom validation, then either commit those changes or rollback?
For example, given parent model Foo, which has a has-many relationship to Bar, and that Bar has an isPrimary boolean field, I need to validate that one Foo can have many Bar but only one of those Bar assigned to that Foo may have isPrimary set to true. What would be the recommended solution here?
Specifically, we need to run this validation before a mutation is committed to the database using nexus-prisma. As one possible solution, we were wondering if it would be possible to start a transaction, apply the changes of the mutation, validate the model, then either commit the pending changes or rollback.
Any advice on if this is or will be possible with Prisma2 would be greatly appreciated. Thank you!

Hi @jmadson,
Currently, this is not possible with Prisma, and there is no planned feature that will make this possible. I have a few ideas about how we could achieve this. Would any of these fulfil your needs?
Optimistic Concurrency Control
The idea of OCC is to augment the write API such that you can say perform this update, but only if this condition is true. A simple example to update a bank account to add 10 USD: set the account value to 50, but only if the current state is still 40. This idea is discussed here.
If we extend this idea by enabling you to traverse relations and create conditions on aggregations, it might be able to solve your use case:
update this Foo by connecting it to that Bar, but only if the Foo is not already connected to Bar with isPrimary=true
Declarative Constraints
There are multiple issues discussing introducing constraints to the Prisma Schema:

https://github.com/prisma/specs/issues/344
https://github.com/prisma/prisma/issues/1604
https://github.com/prisma/specs/issues/67

We could make this system powerful enough to support your use-case, and implement it by essentially injecting the proper pre-condition or post-condition into the generated query, instead of relying on the database enforcing this.
Next steps
I would love to hear your thoughts on these two suggestions. If one or both of them are interesting to you, you could go ahead and open a feature request.


Allow subclassing ToggleButton and MenuButton

A couple of patches to allow subclassing Toggle and Menu buttons.

Thanks! Do you see anything missing @sdroege @bilelmoussaoui ?

Thanks!

Btw, are there other missing subclassing stuff?

Btw, is there other missing subclassing stuff?

Probably a lot

Ok, how do you know you can subclass something then?


Tooltip / Material UI Tooltip

Hey.
I'm just trying to find a solution to wrap buttons with a tooltip. So I came up with the idea of using a custom toolbar.
But when I try to use 2 editor's it get broke. I have in my APP mulitply quill editor.
I also try it in the template out of the doc - but same result. Is ther any goot solution for adding tooltips for buttons in the toolbar?
ReactQuill version

[x] master
[ ] v2.0.0-beta.2
[ ] v2.0.0-beta.1
[ ] 1.3.5
[ ] 1.3.4 or older
[ ] Other (fork)

Ok. Found a solution.
I pass name that each has his own toolbar.
Name is in my case unique for each editor.
const modules = {     toolbar: #${name}`,
clipboard: {
matchVisual: false
}
};
const formats = ['bold', 'italic', 'underline', 'list', 'bullet'];
return (
<>

<QuillEditorRoot
....
`


getting blur and white lines

Type: Bug
the visual studio code on my laptop is getting blur and it is filling with white lines suddenly and it's not the fault of my machine i have checked with all tht other applications please check it and provide me a valid solution.
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.71GB (9.12GB free)

Process Argv
--crash-reporter-id 248c418b-aaa8-48d9-8c27-a68fa802a4f7

Screen Reader
no

VM
0%

Extensions (34)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

lua-debug
act
1.61.0

vscode-sql-beautify
cla
0.3.16

vscode-html-css
ecm
1.13.1

prettier-vscode
esb
9.10.3

vscode-dotnet-runtime
ms-
1.6.0

data-workspace-vscode
ms-
0.3.0

mssql
ms-
1.16.0

sql-bindings-vscode
ms-
0.3.0

sql-database-projects-vscode
ms-
0.19.0

isort
ms-
2022.8.0

python
ms-
2022.20.1

vscode-pylance
ms-
2023.1.10

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.12

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

sqltools
mtx
0.27.1

oracledevtools
Ora
21.5.0

java
red
1.13.0

LiveServer
rit
5.7.9

vscode-sql-beautify
sen
0.0.4

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.47.0

vscode-java-dependency
vsc
0.21.1

vscode-java-pack
vsc
0.25.7

vscode-java-test
vsc
0.37.1

vscode-maven
vsc
0.40.3

php-debug
xde
1.30.0

plsql-language
xyz
1.8.2

luahelper
yin
0.2.19

plsql-debug
zer
1.0.8

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1:30587005
3biah626:30602489
3d0df643:30613357
f6dab269:30613381
fim-prod:30623723

Hi, does running code --disable-gpu from the terminal help?
Also, did this issue just appear, or was it there in previous versions?

I had fixed it with using compatibility by using previous versions
It was working fine with windows 8 compatibility
But not good in windows 11 22h2 version
Thank you so much for your fast response
On Wed, Jan 11, 2023, 23:45 Raymond Zhao @.***> wrote:

Hi, does running code --disable-gpu from the terminal help?
Also, did this issue just appear, or was it there in previous versions?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/171079#issuecomment-1379297760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3H7QYGLPQW5KOIKSSTGTBLWR32FVANCNFSM6AAAAAATYJZCNQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Merging to https://github.com/microsoft/vscode/issues/124226

Now I have encountered a new problem by using compatibility mode now I
can't use the terminal in vscode editor please find the solution regarding
this issue and help me iam attaching a screenshot of my problem please help
me with the possible solution. Iam counting on you.
On Mon, Jan 16, 2023, 23:05 125 KONERU GNANA SHRITEJ <
@.***> wrote:

Now I have encountered a new problem by using compatibility mode now I
can't use the terminal in vscode editor please find the solution regarding
this issue and help me iam attaching a screenshot of my problem please help
me with the possible solution. Iam counting on you.
On Thu, Jan 12, 2023, 14:19 Robo @.***> wrote:

Closed #171079 https://github.com/microsoft/vscode/issues/171079 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/171079#event-8209038362, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A3H7QYEO4CBDNI5ZL6SHDZDWR7ARTANCNFSM6AAAAAATYJZCNQ
.
You are receiving this because you authored the thread.Message ID:
@.***>