location of the default sys.config and vm.args in running-config directory

The sys.config and vm.args are placed in release directory and used as defaults now (should not be edited). After starting of the release they will be automatically copyed to running-config directory. The  sys.config and vm.args should be placed in running-config directory already before first starting of the release.

How would this be accomplished? As the location of running-config is not known until the boot script runs, and running the boot script means you are running the release, I'm not sure how this is supposed to be done. I'm also a bit unclear on the specific problem, is the current behaviour causing a bug?

No it's not a bug, i just think it could be hard to understand for some people, who don't play with RELEASE_MUTABLE_DIR, that before first start the configuration should be done in release folder, and after the start in running-config directory. And we know where running-config placed per default. Or what do you think about it...?

I'm going to add this to the documentation rather than try to do anything special here. Users can create the running-config directory themselves and populate it with their desired configuration prior to first booting the release.


Light parsing fails

On this line guards for an id key in the JSON but no id key comes from the bridge response.

Sorry, my bad. The id comes as the key of the dictionary.


Broken Window

Currently, in order to display changes to the GUI, some require a "forceUpdate", creating an entire new window object. This is pretty inefficient. We need a long term solution to minimize overhead and code clarity.

Agreed, hopefully, with the new GUI, none of these "weird-just get it to work" elements persist. Honestly, just rushed development in the beginning.


BUG: deputy role creation fails due to AWS eventual consistency

This should solve issue #1

Added the function that will try to ignore exceptions for 30 seconds. Not sure about the readability, but at least it's reusable. Another question is if the timeout should be configurable or if that is YAGNI?


[YUNIKORN-86] Set proper resource request and limit for YuniKorn pods

I think we should add the resource requests to scheduler.yaml as well, to have the same behaviour in case of manual installation as well.

Thanks @kingamarton! Updated the PR accordingly.
Referring to the mail thread discussion: I updated the limits as @yangwwei suggested, and I made it configurable in the Helm chart as @TaoYang526 said.
I'll test it, but in the meantime please review it.

Tested locally (docker-desktop), and it looks good - see comment on jira.

hi @adamantal mostly seems good to me. can we have the similar changes for deployment/scheduler/scheduler-load.yaml?

Updated scheduler-load.yaml.


toArrayBuffer doesnt work

buffer.toArrayBuffer(true); fails with:
RangeError: Illegal range: 0 <= 7481 <= 16 <= 8192. Not sure why.

Did you call flip before calling toArrayBuffer?
https://github.com/dcodeIO/bytebuffer.js/wiki/API#bytebufferflip


A bit more on Amazon Linux compatibility etc.

Cover a couple items: CentOS/RedHat version it's based on. Also what about update schedules; do they differ from CentOS/RedHat or Ubuntu etc?

Saving discussion for later:
bgdnlp [9:31 PM]
Amazon Linux does NOT use systemd
[9:34]
Thankfully, as far as I'm concerned. And I don't think they announced any plans for it.
[9:36]
Amazon Linux is based on centos, centos is not backwards compatible between major versions. Meaning, CentOS 7 (the systemd one) is not compatible with Centos 6, there is no upgrade path from 6 to 7, you have to install a new machine
[9:36]
same for 5 to 6
[9:38]
end of life for centos 6 is 2020, so I'm guessing Amazon Linux will stay like this for a while more
[9:40]
and if they did stealthily switch to systemd in amazon linux, I'm sure the forums would be in uproar in the next 5 minutes. we'd know.
vjain8905 [1:41 PM]
https://forums.aws.amazon.com/thread.jspa?threadID=51647
[1:41]

Peter is partly correct. The Amazon Linux AMI is based on RHEL 5.x and parts of RHEL6. One of our goals is binary compatibility with RHEL 5.x, and therefore CentOS5.x. Astute users will note that our kernel is based on 2.6.34, and we have engineered the image to conform to a cloud environment. For example, the lack of Xorg support helps to keep the images small and lean. The goal of the Amazon Linux AMI is to provide an image for use in the cloud and to serve as reference image of EC2 best practices. The maintenance (security, enhancements, features and bug fixes) for the image will come directly from Amazon, while maintaining maximum compatibility, security and functionality.

[1:41]
I myself haven't been able to find any official documentation on AWS linux's actual upstream. But that's an AWS employee who posted that
Yeah, saw that… but it’s 6 years old (!).
It also states that in 2013, their goal was to be RHEL6 compatible as possible

jlevy [1:47 PM]
[1:48]
@vjain8905 came across last comment here, but unsure what’s accurate http://blog.schlomo.schapiro.org/2015/01/comparing-amazon-linux.html (edited)
caseybecking [1:50 PM]
:slightly_smiling_face:
vjain8905 [1:52 PM]

Remember that the Amazon Linux AMI repository structure is configured to deliver a continuous flow of updates that allow you to roll from one version of the Amazon Linux AMI to the next.

[1:53]
src: https://aws.amazon.com/amazon-linux-ami/2016.09-release-notes/
[1:54]
I interpret that as the Amazon Linux AMI is meant to be "yum update" without breakages continually. I know immutable infrastructures are the hot-thing nowadays, so a user would update/test locally before building and deploying a new AMI (such as using Packer)
[1:55]
Also, AWS wants you to look at your instances as Cattle, not pets.  I hope this makes sense
[1:55]
I can't find anything pointing at 6 months patching online (edited)

Adding the rest of the conversation:
jlevy [1:56 PM]
Yes, agreed.... but also it is still a factor when thinking things through.
That is, how long can you run “yum update” or “apt-get update” or whatever and expect it to behave reasonably.
vjain8905 [1:57 PM]
Based off the release-notes and quote. You can launch a 2011 version, and in theory, be able to yum-update till the end of time
jlevy [1:57 PM]
Pets vs cattle is generally good philosophy but fact is not all servers are cattle everywhere, so it’s something to think about. With Ubuntu for example it’s always good practice for internal systems (say VPN or your Jira server) to be LTS releases.
vjain8905 [1:57 PM]
I read that as "I launched a 2011 AMI in 2016. I did a yum-update and it became a 2016.09"
[1:58]
It's a different product lifecycle than Ubuntu
[1:58]
I'm still wrapping my head around this, as I've almost always used SUSE/Ubuntu/RHEL in my work
[1:59]
To verify my point... I'll try spinning up a 2011 instance and see what happens
jlevy [2:01 PM]
Cool. I’m capturing the info here so we con’t lose track (gotta run for a bit). https://github.com/open-guides/og-aws/issues/290
[2:02]
This should ultimately just be a couple bullet points about Amazon Linux and how it compares with other releases, I think.
pw [2:12 PM]
I know someone who works in AWS on Amazon Linux, if there are specific questions I can see if he will answer?
vjain8905 [2:13 PM]
ec2-user@ip-172-31-33-108 ~]$ uname -a
Linux ip-172-31-33-108 <IP_ADDRESS>-95.38.amzn1.x86_64 #1 SMP Thu Aug 25 17:11:23 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

$ sudo yum clean all
$ sudo yum update

https://aws.amazon.com/amazon-linux-ami/2016.09-release-notes/
[ec2-user@ip-172-31-33-108 ~]$ uname -a
Linux ip-172-31-33-108 4.4.23-31.54.amzn1.x86_64 #1 SMP Tue Oct 18 22:02:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[2:13]
Just did a test, 2011.09 updated to 2016.09 without issue
[2:13]
Testing 2013.09  now
[2:15]
https://aws.amazon.com/amazon-linux-ami/2013.09-release-notes/
42 package(s) needed for security, out of 210 available
Run "sudo yum update" to apply all updates.
Amazon Linux version 2016.09 is available.

[ec2-user@ip-172-31-24-250 ~]$ uname -a
Linux ip-172-31-24-250 3.4.68-59.97.amzn1.x86_64 #1 SMP Tue Nov 5 07:40:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ sudo yum clean all
$ sudo yum update

https://aws.amazon.com/amazon-linux-ami/2016.09-release-notes/
[ec2-user@ip-172-31-24-250 ~]$ uname -a
Linux ip-172-31-24-250 4.4.23-31.54.amzn1.x86_64 #1 SMP Tue Oct 18 22:02:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux```

[2:15]
TLDR; Regardless of the version of Amazon Linux you launch, you CAN simply `yum update` to get to the latest release without major issues.

[2:18]
As another data-point, doing a "yum install php" installed 5.3.29 and not 5.6, 6.0 (lol) or 7.0

vjain8905 [2:33 PM]
Bit of a broad stroke answer, but I hope that answers the question in a roundabout way

Amazon Linux is based on (started as?) CentOS / RHEL / Fedora 6. I'm pretty sure that it was saying that at some point, but it now probably differs too much from CentOS and branding it as such would cause issues. Either way, the packages that it uses are compatible with CentOS / RHEL / Fedora 6. The EPEL repository that one can enable in /etc/yum.repos.d/epel.repo is for version 6.
The /etc/os-release file identifies it as Amazon Linux, like "rhel fedora":
~]$ cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2016.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.09"
PRETTY_NAME="Amazon Linux AMI 2016.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

As for pros and cons:

It has a number of things installed to make it work better on AWS. Things like kernel modules or drivers written specifically for AWS hardware, applications that make it more friendly to cloud environments in general, tuning of different parameters to improve performance on AWS. Other distributions may or may not have at least some of these applied.
It is a rolling release, meaning that packages will be upgraded as improvements become available. Snapshots are taken every three months and made available as new AMIs.
It is only available in AWS, which means that it might cause lock in. It is compatible with RHEL 6 to some extent, so it very much depends on use case.


Can it be used as a node module?

It would be great if this can be used as a node module. This is exactly what I need, but I need to integrate it into a express application.

This should be easy to do, the last update seperated the CLI part and the generator itself. But this should not be part of this module. I could think of creating two seperate modules like "sitemap-generator" and "sitemap-generator-cli".
Probably I could look into this in the next couple days. What output should the module have? A string containing the XML-Markup?

For me, the best output would be in a JSON format. Maybe with a XML string option? I do not need the module to generate a XML sitemap, but rather to show me the structure of the website so I can visualise it to the user. But I can also parse the XML and get a JSON from it, so no big deal. If it's in a JSON format, it would be much more universal IMO :)

Well, the purpose of this module is to generate an xml sitemap. You should look into node-simplecrawler.


