error on the fab update step

My guess-- and I'm not sure yet--is that I need to  create the spreadsheet described in 'COPY editing' section, before the 'fab update' step will work.
Will let you know if that is the case.
Error at console:
(books15)marjorieroswell (master) books15 $ fab update
Traceback (most recent call last):
  File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/fabric/main.py", line 717, in main
    *args, **kwargs
  File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/fabric/tasks.py", line 332, in execute
    results['<local-only>'] = task.run(*args, **new_kwargs)
  File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/fabric/tasks.py", line 112, in run
    return self.wrapped(*args, **kwargs)
  File "/Users/marjorieroswell/WebstormProjects/books15/fabfile/__init__.py", line 135, in update
    text.update()
  File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/fabric/tasks.py", line 109, in __call__
    return self.run(*args, **kwargs)
  File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/fabric/tasks.py", line 112, in run
    return self.wrapped(*args, **kwargs)
  File "/Users/marjorieroswell/WebstormProjects/books15/fabfile/text.py", line 29, in update
    get_document(app_config.COPY_GOOGLE_DOC_KEY, app_config.COPY_PATH)
  File "/Users/marjorieroswell/WebstormProjects/books15/oauth.py", line 114, in get_document
    raise KeyError("Error! Google returned a %s error" % response.status)
KeyError: 'Error! Google returned a 403 error'

Error at localhost:
IOError
IOError: [Errno 2] No such file or directory: 'www/static-data/books.json'

Traceback (most recent call last)
File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/flask/app.py", line 1701, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/flask/app.py", line 1689, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/flask/app.py", line 1360, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/flask/app.py", line 1358, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/marjorieroswell/.virtualenvs/books15/lib/python2.7/site-packages/flask/app.py", line 1344, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/marjorieroswell/WebstormProjects/books15/oauth.py", line 71, in decorated_function
return f(*args, **kwargs)
File "/Users/marjorieroswell/WebstormProjects/books15/app.py", line 41, in index
with open('www/static-data/books.json', 'rb') as readfile:
IOError: [Errno 2] No such file or directory: 'www/static-data/books.json'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it.

Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.

This is our bad -- we need to provide spreadsheet access. I'll work on that.

Not sure if this belongs in a new issue, but maybe will be helpful here.
I manually replicated the linked spreadsheet:
https://docs.google.com/spreadsheets/d/1pogl4JaaIkEcXvPu2zDbTo_I4uLNSEm0vB8WxnNPBuU/pub#
Then added worksheets:

tags
attribution

and keys:

content.header_subhead
content.header_title
content.clear_filters
content.chatter
attribution.byline

It took a bit for me to notice that a second spreadsheet is needed, with a header row for these keys:

title
genre
author
isbn
book_seamus_id
hide_ibooks
text
reviewer
slug
tags
reviewer ID
reviewer link
html text
oclc


Plugin (auto)update function

That is important, for example if a program like Firefox, Chrome or Edge changed their password storage methods, the plugins wouldn't work anymore. That's why it's important to have an (auto)update method. For security reasons, this method should check (as far as possible) whether the plugin changes the functionality or the required rights in the update and notify the user if necessary.

To ensure upward compatibility, a new IExtensionInterface should be created instead of a property in IAboutPlugin.


Header/footer fix

This PR fixes the header/footer flex problem. It also improves the global background image, which is now fixed.

LGTM!

LGTM!


Update dependency-injection.yml

Corrected yml structure. Missing '-' for array structure;

Thanks @rofthedeep


French translation

This commit adds a French translation to the theme, and fixes a
non-translated string in the blog navigation bar.

Thanks for the contribution @emembrives! I will review it next week.


Nick: Watch bioma-weigh-loss.ukit.me

Nick requests the watch of the watch_keyword bioma-weigh-loss\.ukit\.me. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

bioma-weigh-loss\.ukit\.me has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Terms, etc

Write and post terms and conditions.
Also find a place for attributes.  "Unless otherwise noted, all photos courtesy of the author" or some such.

Present a link to these in the footer so it's accessible everywhere.


[feat] Field validation from form schema

This PR introduces the ability to pass a schema to the validators object on a form and have it validate each specific field:
const form = useForm({
  defaultValues: {
    firstName: '',
    lastName: '',
  },
  onSubmit: async ({ value }) => {
    // Do something with form data
    console.log(value)
  },
  validators: {
    onChange: z.object({
      // Errors here are passed to the <form.Field name="firstName"> component
      firstName: z.string().min(3, 'First name must be at least 3 characters'),
      lastName: z.string().min(3, 'Last name must be at least 3 characters'),
    }),
  },
  // Add a validator to support Zod usage in Form and Field
  validatorAdapter: zodValidator({}),
})

TODO

[x] Update Valibot adapter
[x] Update Yup adapter
[x] Fix issues with createServerValidate
[x] Update docs

What is the current status of this PR?

@bompi88 I'm... Actively working on it? Like, have made commit less than an hour ago that marked a lot of things off?
We'll get it reviewed soon, but timing just felt weird with "status?" right after I'd worked on it lol

@crutchcorn I'm sorry I did not see that. I agree that is weird 😂

This LGTM @Balastrong - great work! Merging now

@crutchcorn Nice work! I love to test it out 😁 I think the squash commit message was on the wrong format [feat] and not feat: therefore no release? I might be wrong here

@bompi88  you're right! :D
I fixed it now, 0.33 should be available 🚀

Thanks @Balastrong ! So far this version works really well🎉


Add this to config?

https://github.com/Lambda-School-Labs/mission-control-be/blob/da9625015eda021dbede6ecf5a2c28cbd47c0bed/apollo/src/datasources/GitHubAPI.js#L6

This was removed and added to environment variables with PR #107 Update the Environment Variables.


Write Some Vulkan Examples

Writing some Vulkan examples for Silk.NET because it also has OpenGL examples and one OpenAL test thingy. I have some experience with the Vulkan API now and as I obsess over making Vulkan fit in with (my style of) C# anyway, I thought I'd might as well share it.
Concept for ordering / which examples should exist: Discord pin

It should be close to learnopengl.com
vulkan-tutorial.com = bad
vkguide.dev is good for layout inspiration

Further question is wheather to wait for 3.0 and use vkbootsrap or not - or maybe both?

Further question is wheather to wait for 3.0 and use vkbootsrap or not - or maybe both?

In all honestly the vkbootstrap thing is unlikely to happen. There are talks of a higher level abstraction over Vulkan to align us to competitors, but we're yet to find a way which keeps us aligned with the ethos of the library.
Also waiting for 3.0 is as good as waiting forever at the moment! We don't have any ETAs, only "targets" which are unlikely to be met (and we knew this when making the targets haha)

Further question is wheather to wait for 3.0 and use vkbootsrap or not - or maybe both?

In all honestly the vkbootstrap thing is unlikely to happen. There are talks of a higher level abstraction over Vulkan to align us to competitors, but we're yet to find a way which keeps us aligned with the ethos of the library.
Also waiting for 3.0 is as good as waiting forever at the moment! We don't have any ETAs, only "targets" which are unlikely to be met (and we knew this when making the targets haha)

I mean VMA, sorry.

Ah, VMA will likely come at some point in 2.X as it's non-breaking. No date or cycle estimate, though.


Xdebug fails to move the cursor when debugging and shows the XDebug Context empty

The pointer stops in the breakpoint I put with Ctrl+F8, but I can't see anything in the Xdebug Context. The cursor sticks at the same line when I push Step Over (though the screen moves down!).
Notice that the pointer does stop in another place where there is not any (visible) breakpoint, and I can see the XDebug Context data and the cursor moving when I push Step Over. That's why this bug seems related to the previous posted issue [XDebug stops at a line without (visible) breakpoint]: https://github.com/martomo/SublimeTextXdebug/issues/125
I'm on Ubuntu 14.04LTS. I'm on Sublime Text 3 build 3065. I installed XDebug through the package manager of Sublime.

I pushed Ctrl+F6 (Step Over) several times. I got the following errors:

Please restart Xdebug debugging session. Disconnected from Xdebug debugger engine. 'NoneType' object has no attribute 'send'
Please restart Xdebug debugging session. Disconnected from Xdebug debugger engine. 'utf-8' codec can't decode byte 0xc3 in position 1023: unexpected end of data.

I have attached a screenshot with the error:

@chelder86 did you ever find out what caused this?
I have the same issue in my windows environment - it stopped working suddenly - , where it stops on a (visible) breakpoint, and I see the data being sent from the server, but the context and stack remain empty.

Also happens on Windows with Xdebug on Linux.

I have too the same issue... on OS X Yosemite.

Could you help us fix it ?

Same issue. OSX 10.11.
Is an OS independent bug and has to deal with handling of Unicode.
Anyone have any advice?

Exception in thread Thread-47:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "./xdebug/session.py", line 148, in run
  File "./xdebug/session.py", line 242, in execute
  File "./xdebug/session.py", line 274, in get_context_values
  File "./xdebug/protocol.py", line 185, in read
  File "./xdebug/protocol.py", line 137, in unescape
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 151, in sub
    return _compile(pattern, 0).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 85: ordinal not in range(128)


Add ablitity to interact with tabs

As there were multiple tabs, we needed a new functionality or helper that could interact with tabs, performing actions such as

closing tabs
moving between tabs

Can think of those at the moment, but will add them to this if needed.

If /pay tabs are the same as Pension Fusion then I think we can easily handle this on the selenium side of the framework. CQ class already does the hard work by returning a web element via wait_for_single_query_visible that we can then use the click action against.


ReferenceError: Router is not defined error after upgrade from 11.0.9 to 11.1.0

