Rename Task to Checklist::TaskAssignment

Task should be renamed to Checklist::TaskAssignment. This means renaming all areas in the app (table (tasks), model, controller, policies, views, tests, variables, methods etc.). It should be a relatively straightforward find and replace.
Note the table should be renamed to task_assignments_table. The Checklist scope helps to organize this resource along with others that are similar.
please nest the classes instead of inline: https://thoughtbot.com/blog/why-you-should-nest-modules-in-ruby we are trying to move to the nested format throughout.
Any questions - comment below!

Can I work on this?

@wandergithub yup!

@wandergithub it looks like this has sat for a while, which is fine. We decided we are going to go to MVP using the existing Default Pet Task model and Task model, so this issue can actually sit until later. I am not sure if you have worked on it or not. If you have, you can push a draft PR so we have the work on remote. If not, that's fine, we can unassign you and revisit this when we are ready.

I did start but was facing some errors/setbacks... It is most likely something I don't understand and I messed up. For now, I've been dealing with life so it is okay if you unassing me. I will get back to it when I have time.

@wandergithub ok no worries at all! I have unassigned you and placed this on hold for when we are ready to tackle this refactor after launch.


Auto import lit components

Clear and concise description of the problem
Currently I need to import lit component explicitly so that it can be used in vue
<script setup lang="ts">
import "package/es/button";
</script>

<template>
<custom-button>click</custom-button>
</template>

Suggested solution
support to auto import lit components
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

This seems to overwrite the vue compilerOptions: isCustomElement setting. Have you found a workaround for this yet?


Google Colab Notebook URL for UI

Google Colab Notebook URL for UI

Sorry @shanmugad, could you please clarify what you mean?

I need ui like google colab notebook


Buttons on adaptive cards are broken on Android

Since a few days (I expect since the update to version 1416/<IP_ADDRESS>3213504) our users report issues with the android teams app.
Whenever they click on a button on an adaptiv card of our bot, the text of the button is sent to the bot (visible in the chat), but no answer is given by the bot. Our logs show, that the call never made it to our backend.
Here an example video showing a button click and typing the same command:
https://github.com/MicrosoftDocs/msteams-docs/assets/2493698/685f31cb-0e95-443e-92db-e9cf6f48eba2
The bot does work totally fine on the latest desktop client, so I expect it to be an issue of the latest android release.
As this destroys the bot on all android devices, I would consider this an urgent issue!

We got several complains from android user of our Bot. Issue is independent from Android versions/devices. We did not find a device, where the buttons are still working. Thanks for a fast fix.

@sschoeb - Thanks for raising your issue. We will check this at our end and will update you accordingly.

Hi @sschoeb , @sueess - We tried to repro this issue using below sample (https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-all-cards/csharp), however it works fine both in MS Teams Desktop/Web and Android client.
On clicking on button, it sends the required text and returns response as expected.

Tested on Android 11
MS Teams Version:

@Prasad-MSFT thanks for checking this out.
We still run into the mentioned problem above. We have checked other bots and we can reproduce the issue there as well.
You can reproduce the issue by installing the App "Micromate". There you will see that the buttons do not work on your mobile. For testing you could join the demo organization using the code "D8A5-77B9-C796-D7B0".

@Prasad-MSFT I used your sampel application and with a super small adjustment I can see the issue described above.
If you change the action of the collectionCard to this:
"actions": [
    {
      "type": "Action.Submit",
      "title": "DoIt",
      "data": {
        "msteams": {
          "type": "messageBack",
          "displayText": "DoIt",
          "value": {
            "sendText": "DoIt"
          }
        }
      }
    }
  ]

As soon as you have the type "messageBack", it does not work anymore on the android client. But as this is officially documented here I would definitely expect that to work!

@sschoeb - We are able to repro this issue using messageBack action type in adaptive card. It does work in Desktop/Web client but doesn't work in mobile clients. We have raised a bug for the same. We will inform you once we get any further update from engineering team.
Thanks!

@Prasad-MSFT thanks for the confirmation.
As this is a very severe bug which basically destroys a lot of bots on mobile clients, it would be great to have at least a bit of a time estimation what we have to expect on this? Is this something considered important for the dev team or just a bug they will look at whenever they have time?

@sschoeb - We understand this. Considering the number of users getting affected by this, we have increased the severity of the bug. However, currently we don't have an exact ETA to share. As soon as we get any info from engineering team, we will update in this thread.
Thanks!

I am having exatcly the same error here. At least 3 of my clients reporting that on Android versions. iOS and Web is working fine.

Hi @ricardo-serviceaide - We have informed engineering team about multiple reports on the issue. Currently we don't have any update to share. Once we get further info, we will share in this thread. Thanks!

@Prasad-MSFT Since around one month now, all our bot users are blocked on android because of this bug. There is no workaround but just a broken product. And as @ricardo-serviceaide stated we are not the only one having an unusable bot now. Is there any update?

Hi @sschoeb how you styling buttons from action card in adnroid app? I cant do it. I ovveride  @style/adaptiveInlineAction but its not working

@sschoeb, hello. I have found a workaround, but there are a few limitations. For whatever reason, buttons, Adaptive Submit Actions when we are using Adaptive Cards, which use the "messageBack" property do not work on Android anymore. Please look at the simplified C# codes below.

You can actually know which operating system the client is using through their turn context whenever they send a message as the client's operating system is the platform property. In our case, it will be "Android". Unfortunately, it does not seem like you can access this property on other occasions. For an example, when you continue a conversation asynchronously, the entities are null. Therefore, in my original code, I saved it as a global string, which is overwritten whenever the client sends a message.
 protected override async Task OnMessageActivityAsync(ITurnContext turnContext, CancellationToken cancellationToken)
{
    (irrelevant code)
    ConfigureGlobalVariables(turnContext);
    (irrelevant code)
}

private void ConfigureGlobalVariables(ITurnContext turnContext)
{
    (irrelevant code)
    GlobalVariables.OperatingSystem = turnContext.Activity.Entities?.FirstOrDefault(x =>
    x.Properties.ContainsKey("platform"))?.Properties["platform"]?.ToString();
    (irrelevant code)
}

Now that we know which operating system the client is using, we can create specific buttons: those which use the "messageBack" property and those which do not use the "messageBack" property.
public AdaptiveSubmitAction ProcessAdaptiveSubmitAction(string label, string value)
{
    if (GlobalVariables.OperatingSystem == "Android")
    {
        return new AdaptiveSubmitAction
        {
            Title = label,
            Data = new Dictionary&ltstring, string>
            {
                { "Value", value }
            }
        };
    }
    else
    {
        return new AdaptiveSubmitAction
        {
            Title = label,
            DataJson = JsonSerializer.Serialize(new Dictionary&ltstring, object>
            {
                { "msteams", new Dictionary&ltstring, string>
                    {
                        { "type", "messageBack" },
                        { "text", value },
                        { "displayText", label }
                    }
                }
            })
        };
    }
}

Since the button which does not use the "messageBack" property does not automatically sets the text of the turn context, we need to set it through the "Value" key we have created.
private void ProcessText(ITurnContext turnContext)
{
   (irrelevant code)
   if (activityValue.ContainsKey("Value"))
   {
        turnContext.Activity.Text = activityValue.SelectToken("Value").ToString();
    }
   (irrelevant code)
}

However, while this solution does indeed work, it has its limitations: the buttons are not automatically renewed if the client decides to switch between operating systems and all the extra functionalities brought by the "msteams" properites, such as "displayText", are unavailable. This means that if the client is using the bot on the desktop app and then decides to switch to the Android app, the buttons left are still buttons which use the "messageBack" property. Therefore, they will not work if the client clicks on them on their Android, which means that they will have to type a massage in order for the operating system variable to be updated. After that, all buttons will work.

I hope this helps and that you can adapt this to your code. The main point is that you can indeed know which operating system the client is using and adapt the buttons in case they are using Android.

@elknoblich Thank you very much. This looks like at least an idea we have to check if we can get some basics back to work as long as @Prasad-MSFT or microsoft in general does not provide a fix for this issue.
@Prasad-MSFT A rough timeline would be helpful.. implementing these changes to have a fix available in 2 weeks would be absolutely useless. But if you see that there are 100 other issues which are more important for the devs, then I think we cannot expect a fix for this soon right?

@sschoeb, you are most welcome! Since this problem is actually really severe as it literally makes the product one hundred percent useless, for Android users, I was surprised that I at least a workaround had not been posted yet. If you would like, I would be willing to talk in private with you to show my actual code with more details, not just this simplified version.

As its impacting number of developers, keeping the urgency in mind we have raised an ICM for this issue today and concerned team is looking into it. We will inform you once we have further update.
Thanks!

Any update on this one?

Can anyone tell me why when I fill out an application it allows me to fill
out everything and after I put my social it freezes and won't finish.
Please check on this and fix it you can.  I'm missing deadlines.
Thank you
Jocelynn Canzoneri
On Wed, Jan 31, 2024, 11:37 PM Christoph S. @.***>
wrote:

Any update on this one?
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/msteams-docs/issues/10097#issuecomment-1920680439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4RHJIS6OXTIL5IEKTFLJBDYRNA23AVCNFSM6AAAAABAVFRZPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGY4DANBTHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

 @Prasad-MSFT, I would like to add that we also cannot send files to a bot on Android. The files which are attached and sent are not recognized in turnContext.Activity.Attachments. Unlike the original issue, there is no workaround. I assume that there are other problems happening with the Android version.

@sschoeb , @ricardo-serviceaide , @sueess - The issue seems to be fixed. We verified with below MS Teams version in Android device. Please do verify.

Explain this in normal conversation please so I can respond.
On Thu, Mar 28, 2024, 1:39 AM Stefan Schöb @.***> wrote:

@Prasad-MSFT https://github.com/Prasad-MSFT Thanks for checking, I can
confirm that this bug is fixed.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/msteams-docs/issues/10097#issuecomment-2024675136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4RHJIWOZ5FJQTH3KLZPHXDY2PCK7AVCNFSM6AAAAABAVFRZPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGY3TKMJTGY
.
You are receiving this because you commented.Message ID:
@.***>

