Not Valid Video or Audio file

Sir,
When I add the file to PyAutoSRT it says not valid video or audio file. but version 0.1.9 is working fine.
can you help me to solve this? i am not experienced in python to do that

same problem, but its workin on version 0.18

I just upload version 0.2.0
Please try it and let me know if you're still get some bugs

Sir,
When I add the file to PyAutoSRT it says not valid video or audio file. but version 0.1.9 is working fine. can you help me to solve this? i am not experienced in python to do that

I've deleted some old buggy release versions, please try the latest version.
I just added a few features to a new update, so maybe it's still has some bugs.
Please let me know if it's working or not.

same problem, but its workin on version 0.18 on my case

I just upload version 0.2.0
Please try it and let me know if you're still get some bugs.

same problem, but its workin on version 0.18 on my case

I just upload version 0.2.0 Please try it and let me know if you're still get some bugs.

Same Issue sir. But successfully loaded in to 0.1.9

Any code to execute python ?

Same Issue sir. But successfully loaded in to 0.1.9
Any code to execute python ?

Same Issue sir. But successfully loaded in to 0.1.9
Any code to execute python ?

I thinkl I found the culprit.
It looks like the problem came from wrong ffprobe that I zipped in every release.
Please get the latest original ffmpeg from : https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z


Double Gzip of prometheus' metrics

Hi,
In case and you try to use this package along with an existing Gin router that have Gzip middleware, /metrics will get Gzipped twice and won't be readable.
For example:
import (
	"github.com/gin-gonic/gin"
	"github.com/zsais/go-gin-prometheus"
)

ginRouter := gin.New()
ginRouter.Use(gzip.Gzip(gzip.BestCompression))

// Add Prometheus
p := ginprometheus.NewPrometheus("gin")
p.Use(ginRouter)

// Add custom route
ginRouter.GET("/ping", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"message": "pong",
		})
	})

// Run
ginRouter.Run(":8080")

Now browse:
http://localhost:8080/ping - {"message": "pong"}
http://localhost:8080/metrics - gibberish
Suggestion:
Please export hidden functionality to allow uses to have more control over this package.

PR is provided.


install.bat use --build-lib instead of copy file

same as the install.sh way
when build with python 3.11, the .pyd file is in lib.win-amd64-cpython-311. can not pushd use pushd build\lib*3.*

Thanks.


Double-check default toolbar button position in Safari

This would affect the symmetry of the welcome screen, so I'm inclined to leave as-is.


HTML

HTML
User Story
As a boot camp student,
I want a Prework Study Guide website,
so that I can review all the information I learned throughout Prework.
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow
WHEN I open the console in my browser
THEN I can see the four topics I learned listed along with a suggestion on what I should study first
WHEN I visit the website using the URL
THEN I can access my website from any browser

Added sections to the HTML page and provided some information on HTML and git.


support for XCode 6.3

please add this into the DVTPlugInCompatibilityUUIDs key in the info.plist
9F75337B-21B4-4ADC-B558-F9CADF7073A7
thanks for the plugin

+1

+1

+1

+1

+1

Solved in #31


这个问题能行修复么

warning element-ui > async-validator > babel-runtime ><EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
babel-runtime  这个库  还用的是<EMAIL_ADDRESS>

same problem

真的是太老了

too old


Bugfix/improve performance merged changes

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 14
- Added 22

Complexity increasing per file
==============================
- Ginger/GingerCoreCommon/Repository/RepositoryItemBase.cs  1
- Ginger/GingerCoreCommon/Repository/LazyLoadListConfig.cs  1
- Ginger/GingerCoreCommon/Repository/LazyLoadListDetails.cs  4
- Ginger/GingerCoreNET/Run/RunSetConfig.cs  1

Complexity decreasing per file
==============================
+ Ginger/Ginger/AutomatePageLib/NewAutomatePage.xaml.cs  -2
+ Ginger/GingerCoreCommon/GeneralLib/ObservableList.cs  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 14
- Added 23

Complexity increasing per file
==============================
- Ginger/GingerCoreCommon/Repository/LazyLoadListConfig.cs  1
- Ginger/GingerCoreCommon/Repository/LazyLoadListDetails.cs  4
- Ginger/GingerCoreCommon/Repository/RepositoryItemBase.cs  1
- Ginger/GingerCoreNET/Run/RunSetConfig.cs  1

Complexity decreasing per file
==============================
+ Ginger/Ginger/AutomatePageLib/NewAutomatePage.xaml.cs  -2
+ Ginger/GingerCoreCommon/GeneralLib/ObservableList.cs  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 14
- Added 23

Complexity increasing per file
==============================
- Ginger/GingerCoreCommon/Repository/LazyLoadListDetails.cs  4
- Ginger/GingerCoreCommon/Repository/LazyLoadListConfig.cs  1
- Ginger/GingerCoreCommon/Repository/RepositoryItemBase.cs  1
- Ginger/GingerCoreNET/Run/RunSetConfig.cs  1

Complexity decreasing per file
==============================
+ Ginger/Ginger/AutomatePageLib/NewAutomatePage.xaml.cs  -2
+ Ginger/GingerCoreCommon/GeneralLib/ObservableList.cs  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 14
- Added 25

Complexity increasing per file
==============================
- Ginger/GingerCoreCommon/Repository/LazyLoadListDetails.cs  4
- Ginger/GingerCoreNET/Run/RunSetConfig.cs  1
- Ginger/GingerCoreCommon/Repository/RepositoryItemBase.cs  1
- Ginger/GingerCoreCommon/Repository/LazyLoadListConfig.cs  1

Complexity decreasing per file
==============================
+ Ginger/Ginger/AutomatePageLib/NewAutomatePage.xaml.cs  -2
+ Ginger/Ginger/AutomatePageLib/AddActionMenu/SharedRepositoryLib/RepositoryItemUsagePage.xaml.cs  -1
+ Ginger/GingerCoreCommon/GeneralLib/ObservableList.cs  -2

See the complete overview on Codacy


Multi-version testing configuration

Run tests against all supported versions, as well as linting, with a single command.
Things I'm unsure of:

