Could not load the specified file.'EntityFramework.Relational.resources'

My application based on dnxcore50, ASP.NET 5 and EntityFramework.MicrosoftSqlServer 7.0.0-rc1-final, connect to MS SQL Server 2012.
The System.IO.FileNotFoundException always happens when I run my application, as follow:
info: Microsoft.Data.Entity.Storage.Internal.RelationalCommandBuilderFactory[1]
      Executed DbCommand (74ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [e].[Id], [e].[Name]
      FROM [Employee] AS [e]
fail: Microsoft.Data.Entity.Query.Internal.SqlServerQueryCompilationContextFactory[1]
      An exception occurred in the database while iterating the results of a query.
      System.IO.FileNotFoundException: Could not load the specified file.
      File name: 'EntityFramework.Relational.resources'
         at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(AssemblyName assemblyName)
         at Microsoft.Data.Entity.Storage.Internal.RelationalCommand.Execute[T](IRelationalConnection connection, Func`3 action, String executeMethod, Boolean openConnection, Boolean closeConnection)
         at System.Data.LocaleInterop.LCIDToLocaleName(UInt32 Locale, StringBuilder lpName, Int32 cchName, Int32 dwFlags)
         at Microsoft.Data.Entity.Query.Internal.QueryingEnumerable.Enumerator.MoveNext()
         at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
         at Microsoft.Data.Entity.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()

It looks like db connected but could not iterate the records.
The dependency configurations like this：
"dependencies": {
    ...
    "EntityFramework.Commands": "7.0.0-rc1-final",
    "EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-final"
  },

DbContext class:
using Microsoft.Data.Entity;

namespace CockpitWeb.Models
{
	public class CompanyContext:DbContext
	{
		public DbSet<Employee> Employees{get;set;}
	}
}

Model class:
using System;

namespace CockpitWeb.Models
{
	public class Employee
	{
		public Int64 Id{get;set;}

		public string Name{get;set;}
	}
}

How to fix it? Thanks a lot.

Hey,
We aren't able to reproduce this from the information provided. Any chance you can provide the full project that we can run to see the error?
~Rowan

I noticed the same error message when I had forgotten to run migrations to create the table in my database (PostgreSQL).
Is the deeper problem that error messages for various conditions cannot be loaded from resources perhaps?

We have not heard back with details of how to reproduce this issue. Feel free to re-open if you are able to supply these.

It's happening again to me (connected to a SQL Server 2012 in RDS AWS)
"EntityFramework.Core": "7.0.0-rc1-final",
"EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-final",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-final"
Complete exception:
Microsoft.Data.Entity.Query.Internal.SqlServerQueryCompilationContextFactory[1]
An exception occurred in the database while iterating the results of a query.
System.InvalidOperationException: There is already an open DataReader associated with this Connection which must be closed first.
at System.Data.SqlClient.SqlCommand.ValidateCommand (System.String method, Boolean async) [0x00000] in :0
at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in :0
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader (CommandBehavior behavior) [0x00000] in :0
at System.Data.Common.DbCommand.ExecuteReader () [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.Data.Common.DbCommand:ExecuteReader ()
at Microsoft.Data.Entity.Storage.Internal.RelationalCommand+<>c__DisplayClass17_0.b__0 (System.Data.Common.DbCommand cmd, IRelationalConnection con) [0x00000] in :0

@betimd It seems the exception you are seeing only partially matches the exception that started this issue.
In case it helps, "System.InvalidOperationException: There is already an open DataReader associated with this Connection which must be closed first." is expected when you try to execute a query that retrieves data on a connection before finishing consuming the results of the previous query. Depending on the code that is causing this it can be avoided by making sure you finish consuming the results from the first query, e.g. with ToList(). If you are using SQL Server you can also avoid this with the MultipleActiveResultSets=true setting on the connection string.
If this information doesn't help, please create a new issue and provide the necessary details for us to repro and investigate.


support neo4j to make query and write to a DB

The current implementation is limited to read and write operations.
Docker instance of neo4j is needed for the unittest.

What is possible with this implementation currently -- we can store specific facts (sort of structured tuples) via queries, is that it? And in a RAG pipeline, what is the link from docs to these facts -- is the idea that the LLM will extract these pieces and populate the KG ?

What is possible with this implementation currently -- we can store specific facts (sort of structured tuples) via queries, is that it? And in a RAG pipeline, what is the link from docs to these facts -- is the idea that the LLM will extract these pieces and populate the KG ?

I was thinking about importing some publically available dataset (noticed CSV can be converted to neo4j graph, still I need to look this up). Then we can implement a RAG pipeline, similar to the one that uses vector-db.
But before all of this, I need to make LLM automatically generates the cypher queries.

What is possible with this implementation currently -- we can store specific facts (sort of structured tuples) via queries, is that it? And in a RAG pipeline, what is the link from docs to these facts -- is the idea that the LLM will extract these pieces and populate the KG ?

I was thinking about importing some publically available dataset (noticed CSV can be converted to neo4j graph, still I need to look this up). Then we can implement a RAG pipeline, similar to the one that uses vector-db.
But before all of this, I need to make LLM automatically generates the cypher queries.

To confirm my understanding could you pls answer the specific questions I had above?
If the only utility is for CSV files then our existing TableChatAgent probably is just as good, and no need for any special query language. The real benefit of a KG is having connections among pieces of knowledge, and in a RAG context those pieces must come from a document, so I think this may be missing some pieces overall.

Yes, the idea is that LLM populates KG in RAG pipeline.
I'm still learning how people leverage KG in RAG. Thus, let me know if you have a concrete idea so I can focus on implementing it.

Yes, the idea is that LLM populates KG in RAG pipeline.
I'm still learning how people leverage KG in RAG. Thus, let me know if you have a concrete idea so I can focus on implementing it.

LLM populating KG from documents cannot possibly be practical — it would need to see every part of the documents. There needs to be a preprocessing step that ingests docs into KG and associated with embeddings. I suggest looking at some KG + RAG tutorials (maybe from llama-index) and see what can be abstracted out from there.

@pchalasani pushed the last commit to fix the linting issue. But there is another issue in meilisearch.py, when I run make check, but I don't want to modify anything to avoid causing issues. But will bring it to your attention.
make check
pre-commit installed at .git/hooks/pre-commit
[https://github.com/astral-sh/ruff-pre-commit] already up to date!
ruff.....................................................................Passed
Running black...
All done! ✨ 🍰 ✨
163 files would be left unchanged.
Running flake8 on git-tracked files ONLY! ...
Running mypy...
langroid/vector_store/meilisearch.py:168: error: Argument "documents" to "add_documents_in_batches" of "AsyncIndex" has incompatible type "Sequence[dict[str, Any]]"; expected "list[dict[str, Any]]"  [arg-type]
Found 1 error in 1 file (checked 84 source files)
make: *** [check] Error 1

@pchalasani I added a simple example. It's a chatbot about langroid dependencies. The user needs to specify package name, then relevant packages and their versions will be identified from the graph DB and forwarded to LLM to get some description about them.
Docker isn't required, but Neo4j cloud access is needed instead. Though it should work with both.
The example can be greatly improved, this is just a simple version to chat about dependency in one round.

The chat app isn't tailored only langroid package, it can construct the graph DB for any pypi project.

@pchalasani added the agent and the dependency chatbot example.

@Mohannadcse I will look at this early this week.

Just tried the app, manually setting credentials in cmd line using export NEO4J... etc, and it works really well! Thanks for this contribution @Mohannadcse
One thing to add in the README is examples of things people might ask. For example, I didn't really know what to ask and tried things like-

how many deps
are these top level deps ?
show deps to depth 2
is pydantic a dependency?

But I think you have some other types of queries in mind, please add them to the README.md

Thanks @pchalasani for the feedback. I'll address them and push my mods soon.

Asking user for version number is a burden. See here for a couple ways to automate --
https://chat.openai.com/share/d7dbe641-4d5c-48db-8887-4260b04fa18e

Asking user for version number is a burden. See here for a couple ways to automate --

The user can provide version or just need to confirm the required version after consulting GoogleSearchAgent. So the user isn't forced to provide the version as the DependencyAgent will try to get the version automatically via the GoogleSearchAgent

Got some errors when exiting --
<<< Finished Agent DependencyAgent (32)
 Do you want to delete the database? (y/n): y
Database is deleted!
2024-01-15 07:47:20 - ERROR - Failed to write data to connection ResolvedIPv4Address(('<IP_ADDRESS>', 7687)) (ResolvedIPv4Address(('<IP_ADDRESS>', 7687)))
2024-01-15 07:47:20 - ERROR - Failed to write data to connection ResolvedIPv4Address(('<IP_ADDRESS>', 7687)) (ResolvedIPv4Address(('<IP_ADDRESS>', 7687)))
2024-01-15 07:47:20 - ERROR - Failed to write data to connection IPv4Address(('927d9aab.databases.neo4j.io', 7687)) (ResolvedIPv4Address(('<IP_ADDRESS>', 7687)))
2024-01-15 07:47:20 - ERROR - Failed to write data to connection IPv4Address(('927d9aab.databases.neo4j.io', 7687)) (ResolvedIPv4Address(('<IP_ADDRESS>', 7687)))

has the dataset been removed? i.e., did you check from neo4j portal?
I receive such errors sometimes, but the operation is performed correctly.
My hunch is that this error is due to some rate limit when using a free account.

@pchalasani I've addressed all comments, pls let me if I missed anything

@pchalasani I've addressed all comments, pls let me if I missed anything

thanks, making minor edits on top

Just tried it, I didn't face any issues. Was it upon a specific question?

Was it upon a specific question?

There are a couple of issues -- your sys msg instruction to use GoogleSearchAgent is not right -- that's not a valid tool name. When this agent says it wants to know the pkg version, the message would "fail over" to be handled by the GoogleSearchAgent.
The other issue is -- given this wrong instruction, the agent is generating a function call named GoogleSearchAgent which is not a valid tool, so it goes into the GoogleSearchAgent as a user msg, which the LLM tries to handle, leading to the OpenAI err saying "fn call can only be used by assistant", resulting in an infinite loop of these errors.
The second issue requires a fix in langroid core (i.e. even if the sys instruction is wrong, it should not cause these errors; instead an invalid fn-call should be copied into content of msg, and fn-call should be set to None).
I am adding the fixes these on top of the PR, so don't change anything yet.

Noticed discrepancies in the behavior when I enabled tools or used function-calling. Specifically, when tool is enabled the agent asks to provide the version as shown below

While if the function-api is enabled (default behaviour), then the agent doesn't ask about the version and proceed with calling the function to construct the dep. graph.

your sys msg instruction to use GoogleSearchAgent is not right

the sys msg doesn't mention GoogleSearchAgent as a tool. It tries to follow closely something like this example https://github.com/langroid/langroid/blob/0e4fbad6be60e5662bc550cc3df1218007991572/examples/docqa/oai-retrieval-2.py#L53

@Mohannadcse I made simplifications and fixes

no need for second agent, just add google search tool
fix use_tools inconsistencies
improve sys msgs
improve kg-chat/readme

Will merge when this passes

It tries to follow closely something like this example

there is an important difference between that example and this one -- that assistants example explicitly addresses a specific other agent via recipient tool. Here we are not doing that; instead we are letting it fail over to the search agent. But we actually don't need the search agent, just add the search tool.

While if the function-api is enabled (default behaviour), then the agent doesn't ask about the version and proceed with calling the function to construct the dep. graph.

could just be random/non-deterministic behavior

@pchalasani updated README

@pchalasani there are linting issues from you commit, I'll proceed now with fixing that, unless you are making some mods

@pchalasani there are linting issues from you commit, I'll proceed now with fixing that, unless you are making some mods

I'm done, go ahead

not sure why pytest failed. I ran the failed test case tests/main/test_table_chat_agent.py and all tests passed.


Documentation tool

We should document as we code
A brief research on tool(s) we can use for documenting our frontend code (any framework specific tool is preferred)
What we need
Any documentation tool that can serve in frontend development will do, however if you come across a framework specific documentation tool for React it would be more preferred.

Hello guys,
As based on my task.
see through the attached document
my research.docx

@nerjib @prominded lets work with @Aliyugambo to close out on this

@nerjib @prominded lets work with @Aliyugambo to close out on this

hello sir, regarding the documentation tools i have compile some of the
best free documentation tools together which when use check the commit
made  be me you will see an attered doc with the required information
On Thu, May 14, 2020 at 1:32 AM Samuel Onyijne<EMAIL_ADDRESS>wrote:

@nerjib https://github.com/nerjib @prominded
https://github.com/prominded lets work with @Aliyugambo
https://github.com/Aliyugambo to close out on this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/Phenom-Frontend/issues/5#issuecomment-628481863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANXPPST7T26MOTP3D34Z4HTRROUDRANCNFSM4M36LHSA
.

Yes, was calling on the attention of other innovators to review your picks.
On Thu, 14 May 2020, 13:20 Aliyu gambo aliyu<EMAIL_ADDRESS>wrote:

hello sir, regarding the documentation tools i have compile some of the
best free documentation tools together which when use check the commit
made be me you will see an attered doc with the required information
On Thu, May 14, 2020 at 1:32 AM Samuel Onyijne<EMAIL_ADDRESS>wrote:

@nerjib https://github.com/nerjib @prominded
https://github.com/prominded lets work with @Aliyugambo
https://github.com/Aliyugambo to close out on this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/BuildForSDG/Phenom-Frontend/issues/5#issuecomment-628481863
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ANXPPST7T26MOTP3D34Z4HTRROUDRANCNFSM4M36LHSA
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/Phenom-Frontend/issues/5#issuecomment-628596970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUCSYEVRUT34WVHY64WOHDRRPOZXANCNFSM4M36LHSA
.

@Aliyugambo  and I have chosen github/github pages as documentation tool since by default github projects/repositories comes with a README.md file which is used by the github documentation Api.
Phenom frontend developers are advised to learn/used markdown text in editing the readme.md file during coding

@Aliyugambo and I have chosen github/github pages as documentation tool since by default github projects/repositories comes with a README.md file which is used by the github documentation Api.
Phenom frontend developers are advised to learn/used markdown text in editing the readme.md file during coding

Okay so we use GitHub pages.


Rename DataClient -> Table and add BigtableClient

@ajaaym I was having trouble verifying the system tests due to quota limits on my account. Would you be able to confirm the changes I made still pass?

@dwsupplee running system test.


Add support for scala 2.13.5 and update dependencies

remove support of Scala 2.10 as it's barely used nowadays.
igrate also sbt plugins and other dependencies.
increasing sbt version to 1.4.6

https://github.com/monix/shade/issues/66

Hi, is there any chance to merge the changes soon?
Desperately needed! 🙏

@alexandru Any chance of merging this and releasing a version for 2.13? Or maybe even adding a Scala 3 build?

I wasn't aware there's still interest for Shade.
Sure, will do, soon.

+1 on a 2.13 build

I'm also really interested in this change as it will allow us to upgrade a legacy project to Scala 2.13


[Crunchyroll] Does not gives all available subtitles

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Brazil
Provide a description that is worded well enough to be understood
Crunchyroll now forces to use the beta website, but yt-dlp can't find any subtitles other than en-us.
By using https://beta.crunchyroll.com/watch/G8WUN8VKP/the-ruler-of-conspiracy as example.
yt-dlp first checks the URL <API>/cms/v2/BR/M3/crunchyroll/episodes/G8WUN8VKP
Then it fetches the stream data from playback URL in API response.
But looking at where the beta website gets the subtitles list and downloads.
Beta website, get the available streams from endpoint /cms/v2/BR/M3/crunchyroll/videos/GQ9FG10XZ/streams.
The above URL is avaiable at episodes endpoint, at path '__links__'->'streams'
The streams endpoint, has all the streams available for the video, and also, the subtitles, check print:

I hope that was helpful to implement the missing functionality.

Maybe Crunchyroll is releasing the incomplete playback stream and then later releasing the subtitles as an alternative stream, and then later merging them into one stream.
I think that YT-DLP should use the /cms/v2/[...]/videos/<ID>/streams listed above, that the player uses to list all the available subtitles and hardcoded videos instead of getting the single, playback stream URL that at times doesn't have all the subtitles available.

@jomp16 Yes I think that's probably it, and yes taking /cms/v2/[...]/videos/<ID>/streams would be a good idea to get the subtitles directly without waiting sometimes several days for them to realize it.

@tejing1

I could never see any difference between the playback url and the streams url in testing, but perhaps the difference only appears in non-US regions? Or else the difference is rare and just a result of failure to invalidate a cache somewhere, given that the playback url is hosted on a different server?
Anyway, iirc the data returned by streams isn't in quite the same format, so it'd be a bit of work to change it. I should have some time to look into it soon.

According to @jomp16's theory, the difference exists only for new releases

@jomp16 @ArturiaPendragon If you're able to run yt-dlp from a PR, and can find a video that's currently misbehaving this way with the existing extractor, could you verify that the PR does in fact fix it for you?

Will do, if I find any video that’s missing the subtitles but on web player
it does exist.
Thanks!
Em qui., 4 de ago. de 2022 às 12:52 PM, Jeff Huffman <
@.***> escreveu:

@jomp16 https://github.com/jomp16 @ArturiaPendragon
https://github.com/ArturiaPendragon If you're able to run yt-dlp from a
PR, and can find a video that's currently misbehaving this way with the
existing extractor, could you verify that the PR does in fact fix it for
you?
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/4452#issuecomment-1205440451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARGYMCQ25RJN6FLL6P2QBDVXPRKHANCNFSM54W74ZYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Unfortunately I’m at work, but my friend found that this url doesn’t list
all subtitles with latest yt-dlp (not your PR version)
https://beta.crunchyroll.com/watch/GQJUG1Z92/kirishimas-day-off
Em qui., 4 de ago. de 2022 às 12:58 PM, José Olivio Pedrosa <
@.***> escreveu:

Will do, if I find any video that’s missing the subtitles but on web
player it does exist.
Thanks!
Em qui., 4 de ago. de 2022 às 12:52 PM, Jeff Huffman <
@.***> escreveu:

@jomp16 https://github.com/jomp16 @ArturiaPendragon
https://github.com/ArturiaPendragon If you're able to run yt-dlp from
a PR, and can find a video that's currently misbehaving this way with the
existing extractor, could you verify that the PR does in fact fix it for
you?
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/4452#issuecomment-1205440451,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARGYMCQ25RJN6FLL6P2QBDVXPRKHANCNFSM54W74ZYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Confirmed.
BASH python3.10-yt-dlp-2022.6.29 שׂmaster yt-dlp $ ./yt-dlp.sh --cookies-from-browser brave --list-subs https://beta.crunchyroll.com/watch/GQJUG1Z92/kirishimas-day-off
[Cookies] Extracting cookies from brave
[Cookies] Extracted 2584 cookies from brave
[crunchyroll:beta] Retrieving main page
[crunchyroll:beta] Authenticating with cookie
[crunchyroll:beta] Retrieving signed policy
[crunchyroll:beta] kirishimas-day-off: Retrieving episode metadata
[crunchyroll:beta] kirishimas-day-off: Retrieving stream info
[crunchyroll:beta] kirishimas-day-off: Downloading adaptive_hls HLS manifest
[info] Available subtitles for GQJUG1Z92:
Language Formats
en-US    ass

Probably only non-english regions are noticing it because CR gets their english subs out differently/more quickly than their other language subs.

Yeah that was my guess, because only later (some hours later), it works
without changing anything (maybe they updated their playlist data).
But since the web player gets the subtitles from another stream, everything
is a-ok in their side.
Thanks for improving and testing it!
Em qui., 4 de ago. de 2022 às 2:10 PM, Jeff Huffman <
@.***> escreveu:

Probably only non-english regions are noticing it because CR gets their
english subs out differently/more quickly than their other language subs.
—
Reply to this email directly, view it on GitHub
https://github.com/yt-dlp/yt-dlp/issues/4452#issuecomment-1205537676,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARGYMBFRI2XSRJBXLGM5DTVXP2OTANCNFSM54W74ZYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm a bit surprised github doesn't recognize and censor the unsubscribe link from your replies @jomp16. I hope that means that after following the link you still need to authenticate to change anything...

Yeah, opening that unsubscribe link in a new private browser session, opens the login page. But if I open logged-in with my account, it successfully unsubscribe from this issue.

Good to know. :relieved:


retrofit.RetrofitError: method POST must have a request body.

I am using Retrofit API v-1.9.0  with the Okhttp v-2.2.0.
During gradle sync Okhttp's com.squareup.okhttp.internal.http.HttpEngine class's _proceed(Request request)_method's defination get changed like following...
HttpEngine using com.squareup.okhttp.internal.http.Transport interface

   transport.writeRequestHeaders(request);

      if (permitsRequestBody() && request.body() != null) {
        Sink requestBodyOut = transport.createRequestBody(request, request.body().contentLength());
        BufferedSink bufferedRequestBody = Okio.buffer(requestBodyOut);
        request.body().writeTo(bufferedRequestBody);
        bufferedRequestBody.close();
      }

HttpEngine using com.squareup.okhttp.internal.http.HttpStream interface

      httpStream.writeRequestHeaders(request);

      //Update the networkRequest with the possibly updated interceptor request.
      networkRequest = request;

      if (permitsRequestBody(request) && request.body() != null) {
        Sink requestBodyOut = httpStream.createRequestBody(request, request.body().contentLength());
        BufferedSink bufferedRequestBody = Okio.buffer(requestBodyOut);
        request.body().writeTo(bufferedRequestBody);
        bufferedRequestBody.close();
      }

which results in throwing  following issue.

retrofit.RetrofitError: method POST must have a request body.

[ ] Question. How this class file changes during build process ?

[ ] Bug report. One Okhttp library v-2.2.0 throwing retrofit.RetrofitError: method POST must have a request body. and same library in last versioned project not throwing this exception.

This is an open source project. Please upgrade to a recent release before reporting bugs.


collections.ListNode has no examples

Add documentation as per #3112.
There are functions in this class which only make sense when called via collections.List so they won't be covered here.

The first PR was a mess.  I removed than and made a far cleaner one.


Set dependency minimum versions

use >= in pyproject.toml dependencies list
test pinned minimums in CI

Closed by ab9cfab9753dd0e50efb86344bc9bcdfe20ba67b


[CardMedia] Guard against null children and overlays

CardMedia with actAsExpander prop set to true throws an exception here https://github.com/callemall/material-ui/blob/master/src/Card/CardMedia.js#L110 because Card adds an undefined child to it if there's no showExpandableButton.
This PR fixes the issue by checking whether a child is empty.

@AlexMayants Thanks.

Hi @oliviertassinari, if you don't mind asking, when do you plan to publish a new release including this PR?

Today.

Great to know, thanks!


[Firefox] Not available in private windows

Hello,
Thanks for your plugin which helps to spend less time when writing in Markdown. I tried it and it works well with normal windows.
However, I often use the private windows in Firefox and the "Copy as markdown" action doesn't show on right click.  It appears only in normal windows.
Could you make your plugin also available in private windows?
I'm using Firefox 47.0.1 on Linux.

Thanks for your report. Confirm this issue.
I'll take a look.
Probably this option: https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/private-browsing#Opting_into_private_browsing

Hi,
Sorry for being so late.
I'm developing a new version for Firefox 57 Nightly, and found that the new version also works in Private Window on Firefox 54. If you'd like to try it out, please head to https://addons.mozilla.org/en-US/firefox/addon/copy-as-markdown/ and scroll down to Development channel to install 2.0.0rc1.
Please kindly let me know if you encounter any issue in Private Browser.
Cheers 🍻

Hi,
I just released the new version 2.1.0 that works on Firefox 55 and later.
This version is also confirmed to work in Private Browsing.
I'll close this window now. Please let me know if you got further issues.
Thanks!

Thank you! I can confirm that it works in Private Browsing.


Fill BG When Proportional Resize Underfills Outside Dimensions?

I'd like to be able to proportionally resize an image, but export a consistent height/width image with the BG filled with a specific color if the resized image underfills the outside dimensions.
For example, I have a 100 x 200 image, but I'd like to export a 100 x 100 image in the end.
The resize would bring the original down to 50 x 100, but we'd center that image and have 25 pixels of BG color on the top/bottom of the 100 x 100 image that will be exported.
Is this possible with the existing code?

Create two SimpleImage objects, one with the image to resize and another with the desired dimensions and background color.

Resize the first image accordingly.

Use the overlay method to place it onto the second image.


the training of VQ-VAE is ineffective

the training of VQ-VAE is ineffective.
I have download "Moving MNIST datasets" by the provided code, the final folder is as follows.

But when I execute the VQ-VAE training code, the loss of test does not reduce, it keep stable at a very high level as follow.

I would like you to give me some help, thanks.

a mistake occurs when I begin to train, add it for supplement.

@Youncy-Hu

I observe that the quantization loss is expectable, but the reconstruction loss does not decrease any more.
@Youncy-Hu

the training of VQ-VAE is ineffective. I have download "Moving MNIST datasets" by the provided code, the final folder is as follows.  But when I execute the VQ-VAE training code, the loss of test does not reduce, it keep stable at a very high level as follow.  I would like you to give me some help, thanks.

Hello, the problem lies in this line of code: "train_dataset = MNIST4VQVAE(args.data_root, 'train', image_transform=transform)". Just change "image_transform=transform" to "image_transform=None". The same is true for "test_dataset = MNIST4VQVAE(args.data_root, 'test', image_transform=None)".

the training of VQ-VAE is ineffective. I have download "Moving MNIST datasets" by the provided code, the final folder is as follows.  But when I execute the VQ-VAE training code, the loss of test does not reduce, it keep stable at a very high level as follow.  I would like you to give me some help, thanks.

Hello, the problem lies in this line of code: "train_dataset = MNIST4VQVAE(args.data_root, 'train', image_transform=transform)". Just change "image_transform=transform" to "image_transform=None". The same is true for "test_dataset = MNIST4VQVAE(args.data_root, 'test', image_transform=None)".

 I have annoted these codes about "ckpt_path" last training, I think it is the reason of above problem.  but the "ckpt_path" is not provided, could you please give some indications.

Follow the code I modified above to train vqvae and save the model weights. Just load the weights of vqvae at this location.

Hello, have you reproduced the results of the paper? Also, how much video memory is needed to run this experiment? Can you please let me know? thank you


Mention completion should complete with people outside the organisation

When mentioning someone, the mention completion only mentions people inside my own org (or only the owner, if I'm in a user repository). Thats probaly fine for private repos, but for public ones?
Ideally, it should autocomplete
a) everyone, if the current issue is in a public repo
b) only people with access to the repo, if its a private one. This would include team members of an organisation (I think actually everyone within an organisation who is in a team with read access + issuetracker/pr) and added members via settings (because user repos can also add members for collaboration).
\cc @harryxu

In #3136 , I fetch people list from current org's Assignees.
May be we should add an api to fetch any people to Mention? But Im not good at go lang. Can anyone help to implement this api?

You can sort the list by relevance. First people in the Project, then in the Organization, then Globally. WDYT?

Using participants as the first set can potentially save on AJAX-calls as well, since we already have the participant list loaded in the page ;)

Hey everyone,
Just started using Gitea a bit more, and wanted to reference my boss in a PR but couldn't.
It doesn't make sense to restrict it to teams, because what about individual repositories? Then there is literally no use for the mention feature because there will never be anyone.
Needs to just copy the github functionality, let the user decide who they want to mention without restrictions.
For massive companies, people with the same last name etc (or username) perhaps just add some kind of (Project/Organization/team) tags to the mention dropdown, so it's dead clear.
Cheers

I cannot even mention someone when I am the owner. This is really a bug and needs fixing please. This means that owners cannot ever mention anyone who isn't an owner - even if they are in another team too!
@harryxu Could you perhaps just change your code so that it includes all teams in the dropdown and make a quick PR?

I think maybe we could have an option to allow mention any people on that site on app.ini or not.

Looking at this again, assuming the system is not multi-tenant, then it should just work like Github, probably showing everyone, and proritizing based on... 1) The contexts participants (issue/PR), 2) Everyone in the Org (if applicable) and 3) everyone.
I don't see any reason why it needs to be limited to teams in the first place - it's not a secret who the other users are

This is also a problem in our company where we installed Gitea.
Would be great if this could be fixed.

I think we can do that according if the repository is a public one or a private one.

For public repository, you can mention anyone on this Gitea instance
For limit/private repositories, you can mention those who have the read permissions on this repository

Adding on this, my team has people who review pull requests without exclusive access to the code, and it would be nice to mention anyone within the organization because I have people assigned as reviewers who only look at the code in the PR not in the whole repo.


Credit Transfer | Search icon on table header input field row |2|

https://trello.com/c/i7cEL2Cf/1010-credit-transfer-search-icon-on-table-header-input-field-row-2
User Research:
•	Clarify that the blank headings in the Credit Transactions table are a filter functionality since they were confused to be space where users input data for a CTP;
Product Owner comment:
•	I suggest we use light grey italicized wording in the box that says something like “Filter” or “Search”, but only in the first filter box on the left-hand side. Placing a word in every box would make it look overly cluttered. Just a thought.
Design:
Add a font awesome search icon to the end of the row on each table in the application.  Make sure there is a column in each table at the far right that doesn't have a search field above it. Add a blank column if not. Adjust the table column widths as necessary so it looks nice or consistent to the credit transfer table.

 Credit Transfer | Search icon on table header input field row |2|


Correct issue with Manta and BAM header

fix #126
fix bug with bai instead of bam in CreateIntervals
with bug when only variantCalling steps given
add badge passing nextflow > 0.22.2 (milou version)

We will see, maybe we have to get rid of NC_007605 as well


Add photo2cartoon model

提交photo2cartoon代码，包括训练和测试部分。训练代码基于现有的ugatit框架。

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.haoqiang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Better to add tutorial.

Tutorial is added.

@hao-qiang  Thanks! 需要解决下冲突。


Can not find the papar 'GDAS'

Sorry to trouble you, But I have a little confusion about the papar GDAS. I find that I can't find the paper " Gradient-based search using Differentiable Architecture Sampler" anymore, Is it the same paper as "Searching for A Robust Neural Architecture in Four GPU Hours"?

Hi, "Gradient-based search using Differentiable Architecture Sampler" is the name of our method, the paper title is "Searching for A Robust Neural Architecture in Four GPU Hours".

@xingyueye I will close this issue. Please feel free to re-open it if you have further questions.


Pills 1984

About the PR

Reduces the dosage limit on pills from 50u to 20u. (Adjusts the pill volume itself, the volume of pills included in first aid kits, and the maximum dosage output for pills in the Chemmaster).
50u is an entire small beaker of chemicals. An entire glass of drink. Half of a large beaker. If we try to put a real-world equivalent on this assuming 1 unit is 10ml, pills are holding half a liter of chemicals. Realism aside, force feeding someone 50 units of any one chemical which only takes about a second is a surefire way to kill them, especially with something as easy to dispense as radium.
20u pills significantly reduces the amount of damage a single pill can cause. There is still enough room for packing multiple chemicals into a single pill and users can always take more than one pill if they need more medication (or have it administered as liquid).
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Pill dosage limit reduced to 20u from 50u.

What’s stopping chemists from just making 2.5x as many pills?

What’s stopping chemists from just making 2.5x as many pills?

This isn't made to address the amount of pills chemistry makes, this is made to address the absolutely insane amount of chemicals one can stuff into a single pill and then jam into someone's bloodstream.

What’s stopping chemists from just making 2.5x as many pills?

This isn't made to address the amount of pills chemistry makes, this is made to address the absolutely insane amount of chemicals one can stuff into a single pill and then jam into someone's bloodstream.

I get the reasoning behind the PR, but this inevitably is going to increase the already extreme amount of entities chemistry produces. Chemicals in a pill already take 20 seconds to actually start metabolizing, and I don't want to start messing with pill reagent quantities until their pvs priority is adjusted or there's a material cost for making them like bottles.

goodwheatley disapproves ready to merge

goodwheatley disapproves ready to merge

I'm gonna sue you

What’s stopping chemists from just making 2.5x as many pills?

This isn't made to address the amount of pills chemistry makes, this is made to address the absolutely insane amount of chemicals one can stuff into a single pill and then jam into someone's bloodstream.

I get the reasoning behind the PR, but this inevitably is going to increase the already extreme amount of entities chemistry produces. Chemicals in a pill already take 20 seconds to actually start metabolizing, and I don't want to start messing with pill reagent quantities until their pvs priority is adjusted or there's a material cost for making them like bottles.

none of these concerns touch the fact that you can jam 50 units of reagents into a single pill which is obscene at current dosage values


Spyder just won't launch on Windows

From<EMAIL_ADDRESS>on 2014-08-15T03:15:41Z
I downloaded spyder-2.3.0.win32-py2.7.exe from https://bitbucket.org/spyder-ide/spyderlib/downloads and installed it.
I wanted to start it via icon on desktop. It worked, but then I reinstalled it. Now the icon is there, spyder starts to load but then just don't launch. Last thing I see is spyder's loading window with "Loading IPython console..."-text.
I tried to reinstall it, restart computer, then I tried to install Anaconda, but their spyder don't launch too.
Maybe this is not problem of spyder because I have the same problem with Enthought Canopy which after reinstallation doesn't work too, but I don't know how to fix it.
I am using Python 2.7.6 on Windows 7.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1934

From ccordoba12 on 2014-08-17T09:58:56Z
Open a terminal (i.e. cmd.exe), then run on it this command
spyder --show-console

After that let us know what output appears on the terminal

From<EMAIL_ADDRESS>on 2014-08-21T13:13:29Z
"Uvedena procedura nebyla nalezena" means "Procedure was not found"
Attachment: Terminal.PNG

From ccordoba12 on 2014-08-22T04:57:35Z
I've seen this problem before. The only solution I've found is to start cmd.exe as Administrator and then run spyder on it.
Please try it to see if it works.
Summary: Spyder just won't launch on Windows  <span class="oldvalue"> (was: Spyder just won't launch) </span>
Labels: OpSys-Windows

From ccordoba12 on 2014-08-24T22:59:08Z
Then this is a problem with your installation. Please try to uninstall and reinstall again the Python version you're using.

From<EMAIL_ADDRESS>on 2014-09-06T13:56:09Z
Well, I reinstalled it and nothing changed.

From<EMAIL_ADDRESS>on 2014-08-22T09:06:14Z
No, it doesn't work. It writes the same error

From ccordoba12 on 2014-11-18T17:50:50Z
Sorry for not being able to give you more help. I recommend to use a Python scientific distribution like Anaconda or WinPython to solve this problem.
Status: WontFix


⚠ Bofrost.at has degraded performance

In 5cf175e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2044 ms

Resolved: Bofrost.at performance has improved in 02e4f76.


Issue when bootstraping connection for managed identity connection for azure function V3

issue:
[2021-10-06T11:25:22.303Z] Microsoft.PowerPlatform.Dataverse.Client: The type initializer for 'Microsoft.PowerPlatform.Dataverse.Client.ConnectionService' threw an exception. Microsoft.PowerPlatform.Data
verse.Client: Method not found: 'Void Microsoft.Extensions.Caching.Memory.MemoryCache..ctor(Microsoft.Extensions.Options.IOptions`1<Microsoft.Extensions.Caching.Memory.MemoryCacheOptions>)'.

csproj:
<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>netcoreapp3.1</TargetFramework>
        <AzureFunctionsVersion>V3</AzureFunctionsVersion>
        <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
    </PropertyGroup>
    <ItemGroup>
        <PackageReference Include="Azure.Identity" Version="1.4.1" />
        <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
        <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.3" />
    </ItemGroup>
</Project>

Startup:
...
            services.AddOptions<UserSettings>("Users");
            services.AddHttpClient<HttpClient>("functionAHttpClient")
                        .ConfigurePrimaryHttpMessageHandler(x=>
                {
                    using var listener = AzureEventSourceListener.CreateConsoleLogger();
                    var functionAclientId = x.GetRequiredService<IOptions<UserSettings>>().Value.FunctionA;
                    var dataverseUri = new Uri("<uri>");

                    var credential = new ChainedTokenCredential(
                        new ManagedIdentityCredential(functionAclientId),
                        new InteractiveBrowserCredential()
                    );

                    var client = new ServiceClient(dataverseUri, async (dataverseUri) =>
                    {
                        dataverseUri = new Uri(dataverseUri).GetComponents(UriComponents.SchemeAndServer, UriFormat.UriEscaped);
                        return (await credential.GetTokenAsync(new TokenRequestContext(new[] {dataverseUri}))).Token;
                    }, true);

                    if (client.IsReady == false) throw new Exception("Authentication Failed!");
                     ....
...

The problem probably exists because of Microsoft.Azure.Functions.Extensions and your package.

Hi @rafek1241 I am experiencing the same exception since I tried to use AddDistributedSqlServerCache in Azure Functions v3. It is not related to this repo but I would like to have more input from you about how you dealt with it.
Many thanks

As I said previously there was issue that this nuget Microsoft.Extensions.Options was a dependency in ...Dataverse.Client and Polly... packages. Dataverse.CLient required X version and Polly required Y. Dependency was in conflict that's why it throws such error

Thanks ! I took a closer look to the dependency tree in the project, and it turns out that I was referencing Microsoft.Extensions.Caching.SqlServer v5.0.1 and it somehow generated a conflict with the 'natural' dependencies of either Microsoft.NET.Sdk.Functions or Microsoft.Azure.Functions....
Everything went fine when I downgraded Microsoft.Extensions.Caching.SqlServer to v3.1.20. I hope we will be able to reference a later version of the package with Azure Functions v4..


The diagnostic information generated by CompilerBaseError needs to be optimized

Enhancement

[ ] 1. The position of the underscore in the code snippet will be misplaced.
[ ] 2. Code location information contains redundant end location.
[ ] 3. The diagnostics for multiple lines of code are cluttered.
[ ] 4. The number of digits in the line number at the beginning of each line will affect the typesetting.
[ ] 5. There should be a space between the line number and the vertical bar.

Related issue: #263


Normalize elite cryptic clue messages

Use "Kill a <monster>." for all basic monster hunting clues.
Fixes runelite/runelite#2627

Does this fix #2627? It's about how it tells him to dig instead of killing a NPC

D'oh, that's what I forgot--need to null that location.


Add azure infra code

Creates azure resources given below.

vnet
subnet
network interface
master vm
node vm

README file needs to be generated


Draft: implement multi-oidc client support

Each domain is protected by a dedicated application defined at the authorization server level.
This would be easier to rotate one application secret in case of compromise for instance.

It would be better to merge the previous one before reviewing this one as it's stacked on top of it.

Would you mind splitting the test fixing in another review? This would make it easier to see the functional changes here.


➜ Heavy Round-Tipped Rightwards Arrow (U+279C) scalling in AtlasEngine

Windows Terminal version
54dc2c4
Windows build number
10.0.19044.0
Other Software
No response
Steps to reproduce

Paste ➜

Expected Behavior

Glyph is centered
Glyph is not truncated

Actual Behavior

Glyph is not centered
Glyph is truncated

Before we start I want to say that I have this arrow in my zsh prompt that's why even small issues are noticeable looking at this all the time :)
There are two issues:

After scaling glyphs are not properly centered vertically. Enlarged for dramatic effect:

EDIT: ...and after writing all this, I noticed that this is expected behavior after https://github.com/microsoft/terminal/commit/97dc5c8d754495d68996d341df961c9515b05804 Well I'm still complaining, my prompt (not on screenshots) looks ugly and I don't like this new behavior :( Mintty renders it centered.

Without scaling it is centered, although truncated. Basically this:
diff --git a/src/renderer/atlas/AtlasEngine.r.cpp b/src/renderer/atlas/AtlasEngine.r.cpp
index 73d6a7092..28008df05 100644
--- a/src/renderer/atlas/AtlasEngine.r.cpp
+++ b/src/renderer/atlas/AtlasEngine.r.cpp
@@ -636,6 +636,7 @@ AtlasEngine::CachedGlyphLayout AtlasEngine::_getCachedGlyphLayout(const wchar_t*
             scale.x = layoutBox.x / actualSizeX;
             scale.y = scale.x;
             scaleCenter.x = layoutBox.x * 0.5f;
+            scaleCenter.y = layoutBox.y * 0.5f;
         }
         if (overhang.top > _r.dipPerPixel || overhang.bottom > _r.dipPerPixel)
         {

With patch:

Second issue is more tricky. Basically what we do is to scale glyph to fit perfectly in the layout box. But it doesn't work nicely. If you look closely at the screenshots you will notice that both tail and the tip of the arrow is truncated by 1 or 2 pixels. I know it is very nitpicky and actually hard to show, sorry for that. It is more noticeable on normal smaller fonts where we have less pixels. Anyway I haven't read whole code, maybe there is clever way to round down scaling factor so it is always safe to apply, for my local build I just added safe margin around glyph, so that scaling never puts arrow outside allowed area.
Without margin, tip is flat:

With margin, tip is nicely round:

I personally think that having such margin/padding (depending how you look at it ;p) is better overall, even tho we are not using 100% of available space, in turn we are not actually overhanging ever due to scaling. But hey, there is probably better way to handle this (round/floor somewhere), I just quickly made the change for this report needs.
EDIT: Maybe we go out of the layout box because of anti-aliasing? Because I think it can alter surrounding (sub)pixels, but if we are exactly on the border and clip it would look worse?
Again sorry, for being nitpicky here, but I think we can make rendering nicer. Or if this is expected look and feel, at least I will know that I tried.
Thanks,
Kacper
/CC @lhecker

I'm very sorry it looks ugly. 😔
I consciously centered these glyphs vertically initially so that arrows like that don't look "off axis", but as you probably already read in the commit you linked, that lead to some other issues with italic text among others. So what I'm doing now is to work on a new version of AtlasEngine which uses freely places glyph quads which allows for overlapping glyphs:

You seem to have compiled your own Windows Terminal right? If you'd like you can check it out my dev/lhecker/atlas-engine-remastered branch (but it's still work in progress). BTW did you know that you can set the "Host.EXE" project as a startup project and it'll launch OpenConsole, aka conhost? If you do that and set this registry key you can use AtlasEngine without compiling all of Windows Terminal first which can take quite a while because of WinUI:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Console]
"UseDx"=dword:00000002

That said I believe this issue could be considered a duplicate of #6864. Would you agree with that?


F-Spot crashes on Debian unstable and Ubuntu Xenial

Steps to reproduce:
Set up a Xenial machine using http://cdimage.ubuntu.com/daily-live/current/xenial-desktop-amd64.iso
Add PPA
sudo add-apt-repository ppa:christopher-hoskin/ppa
sudo apt-get update
sudo apt-get install f-spot

Start f-spot in debug mode:
f-spot --debug

f-spot window appears. Console output:
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[1 Info  06:48:29.972] Initializing Mono.Addins
[1 Debug 06:48:30.125] Mono.Addins Initialization took 0.149674
[1 Debug 06:48:30.466] Db Initialization took 0.071949
[1 Debug 06:48:30.685] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC
[1 Debug 06:48:30.686] QueryToTemp took 0.000978 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC
[1 Debug 06:48:30.686] Reloading the query took 0.002177
[4 Debug 06:48:30.903] PhotosPerMonth took 0.000446
[4 Debug 06:48:30.904] TimeAdaptor REAL Reload took 0.211893
[1 Debug 06:48:30.976] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC
[1 Debug 06:48:30.976] QueryToTemp took 0.000605 : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename ASC
[1 Debug 06:48:31.012] Reloading the query took 0.036306

(f-spot:1708): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'
Domain: 'GLib' Level: Critical
Message: g_once_init_leave: assertion 'result != 0' failed
Trace follows:
  at GLib.Log.PrintTraceLogFunction (System.String domain, LogLevelFlags level, System.String message) [0x00000] in <filename unknown>:0
  at FSpot.Cms.NativeMethods.FScreenGetProfile (IntPtr ) [0x00000] in <filename unknown>:0
  at FSpot.Cms.Profile.GetScreenProfile (Gdk.Screen screen) [0x00000] in <filename unknown>:0
  at FSpot.ColorManagement.get_XProfile () [0x00000] in <filename unknown>:0
  at FSpot.ColorManagement.BuildProfiles () [0x00000] in <filename unknown>:0
  at FSpot.ColorManagement.get_Profiles () [0x00000] in <filename unknown>:0
  at FSpot.TagSelectionWidget.IconDataFunc (Gtk.TreeViewColumn column, Gtk.CellRenderer renderer, TreeModel model, TreeIter iter) [0x00000] in <filename unknown>:0
  at GtkSharp.TreeCellDataFuncWrapper.NativeCallback (IntPtr tree_column, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0
  at Gtk.Application.gtk_main () [0x00000] in <filename unknown>:0
  at Gtk.Application.Run () [0x00000] in <filename unknown>:0
  at FSpot.Driver.Startup () [0x00000] in <filename unknown>:0
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0
  at FSpot.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

(f-spot:1708): Gdk-CRITICAL **: gdk_window_ensure_native: assertion 'GDK_IS_WINDOW (window)' failed
[6 Debug 06:48:31.191] PhotosPerMonth took 0.000449
[6 Debug 06:48:31.192] TimeAdaptor REAL Reload took 0.214711
Killed

Console window becomes unresponsive, Force-Quit window appears.

Some further analysis on Ubuntu Xenial. I have created the following simple script which illustrates the problem:
using Gtk;
using System;

class Hello {

        static void Main()
        {
                Application.Init ();

                Window window = new Window ("helloworld");
                window.Show();
		Gdk.Screen screen;
		screen = Gdk.Screen.Default;
		if (screen == null)
			throw new ArgumentNullException ("screen");

		IntPtr profile = FSpot.Cms.NativeMethods.FScreenGetProfile (screen.Handle);
                Application.Run ();

        }
}

If I build with gtk-sharp-3.0, then this works as expected. If I build with gtk-sharp-2.0 then it fails with

(test:3672): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'

(test:3672): GLib-GObject-CRITICAL **: g_param_spec_object: assertion 'g_type_is_a (object_type, G_TYPE_OBJECT)' failed

(test:3672): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed

(test:3672): GLib-GObject-WARNING **: cannot register existing type 'GdkScreen'

(test:3672): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(test:3672): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed

(test:3672): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed

Further analysis shows that this is caused by gtk-3 being used when libfspot is built if gtk-3 development files are present on the build system. gtk-3 development files are pulled in by the libgnome-desktop-3-dev package on Debian Sid, which is necessary as the previous gnome-desktop package has been removed from Sid https://packages.qa.debian.org/g/gnome-desktop/news/20150911T134032Z.html

This is fixed by https://github.com/mans0954/f-spot/commit/8291988787657d502c74b3c840cee8e4b08fa35a Please can this be applied to master? Thanks.


PoB Will crash if it opens to another monitor

PoB will crash 100% of the time if it is opened to a 2nd monitor. If it opens to my primary display and I move it then it works fine but otherwise it will just constantly keep crashing.

This same thing happens to me too. I didn't realize it will work once you move it to the primary, I did that and it started working again but for some reason it always opens on my secondary and just goes white screen after a bit asking me to close the program or wait.

I just encoutered this as well it frustrated me to no end!
and the console isnt staying up ether so i cant even see what's the error is!

Have to keep swapping my secondary/primary display if I forget to close POB on my primary display.


Currently, nowhere on here where it states you require loguru

Might want to either have it auto install or put it in the git somewhere

It seems that there are 2 packages missed in setup.py

loguru
pydantic

Thank you!

johnd0e, Fantasticj1
Please, try to use 1.0.4 or above!
We are currently modifying the package with a focus on extensive code refactoring and future maintainability, so errors may occur. We are also in the process of making adjustments to the returned dictionary for easier access in the future.
We appreciate your understanding. Thank you!!!
python uninstall python-gemini-api

python install python-gemini-api==1.0.4

GeminiClient = Gemini(cookie_fp="cookies.json")
For this case instructions recommends ExportThisCookies, but does not mentioned that downloaded with it cookies.txt is not real json: it is necessary to trim cookies =  to make it valid json.
But even with this I have no success:

Error loading cookie file: 'Gemini' object has no attribute 'session'
Traceback (most recent call last):
  File "D:\AI\Gemini-API\test2.py", line 11, in <module>
    GeminiClient = Gemini(cookie_fp="cookies.json") # Or use cookie file path
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\Gemini-API\gemini\core.py", line 66, in __init__
    self.session = session or self._initialize_session()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\Gemini-API\gemini\core.py", line 94, in _initialize_session
    self._set_sid_and_nonce()
  File "D:\AI\Gemini-API\gemini\core.py", line 213, in _set_sid_and_nonce
    self._nonce = re.search(r'"SNlM0e":"(.*?)"', response.text).group(1)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

GeminiClient = Gemini(cookies=cookies) (where cookies are __Secure-1PSID, __Secure-1PSIDTS)
I get an output, but it is not very helpful:

{'metadata': ['c_409da1520e77ed5f', 'r_f3670ae69c52a4e1'], 'candidates': {'rcid': 'rc_594f1013ce897401', 'text': 'http://googleusercontent.com/card_content/0', 'web_images': [], 'generated_images': []}}

GeminiClient = Gemini(auto_cookies=True) does not work:

Traceback (most recent call last):
  File "D:\AI\Gemini-API\test.py", line 3, in <module>
    GeminiClient = Gemini(auto_cookies=True)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\Gemini-API\gemini\core.py", line 66, in __init__
    self.session = session or self._initialize_session()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\Gemini-API\gemini\core.py", line 92, in _initialize_session
    self._set_cookies_automatically()
  File "D:\AI\Gemini-API\gemini\core.py", line 141, in _set_cookies_automatically
    if len(getattr(self, "cookies", {})) > 5:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()


Documented src/pages/Auth/Auth.jsx

Added comments that explain the functionality of src/pages/Auth/Auth.jsx. This is the first page that a user is taken to when navigating to fakeflix.
resolves #52

Additionally, these changes were tested using the following commands
npm run lint
npm test

In terms of the comments made, the comments describe the element that each division creates and how the sign up state affects each of these divisions.


Update Target and Compile SDK Version to 29

Description

Now the target and compile sdk version is 29, which is Android 10.

The next Android R is coming within a few months and it is required to keep target sdk version 1 version behind the latest Android.
Robolectric now supports Android 10 in 4.3.1 so it is also updated in this change.

Type of change
Check all that apply

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

Checklist:

[x] I have performed a self-review of my own code
[x] New and existing unit tests pass locally with my changes

it is required to keep target sdk version 1 version behind the latest Android.

Required by whom?
The compileSdkVersion shouldn't affect a consumer of this library.

@KeithYokoma I think we need to update travis.yml file for this too! Can you please help us?

Supported by #753


Package product 'JWTKit' requires minimum platform version 13.0 for the iOS platform, but this target supports 11.0

Adding https://github.com/vapor-community/google-cloud-kit.git package of version 1.0.0-alpha.1 for swiftUI project with minimum deployment target 16.0 giving error "Package product 'JWTKit' requires minimum platform version 13.0 for the iOS platform, but this target supports 11.0"

@rohitdhawan what are you trying to use this library for on iOS? It doesn't really support it


Half migrated users can not be deleted in Keycloak

Keycloak 25.0.1 | 25.0.2
Plugin Version 5.0.0
Hi,
I have found a strange situation I can not explain.
When a not migrated user starts the password reset flow and not finished the flow, then the user is migrated without password. This is OK and we could handle it with a clean up after script.
But this user can not be deleted in Keycloak. Keycloak Admin UI failed with an error. Deleting over Admin API also failes with status code 400, and error message: User couldn't be deleted. In the Keycloak logs, I didn't found a reason why the user can not be deleted. A look at the database also gives me no reason for this behaviour. I have expected the user is read only or something else.
Strange is, a user created in Keycloak without password can be deleted.
A half plugin migrated user can be deleted, after setting a password by admin.
This is a problem for our clean up script, because we can not delete the user without setting a password. What makes no sense.
Is this a Bug or is there a good reason why the user can not be deleted?
Thanks for helping,
DaBonse

Have anyone an explanation for this?

I have experienced the same problem. It can be reproduced with these steps:

try to login with username and wrong password to the keycloak. username exists in the legacy system.
user federation plugin creates the user, but with no credentials. as it is described in the readme ("Example REST client behavior" chapter)
a call to Admin API to remove the user fails with "User couldn't be deleted" message. Deletion via Keycloak Admin UI also fails.
add a password to the user credentials in the keycloak
call to Admin API to remove the user succeeds, as well as deletion via Keycloak Admin UI

Why does the plugin create a user even if the password is incorrect? The logic a bit strange for me.

I looked into this, and it seems that it's a Keycloak bug. I have opened an issue in the Keycloak repository:
https://github.com/keycloak/keycloak/issues/34747
To briefly explain what's going on, the migration plugin creates a federation link when a user first tries to log in. This federation link is then severed once the user logs in successfully for the first time. Therefore, if the user tries to log in for the first time with an incorrect password, they will be added to Keycloak with the federation link present.
The bug, then, appears to be Keycloak not allowing users with active federation links to be deleted.
A workaround is to go to the plugin page in the admin UI and use the "Remove imported" action, which will remove all users with unsevered federation links.
@sergevic I believe the early creation of the user (with the federation link) is necessary for things like the "forgot password" flow to work correctly.

Hello again,
It seems this issue was caused by a quirk of design in Keycloak, where user deletion in this case won't work correctly unless UserRegistrationProvider is implemented on the provider. I don't necessarily agree with Keycloak's developers that this is the best design, but I've implemented NO-OP methods from UserRegistrationProvider in LegacyProvider and it seems half-migrated user deletion works fine now.
I'm closing this as fixed. Let me know if you have any issues with it starting from v6.0.1 of the plugin.


Create Readme for models in UpdateDomains.tbx

From @lfunkhouser on October 15, 2014 18:45
Copied from original issue: ArcGIS/military-features-pro-data_RETIRED_DONT_USE#77

@lfunkhouser - have we created the readme files yet?


style: fix clippy errors from 28-11-2024

I am praying to the Rust gods that this will work out.

Merci!


Empty String as Category Label for Categorical Columns with Empty Cells

Version: Develop
Date: 22-03-2021 13:30
Problem
Dataset: coral_usecase_no_structure_subsampled_normalized_no_one_hot.zip
Reproduction

Load the dataset abive
Go to the Encodings tab
Color by KRAS AA Mutated (categories: 'Mutated', 'Non-Mutated','')

Color coding works, but one label for the Color is empty. This is also the case for the summary.
The functionality is still given, there is just no text for the category.
GIF

Possible Solution
Define a label for such a case: 'null', 'Missing Value', ..
Maybe check also if the label already exists in the column, e.g. column has these categories: 'null','CatA', 'CatB', and ''

For empty strings, the label shown is not ''


Changes (1 of 4) related to renaming "bar chart layer" to "3d column layer".

Number 1 of 4 breaking out PR108486 into multiple PRs. PR108486 has already been approved and signed off.
Per prior arrangement, if this PR also needs approval, only @eriklindeman should be notified. Thanks.

@deniseatmicrosoft @eriklindeman

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@stevemunk, @eriklindeman
A redirect needs to be added for the renamed .md file. These changes should also be moved into the private repo for staging and automated checks.
#hold-off


Remove deprecated package @types/mongodb from mongodb instrumentation

The dependency is marked as deprecated here
It says

mongodb provides its own types. @types/mongodb is no longer needed.

This is the package.json file listing the dependency
I noticed this error when performing an npm install on a project that includes this package
Note: I tried simply deleting the line from the package.json but got this error when trying to run npm run compile from \plugins\node\opentelemetry-instrumentation-mongodb

The top error is the only one from an src file, all other are from a test, which I believe is based on the npm version (which would need to be updated and create a new release as part of this fix)

The problem is that current version of the instrumentation requires the types. Removing the dependency to @types/mongodb would require to add one to mongodb which would be quite bad.
Work is ongoing to remove the need to include types dependencies in instrumentations (e.g. #1036, #1066) but it will take a while until this is fixed. As usual help is welcome!

@mic-max @Flarna Hey :) According to this PR: https://github.com/open-telemetry/opentelemetry-js-contrib/pull/1141
The dependencies of @types/mongo are now devDependencies only.
I think it met your requirements, right?

@osherv yes, looks good.

@osherv Yes, I believe that does it! Now projects that use this module will no longer see this message when installing it as it will not fetch devDependencies


Kanban Board for React group project

Hello Reviewer!
In this new issue:
We are writing to let you know that we have successfully copied the Kanban board for the group project.
There are only 2 members in this project.
The link to the project can be found here.

Hello @kaizipaul  and @AhmedNazirMusah        :wave: ,
I am Nemwel your reviewer for this PR :man_beard:
Thank you for meeting all the project requirements good job! :partying_face:
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! :partying_face: 🎉

Highlights
Great job setting up the correct linters ✔
Professional documentation ✔
Correct workflow ✔
Meaningful commit messages ✔
Met all the milestone requirements ✔
[Optional] suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @Nemwel-Boniface in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

I would like to use Git for systematic version control in collaborative work and for a good practice in managing different versions of code and data.


Handling file download to res folder in android

Hi guys! I'm wondering how do you manage the download of audio files to the res/raw folder in android. I wanted to use react-native fs library but it's just a pain to use it. Any suggestion?

I just moved to audio files only on android /assets/audios folder, now I'm trying to play sound from there, react-native-fs can get the audio base64 from there though

But, how can you play those sounds? Can you with react-native-sounds?

Okay, I finally found a solution. Put the audios in an other place and use an absolute path to this place. The url will be then '/sdcard/Download/mysound.mp3' if it is in Download folder and you need to set basePath argument as "". And this is working just fine.

My PR about changing the doc for absolute path on Android: https://github.com/zmxv/react-native-sound/pull/388

@popo63301 is this something you would be willing to put on project Wiki?

@popo63301  Thanks for the PR. You good with closing this issue?

@trepidity Sure!


Filter modules are not allowing enchanted items

If you put an iron_pickaxe as allowed into the filter module and the sending chest has an enchanted iron_pickaxe inside then the chest won't send it.

Closed by https://github.com/Ellpeck/PrettyPipes/commit/2b882649fb6c108745d2be85175456e1bfea0193


SPM support

Would be great to have Swift Package Manager support

Sure, no experience with that though. Whould you mind sending a pull request?

SPM support added as of version 1.3

I would have expected a Package.swift in root for an integration with Xcode

I would have expected a Package.swift in root for an integration with Xcode

Thank you for comming back to this. As I am not using SPM myself all I did was merging pull request that claimed to add SPM support. If that is not the case, would you mind to send pull request yourself?

Attached is a proposal for Package.swift as GitHub was not allowing me to create a PR.
Put the manifest file Package.swift in the root directory of your repository.
You will also need to tag the releases according to semantic versioning principles:
Tag for current version should be 1.3.0. Also, all future release will need to follow this principles
// swift-tools-version:5.1
//
//  Package.swift
//
//  Created by Tim Müller-Seydlitz on 30.09.19.
//

import PackageDescription

let package = Package(
    name: "FlexColorPicker",
    products: [
        .library(name: "FlexColorPicker", targets: ["FlexColorPicker"]),
    ],
    dependencies: [],
    targets: [
        .target(name: "FlexColorPicker",
                dependencies: [],
                path: "FlexColorPicker/Classes")
    ]
)

Added Package.swift as suggested by timbs. Please let me know if there are any further issues

I just upgraded to Catalina and latest Xcode 11.1. Now, while still using cocoa pod I see compiler errors like

'leftAnchor' is only available in iOS 9.0 or newer

though the target ist set to iOS 11.1. To be tried whether this can be solved by adding this snippet to Package.swift:

platforms: [
.iOS(.v9),
],

Interestingly the compiler error doest not block the build.
When I load the framework with SPM, the build fails and I see many more errors:

Use of undeclared type 'UIGestureRecognizer'

I suppose that import statements needs to be made explicit for instance in ColorControlContentView.swift,...

Tim, you are helping me a lot with this. I feel that having working support for SPM might take 2-3 more minor versions... But we will get there before this week is over.
This is rather strange behaviour (when installed via cocoapods) but that's not the first time XCode is buggy.
I will add explicit imports and platform to Package.swift in 1.3.1 (to be released soon, also via cocoapods).

Ok, please try it now.


Add TO Go users/id/deliveryservices

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1700/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1702/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1764/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1804/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1930/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1936/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1974/
Test FAILed.

API Tests are broken: ```Dewayne Richardson [4:09 PM]
2339 the API tests are broken
DEBUG: userdeliveryservices_test.go:35: 2018-07-02T16:09:12.9655-06:00: CreateTestUsersDeliveryServices
--- FAIL: TestUsersDeliveryServices (0.85s)
    userdeliveryservices_test.go:65: cannot GET users: json: cannot unmarshal string into Go struct field User.id of type int
FAIL
exit status 1
FAIL    github.com/apache/trafficcontrol/traffic_ops/testing/api/v13    1.038s``````

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1996/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2004/
Test PASSed.


Simultaneous builds

We have an issue with simultaneous builds in gitlab:

Source folder of each build from the pair is different. So _init_storage_dir doesn't work
Even if it work simultaneous build would fail with "Can't lock container build"

So we can do one of the two things:

Lift _init_storage_dir requirement. I.e. allow single vagga folder work for multiple containers and turn lock into blocking instead of failure
Implement "smart" storage dir discovery. If one storage dir is owned choose another.

Both solutions are ugly. Solution (2) means that we have multiple copies of containers, and each of them would build each needed container. While solution (1) makes simultaneous builds unuseful in some cases (one is just waiting for another). Also (1) requires to implement a smarter cleanup process. I.e. vagga _cleanup should not remove containers that are currently running (note also that builds may actually run from different versions of sources).
I'm leaning more towards (1). Smart cleanup would be useful on it's own. But I'm not sure how hard is it to  implement correctly.
/cc @popravich

Okay, I think this should work now, but needs more testing. So moving it to the next milestone, to keep track of the issues.

Well, it looks like we had no issues so far. Should open separate issue if we have a problem.


Consider to support localization

That means, run program in selected langaued, but I am sure, you knew that already. :)

Would be some practice for me.

Considered it, and is a fun addon, but has little priority for me. There are pretty cool python packages which support it.


feat(helm_generate): enable staging of generated params

LGTM2 assuming https://github.com/deis/deisrel/pull/24#discussion_r62579908 is done


chore(SNP-1234): Rebranding

Changes:

add themed logo
remove surf gear

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

Project coverage is 100.00%. Comparing base (152a8f1) to head (59ff26e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          109       109
=========================================
  Hits           109       109

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


Create a PID file on startup

On startup, create a PID file containing the process id.
Path to PID file must be configurable in application.properties.

You don't have to do this within your java application. Just write the PID file while starting your application from your startup script. Take a look at this gist: https://gist.github.com/matthiasbalke/ab14bcc37a11b848f16a

The gist you mentioned creates a PID for the Shell script process not for the java process. However, creating a PID is no longer necessary, since you can create an executable JAR as explained here: http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html#deployment-systemd-service
So, this is no longer necessary, closing the issue.


Auto Retrieve Silver EXP from the Gift Box

I saw that you said that you won't implement the Auto Gift Box feature from FGOLua due to missing Text Recognition but I was wondering if it's possible to make it automatically retrieve Silver EXP cards of any quantity since that is image recognition and not text. Great app either way!

https://github.com/MathewSachin/Fate-Grand-Automata/tree/auto-gift-box should serve as a good starting point if anyone is intended. It is just a fake implementation right now

Auto collection of the xps shouldn't be difficult to implement without the need for OCR. You can just use images of the x1, x2, x3, and x4 (assuming people generally want to keep their x5+s) and have it look for those and the XP designs on the far left. Shouldn't be too difficult to implement, though I haven't done it in the fgo_lua scripts myself yet.

I was going to make this issue! Thanks for doing that.

You can just use images of the x1, x2, x3, and x4

I was thinking of doing the same but we need blank space to the right of these images or x1 might also match with x10 or x100.

Yes, I don't think that should be an issue? Here we see that there is nothing to worry about in the space past the x1 and x2 (there are occasional x20's we gotta be mindful of as well)
https://cdn.discordapp.com/attachments/579639097388433448/755328343121068072/oie_18fx5LVDlNLU.png
We can even increase the space a bit just to be safe, and increase the similarity threshold (still haven't looked through the code to see how this works, but I assume this version of the script has a feature like this)

Yes, I don't think that should be an issue?

Not an issue. Just wrote because it was an important case to consider. Yeah, also x20.
Yes, different similarities can be used for different cases, but I think the default value might just work as it is if the empty space is wide enough.

Agreed.

Hey, can someone get me some images. My present box is empty right now and I'm out of apples.
Will start again with rapples maybe later this evening or tomorrow.
So, I'll get the NA ones atleast by then. Maybe not x4 cuz that is rare.
I'm planning to do it a bit differently from the script in Lua. Instead of asking user for a ClickCount, we'll set it to 99, since I think that's the maximum we can accept at one time.
We'll track the scrollbar to know when we need to stop. Or if we hit 99 earlier.
Keep all images of full FGO screen. I added the ones I found. For some reason, I can't seem to find many images of these by Googling 🤔

Without scrolling (Scrollbar at top) (Doesn't matter if there are no embers)

Completely scrolled to bottom  (Doesn't matter if there are no embers)

I need x1, x2, x3, x4 . (preferably both Silver and Gold and if possible from multiple servers)

x5, x10, x20, x100 would help in testing.

I'll try to get the script ready by 1-2 days so I can test it out when I actually have something in my present box.

Here's 1 to 4, 10, 50 and 100.

Gilfest didn't start yet in kr but I do have images of some exp cards.

@ScathachSkadi the number font is different from NA. So, does the Max skill option work on KR?

Nevermind, the skill level font is same

Font for that is the same.

I think TW has the same font as JP and NA? I got some images.

@the3dsandwich Seems to have a slight difference. I'll have to check though

Here's NA gold exp x5 and x6 as well as silver exp x100

Okay, so got it working for NA and JP.
The images for x1, x2, x3, x4` are included in the app.
Both JP and NA work with the same images.
I'm missing x3, x4 for KR and x1, x2 for TW.

Gilfest will start in about 45hours in kr

I found it

Super excited for this update!
x1 and x2 for TW:

I did get a screenshot of the silver exp, but it's not 1~4

it should be fine. Silver will be always checked by the script regardless of number.

Oh right. No one actually uses it for leveling up servants when the lottery event is happening.

The feature is pretty much ready.
CI builds available if anyone wants to check: https://github.com/MathewSachin/Fate-Grand-Automata/actions/runs/258058166
Didn't do the scrollbar check part, that's was just a weird idea I had.


Demo App

The link for the demo app returns a 502 error.
http://demo.bootcards.org

Working again!


Symfony Security authenticator

Hello. Thank you for making this bundle.
Should there also be an authenticator for the Symfony security component - or am I missing something?
Thanks

Hi,
We are working on integration with the Symfony Security Component to allow sso authentication via Keycloak.


Serve files

Handle serving large (and small) files out of the OCFL objects.

Done (although we need to test).


added configMap test

Closes: https://issues.redhat.com/browse/RHOAIENG-2117
Description

added test case for frontend/src/api/k8s/configMaps.ts
brought down the respective test file within its adjacent tests folder

How Has This Been Tested?
npm run test

Test Impact
test coverage:

Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@pnaik1 please fix the name of mockConFigMap.ts => mockConfigMap.ts

/retest

/retest


Update the Fishing Queries

I recently explored what all the vessels who have very few positions are doing. Here are some of the data explorations:

Points per Year for Fishing Vessels
Likely Fishing Cutoff
Fishing Activity of Low Activity Vessels

Our previous algorithm included likely fishing vessels as only those that have at least 1000 positions in a year. I found it was better to count "active positions" (positions with a speed > .1 knots), thus ignoring vessels that stayed at port, and lower the threshold to 500 positions in a year. This way we include roughly 95% of the total fishing effort.
I also found that we should include vessels that broadcast that they are fishing vessels >99 percent of the time, as opposed to the previous 100% of the time. The reason is that due to errors in broadcast, some fishing vessels have a bad message where they don't broadcast that they are fishing vessels. Including these vessels increases the total number of fishing vessels by a few percentage points.
This updated version increases the number of fishing vessels by ~10,000 per year. It is currently in the branch version 1.0, and needs to be merged to master.

@davidkroodsma, can we close this issue or it still active


Add support for preheat APIs

Feature Request: Support for Harbor Preheat API Configuration
Is your feature request related to a problem? Please describe.
Currently, this provider does not support configuring the Harbor Preheat API. This feature would greatly enhance the ability to manage image preheating in Harbor projects, ensuring optimized performance and efficiency.
For more details, refer to the official Harbor documentation on preheating images: Harbor Preheat Images Documentation.
Describe the solution you'd like
I am keen to contribute by adding the necessary APIs for this feature. However, I would appreciate some guidance on how to move forward. Could you provide any pointers or resources to help me get started?

hi @kakkoyun,
thank you for the feature request.
we also need to manage preheat instances before we can create policies.
I started to implement the preheat instance
resource "harbor_preheat_instance" "example" {
  name       = "example-preheat-instance"
  vendor     = "dragonfly"
  endpoint   = "http://example.com"
  auth_mode  = "BASIC"
  username   = "example-user"
  password   = "example-password"
}

let me know if you want to implement preheat policy

@flbla Thanks for the swift action! Awesome, I'll try this sometime this week and give you my feedback 🙏


freeze the green highlight

It would be useful to be able to freeze the green highlight that you can turn on with the F command, so that you can select a portion of the DSM to be highlighted but then move the cursor around without the highlighting following you.

So at the moment if you right-click on a connection it should toggle that single connection cell's highlight with yellow. The smoothest implementation of your enhancement that I can think of would be to keep the green highlight following the cursor, remove the single-cell toggle highlight, and replace the single-cell toggle with cross highlighting. The right-click to cross highlight could highlight a different color or keep the same green color.
Some questions about my proposed implementation
1.) Would users be able to toggle cross highlight for multiple cells
2.) Would hover to cross-highlight be available if users had a cell toggled to be cross highlighted. This would mean there would be multiple cross highlights
If you have another idea for how to implement this let me know


Calling POST /ob/estimatetotal with garbage causes app panic

Found in #1206.
The API does not protect against bad data sent to /ob/estimatetotal. An example of this can be achieved with curl username:password@<HOST:PORT>/ob/estimatetotal -d '{"items":[{"listingHash":"zb2rhaJGKkQkQdPXL84teyCwKG5Mk8ukWRhgfM95fZbwUHRWd","quantity":1,"options":[]}],"moderator":"","paymentCoin":"BCH"}'
This endpoint should be hardened to reject invalid or missing params. The following body represents the params expected by this endpoint, and an example of what this request was trying to process:
github.com/OpenBazaar/openbazaar-go/core.PurchaseData {
	ShipTo: "",
	Address: "",
	City: "",
	State: "",
	PostalCode: "",
	CountryCode: "",
	AddressNotes: "",
	Moderator: "",
	Items: []github.com/OpenBazaar/openbazaar-go/core.item len: 1, cap: 4, [
		(*github.com/OpenBazaar/openbazaar-go/core.item)(0xc42012b440),
	],
	AlternateContactInfo: "",
	RefundAddress: *string nil,
	PaymentCoin: "BCH",
}

So we need to define how much of this body we want to validate and then apply those validations.
Todo:

[ ] define validations to apply to this endpoint /cc @cpacia

Which field called the panic?

contract, err := n.createContractWithOrder(data) returns an invalid contract based on that input which has an nil contract.BuyerOrder.Payment. It panics when it accesses contract.BuyerOrder.Payment.Coin on ./core/order.go:770

Fix to prevent panic in https://github.com/OpenBazaar/openbazaar-go/commit/eecc98e93fefb82a1bcb32ceb28a18d19e6887c6


Update puppeteer-core to 9.1.1

This updates puppeteer-core to 9.1.1 (the last version that still supports node v10).
puppeteer-core is now natively typed, which has resulted in a few renamed interfaces and a single bug that needs a workaround :)

Hi @atjn, thanks for the PR. I think because it's pulling from your own repo, CI checks do not work.
Can you please commit your code changes on another commit directly to the dependabot/npm_and_yarn/puppeteer-core-10.1.0 branch? There's an open PR about it: https://github.com/onderceylan/pwa-asset-generator/pull/617

Hi @atjn, thanks for the PR. I think because it's pulling from your own repo, CI checks do not work.
Can you please commit your code changes on another commit directly to the dependabot/npm_and_yarn/puppeteer-core-10.1.0 branch? There's an open PR about it: #617

Sorry, you mentioned upgrading to 9.1.1. In that case you shouldn't commit to the branch I mentioned. But you should create a new branch on this repo, with your new contributor role. That will trigger the CI checks required.

Weird, I have never experienced that being a problem before. But sure, I'll just open a new branch :)

Also with the repos using GitHub actions? I thought this was a common issue with the actions.

No, I have contributed to several repos using GitHub actions, and have not seen this problem. I just cheked your workflow configuration, and my guess is you have to change this line:
https://github.com/onderceylan/pwa-asset-generator/blob/2cdc444f025e0e8f5049c893e63fd59e04c19552/.github/workflows/ci.yml#L3
To:
on: [push, pull_request]

This PR continues in #636

I have contributed to several repos using GitHub actions, and have never seen this problem. I just checked your workflow configuration, and my guess is you have to change this line:
https://github.com/onderceylan/pwa-asset-generator/blob/2cdc444f025e0e8f5049c893e63fd59e04c19552/.github/workflows/ci.yml#L3
To:
on: [push, pull_request]

Aha, thanks clarifying @atjn. Another mystery is resolved for me :)