We are closing this issue for now. Please feel free to reopen if required.
Thanks!


Add support for add picture to shape collection

AutoShapeCreator works fine, but pictures requires to add the image part from source slide to the target slide.
if (newShape is SCPicture pic)
{
    pic.CopyParts((SlideStructure)scShape.ParentSlideStructureOf.Value);
}

This is my first approach to solve the problem, CopyParts copy the relationship to the target slide and update the embed value (a new relationship id is created)
var sImagePart = sSlidePart.GetPartById(relId);
var c = slidePart.AddPart(sImagePart, imgPartRId);
this.blipEmbed.Value = imgPartRId;

wht do you think?

PR-Codex overview
Focus of this PR:
This PR focuses on improving the shape collection and picture handling in the ShapeCrawler library.
Detailed summary:

Removed unsupported shape types from the shape collection.
Added a method to copy required parts from a source slide to a picture shape.
Updated the picture shape class to handle copying of parts from a source slide.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#539

Have you checked your solution for adding a picture from an external presentation?
The high-level steps for adding a picture from an external presentation would be:

Create a new ImagePart in target slide.
Copy the ImagePart stream from the source picture into the ImagePart (step 1).
Copy the shape of source picture to the target slide.
Use the id the ImagePart (step 1) as the image source for the added picture (step 3).

I made the changes, but in the step 4, i created a new "id" in order to avoid other id in the target slide.
SCPicture.CopyParts() is intended to be used only for ShapeCollection.Add() so is marked as internal.
The image extension is ".bin" and this is a related issue New ImagePart is created as .bin instead of real extension.

Hmm, you are right. For example, I've checked the output of the test ShapeFillTests.SetPicture_updates_fill_with_specified_picture_image_When_shape_is_Not_filled => is broken duo to the .bin issue😢
We need to keep an eye on when the bug gets fixed in the underlying Open XML SDK or find some workaround. I have no idea yet.

The method XmlPartContainer.AddExtendedPart(string relationshipType, string contentType, string targetExt) has an extension parameter, but maybe is better waits for a fix.
In the meantime, PowerPoint is able to open the file and display the picture.


jdbc did not return successfully

jdbc version: 0.2
jdbc: jdbc: clickhouse: //xx.xx.xx.xx: 8123 / lncsbsm? socket_timeout = 36000000
insert statement: insert into table (clonum ...) select clonum ... from xxxx
Call method: jdbcTemplate.update (insert)
Actual execution time: 2 hours
Error: did not return after execution, insert statement status remains until socket_timeout returns timeout

Try ClickHouseProperties.async?

Try ClickHouseProperties.async?

How to use it? thanks

It seems a similar code from the extended API example also hangs on a large amount of data if async=false is specified. As there is no thread for reading from BlockingPipedOutputStream:
java.base@17.0.3/java.util.concurrent.ArrayBlockingQueue.offer(ArrayBlockingQueue.java:396)
app//com.clickhouse.client.stream.BlockingPipedOutputStream.updateBuffer(BlockingPipedOutputStream.java:65)
app//com.clickhouse.client.stream.BlockingPipedOutputStream.updateBuffer(BlockingPipedOutputStream.java:55)
app//com.clickhouse.client.stream.BlockingPipedOutputStream.writeBytes(BlockingPipedOutputStream.java:180)
app//com.clickhouse.client.ClickHouseOutputStream.write(ClickHouseOutputStream.java:231)
app//com.clickhouse.client.data.BinaryStreamUtils.writeInt32(BinaryStreamUtils.java:779)

This is the example:
Statement sth = connection.createStatement();
sth.unwrap(ClickHouseRequest.class).write().table("test.writer")
    .format(ClickHouseFormat.RowBinary).data(out -> {
    for (int i = 0; i < 10; i++) {
        // write data into the piped stream in current thread
        BinaryStreamUtils.writeInt32(out, i);
        BinaryStreamUtils.writeString(out, "Name " + i);
    }
}).sendAndWait(); // query happens in a separate thread

Hi @konstantinosss, yes, ClickHouseWriter should be enhanced. As of now, the workaround is to add request.option(ClickHouseClientOption.MAX_QUEUED_BUFFERS, 0) to use unbounded queue instead if you have more than 4096 * 512 bytes to write.


Permission Validation APIs

APIs that the Covid Watch User App can use:

Validation API

User App POSTS to to request a validation code
must include identifying information for the organization the user app is requesting permission from.
Returns a permission string/code and its id

Permission Received API

GET with a permission id
Returns true if permission id has been authorized by the Public Health User
Returns null if unknown
Post-POC, will likely return additional cryptographic info to allow validation

Additionally, these APIs should be configured to have security features:

We should plan for all APIs to be rate-limited.
All APIs should reject non-SSL requests.
It's probably worth requiring a secret token from the app verifying that it is our app that is requesting access. Yes, a secret token isn't a lot, but it may make it harder to abuse.
If you have additional thoughts about how to prevent a griefer filling up the database with verification requests, please discuss.

deprecated owing to Google server design


zh: update docs about key features

What is changed, added or deleted? (Required)

rename feature-overview.md to key-features.md
add some contents about online DDL 工具支持 and 分库分表合并
mirror update some other contents

Which TiDB Data Migration (DM) version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[ ] v1.0 (TiDB DM 1.0 versions)

@csuzhangxc Please add zh/dm-portal.md to TOC, thanks~

@csuzhangxc Please add zh/dm-portal.md to TOC, thanks~

在 https://github.com/pingcap/docs-dm/pull/86/commits/e3dccbedfccbceaff77e5751ed12d9654df6e08b 加上

LGTM

PTAL again @toutdesuite


mpg123: 1.25.13 -> 1.26.1

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mpg123/versions.
meta.description for mpg123 is: "Fast console MPEG Audio Player and decoder library"
meta.homepage for mpg123 is: "http://mpg123.org"
meta.changelog for mpg123 is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.26.1 with grep in /nix/store/17815gcf98i791z0a76699mqwxlqbxr0-mpg123-1.26.1

directory tree listing: https://gist.github.com/e40e3f0c91106d845a7efe0f454b89fd

du listing: https://gist.github.com/08bc600bb6285787c0079c6df5328918

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

750 total rebuild path(s)

250 package rebuild(s)

249 x86_64-linux rebuild(s)
238 i686-linux rebuild(s)
38 x86_64-darwin rebuild(s)
225 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
_90secondportraits
adapta-gtk-theme
ahoviewer
alarm-clock-applet
aravis
audacious
audaciousQt5
audio-recorder
baresip
bashburn
beets
bomi
brasero
brasero-original
brutespray
byzanz
cantata
cawbird
chrome-gnome-shell
clementine
clementineUnfree
cozy
crowbar
dablin
deepin.dde-kwin
deepin.dde-launcher
deepin.dde-session-ui
deepin.startdde
denemo
dir2opus
doodle
dragon
easyrpg-player
empathy
enlightenment.econnman
enlightenment.efl
enlightenment.enlightenment
enlightenment.ephoto
enlightenment.rage
enlightenment.terminology
epiphany
evince
farstream
feedreader
flacon
freerdp
freerdpUnstable
gajim
gcompris
gjay

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/17815gcf98i791z0a76699mqwxlqbxr0-mpg123-1.26.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's 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 mpg123 https://github.com/r-ryantm/nixpkgs/archive/ac07cb0b6752c8434a36bacfea4eafd53acc83ba.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/17815gcf98i791z0a76699mqwxlqbxr0-mpg123-1.26.1
ls -la /nix/store/17815gcf98i791z0a76699mqwxlqbxr0-mpg123-1.26.1/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @ftrvxmtrx for testing.

@GrahamcOfBorg eval

@GrahamcOfBorg build mpg123


[Analyzer] evaluation of const expression fails when List.length is used in assertion

class ColorFilter {
  const ColorFilter.matrix(this.matrix)
      : assert(matrix != null),
        assert(matrix.length == 20);

  final List<double> matrix;
}

const ColorFilter sepia = ColorFilter.matrix(<double>[
    0.39, 0.769, 0.189, 0, 0, //
    0.349, 0.686, 0.168, 0, 0, //
    0.272, 0.534, 0.131, 0, 0, //
    0, 0, 0, 1, 0, //
  ]);

void main() {
  print(sepia.matrix);
}

As far as I can tell this should just work (it works at runtime in the VM), but it's failing the analyzer.
/cc @stereotype441 @pq

Removing the assertion on matrix.length makes the analysis error go away.

Looks like this wouldn't compile in dart2js either...  At least for dartpad, it complains that the value isn't a string.

