/containers/create no longer accepts a string for CapAdd or CapDrop

Similarly to #14170, sending a string for CapAdd or CapDrop when creating a container with a Docker 1.7.0 daemon results in an unmarshaling error.
Assuming a Docker daemon at http://docker:
$ curl -X POST http://docker/v1.19/images/create?fromImage=busybox > /dev/null

$ curl -X POST -H 'Content-Type: application/json' http://docker/v1.19/containers/create -d '{"Image": "busybox", "Cmd": "/bin/true", "HostConfig": {"CapAdd": ["NET_ADMIN"]} }'
{"Id":"c145aca6ba8f2f08b1865f5ae031cdb7dffe163b4d9e750d603146ee1cfc6861","Warnings":null}

$ curl -X POST -H 'Content-Type: application/json' http://docker/v1.19/containers/create -d '{"Image": "busybox", "Cmd": "/bin/true", "HostConfig": {"CapAdd": "NET_ADMIN"} }'
json: cannot unmarshal string into Go value of type []string

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

looking!


[V4] Throw error when a plugin is in transition

Hi,
Feature #17800
I'll try to add some unit tests but I'm not sure it will works very well because of transition support isn't enable when tests are run with Grunt

As I said because of this lines : https://github.com/twbs/bootstrap/blob/v4-dev/js/src/util.js#L48-L50
I can't make unit tests with QUnit.
So, Should I try in differents html files in the visual folders ?

Yes, please add tests for this in one new HTML visual test file.

Done ! If you any feedbacks let me know

Also, this has merge conflicts.
Thanks again for working on this!

I made changes in modal.js but it's not shown here...
It seems Travis don't want to check my PR
Sorry to ask @cvrebert but how can I get the last updates of the branch v4-dev on my branch and fix conflicts ?

It should just be a matter of pulling and rebasing like you've done in the past.

I've just learned this command git pull --rebase :smiley:
Now they are no conflicts

Sorry to PING you @cvrebert I know you have a lot of works to do but... Yes I'm a impatient man :smile: and I love contributing for Bootstrap

This has some conflicts now, but if it gets rebased and is good to go, I can get it merged.

I'll rebase my PR soon thanks you :love:

Done @mdo 💪

So, uh, we have more conflicts. 😆 Can I get one more rebase?

Done @mdo 👍 please tel me it's the last time 😆

We did it! Thanks again @Johann-S! <3

I wonder if there is a way to force stop transitions before hiding?  When using Bootstrap with Angular/Knockout, etc. and dynamically binding Tooltip/Modal/etc., then there needs to be a way to quickly tear-down and re-initialise these plugins.


Add 'labels' parameter to the AddNamedOperation class

Covered by https://github.com/gchq/gaffer-tools/pull/844/files


[firebase_core] Use Gradle BoM with firebase_core

Description
Firebase now supports Gradle BoM (Bill of Materials). This allows a single Firebase version to determine the appropriate version number of specific Firebase dependencies.
Since all other FlutterFire plugins depend on firebase_core this will be the first of the FlutterFire plugins to be updated to BoM then all others will follow once this change is merged.
NOTE: Users of FlutterFire will have to add enableFeaturePreview('IMPROVED_POM_SUPPORT') to their Android app's settings.gradle file till Flutter moves over to Gradle 5+

This broke a CI build for me:
[02:26:22]:
Exit status of command 'flutter build apk --release --target-platform=android-arm64' was 1 instead of 0.
Initializing gradle...                                              3.9s
Resolving dependencies...                                         156.4s (!)
Running Gradle task 'assembleRelease'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':firebase_core:compileReleaseAidl'.
> Could not resolve all task dependencies for configuration ':firebase_core:releaseCompileClasspath'.
   > Could not find com.google.firebase:firebase-core:.
     Required by:
         project :firebase_core

Highly suggest to update FlutterFire.md and consider updating the default generated settings.gradle to include this.
For anyone finding this, open settings.gradle, append:
enableFeaturePreview('IMPROVED_POM_SUPPORT')

To the END of the file.

Yes, this does definitely break Android builds. Not sure what enableFeaturePreview('IMPROVED_POM_SUPPORT') is supposed to do.
I had to revert to the following:
    dependencies {
        api 'com.google.firebase:firebase-core:16.0.8'
    }

enableFeaturePreview('IMPROVED_POM_SUPPORT')

Adding this to settings.gradle helps me to solve this problem. However I found conflict between Firebase versions, so I was forced to add some dependencies in app\build.gradle, such as
    api 'com.google.firebase:firebase-core:16.0.8'
    implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9'
    implementation 'com.google.android.gms:play-services-ads:17.2.0'
    implementation 'com.google.firebase:firebase-storage:16.1.0'
    implementation 'com.google.firebase:firebase-auth:16.2.1'
    implementation 'com.google.firebase:firebase-firestore:18.2.0'
    implementation 'com.google.firebase:firebase-ads:17.2.0'

For Now  firebase_core: 0.3.1+1  works Fine!


Add errorCode for username empty exception

Purpose

Public fix for https://github.com/wso2/product-is/issues/9361

PR_BUILDER JOB for this PR : https://jenkins-support-all.wso2.com/jenkins/job/DEV_PR_BUILDER/880/ completed with status : Success


[GitHub] Create Prototype

@mogah Investigate size reduction of inverting blob, then close issue.

The file size cuts in half when inverting blob, so I will change the deserialization code on the Gallery side


Centered icons in MiniDrawer

How (if it is possible) can I center the icons in the MiniDrawer?

@EpsilonOrionis the icons of the MiniDrawer are centered. (when having the MiniDrawer with 72dp width)

I used your code to create the MiniDrawer. Isn't it with 72dp width MiniDrawer?

@EpsilonOrionis yes it is. i just checked the sample app. the icons are centered :O. can you post a screenshot

I can, but it isn't needed because i have the same result shown in the screenshot example in the Readme project file. But if you need a screenshot I'll upload as soon as I can.

they are centered in the screenshot :O

I mean centered like this:

https://github.com/mikepenz/MaterialDrawer/issues/702 ;)

@EpsilonOrionis code from MaterialDrawer #720
//remove the recyclerView from the slider
result.getSlider().removeView(result.getRecyclerView());
//create new linearLayout which will contain the recyclerView
LinearLayout ll = new LinearLayout(this);
//center the recyclerView within this container
ll.setGravity(Gravity.CENTER);
//height of the items * the amount of items
int height = getResources().getDimensionPixelSize(R.dimen.material_drawer_item_primary) * 2;
//add back the recyclerView in the new linearLayout container
ll.addView(result.getRecyclerView(), new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, height));
//add the new linearLayout container to the drawer slider
result.getSlider().addView(ll, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));


How much of the editor interface could be exposed

I'm interested in building up levels using Python scripts, not so much using Python in run mode.
Have tried reading the UE source base to find the editor classes. How much could be exposed to Python? Import to Content Browser with options set, import to World Outliner, again with options, etc.?

Basically, anything you need, currently you can already build up levels:
import unreal_engine as ue

editor = ue.get_world_editor()

my_actor_blueprint = ue.find_class('YourBlueprint')

editor.actor_spawn(my_actor_blueprint)

or import assets like described here:
https://github.com/20tab/UnrealEnginePython/blob/master/PythonConsole.md#asset-importing

I'm trying it out now. Thank you for this work.
A Python console is useful, but perhaps an easier start is a simple script shelf? I.e. a set of named buttons made from python files in a directory. Press one of the buttons and the script runs, with log output. When the script completes, the instance of the Python interpreter is deleted.
For us, Python integration with Shotgun is the ultimate goal.

You mean shotgun the collaboration tool ?

Yes, http://www.shotgunsoftware.com/ and in particular the Shotgun Toolkit (formerly Tank). Shotgun acts as workflow and digital asset manager. The Shotgun API is useful to find FBX asset files in large productions, import and spawn them to build scene setups. Shotgun's Python toolkit module supports older 2.7, but there are several ways around this problem, or you might offer a 2.7 variation of this plugin ;-)
Your plugin could be a useful gateway for many companies to do this. Thank you and I hope to contribute what I can.

Not using Shotgun in production myself, we have our own custom PyQt Asset Manager/Build Tool and tracking tools, but I imagine you are looking to do the same we are, seamlessly import assets into the Engine from your management software and automate additional actions to or with those assets.
It is possible to open an RPC server within the Engine through Python and communicate with it from an outside Python console.  It's also possible to trigger a new fbx import with the importer window.  What I'm not sure we can do yet is importing Fbx files silently in the background, setting options, and assigning physics assets and skeletons if applicable.  Also trigger a re-import on existing assets.
See today that 20tab added preliminary support for structs (thanks a bunch!), so maybe that opens up the possibilities.  Not sure yet.

We came to the same conclusion about writing an RPC style service inside Unreal, thank you.
The frontier for us is access to the new Sequence Editor, building up tracks, querying. There's a host of automation that's would be very useful in there to integrate with Avid or FCP editorial processes.

Currently setting the skeleton is already working:
skeleton = ue.find_object('UE4_Mannequin_Skeleton')
asset = ue.import_asset(filename, asset_name)
asset.set_property('Skeleton', skeleton)

eventually you can directly set the importer to assign the skeleton:
factory = ue.find_class('FbxFactory')
factory_obj = ue.new_object(factory)
factory_obj.get_property('ImportUI').set_property('Skeleton', skeleton)

but the dialog (in both cases) is triggered.
I am investigating if it can be disabled and rely only on properties.

