ADD COLUMN IF NOT EXISTS in MariaDB generates a Flyway Parsing Error

Which version and edition of Flyway are you using?
Flyway Community Edition 6.4.0 by Redgate installed via Brew
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Yes, I upgraded my CLI just before submitting this issue.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
CLI via brew
I also use the Maven plugin, but have not tested this change there yet.
Which database are you using (type & version)?
MariaDB 10.3.22 with InnoDB schema
Which operating system are you using?
macOS Catalina 10.15.4
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
ALTER TABLE mydb.quantities ADD COLUMN IF NOT EXISTS quantity_name VARCHAR(150) DEFAULT NULL;
What did you expect to see?
The migration to succeed with a new column created in the schema if the column did not previously exist in the schema.
What did you see instead?
ERROR: Unable to parse statement in /V7__Refactor.sql at line 9 col 1: Incomplete statement at line 9 col 1: ALTER TABLE mydb.quantities ADD COLUMN IF NOT EXISTS quantity_name VARCHAR(150) DEFAULT NULL;
Removing the "IF NOT EXISTS" text from the SQL works allows the migration to work.  Running the SQL directly in MariaDB 10.3.22 also works.

Fixed by https://github.com/flyway/flyway/commit/9235c04b5eec7af093100833f172b8b3e0f9a404


Divide by zero error when recalculating save_samples

