Autocomplete crashes iTorch when pressing tab

When I launch an interactive session with itorch
It crashes when I press the tab key for autocomplete.
Here is the crash log:
 itorch
Jupyter Console 4.0.3

[ZMQTerminalIPythonApp] Loading IPython extension: storemagic
Torch 7.0  Copyright (C) 2001-2011 Idiap, NEC Labs, NYU
Torch 7.0  Copyright (C) 2001-2011 Idiap, NEC Labs, NYU

WARNING: history_request not handled yet

In [1]: itoqlua: /Users/pp/torch/install/share/lua/5.1/itorch/main.lua:265: attempt to index local 'line' (a nil value)
stack traceback:
	[C]: in function '__index'
	/Users/pp/torch/install/share/lua/5.1/itorch/main.lua:265: in function 'extract_completions'
	/Users/pp/torch/install/share/lua/5.1/itorch/main.lua:306: in function </Users/pp/torch/install/share/lua/5.1/itorch/main.lua:304>
	/Users/pp/torch/install/share/lua/5.1/lzmq/poller.lua:75: in function 'poll'
	/Users/pp/torch/install/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll'
	/Users/pp/torch/install/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex'
	/Users/pp/torch/install/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start'
	/Users/pp/torch/install/share/lua/5.1/itorch/main.lua:350: in main chunk
	[C]: in function 'require'
	[string "arg={'/Users/pp/Library/Jupyter/runtime/kerne..."]:1: in main chunk

