Reconsider angular 2 import approach

First, thanks for good work!
We've started some work based off this package. I'm using WebStorm, and I've noticed some inconveniences as compared with "standard" angular 2 development:

WebStorm's "Auto import packages" functionality imports the packages erronously through statements like import NgStyle = common.NgStyle instead of import {NgStyle} from 'angular2/common. That happens because of the declared (global) modules common and friends in the typings directory. Note that this is not the case for angular 2 work outside of meteor in WebStorm, where types are auto imported correctly.
The TypeScript configuration is hidden in .tsconfig as compared to ```tsconfig.json`` which was a little surprise for me at least.
I wanted to compile my templates using another approach, which made me have to install a local modified version of this library to turn it off.
I love having the whole ng object declared on window for easier debugging, and thus I can include the UMD version of angular. This seems impossible with this package.

Now I played around a little, trying to get 1. to work well, and I realized that the moduleResolution property of tsc is just supporting "standard" and "node" modes. And Angular 2 is expecting you to use "node". Now this is all fine and dandy, if node_modules was supported. And, as a matter of fact it will be for meteor 1.3. If not already on the roadmap, may I suggest you/we go the more standard Angular 2 route for meteor 1.3 and enforce/encourage the user to install angular 2 the normal way in node_modules. And enforce/create/read the ts config from tsconfig.json. Thus it would be picked up by tools compatible with the typescript compiler (e.g. WebStorm) and completions would work just fine without any special typings or similar.
Regarding 2. and 3. it would be nice to be able to turn and off html and ts compilation. Either through package chains or configuration (don't know if it's possible, just read this https://meteor.hackpad.com/New-control-file-brainstorming-ZDBMiEQ6DZl). Maybe the whole cursor diff mechanisms can be refactored into its own library, and then I could reference that, and setup UMD inclusions and compilations through other means.
Regarding 4 - how about including the UMD version by default in non-productions builds? Again, maybe hidden behind some option.

tsconfig.is is now legitimately supported (but keep in mind only module: system available). Check out README.
Angular2 NPM will come after Meteor 1.3 release, no earlier; unless somebody else will help us to move it before.
With Meteor 1.3, I expect System.js will be replaced by CommonJS, which is compatible with UMD. So you will be able to use Angular 2 UMD version.

thanks for the reply @barbatus . Some comments:

I was probably unclear. My question was around .tsconfig vs tsconfig.json. Are you saying that tsconfig.json is not officially supported?
Totally reasonable. I could imagine helping with that though.
ok

I meant that TypeScript is now configured by tsconfig.json in this package.

@barbatus ok

With Meteor 1.3 and angular2-compilers package, moduleResolution: node is now by default.
You may try to play around with Angular2-Meteor NPM (check README for more info).
Also, if you want your own template compilation now - avoid installing angular2-compilers, and instead install you compiler. At the same time, if you still want to use ts-compiler that comes with angular2-compilers - just add barbatus:typescript separately to your project.
As for the version to be used with Meteor 1.2 (i.e., atmosphere package), It'll continue to have embedded TypeScript and HTML compilers for time being at least.
Otherwise, I consider this issue resolved. If you still have some info or troubles, consider commenting it here or even re-opening.


Install not working for SSMS v18.4

Tried to install it using the installer and manually but the extension does not seem to be loaded.
My SSMS version is the following:
SQL Server Management Studio						15.0.18206.0
Microsoft Analysis Services Client Tools						15.0.1567.0
Microsoft Data Access Components (MDAC)						10.0.18362.1
Microsoft MSXML						3.0 6.0
Microsoft Internet Explorer						9.11.18362.0
Microsoft .NET Framework						4.0.30319.42000
Operating System						10.0.18363

I have SSMS v18.5 and I have also attempted to install "SSMS Executor v2.0.3-alpha" by zip file and exe without success.
Zip file issue
I get the "The 'ExecutorPackage' package did not load correctly" error as described on the Known Issues page. If I click No and restart it doesn't work still (I don't see Execute Statement, etc in the Tools menu).
SQL Server Management Studio 15.0.18330.0
SQL Server Management Objects (SMO) 16.100.37971.0
Microsoft Analysis Services Client Tools 15.0.19040.0
Microsoft Data Access Components (MDAC) 10.0.17763.1
Microsoft MSXML 3.0 6.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 10.0.17763
Here is the last content from C:\Users\me\AppData\Roaming\Microsoft\AppEnv\15.0\ActivityLog.xml:
  <entry>
    <record>277</record>
    <time>2020/06/20 11:24:32.277</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [ExecutorPackage]</description>
    <guid>{A64D9865-B938-4543-BF8F-A553CC4F67F3}</guid>
  </entry>
  <entry>
    <record>278</record>
    <time>2020/06/20 11:24:32.282</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [ExecutorPackage]Source: 'mscorlib' Description: Could not load file or assembly 'file:///c:\program files (x86)\microsoft sql server management studio 18\extensions\ssmsexecutor\SSMSExecutor.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
System.IO.FileLoadException: Could not load file or assembly 'file:///c:\program files (x86)\microsoft sql server management studio 18\extensions\ssmsexecutor\SSMSExecutor.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'file:///c:\program files (x86)\microsoft sql server management studio 18\extensions\ssmsexecutor\SSMSExecutor.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
   at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
   at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)

System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.</description>
    <guid>{A64D9865-B938-4543-BF8F-A553CC4F67F3}</guid>

80004005 - E_FAIL

    <errorinfo></errorinfo>
  </entry>

I read this error message and decided to try editing SSMExecutor.dll.config file to see if that would make a difference (per Microsoft article), but it didn't change anything. Here is what I added to the config file:
  <runtime>
      <loadFromRemoteSources enabled="true"/>
   </runtime>

I am on a corporate PC with some restrictions, and although most of the time I am able to install software as administrator, could have something to do with my problem. The thing is that I have the extension working beautifully in SSMS 2016.  When I try to run the .exe I get an error "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item." I did check some basic permissions things such as making sure it is unblocked and my user has full control of the exe, but I'm not sure what else do do. I'm not too concerned about this as I think it is likely that something with the corporate restrictions is funky here. Mainly wishing the zip file method worked!

When you downloaded the zip, windows designates the extracted files as having been downloaded from the internet and in .NET 4 framework, it causes these to not be loaded.
You can work around the issue by changing the file properties:

Open file explorer and navigate to where you have the dll
Right-click on dll and select properties
Under "General" you will only see a "Security:  This file came from another computer..." with a unselected check box named "Unblock".  Select this and click apply, then ok.
Restart SSMS and all should be good.  No config file changes needed.


fixed ion-footer transition problem  #9121

Short description of what this resolves:

fixed the problem
Ionic Version: 2.x
Fixes: #9121
The ion-footer does not follow the move when the page is transitioning, but its children element are moved.

Hello, thanks for using Ionic! While we greatly appreciate your time and effort in making this PR we have decided to close this PR as it potentially creates breaking changes. You can see discussion about this in this issue. The TLDR is that the contents of footer should always be wrapped in an ion-toolbar.

Still not working in Ionic 4.3.0
<ion-footer>
  <ion-toolbar>
     FOOTER
  </ion-toolbar>
</ion-footer>


Remove current release documentation from the NixOS manual

Describe the bug
We've decided internally that this documentation would best live in a GitHub wiki at https://github.com/NixOS/release-wiki.
What's important is we can easily edit it as the release process changes. The current documentation being in the nixos manual makes no sense. This is a manual for users of NixOS, yet we also have "hey, if you were interested in seeing how we release nixos in detail there's this". This information seems to live best in a wiki anyway However, we should still have documentation about the nixos release structure in the manual. It just needs to be information that is important to the enduser to understand.

completed in #124418


Fix lockup in Linux when AEM status return is not successful

Fixes audioscience/avdecc-lib#350.
(Apologies for the unnecessary removal of blank lines in cmd_line.cpp. Something I didn't realize XED was doing until I saw the diff here.)

Looks good to me. @vronchetti - what do you think?

I saw this if statement wasn't in some of the original code so I went digging for a while and found that it was introduced into the master branch fairly recently.

Introduced here
Modified (slightly) here

Will this change affect the XMOS firmware upgrade functionality that fchin was trying to fix? I don't have an XMOS with firmware upgrade enabled at the moment so I can't verify on my end.
Might be worth testing before this change propagates too far.

I think the "Modified" is ok - it is just #define name changes.
The timeout handling for XMOS looks a little tricker to evaluate. Any XMOS guys following this thread?

Oops. Didn't realize new commits would hit this PR. I'll refrain from pushing to staging and keep to my own dev branch for now until this XMOS firmware update issue is resolved and/or you pull this PR. Apologies.

I'm going to give XMOS and @fchin 24 hours to comment before accepting this pull request.


[Job Exporter] Cannot get GPU status

Currently, job exporter uses a hard code path,
https://github.com/microsoft/pai/blob/0eb286f029d78865c24feb6aabcc990c44336c11/src/job-exporter/src/nvidia.py#L165-L166
which will get failed when starting pods by nvidia-docker without mounting driver path from host.

@binyang2014, do we still have this issue?

This issue already solved, close this issue.


Compressed creativity encountered an issue

forge 40.1.87 mc 1.18.2, create 5g
Compressed creativity 0.1.2 & 0.1.3

Thanks, I'll look into it

I also encountered that issue. From the crash log, the problem is this:
java.lang.IncompatibleClassChangeError: class com.lgmrszd.compressedcreativity.blocks.air_blower.AirBlowerTileEntity overrides final method com.simibubi.create.foundation.tileEntity.SmartTileEntity.m_7651_()V
It seems like latest Create update made SmartTileEntity.setRemoved final and move the unloading handling to SmartTileEntity.invalidate

Yep, that was the problem. Already moved invalidation of capabilities to other method (as well as added it in other blocks that missed it oops), will be releasing soon with the content update!

awesome :)

Please we need it asap(

Do you have ETA on release?

I have ETA and the ETA is now! :D


Slice all but last element of tensor

I'm trying to slice all but the last element of a tensor, equivalent to python's a[:-1]. However, I understand that tensorflow instead uses a start and size rather than start and end for slicing. My current workaround is to do something like this:
a = tf.constant([1, 2, 3, 4])
# b = [1, 2, 3]
b = tf.reverse(tf.reverse(a, [True])[1:], [True])

This is obviously a bit awkward, and potentially inefficient. Is there a better way to do this?

I've figured out that I can get the right size even if the shape is [None] by using tf.shape to get the shape and then subtracting 1 (or whatever desired offset from the end).

As much as I have tested, tf.strided_slice supports negative end indexing, i.e. if you specify -N in any dimension for end parameter, you will slice all but last N elements. This works, but is not documented (even thou negative strides are documented)
For example:
a = tf.constant([1, 2, 3, 4, 5])
b = tf.strided_slice(test, [0], [-1], [1])
c = tf.strided_slice(test, [0], [-2], [1])

# shape of b will be (4,)
# shape of c will be (3,)

d = tf.constant([[1, 2, 3, 4, 5], [1, 2, 3, 4, 5]])
e = tf.strided_slice(test, [0, 0], [2, -2], [1, 1])

# shape of e will be (2, 3)

Also, TensorFlow now supports slicing exactly as in numpy, so the flowing would be equivalent to the above examples (and will actually call tf.strided_slice in background as stated in documentation):
a = tf.constant([1, 2, 3, 4, 5])
b = a[:-1]
c = a[:-2]
d = tf.constant([[1, 2, 3, 4, 5], [1, 2, 3, 4, 5]])
e = d[:2, :-2]

Everything works with placeholders with None dimensions also. Similar behavior is not supported by tf.slice.


Add jax.scipy.linalg.eigh_tridiagonal to document

Just let users know this algorithm has been officially implemented.
I hope others can avoid wasting time like me:

I check the document and do not find eigh_tridiagonal, thus I migrate tensorflow's implementation by myself. When I start to compare my code against jax.scipy.linalg.eigh, I suddenly find that there is eigh_tridiagonal!!(Thanks to vscode's auto-complete)😭😭😭😭

Thanks for flagging this! The readthedocs jobs are stalling currently, but once the CI catches up you should see this listed at https://jax.readthedocs.io/en/latest/jax.scipy.html

Looks like it's live now - thanks!


Read-only claims are editable using the SCIM API

Describe the issue:
When the read-only attribute is enabled for a claim, the end user should not be able to edit that claim by any means. But read-only enabled claims can be updated using the SCIM apis.
There are several claims that are set to read-only enabled by default such as the Created Time, User Id, etc. When restricting editing access of read-only claims, we should be able to identify the claims that can be updated only by the server and not by the end user. Restricting editing of all read-only claims will create problems when the server needs to update claims such as Created Time and Last Modified Time.
According to https://github.com/wso2/product-is/issues/11194, the Charon component already contains a validation for the read-only attribute but uses the configurations defined in scim2-schema-extension.config.
How to reproduce:

Go to the management console and set the Read only attribute of http://wso2.org/claims/nickname claim as true.
Use the following SCIM call to update the nickName claim of any user.

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:PatchOp"
    ],
    "Operations": [
        {
            "op": "replace",
            "value": {
                "nickName": "Ken"
            }
        }
    ]
}

Expected behavior:
Since the nickName claim is set to read-only, the user should not be able to  update this claim using the SCIM API.

Optional Fields
Related issues:
https://github.com/wso2/product-is/issues/12837, https://github.com/wso2/product-is/issues/11194

Similar to https://github.com/wso2/product-is/issues/5841

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


statsd hooks use by_codes in documentation but use status_codes to send metrics.

There is an inconsistency in the documentation:
https://github.com/twitchtv/twirp/blob/677ba1a47ae278934e5911498e65f917c845dc69/hooks/statsd/statsd.go#L64 ( comment)
vs the actual metric sent:
https://github.com/twitchtv/twirp/blob/677ba1a47ae278934e5911498e65f917c845dc69/hooks/statsd/statsd.go#L98

I'm working on a small PR to address this.


FIX: Update entrypoint to commit message checker

Summary

Quality Checklist

[ ] New features are fully tested (No matter how much Coverage Karma you have)
[ ] [v0.2 onward] New features are included in the documentation
[ ] [v0.2 onward] Breaking changes are documented with clear instructions of what

Coverage Karma

[ ] If your PR decreases test coverage, do you feel you have built enough Coverage Karma* to justify it?

*Coverage Karma can be earned by disproportionally increasing test coverage in the rest of your contributions.
It's an honesty policy - you keep count of your own.

Codecov Report

Merging #10 (7b096e5) into main (c6843b2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   97.26%   97.26%
=======================================
  Files           3        3
  Lines         183      183
=======================================
  Hits          178      178
  Misses          5        5

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 c6843b2...7b096e5. Read the comment docs.


feat: add output as a per-API configuration option

What/Why/How?
Added support for the output option in the per-API configuration. This adds the possibility to store bundled files for all apis that have the option specified.
For example, for the following redocly.yaml:
apis:
   v1:
     root: openapi1.yaml
     output: dist/v1.yaml
   v2:
     root: openapi2.yaml
     output: dist/v2.yaml

Executing redocly bundle will store bundled files under the dist/ directory.
Executing redocly bundle openapi1.yaml will result in printing only the openapi1 bundle to stdout.
Reference
Resolves https://github.com/Redocly/redocly-cli/issues/1579
Testing
Screenshots (optional)
Check yourself

[x] Code changed? - Tested with redoc/reference-docs/workflows (internal)
[x] All new/updated code is covered with tests
[ ] New package installed? - Tested in different environments (browser/node)

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

@lornajane do you mean that having  this redocy.yaml:
apis:
  main@v1:
    root: openapi.yaml
    output: bunlded.yaml

and running redocly bundle main@v1 it should store it to bundled.yaml?

Yes, running redocly bundle [alias] and running redocly bundle should do the same thing for the API named by [alias].

@lornajane but  how would you print it out to the stdout for the alias if needed?

Oh, of course. You can't use the filename without silently picking up the alias :( I guess another alias, or a special value for --output

@lornajane another alias means you have to maintain consistency between those two. And a special output value could collide with a filename (users are quite creative when it comes to naming things!).

I believe this option is mainly aimed for bundling and storing large amount of apis which is quite tedious to do via the command line. So that’s where the ‘output’  really comes in handy. If a user wants to bundle one alias, it’s not hard to specify the output destination as well.

The current behaviour is unexpected - test it alone and you get one behaviour. Run it in a batch and it does something different. I'm not comfortable with us shipping it as it is.

@lornajane changed the behaviour. Now if you bundle an alias, it will take the output from the config if it exists.

Everything here looks great to me, but I was surprised that I could bundle a file by name without it picking up the alias magically (since the file is mentioned in the config file). So I like everything here, but I wanted to mention it in case the change was not intentional.


Pr/1203

Follow up on https://github.com/streamich/react-use/pull/1203

:tada: This PR is included in version 15.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


epgstation: init at 1.7.4

Motivation for this change
EPGStation is a DVR software for ISDB television. This depends on #48740.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Rebased on the latest Mirakurun branch.

Re-rebased

/marvin opt-in
/status needs_reviewer

Pushed 2 new commits and rebased to avoid creating conflicts in pkgs/development/node-packages.

Great work! Really going above and beyond :)
Since I am not very well qualified to review either NixOS modules or node packages, I'd like to give domain experts a chance to chime in. If that doesn't happen by Friday, feel free to ping me again and I'll merge as-is.
@Infinisil as the de-facto "module person", could you maybe skim over the module definition here and see if it looks okay to you?
@svanderburg as the npm expert, could you do the same for the node part? This is a fairly non-standard module package. Does everything look okay to you?

In the meantime, maybe run an autosquash already. I wish GitHub could do that.

squashed :-)

Rebased to fix conflicts in node-packages.nix. Also made a slight improvement in a8181aaa401d44c8e0358055f81787e3ec951a08 that would remove devDependencies from the final output.

Fixed commit message.

/status awaiting_changes

Thanks. I've squashed the commits.

Oh, actually needs a rebase anyway. Would it be possible to do the node update and the epgstation update in separate commits? Not really important though if its a lot of effort.

Unfortunately it can't. All node packages would have to be upgraded simultaneously. I'll just do a rebase now.

rebased :-)

Unfortunately it can't. All node packages would have to be upgraded simultaneously. I'll just do a rebase now.

At least for vim plugins, the way we usually handle new inclusions is first update all existing packages, then add the new package and run another "update" (which will then only add the new package). Anyway, not very important. Thank you for your patience and the great work here!


UI improvements to Contributor Badge Popup

[ ] The badge popup needs to have a visual separation from the background and the popup.
Maybe add a border or separation or change in bg-color to create a visual separation.

[ ] Show green for badge levels only if that level was attained. Unobtained levels to remain gray / faded out.

Please assign me this issue


How to add a new option on the menu page

Where you would usually find playlists, albums, and podcasts I want to make a new one called Pair Audio so when it's clicked it will run subprocess.run(["btaudio-connect"]) which will run a bash command in python that connects my headphones.
My headphones already connect upon boot, But sometimes they don't or they are connected to my phone so I wanted an easy option to connect my headphones. I already have the code displaying the option but can't get it to run when clicked, I have no experience in python just messing around and looking at how the other classes get processed.
Here's what I already got working:

with this code

When I click on it, it freezes the program and I have to restart and it's back to normal. Any ideas?

Make one for WiFi as well !!! 😊✅

Great Bluetooth Audio Stuff !!! 😊
https://github.com/introt/docs/issues/5

Best Bluealsa Installation Instructions Link:
https://introt.github.io/docs/raspberrypi/bluealsa.htm

Thank you!, I will continue to work on this later, unfortunately I'm busy all morning today.

I'm taking a "Python" Course I'm sure I will figure it out! 😉

Michael ... it isn't necessary to insert "Device ID's" in the code!
Just be  sure Guy Dupont's  "Instructions Step #12" and the below are correct!:
def refresh_devices():
device = UserDevice('id,'device_name', is_active)
DATASTORE.setUserDevice(device)
for _, item in enumerate(results['devices']):
if "Spotifypod" in item['name']:
print(item['name'])
device = UserDevice(item['id'], item['name'], item['is_active'])
DATASTORE.setUserDevice(device)
I removed all device ID's from the code.
Still works correctly!

I managed to upgrade Raspotify 0.31.8 To "Bullseye" any higher then 0.31.8 and the "sPoT" couldn't find "sPotiPy".

You may want to review closed issue 44 it looks like others has already accomplished what your trying to do and more see below closed thread:
https://github.com/nboumalham/retro-ipod-spotify-client

However it looks like Spotifyd is used instead of Raspotify

I got the above fork version working using Raspotify (didn't need SpotifyD) this version does have a bluetooth switcher!

By studying the above Bluetooth switcher code you probably could get your Bluetooth selection icon working.

Did you achieve anything concerning the new menu? Unfortunately there is no answer and the question itself is so interesting...


add ping pong processing

Problem
Node didn't support ping/pong requests processing.
...
Solution
This patchset replicated C# node behavior.
...
closes #430

@roman-khimov looked at this one more time and still confused whether we need this or not. Since we have two options:

Node can't sync by some reason and then it's dropped and reconnected anyway
Node not syncing for a while and just running. And is that a problem? Anyway it will be dropped from other nodes which can't sync blocks from it.

In C# 2.x master there is not initial of Ping. So it was never called.
Wdyt @roman-khimov and @fyrchik if this is a really important for us?

Pinging is necessary for dead connection detection and dropping, so I think we can initiate it every N (60?) seconds. But then you need to also check for some ping timeout to drop the connection.

It's also time to update this one with changes made in neo-project/neo#1024 (LastBlockIndex handling) and merge then.

Updated.
Checked locally with privatenetwork and ping duration == 3. Ping/Pong was successfully received. In case node can't send pong -> connection dropped.
In case you see some issues in current implementation -- I'm open for suggestions, thank you!


Scroll debug console to end

Issue Type: Feature Request
It'd be nice to be able to scroll directly to the end of the debug console on-demand. Like, when the window is focused, and I press Ctrl+End, scroll to the bottom.
VS Code version: Code - Insiders 1.56.0-insider (4e185d8986339717e593be19bc75288905ffbb51, 2021-05-01T00:27:57.510Z)
OS version: Windows_NT x64 10.0.19042
Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2
Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2

Already possible but maybe not the most convenient: focus on debug console input, press shift + tab to focus on the debug console. press END -> the last element should be revealed.
I guess we could introduce a command just for this, thus I can leave this open as a feature request and assign to backlog. Thanks

I didn't really expect this to be a situation that requires a special command. I brought up Ctrl + End as an example, as that is (on my system) the key combination to set the caret to the last possible position in text input controls.
This is the behavior that is working as expected in the terminal and code editor views. The debug console behaves in many ways similarly to those views. I feel it's not unreasonable for a user to expect the same pattern to work for the debug console as well.
Naturally, this expectation goes beyond scrolling to the end of the console. Jumping to the beginning is in a similar fashion is also expected. It's just very common for the user to have to deal with the debug console not being scrolled to the end automatically.
For my personal developer experience, using your suggested approach beats scrolling the tiny scrollbar to the end. So, thanks for that 😄

Debug console works just like all the other list views. The only difference is that clicking on it we move focus to the debug console input automatically. And thus the only way to focus it you have to shift+tab. However once you have focus all the keybindings should just work


Creating contact us page.

Describe the feature
I observed that there is no contact page in web page.
I want to add it.
Add ScreenShots
.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hey @Anushkabh
Can this issue be assigned to me for gssoc '24
Regards,
V Meenakshi Iyer


[Request]: README add note about VPN

Plugin
connectivity_plus
Use case
I spent a lot of time debugging why the application on my phone wasn't detecting connectivity changes when i was enabling/disabling the wifi.
In the end i had the duck duck go vpn enabled that was impeding network changes to be triggered.
The moment i disabled it, the Connectivity().onConnectivityChanged.listen started working as expected.
Proposal
Add a note in the readme about VPN next to the example of the stream subscription

With 6.0.1 release of the plugin it is not the case anymore as the result returned from the plugin now contains multiple connectivity types, so now your case should also work properly.
Closing as resolved.


fix: mq support distributed concurrent queue processing with guaranteed stream ordering

Experimental (but tested) implementation that allows concurrent processing of queue messages whilst guaranteeing that only one message from each stream is allowed to be locked/processing at any given time.  Uses a pessimistic locking mechanism that is supported by a partial unique index constraint.  Row level locking during callback processing is not needed since only one process is allowed to acquire the lock (set locked_by on one message in a stream).  After succesful callback processing the message is deleted.  The lock is explicitly released on callback failure.  If delete or explicit lock release fails then we fall back to automatic expiry mechanism using locked_until field.  This would comport with in-order but at-least-once stream processing semantics.
One caveat to mention...enqueueing messages with an undefined stream is the same as enqueueing a message with a stream: '' (empty string).  This dequeue implementation would treat unstreamed messages as one stream and thus only allow for one unstreamed message to be dequeued at any given time.

🤯Impressed that postgres allows these sorts of locking patterns.  The performance characteristics of this implementation under any load has yet to be tested, though.

Lots of changes here to review 😓 ... probably better to keep the old adapter intact and create a second DistributedPostgresMessageQueue for this experiment, unless the old adapter is broken.

I'm not sure if the old implementation was broken but it did not guard for serialization at any level.  It would be up to the caller to manage stream-scoped concurrency.
In this implementation it will allow you to do like you mentionedhere and serialize based on each stream but allow concurrent processing (if the broker/adapter wants to do that) of streams but keep serialization within a particular stream.  The broker would just continually dequeue(handler) as much as it wants up to a certain in-flight concurrency level and seek to keep those concurrency slots continually filled until there is nothing more to consume from the queue.
I am guessing each consumer will still use the subscription watermark mechanism but now the checkpoint won't be whether the message was processed by the consumer...it will be the whether the message was successfully queued in that consumers mq, right?

I separated this ordered message queue into it's own adapter.
The original adapter is intact but it's current limitations require the caller to know the stream name and pass it to options to be able to receive messages from that stream.  Another limitation is that it is allowed to dequeue another message from the same stream while another is being processed.
I have another question regarding the intended semantics of the original message queue.  When calling dequeue without specifying a stream name, should the oldest message in the queue (from any stream) or oldest message with an empty stream name be processed?
When calling dequeue on the ordered message queue proposed in this PR without a stream parameter it will dequeue and lock the entire stream of the oldest message (from any stream) in the queue for processing.
Sorry for being so long-winded.  I realized that the semantics actually get pretty nuanced and I want to make sure it gets documented and implemented correctly.

Thanks @TomKaltz for all this work! I just reviewed the changes, and everything looks good. I'm sorry for not being able to help... super busy right now 🤯
There’s still much room for improving the current integration flows, with two competing goals:

Efficient Integrations: Supporting concurrent consumers by addressing the challenge of separating uncorrelated events from input streams and delivering them sequentially to the appropriate consumers.
Simplicity of Interfaces: Maintain straightforward interfaces and abstractions by leveraging conventions and encapsulating most of the complexity within adapters.

I’m still exploring the best way to achieve both goals 🤷 , but to illustrate some of the ideas I’ve sketched this diagram which I hope helps clarify some of your questions:


gemini load fails when SnpEff is run with -sequenceOntolgy command line parameter

Somewhat related to issue #207, if you provide the -sequenceOntolgy (yes it is misspelled) command line parameter to SnpEff to have it emit Sequence Ontology terms for effects, the load step in GEMINI fails
$ gemini load -v foo.eff-so.vcf -t snpEff foo.eff-so.vcf.db
Requested GEMINI database (foo.eff-so.vcf.db) not found. Please confirm the provided filename.
Traceback (most recent call last):
  File "/usr/bin/gemini", line 5, in <module>
    gemini.gemini_main.main()
  File "/usr/local/share/gemini/anaconda/lib/python2.7/site-packages/gemini/gemini_main.py", line 612, in main
    args.func(parser, args)
  File "/usr/local/share/gemini/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 31, in load
    load_singlecore(args)
  File "/usr/local/share/gemini/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 40, in load_singlecore
    gemini_loader.populate_from_vcf()
  File "/usr/local/share/gemini/anaconda/lib/python2.7/site-packages/gemini/gemini_load_chunk.py", line 85, in populate_from_vcf
    (variant, variant_impacts) = self._prepare_variation(var)
  File "/usr/local/share/gemini/anaconda/lib/python2.7/site-packages/gemini/gemini_load_chunk.py", line 259, in _prepare_variation
    impacts = func_impact.interpret_impact(self.args, var)
  File "/usr/local/share/gemini/anaconda/lib/python2.7/site-packages/gemini/func_impact.py", line 43, in interpret_impact
    impact_info = snpEff.effect_map[impact_string]
KeyError: 'intergenic_region'

[root@localhost home]# gemini -v
Traceback (most recent call last):
File "/usr/bin/gemini", line 4, in
import pkg_resources
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2659, in
parse_requirements(requires), Environment()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: numexpr>=2.4.3


README: Add more detailed instructions and requirments

maybe we can point out that for production plugin we need to use npm run build && npm run serve like here: #62 (comment)

Mmmm I'm not sure. I'm expecting that the redirect mechanism we put in place to be temporal, and we will remove it once we update all the references to old links (we already managed most of them, probably few still missing here and there) and search engines refresh their caches (couple of months? Not sure). WDTY?


Firebase Flavors Setup and Docs

Closes #440 and #441

@josancamon19 this looks good to me. I tried the instructions, and it seems to configure everything correctly. I am unable to go past the login screen on Android through, which I don't think is a problem with @mdmohsin7 changes.

Looks like instructions might be missing a step or something. Sign in is failing with exception
E/flutter ( 8919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
E/flutter ( 8919): #0      GoogleSignInApi.signIn (package:google_sign_in_android/src/messages.g.dart:221:7)
E/flutter ( 8919): <asynchronous suspension>
E/flutter ( 8919): #1      GoogleSignInAndroid._signInUserDataFromChannelData (package:google_sign_in_android/google_sign_in_android.dart:111:3)
E/flutter ( 8919): <asynchronous suspension>
E/flutter ( 8919): #2      GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart:278:30)
E/flutter ( 8919): <asynchronous suspension>
E/flutter ( 8919): #3      GoogleSignIn.signIn.isCanceled (package:google_sign_in/google_sign_in.dart:431:5)
E/flutter ( 8919): <asynchronous suspension>
E/flutter ( 8919):

Added a step in docs related to sha keys setup

I got it to work. @josancamon19 can you take a look at this as well?

@mdmohsin7 PR#448 landed yesterday, it touches .gitignore. Can you merge it in your changes? To be honest, yours is better so feel free to fully override my changes.


Doesn't work after browser restart

If I close Opera (v 25.0) and start it up again, ClassicTabs doesn't "Activate the last active tab" when closing a Tab.  If I go into the extension manager and disable then enable the extension, then it again works properly.  Until I restart the browser...

Have you tried updating Opera? The latest stable version is 26.

Curiously, when Opera offered to update me from version 12 today, they gave me 25, not 26.  Seems like a goof on their part, assuming it's been out for a whole month as the change logs suggest.  Anyway, a few minutes ago, Opera auto-updated me to 26.  When it started up, ClassicTabs worked fine.  So I guess I withdraw my report.  Thanks.


Change GenerateImageAsync return objects => include revised_prompt

Feature Request
For Dalle3 they now return the revised_prompt,
would be nice if GenerateImageAsync returned same object => https://platform.openai.com/docs/api-reference/images/object
{
  "url": "...",
  "revised_prompt": "..."
}

instead of string array.
Thank you!

Sure, but is a breaking change

Make an overload of GenerateImageAsync  ?

It's ok, I already have a plan for what to do. I also need to keep the unity package version of this in sync with proposed changes as well.


add new token x

Pull Request Checklist
Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:

[ ] 🧪 Added tests for changed code.
[ ] 🛠 All tests pass when run locally (run tox or make test to find out!).
[ ] 📚 Updated documentation for changed code.
[ ] ⏩ Code is up-to-date with the master branch.

If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!
Description of Changes

Codecov Report

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

@@          Coverage Diff          @@
##           master   #737   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines        1678   1682    +4
  Branches      283    284    +1
=====================================
+ Hits         1678   1682    +4

Impacted Files
Coverage Δ

arrow/formatter.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Hey @alstomli I've been checking out your branch and noticed that this is occurring.
(arrow) chris@ThinkPad:~/arrow$ python
Python 3.7.4 (default, Sep 19 2019, 11:01:37)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import arrow
>>> arw=arrow.utcnow()
>>> arw
<Arrow [2019-12-22T19:44:08.492814+00:00]>
>>> arw.format("x")
'x'

I have just tested the program on my machine but it seems there is nothing wrong:

import arrow
arrow.utcnow().format("x")
'1577074797676671'
arw = arrow.utcnow()
arw.format("x")
'1577074859157219'
arw
<Arrow [2019-12-23T04:20:59.157219+00:00]>

I have just tested the program on my machine it seems there is nothing wrong
`>>> import arrow