Memory leak in searchWithXPathQuery?

Hi! So i'm am using this cool lib in my app to parse html. it works fine, but i found out a memory leak, each time i use searchWithXPathQuery. i've search all internet, but still have leaks.
in xcode Instruments in table with leaked objects :
Responsible library - libxml2.2.dylib
Responsible frame - xmlStrndup

This has been fixed in pull request #80


semantic_version parsing fails with non semantic version constraints

It seems obvious, but when a constraing that does not follow semantic version is used on a dependency, poetry2conda will fail. Perhaps the most simple example is:
black = "^19.10b0"

which is present in our own pyproject.toml.
I think that there are two possible solutions here:
The pragmatic one, which is to catch semantic version parsing errors, show a warning and use pin what was declared. In the case of black = "^19.10b0", conda will not understand this caret version, but we could warn the use to not use a caret (black = "19.10b0") and we could pin it to black==19.10b0.
The more complex one: since poetry does understand this caret, we should probably re-use poetry caret-handling code. This is complex because we don't want to set poetry as a dependency (it would install poetry on the virtual environment, and this is discouraged on poetry's installation guide). However, I saw that poetry has recently been reorganized on a core package, which may respond to our need.

I've also encountered this problem and would like to solve it.
I don't think that having poetry as a dependencies is a bad idea to use the version parsing code.  poetry discourages installing poetry directly if it is the command you will use to manage other packages.  Unless you recommend that people do poetry run poetry ... in the project dir, it should be fine.
The alternative would be to re-implement the version parsing code which shouldn't be too hard but can introduce a lot of code (probably in a secondary file).
I'm fine with either approach, do you have a preference?

