Create merge_two_binary_tree.cpp

Great work @adithya27082002 please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


docs: wrong position toggler in examples v4

In example With a toggler on the left and brand name on the right
html markup should be switched. navbar-toggler first and then .navbar-brand
Currently toggler appears on right.

There is already PR https://github.com/twbs/bootstrap/pull/22896/ for this issue.
Sorry for noise


Add Space Weasel Industries Stockalike SLS from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Sobol, to add Space Weasel Industries Stockalike SLS to CKAN.
Mod details:
name = /mod/1955/Space%20Weasel%20Industries%20Stockalike%20SLS
author = Sobol
abstract = Stockalike SLS Part Pack
license = GPLv3
Homepage =
description = This is your mod listing! You can edit it as much as you like before you make it public.
To edit this text, you can click on the "Edit this Mod" button up there.
By the way, you have a lot of flexibility here. You can embed YouTube videos or screenshots. Be creative.
You can check out the SpaceDock markdown documentation for tips.
Thanks for hosting your mod on SpaceDock!
Please direct questions about this pull request to Sobol.

This was added in #6705.


Proposed new fields and some bu fixes

Added new size fields related to compression and transfered size and additional timing related to queuing. Made response subfields names case insensitive.
Thnak you for your sharing

Thanks for your improvements! Sorry for the very long delay in merging! I'd forgotten about the project! 😬😭


Reschedule release because of daylight saving time

Summertime!

Coverage remained the same at 81.301% when pulling 3ac7c5a7e230b9308f9a4a0ea96a5937b10b8933 on fix-dst into d51fd82347610c3bda0aeced2e745da096f5e924 on develop.


Possible memory leak in latest version

With the latest version, syncing against mainnet gets to around 1.5 million blocks and then nodeos is OOM-killed by the OS, on a system with 104GB RAM.  This does not happen when syncing to mongodb on a similarly-sized system.

It's probably caused by oversized bulk buffer, I caculate bulk buffer size by count document number, which is not very wise. just fixed in @ #5

A run last night was OOM-killed at block #6158000 with the following error:
Oct 25 03:46:57 es-nodeos kernel: Out of memory: Kill process 31368 (nodeos) score 812 or sacrifice child
Oct 25 03:46:57 es-nodeos kernel: Killed process 31368 (nodeos) total-vm:157843424kB, anon-rss:86821540kB, file-rss:396kB, shmem-rss:8kB

One comment I had from the developer of the mongo plugin was as follows:

No. boost::asio::post uses a queue to return immediately. There is no limit to this queue, therefore they can pile up.

I am not a C++ developer so I can't comment conclusively but you might want to look into your use of that call.

A run last night was OOM-killed at block #6158000 with the following error:
Oct 25 03:46:57 es-nodeos kernel: Out of memory: Kill process 31368 (nodeos) score 812 or sacrifice child
Oct 25 03:46:57 es-nodeos kernel: Killed process 31368 (nodeos) total-vm:157843424kB, anon-rss:86821540kB, file-rss:396kB, shmem-rss:8kB

One comment I had from the developer of the mongo plugin was as follows:

No. boost::asio::post uses a queue to return immediately. There is no limit to this queue, therefore they can pile up.

I am not a C++ developer so I can't comment conclusively but you might want to look into your use of that call.

https://stackoverflow.com/questions/11679125/setting-limit-on-post-queue-size-with-boost-asio
looks like the unlimited task queue size is the root cause. thanks for help, will reimplementation it asap.

I rebuilt my nodeos instance yesterday on Ubuntu 18.04 and it's gotten past block 8 million without the memory leak.  I'm not sure why it's behaving better on Ubuntu but at least it probably explains why your testing didn't discover it.


The link to pretrained tracker model is invalid.

Can't download pretrained model (434 MB)  via bash script.
wget http://cs.stanford.edu/people/davheld/public/GOTURN/trained_model/tracker.caffemodel --no-check-certificate Connecting to www.cs.stanford.edu (www.cs.stanford.edu)|<IP_ADDRESS>|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2023-12-06 15:58:31 ERROR 404: Not Found.
Could you please to share another link to weight?

issue resolved!

issue resolved!

issue resolved!

Hi ! I'm encountering the same issue, did you got a fresh link ?


[HOLD for payment 2023-10-30] Optimize React Context usages in New Expensify

Coming from: https://expensify.slack.com/archives/C05LX9D6E07/p1695377829998599
Problem:
Poorly implemented React Context will lead to unnecessary re-renders of Context.Consumers.
Solution:
Making sure that each time React Context is used, the value passed to Context.Provider will be properly memoized. Apart from fixing problem in existing files it would be nice to share the knowledge to developers (and reviewers) to pay attention to this problem.
Go through this list and optimize these context usages:

src/components/ScrollViewWithContext.js
src/components/AnimatedStep/AnimatedStepProvider.js
src/components/Attachments/AttachmentCarousel/Pager/index.js
src/components/DragAndDrop/Provider/index.js
src/components/PopoverProvider/index.js + index.native.js
src/components/withWindowDimensions/index.js + .native.js
src/pages/home/ReportScreen.js
src/pages/home/report/ReportActionItem.js
src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.js

all done here


bin/setup 'psych gem' error: diff to 'speedrail' default?

when setting up the project with Ruby 3.3.5, i encountered an issue with the ‘psych' gem.
the error suggests a mismatch between the installed Ruby version and the system Ruby. (i've probably messed something up) – but when setting up a clean Speedrail (git clone …) this error didn't happen before, just wondering as i've thought it's a direct Speedrail fork. :)
Error Message
== Starting development server ==
Ignoring psych-5.1.2 because its extensions are not built. Try: gem pristine psych --version 5.1.2
Ignoring stringio-3.1.1 because its extensions are not built. Try: gem pristine stringio --version 3.1.1
Ignoring stringio-3.1.1 because its extensions are not built. Try: gem pristine stringio --version 3.1.1
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require': dlopen(/Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.bundle, 0x0009): Symbol not found: _rb_cObject (LoadError)
  Referenced from: <2063CCB9-C356-31E6-AEDD-53785DD7FE58> /Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.bundle
  Expected in:     <A010185E-A8DB-305A-9A58-231EC4C79CC2> /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby - /Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.bundle
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require'
        from /Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.rb:13:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:4:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/gems/foreman-0.88.1/lib/foreman/cli.rb:8:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/gems/foreman-0.88.1/bin/foreman:5:in `<top (required)>'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/bin/foreman:23:in `load'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/bin/foreman:23:in `<main>'
niklasbabel@NiklasB-MBP white_bnb % gem install psych

Building native extensions. This could take a while...
Successfully installed psych-5.1.2
1 gem installed
niklasbabel@NiklasB-MBP white_bnb % chruby 3.3.5
niklasbabel@NiklasB-MBP white_bnb % ruby -v
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [arm64-darwin24]
niklasbabel@NiklasB-MBP white_bnb % ruby-install --latest
*** DEPRECATION: -L,--latest is deprecated. Please use -U,--update instead.
>>> Downloading latest ruby versions ...
>>> Downloading latest jruby versions ...
>>> Downloading latest truffleruby versions ...
>>> Downloading latest truffleruby-graalvm versions ...
>>> Downloading latest mruby versions ...
Stable ruby versions:
  ruby:
    3.0.7
    3.1.6
    3.2.5
    3.3.5
  jruby:
    <IP_ADDRESS>
  truffleruby:
    24.1.0
  truffleruby-graalvm:
    24.1.0
  mruby:
    3.3.0
niklasbabel@NiklasB-MBP white_bnb % ruby -v
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [arm64-darwin24]
niklasbabel@NiklasB-MBP white_bnb % chruby 3.3.5
niklasbabel@NiklasB-MBP white_bnb % bin/setup
== Installing dependencies ==
The Gemfile's dependencies are satisfied

== Preparing database ==
DEPRECATION WARNING: ActiveSupport::ProxyObject is deprecated and will be removed in Rails 8.0.
Use Ruby's built-in BasicObject instead.
 (called from <main> at /Users/niklasbabel/Documents/code/white_bnb/config/application.rb:7)

== Removing old logs and tempfiles ==
DEPRECATION WARNING: ActiveSupport::ProxyObject is deprecated and will be removed in Rails 8.0.
Use Ruby's built-in BasicObject instead.
 (called from <main> at /Users/niklasbabel/Documents/code/white_bnb/config/application.rb:7)

