Windows Error: Cannot open output with format parameter specified

My output definition is:
    def output(self):
        fn = os.path.join(self.output_dir,
                          'output_files','export.tsv')
        return luigi.LocalTarget(fn, format=luigi.format.Gzip)

But when I try to open the output file to write I get the error below:
Traceback (most recent call last):
  File "C:\Users\levinjos\AppData\Local\Continuum\Anaconda2\lib\site-packages\luigi\worker.py", line 192, in run
    new_deps = self._run_get_new_deps()
  File "C:\Users\levinjos\AppData\Local\Continuum\Anaconda2\lib\site-packages\luigi\worker.py", line 144, in _run_get_ne
w_deps
    requires = task_gen.send(next_send)
  File "c:\users\levinjos\classifications_pipeline\classifications\retrieval.py", line 256, in run
    with self.output().open('w') as fl:
  File "C:\Users\levinjos\AppData\Local\Continuum\Anaconda2\lib\site-packages\luigi\file.py", line 134, in open
    return self.format.pipe_writer(atomic_file(self.path))
  File "C:\Users\levinjos\AppData\Local\Continuum\Anaconda2\lib\site-packages\luigi\format.py", line 492, in pipe_writer

    return OutputPipeProcessWrapper(args, output_pipe)
  File "C:\Users\levinjos\AppData\Local\Continuum\Anaconda2\lib\site-packages\luigi\format.py", line 183, in __init__
    close_fds=True)
  File "C:\Users\levinjos\AppData\Local\Continuum\Anaconda2\lib\subprocess.py", line 667, in __init__
    raise ValueError("close_fds is not supported on Windows "
ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

Line here is the cause to the problem, do we need to close file descriptors if the platform is mswindows?:
https://github.com/spotify/luigi/blob/bb9c8f94314c91306475cb568a62d106788a106e/luigi/format.py#L103-L107
luigi (2.6.2)
Machine: Windows 7
Python 2.7.11 |Anaconda 4.0.0 (64-bit)| (default, Feb 16 2016, 09:58:36) [MSC v.1500 64 bit (AMD64)] on win32

I've had this issue on Windows 10 64 bit, Python2.7.14 (64bit), luigi>=2.3.0.
Is there guidance on a workaround until this is fixed?

I've had the same issue on Windows 10 64 bit, Python 3.6.5 (64bit), luigi 2.7.5

This error is still occurring:
Traceback (most recent call last):
  File "c:\python37\lib\site-packages\luigi\worker.py", line 199, in run
    new_deps = self._run_get_new_deps()
  File "c:\python37\lib\site-packages\luigi\worker.py", line 139, in _run_get_new_deps
    task_gen = self.task.run()
  File "Q:\Pipelines\pipeline.py", line 244, in run
    with self.input()[1].open('r') as f:
  File "c:\python37\lib\site-packages\luigi\local_target.py", line 166, in open
    return self.format.pipe_reader(fileobj)
  File "c:\python37\lib\site-packages\luigi\format.py", line 501, in pipe_reader
    return InputPipeProcessWrapper(['bzcat'], input_pipe)
  File "c:\python37\lib\site-packages\luigi\format.py", line 88, in __init__
    self._process = command if isinstance(command, subprocess.Popen) else self.create_subprocess(command)
  File "c:\python37\lib\site-packages\luigi\format.py", line 107, in create_subprocess
    close_fds=True)
  File "c:\python37\lib\subprocess.py", line 662, in __init__
    raise ValueError("preexec_fn is not supported on Windows "
ValueError: preexec_fn is not supported on Windows platforms

code:
def run(self):
    import pickle

    self.output().makedirs()

    with self.input()[1].open('r') as f:
    	data = pickle.load(f)

I really can't help out here, sorry! But I can review PRs!

@charlesoblack maybe a simple change to create_subprocess in  InputPipeProcessWrapper will help? Check the PR I just submitted- creating the subprocess without the preexec_fn and close_fds arguments worked for my task.


not possible to delete a cohort with students in it

It should be possible to delete a cohort, even if it has students or files. I'm not exactly sure how this would work, though, since a student account is tied to a class. But it would be helpful for teachers to delete old classes they are no longer teaching.

hiding the class would be the simplest thing here.
more complicated would be deactivating the accounts for the students...
but i would not go that far at the moment.
maybe simply upgrade the student to individual / not-part-of-a-cohort and let them know that they are free now :)


WPP.chat.getMessageACK & WPP.chat.openChatAt return isStatusV3 Error

WA-JS Version
3.4.2-alpha.0
WhatsApp Version
2.3000.1014610951
Browser Version
126.0.6478.127
Operation System
OS X Sonoma
Steps to reproduce
WPP.chat.getMessageACK

Send message to get MsgId
try getting message ack status with WPP.chat.getMessageACK
Some will return ack status
Some will return error isStatusV3, even the message is exist

WPP.chat.openChatAt

Try opening chat at using previous msg id
This will also return isStatutsV3

What is expected?
WPP.chat.getMessageACK should return message ACK
WPP.chat.openChatAt should open chat and highlight given message id
What is actually happening?
Return Error and not getting messageStatus
TypeError: n.isStatusV3 is not a function
    at t.getMessageById (core.js:2:143907)
    at t.getMessageACK (core.js:2:142840)
    at ui.js:557:20177
    at Array.map (<anonymous>)
    at T (ui.js:557:20000)
    at async L (ui.js:557:20476)

The error is at getMessageById method (at the end of line):
if ((null === (r = null === (t = e.remote) || void 0 === t ? void 0 : t.toString()) || void 0 === r ? void 0 : r.includes("status@broadcast")) || (null === (n = e.remote) || void 0 === n ? void 0 : n.isStatusV3()))

Any additional comments?
No response

i got the same problem

I have the same problem
Here it occurs in the new_message event when she is replying to a message.
WPP.chat.getQuotedMsgKey
WAJS: 3.4.1
WA: 2.3000.10145x and 2.3000.10146x
In versions 2.3000.10144x the error does not occur

Fixed by https://github.com/wppconnect-team/wa-js/commit/45713137d5c98013cc6d7b250d4a9835e0158fda


setup codecov

Current coverage is 99.38% (diff: 100%)

No coverage report found for master at 56d21b9.

Powered by Codecov. Last update 56d21b9...335346b


add dependency version check to bash side solver (carchmagic)

When carchmagic switch is enabled ($CARCH compatibility), first level of dependency solving is done on the bash side rather than on the RPC interface. The simplistic solver included in pacaur does not support dependency version yet:
Real life exemple: cower-legacy requires pacman<4.
carchmagic: false
pacaur -S cower-legacy
:: Package(s) cower-legacy not found in repositories, trying AUR...
:: pacman is available in core

AUR Targets (1): cower-legacy

Proceed with installation? [Y/n] n

carchmagic: true
pacaur -S cower-legacy
:: Package(s) cower-legacy not found in repositories, trying AUR...

AUR Targets (1): cower-legacy

Proceed with installation? [Y/n] n

This does not apply to second and following dependencies level or when carchmagic switch is disabed, as those case are successfully handled by cower.
Real life example: Installing "pacaur" succeed as expected, as cower-git is the first level dependency while pacman<4 is the second.
carchmagic: true/false
 pac -S pacaur
:: Package(s) pacaur not found in repositories, trying AUR...
:: pacman is available in core
:: pacaur-2.4.3-1 is up to date -- reinstalling

AUR Targets (2): pacaur cower-legacy

Proceed with installation? [Y/n] n

Add dependency version support to the bash side (carchmagic enabled only). Looking at yaourt code might be useful. Both packer and pbfetch (and probably aurget) suffer from the same flaw as they use a similar simple dependency solver.

Replacing the in-house bash code (inspired by pbfetch) with "pacman -T " seems a better way to go :]
Although packer and aurget use it, both are unable to handle dependencies versioning.

Fixed in 93355ba6473fb9caa32b53186cdb1e896714ccd4.


Generator in gan_cifar10 should use BatchNorm1D in preprocess

https://github.com/caogang/wgan-gp/blob/ae47a185ed2e938c39cf3eb2f06b32dc1b6a2064/gan_cifar10.py#L42
As the title says, based on how the code is written, i.e. the size of the noise variable is (BATCH_SIZE, 128), then we should use BatchNorm1d instead of BatchNorm2d.
Is this right?

I have found this problem, and it give me some trouble to find this error. We should use the BatchNorm1d instead of BatchNorm2d.


can not c open file in the file browser by mouse click

NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
nvim config is last in main branch
errore message:
E5108: Error executing lua: ...lazy/nvim-window-picker/lua/window-picker/configurer.lua:49: attempt to index field 'unfocused' (a nil value)
stack traceback:
...lazy/nvim-window-picker/lua/window-picker/configurer.lua:49: in function '_backward_compatibility_config_changes'
...lazy/nvim-window-picker/lua/window-picker/configurer.lua:6: in function 'new'
...im/lazy/nvim-window-picker/lua/window-picker/builder.lua:40: in function 'build'
.../nvim/lazy/nvim-window-picker/lua/window-picker/init.lua:37: in function 'pick_window'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:710: in function 'open_file'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:562: in function 'open'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:595: in function 'open_with_cmd'
...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:726: in function 'open_with_window_picker'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:203: in function 'func'
...are/nvim/lazy/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:830: in function <...are/nvim/lazy/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:828>

systemc info：
OS: Manjaro Linux x86_64
Kernel: 6.5.0-1-MANJARO
your nvim config is awasome by the way ：）

Hi @turbochoo,
thanks for your feedback. A slight error in my window-picker config has crept in. It should be fixed now :)

your nvim config is awasome by the way ：）
Glad that you like it 👍

BTW, this was the first time I used my mouse in Neovim 😆

Ok, please test now :)

thanks, man ,it work :) @Allaman


Update branch-history script [branch-history]

Add new branch-history script to try to reduce the number of false positives resulting from modification of large files (such as mesh.cpp, fespace.cpp, etc.).

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1309
@pazner
@tzanio
@tzanio + @adrienbernede
02/26/20
⌛due 03/11/20
⌛due 03/18/20

@pazner Tested on AIR_pr pathological case study. Works well.
I like the colors, although some white is missing to really mark the "made in USA" ;)
@tzanio my sentiment was that you preferred the commit ID and the message to be on the same line, don’t you? (Maybe in that case using the short SHA would help).
Now looking at @pazner comment on blob size, commit size, etc.

@adrienbernede, can't access the link above

@tzanio, should work now.

@pazner, is this "ready for review"?

@tzanio yes, I think it's ready to be reviewed!

@pazner, are you sure you check-marked the 55 steps of the PR checklist?
(Just kidding, currently reviewing contributing.md :P)

Adding a bit more time to review...

Merged in next for testing...