Error compiling to JavaScript:
main.dart:10:39:
Error: `const <double>[0.39, 0.769, 0.189, 0.0, 0.0, 0.349, 0.686, 0.168, 0.0, 0.0, 0.272, 0.534, 0.131, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0]` of type 'List<double>' is not a valid operand for a .length expression. Must be a value of type 'String'.
const ColorFilter sepia = ColorFilter.matrix(<double>[
                                      ^
Error: Compilation failed.

You cannot get the length of a list in a constant expression. The language specification says so here:
\item An expression of the form \code{$e$.length} is potentially constant
  if $e$ is a potentially constant expression.
  It is further constant if $e$ is a constant expression that
  evaluates to an instance of \code{String}.

So it must be rejected at compile-time. This is one of many situations where it's tempting to make Dart constant expressions just a little bit more expressive, but it is quite costly (in so many ways) so it may not happen. One issue is that you can write a class MyList extends List<String> {...} and make the length getter run arbitrary code, and still have a const constructor in MyList, and constant expressions will not run arbitrary code, so you'd need to find the right borderline between the lists where .length is OK and the lists where it isn't, and the type system wouldn't be able to prevent the latter from occurring where a List or List<T> for some T is specified.

In my example, isn't the <double>[] constant?  Shouldn't that fall into the case where it's potentially constant and be allowed?

Ahh I see, if I did it for some other arbitrary type it would fail.
So is the bug that the VM compiler allows this?

I believe the bug here is that the front-end is not rejecting this at compile time.

Here's the existing bug:
https://github.com/dart-lang/sdk/issues/35420
Closing this in favor of that.


ListDrawable inspector issue.

Versions
Unity: 2021.3.18f1 & 2021.3.22f1
GUIUtils: 2.10.0 (CUSTOM)  origin/ftr/chart-and-persistent-value-fixes
Lightspeed: 1.5.11 (CUSTOM)  master
Issue
When in the inspector you add items to a Listdrawable. Then remove anything but the last item in the list.
The drawing of the item coming after the just deleted item break. It shows just the {namespace}.{NameOfClass}.

Fixed in 2.11.1


Even more CSV error message updates

projects.clj:

Lines 363-369: Don't use stateful operations inside functions run within pure sequence HOFs:

:else
(if-let [invalid-headers (seq (remove #(re-matches #"^[a-zA-Z_][a-zA-Z0-9_]*$" %) headers))]
  (init-throw (str "One or more CSV columns are invalid: " (str/join ", " invalid-headers)))
  (do
    (spit ext-file (str/replace-first data header-row (str/join ", " headers)))
    (type-columns headers)))

Line 411: Why did you remove the list of required fields from the Malformed CSV error message?

Line 411: Why did you remove the list of required fields from the Malformed CSV error message?
-- The user gets the whole "stack trace".  The malformed message is no longer helpful because the new header messages are more specific.


Some grammer corrections.

Coverage remained the same at 90.917% when pulling cd3549696ddf9eb95de67efd65671d7d94c8d6b7 on justinpoh:UG-scan into f47514683fec30797b3e009b778e9394821e6a0b on CS2103AUG2017-W14-B1:master.

Coverage remained the same at 90.917% when pulling 8ad38c8e218ecf89dbdd5223f67aefde7e6095d8 on justinpoh:UG-scan into f47514683fec30797b3e009b778e9394821e6a0b on CS2103AUG2017-W14-B1:master.


[CELEBORN-805] Immediate shutdown of server upon completion of unit test to prevent potential resource leakage

What changes were proposed in this pull request?
As title
Why are the changes needed?
Recently, while conducting the sbt build test, it came to my attention that certain resources such as ports and threads were not being released promptly.
This pull request introduces a new method, shutdown(graceful: Boolean), to the Service trait. When invoked by MiniClusterFeature.shutdownMiniCluster, it calls worker.shutdown(graceful = false). This implementation aims to prevent possible memory leaks during CI processes.
Before this PR the unit tests in the client/common/master/service/worker modules resulted in leaked ports.
$ jps
1138131 Jps
1130743 sbt-launch-1.9.0.jar
$ netstat -lntp | grep 1130743
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 <IP_ADDRESS>:12345         <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:41563           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:42905           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:44419           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:45025           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:44799           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:39053           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:39029           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:39475           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:40153           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:33051           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:33449           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:34073           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:35347           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:35971           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:36799           <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:40775     <IP_ADDRESS>:*               LISTEN      1130743/java
tcp        0      0 <IP_ADDRESS>:44457     <IP_ADDRESS>:*               LISTEN      1130743/java

After this PR:
$ jps
1114423 Jps
1107544 sbt-launch-1.9.0.jar
$ netstat -lntp | grep 1107544
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)

Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GA

Is it possible to run unit tests in parallel after this change?

Thanks, merged to main/0.3

Is it possible to run unit tests in parallel after this change?

No, currently, we have hard code like the following. However, I believe that it can be readily restructured if we want to run tests parallel
https://github.com/apache/incubator-celeborn/blob/1109e2c8f4468ab6d19632a6f3e7afba89e9b913/worker/src/test/scala/org/apache/celeborn/service/deploy/cluster/ReadWriteTestBase.scala#L37

OK, it's fine to run tests serially first.


Kubernetes Alerts for Admin Region

We need to have the same alerting infrastructure as in other control plane regions.
Kubelets are hanging, Bonds are failing for the admin region as well. With only 3 nodes the result is catastrophic.

Deploy kube-monitoring
Hook it into Grafana/Alertmanager

kube-monitoring was installed in admin cluster. Also wired to alertmanager and global Prometheus. However we don't have Grafana in there.

This just happened now? Or was it done before? I'm asking because the admin region had 2 nodes completely dead and I didn't see any alerts.

Happend a while ago. I installed kube-system and kube-monitoring when we created the region. Only difference to other regions is the lack of OpenStack alerts.
I'll provoke an alert and check if it gets lost

Blame this regex https://github.com/sapcc/helm-charts/blob/32085a9db6cc868fb8180395e242c5962058bcdc/global/prometheus-alertmanager/templates/config.yaml#L44. Region name doesn't match and admin alerts end up in #dev-null channel in slack. I'll fix

@auhlig is this done?

Yes. Done. Forgot to close


No support for v4.1 Training submission

The RCP checker and the compliance checker need support for v4.1 round. Please add it

Here's a PR if that helps https://github.com/mlcommons/logging/pull/381


Reject status code 101 (Switching Protocols)

Closes  #27

Coverage remained the same at 100.0% when pulling eef6b03bb63aa3de4e080b66fa5c2b312c772eed on 27-reject-status-code-101 into bbb1f420e828c3bfd900fb36943741164fd7b1d7 on master.


Is the new version will be released soon?

So I'm having two main bugs with the mod and I want to know some stuff so I'll think what to do.
As I understood both bugs are in progress, but I wanna know if I should wait for that or no,
Because currently when some people create pants their save just get corrupted with a ticking entity and some of them don't know how to fix that (this is the main bug).
Thanks,
Jon :)

Yeah, it's just going through testing currently, all bugs but the RiM bug should be finished (and I'm hoping with the latest test version the RiM bug is).
Note: I did label this to read #23, however, this is just due to the fact I would prefer if no more issues appeared here as we've moved to https://bugzilla.qmxtech.com (with fully-integrated anonymous posting).
To see the currenty open bug list for <IP_ADDRESS>-QMX, please look at http://goo.gl/6ex25s. The list of all bugs addressed in <IP_ADDRESS>-QMX is here: http://goo.gl/ZdBwrU

I've actually noted that as I understand both bugs have been reported already in this comment, so this issue is not really a bug report (If I'm indeed right).
Anyway I'm very happy to see that progress is being made, thank you for saving this mod!
I can close this one.

Nope, you're perfectly fine, this is a question that's fine here, but questions are also welcome on bugzilla (the reason for the label -> bugzilla is preferred, our feeds are tied through it). I noted that the links to the bugzilla references were in said comment and had replied to that issue.


added my name in index.html

@prati-bha   thanks for making your first contribution, I will be merging your Pull Request, also look at the issues so that you can get a chance to win a limited community Swag from me.
If you like the project and Repo please give it a star and Follow me on Github (would be appreciated)

There are some conflicts, Please solve them

i have resolved all the conflicts.

@prati-bha  thnx for contributing , try this year aswell with updated repo and make sure to follow me and star this repo so that you don't miss updates regarding the new changes and issues during Hacktoberfest 2020.


One-time rewars from master rank

Hi 🙂 I reach my master rank and claim my one-time rewards but i dont recive the ability modifier but all the rest is okay 🙂 can have some help here please ? ^^ azazels696/atlas Tysm in advance :3

I have refunded and placed the ability modifier in your inventory! Sorry for the inconvenience!

Thank you so much and dont worry ^^ lil mistake happen sometime not ur
false :)
Le ven. 16 sept. 2022 à 9:13 a.m., Elyri @.***> a
écrit :

I have refunded and placed the ability modifier in your inventory! Sorry
for the inconvenience!
—
Reply to this email directly, view it on GitHub
https://github.com/NebulaMC-GG/Bugs-and-Issues/issues/1857#issuecomment-1249350584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A23A4P364OGKGNZ4SM3TCQTV6RXAPANCNFSM6AAAAAAQOH5NYA
.
You are receiving this because you authored the thread.Message ID:
@.***>


[REQ] Possibility to subscribe via ws to unconfirmed_txs

To me it seems natural (and many other blockchain do that) that the unconfirmed_txs should be one of the possible streams that users can subscribe via websocket. Now to have an updated overview of the unconfirmed txs the users need to poll (spam) frequently the node, while the subscription via ws would offer a better "real time" experience and with less spam toward the node.
This is especially true for chains which have a low block time.

Is this issue available? Any high-level design suggestions?

hey thanks for filing this issue!
towards helping us to prioritize this feature request, can you describe your use-case, what are you trying to build specifically that requires knowing unconfirmed_txs? any insight appreciated.

My application (and most of the users I know) is for backrunning TXs and evaluate arbitrage opportunities. So it's for MEV applications.
But I think there might be other applications (for statistics, network diagnostics, ...).


CUDA out of Memory, finetuning RealESRGAN_4X

2022-08-06 19:37:37,657 INFO: Loss [PerceptualLoss] is created.
2022-08-06 19:37:37,684 INFO: Loss [GANLoss] is created.
2022-08-06 19:37:37,718 INFO: Model [RealESRGANModel] is created.
2022-08-06 19:37:38,038 INFO: Start training from epoch: 0, iter: 0
Traceback (most recent call last):
RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 6.00 GiB total capacity; 5.27 GiB already allocated; 0 bytes free; 5.29 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Do I really need minimun of 20GB GPU Ram to get started. ?
Thanks

lower batch size in your configuration file to 1 and num worker gpus to 2

hey im having this issue as well where can I find the configuration file

hey im having this issue as well where can I find the configuration file

In the Real-Esrgan folder go to the options directory, and you should see an fine-tune Real-Esrgan.yml file, that's it

Hey so I just changed the settings now am I supposed to restart my device or should it work right off the bat

Yup

Restarted my device and im still having the same issue

Says I should lower the —tile but ive zero clue where it is or where to donit