== Starting development server ==
Ignoring psych-5.1.2 because its extensions are not built. Try: gem pristine psych --version 5.1.2
Ignoring stringio-3.1.1 because its extensions are not built. Try: gem pristine stringio --version 3.1.1
Ignoring stringio-3.1.1 because its extensions are not built. Try: gem pristine stringio --version 3.1.1
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require': dlopen(/Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.bundle, 0x0009): Symbol not found: _rb_cObject (LoadError)
  Referenced from: <7C2F64C1-1691-3B9E-A068-E52EA7D29C38> /Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.bundle
  Expected in:     <A010185E-A8DB-305A-9A58-231EC4C79CC2> /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby - /Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.bundle
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require'
        from /Users/niklasbabel/.gem/ruby/3.3.5/gems/psych-5.1.2/lib/psych.rb:13:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:4:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/gems/foreman-0.88.1/lib/foreman/cli.rb:8:in `<top (required)>'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/gems/foreman-0.88.1/bin/foreman:5:in `<top (required)>'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/bin/foreman:23:in `load'
        from /opt/homebrew/Cellar/foreman/0.88.1/libexec/bin/foreman:23:in `<main>'
niklasbabel@NiklasB-MBP white_bnb %

Fix

Psych gem install:

ensure correct Ruby version is active:
chruby 3.3.5
ruby -v

reinstall the psych gem:
gem uninstall psych
gem install psych

rebuild native extensions:
gem pristine --all

update Bundler:
gem install bundler
bundle update --bundler

reinstall all gems:
bundle install

reinstall foreman
gem uninstall foreman
gem install foreman

Check PATH to ensure the correct Ruby version is being used:
which ruby
which bundle

(these should point to paths within your Ruby 3.3.5 installation)

optional: might need to reinstall Ruby 3.3.5:
ruby-install ruby 3.3.5

try running Rails server again:
bin/dev

thanks for sharing the fix. i've had a couple psych issues over the years, usually some growing pain of a dependency that got bumped. in this case, White BNB now diverges from Speedrail a bit because Speedrail is still Rails 7.
bumping Speedrail to Rails 8 soon, then will see if i can replicate this and fix permanently.


Dashboard doesn't work with GitLab 11

We have upgraded our GitLab to 11.0.2-ee and the dashboard stopped working.
Do you have any plans to add support for version 11 anytime soon?

You should definitely use API in version 4. GitLab 11 removed v3 route (see here).

Thanks for pointing that out.  I have updated the configuration, so we are now using V4 of the API. 2 of the projects are loaded on the dashboard, but then an error is shown:
"Something went wrong. Make sure the configuration is ok and your Gitlab is up and running. Details: Cannot read property '0' of null"
I guess not all endpoints of the V4 API are properly implemented.

"Something went wrong. Make sure the configuration is ok and your Gitlab is up and running. Details: Cannot read property '0' of null"

I've just created a pull request https://github.com/emilianoeloi/gitlab-ci-dashboard/pull/10 fixing an issue that caused this problem when a repository has one or more tags. Maybe one of your repos has multiple tags?
Hopefully we can get this fix into the master branch asap.

I use version 6.4.4 of gitlab-ci-dashboard with version 11.7.5 of GitLAB (v4 API) and the following message is displayed on the board:
Something went wrong. Make sure the configuration is ok and your Gitlab is up and running.
Details: s(...).exec(...) is null

In the meantime until my fix in PR #16 will be merged, you can use temporary published package with fixed for GitlabCI API v4: https://www.npmjs.com/package/gitlab-ci-v4-dashboard


Caption styles

Greets Team InstagramFeed,
This branch builds on my last PR and now adds a feature that allows overriding of the default caption styling. Let me know if you'd like anything changed.
-Dan

Please, read CONTRIBUTING.md before sending any PR:

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

There is no need of adding caption_styles parameter as long as styles can be fully disabled or overridden using CSS: https://github.com/jsanahuja/jquery.instagramFeed/issues/108#issuecomment-783497554


Pasting simple text with Ctrl+V inserts it at the beginning instead of current cursor position

This is happening in:

Firefox 76.0.1 (64 bit)
Windows 10

It happens also on the demo page: (https://xdsoft.net/jodit/) as shown in the attached gif where it can be seen how I:

Select text from the Editor
Position cursor on the next line
Press Ctrl+V and text is inserted at the very top instead of cursor position
Repeate copy, position cursor on nexte line and Ctrl+V -> Text is inserted again at the very top

Can you repost this to: https://github.com/xdan/jodit/issues
This seems like an issue with the core Jodit library. This project simply provides a React friendly wrapper around Jodit, so it won't be able to fix this underlying issue.

ok, I'll post it there and closing the issue here. Thank you


Handle some Pulumi error with complete stack recreation

What does this PR do?
Add a way to force the recreation of the stack for some flakes that are not fixed simply by rerunning pulumi up

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


Create instruction for loading files from js to several robots

Is your feature request related to a problem? Please describe.
In group tasks, users need to upload the same file on several robots. In fast prototyping, this process occurs very often.
Describe the solution you'd like
Suggest script for advanced users on uploading several files to robots. Both Linux and Windows OS.

Done

https://help.trikset.com/studio/programming-code/loading-programs-on-several-robots


probably upstream bug: Intelephense 1.3.5 can't read its own states

Describe the bug
On initialisation Intelephense fails after 2 minutes when trying to read the workspace state, even though at first it's empty. After timing out it properly re-indexes the project and saves its state. On next open it hangs again and this time doesn't write (probably because there are no changes). I just need a confirmation this isn't vim/coc-phpls related before I open an issue upstream.
To Reproduce
Steps to reproduce the behavior:

Install vim
Install coc.nvim
Install coc-phpls
Open any PHP project

Expected behavior
I expect Intelephense to load quickly, not hang while reading state and then timeout.
Screenshots
Related parts of :CocInfo output:
## versions
vim version: NVIM v0.3.8
node version: v12.13.0
coc.nvim version: 0.0.74-bc017b02e6
term: screen-256color
platform: linux

## Output channel: phpls
[Info  - 15:09:55] Initialising intelephense 1.3.5
[Info  - 15:09:55] Reading state from /home/user/.config/coc/extensions/coc-phpls-data/674614e2.
[Warn  - 15:12:06] undefined
[Info  - 15:12:06] Initialised in 130624 ms
[Info  - 15:12:06] Intelephense 1.2.3
[Info  - 15:12:06] Indexing started.
[Info  - 15:12:07] Indexing ended. 98 files indexed in 1s.
[Info  - 15:12:07] Indexing started.
[Info  - 15:12:22] Indexing ended. 10169 files indexed in 14s.
[Info  - 15:12:22] Writing state to /home/user/.config/coc/extensions/coc-phpls-data/674614e2.
[Info  - 15:12:23] Wrote state in 1.7s.

coc-settings.json:
{
    "intelephense.licenceKey": "***",
    "intelephense.files.exclude": ["var"]
}

Desktop (please complete the following information):

OS: Linux Ubuntu 18.04.3 4.15.0-72-generic
Version: coc-phpls: 2.1.4, Intelephense: 1.3.5

@cprn
Can you turn on verbose so I can see CocInfo?

@marlonfan

1st run
2nd run
diff

Licence activation issue is due to proxy, I don't want to bother admin each time I reinstall from scratch.

"Reading state from" happens in node_modules/intelephense/lib/intelephense.js so I'm posting this upstream.

OK, so I was testing this some more to open a concise issue upstream and I found out this only happens when I have intelephense.licenceKey set in my coc-settings.json. It might only be when I'm behind proxy but can't confirm - I currently have no environment that isn't behind proxy.

I confirmed with Wireshark this is caused by Intelephense trying to connect to the license server directly (i.e. not respecting environment proxy settings). Ben stated in this comment the proxy setting is taken from process.env.https_proxy setting but there's no such thing in coc-settings.json schema.

Can be closed, fixed upstream: bmewburn/vscode-intelephense#915.


Export ExportMode(..)

Needed to use ExportMode.

Oh whoops, that probably should have been exported before. Thanks!


Minor issue: Missing space after the full stop between two sentences

Minor issue, there is a missing space between the following two sentences:

If your dataset grows large, complex analytical queries can be expensive in terms of provisioned throughput on the data stored in this format.High consumption of provisioned throughput in turn, impacts the performance of transactional workloads that are used by your real-time applications and services.

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

ID: f947a93f-1c0c-0e6e-acae-0f27571019a2
Version Independent ID: b214f360-3057-010b-db69-53a489218065
Content: What is Azure Cosmos DB Analytical Store (Preview)?
Content Source: articles/cosmos-db/analytical-store-introduction.md
Service: cosmos-db
GitHub Login: @Rodrigossz
Microsoft Alias: rosouz

@JonathanLydall Thank you for the feedback. We are actively investigating and will get back to you soon.

@JonathanLydall  We have raised the PR request,  I will be update soon. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


print Arabic Characters

Hello, I try the print using Arabic it’s print ??? instead of Arabic input.

What do you mean by 'Arabic input.' ? (you can express in arabic BTW)

It is best to print image for other character. Create a canvas, place your arabic text there and then print the base64 image data from canvas.

What do you mean by 'Arabic input.' ? (you can express in arabic BTW)

I mean Arabic characters

user this plugin cordova-plugin-iposprinter

Can you share the code? Or did you use  Print picture for print ?
On Sat, Feb 5, 2022 at 8:22 AM engrmabdullah @.***>
wrote:

[image: image]
https://user-images.githubusercontent.com/61316983/152626220-9d63946d-9b3c-4f73-a14a-54b30b3c6c44.png
user this plugin cordova-plugin-iposprinter
https://github.com/paystory-de/cordova-plugin-iposprinter
—
Reply to this email directly, view it on GitHub
https://github.com/giorgiofellipe/cordova-plugin-datecs-printer/issues/151#issuecomment-1030507030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALORUE7KFOYPCSF3OSOVJFLUZSGGPANCNFSM4JCGMEIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***
.com>


Feature: Flag for failure exit code

For continuous integration support jscpd should return failure exit code.

Good idea, I think it can be property in config, something like percentage of duplication lines for build.
I'll take a look

I'd like this tool and  I want to help.
But  I don`t  use coffeescript (.

+1

already implemented in ^0.5.4, you can use --limit option for point needed level of duplications


OpenML datasets: Encode categorical features using CategoricalArrays?

table = OpenML.load(61) |> Tables.columntable
elscitype(table.class)
Textual

Ideally this would be Multiclass{3}. Perhaps we could do coerce(table, autotype(table)) unless user provides autotype=false kwarg. (Not working in this particular case, perhaps because type of class is SubString instead of String?? Is there a reason for using SubString here?)

cc @darenasc

https://github.com/alan-turing-institute/MLJScientificTypes.jl/issues/30

Thanks @ablaom, I'll take a look at it and change it to the appropriate behaviour.


Authoring Razor docs #130

I would like to write the Razor Syntax Article described by #130. The contributions guide said to get approval here so here I am.

Resolved this in #130


renamed WeeksInterval to IntervalWeeks

as per user report #1669
I renamed WeeksInterval  to IntervalWeeks

Docs Build status updates of commit e44a83b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/clusterawareupdating/Add-CauClusterRole.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.

@get-itips @tseward
Peer review needed for this PR. Thanks.

I am waiting for update


Cisco/Meraki wifi compatibility

fixes wifi connection issue on some Cisco/Meraki equipment

Will there be a new firmware anytime soon as mine are still rebooting due to insufficient memory when two sensors are triggered at the same time. I noticed the first point has something to do with saving memory.

File system file is 1000KB compared to 120KB for 2.2.6!!


[5211] Show the output from the DQT API for a trainee

Context
https://trello.com/c/8clT8XTR/5211-show-the-output-from-the-dqt-api-for-a-trainee
Changes proposed in this pull request

Create new DqtDataSummary component, a table which displays
the response of the DQT get teacher API
Call the get teacher API endpoint from the trainee admin controller
rescuing any exceptions
Render the data summary on the trainee show page

Guidance to review
You can't view this in dev / review / QA etc, but you can view the component with mock data here:
https://register-pr-3084.london.cloudapps.digital/view_components/dqt_data_summary/view/default
Head to a registered trainee show page, admin tab to see where it would render, and how the 'no data' scenario is handled.

Important business

[ ] ~Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?~
[ ] ~Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?~
[ ] ~Do we need to send any updates to DQT as part of the work in this PR?~
[ ] ~Does this PR need an ADR?~

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Show the output from the DQT API for a trainee

This looks awesome. Way cleaner than I thought it would look.
What will happen when we update to DQT API v2 - will it 'automatically add' the other fields, or do we need to have a ticket to update it?
Thanks Abi.

@claire-hughez v2 contains breaking changes, so we'll have to make a couple of changes to this at the same time as doing the update (e.g. they've split firstName and lastName into separate fields and the dob field is now called dateOfBirth). It won't be too much work though 👍