There is an issue with PR: now that it is merged master, the travis build of master fails: see e.g. https://travis-ci.org/github/mfem/mfem/builds/661839679. Branch builds are failing too: e.g. https://travis-ci.org/github/mfem/mfem/builds/662279594

There is an issue with PR: now that it is merged master, the travis build of master fails: see e.g. https://travis-ci.org/github/mfem/mfem/builds/661839679. Branch builds are failing too: e.g. https://travis-ci.org/github/mfem/mfem/builds/662279594

See https://github.com/mfem/mfem/pull/1286/commits/424fd7e9faf866df9956dbd769bda66ba5ad7325


Fix link for AppArmorProfile in blog

Fixes #40866

Deploy Preview of the blog: deploy-preview-40871-blog-security-profiles-operator


A precondition for calling grpc_call_start_batch wasn't met. Error 8

What version of gRPC and what language are you using?
1.18
What operating system (Linux, Windows,...) and version?
iOS
What runtime / compiler are you using (e.g. python version or version of gcc)
Objective-C
Bug
We're seeing the following error A precondition for calling grpc_call_start_batch wasn't met. Error 8  as part of the GRPCProtoCall.start() call. Error 8 apparently translates to  GRPC_CALL_ERROR_TOO_MANY_OPERATIONS
So, how can there be too many operations when calling .start() (as part of an app launch sequence), and how can it be a precondition failure? (Also, please print the string name for the error, not just the number 8. "Error 8" isn't very informative)
The gRPC part of the stack is as follows
#3	0x105bc50ac in -[GRPCWrappedCall startBatchWithOperations:errorHandler:] at Pods/gRPC/src/objective-c/GRPCClient/private/GRPCWrappedCall.m:304
#4	0x105bc04a0 in -[GRPCCall sendHeaders:] at Pods/gRPC/src/objective-c/GRPCClient/GRPCCall.m:327
#5	0x105bc11b4 in -[GRPCCall startCallWithWriteable:] at Pods/gRPC/src/objective-c/GRPCClient/GRPCCall.m:467
#6	0x105bc136c in -[GRPCCall startWithWriteable:] at Pods/gRPC/src/objective-c/GRPCClient/GRPCCall.m:504
#7	0x1065113d0 in -[ProtoRPC startWithWriteable:] at Pods/gRPC-ProtoRPC/src/objective-c/ProtoRPC/ProtoRPC.m:107

We have never been able to reproduce this locally, but Crashlytics collected data report this as happening for tens of thousands of users in our real world app.
This is possible related to #4628

Can you provide a snippet that reproduces the problem? This looks like it could be wrong use of API.

Yes, this could be caused by incorrect API usage. GRPC_CALL_ERROR_TOO_MANY_OPERATIONS  is likely returned from here. Maybe you're trying to send GRPC_OP_SEND_INITIAL_METADATA more than once on the same call?

We managed to get a proper symbolicated crash for the full stack now:
{code}
Thread 8 name:
Thread 8 Crashed:
0   grpc                          	0x0000000106b145dc grpc_validate_header_key_is_legal(grpc_slice) + 673244 (validate_metadata.cc:69)
1   grpc                          	0x0000000106a83140 prepare_application_metadata(grpc_call*, int, grpc_metadata*, int, int, grpc_metadata*, int) + 78144 (call.cc:891)
2   grpc                          	0x0000000106a83140 prepare_application_metadata(grpc_call*, int, grpc_metadata*, int, int, grpc_metadata*, int) + 78144 (call.cc:891)
3   grpc                          	0x0000000106a8298c call_start_batch(grpc_call*, grpc_op const*, unsigned long, void*, int) + 76172 (call.cc:1589)
4   grpc                          	0x0000000106a82210 grpc_call_start_batch + 74256 (call.cc:1908)
5   GRPCClient                    	0x00000001062a1070 -[GRPCWrappedCall startBatchWithOperations:errorHandler:] + 53360 (GRPCWrappedCall.m:288)
6   GRPCClient                    	0x000000010629c4a0 -[GRPCCall sendHeaders:] + 33952 (GRPCCall.m:327)
7   GRPCClient                    	0x000000010629d1b4 -[GRPCCall startCallWithWriteable:] + 37300 (GRPCCall.m:468)
8   GRPCClient                    	0x000000010629d36c -[GRPCCall startWithWriteable:] + 37740 (GRPCCall.m:506)
9   ProtoRPC                      	0x00000001067f13d0 -[ProtoRPC startWithWriteable:] + 21456 (ProtoRPC.m:109)
{code}
The code triggering the start call is (slightly simplified) as follows:
{code}
let service = MyService(host: "service.company.com") // gRPC generated class
let pipeWriter = GRXBufferedPipe()
let subscription = service.rpcToSubscribe(withRequestsWriter: pipeWriter, eventHandler: onEvent)
subscription.start()
{code}
We still can't reproduce the issue locally, but we have 100k+ crashes in production, with no clear reason as to why (device and OS versions differs)

ok, good news, we're not longer seeing this crash with gRPC 1.19 (we're seeing another crash in the start flow, but I'll create another ticket if I can find a symbolicated stack for it)


feat(@angular-cli): remove server alias for serve

The alias has been removed as it's quite confusing as one might expect that ng server will trigger a server build
Closes: #10334

@hansl WDYT?


Error after last update

I get error:

Access level to Donquixote\Cellbrush\Table\Table::renderAttributes() must be public (as in class Donquixote\Cellbrush\Html\AttributesGetterInterface) in vendor/donquixote/cellbrush/src/Table/Table.php on line 111

@donquixote Have this problem also, but none of your solutions worked! :\

@sebascar So you are using a version with the above PR included, but you still see an error?

@donquixote  Thanks for your reply. Solved :)
I tried to install CelBrush via composer specifing 1.0.2 as version, but did not work (why?). I edited the files manually, works perfectly
By the way, thanks SO MUCH for your contribute.

Do you get the fix if you use the dev version?
Then maybe I just need to make a new release.
(Sorry atm I don't have time to look at the code myself, my eyes are on another project)

And out of curiosity: Can you describe the use case where you use the library?

@sebascar It's been a while since I've worked on this library but maybe try my fork: https://github.com/mcaskill/cellbrush/commits/develop which addressed a number of issues I encountered when using it for a spots results project.

@mcaskill Would have been nice to ping me about your fork! But nice that others are interested in it.
(no bad feelings, just saying)
Maybe I will merge or cherry-pick some of your changes, will see.

Wanted to offer a PR but got caught up in another project followed by another one and haven't been able to revisit it since. I'll try and find some time for it.

@mcaskill The PR is nice but not super important. Now that I know about it, I can simply review the individual commits and then cherry-pick what I like. I'll try to make sure that you show up as the commit author.

@donquixote Thanks for your question. I'm using as part of collection of tools. In particular I use CellBrush to generate a dynamic  from the user's input.
If you have any other question I'll be glad to help :)
@mcaskill, thanks! I'll take a look, but up to now cellbrush is doing it's dirty job :)

Please do cherry-pick the fix @donquixote, we can't seem to use @mcaskill git repo in composer as he changed the .composer file so "donquixote/cellbrush" can't be overwritten using "repositories" in composer.json, and without a stable release in his repo there is nothing we can do (we cannot manually edit vendor files), thanks! 👍

I'll do it today, promise :)

@danijelk I used my fork like so in a project:
"repositories": [
	{
		"type": "git",
		"url": "https://github.com/mcaskill/cellbrush.git"
	}
],
"require": {
	"mcaskill/cellbrush": "dev-develop",
},
"replace": {
	"donquixote/cellbrush": "*"
}

Maybe that could help in the meantime. Don't remember why I changed the vendor name. Probably related to how little I knew about using Composer at the time.

Since this error seems to be identical with #3, I suppose this one is now also fixed.
New release 1.0.3.
Btw the reason I did not notice this is that my system gives me PHP 5.5.9 by default, which does not care about the access modifier.
And: Both this issue and #3 are examples of really poor issue titles :) C'mon, you can do better! There is a good chance this would have been fixed by now with a clear issue title.

https://3v4l.org/tJY7u

Perhaps I spoke too soon.
There are still failing tests, and issues with public / protected.
I also notice this code:
class Attributes implements AttributesInterface {

  use AttributesTrait {
    renderAttributes as public;
    renderTag as public;
  }
}

I think the idea was to give the trait members restricted access, but then optionally change visibility to public in the use statement.
More about this soon (today).

Ok, now the build is green!
Release: 1.0.4
In the existing codebase, MutableAttributesTrait is always used in classes which implement MutableAttributesInterface. Hence, the methods can be public by default.
AttributesTrait is also used in classes where the methods are not meant to be public. Hence, b87b0a9279 only adds a "createTag as public" in the use statement.

And now I am going to look at the stuff from @mcaskill

Btw sorry I missed to give commit credit for the two fixes, which I imagine were somewhere in @mcaskill's repo. I quickly made the fixes myself instead.

@mcaskill I also added a .gitignore based on commits in your fork.
See https://github.com/donquixote/cellbrush/commits/09c70b421828624756e56591de41d5e86030f50e

@mcaskill For further changes from your repo, we should open dedicated issues.
I had a look at your repo, but then gave up.. I cannot decide that easily what I want to pick and what I don't. Better to have issues to discuss the changes.
(If you have the time and patience for this)

That would be a good idea. I need to take some time to reacquaint myself with the codebase and the various changes and fixes I made over time.

And I am careful with commits because all I commit then needs to be BC-supported. I cannot add a feature and then remove it later.
I also have some local changes which attempt to make things more "solid"..


cant find what i want

What steps will reproduce the problem?

i cant find terminal in spyder 5, i would want to get helped

Spyder-terminal sir, I did check it online and got the result, after doing
it as it says it is not in my panes section where it should be.
On Mon, 13 Jun 2022 at 18:11, Carlos Cordoba @.***>
wrote:

Hey @gamerzacc0 https://github.com/gamerzacc0, thanks for reporting. I
have some questions for you:

Are you referring to Spyder-terminal
https://github.com/spyder-ide/spyder-terminal?
How did you install Spyder?
Are you using Windows, Linux or Mac?

—
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/18270#issuecomment-1154604505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTQLMPUDM35GUI5T7ULUMDVO7L4RANCNFSM5YUJAZFA
.
You are receiving this because you were mentioned.Message ID:
@.***>

You have two options to use Spyder-terminal:

Use our Windows or Mac installer, which you can find here.

Create a new environment with conda-forge packages. For that, please close Spyder, open the Anaconda Prompt and run the following commands there:
 conda create -n spyder-cf -c conda-forge spyder spyder-terminal
 conda activate spyder-cf
 spyder

Let us know if that works for you.

Ok, I assume things are working as expected for you now. So I'm going to close this issue.


BUG: Add hover effect to all the images using Transition property of CSS

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I want to add hover effect to all the images that are present in the shopping section using Transition ,hover effects , zoom properties of CSS
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I would like to work on this project. Please assign it to me.