Cry for help: deleting one of "My Sources" is not obvious (in fact... I can't figure it out)

As an editor on Cantus, I can "Add new sources," and add chants to those sources. This function works, because I have successfully done so. However, I now can't make my source go away.
I can delete individual chants (see below), but I can't find where I can delete the entire source.

So I guess there are two possible issues here:

If it's actually not possible to delete a source once you've created it, it'd be great for that to be possible.
If it is possible to delete a source, then perhaps the "Delete" button should be somewhere more obvious to dumb users like me.

@JoyfulGen I transferred this from the Cantus Ultimus repo to CantusDb repo

I refer you both to https://github.com/DDMAL/CantusDB/issues/486 .

Ah nice -- ty!

I think being able to delete your own created source should probably be included, if it's something you can do on OldCantus (I can check if this is the case on a non-admin account, unless @JoyfulGen or @dchiller can confirm?).

Just confirmed that I can delete a source I created in OldCantus. FYI: this is not listed with other known and intentional differences, so either should be added to that list or this feature should be made available.

I refer you both to #486 . In Debra's email she restricted source-deletion to "higher ups" (admins and proofreaders). I think being able to delete your own created source should probably be included, if it's something you can do on OldCantus (I can check if this is the case on a non-admin account, unless @JoyfulGen or @dchiller can confirm?). Maybe this is an intentional change, or maybe it is an oversight in the directives--I will ask.

As a professional goof who likes to make chaos-inducing mistakes, I can confirm that being able to delete your own resource would be very useful.


Show actor level on limited actors, and make collapse all button collapse parties

Pardon the double feature PR

Mmm, I dunno. We don't show that on limited NPC sheets. This would be revealing information that we don't already.

How does this look now?

Coming back to this, I think this should be fine now. PCs, hazards, vehicles and familiars show their level on Limited. NPCs show their level on Observer, but not Limited (linked vs unlinked on NPCs doesn't actually make a difference here, since the limited NPC sheet doesn't show the level, so it doesn't need to be shown on the sidebar).


Shows available modules as undefined in debug console

Describe the bug
Although a module is imported in the source code, it is shown as unavailable in the debug console
To Reproduce

import json

def test_():
    # Put breakpoint on next statement
    assert True

Steps to reproduce the behavior:

Run test in debug mode
On break, go to debug console and type json.loads()
See warning

Expected behavior
The json module has been loaded previously and there should not be a warning
Environments (please complete the following information):

IDE: PyCharm Pro 2023.1
OS: macOS 13.2.1
Ruff Version 0.0.260
Plugin version: 0.0.10

Additional context
Add any other context about the problem here.

@chbndrhnns
I'm sorry for my late response.
Does the problem come from ruff plugin?
The plugin doesn't affect the debug console.

Closed temporarily due to lack of response.
Please comment again if you have any questions.


Bicep template instead of Terraform?

This page has a link to terraform but its not easy to see what the actual resources are created by that Terraform template. Can you please add a bicep example instead, which maps 1:1 more directly to azure resources?

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

ID: 86a92485-1e9e-0327-87b3-40a72435e99a
Version Independent ID: 48c13def-2368-659e-68fe-6bd85ec4960d
Content: Monitor a new Azure Kubernetes Service (AKS) cluster - Azure Monitor
Content Source: articles/azure-monitor/containers/container-insights-enable-new-cluster.md
Service: azure-monitor
Sub-service: containers
GitHub Login: @bwren
Microsoft Alias: bwren

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

@justinmchase Thank you for taking time and sharing your feedback , assigned this to our document author to further review the feedback and enhance the document.

No problem thanks much!


Don't use pytz in import_royalflare.

I think our tests would have caught this but sadly we don't have them!

npnp, blame pip :)


Composite Foreign Keys

I am trying to create a relationship with composite foreign keys (mssql).  I don't think this is supported, so I have tried to used a scope.
The resulting query is correct, but my sequelize model is only populating a single instance, not many.
Both Tables have 3 Fields with identical names (above as Q_ID, G_Code, T_Code) which determines the relationship:
TableB.Q_ID REFERENCES TableA.Q_ID
TableB.G_Code REFERENCES TableA.G_Code
TableB.T_Code REFERENCES TableA.T_Code
I've written the relationship FROM TableA as:
    @HasMany(() => SqlzForTableB, {
      foreignKey: 'Q_ID',
      scope: {
             G_Code: { [Sequelize.Op.col]: 'AliasForTableOfThisSqlzModel.G_Code' },
             T_Code: { [Sequelize.Op.col]: 'AliasForTableOfThisSqlzModel.T_Code' }
         }
     })

Do you have any suggestions on handling a composite foreign key relationship?
Thanks

Hey @euler2718, sry for the late response. Unfortunately I don't fully get your issue. Can you provide a more advanced example? In which exact case only a single instance is populated instead of many?

@euler2718 Do you solved your issue?

We solved the issue by creating Association Tables on the DB side manually...
So the main issue I was trying to solve, is what if I have something like BelongsToMany relationship with 3 keys instead of 2?
ALSO - this is more generally a sequelize question, but its about updated Association Tables:
@BelongsToMany(() => SqlzModel1, { through: 'ASSN_TABLE', foreignKey: 'code1', otherKey: 'code2' })
modelArray: SqlzModel1[];

When I run an update, it doesn't seem to update the ASSN_TABLE.
I tried getting away from using the Table Names directly and created another model hoping it would update:
@BelongsToMany(() => SqlzModel1, { through: 'AssnSqlzModel', foreignKey: 'code1OnSqlz', otherKey: 'code2OnSqlz' })
modelArray: SqlzModel1[];
but in this case,
I get the error: SequelizeDatabaseError: Invalid object name 'AssnSqlzModel'
I've also tried:
@BelongsToMany(() => SqlzModel1, { through: {model: 'AssnSqlzModel'}, foreignKey: 'code1OnSqlz', otherKey: 'code2OnSqlz' })
modelArray: SqlzModel1[];
I do have ways of solving this, but it would be nice if I didn't have to go another route.
Let me know if I should make another discussion for this.
Thanks.

@euler2718 Did you try to use the reference instead of a string: {through: () => AssnSqlzModel}?

yes I did that too, and it works fine to read the table, but doesn't help on an update / create

Hey @euler2718 do you managed to get this working?

Yes my example is identical, it works fine so far with everything that i need. I didn't have a need for three keys though. So not sure if mine applies to the original, I handle all database (initial) manually, then use migrations to adjust. So I don't use sync or rely on sequelize to create the database for me.

Close this issue due to inactivity of reporter.

@blankstar85 probably too late for you..
import { Op } from 'sequelize';
And replace Sequelize.Op by Op

@harpsdev thanks for the comment, but if you look at the comment at the bottom i had already figured it out and updated it. I left the top to not completely change everything in the comment, i guess I should have. Thanks for the help tho..


Upgrade to Node.js version 18

There could be deprecations between Node.js versions, but it should generally be backwards compatible. For the workflows here we're already using Node.js 18 (except for the Node.js Connect adapter).
However, this is only for the build. We don't influence the Node version that is used at runtime. Basically, if the build passes then there should be no issue.
I am planning on doing a test run after some other stuff is merged and tested.


Fix warnings and errors on 3.1

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   65.18%   65.18%
=======================================
  Files           4        4
  Lines         247      247
=======================================
  Hits          161      161
  Misses         86       86

Flag
Coverage Δ

#Configuration
65.18% <100%> (ø)
:arrow_up:

#TestProgram
65.18% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

Sources/Configuration/ConfigurationManager.swift
41.4% <100%> (ø)
:arrow_up:

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 2f86744...3eb7cca. Read the comment docs.


Extended characters do not display correctly.

Extended keyCode keys, like: + / \ ' (with key codes above 127) - do not display the same way the characters below that range do.
This is most likely something simple related to:

event.keyCode returns extended codes for these keys,
String.fromCharCode is the function being used to generate a character.

Solved: Depending on where you capture the event (keydown, keypress, keyup) - you get a different code. keypress gives the standard ascii code i was expecting here, where we had been using keydown.

This ended up not being solved in the way that i had hoped. As it turns out - keyevents are hard. Between the variety of keycodes you might get from an event, and then trying to display them correctly, unicode, ascii, keyboard codes, and localization issues - Im quite certain this is an issue that will continue to rear its ugly head.
As it stands currently - we are using ascii codes (event.keyCode) during the keydown and keyup events. We then use a key/value pair to translate the keycodes into something readable. keyCodeMap.js contains the translation. - Not ideal, but working, and configurable - perhaps even 'localizable'

To clarify this issue further - ascii codes can be formatted nicely using String.prototype.fromCharCode() - however - this only works for codes below 127 - i.e. ASCII - the 'extended' characters do not print properly using this method - so we need the keyCode map.


[PE-D][Tester A] show still shows contact details after deletion

When a contact detail is shown before it gets deleted, the contact details of the deleted person is still shown, causing users to assume that the user is still there.
Details of David Li is still shown after being deleted:

Finding for Davind Li shows no result despite his details being shown:

Labels: severity.Low type.FeatureFlaw
original: DesSnowy/ped#2

Hi @DesSnowy, thanks for reporting this issue! Definitely, the right side of the interface will still show the last contact/person to be shown, and it works as intended to show the correct contact/person even if the contact/person is deleted.
Running the show command again with a different person will replace the view with the new contact/person, and I believe that this is just a minor detail that may not even cause any inconveniences for the user at all. I really appreciate you for being meticulous and spotting this!

Fixed in #323


Fix link to empty playlist in #1700

Fix a link to empty youtube playlist in #1700

prettier fixed


Slickgrid 3 click sorting

I'm trying to implement 3 click sorting for slickgrid and i am trying to achieve this by subscribing to onHeaderClick event and keeping track of the number of click so i can implement ascending, descending and reset state. the issue i'm having is when i set sortable flag to true, the default onHeaderClick in slick.grid file gets executed too. Also, i have subscribed to custom onSort event as well and I'm not sure how to all the custom onSort event from the custom onHeaderClick event.
Any suggestions on this would help.
Thank you

suggest using my repo, it's a more up to date version of this one.
the best way to mod this would be in the grid code itself slick.grid.js:
function setupColumnSort() {
    ...
      var sortOpts = null;
      var i = 0;
      for (; i < sortColumns.length; i++) {
        if (sortColumns[i].columnId == column.id) {
          sortOpts = sortColumns[i];
          sortOpts.sortAsc = !sortOpts.sortAsc;
          break;
        }
      }

this is where the grid click is handled. changing the logic would be simple. in fact, i'm a big fan of three state clicks so i might add a grid option for that to my repo.

i might add that generally with an event, returning the value false stops the default event occurring, as well as events for parent elements.

also, assuming that you are using example-multi-column-sort.html as a starting point

First of all thanks for getting back, I did considered modifying the grid code but this is common library shared by multiple projects where all the other projects want regular sorting accept this one. that's the reason i was trying to edit it by subscribing to the event.


Passing the draft argument to \includegraphics{}?

Is there a simple way of adding the draft option to:
https://github.com/ramiromagno/wiley-njd/blob/885a1827617952d3d01156ab68e6af8c8e118337/template.qmd#L131
such that instead of getting:
\begin{figure}[t]
{\centering \includegraphics[width=\textwidth,height=1.5in]{empty.pdf}}
\caption{\label{fig-fig1}This is the sample figure caption.}
\end{figure}

I would get the argument draft passed on to \includegraphics{}:
\begin{figure}[t]
{\centering \includegraphics[width=\textwidth,height=1.5in, draft]{empty.pdf}}
\caption{\label{fig-fig1}This is the sample figure caption.}
\end{figure}

For cross-reference: https://github.com/quarto-dev/quarto-cli/issues/6239.


Error Domain=com.adapty.AdaptySDK Code=2003 "Bad request."

A few seconds after requesting
const info = await adapty.purchases.getInfo({ forceUpdate: true });
and getting the expected result in info.
there is this error showing up in the log (logLevel: 'verbose',) every minutes
2022-05-22 19:09:51.091+0200 [Adapty v1.16.8(1)] - ERROR.
Error Domain=com.adapty.AdaptySDK Code=2003 "Bad request." UserInfo={NSLocalizedDescription=Bad request.}
2022-05-22 19:10:51.086+0200 [Adapty v1.16.8(1)] - ERROR.
Error Domain=com.adapty.AdaptySDK Code=2003 "Bad request." UserInfo={NSLocalizedDescription=Bad request.}
2022-05-22 19:11:51.240+0200 [Adapty v1.16.8(1)] - ERROR.
Error Domain=com.adapty.AdaptySDK Code=2003 "Bad request." UserInfo={NSLocalizedDescription=Bad request.}
2022-05-22 19:12:51.224+0200 [Adapty v1.16.8(1)] - ERROR.
Error Domain=com.adapty.AdaptySDK Code=2003 "Bad request." UserInfo={NSLocalizedDescription=Bad request.}
2022-05-22 19:13:51.115+0200 [Adapty v1.16.8(1)] - ERROR.
Error Domain=com.adapty.AdaptySDK Code=2003 "Bad request." UserInfo={NSLocalizedDescription=Bad request.}

Seems like Kinesis credentials are invalid here. Does this error remains?

Credentials should refresh once in a day or so

What are "Kinesis credentials" ? how is it related to Adapty ?
This is only displayed with verbose mode active and when you get the console log on Xcode or adb (I don't remember)

What are "Kinesis credentials" ? how is it related to Adapty ? This is only displayed with verbose mode active and when you get the console log on Xcode or adb (I don't remember)

Oh, Kinesis is AWS service Adapty uses under the hood. It is streaming data around to assure your device has a fresh cache data and stuff.
It seems to throw 400 occasionally, but we haven't dived into this deeply as it doesn't seem harmful.
In your case you have probably somehow invalidated your streaming token (restarted session?), while keep requesting new cache with an invalid token. I have asked our backend team how we can deal with it, please inform if you consider this to be really annoying or hazardous

Hey, as far as I'm concerned logs should be minimal now (especially with no verbose mode),
I'll close this issue, but feel free to re-open this if you find this problem unresolved


Wrong type infer for spread arrays

TypeScript Version:  3.6.0-dev.20190606

Search Terms:
spread, array
Code
const a = {
  ...[1, 2, 3],
};
a.slice // === undefined actually!
console.log(a.slice);

Expected behavior:
a doesn't have slice property
Actual behavior:
a has slice property for Array type.
Playground Link:
https://www.typescriptlang.org/play/#src=const a %3D {
  ...[1%2C 2%2C 3]%2C
}%3B
a.slice %2F%2F %3D%3D%3D undefined actually!
console.log(a.slice)%3B
Related Issues:

...wait, is that even a legal thing to do?  Spreading an array into an object like that?

It works. In that case, you got { a: 1, b: 2, c: 3 } for a.
I know it's not recommended even possible, but I found a special use case for it. https://github.com/microsoft/TypeScript/issues/31575#issuecomment-495891534

Yeah, arrays are just objects like almost everything else in JS, of course that would work.


added new Formatter for SRT files

New feature based on issue #162
The user can import the subclass SRTFormatter to get the string format for SRT files:
from youtube_transcript_api.formatters import SRTFormatter

Hello, this is my first contribution to open source, so I wanted to try submitting a pull request. Let me know if there are any issues!

Thank you for the feedback! I will work on these issues.

Thank you for the feedback! I will work on these issues.

No worries, let me know if there's anything you need assistance with! 😊

I added some tests to bring coverage back to 100%, but lemme know if I can improve the tests.


Chore: improve Dockerfile and docker-compose

What
Improve Dockerfile and docker-compose by removing the necessity of doing COPY . ./ and relying on the volume instead.
Why
Some users reported issues deploying it.
Checklist
PR Structure

[x] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR title and description are clear enough for anyone to review it.
[x] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[x] This PR adds tests for the new functionality or fixes.
[x] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[x] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[x] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[x] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[x] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[x] This is not a breaking change.
[x] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[x] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr469.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr469.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr469.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr469.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr469.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr469.previews.kube001.services.stellar-ops.com


[APM] Normalize X-Datadog-Container-Tags header

HTTP header values cannot contain line breaks. This PR ensures that if Container Tags contain line breaks, the value is sanitized to replace those line breaks with underscores. It would otherwise result in an invalid header/request.

What does this PR do?
This is a fix for https://datadoghq.atlassian.net/browse/APMS-13035
HTTP header values cannot contain line breaks. This PR ensures that if Container Tags contain line breaks, the value is sanitized to replace those line breaks with underscores. It would otherwise result in an invalid header/request.

Motivation
https://datadoghq.atlassian.net/browse/APMS-13035

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Fix Transjovian link

Transjovian is served by Phoebe which serves both Gemini and HTTPS, so
we can link to it directly.

@kensanata Thanks 😊


AMD compatibility

This ensures that jQuery is loaded before the plugin when using e.g. require.js.
See here: https://github.com/umdjs/umd
And here: http://requirejs.org/docs/jquery.html

This should now be supported in 2.x.


What is Country ID

You can use the associated ID of a province or country to get the desired information

What are country IDs and what do they reference?

Sorry for not making it clear in the docs, by ID I mean the ID that the API labeled for each province and country, you can see which province or country has which ID on the API's url: http://coronavirus-tracker-api.herokuapp.com/v2/locations

I will add it.

Thanks, I appreciate it

@allcontributors please add @Raamyy for docs


Add wireguard native flannel backend

Proposed Changes

Added wireguard-native flannel backend to use the wireguard backend included in flannel.
The older wireguard backend will remain as it is for backward compatibility (#5011)
Types of Changes

New Feature
Verification

Use the option --flannel-backend=wireguard-native to set up a cluster that uses wireguard as backend
On the node flannel-wg interface should be there and in case of dual-stack flannel-wg-v6
Linked Issues

#4364 #5216 #5101
User-Facing Change

Further Comments

Great! Could you add a log stating that wireguard will be deprecated if config.FlannelBackendWireguard is chosen? Something like: "The wireguard backend is deprecated and will be removed in k3s v1.26, please switch to native-wireguard. Check our docs for information about how to migrate"

One extra thing! Please update https://github.com/k3s-io/k3s/blob/master/pkg/cli/cmds/server.go#L207 and add the new option. In the old option, please add (deprecated) after it

Please don't forget about the documentation.
I am currently experimenting with v1.24.1+k3s1, which, as expected, logs this on startup:
The wireguard backend is deprecated and will be removed in k3s v1.26, please switch to wireguard-native. Check our docs for information about how to migrate

Unfortunately there is no documentation about this backend at all, especially no documentation about the migration.
According to https://github.com/k3s-io/k3s/pull/5011 a reboot of the node or manualy deletion of the flannel device should fix this.


Japanese translation missing "created by" string

Just spotted this missing Japanese string while working on the language menu:
https://github.com/thomaspark/flexboxfroggy/blob/gh-pages/js/messages.js#L75
@ginpei, would you be able to add it?

I could translate but left it in English because the phrase is usually written in English in Japanese culture. I'm sure that most Japanese understand it and feel comfortable.
But do you want me to add a comment there to make it clear?

Ah, thanks for the explanation, I had no idea. We can leave it as is then!


Add rangeLookup implementation for Data.Map

To be used in model implementation

I think build (9.4.6, <IP_ADDRESS>, ...) jobs are not yet configured but already required, so this PR is in the weird state.

After #2 is merged, the workflow file should be updated to include the ghc-9.4.6/cabal-<IP_ADDRESS> job

more elegantly for sure, but it will do more work constructing intermediate maps.


Add flag to podman run/create to automatically set the timezone in container to match host.

Something like?
--tz host
--tz image
Then in containers conf, we could allow setting this by default.
Thoughts?

Sounds great (also getting it into the containers.conf). I prefer a longer --timezone flag.

I don't know, tz == twilight zone right?  I like the idea, but prefer the longer option.  I'd be fine if we allowed both though.

I think the acronym is pretty well established, so I doubt we run into conflicts. My only question is how much work is involved - is this just an extra file to make and mount into the container, like resolv.conf? Does it differ at all between distros?

I have similar concerns.  It could be just injecting the hosts TZ Environment, but copying the contents of /etc/localtime into container private data might be required as well.

is the idea here that by default this would be false or true?

I would default to false for compatibility
On Sat, Feb 8, 2020, 16:50 Brent Baude<EMAIL_ADDRESS>wrote:

is the idea here that by default this would be false or true?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/5128?email_source=notifications&email_token=AB3AOCEM27RDRHMNISZZKB3RB4SLTA5CNFSM4KRO7EJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELF4QAI#issuecomment-583780353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3AOCFCJNS6I7AXOZAWWDLRB4SLTANCNFSM4KRO7EJA
.

Yes, false by default, but customizable in containers.conf.

One snag to be aware of: there are three scenarios here, not two:

--tz=image - does nothing
--tz=host - (presumably) bind-mounts /etc/localtime. This should be easy.
--tz=user? - this is the case where the user has TZ explicitly set, overriding system /etc/localtime. This is, I believe, thorny.

podman could simply env-forward TZ, but that could yield unexpected results: e.g. alpine does not have /usr/share/zoneinfo, so time zone handling will be different from the host.
Another option is, if TZ is defined, have podman check if /usr/share/zoneinfo/$TZ exists, then bind-mount that as the container's /etc/localtime. First obvious caveat is that podman will have to be careful about path traversals (TZ=../../../dev/mem)

Groan. The obvious next step is that someone will want --tz=STRING, e.g. US/Eastern or EST5EDT or somesuch. This escalates quickly.

Sure, but I think we just keep it simple and mount the file pointed to by /etc/localtime into the container.

Suggest to avoid adding ambiguity, use 2 facets.
Contact timeserver, save in UTC
if no TServer avail, use  /etc/localtime, but put F in front of the timezone.  (I'm in EST, so my files would show modify times of FEST)
Here's why --
Contact a timeserver, and obtain UTC, then just store it in UTC   [ removes cloud host "where in  cloud was this done" part as well as gives the filesystem and investigators 'one truth' about change time]   stops colleagues in Sydney modifying files in the 'future' and me from modifying files EST at same (or similar times in  same day localtime, yet in 'real time' should be 16 hr later)
if no Timeserver  avail then  use local time, and mark timezone as "FLCL" -- (stands for Forced Local or FEST as I pointed out above)
This flags to  person investigating change's birth time -- "hey! timestamp is biased by whatever and whereever user created it"

@sspoddiglane would you like to attempt to create a PR for this?
/etc/localtime on my box is a binary file.

Be glad to when I get a moment.  Is there a form you prefer?
On Tue, Feb 18, 2020 at 4:12 PM Daniel J Walsh<EMAIL_ADDRESS>wrote:

@sspoddiglane https://github.com/sspoddiglane would you like to attempt
to create a PR for this?
/etc/localtime on my box is a binary file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/5128?email_source=notifications&email_token=ALDUW2IGUC4XYOH725FQAJTRDRFL7A5CNFSM4KRO7EJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEME72RQ#issuecomment-587857222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDUW2ODBJY5S7YLMLEJM6LRDRFL7ANCNFSM4KRO7EJA
.

--
Susan SpoddigLane
Sr. Linux Admin  IV
NOAA/NESDIS Center for SaTellite Applications and Research (STAR)
College Park
Office:301-683-1328
cell:<PHONE_NUMBER>
Email<EMAIL_ADDRESS>[image: noaa_logo_full.png]
https://www.noaa.gov/ https://www.noaa.gov/U.S. Department of Commerce
http://www.commerce.gov/
Enter Search

Awesome.  Just a PR to github, if that is what you meant?

@sspoddiglane Any movement on this, or should I look for someone else?

I'll  get this out next week.  Firefighting after ISP reloaded their
routers w bad config..
On Mon, Mar 23, 2020 at 9:37 AM Daniel J Walsh<EMAIL_ADDRESS>wrote:

@sspoddiglane https://github.com/sspoddiglane Any movement on this, or
should I look for someone else?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/issues/5128#issuecomment-602564597,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDUW2I57PI6EREZMVH4EIDRI5JZTANCNFSM4KRO7EJA
.

--
Susan SpoddigLane
Sr. Linux Admin  IV
NOAA/NESDIS Center for SaTellite Applications and Research (STAR)
College Park
Office:301-683-1328
cell:<PHONE_NUMBER>
Email<EMAIL_ADDRESS>[image: noaa_logo_full.png]
https://www.noaa.gov/ https://www.noaa.gov/U.S. Department of Commerce
http://www.commerce.gov/
Enter Search

@sspoddiglane Any movement on this?

@ashley-cui Want to take a look at this?

@rhatdan
Hi,
Are you looking for something like?
Flags:
<snip>
--timezone-host                 Bind mount /etc/localtime from the underlying host
<snip>

I am actually thinking of both.  Basically set the TZ Environment if not set and mount the /etc/localtime mountpoint into the container.
But this should also be wired into containers.conf so that this can be set to true on the system for all containers.

I was looking at this, seems like a simple way is just to add it as a bind mount via hard coding it in cmd/podman/volumes.go. Is there another place I should take a look, or is this the way to do it? I also don't know how containers.conf is wired in, if you could show me that I could take a look at that part too


Failing builds as of latest release - CrashLoopBackOff

What happened?
Hello,
Our previously successful builds have been failing since 3/30. We're getting a CrashLoopBackOff in our k8s pods with this error:
open() "/workspace/logs/nginx/error.log" failed (2: No such file or directory)
I'm not an expert on this topic, so please let me know if this belongs elsewhere or needs more clarification.
Build Configuration

What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
using? Please include a version.

We are using pack v0.21.1

What buildpacks are you using? Please include versions.
What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?

Here is the relevant Cloudbuild stage:
- id: "build-frontend-image"
    name: "gcr.io/k8s-skaffold/pack"
    entrypoint: "/bin/sh"
    dir: "frontend"
    env:
      - "SERVICE=frontend"
      - "BUILDER=base"
      - "STACK=$_STACK"
    args:
      - "-c"
      - |
        pack build gcr.io/$PROJECT_ID/$_REPO-$$SERVICE --publish \
          --cache-image gcr.io/$PROJECT_ID/$_REPO-$$SERVICE:cache \
          --buildpack gcr.io/paketo-buildpacks/nodejs \
          --buildpack gcr.io/paketo-buildpacks/nginx \
          --buildpack gcr.io/paketo-community/staticfile \
          --tag gcr.io/$PROJECT_ID/$_REPO-$$SERVICE:$_BRANCH_NAME_NO_SLASHES_LOWERCASE \
          --tag gcr.io/$PROJECT_ID/$_REPO-$$SERVICE:latest \
          --tag gcr.io/$PROJECT_ID/$_REPO-$$SERVICE:$SHORT_SHA \
          --env "BP_NODE_RUN_SCRIPTS=containerize:$$STACK" \
          --builder paketobuildpacks/builder:$$BUILDER
    waitFor:
      - "-"

Can you provide a sample app or relevant configuration (buildpack.yml,
nginx.conf, etc.)?

This is the contents of buildpack.yml:
staticfile:
  nginx:
    pushstate: true

Any ideas? Thanks!
Chris

Confirmed that downgrading to v0.5.3 resolved the issue.

@calbers191 From that other issue from staticfile, it looks like the new nginx changes aren't playing nicely with the staticfile buildpack. cc @paketo-buildpacks/web-servers-maintainers

@calbers191 Thanks for letting us know. We're looking into this.

Reading this it looks like it maybe related to an issue with differing UIDs from the build to run images causing some issued which you can see here https://github.com/paketo-buildpacks/nginx/issues/374. Is there any chance you could get us some more complete log output in the mean time?

@calbers191 Now that #374 is live on version 0.8.0 can you give this another test and see what the result is?

I'm going to close this issue as there has been no update in over eight months. Feel free to re-open if this is still an issue.


Can't search forks

Github search doesn't return results for forks. This is a known limitation.
Unfortunately it just returns empty results which looks like is searched and found nothing
As reported here:

I've set it up to "repo" a repository on my Github account ( https://github.com/Jens-H-Eriksen/OctoPack ) ,  but it fails to find any C# projects in method "ContainsDotNetProjects"

My mistake, I should have put it down as a known limitation. In my opinion it's the correct behaviour (obviously my opinion isn't binding :P ). Reason: even if you don't have push rights to the parent repo, you should still point NuKeeper at that, not at the fork, and simply use a different fork mode to have it create branches in your personal fork and PRs from that.

Hm, that might be right, and I can see how skipping these in a org or global mode is the right thing to do,
Bur there is certainly something to fix here, as the error message is that the fork contains no .NET projects, which is not true.

Should this filter apply in repo mode? I'm happy for it to apply when looking at multiple repos, but if you specify a particular repo...

You're right, it doesn't make sense to filter in single repo mode.

replaced by #575


Fix UI

[ ] Modify gap value to 16px

[ ] Homepage
[ ] List pages
[ ] Detail pages

Homepage

List pages

Detail pages

[ ] Modify the ui of time column in Transfer table

Figma link
Preview

[ ] Modify all the width of time cell column to 200px

Link
Preview

[ ] Modify all the width of identity/address column to 200px
[ ] Truncate text with ellipsis if the identity is overflow

Preview

[ ] Elements alignment

Link
Preview

[ ] Fix the color of date time in status cell to textTertiary

preview

[ ] Fix the width of time column in burn table to 200px

Preview


[Blockbench / Webview / Embedded] Inflate values ignored in Embedded CPM Editor

When using the embedded editor in Blockbench anything with an inflate value is ignored. This is not the case when exporting and opening the model ingame

Can't reproduce with the latest version


[Github] Use constant from parent class in InstallServicesTask.php

1. Why is this change necessary?
2. What does this change do, exactly?
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfill them.

Imported from Github. Please see: https://github.com/shopware/shopware/pull/5176

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39159
[created from NEXT-39159, comment 505388]


Shader Color uniform wrongly serialized to GPU

Bevy version
0.5
Operating system & version
Windows 10 (Vulkan)
What you did
I've essentially followed https://gist.github.com/StarArawn/f4da80e06dfcefda90fde11d7f2d2c5d, adding a custom uniform block with a Color field in it.
layout(set = 2, binding = 0) uniform ProgressBarUniform {
    vec4 back_color;
    vec4 fill_color;
    float loading_fraction;
};
void main() {
    float threshold = step(loading_fraction, v_Uv.x);
    vec3 mixed = mix(back_color.rgb, fill_color.rgb, threshold);
    o_Target = vec4(mixed, 1.0);
}

#[derive(RenderResource, RenderResources, Default, TypeUuid)]
#[uuid = "463e4b8a-d555-4fc2-ba9f-4c880063ba92"]
#[render_resources(from_self)]
struct ProgressBarUniform {
  back_color: Color,
  fill_color: Color,
  loading_fraction: f32,
}
// -------------
[...].insert(ProgressBarUniform {
    back_color: Color::rgba(0.0, 1.0, 0.0, 1.0), // GREEN
    fill_color: Color::rgba(1.0, 0.0, 0.0, 1.0), // RED
    loading_fraction: 0.0, // later modified in system based on time
}

What you expected to happen
Color is serialized to GPU correctly.
What actually happened

Data is serialized as 4 bytes in the buffer
The data structure reads the color as 4 f32 from the buffer

Additional information
Debugged with @StarArawn (Discord thread) and we couldn't find anything wrong. The RenderDoc capture clearly shows (to my uneducated eye) the data being serialized in a different way that it's read back.

RenderDoc capture (1 frame) : bevy_bug_shader_swizzle.zip

I found a workaround by looking at StandardMaterial and pbr.frag. It seems #[render_resources(from_self)] is the culprit. Removing it and splitting into separate bindings make things work as intended, although the colors are uploaded as 4 floats, which is probably way overkill for most use cases:
#[derive(RenderResources, Default, Debug, TypeUuid)]
#[uuid = "463e4b8a-d555-4fc2-ba9f-4c880063ba92"]
//#[render_resources(from_self)] //< Removed
//#[repr(C)] //< Doesn't seem necessary
struct ProgressBarUniform {
    back_color: Color,
    fill_color: Color,
    loading_fraction: f32,
}

//unsafe impl Byteable for ProgressBarUniform {} //< Not necessary either (expected)

layout(set = 2, binding = 0) uniform ProgressBarUniform_back_color {
    vec4 back_color;
};
layout(set = 2, binding = 1) uniform ProgressBarUniform_fill_color {
    vec4 fill_color;
};
layout(set = 2, binding = 2) uniform ProgressBarUniform_loading_fraction {
    float loading_fraction;
};

Yeah thats indeed a bit of a nasty situation. The new renderer coming in Bevy 0.6 (replacing the one in Bevy 0.5) doesn't use a the RenderResources derive (we now use a more explicit CPU->GPU data layer that gives users more control), so I'm hoping this will be a non-issue soon.

Is this still relevant now that the 0.6 renderer has landed?

I don't think it is no, but I'd ask confirmation from someone with better understanding of the new renderer. @bevyengine/rendering-team ?

I don't think it is. The entire mechanism for how to pass data into shaders has been overhauled since this issue was filed. Even if there turns out to be a similar problem with the new renderer, I think it should be filed as a new issue. Closing.


Can't make housenumber layer to be visible

Hi.
I generated vectortiles with housnemuber layer, so it definitely exists, i can see it in raw pbf data:

Then I'v added this definition to layers array in basic-style's json:
            "filter": [
                "==",
                "$type",
                "Point"
            ],
            "id": "housenumber",
            "layout": {
                "text-field": "{housenumber}",
                "text-font": [
                    "Noto Sans Regular"
                ],
                "text-size": 11,
                "visibility": "visible"
            },
            "minzoom": 14,
            "paint": {
                "text-color": "rgba(212, 177, 146, 1)"
            },
            "source": "basemap",
            "source-layer": "housenumber",
            "type": "symbol"
        },

But housenumbers just don't appear.

Should i enable additional layer in some other plaice?
Thanks in advance.
generated style.json from http://erdapfel_instance/style.json:
style.zip

Your configuration looks good to me. And no additional step should be necessary to render the new layer.  Maybe some problem with the layers order ? or because of collisions between visible features ?
To debug further you may want to use mapbox-gl-js API. The mapbox Map instance is accessible via window.map.mb. For example, to fetch all elements that are rendered from the "housenumber" layer, use:
map.mb.queryRenderedFeatures({layers:['housenumber']})

Thx.
I gave it a shot and got:
Error: The layer 'housenumber' does not exist in the map's style and cannot be queried for features.:

Ok, so it looks like your custom style is not used.
Can you confirm the "housenumber" layer is present in the response from /style.json ?

it defenetely exists:

I think I have found the root cause of the issue.
Fiddler showed me that real used style was located inside /statics/build/javascript/map.bundle.js file

After running  npm build this file was updated according my style.json and housenumbers eventually appeared.
Sorry if it is something obvious, i don't have much experience with javascript

Ah yes, it makes sense. Once you've updated the style dependency, it's necessary to rebuild the app to update the .js files where the style is bundled.
Whereas the endpoint "/style.json" is defined for external usage, and will generate a new style dynamically. But it's not directly used by the application. Sorry for the confusion.


Fixes/dispatcher frame dispatcher

by @kekekeks

You can test this PR using the following package version. 11.0.999-cibuild0037836-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Add --port-map option to proot

proot --port-map makes proot transparently remap the network port between client and server. It is super useful when running several times the same client/server process concurrently on the same machine. Otherwise the it will crash because the server port is already allocated.

My bad, I just checked in proot, port seems to be remapped by default.

do you mean --port-map or --netcoop ?
There are some new udocker flags to take advantage of network cooperation and port  mapping
available in PRoot. In udocker these are implemented as:
--publish=hostport:containerport | -p hostport:containerport
and
--publish-all | -P | --netcoop


[patch] Fixes wrong links in contribution guidelines

Two links for the documentation guidelines were actually referencing to the test directory of sails.

@abisz thanks!


Tiles shift when bumping against maxZoomPixelRatio and overlap=0

With zero overlap and maxZoomPixelRatio >= 2, there is a visible jarring when zooming into the maximum level. The tiles all seem to shift a bit.
This seems to be easily reproduced by any of the examples by setting overlap=0 and maxZoomPixelRatio=2, and zooming all the way in.
The switch to mis-alignment seems to happen at exactly 2x, and also causes "broken lines" as seen below.

Actually, don't put too much emphasis on the broken lines yet, the image source is overlapping which might explains that. However, the lines seem to become more broken at 2x. I think you will see what I mean.

I think these seams will be fixed by the upcoming patch to use WebGL for rendering, which is still in progress - https://github.com/openseadragon/openseadragon/pull/2310


outdated dependency

with # npm install @hyperapp/html
<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>

Yeah. We need to remove the Hyperapp dependency.

Is anyone working on this? @Swizz?

@Swizz Can you update the dependency for now? And discuss whether we ought (probably do) depend on hyperapp.h or not as a separate issue? 🙏

Will do.


Theme should switch between light/dark based on system setting

It would be really convenient if the UI theme switched based on whether the system is in light vs. dark mode. Like GitHub does when "theme mode" is set to "Sync with System":

I would argue that this should be the default. (The themes corresponding with light mode and dark mode should still be configurable, but should default to our current "Default Light"/"Default Dark" themes.)

Should be easy enough to detect: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
https://medium.com/hypersphere-codes/detecting-system-theme-in-javascript-css-react-f6b961916d48

I was hesitant to do that right off the bat until we had more soak time with the light theme to make sure we hadn't missed anything crucial.


Parser error for generic arrow functions in very specific circumstances

Bug Report

🔎 Search Terms
parser, generic

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about generic arrow functions
JSX is disabled, so this is not related to JSX parsing.
⏯ Playground Link

Playground link with relevant code
💻 Code

// Apparent parser error when first property of returned object is generic function with default type
const fails1 = () => ({
  test: <T = undefined>(value: T): T => value,
  extraValue: () => {},
})

// Without a default type, it works fine
const works1 = () => ({
  test: <T>(value: T): T => value,
  extraValue: () => {},
})

// As second property, it works fine
const works2 = () => ({
  extraValue: () => {},
  test: <T = undefined>(value: T): T => value,
})

// The first property _must_ be a function, though
const fails2 = () => ({
  extraValue: '',
  test: <T = undefined>(value: T): T => value,
})

🙁 Actual behavior
In very specific circumstances, the parser seems to produce nonsense. The two failing examples produce respectively 15 and 23 errors.
As far as I can tell, it only happens when a function returns an object where the first arrow-function property is generic with a default type parameter. If there is no default type, it works fine. If another arrow-function property proceeds the generic one, it works fine (simply reordering the lines in the example can remove the problem). Any non-arrow-function properties before the function does not affect the error, but has nonsense errors themselves.
🙂 Expected behavior
No errors in any of the examples.

Just a random observation - if you add a comma after T = undefined, to be T = undefined, then it works without errors (playground link). Not suggesting as a workaround, just something I noticed (and thought to try after having weird times with generics in TSX files)

The error also happens on (half) parenthesized objects. Both fails1 & fails2 show the same parse errors, whereas ok is fine.
const fails1 = ({test: <T = 0>(value: T) => 0}) // ERRORS: Duplicate identifier '(Missing)'. etc.
const fails2 = ({test: <T = 0>(value: T) => 0}  // ERRORS: Duplicate identifier '(Missing)'. etc.
const ok =      {test: <T = 0>(value: T) => 0}  // Fine, despite missing `)` above

Playground Link

This is fixed by #48493, which means that this is similar to #32914.


iOS issues

I am stuck with this issue, SF support doesn't seem to know also, so I am looking for help here if anyone will know.
Android works and all the devices and contacts get set inside Marketing Cloud, but on iOS no promises resolve, it fails on the first function call.
Versions:
		"@allboatsrise/expo-marketingcloudsdk": "^50.2.0",
		"expo": "~50.0.17",
		"expo-notifications": "~0.27.7",

App config:
               // .........
		[
			'@allboatsrise/expo-marketingcloudsdk',
			{
				appId: envData.marketingcloudsdk.appId,
				accessToken: envData.marketingcloudsdk.accessToken,
				serverUrl: envData.marketingcloudsdk.serverUrl,
				mid: envData.marketingcloudsdk.mid,
				inboxEnabled: true,
				applicationControlsBadging: true,
				markNotificationReadOnInboxNotificationOpen: true,
				delayRegistrationUntilContactKeyIsSet: true,
			} as MarketingCloudSdkPluginProps,
		],
		'expo-notifications',
               // .........

How I am testing it:
const [isDone, setIsDone] = useState(false);
	const [logs, setLogs] = useState<string[]>([]);

	useEffect(() => {
		let cleanup = () => {};

		(async () => {
			let result = await Notifications.getPermissionsAsync();
			if (!result.granted && result.canAskAgain) {
				result = await Notifications.requestPermissionsAsync({
					ios: {
						allowAlert: true,
						allowBadge: true,
						allowSound: true,
					},
				});
			}

			if (!result.granted) {
				return;
			}

			const token = await Notifications.getDevicePushTokenAsync();

			// let Marketing Cloud SDK the value of current push token
			await MarketingCloud.setSystemToken(token.data);
			setIsDone(true);

			// In rare situations a push token may be changed by the push notification service while the app is running.
			const subscription = Notifications.addPushTokenListener((newToken) => {
				MarketingCloud.setSystemToken(newToken.data);
			});
			cleanup = () => subscription.remove();
		})();

		return () => cleanup();
	}, []);

	useEffect(() => {
		const logSubscription = addLogListener((logEvent: LogEventPayload) => {
			setLogs((prevLogs) => [...prevLogs, `Log event: ${logEvent.message}`]);
		});

		const inboxSubscription = addInboxResponseListener((inboxEvent: InboxResponsePayload) => {
			setLogs((prevLogs) => [...prevLogs, `Inbox event: ${inboxEvent.messages}`]);
		});

		const registrationSubscription = addRegistrationResponseSucceededListener(
			(registrationEvent: RegistrationResponseSucceededPayload) => {
				setLogs((prevLogs) => [...prevLogs, `Registration event: ${registrationEvent}`]);
			},
		);

		return () => {
			logSubscription.remove();
			inboxSubscription.remove();
			registrationSubscription.remove();
		};
	}, []);

Logs:
 LOG  Log event: {"category": "sfmcsdk", "level": 0, "message": "The module is not operational yet. Status: failed. This task will be queued.", "subsystem": "SFMCSdk"}
 LOG  Log event: {"category": "sfmcsdk", "level": 0, "message": "The module is not operational yet. Status: failed. This task will be queued.", "subsystem": "SFMCSdk"}
 LOG  Log event: {"category": "sfmcsdk", "level": 0, "message": "The module is not operational yet. Status: failed. This task will be queued.", "subsystem": "SFMCSdk"}

So it never goes over setSystemToken, the push token is valid, the promise never finishes. There is also no error when wrapping with try catch.
What I have also tried:

Adding ContactKey before setStystemToken():

				await MarketingCloud.setContactKey(contactId);
				await MarketingCloud.setSystemToken(notificationToken);
				await MarketingCloud.enablePush();

Removing additional stuff from app.config, like mid, inboxEnabled, applicationControlsBadging,..

Does anyone know where the issue might be? Why would the SDK fail on iOS, while Android works fine?

Try setting: debug: true and analyticsEnabled: true.
If you don't see any new error messages, try building locally and see what shows up in xcode logs

Hello!
I've been having exactly the same problem since updating to expo 50. All module functions (promises) are pending and neither fulfilled nor rejected. The SFMCSDK seems completely unresponsive.
As suggested, I've set debug: true and analyticsEnabled: true. However, I don't see any errors or anomalies in the logs.
Any ideas?
working:
"dependencies": {
    "@allboatsrise/expo-marketingcloudsdk": "^49.0.1",
    "expo": "~49.0.21",
    …
}

not working:
"dependencies": {
    "@allboatsrise/expo-marketingcloudsdk": "^50.2.0",
    "expo": "^50.0.17",
    …
}

As suggested, I've set debug: true and analyticsEnabled: true. However, I don't see any errors or anomalies in the logs.
You're not seeing any issue in xcode logs?

What appears in the logs after something like MarketingCloud.setSystemToken is called?

What appears in the logs after something like MarketingCloud.setSystemToken is called?

Thank you for your quick reply! Unfortunately nothing at all.
But I noticed that not all functions are "unresponsive". That's the result of await MarketingCloud.getSdkState()
{
  "modules" : {
    "cdp" : {
      "compatibility" : "2.0.4 - 2.9.9",
      "name" : "cdp",
      "pendingOperations" : "undefined",
      "status" : "inactive",
      "version" : "unavailable"
    },
    "push" : {
      "compatibility" : "8.1.2 - 8.9.9",
      "name" : "push",
      "pendingOperations" : "undefined",
      "status" : "failed",
      "version" : "unavailable"
    }
  },
  "version" : "1.1.2"
}

Seems like push module failed to load, which is basically the main module used by this integration. You'll have to take a closer look at the logs and/or paste them here.

No idea why this is only showing up when running the development build in the Simulator, but anyway, finally got something:
Failed to initialize module SFMCSdkPushModule due to module version incompatibility. Provided version: 8.1.1, supported versions: >= 8.1.2 <= 8.9.9

I can also confirm that the new v50.2.1 fixed the issue. Thank you!


imagemagickBig: 7.1.0-45 -> 7.1.0-46

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ImageMagick/ImageMagick/releases.
meta.description for imagemagickBig is: "A software suite to create, edit, compose, or convert bitmap images"
meta.homepage for imagemagickBig is: "http://www.imagemagick.org/"
meta.changelog for imagemagickBig is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.1.0-46 with grep in /nix/store/n9lmyvfxzj6ddq91496lxmgigamyl1v7-imagemagick-7.1.0-46
found 7.1.0-46 in filename of file in /nix/store/n9lmyvfxzj6ddq91496lxmgigamyl1v7-imagemagick-7.1.0-46

Rebuild report (if merged into master) (click to expand)

307 total rebuild path(s)

307 package rebuild(s)

First fifty rebuilds by attrpath
abiword
adapta-gtk-theme
aether
almanah
arc-theme
arx-libertatis
asc-key-to-qr-code-gif
asciidoc-full
asciidoc-full-with-plugins
asymptote
authenticator
auto-multiple-choice
autotrace
awesome
ayu-theme-gtk
ballerburg
beets
beets-unstable
beetsPackages.beets
beetsPackages.beets-stable
beetsPackages.beets-unstable
betterlockscreen
bisq-desktop
blockhash
bombono
brasero
brasero-original
calibre
calibre-web
calligra
capitaine-cursors
cd-hit
chafa
chrome-gnome-shell
ciano
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
clevis
cobang
crypto-org-wallet
cuneiform
dblatexFull
deliantra-arch
deliantra-maps
deliantra-server
deltachat-desktop
denemo
desktopToDarwinBundle
devede

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n9lmyvfxzj6ddq91496lxmgigamyl1v7-imagemagick-7.1.0-46 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A imagemagickBig https://github.com/r-ryantm/nixpkgs/archive/1f88359a44cdcd8f3d909ad23179210a4b986c9d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n9lmyvfxzj6ddq91496lxmgigamyl1v7-imagemagick-7.1.0-46
ls -la /nix/store/n9lmyvfxzj6ddq91496lxmgigamyl1v7-imagemagick-7.1.0-46/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @erictapen @dotlambda for testing.

Already done in https://github.com/NixOS/nixpkgs/pull/187235


GRPC contract between Standalone DNS Proxy (SDP) and Cilium Agent

This is the first PR opened up in course of making Highly Available DNS Proxy. This covers API contract between SDP and Agent.
Related CFP: https://github.com/cilium/design-cfps/pull/54

UpdateMappings (Invoked from SDP to agent)
This api will be invoked by SDP to update fqdn-ip mapping to agent which in turn updates policy
SubscribeToDNSPolicies
This api will be called by SDP and open a stream and then cilium agent uses the stream to send snapshot whenver l7 policy gets updated

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

cc @joestringer @hemanthmalla @bimmlerd

I understand this underwent design review already in https://github.com/cilium/design-cfps/pull/54, and I see that @bimmlerd showed interest in reviewing the API so I've requested your review. Given that this is a new API, and in protobuf rather than openapi, I don't know the degree to which @cilium/api wish to review this vs. delegating to other contributors, but you are also of course welcome to review.


Weird box-shadow bug on Safari for next.tailwindcss.com

There seems to be a very apparent box-shadow on the next.tailwindcss.com site on Safari:
https://i.imgur.com/sloqaZm.png

Isn't it the gradient? transparent still means rgba(0, 0, 0, 0) in some browsers, so it lerps between white and black too. Changing linear-gradient(white, transparent) to linear-gradient(white, rgba(255, 255, 255, 0)) could work.

Yes, that's exactly what it is. Safari is the only browser following the current spec.

Changing linear-gradient(white, transparent) to linear-gradient(white, rgba(255, 255, 255, 0)) could work.

Yes it would.

Already fixed w/ https://github.com/tailwindcss/docs/commit/879a94dfcd1d760b68cbd6f00cadcbc182b2daaf


turtle folder add

Type of change

[x ] Added new project
[ ] Bug fix
[x ] New features
[x] Enhanced documentation

Changes proposed in this pull request

Project name :

Short description :

Checklist

[x] The code is Python 3 compatible
[ ] I have added relevant comments in my file to make code understandable
[ ] I have added my project in a folder which includes all the necessary files

hello please pull my code I'm a new fresh developer


Remove unnecessary jars with dependencies from clients

Removes 'uber' (jar-with-dependencies) jars from client libraries (and a few adhoc incorrect places) & connectors (as the assembly now adds in a directory of dependencies)
Leaves uber jars for utilities/samples (anything with a main to 'run')
Fixes #3538
Should

reduce complexity
reduce build elapsed time
reduce storage footprint

Moving to draft whilst I consider how to handle #3540 - and decide how we handle dependencies given the failures introduced by the packaging change


control toolbar on directive

Why not showing print or download button on toolbar like previous and next button ? can you explain about that ? in there, pdfjs allowed download and print by default, thanks
ping @sayanee  @dennybiasiolli

Hi @faizalpribadi,
this is a simple

AngularJS directive to display PDF files with PDFJS.
What you see in demo page is only an example, but feel free to submit a PR if you want. 😉

@dennybiasiolli , can you explain about what you say this is simple ? , i read this issue from this https://github.com/sayanee/angularjs-pdf/issues/111 , until now, feature does not implemented

@faizalpribadi , i wrote that "this is a simple AngularJS directive to display PDF files with PDFJS".
As you can read in #111

Currently we don't have this feature. Happy to look at a pull request on this! Feel free to re-open this issue with a pull request.

So we are happy to look at a PR on this feature, but currently we don't have this feature 😉


Fedora: Update package sets for upstream changes

In Fedora 40+ passwd is now provided by shadow-utils  ( https://bodhi.fedoraproject.org/updates/FEDORA-2024-e07b775e4e )
podman-plugins is no longer included in the new release of Podman 5 (F40+ as well) .
This PR updates the affected package-sets.

@paulwhalen This needs only linter fixes.

The osbuild-composer integration tests aren't required for merging.  They fail when changes are needed to integrate osbuild/images into osbuild-composer.


Filter stop working

Hello,
Filters don't works for me on mattermost 3.3.0:
Config:
[
{
"Name": "SVN-Test",
"Server": "https://mattermost.test.com",
"Team": "trololo",
"Channel": "#n1portal",
"MattermostUser": "svcacc",
"MattermostPass": "123",
"ImapServer": "webmail.huehue.com:993",
"Email"<EMAIL_ADDRESS>"EmailPass": "blablabla",
"MailTemplate": ":incoming_envelope: From: %v\n>%v\n\n%v",
"StartTLS": false,
"Disabled": false,
"Debug": true,
"LinesToPreview": 20,
"NoRedirectChannel": true,
"NoAttachment": true,
"Filter": [
{
"Subject":"work",
"Channel": "#n1portal"
}
]
}
]
LOG:
IMAP SVN-Test	20:03:16 S: * 1 RECENT
IMAP SVN-Test	20:03:16 C: DONE
IMAP SVN-Test	20:03:16 S: * 108 EXISTS
IMAP SVN-Test	20:03:16 S: MVWJN8 OK IDLE completed.
DEBG SVN-Test	20:03:16 CheckNewMails
DEBG SVN-Test	20:03:16 CheckImapConnection: Connection alive
IMAP SVN-Test	20:03:16 C: MVWJN9 SELECT "INBOX"
IMAP SVN-Test	20:03:16 S: * 108 EXISTS
IMAP SVN-Test	20:03:16 S: * 0 RECENT
IMAP SVN-Test	20:03:16 S: * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
IMAP SVN-Test	20:03:16 S: * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
IMAP SVN-Test	20:03:16 S: * OK [UNSEEN 108] Is the first unseen message
IMAP SVN-Test	20:03:16 S: * OK [UIDVALIDITY 14] UIDVALIDITY value
IMAP SVN-Test	20:03:16 S: * OK [UIDNEXT 123] The next unique identifier value
IMAP SVN-Test	20:03:16 S: MVWJN9 OK [READ-WRITE] SELECT completed.
IMAP SVN-Test	20:03:16 C: MVWJN10 UID SEARCH CHARSET UTF-8 UNSEEN
IMAP SVN-Test	20:03:16 S: MVWJN10 NO [BADCHARSET (US-ASCII)] The specified charset is not supported.
DEBG SVN-Test	20:03:16 Error UIDSearch UTF-8:
DEBG SVN-Test	20:03:16 imap: unexpected completion status ("MVWJN10 NO [BADCHARSET (US-ASCII)] The specified charset is not supported.")
DEBG SVN-Test	20:03:16 Try with US-ASCII
IMAP SVN-Test	20:03:16 C: MVWJN11 UID SEARCH CHARSET US-ASCII UNSEEN
IMAP SVN-Test	20:03:16 S: * SEARCH 122
IMAP SVN-Test	20:03:16 S: MVWJN11 OK SEARCH completed.
DEBG SVN-Test	20:03:16 CheckNewMails:AddNum  122
IMAP SVN-Test	20:03:16 C: MVWJN12 UID FETCH 122 (BODY[])
DEBG SVN-Test	20:03:16 CheckNewMails: cmd in Progress
IMAP SVN-Test	20:03:16 S: * 108 FETCH (BODY[] {3273}
IMAP SVN-Test	20:03:16 S: literal 3273 bytes
IMAP SVN-Test	20:03:16 S:  UID 122 FLAGS (\Seen))
DEBG SVN-Test	20:03:16 CheckNewMails:PostMail
DEBG SVN-Test	20:03:16 &{https://mattermost.test.com https://mattermost.test.com/api/v3 0xc42042fcb0   }
DEBG SVN-Test	20:03:16 Login user:svcacc team:trololo url:https://mattermost.test.com
INFO SVN-Test	20:03:16 Post new message
DEBG SVN-Test	20:03:16 Did not find channel/user from Email Subject. Look for filter
DEBG SVN-Test	20:03:16 Did not find channel/user in filters. Look for channel '#n1portal'
DEBG SVN-Test	20:03:16 Post email in #n1portal
DEBG SVN-Test	20:03:16 CheckNewMails: cmd in Progress
IMAP SVN-Test	20:03:16 S: MVWJN12 OK FETCH completed.
DEBG SVN-Test	20:03:16 CheckNewMails: Mark all messages with flag \Seen
IMAP SVN-Test	20:03:16 C: MVWJN13 UID STORE 122 +FLAGS.SILENT \Seen
IMAP SVN-Test	20:03:16 S: MVWJN13 OK STORE completed.
DEBG SVN-Test	20:03:16 IdleMailBox
DEBG SVN-Test	20:03:16 CheckImapConnection: Connection alive
IMAP SVN-Test	20:03:16 C: MVWJN14 SELECT "INBOX"
IMAP SVN-Test	20:03:16 S: * 108 EXISTS
IMAP SVN-Test	20:03:16 S: * 0 RECENT
IMAP SVN-Test	20:03:16 S: * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
IMAP SVN-Test	20:03:16 S: * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags
IMAP SVN-Test	20:03:16 S: * OK [UIDVALIDITY 14] UIDVALIDITY value
IMAP SVN-Test	20:03:16 S: * OK [UIDNEXT 123] The next unique identifier value
IMAP SVN-Test	20:03:16 S: MVWJN14 OK [READ-WRITE] SELECT completed.
IMAP SVN-Test	20:03:16 C: MVWJN15 IDLE
IMAP SVN-Test	20:03:16 S: + IDLE accepted, awaiting DONE command.
Should receive post in mattermost channel n1portal if content of subject is "work", but i received all messages from any subjects. See Attachment

Mattermost Version: 3.3.0
Regards,
Luiz.

Hi Luiz!
You set the default channel #n1portal and set filter channel to #n1portal again, with this configuration all email you'll be send to #n1portal. Try to change default channel.
[
	{
	"Name": "SVN-Test",
	"Server": "https://mattermost.test.com",
	"Team": "trololo",
	"Channel": "#n1portal", /*DEFAULT CHANNEL*/
	"MattermostUser": "svcacc",
	"MattermostPass": "123",
	"ImapServer": "webmail.huehue.com:993",
	"Email"<EMAIL_ADDRESS>	"EmailPass": "blablabla",
	"MailTemplate": ":incoming_envelope: From: %v\n>%v\n\n%v",
	"StartTLS": false,
	"Disabled": false,
	"Debug": true,
	"LinesToPreview": 20,
	"NoRedirectChannel": true,
	"NoAttachment": true,
	"Filter": [
			{
				"Subject":"work",
				"Channel": "#n1portal" /*Redirect to this channel if subject contains work*/
			}
		]
	}
]

Hi Rodrigo.
Understood!
Works fine right now, thanks!
[]'s
Luiz

Hi Rodrigo,
I change the default channel and filter works fine, but, another emails are posted on default channel that i set up.
I want to receive just in filters.
Do you know that behavior?

Sorry but Mattermail don't have this option, for while you can create a fake channel only to receive other emails.
I'll consider creating this option

No problem Rodrigo,
I'll create a fake channel!
Thanks!


Domain Join client machine

For the below question it is mentioned that managed domain users can join VM using the valid credentials.
Is it possible to join Windows 10 client machines to Azure ADDS domain? If possible how to do it
Question: I've enabled Azure AD Domain Services. What user account do I use to domain join machines to this domain?

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

ID: 1ac3ceff-f36d-91b3-c722-a7a280cc17c4
Version Independent ID: 32420f48-3d50-1e20-a994-66230dc3a00f
Content: Frequently asked questions about Azure AD Domain Services
Content Source: articles/active-directory-domain-services/faqs.yml
Service: active-directory
Sub-service: domain-services
GitHub Login: @Justinha
Microsoft Alias: justinha

You can join any Windows 10 VM to the Azure ADDS domain (managed domain) if it can communicate with the VNet subnet assigned to the Managed Domain. For this purpose, you can:
Any user account that's part of the managed domain can join a VM. To join a Windows 10 device to Azure AD, you can go to  Settings > Accounts > Access work or school > Connect > Join this device to Azure Active Directory.

@Elangamban
Thanks for your feedback! We will investigate and update as appropriate.

@Elangamban
Based off the FAQ that you mentioned, and our Join a Windows Server documentation, you can only join a virtual machine (VM) in Azure to Azure ADDS.
Additional Link:
Can I join my on-premises client computer to Azure AD Domain Service:
Since this issue isn't directly related to improving our docs, I'll go ahead and close this out.
Thank you for your time and patience throughout this issue.


Bob power Duplicate item in Recipe.

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[X] pyalienlife
[X] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[X] pyindustry
[ ] pypetroleumhandling
[X] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[X] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[X] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[X] Other

What is the problem?

Steps to reproduce
No response
Additional context
No response
Log file
factorio-current.log

I believe PyCoalTBaA fixes this if you want to look at that. Also bob's power breaks py because the collecter takes a steam engine, which you need native flora to unlock

Fixed in PyCoalTBaA

How can i then use bob's power as i don't look to play angels wtf?


Adding a mystery/thriller book

I added In The Woods by Tana French.

@jacobc1204 the readers want to know why is it the best? Please look for other books in the repo and then write a review. :smile:


Timer queries on more platforms, particularly Metal

Change the API of compute dispatches to support explicit compute passes, an API more similar to WebGPU than the previous Vulkan inspiration. This change is to support timer queries on Apple Silicon. This will also make Metal more efficient, as previously each dispatch got its own compute pass. This change also aggregates multiple blit (copy) commands into a single encoder; no API change was made for that, partly because it's not part of the WebGPU API, and partly because timer queries there are not very interesting.
Current status: the piet-gpu-hal module (including the collatz example) have the new API (with queries set on compute pass) implemented. The other uses have not yet been updated.
On Metal, only M1 is tested. The "command" counter style is partly implemented, but not fully wired up.
As a next step, as we're updating clients, it's probably best to just return n time stamps rather than n - 1 (subtracting off the first one). That logic has been moved to fetch_query_pool in hub (out of the individual back-ends).

This code currently renders nothing on my 12" Intel MacBook (HD Graphics 615), but I get the same result with master so the problem is not directly related to this PR. The ComputePass refactoring gives expected results on M1 so I went ahead and pushed that commit.
I'll setup a rust toolchain on my 16" MBP is see if it exhibits the same problem. We've been developing primarily on M1 for a while and it's possible we broke something on Intel along the way.

This should now be working on both Intel and M1. There is additional work to do on accounting along with potentially returning the raw timestamps, but the functionality for sampling is in place for both styles and all code has been refactored to use ComputePass.
The Intel rendering bug has to do with formats. Copying between textures requires both to have the same pixel format. On Intel, BGRA8Unorm is selected for the swapchain which doesn't match the RGBA8Unorm format that is used in create_image2d for constructing the target image. There are a few different approaches to fixing this, so I didn't include it in this PR.


Bluetooth: Audio: Unicast stream start fix

The unicast client would attempt to send the
receiver start ready opcode to the server for
source ASEs before the CIS was connected, which
is a spec violation.
The code has been refactored to set a boolean,
and then send the receiver start ready opcode on
CIS connection instead.
Signed-off-by: Emil Gydesen<EMAIL_ADDRESS>fixes https://github.com/zephyrproject-rtos/zephyr/issues/53552
depends on https://github.com/zephyrproject-rtos/zephyr/pull/51030

Rebased to solve merge conflicts

Rebased to solve merge conflicts


feat: Least Access Privilege iam BYOB

This pull requests addresses issues customers have with our account and the permissions it has when they bring their own bucket and kms key.
It specifically addresses:

kms
s3

This PR is included in version 1.9.0 :tada:


Use Command Manager to handle data fetch for accounts

As a developer I should be able to programmatically handle the fetch actions for an Account. To achieve it I should use the Command Manager Service.
Acceptance criteria:
1 - Example app with buttons to control the actions for an Account.

Fetch Service needs to be updated to handle the fetch commands.

needs updates from #52 before closing

CmdFetchMsg commands are not removed on finish #59

<!-- Uploading "Simulator Screen Recording - iPhone 8 - 2022-06-02 at 11.43.07.mp4"...

Uploading Simulator Screen Recording - iPhone 8 - 2022-06-02 at 11.46.07.mp4…


[[FIX]] Correctly parse empty destructuring

Took a while to understand that logic, but eventually go through it all. Looks good, thanks.

committed - https://github.com/jshint/jshint/commit/97c188ba37c305ab4cf3bb03a1f509449edb7715


task.unique with kill_me sometimes kills itself when it shouldn't

code:
import time

rt = []

class TaskUniqueTest:

    def kill_others(self):
        log.info(f'{self.name}: killing others')
        task.unique('task_unique_test')
        log.info(f'{self.name}: survived')

    def kill_myself(self):
        log.info(f'{self.name}: killing myself')
        task.unique('task_unique_test', kill_me=True)
        log.info(f'{self.name}: survived (there were no others)')

    def __init__(self, name, seconds):
        self.name = name
        self.seconds = seconds
        log.info(f'{self.name}: starting {__name__}')
        self.kill_others()

        @time_trigger('startup')
        def inner_startup():
            log.info(f'{self.name}: in inner_startup')
            log.info(f'{self.name}: sleeping {self.seconds}')
            start_time = time.time()
            task.sleep(self.seconds)
            elapsed_time = round((time.time() - start_time), 2)
            log.info(f'{self.name}: done sleeping {elapsed_time}/{self.seconds}')
            log.info(f'{self.name}: calling update')
            self.update()

        rt.append(inner_startup)

    def update(self):
        log.info(f'{self.name}: in update')
        self.kill_myself()
        log.info(f'{self.name}: i did not die')

@time_trigger('startup')
def startup():
    task.sleep(2)
    a = TaskUniqueTest('a', 10)
    task.sleep(2)
    b = TaskUniqueTest('b', 5)

logs:
2020-10-12 12:53:04 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] a: starting apps.for_test
2020-10-12 12:53:04 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] a: killing others
2020-10-12 12:53:04 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] a: survived
2020-10-12 12:53:04 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: in inner_startup
2020-10-12 12:53:04 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: sleeping 10
2020-10-12 12:53:06 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] b: starting apps.for_test
2020-10-12 12:53:06 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] b: killing others
2020-10-12 12:53:06 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] b: survived
2020-10-12 12:53:06 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: in inner_startup
2020-10-12 12:53:06 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: sleeping 5
2020-10-12 12:53:11 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: done sleeping 5.0/5
2020-10-12 12:53:11 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: calling update
2020-10-12 12:53:11 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: in update
2020-10-12 12:53:11 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: killing myself
2020-10-12 12:53:11 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: survived (there were no others)
2020-10-12 12:53:11 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: i did not die
2020-10-12 12:53:14 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: done sleeping 10.0/10
2020-10-12 12:53:14 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: calling update
2020-10-12 12:53:14 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: in update
2020-10-12 12:53:14 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: killing myself
2020-10-12 12:53:14 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: survived (there were no others)
2020-10-12 12:53:14 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: i did not die

Since "b" killed others with task.unique() while "a" was sleeping, "a" should have been killed. However, "a" completes. Additionally, if "a" was still a running task, then when "b" killed itself with task.unique(kill_me=True), it should not have survived.
The expected outcome of the above is:
a starts
a calls task.unique which kills nothing
a sleeps
b starts
b calls task.unique which kills a
b sleeps
b completes

actually, this is okay. Since "inner_startup" is a different task that never calls task.unique, it's not killed.
However, when I move kill_others() into inner_startup, this happens:
2020-10-12 13:13:10 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] a: starting apps.for_test
2020-10-12 13:13:10 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: killing others
2020-10-12 13:13:10 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: survived
2020-10-12 13:13:10 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: in inner_startup
2020-10-12 13:13:10 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] a: sleeping 10
2020-10-12 13:13:12 INFO (MainThread) [custom_components.pyscript.apps.for_test.startup] b: starting apps.for_test
2020-10-12 13:13:12 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: killing others
2020-10-12 13:13:12 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: survived
2020-10-12 13:13:12 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: in inner_startup
2020-10-12 13:13:12 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: sleeping 5
2020-10-12 13:13:17 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: done sleeping 5.0/5
2020-10-12 13:13:17 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: calling update
2020-10-12 13:13:17 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: in update
2020-10-12 13:13:17 INFO (MainThread) [custom_components.pyscript.apps.for_test.inner_startup] b: killing myself

