iOS 13 First time Blank screen is displayed when user access to photos.

IOS-13 Blank screen is displayed when user access to photos is provided and allowed from popup, user need to click again and click on upload from library, then photos will be displayed.

I have the same problem. It's probably because the PHFetchResult handling in iOS 13 is different than before. It's not a complete solution, but I did the following trick:
When the user chooses to allow access to the photo for the first time, it will use the 'photoLibraryDidChange' method in QBAlbumsViewController.m. In iOS 13, tableview reloading does not work properly, so it must be processed separately.
The code is shown below.

(void)photoLibraryDidChange:(PHChange *)changeInstance
{
dispatch_async(dispatch_get_main_queue(), ^{
// Update fetch results
if (@available(iOS 13.0, *)) {
PHFetchResult *smartAlbums = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeSmartAlbum subtype:PHAssetCollectionSubtypeAny options:nil];
PHFetchResult *userAlbums = [PHAssetCollection fetchAssetCollectionsWithType:PHAssetCollectionTypeAlbum subtype:PHAssetCollectionSubtypeAny options:nil];
self.fetchResults = @[smartAlbums, userAlbums];
[self updateAssetCollections];
[self.tableView reloadData];
return;
}
  NSMutableArray *fetchResults = [self.fetchResults mutableCopy];

  [self.fetchResults enumerateObjectsUsingBlock:^(PHFetchResult *fetchResult, NSUInteger index, BOOL *stop) {
      PHFetchResultChangeDetails *changeDetails = [changeInstance changeDetailsForFetchResult:fetchResult];

      if (changeDetails) {
          [fetchResults replaceObjectAtIndex:index withObject:changeDetails.fetchResultAfterChanges];
      }
  }];

  if (![self.fetchResults isEqualToArray:fetchResults]) {
      self.fetchResults = fetchResults;

      // Reload albums
      [self updateAssetCollections];
      [self.tableView reloadData];
  }

});
}

I hope this helps. :)

Thank you @jiwoonjo, I changed the code as you mentioned. now It's working fine.


[Bug]: ImportError when running

enex2notion version
0.2.17
What OS are you using?
MacOS
OS Version / Linux distribution
macOS BigSur(11.6.7), Intel
Bug description
Hi @vzhd1701 !
Thanks for developing the amazing tool.
I have installed enex2notion with Homebrew, but when I run it, I get the following error.
I think this is not an issue with enex2notion, but I want some help, so I opened this issue.
If you can think of a solution, please tell me.
Log excerpt
% enex2notion --verbose
Traceback (most recent call last):
  File "/usr/local/bin/enex2notion", line 5, in <module>
    from enex2notion.cli import main
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/enex2notion/cli.py", line 9, in <module>
    from enex2notion.cli_upload import EnexUploader
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/enex2notion/cli_upload.py", line 9, in <module>
    from enex2notion.note_parser.note import parse_note
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/enex2notion/note_parser/note.py", line 12, in <module>
    from enex2notion.note_parser.note_type_based import parse_note_blocks_based_on_type
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/enex2notion/note_parser/note_type_based.py", line 8, in <module>
    from enex2notion.note_parser.webclip_pdf import parse_webclip_to_pdf
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/enex2notion/note_parser/webclip_pdf.py", line 6, in <module>
    import fitz
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/fitz/__init__.py", line 10, in <module>
    from fitz.fitz import *
  File "/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/fitz/fitz.py", line 17, in <module>
    from . import _fitz
ImportError: dlopen(/usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/fitz/_fitz.cpython-310-darwin.so, 2): Symbol not found: _FT_Get_First_Char
  Referenced from: /usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/fitz/_fitz.cpython-310-darwin.so
  Expected in: /usr/local/opt/mupdf/lib/libmupdf.dylib
 in /usr/local/Cellar/enex2notion/0.2.17/libexec/lib/python3.10/site-packages/fitz/_fitz.cpython-310-darwin.so

It's a Homebrew package issue. Will fix it now. Meanwhile you can use a standalone binary.

Homebrew package should be fixed now. Please update and tell how it works for you.
brew update
brew upgrade vzhd1701/tap/csv2notion

@vzhd1701 , thanks for the fix!
I saw the fix here. https://github.com/vzhd1701/homebrew-tap/commit/ed01aff86fc4f2e8a6545d85d1296e03d668a838
It runs fine now!
% enex2notion --version
enex2notion 0.2.17

I'll try to use it :)


Cant use it properly without "spgithub"

Hello, where I can found "spgithub.groovy" to use this tool ?

Those functions were provided in the SupportingFunctions.groovy file, and were originally intended to be imported to the main code via a shared library. To make things easier I have combined it all into the git-cleanup.groovy script in this commit.

Okay, thank you for the information


OHLC has three render modes, keep? or simplify?

Currently the OHLC series has three different methods that can be used to render the series, each one having a different performance characteristic.
Do we want to keep this feature or not?
If we do keep it, we need to make it more obvious what this feature does. By choosing the more high-performance version I presume you sacrifice some functionality?
Ideally I'd like to see an equivalent visitor function as per #202

If we don't sacrifice any functionality in the higher performance mode, then it makes no sense to keep all three.

Agreed, not sure if there's a difference when it comes to styling?
On Tue, 6 Jan 2015 08:54 Mark Jose<EMAIL_ADDRESS>wrote:

If we don't sacrifice any functionality in the higher performance mode,
then it makes no sense to keep all three.
—
Reply to this email directly or view it on GitHub
https://github.com/ScottLogic/d3-financial-components/issues/210#issuecomment-68840583
.


adapting the Konnektor behavior to openfe.

if no scorer is provided to the max network planners, the std. behavior is to take the first possible mapping and be done. It used to use the last possible mapping.
this change is a minor adaptation to the old openFE behavior.fixes unit tests.

note Mac CI is failing currently everywhere in this Konnektor Repo, and we assume it is an rdkit version issue, if I understood it correctly, right @mikemhenry ?

@RiesBen this PR seems to be missing tests, is this intentional?

hmmmm... the thing is, the effect of the change was not tested before.
So ideally one would add tests now. On the other hand this tries mainly to make the openFE-repo happy as the behavior is tested there.
I think it would be more beautiful to also test the behaviour here and I will try to add them if I have time.

added as an issue here so this PR is unblocked.

To clarify:
The prior behavior was to use the first mapping of the last mapper passed to mappers.
The current behavior takes the first mapping of the first mapper passed to mappers.
In the case of multiple mappers, but no scorer, I think we should raise a warning. It might be confusing if a user is passing in multiple mappers and thinks both are being used, but it's quietly defaulting to the first mapper.


[Bug] Plugin works but emotes in "emote menu" are locked

Describe the bug
The plugins works normally but all emotes appears "locked" in the emote menu, you can still click on them and it works tho, so this is purely visual i assume
To Reproduce
Steps to reproduce the behavior:

Open Emote Menu (Ctrl+E)
See error

Expected behavior
Before all the "ads" part that tells you emotes are locked and you need to buy nitro was hidden, now it's back
Screenshots

OS: Windows 10
Version: 2.1.7

Fixed in 2.2.0


[s] Update submodule, readme refs- #212

@subhankarb you need more descriptive commits. E.g.
[s]: Update submodule, readme refs- #212

Should be something like:
[js][s]: Update dpr-js submodule to latest code and update README - refs #22.

* README: update to have instructions on building the JS bundle.js when doing local development

Personally, i'd have kept these two commits separate to make documenting them easily.

Also the second commit seems to have nothing to do with #212 - how is it related?


BUG: brief description of the bug

Sealos Version
v4.1.4
How to reproduce the bug?
1、use keepalived to implement a vip between two machine(real-server-1,real-server-2), and make sure vip is working normally
2、Use the following commands to load balance traffic through lvscare(execute on the above two machines)
./lvscare care --vs keepalived-vip:80 --rs real-server-1-ip:80 --rs real-server-2-ip:80 --mode link --run-once

What is the expected behavior?
Accessing vip both outside the machine and inside the machine can achieve the effect of traffic load balancing
What do you see instead?
When accessing vip from outside the machine, when the traffic is forwarded by vip-master to another real-server, it will not work.When the traffic is handled by the vip-master itself, it is normal.
Like this:
outer ------> vip-master(real-server-1) -------> real-server-1-nginx       ok
outer ------> vip-master(real-server-1) -------> real-server-2 -------> real-server-2-nginx      fail
Operating environment
- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information
No response

maybe using kube-vip + lvscare is better ?

@cuisongliu Why need kube-vip? Seems just run lvscare on client node, you can bind the vip on network interface. More info: https://github.com/labring/lvscare

Linked mode doesn't seem to work. Traffic forwarding of the external machine failed. kube-vip handles external traffic and lvscare handles internal traffic. This is how it's been resolved so far.


Sorting is only client side

Nice project so far!  I've been working on a project with Element UI and running into the same problem you have here...  Although the server side pagination works, the sorting only happens client side.  So the sort only uses the current page of data.  Most people would expect the sorting to account for all the data, not just the current page.  Unfortunately Element UI doesn't seem to provide an easy way to manage this.  Maybe there is some way to implement it using a combination of the 'header-click' event and the column 'render-header' function?  I might resort to ditching the el-table component altogether because of this.

Element UI's table is designed to sort on the client at first. It support header-click and sort-change event now, you may implement your need with these 2 events.

Ummm, yeah that is pretty much what I just said.  Except I'm not sure sort change event will be helpful.  It would be if it would allow aborting/replacing the client side sort, but as far as I can tell, that is not the case.  I think you would have to disable the built in sort first and then replace it using header-click.  Then maybe render-header could be used to output your own arrow indicators, but that event is not very well documented.

I am going to talk with their developer for your solution.