🐞 bug report
Affected Package
"dependencies": {
"@angular/animations": "^11.1.0",
"@angular/common": "^11.1.0",
"@angular/compiler": "^11.1.0",
"@angular/core": "^11.1.0",
"@angular/forms": "^11.1.0",
"@angular/localize": "^11.1.0",
"@angular/platform-browser": "^11.1.0",
"@angular/platform-browser-dynamic": "^11.1.0",
"@angular/router": "^11.1.0",
"@fortawesome/angular-fontawesome": "^0.8.1",
"@fortawesome/fontawesome-free": "^5.15.2",
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@microsoft/signalr": "^5.0.2",
"@ng-bootstrap/ng-bootstrap": "^9.0.1",
"@ngneat/until-destroy": "^8.0.3",
"bootstrap": "^4.6.0",
"devextreme": "20.2.5",
"devextreme-angular": "20.2.5",
"error-stack-parser": "^2.0.6",
"file-saver": "^2.0.5",
"rxjs": "^6.6.3",
"stream": "0.0.2",
"tslib": "^2.1.0",
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1101.0",
"@angular/cli": "^11.1.0",
"@angular/compiler-cli": "^11.1.0",
"@angular/language-service": "^11.1.0",
"@types/file-saver": "^2.0.1",
"@types/jasmine": "^3.6.3",
"@types/jasminewd2": "~2.0.8",
"@types/node": "^14.14.22",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"eslint": "^7.18.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~6.0.0",
"karma": "^6.0.1",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"npm-check-updates": "^11.0.2",
"protractor": "~7.0.0",
"terser": "^5.5.1",
"ts-node": "~9.1.1",
"typescript": "4.1.3",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-sources": "2.2.0"
}
Is this a regression?
Yes, the previous version in which this bug was not present was: 11.0.9
Description
Browser shows error below in console.
🔥 Exception or Error

Uncaught ReferenceError: Router is not defined
    at Module.Y1eN (toolbar.component.ts:21)
    at __webpack_require__ (bootstrap:79)
    at Module.uswQ (add-position-modal.component.ts:25)
    at __webpack_require__ (bootstrap:79)
    at Module.Sy1n (approval-queue.component.ts:16)
    at __webpack_require__ (bootstrap:79)
    at Module.ZAI4 (app.module.ts:1)
    at __webpack_require__ (bootstrap:79)
    at Module.zUnb (grid-resizer.service.ts:7)
    at __webpack_require__ (bootstrap:79)

🌍  Your Environment
Angular Version:

Angular CLI: 11.1.0
Node: 12.16.2
OS: win32 x64

Angular: 11.1.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.1101.0
@angular-devkit/build-angular              0.1101.0
@angular-devkit/core                       11.1.0
@angular-devkit/schematics                 11.1.0
@nguniversal/module-map-ngfactory-loader   8.1.1
@schematics/angular                        11.1.0
@schematics/update                         0.1101.0
rxjs                                       6.6.3
typescript                                 4.1.3

Closing as a duplicate of #19839 and #19852, being fixed in #19841.

Closing as a duplicate of #19839 and #19852, being fixed in #19841.


This is what I get when I try to update past 3.8.7

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at MultiMiner.UX.ViewModels.ApplicationViewModel.DownloadRequiredMiners() in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner\MultiMiner.UX\ViewModels\ApplicationViewModel.cs:line 2229
at MultiMiner.UX.ViewModels.ApplicationViewModel.StartMiningLocally() in d:\Data\Visual Studio Projects\Personal\MultiMiner\MultiMiner\MultiMiner.UX\ViewModels\ApplicationViewModel.cs:line 2051
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.0.30319.18063 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
MultiMiner.Win
Assembly Version: <IP_ADDRESS>7
Win32 Version: <IP_ADDRESS>7
CodeBase: file[Suspicious link removed]
Its driving me crazy I haven't been able to update MM I don't get why no problems with 3.8.7 and under as soon as I go above this happens
Thank You for your great work and what ever advice you could give me on this issue

You are running 4.0.0, please download and install 4.0.1 from the releases page:
https://github.com/nwoolls/MultiMiner/releases
And re-post the error message if it persists. Your error does not line up with the current code-base.

Looks to me like your XgminerConfiguration.xml contains AlgorithmMiner settings for miners that are no longer found in Miners. Did you extract the zip to a new location or extract the files over your previous installation?
Try extracting 4.0.1 over your 3.8.7 install or, alternatively, copying the Miners folder from your 3.8.7 install over to 4.0.1. Please let me know if / how that works.

@oakmaster can you please try this build to see if it resolves the error for you?
https://www.dropbox.com/s/o1x1n7qd9ctfhgb/MultiMiner-4.0.1.zip?dl=0

that worked thanks I was going nuts everytime I tried to install a update I just had to go into gpu settings change the kernel for x11 and a few of the othe backend miners I installed but thanks a lot love ur work

Fixed in 31aca8a800eebbef83187d4cea0e8152c0096692


Allow Tile Variants in AutoTile Painting

Summary
Right now, AutoTiles will regularize all used tiles to one of the default tiles. Instead, when explicitly selecting a tile variant that matches the required corner connectivity, that one should be used in favor of the default one.
Attachments
Tileset for testing:

Fixed. As it turns out, there was a problem with one of the Tile constructors, always resetting the base index to the one defined in the default AutoTile variant for the same connectivity state.


upload_trailer! not working and find app time-out frequently

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject
1.def upload_trailer!  in app_version.rb
2.def find  in Application.rb ====> fixed by #13272
Question Description
Q1.I got the problem the same as #11658 but I fix it in other way:
In method:grab_video_preview
Change Tempfile.new(['video_preview', ".jpg"]) to video_path[0,video_path.length - 4] + '.jpg'
And I save it .
Then I run it and no errors but I can't find the video in the appstore connect
So I am confused.
Can I get a solution ?
Thanks!
--[[ fixed by #13272
Q2.Recently,I was using Spaceship::Tunes.login successfully and A 504 Gateway time-out error message appeared frequently when I call the method Spaceship::Tunes::Application.find
I had to use begin and retry to find a app many times.
]]
✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.4

Ruby
2.3.3

Bundler?
false

Git
git version 2.14.3 (Apple Git-98)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13.4 (17E199)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.2.7

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode9.2.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
zh_CN.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.102.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

atomos
0.1.2

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.5

xcodeproj
1.5.9

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.3

gh_inspector
1.1.3

json
1.8.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.5.0

bundler
1.16.3

faraday_middleware
0.12.2

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2018.0812

mime-types
3.2.2

jwt
2.1.0

memoist
0.16.0

os
1.0.0

signet
0.8.1

googleauth
0.6.4

httpclient
2.8.3

google-api-client
0.23.4

emoji_regex
0.1.1

io-console
0.4.5

libxml-ruby
2.9.0

generated on: 2018-09-04

Does your video meet these requirements?
https://help.apple.com/app-store-connect/?lang=en/#/dev4e413fcb8

I am not sure what the issue is either currently. I'll try to take a look at it.

OK.Thanks a lot! I will check code again.


deny inline editing of records SS4

[Recoverable Error] Argument 1 passed to SilverStripe\Forms\Form::__construct() must be an instance of SilverStripe\Control\RequestHandler, instance of SilverStripe\GridFieldExtensions\GridFieldEditableColumns given, called in /var/www/html/straynew/gridfieldextensions/src/GridFieldEditableColumns.php on line 278 and defined

So this fixes the issue you mentioned, or just disables it to prevent the error?

yes this issue can fix by this.


Suppress parsing errors

Now if there is error during parsing robots.txt, reppy outputs it like this:
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/reppy/ttl.py", line 60, in ttl
    return max(self.minimum, parse_date(expires) - date)
  File "/usr/local/lib/python3.4/dist-packages/reppy/util.py", line 10, in parse_date
    raise ValueError("Invalid time.")
ValueError: Invalid time.

This isn't exception that could be handled by client code. Would be nice to have a way to suppress this error, or redirect somewhere else.

Thank you for the bug report. What version of reppy are you using? Looking at the current code, line 60 appears to already be wrapped in a try/except block for ValueError already.

Yes, it's wrapped in try/except. I mean it puts log message to console. Probably to avoid that message I just need to mute reppy logger somehow.

