uw-ttyp0: init at 1.3

Motivation for this change
Add uw-ttyp0 font to nixpkgs.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

So this is the first nixpkg I am submitting, please bear with me.
Tested on my local NixOS installation.

You must have missed my PR #72368. It's basically the same thing with additional generation of .psf fonts and a patch to make the package deterministic.

Indeed, I missed your PR. I will close this one.
Quick question though: with pango 1.44 dropping support for type 1 bitmap fonts, shouldn't bitmaps fonts be packaged with an otb version by default?
Some fonts like cherry do it already but I completely forgot about it when opening this PR since 19.09 still uses Pango 1.43.

I didn't know about that, but I don't have any software on my computer using pango.
You should open an issue for this, it seems pretty important.

There is a tool here that does the conversion: https://fedoraproject.org/wiki/BitmapFontConversion

Yes, there is also the fonttosnft tool that the cherry font in nixpkgs uses. It's a simple matter of conversion but the results are not always.. accurate. Some fonts are cropped weirdly and the xft naming scheme is not as accurate as the xlfd one.
I will open a separate issue.


graph_to_graphviz()

Problem description
Existing graph capture visualization is written in python;
What's changed
Added util that dumps graphviz compatible representation of the trace that can be used for easier debuging from c++ code.
To visualize the graph, dump the string to file, and use the following command to generate the image:
dot -Tpng yourfile.gv -o yourfile.png
or paste it to the online tools like GraphvizOnline
you get something like this

Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

@ayerofieiev-tt  @dmakoviichuk-tt
I'm not sure if you want this functionality, but as I'm moving forward to another project just wanted to share that I have it, if you find it useful I'm happy to address comments and merge it. Maybe add a unit test that compares a reference graph with a reference .gv file.

@mbezuljTT , I love it, but its hard to test so in a way we can think that it will break sooner than you merge it. Any ideas on how to validate?

@ayerofieiev-tt  Maybe add a unit test that compares a reference graph with a reference .gv file.


MacOS - Problem rendering content

Just installed on OS X 10.10.5, upon opening an existing asciidoc I encountered an error and no document was rendered.
From the error log
<-- Begin Paste -->
ERROR => Problem occured while rendering content
java.util.concurrent.CompletionException: netscape.javascript.JSException: SecurityError: Jail is not an absolute path: .
at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375) ~[na:1.8.0_60]
at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934) ~[na:1.8.0_60]
at com.kodcu.engine.AsciidocWebkitConverter.convert(AsciidocWebkitConverter.java:131) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.engine.AsciidocWebkitConverter.convertAsciidoc(AsciidocWebkitConverter.java:153) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.controller.ApplicationController.renderLoop(ApplicationController.java:1826) [AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.controller.ApplicationController.lambda$initialize$20(ApplicationController.java:548) [AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.service.ThreadService$1.call(ThreadService.java:35) ~[AsciidocFX-1.3.7.jar:1.3.7]
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) ~[jfxrt.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_60]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_60]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60]
Caused by: netscape.javascript.JSException: SecurityError: Jail is not an absolute path: .
at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:128) ~[jfxrt.jar:na]
at com.sun.webkit.WebPage.twkExecuteScript(Native Method) ~[jfxrt.jar:na]
at com.sun.webkit.WebPage.executeScript(WebPage.java:1439) ~[jfxrt.jar:na]
at javafx.scene.web.WebEngine.executeScript(WebEngine.java:982) ~[jfxrt.jar:na]
at com.kodcu.engine.AsciidocWebkitConverter.convert(AsciidocWebkitConverter.java:136) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.engine.AsciidocWebkitConverter.lambda$null$177(AsciidocWebkitConverter.java:123) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295) ~[jfxrt.jar:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_60]
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294) ~[jfxrt.jar:na]
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) ~[jfxrt.jar:na]
<-- End Paste -->
I've not done much troubleshooting yet, will update as I do.

@thomas-crowe Could you share your asciidoc document or it's basic version that you are getting this exception ?

Well, this is odd.  I went to reload the document so I could copy&paste the contents, and now it is rendering without an error.  Nothing* has changed, not even a restart of the application.
*obviously something did to make it work, but it is not apparent to me what that change was
Apologies for the fire drill, but thank you very much for the quick response!
Thomas

Maybe I spoke to soon...
This doc is not rendering
<-- Begin Paste -->
:noaudio:
ifdef::revealjs_slideshow[]
[#cover,data-background-image="image/1156524-bg_redhat.png" data-background-color="#cc0000"]
==
[#cover-h1]
OpenStack 6 FASTRAX
[#cover-h2]
Overview
[#cover-logo]
image::{revealjs_cover_image}[]
endif::[]
<-- End Paste -->
Error entry
<-- Begin Paste -->
ERROR => Problem occured while rendering content
java.util.concurrent.CompletionException: netscape.javascript.JSException: SecurityError: Jail is not an absolute path: .
at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375) ~[na:1.8.0_60]
at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934) ~[na:1.8.0_60]
at com.kodcu.engine.AsciidocWebkitConverter.convert(AsciidocWebkitConverter.java:131) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.engine.AsciidocWebkitConverter.convertAsciidoc(AsciidocWebkitConverter.java:153) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.controller.ApplicationController.renderLoop(ApplicationController.java:1826) [AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.controller.ApplicationController.lambda$initialize$20(ApplicationController.java:548) [AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.service.ThreadService$1.call(ThreadService.java:35) ~[AsciidocFX-1.3.7.jar:1.3.7]
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) ~[jfxrt.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_60]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_60]
at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60]
Caused by: netscape.javascript.JSException: SecurityError: Jail is not an absolute path: .
at com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:128) ~[jfxrt.jar:na]
at com.sun.webkit.WebPage.twkExecuteScript(Native Method) ~[jfxrt.jar:na]
at com.sun.webkit.WebPage.executeScript(WebPage.java:1439) ~[jfxrt.jar:na]
at javafx.scene.web.WebEngine.executeScript(WebEngine.java:982) ~[jfxrt.jar:na]
at com.kodcu.engine.AsciidocWebkitConverter.convert(AsciidocWebkitConverter.java:136) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.kodcu.engine.AsciidocWebkitConverter.lambda$null$177(AsciidocWebkitConverter.java:123) ~[AsciidocFX-1.3.7.jar:1.3.7]
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295) ~[jfxrt.jar:na]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_60]
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294) ~[jfxrt.jar:na]
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) ~[jfxrt.jar:na]
<-- End Paste -->

I'm not sure for the cause but we are catching here Asciidoctor security constraints.
I want to ask you what is the value of revealjs_cover_image
Also, can you add
:imagesdir: . // (dot)  // dont write (dot)  only .
I wonder if anything changed with imagesdir?

Here is another document that I ran across that would not render, and reported the same error as above.
<-- Begin Paste -->
:data-uri:
== Pets vs. Farm Animals
image::images/pets_vs_farm.png[width=100%]
ifdef::showscript[]
=== Transcript
Another way to look it, metaphorically, is to compare pets to farm animals.
Pets are given names, such as rover.internal.redhat.com. They are unique, lovingly hand raised, and cared for. When one gets ill, you nurse it back to health.
Farm animals have tag numbers, such as pig451.redhat.com. They are almost identical to each other. And when one becomes ill, you get another one.
endif::showscript[]
<-- End Paste -->
I did verify that the images/pets_vs_farm.png file is present and is readable by my userid that is using asciidocFX.
I'm not sure what the value of revealjs_cover_image is (I'm brand new to asciidoc, and very much still learning, please bear with me).  I will try the change that you are suggesting to the document and report back the results.

Hi @thomas-crowe ;
For now we don't support :data-uri: feature that embeds images base64 encoded. When you remove that attribute AsciidocFX will render correctly

@thomas-crowe Do you have any question? Can we close this issue?

Sorry, I did read your previous reply about not currently supporting the data-uri feature, and didn't think to reply.  Indeed removing the data-uri tag from the documents do enable them to render properly.  Is there any timeline for when this may be supported, I'm not a developer per se, but would be willing to help out however I can.
Thanks!

Could you please try version 1.4.5 for data-uri? https://github.com/asciidocfx/AsciidocFX/releases

I did a quick test of just adding the :data-uri: to an existing asciidoc file I was working on, and it seemed to work.  I will try a more in-depth test later tonight.

Thank you @thomas-crowe


RichTextLabel freezes Godot 4.1-rc2 on Fit Content

Godot version
v4.1.rc2.official [46424488e]
System information
Godot v4.1.rc2 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti with Max-Q Design (NVIDIA; <IP_ADDRESS>8) - Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 Threads)
Issue description
Under certain circumstances, attempting to set Fit Content on a RichTextLabel causes Godot to freeze and eventually just close.  The problem doesn't seem to happen for me on Godot_v4.0.3-stable_win64 using the same sample project.
Steps to reproduce
I start a new scene with a Control node as root.  I add a RichTextLabel as child of the Control and put some random text in it.  Then under Layout->transform for the label, I reset the size, which results in x of 1 and y of 0.
At this point, I check and then uncheck the Fit Content option in RichTextLabel. Everything works as expected. If after I uncheck the box, I switch over to the Control node and then switch immediately back and try to check the Fit Content box again, Godot freezes and eventually crashes.
It's happened randomly at other times, but this is the most reliable way I've found to make it always crash for me.
If I open the attached sample project, switch to the label, check and uncheck Fit Content, switch to the Control and immediately back to the label and then try to check Fit Content again, it crashes every time.
Minimal reproduction project
RichText Error.zip