"b" would have been the only task running, so when it killed itself, it should have survived. But it didn't.
I believe the reason is that that one task called both task.unique() and task.unique(kill_me=True).
Line 111 of functions.py should do:
if kill_me and cls.unique_name2task[name] != asyncio.current_task():

Or, something to that effect.

Good catch.  Thanks for the self-contained examples.  Should be fixed now with 3426454.

I tested this several ways and it seems to be working correctly. Thank you!!


Crash when trying to run this mod

the mod seems to crash for no reason wenn installed .
Forge:<IP_ADDRESS>75
codechickenlib:<IP_ADDRESS>0
cofhcore:<IP_ADDRESS>
RedstoneArsenal:<IP_ADDRESS>
RedstoneFlux:<IP_ADDRESS>
RedstoneRepository:0.1.1-2
ThermalExpansion:<IP_ADDRESS>
ThermalFoundation:<IP_ADDRESS>
it seems like something is wrong with the initialization .

Do you have a crash log? I can't help much with just that,

Nvm, found the problem, a new build will be up shortly.

good thanks.


typescript-rails compiler does not pass TS file dependencies to Sprockets

I’m involved in a project where we’re migrating a TypeScript build chain from grunt to Sprockets and the Rails Asset Pipeline, using typescript-rails. We’ve had problems getting Sprockets to recognize changes in referenced TS files, and as a result we have to make an arbitrary change in the root TS file to force a cache invalidation any time we want a TS recompile.
Here’s how I understand things:
Sprockets expects to build its dependency graph by recursively parsing require directives embedded in JS source files, and in-lining their processed referents.
TypeScript’s idiom (which we’ll want to play along with so that type checking works) expects to build its dependency graph by parsing reference tag comments.
Our use of typescript-rails only ever has Sprockets process the root application.ts file. The rest of the files are brought in by embedded <reference /> tags.
This means Sprockets has no idea that all the files listed in embedded <reference /> tags are dependencies of application.ts.
And that means when any TS file other than application.ts changes, Sprockets doesn’t invalidate its cache of application.ts, even though it should.
Proposed fix
Have the compiler wrapper recurse through the whole dependency tree, and manually tell its  Sprockets::Context that the TS file being processed depends_on each file listed as a reference in the TS idiom.
I’m opening a PR implementing the proposed behavior. There may be some trivial tweak to our configuration that I’ve overlooked, so feel free to let me know if my approach seems heavy-handed or unnecessary!