@demalexx you could set the logging level for reppy to CRITICAL, or remove all the handlers from that logging object (https://stackoverflow.com/a/7484605/173556)

I'm thinking these log lines should probably be demoted to logging.warn rather than logging.exception which defaults to the ERROR level.


remvoe resource operation

Description
Fix https://github.com/Azure/autorest.csharp/issues/2943
Fix https://github.com/Azure/autorest.csharp/issues/3877

remove the wrapper to use resourceOperation type as input/output model

Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

As you are fixing 2 bugs, could you add some test cases to verify those 2 issues are resolved? thanks

I will add test case in cadl-ranch.

As you are fixing 2 bugs, could you add some test cases to verify those 2 issues are resolved? thanks

I will add test case in cadl-ranch.

Thanks.  Approved this PR.


Repository Handling Processes

Things like setting up issue templates, updating the readme and such.
@Silverarmor EDIT:

[x] Feature Request template
[x] Automatic GitHub actions for publishing releases to PyPi
[x] Automatic GitHub action to draft release notes
[x] Readme clean up.
[ ] Clean up /Code Docs/codeGuidelines.md, /Design Docs/CORE VALUES.md, /CONTRIBUTING.md

@phcreery is working on the readme. More changes might be required.

Issue template for bug report is done.
Possibly to create an issue template for "Feature Requests", which links users to #867.
Or Possibly to clean up #867 and get a better feature request system.

New template for feature requests would be good.

@MikhailZex You happy to deprecate #867 and move to a system where feature requests each have their own issue, and are just labelled with feature-request?

That would be much better. We need to set up a template for that. I'll send a draft within 10 hours.

Done & updated as of v3.2.1
Feature Request template
Automatic GitHub actions for publishing releases to PyPi
Automatic GitHub action to draft release notes
Readme clean up.

Done & updated as of v3.2.1
Feature Request template
Automatic GitHub actions for publishing releases to PyPi
Automatic GitHub action to draft release notes
Readme clean up.


Fix HOME folder substitution when is not in the beginning of path

Closes #18532

Do I need to re-create the PR but with a branch named just bug?

Thanks for the PR, I plan to have a look soon. We just needed to add the label bug.


Question about pre-training on a new dataset.

Hi ,
I am trying to use the pre-trained model on my own dataset and in my own pipeline .
As recommended I am using - audioset_pretrain=True  and imagenet_pretrain=True .
In the code I noticed that we call the ASTmodel  again that results in an infinite loop. (line 129 in ast_models.py).
below is the snipped that I am referring to :
Is this a bug or an oversight on my part . Can you pls take a look ?
I am really looking forward to try AST on my pipeline .
`# now load a model that is pretrained on both ImageNet and AudioSet
        elif audioset_pretrain == True:
            if audioset_pretrain == True and imagenet_pretrain == False:
                raise ValueError('currently model pretrained on only audioset is not supported, please set imagenet_pretrain = True to use audioset pretrained model.')
            if model_size != 'base384':
                raise ValueError('currently only has base384 AudioSet pretrained model.')
            device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
            if os.path.exists('../../pretrained_models/audioset_10_10_0.4593.pth') == False:
                # this model performs 0.4593 mAP on the audioset eval set
                audioset_mdl_url = 'https://www.dropbox.com/s/cv4knew8mvbrnvq/audioset_0.4593.pth?dl=1'
                wget.download(audioset_mdl_url, out='../../pretrained_models/audioset_10_10_0.4593.pth')
            sd = torch.load('../../pretrained_models/audioset_10_10_0.4593.pth', map_location=device)
            **audio_model = ASTModel(label_dim=527, fstride=10, tstride=10, input_fdim=128, input_tdim=1024, imagenet_pretrain=False, audioset_pretrain=False, model_size='base384', verbose=False)`**

Thanks in advance for your time.

Hi @devesh-k,
although I am not the author I think I can answer that question - this will not cause an infinite loop.
The line that you refer to calls ASTModel with audioset_pretrain=False,
which ensures it will be skipped when checking elif audioset_pretrain == True
I ran the pipeline and it worked, so hopefully it will for you as well :)

Yes, I agree.
The reason is in https://github.com/YuanGongND/ast/blob/840f0d74a7ecb2fad4c333b79dd5239711b203f2/src/models/ast_models.py#L127, audioset_pretrain is set to false, therefore it won't go into the loop again.
If you have the error, please paste the code you create the AST model and the error message. Thanks!

Thanks so much for taking a look.
I am sorry for not being clear . I was referring to the readme , in which it is recommened to change audioset_pretrain == True
and I changed the value at two places :
Are we not supposed to change the value parameter at constructor level ?

as part of constructor (below):

   def __init__(self, label_dim=2, fstride=10, tstride=10, input_fdim=128, input_tdim=1024, imagenet_pretrain=True, audioset_pretrain=True, model_size='base384', verbose=True):
when the audio_model is called:

audio_model = ASTModel(label_dim=2, fstride=10, tstride=10, input_fdim=128, input_tdim=1024, imagenet_pretrain=True, audioset_pretrain=True, model_size='base384', verbose=True)

If you changed line 127 that Yuan referred to:
https://github.com/YuanGongND/ast/blob/840f0d74a7ecb2fad4c333b79dd5239711b203f2/src/models/ast_models.py#L127
then indeed it would be problematic, since it would generate a loop.
The purpose of this second call within init (which should have  audioset_pretrain=False) as I understand it, is to start with the graph representation (and weights, but we will replace them anyway) of the base DeiT model, so that we can update it with the changes necessary to run the AST.
If what you mean here

when the audio_model is called:
audio_model = ASTModel(label_dim=2, fstride=10, tstride=10, input_fdim=128, input_tdim=1024, imagenet_pretrain=True, audioset_pretrain=True, model_size='base384', verbose=True)

is simply creating the instance of the model in some code that you wrote - it will work fine.
I also don't think it's needed (or recommended) to change the default values in the constructor. The instruction only specifies what value you should set in the call when you create an instance.
Hope this helps :)

thanks for the clarification. I clearly misunderstood and changed the values at both places. I will update my code and try again.


added getall command

Added authfile (so you don have to specify username and password on the command line)
Added the getall command to get all the device status in one go

Has anyone seen this?

Can we do this as a first version and look to enhance it later?

any progress?


Revert "KYLIN-4121 Cleanup hive view intermediate tables after job be…

… finished"
This reverts commit 7b3576124bd4a155d8b86f66f6b1ac612570f97d.

Can one of the admins verify this patch?


When the code will be released ?

Hello,
I have seen your paper at NeurIPS 2018 and I found it very interesting since the approach is original ! I am also developing an automated package (https://github.com/AxeldeRomblay/MLBox) which is slightly different (I guess mine focuses more on practical use-cases and less on hyperparameters tuning). Also, I have two questions on your approach :

how do you update your matrix factorization if you have a new pipeline configuration to integrate ? The same if you have new datasets and you want to "refit" the factorization ?

Is the factorization method robust if you try different metrics ? (AUC, f1-score, etc for classification or MSE, MAE, ... for regression)

Looking forward to see the code and play with it ! Thanks again.
Axel

Sorry for the delay in posting!


Interop: Java setter not seen by ceylon code when it overrides a setter in a java interface

[@jpragey] This one bites when I tried to use jface preferences from ceylon (hence the names).
Java code:
public interface MyInterface {
}

public interface MyIPreferencePage {
    public void setContainer(MyInterface preferencePageContainer);
}

public class MyPreferencePage implements MyIPreferencePage {

    private MyInterface intf = null;

    public MyInterface getContainer() {
        return intf;
    }

    public void setContainer(MyInterface container) {
        this.intf = container;
    }
}

called by ceylon code:
shared class MyPrefPage() extends MyPreferencePage() {}

Leads to
[ceylon-compile] /home/jpragey/workspace4/MyApp/build/src/org/myapp/run.ceylon:3: error: formal member setContainer of MyIPreferencePage not implemented in class hierarchy
[ceylon-compile] shared class MyPrefPage() extends MyPreferencePage() {
[ceylon-compile]              ^
[ceylon-compile] 1 error

[Migrated from ceylon/ceylon-compiler#1368]

It's now 2017 and I'm also having this problem :)

Can you call the setter as a method?
On 17 Feb 2017 3:33 p.m., "Bastien Jansen"<EMAIL_ADDRESS>wrote:

It's now 2017 and I'm also having this problem :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ceylon/ceylon/issues/1368#issuecomment-280681683, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA1rf8zMN3ba36BjgOvZHVZgm_5MejYOks5rdb3egaJpZM4MEZ4Y
.

You mean when I don't refine it?


hover on dropdowns colored items

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal

text1

mouse hover - make it gray
Motivation and context
must - more dark color.

Utility backgrounds like this have no hover state. Plus you're putting a background on a parent element that's getting hidden by the background of a child element on hover. If you want to customize the dropdown colors, use the CSS variables or other alternatives.


updated v2.8.4

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Might as well not wait on the autotick bot. Nothing changed except for the packaging, so tagging this with automerge.

Ah, automerge didn't trigger, probably because I forgot to mark it as "Ready for review". Merging...


BidirectionalRNNEncoder does not support multi-layer RNNs

Cells for multi-layer RNNs are created a list of per-layer RNN cells stacked together by MultiRNNCell. The state representation for MultiRNNCell is therefore a list of states from each layer. However, _dynamic_rnn_loop only supports using single-layer RNNCells, and only checks the special case of LSTMCell where the state is a tuple of two tensors.
It is hard to extend such logic to arbitrarily nested cells (because theoretically a MultiRNNCell could contain other MultiRNNCells, although normal users don't do that). For now, we can extend the logic by checking whether the state is a list or tuple, and aggregate states over all elements in the list or tuple.

Closed by #50.


summary: add ubuntu pro status to the output

added the pro_status to command catalog.
added ubuntu_pro_status function which parses the <ua|pro> status output into a dictionary
added unit tests

Example output:
INFO: analysing localhost /
hotsos:
  version: development
  repo-info: c0e0028c
system:
  hostname: mustafa-ubuntu-workstation
  os: ubuntu jammy
  num-cpus: 32
  rootfs: /dev/mapper/vgubuntu-root 476349376 281168944 170909792  63% /
  unattended-upgrades: ENABLED
  date: Tue Mar 14 12:21:14 PM UTC 2023
  ubuntu-pro-status:
    services:
      esm-apps:
        entitled: 'yes'
        status: enabled
      esm-infra:
        entitled: 'yes'
        status: enabled
      livepatch:
        entitled: 'yes'
        status: enabled
      realtime-kernel:
        entitled: 'yes'
        status: disabled
    account: Canonical - staff
    subscription: Ubuntu Pro (Apps-only) - Virtual
    valid_until: Sat Jan  1 02:59:59 4000 +03
    technical_support_level: essential
  potential-issues:
    SystemWarnings:
      - Unattended upgrades are enabled which can lead to uncontrolled changes to
        this environment. If maintenance windows are required please consider disabling
        unattended upgrades. (origin=system.auto_scenario_check)

i've left a couple of inline comments but also, when i run this on a machine that has no ubuntu pro subscriptions it produces no output. It might be better to have it actualy say that there is no subscription e.g. I have
$ pro status
SERVICE          AVAILABLE  DESCRIPTION
esm-apps         yes        Expanded Security Maintenance for Applications
esm-infra        yes        Expanded Security Maintenance for Infrastructure
livepatch        yes        Canonical Livepatch service
realtime-kernel  yes        Ubuntu kernel with PREEMPT_RT patches integrated

This machine is not attached to an Ubuntu Pro subscription.

I've overlooked this; now it's added, thanks. Also tried to cover for the old "ubuntu-advantage-tools" before the pro stuff as well.

Ready for another round of review(s)

lgtm, thanks for this!


Request: avoid useless calls to notifyDataSetChanged when scrolling

You should only refresh the views of the RecyclerView when needed.
Currently what you do is this:
    @Override
    public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
        //On Scroll, agenda is refresh to update background colors
        post(new Runnable() {
            @Override
            public void run() {
                mCalendarAdapter.notifyDataSetChanged();
            }
        });
        ...
    }

First, the "post" is not needed because you are already on the UI thread.
Second, on most cases, when scrolling, the selected item doesn't change, so it's not needed to call notifyDataSetChanged.
Instead, you can check if the previously selected item is the same as the current one, and only if they are not, call notifyDataSetChanged.

This is required to animate the change of selected date while scrolling.
otherwise you will get not visual effects about the changes during the scroll, you can consider it cosmetic.
I might add an option to turn this feature off in the future, but it is totally valid.

What animations? I see a very simple change of what is selected.
There are no animations. I can't see animations even on the gif image of the repo.
See:
device-2017-10-24-162321.zip

Also, why would this part affect the animations? It will post the exact same event: item X was selected.

In addition, even if you ignore the part I wrote of notifyDataSetChanged, the onDateSelected isn't called here, even though the selected item has changed during the scrolling, because if you'd call "getSelectedDatePosition" while scrolling, you will get a different value than before the scrolling started.

Unless you really has test the changes you are proposing, this discussion leads to nothing.
Without the code that you suggest I remove the selector(the little rectangle at the bottom of the selected item) will not update its position while scrolling!

I have actually tested it, but I can suggest even without testing. It makes sense, and it doesn't need a lot of change to try it. It requires just a very few lines of code.
Here's the change:
    private HorizontalCalendarListener calendarListener;
    private final RecyclerView.OnScrollListener onScrollListener = new RecyclerView.OnScrollListener() {
        private int lastSelectedItem = Integer.MIN_VALUE; // new

        @Override
        public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
            if (newState == RecyclerView.SCROLL_STATE_IDLE) {
                //On scroll end, the dateSelect event is call
                //and agenda is center to the good item
                int position = calendarView.getPositionOfCenterItem();
                if (calendarListener != null) {
                    calendarListener.onDateSelected(mListDays.get(position), position);
                }
            }
        }

        @Override
        public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
            final int positionOfCenterItem = calendarView.getPositionOfCenterItem();
            //new part:
            if (lastSelectedItem == Integer.MIN_VALUE || lastSelectedItem != positionOfCenterItem) {
                //On Scroll, agenda is refresh to update background colors
                mCalendarAdapter.notifyDataSetChanged();
                lastSelectedItem = positionOfCenterItem;
            }
            //end of new part
            if (calendarListener != null) {
                calendarListener.onCalendarScroll(calendarView, dx, dy);
            }
        }
    };