Iam also interested to work on this issue @arghadipmanna101 can you please assign me this issue under GSSOC'24.

Hello ! @arghadipmanna101  , I'm a GSSOC'24 contributor and I would like to work on this issue

@arghadipmanna101 sir, please assign me this task, i want to work on this issue.

@arghadipmanna101 sir , I'm grateful to you for assigning me the task ...I will be starting the work as soon as possible

@arghadipmanna101 sir , I've opened a pull request on the issue #481 , kindly check it and merge accordingly

@arghadipmanna101 , I have added hover effect to all the images using transition , hover effects , kindly check and merge #571 accordingly


Error Message: Upload failed: Integrity error: MD5 hash mismatch between the local copy and the uploaded copy.

Action: azureFunctions.deploy
Error type: Error
Error Message: Upload failed: Integrity error: MD5 hash mismatch between the local copy and the uploaded copy.
Version: 0.22.1
OS: darwin
OS Release: 19.5.0
Product: Visual Studio Code
Product Version: 1.45.1
Language: en

Call Stack
extension.bundle.js:281:31064
fulfilled extension.bundle.js:281:29201
processTicksAndRejections task_queues.js:85:5

Duplicate of https://github.com/microsoft/vscode-azurefunctions/issues/1983
As a workaround you can set "azureFunctions.suppressMd5Validation" to "true" in your VS Code settings


Keyless verification example is broken

Description
In Usage: https://github.com/sigstore/cosign/blob/main/KEYLESS.md#usage
$ COSIGN_EXPERIMENTAL=1 cosign verify gcr.io/dlorenc-vmtest2/demo
The following checks were performed on all of these signatures:
  - The cosign claims were validated
  - The claims were present in the transparency log
  - The signatures were integrated into the transparency log when the certificate was valid
  - Any certificates were verified against the Fulcio roots.
Certificate subject<EMAIL_ADDRESS>{"Critical":{"Identity":{"docker-reference":""},"Image":{"Docker-manifest-digest":"sha256:97fc222cee7991b5b061d4d4afdb5f3428fcb0c9054e1690313786befa1e4e36"},"Type":"cosign container image signature"},"Optional":null}

However, when I try this myself:
$ COSIGN_EXPERIMENTAL=1 cosign verify gcr.io/dlorenc-vmtest2/demo
error: fetching signatures: getting signature manifest: GET https://gcr.io/v2/dlorenc-vmtest2/demo/manifests/sha256-410a07f17151ffffb513f942a01748dfdb921de915ea6427d61d60b0357c1dcd.sig: MANIFEST_UNKNOWN: Failed to fetch "sha256-410a07f17151ffffb513f942a01748dfdb921de915ea6427d61d60b0357c1dcd.sig" from request "/v2/dlorenc-vmtest2/demo/manifests/sha256-410a07f17151ffffb513f942a01748dfdb921de915ea6427d61d60b0357c1dcd.sig".

Now that we have a demo automatically building and signing an image in GitHub Actions, should the keyless.md example show verifying that image instead?
$ COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/sigstore/cosign/github.com/sigstore/cosign/cmd/cosign:latest
Verification for ghcr.io/sigstore/cosign/github.com/sigstore/cosign/cmd/cosign:latest --
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - Existence of the claims in the transparency log was verified offline
  - Any certificates were verified against the Fulcio roots.
Certificate subject:  []
{"critical":{"identity":{"docker-reference":"ghcr.io/sigstore/cosign/github.com/sigstore/cosign/cmd/cosign"},"image":{"docker-manifest-digest":"sha256:d0c800c07eaca471b6e658132ce014aee88e1e7b21434294f80ea961bb797429"},"type":"cosign container image signature"},"optional":{"run_attempt":"1","run_id":"1432920006","sha":"bb05c81d02365f12d2df6a555071130568f85a65"}}

Makes sense, I bet that image got cleaned up.

Fixed by #2313


Adding option to send SMS

Hi,
it should be relatively easy to implement an option too send an SMS via the Gammu package. https://wammu.eu/gammu/
CU AssetBurned ;-)

Also would be great option!


Working for a company crashes lib.factions.so.js

RUNTIME ERROR
phoenix.js@home
getFactionRep: Invalid faction name: '
Stack:
<EMAIL_ADDRESS>rep [as rep]
<EMAIL_ADDRESS>lib.singularity.so.js:L30@alpha
phoenix.js:L54@async Module.main

the sf4 branch is soon-to-deprecated; in the middle of a refactor; the dev branch might treat you better. or it might not work at all.


Sorting: Implement Bucket sort in Java

https://en.wikipedia.org/wiki/Bucket_sort

Assign me this issue

Assign me this issue

Sure


Unknown lvalue 'WantedBy' in section 'Unit'

Hi there,
In this page have some instructions do replace After=network-online.target by WantedBy=cloud-init.service\\nAfter=network.service systemd-networkd-wait-online.service
But in systemd.service [UNIT] section is not allowed WantedBy tag. Should be Wants?
Also sed generating line as Wants=cloud-init.service\nAfter=network.service systemd-networkd-wait-online.service doens't work.
Should be bellow?
....
Wants=cloud-init.service
After=network.service systemd-networkd-wait-online.service
....

Thanks

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2821df0b-e273-692f-aa09-028b6f942a9e
Version Independent ID: a0b698f8-fb2c-5e5c-8b00-936f723df5cc
Content: Prepare Azure VM image for use with cloud-init
Content Source: articles/virtual-machines/linux/cloudinit-prepare-custom-image.md
Service: virtual-machines-linux
GitHub Login: @danis
Microsoft Alias: danis

@gucarreira Thanks for the feedback! We are currently investigating and will update you shortly.

@gucarreira Agreed.
WantedBy has to be used under [Install] section directive.
Wants under [Unit] service directive.
Looks like the document adds the wantedby under [Install] service directive.
I will assign this issue to the content author to investigate further and update the document as appropriate.

@danis please add your comments

@cynthn looks like @danis is not part of this repo anymore. Do you know who we can work with on this issue?

@danielsollondon can you jump in on this thread?

Looking at this now, i will come back in a couple of days.

@gucarreira - sorry for the delay in getting back to you. We have just checked, when you use the latest RHEL package, the code you refer to is now obsolete, the article has been updated to reflect this. Thank you for raising this, and apologies you hit this issue, please reach out if you have further issues.

Thank you @danielsollondon Greatly appreciated :)


Resource is not released

[X] I have verified there are no duplicate active or recent bugs, questions, or requests
[X] I have verified that I am using the latest version of Easy Video Player.
[X] I have given my issue a non-generic title.
[X] I have read over the documentation (before asking questions on how to do something).

Include the following:

Easy Video Player version: 0.3.0
Device OS version: 7.1
Device Manufacturer: OnePlus
Device Name: 3

The underlying TextureView seems not to be released upon destruction of the Activity.
I get the following stacktrace:
E/StrictMode: A resource was acquired at attached stack trace but never released.
See java.io.Closeable for information on avoiding resource leaks.
java.lang.Throwable: Explicit termination method 'release' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:180)
at android.view.Surface.setNativeObjectLocked(Surface.java:490)
at android.view.Surface.<init>(Surface.java:164)
at com.afollestad.easyvideoplayer.EasyVideoPlayer
                                 .onSurfaceTextureAvailable(EasyVideoPlayer.java:648)
at android.view.TextureView.getHardwareLayer(TextureView.java:389)
at android.view.TextureView.draw(TextureView.java:338)
at android.view.View.updateDisplayListIfDirty(View.java:16173)
at android.view.View.draw(View.java:16957)
[...]

This seems to be found by StrictMode.
You can get this exception in the sample by adding the following:
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    if (BuildConfig.DEBUG) {
        StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
                .detectAll()
                .penaltyLog()
                .penaltyDialog()
                .build());
        StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
                .detectAll()
                .penaltyLog()
                .build());
    }

    player = (EasyVideoPlayer) findViewById(R.id.player);
    assert player != null;
    player.setCallback(this);
    // All further configuration is done from the XML layout.
}

This even happens by explicitly calling release on the player:
@Override
protected void onDestroy() {
    super.onDestroy();
    player.release();
}

You shouldn't rely on onDestroy(), there are cases when it isn't used.
I always use this:
@Override
public void onPause() {
    super.onPause();
    if (isFinishing())
            player.release();
}
``2

Same error.

Sorry, I probably can't help you then.
Never experienced any problems in a few production apps that are using this.

Yes, it works without problems, I just wanted to notify you that this is a thing.


Trivial question: confirm mi_free() can/should be called and works on memory from mi_heap_alloc et al

To be clear, the heap set of APIs:
https://microsoft.github.io/mimalloc/group__heap.html
doesn't have free. And mi_free() in the basic function doc does not mention whether or not it's a suitable call for memory that originally came from a heap.

Having read the source code https://github.com/microsoft/mimalloc/blob/f2712f4a8f038a7fb4df2790f4c3b7e3ed9e219b/src/alloc.c#L119 I conclude that mi_free() is compatible with mi_heap_* because mi_malloc is mi_heap_malloc on the default heap singleton. Still, I +1 @rodgarrison's suggestion to update the documentation, it wasn't obvious at all.


tree.set(path, '')  doesn't work

I just found that setting a key with an empty string doesn't work.
tree.set('path', '123')
tree.get('path') === '123'
tree.set('path', '')
tree.get('path') === '123'

I find this rather cumbersome, because I do need to set the value to an empty string in some cases, and currently I'm forced to unset the attribute, which is not exactly what I want.
Is this to be expected?

This is definitely a bug @jpablo. I'll look to it asap.

This nasty bug has been fixed. A version 1.0.1 will ship tomorrow.


[BUG] DB transactions failing when logged in as other users in local dev

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When ghosting as a different user when running the app with the dev spring profile, queries from the frontend intermittently fail with frontend throwing or alerting a JSON unexpected EOF error. The backend logs show a DuplicateKeyException when trying to insert into the spring_session table.
Steps To Reproduce
In local environment with dev spring profile:

As default user, click around the app, doing things to trigger backend queries like viewing patient list, viewing result list, searching for patients, etc. Check the spring_session table and see that it's empty.
Ghost in as any user. Check that the access_token key has been set in local storage in your browser.