What GPU are you using, what is the resolution of your dataset

Rtx 3080 16gb not sure by what you mean of resolution of dataset however

Rtx 3080 16gb not sure by what you mean of resolution of dataset however

The dimensions of the pictures in your dataset

Idk 😭

Wait i can check that nvm lmfao

:p

2048x2048

Also is there a reason why it allocates 13gbs of vram lmfao

It's to do with torch batch memory growth, it isn't well handled as compared to tensorflow, maybe give me a chat over at discord, username: clidegamer254#2034

Let's see if we can resolve that issue :p

Added right now
On Mon, Sep 12, 2022 at 01:35 Cliff Njoroge @.***>
wrote:

Let's see if we can resolve that issue :p
—
Reply to this email directly, view it on GitHub
https://github.com/xinntao/Real-ESRGAN/issues/403#issuecomment-1243281462,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APFAGPYMKYNX53OI6LFGFLLV53FLPANCNFSM55ZCQQLA
.
You are receiving this because you commented.Message ID:
@.***>


/zh-CN/docs/Web/JavaScript/Guide/Keyed_collections

Map()

sth about Map,when i do followed codes,explore throws this:
Uncaught ReferenceError: saying is not defined
at
var sayings = new Map();
sayings.set('dog', 'woof');
sayings.set('cat', 'meow');
sayings.set('elephant', 'toot');
so why this?

This works fine for me.
What browser are you using?

This works fine for me.
What browser are you using?

var sayings = new Map();
sayings.set('dog', 'woof');
sayings.set('cat', 'meow');
sayings.set('elephant', 'toot');
console.log(sayings.size);
both chrome and firfox  can' t work,

I don't know what to suggest really. Your code is working fine in both Firefox and Chrome for me.
Are you just trying to run it in a console, or in an IDE, or inside a web framework, or ... ?

Uncaught ReferenceError: saying is not defined

I don't know if this message was written by hand or copied/pasted but please be aware that saying and sayings are not the same identifier (note the s at the end). This might be an explanation to this error.
Also, as @chrisdavidmills stated, could you indicate the browser version you are using and post a Codepen / JSFiddle / Live example to share the exact snippet/environment where this is failing?


For use with Nebari

anaconda-project isn't natively supported in Nebari, meaning users would need to manually anaconda-project prepare and that's not good use of tutorial time, so this adds vanilla conda env.yml so that the environment is premade and ready when started.

Closing as I think we ended up using conda-store instead.


Add missing ffi.h header

pycrypto requires ffi.h which can be installed via the libffi-dev package.

Thanks!


Spellcheck is always on after restart

Whenever Franz is restarted, spell check is on in the input fields, regardless of the value of spellcheck in Settings. Turning it on and off again disables the spellcheck as expected.
Expected Behavior
When spellcheck is turned off in Settings, it stays that way.
Current Behavior
While Settings still shows spellcheck off, it is enabled in the input fields after restart.
Possible Solution
Perhaps the initialization of the spellchecker / webview does not set the correct default from the settings?
Steps to Reproduce

Turn spellcheck off in Settings.
Verify that spellcheck is off by typing some random text in an iput field.
Quit Franz and start it again, og reload it (View->Reload Franz or Ctrl-Shift-R).
Type some text in the input field -> spellcheck seems to be on.
Check Settings, spellcheck is off. Turn it on, then off again.
Check the input again, spellcheck is now off.

(It is sufficient to reload a single service (View->Reload Service, Ctrl-R), in that case spellcheck will be enabled in that service only, while it stays off in other services.)
Your Environment

Franz Version used: 5.0.0-beta.18_amd64
Operating System and version: Ubuntu 18.04

Apparently a restart is not even necessary. After switching contacts in the FB Messenger service, or channels in a Slack service, spellcheck is back on again each time.


Warden does not enforce lowercase when dealing with network names

I ran into an issue after upgrading to V0.3 that was not previously an issue after the changes to Traefik and Tunnel. My .env file leveraged WARDEN_ENV_NAME=ProjectNameHere which created issues when trying to stand up my environment. Changing WARDEN_ENV_NAME to projectnamehere matched the network name created by Docker (as it enforces lowercase) and fixed the issue.


Fix download zip location and add thirdpartynotices.

@omeshp,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Multiple lines of text in the chart title

Adds support for multiple lines of text in the chart title. If the text property of the title options is an array, we render each item on it's own line. See attached screenshots for details of how it looks.

@simonbrunel sounds good about the multi-line support. Do we want to merge this first or after your changes?

Line height will also resolve #2747

We can merge this first, will review all line height usages in a future PR.


active / inactive filter broken?

In my test jobboard I have one job - but logged-in as administrator, I cannot see it through the "overview" table. Whatever search and filter settings I use, this job never shows up.
A possibly related problem can be seen in the official YAWIK demo. Logging in as "demo" (admin), I can currently see 11 jobs under https://yawik.org/demo/en/jobboard. This is also, what I see under "overview" with the filter set to "all". When I toggle the filter to "active", I only see 9, when I toggle it to "inactive" I see none. Thus, we have: 11 jobs in the jobboard (presumably all of them active?), 9 "active", none "inactive".

The "overview" list shows jobs of an own company. If "my jobs" is selected, jobs are listed, which were entered by the user. If "all jobs" ist selected, the jobs entered by cp-workers are listed to.
The "jobboard" list currently reduces the list of jobs to those which are related to the logged in user. This is a bug, which will be fixed soon.

this was fixed


Stakeholders are called by different names in all forms

create a stakeholder
In stakeholder form , stakeholders are called members (see attached screenshot)
In Business service page , stakeholders are called owners .
I understand that stakeholders can be owners and members but it is little confusing .
See attached screenshot

@sshveta - So the members is the number of members (i.e. Stakeholders) in a group of Stakeholders.
Each Business Service has an Owner, i.e. the person ultimately responsible for the Business Service.
The Owner must be defined as a Stakeholder.
I see nothing wrong with this.


Start tranlsating the docs to arabic.

I have translated a sample of the docs to Arabic,
waiting  for review and coordination to complete the rest of the translation

Thank you for getting started on this. I'm excited to have the docs available in many languages soon.
With docs translations, just like any other PR, we want to have at least one reviewer. If there is any other Arabic speaker who would like to help with this, please let us know :)

Thank you for getting started on this. I'm excited to have the docs available in many languages soon.
With docs translations, just like any other PR, we want to have at least one reviewer. If there is any other Arabic speaker who would like to help with this, please let us know :)

Guess What my Major is linguistics, I'm in.

There are also a few bits and pieces we need to fix before having i18n docs, such as a language picker, edit links should link to the right language, anything else?

There are also a few bits and pieces we need to fix before having i18n docs, such as a language picker, edit links should link to the right language, anything else?

let's discuss that on discord.

There are also a few bits and pieces we need to fix before having i18n docs, such as a language picker, edit links should link to the right language, anything else?

I  wont translate a file until it's ready 100%.


Platform-specific context variables

Pull requests:

https://github.com/Senzing/template-go/pull/58


Should source-built .NET SDK include testhost.exe by default

Discussed in https://github.com/dotnet/source-build/discussions/4095

Originally posted by xgqt February  6, 2024
Hello!
One of Gentoo users has run onto the issue where our build on .NET SDK did not include the testhost.exe file.
https://bugs.gentoo.org/923832
I have some questions that might help us sort it out:

Is this a expected behavior that should happen with default build?
Is this file available only when mono build is requested?
What is the setup of environment and flags to build it while building .NET SDK?

[Triage] This needs some investigation to gain an understanding of what is happening, if this can be supported by SB or by the end user scenario pulling in MSFT built assets.  This is lower priority now with the Unified Build project.

I'm hitting this when building jackett from nixpkgs using the source-built dotnet 8 sdk.
Microsoft (R) Test Execution Command Line Tool Version 17.8.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Testhost process for source(s) '/build/source/src/Jackett.Test/bin/Release/net462/linux-x64/Jackett.Test.dll' exited with error: Cannot open assembly '/nix/store/n4b0kjcryx7bs7vnsk7z69b07hgg177y-dotnet-sdk-8.0.111/share/dotnet/sdk/8.0.111/Extensions/../TestHostNetFramework/testhost.exe': No such file or directory.
. Please check the diagnostic logs for more information.


remove xmalloc() from gateway.c

Some functions in sheep/gateway.c call xmalloc() in hotpath. In a case of failed allocation, it will kill sheep so the function shouldn't be called. Instead of calling xmalloc(), the gateway path should return SD_RES_NO_MEM.

@tmenjo if you have a time, could you work on this issue?