In the current train function, we recompute the save_samples by normalizing it to the batch_size.
For instance, we have the following block of code in main_ds.py:
    batch_size = args.effective_batch_size // grad_accum
    args.save_samples = (args.save_samples // batch_size) * batch_size

But when these take on sufficiently small samples such that save_samples < batch_size, then save_samples is reassigned to 0, which leads to DivisionByZero exceptions during the checkpoint saving process, e.g.:
[rank0]: Traceback (most recent call last):
[rank0]:   File "/home/ec2-user/olegs-super-secret-directory/instructlab/venv/lib64/python3.11/site-packages/instructlab/training/main_ds.py", line 796, in <module>
[rank0]:     main(args)
[rank0]:   File "/home/ec2-user/olegs-super-secret-directory/instructlab/venv/lib64/python3.11/site-packages/instructlab/training/main_ds.py", line 572, in main
[rank0]:     train(args, model, tokenizer, train_loader, grad_accum, metric_logger)
[rank0]:   File "/home/ec2-user/olegs-super-secret-directory/instructlab/venv/lib64/python3.11/site-packages/instructlab/training/main_ds.py", line 451, in train
[rank0]:     if global_step * batch_size % args.save_samples == 0:
[rank0]:        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
[rank0]: ZeroDivisionError: integer modulo by zero

Potential solutions:
To ensure that we never have a save_samples value of zero, we can set a lower bound on values for save_samples by doing:
    args.save_samples = math.max((args.save_samples // batch_size) * batch_size, 1)

Copying from other thread:

Save samples should never be less than ebs, otherwise it could be saving the same checkpoint multiple times
Potential solutions: max(effective_batch_size, adjusted_save_samples) or just raise exception if their save_samples < ebs, whatever makes more sense for user


Feature: allow tagging of Azure interfaces with custom tags

User would like to add unique tags per NIC. Currently, the var.tags is available but it is applied to all resources.
Use Case
The use case would be for F5 Cloud Failover Extension to satisfy Azure requirements in which NICs must be tagged with the failover labels, and nic maps. Specifically the primary IP on the external NIC must be tagged with 2 tags for example. Then the public IPs must be tagged too.
https://clouddocs.f5.com/products/extensions/f5-cloud-failover/latest/userguide/azure.html
Current behavior
Successful deployment of BIG-IP, but all NICs are tagged the same. There is no way to specify unique tags per NIC. In order to setup HA failover, manual workaround needed to add tags after deployment to NICs is needed.
Workaround
You must manually tag after but it won't be in time for onboarding to be successful. Still though, since the BIG-IP module doesn't contain those tags in state...upon next run...it will wipe out the values.
There is an aws_ec2_tag resource in the AWS provider, but I cannot find an equivalent for the Azure provider. See similar ticket in AWS BIG-IP module here - https://github.com/F5Networks/terraform-aws-bigip-module/issues/22
Suggestion
Add ability for the module parameters on the subnet lines to take additional tags.
Current...
module bigip {
  source                      = "F5Networks/bigip-module/azure"
  prefix                      = "bigip-azure-3nic"
  resource_group_name         = "testbigip"
  mgmt_subnet_ids             = [{"subnet_id" = "subnet_id_mgmt" , "public_ip" = true, "private_ip_primary" =  ""}]
  mgmt_securitygroup_ids      = ["securitygroup_id_mgmt"]
  external_subnet_ids         = [{"subnet_id" =  "subnet_id_external", "public_ip" = true, "private_ip_primary" = "", "private_ip_secondary" = "" }]
  external_securitygroup_ids  = ["securitygroup_id_external"]
  internal_subnet_ids         = [{"subnet_id" =  "subnet_id_internal", "public_ip"=false, "private_ip_primary" = "" }]
  internal_securitygroup_ids  = ["securitygropu_id_internal"]
}

With tags...
module bigip {
  source                      = "F5Networks/bigip-module/azure"
  prefix                      = "bigip-azure-3nic"
  resource_group_name         = "testbigip"
  mgmt_subnet_ids             = [{"subnet_id" = "subnet_id_mgmt" , "public_ip" = true, "private_ip_primary" =  ""}]
  mgmt_securitygroup_ids      = ["securitygroup_id_mgmt"]
  external_subnet_ids         = [{"subnet_id" =  "subnet_id_external", "public_ip" = true, "private_ip_primary" = "", "private_ip_secondary" = "", "more_tags_here" = "" }]
  external_securitygroup_ids  = ["securitygroup_id_external"]
  internal_subnet_ids         = [{"subnet_id" =  "subnet_id_internal", "public_ip"=false, "private_ip_secondary" = "", "more_tags_here" = "" }]
  internal_securitygroup_ids  = ["securitygropu_id_internal"]
}

I found a workaround via AZ cli as a null_resource...still hacky though. There is a source of truth issue still since both the null_resource and the module bigip will try to manage the NIC. Upon next update, the tags will either be there or not due to this workaround. Not consistent and not recommend...but gets me by for now.

Collect data on NIC
then run null_resource with az cli command to update nic

# BIG-IP 1 NIC info
data "azurerm_network_interface" "bigip_ext" {
  name                = format("%s-ext-nic-public-0", element(split("-f5vm01", element(split("/", module.bigip.bigip_instance_ids), 8)), 0))
  resource_group_name = azurerm_resource_group.main.name
}
data "azurerm_network_interface" "bigip_int" {
  name                = format("%s-int-nic0", element(split("-f5vm01", element(split("/", module.bigip.bigip_instance_ids), 8)), 0))
  resource_group_name = azurerm_resource_group.main.name
}

# Add Cloud Failover tags to BIG-IP 1 NICs
resource "null_resource" "f5vm01_nic_tags" {
  depends_on = [module.bigip]
  # Running AZ CLI to add tags
  provisioner "local-exec" {
    command = <<-EOF
      #!/bin/bash
      az network nic update -g ${azurerm_resource_group.main.name} -n ${data.azurerm_network_interface.bigip_ext.name} --set tags.f5_cloud_failover_label=${format("%s-%s", var.projectPrefix, random_id.buildSuffix.hex)} tags.f5_cloud_failover_nic_map=external
      az network nic update -g ${azurerm_resource_group.main.name} -n ${data.azurerm_network_interface.bigip_int.name} --set tags.f5_cloud_failover_label=${format("%s-%s", var.projectPrefix, random_id.buildSuffix.hex)} tags.f5_cloud_failover_nic_map=internal
    EOF
  }
}

This request is now being tracked internally with ID INFRAANO-856

Hi @JeffGiroux , Issue fixed in v1.2.5


Bump Rails to pick up security fixes

This causes test failures relating to missing secret_token and
secret_key_base in dev and test. Add them to the correct config
file. Corresponding alphagov-deployment changes now in https://github.gds/gds/alphagov-deployment/pull/951 and https://github.gds/gds/alphagov-deployment/pull/952.

There was a change in Rails 4.1.8 around where secret_token is stored, but I don't see quite why it is now unhappy with having it set in the initializer since it should be falling back to config/secret_token if it isn't in secrets.yml. It's better to move to the newer convention, though, so let's do this anyway :+1:


feat: provide a backup login flow when recaptcha is unavailable

This PR adds a way for users to authenticate if email verification fails unexpectedly. If there is a problem with the network or recaptcha token, the user will be taken to the login screen, with the option to go to the sign up screen by tapping a link.
PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
x ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

provide a way to recover from email verification failures - iskounen

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (provide a way to recover from email verification failures - iskounen)

  Generated by :no_entry_sign: dangerJS against 65bd7320845fcf1b5e1d526e72d7290110658993

Also really cool to see it working on Android!


Feat/ctx pool

Use sync.pool to hold the Context.

This change is

https://github.com/yomorun/yomo/blob/be83e597f8106af3ff972224f37381103c91d7d7/core/context.go#L24
And I find this field was named Keys, Is it more appropriate to rename to Values ?


Assertion error still exist in local CheerioCrawler - Windows

Seems it is not matched properly, maybe difference in local run?
I have Node v10.16.0 and Apify 0.14.15
C:\Projects\Apify\shopin\amazon\node_modules\apify\build\crawlers\cheerio_crawler.js:604
      throw err;
      ^

AssertionError [ERR_ASSERTION]: 3457 == 0
    at ClientRequest.onConnect (C:\Projects\Apify\shopin\amazon\node_modules\tunnel-agent\index.js:160:14)
    at Object.onceWrapper (events.js:286:20)
    at ClientRequest.emit (events.js:198:13)
    at Socket.socketOnData (_http_client.js:475:11)
    at Socket.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Ok, I see it, Windows has different path separators :)

I branched from master to https://github.com/apifytech/apify-js/compare/fix/assertion-windows but I'm bit confused If I should have branched from develop. Master is now ahead of develop so I'm not sure what is the way to merge it.


UI - show inline error message instead of generic popup

Is your feature request related to a problem? Please describe.
Popup is not much helpful in case of specific errors for editable form
Describe the solution you'd like

Use inline error message to pin point errors / info to guide user for further steps

Describe alternatives you've considered
Refer this to have it as solution

Additional context
https://www.figma.com/file/KMwnWm5vnfPNZiru4z3lbi/OpenMetadata-Final-Screens?type=design&node-id=1637%3A85856&mode=design&t=S6hVDpGNnl6NrvCr-1

@harshach we are blocked on this for having ERROR_TYPE from api to consume and show inline errors.
It will be great to have ERROR_TYPE for ES exceptions too

@harshach @mohityadav766 , Can we create a single API endpoint for ES that checks everything and throws an error message if something is wrong?


add support for ESLint

Motivation:
Add support for ESLint
Modifications:
Added eslint as a dev dependency, and added two scripts to execute
eslint.
Also added eslint to be run as by Travis (CI).
Result:
Is not possible to run eslint using:
$ npm run-script eslint

and fix issues by running:
$npm run-script eslint-fix

JIRA:
https://issues.jboss.org/browse/RHMAP-5711

@nialldonnellyfh Would you mind taking a look at this and see if this is what you had in mind for https://issues.jboss.org/browse/RHMAP-5711. Also, perhaps I should create subtasks in that JIRA for each individual RainCatcher module, what do you think?
The build is failing here because I've not fixed the actual ESLint errors yet. I'll do that shortly if things look like they are in order to you.

Closing after discussing this and we are going introduce Grunt and have it run the complete build including ESLint.


Remove unnecessary _pwn call

This is apparently unnecessary and may cause issues. Only worked for me with this part commented out.

Thanks for the pr!


Inputs are randomly hitting 2 notes at once

Describe your bug here.
When I hit an arrow input, it almost always hits 2 notes at the same time, making accuracy drop.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No.

i've literally never had this issue

0.6.3. Yes, the offset is just fine.


[5.3] Implement JSON response rendering in Exception Handler

:-1: This is not necessary for the core IMO, nor is it a particularly clean way to handle different content types.

Holding off on this.


This tool crashes on Windows 10 due to a temporary file permission denied

On running this tool on Windows 10, it will clash with an error :
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\[Username]\\AppData\\Local\\Temp\\tmp9z75tld3'

It seems that this tool tried to reopen the temp file.

Lot of code in RsaCtfTool is system dependant and require unix (like using /dev/null).
You can fix this using "delete=False" in tempfile constructors then "os.unlink(temporary_file.name)", but there will be others bugs due to the rest of the code.
Sorry !

Thank you! I decide to run it on WSL.


Different open and close delimiters

The JS library allows the use of different delimiters for the start and the end: https://www.npmjs.com/package/gray-matter#optionsdelimiters
What do you think? Could we add the same functionality?

LGTM.
Just one more step left. Could you please sign all your commits with the GPG key?
FYI: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

LGTM.
Just one more step left. Could you please sign all your commits with the GPG key?
FYI: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

I didn't notice that I have to do it 🫠
So, yes, I'll update the PR


Not all paths become a hyperlink in Output console on Windows

Brief Issue Summary
Some of the tools I've integrated with CMake seem to output paths a bit weird (on Windows), which results in not all file paths being hyperlinked.
Expected:
Both example paths to be converted to a hyperlink:

D:\gitrepo\myfile.c:123:5
D:/gitrepo\myfile.c:123:5

Apparent Behavior:

D:\gitrepo\myfile.c:123:5 is converted to a hyperlink.
D:/gitrepo\myfile.c:123:5 is NOT converted to a hyperlink.

The difference is in the first slash (backward works, forward does not).
Platform and Versions

Operating System: Windows 10 Pro 20H2
CMake Version: 3.20.1
VSCode Version: 1.56.2
CMake Tools Extension Version:  1.7.3
Compiler/Toolchain: Output is from PC-Lint Plus (so not a compiler but format is configured similar to GCC)

@itavero, if you can implement a fix for this it would be great :). Anything that is printed in the "CMake/Build" output channel, even the output of external tools, is printed by CMake Tools with "log." APIs. If you find in our codebase all the places where this happens (during the configure, build, debug/launch and test workflows) you can apply utils.lightNormalizePath on these logging texts. To start focusing on one of the multiple possibilities, tell me during which workflow you see the forward slashes now in your project? During configure, build, test, debug/run?

In CMake I have added a custom target (add_custom_target) which I'm running via the Build option.

Ok, if you hit a breakpoint in proc.ts, function execute, in the handlers of stdout, stderr, close...etc... does that have the forward slash text? You can try to process those patterns there before they are sent to the output channel. Not sure, just hoping. Let us know if you end up investigating this. Otherwise we will get to it eventually, no worries, just that we won't be able to immediately.

If I find a moment to do so, I'll be sure to check that (and report back with the results). Thanks for pointing me in the right direction!

I have the same problem. No path is linked in the CMake output window:
CMakeTools Version: 1.16.32


Consider removing the global re-decleration check in functions.php [V6]

As somebody who's dealt with this on a framework level, I can strongly suggest to remove the global overwrite checks from the functions file. If people want to use an altered version, they should be able to define that without conflicting with the one defined by guzzle. Especially with the "use function" syntax php provides this solve a non-problem imo.
In it's current state this global function check can lead to unexpected side-effects. Consider the following scenario:
A project uses guzzle, but also latest fab lib X. Both expose the uri_template function, but with a different response. Both functions.php files are loaded automatically, then the user then "use function"'s the guzzle function it actually won't use that but fall back to latest fab lib X's function. This will cause confusion. Especially considering latest fab lib X might be included in the project at a later time. This can then potentially break existing functionality, leaving the dev clueless of what caused this.
Ref: https://github.com/guzzle/guzzle/blob/guzzle-v6/src/functions.php#L19

The purpose for this is an optimization to take advantage to the uri_template PECL extension, if it is present.

We aren't redeclaring uri_template -- this function is namespaced so it causes no issue. We're simply adding a progressive enhancement that will use the C extension if installed, otherwise use the PHP userland implementation.

@mtdowling, perhaps this refers to the following case:
// inside function.php of "latest fab lib X"
function uri_template() { return 1; }

User try to call Guzzle uri_template
echo \GuzzleHttp\uri_template(...args); // will output 1

Maybe it is better to use extension_loaded?

@frankdejonge, am I right?

@jeremeamia @mtdowling in that case, wouldn't it be safer/better to use the extension_loaded function? It seems you're implicitly checking it now, while explicitly seems better.

@kamilsk that's correct.

in that case, wouldn't it be safer/better to use the extension_loaded function?

sure

@mtdowling, @frankdejonge, done by https://github.com/guzzle/guzzle/pull/1070, but not tested yet

Thanks @kamilsk


Win11 tier 1 context menu needs explorer.exe restart

... investigating how to avoid needing to restart explorer for the context menu to recognize the new entries under Windows 11.
Originally posted by @jaimecbernardo in https://github.com/microsoft/PowerToys/pull/19000#pullrequestreview-1024530325

If you find a way, I'm sure we'd be interested too 😄. From what I know, this is just a known limitation of explorer.exe.

Is this still an issue with the latest version? /needinfo

yes, it is. still a limitation of explorer.exe

I was under the impression every context menu is built at request time. But I suppose that's not?

I was under the impression every context menu is built at request time. But I suppose that's not?

This is only about Win11 tier1 context menu. I guess it has something to do with picking up registered msix packages with context menu handlers 🤷


add blog about global configmap control panel

add blog about global configmap control panel

I've updated, pls review it again


Live Example not working

It seems the live example is ES6 and not compiled. http://angie-party.github.io/Thinc/ causes unexpected strict word 'let'.

Hi,
thanks for your feedback. I totally forgot to mention that example is working ony in Google Chrome, as it suppose to run using NW.js which use chromium it doesn't have much sense for us to optimise it for other browsers.
Did updated Readme file to make it clear. If you want to participate and make example to run in "all" browsers fee free to open pull request :thumbsup:
Mario

I did try in chrome.. The local version when cloned is working but the live version linked it not.

Hmmm strange... according to compat table here https://kangax.github.io/compat-table/es6/ let is supported in CH 41 in strict mode so it should be ok. Please send me exact version of your browser and your os so I can try it by myslef.
Thanks
Mario

on my other pcs chrome 41 it works,so the other machine must be older.

I'm glad it's working.
Cheers
Mario


prometheus other volumes/mounts

TL;DR: There needs to be a way for the user to specify additional volumes and volume mounts into the prometheus server deployment.
The prometheus server can be configured to scrape all sorts of endpoints. But some of them need additional files to work properly. For example, if you have a secure etcd, you can't scrape the metrics unless you provide a ca, client cert and key. These should come from k8s configmaps/secrets but currently have no way to slide into the configuration. An optional volume and volumeMount section in the values is needed.

/reopen
/remove-lifecycle rotten


Corrected the selector for GMGridViewCell.ctor(CGRect frame)

Corrected the selector for GMGridViewCell.ctor(CGRect frame) so that it matches UICollectionViewCell.

Bitrise?
I forgot to update the version number in AssemblyInfo.cs. It would be great if you could create a updated NuGet package with the pull request.
It's causing a build error: https://bugzilla.xamarin.com/show_bug.cgi?id=42184

Not sure why BitRise failed, but I'll make a new Nuget

Thanks!
Bitrise was failing because my workflow was apparently outdated. I updated the steps and now it runs fine :)
Thanks for the fix! I see you have other issues open. If I find time I'll work on them but if you have fixes for them, feel free to send a PR. I'd love the help.
Version 0.0.9 should be up on Nuget now.
Kind regards, Roy
Date: Thu, 7 Jul 2016 01:05:14 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC:
Subject: Re: [roycornelissen/GMImagePicker.Xamarin] Corrected the selector for GMGridViewCell.ctor(CGRect frame) (#7)
Bitrise?
I forgot to update the version number in AssemblyInfo.cs. It would be great if you could create a updated NuGet package with the pull request.
It's causing a build error: https://bugzilla.xamarin.com/show_bug.cgi?id=42184
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks and sure. Sent another PR for the status bar miscoloring when navigating.
I was hoping to fix the translucency stuff as well but I'm not familiar enough with what everything does at the moment. I can see that the Navbar.Translucent is set to true, as per default, but it makes no difference.
Maybe the GMImagePickerController.SetupNavigationController isn't doing things properly or the GMGridViewController is getting Inset so it's never behind the NavigationBar.


Show diff of arguments when they don't match

It would be nice to know why arguments do not match when there's a single allowance, e.g.:
doubles.exceptions.UnallowedMethodCallError: Received unexpected call to '...' on <...>.  The supplied arguments (...) do not match allowance, missing key 'toaster' required in allowance.

Can you please attach example?

I'm not sure to understand your question @skudriashev... I included an example in my message...

I mean runnable code, if possible.

Oh there would be no change in the API, just a change in the error message.
On Thu 25 Apr 2019 at 05:55, Stanislav Kudriashev<EMAIL_ADDRESS>wrote:

I mean runnable code, if possible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/uber/doubles/issues/143#issuecomment-486510425, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAA5NNJZSAQ3452KOITC5NLPSETRZANCNFSM4HDSZ44A
.


html tags are getting executed when present in a stream title

Having this <b style="font-size:200000px;background-color:red"> in the stream title will make the current build (fc93d7b7388e65abeaa5fa915f287b90e7590a96) crash as soon as the channel goes live and the hover tooltip / widget is available.
TETYYS linked this which might help: https://doc.qt.io/qt-5/richtext-html-subset.html

Qt's text widgets are able to display rich text, specified using a subset of HTML 4 markup. Widgets that use QTextDocument, such as QLabel and QTextEdit, are able to display rich text specified in this way.

Widgets automatically detect HTML markup and display rich text accordingly.

<img src="C:/Windows/Web/Screen/img102.png">
will lead to


Publish artifacts via logging command can't be consumed

Hi all,
I'm trying to publish my artifact from my custom build task. If I choose to use the logging command, the upload succeeds, however the Release Manager fails in retrieving the artifacts. The error that is reported:
Error: System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Services.FileContainer.ContainerItemNotFoundException: The item XL Deploy in container 494976 could not be found.
If I used the Publish-BuildArtifact cmdlet it all goes fine.
The command I'm using for the upload is the following:
Write-Output ("##vso[artifact.upload artifacttype=Container;containerfolder=$folder;artifactname=XL Deploy;]$packageFullPath")
meanwhile the cmdlet equivalent is:
Publish-BuildArtifact "XL Deploy" $packageFullPath $folder
Does anyone have a clue why the logging command upload fails to be retrieved?
I am testing using VSTS thus I suppose I have the latest available version of the agent.
Thanks,
Mario Majcica

Seems that they both fail in case the containerfolder and artifactname are not of the same value. It seems however to be the Release Manager problem only as in the build I can see the artifacts uploaded correctly.

Hi Mario,
Apologies for the inconvenience. We will investigate why RM is not able to download the artifact. Will get back to you with our findings.
Thanks,
Sriram

We have fixed this issue a while ago.


More dropdown

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

This is not a fix. This is a request to add login and signup pages to the site.
Summarize what this PR fixes:- This fix changes the colors used for the dropdown navigation item "More" to remove the red background and change the colors of the dropdown all together.

Fixes #634
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] I was the first one to claim the issue or I created the issue - I created the issue

