When running in 1080hd resolution you can't see the full drop down list on the Service Map - Breakdown combobox

Describe the bug
when running in 1080hd resolution or less you are unable to see the full list of options for the Breakdown combobox on the Service Map.  The Tenant tag is at the bottom of this combo box and it commonly used for demos.  This is important because when demoing in an office or a tradeshow you are typically using a TV with a default resolution around 1080hd.
To Reproduce
Steps to reproduce the behavior:

set your resolution to any with a height of1080 or less
Go to APM Service Map
Click on any service
Click on the Breakdown combobox and you will you can't select Tenant

Expected behavior
I would expect the combo box to have a scroll bar if it goes beyond the bottom of the page.  Its also a good UI design to only show roughly 7 combo box options at a give time as people go option blind when shown too many options. So ideally this combo box should be given a locked height and scroll bar.
Screenshots

Environment (please complete the following information):

US Splunk show, any apm environment
OS: Win 10
Browser chrome or edge
Version newest browser version

Additional context
Add any other context about the problem here.

This is A Ui issue. We cannot change the behaviou. I strongly reccomend you  replicat this error on the Feed  at https://splunk.atlassian.net/jira/your-work


Does it run in worker_thread or the main thread?

Hi, I've been testing sending logs directly to elastic in comparison to log in STDOUT and then sending it to elastic.
I created a benchmark to use this package, however the metrics aren't so promising (it gave me about 6.8k RPS).
This is my question: If it is running on the main thread then how can I make the logs to send in worker thread instead of the main thread which the application is running on?
    const streamToElastic = pinoElastic({
      index: 'lernito-exam-dev',
      consistency: 'one',
      node: 'https://elasticEndPoint.com',
      auth: {
        username: 'username,
        password: 'password',
      },
      'es-version': 7,
      'flush-bytes': 3000,
    });

    streamToElastic.on('error', (error) => {
      console.error('Elasticsearch client error:', error);
    });
    streamToElastic.on('insertError', (error) => {
      console.error('Elasticsearch insert error:', error);
    });
    logger = pino(
      {
        name,
        level,
        base: undefined,
      },
      streamToElastic,
    );

The above code runs it inside the main thread. You'll need to define it as a transport https://getpino.io/#/docs/transports to run it inside the worker_thread.


Current reporting year on the reporting dashboard

Description:
As an Industry Reporter I want to see the current reporting year on my reporting dashboard so that I am aware which year I am preparing and submitting reports for.
This work involves showing the current reporting period on the reporting dashboard. The title of the Reporting dashboard will display the reporting year (the calendar year for which they are reporting for).

Acceptance Criteria:
Given that I am an Industrial Reporter
When I am in the Reporting module
Then I want a clear visual to indicate which reporting year I am working in
Development Checklist:

