Error running the tests in Mac os x (Sierra)

Hello I'm getting these error when I'm running the test:
$ rspec ./spec/quality_spec.rb:210
Run options:
  include {:locations=>{"./spec/quality_spec.rb"=>[210]}}
  exclude {:rubygems_master=>true, :git=>"=< 2.8.1", :rubygems=>"=< 2.5.1", :ruby=>"=< 2.3.0", :realworld=>true, :sudo=>true}

The library itself
  does not contain any warnings (FAILED - 1)

Retried examples: 0

Failures:

  1) The library itself does not contain any warnings
     Failure/Error: s.platform = Bundler.local_platform

     NoMethodError:
       undefined method `local_platform' for Bundler:Module
     # ./spec/support/builders.rb:82:in `block (2 levels) in build_repo1'
     # ./spec/support/builders.rb:449:in `block in build_with'
     # ./spec/support/builders.rb:446:in `each'
     # ./spec/support/builders.rb:446:in `build_with'
     # ./spec/support/builders.rb:414:in `build_gem'
     # ./spec/support/builders.rb:81:in `block in build_repo1'
     # ./spec/support/builders.rb:377:in `update_repo'
     # ./spec/support/builders.rb:367:in `build_repo'
     # ./spec/support/builders.rb:19:in `build_repo1'
     # ./spec/spec_helper.rb:97:in `block (2 levels) in <top (required)>'