oooops... really sorry, I filed in a different project :(


Write a job to export color corrected Geotiff

This export job should use the mosaic definition/color correction parameters configured to export a geotiff that is color corrected.

another duplicate, oops


Why not just a cli command?

just like https://github.com/acss-io/atomizer / https://acss.io/

I have created a simple CLI, even with unocss.config.js support.
👉 unocss-cli

@johannschopplich that's great, awesome work! I am happy to have it as a part of this monorepo (if you want to) so we can ship it with the main package.
PS. for loading config, you can use @unocss/config for it which supports also .ts.

@antfu Yes, I would absolutely love to integrate it into the monorepo. All in one place!
How do we continue?
Thanks for the tip, I have migrated to @unocss/config.

You can send a PR creating a new @unocss/cli package with your existing code (also have your license under the package!). I will help you handle the integrations and setup. Once merged, I will invite you to the repo. 🙌


Create configuration chapter in getting started guide

will be re-opened later and expectations will be added

will be re-opened later and expectations will be added


Atomize Tests

test_dqn and test_dqn_cnn both seem to have just one function running all the tests. Separate this function into 4

This has to be done in #198 anyway

#202


[SVCS-895] Upgrade tornado from 4.3 to 5.1

Ticket
https://openscience.atlassian.net/browse/SVCS-895
Purpose
The latest version of tornado has updates to use the event loop properly
that we need for aiohttp context managers to work properly. The version
of tornado that we use doesn't use the asyncio event loop, but its own
event loop, so other libraries that use the event loop sometimes don't
work properly. Like aiohttp.
Changes
Tornado to 5.1
Side effects

QA Notes

Deployment Notes

Forgot to mention that I changed the target to develop and remove the next label.

PR replaced by https://github.com/CenterForOpenScience/waterbutler/pull/372.


Putioarr started erroring out when testing the connection with Sonarr and Radarr

NOTE THAT UNCLEAR BUG REPORTS (i.e. without the information requested below like logs, settings, versions, etc) MIGHT BE CLOSED WITHOUT ANY HELP!!
Please check https://github.com/wouterdebie/putioarr/releases if any breaking changes have been made before filing a bug report.
Describe the bug
When radarr and sonarr try to connect to putioarr it errors out.
To Reproduce
Steps to reproduce the behavior:

Have Sonarr/Radarr with an error running and hit test connection
See putioarr error out

** Logs **
───────────────────────────────────────

|     |  |  |   | |     |     |
|   --|  |  |   | | | |  |  | | | |
|||| |_| |||||
_____ __ __ _ __    ____
| __  |  |  | |  |  |    \
| __ -|  |  | |  ||  |  |
||__||_____|____/
Based on images from linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
[2024-12-02T16:16:23Z INFO ] Starting putioarr, version 0.5.19
[2024-12-02T16:16:24Z INFO ] Starting web server at http://<IP_ADDRESS>:9091
[2024-12-02T16:16:24Z INFO ] starting 2 workers
[2024-12-02T16:16:24Z INFO ] Actix runtime found; starting in Actix runtime
[2024-12-02T16:16:24Z INFO ] Checking unfinished transfers
Connection to <IP_ADDRESS> 9091 port [tcp/*] succeeded!
[ls.io-init] done.
thread 'actix-rt|system:0|arbiter:0' panicked at src/http/handlers.rs:103:60:
called Result::unwrap() on an Err value: error decoding response body
Caused by:
invalid value: integer -1, expected u64 at line 1 column 8544
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'actix-rt|system:0|arbiter:1' panicked at src/http/handlers.rs:103:60:
called Result::unwrap() on an Err value: error decoding response body
Caused by:
invalid value: integer -1, expected u64 at line 1 column 8544
thread 'actix-rt|system:0|arbiter:1' panicked at src/http/handlers.rs:103:60:
called Result::unwrap() on an Err value: error decoding response body
Caused by:
invalid value: integer -1, expected u64 at line 1 column 8542
thread 'actix-rt|system:0|arbiter:0' panicked at src/http/handlers.rs:103:60:
called Result::unwrap() on an Err value: error decoding response body
Caused by:
invalid value: integer -1, expected u64 at line 1 column 8543
** Configuration **
#Required. Username and password that sonarr/radarr/whisparr use to connect to the proxy
username = "kpg"
password = "xxxxxxxxxxxxxxxxx"
#Required. Directory where the proxy will download files to. This directory has to be readable by
#sonarr/radarr/whisparr in order to import downloads
download_directory = "/data12/Downloads/"
#Optional bind address, default "<IP_ADDRESS>"
bind_address = "<IP_ADDRESS>"
#Optional TCP port, default 9091
port = 9091
#Optional log level, default "info"
loglevel = "info"
#Optional UID, default 1000. Change the owner of the downloaded files to this UID. Requires root.
uid = 1000
#Optional polling interval in secs, default 10.
polling_interval = 10
#Optional skip directories when downloding, default ["sample", "extras"]
skip_directories = ["sample", "extras"]
#Optional number of orchestration workers, default 10. Unless there are many changes coming from
#put.io, you shouldn't have to touch this number. 10 is already overkill.
orchestration_workers = 10
#Optional number of download workers, default 4. This controls how many downloads we run in parallel.
download_workers = 4
[putio]
#Required. Putio API key. You can generate one using putioarr get-token
api_key =  "xxxxxxxxxxxxxxxxxxx"
#Both [sonarr] and [radarr] are optional, but you'll need at least one of them
[sonarr]
url = "http://<IP_ADDRESS>:8989"
#Can be found in Settings -> General
api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
[radarr]
url = "http://<IP_ADDRESS>:7878"
#qCan be found in Settings -> General
api_key = "xxxxxxxxxxxxxxxxxxxxxxxxx"
Environment
Ubuntu 22.04
Docker
/data12 is the same folder for Radaar, Sonarr and Putioarr.
Additional context
It was working fine until I tried downloading a particular season of a show and it just broke after that. Tried moving the config file to a different folder and even repulling the docker image.

Thanks for the bug report. This happens when https://api.put.io/v2/transfers/list is called and some field returns -1 where nothing or an integer >= 0 is expected. I can't seem to reproduce this though. Can you execute a "curl https://api.put.io/v2/transfers/list?oauth_token=<YOUR_PUTIO_API_KEY>" and either send me the results or tell me where the value is -1?


[Docs] Examples of usage in applications are needed

The documentation is missing some explanations how the RBAC component can be used in a MVC and / or Expressive application. Of course, with code examples.
Maybe as cookbook.

Classmates, your module of the document written too bad! I would like to know, if my authority stored in the database how to integrate this component? How even a database of examples are not? This document is too rubbish ~ ~ ~ delay time ~ if not use, remove the components of it The

@Dreamseekai you already asked in https://github.com/zendframework/zend-permissions-rbac/issues/27 and https://github.com/zendframework/zend-permissions-rbac/issues/28 - please do not cross-post further.

"zendframework/zend-permissions-rbac": "3.0.1" is broken
The methods getChildrens() and getParents() return array in the Role class, but the RoleInterface declare Iterable return type for this methods.

This repository has been closed and moved to laminas/laminas-permissions-rbac; a new issue has been opened at https://github.com/laminas/laminas-permissions-rbac/issues/5.


Generate types automatically

I wrote all the types out by hand which was some pretty intense type 2 fun.
Would be excellent if someone (at Figma?) could figure out how to generate them automatically.

I wrote quicktype to do this and mentioned it to @dfield. I'll look into it for this use case.

Also you can have a look on my Figma API extract (written in Haxe), not completed yet, but it could be helpful :)
https://github.com/neelts/figma-api-hx/blob/master/src/figma/FigmaAPIExtract.hx

FYI, I used your TypeScript types to generate a JSON schema, from which I'm generating types and JSON marshaling in C#, Go, Rust, C++, Objective-C, Java, JavaScript, Flow, Swift, Elm, and Ruby:
https://github.com/quicktype/figma-types
For Flow, TypeScript, and JavaScript, I also generate runtime typechecks that compare the Figma JSON to the TypeScript types:
https://github.com/quicktype/figma-types/blob/master/typescript/figma.ts#L2150-L2152
I haven't tried any of it yet, though 😝


Put Server in Sleep or shut it down if no User is online

Feature Request
Feature Information:

It would be nice to give an option to suspend the hardware if there is no user online or if all game servers are in sleep-mode. This should be a good way to save money on electricity. Wake on LAN is then the way to wake the server through the router or even a RaspberryPi to not have a massive machine running on 100W all the time.
I confirm:

[X] that I have searched for an existing feature request matching the description.

That should be supported by the game server its self I'm sure. I know the Minecraft one has it. But unsure about the others

To clarify: I want the hardware to turn off. Not only should the gameserver suspend itself but the whole machine should shut down. So that the system won't consume any power at all except for WoL capabilities.

If nothing is left listening for the game server, how will it know to turn back on again?

Wake on LAN in interaction with the router or e.g. a RaspberryPi or any other device with a low power consumption would be possible. Im currently doing it with an AVM Fritz!Box router and the feature to wake a device by a magic packet if something connects to its shared (tunneled) ports.

Maybe if amp is running on another machine? so you can send a magic packet to an offline/sleeping machine from within the webinterface (which is running on another box) manually. Example: https://i.imgur.com/fHqSaGL.png

You must have bungeecord plugin on your RaspberryPi and create your own plugin that WoL your server using a script, same on the spigot server that suspend the server when nobody is connected for more than 15min.
Wake on Lan script
#!/bin/sh
#
# script for waking up on lan

# XXX - mac address to wake up
MAC_ADDR="30:9c:23:a9:f5:f6"

WOL="/usr/bin/wakeonlan"        # apt-get install wakeonlan Ubuntu

$WOL "$MAC_ADDR"

Bungeecord Main class
public class BungeeMain extends Plugin {
    private static  BungeeMain instance;
    @Override
    public  void onEnable() {
        setInstance(this);
        getLogger().info("has loaded");
        getProxy().getPluginManager().registerListener(this, new Events());
    }

    public static BungeeMain getInstance() {
        return instance;
    }

    private static void setInstance(BungeeMain instance) {
        BungeeMain.instance = instance;
    }

}

Bungeecord Ping Event class
public class Events implements Listener {
    @EventHandler
    public void  ProxyPingEvent(ProxyPingEvent event ) {
        try {
            Process process =Runtime.getRuntime().exec("/home/bungeecord/wol.sh");

        }
        catch (InterruptedIOException e){
            e.printStackTrace();
        }
        catch (IOException e) {
            e.printStackTrace();
        }

    }
}

this code is very simple and always send a WoL request when Bungeecord is pinged.
I'll edit later if needed.

Thanks for your idea, but I am doing complicated things like this for 3 minecraft server and a Garry's Mod server. I thought, this AMP is the way to make it more easy.
@remy99c that's an idea but they (Mike) would need to implement the automatic shutdown, wouldn't he?

This works with Bungee because Bungee itself acts as a proxy, so it mediates all the connections.
Doing this with say srcds would require that AMP can act as a proxy for arbitrary games, which isn't really viable since bungee can do things like use fallback servers to 'stall' the client while waiting for the slow WoL process.

Closed because this is non-viable in any way that'd be really useful.


A file cannot be loaded if path contains a directory name with spaces

Description of your problem
I run Spyder3 on Ubuntu 16.04. I cannot load a file from a directory if there are spaces in a path to the directory.
What steps will reproduce the problem?

I changed my working directory on Spyder to the one containing my file, 'data.csv'
Imported "pandas" package
Typed
dataset = pd.read_csv('Data.csv')
and pressed to run my selection.

What is the expected output? What do you see instead?
I was supposed to see nothing, but instead I got the following error message:
Data <- read_csv("~/Downloads/data_science/Machine Learning A-Z Template Folder/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/Data.csv")
Error: '~/Downloads/data_science/Machine Learning A-Z Template Folder/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/Data.csv' does not exist.
Please provide any additional information below
Versions and main components

Spyder Version: 2.3
Python Version: 3.5
Qt Version: 4.8.7
PyQt Version:  4.11.4
Operating system: Linux, Ubuntu 16.04

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=1.0      :  2.4.1 (OK)
jedi >=0.8.1;<0.9.0:  0.9.0 (NOK)
matplotlib >=1.0   :  1.5.1 (OK)
pandas >=0.13.1    :  0.17.1 (OK)
pep8 >=0.6         :  1.7.0 (OK)
psutil >=0.3       :  3.4.2 (OK)
pyflakes >=0.6.0   :  1.1.0 (OK)
pygments >=1.6     :  2.1 (OK)
pylint >=0.25      :  1.6.5 (OK)
rope >=0.9.2       :  None (NOK)
sphinx >=0.6.6     :  1.3.6 (OK)
sympy >=0.7.3      :  None (NOK)
zmq >=2.1.11       :  15.2.0 (OK)

Spyder 2.3 is not supported anymore. Could you update to Spyder 3.1.3 (our latest version) and try again? Thanks!


Public url isn't available  anymore?

I used to work with this colab a lot like 2 months ago but now when im executing the code it just appears the private url and not the public one, and my browser never could open it :(

there might have been a system error in Google Colab but it's now fixed and the public URL is now showing up again.

it's still not showing

if it still not showing, try the No Ui version.

For me it's showing, but when open it in new tab, it say "504 Gateway"


fix: Prevent hardcoding .githooks etc :anchor:

Related to #112

coverage: 80.349%. remained the same when pulling 50792728cfba5d5dfc53922dcee8669a7a73bb4f on feature/no-hardcode-hooks-dir into a7e9ad629a0b31fdc79c563d2145a14844b43122 on main.


Features and Tasks for v0.1

This is meta issue for Tumugi v0.1.0 release.

[x] Dependency resolution #3
[x] DSL support #3
[x] Task inherit support #5
[x] Concurrent task execution #7
[x] DAG rendering using dotfile and Graphviz #6
[x] Retry #8
Write document

[x] Setup Github Pages https://tumugi.github.io/
[x] Write Getting started

Finally first version of Tumugi released!
https://rubygems.org/gems/tumugi


Setup 'filter_users' to be used as an attribute

This fixes #11 and allows 'filter_users' to be setup with anything a user may want.

The erb is not correct here. I will fix and resubmit.


Release 1.6.0 or patch 1.5.0?

Hi all,
Since #87 was resolved, I think it might be worthwhile for us to either create a new release, or manually apply the patch from #89 into our conda-forge recipe. What do you guys think?

Release 1.6.0 BOOM. I'll spin it later today mate thanks @agoodm

+1

DONE


Update the directions

I tried to follow the instructions but was given an error message when I tried to run it. I unzipped the files, navigated to the folder that I extracted from github, and tried to run the command given but nothing worked.

What error message did you get? Were you running it on windows or mac?


ImportError with current Apache Beam version (2.x)

Thank you for providing the package.
The following import is failing:
from apache_beam.io import fileio

You are only using fileio for the CompressionType.
The correct import would be:
from apache_beam.io.filesystem import CompressionTypes

(are you still actively developing this package? I'd be happy to add more struff from my local beam_utils if you do)

ping @pabloem?


restrictive create

Is there a way to deliver feedback to the developer that they attempted to use create without meeting it's requirements?
(It may be that feedback is already given to the developer by the caller, in which case great!)

Re: feedback to developer. This change impacts when a '?' fate can be changed to 'create', but '?' fate is not something we encourage developers to write.
A case that would be interesting is giving developer feedback if for example they assembling 2 particles which both write to a handle. In such case we won't create a handle because it's impossible to use it for communication between particles.
I think the answer to this is creating a specific tool aiming at explaining how the particular recipe is understood/resolved by the runtime. Something along the lines of StrategyExplorer with a focus on one input recipes and resolution errors in terminal recipes - mu current thinking. I don't think that a strategy should be responsible for generating messages.


Pagination for social networking site having data adding on top

I am building a app where data is need to me shown in descending order of time means latest posts at the top of page. So suppose if i have 50 posts and while fetching the first page result, i am getting the posts from id 50 - 41 (getting per page 10 records). And in a while new post has been added to the data set, suppose 51 - 55, and for the user is using the old data set, will fetch the second page result ie. ( 40 - 31 ), but when he send page number as 2 in the query, kaminari will get the result from total count ie now 55, and on page 2 it will give result from 45-36, so user will have the duplicate result from ( 41- 45 ).
Is there any concept in kaminari, where i can send the last object it, after which i need the result?

I don't believe kaminari should some such requirements.

@sanyam-j Thanks for throwing an interesting idea in. Cursor-based pagination has actually been discussed before here #562, but since we haven't seen any good implementation we still don't have support for it. Please feel tree to send a pull request if you've actually implemented it already. Any contribution is appreciated.


SvelteKit Website Github link url is Svelte's repo

Describe the bug
The Github link in the website's header links to Svelte's repo instead of Sveltekit's.
Reproduction
Go to Sveltekit's website and click the Github link.
Logs
No response
System Info
Not needed

Severity
annoyance
Additional Information
No response

fixed https://github.com/sveltejs/sites/commit/41e52abdfa5f73abf7aac6b29852b7d519b79554


Feat/bill cpc 1240 implement a filter by bill status for admin

https://champlainsaintlambert.atlassian.net/browse/CPC-1240
Context:
What is the ticket about and why are we doing this change.
I added a drop down menu to the admin's bill page so they can filter the bills by status
Does this PR change the .vscode folder in petclinic-frontend?:
If the PR changes the .vscode folder, explain why in detail because it should not.
It doesn't
Be sure to include cgerard321 as a reviewer.
Reviewers need to check for any changes to the
.vscode folder and add a comment about it to their review comments.
Changes
What are the various changes and what other modules do those changes affect.
This can be bullet point or sentence format.

Created three methods in the BillController in the Api-Gateway
Created three axios api calls
modified the AdminBillsListTable to include the drop down menu

Before and After UI (Required for UI-impacting PRs)
Before:

After:

If this is a change to the UI, include before and after screenshots to show the differences.
If this is a new UI feature, include screenshots to show reviewers what it looks like.
Dev notes (Optional)
Specific technical changes that should be noted
Linked pull requests (Optional)
Pull request links

The tests for visits are making your build fail, I guess someone from there maybe pushed some bad tests?  You're also going to have to run lint to fix your lint issues. Consider also changing the name of your PR to match the naming convention. The rest looks solid.


CHANGELOG.md ?

The Changelog is buried away on the site, would you consider moving it to the top of the repo?

+1

would be very nice to add such information in each release as it's not clear how to migrate from version to version and are there any breaking changes

+1, changelogs are vital to the principles to open source software. It should be considered a point of pride to show off the work you've done, not a chore.

Is closing this with no comment an acknowledgement that the webpack authors have chosen to not have a CHANGELOG.md file like most other popular open-source products?

very strange decision

I closed it because no one took it up. I should have done this a while back but now I am submitting two top level CHANGELOGs to the repo, one for 1.12.0 and above and one for pre 1.12 releases. The regular CHANGELOG.md is will mirror the format of Babel's CHANGELOG and the other one with older releases will mirror the existing CHANGELOG. Seeing that there are tons of releases, I did not go back and retroactively add in details to the older one, so anyone who wants to volunteer can do so.
@sokra Not sure if you want to be in on this, however I will volunteer to update the CHANGELOG.md for future releases, minor and small.
Here's the PR for reference: https://github.com/webpack/webpack/pull/1658

Is it really a problem for you that the changelog is a wiki page instead of a markdown in the repo?
For me it is easier to have it in the wiki, because a changelog in the repo would force me to update it with every release and I don't have the time to do this. I would rather update it in batches when I have the time to do it...

It's not a problem as long as there is a changelog somewhere.
Though there is a common way to have changelog.md in the project root or history details in each release (e.g. https://github.com/DarkPark/stb/releases)

@sokra Whether it's easy for you to maintain is not the issue here.  You're building software that other people use and depend on.  It's time to think about how the work you do is presented and understood by others, not just what is personally convenient and saves you, what, a few minutes a month, if that?
Those of us who build applications deal with dozens of packages, and the question of whether or not we're going to upgrade to a newer version is based on the information that package presents about what new features, bug fixes and changes are included.  It's very frustrating and time-wasting to have to review every commit to decide whether or not it's safe to upgrade.
People don't like digging through tons of different web sites to find changelogs.  Every web site has its own structure, and certainly there've been cases where the web site wasn't updated by the time the release went out.  (I've encountered this with Webpack multiple times this year)  .... Coffeescript, for instance, hides their changelog 75% of the way down a massive, unusable homepage.  They release new versions just twice a year... am I supposed to remember where their changelog is everytime I see a new version is available in npm?  Ugh.  No.
With Angular, Aurelia, Gulp, Browserify, Karma, Bower, npm, and even node.js itself, it's very simple and consistent:  the changelog is in the repository, either in the root directory or in a documentation subdirectory.  Npm always includes changelog files when creating packages even if you don't specify it in the files glob -- that's how important they think it is.  Most of those projects take it a step further and directly link the description of the changes to the pull requests so that people interested in seeing how a specific change was implemented can read the code.
Have a look at how those projects document what they do, and think about whether you trust those projects more because of it.

And don’t forget about tools like npm-upgrade which open change logs automatically. They couldn’t find change log somewhere in unusual location like a wiki on a site.

+1. Release notifications from Sibbell will get more meaningful then :)

@sokra The reason I introduced it is because it mirrors other open source projects and I think that the community here welcome this change, as I see less and less projects using Github Wiki pages. I really would like to thank you for this project, webpack has been a great tool. We're here to help, if allowed.

+1 from our side too
webpack is awesome, maybe we can adjust the "public relations work" a little :P

This issue was moved to webpack/webpack.io#108


[jetchat] Orientation issue

When doing an orientation in every screen, a blank screen is displayed.

Confirmed in alpha09 too

Going back from androidx.fragment.app.FragmentContainerView to fragment solves the issue temporarily but we're investigating :eyes:

In snapshot 7123292 using fragment crashes the app as fragments need to be inflated exactly once. Looks like AndroidViewBinding is inflating more than once. Still looking into it.

Fixed in https://github.com/android/compose-samples/pull/399


Added support for the 'log1mexp' op and its VJP.

This requires #145 and #146.

Added a test similar to #144, but we still need to figure out what to do about the .withoutDerivative(). Let's revisit this after #145 and #146 are merged because this depends on them.

@rxwei this is ready other than the function not being differentiable. If we figure out a withoutDerivative API I could make this differentiable, by using it on let isTooSmall = -x .< T(log(2.0)).

Let's add a global withoutDerivative(x) function.

@rxwei I implemented that, but I get the following error:
Assertion failed: (Index < Length && "Invalid index!"), function operator[], file /Users/eaplatanios/Development/GitHub/swift-source-temp/llvm/include/llvm/ADT/ArrayRef.h, line 241.
Stack dump:
0.      Program arguments: /Library/Developer/Toolchains/swift-tensorflow-LOCAL-2019-05-30-a.xctoolchain/usr/bin/swift -frontend -c /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Bindings/EagerExecution.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Bindings/RawOpsGenerated.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Bindings/TFTensorOperation.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Context.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/ArrayOps.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/DataTypes.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/DifferentialOperators.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Execution.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/PythonConversion.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Runtime.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/ShapedArray.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/StringTensor.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Tensor.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorGroup.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorHandle.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorProtocol.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorShape.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Threading.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Utilities.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Initializers.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layer.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Convolutional.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Core.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Normalization.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Pooling.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Recurrent.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Upsampling.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Loss.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Basic.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Comparison.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Dataset.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Math.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/NN.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Optimizer.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Random.swift -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/Math~partial.swiftmodule -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/NN~partial.swiftmodule -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Optimizer~partial.swiftmodule -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/Math~partial.swiftdoc -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/NN~partial.swiftdoc -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Optimizer~partial.swiftdoc -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/Math.d -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/NN.d -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Optimizer.d -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/Math.swiftdeps -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/NN.swiftdeps -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Optimizer.swiftdeps -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -module-cache-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/ModuleCache -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -color-diagnostics -enable-anonymous-context-mangled-names -parse-as-library -module-name TensorFlow -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/Math.swift.o -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Operators/NN.swift.o -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Optimizer.swift.o -index-store-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/index/store -index-system-modules
1.      Swift version 5.1-dev (LLVM 082dec2e22, Swift 5a6c347496)
2.      While running pass #1956 SILModuleTransform "Differentiation".
0  swift                    0x000000010f22fd35 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1  swift                    0x000000010f22eff5 llvm::sys::RunSignalHandlers() + 85
2  swift                    0x000000010f230318 SignalHandler(int) + 264
3  libsystem_platform.dylib 0x00007fff759bcb5d _sigtramp + 29
4  libsystem_platform.dylib 0x0000000118064938 _sigtramp +<PHONE_NUMBER>
5  libsystem_c.dylib        0x00007fff758766a6 abort + 127
6  libsystem_c.dylib        0x00007fff7583f20d basename_r + 0
7  swift                    0x000000010bcd9690 (anonymous namespace)::ADContext::getOrCreateSubsetParametersThunkForAssociatedFunction(swift::SILValue, swift::SILValue, swift::AutoDiffAssociatedFunctionKind, swift::SILAutoDiffIndices, swift::SILAutoDiffIndices) + 14160
8  swift                    0x000000010bcd517a (anonymous namespace)::ADContext::promoteToDifferentiableFunction(swift::AutoDiffFunctionInst*, swift::SILBuilder&, swift::SILLocation, (anonymous namespace)::DifferentiationInvoker) + 12122
9  swift                    0x000000010bc95038 (anonymous namespace)::ADContext::processAutoDiffFunctionInst(swift::AutoDiffFunctionInst*) + 184
10 swift                    0x000000010bc92371 (anonymous namespace)::Differentiation::run() + 2209
11 swift                    0x000000010bd0e18e swift::SILPassManager::runModulePass(unsigned int) + 734
12 swift                    0x000000010bd0ec64 swift::SILPassManager::execute() + 692
13 swift                    0x000000010b8645eb swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 187
14 swift                    0x000000010bd14324 swift::runSILDiagnosticPasses(swift::SILModule&) + 132
15 swift                    0x000000010b92c29e swift::CompilerInstance::performSILProcessing(swift::SILModule*, swift::UnifiedStatsReporter*) + 62
16 swift                    0x000000010b6f10e9 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 11273
17 swift                    0x000000010b6ed471 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3025
18 swift                    0x000000010b6934a9 main + 729
19 libdyld.dylib            0x00007fff757d13d5 start + 1

This appears when I make the following function differentiable:
@inlinable
@differentiable
public func log1mexp<T: TensorFlowFloatingPoint>(_ x: Tensor<T>) -> Tensor<T> {
    let isTooSmall = withoutDerivative(at: -x .< T(log(2.0)))
    // This `replacing` will ultimately be a no-op because we will not select this code-path
    // whenever we use the surrogate `-Tensor(onesLike: x)`.
    let xSafe = x.replacing(with: -Tensor(onesLike: x), where: isTooSmall)
    return log1p(-exp(xSafe)).replacing(with: log(-expm1(x)), where: isTooSmall)
}

How is it defined?

@rxwei It's just this:
@_semantics("autodiff.nonvarying")
public func withoutDerivative<T>(at x: T) -> T {
    return x
}

I just pushed the changes so you can see them.

@rxwei I made a small reproducible example. I cannot make the following function differentiable:
@inlinable
@differentiable
public func example<T: TensorFlowFloatingPoint>(_ x: Tensor<T>) -> Tensor<T> {
    let ones = withoutDerivative(at: Tensor<T>(ones: x.shape))
    return x.replacing(with: ones, where: Tensor<Bool>(true))
}

I get a similar stacktrace as above and I believe that this error does not have to do with withoutDerivative as I also get it with this:
@inlinable
@differentiable
public func example<T: TensorFlowFloatingPoint>(_ x: Tensor<T>) -> Tensor<T> {
    return x.replacing(with: Tensor<T>(ones: x.shape), where: Tensor<Bool>(true))
}

Hmm that crasher is indeed annoying. I'll try debug this tonight!

@rxwei did you manage to figure out what the problem is?

@rxwei I updated this PR to also use the new withoutDerivative(at:in:) function, but I still get the same auto-diff crash. Did you get a chance to look into it?
Also, I made some small cleanup and also fixed TF-543. One thing I noticed is that many new functions were added in random places in the Math.swift file (e.g., the cosineSimilarity and cosineDistance functions were placed in the unary ops region instead of the binary ops region). I'll try to look more for that when reviewing future PRs, but I thought you guys might also want to be aware. On the same note, it'd be nice to have the order of the tests be aligned with the order in which the functions being tested are defined in the Math.swift file as that makes it easier to navigate the test files. I made some small changes but we should probably also keep that in mind when reviewing future PRs.

@rxwei I updated this PR to also use the new withoutDerivative(at:in:) function, but I still get the same auto-diff crash. Did you get a chance to look into it?
Also, I made some small cleanup and also fixed TF-543. One thing I noticed is that many new functions were added in random places in the Math.swift file (e.g., the cosineSimilarity and cosineDistance functions were placed in the unary ops region instead of the binary ops region). I'll try to look more for that when reviewing future PRs, but I thought you guys might also want to be aware. On the same note, it'd be nice to have the order of the tests be aligned with the order in which the functions being tested are defined in the Math.swift file as that makes it easier to navigate the test files. I made some small changes but we should probably also keep that in mind when reviewing future PRs.

Agreed, proper placement is definitely important. Thanks for bringing this up! cc @Shashi456

I just updated this, but the auto-diff bug persists on my machine. I'll try to run the CI tests to see if it also comes up in Linux.

@rxwei I can now confirm that the same crash happens on the CI.

@rxwei I tried to dig a bit into where the error is coming from and I know the following so far:

The crash happens here.
For the example from this PR, i in that loop starts with value 0 and then in the second iteration it has value 2. However, linearMapType->getResults() has length 2 and so this results in a crash on the second iteration.

Do you know what could be causing this from this description? Could it be possible that  linearMapType->getResults() should be indexed by the loop iteration number rather than by I? I don't know anything really about this part of the codebase and I can't easily tell.

Looks like a bug in the differentiation transform. I'm debugging now.

I don't know if this helps but I notice a bit of confusion wrt to parameters vs results here:
    // Iterate over actual indices.
    for (unsigned i : actualIndices.parameters->getIndices()) {
      auto resultInfo = linearMapType->getResults()[i];
      // Skip direct results. Only indirect results are relevant as arguments.
      if (resultInfo.isFormalDirect())
        continue;
      // If index is desired, use next indirect result.
      if (desiredIndices.isWrtParameter(i)) {
        useNextResult();
        continue;
      }
      // Otherwise, construct and use a zero indirect result.
      buildZeroArgument(resultInfo.getSILStorageType());
    }

We iterate over parameter indices but we assume there always exist corresponding results in the original function type? My understanding is limited but I believe something may be inconsistent here.

You can use swiftc -Xllvm -debug-only=differentiation to print all differentiation log.

I actually attached CLion LLDB debugger and I'm able to step through this part which I find convenient. My issue is that I don't exactly understand why we use parameter indices to index over results of the original function here.

Yeah, I'm also running through this in a debugger. I'm trying to see why ADContext::getOrCreateSubsetParametersThunkForAssociatedFunction is trying to access invalid indices.

I actually attached CLion LLDB debugger and I'm able to step through this part which I find convenient. My issue is that I don't exactly understand why we use parameter indices to index over results of the original function here.

This is expected, because a pullback's results correspond to each original parameter that's being differentiated with repsect to.

This is expected, because a pullback's results correspond to each original parameter that's being differentiated with repsect to.

I understand that part, but it seems like we're indexing over result types of the original function. I'm wondering if linearMapType->getResults()[i] should be replaced by something like thunk->getResults()[i].

[AD] Getting a subset parameters thunk for @callee_guaranteed (@guaranteed Tensor<τ_0_0>) -> (@owned Tensor<τ_0_0>, @owned Tensor<τ_0_0>) from (source=0 parameters=(0 2)) to (source=0 parameters=(2))

I don't think there's any problem with ADContext::getOrCreateSubsetParametersThunkForAssociatedFunction. The problem should be with the caller.

My understanding is that actualIndices contains 0 and 2 due to this line.

I see. I'm really familiar with the semantics of these index sets so it's hard for me to debug this. Please let me know if you find anything or if there is any way in which I can help.
By the way, are you planning to release any documentation for auto-diff internals or something like that which includes details about how the auto-diff mechanics are designed as part of the Swift compiler?

By the way, are you planning to release any documentation for auto-diff internals or something like that which includes details about how the auto-diff mechanics are designed as part of the Swift compiler?

Definitely, though today is not the best time to do it. The existing implement is still quite distant from the design overview, so if we document the internals today, a lot of things will be obsolete within a month or two.

I see that makes sense. I'm looking forward to it in either case. In the meantime I hope I'll gain some basic understanding by trying to implement inout support. :)
Regarding this crasher, it seems that 2 is included in the parameter indices from much earlier in the code.

Still debugging. I don't think the index 2 is wrong here because the original function has a third parameter:
[AD] Processing AutoDiffFunctionInst:
     %36 = partial_apply [callee_guaranteed] %35<τ_0_0>() : $@convention(method) <τ_0_0 where τ_0_0 : TensorFlowScalar> (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0> // user: %37
->   %37 = autodiff_function [wrt 2] [order 1] %36 : $@callee_guaranteed (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0> // user: %38
     %38 = autodiff_function_extract [vjp] [order 1] %37 : $@differentiable @callee_guaranteed (@nondiff @guaranteed Tensor<τ_0_0>, @nondiff @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0> // user: %39
[AD] Getting a subset parameters thunk for associated function   %38 = partial_apply [callee_guaranteed] %37<τ_0_0>() : $@convention(method) <τ_0_0 where τ_0_0 : TensorFlowFloatingPoint> (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> (@owned Tensor<τ_0_0>, @owned @callee_guaranteed (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0>)
 of the original function   %36 = partial_apply [callee_guaranteed] %35<τ_0_0>() : $@convention(method) <τ_0_0 where τ_0_0 : TensorFlowScalar> (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0> // user: %39
 from (source=0 parameters=(0 2)) to (source=0 parameters=(2))
[AD] Getting a subset parameters thunk for @callee_guaranteed (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0> from (source=0 parameters=(0 2)) to (source=0 parameters=(2))
[AD] Getting a subset parameters thunk for associated function   %43 = partial_apply [callee_guaranteed] %42<τ_0_0>() : $@convention(method) <τ_0_0 where τ_0_0 : TensorFlowFloatingPoint> (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> (@owned Tensor<τ_0_0>, @owned @callee_guaranteed (@guaranteed Tensor<τ_0_0>) -> (@owned Tensor<τ_0_0>, @owned Tensor<τ_0_0>))
 of the original function   %36 = partial_apply [callee_guaranteed] %35<τ_0_0>() : $@convention(method) <τ_0_0 where τ_0_0 : TensorFlowScalar> (@guaranteed Tensor<τ_0_0>, @guaranteed Tensor<Bool>, @guaranteed Tensor<τ_0_0>) -> @owned Tensor<τ_0_0> // user: %44
 from (source=0 parameters=(0 2)) to (source=0 parameters=(2))
[AD] Getting a subset parameters thunk for @callee_guaranteed (@guaranteed Tensor<τ_0_0>) -> (@owned Tensor<τ_0_0>, @owned Tensor<τ_0_0>) from (source=0 parameters=(0 2)) to (source=0 parameters=(2))
Assertion failed: (Index < Length && "Invalid index!"), function operator[], file /Users/rxwei/Development/Swift/swift-tf-source/llvm/include/llvm/ADT/ArrayRef.h, line 241.

Just throwing another kind of educated guess out there. What if we change linearMapType->getResults()[i] to targetType->getResults()[i]? I'm saying this because I noticed that in buildThunkType the result types are obtained from targetType.

Using targetType didn't work.
// FIXME: The logic for resolving `assocRef` does not reapply function
  // conversions, which is problematic if `assocFn` is a `partial_apply`
  // instruction.
  SILValue assocRef;
  if (auto *assocFnRef =
          peerThroughFunctionConversions<FunctionRefInst>(assocFn)) {
    auto *assoc = assocFnRef->getReferencedFunctionOrNull();
    assocRef = builder.createFunctionRef(loc, assoc);
  } else if (auto *assocMethodInst =
                 peerThroughFunctionConversions<WitnessMethodInst>(assocFn)) {
    assocRef = builder.createWitnessMethod(
        loc, assocMethodInst->getLookupType(),
        assocMethodInst->getConformance(), assocMethodInst->getMember(),
        thunk->mapTypeIntoContext(assocMethodInst->getType()));
  }
  assert(assocRef && "Expected associated function to be resolved");

Confirmed this is related to this FIXME.

Disregard my previous response. I think what is going on here is that the subset parameters thunk generation logic is not handling cases where the original JVP/JVP is already producing a subset-parameters linear map. A proper fix would be to pass in a index subset with respect to the linear map getOrCreateSubsetParametersThunkForAssociatedFunction, not one with respect to the original function.
Do this:

I see. Could you please explain a bit more detail what the index subsets represent and what the linear map is exactly? That will help me a lot in understanding what’s going on and attempting a fix.

actualIndices and desiredIndices are with respect to the original function. However, the differential parameters and pullback results may already be w.r.t. a subset, for example:

Original: (T0, T1, T2) -> R
Actual indices: 0, 2
Original differential: (T0, T2) -> R
Original pullback: R -> (T0, T2)
Desired indices w.r.t. original: 2
Desired indices w.r.t. linear map: 1

I have a PR that will fix this.

Fixed in https://github.com/apple/swift/pull/25699.

Richard thanks a lot for debugging this and helping me also understand what's going on.

It looks like kokoro does not re-run tests even though I added the kokoro:run label, probably because it has ran them earlier for the same commit. Is there an easy way to force re-run with the new toolchain?

Nvm, it just started running them now.

@rxwei the CI seems to still be using a toolchain before the auto-diff fix. Could you please re-run tests once the CI toolchain is updated?

@bgogul, how long does a new toolchain take to get to Kokoro? A new one was built last night so I assumed that it had propagated to CI.

Sorry I believe the toolchain was updated after all but this PR was not. I will merge with master and re-run tests.


Use skipLibCheck to skip type checking of declaration files

TypeScript offers already a away to skip type checking of declaration files. I made some tests and the performance with skipLibCheck = true is the same as before.
This makes our own filtering of those files obsolete and gives the control back to user.

Codecov Report

Merging #54 into master will decrease coverage by 0.86%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   92.99%   92.13%   -0.87%
==========================================
  Files           9        9
  Lines         357      356       -1
  Branches       46       46
==========================================
- Hits          332      328       -4
- Misses         25       28       +3

Impacted Files
Coverage Δ

src/checker/IncrementalChecker.ts
95.23% <100%> (-0.06%)
:arrow_down:

src/util/FileCache.ts
88.37% <0%> (-6.98%)
:arrow_down:

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 f1cb6fb...e2f1596. Read the comment docs.


feat(demo): Set USE_PRIVATE_REGISTRY to true

Signed-off-by: nshankar13<EMAIL_ADDRESS>
Description: Change the USE_PRIVATE_REGISTRY default value to true

Affected area:

Functional Area

New Functionality
[ ]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[ ]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
[ ]

CI System
[X]

Demo
[X]

Performance
[ ]

Other
[ ]

Testing done:
Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #3936 (626a065) into main (6308f07) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3936      +/-   ##
==========================================
+ Coverage   67.45%   67.49%   +0.04%
==========================================
  Files         202      202
  Lines       11543    11543
==========================================
+ Hits         7786     7791       +5
+ Misses       3707     3702       -5
  Partials       50       50

Flag
Coverage Δ

unittests
67.49% <ø> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/crdconversion/crdconversion.go
75.00% <0.00%> (+5.43%)
: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 6308f07...626a065. Read the comment docs.

@nojnhuh @ksubrmnn just wanted to get your confirmation on this change before merging it


Try out gcc 6

Assess if Peloton compiles and / or what changes are needed to get it to compile

Default on Ubuntu 18.04 is GCC 7 and that worked for me when I was testing a couple of weeks ago.

Seems to compile okay if we update to C++14, too (default on GCC6 and GCC7).

C++14 is good on (Apple) Clang too. Sounds like we have a decent list of toolchain updates to discuss at the end of summer (LLVM, C++14, GCC, etc.).


osd_disk_prepare: Replace sleep 5 by a wait_for_file call

this sleep 5 has been added to fix a no such file or directory
error but making a call to wait_for_file() in
apply_ceph_ownership_to_disks() is a better fix.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test ceph_ansible-jewel-centos7-dedicated_journal