[x] A "ReportingYearService" with a get_current_year() method to centralise the logic of how this is computed
[x] The value for the reporting year should probably be grouped in the API call for the operation dashboard, if it makes sense (i.e. if we're not still using the registration method)
[x] Calculation logic: Current reporting year is the latest reporting year with the "reporting_window_end" value passed
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

We have two needs here:

Knowing what the current reporting period is
What is the report due dates

This ticket is for the former, and for the latter we have #193

@pbastia  to add dev checklist

@suhafa design review

@suhafa @patriciarussellCAS
Address for this on (when logged in) is /reporting/operations: https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/reporting/operations.
You can also get here now directly from the root dashboard, under the Reporting card, via the Submit Annual Report(s) link.

This URL doesn't work for me. I get this error: Application error: a client-side exception has occurred (see the browser console for more information).
Any thoughts?

I am not able to access this either. Can this be mitigated by perhaps a loom video recording that demos it? I know you guys are doing some merge work so it may not be possible to view it ourselves?

I was able to confirm this now.
Notes:

we'll need to fix the breadcrumbs for this page
we'll need to update the title so "year" is capitalized (Reporting Year)


Update index.yml

Fixed the dead link of C# samples

@aktsuda Thanks for finding this issue. As with your other PRs, I need to update the go.microsoft.com links internally instead of replacing it, which I've done with the URLs you provided. I'm going to close this issue, but the link should be updated soon.
Thanks again for this doc contribution! #please-close


MyEnvironment.scala has to be in Scala?

I see this file in java demo project. Does it have to be in Scala?

Yes. You need to write that in Scala. It should be pretty straightforward.
Let me know if you need help.
On Saturday, November 7, 2015, Rakesh Roshan<EMAIL_ADDRESS>wrote:

I see this file in java demo project. Does it have to be in Scala?
—
Reply to this email directly or view it on GitHub
https://github.com/jaliss/securesocial/issues/569.


dart interop failures

Seen for both to-cloud and to-prod interop tests:
https://source.cloud.google.com/results/invocations/d6f58fbe-2e6b-4fd1-a9a5-47f92b96046d/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_interop_tocloud/log
https://source.cloud.google.com/results/invocations/a99ebed6-8f5b-45b6-9a45-9240dfac1b69/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_interop_toprod/log
2019-03-15 12:16:57,191 file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:24:1: Error: 'Future' expects 0 type arguments.
Future<Transport> connectTransport(
^
file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:26:10: Error: A value of type '#lib1::Http2Transport' can't be assigned to a variable of type 'dart.async::FutureOr<invalid-type>'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.async::FutureOr<invalid-type>'.
  return Http2Transport(host, port, options)..connect();
         ^
file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:24:19: Error: Functions marked 'async' must have a return type assignable to 'Future'.
Future<Transport> connectTransport(
                  ^^^^^^^^^^^^^^^^
file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:32:21: Error: The argument type '(dart.core::String, dart.core::int, #lib1::ChannelOptions) → invalid-type' can't be assigned to the parameter type '(dart.core::String, dart.core::int, #lib1::ChannelOptions) → dart.async::Future<#lib2::Transport>'.
Try changing the type of the parameter, or casting the argument to '(dart.core::String, dart.core::int, #lib1::ChannelOptions) → dart.async::Future<#lib2::Transport>'.
      : super(host, connectTransport, port: port, options: options);
                    ^
2019-03-15 12:16:57,191 FAILED: cloud_to_cloud:dart:aspnetcore_server:empty_unary:tls [ret=254, pid=28212, time=10.0sec]

@jakobr-google are you able to take a look?


[✨]SSG Ignore Authenticated Routes Without Warning

Is your feature request related to a problem?
When running static adapter, I need a list of every page that was generated and every page that was not generated
Describe the solution you'd like
When running static adapter I need a list of any page that was not generated so that it could help me debug the problem
Describe alternatives you've considered
Adding a env variable file in order to specify which page should be generated and bypass authentication
Additional context
I may want authentication middleware to handle by my hosting provider
It would still be a good idea to know which page is not being generated

Hi, thanks for your suggestions.
Correct me if I'm wrong but in this issue you mentioned different enhancements, right?
Can you create a list of these features pls? because right now it's hard to understand.

we need a list of routes generated and not generated

We moved this issue to qwik-evolution repo to create a RFC discussion for this.
Here is our Qwik RFC process thanks.


Enable --package-lock-only flag by default

resolves #23

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

npm package (@latest dist-tag)
GitHub release
v2.2.0

Your semantic-release bot :package::rocket:


AlloyEditor Extension does not seem to work

I've followed the guide to add alloyeditor as a WYSIWYG editor into Contentful and was able to add the extention to my contentful staging space. I copied the html page from the github repository along with the code but the editor does not seem to function as expected. Specifially when I make changes to the editor I am not seeing the Publish button change to "Publish Changes" so it does not seem to be recognizing the data I am adding to to the editor. Can anyone tell what is missing in the editor script or recommend another WYSIWYG editor? I'm using VueJS as a frontend.

It seems this extention only works with text field types and not rich text.


Be careful with using exact naming conventions as Apple

Hello,
Cool library!
Be careful with using exact naming conventions as Apple. It is not out of the question that Apple could name a function UIImageHEICRepresentation in the future. At best, there could be a symbol collision or at worst, undefined behavior.
I understand the want to have a similarly named symbols, even if for completionist reasons only, but the risks are not worth it.

I actually prefixed it with tj_ this morning because of this, great suggestion.


Adding GTS Formatting

BTW, the Node 4 tests are now failing because of:
/home/node/project/node_modules/gts/node_modules/meow/index.js:66
	const {pkg} = options;

Should we disable the Node4 runner (and the lint runner?) and abandon Node 4? It would allow me to add the spread operator back :-)

Yes!

I removed Node4/Lint from CI, but it looks like I can't remove the checks from GitHub. @JustinBeckwith can you do this?

Apologies for not saying this out loud, but we should really disable nodejs 4 and 9 in a different pull request (just to keep the commits separate)

I moved the commits that disabled Node 4 to #241

Merged package-lock.json. This still seems to be blocked on the lint step.


The parameter d does not exist in method GetListItemChangesSinceToken.

Whats the "d" element all about? I get an error if I submit that request:
{
"error": {
"code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
"message": {
"lang": "en-US",
"value": "The parameter d does not exist in method GetListItemChangesSinceToken."
}
}
}
Only when I remove the "d" element so that "query" becomes the root element that this request succeeds.
Also note I am using Postman to send my request if thats any help.
[Enter feedback here]

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

ID: e747d28b-d124-0d64-47a3-c39416cd9e64
Version Independent ID: dec49c04-dcd5-6faa-c88b-2b4bebab285c
Content: Synchronize SharePoint items using the REST service
Content Source: docs/sp-add-ins/synchronize-sharepoint-items-using-the-rest-service.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Hi jon241,
I followed the doc and am able to reproduce this issue.

While the reference of the API metadata ( "_api/$metadata") shows that this method only require 'query' parameter:

http://definitelytyped.org/docs/sharepoint--SharePoint/classes/sp.list.html#getlistitemchangessincetoken

I believe this is a mistake, might be it means 'dictionary‘, we can remove it in the request.
Baker Kong
Microsoft SharePoint Community Support

I can close this as soon as its fixed.

Getting Same error in response in Postman.Is there any workaround to deal with this error in postman.

Thanks
Rajneesh

Getting Same error in response in Postman.Is there any workaround to deal with this error in postman.

Thanks
Rajneesh

If I remember correctly I think the workaround was to remove the "d" parameter enclosing the "query" object (it was some time ago and I no longer work for that company). For example it now becomes:
{
"query": {
...
}
}


Add ability to apply unsafe fixes with ruff.applyAutoFix server command

It would be nice to be able to configure the ruff server to also apply unsafe fixes with the ruff.applyAutoFix command and source.fixAll.ruff code action.

Hi @BarrensZeppelin
Have you tried https://docs.astral.sh/ruff/settings/#unsafe-fixes ?

Unsafe fixes are explicitly disabled here:
https://github.com/astral-sh/ruff/blob/9f3a38d408f473df7a6b3574c5d1389bef303dd5/crates/ruff_server/src/fix.rs#L74

Hmm, good call. I think we should respect the configuration here rather than just outright disabling it.


Questionnaire Patient.language (Dick Driessen / axsana) orf#64

added

Issue reviewed and closed.


Fixed Issue#81

Here's the fix for FString not null terminated error. I also added support for Pak Version 7.

Closed this because it's only a fix for the new version of Unreal Engine, will most likely break older games. Sorry I wasn't thinking straight ^^

Yes, it will break everything else.


WIP Working in making the deploy more secure and efficient,

WIP Working in making the deploy more secure and efficient, all password are going to change eventually for the final version of the production deploy

Good job!


Repeated references on the same line don't link

With input like:
1. Return |firstThing|'s [=list/size=] plus |secondThing|'s [=list/size=].

The output is:

  Return <var>firstThing</var>’s
  size
  plus <var>secondThing</var>’s size.

…as in, the second 'size' is not linked.
This is particularly confusing in cases like:
1. Return |firstThing|'s [=list/size=]
    plus |secondThing|'s [=map/size=]
    plus |thirdThing|'s [=map/size=]
    plus |fourthThing|'s [=list/size=].

…where the lack of links means it's unclear what things mean.

Mostly reduced example

Title: CSS Easing Functions Level 2
Status: ED
Work Status: exploring
Shortname: css-easing
Level: 2
Group: csswg
ED: https://drafts.csswg.org/css-easing/
TR: https://www.w3.org/TR/css-easing-2/
Editor: Jake Archibald, Google<EMAIL_ADDRESS>w3cid 76394
Markup Shorthands: markdown yes

Abstract: Blah

!Participate: IRC: #css on W3C's IRC
Repository: w3c/csswg-drafts

1. Return |firstThing|'s [=list/size=]
    plus |secondThing|'s [=map/size=]
    plus |thirdThing|'s [=map/size=]
    plus |fourthThing|'s [=list/size=].

This is intentional behavior, because without it paragraphs of well-linked text can become difficult to read.  That's unthinking rule-adherence for you…)
Anyway you can control it with Remove Multiple Links if you want.


unable to extract OpenGraph title from CBC.CA

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2018.05.18

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

C:\Documents and Settings\User\Start Menu\Video>youtube-dl -v http://www.cbc.ca/
natureofthings/episodes/the-kingdom-how-fungi-made-our-world
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://www.cbc.ca/natureofthings/episodes/the
-kingdom-how-fungi-made-our-world']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.05.18
[debug] Python version 3.4.4 (CPython) - Windows-XP-5.1.2600-SP3
[debug] exe versions: ffmpeg N-77883-gd7c75a5, ffprobe N-77883-gd7c75a5, phantom
js 1.9.7
[debug] Proxy map: {}
[cbc.ca] the-kingdom-how-fungi-made-our-world: Downloading webpage
WARNING: unable to extract OpenGraph title; please report this issue on https://
yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U
to update. Be sure to call youtube-dl with the --verbose flag and include its c
omplete output.
[download] Downloading playlist: the-kingdom-how-fungi-made-our-world
[cbc.ca] playlist the-kingdom-how-fungi-made-our-world: Collected 2 video ids (d
ownloading 2 of them)
[download] Downloading video 1 of 2
[ThePlatform]<PHONE_NUMBER>787: Downloading SMIL data
[ThePlatform]<PHONE_NUMBER>787: Checking video URL
[ThePlatform]<PHONE_NUMBER>787: Checking video URL
[ThePlatform]<PHONE_NUMBER>787: Checking video URL
[ThePlatform]<PHONE_NUMBER>787: Checking video URL
[ThePlatform]<PHONE_NUMBER>787: Checking video URL
[ThePlatform]<PHONE_NUMBER>787: Checking video URL
[ThePlatform]<PHONE_NUMBER>787: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://progressive.cbc.ca/prodVideo/documentari
es/CBC_Documentaries_VMS/440/507/fungi_promo_2500kbps.mp4?hdnea=st=1526792495~ex
p=1526792885~acl=/prodVideo/documentaries/CBC_Documentaries_VMS/440/507/fungi_pr
omo_~hmac=d0927aadc3a2b5c4f210f89a38e09ed06ca08e221502cde7a44e9d60735397b8'
[download] The Kingdom, How Fungi Made Our World -  Promo-1180503107787.mp4 has
already been downloaded
[download] 100% of 34.02MiB
[download] Downloading video 2 of 2
[ThePlatform]<PHONE_NUMBER>608: Downloading SMIL data
[ThePlatform]<PHONE_NUMBER>608: Checking video URL
[ThePlatform]<PHONE_NUMBER>608: Checking video URL
[ThePlatform]<PHONE_NUMBER>608: Checking video URL
[ThePlatform]<PHONE_NUMBER>608: Checking video URL
[ThePlatform]<PHONE_NUMBER>608: Checking video URL
[ThePlatform]<PHONE_NUMBER>608: Checking video URL
[ThePlatform]<PHONE_NUMBER>608: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://progressive.cbc.ca/prodVideo/documentari
es/CBC_Documentaries_VMS/440/507/fungi_explainer_2500kbps.mp4?hdnea=st=152679249
7~exp=1526792887~acl=/prodVideo/documentaries/CBC_Documentaries_VMS/440/507/fung
i_explainer_~hmac=a93193f79adb2a1a1bd2d111f04e7ef8660b762453f747e266a8974d88ebf
f7b'
[download] The Kingdom, How Fungi Made Our World - What are Fungi-1180503107608.
mp4 has already been downloaded
[download] 100% of 17.83MiB
[download] Finished downloading playlist: the-kingdom-how-fungi-made-our-world

Description of your issue, suggested solution and other information
unable to extract OpenGraph title from CBC.CA

requesting help to resolve the issue

Hi @johnnytornado3,
Apparently the OpenGraph title is not set for a number of CBC videos.  A new PR will be submitted to address this.
Cheers,
Parmjit V.

Parmit
I found that the url leads only to a couple of short teasers
when clicking on the play arrow.
However if I right click on the play arrow and select
'open frame in new tab'
Then that leads to a different url in which youtube-dl
works as usual. The entire 45min. video can be accessed.
However I notice that going with youtube-dl default parameters
gives corrupted output for a second or two now and then.
There are messages now and then about incorrect time codes
Thanks Parmit
looking forward to hear from you again
Johnny
THE OLD SIGNATURE BOX

From: Parmjit Virk<EMAIL_ADDRESS>Sent: May 22, 2018 7:15 PM
To: rg3/youtube-dl
Cc: johnnytornado3; Mention
Subject: Re: [rg3/youtube-dl] unable to extract OpenGraph title from CBC.CA (#16502)
Hi @johnnytornado3https://github.com/johnnytornado3,
Apparently the OpenGraph title is not set for a number of CBC videos. A new PR will be submitted to address this.
Cheers,
Parmjit V.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/rg3/youtube-dl/issues/16502#issuecomment-391170407, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aln-RkuXIbf2EM3uvWGpTc8Zj2SRdEdOks5t1Jv5gaJpZM4UF-GP.

Hi Johnny,
The PR I have submitted will address the missing OpenGraph title warning for the preview videos.
The sporadic incorrect time codes you have noted for the full-length videos sounds like a new and separate issue, and should be opened as such.
Thanks!
Parmjit V.


Feature request : colorizing the stdin - keyboard input in the terminal

Please consider adding this feature for colorizing the keyboard input too.

Can you please give more information on what you want ?

The issue is the following:
I am implementing a tabular reporting for tn47/goledger. In that, the content
for each cell is formatted first, which is agnostic of coloring details.
Coloring options are confined to Rendering functions.
Given this situation my code looks like the following
	rcf.paddcells()
	fmsg := rcf.Fmsg(" %%-%vs%%-%vs%%%vs\n")

	for i, cols := range rcf.rows {
		items := []interface{}{cols[0]}
		if i < 2 {
			items = append(items, cols[1], cols[2])
		} else {
			items = append(items, api.YellowFn(cols[1]), CommodityColor(db, comm, cols[2])))
		}
		fmt.Fprintf(outfd, fmsg, items...)
	}

The issue is the last line fmt.Fprintf, that takes fmsg which is
constructed during runtime.
Some of the cells need to be yellow, while others default to terminal's
foreground, and the entire row is formatted and render by fmt.Fprintf.
Refer: code

I have a draft implementation that works for me, if it looks okay I can raise a pull request.
Refer: fix
Thanks,

It would be great if there was a way to set custom color for the input text. I am using bufio.NewReader(os.Stdin)ReadString('\n') to get the user input from the keyboard in a console application, and I don't see a way to achieve this.

You can force to enable the color with color.NoColor = false, which overrides the automatic detection, and thus enables color for you. Thanks.


comment of "createAssertPrune" is wrong.

i think, this comment is wrong. "isPrune" -> "assertPrune"

You're right. Will you send a PR?

ok, i will.


Move the repository into an Organization

After the trouble with #99 it feel that is stupid to have completely different versions of NativeUI on the same repo. Because of this, I propose that the repository is moved into a new GitHub organization.
Why? Is easy to have the different versions like this:

Organization/NativeUI (1.x for SHVDN 2)
Organization/NativeUI2 (2.x for SHVDN 3)
Organization/NativeUICFX (2.x for FiveM/CitizenFX)

The final decision needs to be taken by @Guad because he is the owner of the repo.

CitizenFX/NativeUI is already updated and i'd say it's different in many ways from Guad's.. there's no need i'd say to keep Guad's NativeUI with FiveM branch right now..

That is the thing, the FiveM version is a beta experimental version. To make a stable release, we would need to kept the code separate because the calls for the Natives and Game/UI classes are different.

Moving this repo to an organization will break the links to it, so I don't feel like it's the right move. While I do agree that it needs to be more separated than a branch, there are better ways to do it. I still think cfx version being under your account & linking to it from the readme as the official cfx fork is good enough.

Moving this repo to an organization will break the links to it

Nope, it will not. justalemon/ServerManager was moved and renamed multiple times and ended up at LambentLight/LambentLight. All of the old links redirect to the new repo.

The other thing that is going to be useful is GitHub Packages for Organizations. With that, we can make NuGet packages available for beta testers without polluting the Public NuGet Repo,

Moving this repo to an organization will break the links to it

Nope, it will not. justalemon/ServerManager was moved and renamed multiple times and ended up at LambentLight/LambentLight. All of the old links redirect to the new repo.

In that case it seems reasonable. When I find some time I'll make the switch.

For the time being I have create a fork on @RAGENativeUI, so I can start working on a SHVDN 3 version.


Unable to find classes present under src/test/java from src/main/java

Hi,
I want to find all the classes that are present under src/test/java
Package Structure:
src/test/java
 - com.ref.test
  -- LoginTest.java
  -- SearchTest.java

I'm writing the below method in the class Execute.java which is present under src/main/java
Package Structure:
src/main/java
 - com.ref.page
  -- Execute.java

private static Reflections getAllTestcaseClass() {

        final ConfigurationBuilder config = new ConfigurationBuilder()
                .setScanners(new ResourcesScanner(), new SubTypesScanner(false))
                .setUrls(ClasspathHelper.forPackage(testcasePackagePath))
                .filterInputsBy(new FilterBuilder().includePackage(testcasePackagePath));

        final Reflections reflect = new Reflections(config);
        return reflect;
    }

testcasePackagePath = "com.ref.test"
If I keep the Execute.java class under src/test/java then it can locate LoginTest and SearchTest classes but when I try to do the same from src/main/java then it is not able to find it.

Hi, you can add this classpath to unit tests via gradle
sourceSets {
    test {
        java.srcDirs = ["src/main/java", "src/test/java"]
    }
}


[1062] Allow force deletion of resources from Rails Admin

Resolves #1062

create custom Rails Admin action based on default delete action

Nice! Looks good to me. Integration is slick

@squidgetx :shipit:?

Yes. Sorry. My internet/free time has been a bit spotty since coming to China but thankfully the GFW lets github trough

No worries, thanks for the help :smiley:!


Ensure the teamUrl has a value before trying to substring it

When starting the iOS app, if you just click on the 'Next' button without filling in anything for the Team URL value, you will get an error rather than UI feedback that the URL is invalid.
By checking that teamUrl is not empty before trying to substring it, we ensure that the app doesn't crash, and we get valid UI feedback.

This functionality has changed with 3.0


CIT Resewn cannot resolve paths generated by paletted_permutations

1.19.4 introduced paletted_permutations, which is a way to dynamically generate new textures in memory (here is some documentation from the snapshot they were introduced in).
Any textures created by these cannot be parsed by CIT Resewn.
For example, here is vanilla Minecraft's iron_chestplate_amethyst_trim model JSON:
{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/iron_chestplate",
    "layer1": "minecraft:trims/items/chestplate_trim_amethyst"
  }
}

You can use the texture minecraft:trims/items/chestplate_trim_amethyst in resource packs, but setting texture=minecraft:trims/items/chestplate_trim_amethyst in an item's .properties file gives you the error:
{citresewn} Errored while parsing CIT: Cannot resolve path @L20 in minecraft:optifine/cit/armor_trims/iron_chestplate.properties from file/Distinct Armor Trims

Enabling the "Broken Paths" option and restarting does not fix the issue.

oddly enough, i just encountered this issue in 1.21.1 with the component-compatible iteration of this pack after it had been working perfectly in 1.21


Source Create/Edit - RISM siglum field should be a filterable list

In an email from Debra:

For the RISM field in sources (such as this one: https://cantusdatabase.org/source/123664), I see 4100 entered instead of a RISM siglum. Is there a source for this number? (Like, is it in a table somewhere?)
That's the place where I used to put "B-TO", and then in the Siglum field I would copy that again plus add the shelfmark. I'm wondering how I should fill out the RISM field in the future. I think we're likely changing this for New-NewCantus to be the RISM code in one field and then just the shelfmark in another, but what should we do in the meantime?

Currently, this field uses the ID of the RismSiglum object in the database - not at all useful! OldCantus has an autocomplete-style widget for this field (the user begins typing, and a list of matching values appears below the field); this may be a good place for a filterable list widget.

@lucasmarchd01, can you look into this when you get a chance? Assigning you because you've recently done work with filterable lists.

On the Source Create page, it's a simple dropdown. At the very least, we can use the same widget on the Source Edit page. Let me see if I can quickly get this set up before merging develop -> staging; we can implement a filterable list later.


Incorrect scenario count for tags and categories is displayed

provide a concrete example and related feature files. thx

I have 2 feature files and 4 scenario's that has to be executed. I have added extentreports-cucumber7-adapter as a maven dependency to my project.
My report is showing the scenario's and feature count correctly but scenario count in tags and categories is incorrect.
Please find below screenshot
I have 4 scenario's but the report shows 8 in total in Tags/categories section
Please find the code in following repository
https://github.com/darkPanther2628/BDDTesy.git

This is a known issue for which a fix is required in the core Extent report code.
Each feature, scenario and scenario outline are converted into Extent Tests. The tag information is cascaded for all the extent tests in the hierarchy. For the @smokeTests tag you will have 2 tests from login.feature and 2 from the login2.feature.

This has been fixed in version 1.7.1.


Add CI workflow

A few things:

A git-cliff configuration file
A "CI" GitHub Actions workflow to ensure code quality

bot automerge+


[BACKPORT]  CI and Build System fixes required to test

Summary
These PRs are all backported.  #2145 is included to cleanly resolve a merge conflict.  #2115 and #2154 are included to make validating the release easier.
#2023 tools: Remove the special handle for Ubuntu under Windows 10
#2126 tools/testbuild.sh: Don't support to change size_t type in datlist
#2128 tools/testbuild.sh: Support the blacklist for the specific host
#2157 build.yml: Switch avr-mips-riscv-x86-xtensa.dat to other.dat
#2145 tools: cxd56: mkspk: automate mkspk build
#2115 CI: Store artifacts durring build
#2154 Applying: build: Fix testbuild.sh artifact copy on macOS
Impact
Allow for continuing the backport fixes.
Testing
CI -- These are all clean backports in the correct order and should be low risk.

@xiaoxiang781216 I want to start with these backports to get the CI system working again on this branch.  Then I will add the others we have marked in follow-on PR.


Retweeting specific accounts

Is there a way I can specify certain accounts to enter contests on so I only win stuff I actually want?

Do you mean filtering by contest type? No, there isn't something like this, but we could make an extra filter by certain keywords. Or do you mean to only participate in contests made by certain accounts you know have stuff you're interested in?

Either would be good, although I specifically meant certain accounts.

Hi @charliehoward ,
I managed to take some time today to change 1 or 2 things and I added the option to configure certain preferred accounts. These need to be configured in the config.js file under preferred_accounts.

In the box do I have type @ then the handle, or just the handle?

It's an array and it doesn't need @. Just something like ["oneaccount", "anotheraccount", "anotherusername", "charliehoward"], etc

Ah okay, thanks! I'll give it ago.


Added file name and time elapsed to onnx-mlir messages

We already printed the "time of day", found it useful to also add the elapsed time.
In addition, when running our backend tests, it is sometime convenient to know which benchmark crashes... so adding the file name to the first message is useful.
> onnx-mlir roberta-base-11.onnx -enable-timing -O3 -march=arm64
[1/6] Wed Aug 21 11:48:07 2024 (0s) Importing ONNX Model to MLIR Module from "roberta-base-11.onnx"
[2/6] Wed Aug 21 11:48:07 2024 (0s) Compiling and Optimizing MLIR Module
[3/6] Wed Aug 21 11:48:09 2024 (2s) Translating MLIR Module to LLVM and Generating LLVM Optimized Bitcode
[4/6] Wed Aug 21 11:48:55 2024 (48s) Generating Object from LLVM Bitcode
[5/6] Wed Aug 21 11:49:15 2024 (68s) Linking and Generating the Output Shared Library
[6/6] Wed Aug 21 11:49:15 2024 (68s) Compilation completed

Jenkins Linux amd64 Build #15423 [push] Added file name and time... started at 16:24

Jenkins Linux s390x Build #15430 [push] Added file name and time... started at 17:24

Jenkins Linux ppc64le Build #14453 [push] Added file name and time... started at 17:33

Jenkins Linux amd64 Build #15423 [push] Added file name and time... passed after 1 hr 6 min

Jenkins Linux s390x Build #15430 [push] Added file name and time... passed after 1 hr 29 min

Jenkins Linux ppc64le Build #14453 [push] Added file name and time... passed after 2 hr 0 min


Some docs improvement

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
753

Relevant Lines:
753

💛  - Coveralls


Release 3.0.0

Added

rb-generic-form -buttons descendent

Changed

rb-check-control-group can use shared model and watches external model changes
rb-definition-list style and structure

Fixed

appearance property no longer requires manual prefixing. Run npm update after updating to prevent breakage.

Commits: https://github.com/rockabox/rbx_ui_components/compare/2.0.0...3.0.0

Closed as changes deemed to be not breaking. So release moved to 2.1.0: https://github.com/rockabox/rbx_ui_components/pull/198


Refactor getting data uris

What's this PR do?
D-R-Y get image URIs
How should this be reviewed?
does posting reportbacks still work? yeah? great
Any background context you want to provide?
since we always need to load the image to get the URI, put that in the function.
This also helps set up for the data migration script
Relevant tickets
Fixes #future problems
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love
[ ] Post a message in #phoenix if this includes something that causes a rebuild!

include the image load in this function.

👍


Create backend batch re-author framework

Adds a backend api route for renaming brews on batch. The call will be coming from naturalcrit's renaming account.actions.js file.

closing to reopen as upstream branch for automatic deployment


Improve article 2307.16430

Exact location of issue
Article fails to convert.
Problem details
It looks like we are missing a class file, INTERSPEECH2023.cls which depends on LaTeX 3 - and that in turn creates an error cascade that latexml can't recover from.
DG: Edit description for clarity.

Thanks for the report! I have edited the description and reopened the issue, as it is a valid Fatal conversion case that we should fix.

@dginev
Thank you very much for your work and your attitude towards this project. 🌟
I closed the issue because the default generated documentation was not accurate enough and I didn't have the time to modify it. I never expected that you would personally reopen the issue and edit my description. Your passion and commitment to the project development is rarely seen in other projects. Excellent work, and I wish you and ar5iv become the default format for arXiv soon!🚀
By the way, ar5iv has been a great help to me. I use web bilingual translation to read papers, and the plugin helps me translate the original format into Chinese while retaining the English original, all based on the web papers provided by ar5iv.

After the recent ar5iv full regeneration, this article has healthy HTML.
We are still missing package support for INTERSPEECH2023.cls, which causes the remaining fidelity issues.


Target directory names for bench_function_over_inputs with strings

Hey! First off, thanks for this great tool! I have one minor issue, here's how to reproduce:

Use bench_function_over_inputs and use strings for the input such as "foo/bar"
Run the benchmark
Look at the file names in the target directory

Expected: Not sure what :).
Actual: The files look like this:

target/criterion/fun/

"foo/

bar"/

While it makes sense, it's kind of unexpected and I wonder if it might be a good idea to replace special characters such as / and " before using them in file names. What do you think?
(This came up here and I have a minimal repo to reproduce it here.)

It's not just that the directory structure is weird and unexpected, but for me it also breaks many of the figures and links in the HTML reports because it can't find things at the weird paths.

Thanks for trying Criterion.rs! Thanks for the bug report.
I figured that would cause trouble sooner or later. I'll try to fix this soon.


Minimal fix for "make check", #1196

This allows "make check" to work.
A follow up issue has been created, to fix the optimizer tests to use accessor functions.

Coverage remained the same at 77.171% when pulling 20408928a60957dc4f7c47ba19445be681d97278 on pervazea:make_check into b7d4ba560c72e0642149c13682e763ba9e27c0f7 on cmu-db:master.


2.0

VERSION 2.0 🎉
It has been a few days since the first release, and I feel its a time for version 2.0 which is packed with a lot of awesome new features.
I would like to say special thank you to everyone who reported bugs or joined discussion on Home Assistant: Community Forum
New Features

Completely refactored the whole integration. Code is now a lot easier to read, simpler and up to current HASS standards.
Set up via Home Assistant Integrations UI, which also means, setup via configuration.yaml is no longer supported.
Automatically creates a new device in Home Assistant with its information like firmware, brand, model etc
Each device automatically creates 2 entities - HD and SD streams of camera platform
Camera stream is now available
Ability to format SD card of a camera
Better error handling and validation of service calls before they get executed

Minor updates

Integration now has an icon, brand and model

Breaking Changes

Integration is now set up via UI. You will need to remove tapo_control from configuration.yaml and set up integration using Home Assistant -> Configuration -> Integrations. Just search for tapo and add the cameras.
Entities of platform tapo_control are no longer created, camera platform is used instead.
Entity names now include _hd or _sd in the name. This does not affect services.

Just some final touches and this will be good to go! 🥳


Script for updating version numbers?

What's up?
Looking at the ton of work in #4564 to update a version number in the PRQL project makes me ache for some kind of global "PRQL_VERSION__NUMBER" that would take care of all this fussy hand-work. But that's not likely to be possible.
I wonder if a script might be able to do this... The script would have to be somewhat clever, because we wouldn't want to change a non-PRQL version number in the file.
As a start, here's a list of the kinds of substitutions that were made, and the files they applied to.
Might this be worthwhile? Any other thoughts on this subject (before I fall into this rabbit hole)? Thanks.
Still manually Edited (or automatically regenerated)

CHANGELOG.md
prqlc/bindings/js/package-lock.json
web/playground/package-lock.json

s/"0.12.1"/"0.12.2"/g

Cargo.toml
lutra/lutra/Cargo.toml
prqlc/bindings/elixir/native/prql/Cargo.toml
prqlc/bindings/js/package.json
prqlc/prql-compiler-macros/Cargo.toml
prqlc/prql-compiler/Cargo.toml
prqlc/prqlc-parser/Cargo.toml
prqlc/prqlc/Cargo.toml
web/book/src/project/target.md
web/playground/package.json

s/'0.12.1'/'0.12.2'/g

prqlc/prqlc/tests/integration/sql.rs
web/book/tests/documentation/snapshots/documentation__book__project__target__version__1.snap

'Generated with [prqlc](https://prql-lang.org/) 0.12.1.'

prqlc/prqlc/src/cli/docs_generator.rs

We have this! Check out https://github.com/PRQL/prql/blob/ff492a5a98dff52c429a39607eaa185111fdbead/web/book/src/project/contributing/development.md#L471 !

WHEW! Another rabbit hole avoided :-) Thanks


Embedded document with discriminatorMap does not get persisted while using Hydrator.

TESTCASE:
<?php

namespace Doctrine\ODM\MongoDB\Tests;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;

class GH715Test extends BaseTest
{

    public function testEmbeddedDocumentsWithDiscriminatorMapShouldBeInserted()
    {
        $document = new GH715User();
        $document->tasks->add(new GH715DownloadTask());
        $document->tasks->add(new GH715BuildTask());

        $this->assertEmebeddedDocumentsInserted($document);
    }

    public function testHydratedRawDocumentsWithDiscriminatorMapShouldBeInserted()
    {
        $document = new GH715User();
        $data = array(
            'tasks' => array(
                array('taskType' => 'download', 'name' => 'Download name'),
                array('taskType' => 'build', 'name' => 'Build name'),
            )
        );

        $hydrator = $this->dm->getHydratorFactory()->getHydratorFor(get_class($document));
        $hydrator->hydrate($document, $data);

        $this->assertEmebeddedDocumentsInserted($document);
    }

    public function testHydratedDocumentsWithDiscriminatorMapShouldBeInserted()
    {
        $document = new GH715User();
        $data = array(
            'tasks' => array(
                new GH715DownloadTask(),
                new GH715BuildTask(),
            )
        );

        $hydrator = $this->dm->getHydratorFactory()->getHydratorFor(get_class($document));
        $hydrator->hydrate($document, $data);

        $this->assertEmebeddedDocumentsInserted($document);
    }

    protected function assertEmebeddedDocumentsInserted(GH715User $document)
    {

        $this->dm->persist($document);
        $this->dm->flush();
        $this->dm->clear();

        $query = $this->dm->createQueryBuilder(__NAMESPACE__ . '\GH715User')
            ->field('id')->equals($document->id)
            ->getQuery();

        $document = $query->getSingleResult();

        $this->assertInstanceOf('Doctrine\ODM\MongoDB\PersistentCollection', $document->tasks);
        $this->assertEquals(2, $document->tasks->count());

        $iterator = $document->tasks->getIterator();
        $this->assertInstanceOf(__NAMESPACE__ . '\GH715DownloadTask', $iterator[0]);
        $this->assertInstanceOf(__NAMESPACE__ . '\GH715BuildTask', $iterator[1]);
    }
}

/** @ODM\Document */
class GH715User
{
    /** @ODM\Id */
    public $id;

    /**
     * @ODM\EmbedMany(
     *   discriminatorField="taskType",
     *   discriminatorMap={
     *     "download"="GH715DownloadTask",
     *     "build"="GH715BuildTask"
     *   }
     * )
     */
    public $tasks;

    public function __construct()
    {
        $this->tasks = new ArrayCollection();
    }

}

/**
 * @ODM\EmbeddedDocument
 */
class GH715DownloadTask
{

    public $name = 'Download Task';

}

/**
 * @ODM\EmbeddedDocument
 */
class GH715BuildTask
{
    public $name = 'Build Task';
}

Passing tests:

first test passes, great!

Failing tests:

second test does not persist EmbeddedDocuments items to database ( = MAIN ISSUE!)
third test is a new feature I guess: Use the hydrator also for hydrating new values from a form for example:

1) Doctrine\ODM\MongoDB\Tests\GH715Test::testHydratedDocumentsWithDiscriminatorMapShouldBeInserted
Doctrine\Common\Persistence\Mapping\MappingException: Class '' does not exist