Here's the result:
device-2017-10-24-170419.zip
Sadly, it doesn't help much with the lags the scrolling have, so I made a new request here:
https://github.com/Mulham-Raee/Horizontal-Calendar/issues/49

This little optimizations you are asking for have little to no impact on the actual performance, the only problem here is that you are using a very large range of Dates which makes not sense in an actual use-case in any app.
If you want to contribute to this project there is a bunch of open issues you can close by opening a pull request.
Regards

The large list is not the cause of performance. It's just more memory that the app uses.
You can try it on a small range too. Even 2 months.
Using a long range isn't a problem. Calendars are supposed to have practically no limit. The sample shows a very small range that can be used in calendar apps, even though the library is supposed to deal with calendars (its name is "Horizontal-Calendar").

Here, I used the exact sample that's in the repo, without any changes:

All I did is fast scrolling.

Yes calendars have limits, take for example Google calendar, you can only scroll down to year 2037 :)
What does the library name have to do with the implementation? NO Horizontal-Calendar doesn't refer that it should deal with Calendar object!
Calendar Definition:

a chart or series of pages showing the days, weeks, and months of a particular year, or giving particular seasonal information.

I can't see your point. Why should a calendar library be limited by dates it can show? Sure it should show a part of the dates possible at a given time, since the screen is limited by resolution, but why, for a scrolling calendar, it should be limited?
And, why do you keep on talking about this, when the topic is about something else: the library updates all of the views of the RecyclerView too many times.
I've even showed you here that this could be the reason for bad performance of scrolling:
https://github.com/Mulham-Raee/Horizontal-Calendar/issues/49
And this is by using an untouched-code. It's the same exact sample. No large range.
BTW, Google calendar app allows to scroll from 1970 to 2037. That's about 67 years.
And, events can be set there from 1900 to 2100. That's about 200 years.
I'm pretty sure they could have made it much larger, and still not suffer from performance or memory issues on the app. To me it scrolls smoothly, and to that you should try to reach, just as I try.
Developing for smartphones can be a hard work. You have to minimize the memory usage and also strive for best performance you can get.

I am not the one getting off topic here, I am just replying to your comments!
Again I said nothing about limits, yes theoretically it should have no limits, what I am seeing is that I didn't account for performance issues on large range of Dates because it is not a valid use-case in an Horizontal Calendar ( not a typical Calendar which takes up the entire screen)!
To the point of this issue:

I have already explained why I am making this call mCalendarAdapter.notifyDataSetChanged(); to update the selector position which means your issue is invalid it is not "useless".
Yes it causes minimal performance drop down which you pointed it out here #49, I will be investigating the cause and the solution to this but it is not a priority, unless you have a working solution!

Developing for smartphones can be a hard work. You have to minimize the memory usage and also strive for best performance you can get.
I am well aware of that, this is still a young project and needs more work :)

"This little optimizations you are asking for have little to no impact on the actual performance, the only problem here is that you are using a very large range of Dates which makes not sense in an actual use-case in any app."
"what I am seeing is that I didn't account for performance issues on large range of Dates because it is not a valid use-case in an Horizontal Calendar ( not a typical Calendar which takes up the entire screen)!
"
This is something you wrote. The performance that I've seen is on the sample too.
The limit is just a pointless limitation. It doesn't matter how a calendar is shown. It can be horizontal, vertical, circular,... You can't go to the definition of what a calendar is, just to justify this limitation, especially if one of your own examples is Google calendar, which has far larger range of dates.
And, again and again, I tell you: the large range has nothing to do with the performance.
It could only affect the initialization, but even then, it's very quick.
"I have already explained why I am making this call mCalendarAdapter.notifyDataSetChanged(); to update the selector position which means your issue is invalid it is not "useless".
"
As I wrote, the part that is useless is that you call call it when nothing has changed, which occurs quite a lot in the current code you have.
The reason that the extra calls are useless, is that for most cases, when you scroll, the selected item stays the same selected item, so there is no need to refresh all views again.
The correct time to call it, is when the selection actually changed, which is the purpose of this call.
"Yes it causes minimal performance drop down which you pointed it out here #49, I will be investigating the cause and the solution to this but it is not a priority, unless you have a working solution!
"
Currently I work on a direct approach, with the very minimal refreshes of views, and only when needed. I hope this will solve this issue. If not, I don't think there could be any better optimization in terms of the adapter.
The part of "only when needed" is what I wrote to you in the beginning of this thread.

The reason that the extra calls are useless, is that for most cases, when you scroll, the selected item stays the same selected item, so there is no need to refresh all views again.

I think you don't get how selectedItem is calculated here, selectedItem is always he item on the center of the screen, thus whenever and wherever you scroll selectedItem will change so the selector must move and selectedItemBackground must be applied etc....
onScrolled method is called whenever you reach the next item while scrolling, so your code to save the last slectedItem (center on screen) and compare to the current selectedItem is absolutely redundant!
Please stop talking about limitations, I didn't say that it should have any limitation, I just pointed out that I don't see any valid use-case for such a Horizontal Calendar to have  a large range of Dates and there is not, unless you give me a real app with such use-case.
My library has no limitations, and it will never have!
Also you said :

the "post" is not needed because you are already on the UI thread.

which is wrong again because you can't change call notifyChanges while the RecylerView calculating its scroll position. that is why I am using post  here so the code gets executed after the calculations are done!

I think you don't get how selectedItem is calculated here, selectedItem is always he item on the center of the screen, thus whenever and wherever you scroll selectedItem will change so the selector must move and selectedItemBackground must be applied etc....
onScrolled method is called whenever you reach the next item while scrolling, so your code to save the last slectedItem (center on screen) and compare to the current selectedItem is absolutely redundant!

Incorrect. It's what you did that is redundant. There is no need to call notifyDataSetChanged multiple times after the selection hasn't changed. Take this scenario: you moved a few pixels. A new selection was detected, so you call notifyDataSetChanged  . You moved just one pixel, and the selection is still the same. You still call notifyDataSetChanged . You move another, and still...
And I know why it's in the scroll listener, too.
To show why what you wrote is incorrect, just print to the log, the number of times it calls notifyDataSetChanged , with the currently selected item that is calculated there.
Here's a demonstration :

In what I offered, at least it filters out the un-needed calls.
I've tested my code too again at home. Still works fine. See the calls to notifyDatasetChanged:

Also, the "post" is not needed, and you can try it too. I've already tried the changes I wrote.
Even if it was needed, there is no need to re-create the Runnable instance over and over again. This increases GC, which is a bad thing for RecyclerView being scrolled. You should have used it this way instead:

"My library has no limitations, and it will never have!"
ok, so please don't say that I'm not supposed to use it with a large range of dates, because it shouldn't have this limitation.