I prefer not to re-implement version parsing code because there are a lot of caveats in it. For example, the caret of versions prior to 1.0 is different than after that first stable version.
I skimmed a bit of the new poetry organization, and it seems that it would be very lightweight to use poetry-core as a dependency and use their version parsing:
https://github.com/python-poetry/core/tree/master/poetry/core/semver

All right, I'll go with that.

I've got it mostly working (using poetry-semver, because it's smaller), but there is still a bug in the version parsing of poetry where it will ignore the end of a version spec sometimes.
The version string that triggers it for me is '0.7.1dev1+1.*' where it ignores the '.*' part.
I've submitted a PR with a fix: https://github.com/python-poetry/semver/pull/3, but it doesn't work with python 2.7 and I'm not sure how to make it work.
I've checked and poetry-core and poetry itself also have the same problem so switching is not a solution (otherwise I would have).

OK thanks again for your contributions.
I am going to accept the PR #6 since it is certainly better than the first, previous version.
I am not too worried about something that does not work with Python 2.7. Do you still have legacy projects?


how to center scroll like CenterLayoutManager in horizontal

how to center scroll like CenterLayoutManager in horizontal

Hey @trycatchx . I see you marked this as complete, did you solve it?


Add aerosol optics

Very much WIP.
@sriharshakandala, feel free to take this over. Please let me know if you need anything from me.