This error is trigger because DocumentManager::getClassNameFromDiscriminatorValue() behaves in an incomplete way:
The value in my case is an EmbeddedDocument object and not an array. I guess there should be one more elseif. Something like:

If the object is a document (or emebeddeddocument)
Then search in the $mapping['discriminatorMap'] for the class of the document.
If the className is in the discriminatorMap: return this classname!

In ORM a simular approach does work. So I guess this is missing functionality.

FWIW testHydratedRawDocumentsWithDiscriminatorMapShouldBeInserted is passing on current dev-master but I'm not sure yet how to fix @jmikola's failing testHydratedRawDocumentsShouldBeInserted()

@jmikola IIRC I proposed passing a hint to options that would initialize collections instead of calling setMongoData, details are yet to be figured out

Bumping for a 1.0.x patch release.

@malarzm is this still relevant?

Haven't checked the original tests but hydration of embedded documents should work just fine with read-only hint introduced in #1403. Also we were heavily using hydration of non-db values and I think we would be bitten long ago if something would be off :) Closing for now


update svml patch

@esc @stuartarchibald

@Hardcode84 thank you for the patch, I will try and re-build and report back at: https://github.com/numba/llvmlite/pull/715


Source Control in Visual Studio Code displays all files as newly created

Type: Bug
Problem Description:
In Visual Studio Code’s source control view, all files in the repository appear as if they are entirely new: the left side of the diff view is empty, while the right side shows the entire file in green, as if it was newly added. This issue does not occur in other Git applications, such as GitKraken or the command line, where changes are displayed correctly.
System and Setup:
•	Operating System: macOS
•	Visual Studio Code Version: 1.95.2
Steps to Reproduce:
1.	Open the project in Visual Studio Code.
2.	Make some edits to files (adding, removing, or modifying lines).
3.	Go to the source control panel to review the diffs.
Expected Behavior:
The source control view should display only actual changes: removed lines in red on the left and added lines in green on the right.
Observed Behavior:
Every edited file appears as if it were completely new: the left side of the diff view is blank, while the right side shows the entire file in green.
Troubleshooting Steps Taken:
•	Disabled and re-enabled Git: Enabled in Settings.
•	Fully uninstalled and reinstalled Visual Studio Code.
•	Cleared Git cache in Visual Studio Code.
•	Tried different configurations for core.autocrlf.
•	Verified and adjusted line-ending settings (CRLF/LF) in the repository and in VS Code.
•	Started VS Code without user configurations (code --user-data-dir="").
Results of Testing in Other Applications:
This issue does not occur in other Git tools:
•	GitKraken: Changes are displayed correctly.
•	Git command line: git diff and other commands show the changes accurately.
Suspected Error or Area of Impact:
This might be an issue in Visual Studio Code’s Git integration on macOS or related to how VS Code manages line endings and formatting changes when calculating diffs.
Thank you for any guidance or solution that could help resolve this issue.