Cool, I'll amend the ticket I made yesterday now. Thanks!


Upload fails when there are no issues

When your application is simply perfect and has no issues, the github task rejects the resulting json.
Here is a sample GH Actions: https://github.com/rhruiz/cege.la/runs/3742964277?check_suite_focus=true

Released 0.1.1 that fixes this issue. Also added new test for checking for such case.


Remove sID2Idx and fID2Idx in the JS BiomTable class

Based on discussion with @ElDeveloper this morning. These variables (which map sample / feature IDs in the BIOM table to their 0-based indices in the sample ID / feature ID array) could be computed in JS (decreasing the amount of data needed to be loaded when opening Empress)...
https://github.com/biocore/empress/blob/6a7b9c4701e7fb203a793c1b445308775eaa01a7/empress/support_files/js/biom-table.js#L10-L13
... and/or not used at all in favor of finding indices of IDs "on the fly". (This would be pretty simple to do, since all that'd be needed would be modifying BiomTable._getSampleIndexFromID().)
https://github.com/biocore/empress/blob/6a7b9c4701e7fb203a793c1b445308775eaa01a7/empress/support_files/js/biom-table.js#L91-L106

@fedarko do you what the performance hit would be if we computed them on the fly?

Computing this in the main HTML would probably be better than doing this on the Python side, plus this would remove the necessity to store that data.

@kwcantrell it'll depend on how we implement it and where the lookups are done from -- the naive solution is just modifying _getSampleIndexFromID() and its Feature equivalent to go through this._sIDs until it finds a match (so, O(|samples|) time per lookup). If this only has to be done once for a given sample/feature it isn't too bad, but if we do it, say, in the middle of a for loop over e.g. 100 samples then it'll start to blow up.
Thinking about it more, a better solution would be adding new functions (extensions of _getSampleIndexFromID()) that take in an array of sample / feature IDs and make one pass through this._sIDs or this._fIDs, returning all of the indices at once, and then rewriting some of the BIOM methods to use these new functions. I think that'd get us the best of both worlds (relatively minor slowdown + no need to store anything), but i'm not sure how tedious doing that would be.

Also, if we calculate them in js, then we can cache the values since it should take up to much memory.


Skip Redirect: archive.org missing?

Opera,Chrome Addon Version 2.3.4 from github, Win 10.
http://web.archive.org/ seems to be not checked yet.
I saved:
https://github.com/sblask/webextension-skip-redirect/
at:
https://web.archive.org/save/
but the processed snapshot link:
https://web.archive.org/web/20210127160006/https://github.com/sblask/webextension-skip-redirect/
leads not to the archive.org snapshot, instead back to github.
Only my problem with perhaps too much disturbing addons?
thx

You'll have to add it to you no skip url list. I don't add site specific things to the default list.

You'll have to add it to you no skip url list. I don't add site specific things to the default list.

Skip-Urls-List
://.archive.org/*
OK, and running good :)
thx

Skip-Urls-List
://.archive.org/*
OK, and running good :)
thx


Get runes/insignias prices from https://www.presearing.com/runes-and-insignias-pricing when you are in presearing

Instead of showing prices from the rune trader

Yeah just checked the html code for it, it's horrible as you said so tbh idk, maybe yeah just block it.
Does Meir manually maintain those prices? Maybe we could ask him to make some page that's just cleartext with the list of prices, if he's anyway maintaining them manually

Spoke with Meir about providing a more app-friendly list of prices for pre. Once they expose that info into their website, I'll take a look at how to parse it and populate prices


Cannot use string array for wrapperClass since 6.5.9

Swiper Version: 6.5.9, probably related to commit
Platform/Target and Browser Versions: e.g. macOs Chrome

What You Did
Setting the default wrapperClass + a custom wrapper class by using an array
<swiper [wrapperClass]="['swiper-wrapper', 'custom-swiper-wrapper']">
Working StackBlitz with version 6.5.8
Broken StackBlitz with version 6.5.9
Expected Behavior
We want to set an additional wrapper class to apply some custom styling, but also have the default styling of the .swiper-wrapper class.
This worked by using a string array, but is now broken since version 6.5.9
I realize that this was an undocumented feature, but as it used to work, it would be really great to keep it 😇
Actual Behavior
Component broken, several exceptions in console, because classes are not applied correctly.

Don't expect something undocumented to work, and not sure why it was working:) You can just pass ['a', 'b'].join(' ') to wrapperClass to make a string from classes

Don't expect something undocumented to work, and not sure why it was working:) You can just pass ['a', 'b'].join(' ') to wrapperClass to make a string from classes

I tried that too, but it doesn't work... To get the wrapperEl you use $el.children(`.${swiper.params.wrapperClass}`) in your code which will fail. I think this must have changed too, as it was working before.
Could we maybe tag this as feature request instead then?

Actually for now we can just use <swiper class="custom-swiper-wrapper">
My colleague just pointed me to this, that the mentioned commit above actually changed the behaviour to attach the class of the root level to the wrapper div.
Though this too isn't documented 😕

Yeah, that is a bug for sure :) and already removed here https://github.com/nolimits4web/swiper/commit/12851953491155f5f96930355c91110c9a4cf753

Add support for this to the core


Update/packages and UI

This pull request required more changes than expected as it seems to break many functionalities in api.


How to calculate loss for validation ?

I am training the code on a custom CSV dataset, it works fine but where and how should I change to calculate the validation loss?

@efedoganay  Have you found any solution for this?


uninitialized constant MiniTest

Hello there,
I have run into an issue when trying to execute beaker with any flags I get a NameError from MiniTest. I've experienced this on two machines now with gems that are up to date. I'm running OS X 10.9.5 with ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]. Not super great at tracking down issues yet in Ruby, but here is a link to a gist with the error and list of installed gems: https://gist.github.com/amgrice/f6a2a09f6baabea0d2ca

Minitest was upgraded with the deprecation of ruby 1.8.  I believe that this issue is resolved.


Fix edge case on PageChanged.

Fix edge case where panning (scrolling) multiple times on the first or last element of the pager would prevent PageChanged from triggering
(to reproduce go to 2nd index and drag multiple times to the first index)

Hi It happens on iOS 13 and 14. Here is a little video of the example project with logs:
https://user-images.githubusercontent.com/10938182/113257946-99b93400-92cb-11eb-9967-002a95d830ec.mov
logs:
🐙 onPageWillChange: 1
🐙 onPageChanged: 1
🐙 onPageWillChange: 0
(onPageChanged: 0 never called)

