Import error

When I run
python unit_tests.py I got the following error:
Traceback (most recent call last):  File "unit_tests.py", line 38, in <module>    from settings import BITCOIND_RPC_PASSWORD, BITCOIND_RPC_USERNAME, \ ImportError: cannot import name BITCOIND_RPC_PASSWORD
I looked into the scripts and it seems fine, how to fix this error? Thank you.

also in python wallet.py I got the following error:
Traceback (most recent call last):    File "wallet.py", line 12,, in <module>      from .keypair import *  ValueError: Attempted relative import in non-package


Correctly handle variables in results of the interpreter cache

This PR fixes the following example:
(= (get-ptrn) (-> (-> $a $b) (-> $a $c)))
!(let* (((-> $y $z) (get-ptrn))
        ((-> $u $v) (get-ptrn))
        ($z (-> $in Bool))
        ($u (-> Number String))
        ($y (-> Bool Number)))
   $in)

which returns [] while it is expected to return [Bool].
The root cause is that results of the (get-ptrn) call are cached. Thus in both calls inside let* the cache returns exactly same atom (-> (-> $a $b) (-> $a $c)) and matching fails.
The fix applies the following rules for cached results. When atom is transformed from  to :

values of the variables which are present in input are kept with result;
values of the variables which are present in  but not present in  are applied to the ;
all other variables are cleaned up.

When  atom is extracted using  all variables in result becomes unique.
Thus each call of (get-ptrn) above return the unique atom with variables replaced.

I have added two new methods recently to make hotfixes, and because Bindings's API is not flexible enough. The question is which API could give us the necessary flexibility.
When two atoms are unified the result is Bindings which contains dependencies between variables. One operation which is frequently needed is to keep variables from one of the atoms only. For example when we matching pattern atom with a data atom, what we are interested in are variables of the pattern. The only variables from data we need are variables which are necessary to express the relations between the variables of the pattern.
Bindings::narrow_vars, Bindings::convert_var_equalities_to_bindings, Bindings::cleanup are very close, may be we need merge them into the one.

I agree that Bindings::narrow_vars, Bindings::convert_var_equalities_to_bindings, and Bindings::cleanup are all very specific operations and probably not ultimately appropriate to expose in general API, if we can find the unifying functionality to expose instead.  Unfortunately I don't feel I'm qualified to offer a good opinion on what that looks like yet.  Hopefully soon.

Merging it, I will address https://github.com/trueagi-io/hyperon-experimental/pull/298#discussion_r1197338902 in a separate PR.


Fix typo in example

Correct the script name to match the name in the example.
Removed the when using. It belonged with the when using Invoke-ScriptAnalyzer used in the previous example and repeating that seems unnecessary.

I agree with the use of -Settings.
I wouldn't use the variable, it just adds confusion over the meaning of the variable.
e.g. When you wrote it, my first assumption was that it was a variable defined by PSScriptAnalyzer.
The current use of PSScriptAnalyzerSettings.psd1 as a filename shows the examples as they apply to both the implicit use and by user supplied path.

Ok, happy with that as well, it is definitely an improvement. Thanks 😀


How to get Marzipano non-minified version js file

How to Marzipano non-minified version js file?. I need to implement drag and drop functionality for  the hotspot. I Want to see whole code of marizpano.js file.

To make changes to the Marzipano source code, clone the repository and run npm run dev. This will use browserify to build an unminified file to build/marzipano.js.

Hi manuelcabral, I tried same way what you have mentioned but getting error. I have attached screen shot within for more reference.

Hi manuelcabram
I tried same way what you have mentioned but getting error. I have attached
screen shot within for more reference. Please can you tel me whats the
wrong.
[image: Inline image 1]
On Thu, Sep 15, 2016 at 11:55 PM, manuelcabral<EMAIL_ADDRESS>wrote:

To make changes to the Marzipano source code, clone the repository and run npm
run dev. This will use browserify to build an unminified file to
build/marzipano.js.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/marzipano/issues/37#issuecomment-247410334,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADkDEDzEcLRY-QQ-yh-1DIXCcZsrE_S2ks5qqY23gaJpZM4J9yYN
.

This is the problem in #3 related to npm run on Windows. Instead of npm run dev run the script directly with the command scripts\dev.

Hi Author,
Still I am getting error for more details I have attached log within.
Please help me out to generate unminified version file.
[image: Inline image 1]
On Fri, Sep 16, 2016 at 9:42 PM, manuelcabral<EMAIL_ADDRESS>wrote:

This is the problem in #3 https://github.com/google/marzipano/issues/3
related to npm run on Windows. Instead of npm run dev run the script
directly with the command scripts\dev.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/marzipano/issues/37#issuecomment-247641768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADkDEDm2wF5QKVZZ_sJZ-Zqatkzxloo6ks5qqr_2gaJpZM4J9yYN
.

Hi first run
npm install
npm run dev


Using UglifyJS with sourceMap is not handled by the browser

Here's the fusebox Config :
const fuse = fsbx.FuseBox.init({
  homeDir: './client/src',
  output: './client/build_dev/static/$name.js',
  tsConfig: './tsconfig.json',
  sourceMaps: true,
  shim: shims,
  plugins: [
    fsbx.EnvPlugin({
      NODE_ENV: process.env.NODE_ENV
    }), [fsbx.SassPlugin({
      outputStyle: dev ? 'nested' : 'compressed'
    }), fsbx.PostCSS([autoprefixer({ remove: false, browsers: ['last 6 version'] })]), fsbx.CSSPlugin()],
    fsbx.BabelPlugin({
      comments: false,
      presets: ['es2015']
    }),
    fsbx.TypeScriptHelpers(),
    fsbx.JSONPlugin(),
    fsbx.CSSPlugin(),
    fsbx.RawPlugin(['*.svg']),
    fsbx.HTMLPlugin({
      useDefault: false
    }), fsbx.UglifyJSPlugin({
      compress: {
        unused: false
      },
      output: {
        'max_line_len': 1000000
      }
    }),
  ],
  debug: false,
  log: true
})

The app.js and app.map.js files are generated but my browser (Chrome) doesn't detect the source

We never handled it. It's possible but requires an update to the UglifyJS Plugin.

FuseBox v4 Major Upgrade
As of today, the latest major version of FuseBox v4 is available in fuse-box@next. FuseBox has undergone a full re-write from scratch, learning from its mistakes in the previous versions.
There are a lot of improvements, speed and config wise.
Get started here
We are still working on the documentation and polishing before the major release. We are getting very close. And we need help testing.
npm install fuse-box@next

Most of the issues that I am closing have been resolved, however, if you find that your issue is still relevant in v4 don't hesitate to re-open or (better) create a new one with v4 configuration.


[CI] Next steps

Current Behavior
Currently, Nighthawk builds are being published to this repository for Nighthawk version v0.2. This is being done manually but invoking a GitHub Action trigger, more details about this can be found here - https://docs.google.com/document/d/1lHfMo4iIx2WXFZIspfHyxTsPR1T63_2IV5NUkgxoo0w/edit#heading=h.9c7u4vmlywzu
Desired Behavior
Given that we have the pipeline working for building and publishing binary as well as docker artefacts, we would want to have this automated with the Nighthawk repository. There are a several proposed ways to do this, we would want your attention on the same.
*** Proposal:
Trigger the Gihub Action in this repository from the nighthawk repository

It will be helpful to have insights in this regard @mum4k @oschaaf @leecalcote

Resources
https://docs.google.com/document/d/1lHfMo4iIx2WXFZIspfHyxTsPR1T63_2IV5NUkgxoo0w/edit#heading=h.9c7u4vmlywzu

Contributor Resources

See the Contributing to getnighthawk.dev Website
See the Project Site section of GetNighthawk project doc

The proposal sounds good to me.
One thing we haven't been doing in the nighthawk repository is advancing the release version (tagging new releases). We can use this opportunity to change that and start regularly publishing new versions.
Can you share the specifics on how the action will get triggered from the nighthawk repository? Can we attach the trigger to the creation of new tags? That way we can control when the release happens, rather than releasing on every commit which might result in partial / incomplete functionality.

is this issue in work progress?


Add Remote Book rate limit exceeded error

Doing too many requests to Github will eventually result in a 403: Rate limit exceeded error https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting
This can happen in the Add Remote Book dialog - we've been hitting it in the tests (likely since they're sharing IPs so are more likely to hit the 60/hr limit) but a customer could potentially hit that as well.
It would be good to investigate what - if anything - we can do here to improve this. Potentially by batching queries or finding some way to increase the rate limit for this scenario.

@Charles-Gagnon will we need to authenticate to GH to get around this?

I'm not completely sure. That would increase the limit but not completely solve the problem I think. We might be able to do something with registered ADS as an app on Github? Anyways this is a pretty minor thing that I don't expect a normal user to actually hit so not an immediate concern in my eyes.

Thanks @Charles-Gagnon. Have we seen it occur multiple times yet?

In smoke tests yes. It'd be interesting to see why it's happening there - I wouldn't expect the normal running of them to hit this.


What about adding support for OpenDocument files?

For all's convenience, please use English to fill this issue.
Is your feature request related to a problem? Please describe.
The plugin can't open .odf or .ods files
Describe the solution you'd like
Add support for this, either in the QuickLook itself or through this plugin
Additional context
.odf files are actually kind of displayed, the file icon/thumbnail that is show is a 'screenshot' of the content.

Hi!
I know that Open Document files are different from Microsoft Office files, but if it was possible, somehow, to extend the plugin to include them, that would be awesome.


Change "All" to act like "Resume All"

I got stuck in a situation where "Resume" was just rerunning a single build.  I also have accidentally hit "All" only to clear all of my loadouts.  Both would be solved if "All" was just a "Resume All".  The change isn't a big deal as someone who intended to clear loadouts can stop, do so, and resume.  I also think it logical that build buttons do not affect loadouts (except by completing builds).

In fact, I suggest refactoring the whole Run Build experience:

The default button behavior should be "Resume All"
I suggest duplicating the "Resume All" icon/behavior in a submenu item with text indicating that it runs "All"
The "Run Selected" (i.e. current default) should be an option on the expanded menu.
The current "Resume" should behave like "Run All" and be called "Later" with the nested times.

Does this look right for you?  For some reason it looks fine in VS but when I run a build, everything is too large.

Closed by #98


Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable.