Does it happen on all your Git-enabled folders?
Does the Start Extension Bisect command point to any of your extensions as the cause?

Thank you very much for your help.
When reviewing Git’s output, I encountered the following error:
git show --textconv HEAD:src/file.ts
error: invalid value for 'gpg.format': ''
fatal: bad config variable 'gpg.format' in file '/Users/.gitconfig' at line 6

I removed the empty lines related to gpg.format in the .gitconfig file, and that resolved the issue.


Downloading Celebrities and Moderation data

The UI shows the celebrities and moderation data under ML vision.  However, When I download I am getting junk data.
Like this
[object Object],[object Object],
Is this normal?  Am I missing anything?

Thanks for issue! Fortunately, this issue has already been fixed in https://github.com/awslabs/aws-media-insights-engine/issues/135.
To get that fix, replace your current MIE installation with this one: https://github.com/awslabs/aws-media-insights#installation


predictor with text prompt using CLIP

Hi,
I have implemented text prompt-controlled segmentation using selective search and CLIP. Can you suggest any additional techniques I can include? I am considering trying CLIP-GradCAM   #4
https://github.com/Usama3059/SAMtext/blob/main/SAM _predictor_with_text-prompt_using_CLIP_v1.ipynb
Text prompt: the car side mirror
CLIP suggestion:

SAM segmentation

interesting, I ran your notebook and it picked out the passenger window.

CRIS maybe https://arxiv.org/abs/2111.15174.
I was considering fine tuning a model on RefCOCO. I was kindof surprised they didn't release the text to mask model. I suspect they have followup work coming out soon that does this.

I build a small demo where first SAM extracts all objects and then CLIP is used to retrieve the best matching ones: https://github.com/maxi-w/CLIP-SAM
Example for "kiwi":

Did you try and merge adjacent segmentation masks into larger objects? I just played so runs with the web demo and it seems like contiguous objects can sometimes be segmented into many parts. It would be with testing something like this on a dataset like RefCOCO.

I'm wondering what the memory foot print would be to train a prompt encoder based on CLIP embeddings. It said in the FAQ that they used 256 A100 GPUs for 3-5 days lol!

Did you try and merge adjacent segmentation masks into larger objects? I just played around with the web demo and it seems like contiguous objects can sometimes be segmented into many parts. It would be with testing something like this on a dataset like RefCOCO.

It seems that sometimes it already segments both the individual parts and the whole thing

I have been working on segmenting small objects with low-quality image descriptions, such as car blinkers. I have used a sliding window technique to extract image patches, which were then subjected to clip retrieval, CLIP Grad-CAM, then point extraction and then SAM to get the segmentation results.
Text-prompt: car blinkers
Sample Image:

gradcam:

notebook: https://github.com/Usama3059/SAMtext/blob/main/SAM__predictor_with_text_prompt_using_CLIP_v2.ipynb
There are still some pending tasks, I need to integrate Grad-CAM with SAM, plan to test this technique on more images to assess its effectiveness across different scenarios. Lastly,batch processing  when dealing with a large number of patches."

I put together some code for testing the model on RefCOCO.
https://github.com/helblazer811/RefSAM

I'm wondering what the memory foot print would be to train a prompt encoder based on CLIP embeddings. It said in the FAQ that they used 256 A100 GPUs for 3-5 days lol!

I believe this is for the full model. Presumably training only a CLIP-based text prompt encoder to the same latent space as the bboxes/points (in a self-supervised manner, keeping the existing bbox/point encoder fixed) would be much easier because the rest of the model can be fully ignored? Would  definitely be better in the long term than checking all found objects, and reverse engineering with CLIP?

Agreed it would be way less. I think CLIP alone would not work that well
though. CLIP doesn’t do cross attention between text and image features. It
really struggles to contrast images with different relative spatial
orientations of objects. Most SOTA approaches for Referring Image
Segmentation do some sort of Vision Language feature fusion.
On Fri, Apr 7, 2023 at 7:19 AM Denis Hadjivelichkov <
@.***> wrote:

I'm wondering what the memory foot print would be to train a prompt
encoder based on CLIP embeddings. It said in the FAQ that they used 256
A100 GPUs for 3-5 days lol!
I believe this is for the full model. Presumably training only a
CLIP-based text prompt encoder to the same latent space as the
bboxes/points (in a self-supervised manner, keeping the existing bbox/point
encoder fixed) would be much easier because the rest of the model can be
fully ignored? Would definitely be better in the long term than checking
all found objects, and reverse engineering with CLIP?
—
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/segment-anything/issues/6#issuecomment-1500198369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMGLRTIVQGP5RCLTF4DML3W77Z3PANCNFSM6AAAAAAWUMKGBQ
.
You are receiving this because you commented.Message ID:
@.***>

I build a small demo where first SAM extracts all objects and then CLIP is used to retrieve the best matching ones: https://github.com/maxi-w/CLIP-SAM
Example for "kiwi":

The example code provided seems to work on the vit_h model only, is that correct? I'm getting errors when trying the vit_l model.

Hi, guys, could you provide the FQA links for me? I just could not find it.

https://segment-anything.com/?fbclid=IwAR21Y_KQ-NPW4eU6Wid6Tzp8Z_EuuXzZ7a7O7WhDofJTt-Dd7Lt7qcYym5U
Bottom of this page.

@helblazer811 Thank you very much!

Usama3059
You may wish to reference our new work: https://arxiv.org/abs/2212.09506, CLIP is Also an Efficient Segmenter: A Text-Driven Approach for Weakly Supervised Semantic Segmentation

Two examples of clip_vit_B/32 text embedding, which reduced from 512 to 256 with laion400m image embedding and text embedding. The first image with 'dog' as text prompt, and the second with 'cat' as text prompt.

I have been working on segmenting small objects(based on patch size value) with low-quality image descriptions, such as car blinkers. I have used a sliding window technique to extract image patches, which were then subjected to clip retrieval, CLIP Grad-CAM, then point extraction and then SAM to get the segmentation results.
Text-prompt: car blinkers
Sample Image:
gradcam:
notebook: https://github.com/Usama3059/SAMtext/blob/main/SAM__predictor_with_text_prompt_using_CLIP_v2.ipynb
There are still some pending tasks, I need to integrate Grad-CAM with SAM, plan to test this technique on more images to assess its effectiveness across different scenarios. Lastly,batch processing when dealing with a large number of patches."

Grad-CAM is only able to apply on ResNets after ignore self-attention for the middle layer.
We propose a solution enables ViTs and works fine on large resolution.
Our work can achieve text to mask with SAM:
https://github.com/xmed-lab/CLIP_Surgery
This is our work about CLIP's explainability. It's able to guide SAM to achieve text to mask without manual points.
Besides, it's very simple without any fine-tuning, using the CLIP model itself only.
Furthermore, it enhances many open-vocabulary tasks, like segmentation, multi-label classification, multimodal visualization.
This is the jupyter demo:
https://github.com/xmed-lab/CLIP_Surgery/blob/master/demo.ipynb

following

Thanks for sharing. Inpsired me to write a simple example, similarly adding text prompt to give the segmentation classes. Code here .


Add a SWIFT_RUNTIME_MACHO_NO_DYLD stdlib mode that doesn't dynamically look up sections in modules, and only assumes a single static module

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 1beec2645d0bb9a484cdb91338d411610e3f1cd6

Build failed
Swift Test OS X Platform
Git Sha - 1beec2645d0bb9a484cdb91338d411610e3f1cd6

Instead of #ifdef-ing half of ImageInspectionMachO, maybe this variant could be put in its own ImageInspectionStatic.cpp file. It would also be useful to do this for static executables on Linux.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 1beec2645d0bb9a484cdb91338d411610e3f1cd6

Build failed
Swift Test Linux Platform
Git Sha - 1beec2645d0bb9a484cdb91338d411610e3f1cd6

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 1564b5449002e1e67218592b22fb4ea7a6616e66

Build failed
Swift Test Linux Platform
Git Sha - 1564b5449002e1e67218592b22fb4ea7a6616e66

@jckarter I've introduced the ImageInspectionStatic.cpp file instead of changing ImageInspectionMacho.cpp. Would you take another look now?

Thanks to both of you, this approach looks much nicer.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - e2f1e55b95d0688bc56e8c1a83c4367f215682f2

Build failed
Swift Test OS X Platform
Git Sha - e2f1e55b95d0688bc56e8c1a83c4367f215682f2


Splitter with two modes: routing handler, event bus module

Version used

knot.x: 1.3.0

Context of the issue/feature
Knot.x server with OpenAPI-based router allows to define custom handlers for particular operations. This is the way how we can configure custom splitter. So we do not have to use the Vert.x Event Bus when we do not plan to scale that module (that prevents serialization overhead for local splitters).
We should provide the solution where splitter can be configured as a handler and an event bus module.
Appendix

https://github.com/Cognifide/knotx/blob/feature/request-api-configuration/knotx-core/src/main/java/io/knotx/server/handler/api/RoutingHandlerFactory.java

Splitter was reimplemented and allows to define it as a custom handler: https://github.com/Knotx/knotx-server-http. Not Vert.x Event Bus option available by default.


A tool to help to backport locales

It use old en-US locales as reference, fill the old other locales with new locales.

Wait, find more bugs in the locale system

Codecov Report

Merging #23633 (3641e10) into main (f521e88) will decrease coverage by 0.01%.
The diff coverage is 37.89%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main   #23633      +/-   ##
==========================================
- Coverage   47.14%   47.13%   -0.01%
==========================================
  Files        1149     1154       +5
  Lines      151446   152353     +907
==========================================
+ Hits        71397    71817     +420
- Misses      71611    72056     +445
- Partials     8438     8480      +42

Impacted Files
Coverage Δ

cmd/dump.go
0.67% <0.00%> (ø)

cmd/web.go
0.00% <0.00%> (ø)

models/actions/run.go
1.64% <0.00%> (-0.08%)
:arrow_down:

models/actions/runner.go
1.44% <ø> (ø)

models/packages/package.go
45.45% <0.00%> (-1.13%)
:arrow_down:

models/user/search.go
77.50% <0.00%> (-6.29%)
:arrow_down:

modules/actions/github.go
0.00% <0.00%> (ø)

modules/actions/workflows.go
0.00% <0.00%> (ø)

modules/context/context.go
64.54% <0.00%> (-3.53%)
:arrow_down:

modules/doctor/storage.go
31.93% <0.00%> (ø)

... and 33 more

... and 40 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I think there's still a bug here. The Czech locale file in the referenced PR has ended up with an unclosed quote

