text:
Maven fails to build after ozone ufs upgrade to 1.0.0

Alluxio Version:
2.4.0
Describe the bug
After merging the PR to bump ozone ufs version (https://github.com/Alluxio/alluxio/pull/12226), the following maven command hangs:
mvn -T 4C clean install -Dmaven.javadoc.skip=true -DskipTests -Dlicense.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true -P'\''!ufs-hadoop-1.2,!ufs-hadoop-2.2,!ufs-hadoop-2.6'\''
When I run jstack on the process, the one running thread approximately has the following stacktrace:
"BuilderThread 17" #60 prio=5 os_prio=0 tid=0x00007fcea0106800 nid=0xbaa runnable [0x00007fcdb9c2a000]
   java.lang.Thread.State: RUNNABLE
        at org.jdom2.Element.isAncestor(Element.java:1052)
        at org.jdom2.ContentList.checkPreConditions(ContentList.java:222)
        at org.jdom2.ContentList.add(ContentList.java:244)
        at org.jdom2.Element.addContent(Element.java:950)
        at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.insertAtPreferredLocation(MavenJDOMWriter.java:292)
        at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.iterateExclusion(MavenJDOMWriter.java:488)
        at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.updateDependency(MavenJDOMWriter.java:1335)
        at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.iterateDependency(MavenJDOMWriter.java:386)
        at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.updateModel(MavenJDOMWriter.java:1623)
        at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.write(MavenJDOMWriter.java:2156)
        at org.apache.maven.plugins.shade.pom.PomWriter.write(PomWriter.java:75)
        at org.apache.maven.plugins.shade.mojo.ShadeMojo.rewriteDependencyReducedPomIfWeHaveReduction(ShadeMojo.java:1049)
        at org.apache.maven.plugins.shade.mojo.ShadeMojo.createDependencyReducedPom(ShadeMojo.java:978)
        at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:538)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:200)
        at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:196)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

This seems to be an issue with the maven shading plugin. Looking up         at org.apache.maven.plugins.shade.pom.MavenJDOMWriter.insertAtPreferredLocation(MavenJDOMWriter.java:292), I found that other people have encountered a similar issue:

https://stackoverflow.com/questions/52221326/maven-shade-plugin-failed-to-execute-goal

but it seems like our plugin version is sufficiently up to date

https://github.com/apache/spark/pull/23061

this seems to avoid the issue by removing parallelism, but this would drastically slow down our builds

To Reproduce
See above mvn command
Expected behavior
Maven command completes
Urgency
Offending PR has been reverted to avoid build issues (https://github.com/Alluxio/alluxio/pull/12337)

@Xenorith Thank you for report this issue, it seems is the same issue like this https://issues.apache.org/jira/browse/MSHADE-148.
There are 2 options to work around.

Patch https://github.com/apache/maven-shade-plugin/pull/16/ and use the patched version maven-shade-plugi.
Add <createDependencyReducedPom>false</createDependencyReducedPom> to the alluxio/shaded/client/pom.xml to avoid generated DependencyReducedPom.xml

Thanks for looking into this so quickly @maobaolong
I am not familiar enough with maven to help decide which option is best to work around the issue. I would strongly prefer we avoid Removing parallelism because it would drastically slow down build times. Otherwise, I cannot say much about the other options you proposed.
@apc999 Can you provide some guidance on what is the best way to proceed with this issue?

@Xenorith Sure, we need to support parallelism build, there are one more option
The SPARK project is suffering from this issue too, https://issues.apache.org/jira/browse/SPARK-8819 this is a option to support parallelism build with  let createDependencyReducedPom=false default, but support a release flag to let createDependencyReducedPom=true and non-parallelism build for release build, this is we don't need to create dependency deduced pom file every time, when we need, just with release flag.

@maobaolong @Xenorith  Thanks for getting to the bottom of this problem!
To me removing reduced pom (like https://stackoverflow.com/a/11322920/3161750) is a good way to go as it seems not really used at all (https://stackoverflow.com/a/35155294/3161750)
@calvinjia  any input?

@apc999 The dependency reduced pom is relevant when published so I think @maobaolong ’s proposed solution is the best of both worlds.

I actually think the generated pom in src dir is not relevant to depending modules. There will be a pom in .m2/repository/org/alluxio/alluxio-shaded-ozone/2.4.0 which is identical to the reduced dependency pom. maybe we can test it to have createDependencyReducedPom=fase and see if .m2/repository/org/alluxio/alluxio-shaded-ozone/2.4.0/alluxio-shaded-ozone-2.4.0.pom is identical to initial pom or the generated pom @calvinjia

Sure, my understanding is with false it will have the original pom

@apc999 I have checked that if we set createDependencyReducedPom=false, the .m2/repository/org/alluxio/alluxio-shaded-ozone/2.4.0/alluxio-shaded-ozone-2.4.0.pom will be the same as alluxio/shaded/ozone/pom.xml

This issue has been fixed by  #12367

authors: Xenorith apc999 calvinjia maobaolong

repo: Alluxio/alluxio


text:
alluxio.user.file.replication.min=47 doesnot work

Alluxio Version:
2.3
Describe the bug
alluxio.user.file.replication.min doesnot works.
i have set alluxio.user.file.replication.min=47, but from the ui, i found the file's locations's num is 11

@jiemar how many workers do you have? if you can have no more than n copies with n workers.
in addition, the replication process is running in background and it may take a while to achieve the target.

@jiemar how many workers do you have? if you can have no more than n copies with n workers.
in addition, the replication process is running in background and it may take a while to achieve the target.

i have 47 workers  of a presto cluster.
maybe this block  has already  visited by 11 workers of presto

you can wait a while and run alluxio fsadmin getBlockInfo <blockId> to check number of copies too.
if still not achieving 47 copies, check out the job master logs.

you can wait a while and run alluxio fsadmin getBlockInfo <blockId> to check number of copies too.
if still not achieving 47 copies, check out the job master logs.

i hava 47 presto workers colocated with 47 alluxio workers , but i found "remote alluxio read" is growing high.
Why alluxio client chose to remote read instead of reading from ufs and saving to local cache since i have set alluxio.user.file.replication.min=47

SetReplicaiton is somehow flaky and would improve it during redesign.
Will close it for now, feel free to reopen it and contact us if this is still valid.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Some fonts in the WebUI on Firefox show up black.

Alluxio Version:
2.0.0
Describe the bug
Download the latest version of Firefox on MacOS and open the Alluxio UI and click the "Browse" tab.
All of the filesystem entries are black. Nearly impossible to read. Not very usable.
To Reproduce

Download the latest version of Firefox
Start Alluxio locally alluxio-start.sh local SudoMount
go to http://localhost:19999/browse
Font color is all black

Expected behavior
The font colors should be green for filename and white for permissions like they are in Google Chrome

Urgency
Depends on how many people use firefox.
Additional context
I think it stems from the way the react application loads fonts. Chrome and Firefox handle them differently.

@tieujason330 FYI

This is fixed by #10826


text:
[DOCFIX] Add the outline for Alluxio contribution roadmap

Add the outline for Alluxio contribution roadmap

Codecov Report

Merging #13360 (6381ebe) into master (e18198d) will decrease coverage by 26.47%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #13360       +/-   ##
=============================================
- Coverage     43.92%   17.44%   -26.48%
+ Complexity     8983     2636     -6347
=============================================
  Files          1362     1362
  Lines         78667    78667
  Branches       9548     9548
=============================================
- Hits          34552    13724    -20828
- Misses        41195    63737    +22542
+ Partials       2920     1206     -1714

Impacted Files
Coverage Δ
Complexity Δ

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-18.00%)

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-42.00%)

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...n/src/main/java/alluxio/stress/BaseParameters.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...src/main/java/alluxio/client/UnderStorageType.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...rc/main/java/alluxio/client/file/FileInStream.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...main/java/alluxio/underfs/options/ListOptions.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-9.00%)

...main/java/alluxio/worker/block/io/BlockReader.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

... and 656 more

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 e18198d...6381ebe. Read the comment docs.

source: gharchive/pull-request

authors: LuQQiu codecov-commenter


text:
Print journal system information to help diagnose stop reason

What changes are proposed in this pull request?
When journal stop, print the reason, so user can find out why it stop. Something like journal is not formatted.
Why are the changes needed?
Show the journal stop reason

allxuio-bot, merge this pleasae

allxuio-bot, merge this please

alluxio-bot, merge this please

alluxio-bot, merge this please

authors: elega maobaolong


text:
Refactor UfsUrl and improve its performance

What changes are proposed in this pull request?
As title. It is part of an huge PR. This PR only contains the modification of UfsUrl.
Why are the changes needed?
improve code quality and efficiency.
Does this PR introduce any user facing changes?
no.

Please DO NOT merge it until the UfsUrlTest PR is merged.


text:
[SMALLFIX] Removed explicit type argument in FileSystemWorker

Removed an explicit type argument in the FileSystemWorker class.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9905/
Test PASSed.

LGTM