Hi, just checking in to see if you have any new thoughts/info on this.  On my end, I got the server side sorting working fine using the header-click event.  I'm looking into using the render-header function to properly display the indicator arrows now.  Having some trouble with that part.

FYI...
https://github.com/ElemeFE/element/issues/5161

ElementUI now support custom sortable, you need to set table-column's sortable to custom and listen to table's sort-change method.

I don't see this in their documentation.

It has not been translated to en currently 😿 , you can switch to Chinese document.


Resolver on v6

Sorry to trouble you guys but I pressed the Edit button on the documentation page but it took me to something I didn't understand.  It had references to validationResolver instead of plain resolver and it didn't contain the heading. So I didn't know what to do so, here I am.
1 The signature of the function in the heading. Once https://github.com/react-hook-form/react-hook-form/pull/2305 is published, the resolver function might better be described as:
(values: any, context?: object) => Promise<ResolverReturn> | ResolverReturn
// where:
type ResolverReturn = {values: Record<string, any>, errors: Record<string, string>}

2 About custom resolvers, I suggest to add the purpose of the function which actually is not limited to validation but also casting or otherwise transforming the values, adding

The purpose of the resolver is both to validate the values entered and to transform them before submitting them.
It receives the values as taken from the input elements and the context set when useForm was called.
It should return an object with values and errors objects, or a Promise that produces such object.
The property names of both values and errors  should match the name properties of the input elements.

3 It says that the default value of both values and errors should be {}.  Actually, this is wrong.

The default value of errors should be an empty object {}
The default value of values should be the same values received as a parameter.

4 It doesn't say what to return otherwise:

If an error is found in a value, the errors object should contain a property with the name of the field in error and an error message.
If no errors are found, values might return a modified version of the values received as parameters with the property values changed, for example:

return {
   errors: {},
   values: {
      ...values,
      age: parseInt(values.age, 10),
   }
}

In my app I haven't dealt with nested properties or field arrays so my description above is probably incomplete for lack of experience in those areas.

I also noticed resolver receives a third, undocumented parameter isValidateAllFieldCriteria, declared in the types as boolean

These Look like awesome suggestions, I'm a bit stuck for time right now but ill try to go through them 1 by 1 this weekend. Thank you!

Thanks @Satyam isValidateAllFieldCriteria and context will be injected through useForm, that's why it's not documented.

@bluebill1049 : I mention where context comes from in item 2 in my list of suggestions in my first comment.  I don't see where isValidateAllFieldCriteria, at least no documented place.
Getting started guides are not meant to be exhaustive, API docs should.

So after a lot of thought (sorry for the long wait): We are going to prioritize user facing changes for the docs. Most of these details concern the inner workings of RHF, and at this time we are prioritizing overall doc improvements versus contributor improvements. Thank you for pointing this out though! I will definitely keep this issue in mind if we eventually shift focus to contributor doc experience.


Optimizations Part III

Whats New?

Throttle API usage more aggressively
Upgrade Ruby
Add SQL View to speed up in_use calculation.
Remove more N+1s

Coverage remained the same at 90.187% when pulling e04bf32f618adce85faf06daff4d9018829bb864 on RickCarlino:optimizations into f9eeaeffa1d21ad55557ec186c993e50f41afae1 on FarmBot:staging.


Unable to see the Quality tab

Hi, I can't see the Quality tab for the table, is there any setting needed in order to see this tab?
Thank you in advance!

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

ID: 1b148517-c2de-5802-51aa-65b34e72c3f2
Version Independent ID: 1b148517-c2de-5802-51aa-65b34e72c3f2
Content: Create a monitor using the Databricks UI - Azure Databricks
Content Source: databricks/lakehouse-monitoring/create-monitor-ui.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@cchenshu
Thanks for your feedback! We will investigate and update as appropriate.

@cchenshu
I've delegated this to @mssaperla, a content author, to review and share their valuable insights.

Thanks for your dedication to our documentation. The scope of our feedback channel covers documentation issues. Since your feedback relates to a support issue, we recommend you visit https://community.databricks.com/. Because this issue doesn't relate to documentation, we are closing this issue.
#please-close


chore(use cases): Update use case integration tests

Use Case integration tests haven't been updated in a long time and don't reflect the current state of the underlying constructs.
Use Case

Proposed Solution

Other

