Re-architecting of CSV / MD / JSON writing

This resolves #28, by re-working the cli main function to write out each domain of data as it is generated. This works by converting the inspect_domains function yield the results of each domain inspection as they occur, rather than waiting until the very end of the generation.
This PR also simplifies the logic surrounding writing out the other formats (JSON and MD) by using a unified smart_open context manager to manage outputting to a file vs to stdout.

Coverage decreased (-0.3%) to 23.338% when pulling 3ccc408ebc5888be742520d98f75cc8c4395536c on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

@h-m-f-t , it looks like you may have left coveralls configured to require only increases in coverage, but since this removes some code, it actually dropped the coverage.
Until we can get the testing framework more intact, maybe we should bump up the threshold for a pull request dropping the coverage to, maybe something like, 2%? 5%?
Should be able to be configured at: https://coveralls.io/github/dhs-ncats/pshtt/settings (though you as admin would need to do this)

Coverage increased (+0.6%) to 24.228% when pulling 760dc181d27ecf4de72bb33bc7af9ddbc4e956fb on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

Coverage increased (+0.6%) to 24.228% when pulling 905b91f576c068eaafb3eb660bf55c6c98ecb9e5 on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

Coverage increased (+1.2%) to 24.846% when pulling 3225035c92bcb113a6504459e16e00d5f85ddc1b on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

@h-m-f-t , For this particular case, I ended up just updating the pull request to add more tests along the way. :)

Coverage increased (+1.2%) to 24.846% when pulling f99e244e481c1d4fc9023b3dd286461309baf456 on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

Coverage increased (+21.2%) to 44.801% when pulling bf3166818b2daa23c126ce83b0dafdaaf7211183 on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

Alright, I know I was doing a bunch of work after submitting this, but I'm done for a while. The last thing I would like to do with this is to add the testing of the to_json and to_markdown functions I factored out, but I can do that in this PR or a separate one if we get this merged sooner.

Side question - @h-m-f-t, the Coveralls integration is a bit noisy. Is there a way to tune it down somewhat?

The coveralls output might be more my fault... It fires on every push, and since I'd kept working on this PR after creating it (which I probably shouldn't have) that's why it got a bit noisy).

Coverage increased (+21.2%) to 44.801% when pulling 537f4120396b188ee3f20c8c0b3610ee9bad988d on gh-28-output-as-we-go into c99ea6a9208fb632fa934a967ec6041bffb4c2a7 on master.

Huh, I don't see those... this is what I see:
[... snip ...]
flake8 installed: asn1crypto==0.23.0,beautifulsoup4==4.6.0,certifi==2<IP_ADDRESS>,cffi==1.11.2,chardet==3.0.4,cryptography==1.9,DataProperty==0.25.6,docopt==0.6.2,dominate==2.3.1,elasticsearch==5.4.0,flake8==3.4.1,idna==2.6,jsonschema==2.6.0,Logbook==1.1.0,markdown2==2.3.4,mbstrdecoder==0.2.2,mccabe==0.6.1,nassl==0.17.0,path.py==10.4,pathvalidate==0.16.2,pshtt==0.3.0.dev0,publicsuffix==1.1.0,pycodestyle==2.3.1,pycparser==2.18,pyflakes==1.5.0,pyOpenSSL==17.3.0,pyparsing==2.2.0,pytablereader==0.13.4,pytablewriter==0.24.0,python-dateutil==2.6.1,pytz==2017.2,requests==2.18.4,requests-cache==0.4.13,SimpleSQLite==0.16.0,six==1.11.0,SSLyze==1.1.4,tls-parser==1.1.0,toml==0.9.3,typepy==0.0.20,urllib3==1.22,wget==3.2,xlrd==1.1.0,XlsxWriter==1.0.2,xlwt==1.3.0
flake8 runtests: PYTHONHASHSEED='4263820095'
flake8 runtests: commands[0] | flake8
___________________________________________________________________________________ summary ____________________________________________________________________________________
  py27: commands succeeded
SKIPPED:  py34: InterpreterNotFound: python3.4
SKIPPED:  py35: InterpreterNotFound: python3.5
  py36: commands succeeded
  flake8: commands succeeded
  congratulations :)

Can you paste what you're seeing?

The coveralls output might be more my fault... It fires on every push, and since I'd kept working on this PR after creating it (which I probably shouldn't have) that's why it got a bit noisy).

Absolutely not -- filing a PR and then continuing to modify it in-place is a design feature of GitHub and a positive part of collaborative development. Please keep doing that! We should just make coveralls less noisy so as not to punish that workflow.

@IanLee1521, here is the output I get from tox.

@jsf9k -- It looks like the issue is that you have a virtualenv directory in your top level directory. Therefore flake8 is picking up those files... One way to solve this is #127. Does that work for you?

@konklone does https://github.com/dhs-ncats/pshtt/pull/125/files#diff-09f983a1db5a7aca6102f2e2a260c88cR55 work better for you w.r.t. the static string versus something better?

That works (I also would have been fine with a straight array with header names in the comments, but all good).


Discussion: Non-Ethereum projects

A lot is happening outside of the Ethereum ecosystem. I know we've never explicitly sworn loyalty to Ethereum, just want to see if there is interest in alternative chains at all.
What do you think about pursuing projects on other chains and trying to make deals with them?
Pros:

More projects to partner with
Lower transaction fees might increase participation
We might attract additional testers looking to invest in a certain chain, ex: Arbitrum airdrop miners
Generally good for the industry, encourages diversification and competition

Cons:

Already hard to keep track of news and events in one ecosystem
Further fragmentation
The learning curve, need to install new wallets, sync nodes, use bridges, etc

There really are 2 questions

Do you think we should look into other chains at this stage?
If yes, what chains? We can vote and focus on 2-3 most popular.

The answer seems to be "why not?". People can look wherever they like. If there is something interesting going on outside of ethereum and a person can negotiate some mutually beneficial relationship – why not, we'll consider it. Closing.


Review mapp/ui css for theming

The mapp and the ui css in particular is a mess.
Things have been added in an unsttructured manner without review and outdated rules have never been removed.
The dialog for example has a white background colour [#fff] which makes it impossible to theme this by prepending or appending css rules to the document head.
The number of colours should be reviewed. The more colours we add the more chaotic theming becomes.
The idea of theming is that each colour has a lookup colour.
Colours should be assigned as classes.
Instead of n classes having n different background colours it is much easier to use a background-colour class for a background colour which can easily be exchanged by appending theme rules.

I have created a PR for the dialog example.
https://github.com/GEOLYTIX/xyz/pull/1600


Doubt about file_url

Why do you add the prefix conteudo/ in the url of the images to be compressed?
 $new_image = imagecreatefrompng('conteudo/'.$this->file_url);

Hey, i haven´t developed this library but i used it, so i deleted this directory string.
I thought it was an error.
Code has to be as shown:
$maxImgWidth = 900;
// create image from posted file
$src = imagecreatefrompng($this->file_url);
// get original size of uploaded image
list($width, $height) = getimagesize($this->file_url);
if ($width > $maxImgWidth) {
$newwidth = $maxImgWidth;
$newheight = ($height / $width) * $newwidth;
$newImage = imagecreate($newwidth, $newheight);
imagecopyresampled($newImage, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
imagepng($newImage, $this->destination.$this->new_name_image, $png_compression);
imagedestroy($src);
imagedestroy($newImage);
$resizedFlag = true;
}
Happy code :)

That's a mistake JeisonJ. Soon as possible i'll change this.

The above mentioned issue still exists. Please update asap.

Try deleting conteudo folder
$new_image = imagecreatefrompng($this->file_url);

Try deleting conteudo folder
$new_image = imagecreatefrompng($this->file_url);

I' ve fixed it by doing the same. That is not a permenant solution right?. when I do a composer update then, the changes will rollback to the default one.


A process with mode detachedWithStdio has a null getter for exitCode.

This applications throws when it shouldn't:
import 'dart:io';

void main() async {
  var process =
      await Process.start('ls', [], mode: ProcessStartMode.detachedWithStdio);
  process.exitCode.then((_) {});
}

Started looking into this and it appears that this is working as intended based on the documentation.
In particular:

If mode is ProcessStartMode.detachedWithStdio a detached process will be created where the stdin, stdout and stderr are connected. The creator can communicate with the child through these. The detached process will keep running even if these communication channels are closed. The process' exit code will not become available when it terminated.

ProcessStartMode.detached behaves similarly. Exit codes are only available when using ProcessStartMode.normal.

Interesting that this behavior is documented. Is this due to a technical limitation? I can't fathom why this would be the preferred behavior.

Just learned this in a hard (~2 hours searing for an error in my code then reading through process_patch.dart) way.
While this is nice to have a doc in Process.start, it would be also helpful to mention this fact in exitCode getter

Is there any way to know if the command failed or succeeded?


Rename [Function] -> [SqliteFunction]

Even though it's in a SqliteDna namespace, it feels like Function is too generic.
        [SqliteFunction]
        public static int Foo2()
        {
            return 2;
        }

I should note that there is also System.Data.SQLite SQLiteFunctionAttribute in the .NET provider.

I've renamed [Function] -> [SqliteFunction].


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/kitty-feedstock#15.


Files and folders that are prefixed with an underscore are being converted to dotfiles

It looks like anything I have in my templates directory that begins with an underscore ie: _settings.scss or _partials/, when they are copied over after Slush runs, they're being saved out as: .settings.scss or .partials
This is pretty restrictive in my use case. Is this an intended feature of Slush or have I possibly done something to cause this?

This has nothing to do with slush itself, it's caused by the slush-generator you're using. Which generator are you using, i.e. how do you run slush? For instance running slush angular executes the slush-angular generator...

Ah, yep, it is. I'm using a custom internal generator, but it was built using slush-generator, which has that rename function that does exactly what I was running into. Really should have noticed that one myself. Thanks for the help!


Add “is-abstract” and “is-final” to XML only if they are “true”. Add “allow-child-content” only when it’s “false”.

The fix is not working. These three fields still end up in the content type xml. Also, non-required fields with empty values should not be saved either. This is how my content type xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<content-type>
	<display-name>Test</display-name>
	<display-name-label></display-name-label>
	<display-name-expression></display-name-expression>
	<description></description>
	<super-type>base:structured</super-type>
	<is-abstract>false</is-abstract>
	<is-final>false</is-final>
	<allow-child-content>true</allow-child-content>
	<form/>
</content-type>

There's just too much noise in here. It should've been this:
<?xml version="1.0" encoding="UTF-8"?>
<content-type>
	<display-name>Test</display-name>
	<super-type>base:structured</super-type>
	<form/>
</content-type>

Merged to master


AttributeError: module 'platformio.util' has no attribute 'load_project_config':

And here is another one...
AttributeError: module 'platformio.util' has no attribute 'load_project_config':
This happens when calling
project_config = util.load_project_config()
in publish_firmware.py.
Any hints?

Seems this way of using util is no longer supported, but for me changing
 from platformio import util
 project_config = util.load_project_config()
 bintray_config = {k: v for k, v in project_config.items("bintray")}
 version = project_config.get("common", "release_version")

to
try:
    import configparser
except ImportError:
    import ConfigParser as configparser
project_config = configparser.ConfigParser()
project_config.read("platformio.ini")
version = project_config.get("common", "release_version")
bintray_config = {k: v for k, v in project_config.items("bintray")}

as per https://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#custom-options-in-platformio-ini

Yes, this is the right way. Could you provide a PR and we will merge? Thanks!

This is my first time actually doing a PR, so I hope I did it right...

Yes, you did everything correctly! Thanks and congrats on the first PR :)