Looks like duplicate of https://github.com/godotengine/godot/issues/78849

Related to #78912.

Looks like duplicate of #78849

Yeah, I saw that one before I made the report, but since BBCode didn't need to be enabled for the crash to happen for me, I wasn't sure if it was a duplicate or not. If it is, at least there is another test case for the fix.


v1 release

What kind of change does this PR introduce
Merge develop branch to master as requirements of v1 release are implemented.
Checklist for this PR

[x] I have read contributing guidelines.
[N/A] Updated the requirements (pip freeze > requirements/requirements.txt).
[N/A] Created new migrations (python webapp/manage.py makemigrations && python webapp/manage.py migrate).
[N/A] Pull request is towards develop branch.
[N/A] Documentation
[x] Ready to be merged.

@rrmerugu Are there any requirements that are left for v1 release? AFAIK Everything is done. We should merge develop branch to master and deploy master in aws. If there are nothing left, merge this pull request and then deploy into aws.

sounds cool, @pbteja1998  when are you planning to start with the automation tests ?

Yes, currently @mohanarunachalam is working on tests. We will discuss the progress of that in the upcoming call.


Should be tagged to Windows and Linux

[Enter feedback here]
The doc says it only applies to linux but it's obvious that it is for both windows and linux
The uri also has linux in the name
This should be updated to indicate it also supports Windows VMs

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

ID: 9ef2d683-1557-7097-0415-ea67a0350718
Version Independent ID: 20667a9c-cd22-ce77-d4d6-61ac10d380c8
Content: Create an Azure Image Builder template - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/image-builder-json.md
Service: virtual-machines
Sub-service: image-builder
GitHub Login: @kof-f
Microsoft Alias: kofiforson

@stweb1963 Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@kof-f Can you please check and add your comments on this doc update request as applicable

Windows VM tag has now been added. Thank you for the feedback!
#please-close


Add documentation for the implemented methods in image data visualizer

Description

Document the methods present in the image_visualize.py abiding by the Sphinx Documentation examples

hello I am gssoc participant 2021 and would like to contribute to this issue...can u please assign me with this issue??

Thank you for your interest @Sibasish-Padhy.

Please email us on<EMAIL_ADDRESS>for more details and discussion regarding the implementation.

thank you @Ask149

can u gimme the deadline for the pr??@Ask149

@Sibasish-Padhy drop us an email, where we will discuss the rest of the details.

hello sir,I am Sibasish Padhy a participant of gssoc 2021 contributing to
your project on a beginner friendly issue (documentation of functions used
in image visualize.py).Can u tell me about the deadline for submitting the
pr and also what to include in the documentation
On Fri, Mar 12, 2021 at 11:16 PM Ashish Kshirsagar @.***>
wrote:

@Sibasish-Padhy https://github.com/Sibasish-Padhy drop us an email,
where we will discuss the rest of the details.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/klarEDA/klar-EDA/issues/21#issuecomment-797651091,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQWXMWMMVNS55THGZMM23UTTDJHQVANCNFSM4ZAKES6Q
.


2.2.8 Wither Skeleton PoweredSpawner RF Consumption low.

Hi
As title, Wither Skeleton PoweredSpawner consume RF low regardless of config file( PoweredSpawnerConfig_Core.json ) setting multiplyer at 20.
It consumes only 160 RF/t without any capacitor.
I want to increase by 1500 RF/t to take the game balance.
( I understand that the development EnderIO 2.2.* is done.
However I want to know the solution of this problem, if it exists. )

Wither skeletons are not their own entity...they are just variants of normal skeletons. So you cannot set their multiplier separate from normal skeletons.

Thanks for reply.
Is it applied in case of Wither Skeleton replaced by EnderIO?

Yes

i see, thanks.


Modinreach 347 : Record Contribution Errors Should not Cause Contribution Jobs to Halt

MODINREACH-347
Purpose
Record Contribution Errors Should not Cause Contribution Jobs to Halt
Approach

New runInitialContribution method created.
ConcurrentMessageListenerContainer implemented to consume Kafka messages through custom listener.
503 response from D2IR server handled by creating custom ServiceSuspendedException.
Retry Kafka messages implemented for handling 503 response from D2IR server.

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[x] Code coverage on new code is 80% or greater
[x] Duplications on new code is 3% or less
[x] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[x] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: steveellis:white_check_mark: Arghya22:white_check_mark: arin-epm:x: Vignesh-kalyanasundaramYou have signed the CLA already but the status is still pending? Let us recheck it.

this PR is not required. So, closing this PR.


If I can‘t use Google Play Services

Google Play Services doesn't work in china，How can I use this feature?

At this moment, a font provider is provided only by Google Play Services, but it's not imposed by the API for Downloadable Fonts.
That means, other third parties can provide their font providers.


 Similar to issue #10403.
Reproduction

Watch someone play with spear

Screenshots
I am pAI at center of image in bag of secoff:

The message being visible isnt an issue. Its moreso the popup being wrong.

Not like it particularly matters tbh. Just some extra clarification on the action.


Issue-485 - Remove date range props.

Remove date range props and all references to it because there is no need for a date range in phase 1.
Resolves https://github.com/cerner/terra-core/issues/485
Thanks for contributing to Terra.
@cerner/terra

Do we remove the DateRange.jsx file as well?

What the group agrees in the war room was to not expose any date range props/examples to consumers but still leave DateRange.jsx so that we have it we come back to use it again. It is there, just won't be used for now.


Quick start code

For the model that is not a chat model, could you use a more proper demo code than now (Quick start)?

For the base model, you can refer to https://github.com/01-ai/Yi?tab=readme-ov-file#perform-inference-with-yi-base-model. We hope to keep this repo as simple as possible, so the quickstart code for the base model was omitted


combobox  - making selection from dropdown values

using the jaws screen reader encountered following issue:
When trying to navigate the drop down values and the last value is encountered,
the selected option does not go to the first option in the dropdown on pressing down arrow and it keeps reading blank
Ideally it should loop through the values in the dropdown from the top when the last value is reached.

Hi, thanks for the feedback.
I'll add loop traversal as a feature request for the near future.
I was not able to reproduce the announcement of "blank", I tested this using IE11, Firefox, and Chrome on Windows7 using JAWS18.
Which operating system, browser, and version of JAWS are you using?
Thanks,
Bryan

Hi,
The ARIA Combobox module has been updated to support automatic looping forward and backward when arrowing as expected. Thanks again for the issue to let me know about this.
All the best,
Bryan

Thanks Bryan.
Appreciate it. Will check and get back to you.
Meanwhile could you please share the link for updated combobox module or is it the same?

No problem, all of the same links should now work with the update.

Bryan,
Sorry for delayed response on this.
Yes this has fixed the issue.
Thanks for helping out with this.


[Bug]: Upon selecting a google sheet data source from the entity explorer I directly get navigated to the edit page of the data source.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I select a google sheet data source from the entity explorer it directly navigates me to the edit page of the data source while for other data sources it takes me to the review page of the data source.
Loom Video: https://www.loom.com/share/00ac86bfc9984d449489106e93350550
Steps To Reproduce

Open any appsmith app.
Select a google sheet data source from the entity explorer.

Public Sample App
No response
Issue video log
https://www.loom.com/share/00ac86bfc9984d449489106e93350550
Version
Cloud

@sneha122
When user navigates from entity explorer and tries to EDIT it is observed that the user can not edit the DS. Please have a look at video attached
https://www.loom.com/share/1308d4c305b245938b8f4287ceab0e8f


[XCM]: Remove NetworkIds for testnets

Testnets are not stable and shouldn't be included in the XCM language. They should be able to be specified with NetworkId::ByGenesis.

/rfc propose

/rfc process 0x5e8b9c1d860223df9c30452fe7006cbc928147174130a5cb32355c24adb53d34


MapView V2

I've been trying to add a MapView to the centerView of the Navigation Drawer, but every time, I get a Resource Not Found error. Is anyone else experiencing this?

Please follow the testing steps here: TIMOB-18244


Can't build Hyprland after Plugin API commit

Steps to reproduce:
Follow https://wiki.hyprland.org/Getting-Started/Installation/#cmake-recommended
Expected outcome:
Hyprland gets built and installed.
Noted outcome:
Fails to build.
cmake --build ./build --config Release --target all -j16
ninja: error: '/personal/dev/Hyprland/subprojects/udis86/build/libudis86/liblibudis86.a', needed by 'Hyprland', missing and no known rule to make it
make[1]: *** [Makefile:144: release] Error 1
make[1]: Leaving directory '/personal/dev/Hyprland'
make: *** [Makefile:170: install] Error 2

Builds fine on previous commit

Building it with meson works, which I tested.
So like this:
meson _build
ninja -C _build
ninja -C _build install --tags runtime,man

for me --tags runtime,man did not work, so I left them out.

@UserSv4 have you done git submodule update --init subprojects/udis86?

sudo make config

fixed make install in 15d108fbc11f6e302eb42bc568e4a9d94066ed2f

oops, fixed. thanks

I also can't update on Gentoo. I normally update daily.

You are using the wayland-desktop overlay, right?
I use gentoo and don't use the package manager for it.
For cloned builddirs, I use an auto-update script, but that's sub-optimal.
the ebuild from the wayland-desktop overlay should work, since it doesn't involve any cmake from what I saw.
Oh, the ebuild from wayland-desktop has --skip-subprojects at the last but one line.