authors: AmplabJenkins HorizonNet jsimsa


text:
[DOCFIX] update docs/cn/Configuring-Alluxio-with-S3.md

update docs/cn/Configuring-Alluxio-with-S3.md, sync with docs/en/Configuring-Alluxio-with-S3.md

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14384/
Test PASSed.

authors: AmplabJenkins whatbeg


text:
Cannot updated kernel to latest version on AWS instances

We're in the process of considering migrating a couple of thousand servers to AlmaLinux. We can see in the Release Notes that kernel version 5.14.0-284.11.1 is part of the 9.2 release.
During testing on instances provisioned in AWS, on the newly provisioned instances (both Community edition and the official AWS Marketplace version, trying to deploy on both T2 and C6i instances), after running yum update -y, we can see the latest kernel, 5.14.0-284.18.1.el9_2, is being downloaded, however, when we try to update to 5.14.0-284.18.1.el9_2 (yum install kernel -y), the new kernel gets installed, but after reboot the older kernel still persists (newer kernel is not being applied). The only successful attempt was using Community edition (v9.2) on a T2 instance, but our target is to deploy the Alma 9.2 Official AWS Marketplace AMI on C6i instances.
Is this expected? What is the expected behaviour?
In future, if there are security vulnerabilities and kernel patches need to be applied, are we going to have issues with AlmaLinux? With CentOS we typically received new kernel updates every quarter, can we expect the same from AlmaLinux?

we are facing a very similar issue, we are using ami from the community marketplace (AWS) and now we are forced to consider rocky Linux!

Experiencing the same!

I too Facing the same issue.

Hi, thanks for the reporting and confirming the issue. I also came across the same issues 2 days ago and start to find the root of the issue, will update this issue with my findings very soon.

Hi, thanks for the reporting and confirming the issue. I also came across the same issues 2 days ago and started to find the root of the issue, will update this issue with my findings very soon.

Thanks heaps, Elkhan - really appreciate the quick reply, and good to know it's been noticed. If we can help in any way, let me know - happy to test out if necessary. Just so you know, this could be a key blocker for us, as we're making a decision on Monday whether to proceed with Alma if we can't get this resolved by then. It'll be important to understand if this is just a one-off, or if it could be a risk in future. When our security team identifies new kernels are available, we are given a very small window to update within.

Summary:
Due the misconfiguration on /etc/sysconfig/kernel and /boot/grub2/grub.cfg files the system doesn't automatically set the latest kernel as default for the next boot.
Affected Amazon Machine Images:

AlmaLinux OS 9.2.20230513 x86_64

Fixed on:

AlmaLinux OS 9.2.20230804 x86_64 See: #155

Community AMI: https://wiki.almalinux.org/cloud/AWS.html#community-amis
AWS Marketplace: You get the notification email once it's available.
Manual Fix:
Please run the steps below on the EC2 instances which were created from the AlmaLinux OS 9.2.20230513 x86_64 AMI:
Shell:
printf 'GRUB_DEFAULT=saved\n' >> /etc/default/grub
printf 'DEFAULTKERNEL=kernel\nUPDATEDEFAULT=yes\n' > /etc/sysconfig/kernel
grub2-mkconfig -o /boot/grub2/grub.cfg

If you haven't installed the latest kernel
dnf -y upgrade kernel*

If you alreay installed the latest kernel and it's not default
latest_kernel_ver=$(dnf --refresh rq --latest-limit=1 --qf '%{version}-%{release}' kernel)
dnf -y reinstall kernel*-"$latest_kernel_ver"

Ansible (for multiple EC2 Instances):
Attached the playbook file as tar.gz since GitHub doesn't support YAML format.
$INVENTORY: Ansible inventory file in INI or YAML format
$SSH_PRIV_KEY: Private SSH key
$USER: SSH user to connect, default cloud user is ec2-user
ansible-playbook -i inventory.yaml --private-key $SSH_PRIV_KEY_PATH -u $USER default_kernel_bugfix.yaml

How to verify if it's fixed:
List all boot entries:
grubby --info=ALL

Make sure the entry of the latest kernel is default:
grubby --info=DEFAULT

After the reboot make sure that you booted to the latest kernel which default
uname -a

Detailed explanation:
When you do the installation from the ISO, the Anaconda installer configures the bootloader including the /etc/default/grub and /etc/sysconfig/kernel files for you as part of the installation process. When we started to build AlmaLinux OS 9.0 Beta 1 AMIs, due the limitation of AWS VM Import service, importing VM images with GPT partition table wasn't possible. Therefore we decided to build the AMI inside AWS with chroot like approach. Which means an installation without the Anaconda installer and installation and configuration needed to be done manually. This configuration was working fine until the release of RHEL 9.2 / AlmaLinux OS 9.2.
So, trigger of this problem comes from some changes on the upstream. If you upgrade the kernel on the latest RHEL AMI you can observe the latest kernel doesn't take the index number 0 hence it's listed as a second option on GRUB menu (index=1).
We fixed the issue with:

Since default boot option on GRUB2 can be other than first one, do not hard-code the default boot option to the first one (index=0) with adding GRUB_DEFAULT=saved to /etc/default/grub
Set the latest kernel as default not matter its order with adding DEFAULTKERNEL=kernel and UPDATEDEFAULT=yes to /etc/sysconfig/kernel

How we tested it:
On the fixed version AMI we installed test build of next kernel version (5.14.0-284.25.1.el9_2)
dnf config-manager --add-repo https://build.almalinux.org/pulp/content/builds/AlmaLinux-9-x86_64-7117-br/config.repo
dnf -y upgrade

default_kernel_bugfix.tar.gz

authors: LKHN itsravikumars knkinfy sebanism sukanyamanian

repo: AlmaLinux/cloud-images

license: MIT


text:
Ability to actually delete objects

Currently missing the D in CRUD. Can fudge it by marking things deleted, but the hashes still clog up the sync packets. Need a proper way to actually delete things, and synchronize those deletions without sending a deleted item hash back and forth forever.

Done.

repo: Alrecenk/JSTimelineSync


text:
Tilby autorisasjon for dialogporten

Overordnet beskrivelse
Dialogporten i Altinn 3 er en løsning hvor tjenesteeiere kan publisere dialoger i en felles brukerflate slik at sluttbruker og systemer kun trenger forholde seg til en flate mot de offentlige.
Dette vil være en del av løsningen som legger til rette for å flytte meldingstjenester fra Altinn 2 til Altinn 3.
Autorisasjonsløsningen i Altinn 3 skal legge til rette for autorisasjon i Dialogporten der man kan kan styre tilgang til det enkelte dialogelement.
Overordnet beskrivelse av løsning
Det vil sannsynligvis være behov for følgende i Dialogporten:
•	Autorisasjon av elementer/dialoger i Dialogportens API og felles arbeidsflate
•	Autorisasjon av eventer som opprettes og sendes av Dialogporten og tjenesteleverandørs løsninger
•	Autorisasjon av dialoger i den enkelte tjenesteleverandør API
Det er antatt at denne Epicen og så vil løse Klargjøre Autorisasjon Altinn 3 for migrering av meldingstjenester
Forutsettninger

Forutsetter at konseptet virksomhetsbruker er landet og løst
Autorisasjon av eventer løses i egen oppgave

### Identifiserte task
- [ ] https://github.com/Altinn/altinn-resource-registry/issues/286. -> verification
- [ ] Verify the needed level of delegations and resources for a dialog -> verification
- [x] https://github.com/Altinn/altinn-access-management/issues/539 -> 24 Q1
- [x] PDP kan autorisere basert på policy for ressurs
- [x] https://github.com/Altinn/altinn-authorization/issues/676 -> 23 Q4
- [x] https://github.com/Altinn/altinn-access-management/issues/563 -> 24 Q1
- [x] https://github.com/Altinn/altinn-authorization/issues/578 -> 24 Q1
- [ ] #21 -> 25
- [x] https://github.com/Altinn/altinn-access-management/issues/540 -> 24 Q2

Spørsmål

@ekorra lukker denne. Avtalt med dialogporten at det som gjenstår på denne Epicen løses i andre Epics.

authors: annerisbakk sivaglen

repo: Altinn/altinn-access-management


text:
Feature Request: On top option, contact is typing - indicator

Hi!
First of all I must tell that Messenger is one of the best app for facebook chat I've ever tested.
I really miss two options not listed here. First one is a button which allows to put window on top. Second option that I miss in windows client is small icon or text, that other person is typing now to us (in active conversation).

Sorry for my bad English.

I am able to see that people is currently typing though.
and the window on top feature, I just use a small program called Deskpin to pin any windows I want on top.

Issue resolved then

authors: NitsuSaiNeko Sytten adamo000

repo: Aluxian/Facebook-Messenger-Desktop

license: mit

license_source: bigquery


text:
Fix-#795 No Scoll Behaviour on Overflow

Fix- #795
Change- Made Changes in BaseModal Css, hid the scrollbar for good looking UI and Made the Header and Footer Sticky for good UX

Extremely fast, thank you for the fix! 🔥