Superseded by #510


When I click send, the message appear for me but not for the contact I sent the message

When I click send, the message appear for me but not for the contact I sent the message.
I reproduce this problem many times. For example: I send like 5 messages, but the person only see 3 messages.

It's impossible to use sphinx with this problem. Hope the problem be fixed soon.

@bitcoinuser are you on a hosted node, or a home node?

Hosted

I think this bug is fixed. If I reproduce this again, I reopen it.


[CLI]: Request timeout, cannot upload the data to wandb.ai

Describe the bug

Additional Files
debug.log
Environment
WandB version:
0.12.16
OS:
ubuntu 20.04
Python version:
3.16.13
Versions of relevant libraries:
Additional Context
No response

[workspace link](url). You can find it here

Right now I am trying wandb local. Though it also has many Incomprehensible issues in Ubuntu 20.04. But it works well in my macos desktop.


[Improvement][Module Name] Improvement title

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
一个网卡，绑定多个IP时，增加work节点，识别出来的IP，不是我要用的IP，可以增加个指定ip的功能么？
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Please use english to describe and use the correct title.


How to retrieve text midway before it gets synthesized?

Hi, I am trying to utilize Mini-Omni in my project and i would like to retrieve the text given out the ASR and with that make the model generate a specific answer or question

hi, I dont know what you mean "text given out the ASR". But you can get the output text as: code during the generation process.

I'll close it for now, please feel free to re-open.