@HanoJing Yes I use wayland-desktop overlay. Normally I could update daily from -9999 package with or without "system-wlroots" use flag. But today, there is an error. What is --skip-subprojects?

@HanoJing Yes I use wayland-desktop overlay. Normally I could update daily from -9999 package with or without "system-wlroots" use flag. But today, there is an error. What is --skip-subprojects?

--skip-subprojects is a flag that - as in the name, skips the pulled subprojects from hyprland. So, remove that flag from the ebuild and run ebuild hyprland-999.ebuild manifest to regenerated the manifest for the ebuild, then try to rebuild hyprland.

@HanoJing Thanks for the tip. I updated the ebuild but now I get another error:
mkdir: cannot create directory ‘/var/cache/...’: Permission denied

ERROR: gui-wm/hyprland-9999::wayland-desktop failed (unpack phase):

Can it be because I changed the ebuild?

No, I changed tons of ebuilds before, they built.
I will try to reproduce your issue on my machine.


”Mihăileni”, ”Metiș”, ”Moardăș”, ”Răvășel”, ”Șalcău” are listed in the drop-down menu

Description:
When user writes ”Mihăileni”, ”Metiș”, ”Moardăș”, ”Răvășel”, ”Șalcău” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Mihăileni"

Expected results
The location appears in the drop-down menu as "Sat Mihăileni, SIBIU (Mihăileni)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Metiș"

Expected results
The location appears in the drop-down menu as "Sat Metiș, SIBIU (Mihăileni)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Răvășel"

Expected results
The location appears in the drop-down menu as "Sat Răvășel, SIBIU (Mihăileni)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Șalcău"

Expected results
The location appears in the drop-down menu as "Sat Șalcău, SIBIU (Mihăileni)".


Adapting dnn_face_recognition_ex.cpp for use with full body keypoints?

Hi, and thank you for making this lib available!
I am looking to build a person Re-ID application, and am thinking of using an approach based on the example dnn_face_recognition_ex.cpp.
My question is, will I need to re-train a model for this? Or can the dlib_face_recognition_resnet_model_v1 be used for any set of keypoints?
Basically, I would find body keypoints in a set of images, and pass them in place of the face landmarks to match them.
Is this a valid approach?
Thank you.

I would not expect that to work very well.  The face model is trained to know about faces.  If you give it pictures of people's bodies rather than faces it's probably not going to do anything sensible.

Understood. thank you for your reply. Have a great Sunday.


Update add command

Closes #85
Update add command such that email and phone number are now optional fields that need not be included when adding a new contact

Codecov Report
Attention: Patch coverage is 48.71795% with 20 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

.../java/seedu/address/model/util/SampleDataUtil.java
0.00%
12 Missing :warning:

.../java/seedu/address/storage/JsonAdaptedPerson.java
40.00%
2 Missing and 4 partials :warning:

src/main/java/seedu/address/ui/PersonCard.java
0.00%
2 Missing :warning:

Files with missing lines
Coverage Δ
Complexity Δ

src/main/java/seedu/address/logic/Messages.java
87.50% <100.00%> (ø)
3.00 <0.00> (ø)

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)
8.00 <0.00> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.50% <100.00%> (ø)
15.00 <2.00> (+2.00)

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)
7.00 <0.00> (+2.00)

...c/main/java/seedu/address/model/person/Person.java
97.50% <100.00%> (ø)
21.00 <0.00> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
88.67% <40.00%> (-11.33%)
11.00 <0.00> (-2.00)

.../java/seedu/address/model/util/SampleDataUtil.java
11.11% <0.00%> (-8.89%)
1.00 <0.00> (ø)

... and 7 files with indirect coverage changes


Flaky build failure - "coverage" shard ran out of allocated time

From travis log:
...
44:38 +1929 ~4: /home/travis/build/flutter/flutter/packages/flutter/test/widgets/wrap_test.dart: - RenderWrap toString control test
44:38 +1930 ~4: /home/travis/build/flutter/flutter/packages/flutter/test/widgets/wrap_test.dart: - Wrap baseline control test

The job exceeded the maximum time limit for jobs, and has been terminated.

After restarting, the job completed successfully (https://travis-ci.org/flutter/flutter/jobs/292640909) after running for 45m 21s

Related to #10694

@gspencergoog moved this to the other bot.


Add Money.round dunder method

Adds support for calling round() on Money instances.
Uses the default Python rounding algorithm.
The implementation uses Decimal.quantize under the hood to
ensure stable selection of rounding mode, and allows
the user to select their preferred mode by wrapping the call
in a decimal context suiting their needs.
Note that this feature is only supported on Python 3, as __round__-support seems to have been added only in 3.

Hi, thanks for the PR.
The stdlib definition of round is that it returns an integer if called with a single argument, and a value of the same type as the input if called with two parameters - https://docs.python.org/3.5/library/functions.html#round
This is also what Decimal does. So we would need to return an integer for this case. But that makes me think maybe this method isn't appropriate for Money instances, or not useful.
To put it another way - if you correctly know round is supposed to do, you expect round(Money("1.25", "USD")) to return 1. But when reading code, you might well expect round(Money("1.25", "USD ")) to return Money(1, USD), as per your implementation.
When faced with these two options, it's clear that round() was not designed for this use case, and I think the only sensible thing is to not support it.
If we were to to support it, shouldn't the implementation delegate to entirely to Decimal.__round__? I think it might make sense to add a Money.round method (rather than a __round__ method), which could probably delegate almost entirely to Decimal.__round__ (or perhaps not). But we are then free to define it however we want, and it could also accept other parameters for defining rounding strategies, which is more convenient than modifying the decimal context, and avoids the nasty gotchas involved in the decimal context threadlocal storage - see PEP 550.

Hi!
Thanks for the feedback!
Good catch on the no arguments return type requirement from the stdlib - missed that one :)
I agree that it gets a bit awkward with round(money) when it coerces into an int.
I've pushed a version that throws an TypeError if one does not specify the ndigits, thus
keeping the current behavior when we can't do anything sensible.
If you still feel its not suitable, then I'll change the implementation to a regular exposed method.
With regards to the rounding, we could implement that as a part of the currency specifications how the different currencies defines their rounding rules as a default, but that it quite invasive.
My use case for supporting plain round() is migrating a quite large code base to use Money instead of Decimal, but round is used quite a lot, so it would be great it we can make it do the most sensible thing we can, and just have to fix the places where we cant.
Included in the new version is support for ndigits< 0 as well :)

Yes, I still think that implementing __round__ is not appropriate for this data type. For example, the builtin complex number type also doesn't implement it, because it is multi-dimensional and makes no sense for it to return an integer.
I think for your use case I would do a search and replace/refactoring that replaces all uses of round() with my_round(), which can be implemented as you like. While you are in the middle of your bigger refactoring it could detect the type and call round() for Decimals, and Money.round() for Money instances (if you provide a patch for that). That way you have complete freedom, without affecting the design of the Money class for just this use case.

Thanks!


Refine Rate Limits for Select Endpoints

Context

For some of our endpoints, the rate limit may be a tad too conservative.
For example, /data-sources/{data_source_id} GET would be called quite frequently if, on the web page, a user was quickly clicking the PREV/NEXT buttons when viewing individual data sources. The current default limit is 100 per hour, and that would be quickly exceeded due to such behavior.
We should think about what we would like our rate limits to be in this scenario, as well as in comparable scenarios.

Requirements

Determine a desirable rate limit for get-by-id-type endpoints
Implement that rate limit

Tests

TBD

Docs

TBD

Open questions

See above!

Because it's probably used in bursts, /data-sources/{data_source_id} GET seems like it could be a 50-per-minute, 250-per-hour type thing. I imagine people would quickly tire of NEXTing when they could just go back to the search.


Fixed minor syntax error

I've corrected the operator syntax error. This error disrupts the execution of command: 'npx react-native run-ios.'

See https://github.com/facebook/yoga/issues/1324
The issue you are seeing was actually fixed years ago in Yoga, and you are seeing it because you are using a new version of XCode with an older version of React Native.
This is still fine to fix, but is not what is causing your error.


Error: connect ECONNREFUSED

Any tips on getting past this error?
config:
...,
{
    "platform": "TuyaPlatform",
    "name": "TuyaPlatform",
    "options": {
        "username": "myemailaddress",
        "password": "mypassword",
        "accessId": "myaccessid",
        "accessKey": "myaccesskey",
        "lang": "en",
        "endpoint": "https://openapi.tuyaus.com"
    }
},
...

These credentials (username, password, accessId, and accessKey) were created for the Tuya IoT Platform and all work with tuya-cli provided by @tuyapi/cli.  Password has special characters, but is wrapped with quotes.
error message:
...
(node:1055) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED <IP_ADDRESS>:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1055) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:1055) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It looks like the endpoint is not being set, maybe.
[5/22/2021, 10:43:08 AM] [TuyaPlatform] Initializing TuyaPlatform...
TuyaOpenAPI request: method = post, endpoint = undefined, path = /v1.0/iot-03/users/login, params = null, body = {"username":"myemailaddress","password":"mypasswordhash"}, headers = {"t":"1621705389002","client_id":"myaccessid","sign":"xxxxxxx","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","dev_version":"1.0.7"}

My fault, endpoint vs endPoint.


'make clean' removes checked in files from the repo