Explicitly installing the dependencies in the requirements.txt in each environment. This reduces the number of times we have to specify our development dependencies, but possibly is not a fair test of the normal installation procedure.
The circleci configuration got a lot simpler, but we lose parallelism between the lint and build steps. How best to test multiple python versions in parallel is not documented (issue raised here https://github.com/circleci/circleci-docs/issues/4005 ).

Wait, what does this do? Why do we need a local config? Can't we simply do all these things on circleci/gh-actions?

Tox means that you can run the tests and lints against all supported python versions, in exactly the same way CI does, on your local machine. It saves lots of pushing, waiting, and history rewriting. We can do those things on CI, but being able to do it locally in an ergonomic fashion can also be helpful.

I think the benefit of having it run locally is outweighed by the disruption this PR causes in the config. (That's another way of saying I don't understand what's going on. :smile: tox, tox-pyenv, pyenv global, envlist... phew.)
Compatibility issues with older Python version have never been a big problem for meshio, and in case someone did notice something (happens about once a year), the fix is trivial.
I'm inclined to close this.

OK, I can scrub tox from the CI config and just use CircleCI's docker images to cover the different python versions. Shall I remove the tox config file entirely or leave it there for the benefit of developers?

P.S. I'll squash down all of these commits... testing CI configs is always a pain.

I think this will require you to change the repo's github actions configuration, as there is no longer a job called "build".
The failure on py35 is an actual test failure due to getting the wrong result which is fine on other versions. That's an implementation problem, and a good argument for testing against all python versions :wink:

So, I just added multiple python version to gh-actions with about 5 lines of code. https://github.com/nschloe/meshio/pull/590
No tox necessary.

OK, so does that mean that .circleci/ is another vestigial CI configuration which needs to be removed?


Bug when pressing r

Bug
Try to press fr on the following line (^ is the cursor position):
^"   au ColorScheme * hi! link Sneak Search

Then you'll see the following error message:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
E11: Invalid in command-line window; <CR> executes, CTRL-C quits
Error detected while processing function quick_scope#DoubleTap[7]..quick_scope#HighlightLine[9]..<SNR>103_get_highlight_patterns:
line   59:
E714: List required
Error detected while processing function quick_scope#DoubleTap[7]..quick_scope#HighlightLine:
line    9:
E714: List required

I was able to reproduce, except I don't get the E11: ... lines. I think they may not be related to quick-scope, the rest of the output definitely is and I am pushing a fix now.
Feel free to reopen this issue if you still get the E11s with the fix.

It works. 👍


Critical dependency: the request of a dependency is an expression

What version of this package are you using?
2.0.6 but is same for all
What operating system, Node.js, and npm version?
What happened?
What did you expect to happen?
nohting it works normal
Are you willing to submit a pull request to fix this bug?

Duplicated https://github.com/aralroca/next-translate/issues/1029

yes its deplucated but any solotion is provided? i searched all issue befor posting this one


Add snapshot request handler

The general flow is as follows:

A snapshot is requested by the user, the handler listens for this"pre-snapshot" request on serial port 4. When triggered, it runs a scripts as defined in /etc/default/instance_configs.cfg file. When finished (error, timeout, or success), a response is written back to serial port 4.

A similar process occurs on a "post-snapshot" request on serial port 4.

As this adds some fields to the ini configuration file, the docs https://github.com/GoogleCloudPlatform/compute-image-packages/tree/master/packages/python-google-compute-engine will have to be updated after this PR is in.

Making a new and improved one!


Sandbox make wob to crash instantly on aarch64

Looks like the seccomp calls are wrong under this arch (maybe others?)
Bad system call

Please provide the output of
strace wob

And you can set WOB_DISABLE_PLEDGE to temporary disable seccomp.

https://paste.sr.ht/~stacyharper/9a155872c3940f15e5f108fdb1630e5a8828a700
Yap, I avoided the problem with this environment variable:
https://git.sr.ht/~mil/sxmo-utils/commit/55aac86762c904a666b465cd95507e22093a3792

This is not the wob_pledge() call itself that crash, we crash when calling  wl_display_roundtrip(app->wl_display) after the seccom has been setup

Should be fixed in https://github.com/francma/wob/commit/cd854397bca5d2a06c312e7cd877c8ab334449fa
Can you try if it fixes the problem?

It does! Thanks

Could you flag a minor? Or I will have to backport it to my distro

https://github.com/francma/wob/releases/tag/0.15.1


Refactoring elab exception handling

The Lean.Exception type used during elaboration comes in two flavors: errors and internal exceptions
/-- Exception type used in most Lean monads -/
inductive Exception where
  /-- Error messages that are displayed to users. `ref` is used to provide position information. -/
  | error (ref : Syntax) (msg : MessageData)
  /--
  Internal exceptions that are not meant to be seen by users.
  Examples: "postpone elaboration", "stuck at universe constraint", etc.
  -/
  | internal (id : InternalExceptionId) (extra : KVMap := {})

At the time of writing, the internal exceptions are
builtin_initialize postponeExceptionId : InternalExceptionId ← registerInternalExceptionId `postpone
builtin_initialize unsupportedSyntaxExceptionId : InternalExceptionId ← registerInternalExceptionId `unsupportedSyntax
builtin_initialize abortCommandExceptionId : InternalExceptionId ← registerInternalExceptionId `abortCommandElab
builtin_initialize abortTermExceptionId : InternalExceptionId ← registerInternalExceptionId `abortTermElab
builtin_initialize abortTacticExceptionId : InternalExceptionId ← registerInternalExceptionId `abortTactic
builtin_initialize autoBoundImplicitExceptionId : InternalExceptionId ← registerInternalExceptionId `autoBoundImplicit
builtin_initialize isDefEqStuckExceptionId : InternalExceptionId ← registerInternalExceptionId `isDefEqStuck
builtin_initialize checkAssignmentExceptionId : InternalExceptionId ← registerInternalExceptionId `checkAssignment
builtin_initialize outOfScopeExceptionId : InternalExceptionId ← registerInternalExceptionId `outOfScope
builtin_initialize congrHypothesisExceptionId : InternalExceptionId ← registerInternalExceptionId `congrHypothesisFailed
builtin_initialize backtrackExceptionId : InternalExceptionId ← registerInternalExceptionId `backtrackFormatter
builtin_initialize delabFailureId : InternalExceptionId ← registerInternalExceptionId `delabFailure
builtin_initialize analyzeFailureId : InternalExceptionId ← registerInternalExceptionId `analyzeFailure

As documented, internal exceptions are mainly about visibility. Note however that this usage is not enforced by the API: as try catch etc catch any Exception, it is very easy to accidentally catch internal exceptions as well and e.g. add them to the log (where they will be printed as "internal exception: ...").
While errors can/should generally only be handled generically such as by putting them into the log, internal exceptions give an easy and efficient way to be handled case by case via the exception ID. An interesting question is whether they in turn should never be handled in a generic way; some names like abort* certainly imply that they should never be caught except by the specific code handling them, but for others we should make sure there are no cases where e.g. generic backtracking logic is supposed to catch them (very quick review: Term.observing and Elab.App make sure not to backtrack on generic internal exceptions but Elab.Match does not). If this is indeed the expectation, it would be good to ensure this in the API by leaving internal exception catching to catchInternalId(s).
To complicate matters, there is one more kind of exception used in the code: "runtime exceptions", which currently consist of heartbeat and max rec depth exceptions (see Exception.isRuntime). They are encoded as errors but a comment mentions this is mostly because of module dependencies. On the one hand, they are handled individually in some cases so having an internal exception ID would make sense; on the other hand, they are clearly user-visible. So it might be the case that this is better handled by giving errors an ID as well which we will want at some point for purposes of an error index.
One special handling of runtime exceptions is that they in fact are not caught by CoreM try-catch by default (but are in CommandElabM, unclear to me whether that inconsistency should exist). This behavior can be turned off with a flag but it turns out that both uses of this flag follow the exact same pattern:
     withCatchingRuntimeEx
       try
         withoutCatchingRuntimeEx do
           tryBranch
       catch ex =>
         if ex.isRuntime then
           runtimeBranch
         else
           throw ex

So as a first refactoring, the flag could be replaced with a new combinator, changing the code to
tryCatchRuntimeEx
  tryBranch
  fun ex => runtimeBranch

For context, this all came up because in #3940, I fixed elab interruption (checkInterrupted) to never be caught inside the elaborator, which raised the questions above for the existing exceptions.
In summary, possible refactoring steps to be done here:

[ ] replace with(out)CatchingRuntimeEx with new tryCatchRuntimeEx combinator
[ ] (unclear) make try-catch ignore internal exceptions (and not just interrupt and runtime exceptions)
[ ] (unclear) make runtime exceptions internal exceptions

that they in fact are not caught by CoreM try-catch by default (but are in CommandElabM, unclear to me whether that inconsistency should exist)

I have spent a good amount of time debugging an issue caused by this once. In that situation, I expected the CoreM try-catch to catch all exceptions and was surprised to find out it did not. The other way to ensure consistency would be to also skip runtime exceptions in CommandElabM try-catch, but I would personally prefer that they were always caught everywhere, and there was a separate catchEverythingButRuntimeAndInternal construct.

I think the main reason for not catching some exceptions by default is that it is just too easy to unintentionally misuse try-catch otherwise. If there is no reasonable default, it may be better just not to implement MonadExcept and provide only specifically named combinators. Out of interest, would it have helped you if the try-catch types would have been more clear about its behavior, e.g. if we had separate MonadExcepts for internal exceptions and errors?

Out of interest, would it have helped you if the try-catch types would have been more clear about its behavior, e.g. if we had separate MonadExcepts for internal exceptions and errors?

My mistaken mental model was that try-catch catches everything. I suppose anything that makes it clear that that's not the case would have prevented the confusion. Out of the various possible clarifications, ones that encode that in the type system rather than just writing a docstring are probably preferrable since not many people will read the docstring for a well-understood construct such as exception handling.


[FEEDBACK] Let us know how you use the Script Editor Web Part

As part of the ongoing effort in SPFx, the product team is collecting details around the usage scenarios to see how we can help "citizen developers" in their journey to modern experiences. We are looking for the scenarios where you use Script Editor Web Part such as the various use cases,  what kind of data is being shown, where the data is coming from (SharePoint lists, page, LOB apps etc.,), what is the actual functional/business scenario behind the usage of script editor and content editor web part.
Please add your comments and let us know how and why you use the Script Editor Web Part in SharePoint!
Thanks!

At Sympraxis, we use the SEWP or CEWP All The Time. We build real applications using these incredibly important Web Parts. I started doing client side development because in several projects back in the SharePoint 2007 days, we simply could not deploy any code to the server. (They were ahead of their time?) At the same time, people wanted real applications. So, whether it was truly kosher or not, the CEWP gave us a way to build these application without bothering the IT folks one bit.
Fast forward to 2017, and in many organizations, not a lot has changed. I have multiple clients who won't let me deploy anything to SharePoint Online. Client side development is still a key tool in my toolbox. "Why not use SPFx?", you ask? Well, I can't deploy anything. I also cannot built what I think of a Single Page Apps (SPAs) - applications that basically take over PlaceholderMain. With a little whizzy CSS @julieturner built, we can even sweep the Quick Launch off to the side so we really "own" the page beneath the top nav.
So, what do we build? The easy answer is "What do you want?" The majority of applications we build sit on top of lists and libraries which hold content much like database tables would. By using a smart information architecture taking advantage of Content Type and Lookup columns, we build a related set of lists and libraries. Then we use client side code referenced in a CEWP or SEWP to haul that code into the mage to make magic.
These "applications" could be little things like something you might use a CSWP with a custom template for (but that actually a lot more work, IMO  - I like to edit my JavaScript outside comments) to full blown dashboard or applications that drive an entire department or business's activities.
A few examples:

An Asana-like overlay to tasks lists (which are actually a pain to work in if you have a lot of tasks or a big team)
A scientific process tracking system which guides the scientist through experiments and collects the appropriate data at each stage, suggesting next actions
A property management inspection system showing metrics and to do items
An investment research portal to collect all research and disseminate to traders
and so many more...

In many cases, we continue to use out of the box forms for the list and library content management - because they simply work. In other cases, we're building "forms" into our SPAs.
All this inside the humble SEWP or CEWP.

@sympmarc Thanks! Can you also tell us more about how you manage these scripts - as in, do you load JS/CSS files or write complete HTML/JS code in the block? I believe you showed me once how you use a library in the site to store and load scripts?

As I've been using SPFx, I definitely see myself using SEWP/CEWP a lot less... because they essentially do the same thing -- Inject JS. However, there are many times where you want to have simple JS functionality on a page.... where building an entire SPFx project is overkill, for something that could be done in minutes using a SEWP.

@chakkaradeep Here's a post from @julieturner that gives some of our thinning on code storage and management. We use desktop IDEs (editors, whatever you want to call them) and gulp tasks to push changes to locations in SharePoint. Very much separation of concerns: CSS in .css files, JavaScript in .js files, etc.

We do a lot of site provisionng scenarios where we populate home pages and other pages with functionality driven by SEWP. A lot of Search-driven rollups, carousels, Pinterest-style card layouts.  We'll use Angular and/or React and REST API calls to fetch and render our data. Most of our data comes from SharePoint - publishing Pages libraries, document libraries, calendars, etc. We also do a fair amount of Yammer integration, via REST.
As with Marc's experience, our approach has evolved over time, but very often our web parts will only consist of a single Angular directive, with the supporting script files living in Azure blob storage and referenced via the master page or a custom action. Obviously the Modern experience changes the game for this approach.
We use Node/NPM/Gulp to develop our client side solutions and use and CI to push new builds (JS/CSS and supporting files) out to Azure blob storage.

As with others here, I too have used the CEWP to improve and provide users with modern user interfaces that provide a superior user experience than SharePoint provides out-of-the box.  Some of the benefits,  IMO, are:

Time to market (or to deployment)
With CEWP, we are able to quickly apply  changes and/or introduce functionality. Iteration of design and requirements often happens in near real time with the customer... All leading to happy users.

Empowerment - Open to all
Anyone can do this... That is a tremendous benefit behind these types of WebParts. It empowers nearly everyone user of SharePoint to be creative in coming up with solution to real business problems - after all, these are the folks in the front lines using the system.

Solve the business need without the heavy deploy process
Heavy applications with server-side dependencies take time to get through the process in med.-to-large organizations before they are actually deployed.  This approach frees application developers from over complicated deployment processes and tries to move at the speed that the business is moving.

As a Web UI/UX Application Developer, the approach CEWP allows us to take advantage of is very similar to a traditional web app and to what SPFx is driving towards: your web app provides the interface only and consumes data from the public APIs from where it is hosted.  As @sympmarc mentioned, I too have been building full scale client side applications and hosting them on SharePoint through the use of CEWP since SP 2007 - despite never having held a professional SharePoint title.  Some examples:

SDLC Requirements/Design documents management system
Resource Booking system (rooms, projectors, etc..)
Multi-Product support coverage and callout schedules
Event Planning System with full commenting (conversation) and picture tagging
Kanban Task Management System

All of these were done by using a WebPart page and addin one single webpart to it - a CEWP.

I think you guys at Microsoft underestimate the obstruction that is IT. The average person in a large organization has zero traction with them, and they can use these two Web Parts to accomplish things the business absolutely needs without going through processes which are usually convoluted and often unproductive - if we can even find a person who is willing to explain that the processes exist.
Things like SPFx, Azure Functions, etc. are absolutely the right path forward, but IT needs to change its spots or we're right back to the barriers we had with server-deployed code.

 I'd still be interested to hear what your users think of how effectively you help them.

Like most of the others here I think, regardless of the functional requirements, most customizations done with CEWP or SEWP are about combining data from SP lists or libraries and visualize them in a certain way. For my customers these are mostly dashboards on the welcome page of some site.
Reasons to customize:

Lists in SP are used as a relational db. Data has to be fetched accordingly -> Custom code is needed.
Search is indexing too slow, data must be available as soon as it's been entered -> Custom code is needed.

One major issue with all customization models in SharePoint is deployment if you're talking about enterprise customers (in my experience smaller businesses are more pragmatic about this). As @sympmarc points out, it's not because of the technology but because of IT departments that are stopping us from deploying stuff.

My SharePoint team consists of just one person, me, and I do both roles Admin and Dev, which grants me no limitations to what I can do in my environment, but unfortunately most SharePoint admins don't have these freedom as pointed out by @sympmarc . I tried server-side code before with some consultants and that left me with no desire to do anything server-side anymore due to the complexity of deploying or retracting solutions, not including the downtime the farm would have to go thru. We wanted something simple and less time consuming so we started doing everything client-side, and using the CEWP and sometimes the SEWP, we were able to achieve better results when it came to deployment and application performance.
What do I use the CEWP and SEWP for? I use SEWP just to inject small code blocks, but for larger things, I use the CEWP. These large things vary from custom HTML forms to CSS for look and feel enhancements and JavaScript to add functionalities not available out of the box. And the biggest of them all is dashboards. Users want to be able to see data as soon as it's available, which is immediately.

Where do I start?
Create Apps to validate and add/edit/read data in lists (Very much like the SharePoint Framework web parts). These are usually done through a content editor web part so i can load lots of required libraries like jQuery, momentJS, jQueryUI, bootstrap, chartJS, etc.
Also used it before to pull profile information into a web part such as profile picture, mysite links, etc.
Used it as a quick way to hide quick launch nav from a single page or apply a browser CSS fix - that's a pretty big one.
Looking forward to doing this all in typescript but it will take alot of time to move over apps with thousands of line of JS into typescript. I guess CSS fixes or changes in the new model will have to be using an application customizer which is very long winded....
Hope that helps!

I've been using CEWP since 2010 to achieve multiple scenarios
-People search with intellisense
-Paging (top & bottom with page number & page size)
-Image gallery viewer
-UI dom manipulation that can't be done with CSS
-Script execution based on audience E.g : Display welcome message to new employees
-Custom New/Edit/View form
Most of the time the data is coming from SharePoint.
CEWP are usually linked to a TXT file stored under /style library/ and referenced on specific pages.
Thanks!

I use CEWP to deploy "widgets"; this article explains how I manage the deployment: https://bob1german.com/2016/11/11/alm-for-widget-solutions/
The use case is pretty much any custom web part or form: display SharePoint content in some unusual way; surface features from an LOB application; bring in other cloud data (oh no, not another weather web part! :-) ). I realized early on that the add-in model had its limitations and I started writing Widgets; a lot of others did this as well (I partnered w/Julie Turner on "Widget Wrangler"; I know Doug Ware had another approach as well. We all had a different spin on it.)
At this point I personally prefer SPFx for this kind of thing but there are still reasons to use CEWP:

Business user wants a solution and IT won't cooperate, so it needs to work for a site collection admin. This could be solved by a site collection level app catalog.
Solution needs to work in an older version of SharePoint that doesn't support SPFx. Ideally this kind of solution is later ported to SPFx; I've had a lot of success doing that with 95%+ code reuse. This could be solved by back-porting SPFx (or a subset) to earlier versions of SharePoint, as was demonstrated last year at the EU SPC if I remember correctly.
I need a form or SPA rather than a web part or extension - this could be solved by providing a general SPA template and a List-based SPA template for SPFx that allows writing SPAs for AllItems, New, Update, and Display views on a list.

If all these issues were addressed, I wouldn't need CEWP/SEWP anymore.
The other reason for CEWP/SEWP is when devs aren't comfortable with the SPFx stack. I personally don't buy that as a sufficient reason, but it's very real, and I've had a number of clients say that SPFx scares them due to the learning curve and perception that so many underlying dependencies could cause it to collapse. This kind of thing is no big deal to most commercial web devs out there, but a lot of folks in the SP community aren't ready to embrace TypeScript, WebPack, and all those nested npm packages that give you warnings that they're deprecated when you install them. Enterprise IT quakes in their boots when they see that!
So if you're looking for user stories for a modern CEWP/SEWP, I'd suggest the three "solutions" noted above as the 1st step - to minimize the need at all. Then, find a way to do something like the Embed web part only don't limit it to iFrame type embeds; a lot of the interesting ones won't work in iFrames. Provide a tenant and site collection admin settings to allow all embeds rather than just iFrames, and let non-devs party on with regular JS embeds if they want to. That would also allow easy porting of "widget" type solutions without having to climb the SPFx learning curve. Meanwhile, SPFx would be more compelling due to the property pane, extensions, and general robustness vs. an ad-hoc widget.
My two cents - thanks for asking!

We use SEWP/CEWP anywhere between small UI change and full blown "applications".
Typical scenarios:

UI changes on individual pages, such as hiding left navigation --> SEWP
Change "New item" text on top of library to "New somethingelse" --> SEWP
List content (list items, lists, subsites, site collections) neatly, e.g., using DataTables, fetched usually via REST --> SEWP if one instance or very simple, otherwise CEWP with .html link (from /_catalogs/masterpage/xyz)
Full blown apps (jQuery or Angular), in some cases app contains multiple pages, so multiple CEWPs, with Angular and others you can do with just one  --> CEWP with .html link

Lately SEWP hasn't been that nice to work with due to Chrome XSS problem.  I don't see how the small changes 1 and 2 would be feasible to do otherwise. With 3 and 4 I'm already moving to SPFx when on SPO.

Phew, my morale went up after reading this topic. Hopefully from September until now not everyone has switched to SPFx... :)))
I was beginning to think that I was one of the only ones to still use heavily the CEWP for dev.
All of our scenarios are based on UI customizations and data retrieving from SP Lists and Libraries. Very similar to what I read above.
How do you approach the code storage and deployment topics?
SPFx is obviously the new way but I still have a lot to learn and test in order to put a project in production.

I have created Picture library and folders has been created for each customer. Once user opens the folder I suppose to show the folder's client name and Clients's address on near to the folder's name. I have achieved this using this web part in classic view but in modern view i am not able to achieve. Please check the screenshot below. In modern i have got only two placeholders i.e top and bottom but we need placeholders in other places also like below.


Hard to understand how get_class_id_to_real_class_id works.

Currently, I read ov_segment/SAN/superpixel2superpoint.py and am so confused about the code below.
label_set[mask_org_len] = label*100 + get_real_class_id[get_class_id[mask_category]] # 少一个noise
I think the variable label is something like instance label, which can distinguish the instances from each other.
get_class_id is a dict, which can return a corresponding base class for a sub class, i.e. get_class_id[0]=0 get_class_id[1]=0, which means that 'car' and 'sedan' belong to a base class car.
get_real_class_id maps a base class id to lidar seg id. For example, base class 30 which corresponds to 'bonnet under the picture' in self.categories will be mapped to lidar seg id 31 related to vehicle.ego, which is reasonable. But why base class 0 which corresponds to ('car', 'sedan', 'hatch-back', 'wagon', 'van', 'mini-van', 'SUV', 'jeep') in self.categories will be mapped to lidar seg id 17, base class 1 -> lidar seg 23 .........
Correct me if I'm wrong :)  Sincere thanks in advance.

Yes, that's correct，u solved it yourself！

According to nuscenes, lidar seg 17 is Portable Personal Mobility Vehicle, whose definition is A small electric or self-propelled vehicle, e.g. skateboard, segway, or scooters, on which the person typically travels in a upright position. Driver and (if applicable) rider should be included in the bounding box along with the vehicle. It seems not consistent with the base class  0('car', 'sedan', 'hatch-back', 'wagon', 'van', 'mini-van', 'SUV', 'jeep'). Similarly, lidar seg 23 is about debris, but the base class 1 is about 'truck'........
Do I mistake the label of lidar seg on nuscenes?

I remember it should be Data Annotation section in https://www.nuscenes.org/nuscenes.

Got it! This is a knowledge gap for me before, sincerely thank for your patience. :)
May I ask when your checkpoint will be released?

Actually, I want to wait until the paper is published.

Actually, I want to wait until the paper is published.

Get it! Hope your work will be accepted soon.
I attempted to reproduce the results of your model by running your configuration files. The results I currently get differ somewhat from those in your Table 3, and I want to ensure that I did not misunderstand your guidance on Github.
(1) By running python pretrain.py --cfg_file "config/pretrain_san.yaml" , I obtained the pretrain model from the first stage. Then, by running python annotation_free.py --cfg_file "config/annotation_free_san.yaml" --pretraining_path "UOV_pretrain_san_40e.pt" , I obtained the final model. Its results should correspond to 47.73 in Table 3. Is it right? However, doing this only gets me a model with around 40 mIoU.
(2) I ran annotation_free.py on a single 4090, and it only took about 5 hours to complete the training, which is quite different from the 18 hours mentioned in the paper for a V100 despite of  the performance gap between v100 and 4090.
(3) BTW, By running python annotation_free.py --cfg_file "config/annotation_free_san.yaml" , its performance should be 46.26. Is it coorect?
Could these two issues be related to training: 'parametrize' in config/annotation_free_XXX.yaml you mention on Github? Correct me if I am wrong.

It's not the problem of "training: 'parametrize' in config/annotation_free_XXX.yaml."
10 mins an epoch, r u sure about that?
Please contact me at my email and I will send you the checkpoints.

(1) should be 47.42 mIoU and (3) should be 44.16 mIoU in Appendix B Table 3.

It's not the problem of "training: 'parametrize' in config/annotation_free_XXX.yaml." 10 mins an epoch, r u sure about that? Please contact me at my email and I will send you the checkpoints.

Sincere thanks to you. Have sent you an emil.
I have checked the log and found that it seems to take 10 mins an epoch.

Sincere thanks to you. Finally, I find that the problem is due to the pretrain weight produced by my incorrect config. After I fix the config and get the correct pretrain weight, I am able to get the same result.

congrats.


CFE-814: Add ImageSetConfig examples

Description
This PR simply adds more use cases in docs/examples for:

Use case : default channel has to be included… => needs dev team to flesh it out
targetCatalog => working on one
Oci => preferably with the paragraph on oci

Fixes # CFE-814
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Simply non regression on existing automated tests
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

/jira refresh

cc @bergerhoffer

/lgtm

/label jira/valid-bug


Added TxBody for advanced Era. WIP

"Added the TxBody type with validity intervals and forge fields. Tied together with the Timelocks scripts. TxBody is newtype wrapped around a MemoBytes.
It exports a set of HasField instances appropriate for a TxBody. Also created a
test file with a minimum number of test, testing the HasField use and round-trip
CBOR properties. Pay close attention to the discussion about Mutually recursive
data types where this is a type family in the recursion cycle."

There is a recursive cycle in the types used to define TxBody
-- TxBody -> TxIn -> TxId -> TxBody
-- The invariant that these types enforce is that the hashed scripts in
-- a TxId is a hash of the same type TxBody that the TxId occurs in. It would
-- not be good if a hash of a Goguen body appeared in a TxId inside a Shelley TxBody.
We deal with this by Parameterize TxId by the type it should hash, and Parameterize TxIn by the same type which it passes to TxId's
The approach (in a simplified form) looks like this
data TxId body era = TxId (Hash (Crypto era) body)
data TxIn body era = TxIn (TxId body era) Coin
data TxBody era = TxBody { inputs :: Set (TxIn (TxBody era) era), ...  }
|^^^^^^^^^^|
Note how the phantom type (TxBody era) is passed through TxIn and then through TxId to become the phantom type of the embedded Hash.
Of course there are other complications due to efficiency, space use, and backward compatibility in the implementation in this branch but it really simplifies the approach to implementing TxBody for many Eras.

So I resolved the mutual recursion problem by using a technique pioneered by Jared. Introduce new uninhabited type for every instance of HashAnnotated.
data EraIndependentTx
data EraIndependentTxBody
data EraIndependentBlockBody
data EraIndependentWitVKey
The HashAnnotated class now has an associated type family HashIndex, and the method hashAnnotated is typed like this:
hashAnnotated :: a -> Hash.Hash (HASH (Crypto e)) (HashIndex a)
I cleaned up all of Jared's ad-hoc changes to be consistent with this paradigm. Including rpalcing eraIndependentTxHash  with  hashAnnotated.
This caused a few changes, but everything is cleaner, and the TxBody for the Mary era is now much cleaner as well. This should carry over to other Era's as well.


set deis controller url

Is there a config option to set the deis controller url? (deis.example.com)
if not there should be. I am runnig in a corporate environment with strict DNS rules

It's not currently possible to set the "deis" part of the host prefix separately, if that's what you are asking. Whatever domain you use to access your Deis cluster, there are some hard-coded prefixes that the router mesh recognizes in order to route traffic to the proper component, and this is one of those.

there are a few edge cases which concerns me a little with changing the controller URI in the router:

We have to refuse API requests for creating apps with the same name
We have to refuse API requests for custom domains with the same endpoint

We have those measures in place, hence the concerns. Any thoughts on this?


Support for lineStyle and lineTextureStyle options

This API has been bugging me since v5...
We introduced Graphics#lineTextureStyle(width, texture, color, alpha, matrix, alignment, native) and this is super unwieldy to use. Because the arguments aren't really in any order of importance, users often need to set defaults or ignore arguments. It's too much cognitive load to remember and makes code less readable. I constantly find myself having to refer to the docs for this function.
const graphics = new PIXI.Graphics();
graphics.lineTextureStyle({
  texture: PIXI.Texture.from('foo.jpg'),
  alpha: 0.5,
  alignment: 1,
  width: 10
});
// instead of:
graphics.lineTextureStyle(10, PIXI.Texture.from('foo.jpg'), 0x0, 0.5, null, 1);

This PR introduces an options object that can be passed to the lineTextureStyle and lineStyle methods. The old argument syntax for lineTextureStyle has been deprecated and lineStyle supports both styles.
const graphics = new PIXI.Graphics();
// Now these are both supported equivalents:
graphics.lineStyle({ color: 0xffcc00, native: true });
graphics.lineStyle(1, 0xffcc00, 1, 0.5, true);

Pre-Merge Checklist

[ ] Tests and/or benchmarks are included
[ ] Documentation is changed or added
[ ] Lint process passed (npm run lint)
[ ] Tests passed (npm run test)

Codecov Report

Merging #5964 into dev will increase coverage by 0.17%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##              dev    #5964      +/-   ##
==========================================
+ Coverage   70.39%   70.56%   +0.17%
==========================================
  Files         208      208
  Lines       10492    10499       +7
==========================================
+ Hits         7386     7409      +23
+ Misses       3106     3090      -16

Impacted Files
Coverage Δ

packages/graphics/src/Graphics.js
73.43% <76.47%> (+5.06%)
:arrow_up:

packages/graphics/src/styles/FillStyle.js
100% <0%> (+10.52%)
:arrow_up:

Continue to review full report at Codecov.

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

I think same method arguments annotation style must be for Graphics#beginTextureFill and Graphics#beginFill for saving consistence of API also.

The reason I didn't do this for fill was because the arguments make a lot more logical sense and I believe are in the proper order of importance:
beginFill(color, alpha)
beginTextureFill(texture, color, alpha, matrix)
Maybe beginTextureFill would be nice to conform to this, but beginFill? Maybe there's an argument that if you're saving style externally, it's easier to apply it by reference:

const style = {
  fill: { color: 0xff0000, alpha: 0.5 },
  line: { color: 0x00ff00, alpha: 0.1, alignment: 1 }
};
const graphics = new PIXI.Graphics()
  .beginFill(style.fill)
  .lineStyle(style.line);

I didnt see any issues both here and on forums regarding lineTextureStyle. People do not use it, so deprecation + return is fine too.

Yay! More coverage with obvious tests!


Failure to Select New Primary Store Post Removal of Initial Primary Store

Note
Also when user unlinks the initial primary product store and again links the same, 'primary store' tag is getting added to it.
Also it is observed that continous loading occurs on UI when multiple product stores are added and user unlinks the primary product store second time or afterwards.
Current behavior
The system does not allow the user to set any other product store as primary after the first one is removed.
Expected behavior
The user should be able to successfully set another product store as the primary after the initial primary store is removed.
Steps to reproduce the issue
Navigate to the product store settings of a facility.
Remove the current primary product store.
Attempt to set another existing product store as the primary and observe the issue.
Environment details
App version : v1.9.2
App environment : UAT
Additional information
https://jam.dev/c/6eeb1312-5a6e-436c-8151-15b91f55bcc5

Issue verified in release v1.9.3 and found that product store option popover is not getting closed when user is trying to make the product store primary and error toast message is generated(due to absence of shopify shop).
https://jam.dev/c/0198a696-bc9a-4778-b985-d253a476e05d
Hence, reopening this ticket.

@Adameddy26 Please check this ticket if we can close it.

Assigning this ticket to @priyanshee1604 for verification.
CC: @dt2patel

Verified the following changes on ADOC HN UAT:

Users can now select a new primary product store after unlinking the previously associated primary product store.
The product store option popover now closes automatically when a primary product store is selected.
The "primary store" tag no longer appears next to the product store name when the same store is re-linked as the primary store after being unlinked.


Question: Does WinRM Gem support Domain Account login?

Does the Gem support AD domain account login, without using Kerberos?

It should. I have not tested with sophisticated domain forests but I have successfully authenticated using the rubyntlm gem that this gem uses against a simple AD setup.

closing but please reopen if you find any problems.


Roadmap for dropping python 2.7 (... and 3.4)

Official end of life of python 2.7 is in less than a year (https://pythonclock.org/), main projects have already dropped python 2.7 - and 3.4 (with a LTS version with bug fixes for this year).
We should advertise a date for dropping python2.7 in next release notes...

Agreed to document that python 2.7 support can be dropped prior to the end of the year.


Feature support vote down

Codecov Report

Merging #45 into master will decrease coverage by -2.72%.

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   95.06%   92.34%   -2.72%
==========================================
  Files           7        7
  Lines         162      209      +47
  Branches       15       14       -1
==========================================
+ Hits          154      193      +39
- Misses          5       13       +8
  Partials        3        3

Impacted Files
Coverage Δ

vote/templatetags/vote.py
100% <100%> (ø)
:white_check_mark:

vote/managers.py
92.17% <100%> (-2.93%)
:x:

vote/utils.py
83.33% <100%> (+0.98%)
:white_check_mark:

vote/models.py
93.1% <87.87%> (-6.9%)
:x:

Continue to review full report at Codecov.

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


chore(deps): update common-dev-assets digest to b76a0f9

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
5a62411 -> b76a0f9

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


Fix make validate errors for prow

Currently failing in https://github.com/openshift/release/pull/29229
Signed-off-by: Michael Shen<EMAIL_ADDRESS>

/lgtm


admin_bdy branch: create schema

Add an option to create the db schema and schema objects, either as empty or do an import straight away.

Need to turn on table revisioning for all tables.
Table DDL and how to set up revisioning can be found here:
https://github.com/billgeo/AIMS-reference-data/tree/master/sql

There is no need to version import tables and target tables are versioned already. function apply_table_differences() used for this capability

Hi @josephramsay, can you give an update on where we are at with the stuff in the originial commment. Option to create/drop schema etc.

This was built in from from beginning as test feature with temp schema getting created/deleted on each run. Will make this permanent as feature to allow user validation. Option to create/drop can be made optional though once data is imported we wont need the temp stuff anymore.

Superseded with https://github.com/linz/linz-admin-boundaries-uploader


Requested: more examples

Trying to get this working, but xcode compains about all kinds of stuff, line two "No exact matches in call to instance method 'login'", and "Invalid redeclaration of 'connection()'"
`
let connection = try? LDAP(url: "ldaps://perfect.com")
let credential = LDAP.login(binddn: "CN=judy,CN=Users,DC=perfect,DC=com", password: "0penLDAP")
     connection.login(info: credential) { err in

    do {
        try connection.search(base: "CN=Users,DC=perfect,DC=com", filter:"(objectclass=*)") {

            print(res)
        }
    }catch (let err) {
        // failed for some reason
    }
    }`

Could anyone get a complete working example of a login and asynchronous search?
Preferably for swift 5.5

Login
`let credential = LDAP.Login(binddn: "user@domain", password: "ss")
do {
let connection = try LDAP(url: "ldaps://domain")
connection.login(info: credential) { err in
if (err == nil) {
connection.search(base: "DC=base,DC=example,DC=com", filter: "(sAMAccountName=testuser)") { res in
print(res)
`
just gives [:] as result.

Seems to only allow searches when specifying an OU, without OU i get no results.
let res = try connection.search(base: "OU=Users,DC=test,DC=example,DC=com", filter: "(&(objectclass=person)(sAMAccountName=test))", scope: .SUBTREE, attributes: ["memberOf"])


Bundler will not find a gem after adding platform parameter to gem and then removing it

Bundler v1.13.1
Steps to reproduce:

Add some gem to Gemfile, run "bundle install", gem with specific version added to Gemfile.lock
Add some platform (not matching your system) to that exact gem, e.g. adding "platform: :mswin".
Run "bundle install" again. Gemfile.lock is updated, there is no longer gem name with version under GEM section, but it's still in DEPENDENCIES list (with no version as expected).
Interestingly, running just "bundle show gem_name" gives the same result - Gemfile.lock is updated even without running 'bundle install'!
Remove platform parameter from the gem (assume it was added by mistake), run "bundle install".

Result:
Gem is not restored - Gemfile.lock remains as is, with no gem name under GEM section, and with gem name still present under Dependencies. Gem is not factually added in the application with Bundle.require. Re-running bundle install multiple times or manually installing / removing gem doesn't help.
Suppose the issue is that gem name remained under dependencies list in Gemfile.lock.
Interesting, running 'bundle show gem_name' shows the following funny error (mini_racer is my gem):
"Could not find gem 'mini_racer'.
Did you mean mini_racer?"
Spelling is exactly the same for both occurrences.
Expected Result:
'bundle install" will "re-enable" the gem after platform condition was removed.
Workaround - if I just remove the gem name from Gemfile completely, run bundle install - Gemfile.lock is updated and gem name is removed from Dependencies list. Re-adding gem in Gemfile again will turn it on. Alternatively, manually removing gem name from Dependencies list in Gemfile.lock and re-running "bundle install" will also re-enable gem without a need to remove / add it into Gemfile.

So after digging into this, the issue appears to be the fact that the platform used for conditional installation isn't in the lockfile listed under PLATFORMS

Inside Gemfile.lock, PLATFORMS only lists ruby, that's correct - after running "bundle install" or "bundle show gem_name" with the gem platform set to :mswin (tested with :jruby with same result, just in case)


fix(KONFLUX-3663): format PipelineRun files and upload SAST results

This update configures the SAST task to upload SARIF results to quay.io for long-term storage
Please note that this PR was automatically generated and may include unrelated changes due to automatic YAML formatting performed by yq
The YAML files will be indented using 2 spaces, if the YAML file uses indentationless list the automation will try to keep this format
The PR contains two separate commits:

Format YAML files: Ensures consistent indentation and formatting of the YAML files
Upload SAST results: Configures the PipelineRun files to enable uploading SARIF results to quay.io

Separating these changes into two commits simplifies the review process. The first commit focuses on indentation and formatting, while the second commit contains the semantic changes
Related:

https://issues.redhat.com/browse/KONFLUX-3663
https://issues.redhat.com/browse/KONFLUX-2263

/ok-to-test
/approve
/assign @celebdor

/retest

@2uasimojo It looks like some security tests are failing, but they don't seem related to my change

@2uasimojo It looks like some security tests are failing, but they don't seem related to my change

Yeah, that’s being addressed via #2387 – though it’s not going particularly well 😬
In any case, not part of this issue.
/override ci/prow/security

@2uasimojo Btw, it looks like the hive-mce-25-on-pull-request check is failing. The issue seems to be with the clamav-scan task validation. I believe the image for this taskref bundle needs to be updated. This thread has some information about it

@celebdor really needs to weigh in there. ISTR him talking about ripping konflux out of 2.5 anyway...?


Usability: Obosolete messages don't contain enough information and are therefore painful to use

The obsolete messages lack details that enable to tell quickly what the replacement APIs are. Also, because the included link is not clickable you need to take a number of steps to be able to get to content.
For instance, without building the solution I see this in VS (an interesting thing is that for UseGoogleAuthentication VS did not add squiggles and the build passes without an error even though you can see the message when you hover over the call):

Since it does not contain the name of the replacement API I don't know what to search for. The link is not clickable so I have to actually build the solution (or try to type the link which I would have to memorize first because if I just move the mouse the message disappears). Note that if I am in the middle of updating my app from 1.1 to 2.0 I may not even be able to build the application in which case you will have to find the right error first .
If I build the application I see this:

Again the link is not clickable. Right-click copy copies the entire line not only link.
Finally I have to go to MSBuild output to get this:

Where the link is clickable.
The link takes me to https://github.com/aspnet/Security/issues/1310
I quickly try to search for UseMicrosoftAccountAuthentication or UseGoogleAccount on this page and I don't find anything because it is under Xyz umbrella (UseXyzAuthentication)
I would prefer to see a message like: UseGoogleAuthentication is obsolete. Configure Google authentication with AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
It's more work to create a dedicated message for each obsolete API but it is much more helpful.

https://github.com/aspnet/Security/issues/1305

The link to 1310 is also temporary, eventually it will go to the migration doc instead of the announcment

Regardless, getting to this link is painful. With a more detailed message I could just google/bing things. It could also be helpful in finding help on stackoverflow (as opposed to the generic message).

@Eilon? This won't be worth changing after RTM

@blowdart

Not clickable is one for web tooling?

This is not a ship-stopper. Fixing in 2.1 could still have value. Many docs/sites/examples will be mentioning the obsolete APIs for some time.


CatalogType is missing

CatalogBrand also missing.  Incomplete documentation

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

ID: 376577d9-c559-9d5d-e263-ff9f0fb6ac27
Version Independent ID: 29164c20-12a7-6bf2-a946-03ef2477d61b
Content: Creating a simple data-driven CRUD microservice
Content Source: docs/standard/microservices-architecture/multi-container-microservice-net-applications/data-driven-crud-microservice.md
Product: dotnet
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

Hi @samboustani,
This section is not intended to be a documentation for the Catalog.Api microservice, but just a sample to showcase a simple CRUD pattern, so juts the details deemed important for that goal are documented.
Also, for that kind of detail (and for this simple case) there's probably no better documentation that source code 😉.
So I'm closing this issue, but feel free to comment. Will reopen if needed.


[DBChain] [DBC && DLC] Integrate DBC and DLC tokens from the DBChain network into Subwallet

[DBChain] [DBC && DLC] Integrate DBC and DLC tokens from the DBChain network into Subwallet
First time integration with Subwallet

DeepBrain Chain is the world's first distributed GPU cloud computing platform driven by blockchain technology, aimed at reducing 70% of the computing costs in the artificial intelligence industry. DBC is a designated digital currency for computing power rental circulation.
Whitepaper
Social media

Twitter
Youtube
Reddit
Telegram

Any other useful material so we can get to know you better

Website

An email<EMAIL_ADDRESS>Github

DeepBrainChain

If you want to integrate a chain, you would need to provide

DBChain
Type of the blockchain: Substrate
Blockchain providers
Mainnet: wss://info1.dbcwallet.io
Metadata of the blockchain (chainId, paraId, addressPrefix, symbol,...)

Ticker: DBC
Decimals: 15
Address format: Polkadot
Smart Contract Address: 0x1F735f84b07cc20E9aC471C291a87b5A2428d518

Logo of the blockchain

Block explorers

Mainnet

If you want to integrate an asset (fungible token/ NFT), you would need to provide
In addition to integrating DBC, we also hope to add DLC tokens, which belong to assets on DBC Mainnet

Name of the asset： DeepLink Coin

Origin blockchain of the asset: DBChain

Is it available on other blockchains?

Metadata of the asset

Sybmol: DLC
Decimals:  8
AssetId: 88

Logo of the token

Is your asset transferable?
Yes

DBC token on Coingecko: https://www.coingecko.com/en/coins/deepbrain-chain


TextEdit not showing typed text and error on scrolling/typing

Godot version:
Tried with:
v3.1.dev.custom_build.b2d7641
v3.1.dev.custom_build.43dc050
v3.1.dev.custom_build.911febb
Every time that I will use Godot I make a build
OS/device including version:
Windows 10 Pro
GeForce GTX 1080/PCIe/SSE2
Issue description:
Can't use the TextEdit properly.
It was supposed to show the text that I type or the text on Text property
Steps to reproduce:
Create a blank project, place a root node (I tried with Node or Control), create a TextEdit child node and run the project.
With the TextEdit on focus, scroll down and then "scroll more" to get the first debug errors
Typing after that scroll does trigger the error too.
Error:

0:00:04:0295 - Index line=3 out of size (text.size()=3)
Type:Error Description: Time: 0:00:04:0295 C Error: Index line=3 out of size (text.size()=3) C Source:
scene\gui\text_edit.cpp:3731 C Function: TextEdit::times_line_wraps

Minimal reproduction project:
TextEditTest.zip
Video of the problem

As a workaround resize the game window while running, works in some cases.


I don't like the idea that ollama force me to use a server.

so, if I have a python code that looks like this:
from langchain.schema import (SystemMessage, HumanMessage, AIMessage)
from langchain.callbacks.manager import CallbackManager
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
from langchain.chat_models import ChatOllama

question = "Could I have GitHub access?"
chat_template = [
    SystemMessage(
        content=(
            "You are a helpful DevOps assistant, rewrite user's questions to only include the websites that they want to access."
        )
    ),
    HumanMessage(content=question),
]

chat_model = ChatOllama(
    # model="llama2:7b-chat",
    model_path="./models/llama-2-7b-chat.Q4_K_M.gguf",
    callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),
)

chat_model(chat_template)

the above source code gives me the following error:
requests. exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x107601090>: Failed to establish a new connection: [Errno 61] Connection refused'))

I don't want my models to be downloaded by Ollama service, I want to use the models that I already had downloaded instead.

Then import the ones you have downloaded or choose something that is better aligned with your requirements.
Ollama's integrated model management is pretty central to its value proposition.

@franciscoprin as @easp mentioned, you can make a Modelfile and then use ollama create to pull the model in. Ollama uses its own "layers" (called "blobs") which stored the various parts of the model such as the weights. What's really nice about this is that if you have multiple models which share the same weights it will automatically deduplicate them on disk. Also, once you've imported your model you can use ollama push to push it to ollama.com and share it with others.
I'm going to go ahead and close out the issue, but feel free to keep commenting if you have any questions.


TRANSLATE vs REPLACE

I realised, after making a now accepted change, that actually TRANSLATE and multiple REPLACE statements are not equivalent. If a character is replaced to one that is also appears later in the translatations character string, the character will not be replaced. For REPLACE, however, this is not true. REPLACE will replace all instances of that character, including those that were replaced in one of the nested functions. I have therefore added this information in the Remarks section.

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

Hi @LarnuUK , thank  you so much for your contribution! Thanks for noticing the inaccuracy and providing this nice example, it helps with clarity. Thanks again! #sign-ff

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


HOW DO I OPEN IT(on iPad)

just HOW

You cant.

You can't. Processing is not supported on mobile devices.

ÆEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE


Metriql sso authentication with snowflake

Description
Metriql server wasn't able to initiate connection to snowflake through SSO.
My understanding is Metriql reads connection from profiles.yml and use that to connect to target database. From the error information, I suspect SSO is not supported in Metriql yet?
Error Information
dbt-test-framework git:(main) ✗ /Users/chenxuan.rong/metriql/metriql-0.3/bin/metriql generate
Exception in thread "main" Invalid config: java.lang.IllegalArgumentException: Instantiation of [simple type, class com.metriql.warehouse.snowflake.SnowflakeWarehouse$SnowflakeConfig] value failed for JSON property password due to missing (therefore NULL) value for creator parameter password which is a non-nullable type
 at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.metriql.warehouse.snowflake.SnowflakeWarehouse$SnowflakeConfig["password"])

Context
dbt profiles
dbt-test-framework:
  outputs:
    dev:
      account: <account>
      authenticator: externalbrowser
      database: <database>
      role: <role>
      schema: <schema>
      threads: 4
      type: snowflake
      user: <username>
      warehouse: WAREHOUSE_XS

  target: dev

Yes, we don't support SSO with Snowflake yet. Thanks for reporting the feature request!


ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn. Run pip install flash_attn

I am getting this error when tried to run the finetuning notebook for florence-2
Please find the piece of script below
from transformers import AutoModelForCausalLM, AutoProcessor
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = AutoModelForCausalLM.from_pretrained("microsoft/Florence-2-base-ft", trust_remote_code=True, revision='refs/pr/6').to(device)
processor = AutoProcessor.from_pretrained("microsoft/Florence-2-base-ft", trust_remote_code=True, revision='refs/pr/6')

You need to run pip install flash-attn, sorry for delayed response. I will define requirements for each notebook when I get time.


PHP CS Fixer 2.0.x not working

A lot of users are reporting that this extension does not work with PHP CS Fixer 2.0.x. So this issue will be here to accumulate as much info about the problem at hand.
If you are running into this issue as well, please post the following info:

OS.
VSCode version.
PHP CS Fixer version.
PHPFormatter version.
PHPFormatter user settings.
PHPFormatter logging output (use phpformatter.logging: true).
If possible, a snippet or screenshot of the code that needs formatting.

I will try to work out a solution soon enough. Time might be an issue around all the upcoming festivities, however.
Thanks!

OK, Thanks,  here are my current Settings...
OS.

Windows 7 Home Premium

VSCode version.

Version 1.8.0

PHP CS Fixer version.

2.0.0

PHPFormatter version

0.2.4

PHPFormatter user settings.
{
    "window.zoomLevel": 1.5,
    "editor.lineHeight": 28,
    "telemetry.enableTelemetry": false,
    "telemetry.enableCrashReporter": false,
    "php.validate.executablePath": "c:/xampp/php/php.exe",
    "phpformatter.phpPath": "C:/xampp/php/php.exe",
    "phpformatter.pharPath": "c:/xampp/php/php-cs-fixer.phar",
    "phpformatter.logging": true
}

PHPFormatter logging output (use phpformatter.logging: true).

If possible, a snippet or screenshot of the code that needs formatting.
class ControllerErrorPermission extends Controller {
	public function index() {
		$this->load->language('error/permission');

		$this->document->setTitle($this->language->get('heading_title'));

		$data['heading_title'] = $this->language->get('heading_title');

		$data['text_permission'] = $this->language->get('text_permission');

		$data['breadcrumbs'] = array();

		$data['breadcrumbs'][] = array(
			'text' => $this->language->get('text_home'),
			'href' => $this->url->link('common/dashboard', 'token=' . $this->session->data['token'], 'SSL')
		);

		$data['breadcrumbs'][] = array(
			'text' => $this->language->get('heading_title'),
			'href' => $this->url->link('error/permission', 'token=' . $this->session->data['token'], 'SSL')
		);

		$data['header'] = $this->load->controller('common/header');
		$data['column_left'] = $this->load->controller('common/column_left');
		$data['footer'] = $this->load->controller('common/footer');

		$this->response->setOutput($this->load->view('error/permission.tpl', $data));
	}

	public function check() {
		if (isset($this->request->get['route'])) {
			$route = '';

			$part = explode('/', $this->request->get['route']);

			if (isset($part[0])) {
				$route .= $part[0];
			}

			if (isset($part[1])) {
				$route .= '/' . $part[1];
			}

			$ignore = array(
				'common/dashboard',
				'common/login',
				'common/logout',
				'common/forgotten',
				'common/reset',
				'error/not_found',
				'error/permission',
				'dashboard/order',
				'dashboard/sale',
				'dashboard/customer',
				'dashboard/online',
				'dashboard/map',
				'dashboard/activity',
				'dashboard/chart',
				'dashboard/recent'
			);

			if (!in_array($route, $ignore) && !$this->user->hasPermission('access', $route)) {
				return new Action('error/permission');
			}
		}
	}
}

I am experiencing a similar error:
PHPFormatter: Full command being executed: "E:\Web\UwAmp\bin\php\php-7.1.0-Win32-VC14-x86\php.exe" "E:\Web\UwAmp\bin\php\php-7.1.0-Win32-VC14-x86\phpcs.phar" fix "C:\Users\sergi\AppData\Local\Temp\phpfmt-7716K5NoyoCpqMqO.tmp" --level=psr2
PHPFormatter: Logging PHP-CS-Fixer command stdout result
PHPFormatter: ERROR: The file "fix" does not exist.

OS: Zorin OS 12 64-bit.
VSCode version: 1.8.1.
PHP CS Fixer version: 2.0.0.
PHPFormatter version: 0.2.4.
PHPFormatter user settings:

"phpformatter.composer": true,
"phpformatter.logging": true

PHPFormatter logging output: I don't know how to see the logging output.
My code snippets that needs formatting:

    public function actionItemDetail()
    {
        $title = Yii::$app->request->get('title');

                $data = $this->data();

                        $itemFound = null;

            foreach ($data as $d) {
            if ($d['title'] == $title) {
                $itemFound = $d;
                }
        }

                    return $this->render('itemDetail', ['title' => $title, 'itemFound' => $itemFound]);
    }

@yaliv

PHPFormatter logging output: I don't know how to see the logging output.

Klick HELP -> Toggle Developer Tool -> Console

OK, here is the output in the console.
(I use the same versions as here).
Using Composer:
[Extension Host] PHPFormatter: Creating temp file.
[Extension Host] PHPFormatter: Tempfile fd: 61
[Extension Host] PHPFormatter: Tempfile name: /tmp/phpfmt-5947C8m6dUBQqw4n.tmp
[Extension Host] PHPFormatter: Writing current document content to temp file. Until VSCode will have a way of querying encoding, utf8 will be used for reading and writing.
[Extension Host] PHPFormatter: Full command being executed: php-cs-fixer fix "/tmp/phpfmt-5947C8m6dUBQqw4n.tmp" --level=psr2
[Extension Host] PHPFormatter: Logging PHP-CS-Fixer command stderr result
[Extension Host] PHPFormatter:

  [Symfony\Component\Console\Exception\RuntimeException]
  The "--level" option does not exist.

fix [--path-mode PATH-MODE] [--allow-risky ALLOW-RISKY] [--config CONFIG] [--dry-run] [--rules RULES] [--using-cache USING-CACHE] [--cache-file CACHE-FILE] [--diff] [--format FORMAT] [--] [<path>]...

[Extension Host] PHPFormatter: Reading temp file content.
[Extension Host] PHPFormatter: Replacing editor content with formatted code.
[Extension Host] PHPFormatter: Document successfully formatted (19 lines).

Using php-cs-fixer.phar file:
[Extension Host] PHPFormatter: Creating temp file.
[Extension Host] PHPFormatter: Tempfile fd: 61
[Extension Host] PHPFormatter: Tempfile name: /tmp/phpfmt-5947Q0cGP1CpJXtR.tmp
[Extension Host] PHPFormatter: Writing current document content to temp file. Until VSCode will have a way of querying encoding, utf8 will be used for reading and writing.
[Extension Host] PHPFormatter: Full command being executed: "/opt/lampp/bin/php" "$HOME/phar/php-cs-fixer.phar" fix "/tmp/phpfmt-5947Q0cGP1CpJXtR.tmp" --level=psr2
[Extension Host] PHPFormatter: Logging PHP-CS-Fixer command stderr result
[Extension Host] PHPFormatter:

  [RuntimeException]
  The "--level" option does not exist.

fix [--path-mode="..."] [--allow-risky="..."] [--config="..."] [--dry-run] [--rules="..."] [--using-cache="..."] [--cache-file="..."] [--diff] [--format="..."] [path1] ... [pathN]

[Extension Host] PHPFormatter: Reading temp file content.
[Extension Host] PHPFormatter: Replacing editor content with formatted code.
[Extension Host] PHPFormatter: Document successfully formatted (19 lines).

Sample case:
I copied a code snippet from a PDF document into VS Code, the code was copied without indentation. After trying to use PHPFormatter to format my code, nothing changed.
My code snippet:
<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
use app\models\Room;
class RoomsController extends Controller
{
public function actionCreate()
{
$model = new Room();
$modelCanSave = false;
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
$modelCanSave = true;
}return $this->render('create', [
'model' => $model,
'modelSaved' => $modelCanSave
]);
}
}

According to readme of php-cs-fixer https://github.com/FriendsOfPHP/PHP-CS-Fixer#usage
php php-cs-fixer.phar fix /path/to/project --rules=@PSR2
--level should be change to --rules=@PSR2

@ncwgf
OK, it works with --rules argument.
Using @PSR2:
<?php
namespace app\controllers;

use Yii;
use yii\web\Controller;
use app\models\Room;

class RoomsController extends Controller
{
    public function actionCreate()
    {
        $model = new Room();
        $modelCanSave = false;
        if ($model->load(Yii::$app->request->post()) && $model->validate()) {
            $modelCanSave = true;
        }
        return $this->render('create', [
'model' => $model,
'modelSaved' => $modelCanSave
]);
    }
}

Using @Symfony:
<?php

namespace app\controllers;

use Yii;
use yii\web\Controller;
use app\models\Room;

class RoomsController extends Controller
{
    public function actionCreate()
    {
        $model = new Room();
        $modelCanSave = false;
        if ($model->load(Yii::$app->request->post()) && $model->validate()) {
            $modelCanSave = true;
        }

        return $this->render('create', [
'model' => $model,
'modelSaved' => $modelCanSave,
]);
    }
}

The most difficult to format is the indentation for multi-line array. Any solution?

it's php-cs-fixer problem and seem it still not ... ready
https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1438

https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.0.0/UPGRADE.md
😹

Thank you all for reporting in. I have been struggling with maintaining support for both versions of PHP CS Fixer for a while now. So in a next update I will be integrating PHP CS Fixer 2.0.0 to circumvent all this.
I will be leaving this issue open so people will have a place to go in the mean time.

[Symfony\Component\Filesystem\Exception\IOException]
Failed to write file ".php_cs.cache", "no reason available".
My setting
{
"phpcs.standard": "PSR2",
"phpformatter.phpPath": "/usr/local/bin/php",
"phpformatter.composer": true,
"phpformatter.logging": true,
"phpformatter.arguments": [
"--rules=@PSR2"
]
}

@lichnow
I encountered the same 'Failed to write file ".php_cs.cache"' error. Caching only seems useful when fixing multiple files at once, so I skipped caching by adding '--using-cache false' to the phpformatter.arguments setting.
This is a temporary fix to make the formatter work.

ai can't wowrking at all this extention

when a save the file with debuug on i have "spawn php EMFILE"

for me i have change addon.
So it's done for me

I changed this setting from default value
  "phpformatter.arguments": [
    "--level=psr2"
  ],

to this
"phpformatter.arguments": []

It work well

@lesydat's solution worked for me.

Tried every possible solution - nothing helps.
If it's not compatible with v2 - so write that in documentation.

@lesydat
Work fine now...

change argument --rules=@psr2 to --rules=@PSR2 will work well.
this is my setting
{
    "phpformatter.composer": true,
    "phpformatter.logging": true,
    "phpformatter.arguments": ["--rules=@PSR2"]
 }

@lesydat

"--level=psr2"

"--rules=@PSR2"


Roll Engine from bbe4e9758c7b to d36870a7a619 (2 revisions)

https://github.com/flutter/engine/compare/bbe4e9758c7b...d36870a7a619
2022-02-05<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from SBD5KAKPr... to pyUUZTx4h... (flutter/engine#31275)
2022-02-05<EMAIL_ADDRESS>Fix first batch of warnings in the Android embedding (flutter/engine#30807)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from SBD5KAKPrlDu to pyUUZTx4he1e
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Document conntrack dependency for kube-proxy

This PR amends the kube-proxy related documents so that users get a better idea when conntrack dependency was not satisfied.
Fixes: #5773

This change is

Review comments solved, PTAL. Thanks.


fix: docker compose on CI

and use full name for option (--detach instead of -d that is not straightforward)

see #232 :)

see #232 :)

I have been too slow. :laughing:


Allow users to use a custom name for their virtual network

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
Allow users to use a custom name for their virtual network and fit with their naming convention.
Naming convention is a standard of clients, as a reference we can quote the following documentation: Azure - CAF - Naming convention

Thanks @JamesDLD  for your PR this has now been merged #83


CMake: Adjust how version overrides work

Related to https://github.com/OpenImageIO/oiio/pull/3653
Kai Pastor (@dg0yt) points out that the recent change I made both in OIIO and OSL to make the version a cache variable has some unexpected side effects that can lead to unexpeted behavior by inadvertently retaining a version number upon recompiles if the cache itself was not cleared, and this can happen unexpectedly even when the user isn't trying to override the version.
This patch changes the behavior as follows:
You must use the special -DOSL_VERSION_OVERRIDE=... to override the version.

if you do so, you are playing with fire and get what you deserve if you misuse it or change branches and don't remember to clear the cache.

If you do a normal build (without trying to override the version),

you will get the real version number because it IS NOT cached
if you switch branches, you'll always get the right version number
...but switching branches without clearing the cache can still, as always, have other subtle behavior differences versus doing a truly fresh build from scratch.

So in short, it still allows a way to override the version if you really want to, but if you are not trying to do that, you can no longer get yourself inadvertently into unexpected trouble.
Signed-off-by: Larry Gritz<EMAIL_ADDRESS>

If there are no objections, I'm going to merge this.


fix: using minor in our github actions

:tada: This PR is included in version 1.3.1-beta.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


CLR Access violation on GetCredentials after saving them with SaveCredentials

Fairly simple, this code
Credential = CredentialManager.GetCredentials(CredentialTarget);

Potential error message:
Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll

Also this:
Exception thrown at 0x73BDFEC2 (clr.dll) in OdinSyncD.exe: 0xC0000005: Access violation reading location 0x00AF0000.
The Common Language Runtime cannot stop at this exception. Common causes include: incorrect COM interop marshalling and memory corruption. To investigate further use native-only debugging.
Managed Debugging Assistant 'FatalExecutionEngineError'
The runtime has encountered a fatal error. The address of the error was at 0x73bdfec2, on thread 0x313c. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

This happens whether or not I save the credentials myself or use Adystech. It only seems to happen for certain username/passwords pairings and not others.
I also sometimes get a Error: 0 : Not a valid Win32 FileTime. Parameter name: fileTime

@nguillermin could you please give me full callstack when this exception occurs? Also your CLR & windows version please.

Closing due to lack of more information.

We're also seeing this now. It happens with longer usernames, and I think the issue is here:
https://github.com/AdysTech/CredentialManager/blob/a650bb2e23f37000845fa82f0ca17c264973542a/AdysTech.CredentialManager/CredentialManager.cs#L259
The StringBuilders given as buffers are not initialized with a Capacity, so they have the default capacity of 16 bytes - that's just enough for 8 unicode chars. If the Username is longer than that, we might get an Access Denied error, depending on current stack layout.
The fix is simply to initialize StringBuilder with 2*user.Length capacity.
Quoting:
To solve this problem (since many of the Win32 APIs expect string buffers) in the full .NET Framework, you can, instead, pass a System.Text.StringBuilder object; a pointer will be passed by the marshaler into the unmanaged function that can be manipulated. The only caveat is that the StringBuilder must be allocated enough space for the return value, or the text will overflow, causing an exception to be thrown by P/Invoke.

Spot ON!! The API handles small buffer sizes, but the problem here was taht I was wrongly passing int.MazSize as buffer size and not the actual size.
Fixing that to use actual buffer sizes gives the expected InsufficientBuffer error.
var ret1 = NativeCode.CredUIParseUserName(user, userBuilder, userBuilder.Capacity, domainBuilder, domainBuilder.Capacity);

cred.UserName
"AdysTech.com\\ZYYM3ufm3kFY9ZJZUAqYFQfzxcRc9rzdYxUwqEhBqqdrHttrhcvn"
cred.UserName.Length
65
ret1
InsufficientBuffer


Buttons stop responding if switching groups

I have an issue where I wanted to create a button to switch between talk/listen groups.  if I hit the button to switch the groups, you see it switch on the Unity software itself, but then no other buttons on the stream deck will operate unity any longer until I go into bitfocus and disconnect/reconnect.
I am currently running bitfocus 3.3.0, operating on mac 14.1.2, and unity client 3.0.26

What does "hit the button to switch the groups" mean?

in the Unity App, you assign actions to buttons (1-80), and then in bitfocus you assign streamdeck buttons to trigger the unity button.  so if I assign button 18 to switch to group 2 in the unity app, and then in bitfocus I assign button 14-3 to trigger unity button 18

, it should switch from group 1 to group 2.  and it does.  but then the bitfocus is unable to trigger any more buttons until you disconnect/reconnect.

Do you get an error in the log in companion?

I do not see any errors in the logs.  however I can go back and look again.  I have been busy the last couple days.

Does the same lockup occur if the commands are triggered in a different way than using Companion?


filter service instances based on service creation for round robin

Please provide a description of this PR:

@howardjohn Is this what you were thinking?

Although if it can be simplified by moving it into a special accessor in PushContext that may be nice. I didn't look into if that is feasible, though.

Although if it can be simplified by moving it into a special accessor in PushContext that may be nice. I didn't look into if that is feasible, though.

It is possible but do not know what to call the accessor ?

actually now that I think about it, how can we even have multiple? Wouldn't they be identical? Since the cluster is for a specific port + hostname, the only endpoint would be that hostname..?

Yes. That is what I was thinking about too. All of them will point to
single service host name
I do think this is will fix. Let us live with previous fix because no one
will create service entries like that incrementally in prod directly.  They
will test in Dev and will catch it  when they say cluster is dropped?
Or any other ideas - we can iterate in the store when adding instances if
there exists an instance already.but that will be a very costly operation
On Mon, 7 Nov, 2022, 8:28 pm John Howard, @.***> wrote:

actually now that I think about it, how can we even have multiple?
Wouldn't they be identical? Since the cluster is for a specific port +
hostname, the only endpoint would be that hostname..?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/41831#issuecomment-1306618834, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDINKHM3YHYHQMQBMOUVX3WHHJIFANCNFSM6AAAAAARZNVO3Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think the worst thing we can do is drop config that was valid. Even NACK
is better since it won't break existing pods. So we should send a config.
And its not always 1 hostname I think, even for 1 single SE:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: external-svc-dns
spec:
  hosts:
  - foo.bar.com
  location: MESH_EXTERNAL
  ports:
  - number: 80
    name: http
    protocol: HTTP
  resolution: DNS
  endpoints:
  - address: us.foo.bar.com
    ports:
      http: 8080
  - address: uk.foo.bar.com
    ports:
      http: 9080
  - address: in.foo.bar.com
    ports:
      http: 7080

On Tue, Nov 8, 2022 at 5:53 AM Rama Chavali @.***>
wrote:

Yes. That is what I was thinking about too. All of them will point to
single service host name
I do think this is will fix. Let us live with previous fix because no one
will create service entries like that incrementally in prod directly. They
will test in Dev and will catch it when they say cluster is dropped?
Or any other ideas - we can iterate in the store when adding instances if
there exists an instance already.but that will be a very costly operation
On Mon, 7 Nov, 2022, 8:28 pm John Howard, @.***> wrote:

actually now that I think about it, how can we even have multiple?
Wouldn't they be identical? Since the cluster is for a specific port +
hostname, the only endpoint would be that hostname..?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/41831#issuecomment-1306618834, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AEDINKHM3YHYHQMQBMOUVX3WHHJIFANCNFSM6AAAAAARZNVO3Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/41831#issuecomment-1307255875, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXNDGSM3HKGBR5UREYTWHJLOBANCNFSM6AAAAAARZNVO3Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

you mean DNS_ROUND_ROBIN?

Yes I just mean the endpoints can be anything, not related to cluster Hostname

Correct. But that one is easier to solve in validation webhook the other one is complicated if it spans across multiple SEs

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
c9fd041464fc86bcff4d35bd5e3c2c5d52352493
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
c9fd041464fc86bcff4d35bd5e3c2c5d52352493
link
true
/test unit-tests-arm64

unit-tests_istio
c9fd041464fc86bcff4d35bd5e3c2c5d52352493
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Yes I will add unit test and also validation to fix the SE part.

@howardjohn added test. PTAL

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
76f86316b3a589c4c091eea5982d8935c5508f6a
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
76bba2a8a30cad4c6a7832a40fb6844176baddb0
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-multicluster


Power toys keep awake lets PC go into sleep

Microsoft PowerToys version
0.70.1
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Awake
Steps to reproduce
Just let the PC be for a few hours. TI did nothing.
✔ Expected Behavior
PC to keep running
❌ Actual Behavior
PC fell into sleep mode 6 or so 4 after letting it run something over night (I think I got the same beheviour when not using keep awake, not sure now)
Other Software
Windows 11 (22631.2129)

/needinfo

/bugreport


apply 3.0 plugin

Latest build failure: https://issuetracker.google.com/issues/63950135

lintDebug works for me. What's the issue here?

@pawelkw It is this issue: https://github.com/jaredsburrows/android-gif-example/pull/12/files#diff-392475fdf2bc320d17762ed97109a121R101. "MissingRegistered".

IMHO just add
  <issue id="MissingRegistered" severity="ignore"/>

to lint.xml, link to the issue and live with it for now. From previous experience bugs like these can take years to fix. :)

@pawelkw Yeah. There are just other problems with the plugin as well.

@pawelkw Yeah. Google is taking forever to release this plugin. I may just have to merge this.


Examples will not connect to WiFi

I'm starting to lose my brain, here.  I just got back to development after about 3 months of setting it down.  After updating to the newest rev, I'm unable to get any of my hardware to work.
I'm specifically trying to get http_get to work.  I've created the private_ssid_config.h file.  I've tried specifying SSID and PSK in the main.c file directly.
I'm able to scan for APs successfully, and I'm able to run the access_point example and connect.
Any ideas what I could be doing wrong?  I've tried several different modules (I have 6 or so) -- none of them work.
EDIT:  Just did a clean reinstall and rebuild of esp-open-sdk and esp-open-rtos.  Same issue.  I didn't have this issue before, same network setup.  Very strange.
EDIT2:  Ran the unit tests, everything passed (as I expected).  Wish I knew what the issue was...this is starting to really drive me crazy.  About out of ideas.
EDIT3:  I setup a temporary wireless network with a short SSID and PSK, still not working.  :-(

Try using the WiFi connection status code at https://github.com/SuperHouse/esp-open-rtos/blob/master/examples/aws_iot/aws_iot.c#L229 . Maybe you're getting STATION_CONNECT_FAIL or STATION_WRONG_PASSWORD or just STATION_IDLE. Are there special characters in the SSID or the PSK? WPA/WPA2 keys must be at least 8 chars long. Is it a WPA or WPA2 network? Does it fail with every WiFi network or only with one specific router?

Good call on calling sdk_wifi_station_get_connect_status() -- I had forgotten about that.  I will do so when I get home again tonight.
To answer your other questions:

Are there special characters in the SSID or the PSK?
There are a few '!' characters in the PSK, but that has never been an issue.  The SSID is all letters.

WPA/WPA2 keys must be at least 8 chars long.
The PSK is > 20 characters

Does it fail with every WiFi network or only with one specific router?
It fails on every access point I've tried, including two different networks (different routers).

I'll check the wifi_connect_status code and report back.  In the meantime if anyone has any other ideas, I'd be glad to hear them.

Are you calling?
sdk_wifi_set_opmode(STATION_MODE);
sdk_wifi_station_set_config(&config);

On Wed, Jan 11, 2017 at 7:07 AM, BlueShrub<EMAIL_ADDRESS>wrote:

Good call on calling sdk_wifi_station_get_connect_status() -- I had
forgotten about that. I will do so when I get home again tonight.
To answer your other questions:
Are there special characters in the SSID or the PSK?
There are a few '!' characters in the PSK, but that has never been an
issue. The SSID is all letters.
WPA/WPA2 keys must be at least 8 chars long.
The PSK is > 20 characters
Does it fail with every WiFi network or only with one specific router?
It fails on every access point I've tried, including two different
networks (different routers).
I'll check the wifi_connect_status code and report back. In the meantime
if anyone has any other ideas, I'd be glad to hear them.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SuperHouse/esp-open-rtos/issues/325#issuecomment-271892310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBfmrvthjuGIjz_Nk5FNGTxlI6-BwHlks5rRPAcgaJpZM4LgDYD
.

--
.sigh

Are you calling?

sdk_wifi_set_opmode(STATION_MODE);
sdk_wifi_station_set_config(&config);

I'm using the example http_get, which makes these calls in user_init() here:
https://github.com/SuperHouse/esp-open-rtos/blob/master/examples/http_get/http_get.c#L126-L127
I just got home and added a call to sdk_wifi_station_get_connect_status().  It returns 0, which correlates to STATION_IDLE.  That makes even less sense.
As I said, if I run the wifi_scan example, every access point shows up as expected.  Doesn't make any sense...  To be perfectly clear, I had been developing daily for months on this platform with this same hardware and the same network configuration.  I feel like I'm missing something here.

Can you post your exact code in a gist please?

Can you post your exact code in a gist please?

The code can be found here
The change I made was changing line 43 to:
printf("DNS lookup failed err=%d res=%p wifi=%d\r\n", err, res, sdk_wifi_station_get_connect_status());

I can confirm that the code works properly with my WiFi in the latest commit. Can you try the code at https://gist.github.com/gamer-cndg/01eefd148c64447161debf831b0fe628 for more accurate debugging results? If you still only get STATION_IDLE, something really magical is going on inside your ESP.

Output from running your code:
▒blpp_task_hdl : 3fff1e38, prio:14, stack:512
pm_task_hdl : 3fff22c8, prio:1, stack:176
frc2_timer_task_hdl:3fff4e90, prio:12, stack:200
ESP-Open-SDK ver: 0.0.1 compiled @ Jan 11 2017 18:46:00
phy ver: 273, pp ver: 8.3
SDK version: 0.9.9, free heap 44056
mode : sta(5c:cf:7f:1c:7b:b1)
add if0
wifi_task: Connecting to WiFi "AlmostTheSame" (pw: "redacted!butlong!similar")
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.
wifi_task: status = 0
WiFi: idle.

Try enabling auto-connect:
sdk_wifi_set_opmode(STATION_MODE);
sdk_wifi_station_set_auto_connect(TRUE);
sdk_wifi_station_set_config(&config);

Try enabling auto-connect:
sdk_wifi_set_opmode(STATION_MODE);
sdk_wifi_station_set_auto_connect(TRUE);
sdk_wifi_station_set_config(&config);

Welp, that did it!  What's ironic is I remembered this function existed, and was going to try it when I got home.  I remember it occurring to me before, but dismissing it.
What I'm assuming is I set it to FALSE in a previous binary -- apparently it sticks.  Thanks everyone for your help!!