[WFCORE-3991] Test coverage for read-config-as-features

https://issues.jboss.org/browse/WFCORE-3991
This is additional test coverage for the read-config-as-features operation. Covers both standalone and domain mode. The difference between these tests and the tests in #3430 is that these make changes on real subsystems, then expect the operation output to change accordingly. The changes made were chosen fairly arbitrarily, but the idea is that each change is done on a different part of the model.
Depends on #3430
Cc @aloubyansky

Core - Full Integration Build 7794 outcome was FAILURE using a merge of 45946e05ccbeb87628a840401a68027918f02353
Summary: Compilation error: Compiler (new) Build time: 00:02:56

I updated the PR with @author tags and copyright. The tests will blow up again, because this expects some fields from #3430 to be in place.

Core - Full Integration Build 7795 outcome was FAILURE using a merge of 3fb67f1736cf09693dac0297b2e2fb72ae7bb848
Summary: Compilation error: Compiler Build time: 00:02:19

@LittleJohnII after I merged #3438 and this PR, one of the test failed: https://ci.wildfly.org/viewLog.html?buildId=116533&tab=buildResultsDiv&buildTypeId=WildFlyCore_MasterIgnorWindows.
I am reverting this PR to avoid this failure. Could you please update the  test to fix it?


Init version 23.04.0-SNAPSHOT [databricks]

Signed-off-by: Peixin Li<EMAIL_ADDRESS>Update plugin version to 23.04.0-SNAPSHOT.
NOTE: cudf or jni related versions are still 23.02 will be updated when available

build


Missing Element.children

The Element class should have a children property returning an HTMLCollection<Element>. This is specified by the ParentNode mixin. (The same mixin also specifies firstElementChild, lastElementChild, and childElementCount, all of which are present.)

I see that Element.parentElement is also missing.
Are reports of this nature useful, or is this something that should sort itself out when the tool is run against newer/different W3C spec data?