I think there's still a bug here. The Czech locale file in the referenced PR has ended up with an unclosed quote

Two bugs:

The semicolon in strings, cause the last restoring to Crowdin become a mess
The Czech is still buggy in crowdin (still caused by last restoring)

They are all caused by the old update-locales.sh and the last restoring. But we can not import our ini to crowdin because they are still incompatible.
I can do nothing at the moment because I do not have privileges.
See the crowdin:
https://crowdin.com/translate/gitea/68/enus-cs?filter=advanced&value=12&verbal_expression_scope=translations&sort_method=1#q=run_user_not_match

ping lg-tm


CTRL + and CTRL 0 not working on my Windows 10 pc.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.63.2
OS Version: Windows 10.o.19044

Steps to Reproduce:

CTRL - several time did reduce the app font size
CTRL + or CTRL 0 had no effect

Did you try them after running the command to reload with all extensions disabled?

Let's first try to find out what command executes on your machine, with your settings and your keybindings when pressing Ctrl+=. Could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and I can try to help.


#22 Add Spike template fix

Fix file location

Closes #174

Also, don't you want to remove file https://github.com/AbsaOSS/atum-service/blob/master/.github/workflows/spike_task.md ?

Funny how Git sometime detects a move and sometimes now. Thanks for noticing.

Also, don't you want to remove file https://github.com/AbsaOSS/atum-service/blob/master/.github/workflows/spike_task.md ?

Funny how Git sometime detects a move and sometimes now. Thanks for noticing.

depends how you use it maybe. In terminal I don't have any non-determinism, never had I think


(gitextensions) Update .NET dependency