I worked around this issue by declaring a dependency before the reference:
/// <reference path="foo.js.ts" />
//= depend_on foo.js.ts

@joamaki: Good tip. That totally works for simple projects, but in our case it’d mean declaring almost 200 Sprockets-style .ts dependencies in our root file, in addition to our existing TS-style declarations in reference.ts. In our case, having a single, authoritative source of truth would do a lot to make the codebase more manageable.

This was resolved by #24.


[3.x] Backport AudioStream icons from 4.0

I just think it's kind of bland without them.
Yes, I changed their colors to match 3.x colors.
(I believe I'm supposed to reformat them, I didn't know Inkscape would add info and format it) Done.

Seems like you've used a different account (an email associated with a different account) to force-push this PR, so GitHub treats it as if you were a first-time contributor. It's not critical, but you might want to check your settings.

Thanks!


add cancellation token to mediatr send requests.

added cancellation token to every mediatr send requests inside Web Layer for any cancel operation.

Thanks!


Run external commands as input

Let's say I have the following external command which return an FZF result of note's path
rg title: | cut -d ' ' -f2- | fzf
Is it possible to use it with snap?

There is a snippet in readme that shows how to use ls with snap. You can adapt it to use your command.

Thank you! Somehow I overlooked that section.


WIP: support for heapq