When I try to clean Install iTorch with luarocks make, I get the following output which seems strange:
luarocks make
   ipy=$(which ipython)
   if [ -x "$ipy" ]
   then
	ipybase=$(ipython locate)
	rm -rf $ipybase/profile_torch
	ipython profile create torch
	echo 'c.KernelManager.kernel_cmd = ["/Users/pp/torch/install/bin/itorch_launcher","{connection_file}"]' >>$ipybase/profile_torch/ipython_config.py
	echo "c.Session.key = b''" >>$ipybase/profile_torch/ipython_config.py
	echo "c.Session.keyfile = b''" >>$ipybase/profile_torch/ipython_config.py
	mkdir -p $ipybase/profile_torch/static/base/images
	mkdir -p $ipybase/kernels/itorch
	cat kernelspec/kernel.json | sed "s@LUA_BINDIR@/Users/pp/torch/install/bin@" > $ipybase/kernels/itorch/kernel.json
	cp kernelspec/*.png $ipybase/kernels/itorch/
	cp ipynblogo.png $ipybase/profile_torch/static/base/images
	mkdir -p $ipybase/profile_torch/static/custom/
	cp custom.js $ipybase/profile_torch/static/custom/
	cp custom.css $ipybase/profile_torch/static/custom/
	cp itorch /Users/pp/torch/install/bin/
	cp itorch_launcher /Users/pp/torch/install/bin/
	cp -r ~/.ipython/profile_torch ~/.ipython/profile_itorch
	cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/Users/pp/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1" && make
   else
	echo "Error: could not find ipython in PATH. Do you have it installed?"
   fi

[ProfileCreate] Generating default config file: u'/Users/pp/.ipython/profile_torch/ipython_config.py'
[ProfileCreate] Generating default config file: u'/Users/pp/.ipython/profile_torch/ipython_kernel_config.py'
-- The C compiler identification is AppleClang <IP_ADDRESS>00181
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /Users/pp/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/pp/iTorch/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/_env.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/bokeh.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/completer.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/gfx.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/init.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/IOHandler.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/main.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/Plot.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/test.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/util.lua
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/bokeh-0.7.0.min.js
-- Installing: /Users/pp/torch/install/lib/luarocks/rocks/itorch/scm-1/lua/itorch/bokeh-0.7.0.min.css
Updating manifest for /Users/pp/torch/install/lib/luarocks/rocks
itorch scm-1 is now built and installed in /Users/pp/torch/install/ (license: BSD)

The thing is it IS installed and the PATH is in my path!!! : which ipython > /usr/local/bin/ipython
Another symptom I have is that when I run the command itorch qtconsole I get a console that only understands Python!!!
Please help!!

I reinstalled everything after running brew update and brew upgrade


now dev should build next app in development

Right now, now dev builds next in production. Not conducive to local development.
Specifically problematic when trying to use a CDN for production-only builds

On a similar note, it doesn't seem to watch for changes. Although I could be missing something.

+1 on this. I appreciate that there is a way to replicate the production build locally now.
However for development I want the shortest possible feedback cycles.
In the cloud builds are massively parallelized and cached, while now dev seems to build serially(?).
It takes several minutes to get the server running.
I'm literally faster doing now and trying things in the cloud.
I'd really like to have something (at least for @now/node) that just runs micro-dev for me, but with the correct routing.

This is now happening!


Improve error message for raw enqueueLinks() called without arguments

Which package is the feature request for? If unsure which one to select, leave blank
No response
Feature
Improve the argument validation error message on enqueueLinks() that's imported from 'crawlee' to tell you that you probably want to use ctx.enqueueLinks() if you're calling the function without arguments.
Motivation
When you import enqueueLinks() it requires arguments, but when you destructure it from CrawlingContext it doesn't. That's great, but when you forget to destructure it and use it, IDE will autocomplete the import and now you have a different, unexpected version of enqueueLinks() that exists (does not fail on missing import or undefined), but it does not work without arguments.
Ideal solution or implementation, and any additional constraints
No constraints or changes in behavior, just more user-friendly error message.
Alternative solutions or implementations
No response
Other context
No response

Closed via #1681


[BQ Storage API] Add Apache Arrow Sample

Adds a sample arrow client based off of avro client.
removes unnecessary close in Avro Storage Sample

CC @shollyman

@tswast @shollyman any resolution on how you would like to more forward with this?


[move-lang] Make 'assert' a call-by-expression macro

Removed eager evaluation of the code argument in 'assert'
Gave assert some macroy syntax to indicate this
We will maybe use the syntax in the future?

Motivation

Eagerly evaluating the code is an unnecessary use of gas

Test Plan

Added a test

/land

:broken_heart: Test Failed - ci-test

/land

:broken_heart: Test Failed - ci-test

/canary

I have some comments on the docs. In the future, it would be nice to put the superficial changes (like rewrapping the long lines) in a separate commit so it is easier to find the substantial changes to review. I skipped most of the doc changes because of that. Since this is landing soon, feel free to fix the doc issues in a follow-up PR.

Yeah sorry about that. Its a autoformatter thing

/land

:exclamation: Land has been canceled due to this PR being updated with new commits. Please issue another Land command if you want to requeue this PR.

/land

/help

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Canary
canary, try
canary a PR by performing all checks without merging

Cancel
cancel, stop
stop an in-progress land

Cherry Pick
cherry-pick <target>
cherry-pick a PR into <target> branch

Priority
priority
set the priority level for a PR (high, normal, low)

Help
help, h
show this help message

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.

/priority=high

:exclamation: Invalid command

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Canary
canary, try
canary a PR by performing all checks without merging

Cancel
cancel, stop
stop an in-progress land

Cherry Pick
cherry-pick <target>
cherry-pick a PR into <target> branch

Priority
priority
set the priority level for a PR (high, normal, low)

Help
help, h
show this help message

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.

:exclamation: Land has been canceled due to this PR being updated with new commits. Please issue another Land command if you want to requeue this PR.

/land


PlayroomHardEnv

the LightOn classifier is set to an arbitrary, piecewise, "hard" function instead of having a simple threshold at 0.5

@tomsilver can you help a look at the failing test? i'm confused

unrelated issue (#1324), sorry about that. it's a flaky test -- I'll try to fix soon. in the meantime, I'm rerunning the test here


GMC Progress Tracker

The following outline covers the core functionality that the Godot MC will need to be a usable replacement for the old Kivy MC.
MVP Requirements
Core

[x] Godot Plugin with custom classes and singletons
[x] BCP Interface to communicate with MPF
[x] Keyboard input support for events and switches
[x] Basic logging support
[ ] Logging levels with verbose and production flags

Slides

[x] [MPF] SlidePlayer plugin
[x] Base class for MPFSlide
[x] User-generated slides with default fallbacks
[x] Play slides from slides_play event
[x] Update slides from action: update arg
[x] Remove slides from action: remove arg
[x] Remove slides from expire: <secs> arg
[x] Remove slides from slides_clear event
[x] Support for action: method calls to slide methods
[x] Events for slide active, inactive, and removed
[x] Stack slides by priority
[x] Target slides to a specific display
[ ] Override mode context to prevent auto-removal
[x] Reset expiration time if slide is re-played

Widgets

[x] [MPF] WidgetPlayer plugin
[x] Base class for MPFWidget
[x] Play widgets from widgets_play event
[x] Update widgets from action: update arg
[x] Remove widgets from action: remove arg
[x] Remove widgets from expire: <secs> arg
[x] Remove widgets from widgets_clear event
[x] Support for action: method calls to widget methods
[x] Support for x/y coordinates to position widgets
[x] Support for key config for unique instances of the same widget
[ ] Target widgets to a specific display
[x] Target widgets to a specific slide

Variables

[x] Base class for MPFVariable
[x] Text nodes for player, machine, and event arg values
[x] Options for comma separation, minimum digits, and initialize empty
[x] Custom text formatting with injection of variable value
[x] Dynamic values from vars, events, and event settings
[x] Update text on player variable changes
[x] Update text on action: update arg
[x] Subscribe to custom events and update

Window

[x] Base class for MPFWindow
[x] Pass slide events to target display
[ ] Support multiple displays/monitors
[ ] Flag for fullscreen mode
[ ] Configurable DMD dot shader

Sounds

[x] [MPF] SoundPlayer plugin
[x] Base class for SoundPlayer
[x] Playback of sounds from sounds_play event
[ ] Update sound loops from action: update arg
[ ] Stop sounds from action: stop arg
[ ] Stop sounds from sounds_clear event
[x] Dynamic allocation of tracks and channels from config
[x] Track types for solo, simultaneous, and sequential
[ ] Synchronize sound loops and loop-based transitions
[ ] Automatic cross-fading of solo tracks
[ ] Events posted at marker times
[x] Max queue time

Editor Integration

[x] Editor plugin with custom classes

Usability

[x] Sample project with demos for all features
[x] Installation & Setup guide
[ ] Tutorials for common scenarios

Future Features (post MVP)
Slides

[ ] Delay clearing of only slide until next one arrives
[ ] Transitions for slide entry/exit
[ ] Queue player for sequential playback

Variables

[ ] Base class for MPFRichTextVariable
[ ] Parse RichText to substitute multiple MPF values

Editor Integration

[ ] Custom icons for custom classes
[ ] Spawn MPF with project launch
[ ] Configure launch flags via UI tab
[ ] Render MPF log output in UI tab

Random links on various in progress items:
Logging: https://godotengine.org/asset-library/asset/2381
Variable formatting: https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_format_string.html
Fullscreen display: https://docs.godotengine.org/en/latest/classes/class_displayserver.html#class-displayserver-method-window-set-mode
Sound mixing: https://github.com/godotengine/godot-proposals/issues/3286


Load global jQuery CDN to satisfy GTM requirement

Load jquery CDN in head with fallback to local source:

<script>
// If jQuery didn't already get loaded somewhere else, attempt to load it from a CDN.
if(typeof jQuery==='undefined'){document.write(unescape("%3Cscript src='https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js'%3E%3C/script%3E"));}
// Check that jQuery loaded, otherwise fallback to loading it from a local source.
if(typeof jQuery==='undefined'){document.write(unescape("%3Cscript src='/static/js/vendor/jquery/jquery.min.js'%3E%3C/script%3E"));}
</script>

Move local jquery to /static/js/vendor/jquery/jquery.min.js via the settings in bower.json and the bower Grunt task (https://github.com/cfpb/cfgov-refresh/pull/553 needs merging first).

Set as global in browserify-shim https://github.com/thlorenz/browserify-shim#a-expose-global-variables-via-global in browserify.

Add TODO comment to refactor so jQuery loads in the footer. The best would be refactoring in GTM to remove the jQuery dependency if it's not needed or to have similar logic to step 1 where it's referenced in GTM.

See background in https://github.com/cfpb/cfgov-refresh/issues/496

Related https://www.youtube.com/watch?v=2ksXo2_Lfl0

Error looks like this:


Fix type value for iteration relationships of WI API.

Fixed type value.
Added tests to check the type.

Codecov Report

:exclamation: No coverage uploaded for pull request head (type-iterations-fix@94fe8e0).

Continue to review full report at Codecov.

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


GO: solution leetcode 03 challenge

This pull request need to review, no need to help or some kind like question ! right ? @bibi-ic
@9bany Totally if nothing weird, it still 'yes'

But i glad to hear your opinion before it completely merged like:

is my code comment is clearly understood for ppl reading or not
is Big O calculate is barely accepted or must have other conditions
and vice versa .... can affect the solutions

so i check label question: meaning "have conversation to clear in mind" :flags:

The meaning of labels in issues/pull request is the state/status of them.
The labels of an issue meaning: can explain with some questions like:

what is kind of this issue: bug, problem, feature request, solution request,... etc
what is scope of this issue: doc, algorithm, cicd, db, api,.. etc
what next action of this issue: need to fix, need to implement, explain, more info, questions, proposal ,... etc

Also, we can explain what is the meaning of labels in an pull quest:

what is kind of this pull request: fix bug, doc, feature, solution, ... etc
what is the action we need on this pull: review, hold, close, ... etc
Size of the pull ? small, medium, large

So,
can you add a "need to review" label this pull request ? @bibi-ic


Summary

https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-98865.json
https://github.com/safe-global/safe-deployments/pull/882

Chain ID
98865
Chain detail URL
https://chainlist.org/chain/98865
RPC URL
https://phoenix-rpc.plumenetwork.xyz/
Blockscout Client URL
https://phoenix-explorer.plumenetwork.xyz/api/v1/graphql
Etherscan Client URL
No response
Etherscan Client API URL
No response
Version
1.4.1
Address (Master copy)
0x41675C099F32341bf84BFc5382aF534df5C7461a
Deployment Tx hash (Master copy)
0x3ecf4da76c1fc4ff6cb6c76424af7667a2f3967e8806831866a8de775c2739b4
Block explorer URL (Master copy)
https://explorer.plumenetwork.xyz/address/0x41675C099F32341bf84BFc5382aF534df5C7461a
Address (Master copy L2)
0x29fcB43b46531BcA003ddC8FCB67FFE91900C762
Deployment Tx hash (Master copy L2)
0x001533872a4ee1d569a4c87e3c6e665f520659dbbd1c56d25a5ea13e787028ed
Block explorer URL (Master copy L2)
https://explorer.plumenetwork.xyz/address/0x29fcB43b46531BcA003ddC8FCB67FFE91900C762
Address (Proxy factory)
0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67
Deployment Tx hash (Proxy factory)
0x15f3ea9aa27d7ccd07792bd4591195ac3a973db964fcf48de2c3028c919e48cc
Block explorer URL (Proxy factory)
https://explorer.plumenetwork.xyz/address/0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67

Updated Blockscout client URL. Please note the RPC has an API key and won't match Chainlist as Plume is not publicly available yet.

/execute

Is there any way to delete the bot comment? It has an exposed API key in it.


Upgrade to Django 1.7

Plan for migrating to Django 1.7.
Should this be done before any further enhancements?

Pull request accepted. It will be applied next time we upgrade.


[Data Collection] Add "Retake picture" button to Photo task

Currently after the user captures a photo in the Photo data collection task the image preview is shown as well as a trash can button in the corner allowing the user to remove the photo and re-capture. Instead we want a text button below the image that says "Retake picture".

@gino-m Is this obsolete too?

Is there an easy way to retake the photo today? I don't have the designs at hand.

Users can click "Undo" button to clear the previously captured photo and then click "Take a picture" again.

Ok, then closing this as obsolete.


light weight Msi auth helper library to be used by SQL

This PR creates a small jar file to be used by sql to pull tokens for managed identities.

Can one of the admins verify this patch?

jar published : https://azuresdkci.westus2.cloudapp.azure.com/job/promote-maven-staging-repo/92/console


Fixes for the failing tests

All the unix tests are working.
Windows 2.7 has unicode errors
Windows 3.x can't find python3.6 for all versions of 3.  I suspect it's because of the pep508 identifiers.  The unix tests throw and error for this but it doesn't stop it from passing.
Will try and fix windows in the morning.

You're amazing!


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1675 ms

Resolved: Bofrost.de performance has improved in 392e385.


showDatePicker should be able to close itself as soon as a date is selected

Use case
Quickier date selection.
Right now, the user has to tap on the date he wants, then tap on the OK button. It would be an improvement if the user could just tap the date and have the Picker close itself without having to tap OK.
Proposal
Add a closeOnDateSelection boolean which would enable this behaviour.

Closing as duplicate of https://github.com/flutter/flutter/issues/91172


(Portfolio) Portfolio Recent Deposits and Withdrawals; Fix IBC Transfer Status; Display fee in bridge provider dropdown

Linear Task
Recent Withdrawal / Deposits
Improve IBC transfer status reliability
Bridge transfer provider dropdown not displaying fees and computing 'cheapest' wrongly
Fix connection error for Atom withdraw notifications
Brief Changelog

Fix IBC transfer status
Display recent transfers in transactions page and recent activity table
Refactor transfer history store to use a more exhaustive object with relevant data
Fix bridge provider dropdown not displaying fees and incorrectly tagging 'cheapest' as a result

Testing and Verifying

[ ] Can see recent transfers in recent activity and transactions page
[ ] Can open recent transfers modal in transactions page
[ ] IBC Deposits and withdraws statuses are correctly resolved. Try USDC, and ATOM routes.

@JoseRFelix can you please update from stage, it seems to have forked quite a while ago


Fixed a bug which would expand string incorrectly under *NIX.

If the home environment varible ended with slash ('/'), the the expanded string
would have two slashes at some point. For detailed information, see the changed unit
tests.
homedir now uses filepath.Join to join the string correctly.

LGTM. Thanks for the catch!

Also, thanks for writing unit tests.


Remove datastore dependency and disable tests

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @aaltay @robertwb

@vikkyrk Please fix the pylint error.
LGTM otherwise.

Done

Closing this request, since a new version has already been releaaased


can we ask Qs about it?

while implementing the project on my computer, there is an error in sql. the error says "Msg 208, Level 16, State 1, Procedure PredictChurnR, Line 9 [Batch Start Line 39]
Invalid object name 'ChurnModelR'." How can I cope with it?

Hi, many thanks to your interest in my question. I solve the problem by restart some services and reset user rights on SQL server. It works now and I am so happy. It is my first experience on this topic. It is important for me. Now, I can not understand the file with the extension .ps1..... Without it can I modify your project to my case?I have read the readme file well. I searched on the internet, but still it is not very clear.  Best Regards-Nebile

.ps1 is a Powershell script that allows for automation of certain tasks.


Beautify is no longer working

Operating System OSX Mojave 10.14.5
VS Code Version  1.35.1
beautify Version 1.5.0

Since a few days the Beautify extension is no longer working.. It's not returning any errors, but it's also not beautifying any files anymore..
Any idea's how to debug why this is no longer working?
Cheers
Matthijs

so sad, beautify is not working. I can accept it slowly but can't without it.
same issue https://github.com/microsoft/vscode/issues/76236

Same for me, vscode updated and now it says "HookyQR.beautify not found"

This is caused by the extension load order changing due to the update. It's not beautify that's not working, one of your other extensions is failing, and thus everything that would have loaded after that fails.
Try disabling all of your extensions, then enable beautify, then restart. If beautify doesn't work in the newly opened window, let me know. If it does work, start re-enabling your other extensions and let me know which one breaks something.

I've disabled all plugins, but it's still not working.. I've also opened the developer tools in vs code, but there is nothing on the console.. i cant seem to find anything why it is not working...
How could we debug this any further?
Cheers
Matthijs

I think the only solution is uninstall and install again. I've never had this problem, and I can't reproduce it. Sorry it's messing with your day. :(

Operating system: Windows 10, version 1903
VSCode version 1.39

I've had the same issue as @mtempels for a while now and I didn't exactly find or fix the issue, but I got it working again with an older version.
I tried installing a few older versions and found out that version 0.4.1 is the newest version that works for me. All other older versions I tried worked too, including the first one.
Although not an ideal solution, it works for me at the moment.
Here's a list of things I tried that didn't work:

Close and reopen VSCode
Uninstall Beautify and reinstall it
Restart computer
Setting HookyQR.beautify as default formatter in user settings
Removing HookyQR.beautify as default formatter in user settings
Checking the developer console, no errors there.
Disable all other extensions
Uninstall all other extensions
Uninstall and reinstall VSCode

Same for me, vscode updated and now it says "command HookyQR.beautifyFile not found"

I had the same problem. I resolved this problem reinstalling vscode. I recommend you to use Settings Sync extension to backup your settings.


Added eBPF - From a Programmer's Perspective

I think my paper about eBPF is now good enough to be added as a generic article on this repository. The article gives a simple overview over how to get started with eBPF.

Looks good to me, thanks for your contribution :)


Update README.md to include Next.js 13+ bundling

When trying to run the profiler in Nextjs 13+ I've found that I can't edit directly the "externals" because it' being passed as a function, but this setting exists to declare external packages, which looks to be working on my end (local dev, local build and deploying).
https://nextjs.org/docs/app/api-reference/next-config-js/serverComponentsExternalPackages

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

[X] If you've added code that should be tested, please add tests.
[X] Ensure your code lints and the test suite passes.

Thank you @Negan1911. I'm sorry, I must have somehow missed the notification (appreciate the tag @AbhiPrasad)


Add test to ensure relevant fields are sorted

sort array fields on turbo.json
add test to ensure we are sorting fields used for hashing

Fixes #2029

This doesn't make sense to me. I'm confused why any of this needs to be sorted when in multiple runs (without touching turbo.json) we should still get consistent ordering.
To my knowledge we're not doing anything that inserts asynchronous behavior into the processing of these values.

@nathanhammond not everything was non-deterministic, but the test is to help ensure it stays that way. The non-determinism that we have is coming from the Set implementation. It's a map under the hood, and Go's map iteration is intentionally random, so when we convert back to a list, it's in a random order.

Ah, good catch on Set being the guilty party. It makes sense to provide no guarantees about map iteration order but is also an annoying footgun coming from a JavaScript background. (Added to my mental list of "fun" Go things.)

Also, a bit surprised that map iteration is random with the same values in the map from a single-threaded use. That implies to me it's an actively randomized iteration.

@nathanhammond as a bonus: serializing a map to a string is deterministic. They sort it in the String() implementation. The hashing we do relies on that, it's hashing the string representation of all the maps it finds.

actively randomized iteration
Yes, it is intentionally actively randomized

This calls for a 1.5.3. sigh


Select specific files

Is it possible to add an option to select which files we want to use for translations?
For the moment i think translations of all files are added. It could be huge in a big project, and Google doesn't like very much when a page take time to load.
Any solution?
Thanks for your help.

When the view will be compiled, the JSON format will be cached in the compiled view.
So it's completely static. Because of this, I don't think to filter certain translations on the back-end would be a good solution.


Consistently use namespace aliases in examples.

Consistently use namespace cbt = google::cloud::bigtable in the examples.
That makes the code snippets less crufty and therefore more readable.
This fixes #2557, fixes #2558, fixes #2559, fixes #2560, and fixes #2561.

This change is

PTAL.


how to Code completion in

from Qt import QtWidgets
can‘t use autocompletion

See https://github.com/mottosso/Qt.py/issues/199 and https://github.com/mottosso/Qt.py/issues/128


More batch query examples

I am not even sure that including multiple subscription ids in the request would be considered batching. That is normally part of the payload, a list of subscription ids.
Batching queries by the subscription, resource group, or individual resource is more efficient than parallelizing queries.
How do you batch individual resources? Preferably an example using the REST api.

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

ID: 1d581716-3b0e-fe98-411c-4c68adc86f82
Version Independent ID: 608549b3-64dc-162a-9853-0ad766fa1ca7
Content: Guidance for throttled requests - Azure Resource Graph
Content Source: articles/governance/resource-graph/concepts/guidance-for-throttled-requests.md
Service: resource-graph
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

#assign:DCtheGeek

@spaelling Thanks for the feedback. While subscription ids are part of the payload, it's a recommended practice to make your queries for more than a single subscription, which is why it's mentioned in this doc. As to your question, I'll run it by the team and will get back to you. As it's Thanksgiving Week in the US, there will likely be a delay in the response.
@MicrosoftDocs/azure-cxp-triage Please label 'doc-enhancement' and #in-progress.


[ENH] add nipoppy extract command

Closes #385
Blocked by #391

Changes proposed in this pull request:

Add EXTRACTION_PIPELINES to config
Implement ExtractionRunner workflow
Add nipoppy extract

Checklist (for reviewers)
This section is for the PR reviewer

[x] PR has an interpretable title with a prefix (e.g. [BUG], [DOC], [ENH], [MAINT])
Refer to NumPy Development Guide for a full list
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[ ] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

~There is at least one test that would fail under the original bug conditions~

Will add a test with a dummy JSON invocation/descriptor later to increase code coverage

Also realized that we need to have docs for this too so will convert this back to draft actually


Add missing Grid content

Content is missing for the following sections:

[ ] Variation Jinja snippets
[ ] Variation specs
[ ] Usage

[ ] Use cases
[ ] Content guidelines

[ ] Accessibility
[ ] Research
[ ] Related Items

Also notes I added to the page about the content that already exists:

Warning: This document is written for people who might want to create a grid system using our Less mixins, and does not itself document how we have used our own mixins to create a grid system. Nor does it document how to use said grid system. This page probably needs a major re-write.


DBZ-6424 Add docs for new JmxSignalChannel and JmxNotificationChannel

I think we are ready to merge @roldanbob

Yes, I just checked the rendering, and everything LGTM. Thanks!


The speed of resize function is too slow

I want to shrink my image, but the speed of resize function is too slow. I am not sure if I use this function in a wrong way. The test code goes here,
extern crate image;

use image::{FilterType, GenericImage};
use std::time::Instant;

fn main() {
    let bytes = ::image::open("./tests/origin.jpg").unwrap();
    let (height, width) = bytes.dimensions();

    let height = (height as f64 * 0.9) as u32;
    let width = (width as f64 * 0.9) as u32;

    let st = Instant::now();
    bytes.resize_exact(height, width, FilterType::Lanczos3);
    println!("time cost: {:?}", st.elapsed());
}

The time cost is about 86 seconds, And I change the FilterType to Nearest, it also cost about 21 seconds. The size of this image is 2M, and the resolution is 4032 * 3024.
My CPU is AMD Ryzen 1700, and memory is 16G.
Do I use it in a wrong way? Thanks!

Did you compile it in release mode?

I compile it with release mode, the time cost of Lanczos3 is about 12 seconds, and the time cost with other filter is less than 1 second, Thanks.


Added github action for linting only changed Food's

Implements #479 and #777
This Github Action is based on the existing CircleCI setup.
It will

Install newest GoFish from the master branch
figure out which fish foods have been changed in the PR, using the futuratrepadeira/changed-files action
Run the linter on all the updated and new foods

After this PR the .circleci can be deleted.

Thank you so much for taking the time to write this out! I really appreciate this.


The BitBox02 does not accept a passphrase from the host

./hwi.py enumerate
Traceback (most recent call last):
  File "./hwi.py", line 7, in <module>
    main()
  File "/Users/gbd/proj/HWI/hwilib/cli.py", line 282, in main
    result = process_commands(sys.argv[1:])
  File "/Users/gbd/proj/HWI/hwilib/cli.py", line 249, in process_commands
    return args.func(args)
  File "/Users/gbd/proj/HWI/hwilib/cli.py", line 46, in enumerate_handler
    return enumerate(password=args.password)
  File "/Users/gbd/proj/HWI/hwilib/commands.py", line 50, in enumerate
    result.extend(imported_dev.enumerate(password))
  File "/Users/gbd/proj/HWI/hwilib/devices/bitbox02.py", line 145, in enumerate
    client = Bitbox02Client(path)
  File "/Users/gbd/proj/HWI/hwilib/devices/bitbox02.py", line 218, in __init__
    raise BadArgumentError(
hwilib.errors.BadArgumentError: The BitBox02 does not accept a passphrase from the host. Please enable the passphrase option and enter the passphrase on the device during unlock.

I have enabled a passphrase on the the device:

Opened the bitbox app
I disconnected
reconnected
input the password of the device
visually confirmed the password
closed the bitbox app

./hwi.py enumerate
Traceback (most recent call last):
  File "./hwi.py", line 7, in <module>
    main()
  File "/Users/gbd/proj/HWI/hwilib/cli.py", line 282, in main
    result = process_commands(sys.argv[1:])
  File "/Users/gbd/proj/HWI/hwilib/cli.py", line 249, in process_commands
    return args.func(args)
  File "/Users/gbd/proj/HWI/hwilib/cli.py", line 46, in enumerate_handler
    return enumerate(password=args.password)
  File "/Users/gbd/proj/HWI/hwilib/commands.py", line 50, in enumerate
    result.extend(imported_dev.enumerate(password))
  File "/Users/gbd/proj/HWI/hwilib/devices/bitbox02.py", line 145, in enumerate
    client = Bitbox02Client(path)
  File "/Users/gbd/proj/HWI/hwilib/devices/bitbox02.py", line 218, in __init__
    raise BadArgumentError(
hwilib.errors.BadArgumentError: The BitBox02 does not accept a passphrase from the host. Please enable the passphrase option and enter the passphrase on the device during unlock.

After some experiment I have seen that if I use the ver. 1.2.0 the bitbox02 works almost as expected.
If I set up the Master branch, then everything stop working.
I would close this issue assuming master as an unstable branch which is not requested to work with all the wallets and I will open a separate issue for the problem I have seen with version 1.2.0


Syntax Highlight does not work on 0.5.0?

After I fixed the issue #542 on my OS X system. I saw that the syntax highlight does not work for *.c files. But the demo is able to display also for *.c files.
Any idea?

Same here!

This issue should be fixed in v0.6.0.


mocktail gives confusing errors when there is an incomplete mock

Describe the bug
If you make an incomplete mock, like calling when but forgetting to call thenReturn or thenAnswer, when you start a new mock, mocktail will break on that line, making you think that the issue is there, when it actually isn't, making it hard to track the error.
To Reproduce
import 'package:mocktail/mocktail.dart';
import 'package:test/test.dart';

class _MockFoo extends Mock implements Foo {}

class Foo {
  const Foo({
    required Map<String, dynamic> data,
  }) : _data = data;
  final Map<String, dynamic> _data;

  dynamic operator [](String key) => _data[key];

  String sayHello() => 'Hello, ${_data['Name']}!';
}

void main() {

  late Foo foo;

  setUp(() {
    foo = _MockFoo();
    when(() => foo['Name']); // <- This is incomplete
  });

  test('say hello, says hello', () {
    when(() => foo.sayHello()).thenReturn('Hello, Bond, James Bond!'); // <- Test will break here, but this mock is fine
    expect(foo.sayHello(), 'Hello, Bond, James Bond!');
  });
}

Expected behavior
I understand that it might be hard to break in the incomplete mock, but maybe the messaging could at least be improved, since in a big test file, tracking down this type of error can be quite challenging.

Seems like a duplicate of #213

Closing in favor of #213


Creating ContentVersion error "No such column 'type' ..."

INVALID_FIELD: No such column 'type' on sobject of type ContentVersion
I'm getting the above error when attempting to upload a document/file from my local computer using the following code:
conn.sobject('ContentVersion').create({     'Title': fileName,     'VersionData': fileBuffer,     'FirstPublishLocationId': entityId,     'IsLatest': true,     'PathOnClient': fileName,     'IsMajorVersion': true   }, function(err, res) {     console.log('err', err);     console.log('res', res);     if (err || !res.success) {       return err;     }     return res;   });
As you can see, I never used the field type in my map. I did a describe on the object and it didn't return any field with the name type. I don't know what's causing the issue.

I'm also getting the same error, while creating ContentVersion record from Integromat scenario using "Create a record in an object" module. I'm not querying any field name called "type" in contentVersion object and can't see any field with name/api name as "type".

I got the same error for uploading sf.conn.sobject("Attachment").create  - depending on how you handle your data (e.g. form-data) you might have to create a base64 buffer fileBuffer = Buffer.from(yourdata).toString("base64") before you pass it it the Attachment.Body or in your case VersionData.

I got the same error for uploading sf.conn.sobject("Attachment").create  - depending on how you handle your data (e.g. form-data) you might have to create a base64 buffer fileBuffer = Buffer.from(yourdata).toString("base64") before you pass it it the Attachment.Body or in your case VersionData.

I got the same error for uploading sf.conn.sobject("Attachment").create  - depending on how you handle your data (e.g. form-data) you might have to create a base64 buffer fileBuffer = Buffer.from(yourdata).toString("base64") before you pass it it the Attachment.Body or in your case VersionData.

@kkarkos Thank you! Buffer.from(yourdata).toString("base64") worked for me

Hi All,
Its throwing INVALID_FIELD: No such column 'ContentData' on sobject of type FeedItem
But in Metadata I'm having the ContentData field of type base 64.
Can you please help me to resolve this.
Same is column getting inserted using other integration technology.(TIBCO)
const regularfeedItem = {
          ParentId: Id,
          Body: `${InternalNotes.trim().length > 10000
            ? InternalNotes.trim().substr(0, 10000) : InternalNotes}`,
          ContentData: InternalNotes.length > 0 ? Buffer.from(InternalNotes.substr(0, 10000 + 1)).toString('base64') : '',
          ContentFileName: InternalNotes.length > 0
            ? `${serviceRequestor.concat('-').concat(CaseNumber)
              .concat('-').concat(moment().format('MMDDYYYYHHmmss')).concat('.txt')}` : '',
          Visibility: 'AllUsers',
 };
const feedres = await conn.sobject('FeedItem').create(regularfeedItem);

triaging old issues...
this is the suggested solution:
https://github.com/jsforce/jsforce/issues/1016#issuecomment-768019861
you should always check the docs for the object, most mention they expect a base64-encoded content.


I have question about depth metric

Your research is so interesting. (selfmono-sf and multimono-sf)
Your depth metric does not computing median scaling.
But, another KITTI depth estimation model, monodepth2 uses median scaling computation
Why is there a difference in the metric computation method?
Your code
multimono-sf
https://github.com/visinf/self-mono-sf/blob/054df08674a2df96885682e657ca4803c129a364/losses.py#L402
selfmono-sf
https://github.com/visinf/multi-mono-sf/blob/main/losses.py#L513
Monodepth2 KITTI depth metric
https://github.com/nianticlabs/monodepth2/blob/master/evaluate_depth.py#L206

Hi,
We don't do/need any scaling or normalization because our method outputs metric-scale depth on KITTI dataset.
Because we use the same scheme as Monodepth (which uses stereo images for training), scaling is not necessary.
However, when testing our method on other datasets, it does require normalization due to the scale difference.
The other methods including monodepth2 require the median scaling because their methods output depth with unknown scale (if they are trained to do so).

AAAAAA I got it!!!
Very thanks for your answer


Code Highlighting not working

I'm unable to proper add blocks of code to my blog posts since the latest update and when I do, there is no highlighting as what Prism should provide.
Can you assist me with resolving this?
Test URL: http://danielpietersen.com/ghost-blog-apache-nginx-cloudflare/

Your blocks of code appear fine for me, it seems you've just lost some syntax highlighting maybe?

Agreed.
The middle block also doesn't show the label although it's supposed to be PHP. I've listed it like I have the others, so I'm not sure where I'm going wrong.

The Prism.js highlighting included within Uno-Zen doesn't include highlighting for PHP I'm afraid.
Only markup, css, clike, javascript, bash, c, coffescript, git, markdown, scss and sql.
http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+c+coffeescript+css-extras+git+markdown+scss+sql&plugins=line-numbers+autolinker+show-language

Hi!
PHP syntax is not supported by default.
But you can:

go to prismjs.com,
generate your custom highlight code
paste in the file
compile the assets

I have to extend documentation for support this new use case. If you do the process, please, make a PR to make more easy reproduce the steps for other user.

Awesome, Thanks Kiko


error #2cpp in trying to log in

i'm met with either a forever loading screen or a 2cpp error in the launch screen

i have a M2 ventura 13.2.1 which i should probably update to a 14.4.1, but is there anything in mind that i should do before this?
Also, what do the different wines do? I have tried out a couple, but the ones i tried didnt work

It's on FAQ, only work on Sonoma for arm macs.


fix: Gmail loading

🔧 What does this fix? 🔧
The Gmail loading screen didn't have the correct colors, so I fixed it! :D
Before:

After:

🗒 Checklist 🗒

[x] I have read and followed Catppuccin's contributing guidelines.
[x] I have updated the version appropriately in the ==UserStyle== header of the catppuccin.user.css file.

Please update the title to fix(gmail): loading animation. The "scope" of the commit message (see https://www.conventionalcommits.org/en/v1.0.0/#summary) should be the name of the userstyle.


Scene Freezes for couple of seconds after navigating back

Version

react-native-router-flux v4.0.6
react v16.6.3
react-native v0.57.8

I have a big JSON data coming from http request which defines what to render in a page. I have no problem when visiting that scene but whenever i go back, the scene im going freezes for 2 seconds no interaction is available.
im just wondering if i am missing something that i should do before navigating back or is there something wrong with the rendering method.
    axiosInstance(httpConfiguration).then(response => {
      this.props.httpSuccess(response.data);
    // convert json data to jsx data (updating state)
      this.buildJSX();

// rendering method
if(this.state.JSX.length > 0) {
            return this.state.JSX.map(obj =>

i highly doubt that this problem is related to this repo. if not please just show me where to look or how to debug this issue, maybe  Router component  has some callbacks that im missing. Thanks.

I have reopened the issue because i figured that when i use Actions to navigate to that Scene instead of using "Back" button there is no problem.
So i have a feeling that there must be something wrong with the Back button process.


Fix line endings in SETUP.md

Just started the course on exercism and there's a bunch of ^Ms in all the READMEs!

On the CLI?
What change did you do so we can let the client people know.

I use vim, so I can see the extra characters in the setup section of the readme of each problem.
If you open up this SETUP.md file it has dos line endings, so I just converted it to unix.

Thanks!


Using generic parameters as type of default argument errors

TypeScript Version:  3.4.1

Search Terms:
generic parameter argument initialization default
Code
function Fn1<T extends boolean>(arg: T = false) {} //Type 'false' is not assignable to type 'T'.
function Fn2<T extends number>(arg: T = 42) {} //Type '42' is not assignable to type 'T'.

function Fn3<T extends boolean>(arg: T = false as boolean) {} //Type 'boolean' is not assignable to type 'T'.
function Fn4<T extends number>(arg: T = 42 as number) {} //Type 'number' is not assignable to type 'T'.

function Fn5<T extends boolean>(arg: T = false as any) {} //Fine
function Fn6<T extends number>(arg: T = 42 as any) {} //Fine

Should be able to use generic parameters as the type of an initialized (default) argument. Would think this should be possible but errors unless I cast as any
Note: Am wanting to use this for a conditional return type
Playground Link: https://www.typescriptlang.org/play/#src=function Fn1<T extends boolean>(arg%3A T %3D false) {} %2F%2FType 'false' is not assignable to type 'T'.
function Fn2<T extends number>(arg%3A T %3D 42) {} %2F%2FType '42' is not assignable to type 'T'.

function Fn3<T extends boolean>(arg%3A T %3D false as boolean) {} %2F%2FType 'boolean' is not assignable to type 'T'.
function Fn4<T extends number>(arg%3A T %3D 42 as number) {} %2F%2FType 'number' is not assignable to type 'T'.

function Fn5<T extends boolean>(arg%3A T %3D false as any) {} %2F%2FFine
function Fn6<T extends number>(arg%3A T %3D 42 as any) {} %2F%2FFine

Duplicate of #28154


[bug] Command line parse error

While testing 0.1.4 branch (9089e755a62c9585fe24b129d1e0b87200d8b20d), (most definitely main branch has the same bug too) I noticed that an unexpected error happens with this command line. Only if PAM_USER environment variable is not set.
$ ./shavee unexpected --pam -z testpool/testdataset
thread 'main' panicked at 'Panic! Something unexpected happened! Please help by reporting it as a bug.: NotPresent', shavee-bin/src/args.rs:198:55

This seems to be caused by a corner case when the binary is executed in PAM mode while passing an unexpected argument to the binary. Clap fails to reject it correctly.
It seems that this section causes Clap to replace PAM_USER with unexpected argument, instead of providing error for lack of the existence of PAM_USER environment variable.
Then here PAM_USER is being used while it doesn't exists and throws a Panic!
Unit test didn't catch it because it sets PAM_USER environment.
If the plan is that 0.1.4 branch will have a separate libpam_shavee.so instead of --pam PAM mode, then it should be better to to move PAM_USER validating and appending it to the dataset to this PAM module and remove it from the main binary argument.

Maybe we can just and if statement checking it just before and exiting with a better error message.
This error is most likely to happen with accidental use of this argument without pam_exec.so since that takes care of setting the variable.

This error is most likely to happen with accidental use of this argument without pam_exec.so since that takes care of setting the variable.

Agreed and that is why I think it is better to fix it in libpam_shavee.so (impl PamServiceModule for PamShavee) and totally remove the --pam option from the main shavee-bin binary.

Agreed, This PAM option will be removed in the 0.1.4 release.

The basic layout of the Project is done so i if you wanna contribute anything you can PR to that branch now
Thanks

Thanks... I will continue implementing the unit tests, before propping some major changes. For now we can keep this bug open until it is fixed in the future.
If you are interested to read more of why unit tests are important, check this out.

Hi @ashuio,
Please take a look at the changes and let me know if you are ok with them. I will initiate a PR to submit them all upstream after that.
b3ff61c0935b24e9369f3b0058a4985d91678cf8
f2975a95213c0b0d759f706662213782bcd6b45d
1241729b239ca8d0a0c97a68bb6e732a721765dd
3486a5e2f2df5cfb4bd7a4107da6574282cac091
0cc837dc70efe4c48c8475158a87812e85ac2ecc
e84a98556998e37dd7bfc75aba1f231611653542

Thanks for all the work, It all looks good to me.
Please submit a PR whenever you're ready and I'll merge.

Thanks for accepting the patches. If all is OK, I will close this bug and we can open a new one if needed.


For basic Sku firewall we need to make sure we include the Management NIC (Forced tunneling on by default)

Related command
Please have a look at this PowerShell PR for the same requirement.
https://github.com/Azure/azure-powershell/pull/18916
Describe the solution you'd like

Please read this documentation about forced tunning.
https://docs.microsoft.com/en-us/azure/firewall/forced-tunneling
Additional context

Whenever we are creating a Basic Sku firewall, we need to make sure Management NIC is enabled by default. Making sure AzureFirewallManagementSubnet subnet and ManagementPublicIpAddress  should be provided.

@necusjz to estimate this request.

@Gizachew-Eshetie, due to workload, we plan to develop it in the next sprint.


Support for manifest CDM (.manifest.cdm.json)?

When will the PowerApps and Export to Data Lake feature support the latest Common Data Model format, the manifest (*.manifest.cdm.json)? Any ETA?

@subashsivaji - the latest upcoming feature announcements can be viewed here: https://docs.microsoft.com/en-us/power-platform-release-plan/2021wave1/.
Features that you don't find announced in the release plans can be submitted and voted on here: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas
Closing issue.


Use dry_run param for update for a more consistent API

These params really have the same meaning, where dry_run = TRUE can be subbed with update = FALSE. The param update appears in some of the more recent annotation utils. This was a poor/annoying API decision since everything else uses dry_run.

Implemented in https://github.com/nf-osi/nfportalutils/pull/68


Edited a typo - ‘Wiht’ to ‘With’

It is just an eyesore in high quality Microsoft document to see a typo. This is a rather silly PR 🤣

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

File
Status
Preview URL
Details

microsoft-365/enterprise/manage-microsoft-365-identity-governance.md
:white_check_mark:Succeeded

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


issues with comands

srry for bothering you but i need your help each time i set up a welcome channel or trying to setup welcome msg, xpreset, xpexcempt, xpenable, welcometoggle, watch, userxpreset, setwelcomech, setsuggestch, prefix, setgoodbyemsg, disableanisched, goodbyetoggle, nonxpchannels, market, leaderboard, inventory, buy, bank i hope you get these fix bc i need help

it always say connect to database bot how

check the env example and fill it up with MONGO URI.
@anime731

@maisans-maid i think this should be closed


typo: Exectue -> Execute

Opened https://github.com/dotnet/samples/pull/1022

Other PR has been merged


[FR] add an option to disable tracking

As for user privacy that is really necessary

Just disable it. For computer wide searches of a PC[personal computer], there are obviously going to be privacy concerns. Does it really help with UI development? It seems creepy.


Allow extension in code generation for custom properties

I see this library makes use of JCodeModel which does not allow editing an existing class generated from this library. The use of static class: JsonSchema2Pojo in the library and hiding the JCodeModel within its generate  method does not allow to reach me to the code-generation components.
It will be beneficial if the generate method could be broken down into several components, which allows attaching different custom hooks by the user on top of what this library does. For a start, I would like to see two hooks pre-generate and post-generate which could be reached by JCodeModel to facilitate custom code generation.
(Sample uncompiled PR to explain the idea: https://github.com/joelittlejohn/jsonschema2pojo/pull/1186)

Would it be possible to elaborate as to why usage of custom rule factory is not suitable?

Would it be possible to elaborate as to why usage of custom rule factory is not suitable?

This isn't something we're going to add to the core, it's too niche to maintain. It sounds like something you need, so please feel free to fork and add this and build your own version.


NetworkError when attempting to fetch resource.

Can't send any messages when trying to use alternative endpoint https://chatgpt-api.shn.hk/v1/, just gives NetworkError when attempting to fetch resource. error in red at the bottom.

The endpoint https://chatgpt-api.shn.hk/v1/ is no longer available.


Support ~codewiki dir

Directory will be filled with symlinks to wikis in ~codewww when running publishtools develop

done


Script to Verify Asset Presence on Release

We need the ability to automate the verification of assets being present on a given release.

Addressed on #57


[python-pakcage] fix libpath.py

This is to fix a mistake in libpath.py, which causes a wrong candidate library path, as shown by the first one below:
$ python python-package/lightgbm/libpath.py
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lightgbm/libpath.py/lib_lightgbm.so
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lib_lightgbm.so
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lightgbm/bin/lib_lightgbm.so
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lightgbm/lib/lib_lightgbm.so

With this fix, it becomes
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lightgbm/lib_lightgbm.so
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lib_lightgbm.so
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lightgbm/bin/lib_lightgbm.so
/home/shiyu/Test-LightGBM/cuda-obj/LightGBM/python-package/lightgbm/lib/lib_lightgbm.so

Actually I got a report from @chjinche this morning about the issue. And the first correct path is used in the LightGBM-Transform. So, can we just keep this since it seems that LightGBM-Transform heavily relies on the first path.

If we want to prioritize the safety for the package, @chjinche may also help to change the paths in LightGBM-Transform. Which approach do you think is preferred? @jameslamb @chjinche

hi @jameslamb to clarify, we are not asking for some private message, but are debugging community PR CI failure  https://github.com/microsoft/lightgbm-transform/pull/26 issue and found this.
Looks it is a fault as you mentioned, and not intentional, could you please allow this fix in this time, so unblock people, we may consider improving our releasing process in the future to be more tolerant for the candidate path changes.

are debugging community PR CI failure https://github.com/microsoft/lightgbm-transform/pull/26 issue and found this

Thanks for that! Linking to that context in the PR description would have prevented me from drawing an incorrect conclusion.

could you please allow this fix in this time

I really don't think we should.
It seems that all you'd need to do to fix these lines:
https://github.com/microsoft/lightgbm-transform/blob/1d7d34265954dc872c37512699e4c25aa27f7906/.ci/setup.sh#L11
https://github.com/microsoft/lightgbm-transform/blob/1d7d34265954dc872c37512699e4c25aa27f7906/scripts/publish_python_package.sh#L10
to copy lib_lightgbm.so to one of the other supported paths.
I don't support missing this opportunity to simplify lightgbm just for LightGBM-Transform to avoid having to make such a small change to a CI script. It is LightGBM-Transform that's using a custom build process (compiling lib_lightgbm.so and then manually moving it around with cp), and that should conform to how LightGBM works.

Thanks @jameslamb, but looks more than the line work. This is because transform lib works as extensive so(lib_custom_parser.so, lib_transform.so) together with lib_transform.so, and also need some basic.py modification.
Not sure if just simple line modification works, but I'll try. Anyway, cur_path (/LightGBM/python-package/lightgbm/libpath.py/lib_lightgbm.so) is invalid, right? Why not restore to previous valid path?

Why not restore to previous valid path?

Because as far as I can tell, the only thing relying on lib_lightgbm.so existing at that path is LightGBM-Transform.
Please see all the discussion in #5061 and all the pull requests linked from it. In response to changes in Python packaging standards upstream (e.g. in pip, build, and wheel), we did significant work to remove non-standard features of lightgbm's packaging setup. One of those non-standard features was the fact that it permitted lib_lightgbm.so to be found in so many different places.
That previous path (lightgbm/lib_lightgbm.so) was left behind only in an effort to minimize as much as possible the number of changes I was proposing. I didn't carefully scrutinize each path (which is how the mistake this PR exposes was allowed to persist).
But now that I am looking very carefully at each path as a result of this PR, I'd prefer to remove a path that, as far as I can tell, only LightGBM-Transform relies on.
Having fewer possible places that lib_lightgbm.so can be found has the following benefits:

speeds up library loading
reduces the risk of accidentally loading the wrong library (e.g. one left over by some other build of an older LightGBM version)

Ultimately @shiyu1994 has the power to override me in this project, so if he says to drop my objection then I'll drop it.
But I feel strongly that making lightgbm safer is preferable to keeping around a rarely-used path only for the benefit of LightGBM-Transform.

@jameslamb if I understand correctly, the first candidate path should be removed, right? Can you commit the other three will not change in the future?

LightGBM/python-package/lightgbm/libpath.py/lib_lightgbm.so
LightGBM/python-package/lib_lightgbm.so
LightGBM/python-package/lightgbm/bin/lib_lightgbm.so
LightGBM/python-package/lightgbm/lib/lib_lightgbm.so

the first candidate path should be removed, right

correct.

can you commit the other three will not change in the future

I have no plan to remove those, correct.

Based on https://github.com/microsoft/lightgbm-transform/pull/26/ being merged and the changes that were passed there, I guess you were able to resolve this in lightgbm-transform @chjinche . Thank you!
@shiyu1994 could you please update this PR to just completely remove that first path? Let's take this opportunity to simplify lightgbm.

Thanks. I've removed the first library path.


read only dashboard configuration

Hey, this inkplate program is great! I've been tinkering around with it, and have everything loading properly, but haven't found a good way to bring a read only Dashboard from Home Assistant in - is there a suggested method for this? I have a basic dashboard created using lovelace card mod, like some of the examples here, but can't find a good resource on making only this dashboard exposed. Or, is there a method with the current API call to include credentials or API token when we try to hit home assistant?

Does home assistant support read-only dashboards?
All Homeplate does is display a static PNG, which is read-only be definition. It works with a program like hass-screenshot which will need a token to gain access to the home assistant instance.

ah - thanks! I was able to get that setup and working now. I noticed some of the mqtt entities are not showing up in home assistant, maybe I should open a different issue for this, but is this something you have noticed as well?


TypeError when I evaluate my NER model

Evaluation Command
!python -m rasa_nlu.test \
    --data export_data_format_train.json \
    --model model/ner_model \
    --mode evaluation

Config_file

pipeline:

name: "SpacyNLP"
name: "tokenizer_spacy"
name: "ner_crf"
name: "ner_synonyms"
name: "CRFEntityExtractor"

Error
/home/user/anaconda2/envs/jd_matcher/lib/python3.6/runpy.py:125: RuntimeWarning: 'rasa_nlu.test' found in sys.modules after import of package 'rasa_nlu', but prior to execution of 'rasa_nlu.test'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))

2019-04-30 11:55:12 INFO     rasa_nlu.components  - Added 'SpacyNLP' to component cache. Key 'SpacyNLP-en'.
2019-04-30 11:55:12 INFO     rasa_nlu.training_data.loading  - Training data format of export_data_format_train.json is rasa_nlu
2019-04-30 11:55:12 INFO     rasa_nlu.training_data.training_data  - Training data stats:
	- intent examples: 0 (0 distinct intents)
	- Found intents:
	- entity examples: 3 (9 distinct entities)
	- found entities: 'soft_skills', 'technical_skills', 'degree', 'salary', 'job_position', 'degree_major', 'job_location', 'overall_work_experience', 'technology_work_experience'

Traceback (most recent call last):
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 1001, in <module>
    main()
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 995, in main
    cmdline_args.histogram)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 744, in run_evaluation
    intent_targets = [None] * test_data.training_examples
TypeError: can't multiply sequence by non-int of type 'list'

Thanks for creating a separate issue, I'll take care of it -- I've mentioned the fix in #3070 if you want to patch it locally.

Thanks for creating a separate issue, I'll take care of it -- I've mentioned the fix in #3070 if you want to patch it locally.

thanks. Looking forward

@erohmensing

intent_targets = [None] * len(test_data.training_examples)

@erohmensing  I have added following changes in rasa_nlu/test.py code:
        # intent_targets = [None] * test_data.training_examples         intent_targets = [None] * len(test_data.training_examples)
But getting following error can you help me to fix this one?
/home/user/anaconda2/envs/jd_matcher/lib/python3.6/runpy.py:125: RuntimeWarning: 'rasa_nlu.test' found in sys.modules after import of package 'rasa_nlu', but prior to execution of 'rasa_nlu.test'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
2019-05-02 14:29:13 INFO     rasa_nlu.components  - Added 'SpacyNLP' to component cache. Key 'SpacyNLP-en'.
2019-05-02 14:29:13 INFO     rasa_nlu.training_data.loading  - Training data format of export_data_format_test.json is rasa_nlu
2019-05-02 14:29:13 INFO     rasa_nlu.training_data.training_data  - Training data stats:
	- intent examples: 0 (0 distinct intents)
	- Found intents:
	- entity examples: 0 (0 distinct entities)
	- found entities:

2019-05-02 14:29:13 INFO     __main__  - Running model for predictions:
0it [00:00, ?it/s]
2019-05-02 14:29:13 INFO     __main__  - Entity evaluation results:
2019-05-02 14:29:13 INFO     __main__  - Evaluation for entity extractor: CRFEntityExtractor
Traceback (most recent call last):
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 1002, in <module>
    main()
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 996, in main
    cmdline_args.histogram)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 780, in run_evaluation
    report_folder)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 421, in evaluate_entities
    merged_targets, merged_predictions)
  File "/home/user/anaconda2/envs/jd_matcher/lib/python3.6/site-packages/rasa_nlu/test.py", line 181, in get_evaluation_metrics
    output_dict=output_dict)
  File "/home/user/.local/lib/python3.6/site-packages/sklearn/metrics/classification.py", line 1568, in classification_report
    name_width = max(len(cn) for cn in target_names)
ValueError: max() arg is an empty sequence

Hi @Nomiluks , what happened to your entity examples? Earlier you had this:
2019-04-30 11:55:12 INFO     rasa_nlu.training_data.training_data  - Training data stats:
	- intent examples: 0 (0 distinct intents)
	- Found intents:
	- entity examples: 3 (9 distinct entities)
	- found entities: 'soft_skills', 'technical_skills', 'degree', 'salary', 'job_position', 'degree_major', 'job_location', 'overall_work_experience', 'technology_work_experience'

Now it says there are no entity examples. I think that has something to do with the problem.

Hi @Nomiluks , what happened to your entity examples? Earlier you had this:
2019-04-30 11:55:12 INFO     rasa_nlu.training_data.training_data  - Training data stats:
	- intent examples: 0 (0 distinct intents)
	- Found intents:
	- entity examples: 3 (9 distinct entities)
	- found entities: 'soft_skills', 'technical_skills', 'degree', 'salary', 'job_position', 'degree_major', 'job_location', 'overall_work_experience', 'technology_work_experience'

Now it says there are no entity examples. I think that has something to do with the problem.

Thanks for pointing this out for me. Actually file was not formatted properly at my end. Issue is fixed !!

Awesome 🚀

Sorry @Nomiluks, I should have mentioned -- awesome that you have it fixed locally. I've implemented the change and it'll be released in rasa_nlu 0.15.1, so whenever that comes out, don't be afraid of updating and losing your local fix 🙂

Sorry @Nomiluks, I should have mentioned -- awesome that you have it fixed locally. I've implemented the change and it'll be released in rasa_nlu 0.15.1, so whenever that comes out, don't be afraid of updating and losing your local fix

thanks


Handle required fault domain configuration

@mnaboka I don't think that this does need the lowercase string false, the system handles that - as per the passing tests.

@adamtheturtle in the calc.py we defiantly use a string https://github.com/mesosphere/dcos-enterprise/blob/master/gen_extra/calc.py#L735
maybe it gets jsonified somewhere in your code? if the tests pass i am happy with it

@mnaboka yep, we dump to YAML:
        config_yaml = yaml.dump(data={**config, **extra_config})
        config_file_path = self._genconf_dir / 'config.yaml'
        config_file_path.write_text(data=config_yaml)


This fixes #137, fixes #148 and fixes #149

Thank you very much! This looks very good!
There was bamf support in Gnome-Pie previously (not as good as yours) but it was removed because there are some Linux distributions out there which do not have bamf in their repositories (Debian for example: Bug Report).
Therefore there's just one thing I would like you to improve here: Make the dependency optional - if bamf is discovered by cmake, use it, else use wnck only. Gnome-Pie should also build and work if there is no bamf available even if there are some WindowList icon issues...
You can have a look at these two commits: d5c165fd856d70aab31125fef1439a2102499c0e and 8195768a6b6e9130d02e6e09ca44cd7f75679a53 which basically did that before.
I wasn't aware that the removal of bamf lead to all these issues! So again, thank you very much!!

You're welcome. Glad that you like it.
I'll do the changes that you suggest.
Em 1 de jul de 2017 04:19, "Simon Schneegans"<EMAIL_ADDRESS>escreveu:
Thank you very much! This looks very good!
There was bamf support in Gnome-Pie previously (not as good as yours) but
it was removed because there are some Linux distributions out there which
do not have bamf in their repositories (Debian for example: Bug Report
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826450).
Therefore there's just one thing I would like you to improve here: Make the
dependency optional - if bamf is discovered by cmake, use it, else use wnck
only. Gnome-Pie should also build and work if there is no bamf available
even if there are some WindowList icon issues...
You can have a look at these two commits: d5c165f
https://github.com/Simmesimme/Gnome-Pie/commit/d5c165fd856d70aab31125fef1439a2102499c0e
and 8195768
https://github.com/Simmesimme/Gnome-Pie/commit/8195768a6b6e9130d02e6e09ca44cd7f75679a53
which basically did that before.
I wasn't aware that the removal of bamf lead to all these issues! So again,
thank you very much!!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Simmesimme/Gnome-Pie/pull/150#issuecomment-312416257,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcNgK2IZ0asErG6NwrBiYV55GzywVisZks5sJfMBgaJpZM4OLGSR
.

Again, thank you! I did some minor tweaks and merged it into develop.


Fixed: Codebuild Webhook Filters are to be a list of list of WebhookFilter

According to documentation, Web Hooks should be written in the form of List of List of WebHooks
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html
API call confirms the structure:
"webhook": {
                "url": "https://api.github.com/repos/<OMIT>",
                "payloadUrl": "https://codebuild.eu-west-1.amazonaws.com/webhooks?t=<OMIT>",
                "filterGroups": [
                    [
                        {
                            "type": "EVENT",
                            "pattern": "PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_REOPENED",
                            "excludeMatchedPattern": false
                        },
                        {
                            "type": "ACTOR_ACCOUNT_ID",
                            "pattern": "ausername",
                            "excludeMatchedPattern": false
                        }
                    ],
                    [
                        {
                            "type": "EVENT",
                            "pattern": "PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_REOPENED",
                            "excludeMatchedPattern": false
                        },
                        {
                            "type": "BASE_REF",
                            "pattern": "ref/heads/master$",
                            "excludeMatchedPattern": false
                        },
                        {
                            "type": "HEAD_REF",
                            "pattern": "ref/heads/branch1$",
                            "excludeMatchedPattern": false
                        }
                    ]
                ]
            },

Hope I used the class appropriately.

Force-pushed to squash 2 commits which were to fix pep-8 issues.

Oh interesting. list of lists...likely what you want to do to implement is not to override __init__() but create a validate() function instead and a test case to verify it. Something like this (untested):
def validate(self):
    if 'FilterGroups' not in self.properties:
        return
    for filter_list in self.properties.get('FilterGroups'):
        if not isinstance(filter_list, list):
            raise ....
        for webhook in filterlist:
            if not isinstance(webhook, WebhookFilter):
                raise ...

Force-pushed to squash 2 commits which were to fix pep-8 issues.

Thanks! I did see an issue with counti not getting incremented so I switched to using enumeration and added some tests. Please take a look at https://github.com/cloudtools/troposphere/commit/8259f0a44d47b77bf9a2aa37a1c8d0ae7b73091c to verify.

@JohnPreston @markpeek - sorry to revive this, but we just ran into an issue with this.
https://github.com/cloudtools/troposphere/blame/66cea0002c55c3f667ace816ce4c8f457940bea2/troposphere/codebuild.py#L244
Effectively that makes FilterGroups required, but
https://github.com/cloudtools/troposphere/blame/66cea0002c55c3f667ace816ce4c8f457940bea2/troposphere/codebuild.py#L240
has it required as False, as the documentation dictates.  Was this intended?  We can work around it by setting FilterGroups to a blank list, I think, but I don't believe this is required (it didn't used to be, and the docs don't list it as required).  Thanks!

Agreed. Looks like ProjectTriggers is not required and Webhook/FilterGroups are not required. Likely that raise line gets changed to a return. Feel free to PR and adding a test is always encouraged. :-)

Cool, I'll get to a PR probably tonight.

Yeah, we'll need a PR - my workaround (an empty list of lists) fails:
Failed to call UpdateWebhook, reason: Filter group cannot be empty (Service: AWSCodeBuild; Status Code: 400; Error Code: InvalidInputException; Request ID: a9f097fb-8c9a-11e9-9c26-5d3f240d6956)


Question about training my own dataset

It's really nice of u to write'Training on custom dataset.md' which is very useful i think.
When i following the instructions to the third step, 3. Train a layout classifier for FID computation, I sucessfully run it but take a really long time to train.I then found it report ' missing libs "libnvinfer.so.7 & libnvinfer_plugin.so.7" ' which is from tensorrt i think, therefore may lead to training through cpu instead of gpu.I would like to ask if tensorrt is necessary cause I met a lot of troubles while downloading it(and i did't see it in pyproject.toml either), and another question is can I use the existed FID_weight from rico to apply to my own data?
Thanks a lot for solving the problem.

Hi, thank you for your interest in our projects!

may lead to training through CPU instead of GPU
The fastest way to check is to call torch.cuda.is_available() inside the script or even just run nvidia-smi after launching the script.
Another reason for the slow training might be just because of the number of iterations; Although I have not tested it, just watching the training/validation loss may help. If it converges, it may be OK to stop early.

Can I use the existing FID_weight from Rico to apply to my own data?
If your own dataset is very close to Rico, it's ok. However, note that the categories should be the same, which may not happen so often. In most of cases, training a feature extractor for the target dataset is the best way to stably and reliably test the performance of layout generation models

Thanks for answering.
I do check already using torch.cuda.is_available() and return with True, but it also report a warning like this:TF-TRT Warning:Cannot dlopen some tensorRT libraries.If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly, so I am not sure the exact reason for the slow training, may I ask if you have installed tensorRT or not?


AE2 Server Crash

Minecraft version: 1.12.2
Unabridged or Abridged version: B.3
Issue Description: Server crashes when starting.
Crash report or log (uploaded to gist.github.com or pastebin.com): https://hastebin.com/saniruxagi.sql

Related: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/3377

Unabridged 5 unsupported.


Drop rails 4.0 support, as it is causing build failures unnecessarily, and is no longer supported.

Rails <4.2 is deprecated and no longer receives security fixes.
Dropping support for 4.0 and even 4.1 will likely not affect many users of the latest code.
Currently, the latest version of turbolinks will install against the current test suite, causing failures in the 4.0 set of tests, because the changes made are incompatible with 4.0. This has been causing failures on pull requests for at least a month.

I have resolved this in another way, since (for the time being), I am attempting to support all versions from 2.3 onwards. Time and troubles may make me considerer that choice down the track, but at least I will support the versions rails LTS does.


Enable QDR port 5671 to listen on both IPv4 and IPv6

Summary
This PR updates the Qpid Dispatch Router (QDR) configuration to allow port 5671 to listen on all local addresses, both IPv4 and IPv6. Previously, the port was configured to listen only on IPv4 addresses. With this change, QDR can now support single stack IPv6 clusters as well as dual stack configurations.
Changes

Modified the Ansible task in component_qdr.yml to configure QDR to listen on all interfaces (both IPv4 and IPv6) on port 5671.
Updated the listener configuration to use host: '', which is the standard way to specify all interfaces for both IPv4 and IPv6.

Testing

Dual Stack OCP 4.12.6: Verified that QDR is listening on both IPv4 and IPv6 addresses on port 5671.
Single Stack IPv6 OCP 4.14.0: Confirmed that QDR is correctly listening on IPv6 addresses.
Connected OpenStack clusters to ensure proper connectivity and functionality.

Motivation and Context
This change is necessary to ensure compatibility with IPv6-only Kubernetes clusters, which are becoming more common as organizations prepare for the future of networking. Supporting both IPv4 and IPv6 ensures broader compatibility and future-proofs the service telemetry operator.
Related Issues

None

Depends-On: https://github.com/infrawatch/sg-bridge/pull/37

It looks like the change I made has impact on SG's for IPV6 only clusters.
I am getting below error:
cookie.go:209: net/http: invalid cookie.domain "fd01:0:0:1::896"; dropping domain attribute
Can someone provide insights on which component may be causing this problem, I am guessing that somewhere in SG also it is configured to connect for IPV4 only of AMQP

Does the CI have IPV6 only env test case??

No

It looks like the change I made has impact on SG's for IPV6 only clusters. I am getting below error: cookie.go:209: net/http: invalid cookie.domain "fd01:0:0:1::896"; dropping domain attribute
Can someone provide insights on which component may be causing this problem, I am guessing that somewhere in SG also it is configured to connect for IPV4 only of AMQP

The SG connects to AMQP from the sg-bridge component, which needs a small fix here: https://github.com/infrawatch/sg-bridge/pull/37 but this seems like a different problem.
Since it says cookie.go, it must be from sg-core (it's written in golang, but the bridge is in C). I'm guessing it's probably in the prometheus exporter code, but I can't seem to put my finger on it yet. Can you provide any additional logging context or stack trace for that error?

The SG connects to AMQP from the sg-bridge component, which needs a small fix here: infrawatch/sg-bridge#37 but this seems like a different problem.
Since it says cookie.go, it must be from sg-core (it's written in golang, but the bridge is in C). I'm guessing it's probably in the prometheus exporter code, but I can't seem to put my finger on it yet. Can you provide any additional logging context or stack trace for that error?

Logging context:
I got the following logs from smart gateway pods created.
Here the IPV6 that is coming up is IP assigned to particular pod (self ip)
2024/05/24 13:42:57 provider.go:129: Defaulting client-id to system:serviceaccount:service-telemetry:smart-gateway
2024/05/24 13:42:57 provider.go:134: Defaulting client-secret to service account token /var/run/secrets/kubernetes.io/serviceaccount/token
2024/05/24 13:42:57 provider.go:358: Delegation of authentication and authorization to OpenShift is enabled for bearer tokens and client certificates.
2024/05/24 13:42:57 oauthproxy.go:210: mapping path "/" => upstream "http://localhost:8081/"
2024/05/24 13:42:57 oauthproxy.go:237: OAuthProxy configured for Client ID: system:serviceaccount:service-telemetry:smart-gateway
2024/05/24 13:42:57 oauthproxy.go:247: Cookie settings: name:_oauth_proxy secure(https):true httponly:true expiry:168h0m0s domain: samesite: refresh:disabled
2024/05/24 13:42:57 http.go:64: HTTP: listening on <IP_ADDRESS>:4180
I0524 13:42:57.094070 1 dynamic_serving_content.go:132] "Starting controller" name="serving::/etc/tls/private/tls.crt::/etc/tls/private/tls.key"
2024/05/24 13:42:57 http.go:110: HTTPS: listening on [::]:8083
2024/05/28 11:51:31 cookie.go:209: net/http: invalid Cookie.Domain "fd01:0:0:3::883"; dropping domain attribute
2024/05/28 11:52:01 cookie.go:209: net/http: invalid Cookie.Domain "fd01:0:0:3::883"; dropping domain attribute
2024/05/28 11:52:31 cookie.go:209: net/http: invalid Cookie.Domain "fd01:0:0:3::883"; dropping domain attribute

Logging context: I got the following logs from smart gateway pods created. Here the IPV6 that is coming up is IP assigned to particular pod (self ip)
...
2024/05/24 13:42:57 oauthproxy.go:247: Cookie settings: name:_oauth_proxy secure(https):true httponly:true expiry:168h0m0s domain: samesite: refresh:disabled
2024/05/24 13:42:57 http.go:64: HTTP: listening on <IP_ADDRESS>:4180
I0524 13:42:57.094070 1 dynamic_serving_content.go:132] "Starting controller" name="serving::/etc/tls/private/tls.crt::/etc/tls/private/tls.key"
2024/05/24 13:42:57 http.go:110: HTTPS: listening on [::]:8083
2024/05/28 11:51:31 cookie.go:209: net/http: invalid Cookie.Domain "fd01:0:0:3::883"; dropping domain attribute

Thanks, this makes more sense, now! The error is coming from the oauth-proxy container, not from the SG itself. It looks like this may be a problem in golang's cookie handling, though the ultimate impact is unclear without some additional testing. Here is another report of non-ipv6 compatible behavior in golang's cookie.go https://github.com/golang/go/issues/65521

Can we please get an insight why https://github.com/infrawatch/sg-bridge/pull/37 does not pass in CI, as these two both are needed for IPv6 to work (plus potentially more?)

I am updating this PR to synch with master and include https://github.com/infrawatch/service-telemetry-operator/pull/603, so that it doesn't get stuck in the gate.

Recheck

recheck

recheck

recheck

The zuul jobs are blocked by this change: https://github.com/infrawatch/sg-core/pull/135, which will shortly be resolved


[test] Remove LINKER workaround from tests

Codecov Report

Merging #1451 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1451   +/-   ##
=======================================
  Coverage   91.93%   91.93%
=======================================
  Files          82       82
  Lines       12959    12959
=======================================
  Hits        11914    11914
  Misses       1045     1045

Continue to review full report at Codecov.

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


Defi motoko example

I will start working on this in the meantime.
It's a bigger example and hopefully we get more learning from it.
@lastmjs would that be ok?

Yes, if you could comment in the issue or create it and link to the example so we all know what you're working on

We should also check with @dansteren. You haven't started on this one have you?

Sorry, still getting back into the swing of github's notifications. No, I haven't started this one. You're good to go @tarek-eg.

The typescript code is in src/defi and canister name is defi
I have kept the motoko version in src/defi_dapp to help while I am porting the files to typescript and I was planning to remove it after I complete all.
The only remaining work is porting main.mo to main.ts and the tests.


save trained model with non-C++11

Hi patrikhuber,
I noticed that you used C++11 lib cereal to serialize the trained model and save it to binary file.
you use the following code to save the model:
void save_detection_model(detection_model model, std::string filename)
{
std::ofstream file(filename, std::ios::binary);
cereal::BinaryOutputArchive output_archive(file);
output_archive(model);
};
My question is:
do you have any other substitute solution that doesn't use C++11 syntax about how to save/load the model to/from files?
can you share non-C++11 code about how to save/load the model?

I am not sure Patrik Huber is here. Maybe you were trying to post this somewhere else?

sorry！
I posted the issue in the wrong git repository.


Implementation of AndOrSearch #130

For #130 ,the interfaces for And and Or Search have been defined along with the base class. However, it lacks the Unit Test Suite. A look back at the AIMA3e branch showed that Classes from the Non-deterministic vacuum world were used to model the Test Cases. Should those Classes be re-implemented here too, or should there be a more generic model?

Its nice to have tests that correspond to examples in the book so bringing over the non-deterministic vacuum world wouldn't hurt but not a requirement for the tests. Generic tests are fine too and as a baseline are likely better as they should cover more edge cases than an example based one.

@ctjoreilly I hadn't explored that feature. Re-wrote the part for it. Thanks for pointing it out. It sure saves a lot of code.

Have decided to implement in a different way due to the recent changes in the aima4e search APIs.


[Windows] Update the Packer version output

Description
Update the Packer version output.
Get rid of Packer v in Packer v1.10.0 output.
Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019, windows2022


subprocess.CalledProcessError

Hi
I tried to run the "run_sup_example.sh", but I got the following error.
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Traceback (most recent call last):
File "train.py", line 585, in
main()
File "train.py", line 399, in main
raise NotImplementedError
NotImplementedError
Traceback (most recent call last):
File "/opt/conda/envs/sim_cse/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/opt/conda/envs/sim_cse/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/conda/envs/sim_cse/lib/python3.7/site-packages/torch/distributed/launch.py", line 260, in
main()
File "/opt/conda/envs/sim_cse/lib/python3.7/site-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/opt/conda/envs/sim_cse/bin/python', '-u', 'train.py', '--local_rank=0', '--model_name_or_path', 'bert-large-uncased', '--train_file', 'data/train_sample.csv', '--output_dir', 'result/my-sup-simcse-bert-large-uncased', '--num_train_epochs', '3', '--per_device_train_batch_size', '512', '--learning_rate', '1e-5', '--max_seq_length', '64', '--evaluation_strategy', 'steps', '--metric_for_best_model', 'stsb_spearman', '--load_best_model_at_end', '--eval_steps', '125', '--pooler_type', 'cls', '--overwrite_output_dir', '--temp', '0.05', '--do_train', '--do_eval', '--fp16']' returned non-zero exit status 1.
I saw a similar issue and used the solution from there. I used a single gpu, and deleted the temporary files.
But still, the same error occurs.
My environment is pytorch version 1.7.1 as you recommended, and I installed it according to your requirements.txt file.
Please let me know if there is a way to solve it.

I have the same error just as you! If you solve this problem, share with me.


Fix for multiple instance deployment in same AWS account

Hardcoded resource names collide when more then single instance being deployed in the same AWS account

looks like TravisCI is failing - unapproving. :)

yeah, noticed that - should be fixed now

I am seeing some other places that probably need instance_name added:

https://github.com/ExpediaGroup/apiary-lifecycle/blob/master/lambda.tf#L11
check every usage of var.k8s_app_name - it defaults to beekeeper and I don't see the instance_alias being added to it.  If users of this module don't set var.k8s_app_name, multiple instances will clash.

Good catch for lambda.tf, I missed it.

Hardcoded resource names collide when more then single instance being deployed in the same AWS account

Why do we need to deploy two instances of beekeeper in same account ? Won't it cause issues with multiple instance deleting data from same location ?

@abhimanyugupta07 - same AWS account, different datalakes.  See the confluence link I will slack you for our use-case.


Error boundary

As per last frontend meeting, we should set up an error boundary for react so people don't just see blank white pages. It might be good to set up a separate error boundary for the map component? I'm not 100% sure how this all works though!

I can try to set this up, any special requirements?

Maybe offer the options of either refreshing the page or going to the homepage.

Something like this?

Great! I just think it should somehow be clearer to try refreshing first, before trying the homepage

Can we not show a stacktrace on the page at all? It's not very user friendly (even though it's hidden by default) and I rather not have it so readily available on the page. If we are concerned about losing information then we should look at setting up proper error reporting instead of this.

Good point, and it will be meaningless minified stuff in production anyway

@thdk @lucaslcode @darrenvong
Closing this because it looks done


How to deserialize events?

Sorry for asking here again but I just can't figure out how to deserialize events. Somehow every single REST endpoint has to work in a different way for Slack ..
I receive interacite messages like this:
@RequestMapping(value = "/slack/interactive-messages", method = RequestMethod.POST)
public void interactiveMessages(
        @RequestParam(name = "payload") String payload
) {
    Gson snakeCase = GsonFactory.createSnakeCase();
    BlockActionPayload blockActionPayload = snakeCase.fromJson(payload, BlockActionPayload.class);
    this.slackService.handleBlockAction(blockActionPayload);
}

I install apps like this:
@RequestMapping(value = "/slack", method = RequestMethod.GET)
public void install(
        HttpServletResponse response,
        @RequestParam(name = "code") String code,
        @RequestParam(name = "state", required = false) String state,
        @RequestParam(name = "error", required = false) String error
) {
    this.slackService.install(response, code, state, error);
}

I consume commands like this:
@RequestMapping(value = "/slack/commands", method = RequestMethod.POST)
public Object commands(
        @RequestParam(name = "command") String command,
        @RequestParam(name = "text") String text,
        @RequestParam(name = "response_url") String responseUrl,
        @RequestParam(name = "trigger_id") String triggerId,
        @RequestParam(name = "user_id") String userId,
        @RequestParam(name = "user_name") String userName,
        @RequestParam(name = "team_id") String teamId,
        @RequestParam(name = "enterprise_id", required = false) String enterpriseId,
        @RequestParam(name = "channel_id") String channelId
) {
    CommandDto commandDto = new CommandDto();
    commandDto.setCommand(command);
    commandDto.setText(text);
    commandDto.setResponseUrl(responseUrl);
    commandDto.setTriggerId(triggerId);
    commandDto.setUserId(userId);
    commandDto.setUserName(userName);
    commandDto.setTeamId(teamId);
    commandDto.setEnterpriseId(enterpriseId);
    commandDto.setChannelId(channelId);
    return this.slackService.handleCommand(commandDto);
}

But I can't figure out what to do with an event.
I am, first of all, interested in returning the challenge sent for (URL verification](https://api.slack.com/events/url_verification), and after that I want to consume app_uninstalled events. However, none of the ways.
It seems that /events is the only webhook that actually uses the HTTP protocol as it should be used and provides as JSON object in the body but how can I read this using jslack?
@RequestMapping(value = "/slack/events", method = RequestMethod.POST)
public Object events(
        @RequestBody Object raw
) {
    return null;
}

You can bind event payloads to these classes: https://github.com/seratch/jslack/tree/master/jslack-app-backend/src/main/java/com/github/seratch/jslack/app_backend/events/payload

@silentsnooc Did I answer your question? If you have more comments, let me know. Otherwise, please allow me to close this issue sometime soon.

Ah yes, I think that worked for me. I'll close that issue :)


Palo Alto DeviceVendor Variation

We are seeing the parser seems to bring in DeviceVendor as not only "Palo Alto Networks", but also "Palo Alto#012Networks".
Not sure if this is a CEF parsing issue or some other problem.

As this is not Github content related, this should be raised in the Azure support portal if it is still an issue. Thanks!

@richlilly2004 : did you found the resolution ?

This is caused by a line feed from copying and pasting the CEF formatting from the Palo Alto Docs, make sure your line feeds are not pasted in.


Guidance requested for overriding OnBackKey

I have an application with pages that leverages the WebView to render pages from server side. Naturally these web pages navigates back and forth and I need to be able to override the OnBackKey event to make sure the Frame doesn't navigate but instead lets the WebView GoBack if the BackStack of the webview allows it to.
Any suggestions?

Have you tried handling Bootstrapper.Backrequested with e.Handled = true?

Once again great support, that works just fine!!!


fix /metadata 404 response body

Was empty, now has valid JSON with { "error": "There is no file/directory at path ..."}
Note: this fixes only the request which was changed to a 404 in a recent commit. A quick search shows several other occurrences of NotFound() which we might want to address, probably in our existing "improve error messages" ticket (SD-824).

Do these changes set the content-type on the response?

@jonsterling Yes, http4s should take care of that.

LGTM. Can merge when build completes.

Current coverage is 82.11%

Merging #997 into master will increase coverage by +0.01% as of d9941db

@@            master    #997   diff @@
======================================
  Files           88      88
  Stmts         7833    7833
  Branches       252     252
  Methods          0       0
======================================
+ Hit           6431    6432     +1
  Partial          0       0
+ Missed        1402    1401     -1

Review entire Coverage Diff as of d9941db

Powered by Codecov. Updated on successful CI builds.