running make clean in a clean checkout, then git status:
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted<EMAIL_ADDRESS>	deleted<EMAIL_ADDRESS>	deleted<EMAIL_ADDRESS>	deleted<EMAIL_ADDRESS>	deleted<EMAIL_ADDRESS>	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-addon/index.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-addon/package.json
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-dummy/index.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-dummy/package.json
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/package.json
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/razzle.extend.js
	deleted<EMAIL_ADDRESS>	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/src/customizations/LanguageSwitcher.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/src/customizations/TSComponent.jsx
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/src/customizations/client.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/src/customizations/routes.tsx
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-source-addon/src/index.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-unmentioned/index.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-unmentioned/package.json
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-via-addons-env-var/index.js
	deleted:    packages/volto/__tests__/fixtures/test-volto-project/node_modules/test-released-via-addons-env-var/package.json

@fredvd and these are legit, indeed.

Tested locally with the branch: the files are now kept.
When running make, it still shows warnings that it cannot find node_modules with the find, which is strange and exits with an error code . Running make clean a second time and the clean finishes ok.
Another thing  while testing the issue with make clean. When I do a clean checkout from the the plone/volto repo and do a make install, is it normal that the pnpm-lock.yaml be changed right away compared to git?  I updated to the latest pnpm .  AFAIK  KGS is KGS, or can this happen anytime with pnpm that is finds newer minor versions within the ranges specified for packages?
Studio1:volto fred$ make clean
find: ./packages/blocks/node_modules: No such file or directory
find: ./packages/generator-volto/node_modules: No such file or directory
find: ./packages/types/node_modules: No such file or directory
find: ./packages/volto-slate/node_modules: No such file or directory
find: ./packages/coresandbox/node_modules: No such file or directory
find: ./packages/providers/node_modules: No such file or directory
find: ./packages/volto-testing/node_modules: No such file or directory
find: ./packages/volto/node_modules: No such file or directory
find: ./packages/components/node_modules: No such file or directory
find: ./packages/scripts/node_modules: No such file or directory
find: ./packages/registry/node_modules: No such file or directory
find: ./packages/slots/node_modules: No such file or directory
find: ./packages/client/node_modules: No such file or directory
find: ./packages/helpers/node_modules: No such file or directory
make: *** [clean] Error 1
Studio1:volto fred$ make clean

pnpm-lock.yaml changes:
git-diff-output.log


AbilityDamageOverriddenRule does not allow setting of splashDamage and critSplashDamage

When attempting to adjust AoE abilities such as Whirlwind and Charge, changes applied with AbilityDamageOverriddenRule do not work correctly. The card shows the correct values for targetDamage and critDamage but the damage dealt to enemies is unchanged from the defaults.
Upon investigation it appears that the the AoE attacks for Whirlwind and Charge are dealing splashDamage and critSplashDamage to enemies. The AbilityDamageOverriddenRule does not currently allow for setting of these fields.
Thanks to The Gray Alien for reporting this issue.

At first thought, three approaches come to mind. In no particular order:

Extend the 2-element array to 4-element array, where each of the 4 types of damage are specified.

Pros: Single rule
Cons: It will be tricky for users to specify, for example, splash and crit splash damage while not wanting to specify regular damage.

Modify the rule to accept a struct type, rather than a list/array. For example, like PieceProperty in PieceConfigAdjustedRule.

Pros: Users may specify only the damage types they want.
Cons: Additional verbosity in ruleset configs. I.e., no longer [3, 6], but rather { TargetDamage = 3, CritDamage = 6 }

Create a separate rule for splash damage.

WDYT?

I think that option 2 is the best one. Not all attacks have splash damage, so having to specify a list of 4 numbers would be confusing. I don't think that the verbosity in the ruleset is too much of a con.

Just wondering if it might have been easier to change this rule to be Adjusted instead of Overridden? Then you could go with option 1 and use 4 parameters because if you want no damage change you just put in a 0 instead of having to define the damage number, which would keep in line with AbilityAoeAdjusted.


Try/except in image.py to deal with broken images

Corrupt images generate an exception. This patch allows the process to continue, printing out the unreadable filenames.

My library contains a few corrupted files due to a hard drive failure.
I've reverted my local change and run it again:
Traceback (most recent call last):
File "/usr/local/bin/sigal", line 11, in
sys.exit(main())
File "/home/mark/.local/lib/python2.7/site-packages/click/core.py", line
722, in call
return self.main(*args, **kwargs)
File "/home/mark/.local/lib/python2.7/site-packages/click/core.py", line
697, in main
rv = self.invoke(ctx)
File "/home/mark/.local/lib/python2.7/site-packages/click/core.py", line
1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/mark/.local/lib/python2.7/site-packages/click/core.py", line
895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/mark/.local/lib/python2.7/site-packages/click/core.py", line
535, in invoke
return callback(*args, **kwargs)
File "/home/mark/.local/lib/python2.7/site-packages/sigal/init.py",
line 141, in build
gal = Gallery(settings, ncpu=ncpu)
File "/home/mark/.local/lib/python2.7/site-packages/sigal/gallery.py",
line 582, in init
album = Album(relpath, settings, dirs, files, self)
File "/home/mark/.local/lib/python2.7/site-packages/sigal/gallery.py",
line 277, in init
media = Image(f, self.path, settings)
File "/home/mark/.local/lib/python2.7/site-packages/sigal/gallery.py",
line 86, in init
self._get_metadata()
File "/home/mark/.local/lib/python2.7/site-packages/sigal/gallery.py",
line 178, in _get_metadata
iptc_data = get_iptc_data(self.src_path)
File "/home/mark/.local/lib/python2.7/site-packages/sigal/image.py", line
247, in get_iptc_data
img = _read_image(filename)
File "/home/mark/.local/lib/python2.7/site-packages/sigal/image.py", line
63, in _read_image
im = PILImage.open(file_path)
File "/home/mark/.local/lib/python2.7/site-packages/PIL/Image.py", line
2585, in open
% (filename if filename else fp))
IOError: cannot identify image file u'/home/libraries/Photos/2017/201708
LPO/DSC_2731.JPG'
This is on a (32-bit) Banana Pi running Pillow 5.0.0 on Python 2.7. That
image file is corrupted, and without my change, sigal cannot continue
building with any corrupt images in the library.
On 27 March 2018 at 23:23, Simon Conseil<EMAIL_ADDRESS>wrote:

This should already be handled by process_image, which catch exception
and report failures to the main loop:
https://github.com/saimn/sigal/blob/master/sigal/image.py#L174-L188
Hmm, unless it happens when thumbnails are generated directly from the
theme... Do you have a traceback with this error ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/saimn/sigal/pull/318#issuecomment-376695660, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABvSjzpVvMppT9TKIOXH17Uf7yfLSPgLks5tirvsgaJpZM4SwX7F
.

--
Mark Tranchant


[scala][nnvm] add more nd functions and dtype support

add more functions
prepare for DTypes

#3084

please rebase after https://github.com/dmlc/mxnet/pull/3482 get merged


Web viewer will fail if the glTF model contains relative paths

Describe the bug
When I try to view a particular model in the Filament Web Viewer, it fails.
To Reproduce

Download the model below.
https://github.com/KhronosGroup/glTF-Sample-Models/tree/PearlGoldOliveCoveredGlassDish/2.0/IridescentDishWithOlives/glTF
Try to view the above model in Filament Web Viewer.
https://google.github.io/filament/viewer/
The following message will be output to the console and the model will not be displayed.

Unable to load texture: ./goldleaf_orm.png

Expected behavior
It is expected that the model will be displayed correctly.
Desktop (please complete the following information):

OS: Windows 10 + Chrome 91
GPU: NVIDIA GeForce RTX 2060
Backend: WebGL + ANGLE

Additional context
I think the reason why the display fails is because the model uses relative paths. However, the glTF specification allows relative paths to be used, so the expected behavior is to display the model correctly.
https://github.com/KhronosGroup/glTF-Sample-Models/blob/PearlGoldOliveCoveredGlassDish/2.0/IridescentDishWithOlives/glTF/IridescentDishWithOlives.gltf#L613-L645
"uri": "./goldleaf_orm.png"

Interesting bug, though not surprising since ResourceLoader does not canonicalize the URI's it finds in the glTF.  Currently it performs simple string comparison when looking inside its URI cache, so ./foo.png != foo.png.
(I wish that C++ provided a simple URI library.)

Even though our Path::getCanonicalPath function is designed for file paths rather than URI's, maybe I can leverage it to (basically) fix this.

I think I'm going to close this as a "will not fix", for the following reasons:

The author of this particular model removed the relative paths.
We actually do support relative paths, but we don't support non-canonical URI's in the glTF.
The glTF spec says:  While the spec does not explicitly disallow non-normalized URIs, their use may be unsupported or lead to unwanted side-effects — such as security warnings or cache misses — on some platforms.
Some competing viewers do not support relative paths either (e.g. PlayCanvas)
We don't want to add a C++ URL library to the Filament repo unless we have to.

I had a similar issue with PlayCanvas glTF Viewer, but it has now been fixed. (However, it seems that it has not been reflected in the live environment yet)
https://forum.playcanvas.com/t/the-viewer-will-fail-if-the-gltf-model-contains-relative-paths/20976
Also, Babylon.js Sandbox and Three.js glTF Viewer seem to be able to drag and drop even with relative paths.
It can be difficult to address if you have security concerns, but it would be great if many models could be viewed in an online viewer without modification.
BTW, for reference, it seems that Max2Babylon exporter was the reason why the model was given an unnecessary relative path.