Looks great!


RFC: Widgets / Plugins / Middleware / Argument Injector thingie

Good morning!
I've been tinkering with the idea from the initial PR a bit more and came up with this initial concept.
Note: I haven't spent much time on this, let's treat this as a draft of functionality that we want to have.
So, as the title suggests - not sure about name, I'll just stick with widgets for now which is probably the worst name but 🤷
The goal of widgets is to create a way to inject additional arguments into the console.
This can be useful for example when our command requires an API key, that could be automatically injected if not provided, or it'd use the passed one.
Widgets can be defined both globally (maybe it'd be nice to add "namespace" param for the #[GlobalConsoleWidget] so all commands within i.e db: namespace would be affected)  and locally in command definition.
I think the biggest place for discussion is what contract the invoke method should have and what should be modifiable - but this would require validation to run twice:

after resolving the passed arguments
after running invoke on all widgets

I think there's still room for improvement to what I did, but maybe it's best to take more incremental steps.
In truth, I haven't been able to look at this PR in depth. Maybe keep it open for now, I'll definitely go through it and might cherry-pick some stuff straight into main when #21 is merged

So, I really like the widget approach, but I feel like we need to get middleware straight first. I'll take care of that, and then we can revisit this idea


How to automate dependabot updates generating a changeset

Affected Packages

cli/actions, etc.
Problem

I want to automate my dependency updates w/ dependabot, but I've realized I'm not generating changesets for each dep upgrade - I'd rather sort out a way to automate that, but I'm not sure how!
Proposed solution

My initial idea would be to have a github action that runs on push to main that looks for whether the commit is tagged w/ "dependabot" and then adds a changeset w/ the content of the commit message?
ex: https://github.com/snowpackjs/prettier-plugin-astro/pull/14

I see https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions, though I imagine I'd need to wait until after the PR to generate the changeset, rather than being able to alter the PR?

+1 for this for the same reason (Renovate Bot in my case).
I'm aware I can generate the markdown files myself, but it'd be nice to lean on the existing logic the CLI provides since it already knows which packages have been touched. Something like yarn changeset add --type patch --message 'Bump eslint from 7.3.2 to 8.0.0' --include-changed would be pretty powerful IMO.

Ye, the proposed command sounds quite nice - we could add support for it. Although from the Changeset PoV a "changed" package (at least at the moment) is a one that had any files changed since the "base branch". With Renovate bot and stuff you might only change devDependencies of a package and such a change most likely doesn't deserve a changeset as it doesn't affect the final consumer of your package.
So I'm unsure what's the best strategy to handle this case - but we could start with a PR that would implement this using the current "changed" logic and bikeshed this with a PR already in place.
I won't have time to work on this right now though so I would appreciate a PR from a community member who cares about this feature :wink: I will get to this eventually but it can take some time for me.

Right, it definitely seems like a case where you would want to filter and only create changesets for dependency updates and not devDependency updates

Yep, this kinda means that this would be a new kind of a filter for Changesets as no other thing in Changesets check a thing like this - but it seems useful, so maybe it's worth adding support for this. A slight complication is that we support pnpm and pnpm supports package manifests in different formats than JSON. IIRC they support both package.json5 and package.yml - so we would have to add support for those too and that comes with including parsers for those formats etc. It could be nice if pnpm would support smth like pnpm get-manifest so we could only invoke their CLI to get this kind of information. OTOH this would involve reading the "before" state to compare both versions, so a solution like this would involve some git shenanigans. So maybe a parser + checking the diff and trying to figure out which part of the file has changed would be better after all. Luckily either format of package manifests shouldnt be hard to parse to assess this.
Anyway - I would still start with a basic functionality, and only then think about adding --ignore-dev-dep-updates (or similar).

It's been a while since this issue has been commented on, so I wanted to add a comment.
Is there anyone still to automate this today? I'd love to be able to add automated changsets for renovate/dependabot upgrades, and then be able to merge the release PR.

Just giving changesets a first serious try as I am tired of semantic release. To reduce maintenance effort I am also using dependabot and want to automate creating a changeset for its updates.
Now I am realizing the add command is not able to receive any of the prompted values as an argument. Is there something planned to make this possible?

👋  I've created a basic action to try and automate changesets for dependabot prs: https://github.com/feelepxyz/dependabot-changesets
Would love any early feedback on this! It's definitely still a bit rough around the edges and currently has no tests (coming soon) 🙈
I started out thinking it would be a five minute job to programmatically call changesets add but as @micha149 also found out, it's not possible. After spending some time on this I know get why. The base case where you only have one package per repo would be very easy to support, but changesets supports monorepos with potentially hundreds of packages.
A single dependabot pull request might update several packages, so we need to map updated packages to updated dependencies and create a changelog for each one.
I opted to create empty changelogs for transitive/dev dependency updates, and top-level updates that only update  package-lock.json as these should not affect downstream consumers of your package.
Is this the right thing to do? Are there cases where you would like a changeset for these types of updates? 🤔

hey everyone, I am using a copy of this workflow to auto-generate change sets for renovate prs. It works well! Note that you have to change the if statement, and remove the token.

FYI It looks like @scaleway has created an npm module @scaleway/changesets-renovate based on the above workflow.
You can see it in action in their .github/workflows/changesets-renovate.yml
I tried it out and it seems to be working:

I made a shared workflow out of it so I could reuse the same code in a bunch of npm library repositories.
parent repo:
name: Generate changeset for Renovate

on:
  workflow_call:

jobs:
  generate-changeset:
    runs-on: ubuntu-latest
    if: github.actor == 'renovate[bot]'
    steps:
      - name: Checkout Repo
        uses: actions/checkout@v4
        with:
          fetch-depth: 2
          ref: ${{ github.head_ref }}

      - name: Setup Bun
        uses: oven-sh/setup-bun@v1
        with:
          bun-version: latest

      - name: Install Dependencies
        run: bun install

      - name: Git Identity
        run: |
          git config --global user.name 'Renovate Bot'
          git config --global user.email<EMAIL_ADDRESS>
      - name: Run changesets-renovate
        run: bunx @scaleway/changesets-renovate

in each npm module repo:
name: Generate changeset for Renovate

on:
  pull_request_target:
    paths:
      - '.github/workflows/changesets-renovate.yml'
      - 'bun.lockb'
      - 'package.json'

jobs:
  generate-changeset:
    uses: enalmada/.github/.github/workflows/changesets-renovate.yml@main

I haven't done an extensive audit of this, but be aware that this is setting off alarm bells to me. I would be wary of any solution to this using an npm module, especially in conjunction with the pull_request_target trigger. If you haven't read it before, then the security article by Github is a good read: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
I didn't post it to this thread yet because I haven't tested it with dependabot yet, but for renovate specifically I would recommend something like the action I wrote: https://github.com/mscharley/dependency-changesets-action#readme
It is more obviously secure because it doesn't rely on a checkout of the repo, it just uses Github's API to analyse the PR diff and push a new commit to the end of the branch if necessary.

We use a variation of the following script: https://github.com/backstage/backstage/blob/master/.github/workflows/sync_renovate-changesets.yml


Office 2019 (Volume licensed Versions) will be Version 1808 forever?

Hi Team,
I saw the notes from https://docs.microsoft.com/en-us/deployoffice/office2019/update:
Office 2019 doesn't receive new features. If you want to get new Office features on an on-going basis, you should consider moving to an Office 365 plan that includes Office.
With the update history from https://docs.microsoft.com/en-us/officeupdates/update-history-office-2019, may I say that Volume licensed versions of Office 2019 will be Version 1808 forever with some security/quality updates?
From the Microsoft Product life-cycle portal, I saw that Office 2019 will out of support at 2025, so seems it cannot be Version 1808 forever? So how it be updated to another version like 1902 or higher? And when? I tried to search many materials but find nothing. Am I missed anything in here?
Thanks
-Justin

@Justin-Shi  -- yes, volume licensed versions of Office 2019 (such as Office Professional Plus 2019 and Office Standard 2019) will always be Version 1808. Only the build number (the #####.##### in the parentheses) will change over time, as security and quality updates are released, as seen in the update history article.
After Office 2019 goes out of support in 2025, you will need to purchase & install a version of Office that is available & supported at that time. Since that's still 6 years away, we can't predict what versions of Office will be available at that time.
We hope that answers your question.  Thank you.

@DHB-MSFT Perfect answer. Thanks very much. That's what I want.


The leaderboard is missing in https://paperswithcode.com/sota/text-classification-on-yahoo-answers-topics

Since it gets removed by the officials, we close this issue for now.


adding --version command line option

For snapshot builds:
$ ./bin/adam-submit --version
Using ADAM_MAIN=org.bdgenomics.adam.cli.ADAMMain
Using SPARK_SUBMIT=/usr/local/bin/spark-submit

       e         888~-_          e             e    e
      d8b        888   \        d8b           d8b  d8b
     /Y88b       888    |      /Y88b         d888bdY88b
    /  Y88b      888    |     /  Y88b       / Y88Y Y888b
   /____Y88b     888   /     /____Y88b     /   YY   Y888b
  /      Y88b    888_-~     /      Y88b   /          Y888b

ADAM version: 0.18.3-SNAPSHOT
Commit: 704d2ccd6eaad2e856fdec2d5ed2395edef98c04 Build: 2015-11-24
Built for: Scala 2.11 and Hadoop 2.2.0

For release versions:
$ adam-submit --version
Using ADAM_MAIN=org.bdgenomics.adam.cli.ADAMMain
Using SPARK_SUBMIT=/usr/local/bin/spark-submit

       e         888~-_          e             e    e
      d8b        888   \        d8b           d8b  d8b
     /Y88b       888    |      /Y88b         d888bdY88b
    /  Y88b      888    |     /  Y88b       / Y88Y Y888b
   /____Y88b     888   /     /____Y88b     /   YY   Y888b
  /      Y88b    888_-~     /      Y88b   /          Y888b

ADAM version: 0.18.3
Built for: Scala 2.11 and Hadoop 2.2.0

Any properties available to Maven via pom.xml could be added.  I also fixed the kerning with our logo.

Hold up, I'm missing the license header but messed up my local git repo.  Might take a bit before I can rebase.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1020/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1021/Build result: FAILUREGitHub pull request #888 of commit 9fda7223ae01795ece4f370f11197e8c70a5ff81 automatically merged.Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos spark-test) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/888/merge^{commit} # timeout=10 > git branch -a --contains b14d5c82ca6b1b828ae68a846787add6b3488d8a # timeout=10 > git rev-parse remotes/origin/pr/888/merge^{commit} # timeout=10Checking out Revision b14d5c82ca6b1b828ae68a846787add6b3488d8a (origin/pr/888/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f b14d5c82ca6b1b828ae68a846787add6b3488d8aFirst time build. Skipping changelog.Triggering ADAM-prb ? 2.6.0,2.11,1.4.1,centosTriggering ADAM-prb ? 2.6.0,2.10,1.4.1,centosTouchstone configurations resulted in FAILURE, so aborting...Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1022/Build result: FAILUREGitHub pull request #888 of commit a8c1467cd14761332fb0c071820a75d590bae8db automatically merged.Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos spark-test) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/888/merge^{commit} # timeout=10 > git branch -a --contains 865cd1e708c8f08492fb2471821fc220ba55fbb7 # timeout=10 > git rev-parse remotes/origin/pr/888/merge^{commit} # timeout=10Checking out Revision 865cd1e708c8f08492fb2471821fc220ba55fbb7 (origin/pr/888/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 865cd1e708c8f08492fb2471821fc220ba55fbb7 > git rev-list b14d5c82ca6b1b828ae68a846787add6b3488d8a # timeout=10Triggering ADAM-prb ? 2.6.0,2.11,1.4.1,centosTriggering ADAM-prb ? 2.6.0,2.10,1.4.1,centosTouchstone configurations resulted in FAILURE, so aborting...Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Jenkins, retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1023/
Test PASSed.

Jenkins, retest this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1026/Build result: FAILUREGitHub pull request #888 of commit a8c1467cd14761332fb0c071820a75d590bae8db automatically merged.Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos spark-test) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/888/merge^{commit} # timeout=10 > git branch -a --contains c72865a1d04b80642b8374a66dad536568c3a2cd # timeout=10 > git rev-parse remotes/origin/pr/888/merge^{commit} # timeout=10Checking out Revision c72865a1d04b80642b8374a66dad536568c3a2cd (origin/pr/888/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f c72865a1d04b80642b8374a66dad536568c3a2cd > git rev-list 865cd1e708c8f08492fb2471821fc220ba55fbb7 # timeout=10Triggering ADAM-prb ? 2.6.0,2.11,1.4.1,centosTriggering ADAM-prb ? 2.6.0,2.10,1.4.1,centosTouchstone configurations resulted in FAILURE, so aborting...Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Jenkins, retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1027/
Test PASSed.

Thanks @heuermh! Rebased and merged as https://github.com/bigdatagenomics/adam/commit/94e92dd7b59fb3b7e3bad6b9c35ff37f7f181ade.

Thanks!


Support lists

Thanks for your recent work on orgparse, it looks promising.
It would be great if orgparse supported lists like this:
- one
- two
- three

I was able to port my code over from org-export-json to orgparse by parsing out the items from node.body myself, but I probably did a bad job of it, and that's exactly the sort of core org syntax thing that I'd love to be able to rely on orgparse for.

related: https://github.com/karlicoss/orgparse/issues/12
I'll think about it over the weekend!

I second this! I often use orgmode un-ordered lists to take quick notes below a heading. Trying now to load these through orgparse, and I'm going to have to manually split them on newlines.
Great work on the package so far, I hope it can keep growing.

Lists support would be great. It is low level structural thing of org body/drawer. By the way extracting of user drawers would be great also.


EventEmitter bug fixed & add readable-stream for devDependencies

That event emitter change doesn't look right to me, see the example from the docs:
https://nodejs.org/api/events.html
const EventEmitter = require('events');
const util = require('util');

function MyEmitter() {
  EventEmitter.call(this);
}
util.inherits(MyEmitter, EventEmitter);

The readable stream thing is a good catch though and I'll take that part.

Ah, the EventEmitter thing is 0.10, ok, then I'll take that too =D

Yes, for 0.10 hack, see: https://github.com/nodejs/node/blob/master/lib/events.js#L12

Thank you for these, I've landed them as:
19a5030 &  42689f0


KVM is not enabled on Jammy Ubuntu variant

When using other Ubuntu variant (Jammy) using devcontainer, provided in this repo, there is no kvm support
$ sudo kvm-ok
INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_amd
/usr/sbin/kvm-ok: 93: modprobe: not found

but the default codespace (based on Focal) has kvm supported by default
$ sudo kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

what should I do to enable kvm support?

Could you please provide some more information, namely:
(1) Are you using the dev containers extension, Codespaces, or some other client?
(2) What are you using kvm-amd for? Ciould you please explain the use-case a little bit more for our knowledge?
(3) Could you please specify the exact images/configs when you reference "other Uubntu variant" and "default codespace"? That will help us later if want to try and repro your situation?

I'm using Github codespace on github.com
I need kvm to increase performance for QEMU for OS emulation. Without kvm, the performance is worse.
For jammy variant, I just used this one https://github.com/devcontainers/images/tree/main/src/base-ubuntu. For default, I create new codespace with blank template. There is no config, so it loads Ubuntu 20.04 (focal) by default

Also interested to know what difffers from the base image and why I cannot replicate the same result with kvm-ok with a
alternative Dockerfiles:
# Start from the Debian "Bookworm" image
FROM mcr.microsoft.com/devcontainers/base:dev-bookworm

@tlaurion ➜ /workspaces/heads (codespace_test) $ sudo kvm
Could not access KVM kernel module: No such file or directory
kvm: failed to initialize kvm: No such file or directory
kvm: falling back to tcg
gtk initialization failed

@joshspicer @AndnixSH @eljog @joshaber @brettcannon @michaelcontento @Chuxel @jkeech
Any idea/pointer into what differenciate default codespace container to others which don't expose kvm properly?
My use case is able to promote codespace proper config, create proper docker image to use and customize, based on debian bookworm (which provides swtpm) in combination of kvm (which otherwise is qemu tcg which would be heavier on host) to dev/build/test Heads firmware through codespace.
Without kvm, IO even under QubesOS (which doesn't offer nested virt), even installing netinst os takes a night because qemu tcg.
TLDR: having bookworm with kvm enabled would permit to quickly test built Heads firmware under codespace. This is not directly related to name of this issue but is basically the same: only default, old, Ubuntu default docker offers kvm enabled codespace. What is missing in other docker images?

KVM is a hypervisor provided by the Linux Kernel. Hypervisors allows the creation of isolated virtual machines which run on the same hardware. Containers are isolated environments which run on the same kernel.
I would argue that GitHub codespaces is pretty unusual for arranging itself to allow you to interact with the KVM interface. In general containers limit processes ability to interact with the kernel.
I would expect you currently have two issues with what you're trying to do:

Your Devcontainer doesn't have access to the KVM interfaces of the kernel running it
The KVM cli tools and supporting packages aren't installed in the Devcontainer by-default because this is a weird usecaes

Running the container as privileged might resolve the first problem, and the second would be solved by installing those packages.
This might work from somewhere 🤷 , it doesn't work on my machine. I didn't expect it to work on my machine because Docker is running in a VM spun up by Docker Desktop and it wouldn't make any sense to include the KVM kernel module b/c nested virtualization is not supported by any hypervisor I've worked with:
docker run --privileged --rm -it --device=/dev/kvm mcr.microsoft.com/devcontainers/base:dev-bookworm sh -c '\
apt update && \
apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu-kvm && \
kvm-ok\
'

Tagging a bunch of people like this is super loud and not within my experience of norms around open source code. I expect it will come off as rude.

So can't you guys provide at least Ubuntu 22.04 machine without using Dockerfile? The default machine clearly allows you to interact witht the KVM interface, QEMU indeed works perfectly on Codespace. The only disadvantage is older Ubuntu version

As Nick suggested, running the container in privileged mode may help you get necessary kernel level access.
You can of course do this using devcontainer.json without having to customize Dockerfile.
To run container in privileged mode, add the following property to your devcontainer.json. Read more about this here
"privileged": true
To install additional packages on your container you have multiple options outside of modifying/creating a Dockerfile. The best approach would be to install them as a feature if a devcontainer feature is available.

A list of available features can be found here
If a feature is not already present for your use case, you can author a feature by following https://github.com/devcontainers/feature-starter.

Alternatively you may plug in your apt-get install commands as an ocCreateCommand in your devcontainer.json. Read more about lifecycle scripts here

Thanks. "privileged": true is all I'm looking for, KVM is now enabled!


Update Composer dependencies (2024-08-12-00-18)

Visual regression test passed!
View the visual regression test report


Guest w gmail is prompted for password

As an organization, we invite guests with various email extensions including gmail. During tests etc. the recipient is prompted for a password before being "allowed" access to Teams. Once the password is created, the next time the guest tries to access Teams, they are again prompted for a password, user uses password that was created and receives prompt that password is invalid and is required to create a new one. When using a hotmail.com email, still prompted for password but in subsequent access, the same password still works. Wondering if this is a one-off or if others are experiencing that also.

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

ID: 2492e210-08f9-a476-97ec-008926def961
Version Independent ID: adcb0dd9-4a3c-b665-6e34-ce3276c89b4d
Content: Guest access in Microsoft Teams
Content Source: Teams/guest-access.md
Service: msteams
GitHub Login: @laithalshamri
Microsoft Alias: laal

@kaeferc - I am not sure if this is a one-off or something else. I want to make sure you get this figured out. Would you please open a service ticket, instructions here: https://www.youtube.com/watch?v=puuOy0sEg1Y
It would be great to get the knowledge learned on this back into the document. I will keep an eye on support channel too and take any findings to put back into document. Thank you for taking time to provide feedback.


Extremely deep call stack on MacOS

From a librsvg issue, rayon_core seems to be creating extremely deep call stacks; this one is 510 frames deep.  This is on M1 Ventura MacOS:
    1 Thread_27416763
    + 1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +   1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +     1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +       1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +         1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +           1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +             1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +               1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
... subsequent lines elided, scroll right to see the Condvar::wait at the end ...
    +                                                                                1 rayon_core::sleep::Sleep::sleep::h86f8a9d05521a830  (in librsvg-2.2.dylib) + 592  [0x10b02d640]
    +                                                                                1 std::sync::condvar::Condvar::wait::ha179af0cba2a2f35  (in librsvg-2.2.dylib) + 136  [0x10af28034]
    +                                                                                1 _pthread_cond_wait  (in libsystem_pthread.dylib) + 1232  [0x1851a8574]
    +                                                                                1 __psynch_cvwait  (in libsystem_kernel.dylib) + 8  [0x18516b710]

There are 10 threads like that.
Any ideas if this is normal?  Librsvg just uses rayon::scope() in a single place.

That's not a recursive function. My guess is that the unwinder is getting confused somehow, not actually able to move up to the next call frame, and the depth seen in this report is just how many times the unwinder repeated before giving up.

Yeah, I assumed as much; thanks for confirming :smiley:  I'll close the bug until we get more info; so far the downstream bug doesn't indicate any actual trouble.


Add documentation

BioSimulators tutorial:

Using a containerized simulation tool to execute a simulation

Describe that results will be saved as CSV files, graphs as PDF files

Developing BioSimulators-compliant containerized biosimulation tool

After 4. Create a JSON-formatted file which specifies the capabilities of your simulation tool, describe how to find and request

SBO terms for frameworks
KiSAO terms for algorithms and parameters
EDAM terms for formats
SED-ML URNs for formats
COMBINE URL for formats

runBioSimulations tutorial and FAQ

Describe how runBioSimulations uses local storage to track a users simulations
In the FAQ, note that this doesn't involve storing any information on a remote server. This is only stored on the users' machine, and will be lost when users clear their browse's memory.
Describe how to use URLs for simulations to share simulations with others

Added to new branch.


Add 215. Kth Largest Element in an Array LeetCode question in Java

I will add this solution. Please assign this to me.

I will add this solution. Please assign this to me.

Please refer pull request #47


⚠ Bofrost.be has degraded performance

In 2dbcd12, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1160 ms

Resolved: Bofrost.be performance has improved in 1098f18.


Add dockerfiles

Add files to build docker image and upload to Docker Hub.

Codecov Report

Merging #33 (d19e9a8) into master (420797d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   95.95%   95.95%
=======================================
  Files           4        4
  Lines         173      173
=======================================
  Hits          166      166
  Misses          7        7

Continue to review full report at Codecov.

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

Codecov Report

Merging #33 (d19e9a8) into master (420797d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   95.95%   95.95%
=======================================
  Files           4        4
  Lines         173      173
=======================================
  Hits          166      166
  Misses          7        7

Continue to review full report at Codecov.

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


Visual studio Code restart

Upon restarting Visual studio code, my workspace does not load. Unlike sublime, that stores your workspace, vsc does not open the last workspace that was opened.

@maxteebabs does this happen all the time? E.g. try this:

start VSCode
open a folder
select File > Quit
start VSCode

=> is the folder opened again?

Duplicate of https://github.com/Microsoft/vscode/issues/12058


Add validation for slug field during save for AttributeValue

I want to merge this change because...
Fixes #3509
From now on every save() of AttributeValue will call clean_fields()
Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] Database migration files are up to date.
[x] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[x] GraphQL schema and type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Could you please implement an unit test?


No code

Only example mod

for now

My cat is better than yours @PanJohnny, therefor you have no say here.

Cute cat @fatboychummy

I hope my cat is cute enough

@Benonardo scratch cat cute ngl

This issue is officialy designated for cats

cease.


TypeError: _imagemin2.default is not a constructor

When right-clicking on images in the sidebar and choosing "Minify Image" on my Mac running El Capitan:
TypeError: _imagemin2.default is not a constructor
at minify (/Users/djbeeker/.atom/packages/imagemin/index.js:72:20)
at atom-workspace. (/Users/djbeeker/.atom/packages/imagemin/index.js:44:64)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1110:28)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:342:25)
at emitThree (events.js:110:13)
at EventEmitter.emit (events.js:188:7)