Extremely fast, thank you for the fix! 🔥

Pleasure is all mine. Loving this!

authors: AmruthPillai chandiwalaaadhar

repo: AmruthPillai/Reactive-Resume


text:
How to switch between markdown and HTTP views ?

Sometimes I want to use HTTP views, but I don't know how to switch between them

@Carlos920  Do you mean switching presentations?

@Carlos920 Do you mean switching presentations?您的意思是切换演示文稿吗？

It is to switch the editor interface between the interface installed with the httpbook plugin and the interface not installed.
My current operation is to disable the httpbook plugin when switching the editor interface

You can also switch the editor interface in vscode. Click on the Tab of the file and use reopen with
https://m.youtube.com/watch?v=pOduvfsUngw

You can also switch the editor interface in vscode. Click on the Tab of the file and use reopen with
https://m.youtube.com/watch?v=pOduvfsUngw

ok, thanks

repo: AnWeber/httpbook


text:
Version 21.1.1

Using new URL from ARM
Patch update

On aarch64:
tar: arm-performance-libraries.tar: Cannot open: No such file or directory

authors: remkade skupr-anaconda

repo: AnacondaRecipes/armpl-feedstock


text:
CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:28: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:34: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:34: missing_description: The recipe is missing a description
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:34: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_7e2krq8qkf/clone/recipe/meta.yaml:34: missing_license_family: The recipe is missing the about/license_family key.
Errors were found

authors: anaconda-pkg-build bkreider

repo: AnacondaRecipes/types-six-feedstock


text:
Evaluate webP for smaller images

Useful for 3D Tiles, imagery providers, and other heavy textures?  How fast is decode?  How will it fit with Khronos CTTF (compressed textures)?

WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index.

https://developers.google.com/speed/webp/

Support for this is released so we can close now. https://github.com/AnalyticalGraphicsInc/cesium/pull/7486

authors: OmarShehata pjcozzi

repo: AnalyticalGraphicsInc/cesium


text:
Turn off premultiply alpha for ImageBitmap

Background
This PR fixes https://github.com/AnalyticalGraphicsInc/cesium/issues/7795 where glTF textures were incorrectly getting set as premultiplied alpha. This happened when we switched to ImageBitmap because just like with flipY, an ImageBitmap ignores the premultiply alpha setting on texture upload. You need to set this on decode, during the Resource.fetch.
The current behavior in master is that the ImageBitmap's premultiplyAlpha is set to default. This is neither on or off. From the spec:

If val is "default", the alpha premultiplication behavior is implementation-specific, and should be chosen according to implementation deems optimal for drawing images onto the canvas.

There is nowhere in the public API where you can control the premultiplyAlpha setting. It seems to only be set here in Texture.js:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Renderer/Texture.js#L184-L186
As far as I can tell, the only time we set preMultiplAlpha to true is for opaque textures, for performance reasons.
What this PR does
Turn off premultiply alpha by default when creating an ImageBitmap.
What could go wrong
It might be that certain imagery renders incorrectly without premultiplied alpha. But I doubt this since it's only set to true right now for opaque textures and there's no way to turn this on from the public API.
A better option would be to leave it as default for opaque images and only turn it off for places we know we want it off (like glTF/3d models) but this will introduce another public API option that only applies if the browser supports ImageBitmap. And at that point I'm starting to rethink if it would have been better to create a separate Resource.fetchImageBitmap and have the caller figure out which one they want to call, as opposed to making Resource.fetchImage make all this work behind the scenes.

Thanks for the pull request @OmarShehata!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks @emackey ! @lilleyse you're most familiar with the history of the ImageBitmap PR and we talked about this offline yesterday, do you mind giving it a quick once over too? I did check that the imagery looks no different in the Imagery Layers & Imagery manipulation sandcastles.

authors: OmarShehata cesium-concierge


text:
Add support for gltf_enumNames

The result looks something like this
primitive.mode
The type of primitives to render. All valid values correspond to WebGL
enums.

Type: integer
Required: No, default: 4
Allowed values: 0 (POINTS), 1 (LINES), 2 (LINE_LOOP), 3 (LINE_STRIP), 4 (TRIANGLES), 5 (TRIANGLE_STRIP), 6 (TRIANGLE_FAN)

Awesome, thanks @MattMcMullan!
Can you please send in a CLA so I can merge this?  See the "Contributions" section at the bottom here: https://github.com/AnalyticalGraphicsInc/wetzel#contributions

Done :)

Got it.  Thanks again, you rock!

authors: MattMcMullan pjcozzi

repo: AnalyticalGraphicsInc/wetzel


text:
Fails to Load on 1.21.2/3

Newest update breaks the shaders. Here is the error dump from client log when you load the pack.
[11:06:12] [Render thread/INFO]: Caught error loading resourcepacks, removing all selected resourcepacks
java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to load required shader programs:

minecraft:core/rendertype_entity_translucent (VertexFormat[Position, Color, UV0, UV1, UV2, Normal]): Could not find shader: minecraft:rendertype_entity_translucent (VERTEX)
minecraft:core/rendertype_armor_cutout_no_cull (VertexFormat[Position, Color, UV0, UV1, UV2, Normal]): Could not find shader: minecraft:rendertype_armor_cutout_no_cull (VERTEX)
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at awb.a(SourceFile:68) ~[1.21.3.jar:?]
at bry.d(SourceFile:164) ~[1.21.3.jar:?]
at bsc.d(SourceFile:23) ~[1.21.3.jar:?]
at bry.B(SourceFile:138) ~[1.21.3.jar:?]
at bry.bA(SourceFile:123) ~[1.21.3.jar:?]
at fmg.c(SourceFile:1307) [1.21.3.jar:?]
at fmg.f(SourceFile:933) [1.21.3.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:265) [1.21.3.jar:?]
Caused by: java.lang.RuntimeException: Failed to load required shader programs:
minecraft:core/rendertype_entity_translucent (VertexFormat[Position, Color, UV0, UV1, UV2, Normal]): Could not find shader: minecraft:rendertype_entity_translucent (VERTEX)
minecraft:core/rendertype_armor_cutout_no_cull (VertexFormat[Position, Color, UV0, UV1, UV2, Normal]): Could not find shader: minecraft:rendertype_armor_cutout_no_cull (VERTEX)
at gmc.a(SourceFile:174) ~[1.21.3.jar:?]
at gmc.a(SourceFile:37) ~[1.21.3.jar:?]
at awa.a(SourceFile:14) ~[1.21.3.jar:?]
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
... 9 more

You probably should no longer use this shader, as vanilla now supports custom armor textures. Fo other uses, update would still be needed

You probably should no longer use this shader, as vanilla now supports custom armor textures. Fo other uses, update would still be needed

I am not aware of any vanilla custom armor textures... Can you link anything? I have not seen anything of the sort, unless you're talking about trims?

https://www.minecraft.net/en-us/article/minecraft-java-edition-1-21-2
Search for minecraft:equipable and Custom Equipment Layers

https://www.minecraft.net/en-us/article/minecraft-java-edition-1-21-2 Search for minecraft:equipable and Custom Equipment Layers

Thank you very much. I will work with this going forward. :)

You probably should no longer use this shader, as vanilla now supports custom armor textures. Fo other uses, update would still be needed

I definitely agree with this advice. If possible avoid shaders, since they carry a lot of baggage. There are however some niche use cases in which fancyPants can still be useful.

authors: Ancientkingg BenguMC Patbox

repo: Ancientkingg/fancyPants


text:
Kompatibilität REDAXO 5.15.0-beta1

Ich erhalte ein:
Call to undefined function imageavif()
Datei: redaxo/src/addons/media_manager/lib/managed_media.php:338

https://github.com/redaxo/redaxo/issues/5605

Hmm, ist das bereits gefixt? Hatte mir gestern das AddOn von hier gezogen und getestet - einwandfreie Funktion ohne Errors in der Konsole. Getestet mit Redaxo 5.15.0.-beta1 und Firefox/Chrome/Edge auf Windows 11 sowie Safari/Firefox/Chrome auf MacOs BigSur...

ja ist gefixt

authors: dpf-dd skerbis


text:
No WOSQI support

Raspberry Pi doesn't support novacom or adb, which WOSQI uses to interact with devices. Possible solution would be to add USB tethering over the Raspberry Pi micro-usb port, then WOSQI could interface over SSH/SCP.

@JayCanuck If I get USB tethering going, would it be feasible to update WOSQI to interface over network with the RPi?

We had someone working on bringing Novacom back, need to chase up on that.

repo: Andolamin/meta-rpi-luneos


text:
Integration is no longer loaded

The integration is no longer loaded. There is a "Failed to set up" message.
However, the hOn application on the smartphone is working.

Home Assistant Version: 2023.11.3
hOn Integration Version: 0.10.1
pyhOn Version: latest