Initial commit for CI and discussion.
Cross reference issue #3690

An early and minimal change set (just one function) to gather feedback and check we're pointing in the right direction.
Some notes:

I put the heapq stuff in its own module and added it to base.py - figuring it would be well-encapsulated that way.
I'm not sure how to catch the case where a user passes an empty list.
I am tempted to rename all the variables to conform to PEP8 and zap most comments, but this might make the mapping back to the standard lib implementation harder.  Is it best to keep it as similar as possible, do you think?

So heappush could be trivially added, at which point this kind of thing would be possible:
from numba import njit
import heapq as hq

@njit
def heapsort(iterable):
    h = [int(x) for x in range(0)]

    for value in iterable:
        hq.heappush(h, value)
    return [hq.heappop(h) for i in range(len(h))]

print(heapsort([1, 3, 5, 7, 9, 2, 4, 6, 8, 0]))
>>> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

I am not sure how best to handle the 'empty list' thing in a general sense though.
I thought briefly about trying to move upstream and add a typing.heapq_decl.py with a view to grabbing the type of the second argument and using it to supplant the first with a 'typed-list' if the provided list were empty (if you see what I mean).  But I am not sure this is the right approach, and my initial experiments were unsuccessful.
It would be good to get your thoughts.

Calling @stuartarchibald ...
I've ported over everything except merge, I think.  Also, nsmallest and nlargest are 2-argument forms - i.e. I haven't added the optional key argument.
Heaps must be seeded and there's no checking for homogeneity of type when adding an item to a heap (so adding a float to a heap of ints will likely be problematic, for example).  This, and other gaps, could probably be caught and raised.
I am not sure what the performance is like.
It's probably in a complete enough state for a quick review, if you get a mo (I think the test failures are unrelated).  TA!