[ ] :wave: I may be able to implement this feature request
[ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

Closed by #671


data type

The column "Age_Bucket" in the dataset shows an "object" datatype but it is an integer datatype.

It's a categorical variable right?

yeah, I checked it. It's a categorical variable


Add a missing parameter to the docstring of SFrame.print_rows

SFrame.print_rows also takes a file handle that enables the user to
redirect output to something other than stdout, like a file or a string
stream. By documenting this parameter this feature becomes easier to
discover.

The failure (lambda workers running out of memory) looks unrelated to your changes. I've restarted the build.


[Figure] Add support for transition when using the lazy option

We should be able to configure custom transitions with classes when the image is loaded.

Fixed in #55 and released in 0.2.11.


docs: 添加lbagent-deploy API描述

这个 PR 实现什么功能/修复什么问题:
docs: 添加lbagent-deploy API描述
docs: lbagent: 增加参数约束描述
docs: ansibleplaybook: 描述对非纳管的目的机器要求

是否需要 backport 到之前的 release 分支:
NONE

Codecov Report

Merging #1921 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1921      +/-   ##
=========================================
+ Coverage    7.51%   7.52%   +0.01%
=========================================
  Files         418     418
  Lines       64760   64760
=========================================
+ Hits         4865    4876      +11
+ Misses      59483   59473      -10
+ Partials      412     411       -1

Flag
Coverage Δ

#aFlag
7.52% <ø> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/util/rbacutils/rbac.go
74.3% <0%> (+3.4%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


Wrong host.json and local.settings.json paths

Thanks for writing this document!
Some of the steps in this documents are:

Copy this pom.xml
Create the files host.json and local.settings.json in src/main/azure.

However, when running mvn package as instructed, the following error is encountered:
Cannot invoke "com.fasterxml.jackson.databind.JsonNode.at(String)" because "hostJson" is null

This is because the copied pom.xml contains the following lines:
<hostJson>${project.basedir}/src/main/resources/host.json</hostJson>
<localSettingsJson>${project.basedir}/src/main/resources/local.settings.json</localSettingsJson>

The paths specified in the tags point to src/main/resources instead of src/main/azure as instructed in the beginning of the documents.

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

ID: 59f2ae26-8728-c449-ba2d-6f870080f07e
Version Independent ID: 9d7345f9-d9be-1056-b293-18c16e524d3e
Content: Spring Cloud Function in Azure
Content Source: articles/java/spring-framework/getting-started-with-spring-cloud-function-in-azure.md
Service: azure-functions
GitHub Login: @KarlErickson
Microsoft Alias: judubois

Fixed in #1217


"Round brackets"

https://docs.raku.org/type/Int

Radix notation also supports round and angle brackets

IMO, "round brackets" better said as "parentheses", but this requires a style guide decision.

Ah. this passed the existing test because angle is the word next to brackets. "round brackets" would already fail the test. And in this context, round compared to angle, this is fine. Closing.


Avatar resize with aspect ratio

When uploading an avatar for a user, with dimensions 400x200, it is currently downscaled to 200x200.
Within models/user.go, in line 171, it calls the resize.Resize function. However, if you call resize.Thumbnail with exactly the same parameters, the image gets downscaled to 200x100 - maintaining aspect ratio.
It should be noted that, if the image is much higher than it is wide, the UI would have to be updated as well.
i.e.: within public/ng/css/gogs.css there are classes such as img.avatar-20, defining:
img.avatar-20 {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

Taking out either the width or the height, would make it keep aspect ratio in the browser as well.

If not showing the 20*20, wouldn't image break the UI design?

The "container" could be 20*20, but the actual image can be centered (horizontally / vertically) within that container. Either with width: 20 or height: 20

Let me do some tests first...

I think it certainly breaks UI when image with large height:

I've marked as won't fix, and will be closed after next release if no further discussion needed.
Thanks your feedback again!

Close for now, feel free to reopen if you want to continue discussing. :wink:


Fix wrong interface name

Closes #45

I'm so confused, because.. you're not wrong, but why aren't the tests failing?

 EventEmitter is tested, but Emitter doesn't have tests :(


Add support for Quote app

FinViz also has quote pages for its tickers (quote.ashx). Given a list of tickers, create a function that completes a download and scrape using goroutines for concurrency and efficiency. Add a CLI subcommand for this as well.
$ finviz quote aapl,goog,amzn,tsla

#65 Closes this


[Refactoring] AQPSPN (aqp_spn.py) - multiple inheritance

modify its multi-inheritance (CombineSPN, RSPN --> AQPSPN) to composition

start https://github.com/kihyuk-nam/traindb-model/commit/3cd1b55bf63a885f0721e73c6f91452f2f89da67
omit self arg for instance methods https://github.com/kihyuk-nam/traindb-model/commit/c64aeb1226153bbedb0c40bc8c60c60c9f8ef201
typos https://github.com/kihyuk-nam/traindb-model/commit/1057d6494bc5cbecd5098bf3c8620a6b24a706a6, https://github.com/kihyuk-nam/traindb-model/commit/89a8a68ebe16aec4aa03c22bd2f5ce1b9075c4b7
structural problem - dependency

AQPSPN <--> read_ensemble()/spn_ensemble.py https://github.com/kihyuk-nam/traindb-model/commit/f4788a565e22bbee76bce7a21844c4b50708d829

just passed the test scripts (~/tests/test_rspn_{train | infer}.sh)


build: pin toolchain

Closes #660

Are we planning on dealing with the cron job soon ? I worry we'll just leave this version hanging forever if not

It's a fair concern :) Let's track it under #666 (ominous...) and prioritize accordingly

I had missed 666 😄


Maven: "Fatal error compiling: invalid flag: --release -> [Help 1]"

Environment Details

Helidon Version: 2.0.0-M2
Helidon SE
JDK version: 11
OS: macOS Catalina 10.15.4
Docker version (if applicable):

Problem Description
Using the provided mvn command in the Helidon SE 2.0.0-M2 quickstart page, attempting to compile or package results in the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project helidon-quickstart-se: Fatal error compiling: invalid flag: --release -> [Help 1]
This error does not occur with the Helidon version 1.4.4 quickstart example.
With both quickstart versions, the generated pom.xml file generated by the archetype was unedited.
Steps to reproduce

Generate the Helidon SE 1.4.4 quickstart example and try to compile - it should do so as expected
Generate the Helidon SE 2.0.0-M2 quickstart example and try to compile - it should produce the error as I described above

@mpredli01 Could you clarify the exact command that you're running? Just mvn package for example? Maybe a log of your terminal would be helpful. Also the version of Maven.
I have tried this and was not able to reproduce.

Hi Santiago:
Here's the process in detail:
[a] Generate the Helidon 1.4.4 quickstart example:
$ mvn archetype:generate -DinteractiveMode=false \     -DarchetypeGroupId=io.helidon.archetypes \     -DarchetypeArtifactId=helidon-quickstart-se \     -DarchetypeVersion=1.4.4 \     -DgroupId=io.helidon.examples \     -DartifactId=helidon-quickstart-se \     -Dpackage=io.helidon.examples.quickstart.se
[b] change directory to helidon-quickstart-se
[c] execute mvn clean package on the command-line
[d] execute java -jar target/helidon-quickstart-se.jar
The application starts as expected.
[e] Generate the Helidon 2.0.0-M2 quickstart example:
mvn archetype:generate -DinteractiveMode=false \     -DarchetypeGroupId=io.helidon.archetypes \     -DarchetypeArtifactId=helidon-quickstart-se \     -DarchetypeVersion=2.0.0-M1 \     -DgroupId=io.helidon.examples \     -DartifactId=helidon-quickstart-se \     -Dpackage=io.helidon.examples.quickstart.se
[f] change directory to helidon-quickstart-se
[g] execute mvn clean package
[h] ERROR: Here is the entire output:
[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Detecting the operating system and CPU architecture [INFO] ------------------------------------------------------------------------ [INFO] os.detected.name: osx [INFO] os.detected.arch: x86_64 [INFO] os.detected.version: 10.15 [INFO] os.detected.version.major: 10 [INFO] os.detected.version.minor: 15 [INFO] os.detected.classifier: osx-x86_64 [INFO] [INFO] -------------< io.helidon.examples:helidon-quickstart-se >-------------- [INFO] Building helidon-quickstart-se 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helidon-quickstart-se --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ helidon-quickstart-se --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ helidon-quickstart-se --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /usr/local/apps/helidon-apps/helidon-quickstart-se/target/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time:  1.662 s [INFO] Finished at: 2020-04-20T13:40:27-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project helidon-quickstart-se: Fatal error compiling: invalid flag: --release -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I have Maven 3.63. installed on my laptop and running JDK 11.  For both versions, there are warnings that look exactly the same.  Please see the attached file for output on both versions.

helidon-warnings.txt
Here is the attachment I mentioned...

helidon-warnings.txt
Here is the attachment I mentioned...

That's very odd. Do you have any setting for archetype repositories in $HOME/.m2/settings.xml? Seems like the URL maven is trying to use should be HTTPS instead.

Just to triple check, can you share the output of mvn --version ? thanks.

Hi Romain:
Here is the output of mvn --version:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /Users/mpredli01/.sdkman/candidates/maven/current Java version: 1.8.0_202, vendor: Amazon.com Inc., runtime: /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"

Hi Santiago:
I have a archetype-catalog.xml file in that directory that contains the following related to databases:
<?xml version="1.0" encoding="UTF-8"?> <archetype-catalog xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd"     xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   <archetypes>     <archetype>       <groupId>com.speedment.archetypes</groupId>       <artifactId>speedment-archetype-mysql</artifactId>       <version>3.0.1</version>       <description>A collection of Maven Archetypes to make Speedment project creation         easier. There should be one archetype for every supported DBMS.</description>     </archetype>     <archetype>       <groupId>com.speedment.archetypes</groupId>       <artifactId>speedment-archetype-postgresql</artifactId>       <version>3.0.1</version>       <description>A collection of Maven Archetypes to make Speedment project creation         easier. There should be one archetype for every supported DBMS.</description>     </archetype>     <archetype>       <groupId>com.speedment.archetypes</groupId>       <artifactId>speedment-archetype-mariadb</artifactId>       <version>3.0.1</version>       <description>A collection of Maven Archetypes to make Speedment project creation         easier. There should be one archetype for every supported DBMS.</description>     </archetype>   </archetypes> </archetype-catalog>

Looks like you are using JDK8. Helidon 2.0 requires JDK11.

@romain-grecourt:  I may have tried it with JDK 11, but I will change over to it and try again.

@romain-grecourt and @spericas:
Well, I feel like a complete dope.  Changing to JDK 11 fixed everything, but I could have sworn that I was using it knowing that Helidon 2.0 will require JDK11+.
I apologize for having wasted everyone's time on this.  I suppose having too many versions of the JDK can sometimes be a curse!
Thanks for your help!
Mike.

np, glad you got it to work.

Hello,
I am trying to build helidon-quickstart-mp and it run into error -
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project helidon-quickstart-mp: Fatal error compiling: invalid flag: --release -> [Help 1]
Maven version:3.6.3
JDK Version : 1.8.0_271
What could be wrong here ?
It compiles perfectly from IntelliJ.
here is pom.xml

4.0.0

io.helidon.applications
helidon-mp
2.0.1

io.helidon.examples
helidon-quickstart-mp
${project.artifactId}
<properties>
    <mainClass>io.helidon.examples.quickstart.mp.Main</mainClass>
    <maven.compiler.release>11</maven.compiler.release>
    <maven.version>3.6.3</maven.version>
</properties>

<dependencies>
    <dependency>
        <groupId>com.oracle.ojdbc</groupId>
        <artifactId>ojdbc10</artifactId>
        <version><IP_ADDRESS></version>
    </dependency>
    <dependency>
        <groupId>io.helidon.microprofile.bundles</groupId>
        <artifactId>helidon-microprofile</artifactId>
    </dependency>
    <dependency>
        <groupId>org.glassfish.jersey.media</groupId>
        <artifactId>jersey-media-json-binding</artifactId>
    </dependency>
    <dependency>
        <groupId>org.jboss</groupId>
        <artifactId>jandex</artifactId>
        <scope>runtime</scope>
        <optional>true</optional>
    </dependency>
    <dependency>
    <groupId>jakarta.activation</groupId>
        <artifactId>jakarta.activation-api</artifactId>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-api</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
                <execution>
                    <id>copy-libs</id>
                </execution>
            </executions>
        </plugin>
        <plugin>
            <groupId>org.jboss.jandex</groupId>
            <artifactId>jandex-maven-plugin</artifactId>
            <executions>
                <execution>
                    <id>make-index</id>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>


[New game]: Pokémon-Style Game

🎮 Game Request
Pokémon-Style Game

Wanted to create a Pokémon-style game
In this Pokémon-inspired game, players will explore a vast world filled with diverse monsters.
We will fight the monsters with various fighting styles.

Point down the features

Exploration plays a crucial role in the game. Players will traverse diverse environments such as forests, mountains, caves, and cities, each containing unique monsters to encounter.
Using the keys on the keyboard we can move the player forward, backward right and left.
There will be a specific area in which our player can move and once player steps on a particular location, the monster gets activated and the battle begins.
There will be a life status bar, showing the current health and health will decrement upon the subsequent attacks.
It will look like as seen in the Pictures below.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Explorer003 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @Explorer003!
We are already having a similar game request in #780 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @Explorer003 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Clean Up Etcd Worker Actor

Description
I don't think this is the root of my issue with the scheduler not learning that a container has been removed, but nevertheless this is a valuable refactor to make sure everything is thread safe in this actor.
There should be no behavior change to the actor at all, should be 100% refactor.
This pr does a couple things:

Move etcd worker to its own file under the etcd folder in commons
Clean up the error handling to remove duplicate code
Make the retry handling more thread safe by first forwarding the retry message and using the actor's internal timers scheduler rather than the system scheduler
Fix non-thread safe access to actor member variable lease from future callbacks through 3.
Add unit tests for EtcdWorker which previously wasn't covered.

Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[X] Scheduler
[X] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[X] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[X] I signed an Apache CLA.
[X] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[X] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #5323 (2268f1a) into master (138f3d9) will decrease coverage by 76.46%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #5323       +/-   ##
==========================================
- Coverage   81.03%   4.56%   -76.47%
==========================================
  Files         239     240        +1
  Lines       14245   14242        -3
  Branches      594     616       +22
==========================================
- Hits        11543     650    -10893
- Misses       2702   13592    +10890

Impacted Files
Coverage Δ

...la/org/apache/openwhisk/core/etcd/EtcdWorker.scala
0.00% <0.00%> (ø)

...openwhisk/core/service/DataManagementService.scala
0.00% <ø> (-44.28%)
:arrow_down:

...he/openwhisk/core/invoker/FPCInvokerReactive.scala
0.00% <ø> (ø)

...rg/apache/openwhisk/core/scheduler/Scheduler.scala
0.00% <ø> (-10.39%)
:arrow_down:

.../main/scala/org/apache/openwhisk/core/WarmUp.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ain/scala/org/apache/openwhisk/spi/SpiLoader.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/scala/org/apache/openwhisk/utils/JsHelpers.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/common/Prometheus.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/common/time/Clock.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/core/FeatureFlags.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 207 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I merging this as-is because my comment is incidental.


Use Gluon-TS for overlapping time series samples

Hello,
From the 'Extended forecasting tutorial' I infer that Gluon-TS can be used only for non-overlapping time-series samples.  This is because the 'test' portion of each data sample is always its last part, and if I have overlapping training samples it means my model will learn from the test data, which isn't good.
Is there any recommended way to handle overlapping data samples with Gluon-TS?
Thanks a lot

Hi @erap129,
thank you for your interest in GluonTS. I'm not sure I understand your issue. Can you provide a minimal example with some toy data?

Hello @erap129,
yes, it is good practise to split the training and test-datasets into time-distinct parts. This is mainly for the reason of achieving good accuracy metrics. If a model is tested on data it already has some knowledge about, it will usually perform better than on independent data. The simple reason being that often time-series are related (think about a black-out on an electricity dataset).
That's why one wants to split the data on the time-axis to test the model on new, unseen values. There shouldn't really be much of an impact on the actual performance of the model on other new data.
So, in that regard: No, it's not true that you can not use GluonTS on overlapping time-series data.


Add phone numbers (issue 1188)

This is a prototype of adding phone numbers to city pages (#1188). Still needs work with the copy for the various text involved and the look of how the buttons work, but I wanted to get this up there. Looking for feedback so we can get this or some version of it on the site!

@bingbongle @averymcguirt  @minicreative  @serifluous  @shortcircuit3 There seemed to be a lot of support for adding phone numbers on discord - it feels like a crucial way to contact politicians that is missing from the platform. I'd love for you guys to take a look at this so we can try and get some version of it in.
I've used santa barbara as an example here on how to add numbers to a city file. The default copy also probably could use some work. Happy to put more time into this, I just want to make sure it is something that we agree should go forward.
This article really convinced me to pick up the phone.


flask server api for getting storied within specified date range

[x] I am running the latest version
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
There should be an API for getting storied within specified date range
Current Behavior
currently , there is none for date range

@RMCoder198
Is there any requirement for this API in frontend?

@ivantha @root5533  should i start working on it?

@Tushar19varshney Yes, there should be but i will start working after getting confimation from mentors.

@RMCoder198 I am not involving myself in your work but just asking that Is there any endpoint in frontend regarding date specified API?

@Tushar19varshney There is no end point for date range in front-end yet. We can add it if mentors allows it.


JSON body cut off at 4872 characters

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
When sending large JSON bodies they always seem to be cut off at 4872 characters. Version 1.19.0
.bru file to reproduce the bug
test.bru.txt
Screenshots/Live demo link
Sent with Bruno:

Same request sent with Postman:

The JSON in that test.bru.txt is not valid JSON. It has trailing commas on the last array element at lines 1002, 2004 and 2005


Share bookmark component between lists

Issue
https://github.com/premieroctet/digestclub/issues/1

Single BookmarkItem component for both lists
EXTRA : fix bookmark deletion message which didn't display right content

Screenshots
Team List

Digest Edit List

Search on Team List

New Layout
Team

Digest Edit


IPs not set if version never changes

Title: IPs not set if version never changes
Description:
We are using a control-plane based on the go-control-plane project. We are using ADS to serve resources to envoy over gRPC. When the clusters/endpoints do not change from the initial version, Envoy does not correctly associate the IPs it receives from the control-plane with the clusters. Envoy receives the IPs and acknowledges them in the logs, but the IPs do not appear in the /clusters endpoint and attempts to route to these clusters fail with 503. Forcing a new version in the control-plane triggers envoy to correctly associate the IPs it receives with the cluster.
version 5d25f466c3410c0dfa735d7d4358beb76b2da507/1.8.0/Clean/RELEASE
This has been confirmed to also occur with the docker image for v1.9.0 but does not occur with the image for v1.7.0
Repro steps:

Start dummy service
Start control plane
Start Envoy
Try to route to dummy service -> 503
add new service, verify version changed in log
Try to route to dummy service -> 200

logs and output attached (ips redacted)
clusters.txt
clusters_after.txt
envoy-config.txt
envoy_log.txt

@junr03 @mattklein123 apologies, haven't had time to get to this, may be able to in the next week or so

@junr03 @mattklein123 repro here: https://github.com/billybanfield/envoy-5555-repro

hey @junr03 @mattklein123 I believe I've confirmed the existence of some issue here, seems we can remove the stale bot here?

marking help wanted. cc @snowp in case he has time to take a quick look.

Tracked this down to an issue where updating an overprovisioning factor while prevent host updates from being made to a host set - this means that the first update which sets the OP factor does not update the hosts, but the subsequent call does as the OP factor is the same as the initial update.
Will put up a fix today


make publification page

at reame and doxygen

done
https://ricosjp.github.io/monolish/de/d26/publications.html


DBZ-7275 Close connection registerd with bean registry

https://issues.redhat.com/browse/DBZ-7275

/packit test --labels oracle

/packit test --labels oracle

In all Oracle tests there is only failure:
[INFO]
[ERROR] Failures:
[ERROR]   IncrementalSnapshotCaseSensitiveIT>AbstractIncrementalSnapshotTest.insertDeleteWatermarkingStrategy:973->AbstractSnapshotTest.consumeMixedWithIncrementalSnapshot:169->AbstractSnapshotTest.consumeMixedWithIncrementalSnapshot:173->AbstractSnapshotTest.consumeMixedWithIncrementalSnapshot:182->AbstractSnapshotTest.consumeMixedWithIncrementalSnapshot:192->AbstractSnapshotTest.consumeMixedWithIncrementalSnapshot:211 [Too many no data record results, 1000 < 2000]
Expecting:
 <6>
to be less than or equal to:
 <5>
[INFO]
[ERROR] Tests run: 328, Failures: 1, Errors: 0, Skipped: 6

and this one should be fixed by PR #5114

@vjuranek Applied, thanks!


Get Appveyor build to pass on Windows

Study https://ci.appveyor.com/project/audreyr/cookiecutter-pypackage/branch/master and note that one of the tests is failing.
Get the test to pass:

Maybe you need to install make on the Appveyor worker by modifying appveyor.yml?
Maybe there is something else going on?

I'm willing to help, but it's all green over there, can this be closed? @eliasdorneles
If not, a few more details would be helpful for a beginner...

I think we forgot to close this, there was an issue that was fixed by appveyor team.
Closing now, thanks!


[IDSEQ-2426] Trigger hover effect when taxon is added to heatmap

Description
When a user adds a taxon to the heatmap, scroll to and temporarily highlight the newly added row.

Since a user can potentially add multiple taxa, the effect is only triggered for the most recently added taxon when the user closes the Add Taxon dropdown menu.
Tests

Added taxa and verified that once the dropdown menu was closed, the heatmap would automatically scroll to and highlight the newest added taxon.

Look nice, should we highlight the label too?

@tfrcarvalho Good catch, just updated to highlight the label as well!


Fixed HS1SA battery report

Fixed battery report. It was set to 65535 which means "No report." Set to 65534 instead which gives a battery report every 18 h 12 m 14 s.

Thanks!


Error "no info on this car ID" after updating eclipse-mosquitto:2

After having updated eclipse-mosquitto:2, a GET /api/v1/cars/1/status would return:
{
	"error": "no info on this car ID"
}

However, GET /api/v1/cars/1would just work fine (same for /drivesand /charges for example).
After attaching to the teslamate-teslamateapi-1 container, I was able to observe the following. Please note, that in the first output there's this line mqtt connected which is missing in the second.
/opt/app $ ./app
2024/03/16 21:55:42.456857 [info] TeslaMateApi running in release mode.
2024/03/16 21:55:42.470989 [info] initAuthToken - environment variable API_TOKEN is set and good.
2024/03/16 21:55:42.471252 [error] getAllowList error with COMMANDS_ALLOWLIST: allow_list.json not found and will be ignored
2024/03/16 21:55:42.471611 [info] mqtt connecting...
2024/03/16 21:55:42.475950 [info] mqtt connected...
2024/03/16 21:55:42.477078 [error] TeslaMateAPI server closed unexpectedly

/opt/app $ ./app
2024/03/16 21:55:44.756638 [info] TeslaMateApi running in release mode.
2024/03/16 21:55:44.776147 [info] initAuthToken - environment variable API_TOKEN is set and good.
2024/03/16 21:55:44.776318 [error] getAllowList error with COMMANDS_ALLOWLIST: allow_list.json not found and will be ignored
2024/03/16 21:55:44.776472 [info] mqtt connecting...
2024/03/16 21:55:44.780954 [error] TeslaMateAPI server closed unexpectedly

and
/opt/app $ ping mosquitto
PING mosquitto (<IP_ADDRESS>): 56 data bytes
ping: permission denied (are you root?)

My mosquitto configuration has not changed:
  mosquitto:
    image: eclipse-mosquitto:2
    restart: always
    command: mosquitto -c /mosquitto-no-auth.conf
    ports:
      - 1883:1883
    volumes:
      - mosquitto-conf:/mosquitto/config
      - mosquitto-data:/mosquitto/data

I'm quite sure it worked before the mosquitto update but I can't put the finger on if it's now mosquitto, teslamateapi or simply my setup. I'm happy to support with more information if needed.

After waking up my vehicle the error no info on this car ID wouldn't show up any more. However, the data in /statusis incomplete. For example:
			"car_geodata": {
				"geofence": "",
				"latitude": 0,
				"longitude": 0
			},

At the same time, I'm seeing this:
2024-03-16 21:14:20.050 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/xxx/vehicle_data -> 408 (9125.258 ms)
2024-03-16 21:14:20.051 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil}
2024-03-16 21:14:20.052 car_id=1 [error] Error / :unknown

So, the problem is neither with mosquitto, with teslamateapi nor with my setup but with the Tesla API at this point, right?

hi @bscx, it takes some time for the data to arrive in the MQTT broker. TeslaMate talks to Tesla API and they send information to TeslaMate who feeds information into the MQTT, from where TeslaMateApi collects the information from. So there is a delay which also happens when you upgrade your TeslaMate-setup.
I usually upgrade/restart when it's parked, so I don't lose "logged data", but it should not take more than 30-60 seconds usually.


Release Google.Cloud.NetworkSecurity.V1Beta1 version 2.0.0-beta05

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)

Created release for Google.Cloud.NetworkSecurity.V1Beta1-2.0.0-beta05


Group members in docs by classmethods, methods, attributes

What was wrong?
One of the things that annoys me when looking at the API docs is that methods, classmethods and attributes do visually not stand much apart.

By default sphinx orders all members alphabetically and so methods, classmethods and attributes end up mixed and it's really hard to tell them apart.
How was it fixed?
We can combine two things to improve the situation:

We can tell sphinx to order members groupwise

We can add css pseudo elements to inject headlines for each group

To-Do

[ ] Clean up commit history

[ ] Add entry to the release notes PR

Cute Animal Picture

Just noting that the design of the three headlines could be tweaked if someone has ideas. I simply copied the style from the class header.
I think the separation of classmethods, methods and properties is quite a big win and a pretty common thing to find in docs.
Here are some examples:
Tensorflow:

Angular:

Rust:


How to capture response from wso2 Rest API that has successfully passed/received on request/response to Backend Soap API

I am a Newbie and doing a POC to write Wso2 API for SOAP service and generating Rest endpoints. Wso2 Swagger API is working fine and getting response from backend API. Then, I downloaded Java SDK to write client. When I run my client I see that my request has reached Backend server and response has been generated. I also see response in my wso2 logs in Json format.
My problem is, I am not sure how to capture response in client I wrote because wso2 generated API is returning ApiResponse. I have gone through pizza-shack example at and that doesn't seem to be very helpful. Is there any example that I can follow on learn. Or should i be changing code generated by wso2?
Wso2Client I wrote --
public void callWso2API() throws ApiException{
AllCountryApi allCountryApi = new AllCountryApi();
String accessToken = "6f529fca-b574-32c2-8833-a7dbcffcaa1d";
ApiClient apiClient = allCountryApi.getApiClient();
apiClient.addDefaultHeader("Accept", "application/json");
apiClient.addDefaultHeader("Authorization", "Bearer " + accessToken);
apiClient.setLenientOnJson(true);
apiClient.setBasePath("http://<IP_ADDRESS>:8280/countries1/v1.0.0");
allCountryApi.allCountryGet();
System.out.println("End");
}
API Class WSo2 generated --
public class AllCountryApi {
public void allCountryGet() throws ApiException {
allCountryGetWithHttpInfo();
}
public ApiResponse allCountryGetWithHttpInfo() throws ApiException {
com.squareup.okhttp.Call call = allCountryGetValidateBeforeCall(null, null);
return apiClient.execute(call);
}
}

Also, when I try to print response in APIReponse.execute() it is null so, clearly response is not being captured. Am i missing out on some step/configuration here?

Closing this jira since https://github.com/wso2/product-apim/issues/5580 is a duplicate of this. We could continue on this issue in https://github.com/wso2/product-apim/issues/5580


Test Flowzone PR 492

Auto-generated by https://github.com/product-os/flowzone/pull/492
Will be closed automatically once the PR is merged.

Auto-closing pull request


Exit from VirtioNet:pull if link is nil

Consider the following script that forwards packets from one nic to another one. NICs use VirtioNet driver (Snabb Switch running within a guest):
module(..., package.seeall)

local VirtioNet = require("apps.virtio_net.virtio_net").VirtioNet
function run(args)
   local pci1, pci2 = unpack(args)
   local c = config.new()
   config.app(c, "eth0", VirtioNet, {
      pciaddr=pci1,
   })
   config.app(c, "eth1", VirtioNet, {
      pciaddr=pci2,
   })
   config.link(c, "eth0.tx -> eth1.rx")
   engine.configure(c)
   engine.main()

The program breaks due to an error in core/link.lua:
core/link.lua:80: attempt to index local 'r' (a nil value)
stack traceback:
        core/main.lua:126: in function '__index'
        core/link.lua:80: in function 'nreadable'
        core/link.lua:88: in function 'nwritable'

The problem is that although there's only one link configured, the engine executes VirtioNet:pull in eth1, and the output link is nil, so a checking that exits pull in that case should be added.  I noticed the same checking is present in intel_app.lua, and there's a another one for the push case. I couldn't reproduce a similar test for push, so I didn't add it.
In my opinion, a pull in eth1 should never be executed as it's not present on the left side of a link, but maybe I'm missing other reasons while it's being called.

LGTM. @nnikolaev-virtualopensystems any objections?

I'm OK with this.


Endless loop on startup

Information

ratbagd version (ratbagd --version): 0.13 (ee73434)
Distribution: Arch Linux
Kernel version (ex. uname -srmo): Linux 5.6.4-arch1-1 x86_64 GNU/Linux

Describe the bug
Initially I was stuck with ratbagctl list only telling me the following:
Unable to connect to ratbagd: Make sure it is running and your user is in the required groups.

Running ratbagd with --verbose=raw revealed that it is stuck in an endless loop reading memory page 0.
To Reproduce
Start ratbagctl when using "Logitech G9x Call of Duty MW3 Edition" mouse.
Logs
ratbagd-shortened.log
Additional context
Looking at the logs it seems there are problems reading macro data.  At first there are 13 suspicious  *** macro starts at (0xff, 0x00fe) *** messages starting on line 782 followed by suspicious all-0xff byte profile, then on line 1182 another one: `*** macro starts at (0x00, 0x0000) ***.  After this the loop starts, repeating every 768 lines.  First read seems to read "profiles" and 16 zero bytes, all other are just 15 zero bytes.

Can you to run it #913 merged?

Either way this is awful, even with an incorrect .device file, it should definitelly be fixed.

Can you to run it #913 merged?

Merged, and sadly nothing seems to have changed.  Except the first sequence of zero bytes on line 1188 is now the same as in all other reads (the profile part and one  00 disappeared):
ratbag raw: *** macro starts at (0x00, 0x0000) ***
ratbag raw: Reading memory page 0, offset 0
ratbag raw: hidpp10 tx:  10 | 00 | 83 | a2 | 00 00 00
ratbag raw: hidpp write:  10 00 83 a2 00 00 00
ratbag raw: hidpp read:   11 00 83 a2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: hidpp10 rx:  11 | 00 | 83 | a2 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: ->  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: Reading memory page 0, offset 0xe

Can you paste the output with #961?

Can you paste the output with #961?

Here.
ratbagd-d93894e.log

I pushed a potential fix, could you try?

No more endless loop, and ratbagctl list shows the device.  Here is the log just in case:
ratbagd-45e00ac.log

Looks good :)

Looks good :)

Yes, thank you for the quick fix for this issue.
I'm not quite sure the profiles are read correctly, setting things does not seem to be working.  But that's another issue for another day maybe.  Is there any reference documentation about this or is it all reverse-engineered?

Is it #900? If so you need #950.


typescript may not mark async functions correctly so just await everything

no need to check for async

Sorry, it looks like your change actually breaks our tests.
Please look into travis CI log

the scenario test wrapper always creates callback-style asynchronous tests so the assertions needed to wait for the callback

Thanks!


Add [v141_xp toolset for vs2022]

Tool name
v141_xp toolset
Tool license
with Visual Studio
Add or update?

[X] Add
[ ] Update

Desired version
with Visual Studio
Approximate size
No response
Brief description of tool
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\setup.exe" modify --quiet --productId  Microsoft.VisualStudio.Product.Enterprise --channelId VisualStudio.17.Release --add Microsoft.VisualStudio.Component.WinXP
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Platforms where you need the tool

[ ] Azure DevOps
[X] GitHub Actions

Runner images where you need the tool

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[X] Windows Server 2022

Can this tool be installed during the build?
Yes

Tool installation time in runtime
10min
Are you willing to submit a PR?
Yes

Hello @Streamlet . Due maintenance concerns, we wouldn't add this package to image. Please install it in runtime. I am closing this issue, but if you have additional questions feel free to ask.

Why? It takes no extra cost to maintain the image with this package.

Why? It takes no extra cost to maintain the image with this package.

Adding this tool to base image will increase VMs size, build and deploy time.


I really just want one shortcut that allows me to cycle through all open windows in a space, is this possible?

I don't need to focus to other windows via north, south, east, west, I'd rather just focus to whichever windows are open in the current space so using
alt - s : yabai -m window --focus recent
only gets me the last window (doesn't work for 2+ windows) and I have to have selected the other window for it to work and
alt - s : yabai -m window --focus next
only goes to the next one window and ends when it has gone through all the windows

This has always worked quite well for me for switching between all visible windows including floating windows on all visible spaces sorted by their position. Requires jq to be installed.
# cycle forwards
alt - tab : yabai -m query --spaces \
  | jq -re ".[] | select(.visible == 1).index" \
  | xargs -I{} yabai -m query --windows --space {} \
  | jq -sre "add | sort_by(.display, .frame.x, .frame.y, .id) | reverse | nth(index(map(select(.focused == 1))) - 1).id" \
  | xargs -I{} yabai -m window --focus {}

# cycle backwards
shift +  alt - tab : yabai -m query --spaces \
  | jq -re ".[] | select(.visible == 1).index" \
  | xargs -I{} yabai -m query --windows --space {} \
  | jq -sre "add | sort_by(.display, .frame.x, .frame.y, .id) | nth(index(map(select(.focused == 1))) - 1).id" \
  | xargs -I{} yabai -m window --focus {}

I’m sorry, but what is ‘jq’?

It's a a tool for processing JSON on the command line. yabai -m query ... returns JSON-formatted output, and jq makes getting a specific value from it a a breeze.

I shall give it a try when I’m next near my computer, thanks much!

For posterity, this works 100% perfectly!
Thank you @dominiklohmann !

A simpler version
# cycle forwards
lalt - tab : yabai -m window --focus next || yabai -m window --focus first
# cycle backwards
shift + lalt - tab : yabai -m window --focus prev || yabai -m window --focus last

This config does not work with stack layout. Here is my updated one:
alt - tab : yabai -m query --spaces \
  | jq -re '.[] | select(.["is-visible"] == true).index' \
  | xargs -I{} yabai -m query --windows --space {} \
  | jq -sre 'add | sort_by(.display, .frame.x, .frame.y, .id) | reverse | nth(index(map(select(.["has-focus"] == true))) - 1).id' \
  | xargs -I{} yabai -m window --focus {}


⚠ Bofrost.fr has degraded performance

In da99575, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 936 ms

Resolved: Bofrost.fr performance has improved in e3ee9e9 after 6 minutes.


remove unused property startMicMuted

The way enableMic is currently implemented is essentially a wrapper around localAudio and setLocalAudio.
Perhaps the name isn't necessarily reflective of what it's actually doing, but it seemed to me like enableMic and startMicMuted are kind of the same thing. I don't think we'll need to handle mic permissions (as in daily-js canSend permissions) as part of this SDK, if that's something you envisioned for enableMic instead.


Rename all variables to use "_" (underscore) instead of "-" (hyphen/dash)

It's possible to pass the values to the variables using environment variables (Ex: export TF_VAR_secret_key="fillme"). But, we can't export a variable with hyphen/dash.
As a coding best practice, we should avoid using hyphen/dash in variable names. Not sure if there is a way to detect this using some tool and check it when a PR is created.

@BreakingPitt please feel free to create a PR to rename it wherever it shows up 👍

Agree with @dkeightley, please feel free to create a PR @BreakingPitt.

@leodotcloud  @dkeightley I've opened a pull request #132 that addresses this issue.

Problem solved with pr #132


onTap:(){} Option is not working

RoundedExpansionTile(
onTap:(){print('ppp')} <------------ is not printed
solution please

I was able to work out the problem with the widget. The call to widget.onTap is incorrect. I should be widget.onTap?.call();
if (widget.onTap != null) {                 /// Developers who uses this package can add custom functionality when tapped.                 ///                 /// When a developer defines an extra option on tap, this will be executed. If not provided this step will be skipped.                 /// ignore: unnecessary_statements                 widget.onTap?.call();               }


AEROGEAR-2452 Add credentials for Android

Motivation
Add credential storage for Android
JIRA: https://issues.jboss.org/browse/AEROGEAR-2452
Description
Adds credential storage along with storage interfaces for Core and credential storage interfaces for Auth. Also adds Android Unit Test App for testing Android specific code on Auth.
Progress

[x] Interfaces
[x] Implementations
[x] Unit tests

@aidenkeating @wojta I think in this PR the auth module is using a different template to the core module. Can we have a look at this one and see if we are using the right type of templates. Especially I think the Auth. platform.Shared project is not required.

@wojta @wei-lee Have either of you seen an issue similar to this in Core? I can't seem to reproduce it locally, only in Appveyor.
Errors in C:\projects\aerogear-xamarin-sdk\Auth\Auth.Platform.NuGet\Auth.Platform.NuGet.nuproj
NU1201: Project Auth is not compatible with net45 (.NETFramework,Version=v4.5). Project Auth supports: netstandard2.0 (.NETStandard,Version=v2.0)
NU1201: Project AeroGear.Mobile.Core is not compatible with net45 (.NETFramework,Version=v4.5). Project AeroGear.Mobile.Core supports: netstandard2.0 (.NETStandard,Version=v2.0)
...

@wei-lee @wojta Mind taking a look?

@wei-lee Updated formatting, good to merge?

@aidenkeating :shipit:


Adding ticket and lead events so there is a total track of what happened

Ticket events done, just lead events left


How to download colmap depth from Realestate 10K?

Hi! I found you trained zeronvs_diffusion model on RealEstate10k with colmap depth, could you tell me how you get the RealEstate 10k dataset with colmap depth?

Hi! Do you get the colmap depth of RealEstate 10K by yourself? Or did you download the colmap depth from somewhere else?


TypeError: Cannot read properties of null (reading 'getContext')

Hello, I think I'm facing the same problem mentioned here: https://github.com/tradingview/lightweight-charts/issues/638
Lightweight Charts Version: 3.8.0
I'm trying to build a trading bot using React.js with Vite.js.
My app works fine but every time I save (it doesn't matter what change I make) I get this exception:
Uncaught TypeError: Cannot read lightweight-charts.esm.production.js:7 properties of null (reading 'getContext')
    at Mn (lightweight-charts.esm.production.js:7:94572)
    at t.R_ (lightweight-charts.esm.production.js:7:126695)
    at t.R_ (lightweight-charts.esm.production.js:7:131833)
    at t.Aw (lightweight-charts.esm.production.js:7:134449)
    at lightweight-charts.esm.production.js:7:135004

My code (I'm getting historical data  from my backend as well as live candlestick data using WebSockets):
const socket = io('http://localhost:3000');

export const Chart = () => {
  const [rsiValue, setRsiValue] = useState(0);
  const chartContainer = useRef();

  useEffect(() => {
    const chart = createChart(chartContainer.current, {
      width: 600,
      height: 400,
      priceScale: {
        scaleMargins: {
          top: 0.2,
          bottom: 0.3,
        }
      },
      layout: {
        background: { color: '#222' },
        textColor: '#DDD',
      },
      grid: {
        vertLines: { color: 'rgba(68, 68, 68, .4)' },
        horzLines: { color: 'rgba(68, 68, 68, .4)' },
      },
      crosshair: {
        mode: CrosshairMode.Normal
      },
    });

    chart.priceScale().applyOptions({ borderColor: '#444' });
    chart.timeScale().applyOptions({ borderColor: '#444', timeVisible: true });

    const candlesticksSeries = chart.addCandlestickSeries({
      priceFormat: {
        type: 'price',
        minMove: 0.0001,
        precision: 4,
      },
      autoScale: false
    });

    const volumeSeries = chart.addHistogramSeries({
      color: 'rgba(168, 168, 168, .5)',
      lineWidth: 2,
      priceFormat: {
        type: 'volume',
      },
      overlay: true,
      scaleMargins: {
        top: 0.95,
        bottom: 0,
      },
    });

    fetch('http://localhost:3000/candlesticks')
      .then(res => res.json())
      .then(data => {
        candlesticksSeries.setData(data.results.map(candlestick => ({
          time: candlestick.openTime / 1000,
          open: candlestick.open,
          high: candlestick.high,
          low: candlestick.low,
          close: candlestick.close
        })));

        volumeSeries.setData(data.results.map(candlestick => ({
          time: candlestick.openTime / 1000,
          value: candlestick.volume
        })))
      });

    chart.timeScale().fitContent();

    const liveCandlestickData = candlestick => {
      candlesticksSeries.update({
        time: candlestick.startTime / 1000,
        open: candlestick.open,
        high: candlestick.high,
        low: candlestick.low,
        close: candlestick.close
      });

      volumeSeries.update({
        time: candlestick.startTime / 1000,
        value: candlestick.volume
      })
    }

    const handleRsi = rsiData => {
      setRsiValue(rsiData);
    }

    socket.on('candlestick-live-data', candlestick => liveCandlestickData(candlestick));
    socket.on('rsi-live-data', rsiData => handleRsi(rsiData));

    return () => {
      chart.remove();
      socket.off('candlestick-live-data', candlestick => liveCandlestickData(candlestick));
      socket.off('rsi-live-data', rsiData => handleRsi(rsiData));
    }
  }, []);

  return (
    <>

        MATICUSDTPERP - 5m - BINANCE

          RSI: {rsiValue.toFixed(2)}

        <ClockUTC />

    </>
  )

I think I might be using wrong the remove() method inside the return of the useEffect but I can't find a way to fix it yet.
Screenshots:

Please, let me know if you need more info, this is my first time opening an issue on github. Thank you in advance.

Hi Valentín
It is correct to use chart.remove() when you want to clean up and prevent memory leaks.
We have a React example on our documentation page which might assist:
https://tradingview.github.io/lightweight-charts/tutorials/react/simple
and a more advanced example which has updating data:
https://tradingview.github.io/lightweight-charts/tutorials/react/advanced
Let me know if this helps you find your issue, if not then please provide another update on this GitHub issue and we will try assist you further.

Hi Valentín
It is correct to use chart.remove() when you want to clean up and prevent memory leaks.
We have a React example on our documentation page which might assist: https://tradingview.github.io/lightweight-charts/tutorials/react/simple
and a more advanced example which has updating data: https://tradingview.github.io/lightweight-charts/tutorials/react/advanced
Let me know if this helps you find your issue, if not then please provide another update on this GitHub issue and we will try assist you further.

Thank you very much for your reply, the advanced example helped me a lot with my problem!


[plot3d] Rework picking interaction

As it is now with PositionInfoWidget picking is done on double click.
Some alternative ways to handle picking interaction: a dedicated mode with a button, perform picking in whole scene/only in selected item(s)...

Yep, an interaction mode is desirable.


mmseqs local runs too slower than mmseqs colabfold api with max 256GB RAM, more 2 hours on local MSA

I had carefully read this similar issue below. I think my problem may be different and with more details.
https://github.com/soedinglab/MMseqs2/issues/658
Expected Behavior
mmseqs local runs with similar response time as that in mmseqs colabfold api.
Is there a solution for ColabFold multimer prediction msa search with a good speed(not fastest, but faster) with 256GB memeory?
Current Behavior
for 1 sequence pair(164 mers and 6 mers) input, local mmseqs msa server use more than 4 hours to process, even much slower than Alphafold orig MSA local running at the same local hardware environment.
I did not use vmtouch to keep the precomputed database index file within system memory, because I only have max 256GB RAM.
Is this very low speed caused by I didn't keep all database into memory?

HAGPIA

Steps to Reproduce (for bugs)
I follow the instructions in https://github.com/sokrypton/ColabFold/tree/main/MsaServer
The only difference in my process with that in the ColabFold instructions: I did not use vmtouch to keep the precomputed database index file within system memory, because I only have max 256GB RAM.

run setup_databases.sh successfuly to download all the colab database.
the file read file are all ready. 'UNIREF30_READY',     'COLABDB_READY',    'PDB_READY',    'PDB70_READY',    'PDB_MMCIF_READY'.
the created idx files: colabfold_envdb_202108_db.idx.0 colabfold_envdb_202108_db.idx.1 colabfold_envdb_202108_db.idx.2 colabfold_envdb_202108_db.idx.3 colabfold_envdb_202108_db.idx.4 colabfold_envdb_202108_db.idx.5 colabfold_envdb_202108_db.idx.6 colabfold_envdb_202108_db.idx.7 pdb70_220313.idx uniref30_2202_db.idx
There is no uniref30_2202_db.idx.[0, 1], but only uniref30_2202_db.idx. Is this normal?
run MsaServer/setup-and-start-local.sh to compile mmseqs locally.
now, mmseqs server  successfully runs. at http://<IP_ADDRESS>:8888.
test codes below, the mmseqs msa are too slow, more than 4 hours for only 1 sequence pair, the 2 "use_pairing true/false"mode both run, each need 2 hours.

host_url = 'http://<IP_ADDRESS>:8888'
query = '>101\nVNPTVFFDIAVDGEPLGRVSFELFADKVPKTAENFRALSTGEKGFGYKGSCFHRIIPGFMCQGGDFTRHNGTGGKSIYGEKFEDENFILKHTGPGILSMANAGPNTNGSQFFICTAKTEWLDGKHVVFGKVKEGMNIVEAMERFGSRNGKTSKKITIADCGQLE\n>102\nHAGPIA\n'
mode = 'env'
submission_endpoint = 'ticket/msa'
res = requests.post(f'{host_url}/{submission_endpoint}', data={'q':query,'mode': mode}, timeout=6.02)
out = res.json()
print(out)
mode = ''
submission_endpoint = 'ticket/pair'
res = requests.post(f'{host_url}/{submission_endpoint}', data={'q':query,'mode': mode}, timeout=6.02)
out = res.json()
print(out)

MMseqs Output (for bugs)
Please make sure to also post the complete output of MMseqs. You can use gist.github.com for large output.
Your Environment
ColabFold 1.5.2
ubuntu 20.04
256GB RAM, that's why I cannot use vmtouch which need 768GB memory according to the readme.
32 cores cpu

The MSA server will only be fast if you have sufficient RAM. Otherwise it will be super slow as you have experienced. There is no way around that without more RAM.
For local use, please use thecolabfold_search script. However, that also won't be fast for single sequences. It needs to amortize its overhead over many queries to be fast.

@milot-mirdita thanks for your reply
https://github.com/sokrypton/ColabFold/blob/main/colabfold_search.sh
in the "colabfold_search.sh" file , there are reminds at first "Do not use this script. Use the python colabfold_search instead".
why not advice us to this "colabfold_search.sh" scripts? what is "python colabfold_search"?
Maybe the current "colabfold_search.sh" is need to update, at least it does not work with the script in readme.
colabfold_search input_sequences.fasta /path/to/db_folder msas
For single sequences, the sufficient RAM means: 768GB-1024GB RAM to stay resident in RAM and have enough RAM spare for worker processes, yes?

Because we don't develop the .sh script anymore and it's not up-to-date. The development is happening in the python version now.
If you want to use the server - with fast response times, like our has - you need a server with ~1TB permanently committed RAM. Anything less will not work.
colabfold_search does not have this issue, however, it has slightly different performance pitfalls to look out for.  Single query searches will remain slow, with colabfold_search. Our proposed workflow is to gather a few hundred to thousands of queries. Do the MSA generation stage with colabfold_search and then batch predict them with colabfold_batch.

thanks very much for @milot-mirdita . Could you explain more on my questions, thanks in advance!!!

the python version "colabfold_search" is the file "colabfold/mmseqs/search.py", yes?

colabfold_search.sh is mostly for Batch searches. The difference of between Batch searches and single query searches.
Batch searches: input a few hundred to thousands of sequences as one input set, and get the only 1 msa sequences set.
single query searches: input 1 sequence or 2 sequences as a pair as one input set, and get the only 1 msa sequences set.
If we run multiple "single query searches" in parallel or in batch, this is not batch searches, yes?

when I run mmseqs msa server locally, it succees for ticket/msa, but failed for "ticket/pair".
could you check the mmseqs log file and give me instructions?
log-mmseqs-msa-server.log

Input taxonomy database "/mnt/sdc/colabfold_db/uniref30_2202_db.idx" is missing files:

/mnt/sdc/colabfold_db/uniref30_2202_db.idx_mapping
/mnt/sdc/colabfold_db/uniref30_2202_db.idx_nodes.dmp
/mnt/sdc/colabfold_db/uniref30_2202_db.idx_names.dmp
...
2023/04/04 12:29:49 Execution Error: open /home/qcdong/codes/ColabFold/MsaServer/jobs/3m6olJuvf_TV0UTKJxnGu3V3YnMxyHkkj915xg/pair.a3m: no such file or directory

the created idx files: colabfold_envdb_202108_db.idx.0 colabfold_envdb_202108_db.idx.1 colabfold_envdb_202108_db.idx.2 colabfold_envdb_202108_db.idx.3 colabfold_envdb_202108_db.idx.4 colabfold_envdb_202108_db.idx.5 colabfold_envdb_202108_db.idx.6 colabfold_envdb_202108_db.idx.7 pdb70_220313.idx uniref30_2202_db.idx

You need to create symlinks in the databases folder:
ln -s uniref30_2202_db_mapping uniref30_2202_db.idx_mapping
ln -s uniref30_2202_db_taxonomy uniref30_2202_db.idx_taxonomy

That is missing in the setup script. My fault.


Investigate on the scrolling and zooming behavior

Task
Investigate on the scrolling and zooming behavior.

Look in to how similar products (draw.io, alteryx, rapidminer) handle zoom and scroll. (Also check the canvas space limit)
Modify the current behavior of mouse scrolling.

Check the code at component/workflow-editor/workflow-editor.component.ts
Check JointJS documentation

Try to add the size limit to the paper.

Investigate similar products

Product Name
Picture
whether handle zoom while scrolling (mousewheel event)
whether the paper/canvas size is fixed / has limit
what happen when scrolling (mousewheel event)
what happen when click+mousemove (mousemove event)
how to select multiple operators

draw.io

No
Yes
move the canvas
select multiple operators
click+mousemove / shift+click

Alteryx

No
Yes
move the canvas (only up and down, the horizontal move must be done by clicking the scrolling bar)
select multiple operators
click+mousemove / shift+click

RapidMiner

No
Yes
nothing (the canvas is fixed)
select multiple operators
click+mousemove / shift+click

Texera (before any changes)

Yes
No
zoom
move the canvas
shift+click

*After the comparison, Texera is different from other three products in some ways. It cannot select multiple operators using click+mousemove, so it may be a little troublesome if user wants to select many operators simultaneously.
Modify the current behavior of mouse scrolling
In the workspace/component/workflow-editor/workflow-editor.component.ts, there is a function called handlePaperMouseZoom(), which handles zoom events when user slides the mouse wheel. So I just comment out line 132 in function ngAfterViewInit.
ngAfterViewInit() {
...
// this.handlePaperMouseZoom();
...
}

But after commenting out the function handlePaperMouseZoom(), when scrolling the mouse wheel, the canvas is fixed, nothing would be down. The canvas would not move as scrolling.

Look into similar products

Product Name
Picture
whether handle zoom while scrolling
whether the paper/canvas size is fixed

draw.io

No
Yes

alteryx

rapidminer

Task
Modify the scrolling and zooming behavior.

Enable the zooming while scrolling and pressing the command key.
Move the canvas while scrolling.

Update

Add one more condition to the original function which controls zooming functionaility, this.handlePaperMouseZoom(), so the paper would only move while scrolling and pressing metaKey (command key on Macintosh keyboards, Windows key on Windows keyboards) or ctrlKey.

Can move the canvas while scrolling, but there are some bugs.
Problem: In the current method that handles user mouse drag events to pan JointJS paper, it calculates the pan offset between user click on the mouse and then release the mouse (based on the coordinate of PointerDown (mouse down) and the coordinate of mousemove event). However, for the WheelEvent (Events that occur due to the user moving a mouse wheel or similar input device), it cannot use the coordinate because the mouse actually doesn't move.

Task

Fix the bug of scrolling behavior.
Set the canvas limit based on the bounding operators. (emulate g6-editor)

Update

Already fixed the bug of scrolling. Now while users are scrolling, the canvas would move smoothly.
Mainly use this.getJointPaper().translate() to get the current position/translate, and event.deltaX, event.deltaY to get pan offset.

Set the canvas limit based on the bounding operators.

If the operator has already been placed near the bound, and then the window/canvas is shrank, the operator would automatically modify its position.

#835
Finished this issue.


Modified Spanish endings and sentences.

Some of the Spanish endings needed a change from the Usted form (formal) to the informal form (since that is how the article should be written in Spanish).
Modified briefly some sentences to make it more understandable for Spanish readers.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Is this a difference between European Spanish and LATAM Spanish?

Not really. The modifications I made were based on the original article. The author gives advice such as "go alone", but the translation to Spanish was set to "to go alone", which can be confusing

Thanks @thisislola! 👍 🌋


Fix #5408: test_set_registers_57 fails on Maxwell

The test_set_registers_* tests were a little too strict in what they checked - the max_registers option should limit the number of registers used, but does not guarantee that as many registers as the limit are used. When linking for some devices, fewer than the maximum are used.
To remedy this, the tests now check that there are less than or equal to the max registers used. An additional test is added, to ensure that the maximum register count would otherwise have been exceeded.

Also, manually tested this on a GTX 750 Ti, CUDA 10.2, worked fine.

Buildfarm ID: numba_smoketest_cuda_43.

Buildfarm passed.


use multi GPUs to accelerate discontinuous galerkin time domain method

Hi I would like to know whether this software can use multi GPUs i.e. MPI+CUDA to accelerate the discontinuous galerkin time domain method? Thanks

Hi @wangjinchuan001 ,
MPI+CUDA is supported for DG mass, advection, and diffusion operators. You can either use sparse matrices, or matrix-free methods. If you need a very specific operator you might to implement a few things.

Hi @wangjinchuan001 , MPI+CUDA is supported for DG mass, advection, and diffusion operators. You can either use sparse matrices, or matrix-free methods. If you need a very specific operator you might need to implement a few things.

Hello @YohannDudouit  where I can find if the intergrator is supported by CUDA, I see the imformation about GPU on the MFEM offical website but did not find the list of  intergrators supported by CUDA.
And by the way, if I want to implement a intergrators supported by CUDA, what are the things I need to pay attention to？


Column name specified more than once

When joining two tables which share multiple column names (though are not necssarily ones to join on), an error is thrown that cannot return results where there is "column named "x" specified more than once". The query will work direct through a console though. For example, two tables A and B, have column names a, b, c, d each. But we only want to join on column a.
SELECT A.*, B.*
FROM A
LEFT JOIN  B
ON A.a = B.a
and the resulting table should prefix any column names which are the same with A.b, B.b, A.c, B.c etc.
This is when querying Athena using wr.athena.read_sql_query()
Note, the error does not occur when using the older version of awswrangler==0.3.2 and the method read_sql_athena()

Thank you for reach out to us @c-line!
Yeah, actually it is a limitation in our new default behaviour to extract data from Athena (ctas_approach=True) where we wrap your query into a CTAS behind the scenes an execute it to be able to fetch the result as Parquet Files. It is far away faster to fetch big result sizes, but unfortunately it is less flexible regarding to the result structure as you are seeing.
But don't worry, you can always execute your query with the regular approach passing ctas_approach=False:
wr.athena.read_sql_query("SELECT ...", database="...", ctas_approach=False)

I will update our documentation and tutorial to make this limitation explicit.
Let me know if it solved your issue.

Enhancement done in commit above. Release expected for version 1.7.0 next week.

@c-line , feel free to test our dev branch before the official release:
pip install git+https://github.com/awslabs/aws-data-wrangler.git@dev

Released in 1.7.0!

In my case, I need to join 2 tables and the join columns has the same name.  ctas_approach is already = False, but I still see the error:
InvalidArgumentValue: Please, define distinct names for your columns. Root error message: SYNTAX_ERROR: line 1:1: Column name 'xpto' specified more than once


mono runtime crashing

When I try to run mono C# console app, mono cashes, info:
Assertion at threadpool-ms-io.c:336, condition `fd >= 0' not met
Stacktrace:
Native stacktrace:
    mono() [0x4a725a]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7ff5ff2c0340]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7ff5fecf6cc9]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7ff5fecfa0d8]
    mono() [0x640289]
    mono() [0x640497]
    mono() [0x6405e6]
    mono() [0x596278]
    mono() [0x58eb44]
    mono() [0x63920c]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7ff5ff2b8182]
    /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7ff5fedba47d]