@beekman Sorry for delay, fixed in the newest version 🙏


Port over the commondocs FAQ

At a glance, the majority of these entries can be replaced with pointers to the updated pages.  What remains should be evaluated for accuracy and relevancy.
https://rdhpcs-common-docs.rdhpcs.noaa.gov/wiki/index.php/FAQs_-_Frequently_Asked_Questions

Added to the doc set, with links where feasible. FAQ link created in the sidebar. That links to RDHPCS office hours as well, for the moment.


Adding retry mechanism to get VM IP

This work is under progress.
https://ci.vmware.run/vmware/docker-volume-vsphere/1181 ran into infinite loop, I will update the PR when it is ready for the review.
with the proposed changed you may see following improvements
Resetting testbed
Waiting for revert to complete
ESX 6.5
<IP_ADDRESS>
ESX 6.0
<IP_ADDRESS>
Reset complete
Wait for VM to get ready
govc: Post https://<IP_ADDRESS>/sdk: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host
govc: Post https://<IP_ADDRESS>/sdk: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host
govc: Post https://<IP_ADDRESS>/sdk: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host
govc: Post https://<IP_ADDRESS>/sdk: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host
<IP_ADDRESS>
<IP_ADDRESS>
Resume testing

How long each retry?

How long each retry?

every 1 seconds and waits fro 30 seconds before timing out the operation.