Also, the "post" is not needed, and you can try it too. I've already tried the changes I wrote.
It doesn't work without it, please test test test before talking!

I don't know what you are trying to prove here, but your suggested changes will have absolutely 0 effect on the performance.
It is not running on a Nokia, most Android phones now days will not be affected by any of the thing you are trying to change.

I think on my Nexus 5x, you can see my fix is a bit better.
It's not the best I think it could be, but it's better.
This time I made a video, of before and after.
Here:
nexus5x.zip
Note that this is Nexus 5x, with Android O.
The result might be different for older devices with older Android versions, and you should think about it, because the library supports Android 14 and above.
It could also be about the same (as I've shown on OnePlus 2 with Android 6.0.1), because of optimizations done on Android O.

"It doesn't work without it, please test test test before talking!
"
I didn't write this. You did. And I have tested. On OnePlus 2 with Android 6.0.1, and on my Nexus 5x, which has Android O.

The thing is I don't see the lag you are experiencing.
Anyway I will integrate your recommendations and some changes of mine to optimize the performance while scrolling.
please move any further discussions here #49
Thanks

But what do you mean by "it's not running" ?
Also, I've found the reason of the slow scrolling to specific date:
https://github.com/Mulham-Raee/Horizontal-Calendar/issues/46


Rotating verb needs a cooldown

It can be abused with an autoclicker

https://user-images.githubusercontent.com/43253663/140457739-8567504f-8630-4a21-801a-99b173a18217.mp4

should verbs in general have a cooldown?

they should definitely have the option for it

should verbs in general have a cooldown?

Yes. You'd have to do some useless stuff to [RotateableSystem.cs] to actually give it cooldowns atm would be much better to just add a Verb.Cooldown = 100


Docs: Update ImprovingUserExperience.md

Motivation
Made link to a page more consistent with the linking style used throughout this file [e.g hitSlop and TouchableNativeFeedback], I almost missed the '(See docs)' link.
TouchableNativeFeedback was pointing to the wrong URL.
Test Plan
N/A
Release Notes

[DOCS] [BUGFIX] [ImprovingUserExperience.md] - Adjusted link for KeyboardAvoidingView
[DOCS] [BUGFIX] [ImprovingUserExperience.md] - Fix TouchableNativeFeedback URL

Nice, thanks!


Addition

I noticed in the third paragraph of Inheritance right after the example there is an omission. Destructors / finalizers can't be inherited either.

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

ID: 4343ac18-37c1-9a3e-0210-b69bf924db91
Version Independent ID: 19d63151-4d8a-30c6-35de-0c8c277cde25
Content: Classes - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/classes.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for raising this issue @Mandated
I've added this to our backlog to address when we next update this content.


[Bug] line-chart's top/bottom line's width thinner than others

Version
4.9.0
Link to Minimal Reproduction
https://codepen.io/appleqzw-the-encoder/pen/ExdzEQv
Steps to Reproduce
view the site  https://codepen.io/appleqzw-the-encoder/pen/ExdzEQv
Current Behavior
In this demo,l set xAxis.show:false and yAxis.show:false,then l set grid.top:0 and grid.bottom:0,I found that the width of the top line is thinner than the others, and the bottom line is the same

if setgrid.top:4 and grid.bottom:4,then the line width is right,is this a bug?
Expected Behavior
Is there any other way to solve this problem?
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

The line width is not involved in the calculation of the grid component. It may be enhanced in the future.


Xcode 13.3

Hello is there ETA for Xcode 13.3 (and I guess macOS 12 Monterey)?

Fill out the form for the private beta test on the link at https://github.com/actions/virtual-environments/issues/3649#issuecomment-1087979762.
Public ETA is way off.
No ETA is given for private beta yet either but shouldn't be too long as it's started for GitHub Actions.


In from expression, allow in to assign to pattern

Currently, the left-hand side of in must be a variable. We should allow it to be a pattern, to deconstruct rows coming from the right-hand side.
For example, we currently allow
from e in emps yield e.deptno + e.sal

but we should also allow
from {deptno = deptno, sal = sal, ...} in emps yield deptno + sal

and we currently allow
from p in pairs yield let val (left, right) = p in left + right end

but we should also allow
from (left, right) in pairs yield left + right

If the pattern contains constant elements then rows that do not match are skipped. For example,
= from (left, 2) in [("a", 2), ("b", 4), ("c", 2)]
-   yield left;
val it = ["a","c"] : string list

Fixed in b1f5955.


Should we always defer typed holes?

https://downloads.haskell.org/~ghc/8.4.3/docs/html/users_guide/glasgow_exts.html#typed-holes
At the moment in hie, we rely on the user to decide whether or not to defer typed holes.
This means that in the normal case (i.e. no special action taken), the presence of a typed hole will be treated as an error by GHC and it will terminate compilation, and return an error message.  This means we do not get a TypeCheckedModule, and a large chunk of useful information is not generated.
I think we should always pass -fdefer-typed-holes as a GHC option to ghc-mod, unless explicitly told not to in a config setting.
There may also be other similar settings we could use, to enable maximum information availability.
e.g. -fdefer-type-errors

Sounds like a good idea! Does it have an effect on how the types get inferred at the end, or do things get inferred the same with or without the flag?

Its the same, the only difference is that compilation continues, instead of stopping when the hole is found.


New regression: bbc format detection

Two recent changes to bbc extractor (maybe 0385aa6199206 ? or 35ec86689c )  might have caused a regression. ping @remitamine . See this build:
https://travis-ci.org/anisse/youtube-dl/jobs/145224381

It's more likely to be introduced in 0385aa6199206e4ba7745efec73be26c5826286a.


del bin shortcut ctrl shift del opens Chrome Delete Browser Data Page

Pressing ctrl shift del while viewing a bin opens a new page chrome://settings/clearBrowserData in Google Chrome

Can you please reopen this issue?


PostgreSQL. wrong json data escaping in SQL

What steps will reproduce the problem?
When trying to batchInsert into PostgreSQL json formatted data, which includes double curly brackets I've got wrong sql formatting
$items = [
  ['json' => '{"param" : "1", "param" : "{{value}}"}', 'id' => 1]
];

 $command = $this->db->createCommand()->batchInsert(
                    ModelName::getTableSchema()->name,
                    array_keys($items[0]),
                    $items
                );

What is the expected result?
Expected sql statement is
INSERT INTO table (id, json) VALUES (1,  '{"param" : "1", "param" : "{{value}}"}');

What do you get instead?
INSERT INTO table (id, json) VALUES (1,  '{"param" : "1", "param" : ""}');

Additional info
The problem is in quoteSql method of yii\db\Connection class.
( https://github.com/yiisoft/yii2/blob/master/framework/db/Connection.php#L846 )
Regex pattern replaces the values, not the table name
'/(\\{\\{(%?[\w\-\. ]+%?)\\}\\}|\\[\\[([\w\-\. ]+)\\]\\])/',

I used the next solution to fix this:
Created file "Connection" in components directory, then implemented my Connection class by default yii2 Connection.
namespace common\components;

class Connection extends \yii\db\Connection
{}

And override the quoteSQL method
public function quoteSql($sql)
    {
        return preg_replace_callback(
            '/(\\{\\{(%[\w\-\. ]+%?)\\}\\}|\\[\\[([\w\-\. ]+)\\]\\])/',
            function ($matches) {
                if (isset($matches[3])) {
                    return $this->quoteColumnName($matches[3]);
                } else {
                    return str_replace('%', $this->tablePrefix, $this->quoteTableName($matches[2]));
                }
            },
            $sql
        );
    }

Q
A

Yii version
2.0.?

PHP version
7.1

Operating system
CentOS 7

The problem is not only with Postgresql, but with quoteSql method of yii\db\Connection class.
For example I use this statement
$command = Yii::$app->db->createCommand("
  INSERT INTO texts
  SET field1=\"you should use utm_media=[[square_quotes]]\",
  field2=\" or you could use utm_source={{other_quotes}}\""
)

And I want $command->rawSql to be
 INSERT INTO texts
  SET field1="you should use utm_media=[[square_quotes]]",
  field2=" or you could use utm_source={{other_quotes}}"

But I get
INSERT INTO texts
SET field1="you should use utm_media=`square_quotes`",
field2=" or you could use utm_source=`other_quotes`"

Ah... Both [[ and {{ are special symbols in Yii and should be escaped: http://www.yiiframework.com/doc-2.0/guide-db-dao.html#quoting-table-and-column-names

And what about batchInsert?
@samdark thank you for the answer, but I found that problem may be not in the createCommand, but in
batchInsert
For example, I use the following code
$data = [
            [
                'key' => 'value',
                'text' => 'this is the {{text}}'
            ]
        ];

$sql = Yii::$app->db->createCommand()->batchInsert('tableName', array_keys($data[0]), $data)->rawSql;
$sql = Yii::$app->mysql->createCommand()->batchInsert('tableName', array_keys($data[0]), $data)->rawSql;

And I've got
'INSERT INTO "tableName" ("key", "text") VALUES ('value', 'this is the "text"')'
'INSERT INTO `tableName` (`key`, `text`) VALUES ('value', 'this is the `text`')'

For quoting it uses
vendor/yiisoft/yii2/db/Schema.php
public function quoteValue($str)
    {
        if (!is_string($str)) {
            return $str;
        }

        if (($value = $this->db->getSlavePdo()->quote($str)) !== false) {
            return $value;
        } else {
            // the driver doesn't support quote (e.g. oci)
            return "'" . addcslashes(str_replace("'", "''", $str), "\000\n\r\\\032") . "'";
        }
    }

And in this method no brackets is escaped?
BatchInsert method have to escape special characters, isn't it?
And the JSON data type is available in MySQL >= 5.7

This problem is not PG related - it's Yii2 related. And problem is only in batchInsert

https://github.com/yiisoft/yii2/issues/11242

Yes. It's a duplicate. Thanks for finding it out.


Add Array.SetType() to allow updating TypeInfo

Closes #372
This PR allows updating static types of Array container.

[ ] Targeted PR against main branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Codecov Report
Attention: Patch coverage is 69.23077% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 65.05%. Comparing base (86040b3) to head (431511d).

Files
Patch %
Lines

array.go
69.23%
3 Missing and 1 partial :warning:

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feature/stable-cadence     #374      +/-   ##
==========================================================
+ Coverage                   65.00%   65.05%   +0.04%
==========================================================
  Files                          14       14
  Lines                        8359     8372      +13
==========================================================
+ Hits                         5434     5446      +12
- Misses                       2228     2229       +1
  Partials                      697      697

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


Fix Find Command Invalid Argument Parsing

Notes on Expected Behavior:

find should return an error message
find -pa or find -sp should list down all patients or specialists respectively
find -pa randomletters should return an error message
find -sp randomletters n/Alex  should return an error message

I have some doubts about the intended behavior for find -pa/find -sp. Are we sure we don't want to throw an error for such a command? If not find -pa becomes the same thing as list -pa making list redundant. I think it makes sense to enforce the entering parameters for the find command. Would like to hear any opinions on this.

When coming up with the design on the new find command, @alvinlim277 and I decided that find -pa or find -sp can be an alternative to list. This is because the syntax of the commands semantically makes sense, like find (all) patients or find (all) specialists. It can provide users with alternative ways to execute the command, ultimately letting them decide which one they prefer more.
Would love to hear what you guys think of too @Kokseng1 and @angkyakdifp .

When coming up with the design on the new find command, @alvinlim277 and I decided that find -pa or find -sp can be an alternative to list. This is because the syntax of the commands semantically makes sense, like find (all) patients or find (all) specialists. It can provide users with alternative ways to execute the command, ultimately letting them decide which one they prefer more.

I agree that it semantically makes sense, but at the same time, it might also be unintuitive to some users who view the find command as a means to filter the list by some criteria (filtering the list by no criteria may seem redundant).
Ultimately, I'm happy with keeping this functionality in, but I think it would be a good idea to update the user guide to mention this behavior explicitly so that users who find this unintuitive don't erroneously assume that this is a bug in our implementation.


Hook: Create useI18N hook to replace this.$t

Outdated. Already present in https://github.com/CrisisCleanup/crisiscleanup-4-web


[Epic] Critical issue fixes/testing for Hyperion mode (before OSS release)

Performance issue fix on namespace list api
obfuscation of secret for 1) get resource 2) get desired manifest 3) get deployment history
Devtron app list and Helm app list - After page load, clicking on sort icon, then first time it doesn't sort, second time onwards it works (as first time, there is no sortOrder in query param)
Do not apply automatic selection of cluster (if only single cluster available) for full mode.
Show helm permission message for no app state only (Do not show if any app is being shown)
Capitalising Table header for app list
Rename “Desired manifest” to “Helm generated manifest”
margin added between Environment and tippy in header on app-list
CTA on full_mode feature page button text change and layout change (EAEmptyState)
fix for state issue when switching internal tabs in app detail
Terminal default type changed to sh from bash
App detail link changed on view chart detail page for devtron chart (on click on deployment rows) (it was sending on old UI)
Information icon for secret kind for EA
Namespace filter removal one case bug fix

Done

Done


Numbering of steps on VSCode are inconsistent depending on choices

One example is here:

There are inconsistencies all over the place where sometimes they have numbered steps, then they don't have numbered steps, sometimes they have steps that go up and down based on choices/options, etc. I think removing them altogether would be best if there is no uniform way of doing things.

sometimes they have numbered steps, then they don't have numbered steps

We only ever hide the step count at the beginning of a wizard, before we have enough information to show an accurate count. If you see something to the contrary, please let us know the repro steps. In the case of "Create Function" we have a pretty good idea of the count after the user picks a template (i.e. Event Hub vs. Timer) and show the count then.

sometimes they have steps that go up and down based on choices/options, etc.

Yes the step count fluctuates. We have had people tell us "That's a little weird", but it's always followed by "but actually it makes sense". If you select "Create New" vs. an existing item, you're going to have more steps because we need to know how to create the new item. It shouldn't go "down" unless you use the "back" button.

I think removing them altogether would be best if there is no uniform way of doing things.

The step count should give users a rough idea of how long the wizard will be and we think it's worth it for that reason. One of the top reasons I like it is because I know that unless it says "5/5", "7/7", etc. - I have more prompts left and I have a chance to go back before I hit that final "enter". Finally, we think it's worth keeping because the count is accurate based on their current choices, and we think accuracy is more important than the "uniformity" you described (always showing a count and never fluctuating that count).

sometimes they have numbered steps, then they don't have numbered steps

We only ever hide the step count at the beginning of a wizard, before we have enough information to show an accurate count. If you see something to the contrary, please let us know the repro steps. In the case of "Create Function" we have a pretty good idea of the count after the user picks a template (i.e. Event Hub vs. Timer) and show the count then.

sometimes they have steps that go up and down based on choices/options, etc.

Yes the step count fluctuates. We have had people tell us "That's a little weird", but it's always followed by "but actually it makes sense". If you select "Create New" vs. an existing item, you're going to have more steps because we need to know how to create the new item. It shouldn't go "down" unless you use the "back" button.

I think removing them altogether would be best if there is no uniform way of doing things.

The step count should give users a rough idea of how long the wizard will be and we think it's worth it for that reason. One of the top reasons I like it is because I know that unless it says "5/5", "7/7", etc. - I have more prompts left and I have a chance to go back before I hit that final "enter". Finally, we think it's worth keeping because the count is accurate based on their current choices, and we think accuracy is more important than the "uniformity" you described (always showing a count and never fluctuating that count).


Ligatures broken with 24-bit color in Neovim

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

Running on the latest version and up-to-date archlinux, ligatures do not work if neovim has set termguicolors enabled.

I have this as well, on MacOS Sierra with the latest Hyper.app and neovim 0.1.7.

This seems like something that might have unintentionally been fixed since then. I'm going to test it out and report back.

I configured Hyper to use FuraCode Nerd Font. I found that ligatures were not enabled by default. Installing hyper-ligatures got them working, but in Neovim they would sometimes not work. For instance, if I went to a new JavaScript tab and typed <= the ligature would not appear right away, but when I left the tab and went back to it, the ligature was there. I tried disabling 24 bit color in Neovim and still had the same issue. So, ligatures aren't supported by default, but they work sometimes with the hyper-ligatures plugin, and doesn't seem to matter whether 24 bit color is enabled in Neovim.

That's https://github.com/xtermjs/xterm.js/issues/958


UAR-594: Nationality fix

JIRA link
https://companieshouse.atlassian.net/browse/UAR-594
Change description
Change for Nationality appearing in a different format for MO
Work checklist

[ ] Tests added where applicable

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

@jkayyala -- build has failed ??? changes look fine but


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3700

Questions ?
Please refer to the Backport tool documentation


BUG (Anime title + episode number on the command page)

Program version
3.3.0
Operating System
Windows
Type
Cli
Service
Crunchyroll
Command used
aniDL --service "crunchy" -s %N% -e %E% --skipdl --novids --noaudio --dlsubs ar
Show ID
G649C7EGD
Episode
1
Console Output
🛑The anime title does not appear in the new version, as well as the episode number
Enter the ID of the Anime:G649C7EGD
Enter the episode number:1
=== Multi Downloader NX 3.2.0 ===
[S:G649C7EGD] The Misfit of Demon King Academy Ⅱ (Season: 2) [SIMULCAST, SUB]

Subtitles: en, es-419, es-ES, pt, fr, de, ar, it, ru
✓[01|E:GD9UVX0VW] ☆ 1 - A Lesson by God [23m40s, SUB, STREAM]

Subtitles: en, es-419, es-ES, pt, fr, de, ar, it, ru

=== Multi Downloader NX 3.3.0 ===
[Z:undefined]
✓[01|E:GD9UVX0VW] ☆ A Lesson by God [23m40s, SUB, STREAM]
- Versions: ja
- Subtitles: en, es-419, es-ES, pt, fr, de, ar, it, ru
🔽🔽🔽🔽
Previously
[S:G649C7EGD] The Misfit of Demon King Academy Ⅱ (Season: 2) [SIMULCAST, SUB]
✓[01|E:GD9UVX0VW] ☆ 1 - A Lesson by God [23m40s, SUB, STREAM]
Now
[Z:undefined]
✓[01|E:GD9UVX0VW] ☆ A Lesson by God [23m40s, SUB, STREAM]
Additional Information
No response

I can confirm the bug, and it is fixed with the next release

I can confirm the bug, and it is fixed with the next release

Thank you ^^

As the previous 2 things say, I've gone ahead and released version 3.3.1 which addresses this issue


Fix a crash in the TGA loader with malformed input

Version for master.

Thanks a lot to Carlos Ramirez Catano for reporting this bug. Attached are the files that show the issue.
poc-input.zip

Thanks!

Thank you guys for the quick response. This issue needed immediate attention.
Keep up the good work.

For the reference, the bug fixed by this PR was assigned those two CVEs:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26825
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26826

Hello @hpvb @akien-mga
As Godot Engine is a leading open source project for game development, I was thinking it would be appropriate provide some additional assurance to the community regarding quality and security best practices of the project. Recently, this is a key factor for companies/development teams when choosing their technology stack.
As an initial step the project could adopt something like https://securitytxt.org, do and document security reviews and other activities.
What do you think?
I am myself willing to support these initiatives.
Looking forward to hear your thoughts.

@CarlosAndresRamirez As an update, we deployed security.txt on the Godot website: https://github.com/godotengine/godot-website/pull/332
We're also adding a dedicated security contact email: https://github.com/godotengine/godot-website/pull/365


Margin only for top/bottom

Hey,
It would be a good idea to be able to set what directions I need to margins/paddings.
I would need Tailwind mostly for top/bottom margins and not left/right.
And so with such a settings I could make the CSS size smaller.
Is that possible?
Best,
Tom

Have you tried using PurgeCSS? That will remove every class you are not using in your markup.

OK.
It's some idea.

Yes, But I had to use custom extractor for escaped selectors.
I used once unCSS but it was not perfect and so didn't believe in such tools.
But this PurgeCSS looks good.

Tailwind lets you choose what direction you want the margins and padding. You can already choose to only have margins top and bottom and not to define the left and right.
left: ml-4
right: mr-4
top: mt-4
bottom: mb-4
left and right: mx-4
top and bottom: my-4
source:
https://tailwindcss.com/docs/spacing

Not possible at the moment — if you wanted to do this for your own projects though you could write a plugin to replace the built-in margin module:
https://tailwindcss.com/docs/plugins
...and disable the built-in margin module in the modules section of your config.
No real plans to make the built-in module more customizable in this regard.

OK.
Thanks Adam.


Concur messaging.

We just had a meeting with Concur and they have NOT fixed their messaging on automatic user provisioning and claims they will stick with text file based provisioning for 20 more years. :-(

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

ID: 4e98995c-09f1-2c1d-fd55-27f978e8262c
Version Independent ID: 40a8b6e7-dae3-172a-5373-896372b30174
Content: Tutorial: Configure Concur for automatic user provisioning with Azure Active Directory
Content Source: articles/active-directory/saas-apps/concur-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

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

@Beamex can you provide some more clarity/details around what you're suggesting in regards to the docs? It sounds like what you're saying is that the docs are not accurate per Concur's policy and they have decided to go down a different path that this doc will no longer be aligned with.

Yes, correct. The people we have just met with from Concur seem to prefer to use an more old fashioned "csv based" approach with the justification that it is needed anyways to "enrich" the information in Concur.
If they really do not support this option then it should not be there.
Personally I would prefer a modern solution using some kind of SCIM like user provisioning like this offering via Azure AD
/ @lex

From: Frank Hu<EMAIL_ADDRESS>Sent: Tuesday, March 3, 2020 7:15:52 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Alex<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Concur messaging. (#49366)
@BeameXhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBeameX&data=02|01||c7dca94fe44e44f7596208d7bf9ee8cb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637188561536396459&sdata=TVU7EvfXlPAHcR0ZYjafm5GgV879rQDBaEOvAYKaKY0%3D&reserved=0 can you provide some more clarity/details around what you're suggesting in regards to the docs? It sounds like what you're saying is that the docs are not accurate per Concur's policy and they have decided to go down a different path that this doc will no longer be aligned with.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F49366%3Femail_source%3Dnotifications%26email_token%3DAFHRAQ4PWVHFZCFEJVKT7Q3RFVCNRA5CNFSM4LAL5DE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENUSCRA%23issuecomment-594092356&data=02|01||c7dca94fe44e44f7596208d7bf9ee8cb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637188561536406464&sdata=L3Xnm1OJjDWp9yGegvE5qVekCZR5Y7EiF4taG%2BOGUiA%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFHRAQYEHHWRCHB25HKR5D3RFVCNRANCNFSM4LAL5DEQ&data=02|01||c7dca94fe44e44f7596208d7bf9ee8cb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637188561536406464&sdata=1CQiAPfIc%2BbyN1fmBA50Y1WDGPc2QZBCdCAkT2Nj7QA%3D&reserved=0.

@zchia Can you please update the article? I think the Concur team has updated the page to support Azure AD.

@twimmers Can you please talk to Concur team on this and get this resolved?

Concur is still in the works to complete their SCIM endpoint. Once it's completed, there will be an app added to the Azure AD app gallery but we don't yet have a timeline at this point

#please-close

Is there any update to this?
Concur released their SCIM endpoints awhile ago.


Compatibility chart in README hard to grok

TL;DR: I'd like to mush USA and Japan columns together.
I come back randomly to see if anything's changed in compatibility and the split between USA and JP makes it hard to scan, especially when a title doesn't exist in a particular country.
Considering they match 100% of the time, I think it'll be easier for newcomers to scan and understand the compatibility. Notes can be added if USA or JP differ.
Worth it?

Currently the compatibility is the same for all regions of a given game, at least what is known. However I don't know if that will always be the case. It is as far as we know for now, but it's entirely possible for different regions of a game to exhibit different compatibility with the emulator, even though we haven't seen that yet. For this reason, I'd like to keep them as separate columns at least until the remaining titles become compatible.
That said, this has been brought up before (not necessarily the USA/JP split, but readability in general), particularly with the use of heart vs broken heart emoji's. So I don't mind having a ticket open for this in the meantime.

Maybe it's helpful enough to fill in the empty slots with a "no" symbol (eg 🚫) might be more clear? The more I think about it the more I'd still like to keep JP/NA separate, if nothing else to remind me what I need to test again when going through them. But perhaps it's the fact that the not working cells are empty that's the real issue here.

I’ll give that a try and we can decide collectively.


[PyTorch][duplicate][CI] FP8 cuda graphs

This PR adds the following features (high-level):

make_graphed_callables API similar to the PyTorch API with some additional arguments for FP8 usage. Support for fp8 weight caching via existing is_first_microbatchargument is also retained.
Restructuring and amax reduction logic with a simpler design and handling of various parallelisms with minimal book-keeping compared to the previous approach.
Forward and backward amaxes are reduced within the scope of current iteration, solving numerous bugs w.r.t. checkpointing and removing the need to save global buffers.
Support for nested/multiple FP8 autocast contexts with different recipes and distributed groups.
Amax reductions are module independent and happen at at autocast level. This also resolves numerous bugs and allows for support for MoE/LoRA like models.
Redesign of transposes for Float8Tensor that makes the transposes persistent for graph capture. Also fixes use cases for the vanilla optimizers (non fp8-distopt).
The scaling inverses for weight tensors are no longer frozen when caching weights across microbatches.

/te-ci pytorch


need to use BranchType enum for dev api

crash when I try to create a function of arch type AVR
/home/user/.binaryninja/repositories/plugin_status.json doesn't exist
Loaded Python plugin 'binja-avr'
Analysis update took 0.006 seconds

Types for platform AVR failed to load: error: file '/home/user/binaryninja/types/platform/___.c' not found
Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 315, in 'calling callback function'
  File "/home/user/binaryninja/plugins/../python/binaryninja/architecture.py", line 439, in _get_instruction_info
  File "/home/user/.binaryninja/plugins/binja-avr/__init__.py", line 1098, in perform_get_instruction_info
    result.add_branch(CallDestination, addr + dst*2 + 1*2)
NameError: global name 'CallDestination' is not defined
Analysis update took 0.003 seconds

return types are now BranchType.return_type
Examples:

BranchType.FunctionReturn
BranchType.CallDestination
BranchType.CallDestination
BranchType.UnconditionalBranch
BranchType.TrueBranch
BranchType.FalseBranch

Other changes

TextToken => InstructionTextTokenType.TextToken

I'm not sure if this applies to stable, so I'm not going to submit pull request yet

I think you can submit now, stable requires those changes also (I also made them but since there is already the issue..)


[CARBONDATA-3596] Fix exception when execute load data command or select sql on a table which includes complex columns after execute 'add column' command

Problem:
After execute 'add column' command, it will throw exception when execute load data command or select sql on a table which includes complex columns
Solution:
Put complex type columns at the end of dimension columns after execute 'add column' command.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?   No

[ ] Any backward compatibility impacted?   No

[ ] Document update required?   No

[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1021/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1026/

retest this please

retest this please

retest this please

retest this please

retest this please

add to whitelist

retest this please

please check the failure in
http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1039/

@brijoobopanna Thanks. I am fixing now.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1061/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1077/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1071/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1063/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1073/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1079/

@jackylk @dhatchayani @ravipesala This pr is ready, please help to review, thanks.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1071/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1072/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1081/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1090/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1080/

@jackylk @dhatchayani @ravipesala please help to review, thanks.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1073/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1082/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1091/

LGTM


HDDS-6417 - Fix console output message when container balancer does n…

…ot start
What changes were proposed in this pull request?
After the fix, better console output will be returned when container balancer fails to start.
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
HDDS-6417
How was this patch tested?

Patch was manually tested using docker-compose
Relevant unit test was modified to test the fix.

@nilotpalnandi Thanks for the contribution! I have committed the PR to master branch.


Move template location from the 'project' folder to 'login'

https://www.kbsoftware.co.uk/crm/ticket/1930/

@mdinsmore This is ready for testing I think...  Feel free to merge if you think it is good.


Public volumes not displayed

Public volumes "Hippocampus" and "UFO" appear in the list of incoming volumes but are not displayed when selected.

Private volumes are also not displayed. They can be uploaded but don't appear in the viewer.

@xgui3783 Can you please have a look?
From what I see the problem is not with the backend but in voluba itself.
Voluba retrieves info json but does not request any chunks.
Public and private volumes can be displayed without problems using vanilla neuroglancer.

from console, it seems the image service backend is no longer providing
voxel_offset property?
compare:  https://neuroglancer.humanbrainproject.org/precomputed/JuBrain/v2.2c/colin27_seg/info
vs  https://zam10143.zam.kfa-juelich.de/chumni/nifti/public/UFO_Unknown_Functional_Observation/info
?

Message ID: @.***>


OpenTelemetry access logs: Missing span ID breaks trace-context correlation

Description:
When an Envoy is configured to use both OpenTelemetry tracing and access_log exporting to OpenTelemetry, the log records sent downstream do not contain the span identifier, and that means that the trace context referenced in the OpenTelemetry log records is invalid. The following is a snippet of the debug output of the OpenTelemetry collector debugger from the updated OpenTelemetry example from my fork:
opentelemetry-opentelemetry-1      | Resource SchemaURL:
opentelemetry-opentelemetry-1      | Resource attributes:
opentelemetry-opentelemetry-1      |      -> log_name: Str(otel_envoy_accesslog)
opentelemetry-opentelemetry-1      |      -> zone_name: Str()
opentelemetry-opentelemetry-1      |      -> cluster_name: Str()
opentelemetry-opentelemetry-1      |      -> node_name: Str()
opentelemetry-opentelemetry-1      | ScopeLogs #0
opentelemetry-opentelemetry-1      | ScopeLogs SchemaURL:
opentelemetry-opentelemetry-1      | InstrumentationScope
opentelemetry-opentelemetry-1      | LogRecord #0
opentelemetry-opentelemetry-1      | ObservedTimestamp: 1970-01-01 00:00:00 +0000 UTC
opentelemetry-opentelemetry-1      | Timestamp: 2024-05-01 09:41:34.775021 +0000 UTC
opentelemetry-opentelemetry-1      | SeverityText:
opentelemetry-opentelemetry-1      | SeverityNumber: Unspecified(0)
opentelemetry-opentelemetry-1      | Body: Empty()
opentelemetry-opentelemetry-1      | Trace ID: 766dd16149e6fb945d09db78b7dc07e5
opentelemetry-opentelemetry-1      | Span ID:       <------ BORKED
opentelemetry-opentelemetry-1      | Flags: 0
opentelemetry-opentelemetry-1      |    {"kind": "exporter", "data_type": "logs", "name": "debug"}
opentelemetry-opentelemetry-1      | 2024-05-01T09:41:35.773Z   info    ResourceSpans #0
opentelemetry-opentelemetry-1      | Resource SchemaURL:
opentelemetry-opentelemetry-1      | Resource attributes:
opentelemetry-opentelemetry-1      |      -> service.name: Str(front-envoy)
opentelemetry-opentelemetry-1      | ScopeSpans #0
opentelemetry-opentelemetry-1      | ScopeSpans SchemaURL:
opentelemetry-opentelemetry-1      | InstrumentationScope
opentelemetry-opentelemetry-1      | Span #0
opentelemetry-opentelemetry-1      |     Trace ID       : 766dd16149e6fb945d09db78b7dc07e5
opentelemetry-opentelemetry-1      |     Parent ID      :
opentelemetry-opentelemetry-1      |     ID             : fdbb20b1c5d77be5
opentelemetry-opentelemetry-1      |     Name           : egress localhost:10000
opentelemetry-opentelemetry-1      |     Kind           : Client
opentelemetry-opentelemetry-1      |     Start time     : 2024-05-01 09:41:34.775021 +0000 UTC
opentelemetry-opentelemetry-1      |     End time       : 2024-05-01 09:41:34.778252 +0000 UTC
opentelemetry-opentelemetry-1      |     Status code    : Unset
opentelemetry-opentelemetry-1      |     Status message :
opentelemetry-opentelemetry-1      | Attributes:
opentelemetry-opentelemetry-1      |      -> node_id: Str()
opentelemetry-opentelemetry-1      |      -> zone: Str()
opentelemetry-opentelemetry-1      |      -> guid:x-request-id: Str(ff62aa28-ba62-9083-b21a-16e16424c298)
opentelemetry-opentelemetry-1      |      -> http.url: Str(http://localhost:10000/trace/2)
opentelemetry-opentelemetry-1      |      -> http.method: Str(GET)
opentelemetry-opentelemetry-1      |      -> downstream_cluster: Str(-)
opentelemetry-opentelemetry-1      |      -> user_agent: Str(curl/8.1.2)
opentelemetry-opentelemetry-1      |      -> http.protocol: Str(HTTP/1.1)
opentelemetry-opentelemetry-1      |      -> peer.address: Str(<IP_ADDRESS>)
opentelemetry-opentelemetry-1      |      -> request_size: Str(0)
opentelemetry-opentelemetry-1      |      -> response_size: Str(37)
opentelemetry-opentelemetry-1      |      -> component: Str(proxy)
opentelemetry-opentelemetry-1      |      -> upstream_cluster: Str(envoy_cluster2)
opentelemetry-opentelemetry-1      |      -> upstream_cluster.name: Str(envoy_cluster2)
opentelemetry-opentelemetry-1      |      -> http.status_code: Str(200)
opentelemetry-opentelemetry-1      |      -> response_flags: Str(-)

The problem is the empty span id in the log, which instead should be fdbb20b1c5d77be5.
In terms of OpenTelemetry, the trace context reported in the log record is invalid, and will be ignored by tools that would use it, like Dash0.
The issues seems to me to be here: there is no setting of the span id. Confusingly, it seems that the log_context abstraction does not even have a field for the span id, which makes me wonder how other tracing systems, like Datadog's proprietary ones, are supposed to successfully use this correlation, as afaik, pretty much all modern distributed trace systems use (at least) a pair of trace identifier and span identifier to specify correlation with spans.
The way I would fix it, is to add a getSpanIdAsHex() to the Span abstraction in Envoy, leave it unimplemented for other tracers (although, as I wrote above, I suspect a few would need it), and use that to invoke log_entry.mutable_span_id() on the OpenTelemetry SDK.
Repro steps:
Try the updated OpenTelemetry example from my fork, send a request to one of the envoys, and check the debug output on the console.
Admin and Stats Output: N/A
Config:  see the updated OpenTelemetry example from my fork
Logs: See above.
Call Stack: N/A

Thanks for posting this @mmanciop! I think the fix is fairly straightforward. I was able to find a bit of spare time to look at this. I think I have fixed the issue in the source code (though I'm not completely sure yet as I haven't had the time to build/test it). The tests are going to take a little longer to fix though

related to https://github.com/envoyproxy/envoy/issues/30268

@ashishb-solo works pretty nicely :-)

This screenshot is from Dash0, and shows the correlation between logs and spans using the OpenTelemetry demo updated according to the #33925 PR.


Testing and Validation for Interactions

Test interaction mechanics for functionality and balance.

[x] Conduct testing to ensure proper functionality.
[x] Optimize the system based on test results.

Core logic handled by SIF in #61 needs to be expanded


Not authorized because not authenticated

I want that only shop administrators can login
In my devise.rb:
config.ldap_check_group_membership = true

And in my ldap.yml
authorizations: &AUTHORIZATIONS
  group_base: CN=Users,DC=LDAPTEST,DC=local
  ## Requires config.ldap_check_group_membership in devise.rb be true
  # Can have multiple values, must match all to be authorized
  required_groups:
    # If only a group name is given, membership will be checked against "uniqueMember"
    - CN=ShopAdministrators,CN=Users,DC=LDAPTEST,DC=local

But the rails log say me:
  User Load (1.0ms)  EXEC sp_executesql N'SELECT TOP (1) [users].* FROM [users] WHERE [users].[login] = N''peter.anguille'''
  LDAP: LDAP dn lookup: sAMAccountName=peter.anguille
  LDAP: LDAP search for login: sAMAccountName=peter.anguille
  LDAP: LDAP search yielded 1 matches
  LDAP: Authorizing user CN=David Ramírez,CN=Users,DC=LDAPTEST,DC=local
  LDAP: LDAP dn lookup: sAMAccountName=peter.anguille
  LDAP: LDAP search for login: sAMAccountName=peter.anguille
  LDAP: LDAP search yielded 1 matches
  LDAP: Not authorized because not in required groups.

With a LDAP explorer I check that this user is memberOf that group.
Other possible way, the same:
# If an array is given, the first element will be the attribute to check against, the second the group name
    - ["memberOf", "CN=ShopAdministrators,CN=Users,DC=LDAPTEST,DC=local"]

I try with this configuration too:
config.ldap_check_attributes = true

and in ldap.yml:
require_attribute:
   memberOf: CN=ShopAdministrators,CN=Users,DC=LDAPTEST,DC=local

Any ideas?

Hello, ramidr! I actually have the same issue, did you resolve it??

Hi ramidr and gleb93, moved into the same issue. Have any suggestions you could offer me?

+1 Can't figure this out!!

devise will use the database to authorize. do you need to have added a user to the database so then a token can be made for that user.  so in config/initializers/device.rb     make sure
config.ldap_create_user = true    default is false

I am stuck at the same issue. Not sure how the suggestion my gmaxwell would look in code form

Hello,
I facing same issue.

+1

Have you uncommented lines?
<<: *AUTHORIZATIONS

in your Environment sections of ldap.yml

devise.rb
config.ldap_check_group_membership = true
config.ldap_ad_group_check = true
#both of them should be TRUE, otherwise it is not working
ldap.yml
#group_base: should be like
group_base: ou=groups,dc=test,dc=com
required_groups:

cn=users,ou=groups,dc=test,dc=com
<<: *AUTHORIZATIONS #should be uncomented


Include jest typescript folders in linting

The jest folder is currently excluded from linting which makes editing these files more annoying.
This change simple includes the jest folder typescript files in linting.

Jumping in quickly to :+1: . This accounts for at least 1/3 of my recent headaches.
I am happy to review this in half an hour or so.

As much as I like bikes, I don't care what colour their storage structure is.
I enthusiastically approve this PR.


About Data and code

At code in main.py, line 60 and line 61 use "Argentina" data. Can I use another country's data?
At code in main.py line 60, 61
feature_len = train_data_model2[0]['Argentina'].shape[1]
aux_len = train_data_AUX[0]['Argentina'].shape[0]

Yes, of course. The purpose of the lines are to extract the feature lengths, thus it's possible to use any other countries.