Debug info from gdb:
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Aborted (core dumped)

Could you please share some more specific repro instructions?  For example the crashing C# console app source and instructions how to build and run it?

@benhillis I just checked again if error occurs. It looks like nothing has changed. I get the same error.
can't give you the source code of my application, the application is sizable. I will try to make a smaller repro if I can find the cause of the error and the code that causes the error.

No activity for several months. Closing for now.


Migrate 2 casks to drivers

https://github.com/caskroom/homebrew-drivers/pull/57
Updated tap_migrations.json
All casks have hardware dependencies.

Thank you for the contribution. It was merged directly as 469c83644262143ea4c1da32a07070a8879a229a. Your contribution is still credited to you.


Use of sessions

There was I, just browsing some code at Github, when I decided to read Utron's wiki. Then I stumbled upon the middlewares' page, and a doubt was spawned in my head: how the heck I would use this?Do I just have to follow the Gorilla tutorial, or make use of some gimmick to achieve that?

Do you have any suggestions on what should be a good way?

That's my problem, I'm ashamed to say that I am totally clueless about it. It just amazes me by how long it took for me to realize this.

@euller88 great to hear you are on http support. No need to rush, one thing at a time. Thanks.

@euller88 Well, that is my approach. I am newbie to utron and golang itself, so it may be totally wrong and maybe I made a fool of myself. The point was to just do something with session wherever I need sessions (i register this middleware in the controllers I am using sessions in).