And with the fix :
https://user-images.githubusercontent.com/10938182/113257576-18fa3800-92cb-11eb-92a4-97139c0c9a74.MP4
logs:
🐙 onPageWillChange: 1
🐙 onPageChanged: 1
🐙 onPageWillChange: 0
🐙 onPageChanged: 0

Note that the first case isn't always reproduced, but it does happen sometimes, hence my Pull request
// code to reproduce in the embedded Example view :
 Pager(page: self.page1,
                              data: self.data,
                              id: \.self) { page in
                                self.pageView(page)
                        }
                        .interactive(rotation: true)
                        .interactive(scale: 0.7)
                        .interactive(opacity: 0.5)
                        .itemSpacing(10)
                        .onPageWillChange { newPage in
                            print("🐙 onPageWillChange: \(newPage)")
                        }
                        .onPageChanged { newPage in
                            print("🐙 onPageChanged: \(newPage)")
                        }
                        .itemAspectRatio(0.8, alignment: .end)
                        .padding(8)

I see it now, thanks @HugoSay


missing vibration node

Vibration node contained in XMLs but missing from visualization.

Issue has been fixed while the data structure was changed to .json.
No Parent-to-Child references needed in .json format.


Was trying to work with the formula

Hi there,
Great work! I am trying to learn from the formula and walk through the proof of propositions. I was trying to find the derivatives of the loss function and encountered finding the partial derivative of the cosine similarity term. By comparing my answer and steps in the paper I kind of get this result (as the image shows).
I am not quite sure if that is correct and how that works. Would you mind help me a bit with this?

Hi and thank you!
The second line is correct as the z_j is independent of z_i. However, in the first line, z^1_i and z^2_i are augmentations of the same image which means they are dependent on each other. Therefore, the first term is not necessarily correct.
I hope it would have helped.

I'll close this issue as there hasn't been an activity for a while. Please open another issue if this is not responded.


CLI flag to pass imagePullSecrets to deploy's?

Does Helm offer a command line flag for passing image pull secret references, e.g. regsecret from the Kubernetes tutorial, into helm install chart deployments?
I think a chart can be manually configured for image pull secrets, but it would be nice to be able to override this at runtime, for example when handed arbitrary, unauthenticated charts.

@mcandre Helm does not have this feature but as you said you can accommodate by modifying your templates and passing the regsecret reference via --set or in your values.yaml.

closing as answered


Parity-primes

Infinite composition for parity using prime numbers and a validation result for components.

@traiansf I think you should split this into two PRs, one for the finite support stuff, the other for the actual vlsm stuff.

@traiansf I think you should split this into two PRs, one for the finite support stuff, the other for the actual vlsm stuff.

I agree, this would make reviewing a lot easier.

Superseded by PR #302


test: Fabric Connections test sweeper

Add test sweeper for fabric connections
Modify internal/sweep package with constants, list var, and methods to support test sweeping for fabric
Add config for fabric test client

The sweeper isn't getting called in CI because the GitHub Actions workflow is currently set up to only look for sweepers in the equinix directory. You can update the Fabric acctest workflow to find sweepers in both the old and new locations by copying the command sweeper step of the Metal acctest workflow: https://github.com/equinix/terraform-provider-equinix/blob/main/.github/workflows/acctest.yml#L115-L124

@ctreatma , it's been updated. I also changed the filter from some type of sweeper suffix to all fabric sweepers because they have been made to search for any resource that matches fabric suffixes. We just run it with different users to ensure all our created resources are swept properly.

I was wondering why CI was still not running the new sweeper for this PR and then I remembered that the acceptance test workflow is configured with the pull_request_target trigger, so GHA will not use the updated workflow file from the PR for security.
I ran the workflow manually and confirmed that the sweeper is now being run in CI: https://github.com/equinix/terraform-provider-equinix/actions/runs/9959400532


[BUG] No validation on date of test in queue

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
It's possible to submit a test with an invalid date or a date in the future.
Steps To Reproduce

dev.simplereport.gov
Add person to the queue
Manually enter a date in the future, or an invalid date ("banana")
No error shows, from either the frontend or backend

Expected Behavior
There should be date validation on queue items.
Additional context
Think there's logic in place on the frontend that prevents non-dates from being sent to backend, but no validation.
Does this issue have a priority label?

[X] I have added a priority label

Has issue been assigned to a team?

[X] I have added a team label

Sparkle requested this be fixed for Sprint 23 (https://skylight-hq.slack.com/archives/C01T5NC1WMN/p1628884100122100?thread_ts=1628883854.120100&cid=C01T5NC1WMN)

@aliciabeckett-gov Can Better Data take this on this sprint?


Cleanup: Remove obsolete files

The files originally come from bx_py_utils:
https://github.com/boxine/bx_py_utils/tree/master/bx_py_utils_tests/tests/graphql_introspection
They are not needed in by_django_utils and they were overlooked while split by_django_utils from bx_py_utils.

Codecov Report

Merging #80 (1a94889) into master (fe204c5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #80   +/-   ##
=======================================
  Coverage   94.99%   94.99%
=======================================
  Files         104      104
  Lines        3798     3798
=======================================
  Hits         3608     3608
  Misses        190      190

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add my version to part 4 too

We have decided to change the contributions on multipart videos making this PR unrequired as your contribution is pulled from the first one across all pages in the mini-series.


Guide for pass-through-messaging

Purpose

Updates the guide for pass-through-messaging in the docs/content/src/learn/guides/database-integrations directory.

resolves #377

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


Hover effect on Explore Courses Added

Description 📝

Fixes/Closes: #79
Added the hover effect on the explore courses button
Changes 💬

Added the hover effect class of tailwind

Screenshots (if applicable)
Include relevant screenshots or GIFs demonstrating the changes, especially for UI-related updates.
The size of the button become 1.1x in the 2nd pitcure when the cursor is place on it
The cursor is not visible in the ss but it is placed

Additional Notes 📒
The Explore courses button becomes 1.1x when the cursor is place on it

Thankyou for your valuable contribution @afeefuddin 🎉.
We would like to see more contributions from you ✨


registry set bind ip and show it

I kept the default to <IP_ADDRESS> for backward compatibility, but if you agree we can switch the logic, setting the default to <IP_ADDRESS> and adding a bindToAll (or something like that) flag to let the user choose to bind to <IP_ADDRESS>

Perfect, I’ll update the code and I’ll ping you back


Cypher example development supporting scientific use cases.

Scientific use cases will involve expressing research questions in Cypher, which will be facilitated by a set of example queries, which both illuminate the content of the database, and provide example code with relevant functionality. Examples may be very simple, or themselves prototypes use cases, and should be documented with comments and reusable as components or fragments of larger workflows.

After gaining experience with the simpler example Cypher queries, the goal is to increase the complexity and relevance to systems of interest.
Praveen: thank you for getting us started with these queries.  I was unable to propose edits to your .cql files, so I had to create my own file w/ associated pull request.  I think it will be best if we are both able to edit the same file moving forward...we can build on each other's efforts to construct interesting queries.

@vmetzger09 sorry but there was a simple permissions problem and now you should have write access to this repo.

Added some sample cypher queries to find compounds and proteins associated with Alzheimer's disease.


Stop pinning webcomponentsjs version

Polymer seems to have made a mistake in releasing webcomponentsjs v0.6.2
and has released v0.6.3 which is identical to v0.6.1.  We no longer need
to pin our version at v0.6.1.
Fixes #1585

:+1:


Accept a custom MySQL database name using the MYSQL_DB env variable.

As usual, not a scala hacker so this is completely untested.

looks fine. update the README? (zipkin-anormdb/)

@adriancole updated, sorry for missing this!

Np thanks for the help!


how to generate serial numbers on contents page

Hi,
Table of content is a special form of content in Word since it stores references to other parts of the document (if you are interested you can look here to read about its internal representation). Therefor supporting it properly will require a dedicated plugin. Unfortunately there isn't an existing plugin for this. If you want you are welcome to create one yourself and send a PR and I'll merge it into the library.


added more links to information security

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)
How do we know it's really free?
For book lists, is it a book?
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

@theamanrawat It looks like the build failed because:
The links in the information security section is not in the correct alphabetical order.
You need to remove the slash at the end of the URL for both the https://inctf.in and the https://ctf.hacker101.com

I've removed slash at the end Now You can merge

@theamanrawat It looks like the build failed because:
The links in the information security section are not in the correct alphabetical order.
For more information on the formatting and guidelines, check the contribution guide (CONTRIBUTING.md). Or, you can also look at the failed check in Travis CI to see the details of where linting has failed.

Thanks, and welcome to free-programming-books!


about cloaking and blocking rules priority

for example:
blocking rules:github.com
cloaking rules:api.github.com <IP_ADDRESS>
currently dnscrypt-proxy block all *.github.com including api.github.com.
i want to block main-domain but whitelist some sub-domian,how to config it?thanks

I don't think this is currently possible.
So, probably the best way to solve this and add some overall flexibility would be to add a whitelist set to the blocking rules, that would have a higher priority than other rules.

Whitelisting would be awsome!

+1

Duplicate of #198


[docs] Update Generators page