Laravel 5.1.16
php artisan clear compiled
composer updated
composer dump-autoload -o
All tried but getting
App crashing. Throwing error:
BindingResolutionException in Container.php line 744:
Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable.

Something is trying to instantiate the Gate interface. I'll check through the code but it may be worth checking your own to see what's going on.

Assuming that you're using the Laravel 5 branch, I've searched the entire codebase for the term gate, the only time it appears, ever, is in a comment that actually says aggregate.

@ollieread I am really sorry. Yes I am using 5.1.16. I enjoyed you package for 4.2 a lot. But there is nothing out there for laravel >= 5.1.11 + which work nice as yours was!

I have the same problem...
Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable.
Using Laravel 5.1

Can one of you post a stacktrace so that I can exactly what's going on?

Have you added Gate as an alias to ./config/app.php?
'Gate'      => 'Illuminate\Support\Facades\Gate',

Yes of course we did it. Though it was not working.
On Wed, Sep 16, 2015 at 1:06 PM, James Brooks<EMAIL_ADDRESS>wrote:

Have you added Gate as an alias to ./config/app.php?
'Gate'      => 'Illuminate\Support\Facades\Gate',
—
Reply to this email directly or view it on GitHub
https://github.com/ollieread/multiauth/issues/107#issuecomment-140656327
.

--
Intensity works... Always...
Thank You & Regards,
Rajan Y. Rawal
+91<PHONE_NUMBER>

What about the last two bits I suggested?

No workout.
Here is the stacktrace
BindingResolutionException in Container.php line 744: Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable. in Container.php line 744 at Container->build('Illuminate\Contracts\Auth\Access\Gate', array()) in Container.php line 626 at Container->make('Illuminate\Contracts\Auth\Access\Gate', array()) in Application.php line 674 at Application->make('Illuminate\Contracts\Auth\Access\Gate') in Container.php line 572 at Container->addDependencyForCallParameter(object(ReflectionParameter), array(), array()) in Container.php line 532 at Container->getMethodDependencies(array(object(AuthServiceProvider), 'boot'), array()) in Container.php line 500 at Container->call(array(object(AuthServiceProvider), 'boot')) in Application.php line 734 at Application->bootProvider(object(AuthServiceProvider)) in Application.php line 717 at Application->Illuminate\Foundation\{closure}(object(AuthServiceProvider), '14') at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(ControllerServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ValidationServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(MultiauthServiceProvider), object(SluggableServiceProvider)), object(Closure)) in Application.php line 718 at Application->boot() in BootProviders.php line 17 at BootProviders->bootstrap(object(Application)) in Application.php line 203 at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 222 at Kernel->bootstrap() in Kernel.php line 117 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87 at Kernel->handle(object(Request)) in index.php line 54

Have you ran composer update before adding the alias?

Yes all done, basically there is forum question that one asked on laravel forum and the steps you said were mentioned there
https://laracasts.com/discuss/channels/laravel/l51-unable-to-fetch-the-gate-facade-through-composer?page=0

I already suggested deleting everything in bootstrap/cache ;)

So this isn't a multiauth issue?

No, I'm pretty sure that it's not.

Ahh excellent, I couldn't recreate this anyway!

@jbrooksuk dude what laravel version you are using? Are you on 5.1.16? The latest one?

@ollieread of course close, but let test it once. @jbrooksuk I cleaned bootstrap cache as well. Its same here still

@rajanrawal  Yeah, the latest.

I tested everything as it was informed here, its still not working at all and throwing the same error. Anyway thank you.

I'm having the same error as @rajanrawal. I'm currently using the version 5.1.17 of Laravel.
php artisan --version
Laravel Framework version 5.1.17 (LTS)

I added sboo/multiauth to composer.json :
"sboo/multiauth" : "4.0.*"
Then I launched composer update command. sboo/multiauth v4.0.9 is installed successfully and everything is going fine, no error at this moment. After that, I ran composer du.
But when I replace ''Illuminate\Auth\AuthServiceProvider' by 'Ollieread\Multiauth\MultiauthServiceProvider' and 'Illuminate\Auth\Passwords\PasswordResetServiceProvider' by 'Ollieread\Multiauth\Passwords\PasswordResetServiceProvider', I'm getting this error :
BindingResolutionException in Container.php line 744:
Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable.