Timeout when storing more than 1 part of the backup on dropbox

[2012/02/29 07:29:44][message] Performing Backup for 'Database backups model (database)'!
[2012/02/29 07:29:44][message] [ backup 3.0.23 : ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] ]
[2012/02/29 07:29:44][message] Database::MySQL started dumping and archiving 'db1'.
[2012/02/29 07:29:44][message] Using Compressor::Gzip for compression.
[2012/02/29 07:29:45][message] Database::MySQL started dumping and archiving 'db2'.
[2012/02/29 07:29:45][message] Using Compressor::Gzip for compression.
[2012/02/29 07:37:06][message] Database::MySQL started dumping and archiving 'db3'.
[2012/02/29 07:37:06][message] Using Compressor::Gzip for compression.
[2012/02/29 07:43:49][message] Packaging the backup files...
[2012/02/29 07:43:49][message] Using Encryptor::OpenSSL to encrypt the archive.
[2012/02/29 07:43:49][message] Splitter configured with a chunk size of 250MB.
[2012/02/29 07:45:12][message] Packaging Complete!
[2012/02/29 07:45:12][message] Cleaning up the temporary files...
[2012/02/29 07:45:13][message] Storage::Dropbox started transferring '2<IP_ADDRESS>.29.44.database.tar.enc-aa'.
[2012/02/29 07:45:13][message] Session data loaded from cache!
[2012/02/29 07:49:29][error] ModelError: Backup for Database backups model (database) Failed!
[2012/02/29 07:49:29][error]   An Error occured which has caused this Backup to abort before completion.
[2012/02/29 07:49:29][error]   Reason: Timeout::Error
[2012/02/29 07:49:29][error]   execution expired
[2012/02/29 07:49:29][error]
[2012/02/29 07:49:29][error] Backtrace:
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/timeout.rb:64:in rbuf_fill' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/protocol.rb:134:in rbuf_fill'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/protocol.rb:116:in readuntil' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/protocol.rb:126:in readline'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/http.rb:2028:in read_status_line' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/http.rb:2017:in read_new'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/http.rb:1051:in request' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/http.rb:1037:in request'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/http.rb:543:in start' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/1.8/net/http.rb:1035:in request'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:40:in do_http' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:89:in do_http_with_body'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:101:in do_put' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:380:in put_file'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:99:in transfer!' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:98:in open'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:98:in transfer!' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:79:in files_to_transfer_for'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:78:in each' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:78:in files_to_transfer_for'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:96:in transfer!' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:33:in perform!'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/open4-1.3.0/lib/open4.rb:121:in to_proc' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:245:in each'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:245:in perform!' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:243:in each'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:243:in perform!' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:74:in perform'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:65:in each' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:65:in perform'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in send' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in run'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in invoke_task' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in dispatch'
[2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in start' [2012/02/29 07:49:29][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/bin/backup:11 [2012/02/29 07:49:29][error]   /usr/bin/backup:19:in load'
[2012/02/29 07:49:29][error]   /usr/bin/backup:19
And I can see only the first part of the backup on dropbox.

I'd be interested to see if this hack makes a difference for you. c1987e17922d7637e26c906d3d12c13da78461ee
You can try this out by changing your Gemfile to:
gem 'backup',
  :git => 'git://github.com/meskyanichi/backup.git',
  :branch => 'issue_287'

Unfortunately, no difference
[2012/02/29 14:03:36][error] ModelError: Backup for Database backups model (database) Failed!
[2012/02/29 14:03:36][error]   An Error occured which has caused this Backup to abort before completion.
[2012/02/29 14:03:36][error]   Reason: Timeout::Error
[2012/02/29 14:03:36][error]   execution expired
[2012/02/29 14:03:36][error]
[2012/02/29 14:03:36][error] Backtrace:
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/timeout.rb:64:in rbuf_fill' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/protocol.rb:134:in rbuf_fill'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/protocol.rb:116:in readuntil' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/protocol.rb:126:in readline'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/http.rb:2028:in read_status_line' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/http.rb:2017:in read_new'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/http.rb:1051:in request' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/http.rb:1037:in request'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/http.rb:543:in start' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/1.8/net/http.rb:1035:in request'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:40:in do_http' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:89:in do_http_with_body'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:101:in do_put' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-sdk-1.1/lib/dropbox_sdk.rb:380:in put_file'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:102:in transfer!' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:101:in open'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:101:in transfer!' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:79:in files_to_transfer_for'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:78:in each' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:78:in files_to_transfer_for'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/dropbox.rb:99:in transfer!' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/storage/base.rb:33:in perform!'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/open4-1.3.0/lib/open4.rb:121:in to_proc' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:245:in each'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:245:in perform!' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:243:in each'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/model.rb:243:in perform!' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:74:in perform'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:65:in each' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/lib/backup/cli/utility.rb:65:in perform'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in send' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in run'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in invoke_task' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in dispatch'
[2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in start' [2012/02/29 14:03:36][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.23/bin/backup:11 [2012/02/29 14:03:36][error]   /usr/bin/backup:19:in load'
[2012/02/29 14:03:36][error]   /usr/bin/backup:19

Ok. I appreciate your patience :)
Let's try this once more and see what you get. Another hack to adjust some timeout values.
If you still have that Gemfile entry above, simply run bundle update backup to pull in the changes.
It's timing out waiting on a reply from the dropbox server.
Is this a physical machine, or in a virtual environment?
Could it be your I/O or CPU usage is being throttled, causing the backup process to hang long enough to lose your connection?

I don't think so, this is a cloud server with 8G RAM and 4 cores, which is mostly idling. I will try with the latest changes, and report back my findings :) Thanks a lot for help !

Wish I'd caught this or thought about it earlier :)
At this time, Dropbox only support uploads up to 150MB via the API.
This is supposed to be increased, but I'm not sure when. We'll just have to wait for their announcement.
Given the forum comments from other users, for now I would set the splitter to split_into_chunks_of 125
(or maybe even 100, just to be on the safe side ) so you won't have any problems.
Pretty sure this should fix you. Let me know.
For reference:
https://www.dropbox.com/developers/reference/api#files_put
http://forums.dropbox.com/topic.php?id=41923
http://forums.dropbox.com/topic.php?id=53032

Yes, it works. Thanks ! What is strange, the first 250Mb file was uploaded successfully many times, the second one was failing :)

Great!
If you like, you can change your Gemfile to point to the develop branch until the next gem release, since I updated the dropbox-sdk gem dependency.
gem 'backup',
  :git => 'git://github.com/meskyanichi/backup.git',
  :branch => 'develop'


test(tabs): add pagination & scroll component tests

#651  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


After updating from 3.4.4 to 3.10.1, content doesn't download and script crashes

When I rip content from models after updating to 3.10.1, the script will crash. I have attached my log.
ofscraper_main_profile_2024-06-06.log

I made a update so this issue should be fixed

The model_id and username are switched for some reason. Added print(username,model_id) to see why it is receiving an integer when downloading and got this: https://gist.github.com/demib72/fdf573ee6a478a282566678b6d9876d7

I made a update so this issue should be fixed

All fixed, thank you!


Metalness strange behaviour in model viewer using Oppo Realme Pro 5

Description
I noticed that the same 3d model appear very different inside model viewer if I use the device OPPO Realme Pro 5. In particular the problem is in the metalness value that is 0 and seems to be overwritten and the model appear completely metallic. This happens only in model viewer, when I go in AR mode the model appears correctly. I tried to see the model in the PC browser and in another Android device, always using chrome as browser, and the result is always correct. I noticed also that if I remove the normal map from the model the metalness returns correct also in the OPPO device.
Live Demo

https://www.areavisuale.it/ar/webxr2.html
the model is: https://www.areavisuale.it/ar/assets/giuditta6.glb

Browser Affected

[x] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

Versions

model-viewer: v0.10.0
three.js: rXX

Thanks for the report! This has the smell of a driver bug in that phone. There's a chance we can find a workaround for it in three.js (there are plenty of others there), but I don't have a phone to repro it on. Can you repro it here? If so, you can file a bug on three.js and it's more likely someone there might have the same phone.

I verified that the problem appear also in that viewer. I just written in the three.js forum

I believe this has been fixed.


look into handcash handles

http://handcash.io/api-docs/

However since handles look like they can only be created from the handcash app, it might be impossible to send from telescope to telescope wallet with a handcash handle.


Open Function*.memoized() for extension

@nfekete asked to keep the Memoized interface public in 3.0.0. This would require to also keep λ (public).
@paplorinc already remarked that our internal memoization cache might introduce a memory leak. There are two cases:

Cache elements are never invalidated in order to make the function pure: f(x) := y, i.e. for a specific x the y is fixed and never changes (regarding equals).
Elements might be removed from cache by GC, if no longer (hard) referenced. This requires y to be re-evaluated on subsequent f(x) calls

We could provide a memory-safe default memoized() function that allows to remove cached elements by GC (cache backed by s.th. similar to ReferenceMap).
However, if a different behavior is needed, then the user could provide it's own cache instance, e.g.
function.memoized(java.util.Map)
Furthermore we could allow to differentiate between thread-safe and non-thread-safe caching. If the user-defined cache/Map is synchronized by itself it does not need to be synchronized from the 'outside' by the memoized function.
function.memoized(java.util.Map, λ.Memoized.Characteristics)