Elemental2 is generated from closure-compiler externs files, not "W3C spec data" (see also https://github.com/google/elemental2/blob/master/CONTRIBUTING.md#contributing-a-patch)
children is defined in https://github.com/google/closure-compiler/blob/d1c1673d1d891616144f1f5d0d9642dd1e232612/externs/browser/gecko_dom.js#L737-L741, firstElementChild et al. are defined in https://github.com/google/closure-compiler/blob/55cf43ee31e80d89d7087af65b5542aa63987874/externs/browser/w3c_elementtraversal.js, and parentElement is defined in https://github.com/google/closure-compiler/blob/55cf43ee31e80d89d7087af65b5542aa63987874/externs/browser/w3c_elementtraversal.js
Per https://github.com/google/elemental2/blob/e6944c3cdb6b637822edcc9d76f70ce8cb3b4424/java/elemental2/dom/BUILD#L14-L23, those would need to be added to this repo's w3c_dom2.js.diff though.
So I do think those reports are useful yes :wink:

Good to know.
(I do get that right now the defs are based off Closure. By "spec data" I simply meant to include any possible future data sources, whether Closure, IDL, .d.ts or whatever else. Sorry for any confusion.)

@tbroyer I think you have a copy/paste error, parentElement can't be found in that file (or its history). Instead, it can be found in https://github.com/google/closure-compiler/blob/0b04093/externs/browser/ie_dom.js

This will be fixed with #86 #87

Element.parentElement will be made available once the https://github.com/google/closure-compiler/pull/3273 PR lands.

childElementCount is made into an integer via https://github.com/google/elemental2/pull/98

Element.children will be correctly typed after https://github.com/google/closure-compiler/pull/3275 lands but it will not be included in Elemental until #86 lands ... or alternatively a new whatwg_dom_ls.js is added.

It has been closed as duplicate of #86 that are still open


load_weights does not work when weights are saved in h5 format

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.1
Python version: 3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
model can't restore weights from h5 file
Describe the expected behavior
Code to reproduce the issue
class Model(keras.Model):
    def __init__(self, inp1, inp2):
        super(Model, self).__init__()
        self.x1 = self.add_weight('w1',[inp1])
        self.x2 = self.add_weight('w2',[inp2])
    def call(self,x):
        return x
# load_weights method works when save format is 'tf
x = Model(100,200)
x.save_weights('temp.tmp',save_format='tf')
old = x.weights[0][0].numpy()
print(old)
x = Model(100,200)
x.load_weights('temp.tmp')
new = x.weights[0][0].numpy()
print(new)
print(old==new)

# load_weights method does not work when save format is 'h5'
x = Model(100,200)
x.save_weights('temp.h5',save_format='h5')
old = x.weights[0][0].numpy()
print(old)
x = Model(100,200)
x.load_weights('temp.h5')
new = x.weights[0][0].numpy()
print(new)
print(old==new)

Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Any update regarding this issue ?
I am having the same problem trying to load inceptionV3 weights trained with TF1.13  using TF2.1.

I also have this issue, anyone know a solution yet?

@cs-mac
'''
def load_weights(model,save_path):
hf = h5py.File(save_path, 'r')
for i in model.trainable_weights:
res = hf.get(i.name)
res = tf.convert_to_tensor(np.array(res))
if res.shape == i.shape:
i.assign(res)
'''

@bj1123
Thank you for your reply!
I managed to fix the mistake, embarrassingly enough it was a user error on my part.
I remade the whole trained model to access some layer I needed. Then I used this newly created model, which of course was not trained yet, instead of the trained model. Therefore, all attention weights seemed random.


F-Droid build failed

> Could not resolve all files for configuration ':aes_ecb_pkcs5_flutter:releaseCompileClasspath'.

   > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

     Required by:

         project :aes_ecb_pkcs5_flutter

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > repo.maven.apache.org

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > storage.googleapis.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > repo.maven.apache.org

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > repo.maven.apache.org

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://jcenter.bintray.com/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > jcenter.bintray.com

      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.

         > Could not get resource 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

            > Could not GET 'https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_release/1.0.0-b09f014e9658da6647361e7e416d1a159d34192d/flutter_embedding_release-1.0.0-b09f014e9658da6647361e7e416d1a159d34192d.pom'.

               > repo.maven.apache.org

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Could you please take a look? Thanks!

As our CI and local builds succeed, I think this might have been a temporary network issue. I have just pushed another patch release. Then we can check if the problem persists.

It builds fine now so it's a network issue. Thanks!


change error response

as error should be shown in Cabinet, it should be changed
api/cabinet/declaration_requests/{id}/actions/approve
add entry - $.data
change "invalid" to "doctor_limit"
current error
{"meta":{"url":"http://api-svc.il/api/cabinet/declaration_requests/874c81cb-cb6d-4f24-80f8-478e85788a50/actions/approve","type":"object","request_id":"896faa7b-cb2a-4bce-ba1c-0de3061cb63d#3244","code":422},"error":{"type":"request_malformed","message":"This doctor reaches his limit and could not sign more declarations","invalid":[{"rules":[{"rule":"json"}],"entry_type":"request"}]}}

example of correct error
{
  "error": {
    "doctor_limit": [
      {
        "entry": "$.data",
        "entry_type": "request",
        "rules": [
          {
            "rule": "json"
          }
        ]
      }
    ],
    "message": "This doctor reaches his limit and could not sign more declarations",
    "type": "request_malformed"
  },
  "meta": {
    "code": 422,
    "request_id": "896faa7b-cb2a-4bce-ba1c-0de3061cb63d#3244",
    "type": "object",
    "url": "http://api-svc.il/api/cabinet/declaration_requests/874c81cb-cb6d-4f24-80f8-478e85788a50/actions/approve"
  }
}

linked with edenlabllc/ehealth.web#256

won't fix


[Dropdown] - "Element is no longer attached to DOM. Unable to animate. slide down out" using Angular 4

I have implemented a Menu using the Dropdown in an Angular Component. Sign out dropdown item is a router link, so clicking on it cause a redirection on another component. When i do this it returns the following error:

Transition: Element is no longer attached to DOM. Unable to animate.  Use silent setting to surpress this warning in production. slide down out

This is as it appear:

and this is the code

    {{ user.displayName | truncate:18 }}

         Edit Profile

         Sign out

After the redirection, every click on the page cause this error.
I have noticed that causing the slide down out animation on the drop down at least one time (e.g clicking on Edit Profile) fix this issue, and the error disappears.

Hi @msalafia, I know nothing about Angular, but I’m assuming this is an issue with Angular lifecycle, and it would probably be best to ask around Angular communities first. In any case, although it’s a valid usage question, we’ve limited GitHub Issues to bug reports and feature requests to keep the board more manageable for maintainers, so I’ll closing the thread because of that.


Permission nodes needed for all commands

The public shall not have access to edit command.

Only admins commands are paired with permission nodes for now. This ensures that players on servers that do not use permission plugin can still access basic command.


Improve UI by hiding scroll bar

Describe the bug
Hii @ANSHIKA-26 i reviewed this project i think hiding the scroll bar will give a professional overview this website i want to contribute in this project
Expected behavior
After hiding the scroll bar scrolling will works
Screenshots

Kindly assign me this issue so i can start working as soon as possible and pls do add gssoc-ext 24 and hacktoberfest-accepted in repository as well
Check list
[✔] I am contributing under GSSoC-ext
[✔] I am contributing under Hacktoberfest
[✔] I follow contribution guidelines

pls add these tags in repository as well like this


Branding for HWC

Just to get a discussion started: should this branding repo be extended to cover the Homebrew Website Clubs?
Prompted by @tantek. A sign would be great for people to spot meet-ups and start conversations. This might be especially important for pop-up events.
How close should a HWC logo follow the IWC logo? Is there any prior-art for HWC logos?
Tantek seemed to recall @veganstraightedge having had signs in LA.

The IWC logo could be repurposed into an HWC logo pretty easily. If that's what the group decides they want to do, I'll try to carve out some time to make the changes.
Also, if someone else is feeling adventurous and wants to take a stab at it, all of the files are in this repo.

The sign I had at HWC LA was very simple and didn't have any branding. But yes, there was a simple sign with HWC name and a big arrow pointing toward the meeting place.

I made one from the old logo, but not really recommended: http://svgur.com/s/1k

@mblaney has one linked on https://indieweb.org/HWC - https://unicyclic.com/images/hwc.svg


Fix loglevel

Issue #, if available:
Description of changes:
Swap level for error and info
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I've briefly tested 1.2.1 with the current reuse-auth-only.yaml and it looks fine!


Implement model in Stan

This was a really interesting paper, I enjoyed reading it. Thanks!
In the paper, maximum marginal likelihood estimation is used to obtain a point estimate of the scale of the innovations for the local linear trend. In this PR, I added a hyperprior for that and implemented the model in Stan (the latent variable X has to be marginalised out because it's discrete, but stan can still sample it in the generated quantities block). This also means NUTS is used for inference rather than SMC as in the paper.
Hopefully it's useful!

Hello Angus! Thank you so much for this implementation, it's great! :)
Couple of comments on the Stan code:

For the latent rate and trend terms you have lambda[t] = kappa[t - 1] + lambda[t - 1] but it should be lambda[t] = kappa[t] + lambda[t - 1]. In other words, the lambda is a sum of the previous lambda and the new kappa.
The posterior on the x-nowcast isn't Poisson distributed (the prior is). For days far enough in the past, the theta prior on the under-reporting rate becomes (close to) a delta function on 1. This means that we are confident that the observed counts y are the true count x. This should result in reduced uncertainty in the now-cast the further we go back in time.

Let me know if you have any questions.

I realise this is a ridiculously long time after the initial PR, but @radka-j reminded me offline about this. You're quite right about the x-nowcast, so I've removed that from the stan code and the notebook. Hopefully what's there is still useful.

This is great, thank you again for implementing this!! :)


SelectField defaults choices to None, not [] as documented.

Actual Behavior
from wtforms import Form, SelectField

class MyForm(Form):
    foo = SelectField()

def test_construct():
    form = MyForm()
    assert form.foo.choices == []

When you run the test, it fails because form.foo.choices is None, not []:
./src/dyk_tools/test_select_form.py::test_construct Failed: [undefined]assert None == []
 +  where None = <wtforms.fields.choices.SelectField object at 0x7fac5325fbe0>.choices
 +    where <wtforms.fields.choices.SelectField object at 0x7fac5325fbe0> = <dyk_tools.test_select_form.MyForm object at 0x7fac5325fa90>.foo
def test_construct():
        form = MyForm()
>       assert form.foo.choices == []
E       assert None == []
E        +  where None = <wtforms.fields.choices.SelectField object at 0x7fac5325fbe0>.choices
E        +    where <wtforms.fields.choices.SelectField object at 0x7fac5325fbe0> = <dyk_tools.test_select_form.MyForm object at 0x7fac5325fa90>.foo

Expected Behavior
form.foo.choices should be [] as is documented at https://wtforms.readthedocs.io/en/3.0.x/fields/#wtforms.fields.SelectField
As a more practical example with this Flask code:
class TemplateForm(Form):
    name = SelectField(validate_choice=False)

def home_page():
    form = TemplateForm(request.form)
    if request.method == "POST" and form.validate():
        return redirect(url_for("display", template_name=form.name.data))
    form.name.choices = get_pending_nominations()
    return render_template("home_page.html", form=form)

It fails on the POST branch with:
Traceback (most recent call last):
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/flask/app.py", line 2548, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/flask/app.py", line 2528, in wsgi_app
    response = self.handle_exception(e)
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/Users/roy/dev/dyk-tools/src/dyk_tools/flask_app/app.py", line 14, in home_page
    if request.method == "POST" and form.validate():
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/wtforms/form.py", line 329, in validate
    return super().validate(extra)
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/wtforms/form.py", line 146, in validate
    if not field.validate(self, extra):
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/wtforms/fields/core.py", line 231, in validate
    self.pre_validate(form)
  File "/Users/roy/dev/dyk-tools/venv/lib/python3.9/site-packages/wtforms/fields/choices.py", line 136, in pre_validate
    raise TypeError(self.gettext("Choices cannot be None."))
TypeError: Choices cannot be None.

Explicitly setting choices to []:
    name = SelectField(validate_choice=False, choices=[])

makes things work as expected.
Environment

Python version: 3.9.13
wtforms version: 3.0.1

The documentation is indeed inconsistent with the code. However I am not sure which way to fix this. This might be interesting to force users to explicitly tell when they want an empty choice list.
Note that in your situation you would probably be better with:
class TemplateForm(Form):
    name = SelectField(choices=get_pending_nominations)

Any idea what is leading here, implementation or documentation?

Closing as a duplicate of #735


Add minify.sh to minifying javascript

Add minify.sh for minifying javascript
Use the minified version in bower

The reason i propose to use bash script instead of grunt is to eliminate complexity in the repo. We only want to minify css and javascript no other things
@toopay which one is converted to css/bootstrap-markdown.min.css , the less file or the sass file ?

Hi, thanks for your contribution.
But, I think a task runner like gulp seems to be more appropriate for minifying css files and more.

@magicalex As specified in the message. The main reason is to eliminate complexity.
Gulp is great, but have a lot of dependencies, hence, the only reason i made it is to minify the js. And yuicompressor is doing a great job for it.
Can you ellaborate what does 'more' means ?
And how is 'more' being used in this project ?
If it reasonable, i will gladly help, and made another commit which is using gulp.
*I like gulp and have used it on some project.

Closed for now.


running 'examples/mysql/docker-compose.yml' failing

error:
strapi    | 2020-10-09T06:18:34.632029136Z
strapi    | 2020-10-09T06:18:34.632118626Z ⏳ Testing database connection...
strapi    | 2020-10-09T06:18:34.632142138Z It might take a minute, please have a coffee ☕
strapi    | 2020-10-09T06:19:45.166670263Z internal/modules/cjs/loader.js:589
strapi    | 2020-10-09T06:19:45.166729690Z     throw err;
strapi    | 2020-10-09T06:19:45.166739660Z     ^
strapi    | 2020-10-09T06:19:45.166744154Z
strapi    | 2020-10-09T06:19:45.166781924Z Error: Cannot find module '/tmp/strapia227f38a0cf7/node_modules/mysql/package.json'
strapi    | 2020-10-09T06:19:45.166791006Z     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
strapi    | 2020-10-09T06:19:45.166795355Z     at Function.Module._load (internal/modules/cjs/loader.js:513:25)
strapi    | 2020-10-09T06:19:45.166799229Z     at Module.require (internal/modules/cjs/loader.js:643:17)
strapi    | 2020-10-09T06:19:45.166802997Z     at require (internal/modules/cjs/helpers.js:22:18)
strapi    | 2020-10-09T06:19:45.166806762Z     at shell.exec (/usr/local/lib/node_modules/strapi/node_modules/strapi-generate-new/lib/before.js:321:26)
strapi    | 2020-10-09T06:19:45.166810687Z     at /usr/local/lib/node_modules/strapi/node_modules/strapi-generate-new/node_modules/shelljs/src/exec.js:204:9
strapi    | 2020-10-09T06:19:45.166814578Z     at ChildProcess.exithandler (child_process.js:296:5)
strapi    | 2020-10-09T06:19:45.166818324Z     at ChildProcess.emit (events.js:182:13)
strapi    | 2020-10-09T06:19:45.166823160Z     at ChildProcess.EventEmitter.emit (domain.js:441:20)
strapi    | 2020-10-09T06:19:45.166827153Z     at maybeClose (internal/child_process.js:970:16)
strapi exited with code 1

Hello this log isn't really helpful as you don't share steps to reproduce. From what I am seeing you just need to yarn add the mysql package.  I'm going to close this util you update the description ;)

steps to repro:
docker-compose up
I am supposed to yarn or npm add inside a container?
or outside on the host system? which would defeat the purpose of using docker no?

docker compose up of what ? what is your setup and config ?

the mysql docker-compose.yml
config? this is first run.

Are you running an existing project or waiting for it to generate ?

brand new project, i am expecting strapi to start a fresh install w/ mysql service attached. but it fails on that yarn/npm package inside the container.

How did you make that install ? by default it is using sqlite.

How did you make that install ? by default it is using sqlite.

Sir, I am using your docker-compose.yml provided in the repo.
examples/mysql/docker-compose.yml
I literally just run docker-compose up with that file, expecting it to handle installing node modules itself within the container it requires them. I am just trying to setup a brand new install with your provided docker-compose.yml.

Can you confirm the mysql package is in the dependencies of the generated project so I rule out the generating script ?

I gotta say, I am really frustrated with the response I got from this team.
Please understand your file examples/mysql/docker-compose.yml in your repo is broken. It needs to be repaired so when you start a fresh instance it actually installs and sets up properly. I am beyond frustrated with trying to set this up.
The fact that this ticket was immediately closed shows how supportive your "support" team is.

Hello @hilyin until your last comment I didn't know which docker-compose file you were using.
Now, I just tried running the ./examples/mysql/docker-compose.yml configuration whithout bugs so I will need a bit more details to help you.

Which OS are you on ?
What docker / docker-compose version are your running ?
From the logs you are getting when running docker-compose logs strapi, you should see a log Using strapi x.y.z can you give me that version ?
You should have a generated project in the local ./app folder. If so can you check that the package.json as a mysql dependency ?

To help our community the best we triage the tickets but still answer to them. As you can see you didn't have to wait for any answer until the weekend (yes maintainers do get to have a life too ;))
A kind reminder that you are using an open source project and not paying for a support service. Rest assured we do our best to help out everyone in our community in a timely fashion. :)
Finally I will point you to our code of conduct here so you are aware of the expected bahaviors on our repositories.
Have a great day !