Click around the app again. Do this repeatedly until you get either an error toast or the Something went wrong :( error page. What you get will depend on how the frontend handles query errors for whatever component is being rendered. Check the spring_session table. It should have many rows for the user you are ghosted in as.
Use your tool of choice to delete all rows from the spring_session table. You should be able to refresh your page and see results. Clicking around the app some more will inevitably trigger an error again as the table is populated again.

Expected Behavior
Expect errors to not happen when using the app as intended.
Additional context
Once the access_token key is set in browser local storage, db transactions will start inserting rows in the spring_session table. A workaround is to delete all rows from this table whenever you get an error and refreshing the page. Or just avoid ghosting in as other users as much as possible.
Backend stack trace:
2022-05-04 10:53:36.181  INFO 2011 --- [onPool-worker-3] [Query: ] g.k.servlet.HttpRequestInvokerImpl       : Bad request: path was not "/schema.json" or no query variable named "query" given

java.util.concurrent.CompletionException: org.springframework.dao.DuplicateKeyException: PreparedStatementCallback; SQL [INSERT INTO simple_report.spring_session(PRIMARY_ID, SESSION_ID, CREATION_TIME, LAST_ACCESS_TIME, MAX_INACTIVE_INTERVAL, EXPIRY_TIME, PRINCIPAL_NAME) VALUES (?, ?, ?, ?, ?, ?, ?)]; ERROR: duplicate key value violates unique constraint "pk__spring_session"
  Detail: Key (primary_id)=(5855e155-7548-4707-b306-09ace02254eb) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "pk__spring_session"
  Detail: Key (primary_id)=(5855e155-7548-4707-b306-09ace02254eb) already exists.
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[na:na]
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[na:na]
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[na:na]
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[na:na]
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137) ~[na:na]

Somewhat related to #3134.
Potentially an issue with Spring Session, like https://github.com/spring-projects/spring-session/issues/1213 or something similar.
Does this issue have a priority label?

[X] I have added a priority label

Has issue been assigned to a team?

[X] I have added a team label

Tested this in my local and it no longer fails. Thanks for fixing!


Fetch type default option

Hi!
Could possibly JPA modeler contain option to make all unspecified Fetch Type make LAZY by default,
like it is done with Optional Return Type ?
E.g. if
Default fetch type is unspecified, then no changes is made to code generation
if Default fetch type = LAZY, then all relationships (OneToOne, ManyToOne, OneToMany, ManyToMany) with unspecified fetch type  generated witch fetch type=LAZY
and so with EAGER (altough i am need only LAZY by default)

From the JPA 2.0 spec, the defaults are like so:
OneToMany: LAZY
ManyToOne: EAGER
ManyToMany: LAZY
OneToOne: EAGER
*ToOne fetch set to EAGER is legacy from JPA 1.0
Currently all JPA  providers support LAZY associations (or  will simply ignore LAZY in case to Java EE environment or no weaving in Java SE occurs
So making default LAZY makes sense

Alternate enhancement ref :  https://github.com/jeddict/jeddict/issues/172

This functionality will be available only for OneToOne and ManyToOne.


Footer language option needs an icon

Something like this:

Otherwise it hard if you didn't know the other language.

Also If I change the language from the home screen it lands in the editor instead of keeping in the hoepage


[stable/atlantis] Updating AWS to not require 'credentials' for use with IRSA

Signed-off-by: Scott Crooks<EMAIL_ADDRESS>What this PR does / why we need it
Updates the AWS credentials field to be optional. This is needed since with IAM Roles for Service Accounts / Kube2Iam / KIAM, a set of static AWS credentials is not needed since you can use an IAM role as a credentials source, which means you would only need the aws.config section.
Specifially for IRSA, an associated service account annotation like so would work:
apiVersion: v1
kind: ServiceAccount
metadata:
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::AWS_ACCOUNT_ID:role/IAM_ROLE_NAME

Which issue this PR fixes
N/A. I ran into this personally, and it needed a fix.
Special notes for your reviewer:
I tested this out locally, and since it's just checking for the presence of aws.config and aws.credentials, this is just a fix release since current implementations should not be broken.
Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/mychartname])

@sstarcher @jeff-knurek Any comments?

/lgtm

/ok-to-test


KMA-49 - materialized view

This seeks to fix the query timeouts when looking for unscored content by using a materialized view.  Travis build #482 seems to have failed migrating to the test database, but I'm not sure where that database lives.
According to this materialized views are supported via a PostgreSQL extension, so maybe that extension is not on the test database that the staging environment is using? The migration worked fine in the staging database itself.

Pull Request Test Coverage Report for Build 486

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 97.934%

Totals

Change from base Build 475:
0.3%

Covered Lines:
575

Relevant Lines:
584

💛  - Coveralls


feat: add missing pki / pmi extension object identifiers

I know there is aversion among OpenSSL maintainers for including new object identifiers in OpenSSL's embedded database, but:

I plan (if not others as well) to submit PRs for OpenSSL to support some, if not all, of these extensions, and
These object identifiers are specified in ITU Recommendation X.509 (2019), so I think these object identifiers are exceptionally worthy of inclusion in the internal database, even if the extensions are never fully implemented or supported.

This pull request is ready to merge

Merged, thanks for the contribution.


Consider flow frame when receiving messages.

Consider times when credits are less than 0 rather than just == 0.
Check the flow frame if there is a delta in credits.
Returns Mono<Void> for addCredits since the work is scheduled on the dispatcher thread. Not a breaking change since AmqpReceiveLink is impl.
Add tests for ReceiveLinkHandler, ReactorReceiver, LinkHandler

/azp run java - servicebus - tests


Update event.md with updated flowchart diagram.

The old flowchart is missing two important events: group_unsubscribe and group_resubscribe.
The new flowchart includes group_unsubscribe and group_resubscribe.
Description of the Change: New/Updated Flowchart (with group_unsubscribe and group_resubscribe)
Reason for the Change: Missing Events in Flowchart
Link to Original Source: https://sendgrid.com/docs/API_Reference/Event_Webhook/event.html

Hello @anujs3,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

@anujs3 - thanks again for this! we host images in our repo. Can you add to this PR and upload it here: https://github.com/anujs3/docs/tree/patch-4/src/img (and name it email-event-flow.png) and then update the link in the events page to ![]({{root_url}}/img/email-event-flow.png "The flow of events and their categories")

@ksigler7 thank you!


[FilledInput] Update the background color to match the spec

Update the FilledInput component disabled and focused state to match with Material UI spec design guidelines.
Closes #12889.

@adeelibr Thanks


Improved jsonforms rendering of oneOf controls

title displayed, fixes #394
tab space indented

Towards #397

Before:

After:

I think this is an improvement.


Hello darshankawar,

          Hello darshankawar,

I am attaching the screenshots you requested. I will test with latest master in a while.
Thanks!

Originally posted by @mwolffalonso in https://github.com/flutter/flutter/issues/73874#issuecomment-760939004

Hi @vidhi002, share has been deprecated. share_plus is the recommended plugin to use. If you are facing any issues using share_plus, kindly report this on their repo.
Closing from here as this is not a flutter issue.
Thank you


Update hibernate-validator to 8.0.0.CR3

Updates org.hibernate:hibernate-validator from 6.2.4.Final to 8.0.0.CR3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.hibernate", artifactId = "hibernate-validator" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.hibernate", artifactId = "hibernate-validator" }
}]

labels: library-update, commit-count:1

Superseded by #1580.


pretrained weights

i have downloaded the [ResNet101v1, InPlace-ABN sync] weight, which is called resnet101.pth.tar.
But i found the weight click 'Download' you provided in Readme is called resnext101_ipabn_lr_512.pth.tar.
And the code need resnet101_iabn_sync.pth
So, which one is correct?

Hello, sorry for the error.
We used resnet101_iabn_sync.pth, there is an error in the link in the Download button.

Hello, i have a question about the experimental results.
i run the task15-5, after learning the 5 classes at step 1. the mIoU of 16-20 classes is 33.9%.
I want to know if there is a problem with the setup, besides the weakly-- change it to True when step >0. Is there anything else that needs to be modified in your code.
Lastly, how can I evaluate the performance of the model? Because i find after running step 1, the code did not evaluate all the classes (step 0 and step 1).
Looking forward to your reply， thanks.

Dear @Liuhao-128,
It's a while I don't run the code, but I'm pretty sure it evaluate on all the classes after step 1.
It is strange you don't get good performances. Can you please provide the script you're using for training?

I have the similar problem. When I ran the task 10-10, the mIou of step 0 was 57% and 55% for step 1. My script is following:
python -u -m torch.distributed.launch --nproc_per_node=1 run.py --num_workers 1  --name Base --step 0 --lr 0.005 --bce --dataset voc --task 10-10 --batch_size 12 --epochs 30 --val_interval 2

and
python -u -m torch.distributed.launch --nproc_per_node=1 run.py --num_workers 2  --name 10-10_disjoint --step 1 --weakly --lr 0.0005 --alpha 0.5 --step_ckpt checkpoints/step/voc-10-10/Base_0.pth --loss_de 1 --lr_policy warmup --affinity --dataset voc --task 10-10 --batch_size 12 --epochs 40

Hey @adaxidedakaonang !
My first thought is regarding the batch size. I was using 24, while in your commands you're using 12, without changing learning rate or number of epochs. If you have enough resources, you may try with BS=24, otherwise, you may use BS=12 doubling the number of epochs and halving the learning rate (however, I don't guarantee it'll replicate my results, that were run with a different config).
Hope it helps.

Sorry for the bother again, but I would like to know whether you have the trained model at step 0, 10-10? I use BS=24 and for the offline model it gave me the mIoU 76.6%, which is good enough, but for the 10-10 task, I got 57% and 55% respectively, I wonder if anyone can upload trained model at step 0? Thank you very much.

Looking at the previous scripts, it seems that you are running the job with lr=0.0005, while I used 0.001, as you can see here.
I'm really sorry but I don't have the checkpoints since I changed position and I've no longer access to the workstations used for this paper.

Hello, sorry for the error. We used resnet101_iabn_sync.pth, there is an error in the link in the Download button.

Hello! Thank you for the good work!
Where can I get the pretrained weights resnet101_iabn_sync.pth?
Thank you!


new action type for Menu RPC responses

Vuu defines a ViewPortAction class. There are three subclasses of VuuPortAction that the UI currently handles

NoAction ("NO_ACTION")

OpenDialogViewPortAction ("OPEN_DIALOG_ACTION")

CloseDialogViewPortAction ("CLOSE_DISLOG_ACTION")
I would like to propose a new Action, ShowNotificationAction, which might look something like this

case class ShowNotificationViewPortAction( notificationType:String, message: String, title: String ="") extends ViewPortAction

where notificationType may be "error", "success",  "warning" or "info"
message is the message to display to the user e.g "Trade xyz has been cancelled"
title optional, client will default it to simply "Success", "Error" etc if not provided
What I find slightly confusing about the existing declarations is that messages like ViewPortRpcFailure also extend ViewPortAction
I see the action as an optional part of the payload on either an RPC success response or an RPC error response (where NO_ACTION is assumed as the implicit action if none provided)
This will allow us to display a notification to a user, indicating the success or otherwise of a serverside action initiated by the user. We can do this with generic code on the ui, driven by the server.