I have a prototype working where PySide is running within UE using python 2.7. An RPC server is probably not necessary to integrate with either Shotgun Toolkit or PyQt but I need to test more before I can confirm. With this working writing a Shotgun Toolkit Engine shouldn't be difficult. I have a separate project I've been working on this in but will look at forking this project and integrating my changes in. I'm not sure how different the API is between python 2.7 and python 3.5. I haven't used python 3 at all yet due to the applications we integrate with not having moved past 2.

Very cool Tony, using Qt in Unreal would be soo helpful.  Would PyQt4/Sip in theory work as well?  We transitioned to PyQt after watching PySide development fall behind and take a long hiatus, though I believe Autodesk is more invested now in keeping it up to date.

@crispy4004 PyQt/Sip should work fine. Nothing I am doing is PySide specific at all.

Amazing! Thanks so much.
On Fri, Sep 2, 2016 at 2:07 AM, Tony B<EMAIL_ADDRESS>wrote:

@crispy4004 https://github.com/crispy4004 PyQt/Sip should work fine.
Nothing I am doing is PySide specific at all.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/20tab/UnrealEnginePython/issues/10#issuecomment-244162901,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK2vQrdCVuc_2nRjW_MXco2ytGMV2YMmks5qlxRsgaJpZM4Ju4KA
.

@RonFischer I have started implementing the sequencer api. Do you have a specific workflow in mind i can base the work on ? Thanks

I have added a section in the README for proper PyQT5 usage:
https://github.com/20tab/UnrealEnginePython/blob/master/README.md#integration-with-pyqt

@rdeioris very kind of you to ask Robb. Traversing tracks, reading the target actor, traversing clips in the track, reading the media and adjust offsets. That is the start.
I am amazed at your progress!

@rdeioris Thank you for writing up the PyQT5 usage. We are going to need to do a bit more to ensure PyQT and PySide are both running and have all the features available (Signals being one of them). In your example a QtApplication event loop is never started. Because it's a blocking process what I've done in the past is to manually pump the event loop by hooking into a callback provided by the host application. In my tests that I've gotten to work I've passed a callback to FTicker with a repeat duration of zero. This seems to work but one caveat is I was then running into threading issues so in the C++ code I wrapped the python callback in a lambda whose body looked like:
PyGILState_STATE gstate; gstate = PyGILState_Ensure(); result = PYTHONCALLBACK PyGILState_Release(gstate);
This lambda is then passed to the FTimer command. I'm not 100% sure this is the correct way to deal with it but it did stop the crashes I was getting from happening. I also needed to put similar code elsewhere such as around the python call in PythonConsole .
Another bit that will help with integration is exposing the Unreal Editor HWND so we can cast it and parent an invisible QtWidget to it which will act as a parent for the rest of the Qt UI elements. This allows Qt windows to stay on top of the Unreal Editor when they lose focus to another portion of the editor. This technique was used when integrating Qt with Softimage.
Ideally I can get these changes into your code and pushed up today along with the changes I made so python 2.7 can be used as well as a few additional tweaks and features which hopefully will be alright with you.

@rdeioris in traversing the sequence editor folder I find a list of "child object binding strings" which appear to lead to the tracks (not the ChildMasterTracks property, which is what I expected). What are these "ChildObjectBindingStrings" and how do I traverse into them to get down to the clips and animation media?

@RonFischer hi, honestly i am still trying to understand the sequencer implementation :) while tracks, sections and possessable are pretty clear at the high level, the classes tree looks a bit weird (probably because docs are still incomplete). I should be able to address it during this week

Thanks Rob. I went through Sequencer classes API yesterday and will follow
up here with a summary for you.
On Sep 19, 2016 3:46 PM, "rdeioris"<EMAIL_ADDRESS>wrote:

@RonFischer https://github.com/RonFischer hi, honestly i am still
trying to understand the sequencer implementation :) while tracks, sections
and possessable are pretty clear at the high level, the classes tree looks
a bit weird (probably because docs are still incomplete). I should be able
to address it during this week
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/20tab/UnrealEnginePython/issues/10#issuecomment-247929310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK2vQg5u62GfnSopIFfz04rG0MILanRVks5qrj3VgaJpZM4Ju4KA
.

@rdeioris I've branched locally to add support for FMovieSceneBinding, which is the key missing piece connecting scene to track traversals. FMovieSceneBinding is a struct. Can you point out an example for making structs available at Python level? I've looked at FVector but think that may not be the best. Also, do you make Guids visible in Python? Or convert? Again, pointer to example from this codebase would be helpful. Hope I can contribute.

You can access struct field with
your_struct.properties()

and then
your_struct.get_property('name')

I will check for guid soon. Thanks a lot for your pdf it clarified things a lot

@RonFischer hi, i am closing this and opening another new one specific to the sequencer


Refactor eq and remove useless check

Refactor eq to only check for equality and move the code that checks
similarity into its own function. This allows us to remove the check for
equality in the factory function and instead call the checkSimilar
function.
Signed-off-by: Jason Lowe-Power<EMAIL_ADDRESS>

Fixes DARCHR-111

Unittests for the win!


add json tag in entgql mutation_input template

Hey! What is the use case for this? Omitempty?

Hey! What is the use case for this? Omitempty?

I am joining this question. gqlgen auto-binding works without these tags and those types are used mainly by the client side where MarshalJSON is not used - the server calls UnmarshalJSON only.


Ant: fix antenna factors

While reading the factors used in calculating the antenna ratios from the LEF file, 3 of the factors would not get read correctly:
1- ANTENNAGATEPLUSDIFF
2- ANTENNAAREAFACTOR when using the DIFFUSEONLY flag
3- ANTENNASIDEAREAFACTOR when using the DIFFUSEONLY flag
This PR solves the issues with these factors. It also includes some refactoring for a couple of internal strcutures within the ANT checking tool.

Please cut down the LEF to the minimum size necessary for the test and add comment that it has been modified to have particular antenna values for testing.

@ramezmoussa before pushing, you should rebase and force push your commits. Otherwise the full LEF file will still be in the git history.

@ramezmoussa before merging, you should rebase and force push your commits. Otherwise the full LEF file will still be in the git history.

I can take care of it with 'squash and merge' from GH

That's true - it just depends on if you wanted to otherwise maintain the commit history of the PR. I never used it because if the OR robot created the PR, squash and merge would squash it to a commit by OR robot, which messes up git blame, etc.

@rovinski I agree but in this case the PR was from a personal fork


Access bao

Overview
This PR adds functionality to be able to get Bio-acoustic sonar data within the cabled array. It uses echopype package to process the raw data from the raw data archive.

Pull Request Test Coverage Report for Build 322

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build 315:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls


Can't change Locale in Vector Web App. Keeps reverting back.

Every time I change locale from English (US) to English (GB) in the configuration section of the vector web app, it reverts back to US.
I get the 'Jdocs: Incoming WriteDoc request, Item to write: vic.RobotSettings, Robot ID:' in my ubuntu window, but after using vector for a bit, it seems to revert back to English (US) in the configuration section.
Is there any way I can view/change this locale setting manually? Or any ideas what's causing this?
Any help much appreciated.
Many thanks

Do any other locales work? The way to set it is via SDK request, which is what the web app does. You can view it with cat ~/wire-pod/chipper/jdocs/jdocs.json

Do any other locales work? The way to set it is via SDK request, which is what the web app does. You can view it with cat ~/wire-pod/chipper/jdocs/jdocs.json

Many thanks for getting back to me. And for pointing me in the right direction. It seems I was running vectorx on top of wirepod, and that's what is resetting the locale each time a custom intent is called. So not really a wirepod issue I guess (ง •_•)ง
I'll close issue. Thank you again!


Having trouble installing a bottle...

I would treat this as a formula error, but I suspect it's actually a Homebrew issue.  I tried installing wine via Homebrew and it just hangs:
:: brew install -v wine
==> Downloading https://homebrew.bintray.com/bottles/wine-3.0.high_sierra.bottle.tar.gz
Already downloaded: /Users/jszakmeister/Library/Caches/Homebrew/wine-3.0.high_sierra.bottle.tar.gz
==> Verifying wine-3.0.high_sierra.bottle.tar.gz checksum
==> Pouring wine-3.0.high_sierra.bottle.tar.gz
tar xzf /Users/jszakmeister/Library/Caches/Homebrew/wine-3.0.high_sierra.bottle.tar.gz

I've run the tar command outside of Homebrew without issue.  The tar file looks fine and the content looks fine too.  However, Homebrew doesn't appear to move on and I can't figure out why.  I'm happy to help debug if you can provide me some guidance.  FWIW, other bottles seemed to install fine, so it's possible this is actually a formula issue--I just can't confirm it one way or the other right now based on the outputs that I see.
Please always follow these steps:

[ ] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new

I cannot confirm this, though it appears to be a core issue to me since we're failing to move on from a tar command.

[x] Ran brew update and retried your prior step?

[x] Ran brew doctor, fixed all issues and retried your prior step?

[x] Ran brew config and brew doctor and included their output with your issue?

brew config
:: brew config
HOMEBREW_VERSION: 1.5.2-48-g62f85cf
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 62f85cfabbcff722afb406e48e56d5b10e6fc654
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: dc0c6aa82e15ec88b75b91d1760b1f0e6230c899
Core tap last commit: 45 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_EMOJI: 1
CPU: quad-core 64-bit skylake
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.16.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Java: 1.8.0_112, 1.8.0_102, 1.8.0_65, 1.8.0_25
macOS: 10.13.3-x86_64
Xcode: 9.2
CLT: <IP_ADDRESS>.1.1510905681
X11: 2.7.11 => /opt/X11

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config
  /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
  /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config

Warning: Some frameworks can be picked up by CMake's build system and likely
cause the build to fail. To compile CMake, you may wish to move these
out of the way:
  /Library/Frameworks/libcurl.framework

