Proper support for namespaces and other enhancement/fixes

Fix internal assembly load from (it wasn't actually loading from the specified path) and make sure we load API assemblies from res://.mono/assemblies/ instead of other locations.
Support globs in csproj includes.
Do not generate API project GUIDs randomly.
Fix msvc warnings in mono module.
Proper namespace support: Parse C# script namespace and class. Fixes #17409

The parser to extract the class name and namespace is an improved version of the one uploaded by @reduz (4613cb7874a7a6beb3195bebf06d7ecfbd2454c3), with a few modifications and fixes.
If this turns not to be a reliable solution, we can always switch to Microsoft.CodeAnalysis.CSharp.
DNM: This PR adds a tiny dependency for the editor (https://github.com/dazinator/DotNet.Glob), and I'm still trying to figure out where the license info should go.

Building on windows 10 failed for me:
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error : Unable to load the service index for sour
ce https://api.nuget.org/v3/index.json. [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTool
s.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   An error occurred while sending the req
uest [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   Error: TrustFailure (The authentication
 or decryption has failed.) [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   The authentication or decryption has fa
iled. [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   Invalid certificate received from serve
r. Error code: 0xffffffff800b0109 [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.cspr
oj]
Done Building Project "D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj" (Restore
 target(s)) -- FAILED.

Done Building Project "D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.sln" (Restore;Bu
ild target(s)) -- FAILED.

Build FAILED.

"D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.sln" (Restore;Build target) (1) ->
"D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj" (Restore target) (2) ->
(Restore target) ->
  C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error : Unable to load the service index for so
urce https://api.nuget.org/v3/index.json. [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTo
ols.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   An error occurred while sending the req
uest [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   Error: TrustFailure (The authentication
 or decryption has failed.) [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   The authentication or decryption has fa
iled. [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.csproj]
C:\Program Files\Mono\lib\mono\msbuild\15.0\bin\NuGet.targets(104,5): error :   Invalid certificate received from serve
r. Error code: 0xffffffff800b0109 [D:\godot-master\build\godot\modules\mono\editor\GodotSharpTools\GodotSharpTools.cspr
oj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.26
scons: *** [bin\GodotSharp\Tools\GodotSharpTools.dll] RuntimeError : GodotSharpTools build failed
Traceback (most recent call last):
  File "C:\Python27\Scripts\..\Lib\site-packages\scons-3.0.0\SCons\Action.py", line 1197, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File "D:\godot-master\build\godot\modules\mono\SCsub", line 231, in mono_build_solution
    raise RuntimeError('GodotSharpTools build failed')
RuntimeError: GodotSharpTools build failed
   Creating library bin\godot.windows.tools.64.mono.lib and object bin\godot.windows.tools.64.mono.exp
scons: building terminated because of errors.

This PR adds a tiny dependency for the editor (https://github.com/dazinator/DotNet.Glob), and I'm still trying to figure out where the license info should go.

I don't see the dependency added in the thirdparty folder, is it downloaded at runtime? Usually the process should be to put the source files in thirdparty, document their provenance and license in thirdparty/README.md and add licensing details in COPYRIGHT.txt.
But if it's a dependency downloaded as a binary blob at compile time, I'm not sure how to handle that (apart from saying "Eeew" because I hate buildsystems that rely on downloading stuff from the Internet :P). I guess we should design a way for the Mono module to register new thirdparty components to add to the Engine singleton's license details (currently parsed from COPYRIGHT.txt at compile time).

Yes, it's downloaded at build time. The NuGet reference is here: https://github.com/godotengine/godot/pull/23162/files#diff-15a6ab61c9cc330d83e32426b12e15c6R34

NSTest2.zip
Works flawlessly, awesome :)

@neikeq#7308
mono_gc_handle.cpp
modules\mono\csharp_script.cpp(835): error C2065: 'DEBUG_ENABLED': undeclared identifier
modules\mono\csharp_script.cpp(843): error C3861: 'read_all_file_utf8': identifier not found
modules\mono\csharp_script.cpp(2608): error C3861: 'read_all_file_utf8': identifier not found
scons: *** [modules\mono\csharp_script.windows.opt.64.obj] Error 2
scons: building terminated because of errors.

scons p=windows target=release tools=no module_mono_enabled=yes -j3
When building export templates

@exts Fixed

Previous commit (dbaa22329761ce7a4d8bab291871b5b5ba359cbe) builds fine.
After this commit (d47cec43f2f4ef2cd6d1a0acf6e99a9dd8d31eef):
scons: *** [bin/GodotSharp/Tools/GodotSharpTools.dll] RuntimeError : Cannot find NuGet executable
Traceback (most recent call last):
  File "/usr/lib/scons/SCons/Action.py", line 1197, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File "/home/aaronfranke/workspace/godot/modules/mono/SCsub", line 291, in mono_build_solution
    raise RuntimeError('Cannot find NuGet executable')

When I compile, it generates several DLL files which are not in the repo and are not in .gitignore.

@hedgehog90 If you don't have certs configured yet nuget you will need to do something like this:
https://stackoverflow.com/questions/4926676/mono-https-webrequest-fails-with-the-authentication-or-decryption-has-failed/#49799509

@KellyThomas Thanks! That did the trick.

Docs updated: https://github.com/godotengine/godot-docs/pull/1911

Exporting doesn't work for me with 3.1 Alpha 2:
$ ERROR: connect: Signal 'confirmed' is already connected to given method '_confirmed' in that object.
   At: core/object.cpp:1463.
ERROR: load_from: FATAL: Condition ' !FileAccess::exists(p_path) ' is true.
   At: modules/mono/mono_gd/gd_mono_assembly.cpp:466.
Stacktrace:

@aaronfranke https://github.com/godotengine/godot/commit/9fa1e0b4153102913cddc6380207f5c43e6ebaac make sure you have that fix


incorrect command usage

Im trying to migrate from a dedicated server to a coop one.
and I keep getting this error
Your player save does not exist. Did you enter the correct new GUID of your player? It should look like "8E910AC2000000000000000000000000".
Did your player create their character with the provided save? Once they create their character, a file called "C:\Users\DeyFle\AppData\Local\Pal\Saved\SaveGames\76561198286082122\1C6BBC9D427EBB776F84C0B99145392E\Players/Players/00000000000000000000000000000001.sav" should appear. Look back over the steps in the README on how to get your new GUID.

I'm having the same error message when migrating from coop to dedicated server

I'm having the same error message when migrating from coop to dedicated server

same here.

The reason you're seeing this is probably because the script was used incorrectly. Probably has to do with how you're using the command. If you're still trying to fix this, please post the command you used.

Closing due to inactivity


Proposal: Add some public documentation/information on how language 'projection' works in WinRT

I know that WinRT components have interface definition files, which somehow enable the API for the component to be used by multiple languages e.g. C#, C++. However, I can find very little information on the finer details of how this works. I've heard rumours that the way this works might change with something called cswinrt, but it would still be useful to know the principles and some more details, in some centralised documentation or guidance. Ideally a developer would not need to know this, but it seems like there are quite a few reasons to know the details such as

the performance implications of using WinRT types vs .Net types etc
how it's possible that weird behavior like #2047 can occur
what sort constraints to bear in mind when submitting proposals and feature requests etc

My knowledge of the lower-level workings of C# and programming in general is pretty limited, so forgive some of the naive questions I have, but here are a few of them.

A broad overview of how it works. My understanding is we have .idl files, which produce .winmd files, and from there I'm a little lost. For C#, does it generate very simple wrapper classes from winmd files, for example
class MyClass{
IntPtr ptrToUnmanagedObject;
public void DoSomething{
//somehow invoke DoSomething method on unmanagedObject
}
}

What about for C++?

How are structs projected? Is it the same as classes? So would there be a backing object, involving marshalling, in which case presumably performance in .net is much worse than using a .net struct. How is something like #2047 possible? In addition, how is it possible that a type like WIndows.Foundation.Numberics.Vector2 can be mapped to System.Numerics.Vector2. Presumably, if a WinRT API returns a System.Numerics.Vector2, it's genuinely a System.Numerics.Vector2 and not some strange wrapper as in the case of #2047?

How do enums work? Are there performance implications with using enums defined via WinRT rather than in .net? Also, I've noticed that declaring a type involving a WinRT enum, even something like an empty list of enums, causes the corresponding winmd file to load even if the enum has not yet been initialized. Is that expected? If I want to increase performance and also ensure DLLs etc are lazy-loaded, is it better to write a separate .net version of the enum and then convert between the two when needed?

What are the implications for garbage collection, especially involving event handlers. I've read that XAML has a complicated system for exsuring garbage collection works correctly, but does this extend to custom WinRT components. For example, if I write a component in C++/WinRT that has an event, and I add some class member as a handler for the event in C#, do I need to remove the handler when I no longer need the class instance in order to avoid a memory leak?

Why is there the restriction on inheritance when writing WinRT components that are submitted to the store? Is there any guidance on the alternatives, e.g. if I don't care about being about to inherit from my class in the consuming project, then should I use multiple inheritance in C++/WinRT as a way of avoiding writing a wrapper around a class that uses standard C++ inheritance? Or is there a better way?

This might be drifting a bit away from the main topic, but when I return an array from a C++/WinRT component, how is it converted into a .net object? For example, I store a large byte array in a com_array and I have a 'Detach' public method that swaps it into a new com_array and returns that. I would like to know if that avoids any copying or not, i.e. can .net somehow start managing the memory directly or is it copied.

Do we need to worry about ABI compatibility in any way? I guess as developers we will be shipping any components we write with our apps so it doesn't matter, and this will also be the case for WinUI 3, but I assume that UWP in general has to worry about it. It would be useful to know what restrictions this places on API changes or additions that we might want to request.

There are probably more questions but I've forgotten them. Also, feel free to turn this issue into a question instead of a feature proposal.

@kennykerr @Scottj1s for FYI

@benstevens48 The documentation on this topic is slim (links below). I have bubbled this up to the appropriate team/folks.
The Windows Runtime (WinRT) type system
Windows Metadata (WinMD) files


[ASA-3199] Clarify output option

If the user enters a path that doesn't exist, we default to the < root project >/target/< root project name >.irx path.
Adding this line to match update to docs.

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


remove zod version from docs

Hey, I just made a Pull Request!
The specific zod version was added in in the PR: https://github.com/backstage/backstage/pull/16818 because of TS incompatibility errors. However, with the zod upgrades in https://github.com/backstage/backstage/pull/17078 this is no longer needed.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@clairelcasey is zod needed at all now when the issue is fixed, I did not see any usages but I might missing something :)

It's clearly used in the examples 😅 I was checking the wrong place.


Database locks while running pyodbc statement

When running large queries through pyodbc, the database (not just the selected tables) becomes locked for all users.
For example pyodbc would be running the following query:
SELECT FieldA, FieldB, geometry::UnionAggregate(ShapeBuffer) AS ShapeDissolve
INTO   Tmp_Table
FROM (SELECT FieldA, FieldB, Shape.STBuffer(10) AS ShapeBuffer FROM FeatureClass) AS TblA
GROUP BY FieldA, FieldB

While the above query is running which takes several minutes (large and complex feature class), we cannot connect to the database using SQL Server Management Studio or ArcGIS.  Arc will freeze and SSMS gives the error: "Lock request time out period exceeded. (Microsoft SQL Server, Error: 1222)".

That does sound weird, but it is not a pyodbc issue per se - it is simply passing the query to the database and you should see similar behavior if you ran the query in SQL Server Management Studio.
Is Tmp_Table an actual temporary table?  If so, SQL Server will create it in the tempdb and I believe there are more locking issues there.  If so, try creating a work table in your actual DB and select into it instead, at least to test the theory.
One thing pyodbc does is start a transaction automatically, but I don't think you'll see any difference if you set cnxn.autocommit=True before running the query, but you might try it.
Otherwise it could be that you simply are out of CPU or memory on the database server.  Have you checked that?

"SELECT ... INTO ..." puts more than just one lock on the database in SQL Server.  Generally, you can't create other objects in the database whilst this kind of statement is running, which might explain the timeout you're getting.  Hence, "SELECT ... INTO ..." is something I try to avoid for large amounts of data.  Try running your code above in two steps, as follows:
-- generate the temporary table (this should be very quick)
SELECT TOP 0 FieldA, FieldB, geometry::UnionAggregate(ShapeBuffer) AS ShapeDissolve
INTO Tmp_Table
FROM (SELECT FieldA, FieldB, Shape.STBuffer(10) AS ShapeBuffer FROM FeatureClass) AS TblA
GROUP BY FieldA, FieldB;

-- populate the temporary table
INSERT INTO Tmp_Table
SELECT FieldA, FieldB, geometry::UnionAggregate(ShapeBuffer) AS ShapeDissolve
FROM (SELECT FieldA, FieldB, Shape.STBuffer(10) AS ShapeBuffer FROM FeatureClass) AS TblA
GROUP BY FieldA, FieldB

Thank you @mkleehammer and @keitherskine, you were both correct.  Tmp_Table is an actual table and cnxn.autocommit=True didn't effect the locking.  But generating the table with Top 0 and then running INSERT INTO did release the database lock.  Thanks again.


Make Dataset.map not unpack namedtuple

The map method of tf.contrib.data.Dataset unpacks iterables before passing them to the mapped function. This is quite convenient. However, currently this also happens for namedtuples, which IMHO is not what one would expect. Consider, for example, the following code:
import tensorflow as tf
from tensorflow.contrib.data import Dataset
from collections import namedtuple

Example = namedtuple("Example", ["label", "attributes", "bounding_box", "image"])

def read_example(serialized_example):
    # parse example
    label = ...
    attribute = ...
    bounding_box = ...
    image = ...

    return Example(label, attribute, bounding_box, image)

def preprocess_example(example):
    image = some_function(example.image, example.bounding_box)
    return example._replace(image=image)

dataset = tf.contrib.data.TFRecordDataset(filename)
dataset = dataset.map(read_example)
dataset = dataset.map(preprocess_example)

This does not work because the namedtuple instance is unpacked and its fields are passed as separate arguments to preprocess_example. So currently one has to reassemble the namedtuple manually. This is not a big deal, but it would be more convenient if namedtuples were not unpacked, as is also the case for dictionaries.
This can be easily achieved by making _should_unpack_args return False for namedtuples, as is done in this pull request.

Can one of the admins verify this patch?

I signed it!

Added a test case and simplified as suggested to return type(args) is tuple. This is indeed simpler. And also more explicit, i.e. now it is clear that only tuples will be unpacked. Before it was everything what is a Sequence but not a list or dict, which for example included a deque.
@mrry I am wondering why in InterleaveDataset on line 2129 nest.is_sequence is used in contrast to _should_unpack_args. This means that e.g. dictionaries will be unpacked. Is this the intended behaviour?

Thanks for adding the test! Code looks great now.
As for InterleaveDataset, I think that's a bug (probably my oversight when I added it...): we should be consistent across the various function-taking transformations, so it would be great if you could change it to use _should_unpack_args() as well.

Changed InterleaveDataset to use _should_unpack_args.

Awesome, thanks!
@tensorflow-jenkins test this please.


Support Arbitrary User IDs for OpenShift

VNC can not start and create log due to permissions issue
--- x11vnc loop: waiting for: 102
error opening logfile: /home/selenium/x11vnc.log
open: Permission denied
 --- x11vnc loop: sleeping 500 ms ---
[1527593837.027][DEBUG]: DevTools request: http://localhost:12696/json/version
[1527593837.027][DEBUG]: DevTools request failed

$ ls -la /home/selenium
total 0
drwxr-xr-x 4 selenium nogroup 39 Apr 18 06:55 .
drwxr-xr-x 3 root     root    22 Apr 18 06:55 ..
drwxr-xr-x 2 selenium nogroup 18 Apr 18 06:55 .fluxbox
drwxr-xr-x 2 selenium nogroup  6 Apr 18 06:55 Downloads
$

Regarding to docs https://docs.openshift.com/container-platform/3.3/creating_images/guidelines.html
Fixed by changing group to 0
RUN chgrp -R 0 /home/selenium && \
    chmod -R g=u /home/selenium

@sunofsparda ok, accepted.


backtrace: use CURRENT_REGS when in interrupt context

Summary
Backtrace CURRENT_REGS when in interrupt context.
Impact
NA
Testing
BES2003

@zyfeier Can you add some background here explaining why and the value of the change?

@zyfeier Can you add some background here explaining why and the value of the change?

@davids5
When panic occurs in the interrupt context, xcp.regs for the running task is not updated, so need use CURRENT_REGS to replace.

@zyfeier - That make sense. Thank you.

@zyfeier is this patch ready for review?


Maturity Levels

Consider how elements within SHR might have maturity levels, giving others a notion of the stability of elements and/or namespaces.  This is somewhat complicated by the compositional nature of SHR.  Is it possible for an element with high maturity to have a field that is an element with low maturity?

Moved to https://jira.mitre.org/browse/SHRO-962.


[graph-playground] Lazily load environment variables

Fixes issue where .env variables are required, even if text-completion or google-search nodes are not being used.

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to documentation are included in the PR

Closing this PR as this seems to be addressed with the secrets logic.


neotree icons totally wrong

I've run all-the-icons-install-fonts, fonts were installed and fc-cache run, but still I get:

In my system (arch) there is also nerd fonts installed, maybe this could be conflicting but I don't want to uninstall that package anyway or to get emacs packages tweaking my system/user level font configuration.


Developers can show price impact for chain abstraction

Problem:
Developers should know what fees they can display and have easy endpoints.
Solution:
All the same fees AND add price impact for swaps.

Relayer fee

Router fee
Estimated time to complete
Slippage tolerance
Est. price impact from swaps [new]

Complexity: 8
See the discussion in Sprint Poker #36
Powered by Parabol

How can we estimate the time to complete ?

Add SDK to chain abstraction SDK.

depri for stability and token

closing in favor of #4395


parser.hpp requires print_parser declaration for custom parsers

When I tried adding a print_parser for my custom parser, ultimately I had to add it before including parser.hpp like this:
namespace boost::parser
{
template <typename T>
struct custom_parser;
namespace detail
{
template <typename Context, typename T>
void print_parser(Context const& context, custom_parser<T> const&,
                  std::ostream&, int components = 0);
} // namespace detail
} // namespace boost::parser

#include <boost/parser/parser.hpp>

And then I could define it later after my parser class. Also, I didn't see anything in the documentation about adding a parser_interface and only managed to find that by reading through other parsers in the parser.hpp file.
I think this could be avoided by adding a default noop print_parser (not sure what this is used for anyway). Or maybe being able to turn this feature off would be good.
template <typename Context>
void print_parser(Context const&, auto const&, std::ostream&, int component = 0)
{
}

This is by design.  The ability to be able to trace your parse is essential to writing anything but the simplest of parsers.  When you add a new custom parser, it is expected that you also add a function that enables its instrumentation.  If you make that a noop, well, "bad programmer!"


CORe50 Dataset + reporthook for download in Utils

Hi! This PR would add support to the CORe50 dataset, recently published @ CoRL2017.
I've also added a simple report hook function (credit to Shichao) in the Utils.py file for showing up the status of the download which can be useful for big Datasets.
Note: This implementation it's not super efficient since similar to the ImageFolder  class but good for small RAM devices. I plan to update the code with a more efficient pre-loading strategy in the near future.

Hi @alykhantejani! Thank you for the feedback!
Maybe I misunderstood your suggestion but using tqdm with urllib is not that straightforward. You still have to create a report hook function since there's no external loop in a urlllib request (see an example here).
Moreover, with just a 10-lines function we can provide download details also to users who don't have tqdm installed. Your call!

Will this PR ever get merged? It's pending for more than a year now...


ECC Driver does not check error regs

The ECC driver does not check error_global_intr_r or error_internal_intr_r. These should be checked anywhere we wait on ecc_status.valid since valid will not be set in the error case. Without this check, the ROM/FW will hang if an error is encountered.
This was noticed when forcing the public key to a bad value to cause the pairwise consistency check to fail for the FIPS tests.

Agreed that we should fix this. I don't think there's a way for anyone other than the vendor to force this behavior in ROM (public keys must be fused in the manifest), but I think it can be forced in RT via the mailbox verify command.


Support for Nix Flakes

Support for Nix Flakes (https://nixos.wiki/wiki/Flakes)
I know NixOS is a bit opinionated but if there is a Dockerfile, this might also be helpful for people (at least it was for me)

I agree, nothing can get lower than a Dockerfile. This is a very welcomed addition.


Rewrite GetClusterSubnets() using EC2 specific API

This PR moves rgt.GetClusterSubnets() to ec2.GetClusterSubnets() and updates the GetClusterSubnets() function to use EC2 specific API instead of Resource Groups Tagging API.
Since there is no VPC endpoint for  Resource Groups Tagging API, this change will make the controller be able to run inside an internal VPC subnet without internet gateway.
Please let me know if I need to update anything.
Thanks,

/assign M00nF1sh

/ok-to-test

/retest

@lanSs
This overall looks good to me and should works.
Just one nit before merge, would you help test change to
in := &ec2.DescribeSubnetsInput{Filters: []*ec2.Filter{
		{
			Name:   aws.String("tag:kubernetes.io/cluster/" + c.clusterName),
			Values: aws.StringSlice([]string{"owned", "shared"}),
		},
                {
			Name:   aws.String("tag: + tagSubnetType),
			Values: aws.StringSlice([]string{"", "1"}),
		},
	}}

I believe it should works and more efficient if you have a lot subnets in your VPC. (we had customers with 100+ subnets) :D

@M00nF1sh
Thank you very much for spending time reviewing it. Your suggestion totally make sense and I have updated the code and the test suite.
Sorry, between my first version and your last review, I should have revisited the hasClusterTagHelper, having the tagSubnetType as parameter make the whole functions easier and we don't need the helper function anymore :)

/approve

/lgtm


add new time varying figure, edits for clarity to r4ss section

Addresses #29 and also includes some small edits to make the r4ss section more clear (but no changes in content).

I'm honestly not sure, maybe it's a bug in the action to add artifacts...


Gradle cache not saved

I've noticed that my github actions don't seem to be using/saving Gradle's cache anymore.  Will initialize empty.

and here's my actual config
      - name: Setup Java
        uses: actions/setup-java@v3
        with:
          distribution: 'zulu'
          java-version: ${{ env.JAVA_VERSION }}
      - name: Gradle cache
        uses: gradle/gradle-build-action@v2
      - name: Build Javascript app
        run: |
          set -o pipefail &&
          ./gradlew assemble

after which I get
Post job cleanup.
In final post-action step, saving state and writing summary
Cache is read-only: will not save state for use in subsequent builds.
Writing job summary

I haven't really made any changes to my config. Any ideas why this might not be saving the cache?

I do have a Java setup task but it doesn't use caching
      - name: Setup Java
        uses: actions/setup-java@v3
        with:
          distribution: 'zulu'
          java-version: ${{ env.JAVA_VERSION }}

I just noticed this which might explain the behaviour as I’m running this on a PR branch.
I’ll give it a try on my default branch and if it works I’ll close the issue 👍

I'm going to close this for now. Please comment if you think you've discovered a bug.


Automated cherry pick of #4150

Cherry pick of #4150 on release-1.30.

#4150: Ensure postProps is not null/undefined

/cc  @migbot

@migbot cherry-pick has eslint issues


DataSchema.equals does not account for different parse specs meaning the same thing

io.druid.segment.indexing.DataSchema#equals calls parser.equals(that.parser) which assumes the parse spec map representation is unique per "equal" parse spec impl.
With legacy dimension specs which were only strings, this was the case, but with the changes in https://github.com/druid-io/druid-api/pull/75 the map portion which is the parse spec dimension specification can be represented as an array of strings (legacy) or an array of maps.

@jon-wei fyi

@drcrallen this is really needed in 0.9.1?

@fjy it broke one of our unit tests in spark batch indexing, so yes

Since 74f4572bd49a04b4ca381fcd7b8f360c8ef52480 I don't think it's possible to have a semantic equals/hashCode impl for DataSchema that avoids creating the parser (which seems like a good thing to avoid… it'd be weird if equals/hashCode triggered that). Two semantically equivalent parsers could be made from two different maps. (even before druid-io/druid-api#75 this could happen because e.g. dimensionExclusions: [] and dimensionExclusions: null do the same thing)
Since it's not possible to get these methods right, I think we should remove them (verifying we don't need them in production code) and have the tests be a little more verbose.

Looking through production usages I don't see anything that would rely on equals/hashCode being semantic, so I think they're safe to remove. (could use a doublecheck on that though)

@gianm we still need a way to test DataSchema serde

Test the fields for equality individually? There's only 4, the test wouldn't be THAT verbose. That's probably more honest than implementing an equals method that doesn't (and really, can't) work properly.

@gianm maybe a better solution is to remove the parser field from the data schema, since the parser just defines how to read the data, but has nothing to do with the actual schema

It unfortunately does have to do with the schema, because the parser defines both the data format and the dimensions for the schema. IMO that is a bit weird though, it should probably only define the format.
Unrelated to that, it's also weird that inside the parser, the ParseSpec sometimes defines the data format (if you're using the string input row parser) but sometimes doesn't (if you're using any other input row parser).
Anyway, I do think both of those are weird and we could do a better API, but that is how it works right now, and changing either would be backwards incompatible…

What do you all think about this approach for making equals() work?
https://github.com/druid-io/druid/pull/2927

It came up in the dev-sync, but the origination of the separation comes from https://github.com/druid-io/druid/pull/1695


[lint] Fixed lint warnings

Description
Fixed lint warnings
Checklist
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [$CATEGORY] (such as [Doc], [Feature]])
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[x] Code is well-documented
[x] To the my best knowledge, examples are either not affected by this change,
or have been fixed to be compatible with this change
[ ] Related issue is referred in this PR
[ ] If the PR is for a new model/paper, I've updated the example index here.

I have merged these changes by hand.


BLIP-2 onnx support

I would like to request support to convert the blip-2 model for onnx conversion.
I have tried to convert the model using torch.onnx.export method but there are issues as the input to the forward method is a dictionary and not a tensor per say.
Would it be possible to provide a script to do this conversion? Or alternatively if the model itself is able to split into vision_model and text_model (which is the case in the huggingface implementation of blip-2), so that the dummy_input to the torch.onnx.export method can be a tensor.
Thanks!

+1

Potentially relevant issue: https://github.com/pytorch/pytorch/issues/94280

I have the same request for BLIP-2 in onnx

https://docs.openvino.ai/2022.3/notebooks/233-blip-visual-language-processing-with-output.html
I found it , but its really complicated

@prankshtain @jethrolow  here how you can export BLIP to onnx.
#Code from https://huggingface.co/Salesforce/blip-image-captioning-large
import requests
from PIL import Image
from transformers import BlipProcessor, BlipForConditionalGeneration

processor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-large")
model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-large")

img_url = 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg'
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert('RGB')

# conditional image captioning
text = "a photography of"
inputs = processor(raw_image, text, return_tensors="pt")

with torch.no_grad():
    torch.onnx.export(
        model,
        tuple((inputs["pixel_values"],inputs['input_ids'],inputs['attention_mask'])),
        f="blip_model.onnx",
        input_names=['pixel_values', 'input_ids','attention_mask'],
        output_names=['caption'],
        do_constant_folding=True,
        opset_version=13,
    )

@mjay2016 Hey hi, I too was exploring on converting the blip model to onnx format and I am able to do the conditional caption model's conversion like you suggested.
But I am unable to do the "unconditional caption" type model conversion..
img_url = 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg'
raw_image = Image.open(requests.get(img_url, stream=True).raw).convert('RGB')
unconditional image captioning
inputs = processor(raw_image, return_tensors="pt")
with torch.no_grad():
torch.onnx.export(
model,
tuple((inputs["pixel_values"])),
f="blip_model.onnx",
input_names=['pixel_values', 'input_ids','attention_mask'],
output_names=['caption'],
do_constant_folding=True,
opset_version=13,
)
This is not working..


Multiple domain for same container

Hi,
that would be really good to config multiple domain ex: (i have my internet domain and my local domaine)
Like this :

domain: [wiki.domain.com, wiki.app.lan]
containerName: WikiJS
proxyHost: <IP_ADDRESS>
proxyPort: 3000
timeoutSeconds: 300

Good idea, I implemented a first version of this in the dev image tag:
docker pull ghcr.io/itsecholot/containernursery:dev
Please try it out and report any bugs you find

To add multiple domains use the YAML syntax for arrays, for example:
proxyListeningPort: 80
proxyHosts:
  - domain:
      - dev.domain.com
      - dev2.domain.com
    containerName:
      - WikiJS
    proxyHost: localhost
    proxyPort: 5800
    timeoutSeconds: 10
    stopOnTimeoutIfCpuUsageBelow: 50

Thanks you, love your soft !


Slight delay in scrolling to bottom when view first appears in iPhone 5S

Slight delay in scrolling to bottom when view first appears in iPhone 5S. I m using the latest pod file. Do you have any idea why this issue is happening?

Thanks @riazhazan !
Looks like this is a dupe of #1288. Going to close.


ETA for private- and presence- interests?

¡Hola!
Your documentation states

[...] Note that the hyphen (-) is not a valid character in interest names. This character is reserved for the possibility in future of marking interest names with prefixes (such as private- or presence-).
https://pusher.com/docs/push_notifications/reference/client_api#v1-clients-client_id-interests-interest_name

Do you have an ETA for private- and presence- interests being available as an open beta?

Hi!
No, we don't have that planned currently. What people usually do to implement "private-ish" interests is by using hard to guess names instead. I hope that helps you.

Hi,
I want to subscribe private interest with same name as my websocket channel and event name like my websocket channel name is private-userid and my event name is actual_event_name. So when I try to use interest name as private-userid_actual_event_name, it gives me above error that hyphen is not allowed.
So what interest name is ideal for private and presence subscriptions

There is no private and presence interests at this time, so what you can do is just use names that are hard to guess and/or random to get around it.


uaadb.port does not use bosh link from postgres release

When deploying a UAA job, we (CloudOps PWS) specified a link to the postgres release as the backing DB:
properties:
       uaadb:
         consumes:
           database: postgres

Looking at https://github.com/cloudfoundry/uaa-release/blob/develop/jobs/uaa/templates/config/uaa.yml.erb#L110, it appears that uaa release extracts the address from this link.
However, it does not extract other DB properties. Therefore when we deploy this job (using a link from postgres release), we get the following error:
Task 3867054 | 23:19:12 | Error: Unable to render instance groups for deployment. Errors are:
  - Unable to render jobs for instance group 'credhub'. Errors are:
    - Unable to render templates for job 'uaa'. Errors are:
      - Error filling in template 'uaa.yml.erb' (line 134: Can't find property '["uaadb.port"]')

We will work around the problem by not using links for the time being. Thank you.

fyi: we have created a story in our backlog to track this work: https://www.pivotaltracker.com/story/show/153850388


Add filetype support for WebAssembly text format

Problem
Vim does not support WebAssembly text format
Solution
This PR adds support for the WebAsembly text format to Vim.
WebAssembly is a new executable format for browsers. Since WebAssembly spec is defined by W3C, the spec is one of long live web standards.
https://webassembly.org/
I had created a project vim-wasm to support the text format. And today, I refined it following WebAssembly Spec. Now it can highlight the text format very well.
This is an example of highlighting using my project vim.wasm:

Codecov Report

Merging #3264 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3264      +/-   ##
==========================================
- Coverage   76.57%   76.54%   -0.04%
==========================================
  Files          93       93
  Lines      136843   136843
==========================================
- Hits       104793   104742      -51
- Misses      32050    32101      +51

Impacted Files
Coverage Δ

src/gui_beval.c
55.02% <0%> (-6.56%)
:arrow_down:

src/gui_gtk_x11.c
47.38% <0%> (-0.8%)
:arrow_down:

src/window.c
81.87% <0%> (-0.49%)
:arrow_down:

src/os_unix.c
57.2% <0%> (-0.37%)
:arrow_down:

src/normal.c
74.35% <0%> (-0.08%)
:arrow_down:

src/getchar.c
75.16% <0%> (-0.05%)
:arrow_down:

src/screen.c
76.71% <0%> (-0.05%)
:arrow_down:

src/gui.c
49.58% <0%> (+0.05%)
:arrow_up:

src/ex_cmds.c
79.89% <0%> (+0.08%)
:arrow_up:

src/terminal.c
73.96% <0%> (+0.12%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

@brammool Thank you for quick your quick reviews! I addressed the points at c4555b53f5646458f75d1306e83fec2f857e0045

I confirmed these changes are included in master branch. Thank you.


charactor ";" in cookie,  whern record the traffic, flow: HTTPFlow item value change the charactor ";" to ","

Problem Description
charactor ";" in cookie,  whern record the traffic, flow: HTTPFlow item value change the charactor ";" to ","
cookie data: NSID=xxdsfadag ; NSID_EXISTS=1
changes to : NSID=xxdsfadag, NSID_EXISTS=1
the separator ";" changes to ","
Steps to reproduce the behavior:
sample code :
def response(self, flow: HTTPFlow):
    request_header_dict = {}
    for key, value in flow.request.headers.items():
        if key == "cookie":
            print(value)
        request_header_dict[key] = value

System Information
Paste the output of "mitmproxy --version" here.
Mitmproxy: 9.0.1
Python:    3.10.6
OpenSSL:   OpenSSL 3.0.7 1 Nov 2022
Platform:  macOS-13.0.1-x86_64-i386-64bit

I'm unable to reproduce:
$ mitmproxy --version
Mitmproxy: 10.1.1
Python:    3.10.7
OpenSSL:   OpenSSL 3.1.3 19 Sep 2023
Platform:  macOS-13.6.1-x86_64-i386-64bit
$ cat > cookiedump.py
def response(flow):
    request_header_dict = {}
    for key, value in flow.request.headers.items():
        if key == "cookie":
            print(value)
        request_header_dict[key] = value
$ mitmdump -s cookiedump.py
[01:41:56.143] Loading script cookiedump.py
[01:41:56.146] HTTP(S) proxy listening at *:8080.
[01:43:03.339][[::1]:60709] client connect
[01:43:03.365][[::1]:60709] server connect google.com:80 (<IP_ADDRESS>:80)
NSID=xxdsfadag ; NSID_EXISTS=1
[::1]:60709: GET http://google.com/
          << 301 Moved Permanently 219b
[01:43:03.386][[::1]:60709] client disconnect
[01:43:03.387][[::1]:60709] server disconnect google.com:80 (<IP_ADDRESS>:80)

This is with the request http_proxy=http://localhost:8080 curl http://google.com -H 'cookie: NSID=xxdsfadag ; NSID_EXISTS=1' -vvv. I've also tried https, as well as http2, neither of which show the comma.
Could you provide more detailed replication steps?


Cache completion decisions in global completion script

Any completion decision that requires starting a python interpreter an additional time to decide how to complete the script ends up being very slow. This could be mitigated by using the caching I described in #101.

this would be a very greate improvement! Invoking the interpreter every time makes it slower right now so adding a cache would help a lot.

Thank you for your interest in argcomplete. This issue is not about caching of completions in general, but about avoiding multiple invocations of the Python interpreter in the global completion hook.
If you want to propose a caching mechanism for completions, please make a complete technical proposal (including a discussion of how such a cache would be stored, managed, and invalidated). We abandoned previous attempts to define this because we think it's a difficult problem to get right.

Ok that makes sense, I'm not very familiar with argcomplete at all and only thought about caching because a cli tool I use uses it and takes a while on my system to get its completion (may not even be because of argcomplete), so I was wondering if something like caching was in the works. Thanks for making such a useful tool!


Some terminal enhancements

Whilst testing spaceneovim I came across several terminal related issues. Most of these issues  are rather easily fixed and will drastically improve the experience of using terminal splits in spaceneovim.

Using WinCmd's in neovim terminal splits
Entering insertmode when entering a terminal split using WinCmd's
closing the terminal split when the terminal process exits (or when a user manually types exit in the prompt)

Regarding the first issue, I've had this issue at first in my own neovim config aswel. The problem is that the terminal doesn't execute vim commands unless you have specific tnoremap bindings. as the documentation states:

Navigating to other windows is only possible by exiting to normal mode, which
can be cumbersome with <C-> keys.

I solved this in my own config using:
 " Window navigation between terminal and nonterminal {{{
    tnoremap <silent> <leader>wh <C-\><C-n><C-w>h
    tnoremap <silent> <leader>wj <C-\><C-n><C-w>j
    tnoremap <silent> <leader>wk <C-\><C-n><C-w>k
    tnoremap <silent> <leader>wl <C-\><C-n><C-w>l

    tnoremap <silent> <leader>wv <C-\><C-n>:vs<cr>:startinsert<cr>
    tnoremap <silent> <leader>ws <C-\><C-n>:split<cr>:startinsert<cr>
"}}}

The second issue can be solved with a single autocmd
au BufEnter * if &buftype == 'terminal' | :startinsert | endif

The third issue, I'm not sure how and if we can fix that..

When looking into this some more I discovered that there are terminal bindings defined in layers/+nav/windows/config.vim however they make use of wincmd command which isn't executed correctly when you are in insertmode in the terminal.
So replacing these with the approach I've outlined above should remedy this. I'll create a PR for this tonight.

Move to the correct repo at https://github.com/Tehnix/spaceneovim-layers/issues/27.


Items too small in Menu on iOS

Hi,
When using the Menu component, it appears that we have a weird behavior on Safari iOS (I'm using an iPhone XR).
Here's a screenshot of the component page on Safari:

The icons are way too small, so the component is unusable on an iPhone. Is there a way to fix this?
Thanks in advance,
Martin

@Maartin10 What version of iOS are you using?

Assign issue to me ...I'd like to fix

and one more

Model | SM-A520F
Brand | samsung
Operating System | ANDROID
Screen Size | 5.2"
Screen Resolution | 1080x1920
OS Version | 8.0.0

I found something good, maybe you can debug with this value:
global.window.devicePixelRatio
when this value is 1, everything is okay, but when it is different (I tried in genymotion) everything is blowed up like my answers.
I hope it will be useful. I'm curious about the answer.

@arasovic this seems like a different issue. Can you please open a new issue and provide a code example (GitHub repo or Tailwind Play page) so I can reproduce the problem?

@boyinrust sure. The problem is using :where() selectors to make the menu components responsive because without :where selectors, the last child element will get responsive prefixes instead of the parent.
What's your plan to fix this without breaking the responsive menu orientation?

I think the issue only exists on iOS 13 and earlier which Safari doesn't support CSS :where()
Based on latest App Store statics (January 11, 2022) I think it's safe to ignore the percentage of users who use old Safari on old iOS versions:
72% of all devices introduced in the last four years use iOS 15

72% iOS 15
26% iOS 14
2% Earlier

63 of all devices use iOS 15

63% iOS 15
30% iOS 14
7% Earlier

If you're really concerned about those users, keep daisyUI on version 1.24.0 or below.
Honestly I can't stop using new CSS features because of old browsers.


Add instructions on how to use with serverless-offline

Adding a brief instructional section on how to use this plugin with serverless-offilne. I had to dig around a while to discover that you need the --location flag.

@hassankhan Just merged #132 which also updates the serverless offline section. We should compare the two and see how they fit together.

Should we perhaps add a note mentioning if you use custom paths for your webpack.config.js, you should remember to update the --location flag accordingly?

Restructured serverless-offline doc in #144 and integrated everything discussed or changed here. So this one is obsoleted and can be closed.


JFrog CLI command for promoting Release Bundles V2 is not throwing an error for the asynchronous call when the operation failed

Describe the bug
When the user without the necessary permission performs the build promote for the Release Bundles V2 asynchronously, it gives a success output , while it actually fails.
However while executing the same command synchronously results in the 403 error
This misleads that the asynchronous call shows "Created" when in fact, the operation failed.
Current behavior
asynchronous call where the output is success: --> BUG
jf rbp --signing-key=test rb3 3.3 PROD {   "repository_key": "release-bundles-v2",   "release_bundle_name": "rb3",   "release_bundle_version": "3.3",   "environment": "PROD",   "included_repository_keys": [     "demo-maven"   ],   "created": "2024-02-23T11:19:30.212Z",   "created_millis":<PHONE_NUMBER>212 }
synchronous call where it results in the error --> Working as expected
jf rbp --signing-key=test rb3 3.3 PROD --sync 16:49:35 [🚨Error] server response: 403 Forbidden {   "errors": [     {       "status": 403,       "message": "No permission to write an artifact in path: demo-maven/lint-gradle-31.0.0.jar"     }   ] }
Reproduction steps
1.Create User with only the "read" permission for the repository and "promote/distribute" release bundles permission for the build.
2.Publish build to the Artifactory
jf rt bp
3.Create release bundle v2
4.Promote the build asynchronously and you will see the success output while the operation fails.
jf rbp --signing-key=<key-pair-name> <release-bundle-name> <release-bundle-version> <environment>
Expected behavior
When the user without necessary permission to promote the release bundle v2 asynchronously, it should throw the error as we observe while performing synchronously.
JFrog CLI version
2.52.10
Operating system type and version
linux
JFrog Artifactory version
7.77.5
JFrog Xray version
No response

Hi @ujwalpoovaiah ,
This is the expected behavior, since permissions are asserted as part of the execution of the promotion.
JFrog CLI only wraps the Promotion REST API which behaves in the same matter.
When running the command asynchronously, user should not expect any form of error if the request was sent successfully.
Let me know if that makes sense, or if there's anything else I can assist with.
Thanks


Building fails: import cycle not allowed

I tried to build restic on ubuntu 12.04 with go version go1.6.2 linux/amd64
Output of restic version
none...
Expected behavior
It builds :)
Actual behavior
# go run build.go
import cycle not allowed
package main
        imports fmt
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports unsafe
        imports runtime

Steps to reproduce the behavior
Try to build it.
Not entirely sure why this happens.

Hi, thanks for raising this issue. I'm unable to reproduce it in the environment you described, and to be honest I'm quite puzzled why this error happens. The error tells us that main (from restic) imports fmt (go stdlib), which imports a bunch of other libs from the stdlib. And this leads to an import cycle. Which should not happen, because it's the most widely tested library for Go in existence.
I've got a few things for you that may help debugging this:

Paste the output of: echo $GOROOT; echo $GOPATH; go env
How did you install Go?
Into which folder did you check out the restic repo?

Hi,
I installed go by downloading the prebuild packages. The Go version delivered by the OS was very old - so i preferred this option.
 wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
 tar xfvz go1.6.2*
 mv go /usr/local/go

Go env output>
# echo $GOROOT; echo $GOPATH; go env
/root/goroot/
/usr/local/go/
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/usr/local/go/"
GORACE=""
GOROOT="/root/goroot"
GOTOOLDIR="/root/goroot/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

The folder i checked out restic was just my home dir .. in this case /home/ubuntu/restic. Does this matter?

Something on your system is messing with the variable $GOROOT... try the following:
unset GOROOT
go run build.go

I can't see why GOROOT needs to be set at all in your situation. Does that help?

Oh wow that solved it. I'm quite new to go.
Im not sure why I set that - Something during the installation / usage of the system go version told me to do so. At least in my memory.
Anyways, sorry for opening a bug created by my own misconfiguration and thanks for the quick help!

I'm glad to help. If you stumble upon the page which instructed you to set GOROOT, it'd be good to fix that.
At least now people who have the same error can find a solution...

I'm getting the above error while building go as
import cycle not allowed
package main
imports fmt
imports errors
imports internal/reflectlite
imports runtime
imports internal/bytealg
imports internal/cpu
imports runtime
Kindly help me with this error


[CONTRACTS] - yarn hardhat priceReset

This implementation doesn't make sense. Its primary purpose is to automatically set the price to 1.00 by removing uAD liquidity.
Bonus if I can input the price e.g. `yarn hardhat priceReset --to 1.001" and it'll do the math and reset to the specific price with the same logic.
@hpiyankov let me know if you have any inputs on the reset strategy, but I believe that removing single sided liquidity is the best approach.

attention bounty hunters
the hardhat task to edit is the following. it could use a ton of cleanup. the end result is that the operator should be able to simply call the task and it'll reset the price.
https://github.com/ubiquity/ubiquity-dollar-development/blob/main/contracts/dollar/tasks/priceReset.ts
the parameters should still include --dryRun as a safety switch

This bounty is taken by Liu


Fix some confusion in C API documentation

The documentation for the blaze_user_addrs_free function states that addresses should have been allocated by blaze_normalized_user_addrs, but then mentions that for safety they should come from blaze_normalize_user_addrs_sorted.
Mention both functions in both contexts for completeness and to avoid unnecessary confusion.

Trivial change; going ahead with the merge once CI passes.


guidance_report.json from default flow is very large

After running the default flow on Mistral in vLLM, there is a large (>100MB) report json in the directory I ran the commands. This seems quite heavy-weight, especially for a json file.
Instead, I would expect there to be a light csv or something summarizing the report that is displayed in the terminal so I can easily load my results into a spreadsheet or pandas dataframe for post-processing.
Commands:
vllm serve mistralai/Mistral-7B-Instruct-v0.3
guidellm --target "http://localhost:8000/v1" --model mistralai/Mistral-7B-Instruct-v0.3

Directory output:
guidellm git:(main) ll
total 114M
-rw-rw-r-- 1 mgoin mgoin 3.4K Aug 27 15:56 CODE_OF_CONDUCT.md
-rw-rw-r-- 1 mgoin mgoin 2.4K Aug 27 15:56 CONTRIBUTING.md
-rw-rw-r-- 1 mgoin mgoin 7.1K Aug 27 15:56 DEVELOPING.md
drwxrwxr-x 4 mgoin mgoin   95 Aug 27 15:56 docs
-rw-rw-r-- 1 mgoin mgoin 114M Aug 27 16:19 guidance_report.json <<
-rw-rw-r-- 1 mgoin mgoin  12K Aug 27 15:56 LICENSE
-rw-rw-r-- 1 mgoin mgoin   16 Aug 27 15:56 MANIFEST.in
-rw-rw-r-- 1 mgoin mgoin 7.3K Aug 27 15:56 pyproject.toml
-rw-rw-r-- 1 mgoin mgoin  11K Aug 27 15:56 README.md
drwxrwxr-x 4 mgoin mgoin   59 Aug 27 15:56 src
drwxrwxr-x 6 mgoin mgoin  104 Aug 27 15:56 tests
-rw-rw-r-- 1 mgoin mgoin 1.7K Aug 27 15:56 tox.ini
drwxrwxr-x 2 mgoin mgoin   66 Aug 27 15:56 utils

We have opened a ticket to adjust how we handle this and trim what we save. For now, though, I've defaulted it not to save the output file and instead rely on the stdout.

Is there a way to output the results into a simple table or csv for pasting into a spreadsheet?

Yes, printing out to CSV will be included as part of that work


Open PTR 2.6.6

Please open PTR D3planner for PTR 2.6.6.

Up now.

Live versions and PTR dont work properly. Builds dont loads with rights stats.

Especially when you hover the mouse over an item, there is an error shown in the dev console in Chrome.
data.js:19 Uncaught TypeError: Cannot read property '0' of undefined
    at buffs (data.js:19)
    at Array.<anonymous> (core.js:15)
    at Object.DiabloCalc.addSkillBonuses (core.js:15)
    at Object.computeStats (core.js:4)
    at Object.DiabloCalc.itemPerfection (core.js:3)
    at Object.d [as showItem] (core.js:3)
    at HTMLDivElement.<anonymous> (core.js:10)
    at HTMLDivElement.handle (script.js:1)
    at HTMLDivElement.dispatch (script.js:1)
    at HTMLDivElement.y.handle (script.js:1)

Should be fixed now.

Thanks.


Remove default seed value from run

If we want people to be able to call run without explicitly specifying a seed, perhaps generate a (pseudo) random one if rng_key is None?
https://github.com/CDCgov/multisignal-epi-inference/blob/b3337c1ca0e8c06027c84bd401c0735fd60c46cf/model/src/pyrenew/metaclass.py#L312

That has been my approach in the past.


FZ scaling bug in multi monitor scenario

Originally reported by @brenca
Steps to reproduce
Primary monitor at 125% or any other scaling that is not 100%
Second monitor on the left of the primary monitor.
Open FZ editor on second monitor and select the Columns layout.
Expected behavior
The three columns should fit the monitor.
Actual behavior
The columns are shifted to the right and cover part of the primary monitor.
If the second monitor is also scaling at 125% the layout is shifted to the left.
Screenshots
More details here: https://github.com/microsoft/PowerToys/pull/520

Is #520 the PR for the fix?

The bug was reported in the PR, but the PR is not yet ready since it doesn't fix the problem for all cases.

3 screens, left at 125% center at 125%, right at 200%. Screenshot is from center screen.
Posting on the off chance it's helpful.

@deathbyvegemite
thanks.

starting investigation on this

Let's keep it open until is released.

Just associated it with the .14 release. Maybe when we get nightly builds off the build farm, we can do validation then close issues sooner


[image_picker: iOS] Expose allowsEditing field of UIImagePickerController.

Description
Currently image picker for iOS doesn't allow user to edit image after they picked one. To add this possibility UIImagePickerController in iOS has a boolean field allowsEditing which is now can be passed from plugin interface.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@googlebot I fixed it.

@googlebot I fixed it.

Thanks for the submission! We apologize for the long delay in triaging this PR. We’re in the process of overhauling our PR triage system to respond much more quickly, as well as working through the backlog.
The title indicates that this is a draft, so I'm going to change the PR state accordingly; once it's ready for review please change the state back. I would also encourage you to file an issue for discussion. E.g., it would be useful to discuss the arguments for making this configurable vs. always enabling it, and also how this setting does, or doesn't, apply to other platforms (which will impact the API design).


Multi Band Spatial Filtering should consider also SSD as an alternative to proc_filterbank

-> check line 43 (proc_multiBandSpatialFilter): allow ssd and flt
it could be smth like this, in a nicer way
if strcmp('flt',dat.clab{1,1}(1:3)
flt_ix = cellfun(@(x) strfind(x,'flt'), dat.clab)
elseif strcmp('ssd',dat.clab{1,1}(1:3)
flt_ix = cellfun(@(x) strfind(x,'ssd'), dat.clab)
end
-> also verify the computing structure line 53

working on (new function: proc_ssdbank)


feat: handle non-successful transaction statuses

#1374 introduced subscriptions to transaction status changes, but it didn't handle the various states a transaction could change into. This PR introduces that.

Closing because this is related to #1588 which needs to be fleshed out a bit more. The receipts should be properly decoded and be put into the error message.


demos: Update cube.cpp DISPLAY_KHR code

The physical display rendering code didn't compile due to drift in vulcan.hpp. Update for these changes.
Tested on i.MX8M / Vivante GC7000L.
(same change is needed in https://github.com/LunarG/VulkanSamples, originally noticed it there)

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

I pushed an analogous change to cube.c.

Nice catch!  Thanks a bunch, and keep the fixes coming.


FFM-8625 Update replay proxy monitoring docs after memoize cache changes

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here: https://github.com/harness/ff-proxy/pull/165

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Suggestion on enhancing installation-related parameter values

On linux, if we default PREFIX to /usr/local in Makefile.base, then user can invoke all MDBM command-line tools anywhere right after make install. Whereas if we use PREFIX ?= /tmp/install, auto-complete command using tab is not working.
A Troubleshooting section is added to README.build to make it easier for user to install MDBM.

Can you update PR so it builds with current code?  Thanks!

Hi @QubitPi if you do something like:
PREFIX=/usr/local/ make
You'll get what you want.
The whole point of VAR ?= value vs VAR = value is that the former only sets the value if it's not already set. So that block of conditional sets that you changed was to allow overrides from the commandline. e.g. PREFIX=/usr/local PERL_PREFIX=/opt make would let you install most things to /usr/local, but put the perl stuff in /opt.


Multiple Menus rendered to page causes Maximum update depth exceeded.

Current behavior
In my app, I have a table and each row renders a kabab menu.  I noticed recently that when there are more than ~20 rows, I get a warning in my browser console during dev:

Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.

The exact number of menus needed seems to vary.  In my app, it was 24, but in the codesandbox, it's something like 60.
Steps to reproduce the bug

Open sandbox: https://codesandbox.io/p/sandbox/affectionate-merkle-28qvm9
See console logs

Expected behavior
I think I should be able to render as many menus as needed.
Workaround
The menus still seem to work, but the warning is concerning.
Possible solutions
No response

related to https://github.com/ariakit/ariakit/discussions/3118 potentially

Passing unmountOnHide to Menu appears to resolve the problem. It's also better not to render everything all at once if you're dealing with so many rows.
However, the warning shouldn't be there. I'll investigate this.

I initially believed that #3241 had fixed this, but I was wrong. Nevertheless, it appears to be a false positive warning from React. I'll keep this open just in case.

This is still happening. Here is a repro where I'm making my own toast handler with ariakit and if you add a few toasts and then click to close one, this error happens. https://stackblitz.com/edit/vitejs-vite-xc4mhe?file=src%2FApp.tsx

@bitofbreeze I believe you have a different issue, likely the same as #3402. When multiple dialogs are open and you interact with one, all the other dialogs will internally attempt to close simultaneously.
If you don't want the dialog to close, I recommend rendering <Dialog onClose={(e) => e.preventDefault()}>. #3402 should be fixed in v0.5.0.


Increase E2E_TESTS_NUMBER_PROCESSES to 3

Resolves HASH_SIGN_FOLLOWED_BY_ISSUE_NUMBER
What is being addressed
Increase E2E_TESTS_NUMBER_PROCESSES from 1 to 3 to speed up the e2e tests

/test-extended

/test-extended

/test-extended

/test-extended

/test-destroy-env


Update Dockerfile

To continue to do nothing otherwise this container would not keep doing nothing.

hi,
when I run this docker image, docker does something:
$ docker run 97792ab50ef2
docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"tail\": executable file not found in $PATH": unknown.
ERRO[0001] error waiting for container: context canceled

could you please update your PR so that docker does nothing again? I think this commit would break functionality for most of our users

@sinback I think the problem may be with your usage. See: https://github.com/kelseyhightower/nocode#building-the-application

@danyalaytekin OH GOD NO! YOUVE ADDED SOME CODE!

@sinback I think the problem may be with your usage. See: https://github.com/kelseyhightower/nocode#building-the-application

This fixes my issue, thanks!


better auth, welcome message shows name

welcome message displays the users first name when they are logged in, added "role" and "isLoggedIn" column to the Users db. changed the handleNewUser auth function, added disabled buttons unless everything is valid and passwords match.

Looks good


Problem with Swiftkey

When you use Swiftkey keyboard the popup will go down when clicked, if clicked twice, the app will be stuck on a black screen

Any response ?? Same issue here...

@tharak did you solve this?

@tharak  @helenamcfreire if you guys have solution for this problem, feel free to submit PR. Currently do not have time to look at it.

@vikmeup do you have any idea of when you will have time to look at it ? Next week, month, year, ... ? :)

oh, sorry for my delay on responding. I did not solved, it happens on a limit number of users, and we tell them to change the keyboard before opening the popup. I dont have time to fix this right now but I did some research this might help:
"How do you go about creating a popup? Does your popup listen to NSNotificationCenter notifications and adjust its position based on the KeyboardWillAppear notification? Generally a UIView placed onto the screen wont move unless told to do so, and so it must be using the keyboard height notification.
One thing to bear in mind is that 3rd party keyboards fire multiple notification (as opposed to system which fires one) with varying heights. Theres a few stack overflow posts about how to get the height of a third party keyboard which might be your solution.
To give some more context, a third party keyboard is given a UIInputViewController from the system, so we don't inject our keyboard into the window hierarchy but rather add ourselves to a system provided view. "


feat(regex): Anime episode matching

Some anime release groups follow the standard episode formats and match correctly. However a very large portion does not. They usually follow "[group] title - episode" with variations on that. The goal here to search the non standard anime using "title episode". This gives the best matching and is how sonarr does it (They do a bunch of simultaneous searches using all title variations and search types, often 5+ per indexer). However since we are looking for cross seeds an not just searching, we can assume the naming is the same with one caveat.
Often release will include the English and Japanese title as "title (altTitle)" with no consistency with which goes where. Whatever in the parenthesis is matched as altTitle which could also be used for the search query. Since we don't want to do multiple searches, we could randomly chose between the two if altTitle is present. That should allow both to be searched eventually once excludeRecentSearch rolls over. Some trackers might rename the title to be only in English with their standard so we should cover both.
These searches are also helped by removing all [] brackets as well as Japanese style brackets. The regex accounts for these but it would be helpful even in non anime releases. https://regex101.com/r/m8AO1m/3
I tried to make this match only the anime style but in order to catch as many conventions as possible it can match movies and ep/season regex. So this must be used after those fail.
I tested this across 2000+ releases on nyaa with some old releases and isolated all the unique conventions. It should parse pretty much every thing that EP_REGEX fails to get. In the test string I have some marked as failures as they won't match reformatted titles but they should be rare. I also couldn't find a reasonable way to match altTitle at the start or end which was less common.
https://regex101.com/r/F9uPn0/2

Sonarr does not search episode titles except for specials

Not interested in leveraging outside services as a requirement for standard features, if the torrent names don't come up from a search it kinda is what it is in my view.
This is why I didn't bother with anime and still don't think it's a venture worth pursuing to MUCH extent.
If @ShanaryS can provide something contained that increases cross-seeds without detrimenting anything else, he's free to pursue it.
Just be advised that we weren't unaware of the lack of functionality as it relates to anime, we didn't want to deal with the headaches.


312 allow for pca as data transformer

This adds basic support, but will need to be cleaned up, tested and documented in the future.

Codecov Report

Merging #313 (b6f8b14) into main (46fcf87) will decrease coverage by 10.42%.
The diff coverage is 46.66%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff             @@
##             main     #313       +/-   ##
===========================================
- Coverage   80.43%   70.02%   -10.42%
===========================================
  Files          79       73        -6
  Lines        1774     1725       -49
===========================================
- Hits         1427     1208      -219
- Misses        347      517      +170

Files Changed
Coverage Δ

src/parallelization/threads.jl
55.10% <0.00%> (+2.16%)
:arrow_up:

src/counterfactuals/encodings.jl
58.62% <25.00%> (-12.81%)
:arrow_down:

src/data_preprocessing/counterfactual_data.jl
70.68% <75.00%> (-5.24%)
:arrow_down:

src/counterfactuals/search.jl
83.87% <100.00%> (ø)

src/evaluation/evaluate.jl
80.00% <100.00%> (ø)

... and 32 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Use values_as_in_model to extract the parameters from a Transition

See https://github.com/TuringLang/Turing.jl/issues/2195 and https://github.com/TuringLang/DynamicPPL.jl/pull/588

This PR depends on features introduced after the breaking release of DPPL and so tests will not pass until https://github.com/TuringLang/Turing.jl/pull/2202 has gone through

For reference: used the new DebugContext to identify the bug in the tests and it was very convenient:)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/mcmc/Inference.jl
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
1527

💛  - Coveralls

@yebai @devmotion tests are passing and everything seems good (will bump patch version once it has gone through to avoid re-running tests)
You happy with it? I'd also like to point to #2215


Tests Fail

Built with rakudo brewed today:
==> Fetching DateTime::Math
Use of uninitialized value %ENV of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in sub git-fetch at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/A36DB4DD6E30E31F0409D703B4392DA5E8CE3A4E:46
==> Building DateTime::Math
==> Testing DateTime::Math
Use of uninitialized value %ENV of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.  in block  at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/56A2FE43AE962A734AE0B520B19C164B5E28FEA3:84
Ambiguous call to 'infix:«>»'; these signatures all match:
:(DateTime:D \a, DateTime:D \b)
:(DateTime $a, DateTime $b)
  in block <unit> at t/math.t:27

# Looks like you planned 17 tests, but ran 8
t/math.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/17 subtests

Test Summary Report
-------------------
t/math.t (Wstat: 65280 Tests: 8 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 17 tests but ran 8.
Files=1, Tests=8,  4 wallclock secs ( 0.02 usr  0.01 sys +  2.85 cusr  0.35 csys =  3.23 CPU)
Result: FAIL

The tests still fail. The reason is, that rakudo ships these infix operators in core now, but with a very slightly different signature. That's why it doesn't give a redeclaration error while compiling, but a "ambiguous call" while testing.

The latest pull request I just merged should be the fix for this issue.

And this one has an outstanding issue. Let's check this out.


Access modifier

The TypeScript access modifier is missing, which gives the visibility of a class from only a folder (package), not outside.

#5228


The API is returning events with modified fields set in the future

We've encountered a problem while importing events from the API. When making a request using the modified query parameter, the API responds with an extensive list of events that have modified fields set in the future. As a result, we're currently receiving hundreds of events on a daily basis from the API response, which seems to be unintended behavior.
steps to reproduce

Make a request to the API with the query parameter modified, e.g. https://data.ec2u.eu/events/?.offset=0&.limit=100&>modified=2023-08-21

expected behaviour
The response should consist of events filtered by the modified property. The events should have a valid modified date.
actual behaviour
The response includes events not properly filtered by the modified property. The events have invalid modified dates (set in the future).
would you share any observation or additional context about the bug?
Example event:
Looking For
https://data.ec2u.eu/events/4b99f7476ec94873d285076fa35f72cc
The API returns the event with created and modified fields set in the future:
    "created": "2024-03-07T23:00:00.0Z",
    "modified": "2024-03-07T23:00:00.0Z",

@knoan

The issue is with the source RSS feed: the ingestion pipeline populates creation/modified timestamps on the basis of the RSS pubDate field, which in the case of future events seems to be automatically set the previous midnight.
No easy workaround unless we opt for ignoring the timestamps.
Unfortunately we don't have a direct contact with the site maintainers.


Redhat6 x86 playbooks not 100% functional

I ran into a few issues creating a machine from scratch yesterday.

cmake requires c++11 support, which #801 has covered
fix conditional such that openjdk7/8 are installed
correct java alternative for x86 as its openjdk and not the ibm package that installed
compile expat from source, such that cpanm install of XML parser works
ccache fails to uncompress...seems to be working fine now when doing it manually though

I think PR #806 covers the issue I raised, minus ccache which is working now so a non-issue.

Can you give the errors that are showing on your install? I don't remember those from the last time I ran the playbooks and it's not entirely obvious what's going wrong from the problem descriptions.. The exception is the IBM java package issue which has also been reported in https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/799

It seems expat is available if your starting rh6 release is new enough.  My original base was 6.3, where this error occurred.  With 6.10, expat.x86_64 v2.0.1-13.el6_8 is available.  I'm fine with removing the expat changes if there is an agreement that the playbooks will only run against the latest of a specific release.
ccache is still not working for me even with 6.10 machine.
TASK [../AdoptOpenJDK_Unix_Playbook/roles/ccache : Download ccache.tar.gz] *****
fatal: [aurar1.fyre.ibm.com]: FAILED! => {"changed": false, "dest": "/tmp/ccache.tar.gz", "msg": "Request failed: <urlopen error [Errno 8] _ssl.c:492: EOF occurred in violation of protocol>", "state": "absent", "url": "https://www.samba.org/ftp/ccache/ccache-3.4.2.tar.gz"}
...
"msg": "Request failed: <urlopen error [Errno 8] _ssl.c:492: EOF occurred in violation of protocol>"

@Willsparker I'll assign this to you to see if you've hit the ccache issue in the playbook during your CentOS6 testing :-)

Related: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/696

@sxa555 Issue still seems to persist using CentOS6. 'wget' ing the URL does work though, the error message says:
TASK [local_srcinstall : Download source tarball from "https://www.samba.org/ftp/ccache/ccache-3.4.2.tar.gz"] ***
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for www.samba.org:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine  (the python executable used (/usr/bin/python2.6) is version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]) or you can install the `urllib3`, `pyOpenSSL`, `ndg-httpsclient`, and `pyasn1` python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [Errno 8] _ssl.c:492: EOF occurred in violation of protocol."}


Feature request: JFrog Artifactory as a deployment target

Hi!
We have a requirement for storing all production artifacts in a private artifact repository. Could you confirm and update the README if the construct also works with private artifact repositories and not just with AWS ECR.
Best regards,
Markus

@markusl  cdk-ecr-deployment support adding credential to push/pull docker images via creds parameters.
The format of creds is <user>:<password>. I think you can try it.
new ecrDeploy.ECRDeployment(this, 'DeployDockerImage', {
  src: new ecrDeploy.DockerImageName(imageUri, creds: '<user>:<password>'),
  dest: new ecrDeploy.DockerImageName(`${repo.repositoryUri}:latest`),
});

@wchaws thanks for the quick reply. We will try this out. If private registries are supported it would be good to also mention this in the "Features" list in the README

Issue with credentials that way is that those are then put as plain text to template. It would be nice to be able to refer to those from Sercret manager/parameter store.


while executing "./tools/dist_train.sh configs/softgroup_s3dis_backbone_fold5.yaml 1"

Hi, I changed number of GPUs to 1 as I have only one GPU and then I started finetuning the pretrained HAIS point-wise prediction network (backbone) on S3DIS. I got firstly the following error with unchanged config file. I later changed batch size in dataloader: train: batch size to 1 and again started training. The following error is for unchanged softgroup_s3dis_backbone_fold5.yaml.
2022-04-26 16:02:13,337 - INFO - Epoch [1/20][120/1020]  lr: 0.004, eta: 9:33:41, mem: 5561, data_time: 0.14, iter_time: 0.84, semantic_loss: 0.5760, offset_loss: 1.3002, loss: 1.8762
Traceback (most recent call last):
File "./tools/train.py", line 185, in
main()
File "./tools/train.py", line 178, in main
train(epoch, model, optimizer, scaler, train_loader, cfg, logger, writer)
File "./tools/train.py", line 48, in train
loss, log_vars = model(batch, return_loss=True)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(input, ++kwargs)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 963, in forward
output = self.module(*inputs[0], ++kwargs[0])
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(input, ++kwargs)
File "/home/shrijan_pf/SoftGroup/softgroup/model/softgroup.py", line 97, in forward
return self.forward_train(**batch)
File "/home/shrijan_pf/SoftGroup/softgroup/util/utils.py", line 171, in wrapper
return func(*new_args, ++new_kwargs)
File "/home/shrijan_pf/SoftGroup/softgroup/model/softgroup.py", line 109, in forward_train
semantic_scores, pt_offsets, output_feats = self.forward_backbone(input, v2p_map)
File "/home/shrijan_pf/SoftGroup/softgroup/model/softgroup.py", line 268, in forward_backbone
pt_offsets = self.offset_linear(output_feats)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, ++kwargs)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/modules/container.py", line 141, in forward
input = module(input)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, ++kwargs)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 98, in forward
return F.relu(input, inplace=self.inplace)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/nn/functional.py", line 1442, in relu
result = torch.relu(input)
RuntimeError: CUDA out of memory. Tried to allocate 106.00 MiB (GPU 0; 7.79 GiB total capacity; 5.49 GiB already allocated; 29.00 MiB free; 6.74 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
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 30288) of binary: /home/shrijan_pf/anaconda3/envs/softgroup2/bin/python
_Traceback (most recent call last):
File "/home/shrijan_pf/anaconda3/envs/softgroup2/bin/torchrun", line 33, in
sys.exit(load_entry_point('torch==1.11.0', 'console_scripts', 'torchrun')())
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 345, in wrapper
return f(args, kwargs)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/run.py", line 724, in main
run(args)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/run.py", line 718, in run
)(*cmd_args)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 131, in call
return launch_agent(self._config, self.entrypoint, list(args))
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 247, in launch_agent
failures=result.failures,
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
./tools/train.py FAILED
Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2022-04-26_16:02:26
host      : BQ-DX1100-CT2
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 30288)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
Then I changed the batch size to  1 and started training again. After few epochs I got the following error.
2022-04-26 17:14:51,755 - INFO - Epoch [4/20][540/4080]  lr: 0.0038, eta: 5:41:24, mem: 3137, data_time: 0.00, iter_time: 0.14, semantic_loss: 0.1476, offset_loss: 0.4536, loss: 0.6012
Traceback (most recent call last):
File "./tools/train.py", line 185, in
main()
File "./tools/train.py", line 178, in main
train(epoch, model, optimizer, scaler, train_loader, cfg, logger, writer)
File "./tools/train.py", line 44, in train
for i, batch in enumerate(train_loader, start=1):
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 530, in next
data = self._next_data()
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1224, in _next_data
return self._process_data(data)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1250, in _process_data
data.reraise()
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/_utils.py", line 457, in reraise
raise exception
AssertionError: Caught AssertionError in DataLoader worker process 1.
Original Traceback (most recent call last):
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 52, in fetch
return self.collate_fn(data)
File "/home/shrijan_pf/SoftGroup/softgroup/data/s3dis.py", line 77, in collate_fn
return super().collate_fn(batch)
File "/home/shrijan_pf/SoftGroup/softgroup/data/custom.py", line 216, in collate_fn
assert batch_id > 0, 'empty batch'
AssertionError: empty batch
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 30691) of binary: /home/shrijan_pf/anaconda3/envs/softgroup2/bin/python
Traceback (most recent call last):
File "/home/shrijan_pf/anaconda3/envs/softgroup2/bin/torchrun", line 33, in
sys.exit(load_entry_point('torch==1.11.0', 'console_scripts', 'torchrun')())
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 345, in wrapper
return f(*args, **kwargs)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/run.py", line 724, in main
run(args)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/run.py", line 718, in run
)(*cmd_args)
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 131, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/home/shrijan_pf/anaconda3/envs/softgroup2/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 247, in launch_agent
failures=result.failures,
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
./tools/train.py FAILED
Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2022-04-26_17:14:56
host      : BQ-DX1100-CT2
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 30691)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

**Solved.**As I have to share my GPU with another students as well so it was cuda memory  error. I put again batch size to 2 and successfully finished both parts of training. I also had to use skip_validate for the later part of training as it was also showing me Cuda memory error.

Hello, due to issues with relative import, I have changed the "from. import ops" in softgroup/ops/functions. py to "from softgroup import ops". But when I ran './tools/dist_train. sh configs/softgroup_s3di_skbone_fold5. yaml 1', an error message was reported: AttributeError: module 'softgroup. ops' has no attribute' voxelize '_ idx'。 Do you know what the reason is? Thank you in advance


There are two extra actions in "Deployments" context menu after installing App Service extension unified build

OS: All
Azure Resource Extension Build Version: 20220421.32 (unified)
Azure App Service Extension Build Version: 20220421.6 (unified)
Azure Function Extension build Version: 20220421.8 (unified)
Regression: Not a regression
Repro Steps:

Expand a Function App node in Azure Resources view.
Configure deployment source is None.
Right click the "Deployments" node to open its context menu.
Check whether there is no extra action in the context menu.

Expect:
There is no extra action in the context menu.

Actual:
There are two extra actions in the context menu.

Closed by #3141


Develop cpp

beta1.0 released!
Hey there!
I have completed adding new language!
So auto-build update beta1.0!

✌


feat: Support Event Source Mapping metrics_config, provisioned_poller_config, and Lambda Recursion Loop

Description
Supports arguments aws_lambda_event_source_mapping.metrics_config, aws_lambda_event_source_mapping.provisioned_poller_config and resource for aws_lambda_function_recursion_config.
Motivation and Context

https://github.com/hashicorp/terraform-provider-aws/pull/40322
https://github.com/hashicorp/terraform-provider-aws/issues/40303
Closes: https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/643

Breaking Changes
No.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 7.17.0 :tada:


Validation should work even if we use xi:include in the documents

Samples in "test-samples\xi-include"

Fixed in commit: 21be3f6faba4d2020037526e9752a276907e232a

You need to use "instanceof" instead of obj.getClass().toString().
But ideally you should not use the special "equals" method to compare incompatible objects. You can create for example a special method "linkPointsToID(Link link, ID id)".

Thank you for advice. I will fix it in the next commit.

Fixed in commit: 4750d51a04d218c3d2a1d16f4a198443075c1b6c


[BUG] There is no logo in the contact main page

Description
Missing popshop logo in the contact main page
Screenshots

Any additional information?
please assign me @pa
What browser are you seeing the problem on?
Microsoft Edge

Congratulations, @jayanththalla! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

I can see the logo in your ss tho :/


Is there a way to list files and folders?

Pretty much what the title says. Maybe I'm doing something wrong but when I do gdrive list it only lists a (single) certain folder and some random files while everything else is ignored.
I read a couple of similar issues here like this and  this one.
It's a nice application but unusable for me right now.
Thank you.

Yes you can use this string:
drive list -m 1000 --absolute -q "mimeType = 'application/vnd.google-apps.folder'  and trashed = false"
you can delete -m 1000 if you have less than 30 directories and --absolute if you don't want the full path

drive list --query " 'IdOfParent' in parents"
will list the items in a folder.  How do you do get the ID of the parent ID (folder in question).  Why you use the list command.  If you caught on to the fact there is a bit of a catch 22 then worry no longer.  You can also use
drive list --query " 'root' in parents"
to get a list of objects in the root folder

Try: gdrive list -m 100


Private Link Domain for Azure Data Factory

Hi there,
clould you please confirm the following entry:

Private link resource type / Subresource
Private DNS zone name
Public DNS zone forwarders

Azure Data Factory (Microsoft.DataFactory/factories ) / portal
privatelink.azure.com
azure.com

Isn't there an 'adf' included somewhere?
Best regards,
Michael

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

ID: a88af182-32aa-a8f3-359d-b92ae1cfb8c7
Version Independent ID: 01ce07fc-4bc2-def5-9ecd-a80330ad9488
Content: Azure Private Endpoint DNS configuration
Content Source: articles/private-link/private-endpoint-dns.md
Service: private-link
GitHub Login: @mblanco77
Microsoft Alias: allensu

@mw8er, Thanks for reaching out. We will investigate and update this thread.

@mw8er, Appreciate your patience. We are working on editing the document accordingly. It would take some time for the changes to get reflect over the doc.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Dead link https://www.visualstudio.com/en-us/get-started/share-your-xcode-projects-vs

Found in release-notes/2012/sep-17-team-services.md

Fixed


App center code-push internal error!

Description
Please describe the issue you are facing using the CLI.
Repro Steps
Please list the steps used to reproduce your issue.

log into account
go to distribute > codepush

Expected behavior
should show me stages or production lists
Details

Is there a particular beacon/command that you are having trouble with?

appcenter codepush release-react -a EnTechCS/Chappie -d Staging

Which version of the App Center CLI are you using?

2.13.4

Which OS version did you experience the issue on?

Windows 11

What command line/shell are you using?

vs code terminal

What version of Node.js and NPM/Yarn are you using?

v16.15.1

Appcenter website

Code when trying to push
PS C:\Users\Abdullah\Desktop\Programming\company\Chappie\Chappie> appcenter codepush release-react -a EnTechCS/Chappie -d Staging
Detecting android app version:

Using the target binary version value "0.0.8" from "android\app\build.gradle".

Running "react-native bundle" command:

node node_modules\react-native\local-cli\cli.js bundle --assets-dest C:\Users\Abdullah\AppData\Local\Temp\code-push202334-67940-1erp9k1.ij9i\CodePush --bundle-output C:\Users\Abdullah\AppData\Local\Temp\code-push202334-67940-1erp9k1.ij9i\CodePush\index.android.bundle --dev false --entry-file index.js --platform android
warn Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
Welcome to Metro v0.72.3
              Fast - Scalable - Integrated
info Writing bundle output to:, C:\Users\Abdullah\AppData\Local\Temp\code-push202334-67940-1erp9k1.ij9i\CodePush\index.android.bundle
info Done writing bundle output
info Copying 119 asset files
info Done copying assets
Converting JS bundle to byte code via Hermes, running command:

node_modules\react-native\sdks\hermesc\win64-bin\hermesc.exe -emit-binary -out C:\Users\Abdullah\AppData\Local\Temp\code-push202334-67940-1erp9k1.ij9i\CodePush\index.android.bundle.hbc C:\Users\Abdullah\AppData\Local\Temp\code-push202334-67940-1erp9k1.ij9i\CodePush\index.android.bundle -w

Releasing update contents to CodePush:

Error: {"message":"internal error","err_message":"read ECONNRESET"}

Hello @abdullahIsa,
I see that you getting "ECONNRESET" error in logs. This error means that the TCP connection was unexpectedly closed by the server. This can be caused by various reasons, such as network issues, server-side problems, or misconfigurations.
Also, you can see that AppCenter code push service is experiencing issues right now.
Please, check the status page and try again later, once the status page will be green.

Hello @abdullahIsa, I see that you getting "ECONNRESET" error in logs. This error means that the TCP connection was unexpectedly closed by the server. This can be caused by various reasons, such as network issues, server-side problems, or misconfigurations.
Also, you can see that AppCenter code push service is experiencing issues right now. Please, check the status page and try again later, once the status page will be green.

Hello thanks sure will be waiting for update.