Error between screen and seat

I've gotten the full data.py to run and I believe you instruct the next step to be finetuning.py but when I try and run that I don't know what parameters to input. Do I need to install gpt-2 separately? Can you provide the command you run to train?
python3 finetuning.py --train_data_file /data/summaries/preproc_BART --output_dir /models/generation --model_type bert --mlm .1
I do not see what will generate the "data_output/metrics_raw.csv" either, does finetuning?
Thanks

I think I figured it out
!python3 finetuning.py
--output_dir='/content/drive/My Drive/AITextGenerator/data_output'
--model_type=gpt2
--model_name_or_path=gpt2-medium
--save_total_limit=5
--num_train_epochs=1.0
--do_train
--evaluate_during_training
--logging_steps=500
--save_steps=500
--train_data_file='/content/drive/My Drive/AITextGenerator/data/summaries/Preproc_BART/'
--per_gpu_train_batch_size=2
--per_gpu_eval_batch_size=2
--block_size=64
--gradient_accumulation_steps=5
--overwrite_output_dir

Hello, just saw your issue, sorry.
Indeed, that's a good set of arguments.
I would recommend trying out several parameters for gpu batch sizes, trying to get as high as possible. However, the size of GPT-2 requires the model to run on a very good GPU if you want something as 8 or 16 as a batch size.


Sandbox had Python 3.5.2 but webapp has Python 3.6.5

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp up
Errors:
'NoneType' object has no attribute 'upper'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 603, in execute
    raise ex
cli/core/commands/__init__.py, ln 661, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 652, in _run_job
    cmd_copy.exception_handler(ex)
...
cli/command_modules/appservice/custom.py, ln 2993, in webapp_up
    create_app_service_plan(cmd, rg_name, plan, _is_linux, False, sku, 1 if _is_linux else None, location)
cli/command_modules/appservice/custom.py, ln 1390, in create_app_service_plan
    sku = _normalize_sku(sku)
cli/command_modules/appservice/utils.py, ln 20, in _normalize_sku
    sku = sku.upper()
AttributeError: 'NoneType' object has no attribute 'upper'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp up --resource-group {} --sku {} --name {}

Expected Behavior
Environment Summary
Linux-4.15.0-1063-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.76

Additional Context

Please update to the latest version of CLI https://pypi.org/project/azure-cli/ version 2.0.77 and re-try. there was a known regression with version 2.0.76


Bug with this.context.XXX.YYYEvent.remove when there is only one eventHandler registered

Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Expected or Desired Behavior
When calling this.context.application.navigatedEvent.remove (same for any other application or placeholderProvider scoped event), if there is only one eventHandler for this specific event, the handler should be removed anyway.
Observed Behavior
var navigatedCallback = function() {     // function body trimmed for readability }; this.context.application.navigatedEvent.remove(this, navigatedCallback); this.context.application.navigatedEvent.add(this, navigatedCallback);
In the code sample above, the eventHandler will be registered twice if the wrapping function is called multiple times. This is because the remove() function is not able to remove an eventHandler if there is only one for a specific event.
I am not able to target the proper line in sp-pages-assembly.js because of the minification (^^) but the issue is located near the error message 'Failed to remove event handler for component "{0}". Event handler was not registered.'. Right above it, there is a check (sorry I had to made up the variables names) if(filteredArrayOfEventHandlers.length === originalArrayOfEventHandlers.length), which is basically always true when you try to remove the only eventHandler in the array.
Steps to Reproduce
In an applicationCustomizer, call several times a function in which you remove then you add the same eventHandler.
Submission Guidelines
N/A

Hello,
My very bad, the issue we have was related to the way our eventHandler is declared (as an anonymous function) and so the framework is unable to compare the function with itself and tell if it the same or not.
I clearly misread the library and wrongly assumed the error was in the unregisterEvent function :/
This issue can be closed, sorry about that.


support extending generic type

Hi.
Thank you for your providing a neat package!
I would like to extend generic type like this Java example so that I can call method in the
type.
public class Bar<T extends B & java.io.Serializable> {}

and I find I could do similar stuff with Genny. but it is a bit hacky way.
package genny

import "bytes"

// NOTE: this is how easy it is to define a generic type

//Something ..
type Something interface { //generic.Type
	String() string //generic.Type
} //generic.Type

// SomethingQueue is a queue of Somethings.
type SomethingQueue struct {
	items []Something
}

func NewSomethingQueue() *SomethingQueue {
	return &SomethingQueue{items: make([]Something, 0)}
}

func (q *SomethingQueue) Push(item Something) {
	q.items = append(q.items, item)
}

func (q *SomethingQueue) Pop() Something {
	item := q.items[0]
	q.items = q.items[1:]
	return item
}

func (q *SomethingQueue) String() string {
	var buf bytes.Buffer
	for _, item := range q.items {
		buf.WriteString(item.String())
	}
	return buf.String()
}

How about support this use case officially, and add "generic.ignore" for ignoring line?

I think it's a bit difficult to implement the same syntax as Java :), but we can use the golang style to nest the interface.
In your example, you can use existed interface defined in other package
(The following code will work on genny df3d48a)
package genny
import (
  "bytes"
  "fmt"
)

type Something interface {
  fmt.Stringer
}

type SomethingQueue struct {
  items []Something
}

...

func (q *SomethingQueue) String() string {
  var buf bytes.Buffer
	for _, item := range q.items {
		buf.WriteString(item.String())
	}
	return buf.String()
}

It's also easy to extend other interfaces, like json.Marshaler. We can also nest with generic.Type to indicate the interface is generic
type Something interface {
  generic.Type

  json.Marshaler
  fmt.Stringer
}

We can do this because genney will replace the string identifier of the file, regardless of its actual type. In this way, we can extend more complex types while being type-safe.
I have summarized several common usages used in my toy project.

Type Object extends to struct (has fields)

type Object struct {
  generic.Type

  name string
  age int
}

// Now you can use in function without compile errors
func doSomeThing(o *Object) (string, int) {
  ...
  return o.name, o.age
}

Type Object extends to interface (has method)

type Object interface {
  generic.Type // can be removed

  run() Object
  stop() Object
}

// use it as normal interface
func operate(o Object) Object {
  o.run().stop()
}

Mock package

// file1: demo.go
type mockPackage struct {
  // package function
  Log(...interface{}) error
  // package exported variable
  ColorRed int
  ColorGreen int
  // Not find a way to mock exported Type
}

var PackageName mockPackage

// file2: demo_template.go
// Use in another file
func normalFunc() {
  PackageName.Log("Hello", "Good")
  color := PackageName.ColorGreen
  ...
}

// use command
// geeny -in=demo_template.go -out=gen_demo.go gen "PackageName=mypkg"

Hope to be helpful :)


Add support for Laravel 6.0

Please add support for Laravel 6.0
Thanks

Just to let you know I made a fork and keep this updated https://gitlab.com/bashy/Laravel-CampaignMonitor


how to get ap for each class?

when I run test.py, the output only shows map, how can I get ap for each class?
Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.008
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.033
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.001
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.148
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.095
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.008
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.144
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.144
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.144
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.144
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.144
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.144

coco evaluation uses pycocotools, you can modify cocoeval.py https://github.com/cocodataset/cocoapi/blob/aca78bcd6b4345d25405a64fdba1120dfa5da1ab/PythonAPI/pycocotools/cocoeval.py#L136
p.catIds = list(np.unique(p.catIds))
just set p.catIds as your favorite category

is there another solution, because I have 206 classes and I'am not thrilled to do this for every class?

@tdiekel Did you find any way to do this. If yes, please let us know.
Thanks

Does anyone solve this problem?


Adding multiple Google Search Console private keys and emails on PikaPods

I am using PikaPods for deploying the app and was wondering if it'd be possible to add multiple Google Search Console keys and emails on it?
I tried adding it in the settings, but per each Pod there is only 1 x Search Console private key and email.

If we have different websites, each with their own Gmail account and separate Search Console private keys and emails, is there any way to add them in the same Pika Pod?
Thank you!

@jkdn0921s Sorry, not possible currently. In a future release, will add the GSC API input UI in the Domain Settings Panel, so that those API keys/email override the global one.

@jkdn0921s Sorry, not possible currently. In a future release, will add the GSC API input UI in the Domain Settings Panel, so that those API keys/email override the global one.

thanks for the reply!
cool, that means that the GSC API will allow for unlimited ones to be added I guess?

v1.0.0 has been released with this feature. You can now setup domain level GSC from the Domain Settings Modal.

sweeeet! thank you!


Channel variant

CCSvc now has a configurable 'channel' which can be either CC or AD.
The channel is used to determine the single authenticated users role, and the WebSecurityConfig now uses the role to allow or forbid access to all endpoints explicitly.
The channel is also used when sending to the event publisher, such that events sent from the service in CC channel mode will be identified as coming from CC, and AD ... AD

Does this need or have a JIRA associated with it ?

I had no JIRA access when I started it and used CR-806 in commits later as that was the ticket that kicked this off


Better Discord crash when i go to the options

what is the best way to start discord already completely reinstalled like better discord actually no more plugins in there crash but still if I want no idea what I can do in the options

had the same issue, had to save my betterdiscord folder and delete it (C:\Users\Momo\AppData\Roaming\BetterDiscord)
after .Also delete full discord Folder (C:\Users\Momo\AppData\Local\Discord).
Then install discord fully new and install BD again.

didn't work even though there are no plugins in it and stuff like that

but if I delete BD in the BD installer and then reinstall it, it feels like it only works for one day

Discord Settings -> BetterDiscord Settings -> Enable DevTools & Enable Debug Logs
CTRL+SHIFT+I -> Console tab -> Default levels -> check the bottom 4
Look for red stuff around crash time
Check debug.log in your BD folder when it crashes
Don't upload long logs here, just the important snippets of errors
Turn off debug logging when you're done!

That won't do. I have the same problem and I crash immediatly after clicking on the settings icon. So I can't enable the devtools or debug logs like that.

Same issue here, when click on the settings logo without any plugin active, discord crash, i've tried uninstall, repair but same issue