Thanks for the fixes. Assuming CI passes this is good for merge.

Reminder: Close https://github.com/numba/numba/issues/3690 on merge.

Apart from a known py27 issue, this passed CI. Marking for merge.


how generate conf.json from LINUX BASH?

i no see on repository script of genconf.sh, just genconf.ps1
how generate conf.json from ubuntu\centos ???

oh.... a got answer...
go to https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md and install PS
and go to https://docs.microsoft.com/en-us/powershell/azure/install-azurermps-maclinux?view=azurermps-4.4.1 and install PS Module
and then login and run on Linux pwsh genconf.ps1


Call indicator bar is not responding for audio and video call.

I have implemented voice kit successfully in the application.
I am not able to move in the application from call indicator. Also, I am not able to see green bar on other application screen when user moves from call screen. I have added custom view in navigation bar, but it's not much responsive.

I have following doubts for the same.

Is there any default property which I need to enable to display native call indicator in the application?
Do I need to put a custom view as I have done? If yes then what will be the best approach to do it?
Is there any alternative to display custom call indicator inside the application rather than adding view in navigation bar?

Hi @sojitrajay
This is the behavior when integrating the CallKit framework and there is no SDK configuration to hide or disable it.
Thanks,
-bobie

@bchen-twilio I am able to move to application from call indicator in background. It was not working on simulator where it did work in the device.
But the question is  why I am not able to see this call bar in the application at the time of ongoing call.

Hi @sojitrajay
It seems to be designed to only show the green status bar to indicate that there is an active call while the VoIP app is in the background.
Thanks
-bobie

Closing the issue since this is a system framework design. Feel free to create new issue in the future.


Update trivyHelper.ts

Use latest version (0.23.0) of trivy as fallback which removes non-commercial db.

@kunchawla Can you give little more context on this version update?

The hardcoded version uses non-commercial db.

@kunchawla Thanks for the response. Can you update the generated .js file as well in the PR? Refer this comment for more details.