Errors in the log:
`Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 13:27:06 (2 occurrences)
Last logged: 13:27:15
Error setting up entry my_mail@gmail.com for hon
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hon/init.py", line 32, in async_setup_entry
hon = await Hon(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/hon.py", line 66, in create
await self.setup()
File "/usr/local/lib/python3.11/site-packages/pyhon/hon.py", line 97, in setup
appliances = await self.api.load_appliances()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/api.py", line 77, in load_appliances
async with self._hon.get(f"{const.API_URL}/commands/v1/appliance") as resp:
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/base.py", line 64, in get
async with self._intercept(*args, **kwargs) as response:
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/hon.py", line 61, in _intercept
kwargs["headers"] = await self._check_headers(kwargs.get("headers", {}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/handler/hon.py", line 51, in _check_headers
await self.auth.authenticate()
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 260, in authenticate
if not await self._get_token(url):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 232, in _get_token
await self._error_logger(response)
File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 96, in _error_logger
raise exceptions.HonAuthenticationError("Can't login")
pyhon.exceptions.HonAuthenticationError: Can't login
`

Hi, did you change your password recently?

Hi, did you change your password recently?

Hi, no, I have never changed my password.
It all happened suddenly, I noticed that the entities were all unavailable, I tried to reload the integration but it didn't work. I later deleted the integration and redid it, but now I no longer have any entities.

I also had this issue. The application on the phone was working.
But I was able to fix it.

Logout from hon Phone App.
Login on hon phone App, (in my case it asked me to change the password).
Change Password
On Home Assistant, refresh the integration. (If it dose not work then remove and add again)

Not working here either, unfortunately changing passwords didn't help. At first I had 2 factor activated so I deactivated it. Changed passwords, logged out and in again on the hOn app, but still the HA integration says it can't login.

Hi! I received the washer dryer today (model hwd100-b14959u1) but I have the same problem since the first configuration! Do you have any news on the resolution?
Thanks in advance, Domenico.

I solved the problem! The authentication failed, probably because I had registered for the application through Google. By creating a new account directly from the app, the HA authentication problem disappeared.

authors: Andre0512 KameDomotics alucryd dlosito taduo


text:
getting null safety issue

Hi Andreas Lyngholm ,
I am trying to use your mobilepay_flutter sdk. But this version is not in null safety and also not support to android platform. So, can you please upgrade this sdk in null safety or give me a solution to use it.  I attached the error message bellow the screenshot.

Hi @tanviranwarrafi,
I will upgrade to Null safety today.
I'll keep you updated!
Kind Regards,
Andreas