it seems i fix it on the better discord dc is the key to solve it
Feb 8, 2023
:BetterDiscord: Crashing when opening settings
Monitoring - Reload Discord until settings function correctly. This issue currently only affects Discord Stable.
If the issue persists:
Download this file https://cdn.discordapp.com/attachments/1072548654667284590/1075875719130914836/betterdiscord.asar
Press win+r and enter %appdata%/betterdiscord/data
Fully QUIT Discord (Alt+f4)
Move the file you downloaded to the folder you opened and replace the betterdiscord.asar
the link to the masage from better dc  discord
https://canary.discord.com/channels/86004744966914048/1031774670405501018/1031774670405501018

it seems i fix it on the better discord dc is the key to solve it
Feb 8, 2023 :BetterDiscord: Crashing when opening settings Monitoring - Reload Discord until settings function correctly. This issue currently only affects Discord Stable. If the issue persists: Download this file https://cdn.discordapp.com/attachments/1072548654667284590/1075875719130914836/betterdiscord.asar Press win+r and enter %appdata%/betterdiscord/data Fully QUIT Discord (Alt+f4) Move the file you downloaded to the folder you opened and replace the betterdiscord.asar
the link to the masage from better dc discord https://canary.discord.com/channels/86004744966914048/1031774670405501018/1031774670405501018

not works still crashing when i try to open settings only when i delete better discord it's works but the goal is missing can't use better discord :/

same issue here did a complete wipe of all discord and better discord files yet it wont work same issue with crashing while going into settings and sadly now dont have my theme working

It's been posted about in the correct repo:
https://github.com/BetterDiscord/BetterDiscord/issues/1539#issuecomment-1447239025
You can get more information (and fixes) by joining the Discord and looking in the Support forum


recyclerview cardview maintain same position after drag and drop

Hi,
Whenever I drag and drop. The list is back to original position. FYI I use recyclerview adapter with cursor adapter support. But I am not so sure if the adapter is the cause of the problem

You need to actually move the elements yourself in the onItemMoved method,
are you doing this?
On 7 July 2015 at 03:20, azizimusa<EMAIL_ADDRESS>wrote:

Hi,
Whenever I drag and drop. The list is back to original position. FYI I use
recyclerview adapter with cursor adapter support. But I am not so sure if
the adapter is the cause of the problem
—
Reply to this email directly or view it on GitHub
https://github.com/emileb/DragSortRecycler/issues/19.

Yeah. I figure about it actually. Forgot to update issue. But I'm having problem about recyclerview.getChildAt(index) . It seem only allow me to fetch 1st 4 item, while I got 12 items in the list. How to overcome this?

I'm not sure, are you saying the DragSortRecycler is effecting this
function?
On 7 July 2015 at 07:45, azizimusa<EMAIL_ADDRESS>wrote:

Yeah. I figure about it actually. Forgot to update issue. But I'm having
problem about recyclerview.getChildAt(index) . It seem only allow me to
fetch 1st 4 item, while I got 12 items in the list. How to overcome this?
—
Reply to this email directly or view it on GitHub
https://github.com/emileb/DragSortRecycler/issues/19#issuecomment-119090437
.

No. not at all. sorry.

OK no problem, I was just checking :)
On 7 July 2015 at 08:34, azizimusa<EMAIL_ADDRESS>wrote:

No. not at all. sorry.
—
Reply to this email directly or view it on GitHub
https://github.com/emileb/DragSortRecycler/issues/19#issuecomment-119104526
.

Here is my implementation of saving new order after drag and drop. Might be useful for incoming newbie like me :)
Cursor cursor = mainRecord.getAllData(currentMonth, currentYear);

                if (from < to){
                    for (int i=from; i <= to; i++) {

                        cursor.moveToPosition(i);

                        String type = cursor.getString(cursor.getColumnIndexOrThrow(MainRecord.col_type));

                        if (i != from) {
                            newOrder = i-1;
                        } else {
                            newOrder = to;
                        }

                        mainRecord.updateOrder(type, newOrder);

                    }
                } else {

                    for (int i=from; i >= to; i--) {

                        cursor.moveToPosition(i);

                        String type = cursor.getString(cursor.getColumnIndexOrThrow(MainRecord.col_type));

                        if (i != from) {
                            newOrder = i+1;
                        } else {
                            newOrder = to;
                        }

                        mainRecord.updateOrder(type, newOrder);

                    }

                }
updateAdapter();


Rendering/Font Issue on Aws

