Upload failure on latest Mono.

What
Failure to upload models, upload button greyed out, errors to console and server. Data appears to be written to Mongo, but issue moving the files into the "uploads" directory? Testing commit history shows the issue being introduced on Repo commit 3888fc2df74bdf68f827607c0dcaeadb4a8c8975
Where
Issue occurs when running Kompakkt-Mono with default config.
Screenshot

Console Output
User karelle logged in
 [SERVER]  SyntaxError: Unexpected token - in JSON at position 0
    at JSON.parse (<anonymous>)
    at createStrictSyntaxError (/home/paulduchesne/git/cologne-mono/Server/node_modules/body-parser/lib/types/json.js:158:10)
    at parse (/home/paulduchesne/git/cologne-mono/Server/node_modules/body-parser/lib/types/json.js:83:15)
    at /home/paulduchesne/git/cologne-mono/Server/node_modules/body-parser/lib/read.js:121:18
    at invokeCallback (/home/paulduchesne/git/cologne-mono/Server/node_modules/raw-body/index.js:224:16)
    at done (/home/paulduchesne/git/cologne-mono/Server/node_modules/raw-body/index.js:213:7)
    at IncomingMessage.onEnd (/home/paulduchesne/git/cologne-mono/Server/node_modules/raw-body/index.js:273:7)
    at IncomingMessage.emit (events.js:412:35)
    at IncomingMessage.emit (domain.js:470:12)
    at endReadableNT (internal/streams/readable.js:1317:12)
 [SERVER]  [INFO|2022-09-14T10:17:44.618Z]
{ uuid: '6321aa3a3a811203739ea4c4', type: 'model' }
 [SERVER]  [ERR|2022-09-14T10:17:44.627Z]
Error:
    at Object.err (/home/paulduchesne/git/cologne-mono/Server/src/services/logger.ts:77:18)
    at /home/paulduchesne/git/cologne-mono/Server/src/services/upload.ts:163:14
Error: ENOENT: no such file or directory, scandir '/home/paulduchesne/git/cologne-mono/Server/src/uploads/model/6321aa3a3a811203739ea4c4'
    at Object.readdirSync (fs.js:1043:3)
    at Object.klawSync [as default] (/home/paulduchesne/git/cologne-mono/Server/node_modules/klaw-sync/klaw-sync.js:13:25)
    at /home/paulduchesne/git/cologne-mono/Server/src/services/upload.ts:117:34 {
  errno: -2,
  syscall: 'scandir',
  code: 'ENOENT',
  path: '/home/paulduchesne/git/cologne-mono/Server/src/uploads/model/6321aa3a3a811203739ea4c4'
}

Thanks for reporting the issue. Should be fixed by https://github.com/Kompakkt/Repo/commit/40c2a5679c9899b751f573440d03d8416484da66


No mechanism for injecting supplementary, dynamic  filters to each query

Feature request:
It is a common use case to add dynamic filters or subqueries in Typesense. For example, in our content management system, we want to limit the search to area=Sales when the user is in the sales folder of the portal. This filter should be applied in all cases for all facets.
Scoped API keys are not a suitable solution as the associated query is always static, and it is not feasible to have a scoped API key for every possible subquery.
The current workaround is to use toggleRefinement for the related field (area in this example) of a subquery with the setting off: Sales. This works for multiple fields, but it only works for simple field=value filters.
It would be a very useful addition if we could specify an arbitrary subquery as part of the InstantSearchAdapter configuration (for example, through additionalSearchParameters).
I understand that this feature request may fall under the scope of Algolia. Is this correct?
Complete discussion: https://typesense-community.slack.com/archives/C01P749MET0/p1705584152093769

@zopyx I just remembered this feature I added a while ago. Could you try using the configure widget with filters set inside: https://github.com/typesense/typesense-instantsearch-adapter#configure

@zopyx I just remembered this feature I added a while ago. Could you try using the configure widget with filters set inside: https://github.com/typesense/typesense-instantsearch-adapter#configure

Yes, but this only seems to work as long the facets remain unchanged. This is what was mentioned in the discussion on Slack. As soon facets filters are in the game, this configuration seems to be ignored.

Scratch the Configure widget suggestion. Could you try this instead of static filters: https://github.com/typesense/typesense-instantsearch-adapter/issues/17#issuecomment-828064282

I tried that here:
https://gist.github.com/zopyx/9897d692571caccba60e49480fc36461#file-gistfile1-txt-L182-L184
But I don't see that this additional filter is being used.

That still uses the Configure widget. Could you use the helper approach like this instead: https://github.com/typesense/typesense-instantsearch-adapter/issues/17#issuecomment-876758570


versions.properties is being updated during the processResources task

[ x] I have read the guidelines for submitting issues

🐛 Describe the bug
Since 0.30.0 refreshVersions changes versions.properties files on build. In particular, it happens during the processResources task.
Here is an example. This was the file that I had in 0.23.0. After the build it remains intact.
#### Dependencies and Plugin versions with their available updates.
#### Generated by `./gradlew refreshVersions` version 0.23.0
####
#### Don't manually edit or split the comments that start with four hashtags (####),
#### they will be overwritten by refreshVersions.
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file
plugin.io.spring.dependency-management=1.0.11.RELEASE
plugin.net.researchgate.release=2.8.1
plugin.org.datlowe.maven-publish-auth=2.0.2
plugin.org.springframework.boot=2.5.10
plugin.io.freefair.lombok=6.4.1
version.com.auth0..java-jwt=3.19.0
version.com.google.code.findbugs..jsr305=3.0.2
version.io.rest-assured..rest-assured-all=4.5.1
version.io.vavr..vavr=0.10.4
version.com.github.tomakehurst..wiremock-standalone=2.27.2

Then, after the upgrade to. 0.30.0 (and later) and running processResources file becomes like this:
#### Dependencies and Plugin versions with their available updates.
#### Generated by `./gradlew refreshVersions` version 0.30.0
####
#### Don't manually edit or split the comments that start with four hashtags (####),
#### they will be overwritten by refreshVersions.
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

plugin.io.spring.dependency-management=1.0.11.RELEASE

plugin.net.researchgate.release=2.8.1

plugin.org.datlowe.maven-publish-auth=2.0.2

plugin.org.springframework.boot=2.5.10

plugin.io.freefair.lombok=6.4.1

version.com.auth0..java-jwt=3.19.0

version.com.google.code.findbugs..jsr305=3.0.2

version.io.rest-assured..rest-assured-all=4.5.1

version.io.vavr..vavr=0.10.4

version.com.github.tomakehurst..wiremock-standalone=2.27.2

As you can see, the header has been changed and the new lines were added. Actual version checking hasn't been performed.
For me it's a big problem as this file is preventing some git operations that happens in my project after the build process.
⚠ Current behavior
versions.properties is being overwritten and reformatted after the processResources task
✅ Expected behavior
versions.properties should remain intact and only be changed when refreshVersions task is triggered
💣 Steps to reproduce
Just execute ./gradlew processResources with refreshVersions being included into settings.gradle

Hello,
We need to update the versions.properties file after refreshVersions is updated because it's key in handling migrations when some dependency notations are removed.
I think you can make your git operations run ./gradlew, or run it manually before committing to fix your specific setup.

Ok, so it happens only when version.properties was created with a previous version of refreshVersions, correct?
For example, if I have version.roperties created with 0.40.1, reformatted it, then 0.40.1 won't change it but 0.40.2 would, correct?

I'm not sure what you mean by formatted, but yes, it's a one time edit after upgrade and doesn't change afterwards unless you add a dependency or run the refreshVersions task.


Updated state does not update child component

I love the work that's being done here. There is a chance I don't understand the updating mechanism of Solid JS, so I'm hoping to get an answer here.
I have a small Counter component which has some states:

Counter is easy, increment, decrement. Nothing interesting here.

 User inputs a value, and based on parseInt, I change how much I increment and decrement.

If I can't parseInt, then I set an error state.

function Counter() {
  const [currentCount, setCount] = createSignal(0);
  const [delta, setDelta] = createSignal(1);
  const [deltaError, setDeltaError] = createState({ error: undefined });

  const increment = () => {
    setCount(currentCount() + delta());
  };

  const decrement = () => {
    setCount(currentCount() - delta());
  };

  const onDeltaChange = (v: string) => {
    try {
      const x = parseInt(v);
      if (isNaN(x)) {
        throw Error("fuck");
      }
      if (x !== delta()) {
        setDelta(x);
      }
    } catch (e) {
      debugger;
      setDeltaError({error: e.message});
      console.log(deltaError);
    }
  };

  return (

Counter

Current Count: {currentCount()}

      <FormInput
        label="Count"
        name="count"
        onBlur={e => onDeltaChange(e.target.value)}
        errorMessage={JSON.stringify(deltaError)}
      />

      <button onClick={increment}>+</button>
      <button onClick={decrement}>-</button>

  )
}

If the user types into the  something like "sdfsdf", then I should be seeing the deltaError. Even though when I debug, I do see that I set the error state correctly, and the hook works. BUT the  component won't update.

The code you shared looks fine. Solid lazily evals all props which suggests to me the problem more than likely in the code I can't see: FormInput.  If I had to guess it's possible you destructured the props outside of a reactive scope. This doesn't work in reactive libraries that rely on property access to track reactivity.
Can you share FormInput?

Yes indeed, I was destructuring early.
unction FormInput({ label, errorMessage, ...props }: JSX.InputHTMLAttributes<HTMLInputElement> & FormInputProps) {
  return (

      {label}
      <input class="form-input" {...props} />
      {errorMessage ? (

{errorMessage}

      ) : (

No errors

      )}

  );
}

When I stopped destructuring, it worked. Thank you!
How can I know what block is considered reactive?

I try my best to avoid unnecessary updates. In so nothing should be reactive unless you wrap it yourself (createEffect or createMemo) or access it from a binding. Keep in mind you don't need to wrap everything in a createMemo. If you don't need to cache the value, simply wrapping in a function () => ... is sufficient to wrap some derived state to be used later in a binding. Components are wrapped in sample so they don't track by default.
Essentially the mental model is the exact opposite of React. The Component executes once and the reactive hooks/bindings execute as needed. This means closures are never stale and it's the state inside that is always most up to date. With React on the other hand the Component executes every render cycle and the Hooks whitelist whether they re-run. This leads to stale closures and need for things like Hook rules.


Enable more linters (flake8-bugbear and flake8-datetimez)

This is part of #2567

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 97.545%

Totals

Change from base Build<PHONE_NUMBER>:
-0.001%

Covered Lines:
1465

Relevant Lines:
1492

💛  - Coveralls


Cake Race problems