it was in the subject line of this issue the entire time.
i’ve moved onto an alternate solution. good day.


Unable to import unstructured.partition.xyz

I am trying to use the Unstructured library locally using the Python 3.10.2 version.
Everytime I try to import unstructured.partition.something, for example "from unstructured.partition.pdf import partition_pdf" the kernel dies.
I followed all the steps to install the library, but it keeps occurring.
Unstructured version == 0.13.2
Unstructured-inference version == 0.7.25

Hi @flaviobrienza, I'm unable to reproduce any behavior that meets this description on my machine. We'll need some more specifics:

What operating sytem and distro/version you're running
A full copy and paste of the entire error message you receive. Also if you can be more descriptive about what you mean when you say "the kernel dies".
What procedure you used to install unstructured on your machine.

Hello,
I'm currently running Windows 11.
The problem is that I don't receive any message. When I try to make the import, for example
from unstructured.partition.html import partition_html
It assumes two different behaviors, either the cell starts running and never stops or I receive the message "the kernel died" from my Jupyter Notebook.
I followed the Unstructured procedure to install all the dependencies.

Ah, interesting. So the kernel that's doing the dying is the Jupyter Notebook kernel.
Try running from unstructured.partition.html import partition_html from the Python command prompt and see what it does. That should give a more descriptive error.

This happens:
End of stack trace (more stack frames may be present)
61485 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
64026 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
70491 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
71163 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
75280 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
78059 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
79348 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
80287 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
80845 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
82362 [main] python (17296)
C:\Users\FLAVIO\AppData\Local\Programs\Python\Python310\python.exe: ***
fatal error - Internal error: TP_NUM_C_BUFS too small: 50
Il Lun 15 Apr 2024, 20:31 Steve Canny @.***> ha scritto:

Ah, interesting. So the kernel that's doing the dying is the Jupyter
Notebook kernel.
Try running from unstructured.partition.html import partition_html from
the Python command prompt and see what it does. That should give a more
descriptive error.
—
Reply to this email directly, view it on GitHub
https://github.com/Unstructured-IO/unstructured/issues/2888#issuecomment-2057556834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXP3KPONLC3SMZLINOMLBNDY5QMHZAVCNFSM6AAAAABGGGWPDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGU2TMOBTGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks, I'll try
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Privo
di virus.www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Il giorno lun 15 apr 2024 alle ore 21:22 Steve Canny <
@.***> ha scritto:

This solution might be worth a try:
https://stackoverflow.com/a/76255079/1902513
—
Reply to this email directly, view it on GitHub
https://github.com/Unstructured-IO/unstructured/issues/2888#issuecomment-2057639520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXP3KPKY37CH5DBJ3V6PA3TY5QSGBAVCNFSM6AAAAABGGGWPDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGYZTSNJSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I checked, I already have all the libraries required.
Il giorno mar 16 apr 2024 alle ore 12:13 Flavio Brienza <
@.***> ha scritto:

Thanks, I'll try
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Privo
di virus.www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#m_-6062374805007310321_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Il giorno lun 15 apr 2024 alle ore 21:22 Steve Canny <
@.***> ha scritto:

This solution might be worth a try:
https://stackoverflow.com/a/76255079/1902513
—
Reply to this email directly, view it on GitHub
https://github.com/Unstructured-IO/unstructured/issues/2888#issuecomment-2057639520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXP3KPKY37CH5DBJ3V6PA3TY5QSGBAVCNFSM6AAAAABGGGWPDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXGYZTSNJSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I've experienced the same issue as well.

Did you solve it?
Il Ven 19 Apr 2024, 05:29 Mohan Kumar @.***> ha scritto:

I've experienced the same issue as well.
—
Reply to this email directly, view it on GitHub
https://github.com/Unstructured-IO/unstructured/issues/2888#issuecomment-2065683869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXP3KPLLGZNYV4OEZAJQKCDY6CFSJAVCNFSM6AAAAABGGGWPDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVGY4DGOBWHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Nope just that I was able to run it on google colab.

Closing as inactive.


python3Packages.python-jenkins: 1.7.0 -> 1.8.0

Description of changes
Minor update. Only changed commit: https://opendev.org/jjb/python-jenkins/commit/70dc3e4f711088e0cc9f0a92706fee3cb0757bac
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 241872 run on x86_64-linux 1

8 packages built:

jenkins-job-builder (python310Packages.jenkins-job-builder)
jenkins-job-builder.dist (python310Packages.jenkins-job-builder.dist)
python310Packages.python-jenkins
python310Packages.python-jenkins.dist
python311Packages.jenkins-job-builder
python311Packages.jenkins-job-builder.dist
python311Packages.python-jenkins
python311Packages.python-jenkins.dist

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

jenkins-job-builder.dist:

Package is missing maintainers.
If the package is using runCommand please make sure to inherit or list one or more maintainers.
got build log for '/nix/store/v0hbhj0mmhg0h93w85z7wjxb451x9myb-python3.10-jenkins-job-builder-5.0.3-dist' from 'daemon'
When evaluating attribute ‘jenkins-job-builder.dist’:
warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern 'PyYAML>=3.10.0,<6' doesn't match anything in file 'requirements.txt'
Near pkgs/development/python-modules/jenkins-job-builder/default.nix:36:
   |
36 |     description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
   | ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/stale-substitute.md

jenkins-job-builder:

Package is missing maintainers.
If the package is using runCommand please make sure to inherit or list one or more maintainers.
got build log for '/nix/store/nbyz14d8ah8ag4cf7rgw7zsydiy9yh02-python3.10-jenkins-job-builder-5.0.3' from 'daemon'
When evaluating attribute ‘jenkins-job-builder’:
warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern 'PyYAML>=3.10.0,<6' doesn't match anything in file 'requirements.txt'
Near pkgs/development/python-modules/jenkins-job-builder/default.nix:36:
   |
36 |     description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
   | ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/stale-substitute.md

python311Packages.jenkins-job-builder.dist:

Package is missing maintainers.
If the package is using runCommand please make sure to inherit or list one or more maintainers.
got build log for '/nix/store/qhrg84m3111kgzqw88sycm8hfn26201w-python3.11-jenkins-job-builder-5.0.3-dist' from 'daemon'
When evaluating attribute ‘python311Packages.jenkins-job-builder.dist’:
warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern 'PyYAML>=3.10.0,<6' doesn't match anything in file 'requirements.txt'
Near pkgs/development/python-modules/jenkins-job-builder/default.nix:36:
   |
36 |     description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
   | ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/stale-substitute.md

python311Packages.jenkins-job-builder:

Package is missing maintainers.
If the package is using runCommand please make sure to inherit or list one or more maintainers.
got build log for '/nix/store/p1z4g0hhs31r4psin8wy0i3a82xx1r3q-python3.11-jenkins-job-builder-5.0.3' from 'daemon'
When evaluating attribute ‘python311Packages.jenkins-job-builder’:
warning: stale-substitute
Stale substituteInPlace detected.
substituteStream(): WARNING: pattern 'PyYAML>=3.10.0,<6' doesn't match anything in file 'requirements.txt'
Near pkgs/development/python-modules/jenkins-job-builder/default.nix:36:
   |
36 |     description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
   | ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/stale-substitute.md

Closed due to https://github.com/NixOS/nixpkgs/pull/251952


[Epic] Modification of Cryostat CR spec should always update affected objects

The operator updates some objects when the Cryostat CR is modified, the Deployment spec is one example. This behaviour should be expanded to all objects managed by the operator. When reconciling the Cryostat CR, this can be done using controllerutil.CreateOrUpdate instead of checking for existence and using client.Create.
Tasks:

[x] #408
[x] #409
[x] #410
[x] #411
[x] #412
[x] #413
[x] #414
[x] #415

There are some fields that cannot be modified, e.g. with the PVC:
Forbidden: spec is immutable after creation except resources.requests for bound claims

This should also update any annotations and labels required for Cryostat to function, such as labels used by the selectors for services. For example, we currently update the deployment's pod template, but not its labels or annotations.

We should also update the list of object kinds that we watch:
https://github.com/cryostatio/cryostat-operator/blob/126e3b5459692a6f104cb660455c8de598691113/internal/controllers/cryostat_controller.go#L438-L439

I guess we can close this issue too :D


Issue #77: Set version of maven-invoker to 2.2

See #77 for a description of the problem I'm trying to solve here.]
Following a suggestion in
https://issues.apache.org/jira/browse/ARCHETYPE-488, I upgraded
maven-invoker.
This allowed the build to run the automated tests and pass successfully.

Manually applied in a5a4dc176df1d901720ed7c5a0eb18e9546f44bc, thanks for the pull request!


Warning "macOS-latest workflows will use macOS-11 soon" even when not using "-latest"

Description
A warning "macOS-latest workflows will use macOS-11 soon" is shown on GitHub Actions Workflows that are not using macos-latest - but instead are using a specific version of macos, such as macos-10.15
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] macOS 10.15
[X] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link

Workflow: https://github.com/augustoproiete/ExcelDnaPack-NuGet/blob/v1.5.0/.github/workflows/ci.yml#L29-L37
Build with warning: https://github.com/augustoproiete/ExcelDnaPack-NuGet/actions/runs/1378917286

Is it regression?
No response
Expected behavior
Given that the GitHub Actions Workflow does not use macos-latest, and instead use a specific version e.g. macos-10.15, no warnings should be emitted
Actual behavior
Warning is emitted:
.github/workflows/ci.yml : .github#L1
macOS-latest workflows will use macOS-11 soon. For more details, see https://github.com/actions/virtual-environments/issues/4060

Repro steps
Create a workflow that runs on either macos-10.15 or macos-11 and you should see the warning described above.

@augustoproiete this is fixed now, the messages are shown only in the following cases:

macos-latest points to macos-10.15
macos-latest points to macos-11 and the run is failed

In case a specific version e.g. macos-10.15 is used — no warnings are displayed.
I'm going to close the issue.
Please feel free to contact us if you have any concerns.
Thank you!


Can you add blockit or similar adblock for gtkwebkit in photopea

Blockit => https://github.com/dudik/blockit

Thanks for the tip.But I don't want to "destroy" Photopea's only source of money for the developer.

I installed this, and then immediately uninstalled it because of this. No offence, but without some kind off adblocker this wrapper is pointless.

I was just wondering what was the point of this wrapper...
Make it easier to install than a GNOME web app ?
It would make sense but then why would you change its name and logo ?
Plus I can't find any info on this project, all the doc is about Photopea.
Flathub says it's FOSS while it is not technically true.

ah, ok, legit then !
thank you for your explanations and dedication.

For anyone that's interested, this is what I've settled on:
I'm now running Photopea as standalone web app via Quick Web Apps instead. You can find Quick Web Apps on Flathub, and it basically just sets up a custom Firefox profile and a .desktop file to launch Firefox into that profile. You could do it manually without Quick Web Apps if you prefer.
This method lets me use the full power of Firefox, instead of something poor like Epiphany (which I think is what GNOME Web Apps uses, if that feature even still exists). So I now get full GPU acceleration and 120 Hz frame rate, Firefox-Gnome-Theme for a more native look, uBlock Origin for ad blocking, and Violentmonkey for site extensions. All as if it's a standalone app.
I'm very happy with this setup. It's still called Firefox and uses the Firefox icon in the Alt+Tab switcher or GNOME overview, but otherwise it functions like its own app and doesn't affect my normal running web browser at all. And no ads!


include in Scope subdomains

Adding the in scope subdomains but not discovered by the reconFTW

Done https://github.com/six2dez/reconftw/commit/039e6400f9edbed0d67e764a72248a675944b52e


Updating task 6 for SOFE

This task can be developed further by having a better description at the top, reminding why temperture is so important in tritium transport simulations and therefore why heat transfer is built into festim.
Other additional suggestions:

Having a heat flux example
Or having a full on monoblock example
Show use of reading T from an XDMF file

These are all very good suggestions.
I think the full monoblock example would overlap with the CAD integration part.
However we could have a 2D problem based on a fenics mesh and we can use fenics.plot(T) to plot the temperature field.

These are all very good suggestions.
I think the full monoblock example would overlap with the CAD integration part.
However we could have a 2D problem based on a fenics mesh and we can use fenics.plot(T) to plot the temperature field.

Was thinking for the monoblock, we could build the festim sim in a 'my_monoblock' simulation object instead of 'my_model' then in the CAD one we could just have 'from task6 import my_monoblock' and add in all the h transport parameters?
Plus I can test the fenics plotting thing!

Don't think you can import from a notebook

I think that replacing task 6 by this demo would be better than what we have now


Unable To Save Module in 1.9.1

I receive this error when trying to save a module.
string(134) "/chroot/home/randsand/randsandbox.com/html/app/code/community/Ultimate/ModuleCreator/controllers/Adminhtml/ModulecreatorController.php" string(56) "Ultimate_ModuleCreator_Adminhtml_ModulecreatorController" {"error":false}

Seems the extension files need to be manually installed.

@teknology  Check if there is an echo somewhere in the code or a var_dump. I don't remember leaving this in the code. If you are still experiencig problems just send me by e-mail at ultimate(dot)module(dot)creator(at)gmail(dot)com the generated file for your extension located in var/modulcreator/package/{Namespace}_{Module}.xml


Add trace::ServerTiming