where
interface λ {
    interface Memoized {
        enum Characteristics {
            THREAD_SAFE, NON_THREAD_SAFE, ...;
        }
    }
}

Starting with vavr-0.9.0 we will hide Lambda and Memoized.
However, thread-safety and cache invalidation are still an important topic that need to be covered in this issue.

(Checked)Function{1..8}.Memoized is now public


GraalVM JDK17

Please add support for GraalVM JDK17, it's officially available on their repository.

Does https://github.com/halcyon/asdf-java/ work for you with GraalVM?
It lists the correct versions of Java for a given GraalVM release.


Update errors.dart

Fix an exception when run in checked mode (fix https://github.com/dart-lang/rpc/issues/79).

@mkustermann, @sgjesse

LGTM, thanks


Devise redirecting Web request to the Token JSON API

I am using devise, both for web and mobile. The web authentication was working fine until I added the devise_token_auth gem. Once I added that gem, I changed the routes file to add a namespace:
  devise_for :users, controllers: { omniauth_callbacks: "omniauth_callbacks" }
  namespace :api do
    scope :v1 do
      mount_devise_token_auth_for "User", at: 'auth'
    end
  end

Now when I visit localhost:3000 on the web google chrome browser, I get a json text on the page:
{"errors":["Authorized users only."]}
Since I accessed the page on the web, I should not be getting json response, I should see the web page. What am I doing wrong?

+1 this issue

same issue here.

Hi there @JohnMerlino2    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.


fix(deleteFile): fixed delete file

Functionality:
Users can now delete files in organisation page
Solution:
made a separate method for delete and created the api file for it
Risk level:

[ ] high
[x] medium
[ ] low

How to test:
1)ng serve
2)firebase emulators:start
3)worktez.com
4)my organization
5)document
6)upload and delete file

Merge conflict not resolved properly and the delete fix was having all the changes from previous release


[cudapoa] add graph data structure

Adds graph class to C++ API
Add graph serialization to dot format

Addresses #157

A sample of a POA graph -


Geo vision/Honey well/Bosch camera- Delete user not working

Summary of the problem:
'Delete Users' API not deleting users.
Issue reproducible on below camera models:
Geo Vision GV-BX8700
Bosch DINION 6000HD
Honeywell HC30WB5R1
Repro steps:

add new test user as user/orator 'add user' api
Execute get users to verify newly created user details
Delete test user which is created in step 1 using 'Delete Users' API.
Execute get users api to verify deletion of test user.

Expected result: Delete users api deletes user successfully
Actual result: Not getting any error after executing delete users api, but its not deleting user.
Attached delete user API screenshot.

According to the spec https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl#op.DeleteUsers
[DeleteUsers]
      Username - unbounded; [string]

We put the following JSON data to delete users.
curl --location --request PUT 'http://<IP_ADDRESS>:59882/api/v2/device/name/Camera003/DeleteUsers' \
--header 'Content-Type: application/json' \
--data-raw '{
    "DeleteUsers": {
        "Username": ["Test1", "Test2"]
    }
}'

Verified on Geo vision and it works correctly. will test on Honeywell and Bosch cameras

I will add the postman script at this issue https://github.com/edgexfoundry-holding/device-onvif-camera/issues/47, I need time to verify the APIs with other issues.

verified in postman the following works for the boch camera
{
"DeleteUsers": {
"Username": ["Test1", "Test2"]
}
}

This issue can be closed


Provide ability to hide debug error

Issue Type: Feature Request
Thanks to a poorly written debugger by Adobe called ExtendScript Debugger, every time I debug .jsx files I will receive an error notification that one or more debug expressions in the Watch drop-down failed to evaluate.
Here's the error.
Here's the reason for the error.
I just double click the expression and then click off which will force it to refresh and display a proper value but the error notification in the bottom right obviously won't disappear from me doing that.
Can we get an ability to hide this error notification in settings? This would be useful since I am almost always forced to see this error even though it's just something that I can safely ignore.
Thanks.
VS Code version: Code - Insiders 1.43.0-insider (6ec6f9e3f4d17f0cef0480688a1f350b9141e567, 2020-02-17T05:42:20.509Z)
OS version: Windows_NT x64 10.0.18362

This error appears to be coming from inside the extendscript debugger, so you'll need to open an issue on them to fix it.
PS E:\Downloads\Adobe.extendscript-debug-1.1.2> rg "Switch Frame"
extension\dist\session\ESDebugRuntime.js
184:                reject("Switch Frame Timeout.");

This error appears to be coming from inside the extendscript debugger, so you'll need to open an issue on them to fix it.
PS E:\Downloads\Adobe.extendscript-debug-1.1.2> rg "Switch Frame"
extension\dist\session\ESDebugRuntime.js
184:                reject("Switch Frame Timeout.");

Ah I didn't think that that would have been the issue. Thanks for notifying me.


Expo Support

Can you provide any details on how to config for Expo workflow?

Hello. Have you gone through the expo-dev-client documentation linked in the docs?
https://docs.expo.dev/clients/getting-started/


Update to alert instead of fleet alert

Use updated Alert messages from rmf_task_msgs
requires https://github.com/open-rmf/rmf_internal_msgs/pull/71

Closing as a duplicate


WebText 2: high quality webpages scraped from Reddit links

Priority: medium

All of 2011 is scraped and saved using lm_dataformat. Scraping just finished 01/2012 and came out to 570mb.

@researcher2 how long do you expect the scraping to take?

Based off current trends, weeks.
I am now running an extra instance on Hetzner but the machine is maxed out. Estimate to complete 2012 is 1-2 more days. Similar for 2013. 2014 and 2015 likely 2-3 days each. 2016 3-4 days. 2017 5-7 days.  2018 7-9 days.  2019 11-13 days.
bmk has offered to run the scraper on multiple servers. He is starting with 2014-2016.

2012 will be done in 3.5 hours.

I have merged in the reddit metadata and filtered on combined submission score of 3 or greater. Currently generating minhashes for the remaining content on 3 different boxes, should take a few days. I have reduced the number of hash functions used by minhash to 10 in line with OpenAI implementation. After that I will be setting up Cassandra on Eleuther hetzner to perform the minhash lsh dedupe.


Can't Use The Data Table