Might be best to wait for new RPC message type defined as outcome as https://github.com/finos/vuu/discussions/1447


Import of new feed into editor does not contain any schedule exceptions

 Issue by evansiroky
Thursday May 10, 2018 at 17:43 GMT
Originally opened as https://github.com/catalogueglobal/datatools-ui/issues/138

When importing a feed into the editor, the schedule exceptions are empty even if the fetched or uploaded feed has calendar_dates.txt entries.

 Comment by landonreed
Thursday May 10, 2018 at 17:48 GMT

This is currently by design.  The original gtfs editor never dealt with calendar dates because some agencies don't really use them as exceptions, but rather to explicitly define the dates of operation.  This has been brought up as a bug in the past, so it is worth considering possible conversion strategies from calendar dates to schedule exceptions as a future feature.

 Comment by evansiroky
Thursday May 10, 2018 at 17:58 GMT

This is a 100% a bug.  The current way of importing the data into the editor does preserve the calendar.txt entries, but completely ignores the calendar_dates.txt entries so all of those affected dates are not taken into account.  This will result in wrong data being produced.


[QUERY] Azure.Security.KeyVault.Secrets accepts ServiceClientCredentials

Query/Question
How can we help?
Is it possible to let Azure.Security.KeyVault.Secrets accept ServiceClientCredentials besides TokenCredential as auth method?
We get blocked in upgrading from Microsoft.Azure.KeyVault to Azure.Security.KeyVault.Secrets.
Azure.Security.KeyVault.Secrets uses TokenCredential which doesn't support use MSI resource ID.
see related: https://github.com/Azure/azure-sdk-for-net/issues/20651

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

TokenCredential is the base for all authentication in the Azure SDKs. @schaabs, @christothes are there definitely plans to allow for user managed identities, or at least add a TokenCredential to Azure.Identity to support it outside of DefaultAzureCredential?

I believe what @karataliu is referring to is the ability for Azure.Identity to support specifying user specified Managed Identities by Resource Id rather than Client Id. This is planned for a future version of Azure.Identity, but we don't yet have a specific release targeted.

Given this is an auth issue I'm transferring it as a feature request for Azure.Identity.

duplicate of #20651

@christothes per latest update there is no fix for the issue. What about switching to ServiceClientCredentials? TokenCredential is not supposed to functioning.

Could you please reopen this issue? The new Azure.Security package is not usable.

Hi @karataliu - It's not possible for the SDK to start accepting ServiceClientCredentials in addition to TokenCredential. TokenCredential is the common abstraction that is supported throughout all client SDKs, so such a change would affect every other client.

@christothes
Then it is wrong to deprecate below package when the new keyvault package Azure.Security.KeyVault.Secrets is not functioning.
https://www.nuget.org/packages/Microsoft.Azure.KeyVault/3.0.5?_src=template
Can you bring back the support for Microsoft.Azure.KeyVault please?


Override and pin braces package version to 3.0.3 to override vulnerab…

…le version

@gunnigylfa  Can we merge this ?

Sorry, forgot to merge this. Has since been resolved with #115


[th2-3175] update common-j version from 3.25.1 to 3.33.0

Lets update bom version too alongside with common


Refactor rubocop.yml files to enable new cops and remove unnecessary config

See recent commit dd52234 on the NerdDice.com repo for an example of this refactoring being performed on a Ruby on Rails project with Minitest instead of RSpec.
We want to modify the rubocop.yml to enable new cops by default and reduce the size of the .rubocop.yml file. We will exclusions or disabling of any unwanted new cops if needed and try to keep the rubocop.yml confined to tracking non-default behavior or behavior that requires explicit configuration.

Resolved by #49


Fork revisions and import from code

This PR implements an endpoint (and the minor UI necessary) to fork a revision and optionally its ancestors. This can be used to create templates to clone/fork.
Additionally it adds an endpoint to import components from arbitrary code. The endpoint is not exposed via public tRPC api yet because it could be misused.
Potentially you could expose this only to admins etc. to allow other applications of yours to create components programmatically.

lgtm thnx


added support for defining prefixes as : in the fs

Great project. However, we need to be able to add support for prefixes without defining it for all repositories.
Now I can do:
$ skopeo copy --format v2s2 --dest-compress docker://docker.io/foo/bar:latest dir:images/foo:bar/latest

And I can pull it as normal:
$ docker pull myregistry/foo/bar:latest

I'm afraid I don't fully understand what this PR brings... Could you explain a bit more? Thank you!

When using helm charts, plain old regular yml files, etc. with Kubernetes, they have the prefix (if any) already defined. One definition might be:
image: aaa/xxx:v1.0.0

Another:
image: bbb:lastest

So for using static-container-registry with Kubernetes resources, without manually altering all charts etc., one needs the possibility to define the prefix, or remove it, per image.

When using helm charts, plain old regular yml files, etc. with Kubernetes, they have the prefix (if any) already defined. One definition might be:
image: aaa/xxx:v1.0.0

Another:
image: bbb:lastest

So for using static-container-registry with Kubernetes resources, without manually altering all charts etc., one needs the possibility to define the prefix, or remove it, per image.

Ah, I think I get it now. In the project for which this tools was initially developed we have something similar, but there we keep all images that have a different prefix in other directories (could be subdirectories of your images/), then run this tool multiple times, once for each subdirectory, with the appropriate prefix. Finally, all resulting configs are included in the nginx config.

Ah, I think I get it now. In the project for which this tools was initially developed we have something similar, but there we keep all images that have a different prefix in other directories (could be subdirectories of your images/), then run this tool multiple times, once for each subdirectory, with the appropriate prefix. Finally, all resulting configs are included in the nginx config.

Ahhh, I see. Yes, that is possible as well. That approach might require more steps to automate, but I think I could make that work for us as well.

Ahhh, I see. Yes, that is possible as well. That approach might require more steps to automate, but I think I could make that work for us as well.

Fair enough :) Seems like a useful feature.
Could you add some tests to the suite to validate the changes? There may be a way to calculate the sname once instead of having multiple replace calls.
Looks like TravisCI isn't picking up the PR either, and DockerCloud tests is broken sigh. I'll need to look into that.

Fair enough :) Seems like a useful feature.
Could you add some tests to the suite to validate the changes? There may be a way to calculate the sname once instead of having multiple replace calls.
Looks like TravisCI isn't picking up the PR either, and DockerCloud tests is broken sigh. I'll need to look into that.

Could you add some tests to the suite to validate the changes? There may be a way to calculate the sname once instead of having multiple replace calls.

This is my first experience with Python, hardly coded a single line outside of "hello worlds". The "sname" was more a proof of concept, I do not know if that is the best name either.
I'll see what I can manage.

Could you add some tests to the suite to validate the changes? There may be a way to calculate the sname once instead of having multiple replace calls.

This is my first experience with Python, hardly coded a single line outside of "hello worlds". The "sname" was more a proof of concept, I do not know if that is the best name either.
I'll see what I can manage.


Create API client docs or guide