No support for Global handlers

I can see that there is no documented method to add a global request handler which handles all paths/methods in a single statement. Does drogon support global request handlers, if yes can I be guided to the documentation or examples available if any. There seems to be registerHttpControllerViaRegex method available, but just want to conform that it is exactly what I need.

Please refer to AOP.
    virtual HttpAppFramework &registerSyncAdvice(
        const std::function<HttpResponsePtr(const HttpRequestPtr &)>
            &advice) = 0;
    virtual HttpAppFramework &registerPreRoutingAdvice(
        const std::function<void(const HttpRequestPtr &,
                                 AdviceCallback &&,
                                 AdviceChainCallback &&)> &advice) = 0;

The two methods above can be used to approach this aim.
And you could use registerHandlerViaRegex(".*", ...)  to register a handler for mismatched requests(Note that this line must be called after any other registering lines).


Add esp-wifi support

Initial esp-wifi support, when enabled it adds the code to connect to a Wifi network
Downsides:

It introduces a lot of ifs
Only adds support for Wifi, not BLE and ESP-NOW
Imports are weirdly ordered in some combinations (rustfmt does not complain but still weird)
Number of CI jobs is huge (168)

Number of CI jobs is huge (168)

Yikes :sweat_smile:. Maybe we need to split these into separate templates? Not sure the best way to do this to be honest :thinking:.