https://open-wc.org/developing/create.html#available-scaffold-generators
Is out of date, we should check for inconsistencies and update; e.g.: it says the starter-app still uses building-webpack (it uses building-rollup), and there might be other things that have gotten out of sync recently.
In case anyone wants to pick this up, you can check which individual generators a generator uses by going to open-wc/packages/create/src/generators/<some-generator>/index.js and seeing which mixins it uses:  https://github.com/open-wc/open-wc/blob/master/packages/create/src/generators/starter-app/index.js#L9
So for example, the starter-app generator uses:

Building
Testing
Linting

In turn, the linting generator uses:

Commitlint
Prettier
Eslint

etc etc

generators got quite refactored 💪  not sure if this still holds true - gonna close it for now... if there is something concrete to do feel free to reopen or create a new issue


Showcase latestReleaseDate, if available

Is your feature request related to a problem? Please describe.
latestReleaseDate is noted for several products, but not displayed on the website.
Describe the solution you'd like
latestReleaseDate should be exposed somehow in the release table, latest column. Quite possibly as a title parameter, or something else.

yep we completely forget that feature :D lets add that value to Latest column

There are not many products that have both releaseColumn: false and latestReleaseDates :

Product
latestReleaseDate
Note

android
No

coldfusion
No

dotnetfx
No

filemaker
No

fortios
No

freebsd
No

intelprocessors
No

internetexplorer
No

iphone
No

lineageos
No

looker
No

mattermost
No

mxlinux
Yes
releaseColumn can be set to true

nokia
No

nvidiaproducts
No

office
No

openbsd
No

opensuse
No

pan-gp
Yes
product not up-to-date or latest/latestReleaseDate should be removed (because releaseDate is always equal to latestReleaseDate)

pan-xdr
Yes
product not up-to-date or latest/latestReleaseDate should be removed (because releaseDate is mostly equal to latestReleaseDate)

pci-dss
No
but there is latest (and cycles are strange)

pixel
No

readynas
No

samsungmobile
No

slackware
Yes
product not up-to-date or latest/latestReleaseDate should be removed (because releaseDate is always equal to latestReleaseDate)

surface
No

visualstudio
No

windows
No

windowsEmbedded
No

windowsServer
No

Overall even products with both releaseColumn: false and latestReleaseDates are not good candidates. Or did I miss something @captn3m0 ?

I'd say let's only focus on the releaseColumn: true, latestReleaseDate, latest available usecase first. That should cover the majority of automated pages. The table above shows the exceptions where our automation is mostly getting us new major releases, but patch releases aren't made. We can ignore those for now.
I was thinking of something similar to how we show Upcoming LTS in the nodejs page, but we open to other ideas.


Fatal messages mixing C libtensorflow with python tensorflow

I'm trying to write mixed C tensorflow code with python tensorflow code by
embedding the CPython interpreter in my application.
I'm mainly doing this because defining the model is only really possible in
Python at the moment due to the lack of gradients (#6268), and I want to define
new models from the C side at speed without needing to invoke or
communicate to an external python process to get a new model.
To reproduce the problem is quite straightforward, simply import tensorflow
in python after the libtensorflow library has already been dynamically linked.
Here is a quick reproducer in pure python which will not run:
import ctypes

tf_dll = ctypes.CDLL("/usr/local/lib/libtensorflow.so")

import tensorflow

libtensorflow can be obtained like so:
TF_TYPE=cpu # Set to gpu for GPU support
TF_OS=linux
curl -L \
  "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-${TF_OS}-x86_64-1.0.0.tar.gz" |
sudo tar -C /usr/local -xz

Here are two fatal messages I have encountered (the first from the Python reproducer above, the second from a C program):
F tensorflow/stream_executor/cuda/cuda_platform.cc:180] Check failed: ::perftools::gputools::port::Status::OK() == (MultiPlatformManager::RegisterPlatform(std::move(platform))) (OK vs. Internal: platform is already registered with name: "CUDA")

F tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/cc/saved_model/load_attempt_count

I assume the problem is that the _pywrap_tensorflow.so has tensorflow
statically linked into them, so they don't use libtensorflow. Then you have
two shared libraries conflicting with one another.
Is there a way to avoid this conflict?

@jhseu, do you have any insight on this. I think @pwaller's analysis is correct. There is clearly some singleton that is getting double initialized.

Yeah, I think this happens because we import pywrap_tensorflow with RTLD_GLOBAL. Unfortunately I don't think there's an easy way to make this work at the moment. It's possible we can go the other way and make the C API accessible from import tensorflow.
Keeping this open, but it's uncommon and difficult, so we may not work on it anytime soon. A possible workaround is to mangle the symbols (namespace?) in the TensorFlow shared library.

@jhseu it would be great if the C API were available through import tensorflow. I'd be happy to submit a PR if you could suggest how. My first guess was to add //tensorflow/c:c_api to the deps of the pywrap_tensorflow_internal BUILD rule, but it is already there. Any ideas?

I seem to have gotten @jhseu's solution to work in #10469.
Before #10469:
$ bazel build -c opt //tensorflow/python:pywrap_tensorflow_internal
$ nm -D ../bazel-bin/tensorflow/libtensorflow.so | grep '\<TF_New'

After #10469:
$ bazel build -c opt //tensorflow/python:pywrap_tensorflow_internal
$ nm -D ../bazel-bin/tensorflow/libtensorflow.so | grep '\<TF_New'
0000000001acb4d0 T TF_NewBuffer
0000000001acb500 T TF_NewBufferFromString
0000000001acb5b0 T TF_NewDeprecatedSession
0000000001accfe0 T TF_NewGraph
0000000001acd3e0 T TF_NewImportGraphDefOptions
0000000001acb970 T TF_NewOperation
0000000001acd770 T TF_NewSession
0000000001acb470 T TF_NewSessionOptions
0000000001acaf10 T TF_NewStatus
0000000001acb160 T TF_NewTensor
0000000001adc990 T TF_NewWhile

I'm trying to mix C++ tensorflow code with python tensorflow code instead, with tensorflow 1.4.0. Same fatal messages encountered. Is it suggested that I should link _pywrap_tensorflow_internal.so instead of libtensorflow_cc.so when compiling the C++ DDL to avoid the conflict temporarily？

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

I think something may have broken in the C symbol export from 1.3 -> 1.4, e.g. https://github.com/nimble-dev/nimble/issues/638

@allenlavoie fixed the issue @jhseu mentioned. Allen, can we close the original issue now?
There may be a new issue now, but should we create a new github issue for that?

If you want to use the C API along with Python, you need in TF >=1.4 to link against _pywrap_tensorflow_internal.so (which includes the C API) and libtensorflow_framework.so (for protobuf symbols; also includes many C++ symbols). You can also build with --config=monolithic if you want the protobuf symbols wrapped up in _pywrap_tensorflow_internal.so.
The Python and C language bindings both include ops and kernels, so you (still) can't use both of those together, even though they both link against libtensorflow_framework.so. Potentially you could remove a bunch of duplicate registration errors to make it work, or build a version of the libtensorflow.so without ops or kernels (making that easy to build manually would be neat).
I think these are issues tracked elsewhere.

hello, peter @pwaller ;
Did you solve this error of mixing python and c++ code?
I tried to install Tensorflow from source and I added this flag (tensorflow/tools/pip_package:build_pip_package ) to download the python package, which should be the same c++ version, but unfortunately I face this error ''Cannot register 2 metrics with the same name: /tensorflow/cc/saved_model/load_attempt_count ''.
thanks in advance.

@kerolos I didn't get this working in this way in the end, but I would still be interested in seeing it be possible.

Any updates this double singleton initialisation issue? I am trying to call some Python code (that imports and runs Tensorflow) from within a C program that is linked against Tensorflow.


Provide a cluster launcher

Ratis should support running a cluster already. Let's try to integrate with it.


Legend resizes depending on time format length, also legend shows no …

Legend resizes depending on time format length, also legend shows no values when crosshair is not active.

d3fc makes use of a new SVG legend component in 4.1.0 https://github.com/ScottLogic/d3fc/pull/724 - might be a useful alternative? (Don't have to use it now, but worth considering...)

Thanks @jdhodges431 :+1:
Rebased and merged in #381


chore(gui): Initialize project name with loaded files

When loading file(s) into Jadx the title bar only shows "NewProject" which can be confusing with multiple Jadx windows open.
This PR initializes the project name with loaded file names (max 100 chars) to show them in Jadx title.
Implements #1386

@jpstotz thanks!


create new file

Hello,
is there a way to create a new file using this package?
Thanks