Hi,
We were using your old source(may be 2yrs old) for some time, to render. We recently updated to your new source (rendering has improved a lot, in Ubuntu)
But the issue is running on AWS EC2 Instance (Amazon Linux 1 OS). Old source used to run but the new source is not able to render properly. There are no errors but wont render properly and not sure what libraries are causing this issue.
We are using master branch. We tried rendering with sample gerber files present in repo.
Attached are the rendered images on aws.
(https://github.com/curtacircuitos/pcb-tools/tree/master/examples/gerbers)
pcb_images.zip

Hi,
I am too facing issues on AWS EB, is there a solution to this??
What am I missing here? Libraries/dependencies ate not getting installed properly .

Can you share the output of pip freeze and the version of cairo you have installed system-wide?

So in the Virtual env
pip freeze has these
cairocffi==0.6
cffi==1.12.2
pycparser==2.19

And the version of cairo you have installed system-wide is this
1.12.14-6.8.amzn1
Let me know if you need any more details, I will get it right away.

Hello,
I have the same problem. Have you solved your problem?


Change hash to not require ptxas

I noticed that Triton is using the ptxas version as part of the version hash even for non-CUDA targets. This is an attempt at fixing this. Moving the version calculation to the back-end makes sense to me from an architectural standpoint, so that's my approach here. I'm not as confident in the implementation, so please if folks have any feedback let me know.

I believe the regression is an actual one, and not just noise. Not sure where it comes from though.

I believe the regression is an actual one, and not just noise. Not sure where it comes from though.

Yes; it does appear that way... i was sitting on this hoping other PRs might hit similar issues, but nothing has. I'll investigate when i have chance; this PR isn't exactly high priority.

@ptillet. I looked at the failure log some more now that i know its specific to my change, and i admit, i'm even more confused. The error looks like its indicating that with my changes the A100 results got faster?!?
Looking at test_performance.py the first value is the current result and the second value is the reference result
test_performance.py:
triton.testing.assert_close(cur_gpu_util, ref_gpu_util, atol=0.02, rtol=0.01)

Results:
=========================== short test summary info ============================
FAILED test_performance.py::test_matmul[1024-1024-1024-float16] - AssertionError:  0.2981213927268982 is not close to 0.35499998927116394 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[2048-2048-2048-float16] - AssertionError:  0.5184210538864136 is not close to 0.652999997138977 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[64-4096-4096-float16] - AssertionError:  0.13460323214530945 is not close to 0.17000000178813934 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[4096-64-4096-float16] - AssertionError:  0.12149130553007126 is not close to 0.1599999964237213 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[8192-64-8192-float16] - AssertionError:  0.14076729118824005 is not close to 0.2720000147819519 (atol=0.02, rtol=0.01)

@ptillet. I looked at the failure log some more now that i know its specific to my change, and i admit, i'm even more confused. The error looks like its indicating that with my changes the A100 results got faster?!?
Looking at test_performance.py the first value is the current result and the second value is the reference result
test_performance.py:
triton.testing.assert_close(cur_gpu_util, ref_gpu_util, atol=0.02, rtol=0.01)

Results:
=========================== short test summary info ============================
FAILED test_performance.py::test_matmul[1024-1024-1024-float16] - AssertionError:  0.2981213927268982 is not close to 0.35499998927116394 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[2048-2048-2048-float16] - AssertionError:  0.5184210538864136 is not close to 0.652999997138977 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[64-4096-4096-float16] - AssertionError:  0.13460323214530945 is not close to 0.17000000178813934 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[4096-64-4096-float16] - AssertionError:  0.12149130553007126 is not close to 0.1599999964237213 (atol=0.02, rtol=0.01)
FAILED test_performance.py::test_matmul[8192-64-8192-float16] - AssertionError:  0.14076729118824005 is not close to 0.2720000147819519 (atol=0.02, rtol=0.01)

Any more thoughts? i'm going to see if i can debug to see if something really did change with the caching, but that seems so unlikely...

Those numbers are utilization numbers (speed / speed of light) so higher is better which means this points to a regression. Is it possible that there is extra runtime overhead with your changes? A simple CPU profile would usually make it obvious.

Those numbers are utilization numbers (speed / speed of light) so higher is better which means this points to a regression. Is it possible that there is extra runtime overhead with your changes? A simple CPU profile would usually make it obvious.

Okay, thanks for clearing that up. There shouldn't be any changes here for Nvidia at all, and non-impactful change for non-Nvidia targets. I plan on stepping through the compiler on Monday to figure out what i've done wrong.

Thank you for the quick look. I hadn't considered the cost of the hash. I will review and make sure my changes are neutral with respect to time in addition to correctness
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Thomas Raoux @.>
Sent: Friday, October 13, 2023 5:26:42 PM
To: openai/triton @.>
Cc: Ian Bearman @.>; Author @.>
Subject: Re: [openai/triton] Change hash to not require ptxas (PR #2476)
@ThomasRaoux commented on this pull request.

In python/triton/compiler/compiler.pyhttps://github.com/openai/triton/pull/2476#discussion_r1358991346:

@@ -234,7 +234,11 @@ def convert_type_repr(x):
return x

-def make_hash(fn, target, env_vars, **kwargs):
+def make_hash(fn, target, env_vars, device_backend, **kwargs):

if device_backend is None:

   version_key = get_cuda_version_key()

I'm wondering if the problem comes from here, this will hash the triton library everytime which is not cheap.
—
Reply to this email directly, view it on GitHubhttps://github.com/openai/triton/pull/2476#pullrequestreview-1677574879, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF7M3YV73BD6TDOEN47FZMDX7HL4FAVCNFSM6AAAAAA5ZPRCT2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMNZXGU3TIOBXHE.
You are receiving this because you authored the thread.Message ID: @.***>


problem with function 'relja_simplenn_move'

Hello
  When I ran demo.m, I just can not find the 'relja_simplenn_move' function. It is  really confusing.

Please read the readme file, dependencies section. If you're Google you'll see that function is a part of my relja_matlab repository, which is in dependencies.


Claude Sonnet 3.5, OpenAI GPT4o mini, Azure Gpt4o mini

Hello dear devs
kindly update the tornado to these models
Claude Sonnet 3.5, OpenAI GPT4o mini, Azure Gpt4o mini
This is the place where we develop and maintain most of SDL's plugins for Trados Studio. If you want to help us or just looking for some examples this is the perfect place
https://github.com/RWS/Sdl-Community
integrate Tornado in this plugin
https://github.com/RWS/Sdl-Community/tree/master/GoogleCloudTranslationProvider
this will bring translation from LLMs
best

Claude 3.5 and Gpt4o mini are already supported.


Bug: Unable to find key in {{ ('key' | transloco) + 'x' }}

Is there an existing issue for this?

[X] I have searched the existing issues

Is this a regression?
No
Current behavior
When I have a template using {{ ('LogIn' | transloco) + 'a' }}
It is not detected by the extract command
When I use: {{ ('LogIn' | transloco) }} - it works
I was not able to create an easy minimal example, but I simply created a folder transloco_testing and added a single file testing.html
$ tree app/transloco_testing/
app/transloco_testing/
└── testing.html

0 directories, 1 file

$ cat app/transloco_testing/testing.html
{{ ('LogIn' | transloco) + 'a' }}

And then ran:
$ ./node_modules/.bin/transloco-keys-manager extract --input app/transloco_testing
Starting Translation File Build 👷🏗

✔ Extracting Template and Component Keys 🗝
ℹ 0 keys were found in 1 file.

              🌵 Done! 🌵

When I now remove the + 'a' the same command gives me 1 key found.
Expected behavior
The key should have been found and added to my en.json file
Please provide a link to a minimal reproduction of the bug
Added in description above
Transloco Config
No response
Debug Logs
$ DEBUG=* ./node_modules/.bin/transloco-keys-manager extract --i
nput app/transloco_testing

🐞 DEBUG - Config:
   Default: {
     input: [ 'app' ],
     output: 'assets/i18n',
     langs: [ 'en' ],
     marker: 't',
     sort: false,
     defaultValue: undefined,
     replace: false,
     addMissingKeys: false,
     emitErrorOnExtraKeys: false,
     translationsPath: 'assets/i18n'
   } +0ms
   Transloco file: {
     sort: true,
     addMissingKeys: true,
     defaultValue: '',
     translationsPath: 'src/assets/i18n/',
     langs: [ 'en' ]
   } +2ms
   Inline: { input: [ 'app/transloco_testing' ], command: 'extract' } +0ms
   Merged: {
     input: [ 'app/transloco_testing' ],
     output: 'assets/i18n',
     langs: [ 'en' ],
     marker: 't',
     sort: true,
     defaultValue: '',
     replace: false,
     addMissingKeys: true,
     emitErrorOnExtraKeys: false,
     translationsPath: 'src/assets/i18n/',
     command: 'extract'
   } +0ms

🐞 DEBUG - Configuration Paths:
   Input: [
     '/home/abdealijk/project/src/app/transloco_testing'
   ] +0ms
   Output: '/home/abdealijk/project/src/assets/i18n' +0ms
   Translations: '/home/abdealijk/project/src/src/assets/i18n' +0ms

🐞 DEBUG - Scopes:
   Scopes map: {} +0ms

Starting Translation File Build 👷🏗

⠋ Extracting Template and Component Keys 🗝
🐞 DEBUG - Extracting keys:
   file: '/home/abdealijk/project/src/app/transloco_testing/testing.html' +0ms
   fileType: 'html' +0ms
✔ Extracting Template and Component Keys 🗝
ℹ 0 keys were found in 1 file.

              🌵 Done! 🌵

Please provide the environment you discovered this bug in
Transloco: 4.0.0
Transloco Keys Manager: 3.3.5
Angular: 11.2.14
Node: 16.13.2
Package Manager: npm 8.1.2
OS: Windows 10 + Ubuntu 18.04 WSL2

Additional context
No response
I would like to make a pull request for this bug
No

The workaround which I am using now is:
{{ 'LogIn {{a}}' | transloco:{a: 'a'} }}
And that works
But it would be great if the extract can handle this or show a warning in such cases so that it is clear that will not be extracted

@AbdealiJK, I can add support for the case you are showing. But note that it's not the best practice for translations.

@shaharkazaz completely agree. And I have moved such cases to use the argument approach.
But the only concern I have is that developers may make mistakes and nothing catches them other than a manual review.
So either:

An eslint rule to ensure we don't use this pattern
A warning from extract that this will not be extracted
Or let's just extract it and let developers figure out their best practices

Would be great.
Currently it's silently not being caught - which is my only concern. If I didn't happen to compare it with my ngx-translate extract earlier ... I would not know about it

@AbdealiJK It's a good thing you migrate responsibly 👍
I agree that silently is not the way to go.
An Eslint rule seems like an interesting idea since you should insert dynamic values into the translation and enforcing It might be a good idea.
I think that ESlint and extraction are unrelated in the sense that Transloco does support this behavior so the extractor should pick up these cases and extract them.
Would you like to open a PR for it? IDK when I'll have the time to get to it 🙂

While I was looking into the AST parser for pipe.extractor - I found that this was not handling some other valid cases.
For example:

{{ ('sep' | transloco) || ';' }}
{{ ('abc' | transloco).split('sep' | transloco) }}

Will handle it in my PR


kdotool getmouselocation is in the code and docs but is not recognized as a valid command.

> kdotool
Usage: kdotool [options] <command> [args...]

Options:
  -h, --help                 Show this help
  -v, --version              Show program version
  -d, --debug                Enable debug output
  -n, --dry-run              Don't actually run the script. Just print it to stdout.
  --shortcut <shortcut>      Register a shortcut to run the script.
    --name <name>            Set a name for the shortcut, so you can remove it later.
  --remove <name>            Remove a previously registered shortcut.

Commands:
  search <term>
  getactivewindow
  get_desktop <window>
  get_desktop_for_window <window>
  get_num_desktops <window>
  getwindowclassname <window>
  getwindowgeometry <window>
  getwindowname <window>
  getwindowpid <window>
  set_desktop <window>
  set_desktop_for_window <window>
  set_num_desktops <window>
  windowactivate <window>
  windowclose <window>
  windowminimize <window>
  windowmove <window>
  windowraise <window>
  windowsize <window>
  windowstate <window>

Window can be specified as:
  %1 - the first window in the stack (default)
  %N - the Nth window in the stack
  %@ - all windows in the stack
  <window id> - the window with the given ID
> kdotool getmouselocation
Error: Unknown command: getmouselocation

Despite being mentioned in the docs.

I was using an older kdotool by accident


Add additional configurable headers to QueueBatchedReportStreamUploader

Background
In order to send flu results to ReportStream, we should have new infrastructure to handle those results.
Action requested
Request to ReportStreams needs to be configurable based on environment variables.

Update client to be configurable based on environment variable
Add new optional header topic based on environment variable

If there is no value, then topic should not be included in the headers.

Update any related terraform/infrastructure to ensure that the covid reporting will still work.

Acceptance Criteria

Environment variables can set the values of client and topic headers.
Covid reporting still works after deployment.

Additional context

The idea here is that we can have the same code for the function apps, and just deploy it twice with different environment variables.

Closing because we'll have a new function app for FHIR.


Let developers access the initiator element in visit/fetch events

This builds on top of https://github.com/hotwired/turbo/pull/733
As @kevinmcconnell discovered in https://github.com/hotwired/turbo/issues/720, the naïve approach to dispatching events on links/forms in https://github.com/hotwired/turbo/pull/695 failed with the iOS adapter because DOM elements cannot be sent over postMessage.
This pull request aims to provide a safe way to dispatch events on initiating elements, enabling developers to choose how to handle Visits based on the element that triggered them. (See https://github.com/hotwired/turbo/issues/99). Prior to sending VisitOptions to the adapter, non-transferable properties are removed. When creating a Visit, the original VisitOptions are reinstated. Ideally the sanitization process would be handled by the iOS adapter (just before calling postMessage), but for backwards compatibility, it needs to done at this level.

Details
First, it performs type-checking on the options sent to an adapter's visitProposedToLocation, ensuring that it conforms to the structuredClone algorithm. Navigator#sanitizeVisitOptionsForTransfer munges the options to satisfy these conditions.
During a Visit proposal, the Visit options temporarily stored in Navigator#proposedVisitOptions and cleared after the Visit has started. There is a bit of back-and-forth, so here's an outline of the relevant method calls:

Navigator#proposeVisit; Navigator#withTransferableVisitOptions stores the proposedVisitOptions, and creates a sanitized version, passing them to…
Session#visitProposedToLocation, which passes the sanitized options to…
Adapter#visitProposedToLocation; the iOS adapter does its thing; the BrowserAdapter calls…
Navigator#startVisit, which creates a Visit with the proposedVisitOptions and starts it
Navigator#withTransferableVisitOptions resets the proposedVisitOptions property

Assuming Visits are created through this process, the initiator should be set. If a Visit is somehow created outside this flow, the initiator defaults to document.documentElement.
There's a potential bug if a Visit proposal errors, and Navigator#startVisit is called outside of this flow e.g. via Back/Forward: the Navigator might create a Visit with old proposedVisitOptions because they're not cleared due to the Visit proposal error. We could fix this using a try/catch/finally but Visit proposal errors would be silenced by the catch. Fixed in https://github.com/hotwired/turbo/pull/750/commits/3c3c8e3461ca93568c58d0a580a40accca252304
Finally, I'm not totally convinced that the navigator is the correct place to store visit options, but it works, and keeps it relatively contained for now.
Resolves #733
Closes #99
Closes #720

An alternative approach to this might be to create a Navigation ID (UUID) that could be dispatched in the details of all events. This would make it possible to track a navigation from turbo:click all the way through to turbo:load, and therefore accurately associate the clicked element in a turbo:visit event.
I've also noticed that a redirected link creates two visits, but there's no accurate way to determine which is the initial visit and which is the redirect. A consistent Navigation ID could help with this. For example, if turbo:visit is dispatched with an ID that matches a previous one, then it's safe to assume it is the redirect.

Any thoughts on this @kevinmcconnell?

With word that Turbo 8 is in the works, do you have any thoughts on this feature? (or have anything similar in the pipeline?) I think it could be a game-changer for customising View Transitions.
/cc @afcapel @packagethief

Rebased and tidied

Having played around with this implementation, there appears to be some odd side-effects when navigating frames (at least when promoting frame visits to update the URL bar). Unfortunately it triggers an untracked element mismatch and performs a full page reload.
Perhaps the simplest approach would be https://github.com/hotwired/turbo/pull/695 but as @kevinmcconnell and I discussed in https://github.com/hotwired/turbo/issues/720#issuecomment-1250858159, it would require removing any values that do not conform the the structured clone algorithm at the iOS/Android adapter stage, which would impact backward compatibility.
Are there any plans for this in Turbo 8?

Having played around with this implementation, there appears to be some odd side-effects when navigating frames (at least when promoting frame visits to update the URL bar). Unfortunately it triggers an untracked element mismatch and performs a full page reload.

This appears to be an issue on main: https://github.com/hotwired/turbo/issues/1047


Upgrade to newer OS and TeXLive versions (issue #9)

This PR addresses issue #9.

Note that I have created new tags in DockerHub.  They are: uavcan/texer:ubuntu-18.04 and uavcan/texer:latest.  We should probably update the GitHub Action scripts to use the latest tagged image.

@thirtytwobits I think this should be a no-brainer to merge, can you please have a look?


Nitpick: Increase margin between consecutive markdown cells

This is a major nitpick, but the margin between consecutive markdown cell outputs (in run mode) is smaller than they would be if all the markdown was in one cell.
Here is the output split between two cells. The top margin of the last H1 heading is slightly smaller...

...than when the markdown text is in one cell:

The difference is incredibly small, but unfortunately noticeable to me.
The reason I can't put everything in one cell is because I'm making a notebook with lots of sections. I'd like to colocate the markdown text for the section with the variables interpolated in the text, so each section is in its own cell.

I noticed this too - I agree with should increase it. It should be as easy as adding a gap VerticalLayoutRenderer, if you (or anyone else) would like to make the change.

hmm, I was thinking of increasing the margin between cells instead, to differentiate more between each cell. But, this is more universal.
// frontend/src/components/editor/output/Outputs.css
.Cell.published .output-area .output {
  margin-top: 1rem;
  margin-bottom: 1.5rem; // from 1rem
}

we could target h1/h2/h3 but it would need to be if they had no content before(?), eg. not all headings.

@Light2Dark, yea my original comment was to add a gap in VerticalLayoutRenderer:
    <VerticalLayoutWrapper invisible={invisible} appConfig={appConfig}
innerClassName={<do something here>}
>
      {showCode && canShowCode ? (

 {verticalCells}

      ) : (
        verticalCells
      )}

not sure if that would make other things look weird

Awesome thanks. I'll fiddle around with this at some point


API OpenAPI spec for Log data is of incorrect type

Expected Behavior
Tekton's OpenAPI specification for a Log specified that data contains a value of type string.
I would expect the OpenAPI specification to match the structure of the data returned by the API.
Actual Behavior
Tekton Result API returns data not as a string, but instead as an object with properties type and value.
Steps to Reproduce the Problem

Return logs, e.g. curl -k -v https://<IP_ADDRESS>/apis/results.tekton.dev/v1alpha2/parents/default/results/5ba13b3a-6470-45b2-9f8f-c9c3c6eeeadb/logs
Observe that the OpenAPI specification does not match the returned structure of the data

Additional Info

Kubernetes version:
Output of kubectl version:
(paste your output here)

Tekton Pipeline version:
Client version: 0.31.1
Pipeline version: v0.48.0

Hi @iainsproat, sorry for the late response.
/v1alpha2/parents/{parent}/results/{result_uid}/logs return a list of Record with properties named data
of Any type. Any has properties type and value.
So this is as expected.

/close


Device Query error - reason: 'INVALID_PARAMETER', parameter: 'nodeId'

On querying the connection.command.push(getDeviceTask,  for hotwater or climate I get the error code : 'INVALID_PARAMETER', parameter: 'nodeId'
Where is nodeId coming from as I cannot see it in the definition. Is anyone else seeing this. This is a new device installed by British gas yesterday. States version 2 on the hub

Thanks for logging this and bringing it to my attention, sorry it took a while. It looks like there were some breaking changes made to the API. I've fixed this in the current release 1.0.3. You will be able to get this via NPM.

Perfect thanks for the update. Im bolting it onto HomeKit if you are interested


Github credentials

Issue Type: Bug
I have never had an issue connecting to Github with VSCode via integrated terminal on Ubuntu 21.04 previously, but now I assume after a VSCode update, I now cannot connect to github it's very frustrating.  (works perfectly via regular CLI) it says:
remote: Repository not found.
fatal: Authentication failed for ...
Stack overflow suggests turning off  "git.terminalAuthentication"   which I have done..
No change.
I can force it with  'sudo git fetch'  -  but then I need to pass in my local sudo password, and then username & access token via cli!!!   Not good.   It was working perfectly before this is really slowing down my work - the Github auth needs fixing asap
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:51:30.084Z)
OS version: Linux x64 5.13.1-051301-generic
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
31.14GB (23.63GB free)

Process Argv
--unity-launch --crash-reporter-id d57eb0e5-92ae-47a8-8a3d-9f46a804c627

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (40)

Extension
Author (truncated)
Version

aws-toolkit-vscode
ama
1.33.0

jest-snippets
and
1.8.0

cform
aws
0.0.24

vscode-github-actions
csc
0.21.3

aws-cloudformation-yaml
Dan
0.2.2

vscode-eslint
dba
2.2.2

githistory
don
0.6.19

xml
Dot
2.5.1

cloudformation-yaml-snippets
dst
3.38.0

parquet-viewer
dvi
2.1.1

gitlens
eam
11.6.1

terraform-autocomplete
erd
0.0.8

github-actions
for
0.0.1

copilot
Git
1.7.3862

terraform
has
2.16.0

vscode-drawio
hed
1.6.2

vscode-aws-cloudformation-auto-template-generator
joh
1.2.0

ts-debug
kak
0.0.6

vscode-cfn-lint
kdd
0.20.1

vscode-github
Kni
0.30.7

lambda-snippets
log
1.0.0

rainbow-csv
mec
1.10.1

vscode-docker
ms-
1.18.0

python
ms-
2021.11.1422169775

vscode-pylance
ms-
2021.11.1

jupyter
ms-
2021.10.1101450599

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.3

remote-containers
ms-
0.205.2

vsliveshare
ms-
1.0.5090

debugger-for-chrome
msj
4.13.0

github-actions-vscode
Oma
2.7.0

openapi-designer
phi
0.3.0

aws-actions
Ple
1.0.0

cf-templates
pra
0.1.1

vscode-commons
red
0.0.6

vscode-yaml
red
1.2.0

aws-sam-snippets
web
1.0.0

JavaScriptSnippets
xab
1.8.0

markdown-all-in-one
yzh
3.4.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis400:30386382
vsaa593:30376534
vssld246cf:30386378
vscexrecpromptt2:30400062

I'm with this problem too.
No i'm access my repository in github becouse returned only problems

This is a known bug that will be fixed in the next recovery release scheduled for later this week.

Receiving this error after git push -u origin main:
remote: No anonymous write access.
fatal: Authentication failed for

/duplicate of #137183 which is scheduled to be fixed in upcoming recovery release (1.62.3)

@Leigh-M opening based on https://github.com/microsoft/vscode/issues/137183#issuecomment-974780201.
After you have updated to 1.62.3, can you open a new session (not a resumed one from before the update) in the integrated terminal and paste the output of
> env | grep VSCODE_GIT_ASKPASS_EXTRA_ARGS

Thanks for your reply @deepak1556 - the new session instruction (not resumed one) fixed the issue


Fix some minor bugs in Contact Us section

Issues to be solved :

Preventing text area from resizing.
"Sent successfully" message should be displayed only when all the fields are non-empty.

Please assign me this issue, would love to work on it !!!

This issue already exists! Please check #56


SAK-42531 T&Qs fix export results for matrix of choices

Cleaning up code too: "rationale" is not used on matrix survey and "response comment" is not used on any other question.

@bgarciaentornos would you mind resolving the conflicts? Thanks


Wrong type assigned to Coefficient and Power inside Monomial

Monomials require those 2 values to be float64 for further algorithms to be able to process them.


Fix minor details

Added livenessProbe for vswitchd (restarts after OOM gets it)
Made KUBECONFIG and environment variable that can be set in the
daemonset.
Changed gawk to awk.
Signed-off-by: Phil Cameron<EMAIL_ADDRESS>

@pecameron I agree that we can address it as a separate PR.
@dcbw @shettyg can we merge this PR now please. Thanks.

/lgtm


Android resource file output

Hope it's ok that I'm creating an issue, it doesn't specifically say how to provide feedback. I'm considering using a rule like this to manage secrets in a multi-project monorepo that's starting to outgrow gradle.
My project is open source so I need to figure out how to manage the API keys in a reasonable way. I don't want to use .gitignore because it's probably the riskiest way to do things, so I'm interested in using this rule. I was wondering if it's possible to extend the rule to output a file that I could include as an input to the android_binary rule as a resource file.
android_binary(
    name = "mediarecorder",
    manifest = "AndroidManifest.xml",
    resource_files = glob(["res/**"]), # I'd like the output of the secrets rule to make its way here.
    deps = [":main"],
)

It's been a while since I've done anything interesting with a BUILD file so hopefully this is possible and I'm not just embarrassing myself.
I don't mind doing the work and sending you a PR if you're willing to review it, but I could use a few pointers to docs because it's been a while since I've never had to deal with a .bzl file. Again, I'm not sure if you're actively maintaining this but I just wanted to let you know what my use case is since you ask for feedback in the README. Thanks!

Looking at the example, it might be possible to do this with an echo in the same way? I'll investigate.


Requires Service Usage Admin role

Hi, I'm currently setting up this demo in a new project. I noticed that the prerequisites in the instructions say that the Service Usage Consumer role is required, however it appears that the Service Usage Admin role is needed instead since the necessary APIs need to be enabled, which requires the serviceUsage.services.enable permission. Could you confirm this?

Thank you for pointing this out.  I have made the change to the documentation.


fix mobile layout for workinghour views

I can't get the buttons to use the full height of the row while staying on the same line instead of being on top of each other. @felixrindt can you do some CSS magic here?

Coverage: 85.826% (-0.001%) from 85.827% when pulling f2e9f33a504629a23c992491d4f9d3922a999665 on workinghour-layout-fixes into b91d6a90628503d296144db842548529f86a3896 on main.


mouseout happens (and fails) even though chart is already destroyed

Steps to reproduce:

render chart

move mouse over bar

call chart.destroy() e.g. using timeout

move mouse

on('mouseout' is called  - and fails on following line:
  (targets || $$.data.targets).forEach(function (t) {

(both targets and $$.data.targets are undefined) - but for a destroyed chart - why is it even happening in the first place?
c3_chart_internal_fn.hasType (c3-0.3.0.js:2971)
c3_chart_internal_fn.hasArcType (c3-0.3.0.js:2979)
(anonymous function) (c3-0.3.0.js:2080)
(anonymous function) (d3-3.4.9.js:1052)
This is using 0.3.0

This issue was fixed by this commit https://github.com/masayuki0812/c3/commit/01aa08ac4ac375c41e614e3e7d5b3f30c4f2f0d1 in the latest version 0.4.10, so let me close at the moment. Thanks.


Duplication, and gaps

Why are there duplicate descriptions - e.g. for 'Parent website name'
Also, it would be great if there was documentation for every YAML key in the example

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

ID: 244121ae-5de4-14cd-a9c3-d9cda5ad0a3b
Version Independent ID: 313238b7-d67b-bc60-1188-cbe305179600
Content: IIS Web App Manage task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/iis-web-app-management-on-machine-group.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

Thanks for letting us know. This issue is fixed in our new task reference, which is generated using the task source code and includes all task inputs, including any aliases here:
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/iisweb-app-management-on-machine-group-v0?view=azure-pipelines
Please check it out and let us know what you think. Thank you.


[maven-release-plugin] prepare release rocketmq-all-5.2.0

Which Issue(s) This PR Fixes

Fixes #issue_id
Brief Description

How Did You Test This Change?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3acc262) 42.94% compared to head (b968873) 42.93%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7827      +/-   ##
=============================================
- Coverage      42.94%   42.93%   -0.01%
+ Complexity      9908     9904       -4
=============================================
  Files           1190     1190
  Lines          85983    85983
  Branches       11079    11079
=============================================
- Hits           36922    36921       -1
+ Misses         44487    44486       -1
- Partials        4574     4576       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create full identity UI source - .NET Core CLI

> To maintain full control of the Identity UI, run the Identity scaffolder and select Override all files.
There is no such option mentioned in the help for the identity generator so I assume this is a UI option in Visual Studio.
Can this be done with the dotnet CLI, and if so how?

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

ID: 804e24dd-7e30-8cf5-2c99-1ffacb4582f6
Version Independent ID: 3e25547b-e2c9-6634-2c38-2a77207f17d4
Content: Scaffold Identity in ASP.NET Core projects
Content Source: aspnetcore/security/authentication/scaffold-identity.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

We can glue this functionality together manually my using --listFIles to get a list of all files then using --files to scaffold those files.

$ dotnet aspnet-codegenerator identity --listFiles
[.. snip ..]
Account.AccessDenied
Account.ConfirmEmail
Account.ExternalLogin
Account.ForgotPassword
Account.ForgotPasswordConfirmation
Account.Lockout
Account.Login
Account.LoginWith2fa
Account.LoginWithRecoveryCode
Account.Logout
Account.Manage._Layout
Account.Manage._ManageNav
Account.Manage._StatusMessage
Account.Manage.ChangePassword
Account.Manage.DeletePersonalData
Account.Manage.Disable2fa
Account.Manage.DownloadPersonalData
Account.Manage.EnableAuthenticator
Account.Manage.ExternalLogins
Account.Manage.GenerateRecoveryCodes
Account.Manage.Index
Account.Manage.PersonalData
Account.Manage.ResetAuthenticator
Account.Manage.SetPassword
Account.Manage.TwoFactorAuthentication
Account.Register
Account.ResetPassword
Account.ResetPasswordConfirmation

Take that file list and combine them with semi-colons but don't forget to surround with quotes or your shell will try to execute them as commands (because ; is the command terminator)!
$ dotnet aspnet-codegenerator identity --files="Account.AccessDenied;Account.ConfirmEmail;Account.ExternalLogin;Account.ForgotPassword;Account.ForgotPasswordConfirmation;Account.Lockout;Account.Login;Account.LoginWith2fa;Account.LoginWithRecoveryCode;Account.Logout;Account.Manage._Layout;Account.Manage._ManageNav;Account.Manage._StatusMessage;Account.Manage.ChangePassword;Account.Manage.DeletePersonalData;Account.Manage.Disable2fa;Account.Manage.DownloadPersonalData;Account.Manage.EnableAuthenticator;Account.Manage.ExternalLogins;Account.Manage.GenerateRecoveryCodes;Account.Manage.Index;Account.Manage.PersonalData;Account.Manage.ResetAuthenticator;Account.Manage.SetPassword;Account.Manage.TwoFactorAuthentication;Account.Register;Account.ResetPassword;Account.ResetPasswordConfirmation"

It certainly isn't pretty or ideal but it works.

@Phrohdoh  perfect timing. I'm working on this today.

@Phrohdoh do you want to PR this fix?

@Rick-Anderson Unfortunately I've become very busy so won't have time to PR a fix within the near future.


use-ai part updated

Purpose
The purpose of this PR is to enhance the flexibility and usability of the AI-based best practice application in the SLIM repository. This update introduces support for multiple AI models, including Ollama and Azure, and adds the ability to specify the model to be used for generating content based on best practices. It also improves the integration of AI-generated content into the workflow and updates the CLI to support these new options.
Proposed Changes

[ADD] Support for multiple AI models (Ollama,  Azure, Openai) in the SLIM repository.
[ADD] New parameter model in functions apply_best_practice, apply_best_practices, and apply_and_deploy_best_practices to specify the AI model to be used.
[CHANGE] Updated the SLIM CLI (create_parser) to accept --model as an argument, enabling users to select the AI model (ollama/llama3.1, openai/gpt-4o, azure/gpt-4o,etc.) for best practice application.
[CHANGE] Refactored the AI content generation logic to handle multiple providers (OpenAI, Azure, Ollama) and to improve the error handling during content generation.
[CHANGE] Modified existing functions to pass the selected model to the AI content generation process.
[FIX] Addressed potential issues with error handling during AI content generation for Azure and Ollama models.

Issues

Resolves issues related to AI model flexibility and provider integration in the SLIM repository. https://github.com/NASA-AMMOS/slim-cli/issues/3

Testing

Verified the integration of multiple AI models (Openai, Ollama) by running tests on supported platforms.
Tested on Linux and macOS to ensure compatibility.

On line https://github.com/NASA-AMMOS/slim-cli/pull/4/files#diff-44f8b6300d8a6dea02d52438f4024065de89201886308402330018a2e531bdfeR285 - you might want to consider not using a Unix process, but rather using https://github.com/ollama/ollama-python. It's cleaner code to maintain.

On line
https://github.com/NASA-AMMOS/slim-cli/blob/df8eb86f477728f788a703be584c73d4128f3eb5/slim-cli.py#L285

you might want to consider not using a Unix process, but rather using https://github.com/ollama/ollama-python. It's cleaner code to maintain.

@riverma Thank you for reviewing my update! I addressed all your suggestions!


Need to transfer relevant improvements from realms-shim into SES-shim.

See https://github.com/Agoric/realms-shim/issues/307

Agoric has stopped investing in the realms-shim. We participate in advancing the realms proposal, but our primary energy is in the compartment shim and proposals (and the related lockdown, harden, ...). Either we transfer it to some other stakeholder of the realms proposal (attn @caridy), or we should shut it down. However, we also need to ensure that any relevant improvements made to the realms shim (such as @ExE-Boss's https://github.com/Agoric/realms-shim/pull/302) are also applied to the compartments / ses / lockdown shim (such as at https://github.com/Agoric/SES-shim/blob/master/packages/ses/src/repair-legacy-accessors.js)

I think this issue is stale and can be shut down. @kriskowal @dckc @FUDCo @caridy please let me know if there's a reason to reopen it. Or just reopen it with the reason.


Gh-2745: Fix crown copyright link

Fixed Crown Copyright Link on Line 44

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

Hello, thanks for your contribution. I've renamed the PR title to fit the naming scheme we use, this is partly described on our new ways of working page.

Is there anything I need to do close this PR?
I am new and will need some assistance.

@AnirbanPatragithub there's nothing more for you to do. We just need to review and then trigger the merging of the PR which will close it.

@p3430233 Please can you find a bit of time to review this?

@p3430233 @GCHQDeveloper314 Thanks guys.

@AnirbanPatragithub Thanks for your contribution


authorizationParams=[object Object]  after upgrading to v2.0.0

Describe the problem
After upgrading to v2.0.0 the browser is opening an auth0 url where the authorizationParams is [object Object], i.e. invalid. The url is https://dossierhq-tutorial.eu.auth0.com/authorize?authorizationParams=%5Bobject%20Object%5D&client_id=....

What was the expected behavior?
It should be possible to login.
Reproduction
(Sorry, haven't had the time to recreate a minimal repro)

Upgrade to 2.0.0
Adjust to breaking changes in 2.0.0
Run app, click on login button, which uses loginWithRedirect()

Can the behavior be reproduced using the React SDK Playground?
If so, provide steps:

Where applicable, please include:

The smallest possible sample app that reproduces the undesirable behavior
Log files (redact/remove sensitive information)
Application settings (redact/remove sensitive information)
clientId and domain (these are publicly available)
Screenshots

Environment

Please provide the following:

Version of auth0-react used:  2.0.0
Which browsers have you tested in? Firefox/Chrome
Which framework are you using, if applicable (Angular, React, etc): React
Other modules/plugins/libraries that might be involved:

I'm seeing the exact same problem:
https://....auth0.com/authorize
?authorizationParams=[object Object]
&client_id=L...
&scope=openid profile email
&response_type=code
&response_mode=query
&state=bXYy...==
&nonce=TktlbV...==
&code_challenge=A985...
&code_challenge_method=S256
&auth0Client=eyJuYW...=

Thanks for reaching out. I will need to look into this and see what could be causing this. Can you verify this happens when both auth0-react v2 and auth0-spa-js v2 are installed locally?

Hi @frederikprijck.
npm install @auth0/auth0-spa-js fixed the issue!
Perhaps we needed this dependency all along? It worked fine beforehand however without it.
In any case, if it's a hard new requirement, let's please have the v2 migration guide reflect that.
Best!

Hey @seljabali ,
No, you should not have to explicitly install auth0-spa-js manually, sorry about that confusion.
But installing auth0-react should install auth0-spa-js, and installing v2 of auth0-react should install v2 of auth0-spa-js.
How did you upgrade auth0-react? Did npm warn you about any incompatible versions?

@frederikprijck, I just checked out the commit before adding auth0-spa-js dependency manually and ran it, however didn't come across the error. Perhaps it was a build caching issue? I'm not sure. Thanks again for the help! Hope this helps others.

@frederikprijck I'm using pnpm as the package manager (wrapped by rush). Adding @auth0/auth0-spa-js didn't fix the issue for me, but purging all node_modules and reinstalling worked for me (rush purge && rush update).
Thanks for the assistance! 👋

my team also ran into this problem while using pnpm. removing node_modules and restarting completely also worked for us. thank you for the help!


Codecov Report

:exclamation: No coverage uploaded for pull request base (main@814b44a). Click here to learn what that means.
The diff coverage is 55.17%.

@@           Coverage Diff           @@
##             main   #22244   +/-   ##
=======================================
  Coverage        ?   48.16%
=======================================
  Files           ?     1043
  Lines           ?   142378
  Branches        ?        0
=======================================
  Hits            ?    68571
  Misses          ?    65618
  Partials        ?     8189

Impacted Files
Coverage Δ

models/git/commit_status.go
51.13% <0.00%> (ø)

services/repository/files/commit.go
61.40% <0.00%> (ø)

routers/api/v1/utils/git.go
62.29% <71.42%> (ø)

routers/api/v1/repo/status.go
66.09% <100.00%> (ø)

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

make L-G-T-M work

Please send backport


Revoke-Certificate - Throwing exception Cannot find an appropriate constructor

Hello,
I've tried to find something but could not find anything close to what I'm experiencing when trying to use the Revoke-Certificate cmdlet the following exception is being thrown:
New-Object : A constructor was not found. Cannot find an appropriate constructor for type
SysadminsLV.PKI.Utils.ServiceOperationResult.
At C:\Program Files\WindowsPowerShell\Modules\PSPKI\4.2.0\Server\Revoke-Certificate.ps1:52 char:13
+             New-Object SysadminsLV.PKI.Utils.ServiceOperationResult $ ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [New-Object], PSArgumentException
    + FullyQualifiedErrorId : CannotFindAppropriateCtor,Microsoft.PowerShell.Commands.NewObjectCommand

As it is stated in the exception message module version in use is 4.2.0, I did not have the time to properly debug the whole thing but exception is being thrown at line 49 of the Revoke-Certificate function where code reads:
            $CertAdmin.RevokeCertificate($Request.ConfigString,$Request.SerialNumber,$Reasons[$Reason],$RevocationDate.ToUniversalTime())
            New-Object SysadminsLV.PKI.Utils.ServiceOperationResult 0,
                "Successfully revoked certificate with ID=$($Request.RequestID) and reason: '$Reason'"
        } catch {
            New-Object SysadminsLV.PKI.Utils.ServiceOperationResult $($_.Exception.InnerException.InnerException.HResult)
        }

I will try to find some time to further troubleshoot this but if someone experienced this issue or has any pointer I would really appreciate it.

Adding to my own report I've tried running the same script using module version 3.7.2 and it woks as intended.
I have an interim fix and that is perfect but still I would like to troubleshoot this in 4.2.0 at least to isolate what is causing it.

You can try this script if you like: https://github.com/hmiller10/PowerShell-Tidbits/blob/main/PKI/OperationsScripts/Revoke-APkiCertificate.ps1

Thanks but the logic to revoke cert is already in place it is just the cmdlet throwing the exception I've reported, I've now been able to fix the issue so I?m kind of set but still would like to go to the bottom of this to understamd

I've tried to repro the issue by attempting to generate both, successful and unsuccessful responses and it works fine for me in 4.2.0:
PS C:\> $req | Revoke-Certificate

HResult      StatusMessage
-------      -------------
-2147023174  The RPC server is unavailable.

PS C:\> $req | Revoke-Certificate

HResult      StatusMessage
-------      -------------
0            Successfully revoked certificate with ID=1006744 and reason: 'Unspecified'

PS C:\>

I faced the same issue and found that when I ran the script on the certification authority without adminrights it will show this error.
When running the script with adminrights, everything runs fine.
That totally makes sense, the resulting error is just quite confusing.


aaaaaa in perl

This doesn't print infinitely, it only prints once

Alright, fixed that.  Thanks demo.

Okay, fixed that,

looks good :+1:


Improve navigation with TOC and heading style updates

Summary

Enhance TOC scrolling with added padding-bottom
Offset heading positions with uniform negative margin-top
Maintain visual hierarchy with varied padding-top for headings

Solves latest comments on #1054
Preview

https://github.com/boostorg/website-v2/assets/3632378/263bbea9-85fc-44b6-ab57-038209cc79bd

the build is stuck

oh, it ran! the status is just out of date

:sparkles: :cake: :sparkles:


Clients should refrain from usage of the declared operation.

Grammar: Clients should refrain from usage of the declared operation.

That's slightly tricky. While deprecated is a general documentation feature for consumers (which I prefer to clients), I'm wondering if it can also have an impact on producers when it comes to code generation.


How can test DateRangePicker?

How can test DateRangePicker? :

onChange

const wrapper = mount(
      shallow(
        <PromotionRange
          {...}
        />,
      ).get(0),
    );
    const startDateTimePicker = wrapper.find("input#startDateTimePicker");
    startDateTimePicker.simulate("change", {
      target: { value: "10/09/2019 10:04 AM" },
    });

after simulater change I check changing props, but they do not change!
I have Stateful component with 2 DateTimePicker, and I need to write a test for checking compare date/time between two DateRangePicker (showing error too)

Same with me on react-testing-library. The onChange events fired in the input, don't do anything.


[Storage] az storage blob upload/upload-batch Fix --content-md5 for upload, ignore --content-md5 for upload-batch

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Storage


Update code-of-conduct.md

Small edits:

Emphasise what we do want versus what we don't;
Break up long sentences;
Ensure the style of the "research misconduct" point aligns with the others; and
Change the emoticon of "Consequences". We prefer to support just consequences (and help people feel supported), rather than appointing ourselves "police" of behavior.

Thanks @ehultee ! this is much better now. Still missing the open source aspects you mentioned offline but this can be done later


Launch with message does not display on specific workflows

Bug Report
Expected behaviour
Launch with information shows on https://staging.dockstore.org/workflows/denis-yuen%2Fdockstore-whalesay
Actual behaviour

The files tab also doesn't show anything for descriptors.

These versions don't actually have any associated files

Refreshing an entry fixes it. It is likely caused because we previously had less stringent requirements for validity. That or the source files were not properly ported.

FYI, leaving this open as a one-time deployment task that we need to remember

FYI, ran into this with https://dockstore.org/workflows/NCI-GDC%2Fgdc-dnaseq-cwl%2FGDC_DNASeq as well. Had to refresh on the user's behalf to fix this.

@agduncan94 FYI, ran into this with https://dockstore.org/workflows/NCI-GDC%2Fgdc-dnaseq-cwl%2FGDC_DNASeq as well. Had to refresh on the user's behalf to fix this. Might want to keep an eye out for this, not sure what causes it.

FYI, reopening this.
It seems I have a reproducible test case here.

So far, I have the following:

I can reproduce deterministically on production
I cannot reproduce in development, even matching versions and using a copy of the prod database
Refresh All Workflows or Refresh by Organization seem to knock files out of certain workflows
Refresh individually always seems to work (and can be seen as a workaround)

When we refresh an individual workflow, we set the gitUsername (ex.  ICGC-TCGA-PanCancer) and gitRepository (ex. wdl-pcawg-sanger-cgp-workflow) in the sourceControlRepoInterface object, since each instantiation of the interface is associated with a specific git repository.
When we refresh multiple workflows, we only set the gitUsername. This will cause errors any time we try and talk with a source control repo. To solve this, as the refresh code iterates over the different workflows, I call a function to set the gitUsername and gitRepository to the correct values. This seems to fix the error.
Also worth noting that this issue only seemed to happen for workflows which had secondary files (at least when testing locally).

This is hotfixed now


python312Packages.tencentcloud-sdk-python: 3.0.1210 -> 3.0.1211

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1210...3.0.1211
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1211/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 334587 run on x86_64-linux 1

4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


Firminator patch 2 - Reorder where the DES keys are shown

Would it be possible to move the keys down to option 4 (Edit DES keys) where you would expect the keys to be shown?
minor text change
removed 1 whitespace

@Firminator, thank you. My personal dream would be MrChrombox-like UI: https://github.com/Dasharo/dasharo-issues/issues/225

I think the user interface is pretty awesome so far. It gets the job done. But yes as long time user of Matt's firmware (and his firmware update script) I can see why you consider it the golden standard to compare against.

I made the mistake to PR into 'main'. Can you change it so it goes into Dev branch if you decide to take the commit similar to what ThomaszAIR did with my other PR @ https://github.com/Dasharo/meta-dts/pull/85#issuecomment-1893930362

Those changes were cherry-picked (https://github.com/Dasharo/meta-dts/commit/1ac80592809eb4f5d4e30b4ab61e1515a409db98 and https://github.com/Dasharo/meta-dts/commit/facde1b188867fc2dcca9f51320cbaf4a5b1b1c6) and released in v1.2.19. @Firminator thank you for the contribution :)


Proposal: Please start using Semantic Versioning

I found that this project already supports Go modules. But sadly, the tags doesn't follow Semantic Versioning, which means that all tags of this project will be ignored by Go modules and replaced by pseudo-versions, go get acts weirdly when tags are not in that form. It would be great to have the tagged release be named in the format vX.X.X format so that go mod can read it.
	github.com/atlassian/gostatsd v0.0.0-20200807124358-416562efa755

Else the mod file shows something like github.com/atlassian/gostatsd v0.0.0-20200807124358-416562efa755 which is not very readable and difficult to upgrade. It’s hard to verify which version is in use. This is not conducive to version control.
So, I propose this project to follow Semantic Versioning in future versions. For example, v1.0.1, v2.0.0, v3.1.0-alpha, v3.1.0-beta.2etc.

@tiedotguy  @ash2k  Could you help me review this issue? Thx :p

Well bother.  This sounds more like an issue with go's interpretation of semvers. From Is “v1.2.3” a semantic version?: the v is common (in english), but not actually part of semver.
That being said, tagging is done manually, so doesn't really make a difference, we can add a v prefix going forward 🤷
We have a release pending which I just haven't got to releasing (28.2.0), so I'll start with that.

@MovieStoreGuy @adampetrovic FYI: we're prefixing tags with v now if you release anything.

This should only impact cases where you want to use gostatsd as a library. We could still omit the 'v' prefix for docker image tags.

Does docker care about a v prefix? We use the git tag directly as the docker tag.

No it doesn't. I've never seen any of the major docker images use "vX.Y.Z" as the tagging format.

It's less about consistency and more about being lazy and not updating build scripts :)

I get trouble again.
$go get<EMAIL_ADDRESS>go get<EMAIL_ADDRESS><EMAIL_ADDRESS>invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v28

It seems the module path should be "github.com/atlassian/gostatsd/v28":
The github.com/atlassian/gostatsd uses Go modules and the current release stream version is v28. It need comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation and enforced since the most recent versions of Go. The module path should be "github.com/atlassian/gostatsd/v28". Quoting the specification:

A package that has opted in to modules must include the major version in the import path to import any v2+ modules
To preserve import compatibility, the go command requires that modules with major version v2 or later use a module path with that major version as the final element. For example, version v2.0.0 of example.com/m must instead use module path example.com/m/v2.
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

This is the downstream repo:
https://github.com/search?q="github.com%2Fatlassian%2Fgostatsd"+filename%3Ago.mod&type=Code
Perhaps this matter needs careful consideration.

import "github.com/atlassian/gostatsd/v28" just has such a nice ring to it, doesn't it? 🤦

gostatsd is an application first and a library second, and we burn major versions like they're free.
If I'm understanding this correctly, it now goes from free to very very expensive (changing imports in over half the source files in the project every time we bump, moving files to new directories?).

"Packages intended for public use should try to maintain backward compatibility as they evolve. The Go 1 compatibility guidelines are a good reference here: don't remove exported names, encourage tagged composite literals, and so on. If different functionality is required, add a new name instead of changing an old one. If a complete break is required, create a new package with a new import path."

I have no intention of doing any of that at this point of time.  That may change once the majority of the code is migrated to internal, but there's no push to do that at present - I'm trying to maintain surface area, not reduce it.
Is my understanding correct?  If so, I'm ok with deleting the tag so as not to confuse future attempts to go get, and continuing how we did it before, leaving it up to anyone who wants to consume us as a library to manage it via commits, with the understanding that it's semantic versioning of the API (semver), but not packages (go's semver).

I would rather imports looking like github.com/atlassian/gostatsd v0.0.0-20200807124358-416562efa755 that the overhead of maintaining this project as a library to golang's standards (which is a secondary concern).

I'll submit a PR updating the README.md to reflect this.

Thank you for your feedback. @tiedotguy  @adampetrovic


Added an OpenCV-based VideoLoader

It is not ready to be merged for now. But I have finished a preliminary version that supports batch read, overlap and so on.
The test code:
from utils.io import VideoLoader

if __name__ == '__main__':
    vr = VideoLoader('./sample/v_ZNVhz7ctTq0.mp4', batch_size=4, total=17, overlap=1)
    for batch in vr:
        print(len(batch), [item[2] for item in batch])

Thank you! It looks great! I am reviewing this week for a conference and will not be able to test it thoroughly right away. I will get back to it next week hopefully.

😄  Okay, happy reviewing LOL.

A note: Now the results of the new API and the old API are exactly the same by manual comparison, but not the same as in the tests directory.
In[7]: truth = torch.load("tests/raft/reference/v_GGSY1Qvo990_sintel_1_None_True_1_raft.pt")["data"]
In[8]: pred = np.load("output/raft_new/v_GGSY1Qvo990_raft.npy")
In[16]: abs(pred - truth).sum()
Out[16]:<PHONE_NUMBER>9470826
In[17]: pred2 = np.load("output/raft_old/v_GGSY1Qvo990_raft.npy")
In[18]: abs(pred - pred2).sum()
Out[18]: 0.0

Let me clarify it a bit.
So, you cannot pass the test with both the old state and the new state, can you? However, the values that you get from extraction are the same with the old state and the new state of the code.

Yes, that's right. And I also cannot pass the tests in Colab with the master branch. Could you offer a notebook that will pass the tests?

Oh, that’s ok. I thought that these tests might not pass on other machines. I couldn't make them work on colab neither. It cannot pass the tests where I change fps (ffmpeg version is old on colab).
These tests are mostly for me to quickly check if added features are ok. However, I still do the manual check myself.
To sum up, if both states produce the same values on one machine it is fine. You may also remove the reference folder and create the new references with the old vecsion for your experiments (toggle to_make_ref in a test and then untoggle it and checkout to another code state and run the tes)

I encountered bugs on opencv or ffmpeg:
For example, as you mentioned when the fps is 1 or 2, sometimes the first frame of the video is missing. And here is what I found: When I recode the video to 12 frames in total, the first frame is missing, but I can still read the 12 rgb images, i.e. the first read() fails but the next 12 read() succeed.
It's strange and I am trying to deal with it.

Hm interesting…
—--
oh, I knew it. I encountered it before. Check the implementation of I3D and a comment.
https://github.com/v-iashin/video_features/blob/ca5acd2ea1fdfa91337cb46dd2ea13f1735fa90d/models/i3d/extract_i3d.py#L87

I finished a version that can probably be adapted to all kinds of situations. The old IO and the new IO have exactly the same results but the new one is more object-oriented and neater, which is encouraging.
I avoid using set(cv2.CAP_PROP_POS_FRAMES, value) , get(cv2.CAP_PROP_POS_FRAMES) and get(cv2.CAP_PROP_POS_MSEC), because in some cases these functions may return the wrong value without warning (There are disscussions here). Therefore, this version doesn't have bug in #68 .
However, after my tests, the platform or the version of ffmpeg can have some influence on the results.
My test results are here. And the used outputs are  here

oh, I knew it. I encountered it before. Check the implementation of I3D and a comment.

I noticed this, but I mean that maybe the first frame is not "missing", it may be delayed by one frame.

The following codes may help to test the new IO.
from utils.io import VideoLoader
import hashlib

if __name__ == '__main__':
    vr = VideoLoader('./sample/v_ZNVhz7ctTq0.mp4', batch_size=4, total=12, overlap=3)
    for batch in vr:
        print([round(i, 1) for i in batch[1]], batch[2], end=" ")
        for item in batch[0]:
            print(hashlib.md5(str(item).encode('utf-8')).hexdigest()[:6], end=" ")
        print("")
    print(vr.num_frames)

The ouptuts:
[0.0, 1166.7, 2333.3, 3500.0] [0, 1, 2, 3] 3bd5f1 8af1f3 65069b f868f3
[1166.7, 2333.3, 3500.0, 4666.7] [1, 2, 3, 4] 8af1f3 65069b f868f3 c8e3d3
[2333.3, 3500.0, 4666.7, 5833.3] [2, 3, 4, 5] 65069b f868f3 c8e3d3 6ea2ed
[3500.0, 4666.7, 5833.3, 7000.0] [3, 4, 5, 6] f868f3 c8e3d3 6ea2ed bf264f
[4666.7, 5833.3, 7000.0, 8166.7] [4, 5, 6, 7] c8e3d3 6ea2ed bf264f 7bf211
[5833.3, 7000.0, 8166.7, 9333.3] [5, 6, 7, 8] 6ea2ed bf264f 7bf211 b922de
[7000.0, 8166.7, 9333.3, 10500.0] [6, 7, 8, 9] bf264f 7bf211 b922de 68821f
[8166.7, 9333.3, 10500.0, 11666.7] [7, 8, 9, 10] 7bf211 b922de 68821f b21687
[9333.3, 10500.0, 11666.7, 12833.3] [8, 9, 10, 11] b922de 68821f b21687 394430
12

There is a bug now. Since reencode_video_with_diff_fps is moved from utils.utils to utils.io, other models (i3d, s3d, r21d) fail with the import error.

It also fails with resize_to_smaller_edge=true on RAFT
python main.py \
    feature_type=raft \
    device="cuda:0" \
    side_size=256 \
    resize_to_smaller_edge=true \
    video_paths="[./sample/v_ZNVhz7ctTq0.mp4, ./sample/v_GGSY1Qvo990.mp4]"

Traceback (most recent call last):
  File "/home/vladimir/backup/video_features-1/models/_base/base_extractor.py", line 45, in _extract
    feats_dict = self.extract(video_path)
  File "/home/vladimir/miniconda3/envs/torch_zoo/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
    return func(*args, **kwargs)
  File "/home/vladimir/backup/video_features-1/models/_base/base_flow_extractor.py", line 91, in extract
    batch_feats = self.run_on_a_batch(batch, padder)
  File "/home/vladimir/backup/video_features-1/models/_base/base_flow_extractor.py", line 111, in run_on_a_batch
    batch_feats = model(batch[:-1], batch[1:])
  File "/home/vladimir/miniconda3/envs/torch_zoo/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/vladimir/backup/video_features-1/models/raft/raft_src/raft.py", line 153, in forward
    corr = corr_fn(coords1) # index correlation volume
  File "/home/vladimir/backup/video_features-1/models/raft/raft_src/corr.py", line 45, in __call__
    corr = bilinear_sampler(corr, coords_lvl)
  File "/home/vladimir/backup/video_features-1/models/raft/raft_src/utils/utils.py", line 65, in bilinear_sampler
    img = F.grid_sample(img, grid, align_corners=True)
  File "/home/vladimir/miniconda3/envs/torch_zoo/lib/python3.8/site-packages/torch/nn/functional.py", line 3391, in grid_sample
    return torch.grid_sampler(input, grid, mode_enum, padding_mode_enum, align_corners)
RuntimeError: grid_sampler(): expected grid and input to have same batch size, but got input with sizes [1376, 1, 32, 43] and grid with sizes [1344, 9, 9, 2]

Trying to figure out why is it happening...

Ok, the problem is with the InputPadder You initialize it with (video.height, video.width) and these are from the original resolution. However, after we apply transforms the shape changes. This is why I previously took rgb.shape after the transforms.
You can fix it by moving the InputPadder initialization inside of the for batch, ts, idx in video: loop (a bit awkward):
# in base_flow_extractor.py
        for batch, ts, idx in video:
            # batch = torch.stack(batch, dim=0)
            padder = InputPadder(batch[0].shape) if self.feature_type == 'raft' else None

Sorry for the delay in updating, I've been busy lately and someone at my university got Covid, so maybe I'll get to this next week.

A note for myself:

[ ] test with an overlap


Unable to download python connector

Hello,
I am doing "pip install  wazirx_sapi_client"  to install the python connector so as to use this in trading bot. But I am getting below error, could you please help me?
ERROR: Could not find a version that satisfies the requirement wazirx_sapi_client (from versions: none)
ERROR: No matching distribution found for wazirx_sapi_client

This is not available as package index. you can just download the code from this repo and place it in your project and import and use it.


How to create limit size queue?

You can use the maxsize argument when initializing the object. It will set up a trigger on the database, so the limit is persistent while the DB file exists unless you manually delete it.


mritopng command line won't convert

Hi There,
Tried to convert a .dcm file to png, using the command line on Mac OS X with Python 2.7.12 here is the output:
mritopng ~/file1.dcm ~/file1.png
Traceback (most recent call last):
File "/usr/local/bin/mritopng", line 11, in
load_entry_point('mritopng==2.1', 'console_scripts', 'mritopng')()
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mritopng-2.1-py2.7.egg/mritopng/main.py", line 19, in main
convert_file(args.dicom_path, args.png_path)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mritopng-2.1-py2.7.egg/mritopng/init.py", line 50, in convert_file
mri_to_png(mri_file, png_file)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mritopng-2.1-py2.7.egg/mritopng/init.py", line 28, in mri_to_png
w.write(png_file, image_2d_scaled)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/png.py", line 655, in write
nrows = self.write_passes(outfile, rows)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/png.py", line 804, in write_passes
extend(row)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/png.py", line 801, in
return lambda sl: f(map(int, sl))
TypeError: only size-1 arrays can be converted to Python scalars
Any ideas?

@phrozendice Would you be able to provide the file that causes this error?

@danishm thank you for your prompt response, unfortunately I can’t provide the source file as it contains personal identifiable information. If there is anything else I can do to help you reproduce please let me know.

@phrozendice That makes total sense! Yes, patient privacy is important. I've been developing on a cases by case basis using publicly available samples mostly. I have a few in this folder for testing in the project. Here is how you can help
Possible ways to help

If you can figure out what's different between the sample files I have and the ones you have, that would help.
If you're handy with jumping into python code, when you're processing your files, what does the variable image_2d_scaled look like on this line of code. I'm more interested in the shape rather than the data i.e. is it in fact a 2d array with some data inside it and what's it shape is.

@phrozendice Any news on this issue ?
I'm running in the same problem and I'm having a hard time figuring why because this tool always worked for me with my previous DICOM files (thanks @danishm!)

@danishm Here is what I have when i print the image_2d_scaled variable:
`mritopng IVA0\ (1) output.png
Arguments: %s Namespace(auto_contrast=False, dicom_path='IVA0 (1)', folder=False, png_path='output.png')
Removing existing output file output.png
[[[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
...
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]]
[[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
...
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]]
[[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
...
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]]
...
[[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[99.23076923 99.23076923 99.23076923]
...
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]]
[[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
...
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]]
[[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
...
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]
[ 0.          0.          0.        ]]]
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/png.py", line 795, in write_passes
extend(row)
TypeError: only size-1 arrays can be converted to Python scalars
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/mritopng", line 11, in
load_entry_point('mritopng==2.2', 'console_scripts', 'mritopng')()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mritopng-2.2-py3.6.egg/mritopng/main.py", line 21, in main
convert_file(args.dicom_path, args.png_path, args.auto_contrast)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mritopng-2.2-py3.6.egg/mritopng/init.py", line 60, in convert_file
mri_to_png(mri_file, png_file, auto_contrast)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mritopng-2.2-py3.6.egg/mritopng/init.py", line 22, in mri_to_png
w.write(png_file, image_2d.image)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/png.py", line 656, in write
nrows = self.write_passes(outfile, rows)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/png.py", line 805, in write_passes
extend(row)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/png.py", line 802, in
return lambda sl: f(list(map(int, sl)))
TypeError: only size-1 arrays can be converted to Python scalars`


RoundUp Formatting does not like line-breaksd in the post message

When you have any "\r\n" in the body of an Issue Comment, the RoundUp gets formatted wrong.
I'm sure other formatting issues happen, too. Bullets?
I would like to spend some time trying to work out a way to have any valid markdown formatting get used in an Issue Comment and have it work in the RoundUp. I haven't figured out how to do this, yet.

This should work now.
Entries with line breaks should work


Old APK

Is it possible to get old APK from this package, or just latest version? Similar to this:
https://www.apkmirror.com/uploads/?q=github-2

Set specific versionCode you want.
Not tested.
https://github.com/kagasu/GooglePlayStoreApi/blob/5bea3004398fb931bfdd6b471c848da01f6162c6/GooglePlayStoreApi/GooglePlayStoreClient.cs#L196

Is it possible to list the available versions?


⚠ ClamAV has degraded performance

In be291ce, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 441 ms

Resolved: ClamAV performance has improved in c52d6e9.


incorrect mode identification for main sequence stars

I'm trying pbjam with a main sequence star (16 Cyg A; KIC 12069424), using a power spectrum from the KASOC time series, and with stellar parameters instantiated as follows:
star = pb.star(kic, pg,
               [2200, 50], [150,50], teff=[5830, 11], bp_rp=[0.8201175, 0.1])

calling star() returns the following l = 0,2 mode identifications:

The l=1 ridge is being misidentified as l=0,2 modes, with a value of the small separation that is likely determined by noise peaks (2 μHz rather than ~8 μHz).

Hi Joel, thanks trying this out. The main-sequence part of the prior is still a bit sparse.
Can you try increasing the error on your Teff, \pm11 K is very small. I don't know if that'll affect anything, but we do have a Gaussian prior on Teff on top of the KDE, so if it's too narrow it might try to put epsilon at a wrong value.
Also, when I was populating working on the main-sequence targets I found that increasing the bandwidth (to 2-4) of the KDE sometimes helped. This is the bw_fac optional parameter when you call session or star (after initializing it).

Hey @darthoctopus ,
Thanks for looking at this.  I'm trying to recreate this but Lightkurve doesn't like 16 Cyg (complains about multiple targets).  I guess you are using a custom lightcurve.  If you share the light curve (or even your notebook) I'll have a go.
First out the gate as a suspect here is your starting Dnu.  PBjam is really designed to work only if you give a decent estimate of Dnu (& Numax) to the code.  I think the results you are seeing are simply a manifestation of your large uncertainty in Dnu.  Could you retry with dnu=[103.4, 1.0]?
Ta,

Thanks @nielsenmb and @grd349 for the suggestions. As @grd349 suspects, pbjam is able to identify the modes correctly with a more constrained value of Δν.


fix(gh-action-checkout): upgrade to v4

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5ec373e) 66.92% compared to head (942f1f9) 66.92%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #856   +/-   ##
=======================================
  Coverage   66.92%   66.92%
=======================================
  Files          43       43
  Lines         520      520
  Branches       76       76
=======================================
  Hits          348      348
  Misses        167      167
  Partials        5        5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Typo in Deployment documentation?

I was browsing the 11ty documentation and I think there is a typo in https://www.11ty.dev/docs/deployment/#use-a-build-script
"When deploying your Eleventy site, the goal is to provide your chosen [missing] with your project’s build output"
I could fork and amend this real quick, if that is the easiest way to fix it. Thoughts?

Yeah I think this should say chosen host or chosen provider? I think just editing on the GitHub UI is fine if you want to fix! https://github.com/11ty/11ty-website/blob/main/src/docs/deployment.md

Yea, I'll do that real quick

PR created at #1405

Merged, thanks!!

Thanks! This issue can be closed since the fix was merged.


Open Folder crash

VSCode Version:

Version: 1.28.1
Commit: 3368db6750222d319c851f6d90eb619d886e08f5
Date: 2018-10-11T18:09:20.566Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

OS Version:

Distro: Arch Linux
Kernel: 4.18.12-arch1-1-ARCH
Freshly installed and setup yesterday

Steps to Reproduce:

Open VSC
Click Open Folder or Open Workspace (or anything else that opens a dialog window)

Does this issue occur when all extensions are disabled?: Yes
Does it on both the code and visual-studio-code-bin AUR packages.
code --disable-extensions --verbose
[101732:1016/185307.569368:INFO:CONSOLE(1408)] "%cTRACE", source: file:///opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js (1408)
[main 6:53:07 PM] windowsService#pickFolderAndOpen
(code:101732): GdkPixbuf-WARNING **: 18:53:07.632: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

(code:101732): Gtk-WARNING **: 18:53:07.632: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
(code:101732): GdkPixbuf-WARNING **: 18:53:07.633: Cannot open pixbuf loader module file '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Cannot upload crash dump: cannot exec /usr/bin/wget
Server response:
[shaybox@Workstation ~]$

(Yes I did try running the command it says in the log, I don't have permission, even with sudo or root)
Does not open the dialog window at all, crashes right after clicking any of the buttons that would open them.

We are building exploration builds that use a much newer version of Electron (our UI framework). I wonder if this issue reproduces with one of these builds, could you try? Download:

macOS: Download
Linux: Download
Windows: Download

We are building exploration builds that use a much newer version of Electron (our UI framework). I wonder if this issue reproduces with one of these builds, could you try? Download:

macOS: Download
Linux: Download
Windows: Download

when i upgrade to version 1.28.2  it's not happened again


.hangman not working in DM

I used to be able to play hangman in a DM with Nadeko; now, typing .hangman makes Nadeko say 'Type .h for help' and...nothing happens.

According to the source, that's intended.

yup


Report date range/feature

Ticket No

https://trello.com/c/pjl0RYyL

Summary of changes

Validate calendar date range and make filtering of reports correspond to the selected tabs. Service attendance reports run from Sunday to Sunday whilst salvations and small group attendance don't.

How should this be tested? [Screenshots, Video or Type instructions]

https://www.awesomescreenshot.com/video/13369080?key=f9a3a629f9c0eb918278fe46baa62b63

Given the overhaul of the reports component, this implementation is no longer valid. It will be re-implemented using the new setup