Yikes 😅. Maybe we need to split these into separate templates? Not sure the best way to do this to be honest 🤔.

Yep, wanted to start a discussion about this in https://github.com/esp-rs/esp-template/issues/110. My initial idea was to have 2 folders in esp-template so we have 2 templates like in esp-idf-template but here for sync and async


DNS changes after ziti starts

right now if the upstream DNS change after ziti starts it might end up causing issues such as all 'non-ziti' traffic resulting in no resolution.  also should some other app insert dns ahead of us it could also cause issues. test and document/address these issues

resolved with 0.0.20


Dogstatsd unit test stabilization for mac

What does this PR do?
Restructures tests for dogstatsd server and listeners to minimize dependencies on uds/udp connections in unit tests. This will hopefully help stabilize the tests on the mac gitlab runners.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
The following test functions were removed:
func TestScanLines(t *testing.T) & func TestEOLParsing(t *testing.T)
These tests were merged in to TestNextMessage, since they were focused on functions that were judged to be a bit too close to "implementation detail"
func TestStaticTags(t *testing.T)
TestNewServerExtraTags tests to confirm the pickup of the "tags" field in fargate and its inclusion in extra tags, and TestExtraTags tests to confirm that extra tags is utilized when it should be
func TestE2EParsing(t *testing.T)
Integration tests cover "e2e", and newline separators in the same message are accounted for in TestMetricPermutations
Additional Notes

/merge


Re-order TreeViewItems only within their own parent

I am trying to implement a simple "drag to re-order" functionality for my TreeView. The TreeView has multiple levels and multiple root nodes, and I only want to implement the dragging for one of the root nodes (the others should not support dragging at all). The dragging should only ever cause a re-ordering of the items, it should not be able to drop inside of a child or inside of a different parent (as in the Treeview example). Furthermore, I want to enable dragging for all of the child levels, but again only within their own parent.
Here is an example. The TreeView is showing a list of Teams, and a list of Buildings (not important). A Team further consists of a list of Offices (or rooms), and an Office finally has multiple Persons. So the hierarchy is Team -> Office -> Person.

Now I want to be able to change the order of the Teams by dragging them. At the same time, I also want to be able to change the order of the Offices within a single Team. And I want to change the order of the Persons within a single Office.
I do not want the ability to drag an Office into another Office, or a Person into a Team, or something "impossible" like that. The hierarchy should be kept always.
I also do like the ability to drag one Office to another Team, it should only be possible to drag Offices within their original parent Team. The same goes for Persons - I should not be able to drag a Person from Room 1.01 to Room 1.02. However, if this condition is too difficult, it may be acceptable to allow this after all.
Finally, I don't want the ability to drag Buildings at all.
The furthest I've been able to achieve is simply enabling the drop target and drag source on the original TreeViewItem that hosts the Teams.
XAML:

<TreeView.Items>
            <!-- Teams -->
            <TreeViewItem ItemsSource="{Binding Teams}" Header="Teams"
                          dd:DragDrop.IsDragSource="True"
                          dd:DragDrop.IsDropTarget="True"
                          dd:DragDrop.UseDefaultDragAdorner="True"
                          dd:DragDrop.UseDefaultEffectDataTemplate="True"
                          AllowDrop="True">

                <TreeViewItem.ItemTemplate>

                    <!-- Team template -->
                    <HierarchicalDataTemplate DataType="local:Team" ItemsSource="{Binding Offices}">

                        <TextBlock Text="{Binding TeamName}" />

                        <HierarchicalDataTemplate.ItemTemplate>
                            <!-- Office template -->
                            <HierarchicalDataTemplate DataType="local:Office" ItemsSource="{Binding Persons}">
                                <TextBlock Text="{Binding OfficeName}" />

                                <HierarchicalDataTemplate.ItemTemplate>
                                    <!-- Person template -->
                                    <DataTemplate DataType="local:Person">
                                        <TextBlock Text="{Binding Name}" />
                                    </DataTemplate>
                                </HierarchicalDataTemplate.ItemTemplate>

                            </HierarchicalDataTemplate>
                        </HierarchicalDataTemplate.ItemTemplate>
                    </HierarchicalDataTemplate>

                </TreeViewItem.ItemTemplate>
            </TreeViewItem>

            <!-- Buildings -->
            <TreeViewItem ItemsSource="{Binding Buildings}" Header="Buildings">
                <TreeViewItem.ItemTemplate>
                    <DataTemplate DataType="local:Building">
                        <TextBlock Text="{Binding BuildingName}"></TextBlock>
                    </DataTemplate>
                </TreeViewItem.ItemTemplate>
            </TreeViewItem>
        </TreeView.Items>
    </TreeView>

View models:
public class ViewModel
{
    public ViewModel()
    {
        Teams = new ObservableCollection<Team>();
        Buildings = new ObservableCollection<Building>();
    }

    public ObservableCollection<Team> Teams { get; }
    public ObservableCollection<Building> Buildings { get; }
}

public class Building
{
    public string BuildingName { get; set; }
}

public class Team
{
    public Team()
    {
        Offices = new ObservableCollection<Office>();
        Offices.Add(new Office() { OfficeName = "Room 1.01" });
        Offices.Add(new Office() { OfficeName = "Room 1.02" });
        Offices.Add(new Office() { OfficeName = "Room 1.03" });
        Offices.Add(new Office() { OfficeName = "Room 2.01" });
    }

    public string TeamName { get; set; }
    public ObservableCollection<Office> Offices { get; }
}

public class Office
{
    public Office()
    {
        Persons = new ObservableCollection<Person>();
        Persons.Add(new Person() { Name = "John A" });
        Persons.Add(new Person() { Name = "Mike B" });
        Persons.Add(new Person() { Name = "Hank C" });
    }

    public string OfficeName { get; set; }
    public ObservableCollection<Person> Persons { get; }
}

public class Person
{
    public string Name { get; set; }
}