arrow.utcnow().format("x")
'1577074797676671'
arw = arrow.utcnow()
arw.format("x")
'1577074859157219'
arw
<Arrow [2019-12-23T04:20:59.157219+00:00]>`

I will double check it later next week

Hi @systemcatch if we need to add new "x" format I think we need to rewrite
r"(\[(?:(?=(?P<literal>[^]]))(?P=literal))*\]|YYY?Y?|MM?M?M?|Do|DD?D?D?|d?dd?d?|HH?|hh?|mm?|ss?|SS?S?S?S?S?|ZZ?Z?|a|A|X)" into r"(\[(?:(?=(?P<literal>[^]]))(?P=literal))*\]|YYY?Y?|MM?M?M?|Do|DD?D?D?|d?dd?d?|HH?|hh?|mm?|ss?|SS?S?S?S?S?|ZZ?Z?|a|A|X|x)" so the program can detect the new token, however, when I submitted this change it says it is an conflit, is there any way to solve this?

Hey, we are going to close this for now since we are pushing these changes to when we drop Python 2.7 support because this will allow us to introduce some breaking changes to the existing API.


Timetable Dates Allignment

On the timetable, the dates are not aligned in the proper areas and some dates and days are more to the right than the middle.
For example, Monday is fine but Tuesday is on the left, and Wednesday, Thursday, and Friday are halfway
through different days and their correct day.

will be fixed in the next release #101

will be fixed in the next release #101

Thanks!


with https connection for publishing metrics via prometheus

Added https scheme for publishing metrics to prometheus client and updated README.md

please add some tests for the new options

/lgtm


Tribuf propagate

What are the reasons/motivation for this change?
I am working on a non-synthesizable project, that make extensive use of tri-state signals, which. This change allows to eliminating all tristate usage in the design, by flattening the module hierarchy, detecting and propagating all tribuf cells, and  https://github.com/emu-russia/dmgcpu/pull/292
Explain how this is achieved.
If applicable, please suggest to reviewers how they can test the change.

Sorry, misclick the publish button.


can not enable sourcemaps

I tried

sourcemap=true in config/compass.rb
config.compass.sourcemap=true in config/environments/development.rb

Gemfile
ruby '2.1.3'
gem 'rails', '4.1.7'
...
gem 'sass-rails'
gem 'compass-rails'
gem 'sass-globbing'
...

All of the above didn't worked for me, am I doing something wrong?

Also would like help with this.


Added support for csharp 7.1

Roslyn has this change already merged in, but it will take a while before it's released as stable on nuget.
In the meantime, we can set latest C# version with reflection.
Omnisharp also already has support for latest C# in scripts (see https://github.com/OmniSharp/omnisharp-roslyn/pull/935)

correct


SSR client side error "window is not defined"

I try to use this module with SSR React + Express inside a Form with Bootstrap-react module, but it failed with ReferenceError: window is not defined from bootstrap-switch-button-react.js:1:9869

In Next.js this can be solved with dynamic imports
import dynamic from 'next/dynamic'
const BootstrapSwitchButton = dynamic(
    () => import('bootstrap-switch-button-react'),
    {
        loading: () =>
loading
,
        ssr: false // This line is important. It's what prevents server-side render
    }
)

This issue seems to be from the "style-loader" module.  Which uses window. functions without checking if the window is set. The general suggestion is to use isomorphic-style-loader. I've tried doing this but I did not manage to get the css to actually load (so was a pointless endeavour.
The workaround for people using normal React with custom SSR is to have something like:
const BootstrapSwitchButtonClientSide = (props) => {
    const [ loadedState, setLoadedState ] = useState(<Fragment />);
    useEffect(() => {
        const BootstrapSwitchButton = require('bootstrap-switch-button-react').default;
        setLoadedState(<BootstrapSwitchButton {...props} />);
    }, []);

    return loadedState;
}

This should prevent the component from being rendered on the serverside, but will probably result in the button to be missing on initial render, so not ideal especially for people with slower machines. Fragment here is React.Fragment, I think you can just use null as well.

This issue seems to be from the "style-loader" module.  Which uses window. functions without checking if the window is set. The general suggestion is to use isomorphic-style-loader. I've tried doing this but I did not manage to get the css to actually load (so was a pointless endeavour.
The workaround for people using normal React with custom SSR is to have something like:
const BootstrapSwitchButtonClientSide = (props) => {
    const [ loadedState, setLoadedState ] = useState(<Fragment />);
    useEffect(() => {
        const BootstrapSwitchButton = require('bootstrap-switch-button-react').default;
        setLoadedState(<BootstrapSwitchButton {...props} />);
    }, []);

    return loadedState;
}

This should prevent the component from being rendered on the serverside, but will probably result in the button to be missing on initial render, so not ideal especially for people with slower machines. Fragment here is React.Fragment, I think you can just use null as well.


Double confirm "supported node counts" for Azure CNI Overlay

Would like to double confirm how many nodes are supported in AKS with Azure CNI Overlay.
Does it support "1000 nodes and 250 pods/node" or "10,000 nodes and 250 pods/node"

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

ID: 64f0ba71-573f-b860-1c2c-802a62cae120
Version Independent ID: 28990db8-fce7-c356-da6f-c052a9c201ee
Content: Configure Azure CNI Overlay networking in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/azure-cni-overlay.md
Service: azure-kubernetes-service
Sub-service: aks-networking
GitHub Login: @asudbring
Microsoft Alias: allensu

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

@alexxiongxiong
Azure CNI Overlay supports up to 250 pods per node, and the maximum number of nodes that can be configured is 1000. Therefore, the maximum number of pods that can be supported is 250,000. It does not support 10,000 nodes and 250 pods/node.
Please refer below document it might be helpful.
https://learn.microsoft.com/en-us/azure/aks/azure-cni-overlay

@alexxiongxiong
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


[Feature Request] Run to time limit for Neal and Greedy

Would be useful to have a time_limit argument for Neal and Greedy.
Both Neal (for a fixed num_sweeps) and Greedy can implement a run-to-time-limit feature by adding timing calls per read, i.e., variable number of reads depending on time constraint. Example from RandomSampler.

If you wish to evaluate a criteria only after each complete anneal this feature already exists through the interrupt function:
 import time t0 = time.perf_counter_ns() def interrupt_function():     delay = 0 #Any value in nanoseconds     if time.perf_counter_ns() - t0 > delay:         return True     else:         return False from dwave.samplers.sa import SimulatedAnnealingSampler num_reads = 1000 #example  resp  = SimulatedAnnealingSampler().sample_ising({i: 1}, {}, interrupt_function, num_reads = num_reads) assert len(resp.record) == 1  # because delay of 0 nanoseconds is immediately exceeded.


docs: fix github workflow badges 🤖

This PR fixes github workflow badges after a breaking change on github platform. Everything is explained there : https://github.com/badges/shields/issues/8671
I took advantage of this PR to make the workflow status badges target only the main branch.
🤖 This PR is generated by this script.

Codecov Report

Merging #169 (e99a35f) into main (9413893) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #169   +/-   ##
=====================================
  Coverage   1.29%   1.29%
=====================================
  Files         32      32
  Lines        924     924
=====================================
  Hits          12      12
  Misses       912     912

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


cloudbridge no longer needs individual values for ec2 connection

Currently, cloudlaunch asks for ec2 connection details as a list of individual values, as follows:
                "ec2_region_name": "ap-southeast-2",
                "ec2_region_endpoint": "ec2.ap-southeast-2.amazonaws.com",
                "ec2_conn_path": "/",
                "ec2_port": null,
                "ec2_is_secure": true,
                "s3_host": "s3-ap-southeast-2.amazonaws.com",
                "s3_conn_path": "/",
                "s3_port": null,
                "s3_is_secure": true

However, after the boto3 upgrade, it's no longer required to provide these individually. Simply providing
ec2_endpoint_url
s3_endpoint_url
use_ssl
ssl_verify
and ec2_region_name is sufficient.
So we should be able to collapse ec2_region_endpoint, ec2_conn_path and ec2_is_secure to a single value. Dito for s3_host, s3_conn_path and s3_port.

Closed by: https://github.com/CloudVE/djcloudbridge/commit/b4d4b23305d858d0e7ecea75c4670d5e0744460b


Weird behavior regarding Move events

I basically subscribe to both Mouse.moves and Mouse.ups.
Whenever I release the mouse anywhere on the page both a move event and an up event are fired.
Whenever I release the mouse NOT on the page (like the addressbar) only an up event is fired.

These just go through to the JavaScript events behind the scenes. So I don't think this is specific to Elm. The functionality here move to elm/browser so you can make an http://sscce.org/ if you find it there as well.


<ae-factoid> update home page.

These mockups show a home page with a factoid based look.
We need to use the example component as a base to add factoids to the AE homepage.

Icons used in the mockup are from Font Awesome. Included bellow is both a link to the Font Awesome page for each icon + a link to an SVG version that has been manually reformatted to 24px square (Iron icon style).
People: fa-users | svg
Works: fa-book-open | svg
Subjects: fa-lightbulb-on | svg
Grants: fa-hand-holding-usd | svg
Courses: fa-chalkboard-teacher | svg
Patents: fa-award | svg

Font is indeed too bold.

I'll make a separate issue for the font and close this one.


boards: thing52_nrf52832: enable segger rtt in the default config

Enabled Segger RTT in the default configuration of Thingy52.
Signed-off-by: Kamil Piszczek<EMAIL_ADDRESS>

@MaureenHelm, yes, I want to align the Thingy configuration with other Nordic boards (e.g. nrf52840dk_nrf52840) where RTT is enabled by default. Apart from that, in the case of Thingy52 board, it is easier to get logging output using RTT than it is with UART.

There is a typo in the commit title: "thing52".

@kapi-no there's a CI failure that might be unrelated to your change, but triggers because the CI system rebuilds the Thingy:52 samples.

@carlescufi, @anangl has been looking into it already and is going to prepare a PR with a fix

@kapi-no there's a CI failure that might be unrelated to your change, but triggers because the CI system rebuilds the Thingy:52 samples. Not sure if you can fix it or @anangl can help perhaps.

@carlescufi https://github.com/zephyrproject-rtos/zephyr/pull/41420 addresses the problem


Toolkit not finding that pypi has an updated version

I've updated already to 2.3.0 and pypi now shows that 2.3.3 is available, but the toolkit isn't printing a "new version available" message.

It may take a bit… let's try again in like 15 minutes and see if it shows up?

Plus I only let the app check every 15 minutes:
https://github.com/StoDevX/cs251-toolkit/blob/aade6ea83162d3339b2ff42ecba23b7d63a316c9/cs251tk/toolkit/config.py#L37-L38

Still nothing...
I ran it every couple minutes for about 20 minutes and then let it sit for another 20 before running again and it still isn't showing anything.

Could it be because of this timeout?
https://github.com/StoDevX/cs251-toolkit/blob/0a6409d433f4a1dedf44537b2bd7e69ff0f73ccc/cs251tk/toolkit/find_update.py#L11

I'm fiddling around with find_update.py and it looks like the toolkit is able to get the page, but can't find the links and thus returns an empty array.

It also looks like it's unable to get the page within the current timeout. The lowest time I've been successful with is 0.5s.

Fixed here #82

It looks like the 15-minute check isn't working properly. It is always checking for a new version and the last update time is listed as September 11, 2018, as far as I can tell. Basically, needs_update_check() is always returning 'true'.


(enh) review of logger.py; less logging in AgentController

Short description of the problem this fixes or functionality that this introduces. This may be used for the CHANGELOG
Cleaner logger startup and reduced logging in AgentController when waiting.

Give a summary of what the PR does, explaining any non-trivial design decisions
Revised logger.py:

cleaner flow of inital log level handling, also to avoid deprecated linter messages ahead of time
actually check if a value passed in via env var is a valid mode
current_log_level introduced, that can be imported elsewhere
some methods got the log level now as parameter instead of referencing a global

In agent_controller.py (AgentController) the _step method is being called every second.

removed one extra debug output of _pending_action which lead to log spam as the same content would appear twice in the log, especially noticeable with code blocks (thought/observation) when debug mode was active
in the case the agent is waiting for a command to finish (like ipython), it now only logs that action once and on subsequent iterations only outputs a single dot as waiting indicator. The "old" way made the logs look like the agent was stuck in a loop and was confusing.

Link of any specific issues this addresses
Follow up to #3556

Removed the logging from AgentController's _step() upon _pending_action now. @enyst


√ Create new wallet (and key pair) - single

Story
As a user
I want to create a wallet in my vega wallet browser extension
So that I can store my keys
Acceptance Criteria

[ ] I can click a button (or equivalent) to create a wallet
[ ] I can give my new wallet a name
[ ] I am given/shown a recovery phrase for the wallet that I can copy/save
[ ] I can view my new wallet
[ ] I can see a new key pair in the wallet I created

Tasks

[ ] Create a minimal UI for the steps
[ ] Create and save the wallet
[ ] Create and save keys

Additional details / background info
Authentication will come later so this A/C will be covered in a separate ticket:

[ ] I can specify a password for my new wallet

Dupe of https://github.com/vegaprotocol/vegawallet-browser/issues/120


authorize based on ScopeClaim value

Hello,
I have a JWT that looks kinda like this (I omitted irrelevant stuff):
{
  "client_id": "00000000-0000-0000-0000-000000000003",
  "scope": [
    "openid",
    "profile",
    "api"
  ],
  "sub": "0b86dc73-9cd1-4cd5-afbc-529e2e5f69a7",
  "account_id": "00000000-0000-0000-0000-000000000001",
  "user_account_type": "TitanAdmin",
  "application_access": [
    "00000000-0000-0000-0000-000000000001",
    "219d372b-be9a-4a1c-8aaa-b007991538b5"
  ]
}

I'd like to use ScopeValidationMiddleware to validate correct scopes are present, correct claims are present, and claim value(s) match the application's criteria.  For example, consider a web api request with the token above.  I need to:

assert the application_access claim contains a valid value for the resource
assert the  user_account_type claim value is authorized to access the resource

As it stands now, I think I would have to add ScopeValidationMiddleware twice to my Owin pipeline, one for each claim type.  I'd like to add one middleware to validate multiple claims.  I think a solution for this would be pretty straight-forward, based on the ScopeValidationMiddleware in IdentityModel.  Before doing that, I figured it wouldn't hurt to open a dialog as to whether others see value in enhancing ScopeValidationMiddleware as I've described.  If so, I'd be happy to submit a PR.
Thanks!

The scope validation middleware only validates scope claims.
Feel free to take the source code and turn it into whatever claim checking middleware you want. It is really simple.


extraction: refine img src url and fix table extraction bugs

refine img src url, allow for absolute and relative paths
fix bugs in table extraction: 1) the last row with colspan is not well formatted in markdown/txt; 2) remove newlines in table cell markdown in some cases

Great work, the tests show that you definitely improve table processing with this PR.
I just have a few comments to make the code more readable and easier to maintain.

Great work, the tests show that you definitely improve table processing with this PR.
I just have a few comments to make the code more readable and easier to maintain.

All fixed, would you take a look again?

Great work, the tests show that you definitely improve table processing with this PR.
I just have a few comments to make the code more readable and easier to maintain.

There could be subtle bugs in table extraction as tables sometimes get really complicated, luckily I may encounter enough cases during my work (collecting LLM corpus), so hopefully bugs converge gradually and we may set up enough unit tests or real world test cases.


Added linter and formatted tabs to 2 spaces

Forgive my ignorance, if I try to (run, commit, push) code that fails the linter, when/how do I know? Will Circle pick it up?

This PR only adds the linter. It wont break the build because currently the linter is not checked.

Can we have two changes please?  on the fixes that tab, one that add the linter.
Also please add a hook on circle to run the linter.

hmm, this means I have to disable 90% of rules and phase them in, because the rules I chose are quite comprehensive.

Currently at 388 errors. That might take me a while.

Ah I see - you don't pass the lint right now? Yeah don't check it in then.
I would have a change which adds linting (including to circle), one which fixes whitespace, and one which fixes all the lint errors.

Ok, let me try some squashing then. What's needed for CI to pick up the linter? The command is gulp lint.

I'd copy the line in the makefile for client-test:
client-lint:
	docker run -ti -v $(shell pwd)/client/app:/home/weave/app \
		-v $(shell pwd)/client/test:/home/weave/test \
		$(SCOPE_UI_BUILD_IMAGE) npm lint

And the corresponding line in circle.yml

Does the CI linter interface rely on the return code or on the output?

Yes I believe so.

This fixes #92

Last commit squashed the linter config commits

LGTM


Update setup.py

In the old version, I can't use my local pypi server to store the package. Using the requirements.txt file as source for install_requires solves this problem.

failed


fix(guide): fix expected solution for react-redux extract state logic challenge

This challenge expects a different solution than the one in the guide.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[ ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Solutions should include the entire solution (all code) and not just the parts needing to be changed.  The original versions did not have those either, but we now require full solutions, so that a user can copy and replace all code in the FCC editor and the solution will pass and show correctly on the site.
Please make sure you are adding full solutions.

@RandellDawson These are the full solutions that they can just copy + paste and will pass the test.

@ritute When I look at the Challenge Seed, there is a lot more code that you are not including with your solution.  When I say "full", I mean all the original seed code plus the code needed to pass the challenge.
I only looked at the English version, but there are 96 lines of code in the seed and your "full" solution only has 22 lines in it.
Another thing here, is these should be put on separate PRs.  We expect you to check all the boxes on the PR and the 5th one states you have not put multiple languages on the same PR.
Why? Because we have translators who will validate you have not removed/added anything which is language dependent.  In this case, you also need to be removing the stub text for the each file and that would mean you are changing the text.
Please only put the English version on this PR and split the others up into separate languages, unless the stubs are already removed on the other languages.
Thank you.

@RandellDawson This solution passes for me on over here . Not sure what is happening

@thecodingaviator You are correct.  Not sure what I was looking at before.  @ritute Just ignore my comments above about the full solution part.  However, you still need to remove the stub information from all of the articles.

Hi,
As there has been no response from your end for a while, we are closing this PR.
Feel free to request this PR to be reopened, if you still wish to make the changes you originally added.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding! ✈


ENH: 1.5 Tesla T2-w excluded from JointFusion

1.5 Tesla T2-w MRIs are excluded from JointFusion only for now.

I don’t see any changes in the Jointfusion code.
Is there a commit missing?
--
From:  eunyoung regina kim<EMAIL_ADDRESS>Reply-To:  BRAINSia/BRAINSTools<EMAIL_ADDRESS>Date:  Monday, March 7, 2016 at 12:56 PM
To:  BRAINSia/BRAINSTools<EMAIL_ADDRESS>Subject:  [BRAINSTools] ENH: 1.5 Tesla T2-w excluded from JointFusion (#257)
1.5 Tesla T2-w MRIs are excluded from JointFusion only for now.
You can view, comment on, or merge this pull request online at:
https://github.com/BRAINSia/BRAINSTools/pull/257
Commit Summary
ENH: 1.5 Tesla T2-w excluded from JointFusion
File Changes
M AutoWorkup/singleSession.py (11)
M AutoWorkup/workflows/baseline.py (9)
Patch Links:
https://github.com/BRAINSia/BRAINSTools/pull/257.patch
https://github.com/BRAINSia/BRAINSTools/pull/257.diff
—Reply to this email directly or view it on GitHub.

@hjmjohnson
Hans,
What do you mean you dont see changes??
https://github.com/BRAINSia/BRAINSTools/commit/6a1c18a4602eef00d97d7c8edc9aa583b296f799
Are we looking at the same branch???


feat: node resource topology scheduler plugin

What type of PR is this?
Enhancements
What this PR does / why we need it:
add topologyMatch plugin to support topology-aware scheduling for both nativePolicy and dynamicPolicy
nativePolicy + single-numa-node,
dynamicPolicy + dedicated_cores + numaBinding + single-numa-node,
dynamicPolicy + dedicated_cores + numaBinding + numaExclusive + single-numa-node,
dynamicPolicy + dedicated_cores + numaBinding + numeric,
dynamicPolicy + dedicated_cores + numaBinding + numaExclusive + numeric
are supported.
Which issue(s) this PR fixes:
https://github.com/kubewharf/katalyst-core/issues/160

@caohe pls take your time to confirm whether we can merge this pr

@caohe pls take your time to confirm whether we can merge this pr

Sure, we can merge this pr first https://github.com/kubewharf/enhanced-k8s/pull/12
Then https://github.com/kubewharf/katalyst-api/pull/39

@caohe pls take your time to confirm whether we can merge this pr

Sure, we can merge this pr first kubewharf/enhanced-k8s#12
Then kubewharf/katalyst-api#39

enhanced-k8s has been merged, but the api still requires another approve, so you may need to approve that firstly @caohe


Support multiple voice presets per gender option

Multiple voice presets can be selected for each gender option. They will be randomly assigned to characters, seeded by the hash of the character name, so that the same voices are consistently assigned to the same characters.
Resolves #53.

Thank you for implementing this! I'm out of town for the weekend, but I'll test this on either Sunday or Monday before likely merging it.

Awesome! One note for testing - inside VoicePresets.json, you'll need to manually rewrite
  "CurrentVoicePreset": {
    "System": 0,
    "AmazonPolly": 22,
    "Uberduck": 4,
    "Websocket": 7
  },
  "UngenderedVoicePresets": {
    "System": 0,
    "AmazonPolly": 1,
    "Uberduck": 4,
    "Websocket": 7
  },
  "MaleVoicePresets": {
    "System": 0,
    "AmazonPolly": 10,
    "Uberduck": 5,
    "Websocket": 8
  },
  "FemaleVoicePresets": {
    "System": 0,
    "AmazonPolly": 2,
    "Uberduck": 6,
    "Websocket": 9
  }

into
  "CurrentVoicePreset": {
    "System": 0,
    "AmazonPolly": 22,
    "Uberduck": 4,
    "Websocket": 7
  },
  "UngenderedVoicePresets": {
    "System": [0],
    "AmazonPolly": [1],
    "Uberduck": [4],
    "Websocket": [7]
  },
  "MaleVoicePresets": {
    "System": [0],
    "AmazonPolly": [10],
    "Uberduck": [5],
    "Websocket": [8]
  },
  "FemaleVoicePresets": {
    "System": [0],
    "AmazonPolly": [2],
    "Uberduck": [6],
    "Websocket": [9]
  }

I didn't add a migration because <IP_ADDRESS> hasn't released yet.

Sorry for the delay, been busy fixing Universalis. I'll merge this tonight and publish a new testing release that includes it.


dsh: add find command

Should this be closed with the introduction of dfind?

The dsh tool is a separate, experimental-level tool that presents an interactive prompt where users can type commands.  Currently, one can type things like "ls" and "rm" to list directory contents and remove files.  The commands then execute mfu_flist functions to do the real work.
This issue is a request that we move enough of the dfind logic to the libmfu common library, and then add support in dsh for a new "find" command.


ZeRO 2

In the ds_pretrain_gpt2.sh we have
#config_json="$script_dir/ds_zero_stage_2_config.json"
config_json="$script_dir/ds_config.json"

Why is ZeRO 2 disabled when the tutorial for extremely efficient training says ZeRO 2 is 5x faster than ZeRO 1?

Is pipeline-parallel in conflict with ZeRO-stage2?

I can't train gpt with 3D-parallel and  ZeRO-stage2 at the same time.
The paragram reports reduce ERROR...
RuntimeError: The parameter 290 has already been reduced.             Gradient computed twice for this partition.             Multiple gradient reduction is currently not supported
or
for j, grad in enumerate(self.averaged_gradients[i]):
overflow = self.local_overflow if self.cpu_offload else self.has_overflow_partitioned_grads_serial(

File "/opt/conda/lib/python3.6/site-packages/deepspeed/runtime/zero/stage2.py", line 1528, in has_overflow_partitioned_grads_serial
KeyError: 0
for j, grad in enumerate(self.averaged_gradients[i]):
KeyError: 0

From my experiments and chat with some devs, I can assure you 3D
parallelism and ZeRO2 are incompatible. You have to choose between the two.
On Fri, Feb 19, 2021, 7:42 AM Hanlard<EMAIL_ADDRESS>wrote:

I can't train gpt with 3D-parallel and ZeRO-stage2 at the same time.
The paragram reports reduce ERROR...
RuntimeError: The parameter 290 has already been reduced. Gradient
computed twice for this partition. Multiple gradient reduction is currently
not supported
or
for j, grad in enumerate(self.averaged_gradients[i]):
overflow = self.local_overflow if self.cpu_offload else self.has_overflow_partitioned_grads_serial(
File
"/opt/conda/lib/python3.6/site-packages/deepspeed/runtime/zero/stage2.py",
line 1528, in has_overflow_partitioned_grads_serial
KeyError: 0
for j, grad in enumerate(self.averaged_gradients[i]):
KeyError: 0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/DeepSpeedExamples/issues/86#issuecomment-781765037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHCCSI4ZIQC5YB6QYNTAWDS7XCHPANCNFSM4XTBYSMA
.

@ShadenSmith @jeffra

same problem

@ShadenSmith @jeffra


Resample datas instead of deleting

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
Other
🔖 Feature description
Hi,
Instead of deleting the data after 180 days (default), we could resample the data to reduce the size of the database.
✔ Solution
We can after 180 days average over a period of time of one day. We could also keep only the state changes.
❓ Alternatives
No response
📝 Additional Context
No response

v2.0 does use resampling to get around the performance limts of v1


Improve performance of HPACK static table lookup

Motivation:
HPACK static table is organized in a way that fields with the same name are sequential. Which means when doing sequential scan we can short-circuit scan on name mismatch.
Modifications:

HpackStaticTable.getIndexIndensitive returns -1 on name mismatch rather than keep scanning.

Result:
Better HPACK static table lookup performance.

@kachayev can we also have a microbenchmark that shows the improvement ?

@netty-bot test this please

@normanmaurer Sure! I will add the benchmark

Code generally LGTM, though I left a possible followup optimization.  Agree with @normanmaurer  for the benchmark.

@kachayev ping me once ready

@carl-mastrangelo I implemented the improvement that you've suggested by detecting the last pair of same-name fields and avoiding doing search after it at all.
@normanmaurer Added benchmark, though I'm not sure if this is what you've been looking for: is the bench for a new method is good  enough or we need to do 2 benchmarks (separately for old and new)? 🤔

@netty-bot test this please

Oh, you've already pushed changes. Thanks!


add etst to verify that the collection isn't recreated

Testing ?

And I suspect you meant testnot etst


Some sites break with latest Supremium 118

Hey @win32ss ,
Thanks for your amazing browser! I've been almost dailying it as my daily driver browser.
But I ran into an issue when I used it, that is:
This site seems to fail to render properly in Supremium 118:
https://map.projectzomboid.com/
The site loads, but doesn't render the maps in that site at all as seen in the picture (even after persistent reloading).
It loads fine in IE 11, Firefox, Google Chrome (Based on Chrome 109), Vivaldi Browser (based on Chrome 108), etc.
Can you please look into this issue and see why it's happening? and fix this issue if it's even possible, or at least please update me on this issue.
Im btw using,
Host OS: Windows 7
Hope this helps ya.

It looks normal on Windows 8.1. Do you see any unusual output in chrome://gpu/ ? Make sure to scroll to the bottom to see the log.

Also renders fine on Vista.

@win32ss It's working here for me.
System Details

OS: Windows 7 Ultimate 64-bit (x64)
Supermium Version 118.0.5991.0 (Official Build) (64-bit)

Screenshots

@SaranSDS008 look at chrome://gpu/ like @narinishi said...

Fellow Zomboid player here. There are no issues loading the map on my end.
Supermium 118.0.5991.0
Windows 7 x64

Ok so it might be an issue on my end. I'm posting the report file I obtained using chrome://gpu/ URL, so hopefully, I get the issue resolved.
about-gpu-2023-10-19T11-02-38-163Z.txt

You're using the software accelerated Vulkan renderer (swiftshader) instead of the Direct3D acceleration provided by your GPU driver. What happens with the switch --enable-gpu?

Ok thanks for reply. I did later enabled hardware acceleration, but that didn't fix it. But later, I just decided to clear site data, and seems to fix the issue?? i really don't know how and why this happened, but hey, it got fixed xD. Thanks a lot for helping me on this! Here's the new chrome://gpu log file in case you ever need it.
about-gpu-2023-10-21T05-28-59-539Z.txt

I thought it was an issue on my side
but some sites suddenly go blank and I need to either move the mouse around, scroll down or update the page
it's not a major issue but it's a little annoying when writing something on Meta coz I can't see any text displayed


MQTT with TLS ?

Hi there,
well as this a project, which should take place in a battery operated environment, I would like to avoid having a rpi in my camper. I try to send MQTT via the internet directly to my home-homeassistant. To do this, every normal guy would use MQTT on port 8883 (TLS) - It seems (? I cannot see any logs) that a TLS MQTT connection is not possible?

Hi,
what do you mean with "normal guy". TLS is not tested at the moment, but it doesn't work with the library either. Otherwise, I am amazed at the new constellations that I am always asked about.

Hi ! Sorry for the issue here :)
TLS is working here on my side (I guess it does - I had no wireshark in between yet, but the broker should only accept tls connections on 8883 port - and this workes :) So I was wrong here! Sorry!!
"Normal guy"-part: lets say it otherwise: "normally you want to have an encrypted connection, when talking over the internet"


Colab Notebook Doesnt Work

For some reason Colab notebook doesnt work.

Thanks for raising this issue!
The problem is the pytorch and pyg installation in colabs, it seems that the pip installation is broken.
We will try to fix this next week!
In the meantime, you can still build the conda environment locally as specified here: https://github.com/mayrf/pkasolver/blob/main/devtools/conda-envs/test_env.yaml and run the notebook https://github.com/mayrf/pkasolver/blob/main/notebooks/query_example.ipynb

Hi @wiederm , I tried running the Colab notebook but I get the following error:
'''RuntimeError:
object has no attribute sparse_csr_tensor:
File "/usr/local/lib/python3.8/site-packages/torch_sparse/tensor.py", line 511
value = torch.ones(self.nnz(), dtype=dtype, device=self.device())
    return torch.sparse_csr_tensor(rowptr, col, value, self.sizes())
           ~~~~~~~~~~~~~~~~~~'''

This was cause by an outdated version of pytorch. (also discussed here: https://github.com/pytorch/pytorch/issues/74454)
I updated the versions in the notebook and now it should work.


"No LSB modules are available" when running "./build.sh" in Vitis AI Docker

Hello, Xilinx experts:
I am using the the Vitis-AI example from this link: https://github.com/Xilinx/Vitis-AI/tree/master/examples/DPUCADF8H/tf_inception_v1
and when I run "./build.sh" in Vitis AI Docker, I got an error message "No LSB modules are available".
If I run "lsb_release -a" in the docker, I got:
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic
However, outside the docker, when I run "lsb_release -a", I got:
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	RedHatEnterpriseServer
Description:	Red Hat Enterprise Linux Server release 7.9 (Maipo)
Release:	7.9
Codename:	Maipo
I also tried to install lsb-core, by running "sudo apt-get install lsb-core", I got:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lsb-core
I am very confused, I got different linux system outside and inside the docker, and I can 't install lsb-core in the docker. Anybody could help? Thank you very much!!

Hi @dylangeon ,
Docker is similar to a virtual machine, although RedHat Enterprise 7.9 is running on your host, but Ubuntu 18.04 is running inside docker. But docker is not equivalent to a real virtual machine and does not support all commands.
You can ignore the error message "No LSB modules are available". The "./build.sh" script is just to get the correct OS and version number and it has worked. The test is as follows:

Thank you very much Hanxue and wanghy-xlnx for your help!
wanghy-xlnx,
You answered my question! Really appreciate it.
Dylan


Cannot ping docker host from within my containers

Hey.
Before i was using docker on an Ubuntu host and i was able to access all the hosts on the host network from within the docker network.
Recently i have migrated to VMWare Photon + Portainer and i found out that my reverse proxy entries dont work anymore. After troubleshooting them i have found out that all the IP numbers on my host network are accessible from inside of docker container besides the IP of my docker host. On the top of that, all the IPs on my docker bridge network are also accessible from within containers except my hosts internal ip.
So my host is <IP_ADDRESS>/16 and my Docker container bridge network address is <IP_ADDRESS>/16.
From within the container i can ping: <IP_ADDRESS> or <IP_ADDRESS> but not <IP_ADDRESS> nor <IP_ADDRESS>(which BTW is a gateway for route on my container)
Its also worth mentioning that other container names cannot be resolved from within a container, but i never used this functionality before.
What i messed up and how can i fix it?
root@r720-photon [ ~ ]# docker network inspect bridge
[
    {
        "Name": "bridge",
        "Id": "5021f2819a3562148736f51031103d4e727a40c422e58a722fb3016242d3063b",
        "Created": "2020-04-26T10:12:39.643477747+01:00",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/16",
                    "Gateway": "<IP_ADDRESS>"
                }
            ]
        },
        "Internal": false,
        "Attachable": false,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "0ff89b99e320321ad01409b5e118e611f7995082768362ab1f8507074f870e19": {
                "Name": "Portainer",
                "EndpointID": "04652c976f5314ef5f94ab20434cbe92a0f7706c8792541d4a3d47e720a6865a",
                "MacAddress": "02:42:ac:11:00:02",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "5e133eb3efc49f8efc8d0c422574cf059f634650aa2885f969fff3de42c03007": {
                "Name": "unifi",
                "EndpointID": "a1cb2785dd4f481de16e89dda4f6ec3525de725c50fad11b58c849978d7f6a3a",
                "MacAddress": "02:42:ac:11:00:05",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "5fa73511aee6dff758f17350c56e1811370c3c69745c58948650cd7c69104ee3": {
                "Name": "grocy",
                "EndpointID": "7c77a8ed8709bc0ba0aebaf266e959222c0c1d80b01597b1f9b91d9dcef362eb",
                "MacAddress": "02:42:ac:11:00:03",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "6e2351ea9cdc6427ea2f5a874a3118527d5239b09463d7254ad0d83fb8b71656": {
                "Name": "letsencrypt",
                "EndpointID": "fba093b5a720d0ed2f9dace8772d7fb097984fb1e3fc67f99ddab913490ca25e",
                "MacAddress": "02:42:ac:11:00:04",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "ce5a94d0c00796c671628ade425153d38acbe9794368deb545140e2b0abb403b": {
                "Name": "calibre-web",
                "EndpointID": "b559f59b21d759bbdd483f16ada9ee0ee39a559ef6ad66f2b02c1d3d7848e23b",
                "MacAddress": "02:42:ac:11:00:07",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "f8b1991188f9eec19f3fd65a5272d770f08c7f9b527c411081385ca550aff1bc": {
                "Name": "firefox-vnc",
                "EndpointID": "c02601ad704e9e21d6ae7ff5283286b0b909e831a1e9d31f02a7cf08d42a73fd",
                "MacAddress": "02:42:ac:11:00:06",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            }
        },
        "Options": {
            "com.docker.network.bridge.default_bridge": "true",
            "com.docker.network.bridge.enable_icc": "true",
            "com.docker.network.bridge.enable_ip_masquerade": "true",
            "com.docker.network.bridge.host_binding_ipv4": "<IP_ADDRESS>",
            "com.docker.network.bridge.name": "docker0",
            "com.docker.network.driver.mtu": "1500"
        },
        "Labels": {}
    }
]

On the top of that, all the IPs on my docker bridge network are also accessible from within containers except my hosts internal ip.

I'm going to close this as this repository is for reporting bugs with Portainer, and this sounds like an issue with the host/docker/docker dns configuration.
I will add that I think by default PhotonOS is set to be more secure than ubuntu, so you may want to look at the firewall settings


It is recommended to add. The default position of the startup window is in the middle

Hey, can you add the window's default start position to the screen center in the flutter.WindowInitialLocation function?
I know that InitPluginGLFW is used to gain control over the glfw.Window

I'm not sure if initial location is something that we should force, or is something that maybe the systems' window manager should manage (keeping track of where it was last time). In any case, this could be something for a plugin, yes.

我不确定初始位置是我们应该强制执行的，还是系统的窗口管理器应管理的位置（跟踪上次的位置）。无论如何，这可能是插件的事情，是的。

我不确定初始位置是我们应该强制执行的，还是系统的窗口管理器应管理的位置（跟踪上次的位置）。无论如何，这可能是插件的事情，是的。

I'm not sure if initial location is something that we should force, or is something that maybe the systems' window manager should manage (keeping track of where it was last time). In any case, this could be something for a plugin, yes.

ok，Thank you

If you make such a plugin, please let us know, we could add it to the list of interesting plugins in go-flutter-desktop/plugins.

If you make such a plugin, please let us know, we could add it to the list of interesting plugins in go-flutter-desktop/plugins.

Hmm，no problem

This can be implemented without the use of a plugin.
[2. Set the initial window dimension based on screen resolution(]https://github.com/go-flutter-desktop/go-flutter/wiki/Tips-and-tricks#2-set-the-initial-window-dimension-based-on-screen-resolution)

This can be implemented without the use of a plugin.
Tips-and-tricks 2. Set the initial window dimension based on screen resolution

This solution is better, thanks

Just in case anyone is looking for a quick way to use the above to have a fixed size window but start the window center of the screen, you can use the following.
package main

// the file window-size-based-on-resolution.go is used to set the initial
// dimension of the window based on screen resolution.
//
// The following example sets the window to take all of the monitor screen
// minus a border.

import (
	flutter "github.com/go-flutter-desktop/go-flutter"
	"github.com/go-gl/glfw/v3.3/glfw"
)

const windowHeight = 430
const windowWidth = 800

func init() {
	// Notice: Code in init() delays first frame!

	// Not best practice, you should let go-flutter make this call.
	err := glfw.Init()
	if err != nil {
		panic(err)
	}

	vidMoce := glfw.GetPrimaryMonitor().GetVideoMode()

	options = append(options,
		flutter.WindowInitialDimensions(
			windowWidth,
			windowHeight,
		))
	options = append(options,
		flutter.WindowInitialLocation((vidMoce.Width/2)-(windowWidth/2), (vidMoce.Height/2)-(windowHeight/2)),
	)
}

@MostHated Thank you for your contribution


Starter script for Windows

In my understanding drltrace 32-bits can only trace PE32 files and drltrace 64-bits should be used with PE32+ files. For people that have 64-bit Windows, it'd be handy to have the ability to run drltrace <file> from anywhere in the system. I've thought about putting both the content of bin folder from drltrace_win32.7z and bin64 folder from drltrace_win64.7z under the same folder and add its full path to PATH environment variable, but lots of files have the same name. The workaround I found is to use a PowerShell script called drltrace and put it within a folder structure like this:
c:\tools\bin>dir
 Volume in drive C has no label.
 Volume Serial Number is 5CE4-F9DE

 Directory of c:\tools\bin

17/03/2020  23:36    <DIR>          .
17/03/2020  23:36    <DIR>          ..
18/03/2020  00:59             1,647 drltrace.ps1
14/03/2020  05:10    <DIR>          drltrace_win32
14/03/2020  05:12    <DIR>          drltrace_win64
08/05/2017  08:14         8,438,645 floss.exe
23/01/2020  17:56           412,672 upx.exe
13/11/2019  19:06           434,068 xorsearch-x64.exe

The script checks if the PE file given is compiled to 32 or 64-bits and call the right drltrace version to run it. If you add it to PATH, then you can call it com PowerShell shell this way:

Or using cmd:

The idea is to make things easier when using it in a VM to analyse both 32 and 64-bits binaries.
If you think it's useful for other drltrace users, just point me out where I should put it in your directory tree and I can send a PR.
Thanks for your great tool!

I think it is usefull. Go ahead! We have special folder for scripts here:
https://github.com/mxmssh/drltrace/tree/master/drltrace_src/scripts


Make correct reference to engines in the engines directory

Make correct reference to engines in the engines directory

Closes #5

:+1:

discussing offline, but I think we should just remove this file in favor of something like require-dir


3D cuboid sizes as text input

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
We're using cvat to do annotation of pointcloud, in our ODD we have quite a lot of objects of with one or a few dimensions having a fixed metric size. During labelling the cuboids produces by human-labelers have variance, due to how accurately a labeler can adjust the annotation dimensions. This problem is especially pronounced on objects with low density of the pointcloud, which naturally happens for objects that are far away from the sensor.
Describe the solution you'd like
As an improvement I see that the variation in annotations can be reduced by providing a text-field allowing an annotator to type-in known size for certain dimensions of an object.
Describe alternatives you've considered
alternative can be that at least it is possible to see that metric size of dimensions.
Additional context

Hey @OlegAtFernride i would love to contribute, can u assgin it to me?


NUT-09: Mint information

Provide mint information as described here https://github.com/cashubtc/nuts/blob/main/09.md

fixed by #80


DROP3 - With and without not correctly implemented

It is worthwhile to recode the whole algorithm

Adding some efficiency would also be great

/cib


Schema with 'id' field (in addition to '_id') breaks Populate

Calling B.find({}).populate('someField').run(...); with the following schema set will cause someField to be returned as an empty array regardless of it's contents on the database:
var a = new Schema({
  name : String,
  id : String,
  ...
});

var b = new Schema({
  name : String,
  ...,
  someField : [{
    type: Schema.ObjectId,
    ref : 'A'
  }]
});

var A = model('A', a);
var B = model('B', b);

Removing the 'id' field from schema A fixes the problem. I realize that it was poor form on my part to have a field called id in my schema, and that this probably isn't an issue that should be addressed. I'd just like to spare the next poor soul to stumble across this problem a few hours of hair pulling.

thought we fixed this. which version of mongoose?

I'm running 2.2.3.
After I changed the field name in my schema, I discovered that _id and id are colliding during find operations, so that id === _id in the returned documents.

that should have been fixed in 2.3.9. Latest release is 2.3.13
On Wed, Nov 16, 2011 at 11:00 PM, John Manero <
<EMAIL_ADDRESS>
wrote:

I'm running 2.2.3.
After I changed the field name in my schema, I discovered that _id and
id are colliding during find operations, so that id === _id in the
returned documents.

Reply to this email directly or view it on GitHub:
https://github.com/LearnBoost/mongoose/issues/616#issuecomment-2771875

--
Aaron

Cool. Thank you!