We need some API client docs.  This would be a place to list gitea-compatible swagger or openapi client libraries, gitea-specific clients, and client developer docs, hints, tips, or suggestions.
As an example use case, I just now spent the last 24 hours trying to get the Authorization: header to work from an openapi client.  I wound up duplicating #3673 with #4243, but only after grepping around and finally finding this: https://github.com/go-gitea/gitea/blob/6efdcaed86565c91a3dc77631372a9cc45a58e89/modules/auth/auth.go#L47  For lack of any better place to put it, I've put a mini-HOWTO into the comments of #4243.  A google search right now for site:docs.gitea.io authorization turns up nothing relevant.
I'm assuming client docs or guides should go into the ./docs tree.  If there are no objections, I'll start a single page for now,  e.g. ./docs/content/doc/advanced/api.XXX.md, later promoting to ./docs/content/doc/api/* as the content accumulates.
Pinging @daviian because #4037 provided most of the API docs we have so far.  ;-)

@stevegt I don't have any complaints about creating a lot more documentation! Unfortunately we don't shine with our documentation 😄
You are right, documentation go under docs/content/doc/...
I'd suggest to put documentation that describes how to use the gitea frontend under a new folder user-guides and create an api-authentication.md file.
To enable the new User Guide subsection you've to create the user-guide.en-us.md - compare with the other subsections.

@stevegt I am new to gitea project, and I'd love to help working on the API doc. Any sugestion on how to start?

@tungsheng see https://github.com/go-gitea/gitea/issues/4234#issuecomment-397789976
the swagger specification for /users/{username}/tokens is wrong.

@tungsheng I should get a chance to start the API doc files this week;  I'll ping you once I have them started.  In the meantime, take a look at https://github.com/go-gitea/gitea/blob/master/CONTRIBUTING.md if you haven't already.

@tungsheng If you're not yet sure that your branch is ready for a PR, you can push your branch to your fork on github and then, in an issue comment, provide a link to your commit for discussion.

@stevegt here are the commits in my branch, I have tested locally. Please advise on how to improve it further.
https://github.com/tungsheng/gitea/commits/feature/user_guides_doc

@tungsheng Thank you for getting that started!  I've migrated in additional content and submitted as PR #4306.

@stevegt Awesome!! Thank you for helping me learn to contribute!


overriding "_" global helper

Hi, I'm writing a small package to make it easy to write translation files. It "should" work, by intercepting
all calls to the global helper "_" and adding the (key, tr) tuple to a collection and use this collection to crowd source the translation.
My problem is I'm not able to override the "_" helper.
My naive approach would be to register again the "_" helper in my package (I18nInline) .
Template.registerHelper "_", (key, args...) ->
  I18nInline.tr(key)

But this does not work. I've also tried to unregister the helper first with the same result. My package is loaded after the TAPi18n package, but somehow, my helper is never taken into consideration.
I guess I'm missing something in the loading order, but I can't pinpoint the problem.
Basically I'd like a plug-in to extend the TAPi18n package in a transparent way, use it in development and remove the plugin in production. All this without changing the code of the rest of my application.

Try UI.registerHelper instead of Template.registerHelper?

nope, same problem ... I looked at blaze code and it should be Blaze.registerHelper

I managed to do it in the end :
The problem was in the initialization, as tap:i18n register all its helpers at Metero.startup
Meteor.startup  =>
  console.log "Override tap:i18n '_' helper"

  Template.deregisterHelper "_"
  Template.registerHelper "_", (key) ->
    console.log "inline-tapi18n helper"
    I18nInline.tr(key)


5.1.1

1. User Story
As a user....
2. Acceptance Criteria

tbd
tbd
tbd

3. Related Issues

[ ] Create all related issue for this issue, label them, assign them, and move them to the right projects.
[ ] tbd
[ ] tbd

4. Wire Frame
Add:

Screenshot
Figma link to specific element

5. Design

https://www.figma.com/file/ERJ7bYyBWdqJw1ID9nZJ2N/Designs?node-id=8465%3A13122

@steffenkrogmann I might need some clarity on this page.


SQL predicate pushdown in dask.DataFrame

I've been hoping for something like predicate pushdown in the spark dataframes. In spark, if I back a dataframe with, say, a redshift database and start doing transforms, those transforms are executed in the SQL backend as long as possible before needing to unload the data. Example
I know I can write Python-code against a SQL-database with blaze, but the blaze API is not the dataframe API. Does a DataFrame API + blaze-driven computation engine exist?
If not, there's some gray area about whether this belongs in blaze or dask (#296) I suppose.
Something like
import dask.dataframe as dd

data = bz.data(sqlalchemy_metadata)
table = data.table_name

data_frame = dd.from_blaze(table)

# computations done in database via blaze
# API provided by dask
# groupby, filter, etc. can all be pushed down until a transform that triggers an UNLOAD
data_frame.groupby([data_frame.x, data_frame.y]).z.mean().head()

I've started and stopped on doing this a few times now given the state of blaze, dask, and ibis.
In scope? Any takers?
Overlap with #943 and #1181

I appreciate and agree with the value of predicate push down.  We can do this for a few situations (generally directly after load) using Dask's optimizations (to be clear, one would have to build these).  Generally though Dask's abstraction doesn't lend itself to doing high level optimizations well.  It chose the "flexible" pill rather than the "query optimizer" pill.
Generally the solution to this is "write smarter dask.dataframe queries".  For example the dd.read_parquet method takes in optional filters to apply when reading.  We don't optimize this after the fact, but do allow users to fine-tune their own optimizations.  This is obviously not as good, but a decent release valve.
Dask driving Blaze driving a database is strictly out of scope.

Sure. That's reasonable, and kind of what I figured.
The reason I like the interactive approach is I can peek while I'm building up the expression graph or do some plotting without having to commit to taking over the data/being responsible for partitioning and thinking about it. Just think about visualize == explain :).
For smarter filters at read, I'll just write the SQL.
I think I'll just stick with my homegrown solution, leveraging blaze until I have a better idea.


fix: upgrade version of gocardless-nodejs

Currently this package uses<EMAIL_ADDRESS>which has a dependency on<EMAIL_ADDRESS>This version of got has a security vulnerability that has been discovered (full details here).
Upgrading to<EMAIL_ADDRESS>would allow this package to inherit the patched version of<EMAIL_ADDRESS>closes https://github.com/gocardless/react-dropin/issues/32

I'm also waiting on this - seems like Dependabot has opened a PR which also closes off a vulnerability with crypto-js https://github.com/gocardless/react-dropin/pull/34


NER tagger dependencies

TODO for the NER tagger dependency

Create a symbolic link to the .tagger and .jar file, store at /usr/local/bin
Have Travis download the dependencies and symlink

Here is an example from another we repo we have that requires binary dependency: https://github.com/gios-asu/pdf-generation-experiment/blob/master/index.php
$snappy = new Pdf('/usr/local/bin/wkhtmltopdf');

We then have instructions in our README file:
1.  Download the binary: http://wkhtmltopdf.org/downloads.html
2.  Put it in `/usr/local/bin`

or we could create a vendor folder and put the jar's we need in there.

Just dont call it vendor because composer uses that folder already

I helped out a bit. Created a branch off ian-devel, and made the following changes:

Used configuration utility to make root path to Stanford NER library configurable.
Travis: Fetch Stanford NER library and cache it. Save it to ./lib wrt project path.
Travis: Use Java 8 OpenJDK instead of default Java 7. Used linuxbrew to achieve this.
Travis: Cache ~/.linuxbrew so we don't have to keep downloading linuxbrew.
Travis: Produce a config.conf file. The config file produced in Travis tests mainly concerns the NER tagger at this point. The SolrApiUrl entry is a placeholder.

If @rraub or @idmontie wants to review my changes, you can find it here.
I went ahead and merged my change into ian-devel after coordinating with @iajohns1


Validate legacy_version

The spec says that a client MUST set legacy_version to TLSv1.2, and
requires servers to verify that it isn't SSLv3.
Fixes #6600

Pushed. Thanks.


Cannot build phantomjs 2.0 on Ubuntu 15.04(Vivid Vervet)

This is the tail of the terminal output when it fails.
'Makefile.JavaScriptCore.Target:87005: recipe for target '.obj/runtime/JSObject.o' failed
make[2]: *** [.obj/runtime/JSObject.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/bonnie/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore'
Makefile.JavaScriptCore:94: recipe for target 'sub-Target-pri-make_first-ordered' failed
make[1]: *** [sub-Target-pri-make_first-ordered] Error 2
make[1]: Leaving directory '/home/bonnie/phantomjs/src/qt/qtwebkit/Source/JavaScriptCore'
Makefile:87: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed
make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2
'
It looked similar to what was reported for Fedora 22, but when I tried including the snippet they used to fix the problem, it did not resolve the issue.

I'm afraid you've cut off the build log below the actual error - all of those errors are just fallout from the real problem.
Please update to the latest git sources (either 2.0 or master branch), and then do
git clean -dxf
./build.sh --confirm --silent --jobs 1

If it still fails, provide at least 50 lines of build log.  (Look for the first appearance of the token error: , that will probably indicate the real problem.)


add support for connect(2)

See:
<EMAIL_ADDRESS>and
https://git.kernel.dk/cgit/linux-block/log/?h=for-5.5/io_uring-post
(top two patches). Please test it!

I'm closing this as it's supported, I would however appreciate if you actually test it.


Expired domain not being caught & allow_domain not being run on renewal.

Two related issue's we've been experiencing for automated cert renewals:
-Auto-ssl thinks that a domain is valid, whereas the whois shows it expired several months ago and is in redemption status.
-allow_domain doesn't appear to run for automated renewal.
Expired domain (does not resolve anywhere)
WHOIS data:
Registry Expiry Date: 2018-05-22T01:19:25Z
Domain Status: redemptionPeriod https://icann.org/epp#redemptionPeriod
2018/07/06 17:58:11 [error] 3233#3233: *42151 [lua] lets_encrypt.lua:41: issue_cert(): auto-ssl: dehydrated failed: env HOOK_SECRET=74b9b9da3dc257b6f00948fc00b9117beab9fb356fb129a22dd6893c18a9cca3 HOOK_SERVER_PORT=8999 /usr/local/openresty/luajit/bin/resty-auto-ssl/dehydrated --cron --accept-terms --no-lock --domain www.expireddomain.com --challenge http-01 --config /etc/resty-auto-ssl/letsencrypt/config --hook /usr/local/openresty/luajit/bin/resty-auto-ssl/letsencrypt_hooks status: 256 out: # INFO: Using main config file /etc/resty-auto-ssl/letsencrypt/config
Processing www.expireddomain.com
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Aug 6 00:52:58 2018 GMT (Less than 30 days). Renewing!
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting authorization for www.expireddomain.com...
+ 1 pending challenge(s)
+ Deploying challenge tokens...
+ Responding to challenge for www.expireddomain.com authorization...
Invalid challenge: DOMAIN=www.expireddomain.com RESPONSE={
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:acme:error:dns",
"detail": "DNS problem: NXDOMAIN looking up A for www.expireddomain.com",
"status": 400
},
"uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/bP_FGFj0H6027YXEVXwUTr0hgPYU3p4ux70J03YgJcg/5508927882",
"token": "xBzqCypg7iDi6AUTXlmc65C8MtifK14wAQOjh76Z4ok",
"keyAuthorization": "xBzqCypg7iDi6AUTXlmc65C8MtifK14wAQOjh76Z4ok.BmCf6H2DAkLb8K_367ROMmY9nfcTaEk0ovuF_zhtU1M",
"validationRecord": [
{
"url": "http://www.expireddomain.com/.well-known/acme-challenge/xBzqCypg7iDi6AUTXlmc65C8MtifK14wAQOjh76Z4ok",
"hostname": "www.expireddomain.com",
"port": "80"
}
]

Allow_domain doesn't appear to run on automated renewals
-This is a problem when a domain has moved to another provider and no longer resolves to our servers
-If allow_domain was run on automated cert renewals, it would also solve the expired domain problem, because our allow_domain script checks for DNS resolution. Which obviously fails, as reported by letsencrypt.

I had the same issue as we go through a lot of domains and added the code below to the function renew_check_cert in renewal.lua to check the domain before allowing it. Additionally I also delete expired domains to avoid it happening every time.
  local allow_domain = auto_ssl_instance:get("allow_domain")
  if not allow_domain(domain) then
    ngx.log(ngx.NOTICE, "auto-ssl: domain not allowed - not renewing - ", domain)
    return
  end```

Thanks @brianlund.
Would be sweet if the renew_check_cert was configurable to avoid having to maintain our branch.

No problem @edeis53
I have been meaning to make a pull request with this and the delete expired certs support, I’ll see if I can’t get around to it.

@brianlund
Is it possible to remove domains on DNS error on renew? Details at #173

@prionkor what we do is delete certificates for domains that fail to renew for whatever reason. I'll see about adding a PR.

@prionkor does this not address your issue? https://github.com/GUI/lua-resty-auto-ssl/pull/128

I think this should hopefully be resolved in v0.13.0 between the combination of #173 and #128. Sorry for the long delay in addressing this! So I'm going to close this, but let me know if there were still any outstanding issues with the behavior in the new release.

Installed and testing now! thanks so much for merging and releasing.


Closing + reopening the Z7 window makes the BBT menu disappear on macOS

Debug log ID
can’t send
What happened?
Hi,
I don’t remember if this was discussed already, but the BBT menu disappears when closing+reopening the Zotero 7 window on macOS. This is actually pretty similar to issue 8 from the zotero-open-pdf plugin. I’ve searched the issues in the BBT repo and can’t find any reference to this behavior.
If this problem is caused by Zotero still being in beta feel free to close the issue. I haven’t sent a bug report as the menu disappears, so I’m not sure how should I do it when reproducing the bug.
Thanks again for the hard work on BBT.

PS: If the Debug Log menu does not appear, or it does not send the debug log
A fallback option is available under "Help" > "Send debug log to file.io".

I’ve just tried this but the "Send debug log to file.io" menu disappears too!

That disappears 15 seconds after load has succeeded. A new build will drop here in 10 minutes or so.

Seems to be working fine now! Thank you!


Update finance team

Remove access for Ade and Tony, and add Brian and Jane.

@jakemulley / @davidkelliott can one of you run this once it's approved?


HLS delivery

Hello I want to use RTMP to publish stream and HLS for delivery but I could not figure it out. I tried transcoding rtmp with ffmpeg but I could not play it for example on an iphone.
Can someone help me to publish by rtmp and deliver with HLS?

Definitely need more information.  What's your configuration file look like?  Also, are you able to play it from a browser? (this would use video.js or maybe hls.js)  What endpoint are you trying to connect to?

Hello I want to use RTMP to publish stream and HLS for delivery but I could not figure it out. I tried transcoding rtmp with ffmpeg but I could not play it for example on an iphone.
Can someone help me to publish by rtmp and deliver with HLS?

Hi, see my config below, I use this to recieve an RTMP stream from OBS, transcode into three qualities and then play over HLS in a browser:
listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;

vhost SecretPasswordVhost {
    gop_cache       off;
    queue_length    10;
    mr {
        enabled     off;
    }
    mw_latency      100;
    transcode {
        enabled     on;
        ffmpeg     ffmpeg;
        engine ff {
            enabled         on;
            vfilter {
                vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease;
                loglevel       debug;
            }
            vcodec          libx264;
            vbitrate        4500;
            vfps            60;
            vwidth          0;
            vheight         0;
            vthreads        4;
            vprofile        high;
            vpreset         superfast;
            vparams {
                g       120;
                tune    zerolatency;
                vlevel  4;
            }
            acodec          aac;
            abitrate        256;
            achannels       2;
            aparams {
            }
            output          rtmp://<IP_ADDRESS>:[port]/[app]?vhost=[vhost]-HLS/[stream]_1080-60fps;
        }

        engine ff {
            enabled         on;
            vfilter {
                vf scale=w=1280:h=720:force_original_aspect_ratio=decrease;
                loglevel       quiet;
            }
            vcodec          libx264;
            vbitrate        4000;
            vfps            30;
            vwidth          0;
            vheight         0;
            vthreads        4;
            vprofile        high;
            vpreset         superfast;
            vparams {
                g       60;
                tune    zerolatency;
                vlevel  3.1;
            }
            acodec          aac;
            abitrate        256;
            achannels       2;
            aparams {
            }
            output          rtmp://<IP_ADDRESS>:[port]/[app]?vhost=[vhost]-HLS/[stream]_720;
        }

        engine ff {
            enabled         on;
            vfilter {
                vf scale=w=640:h=360:force_original_aspect_ratio=decrease;
                loglevel       debug;
            }
            vcodec          libx264;
            vbitrate        1000;
            vfps            30;
            vwidth          0;
            vheight         0;
            vthreads        4;
            vprofile        high;
            vpreset         superfast;
            vparams {
                g       60;
                tune    zerolatency;
                vlevel  3.1;
            }
            acodec          aac;
            abitrate        128;
            achannels       2;
            aparams {
            }
            output          rtmp://<IP_ADDRESS>:[port]/[app]?vhost=[vhost]-HLS/[stream]_360;
        }
    }
}

vhost SecretPasswordVhost-HLS {
    gop_cache       off;
    queue_length    10;
    min_latency     on;
    mr {
        enabled     on;
    }
    mw_latency      100;
    hls {
        enabled         on;
        hls_on_error    disconnect;
        hls_fragment    4;
        hls_window      32;
        hls_path        /var/www/video;
        hls_dispose 1;
        hls_m3u8_file   [app]/[stream].m3u8;
        hls_ts_file     [app]/[stream]-[seq].ts;
    }
}

This config produces HLS playlists (.m3u8) and video fragments (.ts) inside /var/www/video
Three playlists are made, each one uses different transcoding parameters of above, mainly the resolutions change from 1080, to 720, to 360.
You would stream over RTMP using the below settings:
Server: rtmp://<domain name>/ingress?vhost=SecretPasswordVhost
Stream Key: StreamKey
ingress fills the space of [app] in the above config
StreamKey fills the space of [stream] in the above config.
SecretPasswordVhost fills the space of [vhost] in the above config. This part is for security, the StreamKey is not secure because it can be inferred from the URL the user sees, the 'vhost' parameter is normally inferred from the actual domain name that you stream to, but in this case I've defined it manually and used it as a form of security, it's probably not very good but it prevents random people from streaming to your server without whitelisting IPs.
Your web server should server the directory /var/www/videos/ to https://<domain name>/videos and then your website should load the playlists:

https://<domain name>/videos/ingress/StreamKey_360.m3u8
https://<domain name>/videos/ingress/StreamKey_720.m3u8
https://<domain name>/videos/ingress/StreamKey_1080-60fps.m3u8

You can load these playlists using a video player that supports HLS. In iOS the <video> tag does this natively, for everyone else you can load an external player like Video.JS, I suggest Oven Player.
HLS also supports a Master Playlist which points to the other three playlists and will auto-select one based on pre-determined bandwidth. SRS can't generate this Master Playlist currently but you can serve one statically, this is what it would look like:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=16000000,RESOLUTION=1920x1080,FRAME-RATE=60.000
/videos/ingress/StreamKey_1080-60fps.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=6400000,RESOLUTION=1280x720,FRAME-RATE=30.000
/videos/ingress/StreamKey_720.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=1600000,RESOLUTION=640x360,FRAME-RATE=30.000
/videos/ingress/StreamKey_360.m3u8

Hi, thanks for your example @Baa14453  it works really well :)
I would like to inject a custom master playlist into OvenPlayer but I don't understand how I can do it.
Like SRS can't generate this master playlist with the bandwidth info, how can I bypass it and inject my custom master playlist like in your example?

Hi, thanks for your example @Baa14453 it works really well :)
I would like to inject a custom master playlist into OvenPlayer but I don't understand how I can do it.
Like SRS can't generate this master playlist with the bandwidth info, how can I bypass it and inject my custom master playlist like in your example?

Assuming your streamkey or app name never changes (.e.g you always use the same URL when you stream), then you can just create a static master playlist and serve it from a web-server, then tell OvenPlayer to load the Master Playlist as a source e.g.
Create MasterPlaylist.m3u8 and place it in your web directory e.g. /var/www/videos/
Inside it place the URLs for the three HLS playlists you are generating:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=16000000,RESOLUTION=1920x1080,FRAME-RATE=60.000
/videos/ingress/StreamKey_1080-60fps.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=6400000,RESOLUTION=1280x720,FRAME-RATE=30.000
/videos/ingress/StreamKey_720.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,CLOSED-CAPTIONS=NONE,BANDWIDTH=1600000,RESOLUTION=640x360,FRAME-RATE=30.000
/videos/ingress/StreamKey_360.m3u8

In OvenPlayer, point the source to your master playlist: https://<domain name>/videos/MasterPlaylist.m3u8
When using a master playlist, OvenPlayer will automatically load the resolution based on your internet speed.

👍 @Baa14453 Thanks.


Trackpad scrolling inertia no longer works

Hi, love the app, thanks.  The only issue I've seen so far is that trackpad scrolling inertia is disabled when the app is running.  Closing the app restores trackpad scrolling inertia.

Hi, @davidrobertson!
Have you checked the scrolling settings for trackpad? It sounds like linear scrolling has been enabled for trackpad.

If that's not the case, it would be helpful if you attach your configuration file. You can find it by clicking Config → Reveal in Finder:

Yes I've messed with that setting, disabling it (unchecking) also disables inertia.
The default trackpad scrolling behavior is what's wanted, not linear (by line / pixel).
The contents of my linearmouse.json file are:
{   "$schema" : "https:\/\/app.linearmouse.org\/schema\/0.7.1-beta.1",   "schemes" : [     {       "buttons" : {         "universalBackForward" : true       },       "if" : {         "device" : {           "productName" : "USB Receiver",           "productID" : "0xc539",           "category" : "mouse",           "vendorID" : "0x46d"         }       },       "pointer" : {         "acceleration" : 0,         "speed" : 0.4,         "disableAcceleration" : false       },       "scrolling" : {         "reverse" : {           "horizontal" : false,           "vertical" : true         },         "distance" : 3       }     },     {       "buttons" : {         "universalBackForward" : true       },       "if" : {         "device" : {           "productName" : "Apple Internal Keyboard \/ Trackpad",           "productID" : "0x342",           "category" : "trackpad",           "vendorID" : "0x5ac"         }       },       "pointer" : {         "acceleration" : 0.875,         "speed" : 0.0689655172413792768,         "disableAcceleration" : false       },       "scrolling" : {         "distance" : "auto"       }     }   ] }

Glad you got it fixed! Linear scrolling disables scrolling inertia by design.
Feel free to reopen this issue if you have further questions :)

I've reproduced it, will fix it soon.
For the moment, you may manually remove
"distance": "auto",

and reload the configuration.

  Thanks!


DeepLy Installation

This project seems really interesting but I wasn't able to test it on my web server.
I have a virtual server with Plesk 12.5 and I tried to follow the directions on https://docs.plesk.com/en-US/12.5/administrator-guide/website-management/websites-and-domains/web-applications/managing-php-project-dependencies-with-composer.74969/ but without good results.
Can you tell me how I should proceed, step by step, starting from the DeepLy-master.zip file?

Hi, I will reply tomorrow.

Hello,
there are two ways.
The fast and lazy way: Download the code as a .zip file, then extract it loally on your computer and upload all files to your web server.
The better way: I belive the problem Plesk has is that in your PHP project you need to have a `composer.json´ file that tells Composer which dependencies (DeepLy in this case) your project has. So I assume you have to create one on your local computer, upload it to your web server and move it to your HTML / public directory. The content of the file may look like this:
{
  "require": {
    "chriskonnertz/deeply": "^1.4"
  }
}

(More details: https://getcomposer.org/doc/01-basic-usage.md#composer-json-project-setup )


Last index in execute args is always null

I'm overriding the execute method to filter the query, just like in the documentation, but the last argument in args is always null. The documentation says that we can do args.pop() to get the query argument (assuming a route like help/:query), which makes sense, but since the last argument is always null, the pop just returns null.
I traced the issue to the route.exec call in _extractParameters so it seems that the regex used to extract the params always returns a null at the end. I can write a workaround for this in my overriding execute method but it seems incorrect for a null to be there.
On a side note, if you add an extra parameter to your route argument list, you get the null but any other extra parameters are undefined. So that null is passed on.
routes: {
    'help/:query': 'help'
},
help: function (query, nully, undef) {
    console.log(nully === null); // true
    console.log(undef === null); // false
    console.log(undef === undefined); // true
}

Stumbled across same issue, opened pull: https://github.com/AmpersandJS/ampersand-router/pull/54


Openlayers development

Hi, I am working on a project based on openlayer4, and I need to customize some layer feature and etc, now I have not found callbacks like onAdd onRemove for these classes.
For example, when I create a new Layer, I would like to set some options before it is added to the map, since these options can only be retrieved from the Map object. However I have not found some methods like onAdd onRemove or something else like Leaflet does.
Additionally
, I would like to build my application with openlayers together just like this tutorial.
After setup, I meet some problems:
1 Export certain variables
Openlayer itself export ol namespace, and my app export app  package, and how to remove ol?
2  API methods keeping
Closure library is used to package the application, I am afraid some api may be obfuscated.
However when I dig into ol's source codes:
/**
 * Get the layer source.
 * @return {ol.source.Source} The layer source (or `null` if not yet set).
 * @observable
 * @api
 */