While this works for the Teams (I can drag to re-order all teams), I can not drag any children. So I cannot drag Offices or Persons at all. When I try to drag either of them, it actually drags the entire parent Team.
I can't find a way to enable dragging of the children separately, as I don't have any TreeViewItem for them (those are created on the fly by the TreeView in the binding I'm guessing). So I thought I should put the properties in a Style instead, and apply a ItemContainerStyle to the TreeViewItem, but that doesn't work either (no dragging possible at all).
Am I being too difficult or am I just missing something?
Note: the requirement of not being able to drag items to a different parent (e.g. dragging John from Room 1.02 to Room 1.03) is not extremely strict. If anyone can find a solution that does not prevent this I'd still be happy but I'd have to find some way to handle that drag separately (e.g. I have to have some code behind to handle this change).

Alright, I have put the DragDrop properties in a Style and applied that Style to every ItemContainerStyle.
I can confirm using the 'live visual tree' that every TreeViewItem in every level has those properties correctly set.
Just for testing I implemented a custom IDropTarget and set it as the DropHandler, and in that case I could see that the 'dragged item' was always the top-level Team, even if I started dragging one of the sub-levels (Office or Person). This is probably the root of the issue, and I have no clue how to get around it.


Fix default port for HTTPS

master may be broken. pypy-httplib2 fails on my local copy of master as well (without this change).

Thanks. Did you look in to the test failure in the travis build?

Yes. The issue seems to be that the headers can be out of order for the assertion. Added a fix.

Nice find!  What kind of bug did this cause?

None that I'm aware of. Just stumbled into it. :)


[Feature Request]: Use BigQuery emulator

What would you like to happen?
I want to have a purely local development environment.
There is a BigQuery emulator (https://github.com/goccy/bigquery-emulator) with a docker image freely available (ghcr.io/goccy/bigquery-emulator:latest).
How do I change the googleapis endpoint that beam points at?
Is there an environment variable to do this?
This will be used in a continuous integration environment rather than connecting to a google environment.
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Merging with #28149 28149


What is the proper way of installing this script to an existing Foxx app?

I tried:
$ npm install --save arangodb-foxx/util-oauth2
npm ERR! No name provided in package.json

Should I just download it into some vendor/util-oauth2 folder or maybe there is some more correct way to do that? Thanks!

Oh... I should have read the readme carefully first. It's all there. Sorry for disturbing

No problem. If you are using ArangoDB 3.0 the OAuth2 functionality is actually built into Foxx now. The API is currently undocumented but should be fully functional.
Just require('@arangodb/foxx/oauth2'), which returns a function that takes an object with the same attributes as the configuration of this service. The function returns an object providing the same API as this service does for the given configuration.

That's great! I will try to upgrade to 3.0. Thank you!


chore: merge master back into develop

Description of changes:
Bring recent changes to examples as well as new CodeCov report feature into develop
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@16f512f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #701   +/-   ##
==========================================
  Coverage           ?   94.64%
==========================================
  Files              ?       67
  Lines              ?     3229
  Branches           ?      645
==========================================
  Hits               ?     3056
  Misses             ?       83
  Partials           ?       90

Continue to review full report at Codecov.

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


[SCB-1391] Add support for explicit tx context passing for TCC

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@WillemJiang Code modified, please review

@chanjarster it looks good to me. And can you rebase and push the branch again ? I think @WillemJiang had updated some changes to make the Travis CI work. We need to make sure the CI building is OK. Thanks a lot for your contributions.

Coverage increased (+0.1%) to 82.83% when pulling 992c1fa9e7dfba2dd9361f5fa9de9c3dbb4d5a4c on chanjarster:SCB-1391 into bc1589e93e5561815e7f6189a9c59705fd86fdd3 on apache:master.

The CI failed with the Akka spring tests and I think it could be unrelated to these changes.

The CI failed with the Akka spring tests and I think it could be unrelated to these changes.

Let me try to restart the build

The CI failed with the Akka spring tests and I think it could be unrelated to these changes.

I found an error message about byteman. Can you help me?
This error does not appear every time.
11:06:33.494 [main] INFO  org.apache.servicecomb.pack.PackStepdefs - Cleaning up services
11:06:33.524 [main] WARN  org.apache.servicecomb.pack.PackStbooking> TrepdansformListenefs -er() : Fail to delete the by handlteman rules java.laning connection on port 9091
g.Exception: The remote byteman agent reported an error:
ERROR No rule scripts to remove

Failed scenarios:
src/test/resources/pack_booking_exception_after_post_car_compensated_scenario.feature:18 # Booking Exception After Car Hotel Secenario

@coolbeevip sure, please raise a JIRA issue and feel free to assign to me.

@coolbeevip sure, please raise a JIRA issue and feel free to assign to me.

I created an issue https://issues.apache.org/jira/browse/SCB-1397


onResponderRelease

Hi guys :)
Is there a way to get an event just after the user stopped dragging ? Something like onResponderRelease with panResponder.
I need to trigger an action only when the user stopped dragging and moved at least to a specific threshold.

No, I want to add that though. It's an important feature
We only have events on:

view snapped to a point
view stopped
view entered some specific area

I added support for onDrag event on master. Currently iOS only. @ButtersHub can you add Android?

Great works :)

Please re-open if this is not working as expected


Question

What is Anubis your C exploit? Will this replace Osiris in the future and is it pretty much a better rewrite?

Anubis is meant to be Osiris' reimplementation in pure C. Osiris still will be priority project until it's fully featured.

Do you think Anubis will replace it?

No, this is gonna be an alternative for people preferring C / nuklear UI.


discoveryplus.no not working after update on page

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Norway
Description
I can't download videos from discoveryplus.no anymore after they updated the page. I have a paid subscripton for the site and have tried with both with username/password and cookies. Keep getting the same issue.
Verbose log
yt-dlp.exe -Uv --cookies cookies.txt -u ****** -p ****** https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10
[debug] Command-line config: ['-Uv', '--cookies', 'cookies.txt', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67] (win_dir)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: ffmpeg 2021-12-30-git-12f21849e5-essentials_build-www.gyan.dev (setts), ffprobe 2021-12-30-git-12f21849e5-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [DPlay] Extracting URL: https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10
[debug] Using fake IP <IP_ADDRESS> (NO) as X-Forwarded-For
[DPlay] nissene-i-bingen/sesong-1-episode-10: Downloading JSON metadata
[DPlay] 1245481: Downloading JSON metadata
ERROR: [DPlay] nissene-i-bingen/sesong-1-episode-10: This video is only available for registered users. You may want to use --cookies.
  File "yt_dlp\extractor\common.py", line 599, in extract
  File "yt_dlp\extractor\dplay.py", line 320, in _real_extract
  File "yt_dlp\extractor\dplay.py", line 104, in _get_disco_api_info
  File "yt_dlp\extractor\dplay.py", line 50, in _process_errors