Hi @tanviranwarrafi,
I have just finished updating the code!
It should be available on pub.dev (https://pub.dev/packages/mobilepay_flutter) within the hour! It is being analyzed by the dev team atm.
Please let me know if you have any futher questions!
Kind Regards,
Andreas

Thank you @AndreasLyngholm  for your quick response
Will you please upgrade it for android plastform also?

I’m not sure I understand your request.
Android compile version is set to 32, the latest Flutter android SDK

Please refer to the example folder for questions about implementation.
Please open a new issue if you have any futher questions.

authors: AndreasLyngholm tanviranwarrafi


text:
support one liners with #? braces syntax

1 liners are very useful for REPL, otherwise cmd recall is kind of broken.
braces syntax allow arbitrary nim code to fit in 1 line.
eg:
>>> proc fun(a:int): auto {return a*2}
implementation:
using undocumented(?) ``#? braces` syntax
eg:
foo.nim
#? braces

proc main() {
  echo "Hello"
}

when (isMainModule) {
  main()
}

this mode could be enabled via a meta option, see https://github.com/AndreiRegiani/INim/issues/6,  eg :brace=on or :brace=off

@AndreiRegiani I think this should be closed because syntax skins were removed from Nim (devel), so they'll not be available in the next Nim stable version.

@Yardanico Thanks for the insight!
@timotheecour from your example, currently we can do it:
>>> proc fun(a: int): auto = return a*2
>>> fun(10)
20 : int

Can also do multiple statements using ;
>>> echo 1; echo 2; echo 3
1
2
3

e.g.
>>> proc moreFun(a, b: int): auto = echo 1; echo 2; echo 3; return a * b
>>> moreFun(2, 5)
10 : int

it seems we don't need syntax skins, right?

@AndreiRegiani well, you wouldn't be able to write two procedures on one line, but I don't think someone  will try that.

I think with arrow function from future you can write 2 proc on 1 line.
I didnt know skins gonna be removed.

@juancarlospaco future module was renamed to sugar because it's just sugar. And no, you can't write two procs on one line with it.

This should be closed, the braces skin is dead.

authors: AndreiRegiani Yardanico juancarlospaco timotheecour

repo: AndreiRegiani/INim


text:
Cannot recognize 511

Kept recognizing 511 artifacts as 51 artifacts, so it would only scan 51 of my artifacts. Scan proceeded when I acquired 3 more artifacts. TYSM!

The scanner has trouble with repeat digits next to each other. As you found, managing the number of artifacts in your inventory is a good workaround. We're working on this issue but it's not a priority at the moment.

Duplicate of #48


text:
Pyinstaller and camera4kivy

Hi,
I don't know if posting here is the right way to raise this issue, if not kindly close this concern. I am a beginner kivy developer. I love how fast your camera library is on windows.
It is working properly while running in VScode debug mode, but when compiled with pyinstaller as exe, the Preview Widget cannot find any camera provider. It only shows a gray screen with ERROR message - ERROR: No camera provider found.
my pyinstaller spec is the following:
`# -- mode: python ; coding: utf-8 --
from kivy_deps import sdl2, glew, gstreamer
from kivy.tools.packaging import pyinstaller_hooks as hooks
block_cipher = None
kivy_deps_all = hooks.get_deps_minimal(
window=['sdl2'],
text=['sdl2'],
clipboard=['sdl2'],
image=['sdl2'],
camera=['opencv'],
audio=['sdl2'],
video=None,
spelling=None)
kivy_factory_modules = hooks.get_factory_modules()
hiddenimports = kivy_deps_all['hiddenimports'] + kivy_factory_modules
hiddenimports += [
'camera4kivy',
]
a = Analysis(
['warehouse_app\main.py'],
pathex=[],
binaries=[],
datas=[('warehouse_app/assets/*', '.')],
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes= kivy_deps_all['excludes'] + ['Tkinter', '_tkinter', 'twisted', 'docutils', 'pygments'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
Tree("D:\kivy-warehouse\warehouse_app\"),
a.zipfiles,
a.datas,
*[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],
name='warehouse',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon='warehouse.ico',
)`

I know nothing about configuring pyinstaller, and yes it is off topic here.
However, eyeballing the script above, perhaps the value of camera= should be https://github.com/Android-for-Python/camera4kivy#opencv

Hi Robert,
Thank you for the response, will raise this on kivy or pyinstaller thread. Do you have any recommended compiler for windows exe regarding camera4kivy? Thanks.

P.S. I have reverted back to the slow kivy camera widget for now. The pyinstaller config above works properly with kivy camera. I'll close the ticket after your response. Thank you so much!


text:
Black List / White Lists for navigation paths

Allow the setting of white and black lists on navigation paths so that query and filtering can be controlled at the api level.

Black/White list on:
full property paths
partial property paths
property values


text:
[Low priority suggestion] Wordle dictionaries: italian, swedish, spanish, german ... :D

Hey there Andy,
Wordle is again (!) in the news.
https://heyman.info/2022/feb/17/avoid-the-apple-app-store/
This time with a complaint about iOS and Apple. But anyway, while I was reading the news there,
I wondered whether glimmer_wordle has support for dictionaries (e. g. words in non-english
languages such as italian, swedish and so forth).
I am not suggesting that you provide these files as such, mind you - there are existing dictionaries out
there. For instance, german-to-english can use this file: https://www-user.tu-chemnitz.de/~fri/ding/
(see the screenshot in the middle; don't worry about the german text, it's just a dictionary
and a tk GUI built around it. Good thing is that people can download the translations so
they'd have tons of wordle-possible files.)
So this issue is more like requesting that glimmer_wordle allows loading data from a file
or a hash (and if a hash then perhaps grab a random element from there via some
general load-functionality or something, if that does not exist yet). Anyway, this is a very
low priority issue, so as always feel free to proceed with this issue in any way, shape or
form.
PS: Can glimmer_wordle be styled in a similar way as the two screenshots? E. g. with
user-defineable colours for the highlighted words or something like that. That keyboard
thing on the bottom is quite interesting, perhaps I should try to clone that via ruby-gtk3
one day. :D

But anyway, while I was reading the news there,
I wondered whether glimmer_wordle has support for dictionaries (e. g. words in non-english
languages such as italian, swedish and so forth).
I am not suggesting that you provide these files as such, mind you - there are existing dictionaries out
there. For instance, german-to-english can use this file: https://www-user.tu-chemnitz.de/~fri/ding/
(see the screenshot in the middle; don't worry about the german text, it's just a dictionary
and a tk GUI built around it. Good thing is that people can download the translations so
they'd have tons of wordle-possible files.)

This is a good feature to support in the future.
Currently, Glimmer Wordle only has English words in two files under the config directory:

wordle-allowed-guesses.txt
wordle-answers-alphabetical.txt

I could not utilize dictionaries since the game requires 5-letter words only and translations in other languages are not guaranteed to be 5-letter words.
However, you are welcome to contribute 1 file per language, containing 5-letter words to be guesses for answers (no need to match the English 2-file format since that was just the original Wordle approach, but we can change it for other languages and have one file per language as that's much simpler).
Of course, I realize you probably don't speak all the languages you suggested. In that case, please submit languages that you can contribute, like German. I might be able to contribute French since it is one of my spoken languages.
We'll leave other languages to be contributed by other people. I am willing to support all western European and American-spoken languages only. Other languages have a cultural barrier that I'd rather not cross, and would rather leave to people from those other countries to handle.
Anyways, according to this webpage and that webpage, these are all the common Western and Northern Europe languages (not supporting uncommon ones for now) :

Dutch
English
French
German
Greek
Italian
Portugese
Spanish
Danish
Finnish
Icelandic
Norwegian
Swedish

So this issue is more like requesting that glimmer_wordle allows loading data from a file
or a hash (and if a hash then perhaps grab a random element from there via some
general load-functionality or something, if that does not exist yet). Anyway, this is a very
low priority issue, so as always feel free to proceed with this issue in any way, shape or
form.

This is not worth supporting if we are going to add all the languages mentioned above anyways. Besides, the code is open-source and anyone can fork it and add other language files or that specific file-arg/hash feature if needed.

PS: Can glimmer_wordle be styled in a similar way as the two screenshots? E. g. with
user-defineable colours for the highlighted words or something like that. That keyboard
thing on the bottom is quite interesting, perhaps I should try to clone that via ruby-gtk3
one day. :D

There is already a TODO item to update the colors to better match the original Wordle:

Adjust the dark yellow (to #c9b458), dark green (to #6aaa64), and dark gray (to rgb 120 124 126) colors to match the original Wordle game colors

Otherwise, I do not want to suport color customization. It's just extra code for something unimportant. The game should just focus on the substance, not style! The substance is having good 5-letter word lists for good playability.
Thank you for reporting this issue.
I will likely open separate issues per language (German Support, French Support, Italian Support, etc...) and then close this issue once I am done with that and with updating the color scheme to better match the original Wordle.
Cheers!

That keyboard
thing on the bottom is quite interesting, perhaps I should try to clone that via ruby-gtk3
one day. :D

I forgot to address that part of your comment.
That keyboard thing is not interesting at all. It is how the keyboard looks like on cell phones because cell phone reasons don't have a real keyboard. I already have that keyboard thing on top in my wordle screenshot:

However, it is only there to display the letters that have been revealed as included at the right place (green), included at the wrong place (yellow), or not included (grey).
In fact, given that desktop users can use the real keyboard much faster, I will be rearranging the keyboard letters at the top to be in alphabetical order (instead of keyboard order) as that will better help users to quickly pinpoint if a letter is correct or not.
I already added that to the TODO list.

I updated the color scheme in v1.1.0 to be just like the original Wordle.
Additionally, I created issues for every language that needs support (you are welcome to contribute a 5-letter-word list in German if you like).
Closing this issue as a result.

authors: AndyObtiva rubyFeedback


text:
component template function

I need show different template for authirized/anonimus users.
How can i user template function?
const navbarUserMenuComponent = {
  restrict: 'E',
  bindings: {
    user: '='
  },
  template: [function(tElem, tAttrs){
    //  tElem and tAttrs are undefined
    return 'some template';
  }],
  controller,
  controllerAs: 'vm'
};

Somebody use it?

Sorry. It's my mistake. Correct are
const navbarUserMenuComponent = {
  ...
  template: function($element, $attrs) {
    'ngInject';
    return 'some template';
  },
  ...
};


text:
Could not find source map

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Remap istanbul on branch aot cannot find sourcemap.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
What is the expected behavior?
Shouldn't show message of cannot find source map.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Angular version: 2.0.0-beta.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
node_ENV=test npm run test

angular2-webpack-starter@5.0.5 test /Users/miguelramos/Public/platform
karma start

START:
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
webpack: bundle is now VALID.
19 10 2016 23:27:34.696:INFO [karma]: Karma v1.3.0 server started at http://localhost:9876/
19 10 2016 23:27:34.700:INFO [launcher]: Launching browser Chrome with unlimited concurrency
19 10 2016 23:27:34.826:INFO [launcher]: Starting browser Chrome
19 10 2016 23:27:38.593:INFO [Chrome 53.0.2785 (Mac OS X 10.11.6)]: Connected on socket /#hXpvzwGbOUGvK2_tAAAA with id 13889031

Configurator
✔ # Should have initial opaque token.

Finished in 0.042 secs / 0.007 secs
SUMMARY:
✔ 1 test completed
Error: Could not find source map for: "/Users/miguelramos/Public/platform/src/app/core/configurator.ts"
at /Users/miguelramos/Public/platform/node_modules/remap-istanbul/lib/remap.js:257:11
at Array.forEach (native)
at /Users/miguelramos/Public/platform/node_modules/remap-istanbul/lib/remap.js:214:22
at Array.forEach (native)
at remap (/Users/miguelramos/Public/platform/node_modules/remap-istanbul/lib/remap.js:213:12)
at RemapCoverageReporter.onCoverageComplete (/Users/miguelramos/Public/platform/node_modules/karma-remap-coverage/remap-coverage.js:23:23)
at Server. (/Users/miguelramos/Public/platform/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:106:13)
at Server.emit (events.js:191:7)
at InMemoryReport.writeReport (/Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/in-memory-report.js:14:22)
at writeReport (/Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/reporter.js:68:16)
at /Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/reporter.js:290:11
at Array.forEach (native)
at Collection.forEach (/Users/miguelramos/Public/platform/node_modules/karma/lib/browser_collection.js:93:21)
at /Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/reporter.js:247:16
at Array.forEach (native)
Error: Could not find source map for: "/Users/miguelramos/Public/platform/src/app/environment.ts"
at /Users/miguelramos/Public/platform/node_modules/remap-istanbul/lib/remap.js:257:11
at Array.forEach (native)
at /Users/miguelramos/Public/platform/node_modules/remap-istanbul/lib/remap.js:214:22
at Array.forEach (native)
at remap (/Users/miguelramos/Public/platform/node_modules/remap-istanbul/lib/remap.js:213:12)
at RemapCoverageReporter.onCoverageComplete (/Users/miguelramos/Public/platform/node_modules/karma-remap-coverage/remap-coverage.js:23:23)
at Server. (/Users/miguelramos/Public/platform/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:106:13)
at Server.emit (events.js:191:7)
at InMemoryReport.writeReport (/Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/in-memory-report.js:14:22)
at writeReport (/Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/reporter.js:68:16)
at /Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/reporter.js:290:11
at Array.forEach (native)
at Collection.forEach (/Users/miguelramos/Public/platform/node_modules/karma/lib/browser_collection.js:93:21)
at /Users/miguelramos/Public/platform/node_modules/karma-coverage/lib/reporter.js:247:16
at Array.forEach (native)
=============================== Coverage summary ===============================
Statements   : 59.68% ( 37/62 )
Branches     : 25% ( 5/20 )
Functions    : 53.85% ( 7/13 )
Lines        : 62.07% ( 36/58 )

I just had a similar issue in my own personal starter (which is heavily inspired by this one). For me it was fixed to changing the istanbul-instrumenter-loader back to 0.2.0.

@eXaminator worked for me, but now the Branches coverage is 0% (using this starter)

Changing istanbul-instrumenter-loader back to 0.2.0. didn't work for me :(

This should definitely be fixed as in the current state, coverage-reports are not working properly. Reverting instanbul-instrumenter-loader to 0.2.0 worked for me, too.
Seems like it's related to https://github.com/deepsweet/istanbul-instrumenter-loader/pull/29

@miguelramos @eXaminator @nekkon @ClemensSchneider - For the sake of keeping discussion in the same place, I am going to close this in favor of continuing the discussion in #1188
I'm working on solving this problem, any further insights please comment in the issue above.
@eXaminator - Unfortunately just locking istanbul-instrument-loader to v0.2.0 only works in certain instance & not in #master for this repo.

Setting strict "0.5.0" version for "karma-remap-istanbul" package helps me.

authors: ClemensSchneider d3viant0ne donvadicastro eXaminator miguelramos nekkon thomasmerieux


text:
For the second point, when I see the description, I will put 'searchString', but it passed even if I have not finished typing 'searchString.

For the second point, when I see the description, I will put 'searchString', but it passed even if I have not finished typing 'searchString.
Author: Thomas Chen
Slide: Local,Public

It indeed passes with any param name.

repo: AngularNYC/angular-presentation


text:
Warning treated as error with MSVC 2019

MSVC 2019 detects unreachable code here https://github.com/AngusJohnson/Clipper2/blob/main/CPP/Clipper2Lib/clipper.engine.cpp#L3437, i.e. the return statement after the loop, and generates a warning with the current warning settings. As /WX is set, this is treated as an error and causes the build to fail.

Thanks Chris.
It was only there because I was concerned that some compilers might complain that not all routes returned a value.
Nevertheless it is safe to remove entirely, which I've now done.
It should be gone whenever I next update the repository.


text:
Move recent collections under File menu

This gives more space for more commands on left section

@Crystalwarrior any comment about this or are we good to do it?

Yah idk what else to add, programs like blender gimp etc. Already handle it that way

authors: AnidemDex Crystalwarrior

repo: AnidemDex/Blockflow


text:
GPT Enhancer

GPT Enhancer - AI assistant for refining GPT instructions with a focus on user experience and continuous AI learning.
https://chat.openai.com/g/g-fQ6GAANfi-gpt-enhancer

Merged

repo: Anil-matcha/Awesome-GPT-Store


text:
Fix a number of sensiolabsinsight issues

Fix a number of sensiolabsinsight issues. See https://insight.sensiolabs.com/projects/aeda0c78-7b25-427e-aa90-39b21ab1f8df/analyses/10 for more info.

Merging this myself since it's just minor stuff. The biggest change is that we changed from using getServiceProviders to registerFields to register the locale field, which is more in line with how it's used/saved.

repo: AnimalDesign/bolt-translate


text:
🪲[Bug]: Smaller screens

Describe the bug
A clear and concise description of what the bug is.
The page when for smaller dimensions the side scroller is being his and all other make the spot. I will make sure to align it properly.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Assigning

Please assign it to me.


text:
Hacktoberfest : Add illustrations (TODO)

I am opening this issue for someone looking to contribute, as per Hacktoberfest event.
Open a PR including changes to all the below TODO List of Resources, and make sure to link the issue to the PR so that I get notified that this contribution is done for Hacktoberfest.
Adding the whole list will definitely prove that the contribution is up to the standards of the Hacktoberfest event.

Comment, if you want me to assign this issue to you

Illustration

[ ] Scratches
[ ] Tiny Dribbble Shots Constructor
[ ] Desk Dudes
[ ] The Townies
[ ] Lil Helpers
[ ] The Carltons
[x] Neighbour Larry
[ ] Jane
[ ] Springtale
[ ] Office Dave
[ ] Workaholics
[ ] Isotopia
[ ] Polydrome
[ ] Aventine
[ ] Fundango

Hi :) I would like to work on this issue, please assign it to me. Thanks!

@jpacsai
Please, do not reference the issue in the individual commits.
Since that would be appropriate when the fork is deleted, and it also makes the issue quite a mess.

authors: Anmol-Baranwal jpacsai


text:
🛑 AnnAngela.cn is down

In 8d07b25, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in 058f410.


text:
🛑 AnnAngela.cn is down

In ea597cf, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in ca2f981.


text:
🛑 AnnAngela.cn is down

In d388a5e, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in 717a5d3.


text:
Localize message boxes

Resolves #71.
Finally got round to going through the application and making sure all the message boxes are localized - let me know if I've missed any! Also makes the automatic update check message a lot more relevant now we've moved the location of the update settings.

Not sure how I missed those other ones... I've added them in now.

repo: AnnoDesigner/anno-designer


text:
插件市场加载不出，你们是怎么解决的？

自带的代理功能我填了自建的socks5代理服务器的信息，无法正常代理，后来我用proxychains打开蚁剑就能加载出了，可是最近proxychains无法打开蚁剑了，打开是一片空白，连个操作选项都没有，不用proxychains就正常了，所以我想问问你们是怎么访问插件市场的，反正正常情况没有代理我是怎么都加载不出

执行这两条命令看一下
$ ping api.github.com
$ ping raw.githubusercontent.com

执行这两条命令看一下
$ ping api.github.com
$ ping raw.githubusercontent.com

参考一下： https://mp.weixin.qq.com/s/hF3GgZpIcussc-BjUoJUuQ

好的谢谢

https://cloud.tencent.com/developer/article/1904883
请参考这个连接!!

我也是挂了梯子还是打不开，怎么解决啊？

authors: Medicean Polestar666 hackercreator talentno

repo: AntSwordProject/antSword


text:
Bold.framework linker error

I am getting this error in xcode
fatal error: lipo: input file (./build/emulator/Bolts.framework/Bolts) must be a fat file when the -remove option is specified
Help please!!

is still happening? I think it was a problem of NS and Xcode compatibility @fasilpv

authors: AntonioCuevaUrraco fasilpv


text:
I want to add Java Program to find age

Java Program to finding age -
Please assign me under hacktoberfest.
Thank You

Done!

Done!

Thanks

repo: Anushka-codergirl/Java


text:
Feat: Making a functional page for fruits

Describe the feature

Earlier page of fruits did not look appealing and also , it did not have option to add to cart
I made a page of fruits , matching the theme of the project along with the functionality of add to cart , making it more user friendly

Add ScreenShots
Before:
https://github.com/Anushkabh/krishiconnect/assets/162733812/6ade9c10-96d6-42af-b907-ff6644fad010
After:
https://github.com/Anushkabh/krishiconnect/assets/162733812/9a59bafe-f958-4639-bfe8-a2a8d7ee3b9c
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@himanshu-03 @RitiChandak I feel , this would look nice , I want to work on it , please assign it to me

Great @Maana-Ajmera !
You can start working on this issue.
happy coding ✨

@himanshu-03 doing it

repo: Anushkabh/krishiconnect


text:
Improve empty objects and empty arrays

First thank you for this component, I really like it.
I noticed that empty objects and empty arrays:

can be expanded/collapsed
indicate that there might be more data by ...

Workaround:
They can be already automatically collapsed with a custom shouldExpandNode callback, but still the three dots indicate that there might be more to show.
import { type Props } from "react-json-view-lite";

const allExpandedExceptEmpty: Props["shouldExpandNode"] = (level, value) => {
  if (value && typeof value === "object") {
    if (Array.isArray(value)) {
      return !!value.length;
    }

    const keys = Object.keys(value);
    return !!keys.length;
  }

  return true;
}

Thank you for the bug report and PR! :)
.punctuation-base + .punctuation-base {
  margin-left: -5px;
}

This part might cause some issues with backward compatibility for the projects using custom styles.
But it seems like minor issue, I've tried to remove this part and it looks good enough for the default styles.
So I think notice in release notes will be enough.

Just realised that it also fixes the ]  , part which is clearly a bug, so no need to add anything to the release notes :)

thx @AnyRoad
Yeah, first I was undecided whether to use the CSS + next sibling combinator or add a new class name like .punctuation-empty.
What would you prefer?

thx @AnyRoad
Yeah, first I was undecided whether to use the CSS + next sibling combinator or add a new class name like .punctuation-empty.
What would you prefer?

I think the CSS + next sibling combinator solution is good enough. Thanks!

authors: AndyOGo AnyRoad

repo: AnyRoad/react-json-view-lite


text:
Update medication_reminder_android.yaml

Revert to android event for android blueprint

oups I broke it, thanks for the PR

repo: Aohzan/hass-blueprints


text:
Alaska2024

Updates made to the codebase for generating the 2024 Alaska Reference Conditions

Merging pull request from shreeramsenthi

authors: LeonardoFrid shreeramsenthi

repo: ApexRMS/landfireReferenceConditions


text:
How to minimize the heading error and lateral error?

How to minimize the heading error and lateral error?
I use the procedure of the file ( How to Tune Control Parameters ) , it does not work properly.
you can take a look at the lateral and heading graph.

The lateral error and heading error can be minimized by tuning MPC control (matrix_q) first and third sate respectively.

hello dude
I have a question. What are differences between heading angle and yaw angle. I saw in vehicle_state_provider.cc mentioned, the only difference is the coordinate. Could you explain in details?  Heading direction is not the direction of linear velocity?

repo: ApolloAuto/apollo


text:
Valet Parking doesn't work on different maps

System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04):18.04
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0