Well, since utron uses a singleton(cough, cough, baseApp) to handle the whole thing, I think that a general session manager should work, then each controller should create or end one session, and modify it. This is the first idea I had after stopping to think a little

perhaps
http://www.alexedwards.net/blog/making-and-using-middleware


Update json accordingly the latest definition

Bootstrap has done it. We as well. Update the bower.json file to only include one line per file type.
Only the main CSS file is listed then.
Ref: https://github.com/bower/bower.json-spec/pull/43

Thanks @GabrielGil!


Better match info

Closes #227
Add a files column to the database of type JSONB that can store detailed match information, including spans and data as bytes.

todo: modify schema to accept distribution information

untodo: we will just include the distribution in the file name

todo: update schema docs


ClientModel: Add RequestOptions and related types to System.ClientModel

Add the ability for a client to customize the pipeline per invocation of a service method.
This PR adds the types:

RequestOptions
PipelineMessageClassifier
ClientErrorBehaviors

API change check
APIView has identified API level changes in this PR and created following API reviews.
System.ClientModel


Indexer warning

I'm trying to deploy this sample, but I get a warning in the Indexer (for every document):
Output field mapping target metadata: unable to select property while accessing '/document/hocrDocument/metadata'\r\n"
The strange thing is that it worked 2 weeks ago ...
Thanks,
Jan