yt-dlp.exe -Uv --cookies cookies.txt https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10
[debug] Command-line config: ['-Uv', '--cookies', 'cookies.txt', 'https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67] (win_dir)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: ffmpeg 2021-12-30-git-12f21849e5-essentials_build-www.gyan.dev (setts), ffprobe 2021-12-30-git-12f21849e5-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [DPlay] Extracting URL: https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10
[debug] Using fake IP <IP_ADDRESS> (NO) as X-Forwarded-For
[DPlay] nissene-i-bingen/sesong-1-episode-10: Downloading JSON metadata
[DPlay] 1245481: Downloading JSON metadata
ERROR: [DPlay] nissene-i-bingen/sesong-1-episode-10: This video is only available for registered users. You may want to use --cookies.
  File "yt_dlp\extractor\common.py", line 599, in extract
  File "yt_dlp\extractor\dplay.py", line 320, in _real_extract
  File "yt_dlp\extractor\dplay.py", line 104, in _get_disco_api_info
  File "yt_dlp\extractor\dplay.py", line 50, in _process_errors

yt-dlp.exe -Uv -u ****** -p ****** https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10
[debug] Command-line config: ['-Uv', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67] (win_dir)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: ffmpeg 2021-12-30-git-12f21849e5-essentials_build-www.gyan.dev (setts), ffprobe 2021-12-30-git-12f21849e5-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2021.12.27, Current version: 2021.12.27
yt-dlp is up to date (2021.12.27)
[debug] [DPlay] Extracting URL: https://www.discoveryplus.no/video/nissene-i-bingen/sesong-1-episode-10
[debug] Using fake IP <IP_ADDRESS> (NO) as X-Forwarded-For
[DPlay] nissene-i-bingen/sesong-1-episode-10: Downloading token
[DPlay] nissene-i-bingen/sesong-1-episode-10: Downloading JSON metadata
[DPlay] 1245481: Downloading JSON metadata
ERROR: [DPlay] nissene-i-bingen/sesong-1-episode-10: This video is only available for registered users. You may want to use --cookies.
  File "yt_dlp\extractor\common.py", line 599, in extract
  File "yt_dlp\extractor\dplay.py", line 320, in _real_extract
  File "yt_dlp\extractor\dplay.py", line 104, in _get_disco_api_info
  File "yt_dlp\extractor\dplay.py", line 50, in _process_errors

Duplicate of #2138


chore: changed qwik default port to 5173

🎉 Thanks for submitting a pull request! 🎉
Summary
npm init qwik@latest sets a new qwik app's local development port to 5173 to line up with changes to vite's recent port change. Given the project is fairly new, this should have minimal impact, if any to folks using Qwik on Netlify. This was originally part if #792, but since we're still discussing the change to the vite default port, I opted to put this in its own PR.
And if for some reason they are using the old port currently, a message will notify them that they can change the target port in the netlify.toml
Relates to #791

For us to review and ship your PR efficiently, please perform the following steps:

[x] Open a bug/issue before writing your code 🧑💻. This
ensures we can discuss the changes and get feedback from everyone that should be involved.
[x] Read the contribution guidelines 📖. This ensures your code follows our style guide and
passes our tests.
[ ] Update or add tests (if any source code was changed or added) 🧪
[ ] Update or add documentation (if features were changed or added) 📝
[x] Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

I'm going to put this back to draft for the moment, because I'm not sure if this framework is meant to only be used with our Edge starter, https://github.com/BuilderIO/qwik/tree/main/starters/servers/netlify


How to access a field inside and from a component twig?

I created few fields until my banner component and try to use them in the index.twig without success like this {{ header }}
How can I access this fields in the component?
thanks

You can access it like this:
{{ data.heading }}
I need to add this to the documentation and add a better example component.
Thanks for taking the theme for a spin.

got it, thanks.
with regards to the component, it seems like if the 3 files (twig, js and css) are not present, something is not rendered as expected.
My use case was that I didn't need any js code, hence I didn't create a .js file. But I notice that in that case the style.css was not applied.

Just to confirm, are you running npm run watch so that css and js are compiling?

maybe I tried the others, like watch poll and hot. would that be the reason?

Yes, that might be it. You need to run npm run watch during development so that changes to js and css files are compiled.

ok, noted.
I just applied the change with tailwindcss/jit and noticed some issues.
In one of my components, I am using classes like md:grid-cols-3 and they are not present anymore in the generated stylesheet.

I tested and was able to confirm that my changes were present. Did you run npm install after pulling in the latest tailwindcss/jit package? It also might help to restart the npm run watch command.
I probably should have tagged jit as a new release, but so far you're the first brave soul that I know of to try this theme out. I appreciate your patience as we work out the kinks.

I really enjoy the implementation of the components thing. Really accelerate the dev process.
Let me try again with jit and report back.
I am enjoying playing with your theme on a new project for a client, I am no expert in WP at all, and with your theme I find it quite easy so far. I am struggling with integrating with LearnDash, and trying to access the course/lesson content from the theme without using their shortcode as I need a custom design implementation.

which lead me to the question: how do I create a single template for displaying my course in the theme?

which leads me to a second question: it seems that the theme is overriding anything that would be set by external plugins.
In a page called 'courses', I am using a building shortcode block from a plugin, to list all the courses; it displays nicely in the page editor but when I preview the page it displays the archive template from the theme, as a simple list of post tease.
Is there a way to go around this by any chance?

with regard to jit, I know what is going on:
I am using scss styling and jit does not compile them properly, it sees them as css and mess everything around.

with regards to jit, i noticed a lot of issues. No idea if this is related to tailwind itself or to the theme.
but the styles are not rendered anymore in the proper order when nested.
the nested style are rendering first, which does not make any sense.
for some reasons, in the components styles like lg:w-1/2 are not rendered in the final styles.

I switched the mix config with jit and sass (because I feel it's quite convenient) following this config: https://github.com/florianbouvot/laravel-mix-boilerplate/tree/next


Add CLI subcommand union and alias support

Adds union and alias support for CliSubCommand and CliPositionalArg annotations.
See updated subcommand docs for details.

@hramezani, what is the new process for the hyperlint-ai? Do we resolve the comments ourselves? Other than that, the PR is ready for review.

ُThanks @kschwab


Set sshd keys

@jerome-jutteau wat is the purpose of adding sshd keys ?

@jerome-jutteau what is the purpose of adding sshd keys ?

This is a legitimate request from issue #30: we can easily avoid "accept-new" situation / potential MITM attacks.

Need further public-cloud debug which seems related to the CI, works on my side.


Is there any listener for month changed?

I want chang my day spans when month chang, how can I achieve it ？

I hava found that setOnMonthChangedListener , thx any more


Add Audio Visualizer

Add Audio Visualizer
Issue No. :#69
Code Stack :HTML,CSS,JS
Close #<issue_no>

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have updated the Index.html file for my contribution

Additional context (Mandatory )

[X] I am a contributor in OSEN open source programme

[X] I am a contributor in HACTOBERFEST 2023

@fdciabdul please do not make any type of contributions or raise PR before u are not get assigned  to a issue
Please follow the rules mentioned in contributing.md


Patelchandni/lima+deployid

Updated packages to latest for tracking GITHUB_SHA and other information while deployment.
Removed separate API call for status change.
Merged changes from v1.4.0 for LIMA scenario.
If RBAC, then appService is used (LIMA scenario), else kuduService is used for getting app settings.

Codecov Report

Merging #108 (d6389cf) into releases/v1 (82e15c3) will decrease coverage by 2.67%.
The diff coverage is 66.90%.

:exclamation: Current head d6389cf differs from pull request most recent head 0614468. Consider uploading reports for the commit 0614468 to get more accurate results

@@               Coverage Diff               @@
##           releases/v1     #108      +/-   ##
===============================================
- Coverage        79.92%   77.24%   -2.68%
===============================================
  Files               19       23       +4
  Lines              533      668     +135
  Branches            97      119      +22
===============================================
+ Hits               426      516      +90
- Misses             107      152      +45

Impacted Files
Coverage Δ

src/utils/index.ts
100.00% <ø> (ø)

src/constants/enable_oryx_build.ts
45.45% <45.45%> (ø)

src/constants/scm_build.ts
45.45% <45.45%> (ø)

src/handlers/contentPreparer.ts
77.19% <65.71%> (-5.42%)
:arrow_down:

src/handlers/parameterValidator.ts
73.87% <68.42%> (-3.36%)
:arrow_down:

src/utils/funcignore.ts
87.09% <87.09%> (ø)

src/constants/configuration.ts
100.00% <100.00%> (ø)

src/constants/function_runtime.ts
95.45% <100.00%> (ø)

src/managers/builder.ts
100.00% <100.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


Build failed due to genetared files

Hello,
Very nice lib, unfortunally I can't make it working
I build my module using ./gradlew :common:umbrella:build
@ExportedScopeProvider
class MainScopeProvider : ScopeProvider {
    override val scope : CoroutineScope = MainScope()
}

@ToNativeClass(name = "GetServersUseCaseIos", launchOnScope = MainScopeProvider::class)
class GetServersUseCase(
    private val serversRemoteSource: DiscoveryServersRemoteSource
) {

    suspend fun executeWithUsername(username: String): List<Server> {
        val domain = username.split('@').last()
        val servers = serversRemoteSource.getServers(domain)
        ...
        return servers
    }
}

plugins {
    kotlin("multiplatform")
    kotlin("kapt")
    id("com.android.library")
}

kotlin {
    // Android target
    android {
        compilations.all {
            kotlinOptions { jvmTarget = "1.8" }
        }
    }

    // iOS target
    ios {
        binaries {
            framework {
                baseName = "discovery"
            }
        }
    }

    sourceSets {
        val koruVersion = "0.4.0"

        sourceSets["commonMain"].dependencies {
            // our own libs
            implementation(project(":common:api_models"))
            implementation(project(":common:api_shared"))

            implementation("com.futuremind:koru:$koruVersion")
            configurations.get("kapt").dependencies.add(
                org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency(
                    "com.futuremind", "koru-processor", koruVersion
                )
            )
        }
        sourceSets["commonTest"].dependencies {}

        sourceSets["androidMain"].dependencies {
            implementation(Ktor.clientOkHttp)
        }

        val androidAndroidTestRelease by getting
        val androidTest by getting {
            dependsOn(androidAndroidTestRelease)
            dependencies {}
        }

        val iosMain by getting {
            kotlin.srcDir("${buildDir.absolutePath}/generated/source/kaptKotlin/")
        }

        sourceSets["iosTest"].dependencies {}
    }
}

When I look generated files I see two versions (one for debug, one for release) that cause a redeclaration error. Same for MainScopeProvider
What am I missing ?

had the same issue.
In your build.gradle.kts change the line
val iosMain by getting {
    kotlin.srcDir("${buildDir.absolutePath}/generated/source/kaptKotlin/")
}

to either debug/or release
val iosMain by getting {
    kotlin.srcDir("${buildDir.absolutePath}/generated/source/kaptKotlin/debug")
}

Does it fail at build or just in ide?
Seems like a good workaround @837, thanks.
I didn't have such an issue before, it builds fine with either debug or release. If its just ide issue, you might also try marking the appropriate folder as sources dir. Android studio is still a bit confused around kotlin multiplatform directories, I think.

Thanks for the help
It's working with either /debug oor /release :D
@micHar It's not just an IDE issue, because the build fails and the framework is not generated.
I wonder if I should use make it dynamic for debug and release mode, but for the moment it's seems to working as expected;
Thanks guys


Id[entity] 2.0 (real)

About the PR
It works this time! No draft
Basic behavior:

If face uncovered, show true name
If face covered and has an ID, show the ID's name
If face covered and no ID, show an identity string ("young man", "middle-aged person", etc)

The idea here that makes this iteration actually work:

IdentityComponent stores an identity data entity on it. This entity is spawned on init, and it's name is changed to reflect the 'identity' of the user changing. The grammar attributes from the owner are copied onto the id[entity] so that gender and stuff are preserved.   This was the biggest blocker for identity previously. Its also nice cause it means we dont have to network anything special, metadata and container networking handle it already
Identity API are static methods now for convenience, jsut pass in entman
Identity is now stateful (as mentioned before) and can update whenever the inventory/hands equip/unequip stuff. This also allows admin tooling to make use of identity
Full pass over all uses of EntityName or Name(EntityUid uid)` I could find as well as all loc strings that passed in an entity, HOPEFULLY I caught everything and made it use identity but who knows

Screenshots

i swear it works

Changelog

:cl:

add: There is now an identity system. Players may not be who they initially seem. Masks and headgear can cover your true identity, and allow you to pass as the ID you're wearing, or as an unknown person if you have no visible ID.
fix: A lot of popups and UI windows were changed to use identity stuff rather than hard-coded name, so if you're able to see someones 'true' name when you shouldn't (through a popup, etc) then please report it.

upon second review i'd say speedmerg, I'd like to finally have this in, as it's a major game alteration.

gottem


Parse '1,2,3' should not succeed

There may be a bug of oj.ParseString:
func TestOjgParse(t *testing.T) {
	v, err := oj.ParseString("1,2,3\n")
	fmt.Println(v)
	fmt.Println(err)
	fmt.Println("----------")
	v, err = oj.ParseString("1,2,a\n")
	fmt.Println(v)
	fmt.Println(err)
}

It outputs:
=== RUN   TestOjgParse
1
<nil>
----------
<nil>
unexpected character 'a' at 1:5
--- PASS: TestOjgParse (0.00s)
PASS

the string  '1,2,3\n' isn't to be a JSON either, but ParseString didn't return an error.

The comma should cause an error to be returned. I'll debug it this evening.
What is happening is that parsing is reading the valid JSON of 1 but not giving an error on the comma and continues parsing which it should not do. In the second case you can see that the parser continues and errors on the a but would probably be okay with "a" which is a valid json.

Please try the no-comma-error branch.