ol.layer.Layer.prototype.getSource = function() {
  var source = this.get(ol.layer.Property.SOURCE);
  return /** @type {ol.source.Source} */ (source) || null;
};

As show, the getSource is a api method, it is not compressed after release. I noticed there are some annotations, but which take effect during the building?

Building application and OpenLayers together with closure-util is a dead-end road, and will be discontinued in OpenLayers 5.x.
You should consider using the ol package. No need to worry about namespaces or exports. Just use mainstream bundlers like Webpack, and treat OpenLayers like any other JavaScript library as a mere dependency of your ES2015 application.
If you are not ready yet for ES2015, you can also follow this tutorial and work with CommonJS.

How about the layer extends?

All possible, but if what you are extending is not part of the API, you’re doing it at your own risk. For hooks on adding and removing layers, see ol.Collection‘s events.

@ahocevar  Thanks, but I am still not sure about the working mechanism of ol. After read the ol.Collection's event, not clear enough.
Is there a way for the layer to know that it is being add to a map?

The map has a central collection of layers, which is an ol.Collection, which in turn can notify listeners of changes. HTH

@marcjansen  It means that the map can receive the events for layers adding to the map, but how can a layer know that it is being added to a map and get the map reference ?

how can a layer know that it is being added to a map

@exotfboy I don't think it can right now. Nonetheless I do not think this is the right place to ask such questions.