Hi jantielens,
Thank you for reporting this.  We found a bug that seems to have popped up over the last few weeks and have patched it.  If you pull from master and run the JfkInitializer again, everything should work as expected now without this warning.  Please feel free to reach out if you have any additional issues or questions.
Thanks,
Carey MacDonald

I have the latest version of the code and am getting the same error as the original except that the Metadata is now upper cased for the 'm':
Output field mapping target metadata: unable to select property while accessing '/document/hocrDocument/Metadata'\r\n"
Strangely this only happens for some documents and not for all, and I am using my own data rather than the JFK files sample.


live <= main

Docs Build status updates of commit b0e4b8f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/carlotta-castelluccio.yml
:white_check_mark:Succeeded
View

advocates/christopher-maneu.yml
:white_check_mark:Succeeded
View

advocates/index.html.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/carlotta-castelluccio.jpeg
:white_check_mark:Succeeded
View

advocates/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fixed returned value of cli command in catalog config

this command cli('show startup-config') returns the output as a string  so using [0] will only get the first character.

jenkins: ok to test

@nucklehead : I am just curious why such kind of simple error isn't detected at the very beginning.

@yyscamper not sure. But the task will run successfully but it will show that the startup-config and running-conig in the catalogs to be "\n".


Added Dark Mode and Fixes Buttons BG #107