Recently, this opponent in Cake Race, named "Guest-259262", has appeared while I was playing Cake Race. Unfortunately, there are some....slight....problems.
First off: this user is at Level 48, which means that he/she should be competing at the King Cup, right? Wrong. This user is competing in the same cup as I am, which is the Mustache Cup (I'm at level 20).
Second, as these unedited images show, this user uses some sort of method to make sure that he/she always wins every time. You can't get scores like these without using hacks, even if you are at level 90. Not to mention that sometimes the user will participate like normal but will always get the cakes quickly (like about 10-12 seconds) and get the most points.

This is why I have not been able to win a round within Cake Race.
Please investigate this and see if you can figure out a solution.

yeah because cake race uses bots not real people


Any way to dynamically change the schema?

I have dropdown list and would like to change Json Schema when it is fired the change event.
Pls advice!

Sure, the schema is just an attribute of the form component, you can change it whenever you want.

Currently, it is not dynamically changed.
Here is my dropdown list to load all the schema:
<select [(ngModel)]="selectedValue" class="form-control" name="contentType" id="contentType" (ngModelChange)="updateContent($event)" *ngIf="!isUpdate">         <option *ngFor="let contentType of contentTypeEntities" [ngValue]="contentType" >           {{contentType.name}}         </option>       </select>
Here is my schema form table:

                        <schema-form id="schemaForm" [model]="cmsContent.contentJson" [schema]="contentType.jsonSchema" (onChange)="value=($event.value)">             </schema-form>

Here is ts:
updateContent(selectedContenType: ContentTypeDto) {     this.contentType = selectedContenType;   }
I would like to dynamically change the schema form when the dropdown list is fired change event.
Pls advice what I am doing wrong. Thanks!

Currently, it is not dynamically changed.
Here is my dropdown list to load all the schema:
<select [(ngModel)]="selectedValue" class="form-control" name="contentType" id="contentType" (ngModelChange)="updateContent($event)" *ngIf="!isUpdate">         <option *ngFor="let contentType of contentTypeEntities" [ngValue]="contentType" >           {{contentType.name}}         </option>       </select>
Here is my schema form table:

                        <schema-form id="schemaForm" [model]="cmsContent.contentJson" [schema]="contentType.jsonSchema" (onChange)="value=($event.value)">             </schema-form>

Here is ts:
updateContent(selectedContenType: ContentTypeDto) {     this.contentType = selectedContenType;   }
I would like to dynamically change the schema form when the dropdown list is fired change event.
Pls advice what I am doing wrong. Thanks!

Hey , i am facing the same issue too.
Steps to reproduce,

Clone the demo out https://github.com/fbessou/angular2-schema-form-demo
Duplicate sampleschema.json to sampleschema.1.json and remove some fields
Add a new button	<button (click)="changeSchema()"> Change schema </button> in app.component.html
Add new method to change schema in app.component.ts

changeSchema(){
		this.schema = require("./sampleschema.1.json");
	}

The final json generated on the right side, seems to change when the new button is clicked... but the UI does not change (Which is what i want)
Is it suppose to work this way? Because , i will have a couple of forms, and i want it to change it dynamically.
Thanks in advance!

The change detection does not fire or the reference is not changing for the formProperty on the directive...
Any idea where is the issue?

any update on this?

Hi,
I am looking for the same solution to render UI immediately as soon as schema-form is updated? Is there any ways to do so? Thanks.

Hi,
We have indeed an issue with changes propagation.
At the moment we're working on fixing AOT compatibility but this will be our next concern.
Sorry for the inconvenience!

Hi
Any estimation for this issue? I am also facing the same issue.

Or can I use early release to fix this problem?

same issue here (in my case I want to achieve what is mentionnent in #49) , even the example in https://github.com/makinacorpus/angular2-schema-form#fixing-the-schema-or-model-before-rendering does not work for me with angular 2.3.1 using angular-cli":  1.0.0-beta.26 and angular2-schema-form 1.0.0-alpha.33 .  It seems to worknig only when providing a static JSON

+1

Fixed by #86


Adding gitspiegel-trigger workflow

Using a workflow to trigger mirroring instead of a webhook allows us to reuse "Approving workflow runs from public forks" GitHub feature to somewhat protect us from malicious PRs

UPD: The first attept to use a workflow to protect GitLab CI from untrusted contributors failed, because GitHub doesn't pass secrets to workflows for PRs that originate from forks.
This uses a different approach: instead of triggerring gitspiegel API directly from the workflow, we're just spawning an empty workflow with a specific path, and gitspiegel listens for workflow_run event to start mirroring.
The idea is the same: for the first-time contributors, running workflows would require manual aciton and that would block mirroring. But this time, we don't need any secrets to make it work.


Wrong version number

Version number has been added in release v0.11.0, but unfortunately, value is not the right one:

expected: 0.11.0
current: 0.10.2

See resources.js:
/* Automatically generated */

module.exports = {
  version: "0.10.2",
  ...

Yes, but this is only in the source code. The built/bundled remark.min.js file has the correct version. If you navigate to http://remarkjs.com, open the developer tools console in your browser and enter remark.version you'll get '0.11.0' back.

I updated the source, so now everything should be in sync.

OK
Thanks again for this great tool!
Le 27 juil. 2015 6:57 PM, "Ole Petter Bang"<EMAIL_ADDRESS>a
écrit :

I updated the source, so now everything should be in sync.
—
Reply to this email directly or view it on GitHub
https://github.com/gnab/remark/issues/245#issuecomment-125271296.


[Snyk] Upgrade pg from 8.11.5 to 8.12.0

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade pg from 8.11.5 to 8.12.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: pg

8.12.0 -<EMAIL_ADDRESS>

8.11.6 -<EMAIL_ADDRESS>

8.11.5 - 2024-04-02

    from pg GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


both reads 1 and 2 have "/1" suffix

Just a small bug I noticed.
The LRSIM output read names have the suffix "/1", for both read 1 and read 2 in a pair.  This could potentially confuse downstream tools.

Thanks for reporting, this is a bug and I will fix it soon.

Thank you, @aquaskyline!


Information to get specific fields in the response

According to  this documentation  ,
the transcription result contains these fields:
lexical,
itn,
maskedITN,
display
But, i would like to know if there is a parameter to get only display field in the result.

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

ID: 73fb7e76-fb80-c420-2efe-e3ca3a27b749
Version Independent ID: 07a42557-deb3-e4b3-3f14-f26a27be49c2
Content: How to use batch transcription - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/batch-transcription.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @wolfma61
Microsoft Alias: wolfma

Thanks for the feedback! We are currently investigating and will update you shortly.

@Hector-Mina-98
If you are talking about the JSON result, I am sorry, you can not get only "display" in the JSON.
But you can change your script to return only "display" in your code. Thank you.
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

Okay, thank you for the answer.


SMK Maarif 5 Kotagajah

@khoirulaksara First stage of verification passed, official domain is smkmaliga.sch.id as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@khoirulaksara Regrettably, this request has signs of fraud. I have to close it without merging.


Ability to know if player is breaking block

This is a cool idea that can be used (for example) to add a % broken to a WAILA clone, or have a multitool that stores the best tool for each block, and auto switches to it.
The 2 possible methods for implementing this are:

Adding a damage to blocks scanned with the block scanner.
Adding a isDigging() method to the introspection module (Or however it works, I haven't played with it too much). It would return a boolean (digging or not), and a number from 0 to 100 (percentage of block broken).

I personally think adding the isDigging() or similar to the introspection module is the better approach here, as adding a damage to blocks scanned means that programs potentially have to loop through nearly 5000 blocks to maybe find the right one, and if multiple players are nearby, do a lot more math to figure out which block the owner of the NI is breaking.

I think the introseption approach is also better


Doc: Extending managed cluster model

Signed-off-by: yue9944882<EMAIL_ADDRESS>
/cc @qiujian16 @mikeshng

/lgtm

/approve


Build sleigh with C++11

The upstream sleigh source code builds with C++11 standard:
https://github.com/NationalSecurityAgency/ghidra/blob/b6181be1e44cd2de24f1493cb45148fc873e8487/Ghidra/Features/Decompiler/src/decompile/cpp/Makefile#L47
We should also build the libraries with that standard.
The other tools can be built with higher standards, but we should try to stick as close as possible to upstream's build settings and options.

Can we still build the support libraries with C++17? We make use of std::filesystem which is really helpful so it'd be good if we could avoid rewriting that.

Can we still build the support libraries with C++17?

I think so. Using CMake's target_compile_features, we can set cxx_std_11 for all of Ghidra's sleigh library targets and cxx_std_17 for the support library/tool targets that use std::filesystem and CMake should take care of adding the correct -std=c++xx compiler flag.


Chmod isn't implemented ?

Command:	SITE CHMOD 750 log.txt
Response:	502 Command not implemented.

No. This is not implemented. I'll tag this as a feature request. I'm not sure how this would work on Windows.

Well this can be integrated to Linux only for now. But It's very important command :)
Thanks


Update Dependencies to latest

Updated dependencies:
 @octokit/graphql                    ^4.5.5  →    ^4.5.6
 @types/node-fetch                   ^2.5.5  →    ^2.5.7
 moment                             ^2.24.0  →   ^2.29.0
 typescript                          ^3.8.3  →    ^4.0.3
 @types/node                       ^13.13.2  →  ^14.11.2
 @typescript-eslint/eslint-plugin   ^2.28.0  →    ^4.3.0
 @typescript-eslint/parser          ^2.28.0  →    ^4.3.0
 eslint                              ^6.8.0  →   ^7.10.0
 eslint-config-prettier             ^6.10.1  →   ^6.12.0
 eslint-plugin-prettier              ^3.1.3  →    ^3.1.4
 prettier                            ^2.0.4  →    ^2.1.2

Thanks for this contribution. We had to make another change to package-lock today, and we'll be making one more over the next couple days. So you'll need to merge those changes into this. We're super busy the rest of this week, but if this PR is updated early next week, and tested, we can merge it then. Please include a note indicating that you were able to successfully run the example (runFasterCode.ts) with these updates applied.

@kevindigo
👍🏻
Ran the example now - all works - output.json created

Verified that both files produce an output.json file with the dependency updates


Cannot compute Wald test with no within-subject covariates

Hello,
I am trying to run a model with covariates only on the mean effects formula. This runs perfectly and very quickly using the default (score) test, but I am getting the following error when I switch to Wald:

MethodError: no method matching iterate(::ConstantTerm{Int64})

After some back-and-forth, I managed to trace this back to having no covariates on the within-subject variance effects formula, and do indeed get the same error with the example dataset if I run:
trajgwas(@formula(y ~ 1 + sex + onMeds),                @formula(y ~ 1),                @formula(y ~ 1),                :id,                datadir * "trajgwas_plinkex.csv",                datadir * "hapmap3",                pvalfile = "wald.pval.txt",                snpinds = 1:5,                test = :wald)
Is this intentional or could it be addressed? I would like to obtain effect sizes for my intended model without having to re-run SNP associations in a different software.
Thank you for any help!

We also have a similar issue with another GWAS package in our group. We will make this possible soon. Sorry for the late reply.

Hi, I (still) ran into the same problem today, using your example dataset. Will this issue be fixed soon?

Fixed on the main branch. A new version will be tagged along with the fix for #33.


Add ENV for the BaseURL

The BaseURL should not be hardcoded.

+1 on this, just lost like an hour wondering why my bot wasn't working :(


cmake: GNUInstallDirs must be included after project()

GNUInstallDirs uses CMAKE_SYSTEM_NAME, which is defined only
after project()
It works in Ubuntu, because they add a local hack which ends
up bypassing the relevant bits of GNUInstallDirs.cmake, but
when using CMake from source, or when using any other
distribution, the way GNUInstallDirs is used in the AWS C++
SDK doesn't work.
By moving the call to GNUInstallDirs into the
apply_post_project_platform_settings() macro, things seem to
work OK.
Tested on Debian Jessie/Stretch/Sid as well as
Ubuntu Trusty/Xenial.
See #527
Signed-off-by: André Draszik<EMAIL_ADDRESS>

On SIMPLE_INSTALL build, CMake will override several variables (CMAKE_INSTALL_[dir]) after these variable are available via call include(GNUInstallDirs). If moving this to post_project_platform_setting, these overrides will become invalid.
If adding include(CMakeDetermineSystem) at line 76 of CMakeLists.txt solve your problem, we can apply this change.

I have only tested using SIMPLE_INSTALL. It seems to have done correct thing.
I think my proposal works because of the following: While platform/linux.cmake sets ARCHIVE_DIRECTORY BINARY_DIRECTORY LIBRARY_DIRECTORY and INCLUDE_DIRECTORY on SIMPLE_INSTALL builds, all of these are unconditionally overridden anyway in the main CMakeLists.txt after platform/linux.cmake has executed

@andred You are right

@andred We have tested either on SIMPLE_INSTALL or normal INSTALL on different platforms. The SDK was installed in the correct directory on all platform. Could you please point out how it was wrong on your behalf?

merged


Fix 6d9217c7c7f9c6fd979a100b77068ec49e5b9fff to actually compile with mcs.

 Sorry about that :-(

np, just that right now you cannot bump as I landed the private debug removal but still waiting on PR to finish the build (the pain of git submodules)

Not a big deal, the System.IO.Pipes PR is almost ready for review. There's the MCS issue and couple of API diffs that need to be reviewed / fixed.


ci: add "id-token" permission

Closes https://github.com/ms-dosx86/ng-error-handlers/issues/4

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


fix(chromium): regex only accepts tmp folder by default

The current deny list regex lets people use any permutation of [tmp] characters, so for example file:///pmt/foo is not denied.
Either add a simple regex to the allow list to lock access to the /tmp folder or update the default deny list to ^file:///(?:[^t]+|t(?:$|[^m]|m(?:$|[^p])))*$.

😄 regex...

Thanks @ubiuser!


clang: Gate the use of libc++ to Mac

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

libc++ provides the system C++ implementation for Darwin platforms, based on LLVM. For most Linux systems the C++ implementation is provided by GCC. When folks override their compiler to clang it should default to GCC for C++.

Agree with this change (not tested yet).
According to LLVM's documentation, Linux is not fully supported yet anyways. The most recent results show 33 failures.

Now realizing I used the GCC library name in the commit and PR title. Please excuse me :P
I wasn't able to run brew test locally due to some odd permission bits I need to investigate-- but I've tried setting clang as my compiler and installing various packages and everything seems good to go!

I wasn't able to run brew test locally due to some odd permission bits I need to investigate

Try umask 022 before running the tests. That happens to me a lot too.

For some context on why I'm playing with clang:
On some distributions there's a GCC 5.1+ installed so my brew-installed libraries have the cxx11 ABI version injected into the relative symbols. If a Formula explicitly sets clang then there might be trouble. It's nice to have the --clang option around for these odd-ball scenarios. :dancer:

Try umask 022 before running the tests. That happens to me a lot too.

Epic, thanks @rwhogg!

Makes sense to me, but I don't use clang much. Does it work equally well with libstdc++ on Linux? I guess from what you're saying, Bob, it works better with libstdc++ than libc++ on Linux.
@DoomHammer Any comments on this patch?

On Linux:
libstdc++ = 👍
libc++ = 👎

:smile: ✅

Once Piotr has responded, I'm happy to merge this PR.

Hello, missed that one, sorry.
My experiences (somehow limited, mind you) are that libc++ on Linux rather can't, so this patch should be good for us.
A bit similar was https://github.com/Linuxbrew/homebrew-core/commit/c44e038cd7ff2fdda467a4c8cbaf13834f75247f

Merged. Thanks for your contribution, Teddy!


Multichannel images

Hello,
It seems that the examples focus on 3 channel images.
Is semantic segmentation expected to work on multichannel images, and is there an example on that?
I know that mmsegmentation has LoadSingleRSImageFromFile, but I wonder if there would be any specific limitation associated with MTP? How to handle pre-trained weights?
Thanks!

@sebbelese Theoretically, when in finetuning, the MTP weights can be used to understand any RS images, including multichannel images, even if MTP is not related to the spectral attribute.
To perform this MMseg,  you need to manually define all related operations in the pipeline, rather than only changing LoadSingleRSImageFromFile.
We have not presented related examples since they beyond the scope of this project.

Thanks for your reply.
By updating the dataloader and some parameters in the config file, I can run rvsa-l on on a semantic segmentation task with 13-channel input images. Initial results seem OK; I will wait for a longer training and see how it compare with other methods.

Is it possible to perform the Semantic change detection function?
If possible, can you tell me what to do?


[FEATURE] Make the "Good-first-issue-finder" text in the home page change colors dynamically.

Description
The current implementation of the "Good-first-issue-finder" look good but it can be improved by adding a moving gradient instead of a static one.
Screenshots
No response
Additional information
No response

Can you please provide the screenshot or maybe explain a little bit more about the issue?

Can you please provide the screenshot or maybe explain a little bit more about the issue?
Something like this

This is the current look.

You want the colors to be change dynamically ? Is that correct? Like, the colors should move?

This is the current look.

You want the colors to be change dynamically ? Is that correct? Like, the colors should move?

Yes correct

Ok. Can this issue be assigned to me ?

I have completed the task. Please assign the issue to my name.

I have completed the task. Please assign the issue to my name @anubhav1206

I am not sure if I am authorized to assign candidates.

I already assigned it 👍

is this issue still needs working?

#366 was opened for it and I also left some reviews. Let's wait until the weekend if someone replies, otherwise I'll assign it to you 👍

hey , i want to contribute in this repo

That's nice, as mention in the comment above, I'll assign it to @ShahIsCoding for now 👍 Feel free to pick another issue

Hi, is this issue still open? Could you please assign it to me?

Can you assign this feature issue to me....


Issue with HIP 6.x API vs. HIP 5.x

This is in reference to:
https://github.com/CHIP-SPV/H4I-HipBLAS/blob/f67a550fc70bacbfb8ff3a0fd9d6bd2bbb563fa6/include/h4i/hipblas/impl/util.h#L12
With HIP 6.x (https://rocm.docs.amd.com/projects/HIP/en/latest/doxygen/html/structhip_pointer_attribute__t.html#hippointerattribute-t-struct-reference), memoryType should just be type. This was updated in chipStar in https://github.com/CHIP-SPV/chipStar/commit/4b80b7e94019fdfc14b7ef1382e1d990548d0d47, so hipblas doesn't build with the latest chipStar (4b80b7e94019fdfc14b7ef1382e1d990548d0d47) at the moment.

@colleeneb  fixed this in the outstanding PR branch but we need to make a more permanent fix

PR is merged now. @colleeneb can you please confirm and close the ticket?

It looks like it's working indeed. Thanks @Sarbojit2019 !


Signal readers

Basically looks good. I have a couple of Q's (see inline) but I'm happy with the structure.


Could you list the email clients that you have tested against?

Tested on all major email clients. Mobile, desktop and web.

Could you list the email clients that you have tested against?

Here are recent test results https://litmus.com/pub/a19acf5/screenshots


I have broke sync process

Frontend version: 73e66a2 August 4, 2020 9:02 AMBackend version: 8aee689 August 6, 2020 2:26 AM
Assembling ITIS, I have broke sync process. Assembly and syncs of Curaliidae (1 spp) & Joppeicoidea (1 spp) were successful.
However, syncs in other assembled sectors were reported as failed: Thaumastocoridae, Reduviidae, Velocipedidae
https://data.catalogue.life/catalogue/3/sector/sync?limit=25&offset=0

@mdoering What's happened?

There is a bug in the code. I will fix that before you wake up:
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database.  Cause: org.apache.ibatis.executor.BatchExecutorException: life.catalogue.db.mapper.VernacularNameMapper.create (batch index #1) failed. Cause: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO vernacular_name_3 (
    dataset_key,

    taxon_id,
    verbatim_key,
    name,
    latin,
    language,
    country,
    area,
    sex,
    reference_id,
    created_by,
    modified_by

   , created, modified)
    VALUES (
    3,
    'b7e8ff06-e635-4bf4-9f9e-e8c013db7a57',
    NULL,
    'Thaumastocorids',
    'Thaumastocorids',
    'eng',
    NULL,
    NULL,
    NULL,
    NULL,
    10,
    102
   , now(), now())
RETURNING * was aborted: ERROR: null value in column "id" violates not-null constraint
  Detail: Failing row contains (null, 3, null, 10, 102, 2020-08-06 19:45:27.091041, 2020-08-06 19:45:27.091041, eng, null, b7e8ff06-e635-4bf4-9f9e-e8c013db7a57, Thaumastocorids, Thaumastocorids, null, null, null).  Call getNextException to see other errors in the batch.

Another try on 2020-08-07
Frontend version: 73e66a2 August 4, 2020 9:02 AMBackend version: 8aee689 August 6, 2020 2:26 AM
Search for Thaumastocoridae gives 2 entries:

No one shows final results in the Tree:

Sync of Thaumastocoridae failed.

Search for Reduviidae also has no results in the Tree:

Sync failed.

Operations with two new sectors. Syncs also failed.
Steps:
2020-08-07   drag&drop infraoder Dipsocoromorpha; (before deleted old superfamily)   attached; Syncs failed
2020-08-07   drag&drop infraoder Enicocephalomorpha; (before deleted old superfamily)   attached; Syncs failed

Hi @yroskov, I havent deploye the fix yet to prod. Please wait until this issue is closed I do my best to get it deployed soon

@yroskov the big is fixed and I have synced all the last 5 or 6 failed ITIS sectors again and they succeeded this time:
https://data.catalogue.life/catalogue/3/sector/sync?limit=25&offset=0

Great. Thanks! It works now


DurandKerner method not working

DurandKerner method to get roots for this polynomial not working
f(x) = x^5-15*x^4+85*x^3-225*x^2+274*x-120 = (x-1)(x-2)(x-3)(x-4)(x-5)
Output is
3.000000000032681 - 1.638722097643922e-11i
1.0000000000074334 + 4.808957393459463e-12i
3.9999999999569584 - 8.640728872144793e-11i
4.999999999971171 - 2.950621409822605e-11i
1.9999999999677651 - 9.063695579567508e-12i

But should be
1
2
3
4
5

Hello 🙂
The output is correct because the Durand-Kerner approximates the roots of equations. There is no formula that gives you exact solutions to a polynomial equation whose degree is 5 or higher. This is the class documentation
/// The algorithm requires an initial set of values to find the roots. This
/// implementation generates some random values if the user doesn't provide
/// initial points to the algorithm.
///
/// Note that this algorithm does **NOT** always converge. To be more clear, it
/// is **NOT** true that for every polynomial, the set of initial vectors that
/// eventually converges to roots is open and dense.
final class DurandKerner extends Algebraic with MathUtils {

Note that:

3.000000000032681 - 1.638722097643922e-11i approximates to 3 + 0i
1.0000000000074334 + 4.808957393459463e-12i approximates to 1 + 0i
3.9999999999569584 - 8.640728872144793e-11i approximates to 4 + 0i
4.999999999971171 - 2.950621409822605e-11i approximates to 5 + 0i
1.9999999999677651 - 9.063695579567508e-12i approximates to 2 + 0i

So you get the expected results, more or less. You have to approximate the real part and the imaginary part. For example, 9.063695579567508e-12 is 0.000000000009063695... so a very small number that is close to 0.
This is just how root finding algorithm work, there is no exact solution

Is it make sense round roots?

Yes 🙂 if you round roots, you will get an approximated result


crash

Please provide a brief summary of the bug
replay_pid3552.log
game crash
Please provide steps to reproduce where possible
start world and few sec
Expected Results
crash
Actual Results
crash
What Java Version are you using?
1.8.0_351-b10
What is your operating system and platform?
window 11 redon 3600X 5700xt
How did you install Java?
No response
Did it work before?
No response
Did you test with other Java versions?
No response
Relevant log output
No response

@wnsgml0814 Which version of Java are you using?  I assume this is a modded Minecraft?

Try my fix from #666
If you are running on AMD...
Open configs -> flywheel-client.toml
change:
backend = "INSTANCING"
to
backend = "OFF"


Close the authentication browser tab on successful authorization on macOS

Hi,
Does anyone know how to close the authentication browser tab (Chrome in my case) on successful authorization, opened from a macOS app? Because it remains active on the browser even after I receive the authorization callback.

I'm using OAuth2Swift.authorize(...) method.
Thanks in advance

@SSenocico did you get an answer to this one?

@tgentet-obrien nop, i didn't get it


Gradient Warning

Dear all, I've encountered a problem with the warning: 'UserWarning: None of the inputs have requires_grad=True. Gradients will be None.' Has anyone else come across this issue? Should I take any action or can I ignore it? I'm uncertain if it will affect the results. Thank you!

Gradient checkpoint are used in no_grad parameters.  This will not affect your training. You can ignore it


Use parsimmon as parser abstraction

Total rewrite with parsimmon as a parser abstraction. Less code → more maintainable. Same tests pass.

Well this is basically a different module—feel free to publish it with the same tests.
The point of my module was a smallish parser in one file that can be understood without any other code. Maybe I should clarify in the Readme and point out that there are lots of different ways to write a parser and this is just one of them.
Just for fun I tried what you did, with PEG.js: rewriting the module while passing all tests.
The result is here https://gist.github.com/fwg/c4cf735923504dbac591 – one can git clone it and run npm test without problems.
(One could add a PEG.js dependency to the package.json and add a npm postinstall script that compiles the .peg grammar ...)
That would be even less code, only 29 (13 grammar + 16 glue) lines of effective "code" to maintain.
But obviously (I hope) it would be more complicated to understand, as the generated parser reaches almost 800 lines. Granted, Parsimmon or parser combinators in general are a fine concept that is not too hard to understand, but why make it harder if it makes no difference?

Makes sense. :+1: With a goal of one file with no dependencies, parsimmon/PEG are clearly no-gos.
Maybe add the "small parser in one file without dependencies" axiom to the readme? (Just to make the future direction clear.)


scrollToTop issue

when i run scrollToTop ,  still scroll up when i scroll down manually

It's working fine on my PC. Could you give more details as to what problem are you facing?

Since the issue is still open can anyone elaborate on this issue?

It's working fine.

sorry for delay, i made  a demo:https://codesandbox.io/s/reverent-rhodes-c9nuz?file=/src/styles.css
just click Topbutton ,when the scroll bar has not reached the top, scroll down 。

Can anyone tell me that this issue is open is yet or not

This is the expected behavior and implemented pretty much universally like that across the web.


pub install hangs

Upgraded to Editor version 0.5.1_r22072 and SDK version <IP_ADDRESS>_r22072
pub install or pub update is now hanging.  I've attached a file with the output from a "pub --verbose install"
To reproduce the problem clone the csslb-test-suite repository
mkdir csslib_test
git clone https://github.com/dart-lang/csslib-test-suite.git csslib_test
The pubspec.yaml is:
name: csslib_test_suite
author: "Dart Team<EMAIL_ADDRESS>homepage: https://github.com/dart-lang/csslib-test-suite
description: CSS parsing test suite (originated from W3C).
version: 0.3.0+1
dependencies:
  csslib: any
  html5lib: any
I've tried replacing csslib and html5lib with more explicit versions:
  csslib: ">=0.4.6 <0.4.7"
  html5lib: ">=0.4.3 <0.4.4"
but I get the same problem.

This issue has been moved to dart-lang/pub#536.


[Feature Request] : kaobook template to use with emacs orgmode docs

Summary
@fmarotta Kudos to you for creating such a nice text template which is better than tufte-book, imo.
Meanwhile it would be more convenient if this tex template could be integrated to the emacs orgmode so that as self-contained portable kaobook org file can be generated. If someone has done so let me know with the link, and ignore this feature request.
Details
It would be better to create an emacs org-mode template to kaobook so that one can create a portable orgmode file with all kaobook files. There is a a very nice orgmode template for tufte-book in https://github.com/asilata/emacsconf2021.
She has just appended the following under setup in the orgmode file as follows:
* Setup                                                            :noexport:
** Startup
#+startup: noptag overview hideblocks
** Org LaTeX setup
#+latex_class: tufte-book
#+latex_class_options: [openany, a4paper]
#+latex_header: \usepackage{amsmath,amssymb,amsthm,geometry,hyperref,paralist,svg,thmtools,tikz,tikz-cd}
#+latex_header: \usepackage{mathtools}
#+latex_header: \usepackage[capitalise,noabbrev]{cleveref}
#+latex_header: \usepackage{environ} \NewEnviron{abmn}{\marginnote{\BODY}}
#+latex_header: \setcounter{tocdepth}{1}
#+latex_header: \newtheorem{theorem}{Theorem}
#+latex_header: \newtheorem{example}[theorem]{Example}
#+latex_header: \newtheorem{exmpl}[theorem]{Example}
#+latex_header: \newtheorem{definition}[theorem]{Definition}
#+latex_header: \newtheorem{proposition}[theorem]{Proposition}
#+latex_header: \newtheorem{lemma}[theorem]{Lemma}
#+latex_header: \newtheorem{exercise}[theorem]{Exercise}
#+latex_header: \usetikzlibrary{arrows,automata,positioning}
** Export settings
Export into the artifacts directory
#+export_file_name: artifacts/ggm

Add ~tufte-book~ to ~org-latex-classes~ and update ~org-latex-pdf-process~.
#+name: export-setup
#+begin_src emacs-lisp :results silent :var this-year="2021"
  (add-to-list 'org-latex-classes
               `("tufte-book"
                 ,(string-join
                   '("\\documentclass{tufte-book}"
                     "\\usepackage{color}"
                     "\\usepackage{amsmath,amssymb}")
                   "\n")
                 ("\\chapter{%s}" . "\\chapter*{%s}")
                 ("\\section{%s}" . "\\section*{%s}")
                 ("\\subsection{%s}" . "\\subsection*{%s}")
                 ("\\paragraph{%s}" . "\\paragraph*{%s}")
                 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

  (setq-local org-latex-pdf-process
        (let
            ((cmd (concat "pdflatex -shell-escape -interaction nonstopmode"
                          " --synctex=1"
                          " -output-directory %o %f")))
          (list cmd
                "cd %o; if test -r %b.idx; then makeindex %b.idx; fi"
                "cd %o; bibtex %b"
                cmd
                cmd
                "mv *.svg %o/"
                "rm -rf %o/svg-inkscape"
                "mv svg-inkscape %o/"
                (concat "cp %o/%b.pdf ../docs/" this-year "/ggm.pdf"))))

  (setq-local org-latex-subtitle-format "\\\\\\medskip
          \\noindent\\Huge %s")
  (setq-local org-confirm-babel-evaluate nil)
#+end_src

and the following under local variables as follows:
* Local variables                                                  :noexport:
# Local variables:
# eval: (add-hook 'org-export-before-processing-hook (lambda (be) (org-babel-ref-resolve "export-setup")) nil t)
# End:

Quite nifty! So I am seeking inputs from a master of emacs orgmode and LaTeX so that such a beautiful kaobook template can be made self-contained and portable orgmode file.
Additional context
The amount of convenience my feature may bring with such an self-contained portable org file has been presented by @asilata in https://emacsconf.org/2021/talks/babel/ or can be watched in https://www.youtube.com/watch?v=1Ooi4KAd2FM.
Cheers,
/z

Hi, I managed to produce a pdf using the ggm.org file from https://github.com/asilata/emacsconf2021by appending the following in the setup section of the org file:
** Org LaTeX setup
#+latex_class: kaobook
#+latex_class_options: [openany, a4paper]
#+latex_header: \usepackage{amsmath,amssymb,amsthm,geometry,hyperref,paralist,svg,thmtools,tikz,tikz-cd}
#+latex_header: \usepackage{mathtools}
#+latex_header: \usepackage[capitalise,noabbrev]{cleveref}
#+latex_header: \usepackage{environ} \NewEnviron{abmn}{\marginnote{\BODY}}
#+latex_header: \setcounter{tocdepth}{1}
#+latex_header: \newtheorem{theorem}{Theorem}
#+latex_header: \newtheorem{example}[theorem]{Example}
#+latex_header: \newtheorem{exmpl}[theorem]{Example}
#+latex_header: \newtheorem{definition}[theorem]{Definition}
#+latex_header: \newtheorem{proposition}[theorem]{Proposition}
#+latex_header: \newtheorem{lemma}[theorem]{Lemma}
#+latex_header: \newtheorem{exercise}[theorem]{Exercise}
#+latex_header: \usetikzlibrary{arrows,automata,positioning}
** Export settings
Export into the artifacts directory
#+export_file_name: artifacts/ggm

Add ~kaobook~ to ~org-latex-classes~ and update ~org-latex-pdf-process~.
#+name: export-setup
#+begin_src emacs-lisp :results silent :var this-year="2023"
  (add-to-list 'org-latex-classes
               `("kaobook"
                 ,(string-join
                   '("\\documentclass{kaobook}"
                     "\\usepackage{color}"
                     "\\usepackage{amsmath,amssymb}")
                   "\n")
                 ("\\chapter{%s}" . "\\chapter*{%s}")
                 ("\\section{%s}" . "\\section*{%s}")
                 ("\\subsection{%s}" . "\\subsection*{%s}")
                 ("\\paragraph{%s}" . "\\paragraph*{%s}")
                 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

But the produced pdf has some principal features missing from kaobook template which merits kaobook over tufte-book template, namely:

Mini table of contents in the margin at the start of each chapter.
Chapter headings.
Huge chapter number

I have attached the produced pdf here. Any suggestion to realize the features missing as above? Thanks!
ggm.pdf

Hi again,
With some inputs from Tom in<EMAIL_ADDRESS>(quoted below) who stated that there are some non-standard LaTeX commands:
The kaobook.cls defines non-standard LaTeX commands for some of
its features.  Org mode doesn't know about these, so you'll have
to figure out how Org mode can recognize and export them.

...

I haven't used kaobook, so I can't offer specific pointers.  I
have used Tufte LaTeX with Org mode, so I can give general
pointers.

A LaTeX class, such as kaobook, typically redefines standard LaTeX
commands and environments, and also defines non-standard commands
and environments.  So, you should first check if your system
correctly compiles a pdf from the LaTeX examples supplied with
kaobook.  When the LaTeX side is working correctly, then you'll
want to identify non-standard commands and environments defined by
the kaobook class.  In the style and class files you might search
for \newcommand and \newenvironment, or the documentation might
identify the user facing non-standard commands and environments.
These are the ones you'll need to configure specially.

I typically use Org mode macros to insert non-standard LaTeX
commands.  Here are some I use with non-standard commands from
Tufte LaTex:

#+MACRO: newthought \newthought{$1}
#+MACRO: sidenote \sidenote[$2][$3]{$1}
#+MACRO: marginnote \marginnote[$2]{$1}
#+MACRO: urlnote \sidenote[$2][$3]{\url{$1}}

Non-standard environments are a bit trickier.

First, you might be able to wrap the non-standard environment like
this in your Org mode file:

#+begin_<<kaobook-environment>>
Something that should be wrapped in <<kaobook-environment>>.
#+end_<<kaobook-environment>>

For figures and tables, you can pass an arbitrary argument to
:float.  I do this for the Tufte LaTeX marginfigure environment:

#+attr_latex: :float marginfigure :height 1.2in

#+attr_latex: :float marginfigure :options angle=90

#+attr_latex: :placement [ht!] \setfloatalignment{b}

The last example abuses attr_latex to pass a non-standard LaTeX
command that Tufte LaTeX uses to tweak the vertical alignment of
the figure.

Good luck!

hth,
Tom

@fmarotta would you mind enlisting the non-standard LaTeX commands? Appreciate that.
Cheers,


dist in 0.12.0 reports as 0.11.1

That's a bug, but is there a good reason to create a maintenance release for it since the 0.12.0 tag won't be deleted?


185324149 rev aca entities version

TT6-185324149

failing spec due to bug being addressed in other work, soon upcoming work will update aca to a newer rev fixing the bug


Issue with Firefox

The component doesn't render properly in Firefox. In fact, it is HUGE. It's nested within a vuetify v-btn component, but other than than, there's nothing special about it and it works fine in Edge and Chrome.

Steve and I figured this out internally.  We are using Nuxt/Veutify and the solution was simply to wrap the avatar in a v-avatar component.


ARROW-6687: [Rust] [DataFusion] Bug fix in DataFusion Parquet reader

@liurenjie1024 Does this seem reasonable?
Obviously I want to switch to using your new array reader once that is merged.


Add location name to chart title

Description
This fixes #1195 .

How to test the feature:

Navigate to charts panel
Notice country name is in the title if no admin is selected, else the admin's name is displayed

Checklist - did you ...

Test your changes with

[ ] REACT_APP_COUNTRY=rbd yarn start
[ ] REACT_APP_COUNTRY=cambodia yarn start
[ ] REACT_APP_COUNTRY=mozambique yarn start
[ ] Add / update necessary tests?
[ ] Add / update outdated documentation?

Screenshot/video of feature:

@wadhwamatic let us know what you think, we can also put it on a second line like this:

And we could remove the title above the charts in comparison mode. Though it could still have some values since it shows the whole set of admin levels.

We could remove the title above the charts in comparison mode. Though it could still have some values since it shows the whole set of admin levels.

@ericboucher - let's keep the title above the charts to keep the full hierarchy in the display.
I tried this for Cambodia. Couple of things:

Not specific to this PR, but the translation didn't show up as an option because it wasn't configured in shared. I thought it would still pull from the local config but did not for some reason.
After I added Khmer to the shared folder I could test and see that the admin name doesn't translate in the chart:

For 1. I'll push a fix, I had a fix locally on another branch but can't find it.
@echaidemenos can you make sure the admin name gets translated?


No file exists called preprocess.py

It has been quite some time without this file existing, if there is actually a plan to work on this functionality in  Slim, then feel free to close this issue.

Can one of the admins verify this patch?

Jenkins, test this please.


Python Semantic Highlighting of Parameters in Function Calls

Issue Type: Feature Request
Textmate scopes allow for the differentiation between parameters  and parameters in function calls. The first image is the desired parameter highlighting with semantic highlighting off and the second is with semantic highlighting on. With semantic highlighting on, the textmate scope "variable.parameter.function-call.python" is being overwritten by the semantic token type "parameter" as seen in the last screenshot. Could there be a way to prioritize the textmate scope over the semantic token?

VS Code version: Code 1.59.0 (Universal) (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:14:40.191Z)
OS version: Darwin x64 18.7.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 3

Memory (System)
8.00GB (0.02GB free)

Process Argv
--crash-reporter-id d305fc55-4bd6-412a-a34f-32f8811878d8

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

bracket-pair-colorizer-2
Coe
0.2.1

xml
Dot
2.5.1

prettier-vscode
esb
8.1.0

python
ms-
2021.8.1105858891

vscode-pylance
ms-
2021.8.0

jupyter
ms-
2021.8.1195043623

geo-data-viewer
Ran
2.4.0

sourcery
sou
0.9.3

material-theme
zhu
3.11.3

(1 theme extensions excluded)

This is an issue for the semantic token provider in the Python extension.
I'm not fluent in Python, but from reading up, I think usecol should not be called a parameter. It's more like a name or key.
I'd suggest the Python extension to either

not generate a semantic token for this
define a new semantic token type that maps to the TextMate scope mentioned above.


[WIP] publish arm64 docker image

TODO:

[ ] verify check;
[ ] implement workflow_run (see: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#workflow_run)
[ ] implement tag_semver;
[ ] implement tag_snapshot.

@mre I suggest you create a lycheeverse/lychee-dev" repo to test push and tagging. Then when we are happy we can push on the lycheeverse/lychee` repo.

Sure. I created lycheeverse/lychee-dev now. Happy pushing. 😊

@mre, as discussed in #321, I have created a CI specific dockerfile that fetches the latest version of lychee from GitHub.
See the updated TODO list.
Ideally, we should test this on the next release (the docker creation would require the success of release.yml job or some specific test of this job. The dockerfile could be simplified (removing the build step) as wget and jq would only increase to 3MB the size.
Let me know what you think.

Looks good! We can even run the pipeline before the next release by creating a copy of the docker.yml (e.g. we call it docker-new.yml. You already disabled the build triggers, so we could set it to push to lycheeverse/lychee-dev on every commit (including pull requests). Then we can iterate on the pipeline and do a final cleanup-PR once we're done. What do you think?

Looks good! We can even run the pipeline before the next release by creating a copy of the docker.yml (e.g. we call it docker-new.yml. You already disabled the build triggers, so we could set it to push to lycheeverse/lychee-dev on every commit (including pull requests). Then we can iterate on the pipeline and do a final cleanup-PR once we're done. What do you think?

Yep, I had the exact same idea. I'll prepare this.

Guess the TODOs are still open, but I'd be fine with merging this right away to test it.
Then we do another round of improvements to add semver and co.
What do you say @fauust?

The semver part might be tricky. We use https://github.com/elgohr/Publish-Docker-Github-Action at the moment and this is their script: https://github.com/elgohr/Publish-Docker-Github-Action/blob/master/entrypoint.sh
Don't know if we can keep using it as it's quite helpful. 🤔

Yep, that looks like a good idea.

The semver part might be tricky. We use https://github.com/elgohr/Publish-Docker-Github-Action at the moment and this is their script: https://github.com/elgohr/Publish-Docker-Github-Action/blob/master/entrypoint.sh Don't know if we can keep using it as it's quite helpful. thinking

This needs a bit more testing but I don't think it is too difficult to have.

Alrighty, merged. Let's keep an eye on the actions to see what we can improve.

First run: https://github.com/lycheeverse/lychee/runs/4379240162

It looks like it just... passed? 😆
There is this message in the "test Docker images locally" step:

WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested
I think that's to be expected right?

I guess we can work on pushing the image to lycheeverse/lychee-dev next.

Good!
About the warning, this is new I guess. And it should be silenced with something like (still guessing):
- docker run --rm --entrypoint /bin/sh "$image" -c 'uname -m'
+ docker run --platform "$platform" --rm --entrypoint /bin/sh "$image" -c 'uname -m'

Yep let's try to push so we can work on tags.

How do I set DOCKER_DEPLOY_IMAGES=1 for a run? Just as an environment variable or inside the pipeline itself?

How do I set DOCKER_DEPLOY_IMAGES=1 for a run? Just as an environment variable or inside the pipeline itself?

I would modify the pipeline directly (or adapt the if to match your branch, see: https://github.com/lycheeverse/lychee/blob/master/.github/workflows/docker-new.yml#L93-L97).

Hmm I am wondering if this is not a credential pb... Can you verify that you are able to push something to the new repo on dockerhub?

When pushing from my local machine it worked with a fresh login
~ ❯❯❯ docker pull lycheeverse/lychee
Using default tag: latest
latest: Pulling from lycheeverse/lychee
eff15d958d66: Pull complete
57d8c9d23b10: Pull complete
71187b89eb75: Pull complete
Digest: sha256:1a8d92d842466c187ad70225bf26325b0d3513df9216c72c7328bc0265bc731f
Status: Downloaded newer image for lycheeverse/lychee:latest
docker.io/lycheeverse/lychee:latest
~ ❯❯❯ docker tag lycheeverse/lychee lycheeverse/lychee-dev
~ ❯❯❯ docker push lycheeverse/lychee-dev
Using default tag: latest
The push refers to repository [docker.io/lycheeverse/lychee-dev]
beaf049edffc: Preparing
f3aab834662d: Preparing
e1bbcf243d0e: Preparing
denied: requested access to the resource is denied
~ ❯❯❯ docker login                                                         ✘
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
...
Login Succeeded

Logging in with your password grants your terminal complete access to your account.
For better security, log in with a limited-privilege personal access token. Learn more at https://docs.docker.com/go/access-tokens/
~ ❯❯❯ docker push lycheeverse/lychee-dev
Using default tag: latest
The push refers to repository [docker.io/lycheeverse/lychee-dev]
beaf049edffc: Mounted from lycheeverse/lychee
f3aab834662d: Mounted from lycheeverse/lychee
e1bbcf243d0e: Mounted from lycheeverse/lychee
latest: digest: sha256:1a8d92d842466c187ad70225bf26325b0d3513df9216c72c7328bc0265bc731f size: 951

Updated the secrets in the project settings (which should be identical to the ones before).
Triggered another run.

I can see this in the pipeline just before it fails, so I think it's not the credentials.
Run docker/login-action@v1
  with:
    username: ***
    password: ***
    logout: true
  env:
    DOCKER_USERNAME: ***
    DOCKER_PASSWORD: ***
    DOCKER_DEPLOY_IMAGES: true
    DOCKER_REPO: lycheeverse/lychee-dev
    DOCKER_PLATFORMS: linux/amd64,linux/arm64/v8
    TAG: latest
Logging into Docker Hub...
Login Succeeded!

Ok, found the error, sorry my fault (I should have tested with my docker creds first!), see https://github.com/fauust/lychee/tree/test-push

So I guess the idea is to merge your changes in that branch. Let me try that.

https://github.com/lycheeverse/lychee/actions/runs/1530204912

Tested the image an it works as expected on x64. Don't have an arm machine to test it on (yet).
It's also significantly smaller than the old one.
lycheeverse/lychee-dev   latest    0fb6ee58196e   5 minutes ago   98.21MB   0B            98.21MB       1
lycheeverse/lychee       latest    ffa43cf7aaef   20 hours ago    293.5MB   0B            293.5MB       1

1/3rd the size. 😮
I think we can tackle the semver tagging next and then we should be good to go.
Probably we should do this in a separate PR. 😆

Thanks for the work @fauust. ☺

Works on raspberry 4:
faust@pi2 ~ main
❯ podman run -it lycheeverse/lychee-dev:latest --version
Resolving "lycheeverse/lychee-dev" using unqualified-search registries (/home/faust/.config/containers/registries.conf)
Trying to pull docker.io/lycheeverse/lychee-dev:latest...
Getting image source signatures
Copying blob 968621624b32 done
Copying blob 2b641ed3dfc6 done
Copying blob 27a241d0e0a1 done
Copying config<PHONE_NUMBER> done
Writing manifest to image destination
Storing signatures
lychee 0.8.1

Yep, let's do new PR's. I think it's quicker if you do those changes in the future but I am happy to help/review, so just ping.

about size, it's 1/2 actually :)

I can't remember why we did not use alpine (but there was a reason I recall). Anyway It may make sense if we want to reduce the final size even more.

I think it was because we'd have to use musl and the musl builds failed lately:
https://github.com/lycheeverse/lychee/issues/321#issuecomment-979211674

But I'm okay with giving it another try. @MichaIng fyi

The following seems to work:
FROM alpine:latest as builder
WORKDIR /builder

RUN apk add ca-certificates \
    jq \
    wget \
    && wget -q -O - "$(wget -q -O- https://api.github.com/repos/lycheeverse/lychee/releases/latest \
        | jq -r '.assets[].browser_download_url' \
        | grep x86_64-unknown-linux-musl)" | tar -xz lychee \
    && chmod +x lychee

FROM alpine:latest

RUN apk add ca-certificates \
    tzdata

COPY --from=builder /builder/lychee /usr/local/bin/lychee
ENTRYPOINT [ "/usr/local/bin/lychee" ]

Not sure about other arch though...

Let's move over to https://github.com/lycheeverse/lychee/issues/417 as this is getting too long.

@fauust can you post your last snippet there to discuss it?


Define xrange() for Python 3

This change was added to three files:
try:
    xrange          # Python 2
except NameError:
    xrange = range  # Python 3

Thank you for the PR, @cclauss!


Uncaught AttributeError in sendchat.py line 32

Aider version: 0.60.0
Python version: 3.9.20
Platform: Linux-6.8.0-47-generic-x86_64-with-glibc2.39
Python implementation: CPython
Virtual environment: Yes
OS: Linux 6.8.0-47-generic (64bit)
Git version: git version 2.43.0
An uncaught exception occurred:
Traceback (most recent call last):
  File "utils.py", line 7014, in chunk_creator
    response_obj = self.handle_ollama_stream(chunk)
  File "utils.py", line 6557, in handle_ollama_stream
    raise e
  File "utils.py", line 6532, in handle_ollama_stream
    raise Exception(f"Ollama Error - {json_chunk}")
Exception: Ollama Error - {'error': 'an unknown error was encountered while running the model '}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "base_coder.py", line 1129, in send_message
    yield from self.send(messages, functions=self.functions)
  File "base_coder.py", line 1425, in send
    yield from self.show_send_output_stream(completion)
  File "base_coder.py", line 1492, in show_send_output_stream
    for chunk in completion:
  File "ollama.py", line 428, in ollama_completion_stream
    raise e
  File "ollama.py", line 425, in ollama_completion_stream
    for transformed_chunk in streamwrapper:
  File "utils.py", line 7598, in __next__
    raise exception_type(
  File "utils.py", line 7510, in __next__
    response: Optional[ModelResponse] = self.chunk_creator(chunk=chunk)
  File "utils.py", line 7413, in chunk_creator
    raise exception_type(
  File "exception_mapping_utils.py", line 2116, in exception_type
    raise e
  File "exception_mapping_utils.py", line 2092, in exception_type
    raise APIConnectionError(
litellm.exceptions.APIConnectionError: litellm.APIConnectionError: Ollama Error - {'error': 'an unknown error was encountered while running the model '}
Traceback (most recent call last):
  File "utils.py", line 7014, in chunk_creator
    response_obj = self.handle_ollama_stream(chunk)
  File "utils.py", line 6557, in handle_ollama_stream
    raise e
  File "utils.py", line 6532, in handle_ollama_stream
    raise Exception(f"Ollama Error - {json_chunk}")
Exception: Ollama Error - {'error': 'an unknown error was encountered while running the model '}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
  File "main.py", line 776, in main
    coder.run()
  File "base_coder.py", line 730, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 773, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1131, in send_message
    except retry_exceptions() as err:
  File "sendchat.py", line 32, in retry_exceptions
    litellm.llms.anthropic.chat.AnthropicError,
AttributeError: module 'litellm.llms.anthropic.chat' has no attribute 'AnthropicError'

Thanks for trying aider and filing this issue.
How did you install aider? What environment are you using? It looks like you don't have the correct set of dependencies installed. This doc may be helpful:
https://aider.chat/docs/troubleshooting/imports.html
I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.


Failed to create EGL display

Describe the bug
while running on dgpu everything works as expected, but when dgpu is dsabled (in a prime setup), walker takes almost 10 second to open a window
Version
Latest git (or almost)
Minimal Config
Default config without system
To Reproduce
open from terminal or using hyprland shortcut
Expected behavior
opening in a second or so
Desktop

NixOS
Hyprland

Additional context
I have two gpus, on dedicated (nvidia) and one integrated
If you need any environment i will give it to you, i'd like not to spam the issue with irrelevant env var (especially the nix ones)
this is the output i get from a terminal, with benchmark
~ took 45s
    walker -b
Startup:<PHONE_NUMBER>471
start run:<PHONE_NUMBER>471
start handle cmd:<PHONE_NUMBER>498
run activate:<PHONE_NUMBER>498
Calc disabled: currently 'qalc' only.
INFO Failed to realize renderer of type 'GskNglRenderer' for surface 'GdkWaylandToplevel': Failed to create EGL display
 priority=5 code_file=../gsk/gskrenderer.c code_line=753 code_func=gsk_renderer_new_for_surface glib_domain=Gsk
INFO Failed to realize renderer of type 'GskGLRenderer' for surface 'GdkWaylandToplevel': Failed to create EGL display
 priority=5 code_file=../gsk/gskrenderer.c code_line=753 code_func=gsk_renderer_new_for_surface glib_domain=Gsk
ERROR Vulkan: Loader Message: setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config priority=4 code_file=../gdk/gdkvulkancontext.c code_line=1575 code_func=gdk_vulkan_debug_report glib_domain=Gdk
ERROR Vulkan: Loader Message: setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config priority=4 code_file=../gdk/gdkvulkancontext.c code_line=1575 code_func=gdk_vulkan_debug_report glib_domain=Gdk
INFO Failed to realize renderer of type 'GskVulkanRenderer' for surface 'GdkWaylandToplevel': No Vulkan devices available.
 priority=5 code_file=../gsk/gskrenderer.c code_line=753 code_func=gsk_renderer_new_for_surface glib_domain=Gsk
Visible (first ui)<PHONE_NUMBER>213

I can't debug nix things, but Walker isn't doing anything in regards to that by itself, since it's just GTK. Might be worth asking nix people about this.

there is no reason this would be a nix thing, i was just talking about env var in case it is useful to you and you software
if it is a gtk thing where should i report this, also whats makes you think it's gtk since no other gtk app has this issue? ags works perfectly fine and uses the same dependencies as you do i believe

Pls provided the used envvars (except the nix onces) so i can test with my iGPU.

this is my env with nix specific env var removed, i did not modified nix path or anything
env.txt


s3 gateway even degrade the s3 object read performance

What happened:
I use juicefs to run a s3 gateway to Ceph s3 and use cosbench to test the s3 read/write performance. The test result show the write performance imporoved as expected, but read performance get degraded, even the metrics blockcache_hit_bytes show the cache 100 percent hitted.
What you expected to happen:
s3 gateway should imporove read performance when cached hitted.
Anything else we need to know?
juicefs gateway commandd line parameters: juicefs gateway  --cache-dir memory --cache-size 2048 --writeback --metrics <IP_ADDRESS>:9568 redis://xxx.xxx.xxx.xxx:6379/3 <IP_ADDRESS>:9000
Environment:

JuiceFS version: 0.17.5
OS: centos 7
Kernel: 3.10.0-693
Object storage : Ceph S3
Metadata engine info : redis 6.2.6

Could you provide more information? e.g:

parameters of the cosbench test
total memory of your test node running the gateway
results of the write/read tests on juicefs gateway / Ceph s3

The objects should be read from cache-dir (i.e. memory) directly if cache hit.

cosbench workload config  file :

total memory of test node: 16G

result of read test on Ceph s3:
Op-Type	Op-Count	Byte-Count	Avg-ResTime	Avg-ProcTime	Throughput	Bandwidth	Succ-Ratio
read	121 ops	3.9 GB	246.65 ms	37.82 ms	4.05 op/s	130.77 MB/S	100%

result of read test on Juicefs gateway:
Op-Type	Op-Count	Byte-Count	Avg-ResTime	Avg-ProcTime	Throughput	Bandwidth	Succ-Ratio
op1: read	60 ops	1.92 GB	495.7 ms	17.97 ms	2.02 op/s	64.55 MB/S	100%

Could you provide more information? e.g:

parameters of the cosbench test
total memory of your test node running the gateway
results of the write/read tests on juicefs gateway / Ceph s3

The objects should be


Index out of range error for commands with default parameter and child command (API8)

Dear @dualspiral, I broke your commands using a command with a defaulted parameter and a child command.
Command usage
/testoptionaldefaultwithsubcommand
Expected:
Executor gets run using the "default" value
Actual:
StringIndexOutOfBoundsException :(
Code and Full Error:
https://gist.github.com/Faithcaio/025f0c6397c3abb7d742e96b0a9dc5d7
Note that if the parameter is instead optional (and NOT defaulted) it works as expected.

SpongeCommandDispatcher#shouldContinueTraversing() returns true because defaulted parameter doesNotRead causing the reader to skip past the end of the string.
Because a literal (the sub-command) is present it tries to match literals causing it to read the String past its end.
I think the solution would be to ignore literals when the reader cannot read anymore and just return SpongeArgumentCommandNode with doesNotRead parsers.
https://github.com/SpongePowered/SpongeCommon/blob/0f59cbbaa8a5deb625d714ff7ba53989e07e5ad9/src/main/java/org/spongepowered/common/command/brigadier/dispatcher/SpongeCommandDispatcher.java#L236
            if (originalReader.canRead()) {
                nodes = node.getRelevantNodes(originalReader);
            } else { // Reader cannot read anymore so ONLY parsers that do not read can be processed
                nodes = node.getChildren().stream().filter(n -> n instanceof SpongeArgumentCommandNode && ((SpongeArgumentCommandNode) n).getParser().doesNotRead()).collect(Collectors.toList());
            }

Thanks for looking into this. I just went through it with your notes and I think you're right - that's the solution. I'll add it now, thank you.


'you need an encryption library'

How can I do that? I googled a bit and didn't find any good tutorial.
I'm pretty new to python - can someone help?
Thanks for the update tho - love to run the Map with 100+ workers ;)

check the hints at #135

Oh. Thanks!


Fixed the sizing for tablet screen size

Issue Title: Fixed for tablet sizing
closes #503
Type of change ☑

What sort of change have you made:

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

Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

How Has This Been Tested? ⚙
Describe how have you verified the changes made.

@singodiyashubham87
You will have to assign this merge to me else it won't get counted in GSSOC contributions..
kindly assign me


UnstructuredURLLoader Error 403

Issue: When trying to read data from some URLs, I get a 403 error during load. I assume this is due to the web-server not allowing all user agents.
Expected behavior: It would be great if I could specify a user agent (e.g. standard browsers like Mozilla, maybe also Google bots) for making the URL requests.
My code
from langchain.document_loaders import UnstructuredURLLoader
urls = ["https://dsgvo-gesetz.de/art-1"]
loader = UnstructuredURLLoader(urls=urls)
data = loader.load()

Error message
ValueError                                Traceback (most recent call last)
Cell In[62], line 1
----> 1 data = loader.load()

File /opt/conda/lib/python3.10/site-packages/langchain/document_loaders/url.py:28, in UnstructuredURLLoader.load(self)
     26 docs: List[Document] = list()
     27 for url in self.urls:
---> 28     elements = partition_html(url=url)
     29     text = "\n\n".join([str(el) for el in elements])
     30     metadata = {"source": url}

File /opt/conda/lib/python3.10/site-packages/unstructured/partition/html.py:72, in partition_html(filename, file, text, url, encoding, include_page_breaks, include_metadata, parser)
     70 response = requests.get(url)
     71 if not response.ok:
---> 72     raise ValueError(f"URL return an error: {response.status_code}")
     74 content_type = response.headers.get("Content-Type", "")
     75 if not content_type.startswith("text/html"):

ValueError: URL return an error: 403

for reference: URL that works without the 403 error
https://www.heise.de/newsticker/

I have worked with UnstructuredURLLoader a bit too. Under the hood it uses requests library to fetch data. I have implemented my own solution to fetch the URL and parse the content using unstructured. You can then pass the parsed html text as a document to Langchain if you want.

I created an issue https://github.com/hwchase17/langchain/issues/1944 which would allow passing  theUser-Agent header, or any others headers that might be needed.

See this PR for how to pass a User-Agent header to UnstructuredURLLoader:
https://github.com/hwchase17/langchain/pull/2105

@waxxdu I get the same problem here. Have you figure out how to solve it? I update my langchain version and pass User-Agent to the loader. But I still get error code 403 in return.

@Bohan-J I did not find the time yet to try again. It is on my agenda - possibly Monday or later next week. I will post successful results if any.

Looking for a solution to this as well.

I'm trying to use the WebBrowserTool and I got the same code on some sites. I tried to add the user agent and also use proxies but I still get 403. I tried to send the headers directly on the tool contructor or the axios config.
const headers = {
  'user-agent':
    'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36',
  'upgrade-insecure-requests': '1',
  'accept':
    'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',
  'accept-encoding': 'gzip, deflate, br',
  'accept-language': 'en-US,en;q=0.9,en;q=0.8',
};

new WebBrowser({
    model,
    headers,
    embeddings,
    axiosConfig: {
      headers
    },
  })

same error, any resolution ?

What we did as workaround is to create a custom tool, and use crawlee (https://crawlee.dev/) there and store the results on a vector. Crawlee already has some good techinques to avoid the 403 errors like fake agents, request headers and proxy pools.


Pass custom error for low score on Module options

Hello
It would be nice if we could pass a custom error message in case of a low-score error.
I was testing the integration and I'm getting this error when the score doesn't pass. On the frontend I get the error of Unexpected error. Please submit issue to @nestlab/google-recaptcha.
[Nest] 36159  - 09/07/2022, 12:10:02 AM   DEBUG [GoogleRecaptchaEnterprise.result] {
    "options": {
        "success": false,
        "errors": [
            "unknown-error",
            "low-score"]
      }
},

It would be nice if we could pass a custom error message when this error occurs.
EXAMPLE
const type NewGoogleRecaptchaModuleOptions = GoogleRecaptchaModuleOptions & {lowScoreError?: string}
GoogleRecaptchaModule.forRoot({
      response: (req: IncomingMessage) =>
        (req.headers.recaptcha || '').toString(),
      debug: true,
      actions: ['REGISTER'],
      score: 0.95,
      lowScoreError: 'Oops, something went wrong on our side',
      enterprise: {
        projectId: 'long-classifier-165123',
        apiKey: 'AIzaSyBPJlBYlob1e2F2vw0Qroj4zvPuT_0IXLs',
        siteKey: '6LcRT9khAAAAAFKWI9728T024rEjJy_R2iyxynSR',
      },
})

Hi @gmwill934 could you provide your full logged response from google recaptcha enterprise? this is weird that you have unknown-error error code with low-score at the same time.
The GoogleRecaptchaException  message depends on first error code, in your case unknown-error. I'll fix it.
If you want custom error messages you can do it in exception filter by error codes
https://github.com/chvarkov/google-recaptcha#error-handling

@gmwill934 thank you for submit this issue.
The fix with error codes and messages was published v3.1.7.
If you need override text of error messages in response, best way todo it via ExceptionFilter by error codes.

Thanks again!


flutter 3.0.0 support

i'm not sure why #808 and #809 were closed, it looks like the fix is pretty simple

i'm not sure why #808 and #809 were closed, it looks like the fix is pretty simple

It looks like 3.0.0 support was already merged to version 5.0.0


Question: Does this build the knowledge graph based on the chat history? Or only for uploaded documents?

仅适用于已经构建好的Graphrag，参考官方的实现，提取出output_time_artifacts 进入input_dir


Add release.yml

Added the .github/release.yml file to generate automatically release notes when creating a new release. More info here.
How it Works:
When creating a new release, by clicking the Generate release notes button will automatically fetch and categorize all the merged PRs between the latest tag and the new one, based on the labels in the PRs.
If multiple valid labels are present in a PR, it will choose the one with the highest priority, which is determined by the order they appear in the release.yml file.
If a PR contains the label ignore-for-release it will be skipped regardless of the other labels.
To benefit this feature, each PR should have at least one label from the list to be included in the auto-generation process. I can add a CI action to ensure that each PR has at least one and only one label, but I think it might be more annoying than useful. What do you think?
Also, can you give me your opinion about the categories and titles? Thanks

Yes, sure. We just need to merge this PR (this file works only if it is on the main branch) and label all the PRs since the last tag. Then, it should work.

@hiimjako feel free to do the next release :) !


Update branding to 2.2.8

aspnet/AspNetCore-Internal#3153

@aspnet-hello triage https://dev.azure.com/dnceng/public/_build/results?buildId=362961

@anurse whether or not the hello bot wakes up and creates / update issues, I'd appreciate your help. It seems this simple PR frequently hits dotnet watch and SignalR issues. Could you please have someone take a look?
Latest build hit the following:
[xUnit.net 00:02:28.73]     Microsoft.DotNet.Watcher.Tools.FunctionalTests.DotNetWatcherTests.RunsWithIterationEnvVariable [FAIL]
  Failed   Microsoft.DotNet.Watcher.Tools.FunctionalTests.DotNetWatcherTests.RunsWithIterationEnvVariable
  Error Message:
   System.Threading.Tasks.TaskCanceledException : A task was canceled.
  Stack Trace:
     at Microsoft.DotNet.Watcher.Tools.FunctionalTests.AwaitableProcess.GetOutputLineAsync(String predicateName, Predicate`1 predicate, CancellationToken cancellationToken) in /_/src/Tools/dotnet-watch/test/AwaitableProcess.cs:line 100
     at Microsoft.DotNet.Watcher.Tools.FunctionalTests.AwaitableProcess.GetOutputLineAsync(String message, TimeSpan timeout) in /_/src/Tools/dotnet-watch/test/AwaitableProcess.cs:line 85
     at Microsoft.DotNet.Watcher.Tools.FunctionalTests.DotNetWatcherTests.RunsWithIterationEnvVariable() in /_/src/Tools/dotnet-watch/test/DotNetWatcherTests.cs:line 44
  --- End of stack trace from previous location where exception was thrown ---
  Standard Output Messages:
   The temporary test folder is /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv
   Copying project /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/TestProjects/KitchenSink to /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv/KitchenSink
   Restoring msbuild project in KitchenSink
   Project directory: '/home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv/KitchenSink'
   Started process 19649: /home/vsts/work/1/.dotnet/dotnet restore
     Restoring packages for /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv/KitchenSink/KitchenSink.csproj...
     Generating MSBuild file /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv/KitchenSink/.net/obj/KitchenSink.csproj.nuget.g.props.
     Generating MSBuild file /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv/KitchenSink/.net/obj/KitchenSink.csproj.nuget.g.targets.
     Restore completed in 226.98 ms for /home/vsts/work/1/s/bin/dotnet-watch.Tests/Release/netcoreapp2.2/tmp/3pxbdz12.flv/KitchenSink/KitchenSink.csproj.

…
  9/23/19 5:22:53 AM: post: 'watch : Waiting for a file to change before restarting dotnet...'
   9/23/19 5:22:53 AM: recv: 'watch : Waiting for a file to change before restarting dotnet...'. Matches condition '[msg.StartsWith('watch : Waiting for a file to change')]'.
   Waiting for output line [msg == 'Started']. Will wait for 60 sec.
   Disposing WatchableApp

and

     at Microsoft.AspNetCore.SignalR.Tests.FunctionalTestBase.MultiDisposable.Dispose() in /home/vsts/work/1/s/src/SignalR/common/testassets/Tests.Utils/FunctionalTestBase.cs:line 55
     at Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.ExceptionFromStreamingSentToClient(String protocolName, HttpTransportType transportType, String path) in /_/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs:line 466
  --- End of stack trace from previous location where exception was thrown ---
  Standard Output Messages:

…
   | [0.040s] Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher Error: rzPxxc_UEZdhtLsuSqcz6g - Failed to invoke hub method 'StreamException'.
   | System.InvalidOperationException: Error occurred while streaming.
   |    at Microsoft.AspNetCore.SignalR.Client.FunctionalTests.TestHubMethodsImpl.StreamException() in /_/src/SignalR/clients/csharp/Client/test/FunctionalTests/Hubs.cs:line 168
   |    at lambda_method(Closure , Object , Object[] )
   |    at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, Object[] arguments) in /_/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs:line 330
   |    at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.Invoke(HubMethodDescriptor descriptor, HubConnectionContext connection, HubMethodInvocationMessage hubMethodInvocationMessage, Boolean isStreamedInvocation) in /_/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs:line 225

…
   |    at Microsoft.AspNetCore.Http.Connections.Internal.Transports.LongPollingTransport.ProcessRequestAsync(HttpContext context, CancellationToken token)
   | [0.055s] Microsoft.AspNetCore.Server.Kestrel Error: Connection id "0HLPVT0E8KU1I", Request id "0HLPVT0E8KU1I:00000005": An unhandled exception was thrown by the application.
   | System.InvalidOperationException: Reading is not allowed after reader was completed.
   |    at System.IO.Pipelines.ThrowHelper.ThrowInvalidOperationException_NoReadingAllowed()
   |    at System.IO.Pipelines.Pipe.ReadAsync(CancellationToken token)
   |    at System.IO.Pipelines.Pipe.DefaultPipeReader.ReadAsync(CancellationToken cancellationToken)
   |    at Microsoft.AspNetCore.Http.Connections.Internal.Transports.LongPollingTransport.ProcessRequestAsync(HttpContext context, CancellationToken token)
   |    at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher.ExecuteAsync(HttpContext context, ConnectionDelegate connectionDelegate, HttpConnectionDispatcherOptions options, ConnectionLogScope logScope)
   |    at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher.ExecuteAsync(HttpContext context, HttpConnectionDispatcherOptions options, ConnectionDelegate connectionDelegate)
   |    at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   |    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   |    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

…
 Application startup exception: System.NotSupportedException: Duplicate definitions of 'OverloadedMethod'. Overloading is not supported.
     at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.DiscoverHubMethods() in /_/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs:line 446
     at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1..ctor(IServiceScopeFactory serviceScopeFactory, IHubContext`1 hubContext, IOptions`1 hubOptions, IOptions`1 globalHubOptions, ILogger`1 logger) in /_/src/SignalR/server/Core/src/Internal/DefaultHubDispatcher.cs:line 38
  --- End of stack trace from previous location where exception was thrown ---
     at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProviderEngineScope scope)
     at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
     at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProviderEngineScope scope)
     at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
     at Microsoft.Extensions.Internal.ActivatorUtilities.GetServiceOrCreateInstance[T](IServiceProvider provider)
     at Microsoft.AspNetCore.Connections.ConnectionBuilderExtensions.UseConnectionHandler[TConnectionHandler](IConnectionBuilder connectionBuilder)
     at Microsoft.AspNetCore.SignalR.HubRouteBuilder.<>c__3`1.<MapHub>b__3_0(IConnectionBuilder builder) in /_/src/SignalR/server/SignalR/src/HubRouteBuilder.cs:line 58
     at Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder.MapConnections(PathString path, HttpConnectionDispatcherOptions options, Action`1 configure)
     at Microsoft.AspNetCore.SignalR.HubRouteBuilder.MapHub[THub](PathString path, Action`1 configureOptions) in /_/src/SignalR/server/SignalR/src/HubRouteBuilder.cs:line 59
     at Microsoft.AspNetCore.SignalR.Tests.MapSignalRTests.<>c.<MapSignalRFailsForInvalidHub>b__0_1(HubRouteBuilder routes) in /_/src/SignalR/server/SignalR/test/MapSignalRTests.cs:line 18
     at Microsoft.AspNetCore.Builder.ConnectionsAppBuilderExtensions.UseConnections(IApplicationBuilder app, Action`1 configure)
     at Microsoft.AspNetCore.Builder.SignalRAppBuilderExtensions.UseSignalR(IApplicationBuilder app, Action`1 configure) in /_/src/SignalR/server/SignalR/src/SignalRAppBuilderExtensions.cs:line 35
     at Microsoft.AspNetCore.SignalR.Tests.MapSignalRTests.<>c__DisplayClass9_0.<BuildWebHost>b__1(IApplicationBuilder app) in /_/src/SignalR/server/SignalR/test/MapSignalRTests.cs:line 140
     at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication() in /_/src/Hosting/Hosting/src/Internal/WebHost.cs:line 219

The test failures occurred in a pipeline that's not required to be successful However that pipeline is closer to what we do after checkin and to what we need to do when transitioning from TC to AzDO.

@BrennanConroy can you take a look?

/bump reviewers
@anurse / @BrennanConroy looks like the failures cleared in my latest retry. So, flakiness. I'm hoping we can grab changes from later branches that harden against that flakiness.

dotnet-watch test flakiness was fixed in https://github.com/aspnet/AspNetCore/pull/9649 which looks like a safe fix to backport
The SignalR test failure fix would be a lot harder to backport as it modifies public class(es)

If I remember correctly this failure can affect almost all tests involving LongPolling :/
We could try to add a "global" expected log filter to our tests for this specific log.

Hrm, I'll chat with you offline and see what we can do. Removing coverage for Long Polling entirely is probably not appropriate.


Back swipe in journal breaks entire ui navigation

Apparently this was an issue caused by the flutter framework as this was fixed by upgrading flutter to 3.22.0


docs: include setup instructions for individual ai providers

Type of change

[x] Documentation

Summary
This PR adds steps and links needed to setup different AI providers with variables exported according to each provider! 👾
Preview
https://github.com/slack-samples/bolt-python-ai-chatbot/tree/zimeg-docs-provider-setup?tab=readme-ov-file#environment-variables
Requirements

[x] I’ve checked my submission against the Samples Checklist to ensure it complies with all standards
[x] I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
[x] I've read and agree to the Code of Conduct

@seratch Thanks! 😄 📚  It's neat explore these different setups 👁🗨


RPC-driven allocation of SNAT IPs for Hosts

Prior to this change, a SNAT IP address had to be manually
configured on every host for every external_segment.
With this change, a new IP address is allocated from the configured
host_pool_cidr per external_segment when a RPC request is received
from that host.

Would the option to manually configure it will still available? There will be ppl that will want to have more control.

Yes, it should still be possible to manually configure. This patch automates the following two steps:

It creates a Neutron subnet that corresponds to the HOST-SNAT-POOL in the External Network.

It allocates a SNAT IP to a host for a given External Network by creating a Neutron Port with an IP allocation in that subnet.


Map stop responding on IOS

When I open the web app in iOS 11 the map stop responding

Please provide a video.

How many devices do you have in your account?

I have 3 devices in this account.
I never had this problem before.
I only noticed this issue after I updated the iOS to 11

Possibly an OpenLayers issue. I would recommend to wait for the next release or try build from source code.

Ok thanks

It is an issue with iOS 11 not with Traccar or map. Apple say that devices that are repaired with non orriginal parts have touch screen problems. My iPhone is never been repaired and has that issue.

Hello... @tananaev i have the same problem with Traccar APP in iOS, the map of Google y frozen, i have 220 devices, but my serves is a beast, locate in Azure services. This happens only with Google maps, i change the layer to Microsoft and dont have the same problem

Hi Anton,
I think that upgrading openlayers should fix this issue.
https://github.com/openlayers/openlayers/issues/7202
Thanks
Erez

We have already done that.

This is great.
Thanks
ב-3 בדצמ׳ 2017, בשעה 22:51, Anton Tananaev<EMAIL_ADDRESS>כתב/ה:

We have already done that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I have upgraded to the latest version but the map is still freezing on iOS 11

We haven't released a new version yet. Next time check dates on the release.

Does 4.6.4 have this issue?

There is no such version. Where did you get this number?

Wow, I'm sorry I am on the wrong project. Disregard everything I have said!