Hi.
Unfortunately this isn't possible.
It is fully possible to implement, but I think it would be awkward unless the select-list were replaced by a file-tree (ref. issue #25).

The ssh/sftp-plugin in SublimeText 2 has the same dropdown menu that you have, it contains a menu-item for file creation. It works nicely, without the need of a complete file-tree.
Just a thought, but such a feature is still not-high-prio in my mind.

Thanks hadn't thought about that. It's definitively the easier way to to it. I'm only using the package to do quick edits so this won't be a priority for me to implement, but I'd be happy to accept a PR .


bad error message the comes from failed check create

We currently return the flux error from the flux we generate.
{
  "code": "invalid",
  "message": "invalid options; Err: loc 24:3-24:15: expected an operator between two expressions: loc 24:3-24:15: expected an operator between two expressions"
}

This error is not useful to the end user.

This should open up honeybadger issue

[ ] Send error message to honeybadger.
[ ] Improve error message from backend "could not create task from check, or could not validate flux"
[ ] Validate that check parameters that we need for a valid check are set on check and error if not.
[ ] Don't allow user to save if parameters are incomplete/invalid. or if input fields are in error state.


Update LTR to 3.10.9

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender
again...

@conda-forge-admin, please restart ci

@conda-forge-admin, please restart ci
Last try

@conda-forge-admin, please restart ci
Last try

https://github.com/conda-forge/admin-requests/pull/111 should fix this.

@conda-forge-admin, please restart ci


Problem

I have tried to use many of these lua scripts with 2 different executors. The box walls work fine but no matter what I try I can not get the aimbot or silent aim to work.

Same here I used Solara as it says its a level 3 script.


Download images in inference manager

This partially fulfils the updated RFC for data science in the pipeline by downloading images in the manager rather than the inferrer. Next step will be to add another inferrer for colour palettes.

Any chance of a description / link to issue number? Not entirely sure what I am reviewing

@warrd good point, I've updated the description and linked to the RFC


titles disappeared on html documentation

It was taking me a while to understand the documentation until I realized one parameter name was missing, and then all of them
can be seen on the diffs here: 7d1d4c63b305438bbf9b00916814baae6fa3d5cf
I'm using the .md meanwhile

@danielocdh Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Support Console - If you have a support contract.
Discord - chat with other developers
StackOverflow - use the google-maps tag
Google Maps Platform issue trackers

This is an automated message, feel free to ignore.

Thanks for reporting! This is fixed in https://github.com/googlemaps/openapi-specification/pull/431


Thanos ruler UI is not responsive after running normall for sometime

Component: ruler
Docker image: official v0.13.0-rc.0, but we observed the same behaviour on previous images too.
What happened:
After running for some undefined time (feels like a few hours, hard to measure) - Thanos ruler UI loads forever and never finishes nor it gives any standard HTTP error message, just loading indicator going forever.
The rest of UIs (we mostly use query UI) are always responsive, though they are short-living and restart quite often.
Rules executions are going on normally, alerts are being sent.
How to reproduce it (as minimally and precisely as possible):
I really don't know what is the circumstances to cause that.
Full logs to relevant components:
There is nothing unusual in log (warn level) except standard logs about query executions.
Anything else we need to know:
We run 1.2k rules on this certain instance,
limits of the container are 3 vCPU and 6GB of RAM, where 1.5 vCPU and 4.5GB are used on average.

ah yea, it has nginx-ingress with oAuth2 in front of it:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/auth-signin: https://$SOME_ADDRESS/start?rd=https://$host$escaped_request_uri
    nginx.ingress.kubernetes.io/auth-url: https://$SOME_ADDRESS//auth
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
  rules:
  - host: $SOME_HOST
    http:
      paths:
      - backend:
          serviceName: rule-service
          servicePort: 10902
        path: /ruler
  tls:
  - hosts:
    - $SOME_HOST
    secretName: $SOME_SECRET

Could you please do a goroutine dump when this happens and upload it here?

Here's what I got with wget http://<IP_ADDRESS>:10902/debug/pprof/goroutine?debug=2
dump.txt

Still valid and help needed.


feat(#154): ghmentions

In this pull I've added ghmentions script for collecting GitHub pull request and GitHub issue mentions in README file.
closes #154
History:

feat(#154): start
feat(#154): works
feat(#154): tests
feat(#154): csv test case
feat(#154): collect ghmentions

PR-Codex overview
This PR introduces functionality to count GitHub pull request and issue mentions in README files, enhancing the data processing capabilities of the project. It adds new fields, modifies tests, and includes a new script for handling these mentions.
Detailed summary

Added readme_pmentions and readme_imentions to final.py.
Introduced gh_mentions.py to count GitHub mentions.
Updated test cases in test_final.py and test_ghmentions.py.
Modified pyproject.toml for new tasks.
Updated CSV resources for new fields.

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

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here.

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 13min).


Always show indicator on top

First of all thanks for beautiful widget. Is it possible to show bubble on top always?

Hello, @bios90. Right now this lib doesn't support such behavior. But you can customize it the way you want. You can see there is a method private fun showLabel(distance: Float) inside FluidSlider.kt. It is being invoked on touch events. You can change this logic the way you want.


Support the Device DDOS

Is your feature request related to a problem? Please describe.
ISP customer Orange, require to configure all the DDOS features at the Device Level.
Describe the solution you'd like
It can be configured either with GUI or tmsh as shown below:
(tmos)# list security dos device-config all-properties
security dos device-config dos-device-config {
auto-threshold-sensitivity 50
custom-signatures none
dns-dos-mitigation-percentage 500
dns-security none
dos-device-vector {
arp-flood {
allow-advertisement disabled
allow-upstream-scrubbing disabled
attacked-dst disabled
auto-blacklisting disabled
auto-scrubbing disabled
auto-threshold disabled
bad-actor disabled
blacklist-category denial_of_service
blacklist-detection-seconds 60
blacklist-duration 14400
ceiling 200000
default-internal-rate-limit 100000
detection-threshold-percent 500
detection-threshold-pps 10000
enforce enabled
floor 5000
multiplier-mitigation-percentage inherited-default
packet-types none
per-dst-ip-detection-pps infinite
per-dst-ip-limit-pps infinite
per-source-ip-detection-pps infinite
per-source-ip-limit-pps infinite
scrubbing-category attacked_ips
scrubbing-detection-seconds 10
scrubbing-duration 900
simulate-auto-threshold disabled
state disabled
suspicious false
threshold-mode fully-automatic
valid-domains none
}
All others vectors....
Describe alternatives you've considered
For the time being either CLI
(tmos)# modify security dos device-config dos-device-config dos-device-vector { arp-flood ....
or GUI is used
Additional context
Add any other context, such as the desired tmsh configuration, about the feature request here.

is there any update on this enhancement request? All the DDoS settings in AS3 are for protected objects - there is no ability to configure the Device level DDoS settings. However, DO has no DDOS settings at all. I agree DO is probably a better place than AS3 for device level DDOS configuration so would like to see if this is roadmapped.. thanks.


Log time print in file is always 8 hours late in my iPad

I use a iPad(OS version: 12.3.1) to print the log. Log in console works fine, but log in the file, the time is always 8 hours late.
When I tried another iPad, it works all right no matter in console or in the file.
Anyone know what is wrong with that iPad or do I need set some config for the iPad?

check log format timeZone

This sure sounds like a time zone issue. The default formatter for DDFileLogger will use the GMT time zone. If you configured your own log formatter, make sure you use a properly configured date formatter.
If there's still an issue, please re-open and provide a sample project if possible.


Installation of 9.2.0.x fails for Python 3.9.1

Appears that Python 3.9.1 is the latest stable release and is the default download for Windows from python.org.   Looks like setup.py just needs to be inclusive of 3.9.1, as this change on my system works, but didn't know what additional testing may need to be done before this update is made to the package as a whole.
It appears the addition of python_requires to setup.py is the culprit, and why pip installs <IP_ADDRESS> as default for Python 3.9.1 installs.

Thank you for bringing this to our attention.  It may not factor the patch number in the following line
python_requires='>=3.6, <=3.9',
We will look into this.
Kind regards,
Helen

This has been fixed in PyU4V <IP_ADDRESS>.  Please let us know if you have any further issues.  Thank you.


Change selinux workaround to avoid use of sitepackages during normal testing

Instead of using sitepackages in order to avoid the missing selinux inside them, we now install the selinux pure-python shim wheel which dynamically loads the bindings from their system location.
This allows us to avoid problems related to use of sitepackages with tox, where conflicts can occur or less easy to see use of wrong version of the tools.
This change does not change molecule runtime requirements as selinux is soft-dependecy of ansible which requires it only when using docker.
PR Type

Bugfix Pull Request

Obsoleted by another change.


Doc/example request: using nested messages

Feature Request
Documentation or examples on how to use nested message types from Rust, e.g. for something like:
message SearchResponse {
  message Result {
    string url = 1;
    string title = 2;
    repeated string snippets = 3;
  }
  repeated Result results = 1;
}

Motivation
Just to make getting started with using Tonic a bit easier, since it's not as obvious how nested data structures might be handled in Rust.

@davechallis Hi! I'm not exactly sure how this is actually handled, I would assume prost builds two structs. I'm not sure if the docs proprely belong in tonic or with prost. I think what might be good would to build out a set of guides around the full stack version of tonic.

For prost the nested types are put into their own module and the outermost items themselves are generated normally.
Example:
message MyOuterMessage {
  string message = 1;

  enum MyInnerEnum {
    FOO = 0;
    BAR = 1;
  }
}

Generated:
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MyOuterMessage {
    #[prost(string, tag = "1")]
    pub message: std::string::String,
}
pub mod my_outer_message {
    #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
    #[repr(i32)]
    pub enum MyInnerEnum {
        Foo = 0,
        Bar = 1,
    }
}

Nesting further puts the items deeper in the generated modules.
message Level1 {
  message Level2 {
    message Level2 {
      string foo = 1;
    }
  }
}

#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Level1 {}
pub mod level1 {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct Level2 {}
    pub mod level2 {
        #[derive(Clone, PartialEq, ::prost::Message)]
        pub struct Level2 {
            #[prost(string, tag = "1")]
            pub foo: std::string::String,
        }
    }
}

@JohnDoneth many thanks for posting those, that's very helpful.

@davechallis hopefully this answered your question, I think we can close this issue now?

@LucioFranco yes, please go ahead and close, I've made a note to try and work these into an example when I get the chance.

@davechallis that would be great!


Fixed mismatching psalm assert variables

@dragosprotung can you please rebase against 1.7? i would like to release it there as a bug fix then merge up.

Pull Request Test Coverage Report for Build 872439941

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 99.967%

Totals

Change from base Build 869176545:
0.0%

Covered Lines:
2988

Relevant Lines:
2989

💛  - Coveralls

@dragosprotung can you please rebase against 1.7? i would like to release it there as a bug fix then merge up.

Done


Fix CustomerUpdatedWebhook: do not call sync_customer without customer

Otherwise the if customer.date_purged in customers.sync_customer
fails.
The alternative might be to actually try fetching the customer, but I do
not think a local customer should be created, if it failed before, or
was deleted etc?!

I will cover the patch once approved in general.

It is valid wrt to "customer.deleted" at least.

@paltman
?

This seems good to me.


Options --conda-pkgs=FILE --pip-pkgs=FILE

This PR adds two options:
--conda-pkgs=FILE allows user to direct emirge to install additional/custom packages into the conda environment.  The FILE should be a text file with a list of package names.
--pip-pkgs=FILE allows the user to direct emirge to install additional/custom packages using pip.  The FILE should be a list of packages with the same syntax as requirements.txt.  Git packages will automatically be cloned in the install location.

It must have dissed your review automatically.  That is not something I explicitly did.

It must have dissed your review automatically. That is not something I explicitly did.

Yes, this happens automatically when pushing a new commit.

Sorry, just wanted to add usage info since an optional argument as added to install-conda-dependencies


Close dangling issues as obsolete / wont fix

@jmezach  Seems there are a few open issues that are left dangling. Should I try to point them out via a comment, add propose-close tag or what do you think?

Yeah I think there's a couple of them that we can probably close if we haven't received any feedback on them for a while.

How should I approach it? Close them with a remark?

Sounds good to me :).


warning MSB8065: from Empty arrays.hpp.rule

Building on windows 10, using visual studio 2019 developer terminal with admin privileges', i built/installed ros2 foxy via the aka.ms way here
the package "rosidl_generator_cpp" fails and gives this output:
`-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- Found ament_cmake: 0.9.9 (C:/opt/ros/foxy/x64/share/ament_cmake/cmake)
-- Found PythonInterp: C:/opt/ros/foxy/x64/python.exe (found suitable version "3.8.3", minimum required is "3")
-- Using PYTHON_EXECUTABLE: C:/opt/ros/foxy/x64/python.exe
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found ament_lint_auto: 0.9.6 (C:/opt/ros/foxy/x64/share/ament_lint_auto/cmake)
-- Found rosidl_runtime_c: 1.3.1 (C:/ProgramFilesAlt/Ros2Workspaces/ros2_dotnet/install/share/rosidl_runtime_c/cmake)
-- Found rosidl_runtime_cpp: 1.3.1 (C:/ProgramFilesAlt/Ros2Workspaces/ros2_dotnet/install/share/rosidl_runtime_cpp/cmake)
-- Found test_interface_files: 0.8.1 (C:/ProgramFilesAlt/Ros2Workspaces/ros2_dotnet/install/share/test_interface_files/cmake)
-- Found rosidl_adapter: 1.3.1 (C:/ProgramFilesAlt/Ros2Workspaces/ros2_dotnet/install/share/rosidl_adapter/cmake)
-- Found PythonInterp: C:/opt/ros/foxy/x64/python.exe (found version "3.8.3")
-- Found gtest sources under 'C:/opt/ros/foxy/x64/src/gtest_vendor': C++ tests using 'Google Test' will be built
-- Added test 'copyright' to check source files copyright and LICENSE
-- Added test 'cppcheck' to perform static code analysis on C / C++ code
-- Configured cppcheck include dirs:
-- Configured cppcheck exclude dirs and/or files:
-- Added test 'cpplint' to check C / C++ code against the Google style
-- Configured cpplint exclude dirs and/or files:
-- Added test 'flake8' to check Python code syntax and style conventions
-- Added test 'lint_cmake' to check CMake code style
-- Added test 'pep257' to check Python code against some of the style conventions in PEP 257
-- Added test 'uncrustify' to check C / C++ code style
-- Configured uncrustify additional arguments:
-- Added test 'xmllint' to check XML markup files
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ProgramFilesAlt/Ros2Workspaces/ros2_dotnet/build/rosidl_generator_cpp
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Generating C++ code for ROS interfaces
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\arrays__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\basic_types__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\bounded_sequences__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\constants__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\defaults__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\empty__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\multi_nested__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\nested__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\strings__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\unbounded_sequences__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\msg\detail\w_strings__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\srv\detail\arrays__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\srv\detail\basic_types__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8065: Custom build for item "C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\CMakeFiles\d2d3d8c6d6b556e59d81f60ee3332b51\arrays.hpp.rule" succeeded, but specified output "c:\programfilesalt\ros2workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp\srv\detail\empty__type_support.hpp" has not been created. This may cause incremental build to work incorrectly. [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp__cpp.vcxproj]
gtest.vcxproj -> C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\gtest\Release\gtest.lib
gtest_main.vcxproj -> C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\gtest\Release\gtest_main.lib
test_interfaces.cpp
C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp/msg/arrays.hpp(10,10): fatal error C1083: Cannot open include file: 'rosidl_generator_cpp/msg/detail/arrays__type_support.hpp': No such file or directory [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\test_interfaces_cpp.vcxproj]
test_msg_builder.vcxproj -> C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\Release\test_msg_builder.exe
test_msg_datatype.cpp
C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp/msg/empty.hpp(10,10): fatal error C1083: Cannot open include file: 'rosidl_generator_cpp/msg/detail/empty__type_support.hpp': No such file or directory [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\test_msg_datatype.vcxproj]
test_msg_initialization.cpp
C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp/msg/defaults.hpp(10,10): fatal error C1083: Cannot open include file: 'rosidl_generator_cpp/msg/detail/defaults__type_support.hpp': No such file or directory [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\test_msg_initialization.vcxproj]
test_name.cpp
C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp/msg/empty.hpp(10,10): fatal error C1083: Cannot open include file: 'rosidl_generator_cpp/msg/detail/empty__type_support.hpp': No such file or directory [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\test_name.vcxproj]
test_srv_initialization.cpp
C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp/srv/basic_types.hpp(10,10): fatal error C1083: Cannot open include file: 'rosidl_generator_cpp/srv/detail/basic_types__type_support.hpp': No such file or directory [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\test_srv_initialization.vcxproj]
test_traits.cpp
C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\rosidl_generator_cpp\rosidl_generator_cpp/msg/empty.hpp(10,10): fatal error C1083: Cannot open include file: 'rosidl_generator_cpp/msg/detail/empty__type_support.hpp': No such file or directory [C:\ProgramFilesAlt\Ros2Workspaces\ros2_dotnet\build\rosidl_generator_cpp\test_traits.vcxproj]
`
I check the arrays.hpp.rule file and the contents is just this line: "# generated from CMake"
thats it, what generates that file and how would i go about troubleshotting it, im not sure what if thats expected or normal.

Hi @InfoShellTex,
sorry for the late reply, but was busy at work and spare time recently.
I don't have a working windows ROS2 dotnet setup myself yet. I started setting it up, but all those manual install steps did take longer than I thought last time I started this, since then I haven't continued.
So I'm sorry I can't really dig into this right now, but I will look at this once I have that setup again.
btw. Wat was the reason to close your other Issue (https://github.com/ros2-dotnet/ros2_dotnet/issues/115)? Did you resolve it? Maybe you could write a short note what to did to resolve it for others that stumble upon this later on.

I did not resolve it. I closed it because I am now building off of the foxy version, since i can successfully install it, where the #115 was using humble (from binaries), to me, didnt feel like a complete install compared to foxy.
And i didn't want to have many things going on at once. But Im fine with it being reopened as that issue still does exist.
And thanks, no worries! any help is better than none at this point.


is the Dataverse connector using "Affinity" or not?

Is there a way to set the AffinityCookie to "false" in the Dataverse connector please?
https://learn.microsoft.com/en-us/dotnet/api/microsoft.powerplatform.dataverse.client.model.configurationoptions.enableaffinitycookie?view=dataverse-sdk-latest

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

ID: 428557dc-9509-58e0-06dd-7ead57208df1
Version Independent ID: aa815cfd-9867-0215-a8e7-7902b6ad69f3
Content: Connect to Microsoft Dataverse, previously Common Data Service - Azure Logic Apps
Content Source: articles/connectors/connect-common-data-service.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

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

@philipverlinden Unfortunately there is no property to set AffinityCookie. The available configuration for individual for the action are listed here.
MicrosoftDocs Github issue is mainly related to the document issue. For troubleshooting/how to/product question I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.
I will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@MayankBargali-MSFT additionally, can the documentation be updated stating its using "Affinity"? That is also partially the hint of this feedback (see also the title). It's not documented as you shared, so I suspect that the connector uses the default, meaning from an HTTP request level -> Affinity = true. This is important for solution design and data throughput when using Logic Apps and the Dataverse connector. Thank you!


container.execute() not working

I have flask application (flask + socketio + gunicorn), and pylxd not working correctly on it.
Problem in container.execute() method.
For example
print(0)
container.execute(['ls'])
print(1)
container.execute(['cd', '/var/www/html'])
print(2)
container.execute(['service', 'nginx', 'restart'])
print(3)

Output: 0
Please help me :(
pylxd = 2.2.10
lxd = 3.18

Are there no error messages?  What is the container? There's really not a lot to go on here to help you.

Hey, @ajkavanagh,
Thanks for quick reply
No errors, I get just warnings
venv/lib/python3.6/site-packages/pylxd/models/_model.py:137: UserWarning: Attempted to set unknown attribute "type" on instance of "Container" key, self.__class__.__name__
0
venv/lib/python3.6/site-packages/pylxd/models/operation.py:79: UserWarning: Attempted to set unknown attribute "location" on instance of "Operation".format(key, self.__class__.__name__))

container  = Alpine Linux 3.10
Running application with command:
gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 wsgi:app -b <IP_ADDRESS>:5555

It used to work time-to-time when running on WSGI. When I moved to Gunicorn it started not to work at all. There are some commands which don't work neither on WSGI nor on Gunicorn, like:
container.execute(['service', 'nginx', 'restart'])
container.execute(['cp', 'a', 'b', '-R'])
container.execute(['mv', 'a', 'b', '-R'])

I can thing it's something related to the socket.io, maybe they both work on socket and are conflicting. Though not sure..
Thanks again

Thanks for the update.  The warnings are because LXD has grown some new attributes on some of the models, and pylxd is unaware of them.  You can silence them by setting PYLXD_WARNINGS='none' in the environment before running the app which loads pylxd.
This was added in #361 -- by default one warning is printed for each attribute known about; there is an 'always' setting which prints the warning for every subsequent model load.
I think you are probably hitting #379 which I'm looking at.  An (ugly) work-around is to use subprocess.Popen and just run lxc exec directly through that; but this only works if it is on the same machine and the user has the same permissions as the pylxd user that is being used.
I may provide that as an alternative exec method, but it has the above significant issues.

Thanks for update.
I will check again to get the latest updates,
Hope it will be fixed soon,
By the way, for those who have the same problem.
import subprocess

def execute(container_name, commands):
  lxc_commands = ['lxc', 'exec', container_name, '--', *commands]
  return subprocess.run(lxc_commands, capture_output=True)

Thanks!

/home/tkasidakis/.local/lib/python3.6/site-packages/pylxd/models/operation.py:79: UserWarning: Attempted to set unknown attribute "location" on instance of "Operation"
.format(key, self.class.name))
I get this message when i am using the execute() commnad . I am using lxd 4.3 from snap.
Is it the same bug, right ?

You are hitting the "lxd has a new attribute that pylxd doesn't know about".  It's a warning to indicate that an Operation now has a location attribute.  it's nothing to worry about unless you need the location attribute.  However, if the execute isn't actually working then you've hit this bug.

Yes i think that a hit this bug . Fortunately subprocess.run() does the job :)

while(1):
svc=input() # reads the service name and loads it approprialy #
if(svc=="list"):
print("hello")
else:
n.load_service(svc)
def load_service(self,svcname):
existval = LXDmanager.containers.exists(svcname)
if(existval==True):
print("Service in a Container already exists")
commandsToSvcConatiner=['lxc','exec',svcname,'python3',svcname+'.py']
subprocess.Popen(commandsToSvcConatiner)
print("OKKKKKK")
Sorry for - a bit- out of the topic post but i wanted to ask something.
My container executes .py file but after that i can't read from stdin.
Any ideas why this happens ?

Popen(...) by default connects the stdin, stdout and stderr to the parent process' (i.e. your script's) stdin / stdout.  Therefore, the print("OKKKKKK") has no where to go.  So if the command is still running on the container, then it is still holding the stdout and thus the print in the script will be buffered.  What you really want to do is let the script run in the container that starts the service as a daemon and then exits.  At least, I suspect that is what is going on.
You only need to use Popen(..) if you want to communicate with the process as it is running.  i.e. send it input, etc.  Then you use the .communicate() method after setting up the stdin, stdout, etc. to PIPEs to do that communication.  If you are running one-shot commands, it's easier to use subprocess.check_call() and friends.


build --prod never seems to finish.

Short description of the problem:
build --prod never finishes.
What behavior are you expecting?
A prod build to finish.
Steps to reproduce:

Grab this particular version of my project.
npm install
npm run ionic:build:prod

Which @ionic/app-scripts version are you using?
1.2.1
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
package.json:
  "dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "angular-svg-round-progressbar": "^1.0.6",
    "angular2-jwt": "^0.1.28",
    "angular2-moment": "^1.3.0",
    "auth0-lock": "^10.13.0",
    "clipboard": "^1.6.1",
    "gameicons-font": "github:idlelands/gameicons-font",
    "ionic-angular": "2.3.0",
    "ionic-native": "^2.9.0",
    "ionicons": "3.0.0",
    "linkifyjs": "^2.1.4",
    "lodash": "^4.17.4",
    "ng2-webstorage": "^1.5.1",
    "phaser": "^2.6.2",
    "primus": "^6.1.0",
    "reddit.js": "^0.1.3",
    "rxjs": "5.0.1",
    "sw-toolbox": "3.4.0",
    "tinycon": "github:tommoor/tinycon",
    "zone.js": "0.7.2"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.2.1",
    "@ionic/cli-plugin-cordova": "0.0.8",
    "@ionic/cli-plugin-core": "0.0.7",
    "@types/node": "^7.0.5",
    "css-loader": "^0.26.4",
    "file-loader": "^0.10.1",
    "gh-pages": "^0.12.0",
    "git-revision-webpack-plugin": "^2.4.1",
    "ionic": "^2.2.1",
    "script-loader": "^0.7.0",
    "standard-version": "^4.0.0",
    "style-loader": "^0.13.2",
    "typescript": "^2.2.1"
  },
  "config": {
    "ionic_webpack": "./webpack.config.js"
  }

(my webpack config doesn't deviate too much from the base, just adds a few defineplugins and some external modules)
sample run:
> ionic-app-scripts build --prod

[17:36:58]  ionic-app-scripts 1.2.1
[17:36:58]  build prod started ...
[17:36:58]  clean started ...
[17:36:58]  clean finished in 5 ms
[17:36:58]  copy started ...
[17:36:58]  ngc started ...
[17:37:17]  ngc finished in 19.81 s
[17:37:17]  preprocess started ...
[17:37:17]  deeplinks started ...
<< lots of spam about multi class files >>
[17:37:19]  deeplinks finished in 1.49 s
[17:37:19]  optimization started ...
[17:37:19]  optimization finished in 12 ms
[17:37:19]  preprocess finished in 1.50 s
[17:37:19]  webpack started ...
[17:37:19]  copy finished in 21.72 s
[17:38:20]  webpack finished in 60.60 s
[17:38:20]  sass started ...
[17:38:20]  transpile bundle started ...

ionic info:
  Your system information:

    Cordova CLI: 4.3.0
    Ionic Framework Version: 2.3.0
    Ionic CLI Version: 3.0.0-beta.2
    ios-deploy version: Not installed
    ios-sim version: 3.1.1
    OS: OS X El Capitan
    Node Version: v7.6.0
    Xcode version: Xcode 7.3.1 Build version 7D1014

Additionally, I see the same issue as #701 when I try to build sass independently.

ionic build ios works fine but with --prod flag this error occurs
ionic-app-script task: "build"
RangeError: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at getTypeAtFlowNode (/Users/me/Documents/v2/node_modules/typescript/lib/typescript.js:33799:39)

Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.2.1
ios-deploy version: 1.9.1
ios-sim version: 5.0.6
OS: macOS Sierra
Node Version: v6.9.4
Xcode version: Xcode 8.2.1 Build version 8C1002

Angular 2.x does not support TypeScript 2.2.x. Please revert to TS ~2.0.x.
Thanks,
Dan

@danbucholtz Thanks for replying but mine seem to work with 2.2.2.
i was able to get rid of maximum stack error by switching to webpack from rollup
@seiyria backup your package.json and remove these line from your package.json and try to build your app with --prod flag.
  "config": {
    "ionic_webpack": "./webpack.config.js"
  }

@sfaizanh I need my webpack config, is the problem, as I stated it adds some variables via define.
@danbucholtz I tried this on an earlier TS and I get the same error. I'll try again but I suspect it'll end the same way.

@seiyria i was saying try this method if you get success then backup your webpack.config.ts file and go to<EMAIL_ADDRESS>copy it webpack.config.js and paste into your root folder and update your webpack.config.js with your changes

@sfaizanh I have done that already.

Hm. Amongst all of the other package.json updates I made, it looks like the typescript one updated, but didn't stick when I tried to downgrade it. It appears to work now.
Hopefully this will get changed in the future to at least spit out an error so users don't spin their wheels for hours.