Hello There, i can't call the  in my code . although the its already installed. no console error or anything but the tables didn't seems to appear. can you help?
"dependencies": {
"auth": "0.0.9",
"core-js": "^3.6.5",
"js-cookie": "^2.2.1",
"material-design-icons-iconfont": "^6.1.0",
"register-service-worker": "^1.7.1",
"sweetalert2": "^10.3.2",
"vue": "^2.6.11",
"vue-cli-plugin-axios": "~0.0.4",
"vue-cookies": "^1.7.4",
"vue-materialize-datatable": "^1.0.4",
"vue-router": "^3.2.0",
"vue-sweetalert2": "^3.0.8",
"vuelidate": "^0.7.5",
"vuetify": "^2.2.11",
"vuex": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-pwa": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"axios": "^0.21.1",
"node-sass": "^4.12.0",
"sass": "^1.19.0",
"sass-loader": "^8.0.2",
"vue-cli-plugin-vuetify": "~2.0.7",
"vue-template-compiler": "^2.6.11",
"vuetify-loader": "^1.3.0"
here is my dependencies

Maybe I can help you, it's working for me. From you're dependency, there seem to  be missing the materialize-css :     "materialize-css": "^1.0.0"
If it doesf't fix it, can you show the component code where you're using the datatable ?

Maybe I can help you, it's working for me. From you're dependency, there seem to  be missing the materialize-css :     "materialize-css": "^1.0.0"
If it doesf't fix it, can you show the component code where you're using the datatable ?

Datable is not responsive. Is there any prop to handle horizontal scroll on multiple columns without overflowing the table-header and table-footer?


Post.js file modification

Cherry picked the last commit- https://github.com/EmberTechWorks/Ember/commit/3a64ec2d05e7aecec8e3b8cb419ea553ff34d69f!
Thanks @preethasarkar!


Documentation and description parameters on fields in sessions.view.

GDXDSD-1292

hidden fields prevent power users from seeing them in explores.
They are hidden because they are unnecessary for users.

@ryrjanes I have updated the Analytics FAQ to explain why we have some hidden dimensions.


UHF-8729: Fix for hero block access checks

UHF-8729

What was done

Add check for hero block visibility based on the field_has_hero value

How to install

Make sure your instance is up and running on latest dev branch and has the latest database from testing. For example SOTE is good for testing this.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-8729_hero_access_fix

Run make drush-updb drush-cr

How to test

[ ] Check that the standard pages work with and without heros as they did before. Also check that landing pages with heros and without heros work normally.
[ ] Check the pages that had bugs before with title and hero appearing at the same time on the page. https://helfi-sote.docker.so/sv/social-och-halsovardstjanster/tjanster-for-barn-och-familjer/modra-och-barnradgivningarna/under-graviditeten and https://helfi-sote.docker.so/sv/social-och-halsovardstjanster/tjanster-for-barn-och-familjer/skolhalsovard/preventivradgivning-for-skolbarn-och-studerande
[ ] Check that code follows our standards

Codecov Report

Merging #544 (3baf950) into main (6152bde) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3baf950 differs from pull request most recent head ecd9dc8. Consider uploading reports for the commit ecd9dc8 to get more accurate results

@@            Coverage Diff            @@
##               main     #544   +/-   ##
=========================================
  Coverage     12.33%   12.33%
  Complexity      237      237
=========================================
  Files            31       31
  Lines           932      932
=========================================
  Hits            115      115
  Misses          817      817

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


Pip install web3

I can't seem to install web3 and its been giving me these errors

I had the same problem and I solved it here https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory/57698471#57698471
In my case I ran the following code:
sudo dnf install python3-devel

Thank you for that.

if you have windows here is solution

https://www.youtube.com/channel/UC7IeXmyzdIM1HWKoHfi_lng

I have the same issue but in mac, none of the above mentioned solutions work for me.

This issue is closed make a new issue so pro users of Mac can help you good luck


Update README.md

Since v2 is no longer in beta, unnecessary beta mentions should be removed

Thanks 👍


佇上傳stackoverflow的時陣，閣修一下

https://stackoverflow.com/a/45180059/3640653

Coverage remained the same at 83.582% when pulling ca942803f48d40895aa34a39f6a59ffd2f65ccfc on other_approches into 5a904d5e422a051afddfc9ca2407162ce4c8d9ca on master.

Coverage remained the same at 83.582% when pulling ca942803f48d40895aa34a39f6a59ffd2f65ccfc on other_approches into 5a904d5e422a051afddfc9ca2407162ce4c8d9ca on master.

Coverage remained the same at 83.582% when pulling ca942803f48d40895aa34a39f6a59ffd2f65ccfc on other_approches into 5a904d5e422a051afddfc9ca2407162ce4c8d9ca on master.


iox-#2023 Improve error messages

Pre-Review Checklist for the PR Author

[x] Add a second reviewer for complex new features or larger refactorings
[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[x] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[ ] Assign PR to reviewer

Notes for Reviewer

This PR adds the errno to the error message in the default case in the error translation switch statement. In addition it explicitly prints error messages for invalid file descriptors.
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Relates to #2023

Closed in favor of #2129


Update adding-typescript.md

Had an issue that I imagined would be sufficiently common and confusing that it might help someone else who adds TypeScript to an existing project.
The app worked with the instructions given; but because ESLint could not parse the TypeScript file, the error message overlay would appear (and wouldn't be hide-able) - it took me longer than I'd like to admit to work out where the error was coming from.

^ (I have since signed this)


Drag and drop images doesn't work on Mac

When i go to drag and drop images on my new Mac, after a minute or so of loading the page they all start to open in a new tab and i have to manually select the ones i want to use. Not having this issue on my PC, or other web pages, or even my old Mac it was never an issue. Confirmed with one of my friends and he is having the exact same problem.

Probably this bug was fixed by this commit https://github.com/dimdenGD/OldTweetDeck/commit/8278f3a48dacffecc4c947445561ea4fd3411074 .
Try latest version.
https://github.com/dimdenGD/OldTweetDeck/releases
I can upload image using drag and drop on macOS 13.6.4 and latest OldTweetDeck v3.5.3.

Still doesn't work for me. It only works initially for the first few mins then pics start opening in a new tab. I'm on the latest macOS Sanoma 14.3 and latest OldTweetDeck v3.5.4.


Class conflicts (e.g. font-awesome "fa")

Hey,
The name generation can clash with other classes, in my case there's been issues with font-awesome "fa", where elements where displayed inline-block.
Is there a way to avoid that?

There's the option to add a selectorPrefix to your renderer. Check out this example: http://fela.js.org/docs/advanced/RendererConfiguration.html
But it feels kinda verbose. e.g. _ so keep it small.

Ah, great! Thanks 👍


Upgrade thingspeak to 0.4.1 and use the correct API key

Description:
The handling of the API keys in the underlying module is not consistent in all parts. Thus to update values the  write_key needs to be used.
Related issue (if applicable): fixes #5663
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2017
Example entry for configuration.yaml (if applicable):
thingspeak:
  api_key: !secret thinkspeak_api
  id: 219860
  whitelist: sensor.random

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[x] New dependencies are only imported inside functions that use them ([example][ex-import]).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

I think @fabaff description should be correct. Otherwise open a new PR.


[ONAV-957] Add outdoornav URDF to Husky repo

CLosing this PR. Made a new one here: https://github.com/husky/husky/pull/280 with addressed comments


fix(57635): duplicate property name error when trying to overwrite early-bound prop with late-bound prop

Fixes #57635

As written in the issue, I noticed there's a conflict in which the late-bound member already exists as an early-bound member.
My naive approach was to remove earlySmybol from the if statement and see which tests are failing, and I saw that dynamicNamesErrors.ts was the only test to fail (https://github.com/microsoft/TypeScript/blob/main/tests/cases/compiler/dynamicNamesErrors.ts#L6-L12).
I thought there's a reason for that, and that Function should behave differently from Interface, but they appear to behave similarly in that case.
In the example below, you can see that when one prop is early-bound and the second is late-bound, there's an error pointing to duplication. However, when they are both early-bound or late-bound, there are no errors (TS Playground):
const c0 = "1";
const c1 = '1';

interface T0 {
    [c0]: number; // Error: Duplicate property '1'.(2718)
    1: number; // Error: Property '1' was also declared here.(2733)
}

// No errors
interface T1 {
    ['1']: number;
    1: number;
}

// No errors
interface T2 {
    [c0]: number;
    [c1]: number;
}

I think that regardless of whether we want to forbid or allow duplications in functions and interfaces, it should be consistent, and not inside lateBindMember.

@typescript-bot test top400
@typescript-bot user test this
@typescript-bot run dt
@typescript-bot perf test this faster
@typescript-bot pack this


With all due respect, I want to use this library, but I also want to use Dall-AI, how to extend it is better

Please.      Is there a good way to use it?

You can write something that uses ChatGPTClient directly and add your own Dall-E stuff on top of it


Add: Legacy procedural macro integration tests

Address issue #81.
These tests reflect the current state of play.
They ensure migrating to the pipeline set out in issue #113,
does not break existing functionality.
Signed-off-by: Mark Van de Vyver<EMAIL_ADDRESS>

While I believe these tests could happily land, once the CI configuration issue is resolved, there are a few of reasons to close this PR:

The CI configuration hasn't been resolved, as best I can tell, so there could be some gotcha lurking, and current-self and past-self are becoming estranged by the day :)
These test cases seem destined to eventually migrate to the minitrace-tests crate.
In intervening time, the benefit of these tests are for upstream, with the intervene time costs (see 1.) are for me.

For those reasons... closing.
Happy for this to be re-opened and merged if you want to, but I won't have bandwidth to help with any issues arising from 1. or from PR #127.


adds tool for superdsm

FOR CONTRIBUTOR:

[x] - I have read the CONTRIBUTING.md document and this tool is appropriate for the tools-iuc repo.
[x] - License permits unrestricted use (educational + commercial)
[x] - This PR adds a new tool or tool collection
[ ] - This PR updates an existing tool or tool collection
[ ] - This PR does something else (explain below)

The build fails with the error

Unsuccessful tests found, inspect the 'All tool test results' artifact for details.

despite that it worked when testing locally. How do I "inspect the 'All tool test results' artifact"? Does it mean to look for the "Planemo test" job? There it says that

There were problems with 1 test(s) - out of 1 test(s) executed. See tool_test_output.html for detailed breakdown.
ip_superdsm (Test #1): failed

Is it possible to access the tool_test_output.html produced by the remote build?


print() for py3

These are the only things I ran into problems with with python 3.

you should also add from __future__ import print_function so it still works with Python 2

https://github.com/alexandrebarachant/pyRiemann/search?utf8=✓&q=print

Oh, and to make it more explicit:
$/usr/bin/python
Python 2.6.6 (r266:84292, Aug 12 2014, 07:57:07)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print("hi")
hi
>>>

Here is mine:
Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec  6 2015, 18:08:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> x = 1
>>> print('The value of x is:', x)
('The value of x is:', 1)
>>> from __future__ import print_function
>>> print('The value of x is:', x)
The value of x is: 1

Yes, but in this case, it is literally only print('some_string') so I don't see any need to introduce an extra line. The rest of the (python 2) code is full of print('some_string') already, and no print_function.

otherwise print('some_string') looks like a function call, but it is not. It freaks me out :) But it's @alexandrebarachant's call of course.

That's all over mne too, isn't it? The examples for example all start with print(__doc__) and none import from __future__.

I don't think the Travis error is related to the commit?

Thanks a lot for checking the py3 compatibility.
Indeed, the travis error is not related to the issue.
I will rework a bit the travis integration for py3 testing.


Forceful disconnection

When closing out of the client with multiple Players online causes your own connection to be lost (and breaks future logins)

Reproduction steps:

Load three clients
Login with A
Login with B
Close client A
Login with C
Close client B

Ta da...

After further investigation this issue appears to be a deadlock on one of the Netty threads.

Index sorting was incorrect for the mob repository, after the order was out of sync [expected=(0 -> 1-> 0) actual=(0 -> 1 -> 2)] one of the Netty threads would lock.


Control register modulator units

Although it's theoretically possible to implement quite literally anything in A2S, scripts tend to become really complex and hairy when trying to modulate multiple aspects of a sound independently. Coding everything in A2S has its appeal philosophically, but in a production environment, it should probably be regarded as an advanced tool for odd situations.
So, it would be nice to have some other means of modulating control registers of units: The typical LFOs, envelope generators and the like, found in traditional synthesizers.
The normal mode of operation would be to set these up to directly write into control registers of voice units, as opposed to the normal writing them directly with A2S code.
An alternative mode of operation would be to just write the output values into VM registers for the A2S code to pick up and process as desired.
We could implement these things as voice units, if we extend the unit API with a way of sending control events, or otherwise writing control registers of other units. However, the number of sample frames to be processed has already been decided when units are processed, so we'd have to implement some sort of "early abort" logic for units to implement accurate timing for units writing to each other's control registers.

Simpler and more efficient solution:

Add control outputs!

Modulators? Conouts? Modouts?
A control output is much like a control register, but...
It has no write callback.
It's physically represented in a unit instance as two values; one for the start of the current fragment, and one for the end.
It's not mapped to a VM register. (Scripts could still read them directly, though; just need some extra VM instructions for that.)
Can be wired to multiple target registers.

Modulator units are ordinary units, though typically with only control registers and control outputs.
Modulator units run in the voice graphs like ordinary units.
Connections can theoretically be made against the voice graph processing order, but that results in undefined latency (typically A2_MAXFRAG samples), and ramping artifacts in conjunction with varying fragment sizes.


Port Reports to new Flask architecture

Comments welcomed.
@Gulfa/@mrjb: Would appreciate you both testing the Node dependencies (npm install), Bower dependencies (bower install) and the gulp build system (gulp) to check I haven't missed anything.
I still need to add this stuff to the Travis build script so we can test for that, but I'm presuming that it's ok to wait for a bit.

@Gulfa This all works now - ready for merging.

@kenners: Good work! Happy to for you to merge at any time.


Version number and author information not shown when displaying sub-command help

Like the tittle says, when running "PROGRAM help" I get the program's version number and author information displayed as expected. But when I run "PROGRAM COMMAND help", both disappear.
martin@jill ~/wks/steve/steve (master*) $ ./steve help
NAME:
   steve - lock'em up!

USAGE:
   steve [global options] command [command options] [arguments...]

VERSION:
   0.1.0

AUTHOR:
  Martín Raúl Villalba -<EMAIL_ADDRESS>
COMMANDS:
   stub, s	stub-related commands
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d			verbose output (as opposed to error-only output)
   --steve-dir, -s "~/.steve"	configuration and data storage directory (defaults to ~/.steve)
   --help, -h			show help
   --version, -v		print the version

martin@jill ~/wks/steve/steve (master*) $ ./steve stub help
NAME:
   steve stub - stub-related commands

USAGE:
   steve stub [global options] command [command options] [arguments...]

VERSION:
   0.0.0

AUTHOR:
  Author - <unknown@email>

COMMANDS:
   make		build a new stub
   import	import pre-built stub
   export	package and export stub in internal database
   verify	verify integrity and validity of all stubs in internal database
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h	show help

Hmm I think the bug is that the "app level" help information is shown at all (try steve stub -h).

With -h it works fine, but just h or help shows blank Version and Author. Why would it even bother showing that for sub commands anyway?

Agreed, I think that should not be shown.

:+1:

AFAICT this is resolved, but please yell if you disagree!


gddo: consider adding support for 'IMAGE:'

like for the tour and the playground which have support for displaying images, it would be great if gddo and godoc -http had support for displaying images (PNG,JPEG and, possibly, SVG).
this would be extremely useful for examples.
see:
https://play.golang.org/p/cDHAf2FuFa

@eaburns @kortschak @btracey

Hey @sbinet, the gddo project has its own issue tracker at https://github.com/golang/gddo/issues, mind moving this proposal there?

sure. this is now golang/gddo#517


error instantiating load balancer: no port is mapped for service

1 event.go:221] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"default", Name:"funky-dachshund-user-management-api", UID:"773a1be9-b574-11e8-a438-0efcaa12ceb0", APIVersion:"extensions/v1beta1", ResourceVersion:"2411357", FieldPath:""}): type: 'Warning' reason: 'ERROR' error instantiating load balancer: no port is mapped for service funky-dachshund-user-management-api and port name 3001
Not quite sure where to look here.    Working from examples trying to get this working on EKS.   Can post whatever info might be needed.

Figured this out.  I just had some bad matches on labels and selectors


store: using native content addresses for docker image layers

Today to pull and store docker images we use docker2aci which flattens a docker image into a single ACI image and then places it into the rkt store. This made sense when we started working on Docker integration at the time because Docker images did not have a content-addressable ID. Today, Docker images do have a CAS address so we should consider storing each layer in our own store using that address.
This will have a few advantages:

We can take advantage of cache hits when someone tries to download an image with a content-address we already have

We can avoid the costly content conversion of taking all of the layers and flattening the image

A user could reference or run a docker image by its CAS id.

Now, there are a number of things to sort out such as:

How do we support multiple CAS types, for example docker addresses are sha256
Do we create an ACI that just references the other layers and converts only the v1 image config? https://github.com/docker/docker/blob/master/image/spec/v1.md#image-json-description

@philips Thinking about this I can see different things that needs to be considered:
Independently from the availability of a digest or just using docker "imageID" the main difference between docker and the appc/spec it that a docker "image" is split in different parts depending on the different kind of manifest (see https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-1.md vs https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md):

The main manifest which contains the information for that specific REPOSITORY:TAG (fslayers, container config, or with manifest-v2-2 the different kind of mediaTypes):
The FSLayers
The container config

All of these in v2 should have a digest.
To match the current fetching/caching logic (https://github.com/coreos/rkt/blob/master/Documentation/image-fetching-behavior.md) the store should be able to cache all of these information and use them for the final image rendering.
The main weak point of the current implementation is that we are trying to convert a docker image to an ACI ahead of time and save it in the store, this is bad for different points:

we are generating an ACI for that specific REPOSITORY:[TAG|MANIFESTDIGEST] at time T. But in docker an user can change the assigned tag every time (this means creating a new manifest with a specified tag and different FSLayers) so the ACI will need to be regenerated every time (for this reason is not possible to cache docker2aci images).
we are assigning the the generated ACI a version that is the current tag. But as before this can change.
this is going to create confusion to the user because after fetching an image with docker://repository/tag doing a rkt image list we see an ACI with the name repository and version tag  and this "image format string" can be used to run that ACI.

The right solution that comes to my mind is:

Use a dedicated "cache" for docker data (for this reason dedicated rkt commands for docker data are needed since the rkt image subcommands are for the ACIs store)
Do not convert a docker image to an ACI ahead of time (saving it in the store), but just render it to an aci (using docker2aci) when rkt needs to execute it (and leverage rendered image caching with an adhoc implements of the TreeStore).

@dgonyeo Did docker2aci get the ability to pull by hash?

@philips Yes: appc/docker2aci#171

The ongoing work for native multiple image support types is tracked in #2541.

@dgonyeo @sgotti how do I use this?
$ rkt fetch --insecure-options=image  docker://quay.io/coreos/hyperkube@sha256:34ee686827bfc2f522c531aba745d82bf8c7c27f54e7641e05fcbf85f4d219e4
image: remote fetching from URL "docker://quay.io/coreos/hyperkube@sha256:34ee686827bfc2f522c531aba745d82bf8c7c27f54e7641e05fcbf85f4d219e4"
fetch: tag doesn't match what was requested, expected: latest, downloaded: v1.3.6_coreos.0

I think this is a bug because Tag will be empty but we actually don't care about checking the tag: https://github.com/appc/docker2aci/blob/master/lib/internal/backend/repository/repository2.go#L337

@lucab can you put fixing this bug in the next release milestone?

This has been addressed in https://github.com/appc/docker2aci/pull/207 and will land with next docker2aci bump.

Pulling by digest is fixed in 0.18.0, but I'm keeping the original ticket open as part of the multi-format store rework.


[0.4] Update core-foundation and cocoa deps

Required for a smooth update in gecko...

hope it builds on metal
bors r=gecko

nop it doesn't :(
bors r-

bors r=gecko

This is now used by https://phabricator.services.mozilla.com/D70432


[BUG] Using Vite alias resolver breaks when importing cart context

Describe the bug
I've set up Vite config to resolve alias imports and it works great for most things, but when I try to use alias imports on the CartToggle.client and CartUIProvider.client it breaks the app.
I might be missing something else here, it seems strange that all other components work except for the cart context and hook that are reliant on the CartUIProvider.
To Reproduce
The following StackBlitz link shows the issue. I've set up the Vite alias resolver and changed the import of one of the above mentioned components in the Header.client component as well as some of the other ones. Note that the app works again if you change line 5 to use relative imports. Changing line 4 to use alias breaks the app as well. https://stackblitz.com/edit/shopify-hydrogen-pev3j7?file=src/components/Header.client.jsx
Expected behaviour
Importing the above mentioned components should work as all other alias imports.
Additional context
Add any other context about the problem here. eg.

Hydrogen version: 0.13.2
Node version: 17.7.2

Hi! This example you provided is using 2 different paths for importing the same file:

Alias: ~/components/CartProviderUI.client
Relative: ./CartProviderUI.client

As a result, Vite is going to import the same code duplicated as 2 different files.
The problem you're seeing is because that specific file (CartUIProvider) exports a React context that must be unique. However, since the code is being duplicated, you get 2 different context object exported. The provider uses one version of it, but the consumers might be getting a different one and thus obtaining null as the return value.
You can easily fix this by using a unique and consistent import path: https://stackblitz.com/edit/shopify-hydrogen-ycuaqs?file=src%2Fcomponents%2FCartProvider.client.jsx
I'm going to close this issue because this is how Vite works internally and I don't think we can change anything in Hydrogen. If you think there's something for us to improve here, please let me know and we can discuss it 👍