Finished in 0.23495 seconds (files took 0.32789 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/quality_spec.rb:210 # The library itself does not contain any warnings

Is failing this line:
https://github.com/bundler/bundler/blob/master/spec/support/builders.rb#L82
By some reason the method Bundler.local_platform is not visible for the test.
Regards!

What commit are you running on? I cannot reproduce this

Hello @segiddins I will write all the output:
╰─ git clone https://github.com/bundler/bundler.git
Cloning into 'bundler'...
remote: Counting objects: 62526, done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 62526 (delta 12), reused 0 (delta 0), pack-reused 62487
Receiving objects: 100% (62526/62526), 16.01 MiB | 1.23 MiB/s, done.
Resolving deltas: 100% (39774/39774), done.
Checking connectivity... done.
╭─ ✓  3289   …/workspace/tmp                                                                                  2.3.0    17:17:52
╰─ cd bundler
╭─ ✓  3291   …/tmp/bundler    master                                                                                  2.3.0    17:17:55
╰─ git branch
* master
╭─ ✓  3292   …/tmp/bundler    master                                                                                  2.3.0    17:18:22
╰─ rspec ./spec/quality_spec.rb:210
installing gems for the tests to use...
gem install 'rack:< 2' 'compact_index:~> 0.11.0' 'sinatra:1.2.7' 'rake:10.0.2' 'builder:2.1.2' 'bundler:1.12.0' fakeweb artifice ruby-graphviz --no-rdoc --no-ri
Fetching: rack-1.6.4.gem (100%)
Successfully installed rack-1.6.4
Fetching: compact_index-0.11.0.gem (100%)
Successfully installed compact_index-0.11.0
Fetching: tilt-1.4.1.gem (100%)
Successfully installed tilt-1.4.1
Fetching: sinatra-1.2.7.gem (100%)
Successfully installed sinatra-1.2.7
Fetching: rake-10.0.2.gem (100%)
Successfully installed rake-10.0.2
Fetching: builder-2.1.2.gem (100%)
Successfully installed builder-2.1.2
Fetching: bundler-1.12.0.gem (100%)
Successfully installed bundler-1.12.0
Fetching: fakeweb-1.3.0.gem (100%)
Successfully installed fakeweb-1.3.0
Fetching: rack-test-0.6.3.gem (100%)
Successfully installed rack-test-0.6.3
Fetching: artifice-0.6.gem (100%)
Successfully installed artifice-0.6
Fetching: ruby-graphviz-1.2.2.gem (100%)

You need to install GraphViz (http://graphviz.org/) to use this Gem.

For more information about Ruby-Graphviz :
* Doc : http://rdoc.info/projects/glejeune/Ruby-Graphviz
* Sources : http://github.com/glejeune/Ruby-Graphviz
* Mailing List : http://groups.google.com/group/ruby-graphviz

Last (important) changes :
Ruby-Graphviz no longer supports Ruby < 1.9.3

Successfully installed ruby-graphviz-1.2.2
11 gems installed
Run options:
  include {:locations=>{"./spec/quality_spec.rb"=>[210]}}
  exclude {:rubygems_master=>true, :git=>"=< 2.8.1", :rubygems=>"=< 2.5.1", :ruby=>"=< 2.3.0", :realworld=>true, :sudo=>true}

The library itself
  does not contain any warnings (FAILED - 1)

Retried examples: 0

Failures:

  1) The library itself does not contain any warnings
     Failure/Error: s.platform = Bundler.local_platform

     NoMethodError:
       undefined method `local_platform' for Bundler:Module
     # ./spec/support/builders.rb:82:in `block (2 levels) in build_repo1'
     # ./spec/support/builders.rb:449:in `block in build_with'
     # ./spec/support/builders.rb:446:in `each'
     # ./spec/support/builders.rb:446:in `build_with'
     # ./spec/support/builders.rb:414:in `build_gem'
     # ./spec/support/builders.rb:81:in `block in build_repo1'
     # ./spec/support/builders.rb:377:in `update_repo'
     # ./spec/support/builders.rb:367:in `build_repo'
     # ./spec/support/builders.rb:19:in `build_repo1'
     # ./spec/spec_helper.rb:97:in `block (2 levels) in <top (required)>'

Finished in 0.30105 seconds (files took 14.8 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/quality_spec.rb:210 # The library itself does not contain any warnings

Regards.

I got this error:
╰─ bin/rspec ./spec/quality_spec.rb:210
/Users/fox/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'automatiek' (~> 0.1.0) among 353 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/fox/.rvm/gems/ruby-2.3.0:/Users/fox/.rvm/gems/ruby-2.3.0@global', execute `gem env` for more information
        from /Users/fox/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
        from /Users/fox/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
        from bin/rspec:10:in `block in <main>'
        from bin/rspec:9:in `each'
        from bin/rspec:9:in `<main>'

Have you run bin/rake spec:deps?

Hi, it's working with:
rake spec:deps
rake spec

....

Finished in 30 minutes 14 seconds (files took 1.47 seconds to load)
2108 examples, 0 failures, 9 pending

There is a way to execute one specific test like rspec ./spec/quality_spec.rb:210?
Regards.

bin/rspec spec/quality_spec should do it

@ryanfox1985 looks like your issue is resolved?


Clear guild settings on guildDelete

Think that there should be an option called clearSettingsonGuildDelete, which allows or disallows clearing of guild settings


Using fontawesome or material icon

how to use material icons if I don't wish to use the images inside my app?

Hello. Did u find any solution?


windows: report original path if ReadDirectoryChanges InternalHigh is 0

Crappy title, my apologies.
Context: https://github.com/nodejs/node/pull/49891#issuecomment-1744673430
https://github.com/libuv/libuv/blob/c03569f0df3bb26e7e7bec9feabd9ae3c372568e/src/win/fs-event.c#L453
If InternalHigh == 0, we do this:
https://github.com/libuv/libuv/blob/c03569f0df3bb26e7e7bec9feabd9ae3c372568e/src/win/fs-event.c#L570
The NULL filename is somewhat unexpected. Thoughts on passing in handle->dirw or handle->filew?

Doesn't that already have a different meaning (that the directory changed, but none of the files inside changed). I thought this is already documented as the behavior in several cases on various OS, so I don't know if there is much of a way to change this in libuv

Somewhat to my surprise the documentation in docs/src/fs_event.rst doesn't even mention it can be NULL. It does say this:

If the handle was started with a directory the filename parameter will be a relative path to a file contained in the directory.


Get provisioning profiles out of source control

Research best practices for how to avoid committing changes to the provision profile

Closed by following steps in  https://developer.apple.com/library/ios/qa/qa1814/_index.html .. I hope?  We'll see once other devs start contributing.  Closing for now.


Change detector no longer receiving events after restarting docker on QNap

I run huginn on docker on my qnap server and had a working scenario that I used for monitoring my sauna temperature and turning on the light when it got to the proper temperature. (also sends an email and sets another lamp to a flashing mode).  And it can turn off the light when the temperature drops below 50C.
2 days ago something changed- that is when the last even reached the second agent in the chain. The first agent simply polls the temperature service and gets back something like:
{ "status": "ok", "sender": 5, "devtype": 1, "SW1": 0 , "H": 14.60 , "SW2": 1 , "T": 57.80 }
And changes it to something like:
{"temperature"=>47.8, "humidity"=>14.60, "switch_1"=>0, "switch_2"=>1}
Everything was working great, then I went to use the sauna today and the light didn't turn on.  I checked and the first agent in the graph is generating events, but the 2nd agent, a change detector, is showing it never receives events.  It shows that the first agent is the source is listens for.  I deleted that relationship and added it again just in case...and still no event propagate to it.  I see the first event running on its 2 minute schedule and the results are being successfully parsed, but I just see...
RESULT 109
processname:foreman groupname:foreman pid:419 channel:stdout
20:05:54 jobs.1 | Queuing schedule for every_1m
READY
RESULT 105
processname:foreman groupname:foreman pid:419 channel:stdout
20:05:54 jobs.1 | Queuing event propagation
READY
RESULT 109
processname:foreman groupname:foreman pid:419 channel:stdout
20:06:51 jobs.1 | Queuing schedule for every_2m
READY
RESULT 109
processname:foreman groupname:foreman pid:419 channel:stdout
20:06:54 jobs.1 | Queuing schedule for every_1m
READY
RESULT 105
processname:foreman groupname:foreman pid:419 channel:stdout
20:06:54 jobs.1 | Queuing event propagation
READY
RESULT 140
processname:foreman groupname:foreman pid:419 channel:stdout
20:07:00 jobs.1 | Agent#10: Fetching http://<IP_ADDRESS>:3128/lightgw/5/status
READY
RESULT 118
processname:foreman groupname:foreman pid:419 channel:stdout
20:07:00 jobs.1 | Agent#10: Extracting json at T: [43.5]
READY
RESULT 118
processname:foreman groupname:foreman pid:419 channel:stdout
20:07:00 jobs.1 | Agent#10: Extracting json at H: [18.4]
READY
RESULT 117
processname:foreman groupname:foreman pid:419 channel:stdout
20:07:00 jobs.1 | Agent#10: Extracting json at SW1: [0]
READY
RESULT 117
processname:foreman groupname:foreman pid:419 channel:stdout
20:07:00 jobs.1 | Agent#10: Extracting json at SW2: [1]
READY
RESULT 217
processname:foreman groupname:foreman pid:419 channel:stdout
20:07:01 jobs.1 | Agent#10: Storing new parsed result for 'Sauna Temperature Reader': {"temperature"=>43.5, "humidity"=>18.4, "switch_1"=>0, "switch_2"=>1}
READY
There is never any indication that the change detector is being executed.  I clear its memory and the value is never being set.
Do I have a data corruption issue in my database?  I've changed nothing, I just rebooted the NAS and according to the "last input" date, this failed before that reboot.  Everything else on it seems to be working.  I have the mysql folder on a map to the host, as well as /etc/localtime.  I see in the app/log/ that the selects are occurring, but it just doesn't seem to be propagating.  Is there an easy way to clear the MySQL tables and reload the scenario?
notify-me-when-sauna-heats-up.txt

Hey @okachobi. Fun use case! So you did see this working correctly for a while, and then it stopped, without any changes on your part? Is there anything in the log tab when viewing the individual website or change detector agents?

Yes, this has worked for many weeks over the summer and to my knowledge, nothing had changed.  I did have to restart the arduino that ran the temperature sensor- it was not responding to the 433hz radio network, so my web gateway was returning 500 errors.  But  after I did that, I started seeing the events in the first agent that reads the http request, but they did not get routed to the change detector agent.
Oddly, just now I went to test again to look at the log tab, and the events are now propagating properly.  So I'm confused why they weren't before....but it appears to be working now.  So it has corrected itself.  I'm not sure what the problem was before.
btw- the code for the arduino/jeenode network and http gateway is here

Please let us know if it happens again.


Events don't update in the calendar view if you assign a new object reference to the passed event array

This is caused by:
https://github.com/mattlewis92/angular-bootstrap-calendar/blob/master/src/directives/mwlCalendar.js#L82
https://github.com/mattlewis92/angular-bootstrap-calendar/blob/master/src/directives/mwlCalendarMonth.js#L15
$broadcast is a synchronous operation so the property vm.events hasn't been updated yet since the $digest cycle hasn't finished.
I'll submit a pull request with the fix shortly.

Wrapping it in a $timeout should be enough, unless you can think of a cleaner way?

I have actually I just haven't had time to do the PR.

I'll do it now :)


[Bug] Crash in select component when no items added

Looks like there could be better handling when the list is empty (which can easily happen when populated from a db etc.). Maybe even a default (but customizable) "There are no items available" text. This was with an empty list and pressing <enter>.

EDIT: This also shows up with other interactions, such as up/down arrows:

I think the biggest crux here is simply defining what the default behavior should be for empty-lists... i.e. should zero-lists panic already in interact() (with a proper error message) and force consumers to length-check before trying to show an empty list?

Leaning towards panic in interact() with some documentation on select regarding behavior when the list is empty. It's too hard (for a framework) to know the intent of the consumer if a list should be empty and how that should be presented (if at all) to the user.

@cylewitruk It probably makes sense to add panic at the beginning of the interact() method because the select without items is not supposed to exist.

@cylewitruk There was an error enum, however, it was reduced at the early stage because it contained std::io errors only. Custom error kind can be returned anyways.

@cylewitruk  PR #37  https://github.com/fadeevab/cliclack/pull/37/files

@cylewitruk Fixed in v0.2.5. Thanks!


Fix default PMI on Cray OFI

#3626 ordered the check to default to simplepmi before the check for using slurmpmi2 on Cray OFI platforms, meaning that simplepmi was used by default on those platforms rather than slurmpmi2. Instead, do the check for Cray platforms first, and only use the simplepmi default if that fails.

Hi All,
May I please request an update on this?
Thanks!


typo: Double word "same"

@nschonni : Thanks for your contribution! The author, @KathrynEE, has been notified to review your proposed change.


How to use plugin in angular 12

Summary
How to set plugins in the ES6 module? I tried the following import
import {Editor} from "@toast-ui/editor";
const { chart, codeSyntaxHighlight, colorSyntax, tableMergedCell, uml } = Editor.plugin;

as demonstrated in the example tutorial-example12-editor-with-all-plugins
But it is giving an error
TS2339: Property 'plugin' does not exist on type 'typeof Editor'.

Screenshots
If applicable, add screenshots to help explain your question.
Version
3.0.2
Additional context
Add any other context about the problem here.

@anuj9196
The below links are helpful to you.

https://github.com/nhn/tui.editor/tree/master/plugins/chart
https://github.com/nhn/tui.editor/tree/master/plugins/code-syntax-highlight
https://github.com/nhn/tui.editor/tree/master/plugins/color-syntax
https://github.com/nhn/tui.editor/tree/master/plugins/table-merged-cell
https://github.com/nhn/tui.editor/tree/master/plugins/uml

@anuj9196
Oh, I didn't update the page example in https://ui.toast.com/tui-editor.
That example is based on version 2.x.
You can check the latest demo(3.0) here.

Hi @js87zz , the import for table merged cell
import colorSyntax from '@toast-ui/editor-plugin-color-syntax';

is giving error
TS1192: Module '"/.../node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index"' has no default export.

Please give me the detailed information about the error.
It's good to have a reproducible repository or code sandbox.
It is difficult for me to know the details of the issue with.

Please check if the screenshot is of any help.

@anuj9196
The type definition is missing.
I will fix it and let you know when it is released. Before that, you can solve the issue using @ts-ignore

@js87zz Thanks for the suggestion. After adding ts-ignore, it gave an error to install @toast-ui/toastmark.
After installing @toast-ui/toastmark, it is now giving the following error
Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:2:51 - error TS7016: Could not find a declaration file for module '@toast-ui/toastmark'. <EMAIL_ADDRESS>implicitly has an 'any' type.
  Try `npm i --save-dev @types/toast-ui__toastmark` if it exists or add a new declaration (.d.ts) file containing `declare module '@toast-ui/toastmark';`

2 import type { TableCellMdNode, TableMdNode } from '@toast-ui/toastmark';
                                                    ~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:6:35 - error TS2304: Cannot find name 'MdNode'.

6 interface TableBodyMdNode extends MdNode {
                                    ~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:10:35 - error TS2304: Cannot find name 'MdNode'.

10 interface TableHeadMdNode extends MdNode {
                                     ~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:19:47 - error TS2304: Cannot find name 'MdNode'.

19 export interface MergedTableRowMdNode extends MdNode {
                                                 ~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:20:15 - error TS2304: Cannot find name 'MergedTableCell'.

20   firstChild: MergedTableCell | null;
                 ~~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:21:14 - error TS2304: Cannot find name 'MergedTableCell'.

21   lastChild: MergedTableCell | null;
                ~~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:23:9 - error TS2304: Cannot find name 'MergedTableRow'.

23   prev: MergedTableRow | null;
           ~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:24:9 - error TS2304: Cannot find name 'MergedTableRow'.

24   next: MergedTableRow | null;
           ~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:29:9 - error TS2304: Cannot find name 'MergedTableCell'.

29   prev: MergedTableCell | null;
           ~~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:30:9 - error TS2304: Cannot find name 'MergedTableCell'.

30   next: MergedTableCell | null;
           ~~~~~~~~~~~~~~~

Error: node_modules/@toast-ui/editor-plugin-table-merged-cell/types/index.d.ts:31:11 - error TS2304: Cannot find name 'MergedTableRow'.

31   parent: MergedTableRow;


feat: removes stray todo comments from base_bootstrap

This PR removes some stray todo comments from base_bootstrap

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.09%. Comparing base (5d53806) to head (00a28e8).
Report is 46 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   84.77%   88.09%   +3.32%
==========================================
  Files          17       31      +14
  Lines        2607     2764     +157
==========================================
+ Hits         2210     2435     +225
+ Misses        397      329      -68

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


scpdb included as LigandMolGen

How to use?
from tdc.generation import LigandMolGen
data = LigandMolGen(name = 'SCPDB')
split = data.get_split()


[debug] "Call Stack" viewlet shows terminated threads.

VSCode Version: 1.35.1 (also tried current 1.36.0-insider)
OS Version: Ubuntu 18.04

VSCode's call stack view seems to show all threads that ever existed, not just the ones returned by latest threads request.
Repro:

Build and run mock-debug extension from this branch: https://github.com/vadimcn/vscode-mock-debug/tree/repro-75980
Open the debuggee folder and start test configuration.
Expand all threads in the thread list and start stepping line by line.   After each step the adapter will reduce the number of active threads by one.   stackTrace requests for invalid thread ids will be failed.  By line 5, there will be only one thread remaining, yet VSCode tries to display all 5.

@isidorn make sure that only the threads returned by the last thread request (plus additional threads coming reported via the "thread" event) are shown.

@vadimcn thanks for the nice repo steps.
I have changed that we now always respect the threads request as the absolute truth. So if a thread is not returned as part of the threads response we will delete it.
I have created a PR which tackles this and I will merge this PR in next week since now we are in endgame and I would like to get more insiders coverage so we catch potential extensions which might rely on the current bugy behavior.


SWARM-1533 - Swarm fails to create if path to .m2/repository has spaces

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you created a JIRA and used it in the commit message?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

test this please

thanks @nelsongraca !

@heiko-braun Thank you for accepting it.


Fix: TypeError localWebsocket.destroy is not a function

Replace .destroy() on faye-websockets with .close()
Added interface to give faye same types as compliant ws with additional pipe() implementation
resolves #463

This looks fine, but I'd like to test this locally myself before landing it. Just want to be sure since I'd broken it haha.

I wonder why we use Faye rather than WS anyway?
On Wed, 16 Feb 2022 at 08:45, Sunil Pai @.***> wrote:

This looks fine, but I'd like to test this locally myself before landing
it. Just want to be sure since I'd broken it haha.
—
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/wrangler2/pull/472#issuecomment-1041248565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAD2JYIZAEBOKSLKC36NITU3NPZNANCNFSM5OPYCMMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I can't recollect what @Electroid had mentioned...

noob question - how do I trigger this code path? On my machine it always goes down the http2 codepath.
I tried with workers-chat-demo and I realised that wrangler dev doesn't work well with it btw. I'm adding it to our codebase in https://github.com/cloudflare/wrangler2/pull/475 so we can file issues separately and get that to work.

I wonder why we use Faye rather than WS anyway?
…
On Wed, 16 Feb 2022 at 08:45, Sunil Pai @.> wrote: This looks fine, but I'd like to test this locally myself before landing it. Just want to be sure since I'd broken it haha. — Reply to this email directly, view it on GitHub <#472 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAD2JYIZAEBOKSLKC36NITU3NPZNANCNFSM5OPYCMMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

@petebacondarwin Not sure if this is more context but I found this breakdown by the Faye author of some of its benefits and usages https://stackoverflow.com/a/4897267/8367146

@Electroid can you try the prerelease version url here and see if it fixes the crash you were seeing?

I wonder why we use Faye rather than WS anyway?
…
On Wed, 16 Feb 2022 at 08:45, Sunil Pai @.> wrote: This looks fine, but I'd like to test this locally myself before landing it. Just want to be sure since I'd broken it haha. — Reply to this email directly, view it on GitHub <#472 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAD2JYIZAEBOKSLKC36NITU3NPZNANCNFSM5OPYCMMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

From what I remeber, faye had an easy way to proxy the WebSocket whereas ws did not. But if we can figure it out, then we could use ws.

I can't reproduce the error, so I think this fix worked.


Document maintenance scope

Pull request type

Documentation content changes

What is the current behavior?

Issue Number: #277 - the scope of maintenance work isn't centrally documented.
What is the new behavior?

Fix #277
Add a "landing page" for the maintenance section that details all tasks and links through the relevant sections.

Does this introduce a breaking change?

No
Other information

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added or the PR is neither a bug fix nor a feature
[x] Docs have been reviewed and added / updated if needed or the PR is neither a bug fix nor a feature
[x] The Unreleased section in CHANGELOG.md has been amended to reflect the changes in this PR if needed
[x] Build (mvn verify) was run locally and any changes were pushed
[x] The pull request is against the correct branch (master for bug fixes, develop for new functionality)
[x] Dependencies and citation templates have been updated where necessary or there are no new dependencies

Checklist for maintainers
Releases

Do NOT push the green merge button on GitHub.
Follow the latest version of the developer/maintainer docs for making releases.
Check that license and citation information for dependencies are complete (each dependency has a folder in /THIRD-PARTY/).

Based on discussion in #277 I reduced maintenance scope to exclude code smells & removed duplicates.


pool-wizard: extending a pool with only cru (leave the sru empty) fails with "something went wrong message"

this one also is outdated. all fields are required


Security Upgrade: docker-client

Incorporating recent security upgrades from docker-client:

Bouncy Castle Cryptography APIs 1.52 (Mar 2015) -> 1.59 (Jan 2018)
FasterXML Jackson 2.8.8 (Apr 2017) -> 2.9.4 (Jan 2018)

Upgrade of Guava is required by the Maven Enforcer (rule Require Upper Bound Dependencies).

Thanks for merging the changes.
Would it be possible to release a new version? We cannot use snapshots...

@nemochovsky Thanks for reminding. Releasing 1.4.0 now.


Nginx is starting, bug don't listen

Hey Guys,
Im disapointed, your boilerplate looks awesome.
But I can't get it working.
after an failed attempt with all your repository, I tried only with nginx.conf and boilerplate/
nginx is starting
But when I do : netstat -plunt
No nginx listed :( .. it looks not listen anything :§
Im on fresh debian 8 installation.
Thanks for your contribution btw, awesome idea.

Huum, maybe I found something :
I added 	include /etc/nginx/sites-enabled/;
instead of
include sites-enabled/;
and working fine :)

include expects a file path/mask as an argument. Looks like you are including the path. I don't see how this could work.
You should be having sites-enabled/*.conf; in your nginx.conf.

I mean, with you basic config
I replaced  sites-enabled/*.conf; by /etc/nginx/sites-enabled/*;
and works now :)
I assume * was replaced on my previous post

Btw, into Response Header,
I can see :
Server:nginx its not normal ? Show be hidden by token off ?

Oh, ok. Maybe you forgot to add the .conf extention to your files. Or permission issue.

its not normal ? Should be hidden by token off ?
What server_tokens off does is it hides the version from that header, not removes it. Also from the nginx error pages.

If you're so inclined to affect it, you can only replace it with something else from php.
Something like:
header('Server: Toster');


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN i visit the website in my browser
THEN I see four boxes titled HTML, CSS, GIT and Javascript with associated notes listed

finished


Switching optimization methods with same model

using JuMP
using CPLEX

m = Model(solver=CplexSolver())
@variable(m, x[1:2] >= 0, upperbound = 4)
@variable(m, y[1:2], Bin)

@constraint(m, con[i=1:2], x[i] <= 4y[i])
@constraint(m, y[1] + y[2] == 1)
@objective(m, Max, x[1] + x[2])

solve(m)
solve(m, relaxation=true)

gives
CPLEX Error 1017: Not available for mixed-integer problems.

Ref https://github.com/JuliaOpt/JuMP.jl/issues/967

cc @bbrunaud

https://github.com/JuliaOpt/CPLEX.jl/pull/111 just needs a new tag

Feel free to tag
On Feb 17, 2017 20:31, "Oscar Dowson"<EMAIL_ADDRESS>wrote:

#111 https://github.com/JuliaOpt/CPLEX.jl/pull/111 just needs a new tag
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaOpt/CPLEX.jl/issues/112#issuecomment-280810221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABp0M_jq2gxQWBFtRR2X6N6uZn5oIlR_ks5rdkndgaJpZM4ME7ER
.


feat(blog): add Camunda Modeler v4.0.0-alpha.2 blog post

Related to https://github.com/camunda/camunda-modeler/issues/1776

What I'd do is to align it with the final version of the dmn-js blog post that @nikku merged yesterday.

Done.


add snapping to floating windows

Describe your PR, what does it fix/add?
While moving and resizing floating windows, edges and corners will snap to the edges/corners of the monitor or other windows when they get close enough to each other.
It started as an update to @shadowmax31 's PR #3236 , but was eventually changed to behave more similarly to KWin's snapping feature.
It comes with 3 options:
general:snap:enabled - whether it's enabled, off by default
general:snap:window_gap - minimum gap in pixels between windows before snapping. Setting to 0 effectively turns off this method of snapping.
general:snap:monitor_gap - minimum gap in pixels between window and monitor edges before snapping. Again, setting it to 0 effectively turns it off.
Here's a video of it with these settings:
general:snap {
    enabled = true
    window_gap = 25 # pixels
    monitor_gap = 10 # pixels
}

https://github.com/user-attachments/assets/8245a2bf-ff50-4722-b267-e20dfa77c519
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Not that I can think of.
Is it ready for merging, or does it need work?
Ready to merge.

tag me for review when ready


Happy kiosk

Preliminary test plan - Awaiting final models, and will revisit after:

[x] Get spreadsheet url from Milad and go to it to observe

[x] Try to mouse click / use the kiosk from far away and make sure nothing happens

[x] Walk close to kiosk

[x] Does it change from Available to Occupied?

[x] Push one of the buttons

[x] Does the button go down?

[x] Does it report on the spreadsheet your un and rating and does it go on the correct sheet?

[x] Does it tell you thank you by hovering over the current button afterwards?

[x] Can you only push one button down at a time?

[x] Do all the buttons report the rating correctly like above?

[x] Get another person to be in the zone with you

[x] If you are in there first, what happens when they try to use it?  (it shouldn't work)

Just adding a comment to track progress,
Went through the above test cases on the whitebox version of this tool, everything looked good functionally, gave Milad some qualitative feedback around usability and what not. looking forward to looking at version 2.

@AndySeattle, you can continue testing on the version in my office now

Please, @MiladNazeri re-add QA Ready tag when new assets are in place and you're ready for a pass on this. -Andy

besides that weird caching issue; looks good to me, even after we let it bake for a few days. Let me know the fog bug for the caching issue and i will update if i see anything else in the future.


Error when training model

Describe the bug
Failing to convert data to tfrecord
To Reproduce
Steps to reproduce the behavior:

Uploaded the sessions
Divided into training and testing
Started model training

Expected behavior
Initialization of model training
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser : Any

Additional context
conda_output_log.txt
Oops! Image D:/T-Works cannot be found.
TFRecord file created successfully.
broadcast message Loading data from tfrecord...
Number of training instances:  0
Number of test instances:  0
broadcast failed
Exception in callback _chain_future.._set_state(<Future pendi...tures.py:384]>, <Future at 0x...StopIteration>) at D:\mssha\Apps\Anaconda\envs\openbot\lib\asyncio\futures.py:378
handle: <Handle _chain_future.._set_state(<Future pendi...tures.py:384]>, <Future at 0x...StopIteration>) at D:\mssha\Apps\Anaconda\envs\openbot\lib\asyncio\futures.py:378>
Traceback (most recent call last):
File "D:\mssha\Apps\Anaconda\envs\openbot\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\mssha\Apps\Anaconda\envs\openbot\lib\asyncio\futures.py", line 380, in _set_state
_copy_future_state(other, future)
File "D:\mssha\Apps\Anaconda\envs\openbot\lib\asyncio\futures.py", line 356, in _copy_future_state
dest.set_exception(_convert_future_exc(exception))
TypeError: StopIteration interacts badly with generators and cannot be raised into a Future

Running in C Drive now. TF Record files are getting created but another error at the next step.

TFRecord file created successfully.
broadcast message Loading data from tfrecord...
Image shape:  (96, 256, 3)
Command:  0.0
Label:  [0.23529412 0.23529412]
Number of training instances:  28238
Number of test instances:  8671
broadcast preview None
broadcast failed [Errno 2] No such file or directory: 'C:\Users\mssha\OpenBot\policy\models\openbot_cil_mobile_lr0.0003_bz128_bn\model.png'
Future exception was never retrieved
future: <Future finished exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
File "D:\Anaconda\envs\openbot\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\mssha\OpenBot\policy\openbot\server\api.py", line 211, in train
raise e
File "C:\Users\mssha\OpenBot\policy\openbot\server\api.py", line 205, in train
tr = start_train(params, my_callback)
File "C:\Users\mssha\OpenBot\policy\openbot\train.py", line 624, in start_train
do_training(tr, callback, verbose)
File "C:\Users\mssha\OpenBot\policy\openbot\train.py", line 437, in do_training
tf.keras.utils.plot_model(model, to_file=dot_img_file, show_shapes=True)
File "D:\Anaconda\envs\openbot\lib\site-packages\keras\utils\vis_utils.py", line 440, in plot_model
dot.write(to_file, format=extension)
File "D:\Anaconda\envs\openbot\lib\site-packages\pydot\core.py", line 1663, in write
with io.open(path, mode="wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\mssha\OpenBot\policy\models\openbot_cil_mobile_lr0.0003_bz128_bn\model.png'
Unregistering...
unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-3' coro=<_run_app() done, defined at D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web.py:287> exception=NameError("name 'info' is not defined")>
Traceback (most recent call last):
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web.py", line 429, in _run_app
await asyncio.sleep(delay)
File "D:\Anaconda\envs\openbot\lib\asyncio\tasks.py", line 652, in sleep
return await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web.py", line 431, in _run_app
await runner.cleanup()
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web_runner.py", line 293, in cleanup
await site.stop()
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web_runner.py", line 76, in stop
await self._runner.shutdown()
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web_runner.py", line 369, in shutdown
await self._app.shutdown()
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\web_app.py", line 423, in shutdown
await self.on_shutdown.send(self)
File "D:\Anaconda\envs\openbot\lib\site-packages\aiohttp\signals.py", line 34, in send
await receiver(*args, **kwargs)  # type: ignore
File "C:\Users\mssha\OpenBot\policy\openbot\server\zeroconf.py", line 70, in on_shutdown
await do_close(zc)
File "C:\Users\mssha\OpenBot\policy\openbot\server\zeroconf.py", line 64, in do_close
await zc.unregister_service(info)
NameError: name 'info' is not defined


aiohttp: Add support to cookies and multiple headers with same key

Codecov Report

Merging #531 into master will decrease coverage by 0.23%.
The diff coverage is 93.97%.

@@            Coverage Diff             @@
##           master     #531      +/-   ##
==========================================
- Coverage   89.41%   89.17%   -0.24%
==========================================
  Files          24       24
  Lines        1549     1552       +3
  Branches      216      215       -1
==========================================
- Hits         1385     1384       -1
- Misses        135      138       +3
- Partials       29       30       +1

Impacted Files
Coverage Δ

vcr/stubs/boto3_stubs.py
56.25% <0.00%> (+0.69%)
:arrow_up:

vcr/stubs/tornado_stubs.py
0.00% <0.00%> (ø)

vcr/filters.py
93.61% <66.66%> (ø)

vcr/stubs/aiohttp_stubs/__init__.py
97.50% <95.00%> (-1.39%)
:arrow_down:

vcr/cassette.py
96.17% <100.00%> (-1.00%)
:arrow_down:

vcr/config.py
94.96% <100.00%> (-0.10%)
:arrow_down:

vcr/errors.py
100.00% <100.00%> (ø)

vcr/matchers.py
96.05% <100.00%> (+0.05%)
:arrow_up:

vcr/patch.py
84.71% <100.00%> (+0.41%)
:arrow_up:

vcr/persisters/filesystem.py
100.00% <100.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


[CT-3141] [Regression] 'BaseResult' object has no attribute 'node'

Is this a regression in a recent version of dbt-core?

[X] I believe this is a regression in dbt-core functionality
[X] I have searched the existing issues, and I could not find an existing issue for this regression

Current Behavior
Hi,
I recently upgraded to dbt core 1.5.3 and dbt snowflake 1.5.2 and I started receiving a python error using exceptions.raise_compile_error in a on-run-start hook macro. Everything was working fine before the upgrade (using 1.3.1 version).
I found another issue #6796 written on this topic in January this year and at that time it was said that the bug will be fixed with the new 1.4.x version. However the same bug is still present in the newer versions of dbt.
Expected/Previous Behavior
This setup worked before. If a single row was returned by the query, an error would be raised and dbt run would not start at all.
Steps To Reproduce
In macros folder, create an export_table_check.sql file with the following content (change table name and column name based on your own table in sf).
{% macro export_table_check() %}

{% set table = '12_exported_records' %}

{% set query %}
    SELECT column_name
    FROM {{ref(table)}}
    LIMIT 1
{% endset %}

{%- if flags.WHICH in ('run', 'build') -%}
    {% set results = run_query(query) %}
    {% if execute %}
        {%- if results.rows -%}
            {{ exceptions.raise_compiler_error("ON_RUN_START_CHECK_NOT_PASSED: Data already exported. DBT Run aborted.") }}
        {% else -%}
            {{ log("No data found in " ~ table ~ " for current day and runtime region. Proceeding...", true) }}
        {%- endif -%}
    {%- endif -%}
{%- endif -%}
{% endmacro %}

In dbt_project:
on-run-start:
    - "{{ export_table_check() }}"

Relevant log output
07:32:46  Finished running 60 incremental models, 30 view models, 2 hooks in 0 hours 1 minutes and 15.57 seconds (75.57s).
07:32:47
07:32:47  Completed with 2 errors and 0 warnings:
07:32:47
07:32:47  on-run-start failed, error:
07:32:47   Previous run did not finish successfully. Abort the process.
07:32:47
07:32:47  on-run-end failed, error:
07:32:47   'dbt.contracts.results.BaseResult object' has no attribute 'node'
07:32:47
07:32:47  Done. PASS=90 WARN=0 ERROR=2 SKIP=0 TOTAL=92

Environment
- Python: 3.10.5
- dbt (working version): 1.3.1
- dbt (regression version): 1.5.3

Which database adapter are you using with dbt?
snowflake
Additional Context
No response

@katarinagacnik Thanks for opening!
From the information you've provided, it looks like two things are going on.
Since upgrading, the error being raised in the on-run-start hook is no longer preventing subsequent models from running. This is a known behavior change, although I ended up calling it an enhancement rather than a regression because it had never been officially documented or guaranteed behavior: https://github.com/dbt-labs/dbt-core/issues/7045 → https://github.com/dbt-labs/dbt-core/issues/7387
The actual error you're seeing ('BaseResult' object has no attribute 'node') is in the on-run-end hook. I'm not sure what's being called in that hook - could you share that as well, so we can figure out what the issue there is?
Otherwise, I'm inclined to close this as a duplicate of the issues I linked above. I agree that we should try to restore this behavior, to enable this sort of "pre-flight" check via an on-run-start hook.

Hi @jtcohen6,
thank you for responsing to my issue!
Maybe my output is not very descriptive - sorry about that. But by your answer I see you got the problem I am dealing with.
Macro in the prehook was doing some process validation (checking if the previous run is still running or if it ended with an error) and in a case of a problem immediately stopped the run therefore making sure that concurrent runs (even from different users) were not possible.
It was used in a simillar way as throw/raise error or exit() does in some other programming languages.
Now since this behavior changed, we lost the ability to forcefully end the run.
Do you have any alternative solutions for this? How could we force exit() dbt run automatically when certain conditions are met?
Thanks in advance!

@katarinagacnik thanks for that info!
Based on that, I'm going to close this as a duplicate of #7387, and I copied your last two questions over to the comment threads there.
Just let me know if you think this issue is unique from #7387 and we can consider re-opening this.


Car Goes Crazy

Hello!
I am currently working on a self driving car project with the drive-sdk!
Unfortunately, if the car leaves the track at all, it tends to go crazy (it seems to be searching for the track), would it be possible to change this/would could it be possible to get a hint as to where in the code this would be located?
I appreciate the help!

Also, there was a stack overflow (according to valgrind) occurring in vehicle_cmd.c: get_turn_type_by_name so I fixed it locally. Now the turn command no longer crashes the vehicle-tool. Let me know if you would like the fix :)

Hello, I get the same trouble, How to solve this problem?
Thank you for the help!

A work around is to note the car's outputs when it is off the track. I am working on this from Python so whenever it cannot detect a track piece, it throws a Key Error in a specific function of mine which checks for position, in which case I tell the car to stop moving as well as printing a message in the console.


[jamba] Quantizing should exclude mamba layers

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
As mentioned in the docs, when quantizing jamba, it is recommended to exclude the "mamba" layer.

You can easily quantize the model to 8-bit using bitsandbytes. In order to not degrade model quality, we recommend to exclude the Mamba blocks from the quantization:

from transformers import AutoModelForCausalLM, BitsAndBytesConfig
quantization_config = BitsAndBytesConfig(load_in_8bit=True,
                                         llm_int8_skip_modules=["mamba"])
model = AutoModelForCausalLM.from_pretrained("ai21labs/Jamba-v0.1",
                                             trust_remote_code=True,
                                             torch_dtype=torch.bfloat16,
                                             attn_implementation="flash_attention_2",
                                             quantization_config=quantization_config)

Current behaviour
The entire model is automatically quantized.
Steps to reproduce
...
Config yaml
No response
Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10
axolotl branch-commit
main
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Hey, thanks for reporting. Would you be interested in making a PR for this?

thanks for getting to it before me @NanoCode012 :pray:


Allow using a cookie as a transport for the token

A new configuration 'JWT_AUTH_COOKIE' has been added. If it set
to None (the default), everything works the same.
It can be set to a string to use as the name of the cookie that
can be used to carry the token. Note the 'Authorization' header is
still accepted as the primary method, but it falls back to the
designated cookie if present.
When a token is requested and 'JWT_AUTH_COOKIE' is set, the response
will set the given cookie with the token string.
Fix #120

Any plans for this to be included in a release?

@jpadilla ^ ?

I'm personally against including this, as storing a JWT in a cookie kind of defeats the point of using a JWT. It's usually an either-or situation, JWT's get around some of the limitations of cookies.

@orf Heh, re-reading issue #120 I see on April last year you seemed to have a clear use case for this (similar-ish to mine). If this were a largely invasive PR I think it'd make more sense to have it as a separate package, but I don't think we want to end up as the nodejs community with 3 line packages, do we? ;)

That's a good point, I forgot about that! We worked around that issue, but I guess the use case is valid in some cases. @jpadilla what do you think?

Thanks for bumping this and the reminder. After reading through #120 I think we can just merge this in.
@moises-silva thanks for putting this together. The only thing we're probably missing here are a few tests to avoid breaking support in the future.
As a quick note, anyone that wants to step up and help out with maintenance will be greatly appreciated.

@jpadilla Thanks, I'll see if I can put some tests together next week and submit a new PR for those.

@moises-silva sounds good, will merge this now, thanks again!

Awesome! thanks @jpadilla

Just released this under v1.10. Thank you all!


Extra Note on Tools enhancements\Management Studio

It seems to be an extra note, as it appears three notes later with a similar requirement to install .NET 4.6.1 as a pre-requisite.
I assume the right requirement is 4.6.1 and not 4.6 according to the download page.
I removed the extra note.

@uriklil : Thanks for your contribution! The author, @CarlRabeler, has been notified to review your proposed change.

@stevestein please review

Please review – I think this is in your area.
Carl
From: Kristine Toliver<EMAIL_ADDRESS>Sent: Tuesday, December 11, 2018 8:44 AM
To: MicrosoftDocs/sql-docs<EMAIL_ADDRESS>Cc: Carl Rabeler<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/sql-docs] Extra Note on Tools enhancements\Management Studio (#1411)
Assigned #1411https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fsql-docs%2Fpull%2F1411&data=02|01|Carl.Rabeler%40microsoft.com|653f5ec11a2a4b958f0e08d65f87e8ef|72f988bf86f141af91ab2d7cd011db47|1|0|636801434672767431&sdata=CiRQ%2BJ6GqXDK%2BspMDauzIYihNWGvR0Gy55SS8fGB0Zk%3D&reserved=0 to @CarlRabelerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCarlRabeler&data=02|01|Carl.Rabeler%40microsoft.com|653f5ec11a2a4b958f0e08d65f87e8ef|72f988bf86f141af91ab2d7cd011db47|1|0|636801434672777444&sdata=4rRliJL%2BOzuXLVmrd8vq5T%2B6rV4p9c6cQsV4ekFJ9Xo%3D&reserved=0.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fsql-docs%2Fpull%2F1411%23event-2019243485&data=02|01|Carl.Rabeler%40microsoft.com|653f5ec11a2a4b958f0e08d65f87e8ef|72f988bf86f141af91ab2d7cd011db47|1|0|636801434672777444&sdata=UwzqxxbkXHLuqHIgiVDJ4XbPBRdWQ%2Bp8h3Q2WUc4GCQ%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBnzRQvfRSNPXWp4O7cj0GiG6WB1GTks5u3-DogaJpZM4ZNtCE&data=02|01|Carl.Rabeler%40microsoft.com|653f5ec11a2a4b958f0e08d65f87e8ef|72f988bf86f141af91ab2d7cd011db47|1|0|636801434672787456&sdata=Qpew%2FPTM1ck3qPHLjSGYbEdpagSg0Uk%2BSORYQFeEcio%3D&reserved=0.

@stevestein : Thanks for your contribution! The author, @CarlRabeler, has been notified to review your proposed change.

@uriklil - thanks for catching this and making the update. I just removed the other .NET pre-req statement because this is simply installed with SSMS if needed. No action is required during install so there's no reason to mention it.

#sign-off

@stevestein: I'm sorry - only the author of this article, @CarlRabeler, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@CarlRabeler - can you sign off?  Thanks!

@stevestein @craigg-msft why am I listed as the author of this page?


Uploading Screenshots

How can I upload screenshots using the api ? I'm able to change the store listing but not able to upload the screenshots.

$service = new Google_Service_AndroidPublisher($client);
$service->edits_images->upload(...)

https://developers.google.com/android-publisher/api-ref/edits/images/upload
https://github.com/google/google-api-php-client#examples

Thanks @mattwhisenhunt , it worked!


slice bounds out of range

When the VERSION file does not end in \n and is bumped from version x.x.9 to x.x.10 an exception occurs. I don't know if VERSION files without a newline are considered valid for your program, but one of my  deployment scripts recently generated such a file and i came across this error.
Steps to reproduce:
$ echo -n "0.2.9" > VERSION
$ docker run --rm -v "$PWD":/app treeder/bump:latest patch
Old version: 0.2.9
New version: 0.2.10
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.bump(0xc42006e160, 0x0, 0x0)
        /go/src/github.com/treeder/dockers/bump/bump.go:98 +0x995
github.com/treeder/dockers/bump/vendor/github.com/urfave/cli.HandleAction(0x5549c0, 0x58def8, 0xc42006e160, 0x0, 0x0)
        /go/src/github.com/treeder/dockers/bump/vendor/github.com/urfave/cli/app.go:490 +0xd2
github.com/treeder/dockers/bump/vendor/github.com/urfave/cli.(*App).Run(0xc4200604e0, 0xc42000a080, 0x2, 0x2, 0x0, 0x0)
        /go/src/github.com/treeder/dockers/bump/vendor/github.com/urfave/cli/app.go:264 +0x635
main.main()
        /go/src/github.com/treeder/dockers/bump/bump.go:41 +0x3a7

Can you be sure to try the latest treeder/bump?  This should have been fixed a bit ago.

Yes i am on the latest version. I think the difference to https://github.com/treeder/dockers/issues/3 is that there is no newline at the end of the file (echo -n)
$ docker pull treeder/bump
Using default tag: latest
latest: Pulling from treeder/bump
ff3a5c916c92: Pull complete
b9286ac91003: Pull complete
744b00d397dd: Pull complete
e7a5c1a486a9: Pull complete
Digest: sha256:03f11895950762617b89bf799759a1efabbbbc16cf9764c1f221e1512b442a90
Status: Downloaded newer image for treeder/bump:latest
$ echo -n "0.2.9" > VERSION
$ docker run --rm -it -v $PWD:/app -w /app treeder/bump patch
Old version: 0.2.9
New version: 0.2.10
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.bump(0xc420094160, 0x0, 0x0)
        /go/src/github.com/treeder/dockers/bump/bump.go:98 +0x995
github.com/treeder/dockers/bump/vendor/github.com/urfave/cli.HandleAction(0x5549c0, 0x58def8, 0xc420094160, 0x0, 0x0)
        /go/src/github.com/treeder/dockers/bump/vendor/github.com/urfave/cli/app.go:490 +0xd2
github.com/treeder/dockers/bump/vendor/github.com/urfave/cli.(*App).Run(0xc4200864e0, 0xc42000a080, 0x2, 0x2, 0x0, 0x0)
        /go/src/github.com/treeder/dockers/bump/vendor/github.com/urfave/cli/app.go:264 +0x635
main.main()
        /go/src/github.com/treeder/dockers/bump/bump.go:41 +0x3a7
$ docker pull treeder/bump:1.2.5
1.2.5: Pulling from treeder/bump
Digest: sha256:03f11895950762617b89bf799759a1efabbbbc16cf9764c1f221e1512b442a90
Status: Downloaded newer image for treeder/bump:1.2.5

Can confirm , getting this error while going 0.0.9 > 0.0.10

Ok, will fix. Thanks for issue. PR welcome too. 😉

Should be fixed in treeder/bump:1.2.7. Reopen if not.


Add support for total code coverage

Will show/write to file total code coverage in the same manner rebar2 used to.

+1


DynamicDependencies: Remove [experimental] tags

Remove [experimental] tags as Dynamic Dependencies is no longer experimental. And there was much rejoicing!

/azp run


Postgres Max Identifier length is 63 bytes

GORM Playground Link

(no playground link)
Description
Postgres has a max identifier length of 63 bytes. I see a test here that's asserting for 64 characters/bytes.
https://github.com/go-gorm/gorm/blob/master/schema/naming_test.go#L196
https://til.hashrocket.com/posts/8f87c65a0a-postgresqls-max-identifier-length-is-63-bytes
https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

Not stale. I don't think that a playground PR is strictly necessary here. Links to the documentation and current tested expectations have been mentioned.

Insistent little bot...

Since different databases support different lengths, we can add configuration items to schema.NamingStrategy and change the default configuration of Postgres drivers.
Contributions welcome, let me know if anyone is interested.

Since different databases support different lengths, we can add configuration items to schema.NamingStrategy and change the default configuration of Postgres driver. Contributions welcome, let me know if anyone is interested.

Hii !!
Please assign this issue to me, i would love to work on it.

@a631807682
Sorry if i sound like a fool, but this is my first contribution in this repo. And i still don't get how can we do that?
Let me explain my self what i mean
You asked to add configuration item in schema.NamingStrategy
So i added NamingStrategyConfig see here :
// NamingStrategy tables, columns naming strategy
type NamingStrategy struct {
	TablePrefix   string
	SingularTable bool
	NameReplacer  Replacer
	NoLowerCase   bool
	NamingStrategyConfig
}

// This struct is used to configure the behavior NamingStrategy, according to DB.
// For example, in MySQL, the maximum length of an identifier is 64 characters.
// In PostgreSQL, the maximum length of an identifier is 63 characters.
// In SQL Server, the maximum length of an identifier is 128 characters.
// In SQLite, the maximum length of an identifier is unlimited.
// In future, we may add more options to NamingStrategyConfig.
type NamingStrategyConfig struct {
	IdentifierMaxLength int
}

Since i have added IdentifierLength field in  NamingStrategy  so i had impression we would use schema.NamingStrategy to populate Identifier Length, like this
if config.NamingStrategy == nil {
		// Set default value of IdentifierMaxLength according to the database type
		identifierMaxLength := 64
		switch dialector.Name() {
		case "mysql":
			identifierMaxLength = 64
		case "postgres":
			identifierMaxLength = 63
		case "sqlite":
			identifierMaxLength = 64
		case "sqlserver":
			identifierMaxLength = 128
		}

		config.NamingStrategy = schema.NamingStrategy{NamingStrategyConfig: schema.NamingStrategyConfig{IdentifierMaxLength: identifierMaxLength}}
	}

You said its not recommended to do it on the basis of  dialector name. ok got it !! 👍🏻
And you told me that We can use  Apply()
Now my question is: how can we pass identifier length to Apply according to choosen dialector ?? (because apparently driver implementing interface dialector is passed, and we need to pass Identifeir Lengths to NamingStrategy according to DB)
How we know we need to initialize identifierMaxLength as 63,64 or 128 if we don't kknow the DB.
if d, ok := dialector.(interface{ Apply(*Config) error }); ok {
		if err = d.Apply(config); err != nil {
			return
		}
	}

I know you are busy, but your little help will push me to complete this task, Thanks 😄

Now my question is: how can we pass identifier length to Apply according to choosen dialector ?? (because apparently driver implementing interface dialector is passed, and we need to pass Identifeir Lengths to NamingStrategy according to DB)

How we know we need to initialize identifierMaxLength as 63,64 or 128 if we don't kknow the DB.

We just need to set a default value, and then override it through Apply api in each driver

@a631807682 Does it make sense to close the issue? since it was addressed in the https://github.com/go-gorm/gorm/pull/6337


Improve documentation

This is the first step required to get our docs nicely integrated into upstream one.
This is a step toward fixing issue https://github.com/dmacvicar/terraform-provider-libvirt/issues/138
This is how the documentation would look into the official website.
Main providers page
The change is not into this PR, it will be done against https://github.com/hashicorp/terraform/ later by me.

Main page
This is the page describing the provider

Cloud init
The cloud init resource

Ignition
The ignition resource. Includes example featuring integration with the official ignition resource.

Domain
This page is huge. I tried to split it into sections and put cross links where it made sense.

Network
Network resource

Volume
Volume resource

Final considerations
The contents are basically a 1:1 of what we currently have. I just improved the style, made small improvements and added cross links.
There are resources where I think we should add more examples (the network one for example). But I plan to add more examples to this git repository under the examples directory.
What do you think, should we extend the online examples?

@monstermunchkin: I applied all the changes you proposed. If you are fine with them I'll squash the commits into a single one and merge everything into master.


Add check for LFS artifacts before testing

Summary of Changes

Add check in the tests script to make sure LFS artifacts are present
Get LFS artifacts with proteus get

Closes #22
Motivation
LFS artifacts may not be downloaded automatically with git pull if the host isn't configured that way. Here, I resolve it by invoking git lfs pull automatically when the other test artifacts are downloaded or before running the tests.
Implementation
See PR

Build Failed! :(

test this again

test this again please

retest this please

Build Passed!


Add atmel sam rtc driver

Add RTC driver for Atmel SAM series chips.

Updated driver in https://github.com/zephyrproject-rtos/zephyr/compare/d4c8f4024bd143d40660da533eb04212b625999b..83141496907f612cddb2c4541d62c3bfcf208449
Updated dts in https://github.com/zephyrproject-rtos/zephyr/compare/83141496907f612cddb2c4541d62c3bfcf208449..950756d879e4db5cc607e716082151bd08a33ba2

HAL has been updated so PR is ready to be merged :)


Load translation for a word/sentence depending on the context?

Hello,
I have a situation where i have two different translations for the same word.
Example:
"Patients": "患者数", //present in file1.json
"Patients": "患者", //present in file2.json
These two translations are present in two different json files(file1.json and file2.json). But when i have the application loaded, both the translation json files are loaded in order. The "Patients" word has different translations depending on the context in two different HTML pages. Depending on the order in which the translation json files load, the word "Patients" gets translated.
How can i load the correct translation for the word depending on the context? Is there any configuration which we can do?
Looking forward for reply!
Thanks in advance.

Yes, contexts: https://angular-gettext.rocketeer.be/dev-guide/annotate/#contexts


document PATH constraints on build env

Something during build bombs out because PATH contains spaces.  This affects WSL for sure, since PATH is appended with all kinds of Windows paths (e.g. /mnt/c/Program Files/... etc).
Add a note to README that PATH should be cleaned prior to building to ensure nothing with a spaces (' ', '\t' and '\n') is present.

@WangYin3
I think you need to clean up the SCT related build script for the PATH only modified there
scripts/build-uefi-apps.sh:# CROSS_COMPILE - PATH to GCC including CROSS-COMPILE prefix
scripts/build-uefi-apps.sh:        # PATH="$PATH:$CROSS_COMPILE_DIR"
scripts/build-uefi-apps.sh:        PATH="$PATH:$CROSS_COMPILE_DIR"
scripts/build-grub.sh:# CROSS_COMPILE - PATH to GCC including CROSS-COMPILE prefix
scripts/build-sct.sh:# CROSS_COMPILE - PATH to GCC including CROSS-COMPILE prefix
scripts/build-sct.sh:    export PATH="$TOP_DIR/efitools:$PATH"
scripts/build-sct.sh:        PATH="$PATH:$CROSS_COMPILE_DIR"

@andreiw Could give a step to reproduce the issue. I update export with space PATH=$PATH:"/bin/      /xxx/", or overwrite PATH="/usr/      bin/" did not reproduce it. Or can I add protect fix to "unset PATH" at begin of build script.


Plugin "react" was conflicted between "package.json » eslint-config-react-app

Im having this issue can someone please help, When I save the package.json file the error is gone but when I reload the page its still intact.

the file path in bash isn't case sensitive, so when you type the wrong case of a directory, you might have this issue. To fix this, you must change the case of the directory
Example:
documents -> Documents
desktop -> Desktop

This repo is for react documentation.
Support requests filed as GitHub issues often go unanswered. We want you to find the answer you're looking for, so we suggest the following alternatives:
Coding Questions
If you have a coding question related to React and React DOM, it might be better suited for Stack Overflow. It's a great place to browse through frequent questions about using React, as well as ask for help with specific questions.
https://stackoverflow.com/questions/tagged/react
Talk to other React developers
There are many online forums that are a great place for discussion about best practices and application architecture as well as the future of React.
https://reactjs.org/community/support.html
PS: You can look into this too https://github.com/reactjs/reactjs.org/issues/4186

 [Solved] Plugin “react” was conflicted between “package.json » eslint-config-react-app »


Exam monitoring: Replace REST calls with Websockets

Checklist
General

[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[x] I implemented the changes with a good performance and prevented too many database calls.
[x] I documented the Java code using JavaDoc style.

Client

[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I documented the TypeScript code using JSDoc style.

Motivation and Context

The Online Exam Monitoring introduced in https://github.com/ls1intum/Artemis/pull/4982 used REST calls in order to send the actions to the server. In order to increase the overall performance, we decided to switch from REST calls to websockets. In addition, we decided to remove all database calls since those are not required at the moment. In order to avoid any issues with the exam mode, we decided to add try and catch blocks around each interaction with the exam monitoring.
Description

Replaced REST calls with websocket
Added doc for ExamCache and ExamMonitoringScheduleService
Added try and catch blocks

Steps for Testing

Prerequisites:

1 Instructor
1 Student

Exam-Monitoring (local testing):

Log in to Artemis
Create an Exam with monitoring enabled
Set a breakpoint in updatePerformedExamActions in ExamActivityResource
Participate as Student in the Exam
Verify that actions are received and cached

Exam-Mode:

Log in to Artemis
Create an Exam
Participate as Student in the Exam
Verify that everything works as before

Review Progress

Code Review

[x] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Class/File
Branch
Line

exam-monitoring.service.ts
86.66%
100%

ExamActivityResource.java
n/a
100%

Approving code changes. One suggestion: you always seem to be using the inverse of this.disconnected, you could consider refactoring it to this.connected.


Use real paper scribbles

Hi,
Thanks for creating this. It really sparked the creativity for me and my kids. I could not resist thinking about adding the paper scribbels functionality to this.
(if this is not supposed to be a ticket, certainly close it and point me to the right direction.
I have created a fork: Paper sketch diffusion.
https://github.com/woutersf/paper-sketch-diffusion
The idea is to allow your input to also allow a picture of a paper sketch.
Therefor I added a button (not styled yet)

Which then promps the camera permission:

And you are allowed to take a picture of a sketch.

I also transform the sketch to black and white and threshold it (black or white contrast) so that it is "scribblable" .
I then want this image data to flow into the scribble (see red arrow above), This is where I'm stuck now.
I would like to know how to flow the image data I have and not use the canvas that was hand drawn.
You will see in my code that I have no clue about React.
https://github.com/woutersf/paper-sketch-diffusion/commit/14a5f477deabc9bf3bc3d2bdf4ec19cee069dd8d
You can easily try it out since you don't even need the replicate key to get this working.
Any help is much appreciated.

Hey @woutersf that's pretty neat. I have also had a lot of fun with my kids on this.
Thanks for opening an issue and describing where you're stuck.
Haven't looked at the code yet, but I think at a high level this should work. Your input will create a bitmap image, and that image should then be uploaded using the upload-file module and used as an alternative input, instead of the "Canvas" output.

Hi Zeke,
Thanks for that Tip,
i got it working like that.

I am now wrestling with React to make a PR. 😅

Nice! Keep me posted. I can help out if needed.

@zeke I've fabricated something here:
https://github.com/replicate/scribble-diffusion/pull/35
Any help is certainly appreciated.

so, how's it going with that lovely feature?


You've compared the AI to MusicLM but when? MusicLM has degraded in quality due to trophies users give it. Also here is my Comparison!

Hello! Sry about the my it sounds rude oops. So from my day1 testing and later testing, yes it seems quality of [MusicLM] (to compare against yours) and prompt listening has degraded I think. That's what the trophies do, they change the model right? It is a nightmare for my AI documentation :) :( cry.
Also I tested MusicGen against MusicLM on hard advanced techno tests, yours seems to win 30% of the tests or so. And the hardest ones it fails - even though I ran them today June 11 on MusicLM about a month after its release.
MusicGen tests:
https://soundcloud.com/immortal-discoveries/sets/musicgen-ai-tests-now-seems-worse-than-musiclm
MusicLM tests:
https://soundcloud.com/immortal-discoveries/sets/adding-to-musiclm-playlist-the-one-with-200-if-no-prompt-go-to-link
Also a must see for you guys (plus 200 more on soundcloud):
https://www.reddit.com/r/singularity/comments/13h0zyy/i_really_crank_out_music_tracks_with_musiclm_this/

music gen is open source
now even supports over 30 seconds with community fork :)

music gen is open source
now even supports over 30 seconds with community fork :)

what is the community fork with over 30s called?

This is where I got the info: https://github.com/FurkanGozukara/Stable-Diffusion/blob/main/Tutorials/AI-Music-Generation-Audiocraft-Tutorial.md#11-june-2023

thank you for share!


Considering using some UI for Gh components

Below some example
https://github.com/diego-apellaniz/Karamba3DUIWidgets
https://github.com/arup-group/Custom-Grasshopper-UI-Components

Any specific component?


Python Unit Tests & MR

In GitLab by @nim65s on Nov 27, 2018, 15:57
Hi,
JFYI, @nmansard asked me to launch python unit tests in merge requests. This will be done soon.

In GitLab by @nim65s on Nov 27, 2018, 17:51
mentioned in merge request !25

In GitLab by @nim65s on Nov 27, 2018, 17:52
mentioned in merge request !26

In GitLab by @cmastalli on Nov 28, 2018, 23:55
mentioned in commit 2c07156c5306da119c92c873a7498dd887ede9cd

In GitLab by @cmastalli on Dec 6, 2018, 17:35
@nim65s There is an important task to be done regarding this topic. I reported here #38.

In GitLab by @cmastalli on Dec 6, 2018, 20:58
@nim65s and @nmansard the CI jobs are starting to work. I turned off few broken unit-test that I will put them back asap

In GitLab by @nmansard on Dec 7, 2018, 09:42
assigned to @cmastalli and unassigned @nim65s

In GitLab by @nim65s on Dec 12, 2018, 14:12
I think we can close this issue, as !26 has been merged

In GitLab by @nim65s on Dec 12, 2018, 14:12
closed

In GitLab by @cmastalli on Dec 12, 2018, 14:58
I agree. Thanks for your support @nim65s

In GitLab by @cmastalli on Dec 14, 2018, 17:06
mentioned in commit 58174d6e99949e04384dd5aeadd122ccbd85c323


Develop

Create app base

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

1.0.0
GitHub release

Your semantic-release bot :package::rocket:


Conflict between 'Make the vote buttons sticky' and 'Make the topbar fixed'

I'm using v1.4 and I noticed that the following features seem to clash somehow:
Make the topbar fixed (stay at the top as you scroll)
Make the vote buttons sticky
The topbar stays at the top, that works fine, but when scrolling, the upvote button disappears under the topbar. See the following screenshot for an example:

It would be great if the upvote button was visible all the time.
(from http://stackapps.com/a/6450/26088)

I could add margin-top: 34px; to the vote buttons but that has the effect of making the vote button start 34px down than the usual place and looks ugly...
Anyone know a better way to fix this? :)

Good question...
The issue seems to be that the sticky-element plugin uses a container to stick the vote buttons to, and the topbar position is simply set to fixed.
Maybe it's possible to play with the position of the topbar, changing the size of the page so that the container starts right below the topbar, instead of under the topbar.

@nwinkler Thanks for replying (my first reply on GitHub! :D) This seems like a side-effect of fixing http://stackapps.com/a/6361/26088 - we ended up fixing the position and then pushing it back up - see the chat for details. I'll need to look into the container and see whether I can make it start a bit lower down - depending on where it is, it might not cause the vote buttons to start 34px down from the top of the post (I hope!)

@nwinkler @Loxos fixed this! :)

Great! When will this be available in master? Any plans for your next official release?

I'm away at the moment but I think I'll update it to master in the second
week of September! :)
On Thursday, 27 August 2015, Nils Winkler<EMAIL_ADDRESS>wrote:

Great! When will this be available in master? Any plans for your next
official release?
—
Reply to this email directly or view it on GitHub
https://github.com/shu8/SE_OptionalFeatures/issues/5#issuecomment-135365154
.

--
Sent from Gmail Mobile

Great, thanks for the update!


timestamp type inconsistencies

Issue
There are currently type inconsistencies with timestamps.

genesis_time is defined in the BeaconState as a hash32
timestamp is defined as uint256 in DEPOSIT_PROOF
on_startup takes the param genesis_time as type uint64

And then math is done freely between these types
Separate type issue:

msg.value is brought in from the pow contract as a uint256 but then it is compared to DEPOSIT_SIZE (a uint64) for equality

Proposed solution

cast timestamp types to uint64 representation in the PoW chain contract before adding a branch to the merkle tree, emitting HashChainValue events, and ChainStart events
change all timestamp types listed above in the beacon chain to uint64
cast msg.value to uint64 before adding to merkle branch and emitting in events in PoW contract
change DEPOSIT_PROOF.deposit_data.msg_value to uint64

resolved in #147


Replace MediaPlayer with SoundPool or something else

MediaPlayer throws errors:
E/ExtMediaPlayer-JNI: QCMediaPlayer could not be located....
E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present
E/MediaPlayer: Should have subtitle controller already set
E/MediaPlayer: Should have subtitle controller already set

Maybe ExoPlayer would be suitable? 🤔

I will give it a try, thanks :)


Dispatch Install, Deployment, and Config Support

Describe the bug
This regards to dispatch slack configuration issue, I have updated the necessary details in slack plugins according to dispatch [slack documentation.] But I am getting multiple errors.
Errors:
Error from Slack app:
dispatch-conversionAPP  8:31 PM
Looks like you tried to run /dispatch-list-incidents in a conversation where the Dispatch bot is not present. Add the bot to your conversation or run the command in one of the following conversations:
Only visible to you
8:34
I see you tried to run /dispatch-list-participants in an non-incident conversation. Incident-specifc commands can only be run in incident conversations.
Only visible to you
8:39
I see you tried to run /dispatch-list-my-tasks in an non-incident conversation. Incident-specifc commands can only be run in incident conversations.
Only visible to you
8:39
I see you tried to run /dispatch-update-incident in an non-incident conversation. Incident-specifc commands can only be run in incident conversations.
Only visible to you
8:42
Looks like you tried to run /dispatch-list-incidents in a conversation where the Dispatch bot is not present. Add the bot to your conversation or run the command in one of the following conversations:
Error from docker backend
ERROR:dispatch.plugins.dispatch_slack.service:SlackError. Response: {'ok': False, 'error': 'channel_not_found'} Endpoint: conversations.info kwargs: {'channel': 'C03MFS2LV9Q'}
ERROR:dispatch.plugins.dispatch_slack.service:SlackError. Response: {'ok': False, 'error': 'channel_not_found'} Endpoint: conversations.info kwargs: {'channel': 'C03MFS2LV9Q'}

Hi @mvilanova
Thanks for the response in the gitter,
Can you check above issue and screenshots please and help me to sort the problem?
If you are ok with video call I can set up the meeting, it would be great helpful. Let me know your preference time if it is ok for you?

The reason why we don't allow you to run slash commands that are built to interact with the incident in non-incident-related channels is because Dispatch needs to know the Slack channel id linked to the incident.

Can you help me on the configuration part to sort this issue? I can set-up call if you are ok?
I tried my best to config and troubleshoot the error but I failed.

Let's give it a try here first if you don't mind. Please share the steps you followed to setup Dispatch and the app/ bot in your Slack workspace.

 I am planning to start fresh install from scratch. Just guide me step by step procedure to install. Ill do it myself.
Initially, I installed dispatch from below mentioned github repo is that correct way?
https://github.com/Netflix/dispatch-docker
Then what is this github repo for ? I got confused when I saw below repo.
https://github.com/Netflix/dispatch

My current dispatch version in my local machine is > "dispatch, version 0.1.0.dev0". is this latest version?

how to run install dispatch using this repo > https://github.com/Netflix/dispatch
If this was a question, the answer is there's no script to install it. You need to pull the checkout the source in your CI/ CD pipeline.

My current dispatch version in my local machine is > "dispatch, version 0.1.0.dev0". is this latest version?
Yes, ignore the version number. https://github.com/Netflix/dispatch.git#latest will always be the latest stable version.

ok once we deploy code in AWS, how do we start the dispatch? In docker, we do docker-compose to start the dispatch.

You can start the web server by running the following command
exec /apps/sirtdispatch/bin/dispatch server start dispatch.main:app --workers 6 --host <IP_ADDRESS> --port 7101 --proxy-headers
and scheduler by running
exec /apps/sirtdispatch/bin/dispatch scheduler start

Hi @mvilanova
Thanks for your continuous support, and I appreciate that.
I did a fresh installation of dispatch in the AWS EC2 instance. Installation is done through the docker image repo (https://github.com/Netflix/dispatch-docker) with an example Postgres SQL data dump for testing. Post that, I have configured slack for dispatch as per instructions in the docs (https://hawkins.gitbook.io/dispatch/administration-guide/incident/plugins/configuring-slack). This time it worked and whenever I create incident it automatically creates new slack channel for the incident. I have tested few slash commands which worked fine. Need to do further testing.
Now I need support on to understand few things, I have created Application load balancer in AWS and mapped to dispatch server. I am able to access dispatch through application load balancer link. But, In some instances like in slack channel hyperlinks points to "localhost:8000". Another scenario is after creating incident below "Ticket" section in the same page where hyperlink points to "localhost:8000" and I want that to redirect that to my application load balancer link for example (http://dispatch.com). How to configure that, can you guide me on that? Check the screenshots for reference.

Looks like you did not define DISPATCH_UI_URL in your .env file and Dispatch is using the default. See https://hawkins.gitbook.io/dispatch/administration-guide/server#dispatch_ui_url

Hi @mvilanova
I read through the above mentioned blog post, and some of the info I was able to digest with my basic knowledge but, I felt it was complex.
After reading the blog, one thing I noticed document says it should be done during the build time. But In my case, I have already installed the "dispatch" in AWS EC2 instance.
Is it possible to modify now? If yes, how to do it? and in which docker image ("dispatch_web_1" or "dispatch_core_1") we should configure the "DISPATCH_UI_URL"? Refer Screenshots.

I searched ".env" file in the both docker images of "dispatch_web_1" & "dispatch_core_1" under the file locations which is mentioned below. I could not find any such file with extenion of ".env". where exactly this file is located? Refer Screenshots.
File Locations: /usr/local/lib/python3.9/site-packages/dispatch/static/dispatch/

or Should I install from the beginning?

That's correct. The .env file needs to be in the same directory as the install.sh Bash script when you run the script to build the docker images. We provide a sample one here.

Hi @mvilanova
As suggested, I have created new ".env" file in the "dispatch-docker" directory with the content mentioned below:
`[ec2-user@ip-10-1-2-10 .github]$ cat .env
General
COMPOSE_PROJECT_NAME=dispatch
#SECRET_KEY=REPLACEWITHSOMETHIINGSECRET
#DISPATCH_JWT_SECRET=REPLACEWITHSOMETHIINGSECRET
#DISPATCH_ENCRYPTION_KEY=REPLACEWITHSOMETHIINGSECRET
Database
NOTE: Ensure that DATABASE_CREDENTIALS match the values passed to POSTGRES_USER and POSTGRES_PASSWORD
DATABASE_CREDENTIALS=dispatch:dispatch
DATABASE_HOSTNAME=postgres
DATABASE_NAME=dispatch
DATABASE_PORT=5432
Used by postgres docker
POSTGRES_DB=dispatch
POSTGRES_PASSWORD=dispatch
POSTGRES_USER=dispatch
For additional server configuration options see: https://hawkins.gitbook.io/dispatch/administration-guide/serve
DISPATCH_UI_URL=http://dispatch-webapp-10xx6597.us-xxx-xx.elb.amazonaws.com/'`

In docker-compose.yml file I changed the build:context url from https://github.com/Netflix/dispatch.git#latest to https://github.com/Netflix/dispatch.git which worked fine. is something wrong with that or this is not the best practice? Refer to screenshot.

Additionally, I need support on a few things:

Few dispatch CLI commands are not working and it shows some warnings like "doesn't match supported versions!": Refer to screenshot.

Is possible to change the Org name "default" to any other name or can we delete the Org "default"? Refer to screenshot.

How to reset a user password? "User management stuff" like user creation etc.

+1 for being able to delete the default org entirely or rename it so creating a new org wouldn't need to be necessary.

Few dispatch CLI commands are not working and it shows some warnings like "doesn't match supported versions!": Refer to screenshot.

See my comment here: https://github.com/Netflix/dispatch/issues/2300#issuecomment-1177902119

Is possible to change the Org name "default" to any other name or can we delete the Org "default"? Refer to screenshot.

No, not at the moment.

How to reset a user password? "User management stuff" like user creation etc.

If you're using basic auth, you can use CLI command dispatch user update

Hi @mvilanova
Thanks for the continuous support and information.
https://github.com/Netflix/dispatch/issues/2300#issuecomment-1177902119
I read the above comments. I understood bit of it It is not error, and it is warning. But is there anyway to solve those warnings. Because, In docker-compose.yml when I use git#latest in the build:context URL place. It fails with warning signs and does not proceed further.
Refer to the second screenshot for warning sign details: https://github.com/Netflix/dispatch/issues/2300#issuecomment-1177108282
The reason why I ask above question repeatedly, because multiple times I update .env file to test few things. So post that I run ./install.sh script in the dispatch-docker folder which updates env variables for me. But last few times it failed with URL of "https://github.com/Netflix/dispatch.git#latest" and it did not update env variables and also ./install.sh script stopped with ERROR: error fetching: fatal: couldn't find remote ref latest : exit status 128. So I started using to URL "https://github.com/Netflix/dispatch.git" which worked successful and updated the env variables. Any workaround to sort this problem to use git#latest.

Hi @mvilanova
Does dispatch support OAUTH through an app-registration on Azure AD? Because, our org is moving to Azure AD from GCP (G-Suite).

@Hellboy7 latest tag should work again. Let me know if that's not the case.
Dispatch supports basic login/password, PKCE, and custom auth providers. PKCE is the way to go for your use case. This article seems like a good start: https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/openidoauth-tutorial

Hi @mvilanova
As suggested, I have update the URL with latest tag in the docker-compose.yml file and executed the ./install.sh script.

But, I got following warnings/errors. Refer screenshot.
Screenshot 1

Screenshot 2

I reverted the changes in https://github.com/Netflix/dispatch/pull/2304, which caused this issue. You'll need to remove the latest label to leverage the changes. Can you run the script and let me know if it is resolved?

Hi @mvilanova
Thanks for the fix, That worked fine with minor warnings!!!
I am not able to switch the Org in the Dispatch UI!!!

I am able to access the projects by changing the Project names in URL.
Project 1: https://dispatch-netflix[.]com/default/dashboards/incidents
Project 2: https://dispatch-netflix[.]com/sprinklr/dashboards/incidents

Known problem. Working on a fix.

Thank you so much for the support so far !!!
I am currently working SSO integration with Azure AD. I will update my journey on this if it was successful and document it. It may be useful for others in the community.

Hi @mvilanova
I see new pull requests, How to update this? Same procedure like running the script "./install.sh" or any different ways to update the dispatch with latest changes done in the repo?

Again, when I tried to run "./install.sh" script, I got error check the screenshot.

error: could not write to 'build/lib/dispatch/static/dispatch/node_modules/prettier-eslint/node_modules/typescript/lib/typescriptServices.js': No space left on device Removing intermediate container 64c6c37d51ce ERROR: Service 'core' failed to build: The command '/bin/sh -c export YARN_CACHE_FOLDER="$(mktemp -d)"     && cd /usr/src/dispatch     && python setup.py bdist_wheel     && rm -r "$YARN_CACHE_FOLDER"     && mv /usr/src/dispatch/dist /dist' returned a non-zero code: 1 Cleaning up...

@Hellboy7 you can run the install script when a new release goes out or remove #latest from here and run the install script any time you want to pull any new changes.

@Hellboy7 all good here? Can we close this issue?


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/opstest2/docs-archive-test-source.git

Docs Build status updates of commit bf1b9a6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update deploy to use OCI as distribution mechanism

(Picks up where https://github.com/fermyon/cloud-plugin/pull/19 left off; using a branch on origin for more convenient collaboration across the team.)

Superseded by https://github.com/fermyon/cloud-plugin/pull/93


Move loadtest to another namespace

Currently the load-test in k8s is in the same sock-shop namespace. Ideally it'd need to be moved to another namespace as per the comment in #646

Done #671


Governance Proposal detail - number of days left to vote no longer displayed

Description
The number of days left to vote used to be displayed in the proposal details page but is now missing. This is picked up by e2e test
Steps to Reproduce

Create new proposal with 3 day vote deadline
go to proposal detail page

Solved by #1820


Observe different prediction result with same prediction dataset but different column sequence

I am using R xgboost package. I ran prediction multiple times but got different result. Each time I was using the same prediction dataset with the same column name but the column sequence is different. For example, Age was in column1 in the 1st run but becomes column 3 in the 2nd run. Do I expect xgboost to give different prediction in this case? Do I need to keep prediction dataset exactly the same column sequence as in training dataset?
Here is my code:
train_sparse <- sparse.model.matrix(Y~.-1, data=train)
test_sparse <- sparse.model.matrix(Y~.-1, data=test)
dtrain <- xgb.DMatrix(data = train_sparse, label = train$Y, missing=NA)
dtest <- xgb.DMatrix(data = test_sparse, label = test$Y, missing=NA)
watchlist <- list(test=dtest, train=dtrain)
param <- list(
objective="binary:logistic",
booster="gbtree",
eta=0.7,
max.depth=6,
subsample=0.7,
colsample_bytree=1
)
xgmodel <- xgb.train(params           = param,
data                = dtrain,
missing=NA,
nthread = 2,
nrounds             = 70,
verbose             = 2,
early.stop.round    = 30,
watchlist           = watchlist,
maximize            = TRUE,
eval.metric="auc"
)
prediction
pred_sparse <- sparse.model.matrix(Y~.-1, data=preddata)
predresult<-predict(xgmodel,pred_sparse,missing=NA)
What I mean is if I change preddata column sequence, the predresult will change a lot.
Do I have to keep preddata column sequence the same as train?

We will need to make sure all index encoding remains the same, so you do need to make things consistent

@tqchen - and what about additional columns in data? and what if some columns are absent?


Fix NPM version bump race condition V2

Details
Uses ncc to bundle the new Github Action and commits the bundled source.
Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/147462
Tests
Note: This is not fully tested yet, but my plan to test it it:

Look at the GH tags for Expensify.cash
Create a tag for the highest version available +1
Merge this PR into master. If it bumps the version to the level of the tag we created in step 2 +1 and successfully deploys, then it was a success.

Okay, got this working as expected. This check run shows how it works when there are not two tags ahead of it.

Okay, got this working as expected. This check run shows how it works when there are not two tags ahead of it.

Another sanity check we could do is running ncc during the actions and making sure that the output of ncc matches index.js. I know it won't use the new ncc code, but if they are different it means someone didn't update the built file and we should just cancel the action

Another sanity check we could do is running ncc during the actions and making sure that the output of ncc matches index.js. I know it won't use the new ncc code, but if they are different it means someone didn't update the built file and we should just cancel the action

WRT making sure that ncc recompiles any changes made to our javascript GH actions going forward, I think there are three things we could do. They could all be done independently of eachother, so we can do any or all of them.

Make a GH action that runs before all other GH actions (like on push to any branch, for example) that rebuilds all our GH actions. This is probably the most robust choice (most resistant to human error). This would be the option people would have to think the least about.
As you've said, we could do a checksum of the compiled code. I like this idea, and it could run as a check on PRs.
We could set up a watcher command of sorts - you would just run npm run gh-actions-build:watch, and then as you make changes to any file not called index.js inside .github/actions, it would notice and automatically use ncc to compile that file into an index.js in the same directory. This is probably the option people would have to think the most about.

Which of these sound ideal? Eventually, we could do all three - have (1) be the first thing that occurs when a PR is merged to master, have (2) happen as a static check on PRs, and have (3) be a tool to make development a bit easier.

WRT making sure that ncc recompiles any changes made to our javascript GH actions going forward, I think there are three things we could do. They could all be done independently of eachother, so we can do any or all of them.

Make a GH action that runs before all other GH actions (like on push to any branch, for example) that rebuilds all our GH actions. This is probably the most robust choice (most resistant to human error). This would be the option people would have to think the least about.
As you've said, we could do a checksum of the compiled code. I like this idea, and it could run as a check on PRs.
We could set up a watcher command of sorts - you would just run npm run gh-actions-build:watch, and then as you make changes to any file not called index.js inside .github/actions, it would notice and automatically use ncc to compile that file into an index.js in the same directory. This is probably the option people would have to think the most about.

Which of these sound ideal? Eventually, we could do all three - have (1) be the first thing that occurs when a PR is merged to master, have (2) happen as a static check on PRs, and have (3) be a tool to make development a bit easier.

Added documentation

Added documentation

I like option 1, but if they aren't the same we could fail the job and post a comment saying "you need to run npm run gh-actions-build"? I don't know if we want the action to directly update the PR? Thoughts?

I like option 1, but if they aren't the same we could fail the job and post a comment saying "you need to run npm run gh-actions-build"? I don't know if we want the action to directly update the PR? Thoughts?

I guess that is pretty similar to option 2? Running a checksum is similar, I just don't know if users would expect a bot to push commits to their branch?

I guess that is pretty similar to option 2? Running a checksum is similar, I just don't know if users would expect a bot to push commits to their branch?

Okay, sounds like we'll go with (2). By checksum I meant:

Recompile the code with ncc
Check if the compiled files are different with something like this: cmp --silent file1 file2 && echo 'SUCCESS: Files Are Identical!' || echo 'ERROR: Files Are Different! Did you forget to run npm run gh-actions-build?'
Pass or fail the action depending on the result of the previous step

Okay, sounds like we'll go with (2). By checksum I meant:

Recompile the code with ncc
Check if the compiled files are different with something like this: cmp --silent file1 file2 && echo 'SUCCESS: Files Are Identical!' || echo 'ERROR: Files Are Different! Did you forget to run npm run gh-actions-build?'
Pass or fail the action depending on the result of the previous step

Sounds great, I wonder if it would make sense to just include that in the existing test action?

Sounds great, I wonder if it would make sense to just include that in the existing test action?

I wonder if it would make sense to just include that in the existing test action?

We definitely could add it to the test.yml workflow.

I wonder if it would make sense to just include that in the existing test action?

We definitely could add it to the test.yml workflow.

That feels like the best place for now, but open to other ideas

That feels like the best place for now, but open to other ideas

Let's do it there, makes sense to me!

Let's do it there, makes sense to me!

Okay, so I wrote scripts to build the GH Actions and also to verify them, but the verification one isn't working because there is a small diff with the output of ncc depending on the target directory for some reason. So these two commands produce different output:
ncc build bumpVersion.js -o .
ncc build bumpVersion.js -o temp

So I think I have another solution for the verification step. Basically just run this in a workflow step:
npm run gh-actions-build && git diff --exit-code

Taking off a bit early today and I'm ooo on Monday so I'll have to pick this back up on Tuesday

Okay, so I wrote scripts to build the GH Actions and also to verify them, but the verification one isn't working because there is a small diff with the output of ncc depending on the target directory for some reason. So these two commands produce different output:
ncc build bumpVersion.js -o .
ncc build bumpVersion.js -o temp

So I think I have another solution for the verification step. Basically just run this in a workflow step:
npm run gh-actions-build && git diff --exit-code

Taking off a bit early today and I'm ooo on Monday so I'll have to pick this back up on Tuesday

Slapping a WIP on this in the meantime

Slapping a WIP on this in the meantime

Okay, this is no longer WIP and working as expected. I had to make Verify Github Actions it's own workflow because it needs to checkout the head of the PR, not the ref from when the PR will be merged to master (which I think is the default). I was getting errors because the npm version on the PR was out-of-sync with master, which would cause a diff in the compiled code.
I tested this by creating a small change in a comment in the JS action and committing it without recompiling the JS. This caused the workflow run to fail. Then I ran npm run gh-actions-build and committed the compiled code, and the workflow run passed. 🎉

Okay, this is no longer WIP and working as expected. I had to make Verify Github Actions it's own workflow because it needs to checkout the head of the PR, not the ref from when the PR will be merged to master (which I think is the default). I was getting errors because the npm version on the PR was out-of-sync with master, which would cause a diff in the compiled code.
I tested this by creating a small change in a comment in the JS action and committing it without recompiling the JS. This caused the workflow run to fail. Then I ran npm run gh-actions-build and committed the compiled code, and the workflow run passed. 🎉

Okay, this is now a "final draft"

Okay, this is now a "final draft"