[Feature request] : Implement Dark Mode #107

@Anandsg Ok now I will get the Logo JPG file without background it will change soon and also work on menu thing.

@Anandsg Done with Logo and Menu Page and some buttons background also fixed.

looks good can you resolve the conflict

Hey now see my main branch is all good.


Input elements are leaking as Detached DOM nodes

In my application I am using some material form fields with input element when I navigate to next route and I observe taking heap snapshot I see left over DOM nodes as detached DOM nodes from the first route. If I do the same navigating back and forth between these two routes the leaked nodes are increasing.
I did the same steps with https://material.angular.io/components/input/overview and the result is the same.

Browser: Google Chrome - Version 92.0.4515.107 (Official Build) (64-bit)

I tried this out against our local development app and the inputs seemed to be cleaned up as expected. Checking this against material.angular.io can be misleading, because we have to create a bunch of input element in memory and keep them around in order to facilitate the "Open in Stackblitz" functionality. See https://github.com/angular/material.angular.io/blob/master/src/app/shared/stack-blitz/stack-blitz-writer.ts#L131.
Also could this be related to https://github.com/angular/angular/issues/41047?

@crisbeto input elements are leaking when you keep focus on it once, if you never focus on it is not leaking as detached DOM nodes.

ok, this sounds like https://github.com/angular/angular/issues/41047. I'll close this issue since we can't do much about it on our end.


Exotic fuels

It would be nice to have more kinds of fuels than just LF+Ox: There's the Xenon engine&tanks in stock kerbal, plus Argon and Liquid Hydrogen on the Near Future mods.

Supporting other fuel types would require a complete rewrite of the search code; something I would like to see done, but am no longer interested in doing myself.