What's the error message? I don't see one?

Sorry Mike, there is no error message--it just hangs.  From the output, it appears to be waiting for tar to finish, but looking at the disk, it already has.  I let things sit for 30 minutes just in case, but it never completed and returned to the prompt. :-(

Is there anything in /usr/local/Cellar/wine/3.0/ ?

Yes, it looks like everything is there.  If I watch, I can see the tar process fire up and exit, but brew still seems to be waiting for it to end. :-(

What does it print if you hit control + \

^\Error: SIGQUIT
Warning: Bottle installation failed: building from source.
/usr/bin/sandbox-exec -f /tmp/homebrew20180205-30362-nww3y1.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/wine.rb --verbose

And then proceeds to build from source.

how about if you export HOMEBREW_DEVELOPER=1 and run with brew install --debug --verbose wine and then hit control + \ while it's stuck.

:: brew install --debug --verbose wine
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/wine.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/sphinx-doc.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb
==> Downloading https://homebrew.bintray.com/bottles/wine-3.0.high_sierra.bottle.tar.gz
Already downloaded: /Users/jszakmeister/Library/Caches/Homebrew/wine-3.0.high_sierra.bottle.tar.gz
==> Verifying wine-3.0.high_sierra.bottle.tar.gz checksum
==> Pouring wine-3.0.high_sierra.bottle.tar.gz
tar xzf /Users/jszakmeister/Library/Caches/Homebrew/wine-3.0.high_sierra.bottle.tar.gz
^\Error: SIGQUIT
Please report this bug:
  https://docs.brew.sh/Troubleshooting.html
/usr/local/Homebrew/Library/Homebrew/vendor/macho/macho.rb:28:in `read'
/usr/local/Homebrew/Library/Homebrew/vendor/macho/macho.rb:28:in `block in open'
/usr/local/Homebrew/Library/Homebrew/vendor/macho/macho.rb:28:in `open'
/usr/local/Homebrew/Library/Homebrew/vendor/macho/macho.rb:28:in `open'
/usr/local/Homebrew/Library/Homebrew/os/mac/mach.rb:8:in `macho'
/usr/local/Homebrew/Library/Homebrew/os/mac/mach.rb:18:in `mach_data'
/usr/local/Homebrew/Library/Homebrew/os/mac/mach.rb:98:in `dylib?'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:118:in `block in mach_o_files'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/pathname.rb:563:in `block in find'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/find.rb:49:in `block (2 levels) in find'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/find.rb:48:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/find.rb:48:in `block in find'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/find.rb:43:in `each'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/find.rb:43:in `find'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/pathname.rb:563:in `find'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:116:in `mach_o_files'
/usr/local/Homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:23:in `relocate_dynamic_linkage'
/usr/local/Homebrew/Library/Homebrew/keg_relocate.rb:55:in `replace_placeholders_with_locations'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:858:in `pour'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:295:in `install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:342:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:232:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:230:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:230:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'

Is there anything unusual or special about your Homebrew installation or Mac's setup? For example, is anything involved here on external storage?

No, it's pretty typical.  No external storage or shares.  I do have Docker installed along with Sophos (anti-virus) and Little Snitch (to monitor network connections, but I turned it off prior to trying again, just in case... it made no difference).

what happens if you
rm -rf "$(brew --repo)"/Library/Homebrew/vendor
git -C "$(brew --repo)" checkout .

and try again

Same issue.  I have to run to a meeting, but I'll happily run through other suggestions later!

Can you try to turn off your antivirus temporarily?

Well, I was going to try that but just did another test run and something has changed.  I'm now at a different location, so maybe that had some affect?  Unfortunately, I can't reproduce the problem now. :-(  If something changes, I'll bring it up again.  Thank you both for trying to help!  And sorry we could point to something concrete as the issue.

So I'm back at my previous location and there is some interaction happening between the anti-virus and Homebrew.  I think the anti-virus is trying to reach out to a service and for some reason isn't getting a response.  Temporarily disabling Sophos did let things proceed though.  It's a bit disappointing--Sophos has bene pretty well-behaved for quite a while.  Guess that status has changed.  Sorry for wasting your time on this, and I'll be sure to make sure anti-virus isn't getting in the way in the future.  I was pretty convinced it was not the problem since 20 other packages installed just fine (most of them bottles).
Thanks again for the help!

For what it's worth antivirus on macOS is completely unnecessary (and on modern versions of Windows too). Good luck in future.


Add mic succefully

Description
This pull request introduces a new feature that adds microphone functionality to the note-taking app, allowing users to input notes via speech recognition. The microphone button starts and stops speech-to-text transcription, directly appending the user's speech to the note content. This enhancement improves accessibility and provides users with an alternative method of input.
Fixes # (issue number, if applicable)
Relevant Motivation and Context
The microphone functionality was added to make note-taking faster and more accessible, especially for users who prefer voice input or have difficulty typing. It uses the Web Speech API to convert speech to text. Additionally, error handling has been implemented to provide feedback when speech recognition is not supported or fails.
Type of change
Please delete options that are not relevant:
New feature (non-breaking change which adds functionality)
Checklist
My code follows the style guidelines of this project.
I have performed a self-review of my own code.
I have commented my code, particularly in hard-to-understand areas.
My changes generate no new warnings.
New and existing unit tests pass locally with my changes.
I have maintained a clean commit history by using the necessary Git commands.
I have checked that my code does not cause any merge conflicts.
Screenshots (if applicable)
Demonstration video
https://github.com/user-attachments/assets/1c91fbba-9bff-4b15-8d42-d24a25b55e9d

Pull request for issue number 256. @theashikagupta

Mic placed at top right corner of textarea succefully.
Ready to merge.

requesting for pull request for issue number 256 . @theashikagupta .


Modal change isOpened prop to isOpen

https://github.com/cerner/terra-core/blob/master/packages/terra-modal/src/Modal.jsx#L41
Update the isOpened prop to isOpen to be consistent with other packages.

PR: https://github.com/cerner/terra-core/pull/402

Resolved in #402


FIX - The multiple requests fetchData() when async job completed or execute callGroupApi

@rhtyd @davidjumani cc @svenvogel
I tested and found the error multiple requests when async job complete or execute callGroupApi from AutogenView.
1. Deploy VM

Before:

After:

2. Destroy VM from list:

Before:

After:

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/790 (JID-3567)

@blueorangutan package

@utchoang a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/790 (JID-3572)

Ping, any update on this?

Ping, any update on this?

@rhtyd Nothing new. @davidjumani Can you check it?

@rhtyd Nothing new. @davidjumani Can you check it?


Icon Update: Edge

Microsoft Edge recently changed their icon to this:

https://46c4ts1tskv22sdav81j9c69-wpengine.netdna-ssl.com/wp-content/uploads/prod/sites/2/2019/11/8c9568e0875e71b5c0397f39c50a87f8.gif

(⊙o⊙)…

https://www.remixicon.com/icon/edge-new-line
https://www.remixicon.com/icon/edge-new-fill


*: Update pd client

Compatibility Test failed, is it normal?

Compatibility Test failed, is it normal?

it is ok. we can update tidb later.

After this pr, the tidb master branch(https://github.com/pingcap/tidb/commit/6e8eb6ef7729763033c4953c53b51cd7f2714d7f) could not be compiled with the newest client-go version, errors would be reported:
go: finding module for package github.com/tikv/pd/client/resource_manager/client
github.com/pingcap/tidb/store/driver imports
	github.com/tikv/pd/client/resource_manager/client: module github.com/tikv/pd/client@latest found (v0.0.0-20230302081710-2ae62af1aaaa), but does not contain package github.com/tikv/pd/client/resource_manager/client

Something wrong with the dependency.
@CabinfeverB @nolouch
PTAL

After this pr, the tidb master branch(pingcap/tidb@6e8eb6e) could not be compiled with the newest client-go version, errors would be reported:
go: finding module for package github.com/tikv/pd/client/resource_manager/client
github.com/pingcap/tidb/store/driver imports
	github.com/tikv/pd/client/resource_manager/client: module github.com/tikv/pd/client@latest found (v0.0.0-20230302081710-2ae62af1aaaa), but does not contain package github.com/tikv/pd/client/resource_manager/client

Something wrong with the dependency. @CabinfeverB @nolouch PTAL

https://github.com/pingcap/tidb/pull/41677 will fix it


How to get vCenter appliance (VCSA) disk usage by pyvmomi for Vcenter 6.0 or 6.5 or 6.7. Is there is way we can do this in Vcenter 6.0

Environment

python version:
3.7
vSphere version:
6.0, 6.5 and 6.7
Operating System/Shell (used to run SDK-based apps):
Mac os

@Imranatnisum You want to query vm disk usage? or datastore usage in vCenter? Please provide more info about what you need.

Closing due to lack of info. It also seems to be a pyvmomi question


Adjust superBlock folder naming schema

There's a few related comments and inspiration for the issue here
Basically, we want to improve the folder names of the superblocks
Some possible approaches:

Remove the numbers entirely

Rename Certificates to 00
Rename Coding Interview to 99
Space out the rest of them for easy additions of new certs?

Things to consider:

Renaming these might break some crowdin scripts or something

I have some concerns about the use of the numbering system to maintain the order of the superblocks in the file tree. Primarily, my concern is that it is entirely possible we want to add a superblock between two existing superblocks, which would mean we either:

assign the next number in the list and create a disparity between the file tree and the rendered order
assign the correct ordinal number and then rename all subsequent superblocks to increment the order.

Either approach has issues and leads to potential overhead or confusion. IMHO, doing away with the numbering system would be the best approach.

We will definitely need to put the relational database cert right after the front end libraries or data viz. That's right in the middle of the others. The future plan is to combine data viz and front end libraries, but I don't think that will happen before the relational databases is ready. So, it's going to be a problem soon. If we use the correct number for it, we would have to renumber all subsequent superblock's like @nhcarrigan mentioned. This seems like the wrong way to go - having to rename them all each time. I am fine with removing the numbers - another solution might be to space them out, like I mentioned in the issue description. i.e. 10, 20, 30... instead of 1, 2, 3... the numbers wouldn't match the order they appear, but they would be in the correct order they appear. And we could nest new certificates in between existing ones. I think I prefer removing the numbers - but there's another solution if it turns out removing them would be problematic or something.

I think that approach still leaves some room for issues in the future, though less likely.
Aside from the convenience of things being in order, I don't see an issue with removing the numbers - finding the superblock shouldn't be too difficult with them being in alphabetical order. The one nice-to-have with the number approach is it provides a clear outline on Crowdin for the order to translate things in.
We could also name the certificates folder to something like _certificates so it is always hoisted.

Closing in favour of above linked issue.


Game crash with core when OTG is disabled

OTG Plugin or Mod

[x] OTG Mod for Forge
[ ] OTG Plugin for Spigot

OTG Version

[ ] 1.12.2_v8_r1
[ ] 1.12.2_v7_DEV_r26
[ ] 1.12.2-v6
[ ] 1.12.2-v5
[ ] 1.11.2-v8
[ ] 1.11.2-v9
[ ] 1.10.2-v21
[X] Other - specify here
Unknown

Forge or Spigot Versions
Unknown
Server/Client Log
Unknown
What other plugins are you running?
Unknown
Description
Received an issue on enderio's git tracker. After discussing with the devs we decided that i should probably forward it to you. Im not sure about the above info but it should be irrelevent.
OTG has an embeded core jar that extracts on run correct?
It seems that if OTG is disabled the core will remain and run however the game will crash because this line https://github.com/PG85/OpenTerrainGenerator/blob/174ed59b36bff94765a9853d36a91e5f356456ea/platforms/forge/src/main/java/com/pg85/otg/forge/events/dimensions/BlockTracker.java#L16
refers to OTG config. This could be most like solved by making OTG core have a hard dependency on OTG itself.
Crash report can be found
https://pastebin.com/LMHByhJH
and original issue can be found on enderio's issue tracker
https://github.com/SleepyTrousers/EnderIO/issues/5377

Hey @tyler489 , this has been fixed for newer versions of OTG, please try v8 from curse or v9 from the OTG Discord at https://discord.gg/UXzdVTH. Thanks!


Adding metadata fields when parsing yarn.lock and poetry.lock

Adding the resolved and integrity fields of yarn.lock to the parsed metadata. This addition is similar to the metadata added when parsing package-lock.json.
Adding the Index field to metadeta when parsing poetry.lock similarly to the existing Pipfile metadata.

Hey, @westonsteimel @wagoodman @spiffcs
Could you please review my PR?
Thank you in advance!

Thanks for the nudge @asi-cider! I've got a couple things I'm looking at today but will try to make some time to clean this up and get the conflicts resolved for a first review


[BUG] DiscordIntegration-1.2.1 (MC 1.15) Custom commands not showing output in discord.

What happened?

Ran a custom command in discord (/entitycount runs the "/forge entity list" command in game), command executes successfully the first time after a reboot. All subsequent times after that for this command or any other custom commands run successfully in game but don't show an output in discord.

What should happen?

Commands should run in game, and display the output in discord.

Steps to reproduce

Make a custom command, can be anything like "/ping playername". Command will run successfully the first time after a fresh server restart, all subsequent times after that the command wont show in discord.

Version

1.15.2

Mod version 1.2.1
Config file
-https://pastebin.com/u1QjKEPF
Additional info
Default commands like /list seem to work but not custom commands. It's also worth noting this issue has been around in the last few versions for 1.15.
Screenshot of problem

I second this not occurring. Weirdly enough, if I do a raw exec command (directly execute into console), when I use the tp command, it'll show the output for that (meaning it picks up on messages sent to the "operator"). However, information from the console is not returned

I believe this to be the relevant error, as a fresh Server will print the console out the first time, however any attempts afterwards results in no response from the mod
Exception in thread "Thread-8" [16:15:15] [Thread-8/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: java.util.ConcurrentModificationException
[16:15:15] [Thread-8/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap.forEach(HashMap.java:1292)
[16:15:15] [Thread-8/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at de.erdbeerbaerlp.dcintegration.Discord.lambda$new$1(Discord.java:224)
[16:15:15] [Thread-8/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.lang.Thread.run(Thread.java:748)

Ah I see why
Looks like I accidentally moved an code line. Going to fix that

I saw this got a fix for mc1.12, any chance you could fix the mc1.15 version?

In 1.15 you need to download the alpha 1.2.2


Functional Error Handling in Kotlin: Part 1

Hey man. This is the first version of the article "Functional Error Handling in Kotlin". As we agreed, we'll create a series of articles, and this first part focuses on nullable types and the Arrow Option type.
Let me know your thoughts.

Done, bro.


Channel override: Proyecto Descartes

Channel ID: hotor-tumag
Styling:

[ ] Custom thumbnail? Provide JPEG file for the channel card
[ ] Custom icon? Provide PNG that will replace the channel icon uploaded at Kolibri Studio
https://www.dropbox.com/sh/z9dlofq8zxg27em/AAAsn-RCu1kww3lqKfFD4Ny0a?dl=0

Options:

[ ] Has carousel section? NO

It passes in Narwhal v7.11.0 in spanish pack


[BUG] Just scrolling through the power rankings and not opening player profiles

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Bluestacks up according to README
Opening Power Rankings through Settings => Search Governor
Setup for tool, start of rok-scanner.py.
Tool is just skipping through the list and not opening actual profiles

Expected behavior
Tool should be opening every single user and tracking stats
Screenshot

Your Setup (please complete the following information):

OS: WIn11
Bluestacks Version: <IP_ADDRESS>6
Main Branch

Additional context
Maybe I am misunderstanding the instructions in the readme, but the Search Governor view is the one I should use, right? if not, it would be awesome if we could get an explanation on how to get to the right screens.

No you should be going to the ranking page. You get there by clicking on your profile photo to the top left and then clicking on Rankings and then Individual Rankings and that is the menu you want to be at

Sorry lol, I really didn't know this screen so far...embarassing. Thank you


Use Hamcrest assertions instead of JUnit in  tests/integration/webclient - backport 2.x (#1749)

Part of #1749
I've already signed OCA. It's an automation problem.
Original PR

/oca-checked


Add enum type

I saw this issue on the official redis-om repository (here: redis/redis-om-node#86) and got a bit confused.
Today while writing some code i got an idea on how to do it that i will probably implement in the future:
// create a enum on the schema
somefield: {
    type: "enum",
    fields: [
        "FieldWithValue0",
        "FieldWithValue1",
        // You could also use strings as values
        { FieldWithValue300: 300 },
        "FieldWithValue301"
    ]
}

// using it (this is the complicated part)
// the database would return a number which would need to be mapped back

const data = await model.get(someId)
data.somefield // this is a number (lets say 1 for the sake of the example)

// this is how you would map it back
model.enums.somefield[data.somefield] // returns "FieldWithValue1"

There are also other alternatives.
One that comes to mind is:
const data = await model.get(someId);

data.somefield.$value // returns the actuall value in the db
data.somefield.FieldWithValue0 // returns 0
data.somefield[data.somefield.$value] // returns the string equivalent to the number aka the enum field

This is duable but however it could have some impact in both performance and memory if you are using enumes with more than 30~50 fields/elements in it

Consider making this more generic, to support any kind of user-extended types.  For example, I'm re-wrapping the ORM object in order to provide conversion of bigints to/from strings.

Consider making this more generic, to support any kind of user-extended types. For example, I'm re-wrapping the ORM object in order to provide conversion of bigints to/from strings.

There are some issues when it comes to making it more generic, the main one being handling parsing for said user extended types thats something i never planed for and would need some discussion about.
The current problem im facing regarding enum implementation is what syntax im going to be using for them which would also affect how easy it would be to add some kind of support for user extended types, with that said, i do think that tuples would cause more trouble than enums to some extend...
Regarding BinInts, it would be a good idea to support them as well, i always forget they exist and now that you talked about it i might add it to the backlog for 0.12 or 0.13.


[release-1.22] Update wharfie usage in windows code path

Proposed Changes
Fix https://github.com/k3s-io/k3s/pull/4669 for windows. We don't test or build any of the Windows code that's present in k3s until it's pulled through into RKE2, so this was missed.
Types of Changes
bugfix
Verification
update k3s in rke2; notice build failure.
Linked Issues

https://github.com/k3s-io/k3s/issues/4662

User-Facing Change
Further Comments

CI failed due to disk space issues; merging.

[PREVIOUS-AGENT]   Normal   NodeHasDiskPressure      3m59s                  kubelet     Node b30937b6a1ea status is now: NodeHasDiskPressure


Cross-version test kotlin-dsl plugin with kotlin 1.4

Cross-version test kotlin-dsl plugin with kotlin 1.4

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Add small 2D load block size option for B.T matrix.

To load one B operand of DPAS per load instruction gets better instruction scheduling result for flash attention kernel.

@chengjunlu can you please provide an example of the before and after kernels, performance of each, and some explanation for why the instruction scheduling is better?

@chengjunlu can you please provide an example of the before and after kernels, performance of each, and some explanation for why the instruction scheduling is better?

The short conclusion for optimization the FA kernel is:
The AI kernel are targeting the high throughput of the computation. The most important part is to hide the memory latency. There are 3 ways to hide the memory accessing latency is:

Memory accessing parallelism.
Instruction-level parallelism.
Thread-level parallelism.

We have used the loop pipelining and prefetching to hide the memory latency for memory accessing parallelism on PVC.
The heuristic of improve the instruction-level parallelism to hide the memory access latency is that to add more irrelevant instructions between the load and its user.
%0 = load %ptr
// The instruction before the user of %0 can be executed in parallel with memory accessing
%n = dpas %0

This kind of scheduling in large the live range of the value returned by memory accessing. And the large interference with other values may cause register spilling in codegen.
Because we are using the large-GRF mode, the EU thread parallelism is wasted by half (Only 4 of 8 physical threads is valid). So the instruction-level parallelism is being more important than usual. (We need more instruction-level parallelism under large-GRF mode.)
So the better instruction scheduling is the balance of 0 register spilling and instruction-level parallelism.
Right now, we only focused on the 0 register spilling for now. The instruction-level parallelism maybe not the best. I will share a table of the idea number of instruction should be inserted for instruction-level parallelism offline.
There are some other method to improve the register spilling issue could be consider:

Use the SLM as the space to hold the long live tensor value to reduce the register pressure.
Carefully manage the register allocation by enable the A/B buffering in register for load.


CC58301: Comma removed

Hello, @lisawong19 ,
This proposed file change comes from https://github.com/MicrosoftDocs/azure-docs-sdk-python.fr-FR/pull/3 .
Could you review this contribution and help to merge if agreed?
Many thanks in advance.

@rloutlaw

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/authorization.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Hello, @lisawong19 ,
This proposed file change comes from MicrosoftDocs/azure-docs-sdk-python.fr-FR#3 .
Could you review this contribution and help to merge if agreed?
Many thanks in advance.

@carolinacmoravia : I don't work the docs team anymore. Can you assign it to @rloutlaw ?


Discard audio track from source RTSP

I have some cameras which are actually CFTV and I take their stream from my Hikvision DVR. They don't have any microphone, but my DVR's RTSP output adds a blank PCMU audio track.
I'd like to discard them with something like #audio=0 (similar to backchannel=0):
my_cam: "rtsp://admin:123@<IP_ADDRESS>:554/Streaming/Channels/601#audio=0"

But instead I have to:
my_cam: "ffmpeg:rtsp://admin:123@<IP_ADDRESS>:554/Streaming/Channels/601#video=copy"

Which probably takes unnecessary CPU cycles as it has to spawn a ffmpeg process.

Supported in master:
streams:
  camera-video: rtsp://admin:123@<IP_ADDRESS>:554/Streaming/Channels/601#media=video
  camera-audio: rtsp://admin:123@<IP_ADDRESS>:554/Streaming/Channels/601#media=audio

That's awesome!

https://github.com/AlexxIT/go2rtc/releases/tag/v1.7.0


Migration from JCenter

JCenter is shutting down, wont be available after February 1st 2022,
Any plans to migrate
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Any movement on this issue?

Update 2:
I have opened #28 to workaround this issue using Jitpack.io without the need for my fork.


pytorch 2.5x faster on VGG16

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Started on SO, and was told to post here (SO post)
Environment info
Operating System:
Ubuntu 14.04 + Maxwell Titan X
Installed version of CUDA and cuDNN:
CUDA 8.0, cuDNN 5.1
:~$ ls -l /usr/local/cuda/lib64/libcud*
-rw-r--r-- 1 root root    558720 Jan 25 08:23 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root        16 Jan 25 08:23 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.8.0
lrwxrwxrwx 1 root root        19 Jan 25 08:23 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.44
-rwxr-xr-x 1 root root    415432 Jan 25 08:23 /usr/local/cuda/lib64/libcudart.so.8.0.44
-rw-r--r-- 1 root root    775162 Jan 25 08:23 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 1000 users       13 Jul 27 07:55 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5
lrwxrwxrwx 1 1000 users       17 Jul 27 07:55 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.5
-rwxrwxr-x 1 1000 users 79337624 Jul 27 07:53 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-rw-r-- 1 1000 users 69756172 Jul 27 07:53 /usr/local/cuda/lib64/libcudnn_static.a

Installed from binary pip package :

https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.1-cp35-cp35m-linux_x86_64.whl with an Anaconda distribution
The output from python -c "import tensorflow; print(tensorflow.__version__)":

I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so locally
0.12.1

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
Using the following code to do a forward pass on a pretrained VGG16 :
import tensorflow as tf
from tensorflow.contrib import slim
from tensorflow.contrib.slim import nets

tf.reset_default_graph()
# Use RNG to avoid the feed_dict argument
input_images = tf.random_uniform((16, 224, 224, 3), maxval=255)
preds = nets.vgg.vgg_16(input_images, is_training=False)[0]
saver = tf.train.Saver()

config = tf.ConfigProto(log_device_placement=True)
sess = tf.InteractiveSession(config=config)
saver.restore(sess, './vgg_16.ckpt')

# With jupyter notebook magic
%timeit sess.run(preds)

Compared to the pytorch version on the same machine :
import numpy as np
import torch
import torchvision.models as models
from torch.autograd import Variable
torch.backends.cudnn.benchmark = True

net = models.vgg16()
net.cuda()

_in = Variable(torch.from_numpy(np.random.randn(16, 3, 224, 224).astype(np.float32)).cuda())

# With jupyter notebook magic
%timeit net(_in)

I get the following results by comparing the frameworks. Surprisingly, there is a small difference with the more complicated resnet-50 while I get a huge gap for the VGG16 architecture which (almost) just uses 3x3 convolutions.

Model
TF
pytorch

VGG16
160ms
65ms

resnet-50
58ms
48ms

@sguada do you see anything that got added recently that could address performance gap? (maybe some new fused ops?)

cc: @vincentvanhoucke in case he knows others working on VGG-like models

Hi @yaroslavvb.  I am going to reproduce the result and get back to you.  Wanted to let you know we are looking at this issue.

thanks
ps: @SeguinBe is the affected party here

One drive-by observation: the setup with
input_images = tf.random_uniform(16, 224, 224, 3), maxval=255)

...might be slow because it's invoking the random number generator for every batch. In the PyTorch program, you run the RNG once, outside the timing loop (in the call to np.random.randn()), and reuse its results several times.
The following might be a fairer comparison:
input_images = tf.Variable(tf.random_uniform((16, 224, 224, 3), maxval=255))
preds = nets.vgg.vgg_16(input_images, is_training=False)[0]
sess.run(tf.global_variable_initializer())
# ...

@mrry tried it already, it does not change the timing at all.
from tensorflow.contrib import slim
from tensorflow.contrib.slim import nets

tf.reset_default_graph()
input_images = tf.Variable(tf.random_uniform((16, 224, 224, 3), maxval=255))
preds = nets.vgg.vgg_16(input_images, is_training=False)[0]
saver = tf.train.Saver(var_list=[v for v in tf.global_variables() if 'vgg_16' in v.name])
init_op = tf.variables_initializer([input_images])

config = tf.ConfigProto(log_device_placement=False)
sess = tf.InteractiveSession(config=config)
saver.restore(sess, './vgg_16.ckpt')
sess.run(init_op)

On a side note, the resnet-50 timing in the end is more like 50ms so basically the same as pytorch.

The tf version is using the slower NHWC data format. Changing it to NHWC will most likely speed things up.

Can you try?
with slim.arg_scope([slim.conv2d], data_format='NCHW'):
preds, _ = nets.vgg.vgg_16(input_images, is_training=False)

input_images = tf.Variable(tf.random_uniform((16, 3, 224, 224), maxval=255))
with slim.arg_scope([slim.conv2d], data_format='NCHW'):
    preds, _ = nets.vgg.vgg_16(input_images, is_training=False, spatial_squeeze=False)
init_op = tf.global_variables_initializer()

config = tf.ConfigProto(log_device_placement=True)
sess = tf.InteractiveSession(config=config)
sess.run(init_op)

Using data_format='NHWC' and size [X, 224, 224, 3] I still get 160ms and with the data_format='NCHW' it is even worse at 462ms...

So I think that was mainly the solution, the tensorflow definition of the network was using a convolution instead of the fully connected linear matrix multiplication for fc6 fc7 fc8. To recapitulate :

Model
Timing

TF-slim default
160ms

TF-slim + NCHW
150ms

fc layers instead of conv
94ms

fc layers instead of conv + NCHW
82ms

pytorch
65ms

There is still a gap but it is definitely more acceptable, should we consider this as resolved?

@SeguinBe are the models identical? One way of telling is initializing with same weights and running the computation through. Since they both rely on CuDNN they should get the same timing, 30% slower seems off.
BTW, you can print out layers and their flops like this, this can sometimes help spot the difference
  tf.contrib.tfprof.model_analyzer.print_model_analysis(
      tf.get_default_graph(),
      tfprof_options=tf.contrib.tfprof.model_analyzer.FLOAT_OPS_OPTIONS)

Looped in by @sguada.
The discrepancy between using convolutional vs. fully connected layers should be fixed.
The convolution kernel correctly calls CuBlas gemm for 1x1 convolutions and NHWC format (see here).
Using conv2d vs. fully_connected should not make a difference for 'fc7' or 'fc8' -- @SeguinBe can you verify that please?
However, the convolution kernel does not currently call CuBlas gemm for the 7x7 convolution in 'fc5'. I can add one more branch and also call gemm when
convolution_type is 'VALID' and kernel_height==height and kernel_width==width and format==NHWC

@gpapan yeah it would be great if it works when the input size and the kernel size are the same and padding is 'VALID'.
Also, it seems that the optimization won't work with data_format='NCWH', but it should also work, isn't it?

@gpapan Yes, setting fc7 or/and fc8 as 1x1 conv does not change the timing (both in NHWC and NCHW btw)
@yaroslavvb It'd take a bit more time to properly transfer the weights from one framework to another. Though I think that I find the same proportional gap even in the 3x3 convolutional layers. I'll investigate more in the coming days.

@SeguinBe Thanks, that's very informative, I will go ahead and submit a change to optimize the branch in which the filter and input activations have the same size.
@sguada I think that cudnn natively supports the NCHW format and handles this special case internally. The last experiment by @SeguinBe also hints in the same direction.

Can someone try it out and get timings with the latest head?

@seguinbe can you please verify that the fix just pushed solves the conv2d vs. fully connected discrepancy issue?

Recent update of Benchmarking State-of-the-Art Deep Learning Software Tools shows some performance issues. For example, (see table 7) AlexNet-R is significantly (~ 10 times) slower in TF than in other frameworks, an it's even slower at GTX 980 than at GTX 1080. Also, ResNet-50 is ~5.5 times faster in MXNet. Those are most significant differences.
In addition, LSTM is around 3 times faster in CNTK, and ResNet-56 is twice faster in MXNet.
Version used was TensorFlow 0.11 (commit 47dd089) with CUDA 8.0 and cuDNN 5.1

@Randl -- thanks, @annarev has been looking at those differences (ps, additional details should probably go to a different github issue since the problems there are different from vgg difference which is almost solved)

Closing this item.  Comments can still be made.  While it does not always make a difference, you can also try adding os.environ['TF_ENABLE_WINOGRAD_NONFUSED'] = '1'.  This seems to make a bigger difference on K80 and it is model dependent.  For Pascal I saw a 9% improvement when testing a Wide ResNet implementation.  Our benchmark scripts also include a VGG16 model, and I asked the team to check that implementation of VGG16 against the findings in this thread.

So I'm coming back to some old issues and tried again this one:
Setup
conda create -n deepl python=3.6
conda activate deepl
conda install tensorflow-gpu=1.9 jupyter
conda install pytorch torchvision -c pytorch

wget http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz
tar -xvf vgg_16_2016_08_28.tar.gz

Ubuntu 18.04 + Titan X Maxwell
TF 1.9, Cuda 9.0, cuDNN 7.1.2 (have to update the drivers to go to 1.10, 9.2, and 7.2)
Commands
Tensorflow
import os
## Does not change anything
#os.environ['TF_ENABLE_WINOGRAD_NONFUSED'] = '1'
import tensorflow as tf
from tensorflow.contrib import slim
from tensorflow.contrib.slim import nets
import numpy as np

tf.reset_default_graph()
if False:  # 'NHWC' format
    # Use RNG to avoid the feed_dict argument
    input_images = tf.constant(np.random.randn(16, 224, 224, 3).astype(np.float32))
    net = nets.vgg.vgg_16(input_images, is_training=False, spatial_squeeze=False)
    conv_layer = net[1]['vgg_16/pool5']
    preds = net[0]
else:  # 'NCHW' format
    input_images = tf.constant(np.random.randn(16, 3, 224, 224).astype(np.float32))
    with slim.arg_scope([slim.conv2d, slim.max_pool2d], data_format='NCHW'):
        net = nets.vgg.vgg_16(input_images, is_training=False, spatial_squeeze=False)
        conv_layer = net[1]['vgg_16/pool5']
        preds = net[0]
saver = tf.train.Saver()

config = tf.ConfigProto(log_device_placement=True)
sess = tf.InteractiveSession(config=config)
saver.restore(sess, './vgg_16.ckpt')

# With jupyter notebook magic
%timeit sess.run(conv_layer)
%timeit sess.run(preds)

pyTorch
import numpy as np
import torch
import torchvision.models as models
torch.backends.cudnn.benchmark = True

net = models.vgg16()
net.cuda()

_in = torch.from_numpy(np.random.randn(16, 3, 224, 224).astype(np.float32)).cuda()

# With jupyter notebook magic
%timeit net.features(_in).data.cpu().numpy()
%timeit net(_in).data.cpu().numpy()

Results

Framework
TF-NHWC
TF-NCHW
pyTorch

pool5 output
72.5
60.1
59.1

fc8 output
73.6
131.0
60.8

Conclusion
Performance is the same as long as the same data format is used. However, as we stated before the optimization to convert the fc-layers (which are implemented as a big convolution) is done with the NHWC layout but not with the NCHW layout. But this is more about the networks being defined differently than actual performance issues.

Hi
Is the
"However, the convolution kernel does not currently call CuBlas gemm for the 7x7 convolution in 'fc5'. I can add one more branch and also call gemm when convolution_type is 'VALID' and kernel_height==height and kernel_width==width and format==NHWC" as I did estimate the time for 7*7 fully convolutions layer and it still took more time than actual FC layers.


WIP: Sleep support

Add sleep support to dat-node, #126
WIP

[ ] Docs Updates!
[x] Finish migrating tests
[ ] Stats updates

[ ] Update hyperdrive-stats (or put in lib/stats.js)
[ ] Peer stats API info (not sure if this is in hyperdrive still)

[x] Importing

[ ] Stats mirror-folder doesn't have (total, etc.) (do we need these?)
[ ] Options mirror-folder doesn't have (do we need these?)

[ ] Storage

[ ] Files as files + latest storage (mafintosh module pending)
[ ] Confirm dat-secret-storage location/API with pfrazee, ogd

[ ] Other

[ ] Revisit pause/resume (not sure if there is anything better we can do in v8)

Codecov Report

Merging #128 into master will decrease coverage by 6.67%.
The diff coverage is 95.06%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   98.24%   91.57%   -6.68%
==========================================
  Files           6        6
  Lines         285      178     -107
==========================================
- Hits          280      163     -117
- Misses          5       15      +10

Impacted Files
Coverage Δ

lib/import-files.js
100% <100%> (ø)
:arrow_up:

lib/stats.js
62.5% <100%> (-37.5%)
:arrow_down:

lib/storage.js
90% <90%> (ø)

index.js
94.28% <92.59%> (-5.72%)
:arrow_down:

dat.js
92.85% <96.15%> (-6.08%)
:arrow_down:

Continue to review full report at Codecov.

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

Gonna fast track this PR a bit. Everything is working and usable, we are just missing some options and nice to have things.
Changes:

Remove dat-secret-storage support for now. I'll just support the same storage as hyperdrive. We can add this in back later without breaking changes.
Remove hyperdrive-stats pending support. Some will be added to hypercore and we can still add hyperdrive-stats back. I have the dat.trackStats() API and stats.get() returning basic info now, so we can support the same API without breaking changes later.
Add/investigate other missing options later. Shouldn't break anything =).
Tests are mostly updated. I removed some download tests for now until we have an easier way to check if download is finished. Otherwise its a bit of a pain.

Still TODO:

Update docs!
Release!


Use absolute_url to generate the feed_meta url

Rather than writing our own URL logic, lets just let Jekyll do the heavy lifting for us.
This should be a backwards compatible change.

@jekyllbot: merge +minor.


notifier.version value reported is incorrect

In version 1.0.0 (current master), the notifier.version is being reported as 1.0.0-beta, rather than the actual version number, 1.0.0.
https://github.com/rollbar/rollbar-php/blob/master/src/Payload/Notifier.php#L8

Fixed in 1.0.1


Armeria Server Configurator to Consumer Server Builder

Replacing Armeria Server configurator with ServerBuilder consumer to add services.
@anuraaga this PR is to showcase that replacing configurator with consumers is not working out-of-the-box. I did this to check that is not something related to [1], and might be related with how Zipkin server is configured.
[1] https://github.com/openzipkin-contrib/zipkin-storage-kafka/issues/61
Anyhow, I'm fine keeping configurator in both Zipkin and Kafka Storage if it's required; and we can close this if you agree.

Hmm that's weird - but yeah I'm fine with closing this and leaving as is


No mention of health check URL for analytics 3.0.0 dashboard containers in documentation

Hi,
we have done dockerized distributed deployment for apim 3.0 and apim analytics but our dashboard containers are getting restarted regularly as there are no health check url metion in your documentation, we for other components health check urls they are mentioned in your documentation which is available online.

Hi,
Thanks for reporting the issue. Now we have updated the docs to include the health check information.
You can find that information here.
https://apim.docs.wso2.com/en/latest/install-and-setup/installation-guide/basic-health-checks/


Redesign AlarmControlPanel for Homematic IP

Description:
Current implementation is quiet confusing for users, because it consists of to AlarmControlpanels, that represent the INTERNAL and EXTERNAL zones delivered by Homematic IP API, and both are able to control the state of Alarm.
This new new implementation unifies EXTERNAL and INTERNAL Zone to create a single AlarmControlPanel in the sense of HASS.
The old AlarmControlpanels still exists, but will have a deprecation message in the log when starting HASS.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

Hi @mxworm,
please have a look at this PR.

Hi @MartinHjelmare, please have a look at this PR.
Thanks in advance.

Can be merged when build passes.

Build is green.
Thanks a lot @MartinHjelmare .


WoW Classic Era (1.15.4) - Addon no longer properly working

Hi,
Could you update it to the latest Classic Era Game  Version of 1.15.4, since the addon is no longer working properly?
Would be awesome, thanks a lot in advance!

I have beta versions up. I may push it out as a full release soon.


write reduction wrapper

once all the simple functions are in place, write reduction wrapper that uses each function in proper order:

combine flats and biases
trace HeNeAr, define wavelength solution
remove flats and biases from all science frames
extract object spectrum and subtract sky spectrum
map wavelength calibration to object spectrum, extract 1d wave. cal'd spec!

be sure it works on 1 image or a list of images

quick and dirty version is done, and example is included as comment at end of code


dummyhttp: init at 1.0.3

Description of changes
Add dummyhttp to nixpkgs

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for the review, I'll apply suggestions asap.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3894

Result of nixpkgs-review pr 308567 run on x86_64-linux 1

1 package built:

dummyhttp


Minor gas opts + comment fixes + add gas diff workflow

Change _gobblers and _goo to relevant castings
++i instead of i++ =)
Couple of comment fixes
Add foundry gas diff CI workflow

thank you!


npm build error

I get this error when trying to build using this command. Can anyone help me solve this issue? Thanks in advance...
npm run build
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe',
1 verbose cli   'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for prebuild, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin;C:\dev\SaiVision\PluralSight\oauth2_openid\oidc-client-js\node_modules.bin;
10 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\dev\SaiVision\PluralSight\oauth2_openid\oidc-client-js
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'gulp build' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec build script
14 verbose stack Error<EMAIL_ADDRESS>build: gulp build
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\lifecycle.js:279:16)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at EventEmitter.emit (events.js:172:7)
14 verbose stack     at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at ChildProcess.emit (events.js:172:7)
14 verbose stack     at maybeClose (internal/child_process.js:827:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd C:\dev\SaiVision\PluralSight\oauth2_openid\oidc-client-js
17 error Windows_NT 6.3.9600
18 error argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
19 error node v4.4.1
20 error npm  v4.0.1
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>build: gulp build
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>build script 'gulp build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the oidc-client package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     gulp build
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs oidc-client
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls oidc-client
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Are all your dependencies installed correctly? Please check if the babel-polyfill is installed. Since npm 3 peerdependencies aren't installed by default.

Thanks for the response. Please bear with me as I am new to npm. How can I ensure that babel-polyfill is installed? I see within my oidc-client-js/node_modules folder all these babel related folders.
babel-core
babel-loader
babel-plugin-add-module-exports
babel-plugin-transform-es2015-classes
babel-polyfill
babel-preset-es2015
babel-register

Since the babel-polyfill folder is present in your node_modules, it means it is present. You will probably have an other issue.
As far as I see, maybe you are missing gulp? Maybe try to install gulp globally npm install gulp -g. It shouldn't make any differences, but sometimes it does :).

I reinstalled node from scratch and followed the instructions. That did it. Thanks again!


Spring cleaning

Updating development environment projects and fixing a few lint warnings along the way.

Will be taking a look at fixing the Travis CI builds shortly as well...

Woo-hoo, travis builds are fixed!


Define variables - reuse secrets

This page https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=classic%2Cbatch
has this text:

Each task that needs to use the secret as an environment variable does remapping. If you want to use a secret variable called mySecret from a script, use the Environment section of the scripting task's input variables. Set the environment variable name to MYSECRET, and set the value to $(mySecret).

Under "Tasks" I have a "Bash script". but I don't see any "Environment" section and no "input variables".
So where shall one set these?

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

ID: dd7e0bd3-1f7d-d7b6-cc72-5ef63c31b46a
Version Independent ID: dae87abd-b73d-9120-bcdb-6097d4b40f2a
Content: Define variables - Azure Pipelines
Content Source: docs/pipelines/process/variables.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

There is actually a section called "Environment Variables" and there one can defined an environment variable called MYSECRET and set the value to $(mySecret).
Maybe a slight adjustment to the documentation would clarify this.


feat(changelog): automatic changelog generation via semantic-release

CD workflow will now generate and commit CHANGELOG.md on every release

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ Bofrost.de has degraded performance

In 438b91a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 910 ms

Resolved: Bofrost.de performance has improved in 148431d after 6 minutes.


python3Packages.sip: ./fix-manylinux-version.patch powerpc64le->ppc64le

Description of changes
The upgrade of python3Packages.sip from 6.1.1 -> 6.5.0 in 2c9237 broke
many dependent packages (notably, PyQt5) on most non-x86_64 platforms.
This was reported in #163589 and fixed in #165992 at 0bcbce26.
However the fix is not quite complete; Python seems to have several
competing naming schemes for platforms (none of which aligns with the
standard gcc/autoconf platform tuples).  The py_platform identifier
for 64-bit PowerPC machines is "powerpc64le", but the wheel tag for
these machines uses the identifier ppc64le.  Since the code in
sipbuild/project.py branches based on one but updates the other, we
need a rosetta stone here.  Let's update ./fix-manylinux-version.patch
from 0bcbce26 to add it.
Tested on powerpc64le-linux Raptor Computing Systems Talos II.
CC: @tpwrules @FRidh @r-burns @CrystalGamma
Things done
Marked as draft while I verify with a rebuild.

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[ ] powerpc64le-linux (building...)

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Fits CONTRIBUTING.md.

For the record, I grabbed the list of tags and supported versions from PEP 600, which does not mention powerpc64le at all. I found an issue which suggests that ppc64le vs. powerpc64le depends on what the distro decides. I'm not sure if the community has come to a consensus on if powerpc64le is a valid tag or not for the Python wheel specifically. A comment there suggests that the valid wheels should in fact be called powerpc64le and ppc64le be deprecated.
In any case, does a replacement for ppc64 -> powerpc64 also need to be created?

Yeah, this situation is a total mess.  I'm digging into it further.
It looks like the problem is actually further upstream, the s_powerpc64le_ppc64le_ needs to happen in pythonHostPlatform from pkgs/development/interpreters/python/cpython/default.nix.  I've got a rebuild testing that right now, but it'll take a few hours.
Why, oh why can't everybody just use the binutils/gcc/autoconf tuples instead of cooking up their own taxonomy...

For the record, I grabbed the list of tags and supported versions from PEP 600, which does not mention powerpc64le at all.

Yes, I believe that was the correct thing to do.

I found an issue which suggests that ppc64le vs. powerpc64le depends on what the distro decides.

My reading is that the PEP600 standard adopted the architecture names that Fedora was using in 2014.
Since 2014, Fedora may or may not have switched to the binutils/gcc/autoconf name powerpc64el (which is stable and does not change over time).   I don't think this is relevant unless PEP600 is updated or superseded. The fact that PEP600 copied Fedora at the time it was written shouldn't imply that whenever Fedora changes their policy it retroactively changes the PEP600 standard, should it?

I found an issue which suggests that ppc64le vs. powerpc64le depends on what the distro decides.

My reading is that the PEP600 standard adopted the architecture names that Fedora was using in 2014.
Since 2014, Fedora may or may not have switched to the binutils/gcc/autoconf name powerpc64el (which is stable and does not change over time). I don't think this is relevant unless PEP600 is updated or superseded. The fact that PEP600 copied Fedora at the time it was written shouldn't imply that whenever Fedora changes their policy it retroactively changes the PEP600 standard, should it?

The thing is, that comment seems to be a Fedora maintainer suggesting that they regret the choice of ppc64le and will change their Python to use powerpc64le, with the steps outlined at the end. I am not sure if that ever took place. I agree that it seems weird to change the interpretation of PEP600, but that seems to be what they want to do. I can't find any indication that it was ever revised.
To be clear, what exactly is the problem you see on your system? Theoretically, if your Python reports itself as powerpc64le, then sip with that patch should create a plain manylinux wheel with that tag instead of trying to create a manylinux2014 wheel, which pip should be happy to install and Python itself should be happy to find the .so for. But you said in some way your Python still calls itself ppc64le?
I wonder if it would best to simply patch sip's manylinux option to be False by default, or in all cases, as presumably people are not using NixOS's sip to build wheels for other Pythons and it seems they are fraught with uncertainty. In approximately 100% of cases, NixOS users will build wheels for the exact same Python and ambient libraries they will install them in. Is it even valid to call a NixOS-built wheel manylinux, as I think it would link against libraries that are too new?

Superseded by #168083.
@tpwrules, sorry for bothering you; the root cause here had nothing to do with #165992 even though the problem manifest itself with a nearly identical error message.


When having two editors open at the same time, length gets overwritten

When having two editors open at the same time, the length of the gif recorded later overwrites the length of the earlier gif :(
Steps:

Open ScreenToGif
Record something
Open the editor  (and keep it open)
Open a new instance of ScreenToGif
Record something (longer or shorter)
Open the editor
Observe that the recording in the previously opened editor now has the same length as the new recording. When the new recording is longer, out of bound exceptions are thrown when editing the added frames.

Hi, thanks for the feedback!
Looks like the editor instances are sharing unwanted data.


Attribute name for filename of uploaded file - no documentation around this

If my users have a single quote in the filename for a while they are uploading via my app gateway, App gateway blocks the request due to 920140: Multipart request body failed strict validation.
Is there an attribute name I can exclude so that the filename of an uploaded file is excluded?
If not, I guess I can disable 920140 but what are the implications of this?
I have hunted through the documentation but cannot find information regarding attribute names for file uploads and also any detailed explanations of the rules and implications of disabling each one.
So any help here specifically and an enhancement of the documentation would be very much appreciated.
Thanks

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

ID: 0e9625e9-4721-8f06-5aa2-1fce4215c0dd
Version Independent ID: e911b960-6e9e-5e9e-1b3d-e91c3fbc39a1
Content: Troubleshoot - Azure Web Application Firewall
Content Source: articles/web-application-firewall/ag/web-application-firewall-troubleshoot.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: ant

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

@aks1994
Here's information from the product team:
The rule itself is just enforcing the result of the strict parsing error. So the correct thing to do, if the check is RFC compliant, is to disable the rule.

#please-close


using both _id and id

Hi, in my app I need to use both id and id_, but by default the package converts all id to id_.
is there a way to overcome this?

Kind of "hacky" but you could use the serialization/deserialization aliases of Pydantic to do this.
For example in your actual pydantic model you define the field "identifier" which you can then serialize to "id".
https://docs.pydantic.dev/latest/concepts/alias/


Server Errors

This is a vanilla server with only Rocket on it, and it returns this error upon starting: https://gyazo.com/91f917d9869058388e599e32d51f4cef

I think you should read the error first before creating an issue. The error says that rocket has failed to deserialize Rocket.Unturned.config.xml, And I think the file is empty. I'd suggest deleting all your configuration files and let the server generate them.


can it be used in china？

question:
I want to use this framework to develop Flutter App server side
can it be used in china？

Hi @paintingStyle,
Thanks for your interest in Supabase. We cannot guarantee that the managed version of Supabase will work in China, but since Supabase is open sourced, you can always self host it on a server that works in China.
You can read more about self hosting Supabase here.

@paintingStyle
I'm in China and I use Supabase for my hobby project, using Vercel as the backend service. The connection from Vercel to the Supabase database is smooth, and Vercel can also add your own domain name.

supabase link --project-ref
What are the parameters behind this command, I tried a lot and got an error
| |
Jay
|
|
@.***
|
签名由网易邮箱大师定制
On 05/10/2022 @.***> wrote：
@paintingStyle
I'm in China and I use Supabase for my hobby project, using Vercel as the backend service. The connection from Vercel to the Supabase database is smooth, and Vercel can also add your own domain name.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@paintingStyle Are you using the Supabase hosted version or self hosted version of Supabase?
If you are using the Supabase hosted version, you can pass your project reference to it like this:
supabase link --project-ref abcdefghijklmnopqrst

Project reference is the random string at the end of your supabase console's URL
You can read more about it here.


Retrieve key modifiers

Hi,
I'd like to ask if it could be possible implementing some sort of glfwGetKey for key modifiers
some sort of  glfwGetMod or something similar?

glfwGetKey already supports this though. Are you unaware of this?
If not, what do you imagine glfwGetMod would do different from glfwGetKey?
See here for the documentation, near the bottom of the macros list.
I have quoted the relevant portion down below as well.
#define 	GLFW_KEY_LEFT_SHIFT   340
#define 	GLFW_KEY_LEFT_CONTROL   341
#define 	GLFW_KEY_LEFT_ALT   342
#define 	GLFW_KEY_LEFT_SUPER   343
#define 	GLFW_KEY_RIGHT_SHIFT   344
#define 	GLFW_KEY_RIGHT_CONTROL   345
#define 	GLFW_KEY_RIGHT_ALT   346
#define 	GLFW_KEY_RIGHT_SUPER   347
#define 	GLFW_KEY_MENU   348


Node failure test case is failing in konvoy pipeline

Node failure test case is failing due to recent changes.
We need to comment out the not required secrets as it is casuing trouble to create the job with nil value insecret of node password. this secret is not needed in konvoy pipeline.
It will be using in nativek8s pipeline only.

/closed


Delete the redundant future wait_and_get APIs

Title pretty much says it. The future wait_and_get() is now redundant with wait() as wait() also returns the datum placed in the associated promise. Rather than have two APIs, this change simply deletes the wait_and_get API in the C and C++ APIs.

Changes look good.
Few additions
There are few tests which include wait_and_get

modules/cuda/test/async_simd.cu:    int *dArr = (int *)allocation->wait_and_get();
modules/cuda/test/async_simd.cu:    int *hArr = (int *)allocation->wait_and_get();
test/cpp/promise/async_future_await_at.cpp:            int result = fut->wait_and_get();

The wait_and_get in test/cpp/promise/async_future_await_at.cpp is causing travis to fail.

@srirajpaul fixes are ready, looks good?


Drag and Drop between tables

Hi,
I am trying to implement drag and drop feature between two tables.
So basically the idea is to drag from one table to another table and which ever row is dragged it should have a relation with the particular row of the other table.The same rows can have multiple relations as well and this functionality can be also be used with other tables as well.
Kindly shed some information on this to how can this be implemented.
What is the expected behavior?
Expected behavior is to have have many-many relation as well as one-many relation between both tables.
What is the current behavior?
Currently only a one-one functionality is working and that to is not getting implemented with other tables as well.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I am using Angular 6.

This would be a great question for the community at StackOverflow. We're currently trying to clean up our issues and finding that we are limited on resources to be able to provide good troubleshooting help right now.


Added user-agent header to Doppler provider

@nmanoogian Do you know a robust way of getting the package version? I don't believe we can rely on process.env.npm_package_version and wasn't sure if reading and parsing the package.json file was considered harmful or not?

Do you know a robust way of getting the package version?

Good question! I haven't had to do this inside a node package yet.
My initial reaction would be that parsing the package.json doesn't seem like a good idea but from reading around online, it does seem like a solution people use. Another option would be to add a step to our release process which injects the version into the code before pushing the package. It looks like most folks do this by injecting/replacing a variable with the npm_package_version environment var (which is available when running scripts).
@apazzolini @Piccirello Have you dealt with this before?

I don't think there's an issue with parsing package.json - that's probably what I would do. Nic's suggestion of replacing a variable at build time is great too, that's what I typically do if I want the git commit SHA.

I went with replacing a variable at publish time.


[Feature][ECM] Support download ec log file

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Problem Description
No response
Description
No response
Use case
No response
Solutions
No response
Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Duplicate issue


fix missed download page

Hi,
I found the download page in the document is 404 on github.
How about point to the release page of prometheus directly?

This works as expected from https://prometheus.io/docs/introduction/first_steps/ so there's no need to change anything.

i see, thanks for your comment :)


Update docker images in integration tests

Codecov Report

Merging #234 (7f96d04) into main (e1c636f) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #234   +/-   ##
=======================================
  Coverage   85.50%   85.50%
=======================================
  Files          26       26
  Lines        2953     2953
  Branches      707      707
=======================================
  Hits         2525     2525
  Misses        317      317
  Partials      111      111


Fix Reference to specific object type

Learn Build status updates of commit 51db2ee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dev-itpro/developer/properties/devenv-extensible-property.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


V1.5 cowboy dev

Add Dynamic Programming foraging behavior. Add hunting behavior to baseline policy. Add toggle boolean for DP & BFS in config.py

Add Dynamic Programming foraging behavior. Add hunting behavior to baseline policy. Add toggle boolean for DP & BFS in config.py


FR: Push-to-zoom

Would it be possible to add push-to-zoom mode in addition to the existing push-to-toggle?
So, instead of enabling and disabling the zoom on distinct keypresses, this would be press-to-enable, release-to-disable.
This would allow much more fluent usage patterns.
Thanks!

I actually wanted it to work that way, but that's a limitation of Tauri: https://github.com/tauri-apps/tauri/issues/4364
But I may be able to use this to it: https://github.com/tauri-apps/tauri/pull/5562


az resource list  with --resource-type 'Microsoft.Web/sites/deployments' returns no results

This is autogenerated. Please review and update as needed.
Describe the bug
the list is always empty for any resource-group I try if resource-type is 'Microsoft.Web/sites/deployments'
Command Name
az resource list
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Have some resource such as a webapp with some deployments_
az resource list --resource-group {} --resource-type 'Microsoft.Web/sites/deployments'
the result is an empty array

Expected Behavior
the same list of deployments visible in the portal or in the https://resources.azure.com/ viewer
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.16.0

Extensions:
application-insights 0.1.3

Additional Context

ARM


gofmt -s

Current coverage is 61.48%

Merging #24 into master will decrease coverage by -0.02% as of 2026b8c

@@            master     #24   diff @@
======================================
  Files           24      24
  Stmts         1530    1532     +2
  Branches       203     203
  Methods          0       0
======================================
+ Hit            941     942     +1
  Partial         92      92
- Missed         497     498     +1

Review entire Coverage Diff as of 2026b8c

Powered by Codecov. Updated on successful CI builds.


[BUG] all outputs show default branch when on a PR branch

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
Output from action even on a PR branch all relates to the default branch even when on a PR
To Reproduce
name: Build

on:
  push:
    branches:
      - master
  pull_request_target:
    types: [assigned, opened, synchronize, reopened]
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
          ref: ${{ github.event.pull_request.head.sha }}

      - name: Get branch name
        id: branch-name
        uses<EMAIL_ADDRESS>
      - name: Current branch info
        run: |
          echo "Name:     ${{ steps.branch-name.outputs.current_branch }}"
          echo "Ref:      ${{ steps.branch-name.outputs.ref_branch }}"
          echo "Head Ref: ${{ steps.branch-name.outputs.head_ref_branch }}"
          echo "Default:  ${{ steps.branch-name.outputs.is_default }}"

returns:
Name:     master
Ref:      master
Head Ref: test-pr
Default:  true

What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
It to output the current_branch correctly and have is_default set to false when on a PR branch.
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@philjones88 This should be available in the latest release.


current linking is deprecated

The way the current image needs --link is deprecated according to docker as referenced https://docs.docker.com/network/links/. It says to use the same network space for it but other than docker compose how would you force osticket to connect to the db upon creation?

When starting the OSTicket container, use the link flag
--link osticket_mysql:mysql -p 8080:80 \

I am not a contributor to this repo. But when starting the OSTicket container, you should use the link flag
--link osticket_mysql:mysql
So basically, start the osticket_mysql container. Then start the osticket container using the flag above

So this question was originally asked when I was inexperienced with docker and containers in general and I read that the --link flag was becoming deprecated.
I eventually found that compose/swarm automagically does this when its already in the same network and that the --link really is semi redundant when you're telling the osticket container the creds to actually connect to the database already via environmental variables.