I have build a scene in RoadRunner (mathworks) which includes many parking spots, and parking lot, exported them to base_map.bin and generated the routing and sim files, but in Dreamview the parking spots are not showing.

I am trying to understand how Apollo finds parking spots information, and in which files, so I can add a parking spot manually. Can you please guide me, how to add a parking spot manually? should I add it to the base_map.xml or, base_map.txt or default_end_way_point.txt? and where can I find an example file including a parking spot in the map. I have checked of course all the available public Apollo maps with parking, but all of them are provided in .bin format so I can't understand how it works.
Supporting materials (screenshots, command lines, code/script snippets):

I am trying to understand how Apollo finds parking spots information, and in which files, so I can add a parking spot manually. Can you please guide me, how to add a parking spot manually? should I add it to the base_map.xml or, base_map.txt or default_end_way_point.txt?

You can ref to map_parking_space.proto for parking space format. You should check the sim_map.txt, because sim_map.txt is used for dreamview.
In fact, sim_map is generated by base_map, so you add to base_map and then generate sim_map.

and where can I find an example file including a parking spot in the map. I have checked of course all the available public Apollo maps with parking, but all of them are provided in .bin format so I can't understand how it works.

you can ref to "san_mateo" and "sunnyvale_with_two_offices", below is an example you should add "parking_space" and "parking_space_overlap_info"
parking_space {
  id {
    id: "11544"
  }
  polygon {
    point {
      x: 587198.6538108855
      y: 4141416.6057218537
      z: 0
    }
    point {
      x: 587201.24532293412
      y: 4141415.9138005795
      z: 0
    }
    point {
      x: 587200.11132028769
      y: 4141410.9443679708
      z: 0
    }
    point {
      x: 587197.50218934589
      y: 4141411.6283384813
      z: 0
    }
  }
  overlap_id {
    id: "overlap_2659"
  }
  overlap_id {
    id: "overlap_4399"
  }
  heading: 1.345454
}