I think this is the right place for asking this kind of questions since this is not related how to use the standard ol apis, instead we need to enhance the apis.
It is rather  a common requirement for a layer or something else to do some initialization job  when added to map


tabset, active property on tab - undefined is not a function

I get this when I try to use the active property on a tab, example:
<!DOCTYPE html>

		<link rel="stylesheet" href="bootstrap.min.css">

			<tabset>
				<tab heading="Tab 1" active="true"> test 1 </tab>
				<tab heading="Tab 2"> test 2 </tab>
			</tabset>

angular-test.js:
angular.module('angular-test', ['ui.bootstrap']);
function AngularTestController($scope) {
  //nothing yet
}

Stack trace:
TypeError: undefined is not a function
at postLink (file:///C:/proj/angular-test/ui-bootstrap-tpls-0.4.0.js:2374:11)
at nodeLinkFn (file:///C:/proj/angular-test/angular.js:4406:13)
at delayedNodeLinkFn (file:///C:/proj/angular-test/angular.js:4559:11)
at compositeLinkFn (file:///C:/proj/angular-test/angular.js:4003:15)
at publicLinkFn (file:///C:/proj/angular-test/angular.js:3920:30)
at file:///C:/proj/angular-test/angular.js:4009:30
at new ngDirective.controller (file:///C:/proj/angular-test/angular.js:14046:5)
at invoke (file:///C:/proj/angular-test/angular.js:2902:28)
at Object.instantiate (file:///C:/proj/angular-test/angular.js:2914:23)
at file:///C:/proj/angular-test/angular.js:4805:24

This is the solution I use and is less cumbersome than adding/removing true/false from each tab:
<button class="btn" ng-click="activateTab('search')">Search</button>
<button class="btn" ng-click="activateTab('preview')">Preview</button>
<button class="btn" ng-click="activateTab('edit')">Edit</button>

<tab heading="Search" active="active.search">...</tab>
<tab heading="Preview" active="active.preview">...</tab>
<tab heading="Edit" active="active.edit">...</tab>

then set up your default tab like so:
$scope.active = {
  search: true
};

and the isActive() function:
$scope.activateTab = function(tab) {
  $scope.active = {}; //reset
  $scope.active[tab] = true;
}

+5 @gilluminate it works.Thanks a lot :)

@gilluminate
+10086
^_^

bump

Thanks @gilluminate, worked for me too.

Thanks x 1000!

@gilluminate
Thanks. You really saved my day!

@gilluminate   +1

@gilluminate  Thank you.

@gilluminate thanks a lot, works like charm!

@gilluminate  +10 thanks a lot

@gilluminate Thanks

Just to let you guys all know that the API for this attribute has changed such that the active attribute on the uib-tab directive is not longer supported in the latest versions of the library.  Rather, it serves ONLY for CSS purposes and is no longer documented in master as being for API users use.

Just saw your comment @icfantv and noticed that the active property is listed in both sections of the documentation under ui-tab-settings. Will it be removed from the top one? If yes, how can we programmatically select a tab from now on? Thank you.

@ultrarunner, the docs are incorrect (but have been fixed in master).  The active property on the uib-tabset element is the correct one to use now.  You can use it by setting it to the numerical index of the tab you would like to make active.  There is an outstanding PR (#5577) to support a string, but it is missing tests and documentation.  That said, the committer did respond saying they would rectify soon.

@icfantv, thank you very much. Makes sense now.

@icfantv
Hi Adam, I'm having a strange problem with dynamically created tabs. I'm trying to set the last added tab active by setting its index on uib-tabset.active. It works on odd number of tabs (when there are 1,3,5 of them) and doesn't set the active one on even numbers.
I asked it on StackOverflow here: http://stackoverflow.com/questions/36420035/setting-active-tab-on-dynamically-created-tabs-with-angular-ui-bootstrap
One person suggested to use $timeout where I set the index and it works but I have no idea why!
Here's the link for the Plunk that demonstrates the issue: https://plnkr.co/edit/TX6ek4R62AfM2zUXcoC3?p=preview
This thread looked similar that's why I commend on this instead of starting a new one but I can do so if that's the proper way.
I'd appreciate any feedback.
Thanks.

@volkanx we've had several threads going that I will link to below indicating that we will not be supporting dynamic tabs.  but, if memory serves, the $timeout solution worked for someone else.
See issues:  #5654, #5656, and #5725.

@icfantv Thanks for the info. I'll go with timeout and leave it that then. Thanks.

Select Tab
				<uib-tabset justified="true" active="facAdd.activeTab">
				<uib-tab
					index=1> <uib-tab-heading>
				Facility Information </uib-tab-heading>
				<form name="facUpd1">

				</form>
				</uib-tab>
				<uib-tab index=2 > <uib-tab-heading>
				Addresses </uib-tab-heading>
				<form name="facUpd2">

				</form>
				</uib-tab>
				<uib-tab index=3> <uib-tab-heading> Point of
				Contacts </uib-tab-heading>
				<form name="facUpd3">

				</form>
				</uib-tab>

				<uib-tab index=4 > <uib-tab-heading>
				Verification/Inspection</uib-tab-heading>
				<form name="facUpd4">

				</form>
				</uib-tab>
				</uib-tabset>

Controller
vm.selectTab= function()
{
vm.activeTab=4;
vm.ind=3;
}
For some reason this does not work for me in my application. Can anyone please help me out?

@renu-th I suggest putting it in a plunkr or similar

@MannyC : I did a sample on Plnkr it works fine, but it isn't working fine in my application.


FilterLogger should respect inner logger's IsEnabled

Currently, at https://github.com/aspnet/Logging/blob/dev/src/Microsoft.Extensions.Logging.Filter/Internal/FilterLogger.cs#L27 only provided filter is respected. But this functionality will likely be used for integration with existing logging frameworks, which may have their own filtering system. Why not respect it at least like this:
 public bool IsEnabled(LogLevel logLevel) {     return _filter(logLevel) && _innerLogger.IsEnabled(logLevel); }
In other words, this filtering decorator should augment inner logger's filtering, not replace it.

@pakrym was this fixed by your changes?

Should be fixed, but I haven't verified.

Assigning to @pakrym for investigation.

Microsoft.Extensions.Logging.Filter is getting removed. New way of adding filters has this fixed.


How to use this in conjunction with generate_quarto_invoices

I'm running Python 3.11.5 on Windows. I'm able to render the example template into a PDF, which looks good. I'm just trying to work out how to now inject variables, so I assume I should instead use the template.qmd from the generate_quarto_invoices repo? I have tried this but it is falling over at the subprocess.run point.
Command '['quarto', 'render', 'template.qmd', '--metadata-file', 'input/202406-001.yml', '--output', 'output/INVOICE-N202406-001-Voyager Renewables.pdf']' returned non-zero exit status 1.
So it is creating the yml file as expected but is having an issue with rendering.
Also under Usage in the generate_quarto_invoices
generate-invoices.py
--name="Consulting"
--task="A very important job"
--details="A description of the tasks"
--amount="1,234.56"
--recipient="Company-Inc"
--first="2024-01-15"
--last="2024-01-31"
--template="template.qmd"
Is the above supposed to be run at the terminal?

Ok got it working with a generic function. Now just need to update some formatting for Australia, e.g. currency. If I try and change the Euro to a dollar, I get errors. Do I need to make updates in the _extensions folder for the .typ files?

This repository is a demo repository to show how to generate several documents out of one single Quarto document using YAML key/values.
This repository uses a Quarto extension format:

https://github.com/mcanouil/quarto-invoice

See the documentation about extensions:

https://quarto.org/docs/extensions/listing-formats.html

See the documentation about custom Typst format:

https://quarto.org/docs/output-formats/typst-custom.html


snakemake should be moved to python-modules and built with buildPythonPackage

(because it has a Python API)

When first adding Snakemake to nixpkgs, we had a discussion like this. The understanding at the time was that Snakemake, same as deluge for example, is more an application incidentally written in Python than a Python library.
Because that, we have decided put it not as a Python module. The Snakemake last version not even has the Python API on his documentation.
About the buildPythonPackage, would exist any advantage of using it over buildPythonApplication?
Maybe are you having the same bug as me? As reported on #230376?


Undo change to mapAccumRight accumulator argument order

The order of arguments expected by mapAccumRight's accumulator function
was reversed in #1975 (c0292498fa798118b70c8d6298f40c74211e1225), to be
consistent with reduceRight. There was a bug in the implementation and
it was decided to undo the change and let the argument order be
consistent with Haskell's mapAccumR in #2386.

Will be a breaking change for anyone that relies on current (incorrect) behavior.

:+1: ty!


Add cli argument parsing for transcode command

Because of how os.Exec works in Goland where it is necessary to provide the command and the args separately, in the transcode command, the command flag was split with space as a separator which caused an issue if you have space in one of the transcode command args.
This PR adds the possibility to use the parsed cli args with cobra for the transcode command while keeping backward compatibility when using the command flags

the command flag was split with space as a separator which caused an issue if you have space in one of the transcode command args

This makes sense.
Thanks for the PR!

I can't find a way to use transcode command without error.
Please post an example here , in the README or else.
I did ask 4 it at Issue #163 , but didn't get any example.
This would be very helpful, thanks.