As I read on differents issues, I cleared cache by deletting boostrap/cache/* folder by still having the error. Am I doing something wrong ?

@Schnapse Some how issue has been closed. Don't know why? I am still stuck with that too. Then i got it worked with https://github.com/Kbwebs/MultiAuth so for now using that. You can try that.

@rajanrawal Thanks for your reply, Kbwebs version is working fine.


"obs_instrument_gossi/frame_duration" has units but not form_type RANGE%

Due to the way GOSSI is implemented in the import pipeline, we always get the warning:
"obs_instrument_gossi/frame_duration" has units but not form_type RANGE%
We should find a way to get rid of this warning.

This also causes frame_duration to break completely now that units have been implemented!


Vicious circle in pipeline_mapping.py

Dear All,
on specifying a regex for merging BAM files, ruffus returns an error (vicious circle in mergeBAMfiles).
I have narrowed this down to the following line:
MAPPINGTARGETS.append(mergeBAMFiles)

This is problematic as MAPPINGTARGETS is the input to mergeBAMFiles (although I don't know why this line didn't cause trouble in the past).
In my own branch, I have replaced this line with:
MAPPINGTARGETS = mergeBAMFiles

This however gets rid of all the picard statistics etc for the unmerged files, which may be useful to QC of the various runs per replicate.
How should we proceed in the master branch - keep both outputs or drop the unmerged?
Best wishes,
Jakub

This wasn't an issue last time I specified a regex for merging. I've looked in the ruffus release notes and I can see any relevant changes. Can you make the ruffus pipeline plot just to check for certain where ruffus thinks the vicious circle is?
I've discussed just running picard etc on the merged with Andreas before and he was of the opinion that's it's helpful to compare the seperate unmerged bams, for example if they've come from different lanes/sequencing runs.

Voila.

The code also worked for me up to a month ago and that particular line has been unchanged since 2013. I am not sure which recent change resulted in this error, there may well be multiple solutions...
I also attach my regex from pipeline.ini
pattern_input=(.*)(R\d)-*(\d+)*
pattern_output=\1\2

Is it  possible your regex leads to merged files with the same name as the unmerged infile? Could you give me an example of the unmerged and merged filenames for a sample

Thanks.
Regex seems to be working as intended. I ran the identical pipeline.ini and same files a month ago on this pipeline and they worked then.
Example below:
Task = 'mergeBAMFiles'
    "merge BAM files from the same experiment."
       Job  = [[star.dir/M3-12-R1-1.star.bam, star.dir/M3-12-R1-2.star.bam,
               star.dir/M3-12-R1-3.star.bam, star.dir/M3-12-R1-4.star.bam,
               star.dir/M3-12-R1-5.star.bam]
             -> star.dir/M3-12-R1.star.bam]

Could you try it with the following:
pattern_input=(.*)-(\d)
pattern_output=\1

Same error: "Circular dependencies..."
PS: It's not to do with loadSTARStats btw - if I remove the relevant reference to this, the circular dependency on mergeBAMFiles persists...

Shame, I thought the regex might be to blame. I've gotta head off. If Andreas doesn't sort it in the blink of an eye, I'll have another fumble around next week. I guess for now you can use your branch until we work out what's going on.

I think the problem is that the post merge names also match the merge
pattern.
Sent from my iPad
On 4 Sep 2015, at 18:09, Jakub Scaber<EMAIL_ADDRESS>wrote:
Voila.
[image: ruffus40]
https://cloud.githubusercontent.com/assets/12160690/9689714/cdd0de00-532f-11e5-8791-99e0ba5bd511.png
The code also worked for me up to a month ago and that particular line has
been unchanged since 2013. I am not sure which recent change resulted in
this error, there may well be multiple solutions...
I also attach my regex from pipeline.ini
pattern_input=(.)(R\d)-(\d+)*pattern_output=\1\2
—
Reply to this email directly or view it on GitHub
https://github.com/CGATOxford/CGATPipelines/issues/86#issuecomment-137795084
.

Yeah that's what I thought. Looks like I messed up the regex too though. These should work...
pattern_input=(.*)-(\d+)-(R\d)-(\d)
pattern_output=\1-\2-\3

Thanks. No difference in the error message. The regex is similar my original regex, but more explicit. It may be difficult to imagine an output name that would not match the merge pattern partially?
I will keep looking for solutions...

I played around with trying to untangle MAPPINGTARGETS.
Turns out the following works without creating a circular dependency:
MAPPINGTARGETS = MAPPINGTARGETS + [mergeBAMFiles]

A very uneducated guess: I woder if MAPPINGTARGETS.append(mergeBAMFiles) forces the function itself into the list. Could this be a change in syntax processing by a new version of ruffus/python?
In any case, the new code does what it's supposed to do: all subsequent functions generate a stats output for the merged files as well as the original files.
I will create a pull request.


How to do server stateless?

The number of connections for a single machine is limited. We used the cluster to build the push server. But requires load balancing to be configured as ip_hash. The same user's request needs to be routed to the same server. Can we use redis to achieve server stateless?

@blogsit haproxy

现在已经指出无状态了，配置redission即可


Doc: Clarify that add installs packages

I was migrating from pipenv and already installed packages, so I cared about whether something would only touch my pyproject.toml file or actually install some packages.
I hope this helps others.

Thanks!


[-] Error connecting to database. Run -u|--update to get update databases

root@s1:~/Security-Research/tools/cfire# python cfire.py -u
[-] ipout archive missing. Downloading to cfdb/ipout.zip
[+] Downloading http://crimeflare.net:82/domains/ipout.zip to cfdb/ipout.zip
[==================================================]
[-] nsout archive missing. Downloading to cfdb/nsout.zip
[+] Downloading http://crimeflare.net:82/domains/nsout.zip to cfdb/nsout.zip
[==================================================]
[-] country archive missing. Downloading to cfdb/country.zip
[+] Downloading http://crimeflare.net:82/domains/country.zip to cfdb/country.zip
[==================================================]
[+] The ipout/nsout archives are up to date
[*] Creating SQLite3 Database into cfdb/cf.db

root@s1:~/Security-Research/tools/cfire# python cfire.py -u
[+] The ipout/nsout archives are up to date
[*] Start: Tue Sep 12 08:08:57 2017
[*] Complete: Tue Sep 12 08:08:57 2017
root@s1:~/Security-Research/tools/cfire# python cfire.py -t xsses.rocks
[*] Start: Tue Sep 12 08:09:02 2017
[*] Looking target up on CrimeFlare database
[*] xsses.rocks (<IP_ADDRESS>) is hosted on Cloudflare network
[-] Error connecting to database. Run -u|--update to get update databases
root@s1:~/Security-Research/tools/cfire#

problem has been removed since putting in to docker.
Closing Issue.


Notifying msg of bridging is not working

bridge disconnected cause the broker crashed.
This is a regression bug introduced by me.
Apologize for troubles.

Is this issue present in 0.20.6 release?

I was just checked. 0.20.6 is not affected.


too many command-line arguments

$ python3 docker/run_docker.py --fasta_paths = /home/qianlei/AF2/alphafold-main/example/1pazA.fasta --max_template_date = 2020-05-14 --data_dir = /data/alphafold2_database/af2_database/sp3d_data/path/to/download/directory/
Docker launch script for Alphafold docker image.
flags:
docker/run_docker.py:
--[no]benchmark: Run multiple JAX model evaluations to obtain a timing that excludes the compilation time, which should be more indicative of the time required for inferencing many proteins.
(default: 'false')
--data_dir: Path to directory with supporting data: AlphaFold parameters and genetic and template databases. Set to the target of download_all_databases.sh.
--db_preset: <full_dbs|reduced_dbs>: Choose preset MSA database configuration - smaller genetic database config (reduced_dbs) or full genetic database config (full_dbs)
(default: 'full_dbs')
--docker_image_name: Name of the AlphaFold Docker image.
(default: 'alphafold')
--docker_user: UID:GID with which to run the Docker container. The output directories will be owned by this user:group. By default, this is the current user. Valid options are: uid or uid:gid, non-numeric values are not recognised by Docker unless that user has been created
within the container.
(default: '1012:1012')
--[no]enable_gpu_relax: Run relax on GPU if GPU is enabled.
(default: 'true')
--fasta_paths: Paths to FASTA files, each containing a prediction target that will be folded one after another. If a FASTA file contains multiple sequences, then it will be folded as a multimer. Paths should be separated by commas. All FASTA paths must have a unique basename as
the basename is used to name the output directories for each prediction.
(a comma separated list)
--gpu_devices: Comma separated list of devices to pass to NVIDIA_VISIBLE_DEVICES.
(default: 'all')
--max_template_date: Maximum template release date to consider (ISO-8601 format: YYYY-MM-DD). Important if folding historical test sets.
--model_preset: <monomer|monomer_casp14|monomer_ptm|multimer>: Choose preset model configuration - the monomer model, the monomer model with extra ensembling, monomer model with pTM head, or multimer model
(default: 'monomer')
--num_multimer_predictions_per_model: How many predictions (each with a different random seed) will be generated per model. E.g. if this is 2 and there are 5 models then there will be 10 predictions per input. Note: this FLAG only applies if model_preset=multimer
(default: '5')
(an integer)
--output_dir: Path to a directory that will store the results.
(default: '/tmp/alphafold')
--[no]run_relax: Whether to run the final relaxation step on the predicted models. Turning relax off might result in predictions with distracting stereochemical violations but might help in case you are having issues with the relaxation stage.
(default: 'true')
--[no]use_gpu: Enable NVIDIA runtime to run with GPUs.
(default: 'true')
--[no]use_precomputed_msas: Whether to read MSAs that have been written to disk instead of running the MSA tools. The MSA files are looked up in the output directory, so it must stay the same between multiple runs that are to reuse the MSAs. WARNING: This will not check if the
sequence, database or configuration have changed.
(default: 'false')
Too many command-line arguments.

run_docker.py
def main(argv):
if len(argv) > 1:
raise app.UsageError('Too many command-line arguments.')

space?

What else can be wrong besides spaces? I'm getting the same error but I have no spaces in my command.


Observation from our developers: ContractingPartyType/PartyType doesn't exist

pin-buyer_24_published.xml
cac:ContractingPartyType
cbc:PartyTypeIRCSS</cbc:PartyType>
</cac:ContractingPartyType>
ContractingPartyType/PartyType doesn't exist.
Should this be ContractingPartyType/PartyTypeCode instead?
and
pin-only_24.xml and pin-only_fin-reg.xml
cac:ProcurementProject
cac:RealizedLocation
cac:Address
cbc:DepartmentRealizedLocDept1234</cbc:Department>
Department in ProcurementProject.RealizedLocation.Address context doesn't exist in fields.json.
Should this be removed?

Thank you for your feedback.
In pin-buyer_24_published.xml, this occurrence of cac:ContractingPartyType is indeed incorrect and will be removed. There's already a correct cac:ContractingPartyType with cbc:PartyTypeCode.
There should indeed not be any cbc:Department under cac:RealizedLocation, so they will be removed from pin-only_24.xml and pin-only_fin-reg.xml.
For your information, we haven't put in place yet any check that detect "unexpected" XML elements, which is why the notice examples still contain this kind of mistake.

The corrections are included in version 1.1.0 that was just released, so I'm closing this.


Group set permission command node not accessible on Fabric 1.19.3

Description
I don't have access to any of the command node implementations and setting unimplemented command doesn't work:

For example:
/lp group default permission set command.ban true
Also the commands doesn't work when set. For example, after the previous command. non-op players couldn't use the ban command.
Reproduction Steps
I use Fabric 1.19.3 0.14.13
with those mods :

You can download the mods here : https://drive.google.com/drive/folders/13gGfyS0gsW3uAc0bId6u8vyqSz-e2aoc?usp=sharing
Expected Behaviour
I expect like in the Forge server I created earlier to see the commands and set them to different groups
Server Details
Fabric 1.19.3 0.14.13
LuckPerms Version
V5.4.57 or v5.4.46 or v5.4.58
Logs and Configs
Default config and nothing in the logs.
Extra Details
Only bug on Fabric. It works on Forge.

Unlike on Forge, Fabric doesn't provide permissions for the vanilla commands by default. Install this to add permissions for vanilla commands. For any other mods, it's up to them to support permissions.

Thanks a lot. Is there something else to add for mods?

Nope, you have to ask mod authors to add support


Uploading files: Unable to delete files from Explorer > Upload file(s)

Is there any way to delete pending or failed-to-upload files in Explorer > Upload file(s)? I have tried "Refresh Files" and refreshing the GUI site. "Cancel" does nothing as well. Many thanks!
Some images to which features I'm referring:

Hi, Thank you for reporting,
We don't have that feature currently, I have added this feature to the ToDo list


Reagan 12 input shortcuts merge conflicts resolved

Resolved merge conflicts from previous PR

Codecov Report
Base: 71.95% // Head: 71.80% // Decreases project coverage by -0.15% :warning:

Coverage data is based on head (6e93981) compared to base (b2ed223).
Patch coverage: 78.94% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #46      +/-   ##
============================================
- Coverage     71.95%   71.80%   -0.16%
  Complexity      446      446
============================================
  Files            79       79
  Lines          1380     1383       +3
  Branches        147      147
============================================
  Hits            993      993
- Misses          332      335       +3
  Partials         55       55

Impacted Files
Coverage Δ

...java/seedu/address/logic/commands/FindCommand.java
100.00% <ø> (ø)

...c/main/java/seedu/address/model/person/Person.java
95.08% <ø> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
25.00% <ø> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
76.19% <50.00%> (-12.70%)
:arrow_down:

.../seedu/address/logic/parser/EditCommandParser.java
92.30% <75.00%> (ø)

...va/seedu/address/logic/commands/UpdateCommand.java
94.52% <80.00%> (ø)

...va/seedu/address/logic/commands/CreateCommand.java
91.66% <100.00%> (ø)

...eedu/address/logic/parser/CreateCommandParser.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Incorrect 16-bit RGB packing

Fixes #218

@rm-hull you wrote:

The tests pass locally because the reference test image use solid colors.

Can you use non-solid for either or both test cases so we can i guess verify this change?

Will write new tests that exercise all RGB components


Getting this error on npm install - 5621 error peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!

I am getting this error.
5618 error node v4.4.4
5619 error npm  v2.15.1
5620 error code EPEERINVALID
5621 error peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^15.0.0-0
5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^15.0.0-0
5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^15.0.0
5621 error peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ^15.0.1
5622 verbose exit [ 1, true ]

Should be free in v2.2.8. Feel free to re-open issue if this persists.


Use string attribute for browser_fingerprint_id

It's safer than dot notation against minification
@dmitrig01

oo yeah good catch :+1:. possible to add tests for this?

Great point! Allow me to do this later. Right now I'd like to do the absolute minimal to get master back to green so that we can stand on a solid ground before adding additional logic (including tests).
Let me know if you think otherwise :)

:+1:


Return the instance of breeze from the Configure Method

This file https://github.com/jdanyow/aurelia-breeze/blob/master/dist/aurelia-breeze.js, has a method called configure.
The only way I have found to get webpack and aurelia-breeze to work together involves modifying this file to return the instance of breeze that is configured in there.  I then can use that instance in my application.
Would you be willing to make this modification.  It can be done by adding:
 return breeze;

as the last line before the method closes?  (Right after adapter.setHttpClientFactory(() => frameworkConfig.container.get(HttpClient));.)

Incase you are wondering, this is what I do in my app
import {configure as configureAureliaBreeze} from 'aurelia-breeze';
import {Container} from 'aurelia-dependency-injection';
var breeze: any;

export class MyClassThatUsesBreeze {

      initialize() {
            breeze = configureAureliaBreeze({ container: Container.instance, globalResources: () => { } });
            // other stuff to initialize my class.
      }
}

I found a way around this!
I add this to my main.ts and it adds a global instance of breeze that makes this change unnecessary:
require('expose?breeze!breeze-client/breeze.debug');
(This is only needed for Webpack.)


add thumbnail preview section to issue attachments

Closes #13786
This PR restores the image attachment preview thumbnails that were removed in https://github.com/go-gitea/gitea/issues/6089 but keeps the awesome filename/size list that was added in that PR.

I was thinking of hiding the thumbnail if the image was already displayed inline in the content, but couldn't figure out the best way to detect that, so this is what I've got so far

Codecov Report

Merging #13826 (aee3f02) into master (47e4d1a) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13826      +/-   ##
==========================================
- Coverage   42.28%   42.14%   -0.14%
==========================================
  Files         708      708
  Lines       77145    77167      +22
==========================================
- Hits        32617    32519      -98
- Misses      39167    39300     +133
+ Partials     5361     5348      -13

Impacted Files
Coverage Δ

modules/util/timer.go
42.85% <0.00%> (-42.86%)
:arrow_down:

models/avatar.go
35.00% <0.00%> (-17.18%)
:arrow_down:

modules/cache/cache.go
27.16% <0.00%> (-12.35%)
:arrow_down:

modules/notification/ui/ui.go
84.72% <0.00%> (-11.12%)
:arrow_down:

models/issue_comment.go
43.50% <0.00%> (-9.22%)
:arrow_down:

modules/notification/mail/mail.go
33.33% <0.00%> (-9.20%)
:arrow_down:

routers/user/avatar.go
18.18% <0.00%> (-4.68%)
:arrow_down:

modules/git/commit.go
49.67% <0.00%> (-3.95%)
:arrow_down:

modules/queue/manager.go
62.13% <0.00%> (-2.96%)
:arrow_down:

modules/notification/base/null.go
74.28% <0.00%> (-2.86%)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

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

I was thinking of hiding the thumbnail if the image was already displayed inline in the content, but couldn't figure out the best way to detect that, so this is what I've got so far

we potetial could use search the issue/comment content for atatchemnt uuid before disply preview. this uuid strings should be uniqe enouth ...

Thumbnails may should have the same height and width.

@lunny agreed, I will look into this.
@6543 I am trying this now. Any idea how I can do a substring search in the template?

I written what I think needs doing in psudo code (see commit b700c11) but I cant work out how to actually implement it

works sofar only if you edit stuff the view is kind a broken - after reload it works as is should

Looks like some js is expecting the old layout... think I've found it, just testing now

I had moved some duplicate html (<div class="dropzone-attachments">...) from the issue and comment template into the attachments template because it looked more suited there. This meant that the JS that updates the page after edit needed fixing (also contained the dupe code) so I tided that a little too. I've searched for any more occurrences but cant see any.
Also hidden thumbnails were reappearing during js update so I had to modify the router to use the new template functionality
Think its looking good now :)
Still want to look at limiting image height/width ratio next..

So at the moment image thumbnail uses the fomantic-ui .small class to restrict the thumbnail width, but height is not restricted so an tall thin image renders thousands of pixels high!! Unfortunately it seems no .square or fit/scale/crop classes available.
I've ended up using .dropzone-attachments .ui.image{ max-height:150px; } which works well, but where best to add this css?
And is using a hardcoded 150px a good idea, its meant to match fomantic-ui ui.image.small width of 150px but if this changes on different viewports then I may need a different approach?

I think I worked out the best place to put the CSS, please check: https://github.com/go-gitea/gitea/pull/13826/commits/acc5ad9006df3f78ad4c97e1a928d616a547d858
Also I removed a CSS block that I think is no longer used, the bottom class it targets was removed in https://github.com/go-gitea/gitea/pull/11141/files#diff-9faae32445ed9673de2830c9fc35e93f44487f0a0068202988adaf00a5bac850L66, again please check https://github.com/go-gitea/gitea/pull/13826/commits/f4a61ddafd831b6742e5890026bd8a434016c744
@6543 will check the lint issue now...

When the last attachment is delete and the JS updates the comment, all attachments are removed but there is still a divider line shown. Its not shown after refresh or on view, probably not worth worrying about? I could if it out in the template if you think its worth it?

When the last attachment is delete and the JS updates the comment, all attachments are removed but there is still a divider line shown. Its not shown after refresh or on view, probably not worth worrying about? I could if it out in the template if you think its worth it?

If there is no attachment, just remove the divider.

OK, I think I'm happy with this now :)

Anything more I need to do for this?

Anything more I need to do for this?

no just wait for a second review - and hit "Update branch" some times ...


Basic GUI Layout

[x] Empty viewport
[ ] ~Actions for rotation of the model~
[x] Actions for importing model file
[ ] Actions for importing color palette file
[ ] Actions for saving/exporting model

Rotation of the model will be handled with mouse actions instead of buttons or sliders


Add script to generate KITTI annotations interactively

Completed the annotation generation.
Copies images from dataset to a new KITTI images folder
Generates annotations in KITTI format to a new KITTI annotations folder
Has an option to delete previous bounding boxes in that image
TO DO: Code has to be structured properly
TO DO: Documentation needs to be done

Document the code properly.


[E2E] Finalize the input/output pattern for testcase

Some test case have the input/output pattern implemented.
We need to generalize this to all tests

All e2e test cases now have defined input output patterns - Disposable, Recurring, Overlapping and Trade. Thus I'm closing this issue


allow specifying credentials via environment variables

At the moment there are only two ways of specifying credentials:

Through the command-line, which allows other users to see it through /proc.
Using the --*-creds=abc mode, supplying the credentials through stdin. This doesn't work for scenarios where skopeo is used as a script.

I propose we add SKOPEO_SRC_CREDENTIALS=... and SKOPEO_DST_CREDENTIALS=... (or whatever you think the name should be called) which allows you to specify credentials through the process environment.

I wouldn't be against this :)

Yes, we do need something else than the two options above.
I’m a tiny bit worried about making things easy to understand, there are few other credential proposals arriving now and the number of ways to do things may be rising too quickly. Not a blocker by any means, just a reason to look for options :)
Another thing that could work is just to use a docker login-like config file.  Assuming, per https://github.com/kubernetes-incubator/cri-o/pull/1015 , that there will be an --auth-file or something like that, would that work for you? (To be fair, I don’t know whether the file would be created by docker login, kpod login, or generated in a new bit of code; either way, this is unlikely to be much easier for a simple shell script. But, just in case it were a better fit in your overall pipeline…)

I would like to look at this in grander scale.  We need to move beyond simple User Name/Password authentication and support at least Kerberos and SSHKeys.  So as we think about these things, maybe we should look at what ssh/scp does to handle these situations.

docker login doesn't really fit for our pipeline (it's inside of OBS). But what could work is an --auth-file which could take plaintext passwords (which we could then use for different authentication modes -- such as the ones @rhatdan mentioned). .ssh/id_* is a workaround, but I wonder if we had a single file whether that would work better.

That --auth-file suggested above would be formatted like ~/.docker/config.json, not quite convenient for generation in a script.

We would need to handle src-auth-file and dst-auth-file.  I would guess.

Not urgently; the auth file contains a hostname→(username, password) map, so the same file can be used for both source and destination at the same time.  --*creds only configure an username:password, so they need to be specific to source/destination.
(In some unlikely situations it could still be convenient to have separate auth files for source/destination, but the caller can always generate a new single-purpose auth file, it would not be strictly required.)

Excellent, excuse my ignorance.

@cyphar @mtrmac @vrothberg Is this still an issue?  Is this something we want to work on?

We don't support env vars yet. However, I am not sure if supporting that would be any better than the CLI options that already exists as another user could still see the credentials via /proc/$pid/environ.
Given the age, I am tempted to close but I leave that up to @cyphar and @mtrmac :)

We do support podman login --authfile … and skopeo copy --authfile … now. @cyphar is that good enough for your purposes?

--authfile is sufficient. You should be able to use process substitution <() in order to avoid other users reading your authfile directly.

We don't support env vars yet. However, I am not sure if supporting that would be any better than the CLI options that already exists as another user could still see the credentials via /proc/$pid/environ

@vrothberg while /proc/$pid/environ does allow other processes to read env vars, it's limited to processes that are allowed to ptrace the target process, whereas /proc/$pid/cmdline is readable by any other process by any user. So storing something in /proc/$pid/environ is about as secure as any file on disk secured via standard file permissions.
Additionally, things like auditd log command line arguments of processes so things that end up on the command line are often persisted forever in audit logs, tracing systems, etc which poses even more of a threat than existing on the command line temporarily.
Anyway, --authfile definitely works for me too, but just wanted to clarify that env vars are definitely more secure than command line args.

Considering the the only way to add credentials to github-actions is to define environment variables. How are we supposed to to use skopeo to login to one registry or another when running github workflows?

@ssbarnea I may be too focused on my upcoming holiday, but can't you do skopeo login --authfile={dir that github-actions sees} then do skopeo copy --authfile={dir that github-actions sees} ....  Or uglier, skopeo copy --dest-creds username:password?

Yeah, I found few workarounds with stdin. They appear as ok for now. I will post a link once I have the confirmation.

@ssbarnea actually, the REGISTRY_AUTH_FILE works like a charm for GitHub Actions, without a need to mess with CLI flags. See the example.


TagMatcher supports Dubbo and SofaRpc

Is your feature request related to a problem? Please describe.
Add support for retrieving values from requests in Dubbo or SofaRpc using tags.

Supported by HeadTagMatcher.


Spyder IPython Console throwing " An error ocurred while starting the kernel"

Hello I got this eror when launching Sypder IDE:
The error is:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site‑packages\spyder\plugins\ipythonconsole.py", line 1572, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle)
File "C:\ProgramData\Anaconda3\lib\site‑packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "C:\ProgramData\Anaconda3\lib\site‑packages\jupyter_client\connect.py", line 547, in write_connection_file
kernel_name=self.kernel_name
File "C:\ProgramData\Anaconda3\lib\site‑packages\jupyter_client\connect.py", line 212, in write_connection_file
with secure_write(fname) as f:
File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "C:\ProgramData\Anaconda3\lib\site‑packages\jupyter_client\connect.py", line 100, in secure_write
win32_restrict_file_to_user(fname)
File "C:\ProgramData\Anaconda3\lib\site‑packages\jupyter_client\connect.py", line 53, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed: The specified procedure could not be found.
Does anyone know how to fix this? THank you

solved it. I needed different version of pywin32.

And does anyone know why so recently the devs r taking so long to respond.


XLNET completely wrong and random output

I followed the example here: https://huggingface.co/pytorch-transformers/model_doc/xlnet.html#pytorch_transformers.XLNetModel
I found that I get completelly wrong output, I mean predicted word for the masked sentences are completelly irelevant and they change each run. I guess there is some bug, culd you please take a look at this:
code:
##############################
config = XLNetConfig.from_pretrained('xlnet-large-cased')
tokenizer = XLNetTokenizer.from_pretrained('xlnet-large-cased')'
model = XLNetLMHeadModel(config)
input_ids = torch.tensor(tokenizer.encode("Hello, my dog is very <..mask..> ")).unsqueeze(0)  # We will
predict the masked token
print("input_ids",input_ids)
perm_mask = torch.zeros((1, input_ids.shape[1], input_ids.shape[1]), dtype=torch.float)
perm_mask[:, :, -1] = 1.0  # Previous tokens don't see last token
target_mapping = torch.zeros((1, 1, input_ids.shape[1]), dtype=torch.float)  # Shape [1, 1, seq_length] => let's predict one token
target_mapping[0, 0, -1] = 1.0
predictions = model(input_ids, perm_mask=perm_mask, target_mapping=target_mapping)

predicted_k_indexes = torch.topk(predictions[0],k=10)
predicted_logits_list = predicted_k_indexes[0]
predicted_indexes_list = predicted_k_indexes[1]

print ("predicted <masked> words:")
for i,item  in enumerate(predicted_indexes_list[0][0]):
    the_index = predicted_indexes_list[0][0][i].item()
    print("word and logits",tokenizer.decode(the_index),predicted_logits_list[0][0][i].item())

###########################
output (one example - it changes each run):
#################################
input_ids tensor([[   17, 11368,    19,    94,  2288,    27,   172,     6]])
predicted  words:
word and logits emptiness 2.7753820419311523
word and logits Oklahoma 2.61531400680542
word and logits stars 2.56619930267334
word and logits bite 2.5252184867858887
word and logits Conte 2.4745044708251953
word and logits enforced 2.4537196159362793
word and logits antibody 2.4416041374206543
word and logits Got 2.332545280456543
word and logits Chev 2.31380033493042
word and logits MAG 2.3047127723693848
####################################

It works much quite ok, when I use another way to load the model:
tokenizer = XLNetTokenizer.from_pretrained("xlnet-large-cased")
model = XLNetLMHeadModel.from_pretrained("xlnet-large-cased")

model.eval()

I also did comparasion with Bert, so far just one example, but I found  that Bert is much much better. I am not sure why is that.

Agreed! There is a chance we are not using the permutation mask and target mapping correctly, but I am suspicious as the documentation's example is not working very well either.

The main reason you get bad performance is that XLNet is not good on short inputs (comes from the way it is pretrained, always having a long memory and only guessing a few words in the sequence).
The run_generation example here will show you how to get better performances by adding a random text as initiator.
Aman Rusia also wrote a blog post about that here. We are using his solution in the run_generation example.

Thanks, I am going to try the generation method and post the results here. Hope prediction is going to improve, but i guess that ading a lot of padding is make to slow the execution down a lot.

@Oxi84 Any luck with your results ? I still get pretty random results even while using this trick

hey guys, can someone give some more insight what @thomwolf talking about? I can't understand the difference the way both Bert and XLnetLM works for LMhead task. Aren't both model having disadvantages if they have short sentence? It seems he said XLnet has disadvantage on short input sentence while Bert does not(or has less disadvantage). Any detail explanation could be useful !
Also, I can't get the point of adding extra padding or adding random padding things to improve XLnetLMHead model. Any snippet or explanation could be appreciated too...(saw the link but could not fully understood)

I think these questions are not directly related to this repo. Maybe you should check out the paper or ask on quora or on researchgate


Om 62 - Defrag Q

modified the namespace-view dashboard, added a new row at the bottom displaying the defrag related configs and metrics,
storage_engine_defrag_sleep
storage_engine_defrag_lwm_pct
storage_engine_file_defrag_reads (or) storage_engine_device_defrag_reads
storage_engine_file_defrag_writes (or) storage_engine_device_defrag_writes
storage_engine_file_defrag_q (or) storage_engine_device_defrag_q

Not sure how to trigger defrags but the layout LGTM.


When Game ends collapse Board into one Tile

Downside of this approach is, that you don't see anymore why the game was won.


Linux : Virtual device creation and routing microphone audio via a python script

Created a folder 'linux' which contains the following files:-

dynopii.sh : a shell script to create a virtual device named "dynopii" if it does not exist already, and stream microphone audio input into it.
a README.md on how to use the script

Update:
Now instead of a shell script, we have a python script (as originally planned for this project) which should fulfill all requirements on a linux system.
Commit : 619e3dd  adds

dynopii.py : A python script that pipes audio from arecord to aplay, and this recorded audio can be further processed if so desired. Also runs the scripts dynopii.sh and close.sh
dynopii.sh : Creates the null-sink-module (basically our virtual device) named dynopii and opens pavucontrol.
close.sh : Closes the playback, the virtual device and the script. Is run automatically when the python script dynopii.py is quit using Ctrl-C.

Update:
Now instead of a shell script, we have a python script (as originally planned for this project) which should fulfill all requirements on a linux system.
Commit : 619e3dd  adds

dynopii.py : A python script that pipes audio from arecord to aplay, and this recorded audio can be further processed if so desired. Also runs the scripts dynopii.sh and close.sh
dynopii.sh : Creates the null-sink-module (basically our virtual device) named dynopii and opens pavucontrol.
close.sh : Closes the playback, the virtual device and the script. Is run automatically when the python script dynopii.py is quit using Ctrl-C.

Update :
Included the code of all the shell scripts into the python file so there is no extra file (in c59265a and 598ddad), everything bundled inside the single dynopii.py file.
Also removed the superfluous lines as suggested from the readme as well.  (fc2fe7f)

Update :
Included the code of all the shell scripts into the python file so there is no extra file (in c59265a and 598ddad), everything bundled inside the single dynopii.py file.
Also removed the superfluous lines as suggested from the readme as well.  (fc2fe7f)


[Question] What is the reasoning behind making the OAuth consent screen public

This is just a generic gap in knowledge question that I am looking for more insight on related to this project.
I noticed this line was taken our of the Setup Docs

WARNING: The Chrome App will be unable to generate any OAuth tokens if the Application type isn't listed as Public.

What is the reasoning behind requiring this to be public?  I thought the consent screen was more so to restrict the domain for authorizations. If you were restricting these devices to your domain anyways, why cant the screen be set to private?

Sorry for the delayed reply. I never had a chance to dig back into this. I believe it's because of the way in which our apps communicate with these various APIs. I have never seen a successful deployment with the tokens limited to private.
The app is still restricted by domains, etc so there's still inherent checks and balances. I'm going to resolve this, but if you have further questions don't hesitate to re-open.


CASSANDRA-17507 4.0: Fix legacy clustering serialization for paging with compact storage

Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

@pkolaczk thanks for the review :)


openrtm_aist: 1.1.0-2 in 'jade/distribution.yaml' [bloom]

Increasing version of package(s) in repository openrtm_aist to 1.1.0-2:

upstream repository: http://svn.openrtm.org/OpenRTM-aist/tags/RELEASE_1_1_0/OpenRTM-aist/
release repository: https://github.com/tork-a/openrtm_aist-release.git
distro file: jade/distribution.yaml
bloom version: 0.5.21
previous version for package: 1.1.0-1

forget to import patches from indigo, hope this solves -> http://build.ros.org/job/Jbin_uT64__openrtm_ros_bridge__ubuntu_trusty_amd64__binary/1/consoleFull


Mention that getUniqueID() can be different in app extensions

Description
I stumbled over this when implementing a share extension, which has a different bundle identifier than my main app.
Since I used getUniqueID() to construct a User-Agent that needed to be stable for Authentication purposes, this broke auth for me.

[ ] I have tested this on a device/simulator for each compatible OS
[X] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (deviceinfo.d.ts, deviceinfo.js.flow)
[ ] I updated the dummy web/test polyfill (default/index.js)
[ ] I added a sample use of the API (example/App.js)

Fascinating! This should help save some future developers some unnecessary new gray hairs, thanks!


Change text "expired" on Relationships section of entity page

I noticed that the "expired" appears in the "Relationships" tab. See: https://orgbook.gov.bc.ca/entity/BC0338518
In that case, it is the organization that has been dissolved - not the credential. As such, the text should say "Historical", not expired, and the date should be the effective date of the dissolution -- e.g. for https://orgbook.gov.bc.ca/entity/FM0562397 it should be Oct 01, 2019.
See if this is an obvious change. If not, we can discuss the related data in a meeting with @ianco and the BC Registries folks.

This doesn't seem to be an obvious change. Right now there's no way to grab the dissolution date from a relationship credential, because the dissolution date exists on a different credential. We will have to meet to discuss a work around.

If the "expired" refers to the credential, then it should be prefixed with "Credential" to make it clear.
Would that solve your problem?

Yes that would work

closed by PR: https://github.com/bcgov/orgbook-bc-client/pull/159


NDT test at /tools/ndt may not work on IE11 (on Windows 7?)

A person wrote in to<EMAIL_ADDRESS>to stay that the NDT test on the M-Lab website was not functioning on his Windows 7 install in any of Chrome, Firefox and IE. Using our Windows 7 testbed client I was able to run tests using Firefox and Chrome, but IE11 fails (seemingly somewhere in the getScriptPath() function). It's not clear whether this is purely an IE11 issue, something specific to the testbed client, etc.  Perhaps someone else can test this on a few other machines?

@critzo will test this on a windows machine


[next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR]  https://next-auth.js.org/errors#oauth_callback_handler_error 5 NOT_FOUND:

I am getting this error while trying either GitHub or Google oAuth.
[next-auth][debug][adapter_getUserByAccount] { args: [ { providerAccountId: '86073734', provider: 'github' } ] }
[next-auth][error][adapter_error_getUserByAccount]
https://next-auth.js.org/errors#adapter_error_getuserbyaccount 5 NOT_FOUND:  {
  message: '5 NOT_FOUND: ',
  stack: 'Error: 5 NOT_FOUND: \n' +
    '    at callErrorFromStatus (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/call.js:31:19)\n' +
    '    at Object.onReceiveStatus (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/client.js:357:73)\n' +
    '    at Object.onReceiveStatus (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)\n' +
    '    at /Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/resolving-call.js:94:78\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)\n' +
    'for call at\n' +
    '    at ServiceClientImpl.makeServerStreamRequest (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/client.js:340:32)\n' +
    '    at ServiceClientImpl.<anonymous> (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)\n' +
    '    at /Users/ravi.ada/projects/play/next-drive/node_modules/@google-cloud/firestore/build/src/v1/firestore_client.js:227:29\n' +
    '    at /Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.js:38:28\n' +
    '    at /Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16\n' +
    '    at Object.request (/Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streaming.js:130:40)\n' +
    '    at makeRequest (/Users/ravi.ada/projects/play/next-drive/node_modules/retry-request/index.js:141:28)\n' +
    '    at retryRequest (/Users/ravi.ada/projects/play/next-drive/node_modules/retry-request/index.js:109:5)\n' +
    '    at StreamProxy.setStream (/Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streaming.js:121:37)\n' +
    '    at StreamingApiCaller.call (/Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.js:54:16)\n' +
    '    at /Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/createApiCall.js:84:30\n' +
    'Caused by: Error\n' +
    '    at Query._get (/Users/ravi.ada/projects/play/next-drive/node_modules/@google-cloud/firestore/build/src/reference.js:1719:23)\n' +
    '    at Query.get (/Users/ravi.ada/projects/play/next-drive/node_modules/@google-cloud/firestore/build/src/reference.js:1707:21)\n' +
    '    at getOneDoc (webpack-internal:///(rsc)/./node_modules/@auth/firebase-adapter/index.js:259:52)\n' +
    '    at getUserByAccount (webpack-internal:///(rsc)/./node_modules/@auth/firebase-adapter/index.js:126:35)\n' +
    '    at _callee2$ (webpack-internal:///(rsc)/./node_modules/next-auth/core/errors.js:301:43)\n' +
    '    at tryCatch (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js:36:24)\n' +
    '    at Generator.eval (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js:123:25)\n' +
    '    at Generator.eval [as next] (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js:64:29)\n' +
    '    at asyncGeneratorStep (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:4:28)\n' +
    '    at _next (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:17)\n' +
    '    at eval (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:13)\n' +
    '    at new Promise (<anonymous>)\n' +
    '    at eval (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:16)\n' +
    '    at Object.callback (webpack-internal:///(rsc)/./node_modules/next-auth/core/routes/callback.js:42:49)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
    '    at async AuthHandler (webpack-internal:///(rsc)/./node_modules/next-auth/core/index.js:202:38)\n' +
    '    at async NextAuthRouteHandler (webpack-internal:///(rsc)/./node_modules/next-auth/next/index.js:50:30)\n' +
    '    at async NextAuth._args$ (webpack-internal:///(rsc)/./node_modules/next-auth/next/index.js:85:24)\n' +
    '    at async /Users/ravi.ada/projects/play/next-drive/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:62361',
  name: 'Error'
}
[next-auth][error][OAUTH_CALLBACK_HANDLER_ERROR]
https://next-auth.js.org/errors#oauth_callback_handler_error 5 NOT_FOUND:  Error: 5 NOT_FOUND:
    at callErrorFromStatus (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
    at Object.onReceiveStatus (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/client.js:357:73)
    at Object.onReceiveStatus (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
    at /Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/resolving-call.js:94:78
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at ServiceClientImpl.makeServerStreamRequest (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/client.js:340:32)
    at ServiceClientImpl.<anonymous> (/Users/ravi.ada/projects/play/next-drive/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
    at /Users/ravi.ada/projects/play/next-drive/node_modules/@google-cloud/firestore/build/src/v1/firestore_client.js:227:29
    at /Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.js:38:28
    at /Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
    at Object.request (/Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streaming.js:130:40)
    at makeRequest (/Users/ravi.ada/projects/play/next-drive/node_modules/retry-request/index.js:141:28)
    at retryRequest (/Users/ravi.ada/projects/play/next-drive/node_modules/retry-request/index.js:109:5)
    at StreamProxy.setStream (/Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streaming.js:121:37)
    at StreamingApiCaller.call (/Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/streamingCalls/streamingApiCaller.js:54:16)
    at /Users/ravi.ada/projects/play/next-drive/node_modules/google-gax/build/src/createApiCall.js:84:30
Caused by: Error
    at Query._get (/Users/ravi.ada/projects/play/next-drive/node_modules/@google-cloud/firestore/build/src/reference.js:1719:23)
    at Query.get (/Users/ravi.ada/projects/play/next-drive/node_modules/@google-cloud/firestore/build/src/reference.js:1707:21)
    at getOneDoc (webpack-internal:///(rsc)/./node_modules/@auth/firebase-adapter/index.js:259:52)
    at getUserByAccount (webpack-internal:///(rsc)/./node_modules/@auth/firebase-adapter/index.js:126:35)
    at _callee2$ (webpack-internal:///(rsc)/./node_modules/next-auth/core/errors.js:301:43)
    at tryCatch (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js:36:24)
    at Generator.eval (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js:123:25)
    at Generator.eval [as next] (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js:64:29)
    at asyncGeneratorStep (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:4:28)
    at _next (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:17)
    at eval (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:13)
    at new Promise (<anonymous>)
    at eval (webpack-internal:///(rsc)/./node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:16)
    at Object.callback (webpack-internal:///(rsc)/./node_modules/next-auth/core/routes/callback.js:42:49)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async AuthHandler (webpack-internal:///(rsc)/./node_modules/next-auth/core/index.js:202:38)
    at async NextAuthRouteHandler (webpack-internal:///(rsc)/./node_modules/next-auth/next/index.js:50:30)
    at async NextAuth._args$ (webpack-internal:///(rsc)/./node_modules/next-auth/next/index.js:85:24)
    at async /Users/ravi.ada/projects/play/next-drive/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:6:62361 {
  name: 'GetUserByAccountError',
  code: 5
}

I'm having difficulty understanding the details. Could you please reach out to me at<EMAIL_ADDRESS>? I'd appreciate it if we could discuss the matter further to ensure I address the issue appropriately.


mesa: enable texture floats

Motivation for this change
Enable texture floats in mesa.
Texture floats were accidentally disabled by #43378.  The current mesa version still requires the --enable-texture-float configure option.
Missing texture floats break for example alacritty: w/o texture floats, mesa only supports OpenGL 2.1 (see glxinfo output).
cc @vcunat @Anton-Latukha
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

That's strange.  I'm confident I've read upstream claiming to compile them in by default.

Hmm, I read that about texture compression only, apparently, not about texture floats (which also expired recently).  Sounds OK to me.

Mesa indeed compiles texture floats by default now: here's the commit.  But this commit is only in the master branch, and not in the 18.1.* releases.


Button with a click event in the flyout does not work well on a touchpad. PC(mouse click) works well.

@Weijee

Button with a click event in the flyout does not work well on a touchpad.

What exactly did you mean? It doesn't work? Or is there a bug? Or something else?

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.
Please reopen if you still encounter this issue with the latest stable version and then please use the issue template.
If you have enough time then it would be nice to test this issue against the latest alpha version (availabe via NuGet and appveyor).
Thank you! 🙏


Add a Datadog metrics reporter

Metrics will be reported using Datadog's modified Statsd client.

👍 works for me


Try GitHub actions

Which issue(s) this PR fixes:
none
What this PR does / why we need it:
try github actions
Docs Changes:
none
Release Note:
none

It turned out that we can't replace Travis and appvoyor with GitHub actions now.
I might be going to try it when GitHub  actions become more mature.
ruby 2.7 + windows env does not work correctly https://github.com/ganmacs/fluentd/commit/8bdcb1c4a66b0727dc1d01e07c20ad269e8df986/checks?check_suite_id=393400732

Yes. In addition, we need to consider non-amd64 platform.


Card Schema doesn't include enums like the schema explorer does

https://docs.microsoft.com/en-us/adaptive-cards/create/cardschema

Closing this as we're going to remove the schema docs from docs and simply use the Schema Explorer in the 1.2 site with the update going out in a few days


CDN / global build

As far as I can tell, there isn't currently a build of this library that can be used directly from a CDN via a <script> tag.
Even though such builds aren't typically used in production, they are very commonly used when asking questions (Discord, SO, etc.) and for reporting issues on GitHub.

This would be great for quick examples or codepen usage etc!
Ill added both of your issues to the roadmap! I planned on working this week on more Features so ill try to incorporate them ;)
As far as i can see, it doesnt look that time consuming to add.. 👍


Release 2.1.0

Release 2.1.0

Hi @VonDerBeck! I've gone ahead and released this version, and you should see it on Maven Central shortly! :)

Has worked perfectly. Thanks 👍


Cmd + Tab Overridden by Fig

Fig overrides the tab, enter, esc, and up/down arrow keys when the autocomplete box is open.
macOS, Terminal, and iTerm shortcuts using these keys may not work when the autocomplete is open. To re-enable them, you have to escape the autocomplete box.
Known shortcuts that currently aren't working:

cmd+tab

We will likely push a fix that does not override a shortcut if the cmd, option, control, or shift key is also being held down.

Okay well @mattschrage already fixed this.
The keys that Fig overrides (tab, enter, esc, and up/down arrow keys) will not be override if the user is also holding down cmd, option, or control.
Will be pushed in v1.0.22


Feat: New 5 One Off

Issue number
Relevant issue number

Resolves #

Please check the following

[ ] Do the tests still pass? (see Run the Tests)
[ ] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change

Todo: added socket event handling


Make sure the design works well for nesting server-side GraphQL with client state

I was just chatting about these ideas with @stubailo and he suggested I file an issue.
I think one of the aspects that makes apollo-link-state potentially more powerful and expressive than other state management solutions like Redux is the ability for server state and client state to nest with each other.  For example, imagine this query for a todo list where items can be selected as part of client-side state:
query list {
  list(name: "my list") {
    items {
      name
      isDone
      isSelected @client
    }
  }
}

Getting the per-item local state nicely nested inside the server-side state in your component's data prop would be super convenient!
My actionable suggestion is that we build something like this as one of the motivating (and tested) examples for apollo-link-state. (I don't have the time to actually help with this myself, unfortunately.) It doesn't necessarily need to be the main example: @stubailo pointed out that we don't want folks to think that apollo-link-state is only useful for cross-source nested data. But we definitely should make sure it's natural and easy to do things like this, in my opinion!

@glasser @stubailo this is a great sample to have written as a test and documented! It also brings up an interesting question about data resolution in this space.
Given the above query:
query list {
  list(name: "my list") {
    items {
      name
      isDone
      isSelected @client
    }
  }
}

I would imagine determining the isSelectedStatus may need to come from the sibling data. On the server, a resolver like isDone would be called with the source data of the fetched items. On the client, something like an id would most likely be the link between some level of local saving of data.
I think when applying the resolvers for types, we need to ensure server data is passed at its level to extend server data into calculated values.
This would also give the ability to an idea @evans pitched to me at Summit which would allow the local state link to augment the server schema with virtual fields. For instance:
query Me {
  user {
    firstName
    lastName
    fullName @client
  }
}

Where fullName is a calculated value of firstName + ' ' + lastName

@glasser test added here
One thing I am concerned about is writing to the cache for sibling client fields as this should ideally be batched into a single write operation. This would be beneficial for updates as well so maybe a dataProxy api for batch writes?


Installation issues

Hi,
During setup I can across below issues, using logstash 1.5
1> jruby -S gem install --local logstash-input-dynamodb-1.0.0-java.gem
ERROR:  Could not find a valid gem 'logstash-core' (< 2.0.0, >= 1.4.0) in any repository
2>  sudo  bin/plugin install –no-verify logstash-input-dynamodb
Validating –no-verify
Plugin –no-verify does not exist
ERROR: Installation aborted, verification failed for –no-verify
3> sudo  bin/plugin install –no-verify logstash-input-dynamodb-1.0.0.gem
ERROR: Mixed source of plugins, you can't mix local .gem and remote gems
See: 'bin/plugin install --help'

having the same issue, I tried installing logstash-core and picked an arbitrary version that fell in the <2.0.0, >=1.4.0 category (i.e. 1.5.6) and that still is not working. Here's what I'm getting now:
ubuntu@ip-172-31-15-36:~/logstash-input-dynamodb$ jruby -S gem install --local logstash-input-dynamodb-1.0.0-java.gem
ERROR:  While executing gem ... (Gem::DependencyResolutionError)
conflicting dependencies logstash-core (< 3.0.0, >= 2.0.0.beta2) and logstash-core (< 2.0.0, >= 1.4.0)
Activated logstash-core-1.5.6
which does not match conflicting dependency (< 3.0.0, >= 2.0.0.beta2)
Conflicting dependency chains:
logstash-input-dynamodb (= 1.0.0), 1.0.0 activated, depends on
logstash-core (< 2.0.0, >= 1.4.0), 1.5.6 activated
versus:
logstash-input-dynamodb (= 1.0.0), 1.0.0 activated, depends on
logstash-codec-json (>= 0), 2.1.0 activated, depends on
logstash-core (< 3.0.0, >= 2.0.0.beta2)
Gems matching logstash-core (< 3.0.0, >= 2.0.0.beta2):
logstash-core-2.0.0.rc1-java, logstash-core-2.2.2-java, logstash-core-2.3.0.snapshot5-java
I'm not quite sure how dependencies are getting resolved but there's clearly some issues with the way dependencies are defined, that'd be my guess anyway.

I have the same problem. If this isn't solved soon I'm turning to DocumentDB from MS.

@devnullnor can't you use the docker container?

How can I use docker for this task? Will it cost me anything? Thank you.

@devnullnor Docker is free, I tried with docker and now its working perfectly.
Check link https://hub.docker.com/r/mantika/logstash-dynamodb-streams/
1> Step 1 - Install docker if you don't have already
2> Step 2 - Pull image
$ docker pull mantika/logstash-dynamodb-streams
Hope this help you to get started.

Docker seems to have fixed it. Thank you! Question: Do I need to run
docker run mantika/logstash-dynamodb-streams -e
periodically, or is this a continuous stream that will pull data from Dynamo?

@devnullnor
No, logstash will automatically propagate the changes to elasticsearch, you don't need to run it periodically.

I get an error:
{:timestamp=>"2016-04-07T09:59:15.139000+0000", :message=>"Connection refused", :class=>"Manticore::SocketException", :level=>:error} The error reported is:   Requested resource not found: Table: users not found (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ResourceNotFoundException; Request ID: 81F1UHJKBPLIP8GC630S19274JVV4KQNSO5AEMVJF66Q9ASUAAJG)

I'm having the same issue.
C:\logstash-input-dynamodb (master) λ jruby -S gem install --local logstash-input-dynamodb-1.0.0-java.gem ERROR:  Could not find a valid gem 'logstash-core' (< 2.0.0, >= 1.4.0) in any repository

@mwahidje https://github.com/awslabs/logstash-input-dynamodb/issues/21

Thanks.

Struggling with the same issue.
Could not find a valid gem 'logstash-core' (< 2.0.0, >= 1.4.0) in any repository.
How to get it to work?
Thanks


fix Nonetype when adding from template

fixes 2 exceptions in 1.14.1 when adding a finding from a template:
  File "/home/valentijn/dd/dojo/forms.py", line 2283, in __init__
    if self.instance.has_jira_group_issue:
AttributeError: 'NoneType' object has no attribute 'has_jira_group_issue'

and
  File "/home/valentijn/dd/dojo/finding/helper.py", line 58, in update_finding_status
    if 'is_Mitigated' in changed_fields or is_new_finding:
TypeError: argument of type 'NoneType' is not iterable

if only we had added that test :-) https://github.com/DefectDojo/django-DefectDojo/issues/3908

@valentijnscholten  is it too much work to add those unit tests?

Just experienced this breaking bug as well. Do we know which version introduced the bug exactly? This way we can downgrade in the meantime.


fix when stop_words = [], max throws exception.

Thanky for your code. It's vey helpful.

Thank you for the PR! Can you change it to the following in order to keep things concise?
self.max_stop_word_size = max(self.tokenizer.encode(word, return_tensors="pt").size(-1) for word in stop_words, default=0)


Modsecurity sees the HTTP "INVALID" method instead of "PATCH"

Hello,
I installed modsecurity 2 on IIS 10 in reverse-proxy with the OWASP csr.
For the moment, the WAF works in DetectionOnly and therefore does not block anything. I authorized in the csr-setup.conf the HTTP PATCH method, but I see that when the PATCH method is used, it is blocked by Modsecurity because PATCH is replaced by INVALID, but the application works correctly, because IIS is authorized to use PATCH and in the IIS logs, it is well written PATCH. I don't understand why Modsecurity receives INVALID.
Could you please help me?
have a nice day
KP

Hi @KernelPan1k ,
I understand your discomfort; it is not exactly an ideal solution.
However, under the circumstances, I think your workaround is probably reasonable and I cannot think of a better one short of a code update.
I think you're wise, though, to limit that permissiveness to only the endpoints where it is required.


cleanup: Migrate all markdown files to asciidoc

The repo contains only three markdown files at the moment:

CODE_OF_CONDUCT.md
CONTRIBUTING.md
README.md

Changing them to asciidoc will make the repo more consistant and allow the files to be built and served on the catchup site if needed.

NOTE: Even though Asciidoc and Markdown syntax is practically the same, the Markdown files will have to be formatted to follow the same syntax as used in the ohter Asciidoc files in the repo, to maintain consistency.

I don't think we really need to do this, so I am closing the issue.


[Design] -  Indigenous Talent Portal UI Concerns

Indigenous Talent Portal UI
The Indigenous Talent Portal is a platform is being developed FOR the Indigenous community - BY the Indigenous community - to reclaim our stories and to reset the way Indigenous talent is valued. This sounds fairly significant but, it doesn't feel right after walking through it.

The rollover for the Indigenous Talent Portal seems odd and out of place to me. It’s the only navigational element that has this type of rollover and although I understand why it is there, I don’t think it gets the results we are looking for.
It initially doesn’t come across as special to me; it simply appears the other links are maybe broken? My initial reaction when I rolling over the Indigenous Talent Portal link was 'Crap, something’s broken somewhere.'
I think this issue is heightened by the fact that the next page doesn’t appear to have anything special on it, other than the content itself. At first glance, it just looks like every other page (with a fancy link).

@nicolsonaitken Can you also tack on the initial user feedback for this? I want to make sure we're recording all the context. Originally the different link was to create a moment of "this is different", but I agree it could be improved upon.

For what it's worth, I thought the same thing: Not "this is a special link", but "the rollover on the other links is broken". Maybe Indigenous in colour and the others in B/W? Although that might be misinterpreted as a wayfinding hint.


Hashing the state key before it writing to the database

[x] Hash the state keys before writing to the database
[x] Deal with the getting logic

Issue: #3549

Seeking for another solution.


remove sleep in e2e test as fix for #100

as subject, try to avoid sleep in e2e test case.

The test-network scripts in fabric-samples look to retry both the channel create and channel join operations until they succeed, as the network may not be in a state where they can run successful on the first attempt:
https://github.com/hyperledger/fabric-samples/blob/67ae2c9d025907840603cf38eaf3b39e511c9d19/test-network/scripts/createChannel.sh#L36-L73


fix: async function support in browserslist

What kind of change does this PR introduce?
https://github.com/webpack/webpack/discussions/18022#discussioncomment-8310392
Did you add tests for your changes?
This is manual check, because we can't autotest it in real browsers, but verified manuallu and using caniuse
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
No

Also fixes all fully supports * syntaxes


Version 0.3.8 stuck (runs forever)

Specifically, in file docgen.js, the following line never returns:
yield fs_extra_1.default.outputFile(dest, page.render(templates.prelude));

More specifically, the following part of the line above never returns:
const x = page.render(templates.prelude);

Tested environment:

Windows 10
node 10.16.0
npm 6.9.0

Update:
This problem can be tracked down to file sitemap.js, in the following line:
for (const target of c.linkable) {

It appears that any attempt to refer to c.linkable halts the execution.
I tried console.log(Object.keys(c)); and got [ 'source', 'file', 'astNode' ].
Do c.linkable should be undefined as far as my understanding of Javascript goes.
I tried console.log(c.linkable); and even console.log(typeof c.linkable);, but the program halts...

Update 2:
OK, I get it, linkable is not an object attribute, but a getter function (in class SolidityContract).
The "freeze" occurs on any attempt to refer to this.functions.

Thanks again for reporting this with so much detail! And thanks for the patience. :pray:
I can reproduce the issue, I'll look into it.

This bug was introduced in https://github.com/OpenZeppelin/solidity-docgen/commit/031c9a09130978ce66c2361a1ef21e0e9beb9767 because a RegExp was changed in a way that made it also match the empty string, which made looping over matches an infinit loop. Fixed in https://github.com/OpenZeppelin/solidity-docgen/commit/39c9e9b51eb049b6e222a961740147b4bbde692a and released as 0.3.9.
I don't understand  why I didn't run into this with OpenZeppelin's code...


Gradle build failed when using annotationProcessor but works fine with IDE

When I use the compilation and operation of intellij idea, it runs normally. This error occurs when I switch to gradle.
I see same issue reported #https://github.com/gradle/gradle/issues/21310
Cause: superclass access check failed: class com.devexperts.uilocalizer.AddLocalizationNodesVisitor (in unnamed module @0x7dda3124) cannot access class com.sun.tools.javac.tree.JCTree$Visitor (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x7dda3124
Gradle 7.5.1
Kotlin: 1.5.31
Groovy: 3.0.9
JVM: 17.0.2
see the attachment for issue to recreate and workaround solution .
devexperts-17-issue.zip
devexperts-17-workaround.zip

Thank you for your interest in Gradle!
Your issue appears to be a question about how to use Gradle. Your question might be better answered on our forums or StackOverflow. We have several resources on help.gradle.org that you should check out first.
If you think you have come across a Gradle bug, please file a new issue describing the problem and how to reproduce it.
If you think Gradle is missing a feature, please file a new issue describing your use case for the feature.


[macOS] Suggesting implementing a null-checker for parameters passed to handleEvent:client: function.

The handleEvent:client: function in IMKInputController can sometimes receive nulled NSEvents, e.g. Click-inputting Emojis through macOS built-in Emoji panel.
I don't know why this doesn't cause a crash when a subclassed IMKInputController class is written in ObjC, but this will cause crash if such class is written in Swift.
Therefore, this issue is only a suggestion: Please consider adding a null-check for the parameter event in the following place (between line 855 and 856): If the event is null, then immediately return false and abort this function.
https://github.com/google/mozc/blob/811cb8c7606a4732a83abb89752664eb23728623/src/mac/GoogleJapaneseInputController.mm#L855-L856
P.S.: I am not an ObjC dev, hence being unable to provide a pull-request by myself. Sorry for the inconveniences.

Thank you ShikiSuen for your feedback.
9b0019d added the check based on your suggestion.
We hope it works.

@hiroyuki-komatsu ご対応ありがとうございます。これで大丈夫です。

Oh, I'm sorry that I forgot a thing: NSNull and nullptr are not equivalent. Both of them needs to be checked.
According to Apple:
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/NumbersandValues/Articles/Null.html

The NSNull instance is semantically equivalent to nil, however it is also important to appreciate that it is not equal to nil. To test for a null object value, you must therefore make a direct object comparison.

I guess that the commit 9b0019d might need a further modification to check NSNull together:
if (event == nullptr || event == NSNull) {
    return NO;
}

... my usage of NSNull in the codeblock above might be completely wrong in Objective-C.
I wonder whether this is correct:
if (event == nullptr || event == [NSNull null]) {
    return NO;
}

I just sent a PR to add the check for NSNull:
https://github.com/google/mozc/pull/745

Thank you for your PR!
However, unfortunately, src/mac is not yet a directory that we can accept PRs.
Sorry for your inconvenience.

https://github.com/google/mozc/blob/master/CONTRIBUTING.md

I'm going to a change based on your feedback.
Best,

1d19e7a1072d73f48c6f176210ef61226edef5f0 added the check with NSNull.
Would you confirm this change?

Indeed, I wrote event == [NSNull null] at first, but I got an error of type mismatch between NSEvent and NSNull.
So I changed it to the isEqual one.
I guess using id == NSNull is OK, but NSEvent == NSNull is not OK.


Unwrap InvocationTargetException from ApiExtensionGeneratorFacade

Currently, build failures caused by ApiExtensionsGeneratorFacade report no useful information:
* What went wrong:
Execution failed for task ':distributions-core:gradleApiKotlinExtensions'.
> java.lang.reflect.InvocationTargetException

This change makes Gradle report the actual error:
* What went wrong:
Execution failed for task ':distributions-core:gradleApiKotlinExtensions'.
> Class for function 'org.gradle.api.shareddata.ProjectSharedData.register(java.lang.Class,java.lang.String,org.gradle.api.provider.Provider)' not found in since repository!

@bot-gradle merge

WARN: The milestone of this PR is 8.7 RC1, but the base branch version is 8.6

WARN: This is a feature pull request but no changes to release note found.

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Not running cleanupNumericValues

In both the app and beta, the optimizations for cleanupNumericValues are not being performed. All the numbers remain at 4 places, if run as default or if the config is set using
{
"name": "cleanupNumericValues",
"params": {
"floatPrecision": 2
}
},

Make sure you've updated to the latest version, and check the comments in https://github.com/BohemianCoding/svgo-compressor/issues/1
I just tested it and it works as expected…

I have updated to the latest plugin and am running Sketch 39, but I still see no difference in the precision numbers. Copying the settings from comment 1 didn't help. Any ideas? Setting the parameter to 2 or 1, I still get this.

Can you share a sample doc and the SVG output you're getting?

Did you download the Archive.zip file?

Ah, sorry, somehow missed it : )

Ok, just checked it and the Plugin is working as expected:

You are probably expecting the wrong thing from this specific SVGO setting, it is intended to round numeric values in attributes and remove the 'px' value (see the code in https://github.com/svg/svgo/blob/master/plugins/cleanupNumericValues.js)
If you are looking for something that will remove extra decimal numbers in all your paths, you need to take a look at convertPathData (but keep in mind that it will mess with your path data, and the resulting paths may not always match the originals):


Update project 18/02/2024

Create Book and Loan controllers
Create Book, User and Loan entities
Create Book and Loan DTOs
Create Book, Loan and User repositories


Fix file access URL for downloads (replaces #176)

Was trying to use URLs like https://osf.io/download/4rfew/
Now this style:
https://files.osf.io/v1/resources/fwefw/providers/osfstorage/5ee88fsdfafe0040c4a3b3
Which happens to be the same as the upload URL.
Fixes https://github.com/osfclient/osfclient/issues/172
Fixes https://github.com/osfclient/osfclient/issues/144

I think the underlying issue is that requests.Session is stripping the Authorization header when it follows the redirect returned by the OSF url.  There's a method, should_strip_auth, that removes the header if the hostnames don't match (osf.io vs. files.osf.io).  We could probably get around this by overriding or monkeypatching the method, but I think this solution is an excellent workaround.

Thanks, @mih!  This has been merged and released in osfclient v0.0.4.


Bug report: Dataview Picking Up Backslash \ in Inline Field

What happened?
While using inline fields from dataview in a table with an alias, it seems the escape character \ is being picked up and dataview seemed to be unable to find a note because of the backslash applied to it:
| Table | Test |
|---|---|
| Field | (Field:: [[DV File 1\|Inline Syntax Formatting]])

Field:: [[DV File 2\|Inline Syntax]]

Field:: [[DV File 2|Not Escaped File]]

The file on the right is linked to the file on the left, but doesn't appear in the dataview list because of the escaped link.

Figured out it was a dataview issue with the dataview query below. Using this.file.link doesn't find the note since it's not DV File 1, the inline field reads the link as DV File 1\ which doesn't exist.

Issue discovered initially when using breadcrumbs: https://github.com/SkepticMystic/breadcrumbs/issues/386
DQL
TABLE WITHOUT ID Field
FROM ""
WHERE contains(Field, this.file.link)

JS
No response
Dataview Version
0.5.9
Obsidian Version
0.14.7
OS
Windows

Bad link parser implementation; thanks for flagging.

Hmm, updating to 0.5.23, it seems like the issue still persists. Also the inline syntax is broken when there's a link inside of it.
(Above:: Test)
**(Above:: Test)**

> [!Metadata|i-at]
> **(Story:: Testing)**
> (Above:: Test)

---
> [!Metadata|i-at]
> **(Story:: Testing)**
> (Above:: [[Test Bench]])

(Above:: [[Test Bench|Test]])
(Above:: [[Test Bench\|Test]])

The rendering issue appears to be Obsidian - I get it even for basic escaped links like [[Hello\|There]] (which still renders a "There" in Obsidian).
Also, now that I looked at this again, how are you even using "|" in files? Obsidian prevents it in file names.

Also, now that I looked at this again, how are you even using "|" in files? Obsidian prevents it in file names.

It's not actually in the file name, it's an alias. I generally use it because my files have ugly prefix stuff, but I only want to see a simplified name. So instead of SL-M-A - Worlds as an ugly looking like, I just get Worlds. It's not actually the file name since pipes aren't allowed by my OS either.
Wanting the escapes to work is so that I can have this alias syntax work with tables and not break 🙈

I adjusted the way links render in 0.5.26 to properly escape when being printed, which may help? I have tests which explicitly check link parsing with escapes and the functionality at least mostly seems to work - do you have a case which breaks?

So I'm on dataview 0.5.26 which has made some stuff go a little more haywire 😵💫 (visible in the genre field)
My query is just this, basically look for songs where the album field links back to the current note:
```dataview
TABLE WITHOUT ID
	link(file.link, Alias) AS Song,
	N AS "\#",
	Genre,
	Year
FROM "30 Projects/Music/Songs"
WHERE contains(Album, this.file.link)
SORT N asc
```

Which works for the file Meridian Ambit since the album link doesn't have an escaped alias, but the others don't show up as they're escaped and are thus read as SL-M-A - Worlds|Worlds which is a file that doesn't exist so there's no file.link or file.path for the query to grab even though the file exists and is linked.

Removing the escape SL-M-A - Worlds|Worlds does work, but since there's a pipe, it breaks link visually in the table 🥴


Import path is incorrect.

import { NS } from '@ns';
import { relative } from './relative';
import { absolute } from '@/import/absolute';

export async function main(ns: NS) {
  relative(ns);
  absolute(ns);
}

import { relative } from "/src/import/relative.ts";
import { absolute } from "/src/import/absolute.ts";
export async function main(ns) {
  relative(ns);
  absolute(ns);
}

Vite can serve /src/import/relative.ts but bitburner cannot. Need a transform here.

Reference: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/plugins/importAnalysis.ts

Workaround (for JS only):

In vite.config.ts, set the transform of js files to false, so it won't be touched by vite.
Use relative imports only. Avoid using absolute imports like @/foo.js as it will not be transformed by vite now and obviously not working with bitburner.

TODO: transform import path for each server and combined sourcemap

fixed in 07d083d5f6c729e08f02beff3413a514dcf2ced3


attr-req-value is wrong / too strict

It's good to flag attr= with nothing after it, but it's bad to complain about boolean attributes, including custom attributes you don't know about, e.g. data-foo and attributes of custom-elements. I'd ignore data- attributes and attributes of hyphenated elements, or make that configurable.

Just ran in to this with @angular/localize e.g. <h1 i18n>My Heading</h1>.
Would be cool to have a whitelist or some configuration.