Description
Update the .NET dependency on Git Extensions
Motivation and Context
The minimum .NET version of Git Extensions is now .NET 8.0.8.
How Has this Been Tested?
Installed package with updated dependencies and confirmed it worked as expected.
Screenshot (if appropriate, usually isn't needed):
Types of changes

[x] 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 change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[ ] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
[ ] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the Chocolatey Test Environment(https://github.com/chocolatey-community/chocolatey-test-environment/). Note that we don't support the use of any other environment.
[x] The changes only affect a single package (not including meta package).

Fixes #2535

:white_check_mark: Package verification completed without issues. PR is now pending human review

@corbob your changes have been merged. Thanks for your contribution 👍


Why fetch in composer?

Why is fetch being used in the composer functions?
Doesn't fetch return a non-reactive array?
Why not just return a cursor?

Could you give more context to this ?

In core/containers/postlist.js, there is this line
const posts = Collections.Posts.find().fetch();

That's the way we do it. We called .find() here. So, whenever there's a change inside to the collection, you'll get data.

But why not just do it without the fetch?
const posts = Collections.Posts.find();

To me, it seems like fetch would become inefficient for large sets of data because it's returning all the data at once.

This is not possible with React. This is only something works in Blaze.
Have you done a performance test?
Usually this won't be an issue in React.

Fetch assigns dependencies and is in fact reactive. From the docs:

Cursors are a reactive data source. On the client, the first time you retrieve a cursor’s documents with fetch, map, or forEach inside a reactive computation (eg, a template or autorun), Meteor will register a dependency on the underlying data. Any change to the collection that changes the documents in a cursor will trigger a recomputation. To disable this behavior, pass {reactive: false} as an option to find.


Parameters in the collar table

Hello. I'd like to suggest a feature to the package. I'm using the DrillHoles.jl to a task, and I have important data on the collar table that I can't move, for logistical matters, to the interval table. When I use the drillhole function, these data are not passed to the desurveyed table generated by the drillhole function. For what I've researched, that's how it should work, given that the collar function doesn't recgonize explicitly any parameters besides x, y, z, holeid and enddepth and all the other data should be in the interval table. Is it feasible to add the option of using data that are located at the collar table and can't be moved around in the same way as the interval table?

Hi @a-cordeiro , as you pointed out the collar table only contains the X,Y,Z,ID as the relevant information. Even if we wanted to copy the other columns to the final result, these final columns would be mostly filled with missing values.
Can you comment on the logistical matters? The most natural solution consists of rearranging the input tables to the standard specification, and that should be relatively easy to do with Julia's DataFrames.jl ecosystem.
Also, notice that we have fixed a couple of bugs in the #cleanup branch of this repository. We didn't have time to finish it up yet, but worth keeping it in mind.


Fix missing bracket in Powershell script

@goventur : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks @goventur.


Script to clean deprecated prefs from prefs.js

Anyone interested in that kind of script, before I dig into?
If so, I can make powershell one.
Cheers

See #242 which I hope to do one day

It a bit ugly. But WTH, will be good for first post.
if (Get-Process firefox -ErrorAction SilentlyContinue) { Write-Host 'Firefox must be closed to proceed. Exiting...'; Exit }

if (($InstalledVersion = Get-ItemProperty 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox *', 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox *' | Sort-Object DisplayName | Select-Object @{Name='Version';Expression={$_.DisplayVersion.Split('.')[0]}}, @{Name='Name'; Expression={$_.DisplayName}}) -eq $null) { Write-Host 'No Firefox installed. Exiting...'; Exit }

Try { $ghacks_user_js = (Invoke-WebRequest -Uri https://raw.githubusercontent.com/ghacksuserjs/ghacks-user.js/master/user.js).Content } Catch { Write-Host 'There might be no internet connection. Exiting...'; Exit }

$Section9999 = ([regex]'\/\*\*\*\s9999:.*\/\*\sEND:').Match($ghacks_user_js.Replace("`n", "°")).Value # get deprecated section
$Section9999 = ([regex]'°\/\*\sFF.*\/\*').Match($Section9999).Value # strip header and kill the parrot
$ValidVersions = @(($Section9999.Split('°') | Select-String -Pattern '^\/\S\sFF.*') | ForEach { $_ -match '^\/\S\sFF(\d{2}).*' | Out-Null; $Matches[1] })

Write-Host 'Firefox installation(s) found:'
$InstalledVersion | ForEach { "$($_.Version) : $($_.Name)" }
Write-Host ''

if ($InstalledVersion.Count -ne 1) { $Version = Read-Host -Prompt "Enter Firefox version (Default: $($InstalledVersion[0].Version); 0: Exit)" }
if ($Version -eq 0) { Exit }
if (!$Version) { $Version = $InstalledVersion[0].Version }
if ($ValidVersions -notcontains $Version) { Write-Host 'Selection input error. Exiting...'; Exit }
Write-Host "Selected version: $Version"
Write-Host ''

$DeprecatedPrefs = @($([regex]".*°\/(\*|\/)\sFF$Version(?=.*)(?(?!\/{2}\s(?:\*{3}|(\*\s){3})\/).)*\/{2}\s(?:\*{3}|(\*\s){3})\/").Match($Section9999).Value -split '°' | Select-String -Pattern 'user_pref' -SimpleMatch | ForEach { $_.ToString().Split('"')[1] })

if (!(Test-Path $env:APPDATA\Mozilla\Firefox\Profiles.ini)) { Write-Host "Profile folder can't be found. Exiting..."; Exit }
$FirefoxProfiles = @([String]::Join(' ', (Get-Content $env:APPDATA\Mozilla\Firefox\Profiles.ini)).Replace('[',"`nProfile=").Replace(']','').Trim().Split("`n") | ForEach { New-Object psobject -Property (ConvertFrom-StringData -StringData $_.Trim().Replace(' ',"`n")) })
$FirefoxProfiles = $FirefoxProfiles | where { $_.Name -ne $null -and $_.Path -ne $null} | Sort-Object Default, Name
$FirefoxProfiles | ForEach { if ($_.IsRelative) { $_.Path = "$env:APPDATA\Mozilla\Firefox\$($_.Path.Replace('/','\'))"}}
Write-Host ''

Write-Host 'Firefox profile(s) found:'
$index = 1
$FirefoxProfiles | ForEach { "$index : $($_.Name) ($($_.Path))"; $index++ }
"$index : Custom path"
Write-Host ''

Remove-Variable SelectedProfile
$SelectedProfile = (Read-Host -Prompt 'Enter profile index (Default: 1; 0: Exit)').ToString().Trim()
if (!$SelectedProfile) { $SelectedProfile = 1 }
if ($SelectedProfile -eq 0) { Exit }
Try { $SelectedProfile = [Int]$SelectedProfile } Catch { Write-Host 'Selection input error. Exiting...'; Exit }
if ($SelectedProfile -gt ($FirefoxProfiles.Count + 1)) { Write-Host 'Selection input error. Exiting...'; Exit }
Write-Host "Selected profile: $SelectedProfile"
Write-Host ''

if ($SelectedProfile -eq $FirefoxProfiles.Count + 1) { $ProfilePath = (Read-Host -Prompt 'Enter the profile path').TrimEnd('\') } else { $ProfilePath = "$($FirefoxProfiles[$SelectedProfile - 1].Path)" }

if (!(Test-Path $ProfilePath\prefs.js)) { "$ProfilePath\prefs.js could not be found. Exiting..."; Exit }
$CurrentPrefs = Get-Content $ProfilePath\prefs.js

$RemovedPrefs = $CurrentPrefs | where { $DeprecatedPrefs -contains $_.Split('"')[1] }
$NewPrefs = $CurrentPrefs | where { $DeprecatedPrefs -notcontains $_.Split('"')[1] }

if ($RemovedPrefs) {
    $TimeStamp = (Get-Date).ToString("yyyy.MM.dd-HH.mm.ss")

    Move-Item $ProfilePath\prefs.js "$ProfilePath\prefs.js-$TimeStamp-backup.txt"
    $NewPrefs| Out-File $ProfilePath\prefs.js -Encoding Default -Force
    $RemovedPrefs| Out-File "$ProfilePath\prefs.js-$TimeStamp-removed.txt" -Encoding Default -Force

    Write-Host 'Done!'
    Write-Host ''
    Write-Host "Backup of original: $ProfilePath\prefs.js-$TimeStamp-backup.txt"
    Write-Host "Removed prefs log : $ProfilePath\prefs.js-$TimeStamp-removed.txt"

    Exit
}

Write-Host 'No changes needed. Exiting...'

Um .. so what does this do exactly?
Take commented out preferences from user.j section 9999 and remove them from pref.js if they exist in there? Is that what it is meant to do? And does it account for the fact that the ESR sections in deprecated do not use // but instead have a whole section switch?
^^ If that is what this does (section 9999) then why not just do the entire user.js?
I need an English description of what this is meant to do

It takes all prefs (commented and not commented) from Section 9999 up to and included your version of FF. But you can also choose to override  by entering desired version of FF.
What do you think with entire user.js?
Your ghacks user.js as a source or users user.js file?

What do you think with entire user.js?
Your ghacks user.js as a source or users user.js file?

Always use the local file

Give me please couple of hours... I have found one non-lethal bug (annoyance).
I will also add comments, to see clearly what does what.
Why local? Who says that user didn't strip out Section 9999?
I am using your web file, since is most up-to-date and it really has Section 9999.

Updated.
Cheers

Why local? Who says that user didn't strip out Section 9999?

Who said u were referring to just the section 9999? IDK, maybe build in a switch to use local or latest-on-web. Take your time. This is @earthlng and @claustromaniac territory

Implementing local would be simple.
Implementing only local would be too simple.
Upper script looks complicated, since it takes ghachs-user.js from the web and parses all deprecated up to, including, you version of FF.
So there is your FF version detection and there is your profile detection.
Script would be a few lines long if I do it to process only the folder in which the script is started (so there is no profile detection needed) and with the use of file with a list of deprecated prefs of interest (so there is no FF version detection needed).
I actually don't need time... if you find that I could be in any help here, then here I am to use me. :)
Just let me know what and how would you like and will do.
It would also be no hard feeling in case you just close this "issue".
Cheers

For convenience, I could add similar functionality to the batch updater if there was a demand for it (or if I'm bored and can spare the time to do so).

I'm only just recovering from all those scratchpad scripts, which served a purpose. It's a scary thing for someone to run those - effectively clearing 600+ prefs
The purpose was to make sure that end users were effectively in sync, and hadn't forgotten to rest anything. It also worked in reverse by showing me what I had forgotten to add to my overrides section.
However

it's a bit scary, maybe
it's (probably) immediately out of date as soon as the end user does changes or updates

So... a script (and Firefox must be closed), that

checks for webappsstore.sqlite-shm to determine if FF is open
checks for user.js
backups prefs.js
removes entries in prefs.js that are // in user.js
creates a log of changes (only items that were actually removed)
closes, user restarts FF

THIS would be an always-up-to-date solution, rather than the scratchpad sripts
I would like to see this as a separate file and not built into the updater bat. A single purpose clear bat

^^ not quite right. It's inactive prefs, not just those with // .. some inactive prefs are behind one-char switches, so we need to determine those as well

I haven't yet tested the script @crssi provided here, but if I understand correctly it already more or less covers that. For a standalone solution, the only advantage a batch script would have over this powershell script, as far as I know, is that it wouldn't require the user to change powershell's execution policy first (which defaults to restricted). However, if you hosted the script in this repository you could simply add instructions for that in the wiki or somewhere else. It is as simple as:

Save the above script with a .ps1 extension.
Open the command line prompt, and enter the following:

powershell
Set-ExecutionPolicy RemoteSigned

Run the script.

It seems it would still need a few changes to make it work exactly the way you describe, though. Also the RemoteSigned policy requires that users create the .ps1 files themselves, otherwise they would need to set the execution policy to Unrestricted.

THIS would be an always-up-to-date solution, rather than the scratchpad sripts

this would not detect any prefs that we removed from the user.js

True, that's the only drawback - but it's the same for any method, because the item is gone. Heck, even our list has been manually created

Pants, is there any good reason not to remove every preference (active and inactive) in user.js from prefs.js? Active preferences would end up in prefs.js anyway, and it would simplify such a script a lot.
amirite?
The only downside I see: a log would include removed active preferences.

I'm not sure I follow
scratchpad
The scratchpad scripts remove every pref (because we do not know what end users have done to their copy, i.e in the main body, not an override section), so by clearing the lot and then a restart to re-apply the active ones, it means it should now be all squeaky clean and in sync. Note: the "removed" prefs are a different story.
bat file for local user.js
For THIS local bat file idea where it ONLY reads the local user.js, then all it needs to do is remove the inactive prefs, which is what I said. This bat file can also be used with ANY user.js, not just ours
bat file as outlined by crssi
The idea that this local bat file idea clears shit based on the online version is not suitable IMO, and should be dropped. It complicates things
summary

updater scripts to update user.js and append overrides
cleaner script for local user.js->prefs (remove inactive prefs only) <- universally good with any user.js (assuming syntax convention that we can pick up on any user_pref(" string and determine it is inactive)
scratchpad script for removed items

That's all that would really be needed, although the other scratchpad scripts can come in handy if people trim their user.js, i.e they remove items/sections, it could help them clean up missed resets

I just meant that if we remove from prefs.js all the preferences in user.js, commented-out (inactive) or not, then the active ones will end up in prefs.js anyway. This would simplify the script since it wouldn't need to determine what is active or inactive in user.js first. Is there any good reason to only remove commented-out preferences instead?

Well, yup, that's the simplest way - that's what the scratchpad scripts do, because as you said, active ones get reapplied.

why close this? we haven't produced a final script(s) or documented it anywhere

I don't see a reason to keep this one open simply because @claustromaniac script makes more sense and even doe PS is more capable, the BAT is easier for end user.

issues are like a checklist of todo items - so I want it open until the job is finished, that's all :)

have added a note to #283 for adding this to the wiki


A component can only have a default export

Following the tutorial over at https://svelte.dev/tutorial/declaring-props, I've declared a component which looks like this:

The answer is {answer}

However, I get a linter error from "svelte" saying that "A component can only have a default export". Clearly this must be wrong.
Any ideas of what could be causing this?

@UnwrittenFun ping

I've neglected the atom plugin a bit so its quite out of date. Will try to push a new version soon

@UnwrittenFun 🏓 😋

@UnwrittenFun Any update on this?

@UnwrittenFun ping :(

@UnwrittenFun ping :(

+1

+2 this is pretty rough for Atom users.

pong ?

@UnwrittenFun if transferring this repo to the sveltejs org would help, by making it easier for other people to help out on this project, let me know. I wouldn't personally have the first clue about maintaining an Atom plugin but I'm sure we can muddle through between us (at least to upgrade it to Svelte 3)

@UnwrittenFun @Rich-Harris I'll be happy to help with maintenance or contributions. Let me know.

@Rich-Harris Happy to transfer this. I think/hope updating would mostly be a matter of installing the latest version of the language server (Grammar might need updating a little?)

Excellent, thank you — will keep an eye out for the transfer

@Rich-Harris Have requested transfer to you as I can't do it to the svelte org without being a member

@UnwrittenFun gah, I just saw this but the link had already expired — can I trouble you to transfer it again?

@Rich-Harris Sent 😄

Thank you! It's now part of the sveltejs organisation: https://github.com/sveltejs/svelte-atom

Is there a workaround for this? Just opened up the 'sapper-template' for the first time, and the linter is already saying "nope".

Ok, so I've partially worked around this. Went into <user>/.atom/packages/ide-svelte and ran npm i<EMAIL_ADDRESS>(since a new version's been published, but the addon has the version pinned). That got rid of the lint error, but seems to have now brought in a Typescript lint info message Variable 'segment' implicitly has an 'any' type, but a better type may be inferred from usage.
I don't have Typescript enabled in the project, would be nice if this was an opt-in toggle in the addon.

Fix in the works?

@dkotik https://github.com/sveltejs/language-tools/pull/160. Who knows when/if it'll get any traction.
Honestly though, it seems all the eggs have gone into the VS Code basket, which is a bummer.

@dkotik You can update the language server version manually, run npm install, and then reboot atom. Or you can just try out my forked package (https://atom.io/packages/ide-svelte-2), which updates the svelte language server to 0.11.0
That alone works fine on my projects, but feel free to report any issues and I'll have a go at fixing them.

@mlsvrts ok, I updated ide-svelte/package.json with (and it worked! what a marvelous person you are - can we be friends? I am dkotik on twitter):
  "dependencies": {
    "atom-languageclient": "^0.9.9",
    "svelte-language-server": "0.11.0"
  },

Should be fixed in 1.0.0 that include the last version of Language Server (which is very big jump :sweat_smile: ).


winpr/input: Add actual evdev keyboard handling

Quoting the commit message here:
WinPR provides APIs to convert between keycodes between virtual
keycodes.
These keycodes can currently be evdev keycodes or Apple keycodes.
The evdev handling, however, handles XKB keycodes and not evdev ones.
The main difference between these is that XKB keycodes are shifted by
the value 8, compared to evdev keycodes.

In order to fix this situation, rename the evdev keycodes to XKB ones,
and introduce additionally a new keycode evdev, including its handling
for this keycode type.

This is an API breaking change.

Did split up a few lines to have both a consistent indentation for the comments and to make clang-format happy.

@freerdp-bot test

Suggestion: if that breaks API/API we shall start a file to document all these changes, and give some hints of how to migrate to 3.0

Suggestion: if that breaks API/API we shall start a file to document all these changes, and give some hints of how to migrate to 3.0

Indeed. Do we already have something like an empty wiki page, where markdown works (something which we members can all edit)?


cannot find Ftp library.

Hi, Can i know why Codeigniter 4 doesn't have a FTP library ? Or is there any alternative for this? Because Codeigniter 3 has this.

The FTP class was rarely used. Feel free to search the replacement over Packagist.


Pipeline Report Result Plugin System

Feature Description
A pipeline can produce artifacts like Unit Test Reports, OWASP Zap Scan Reports, Sonarcube Quality Reports from code scanners,... and I was thinking about a configureable pipeline run page, where you could visualize the data via a web container or something. So gitea would just build a plugin system and companies or open source projects could then develop their basic integration of their tooling.
Is that an idea you would like to think further about it, or is this way out of scope for Gitea + Gitea Actions?
Screenshots
No response

This could be completed with an action. So for Gitea's responsibility, it can support some standard artifacts formats. When actions upload artifacts, special formats files can be viewed online instead of downloading.


SNOW-1418500: Add side effect to _resolve_packages

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

Fixes SNOW-1418500

Fill out the following pre-review checklist:

[x] I am adding a new automated test(s) to verify correctness of my new code

[ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing

[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency
[ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes.

Please describe how your code solves the related issue.
We rely on side effect of _resolve_pacakges to add update attribute _packages to add packages https://github.com/snowflakedb/snowflake/blob/main/ExecPlatform/src/coprocessor/python/PythonStoredProcSession.cpp#L106-L111.

In this change, we apply the side effect i.e. update existing_packages_dict or _packages once the packages have been resolved.

https://ci-dev-142.int.snowflakecomputing.com/job/PythonStoredProcBuildPrecommitTest/1280/

Is this more or less a reversion of your previous change?

It not a complete reversion. In this PR we are only reverting part which was remove side effects from _resolve_packages. We still make a copy of _packages dict that was passed into and update it in a single step instead of updating it all throughout the function.


Corrected: free -b truncates values for total memory to 10 digits.

This causes erroneous calculations.
free -k gives correct calculations and should be granular enough for most monitoring.
bc does not exist on all linux distros (such as CentOS). So forcing use of it can cause issues.
bc is also unnecessary in this situation.
MEM_PERC calculation was wrong. MEM_USED/MEM_FREE does not give the correct percentage used.

a new version of vm.sh as been added which we hope addresses these issues and makes memory reporting more stable across the various distributions and versions. (switching from free to /proc/meminfo)


Title Case?

Hey @Jhnbrn90
what do you think about using title case for the headings? This would improve the sidebar readability:

Happy to open a PR if you think it's worth it.
Cheers,
Peter

I'm open to a PR for title casing the sidebar topics 👍

Cool, this will also change it on the page tho - they are the same headings. Just letting you know in advance in case this is undesired for whatever reason

Sure thing, I'm cool with that and think it will improve readability as well.
Go for it 😄👍

Awesome, I'll open a PR over the weekend 👍


How to intercept voice assistant commands with media session?

Hello,
I have a very particular use case: android TV app that contains:

Native Android layer (with exoplayer instance)
Non-native layer embedded inside a Android WebView.

Non-native web view layer contains the UI (basically, all the UI and all the player buttons except the exoplayer instance).
When we start playback, it is absolutely mandatory that the playback action is managed by the web view layer, so android native layer intercept the key event, and call to non-native layer.
Non-native layer process the event and call again the native layer (exoplayer).
Every thing was working as expected with Exoplayer, because we were using MediaSessionConnector and MediaSessionCompat, so were able to intercept all the remote control events, using the MediaSessionCompat.Callback:
mediaSessionConnector.mediaSession.setCallback(object : MediaSessionCompat.Callback() {
            override fun onPlay() {
                dispatchKeyEventCallback(getKeyEventPlay())
            }

            override fun onStop() {
                dispatchKeyEventCallback(getKeyEventStop())
            }

            override fun onPause() {
                dispatchKeyEventCallback(getKeyEventPause())
            }

            override fun onFastForward() {
                dispatchKeyEventCallback(getKeyEventFastForward())
            }

            override fun onRewind() {
                dispatchKeyEventCallback(getKeyEventRewind())
            }

            override fun onSeekTo(positionMs: Long) {
                player.seekTo(player.currentMediaItemIndex, positionMs)
                if (!player.isPlaying) {
                    dispatchKeyEventCallback(getKeyEventPlay())
                }
            }
        })

After migrating to Androidx Media3, some methods are available, but I didn't find any method to intercept fast forward and rewind, that can be triggered by voice assistant.
For instance, I would like to trigger with voice assistant "fast forward 10 minutes".
Initially, I have overriden method onMediaButtonEvent:
 val mediaSession = MediaSession.Builder(context, player)
                .setId(context.packageName)
.setCallback(object : MediaSession.Callback {
                    override fun onMediaButtonEvent(
                        session: MediaSession,
                        controllerInfo: MediaSession.ControllerInfo,
                        intent: Intent
                    ): Boolean {
                        val event = intent.extras?.get(Intent.EXTRA_KEY_EVENT) as? KeyEvent
                        if (event != null) {
                            dispatchKeyEventCallback(event)
                        }
                        return true
                    }

This is working for some TVs, but I have tested with Chromecast Google TV (last chromecast generation), and onMediaButtonEvent is not called.
It is absolutely mandatory that I intercept the events from Chromecast remote control, otherwise playback and UI are not synchronized.
I have tried to override the following method in activity that host the webview.
override fun dispatchKeyEvent(event: KeyEvent): Boolean {
 // call to webview here
}

In this way, I can intercept the remote control events, but the voice assistant events are totally ignored by this callback.
Any hint? How I can intercept all the events if onMediaButtonEvent is not called?
How can I intercept a voice assistant command? Is there any sample available with a similar use case?
Thanks!

Thanks a lot for your response @marcbaechinger
This solution is working in most cases, but it would be nice to detect from ForwardingPlayer if I have pressed in remote control 'Play' button or 'Play/Pause' button (There are remotes that have only 'Play/Pause' button).
For instance:
override fun onPlay() {
                dispatchKeyEventCallback(getKeyEventPlay())
            }

In this case, if I press 'Play/Pause' button I don't know how to detect directly in ForwardingPlayer.
Of course, I can detect it in method 'onMediaButtonEvent' or I can intercept the callback in the view, but maybe is a bit tricky to override different callbacks.
It would be great if I receive onMediaButtonEvent callback also for voice commands, but this is not the case.
Any hint for this case?
Thanks!

I think that I have found the way to go: it is true that I need to override onForwardingPlayer, but also I need to override onMediaButtonEvent and return true.
Summarizing, what is working for me:

In web view activity, ignore all events from media session, to ensure that media session events are not duplicated.
Override onForwarding player, to ensure that voice commands are intercepted.
For instance:override fun onPlay() {
             dispatchKeyEventCallback(getKeyEventPlay())
}

Override onMediaButtonEvent, and return always true, to ensure that we don't ignore play/pause event:

val mediaSession = MediaSession.Builder(context, player)
                .setId(context.packageName)
.setCallback(object : MediaSession.Callback {
                    override fun onMediaButtonEvent(
                        session: MediaSession,
                        controllerInfo: MediaSession.ControllerInfo,
                        intent: Intent
                    ): Boolean {
                        val event = intent.extras?.get(Intent.EXTRA_KEY_EVENT) as? KeyEvent
                        if (event != null) {
                            dispatchKeyEventCallback(event)
                        }
                        return true
                    }

Anyway, it would be great if we find a simplest way, as redefining multiple methods and callbacks seems a bit tricky and must be properly documented.


Write a note on NLP pipeline.

There will be need to build a strong pipeline to create vectors.

Merged with #3 - commit


Add documentation on how to run Bloom with bloom-dev as Postgres user

Currently our team has this documented internally, but we should add a "how to run locally" section that is specific to Doorway and in this repo somewhere. We should do this because our instructions differ somewhat from what is in Bloom and is thus undocumented externally right now.

from icebox grooming:
update doorway readmes to make sure start up process is good
spin up different ticket for updating dw db name and user

documentation needs to be pulled out and updated


[WIP] [HUDI-121] Fix licensing issues found during RC voting by general incubator group

Pasting in the -1 for context
Sorry but it’s -1 (binding) due to license issues
I checked:

incubating in name
signature and hash fine
DISCLAIMER exist (but you might want to consider using the work in progress disclaimer)
LICENSE file is missing the appendix
NOTICE is fine
No unexpected binary file
Source files have ASF headers
Can compile from source

This file [1] probably incorrectly has an ASF header on it, you may also want to mention this file in LICENSE. It unclear what the license is of the code contained in this file [2] are you sure you have permission to use this and it’s under a compatible license? The code in here from stack overflow don’t have a compatible license [3], see [4] (and [5]).

./hudi-0.5.0-incubating-rc5/hudi-common/src/main/java/org/apache/hudi/common/util/ObjectSizeCalculator.java
./hudi-0.5.0-incubating-rc5/hudi-common/src/main/java/org/apache/hudi/avro/MercifulJsonConverter.java
./hudi-0.5.0-incubating-rc5/hudi-utilities/src/test/java/org/apache/hudi/utilities/TestHoodieDeltaStreamer.java
https://www.apache.org/legal/resolved.html#stackoverflow
https://issues.apache.org/jira/browse/LEGAL-471


angular2-meteor sample stopped working after meteor update

I'm just going through the Meteor Angular 2 Tutorial. Installed Meteor a while ago. At step 6 I just randomly tried 'meteor update' which crashed my sample. Update worked, created some new typings and server is starting. For me my local copy is identical to the sample in the git repository. However the browser screen stays now empty and in the console appears an error:
Uncaught SyntaxError: Unexpected token <

Uncaught (in promise) Uncaught SyntaxError: Unexpected token <
    Evaluating http://localhost:3000/client/app.js
    Error loading http://localhost:3000/client/app.js

Already posted question on http://stackoverflow.com/questions/34501079/angular2-meteor-sample-stopped-working-after-meteor-update, but no answer up to now. Just thought it may be better situated here.
Since I'm new to meteor I not able to figure out the reason why I'm getting this error?

I'm using meteor packages, which should be the latest
autopublish            1.0.4  (For prototyping only) Publish the entire database to all clients
es5-shim               4.1.14  Shims and polyfills to improve ECMAScript 5 support
insecure               1.0.4  (For prototyping only) Allow all database writes from the client
jquery                 1.11.4  Manipulate the DOM using CSS selectors
meteor-base            1.0.1  Packages that every Meteor app needs
mobile-experience      1.0.1  Packages for a great mobile user experience
mongo                  1.1.3  Adaptor for using MongoDB and Minimongo over DDP
session                1.1.1  Session variable
standard-minifiers     1.0.2  Standard minifiers used with Meteor apps by default.
tracker                1.0.9  Dependency tracker to allow reactive callbacks
urigo:angular2-meteor  0.3.5  Angular2 and Meteor integration

Got it solved updating all the changed angular 2 syntax. @barbatus thx


Silent Pressure Plates not working

Issue Description:
Silent Pressure plates break the game, whenever i use them i get the waiting for server message and it's on single player, in order for my minecraft to work again i have to force close the whole game and restart it.
What happens:
Place down silent pressure plate to use and once i step on them i get waiting for server message
What you expected to happen:
Walk over silent pressure plate and open a door
Steps to reproduce:
1.Give Self Silent Pressure Plate
2.Step On Pressure Plate
3.See Waiting for Server message in The One Probe
...

Affected Versions (Do not use "latest"):

EnderIO:5.1.52
EnderCore:0.5.72
Minecraft:1.12.2
Forge:<IP_ADDRESS>47
SpongeForge? no
Optifine? yes
Single Player and/or Server? Single Player

Your most recent log file where the issue was present:
Don't Have one with issue

try without optifine


[Automation] Generate Fluent Lite from TypeSpec neonpostgres

[Automation] Generate Fluent Lite from TypeSpec neonpostgres

/azp run prepare-pipelines

/azp run java - neonpostgres - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure.resourcemanager:azure-resourcemanager-neonpostgres