overlap {
  id {
    id: "overlap_2659"
  }
  object {
    id {
      id: "11564dup1_1_-1"
    }
    lane_overlap_info {
      start_s: 0
      end_s: 0
      is_merge: false
    }
  }
  object {
    id {
      id: "11544"
    }
    parking_space_overlap_info {
    }
  }
}

Thanks for the quick response and the example. I have added a parking spot to the base_map.txt file and generated the sim file. I have also added default_end_way_point to test the parking. Now I can see the spot in Dreamview, but when I choose the point of interest, the ego follows the routing request and doesn't park in the spot. Can you please tell me how to turn on the open space planner to perform the parking?

Pls ref to https://github.com/ApolloAuto/apollo/issues/12165 first. I will check it later

I have checked the link, I've sent a parking request manually, everything is as suggested, but still, the open space planner is not triggered, can you please tell me where exactly in the planning module, the open space planner is triggered? I have checked planning_component.cc , it has only two cases: NaviPlanning and OnLanePlanning.
Also, I have checked all parking/open_space_planner related issues, I couldn't find a single person who succeded to run the parking on any map other than "san_mateo" and "sunnyvale_with_two_offices", which are both not available for the public, would you please consider providing a parking scenario tutorial or a public map XML file that includes it.

maybe you could try out this example:
https://content.lgsvlsimulator.com/maps/autonomoustuff/

I have checked the link, I've sent a parking request manually, everything is as suggested, but still, the open space planner is not triggered, can you please tell me where exactly in the planning module, the open space planner is triggered? I have checked planning_component.cc , it has only two cases: NaviPlanning and OnLanePlanning.
Also, I have checked all parking/open_space_planner related issues, I couldn't find a single person who succeded to run the parking on any map other than "san_mateo" and "sunnyvale_with_two_offices", which are both not available for the public, would you please consider providing a parking scenario tutorial or a public map XML file that includes it.

Hello, I have the same problem. Have you solved it? thank you

@ntutangyun
I have checked all parking spots on this map, it's always performing the LANE_FOLLOW scenario, and never turning on the Valet parking scenario. However, the same way of sending a parking request is working in sunnyvale_with_two_offices, so I think the problem is in the parking definition in base_map.txt, can you please tell me, is it enough to declare parking_space and overlap with the closest lane, for representing the parking space correctly to invoke the open space planner?
or can you please tell me where in the code, it's checking for conditions to invoke the open space planner, so I can compare the conditions in the two maps?

@yufeilongyuan Hello, not yet, as you can see, I'm still struggling with the problem :(

finite state machine
First, enter various scenarios through a finite state machine. I don't think it will be a problem in this function and the main entry is ScenarioManager::ScenarioDispatchNonLearning.
https://github.com/ApolloAuto/apollo/blob/266afbf68d83fa6fac7a812ff8a950223f5ab2c0/modules/planning/scenarios/scenario_manager.cc#L906-L908
condition
Then you can find IsTransferable will return ScenarioConfig::VALET_PARKING, so maybe you should check this deeply.
https://github.com/ApolloAuto/apollo/blob/266afbf68d83fa6fac7a812ff8a950223f5ab2c0/modules/planning/scenarios/scenario_manager.cc#L725-L730
Hope this will help you!

I didn't encounter the unrealistic problem of parking space in dreanview, but I don't know whether the parking function is normal. Recently, I'm studying the related functions of parking. I hope I can communicate more.

@daohu527 Thanks a lot.
By tracking the function IsTransferable, I figured out that it's not able to find the near path (lane). The problem was that I haven't defined the overlap in the lane specifications in base_map.txt because I'm not quite familiar with Apollo HDmap specifications. For people who want to add a parking spot manually, here is what you should do with the file base_map.txt:

add the parking spot details including 4 points of the polygon, overlap_id with the near lane and heading, ex:

parking_space {
  id {
    id: "11543"
  }
  polygon {
    point {
      x: 388037.50218934589
      y: 221149.6057218537
      z: 0
    }
    point {
      x: 388041.24532293412
      y: 221149.6057218537
      z: 0
    }
    point {
      x: 388041.24532293412
      y: 221143.9443679708
      z: 0
    }
    point {
      x: 388037.50218934589
      y: 221143.9443679708
      z: 0
    }
  }
  overlap_id {
    id: "overlap_3"
  }
  heading: 1.570796
}

add overlap details , ex:

overlap {
  id {
    id: "overlap_3"
  }
  object {
    id {
      id: "0_0_-1"
    }
    lane_overlap_info {
      start_s: 0
      end_s: 0
      is_merge: false
    }
  }
  object {
    id {
      id: "11543"
    }
    parking_space_overlap_info {
    }
  }
}

add overlap_id to the near lane:
lane {
id {
id: "0_0_-1"
}
...
length: 111.58001708984375
speed_limit: 97.221951484680176
overlap_id {
id: "overlap_3"
}
...
direction: FORWARD
...
}
make sure the heading is set correctly in the direction of the near lane.

Good job! :+1:
The overlap is the bridge connecting lane and other objects like traffic light, stop sign, parking lot and so on. There is a small question about overlap, which may not have an impact at the moment.
start_s and end_s should be the parking lot's position on the lane, for example (100, 105)
overlap {
  id {
    id: "overlap_3"
  }
  object {
    id {
      id: "0_0_-1"
    }
    lane_overlap_info {
      start_s: 0                  // start_s is the parking lot's start position on the lane
      end_s: 0                   // end_s is the parking lot's end position on the lane
      is_merge: false
    }
  }
  object {
    id {
      id: "11543"
    }
    parking_space_overlap_info {
    }
  }
}

Well done. It seems that you have solved the problem. Yes, I guess these problems are not Apollo's, but Roadrunner's. Because, I use LGSVL to draw HD-maps, and you do not have these problems.

authors: MaisJamal daohu527 ntutangyun yufeilongyuan


text:
Using logging statements in module methods [help]

Hi, I want to see which methods get called during execution. I tried inserting AINFO and ADEBUG statements into functions but they are not defined in some of the files under modules/ . Is there a way to use these statements project-wide or is there any other way of debugging?
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): Linux Ubuntu 18.04
Apollo installed from (source or binary): Source
Apollo version (3.5, 5.0, 5.5, 6.0): 6.0
Output of apollo.sh config if on master branch:

[INFO]     APOLLO_ROOT_DIR: /apollo
[INFO]     APOLLO_CACHE_DIR: /apollo/.cache
[INFO]     APOLLO_IN_DOCKER: true
[INFO]     APOLLO_VERSION: master-2021-06-11-ec30ae63c8
[INFO]     DOCKER_IMG: dev-x86_64-18.04-20210517_1712
[INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false
[INFO]     USE_GPU: USE_GPU_HOST=1 USE_GPU_TARGET=1

You do can use log to debug.
INFO or DEBUG
if you want to print out debug level log you should follow below  steps

modify the "apollo/cyber/setup.bash"

# for DEBUG log
 export GLOG_v=4

Enable environment variables

source cyber/setup.bash

Log file
you can find log in data\log. Basically every module has a log file corresponding to its name. For example, the log of the planning module is in planning.INFO

Thanks for the answer @daohu527 .
INFO / DEBUG was undefined for me, but so I am using AINFO / ADEBUG. However, I cannot use these to add logging to all files under the modules directory, because it says they are not declared.
(20:26:17) ERROR: /apollo/modules/perception/base/BUILD:205:11: C++ compilation of rule '//modules/perception/base:object' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/modules/perception/base/_objs/object/object.pic.d ... (remaining 68 argument(s) skipped)
modules/perception/base/object.cc: In constructor 'apollo::perception::base::Object::Object()':
modules/perception/base/object.cc:24:1: error: 'ADEBUG' was not declared in this scope```

Some other files that raised the same error was:

modules/drivers/canbus/common/byte.cc
modules/map/hdmap/adapter/coordinate_convert_tool.cc
modules/map/hdmap/adapter/coordinate_convert_tool.cc
modules/common/math/search.cc
modules/common/math/angle.cc

How should I fix this?

You should include the .h file, also you should add the deps in BUILD file
#include "cyber/common/log.h"

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


text:
ERROR: /apollo/modules/dreamview/backend/point_cloud/BUILD:5:1: C++ compilation of rule '//modules/dreamview/backend/point_cloud:point_cloud_updater' failed (Exit 4)

~/myapp/apollo-master(master*) » bash docker/scripts/dev_into.sh                                                                                xqit@ubuntu
xqit@in_dev_docker:/apollo$ bash apollo.sh build
System check passed. Build continue ...
[WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md.
[INFO] Start building, please wait ...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling
...........................
[INFO] Building on x86_64...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling
INFO: Analysed 1472 targets (12 packages loaded).
INFO: Found 1472 targets...
ERROR: /apollo/modules/dreamview/backend/point_cloud/BUILD:5:1: C++ compilation of rule '//modules/dreamview/backend/point_cloud:point_cloud_updater' failed (Exit 4)
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
INFO: Elapsed time: 16919.951s, Critical Path: 16260.37s
FAILED: Build did NOT complete successfully
[ERROR] Build failed!
[INFO] Took 16934 seconds
I built it twice, but failed. Is that my system memory is too small or any other problems?

Yeah, this is due to insufficient system memory. Please make sure your system has at least 2G free memory to compile.

authors: siyangy xqitong


text:
Add yolov4 in Apollo

@Capri2014

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant Dontmovedad


text:
Path generator - DividerWarner

I havent see in code, but using script, I have noticed that bot place a "path-dot" at the medium distance for "cloud eat-able dots" instead of 1 path-dot for each one.
The thing that I have noticed is: bot seems to just follow nearest dot.
In many case I have to take control of bot to go in an "high density dot field", and enable again it.
Many times, bot lost high chance of growing calculating only the nearest dot.
A good improvement, would be assign a "weigth" at each dot; what I mean is:
1 dot = 1 weigthed point.
3 dot of distance less or equal of range of my blob = 3 weigthed point.
In this way bot let's know that between 1 dot at X distance, and 3 dots at X+1 distance, is better second choice.
Another one, would be calculate "high desity cloud dot" direction, instead of just follow the nearest one.
Example:
The nearest dot A (distance X) is at rigth, and there are only 4 dot next to it (a series of dot on a line).
Bot at time of writing go on it.
At left, there are 1 dot B (distance X+1), but near to it, there are "a cloud of dots".
Going on second choice (B), bot would grow many faster then going (as it do now) on first one (A).
Probably adding a "simple" algorithm, to calculate density of dot in visible/downloadable field, would be better for path-choosing, instead of just follow nearest one.
Another function usefull, would be "DividerWarner": a stuff that let me know if dividing my blob, i will catch enemy blob.
Thx for reading!

DocterD90 said: The thing that I have noticed is: bot seems to just follow nearest dot.
In many case I have to take control of bot to go in an "high density dot field", and enable again it.
Many times, bot lost high chance of growing calculating only the nearest dot.

This is done because the bot is focusing on getting mass quickly with dots that are near it.
This decision was gone over many times in an earlier issue of this bot, with deciding that the bot should go after pellets that are much closer, instead of far away clusters...
Look at this for ref.
https://github.com/Apostolique/Agar.io-bot/issues/155#issuecomment-118451836

The main idea is that unless I code something to predict what other people are going to eat, then the closest dots are the ones that you can most likely reach first. It's a waste of time to go for the dots that are further away if they won't be there anymore when you reach them.
The current eating formula is a hybrid of both. The bot wants to get the dot clusters that are worth more, just like you said, but it also has a lazy factor where it doesn't want to travel too far unless the cluster value is really worth a considerable amount.
You'll notice that as it gets bigger, it starts ignoring the closer dots.

Even if Im new to github, and I dont know how to reply to specific phrase said by each people:
@Drflash55 thx! this is exactly what i have notice that bot seems it doesnt do at the moment :P
@Apostolique Im not telling to predict enemy movement, but I have leave bot play alone many times, and many times it likes go at a side where there are the nearest dot, instead of a cloud of dot.
Im not telling to download "entire" table, and calculate the highest density space and go there, but, even without zooming, sometimes, bot go where it is there the nearest dot. When i write X and X+1, I really would mean +1. I think that to make 1cm (as monitor real space) and go in a visible high density cloud, would be better than go to nearest dot... But all this "report", I do them when blob is small .... when it grows, I stop it, because, due to obviously impossibility of "bot thinking" when it is between 2/3 enemy (bigger), it starts to go rigth-left-up-down-rigth... because it cant find a "suicide strategy" to try to keep itself alive :P so I like to stop it, and play by my self. I use bot feature, just for first minutes to get dots rapidly.
BTW, you have make a very great and beautiful code :) congratulation! I would really say you CONGRATULATION :+1:
I  hope to understand better bot's features, like how read mass of my/enemy blob, and a "tip" about if my half size may eat enemy ([spacebar] 1/2 * my_size > enemy mass) so that it supports me in decision, because at the moment im using bot primarly for circles and lines, even if i havent fully understand their own meaning :)

If you want, feel free to remove the part that uses the distance:
https://github.com/Apostolique/Agar.io-bot/blob/cb1126c70dabf9953a28cb186e33f072811752ac/bot.user.js#L1112
Specifically, remove:
this.computeDistance(clusterAllFood[i][0], clusterAllFood[i][1], player[k].x, player[k].y)

It's not going to do exactly like you want since as you eat a dots, their clusters become less valuable and then the bot will look for a better cluster without eating everything in the first one.

@Apostolique thx for you help! But I'd hve another idea...letting bot play itself, I have noticed that after each "eating", it stops a moment, (calculate next dot), go to next dot. Sometimes bot will start to go left-right in case of a more or less 2 dots at same distance, so bot when go at left, it correct to right, and again to left, an so on, until one of 2 is definitely much closer. This slow done bot.
Should be a goo idea (even to better understand what cluster is better), calculate step0, and step1? I mean, bot compare not only the nearest dot, but also the dot nearest the first, so it may understand/know what is the direction to take after eat a dot. This would speed up bot path, and may leave him understand between dot (x distance) and a dot (x+1 distance) which one is better; summing point getting from both it will decide better.
By the way, the main stuff is to speed up the bot to take its own path instead to eat, stop, calculate, go to next dot. Often, people eat bot thx to its little "stop".
I dont know if "this" is done yet, but (I havent yet fully understood meaning of 2 different circle of enemies) would be a good idea increase the "safe" range to improve possibility to go away without risks. Often I see, that due to inertia, people, coming in front of me, eat me. I dont know if the "safe" zone is yet improve, but if it exists yet, I'd increase a little bit :)

The real problem is that the code is written in Javascript. What you describe doesn't happen on my end, but my computer is really good.
I'm not sure if your idea would solve that left-right.


text:
Ghost WebViews remain when hiding the drawer with center parameter

Repro by running the following with drawer open:
view = new steroids.views.WebView({ location: "http://localhost/app/example/getting-started.html"});
steroids.drawers.hide({ center: view });

Now, on subsequent calls to steroids.drawers.hide({ center: view }), a new view gets created and the main WebView replaced with that, but the old view stays in memory. Since it's not a preloaded view, it cannot be unloaded.

Following this issue very close...

Any updates on this issue??

authors: fidoboy harsaharsa

repo: AppGyver/steroids


text:
window.postMessage fails if passed object contains quote or doublequote

Passing a string containing quotes, doublequotes, \n, or \r to window.postMessage results in the following error:
"Uncaught SyntaxError: Unexpected token ILLEGAL".
Passing an object containing such a string results in: "Uncaught SyntaxError: Unexpected identifier".
The error can be reproduced simply by opening a remote debugging console and calling window.postMessage with such a parameter.
The error occurs in Scanner for Android 3.5.4 (actually a custom scanner build including the Facebook Cordova plugin but this cannot have anything to do with it). I haven't tested it on iOS.

This is still not solved. My guess: It is related to https://code.google.com/p/android/issues/detail?id=69969. As AppGyver uses WebView.loadUrl("javascript: ..."), which does URL unescaping from Android 4.4 on, the postMessages get unescaped twice: Once by Android, and another time by steroid.js. This causes the newlines, apostrophes, etc. to be treated as "real" newlines, which causes JSON.parse to fail.
A workaround is to serialize the message with something different than URL escaping (e.g., Base64 / atob), and a fix would be to use WebView.evaluateJavascript("...") from Android 4.4 on.

authors: alexbrad dominikbucher


text:
Question: How to package AppImageUpdate inside my AppImage?

Hello! I am trying to bundle AppImageUpdate inside my own AppImage. I tried copying the AppImageUpdateTools AppImage into my AppDir before running appimage-builder but it doesn't work. The update tools hash changes as well, so something is getting corrupted. What is the proper way to do this?

Hello @OneYellowLemon. If your application is a Qt application, then you might be interested in QAppImageUpdate.
in any case, if your question is about appimage-builder then best ask over at https://github.com/AppImageCrafters/appimage-builder/issues because I am not sure its author is reading here.

authors: OneYellowLemon probonopd

repo: AppImage/AppImageUpdate