This PR adds a first pass of the Server-Timing headers spec, introducing it as "unstable" under http_types::trace::ServerTiming. This also moves some code around in the trace submodule to accommodate more APIs being added.
Screenshot

Seems to be working well!

Oki, this is about the way it should be now. As this is still behind an "unstable" flag this should be good to merge. Thanks!


Make Game Shelves settings specific to instance

Currently the settings apply globally to all Game Shelves instance. I think it could be better if it applied individually. To provide an example, I have set a maximum width so the covers use the width for my screen for the panel in the lower side but since the setting applies globally, it also affects the panel on the upper left side:

This is what I could achieve if settings were instance specific:

These are the settings that I think could be made instance specific:

Agreed; I wanted to do something similar myself.

done via 7bad423c6a713bf4f45ee2ad35cadde89dca3017. But the down scaling option is not included as a per shelve option, as the resolution depends on the max cover width of each shelve anyway.


Error on Yarn Audit Offline

ODC Version 6.1.1
Hi, I'm trying to scan a yarn project which includes the yarn.lock file. As I'm running ODC on a machine which is not the build machine, it does not have the yarn cache available, and hence I'm getting the following error:
DEBUG - Begin Analysis of 'C:\New_Software\dependency-check-6.1.1-release\dependency-check\bin\ebc2ui-paymyinvoice\yarn.lock' (Yarn Audit Analyzer)
2021-02-24 17:20:55,380 org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer:213
DEBUG - Launching: [C:\Users\jasksing\AppData\Roaming\npm\yarn.cmd, audit, --offline, --json, --verbose]
2021-02-24 17:20:56,536 org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer:220
DEBUG - Process Error Out: {"type":"warning","data":"Resolution field<EMAIL_ADDRESS>is incompatible with requested version<EMAIL_ADDRESS>{"type":"warning","data":"Resolution field<EMAIL_ADDRESS>is incompatible with requested version<EMAIL_ADDRESS>{"type":"error","data":"Couldn't find any versions for "@cybs-ui/components" that matches "5.10.5" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue."}
2021-02-24 17:20:56,536 org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer:221
DEBUG - Process Out: {"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\ebc2ui-paymyinvoice\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\Users\\jasksing\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\Program Files\\nodejs\\etc\\npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\ebc2ui-paymyinvoice\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\.npmrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\ebc2ui-paymyinvoice\\.yarnrc"."}
{"type":"verbose","data":"Found configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\ebc2ui-paymyinvoice\\.yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\Users\\jasksing\\.yarnrc"."}
{"type":"verbose","data":"Found configuration file "C:\\Users\\jasksing\\.yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\Program Files\\nodejs\\etc\\yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\ebc2ui-paymyinvoice\\.yarnrc"."}
{"type":"verbose","data":"Found configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\ebc2ui-paymyinvoice\\.yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\bin\\.yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\dependency-check\\.yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\dependency-check-6.1.1-release\\.yarnrc"."}
{"type":"verbose","data":"Checking for configuration file "C:\\New_Software\\.yarnrc"."}
{"type":"verbose","data":"current time: 2021-02-25T01:20:56.215Z"}
{"type":"verbose","data":"Error: Couldn't find any versions for "@cybs-ui/components" that matches "5.10.5" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.\n    at MessageError.ExtendableBuiltin (C:\Users\jasksing\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:721:66)\n    at new MessageError (C:\Users\jasksing\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:750:123)\n    at NpmResolver. (C:\Users\jasksing\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:50633:15)\n    at Generator.next ()\n    at step (C:\Users\jasksing\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:310:30)\n    at C:\Users\jasksing\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:321:13"}
{"type":"info","data":"Visit https://yarnpkg.com/en/docs/cli/audit for documentation about this command."}
2021-02-24 17:20:56,537 org.owasp.dependencycheck.AnalysisTask:94
WARN  - An unexpected error occurred during analysis of 'C:\New_Software\dependency-check-6.1.1-release\dependency-check\bin\ebc2ui-paymyinvoice\yarn.lock' (Yarn Audit Analyzer): No value present
2021-02-24 17:20:56,539 org.owasp.dependencycheck.AnalysisTask:96
ERROR -
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Unknown Source)
at org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer.fetchYarnAuditJson(YarnAuditAnalyzer.java:226)
at org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer.analyzePackage(YarnAuditAnalyzer.java:267)
at org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer.analyzeDependency(YarnAuditAnalyzer.java:97)
at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2021-02-24 17:20:56,539 org.owasp.dependencycheck.Engine:630
INFO  - Finished Yarn Audit Analyzer (2 seconds)
If I run the "yarn audit" command independently of Dependency Check, I get perfect results. Is there no way to run yarn audit in the online mode?
Thanks

Just realized you're only using yarn audit to create the json request, only to then send it to the NodeAudit API instead. Does this mean I would specifically need to run yarn install before running the scan to get the dependencies in the cache?

Yes, I believe you would need to run yarn install first.  The yarn integration was a PR - happy to accept improvements to it via PRs.

Getting the same error, yarn install has been executed. Using Yarn 3.1.1
[WARN] An unexpected error occurred during analysis of 'D:\WORK\frontend\yarn.lock' (Yarn Audit Analyzer): No value present
[ERROR]
java.util.NoSuchElementException: No value present
        at java.base/java.util.Optional.get(Optional.java:141)
        at org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer.fetchYarnAuditJson(YarnAuditAnalyzer.java:244)
        at org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer.analyzePackage(YarnAuditAnalyzer.java:284)
        at org.owasp.dependencycheck.analyzer.YarnAuditAnalyzer.analyzeDependency(YarnAuditAnalyzer.java:106)
        at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
        at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
        at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:832)
[INFO] Finished Yarn Audit Analyzer (2 seconds)

Hi! I am getting the same error - @rene-stesl Did you manage to figure it out?

Hi! I am getting the same error - @rene-stesl Did you manage to figure it out?

Hi @brigittarucz, haven't had enough time for this, since the report gets stuck for hours after the Vulnerability Suppression Analyzer and then crashes with multiple errors.
But if I should bet, my guess would be that the YarnAuditAnalyzer is written for yarn classic and not for berry.

Thank you for your input - I did make it work by disabling the audit:
  - name: Dependency check         uses: dependency-check/Dependency-Check_Action@main         id: Depcheck         with:           project: "Floods"           path: "."           format: "HTML"           args: >             --failOnCVSS 7             --enableRetired             --disableYarnAudit

In my case, when I got this error, the yarn.lock file was corrupted.
I ran yarn audit --offline --verbose --json and uncovered the underlying issue.


textarea can not focus ,can not input , safari

I want to know how to resolve .
Or tell me the implementation approach.
textarea diplay:none can foucs

Can you be more specific please, because I didn’t really understand what is your question?

+1
you click with the mouse or touch the textarea is not focused in safari

textarea tag is not the one you are editing when you click on editable area. I think that's where you get confused @Vnkitaev. That is a virtual field that keeps track of contentEditable div area. so when you click you can't get focus event on the textarea.


EVM Flashloan on Aurora. but get "A status code indicating if the top-level call succeeded or failed (applicable for Post BYZANTIUM blocks only)

I am had successfully deploy a flashloan contract on both Aurora & Aurora+ network (an EVM on Near protocol).
and also successfully tested with its RPC on hardhat, there are no issues, able to borrow and return fund.
However, when executing on mainnet, it shows a failed transaction with the following error:
"A status code indicating if the top-level call succeeded or failed (applicable for Post BYZANTIUM blocks only).
what could be the possible root cause?

Hi @cklai90 , thanks for the report.
Just to be clear, this error was on Aurora and has nothing to do with the compiler project here? If the error is not related to this repository then please close the issue and open it on another one (e.g. aurora-engine or aurora-relayer). It would also be helpful if you post a transaction link (e.g. to aurorascan) as part of your bug report.
If this error is arising from a contract obtained from the compiler on this repository, could you please provide a link to the NEAR block explorer which shows the error?


Replace the Gene pull-down menu with radio buttons, to make the gene selection more overt.

Allow the users to select both genes


Redact error output

A bug was reported to me in which I observed that the exception message for the CLI process timing out can include a warning and then the access token. Azure CLI defaults to printing warnings. The fact that the output is not pure JSON causes us to fail parsing it, and the exception includes the token.

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


touch - touch points are a little too sensitive

When trying to tap a point, either selecting or drawing, there's too much potential for map to pan instead of triggering tap/draw events.

Seems worse on Chrome Android vs. Mobile Safari.


Detect Chrome OS for $os property

userAgent has CrOS (http://bit.ly/2gulWTb)

Hi Mixpanel team,
My name is Emilio and I am a Success Engineer from Segment. Joey helped us create this PR because a mutual customer depends on the "operating system" property for their reporting. Since they are missing this information when the event was generated from a Chromebook device, they are experiencing issues with their reports. Can we please get your help approving this PR to push this fix for Ring Central?
Thanks,
Emilio Gomez
Success Engineer  |  Segment

This patch has been published in v2.14.0. Thanks for your patience @joeymalysz @emiliogomezlavin !


Feature: Implemented Clear Chat Button

Fixes Issue #148

Description
Implemented a clear chat button at the top-right of the chat container to allow users to clear the conversation history between the user and the model.
Implementation

Added a clear chat button with appropriate styles in the chat.html file.
Implemented event handling in main.js to listen for button clicks.
Upon button click, clear the conversation history and posted a message to chat_view_provider.ts.
Added a case for 'clearChat' in chat_view_provider.ts to handle the clear chat functionality.
Added the clearConversationHistory function in chat_view_provider.ts to clear the conversation history between the user and the model.
Modified the getResponse function in chat_view_provider.ts to ensure proper clearing of the conversation history, including error messages.

Screen Recordings
When an error is thrown
https://github.com/Welltested-AI/fluttergpt/assets/92971894/48819068-42cb-48cf-b852-2e29baa34cdf
Fix for the above issue (I have to introduce an error for this)
https://github.com/Welltested-AI/fluttergpt/assets/92971894/99b394f0-9b09-4f90-822c-9c6086cba6df
https://github.com/Welltested-AI/fluttergpt/assets/92971894/7dc27970-510d-461e-88c9-7537e0b09201

Additional Notes

Addressed an issue where the response was not added to the conversation history array when an error was being thrown, causing them to persist even after using the clear chat button.
Modified the approach to ensure that response is added to the array, ensuring proper clearing when the clear chat button is used.
Introduced Font Awesome CDN for displaying the trash icon right to the Clear Chat text.
We can consider displaying responses in a snack bar when an error is thrown in future implementations.

Hi @superiorsd10! great submission as always.
Regarding the error case scenario, I don't thinks showing the hardcode response in the chat is a good idea since it doesn't clarify to the user that there was an error and what the error was.
Whenever there is an error, we should show the snackbar (you created) with appropriate information.
Could you please include that? thanks.

Hi @superiorsd10! great submission as always.
Regarding the error case scenario, I don't think showing the hardcode response in the chat is a good idea since it doesn't clarify to the user that there was an error and what the error was.
Whenever there is an error, we should show the snackbar (you created) with appropriate information.
Could you please include that? thanks.

Sure, I'll be working on that and will commit additions. Thank you :)

Hello @samyakkkk 👋
Thank you for your valuable feedback. I've made the necessary changes to handle errors more gracefully. Now, when an error occurs, instead of showing the hardcoded response in the chat, I'm displaying a snack bar with appropriate information.
I've recorded the changes in a screen recording for your review. Please take a look and let me know if any further adjustments are needed. If everything looks good, I'll proceed with committing these changes, and will also resolve the merge conflicts.
Screen Recording
https://github.com/Welltested-AI/fluttergpt/assets/92971894/e7633291-c508-40a0-9831-b248339ac806

super @superiorsd10! let's fix the merge conflicts and merge.

Hello @samyakkkk 👋
I wanted to let you know that I've resolved the merge conflicts and committed the necessary additions to the project. Everything should be up to date now.
If you have any questions or if there's anything else you'd like me to address, please feel free to let me know.
Thank you,

@superiorsd10 this looks good to me, ready to merge. can you resolve branch conflicts?

@superiorsd10 this looks good to me, ready to merge. can you resolve branch conflicts?

Thank you :)
I have resolved the merge conflicts. Please review.

Hello @yatendra2001 👋
I have resolved the merge conflicts. Please review :)
Thank you,

that's awesome @superiorsd10 , merging the PR.


RequestData.CreatePathWithQueryStrings Performance Optimisation

Further to my PR #4952, I have been reviewing the calling code to look at potential further performance optimisations.
CreatePathWithQueryStrings is called within the RequestData ctor to populate the PathAndQuery property for every instance. The current implementation builds a string after populating NameValueCollection instances from both the global connection config and the request parameters. Eventually, it calls down to the optimised NameValueCollection extension method.
I've created a prototype of an optimised version of this method, which rents an oversized Span<char> from the ArrayPool and builds the path and query within that buffer. One key change this includes, is to avoid creating a copy of the existing IConnectionConfigurationValues.QueryStringParameters collection and converting the IRequestParameters.QueryString dictionary to a NameValueCollection. Instead, it performs the conversion of objects from the dictionary directly into the buffer from the pool.
The logic I've added so far is simplified for prototyping. It would require some tests to properly validate that it matches (or can match) the existing behaviour. Having benchmarked the prototype for one example request, the potential optimisation is fairly significant.
|                       Method |       Mean |     Error |      StdDev |     Median |  Gen 0 | Gen 1 | Gen 2 | Allocated |
|----------------------------- |-----------:|----------:|------------:|-----------:|-------:|------:|------:|----------:|
|   CreatePathWithQueryStrings | 7,879.6 ns | 390.67 ns | 1,139.61 ns | 7,195.2 ns | 0.3357 |     - |     - |    1464 B |
| CreatePathWithQueryStringsV2 |   648.0 ns |  12.86 ns |    12.03 ns |   648.9 ns | 0.0305 |     - |     - |     128 B |

This equates to a 91.2% reduction in execution time and 91.3% fewer bytes allocated. The final bytes here is pretty much just the creation of the final string, with little or no additional overhead. Given that this occurs per request instance, it seems like a reasonable improvement to go after.
For reference: In the case of the above benchmarks, I used connection settings as follows:
_connectionSettings.GlobalQueryStringParameters(new NameValueCollection
{
    { "allow_no_indices", "false" },
    { "global_key", "thing" } // made up for testing
});

and a request:
new SearchRequestParameters { AllowNoIndices = true, DocValueFields = new[] { "item1" } };

Before investigating this further, I wanted to check if you agree that the risk vs. reward would be considered acceptable in this case. Given it's a pretty important method for building valid requests, so it's sensitive should any regressions occur. That said, with sufficient tests, the existing logic is not too complex to thoroughly test before making the change.
There is also a comment from @Mpdreamz in the code...

// TODO This feels like its in the wrong place

I'd consider adding a type (helper) capable of encapsulating the path and query building functionality. If that's something you'd consider at this point, given that it's a public API, would there be a preferred strategy for supporting a change. It's a very functional method, unlikely to be replaced during testing or with alternative runtime implementations.

Before investigating this further, I wanted to check if you agree that the risk vs. reward would be considered acceptable in this case. Given it's a pretty important method for building valid requests, so it's sensitive should any regressions occur. That said, with sufficient tests, the existing logic is not too complex to thoroughly test before making the change.

It's sensitive to regressions but given the number of tests that have this codepath in their call stack I'm, perhaps paradoxically, not worried about committing to this change 😄

I'd consider adding a type (helper) capable of encapsulating the path and query building functionality. If that's something you'd consider at this point, given that it's a public API, would there be a preferred strategy for supporting a change. It's a very functional method, unlikely to be replaced during testing or with alternative runtime implementations.

There is a huge opportunity here but perhaps too big for this PR.
Elasticsearch.Net relies heavily on ElasticsearchUrlFormatter
NEST relies heavily on ApiUrls and ApiUrlsLookup which acts as a router to which Requests can resolve to.
It'd be awesome to revisit some of these design decisions and normalize the two and work out a more transparent common interface.

There is also a comment from @Mpdreamz in the code...

I never liked the placing of this logic on RequestData which really needs to be a DTO for the Transport and friends to switch on. I am happy to leave it there for now though and focus on the performance boost 🥳 🍰.

Thanks @Mpdreamz! I'm away on holiday for the remainder of this week, but I'll continue to take a look at this upon my return. Once I have the core cases working reliably, I'll get a PR in to review from there.

Thanks for your effort and focus here, @stevejgordon!

On reflection, this is quite a complex change since the ideal path is to build in a single rented array of char but that requires either, knowing/calculating the max path and query length upfront, renting a much larger array than ever will be needed or allowing for the array to grow when needed. My prototype fixed the URL at 8,192 which is double the default max URL length for Elasticsearch. Of course, users may configure their cluster with a different maximum. Is there an absolute maximum we can rely upon?
I've prototyped a helper method to grow a rented array but it does add a fair degree of complexity to the code which requires some thought on the best way to structure it.

Will re-review in benchmark work


Chore add check for ExchangeSinkBuffer::add_block

Proposed changes
add check for ExchangeSinkBuffer::add_block

run buildall

run buildall


Created Scikit learn basic resource page

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@rahuldcoder Even though you cited Wikipedia, this PR is basically just adding a bunch of boilerplate from Wikipedia.

Hey, @QuincyLarson can you just give me a bit of idea about what do you expect to provide from this sklearn resource page. Coz sklearn already provides a great guide and so I was not able to get a sense of what is lacking?


Can't build the docs

I'm installing self-hosted RTD now (commit: e34541f3895)
When I try to do manage.py update_repos pip
It raises an error:
Traceback (most recent call last):
  File "/var/www/readthedocs.org/readthedocs/projects/tasks.py", line 125, in run
    outcomes = self.build_docs()
  File "/var/www/readthedocs.org/readthedocs/projects/tasks.py", line 346, in build_docs
    outcomes['html'] = self.build_docs_html()
  File "/var/www/readthedocs.org/readthedocs/projects/tasks.py", line 362, in build_docs_html
    html_builder.append_conf()
  File "/var/www/readthedocs.org/readthedocs/doc_builder/backends/sphinx.py", line 78, in append_conf
    remote_version = self.version.get_vcs_slug()
AttributeError: 'Version' object has no attribute 'get_vcs_slug'
[15/Sep/2015 14:57:36] INFO [readthedocs.doc_builder.environments:274] (Build) [pip:latest] Build finished

There shouldn't be any reference to get_vcs_slug left in the current code base as with the merge of #1650. Please update to the latest master.


Issues after migrating to 2.0

Description
I know I'm a bit late on the upgrade, but xcode 15 forced me to upgrade from 1.7. I followed the 2.0 migration guide which got all of my code compiling again, however I'm having a few issues trying to get the same behavior as before. I will admit that I did not write the original code with version 1.7, but I'm trying to figure out if I missed a step when migrating to 2.0 or if I messed up something else during the migration.
Expected behavior (how it behaved in 1.7 and what I'm trying to achieve in 2.0)
Swiping the floating panel should move between tip, half, and full. In full, there is a downward pointing chevron. Swiping it down when in full should only allow the panel to go to half, swiping down from half should only go to tip, swiping down from tip should make the floating panel disappear and the screen resumes showing the parent view normally.
Actual behavior
The "one stage at a time" restriction is gone  - I can swipe directly from tip to full, and from full to completely gone. Regardless of the current state, the icon at the top of the floating panel remains a flat line and never changes to a chevron. When I swipe the floating panel away, the parent view remains "grayed out" until I tap on it once.
All I've changed is the compatibility requirements for version 2.0 that are explained in the migration guide. I have not made any other changes to my codebase. I know I haven't provided much help in terms of what my code looks like, but any advice as to how to address these behavior discrepancies is greatly appreciated.
How do you display panel(s)?

Present modally

How many panels do you displays?

1

Environment
Library version
2.7.0 (but same behavior in 2.0.0)
Installation method

CocoaPods

iOS version(s)
17.0
Xcode version
15

By default, this library haven't had "one stage at a time" restriction since v1. Therefore I think your FloatingPanelBehavior object implements the old method for the restriction.
func shouldProjectMomentum(_ fpc: FloatingPanelController, for proposedTargetPosition: FloatingPanelPosition) -> Bool

If so, you need to replace it with the new method of FloatingPanelBehavior.
@objc optional
func shouldProjectMomentum(_ fpc: FloatingPanelController, to proposedState: FloatingPanelState) -> Bool


vc1d: Added check for RTM field in case of Simple/Main profile

RTM (release-to-manufacturer) flag (also called Reserved6). Means old WMV3 encoding with
different bitstream format for P/B frames.
According to Annex J Table 263, this field should be set to one and other values shall be forbidden.

Looks correct, but did you check VC-1 (WMV3) conformance including extended test set?


Black screen when running the project (renders correctly in the editor)

Godot version
4.2.rc1
System information
Windows 11 and MacOS Sonoma 14.1.1
Issue description
Screen is black at startup and stays black but the game seem to behave as usual behind the black screen. Meaning that sound and movement seems correctly but its just not visible.
Steps to reproduce
Run the minimal reproduction project.
Minimal reproduction project
Basic_3d_Starter.zip

I can confirm this on 4.2.beta da0b1eb12 (Linux, GeForce RTX 4090 with NVIDIA 535.129.03). No errors appear in the console or terminal.
Corrupted visuals do appear if you resize the window while it's running:

A Godot splash screen on a black background may appear too if you resize the window quickly after the project starts.
Removing the WorldEnvironment node doesn't fix the black screen. Removing the character node and adding a Camera3D instead doesn't fix the black screen either.

I can confirm @Calinou's findings. The regression appears to have happened between 4.2 beta 3 and beta 4.

Bisected to https://github.com/godotengine/godot/commit/425e9435766e0f459e76c1ed10830b2485241733. https://github.com/godotengine/godot/pull/83649 is the cause of this regression.
Which makes it a duplicate of https://github.com/godotengine/godot/issues/84280 I guess.

I tried including 2D nodes into my project to see if it makes a difference but the screen was still black. So, I hope your guess is right about this being a duplicate of #84280 .

@Ad4moO The solution would be to disable MSAA for 2d, rather than add 2d nodes.

@YuriSizov thanks for your prompt answer correcting me 👍. Setting rendering/anti_aliasing/quality/msaa_2d to disabled does the trick for now.

The issue still occurs in Godot v4.2 (stable.official [46dc27791]). The editor view renders fine, but the problem arises when I run the game in the editor.
This issue does not occur when exporting (tested on Windows 11 Pro Education 10.0.22631) or when using any renderer other than Compatibility.
It's worth noting that when creating/opening an empty project or one of smaller scale, it works fine, so there must be some feature causing the problem. However, it will take me a long time to find it since this is my company's game, which has been in development for almost a year.

Please add your information to:

#84280

This is a duplicate and information should be focused on the other issue, not here


cache: environment is not included as bucket name prefix

The docs describe the environment variable as:

A name that identifies the environment, used as prefix and for tagging.

However, environment appears to only be used for tags and is not included in the prefix (see https://github.com/npalm/terraform-aws-gitlab-runner/blob/5.0.2/modules/cache/main.tf#L15.).  Am I right in thinking the intent was to include this in the prefix?

Seems that there is a cache_bucket_prefix which is used for the caches. So I think this is correct.
By the way: I have multiple Agents running but deployed the cache module only once. Is there a benefit having multiple cache buckets?

Any news here @ashanbrown ?

If the environment is not included in the prefix, then the s3 buckets will collide if a shared bucket is not used.  I was thinking that if the user chooses not to use a shared bucket but to have multiple environments, it should "just work."
I agree that a shared bucket is probably a good practice but for lifecycle reasons, it might be useful to spin up and tear down environments independently.

Good point. The documentation of environment says A name that identifies the environment, used as prefix and for tagging.
Well, in this case it wasn't used as prefix. So the code is wrong.
By the way: We introduced a resource_prefix variable in our own Terraform code. Just to make clear that every resource has to be prefixed with this value.


Improve JSON parser

Currently parsing the JSON from the meetup API requires a lot of unsafe property accesses and unsafe monad unwraping.
We should use something like that: https://github.com/BuckleTypes/bs-json

done in https://github.com/ReasonVienna/website/pull/11


document sharing of profiles

Add updated docs for:

[ ] #2 sharing from the app
[ ] #4 sharing into the app

somewhat a duplicate of #6 - having the docs as Markdown in GitHub pages is easier for maintenance of the documentation and for linking into the app.


case Adapt show create table and views to 2.0

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


new data hub

Initial layout for new data hub. Addresses #3833

If @smitpatel is able to take a quick look, I will merge after his approval.


Path constructors and WhereClause::push_simple_bound

These would simplify https://github.com/servo/heapsize/pull/64#discussion_r85831245. But maybe add_simple_bound is too specific?

Are there reasons other than performance that you would prefer this over the approach using https://github.com/dtolnay/syn/issues/5?
where_clause.push_simple_bound(t, Path::new_global(&["heapsize", "HeapSizeOf"]));

where_clause.predicates.push(quote_where_predicate!(#t: ::heapsize::HeapSizeOf));

The other one is more flexible in that it supports paths with type parameters (#t: Into<u8>) and lifetime bounds (#t: 'a) and multiple bounds (#t: A + B + #c) using exactly the same syntax.
Performance is a valid reason but not really a priority right now.

I’m not too worried about performance (though I don’t have any number on time spent building and running compile-time stuff, maybe it adds up).
This PR was my immediate idea to try to simplify the code I wrote for derive(HeapSizeOf) but yeah, maybe a more general approach like #5 is preferable.

Let's go with the quasi-quoting approach.


Removed 'add sign'

Explanation

Essential Checklist

[ ] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
[ ] Any changes to scripts/assets files have their rationale included in the PR explanation.
[ ] The PR follows the style guide.
[ ] The PR does not contain any unnecessary code changes from Android Studio (reference).
[ ] The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
[ ] The PR is assigned to the appropriate reviewers (reference).

For UI-specific PRs only

If your PR includes UI-related changes, then:

Add screenshots for portrait/landscape for both a tablet & phone of the before & after UI changes
For the screenshots above, include both English and pseudo-localized (RTL) screenshots (see RTL guide)
Add a video showing the full UX flow with a screen reader enabled (see accessibility guide)
For PRs introducing new UI elements or color changes, both light and dark mode screenshots must be included
Add a screenshot demonstrating that you ran affected Espresso tests locally & that they're passing

This should be auto merged right after the comment gets uploaded without any errors.

Awesome lets check dev ci run, that should have all checks passed