[#461] Change StakeholderId to HashKey

Closes #461

n.b. We can disregard this comment if it isn't really a big deal.
Not opposed to this as I understand why we'd like to do this (in order to remain consistent with the naming in the Shelley specs) but I'd like to raise a couple of concerns with regard to the name, HashKey, and get your opinion on them @ruhatch :

In my opinion, based on the name, it's not entirely clear whether this data type represents the hash of a symmetric or some asymmetric key. i.e. Maybe we should include the term VerificationKey in the name.

Perhaps I'm being too picky but HashKey could sound like it represents a key which is used in some sort of cryptographic hash function rather than the hash of a key. For example, it could sound like the secret key which is utilized in constructing an HMAC (although, HmacKey would be a better name for that). i.e. Maybe we should swap the words Hash and Key such that we have a KeyHash.

So maybe something like VerificationKeyHash or KeyHash might be better?

My main concern here was getting inline with the spec terminology, so I'd ask @dnadales and @JaredCorduan to discuss the name HashKey in the spec

My main concern here was getting inline with the spec terminology, so I'd ask @dnadales and @JaredCorduan to explain the name HashKey from the spec

See https://github.com/input-output-hk/cardano-ledger-specs/pull/438#discussion_r281140393
I don't know if HashKey is the best name for the Byron spec, so I'm open to suggestions.

bors r+


modify developer's manual (2)

I'm not sure that this PR would pass. I modify the developer's manual for ae_shape. I guess the modificated manual represents the current situation correctly.

I guess the suggested description correctly represents the present implementation, and agree this PR is also acceptable to merge to the developer branch.
As a future plan, the GCEED will also support the pulse functions used in the ARTED part for the compatibility. Since it is not an immediate problem, I think we will resolve this when we have a time enough.


Fix some 'DeprecationWarning: invalid escape sequence' warnings and use str.format for string interpolation.

I am seeing a lot of deperecation warnings when I use moto for my tests (running under pytest), so I figured I'll clean up some of them.

Coverage remained the same at 94.141% when pulling 374b623e1d50d0ef9632a9e9bac6efa4fadc81ec on asherf:warns into c54e2ec0014245c0d589fc03bc31bac2c0e590ca on spulec:master.

Coverage remained the same at 94.141% when pulling 374b623e1d50d0ef9632a9e9bac6efa4fadc81ec on asherf:warns into c54e2ec0014245c0d589fc03bc31bac2c0e590ca on spulec:master.


Truffle install fails

When I try to install the Oraclize EthPM package in Truffle, I get the following error:
Error: Unknown server response 504 when downloading hash QmWrjVJkSUhpBbM7TR4hN1kxiuFjzhvEobEwtLgquaCfPi
    at ClientRequest.<anonymous> (/Users/.../node_modules/truffle/build/cli.bundled.js:132502:16)
    at Object.onceWrapper (events.js:293:19)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:191:7)
    at HTTPParser.parserOnIncomingClient (_http_client.js:522:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
    at TLSSocket.socketOnData (_http_client.js:411:20)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
error Command failed with exit code 1.

Installing a different package (I tried Zeppelin) does work.
I'm using Truffle version 3.2.8

The EthPM package is not up to date with the upstream Oraclize API and it seems like the old IPFS multihash is not being preserved anymore by running nodes. Thanks for reporting the issue, we'll update the package as soon as possible and update this issue accordingly. In the meantime you can download the latest oraclizeAPI.sol from here.

Thanks @bertani for updating the EthPM package. It works like a charm now.
Closing the issue.


Plugin activation error

I installed the addin (2.2.3) for blender 2.93 via the speckle manager application (v2.1.11).
Expected vs. Actual Behavior
When I try to activate it, I get the following error:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\bpy_speckle\__init__.py", line 56, in <module>
    from specklepy.api.client import SpeckleClient  # , SpeckleCache
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\api\client.py", line 6, in <module>
    from specklepy.api import resources
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\api\resources\__init__.py", line 10, in <module>
    imported_module = import_module("." + name, package=__name__)
  File "C:\Users\ABC\AppData\Local\Programs\Python\Python38\Lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\api\resources\branch.py", line 1, in <module>
    from specklepy.api.resources import stream
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\api\resources\stream.py", line 3, in <module>
    from specklepy.logging import metrics
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\logging\metrics.py", line 7, in <module>
    from specklepy.transports.sqlite import SQLiteTransport
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\transports\sqlite.py", line 9, in <module>
    from specklepy.transports.abstract_transport import AbstractTransport
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\specklepy\transports\abstract_transport.py", line 3, in <module>
    from pydantic import BaseModel
  File "pydantic\__init__.py", line 2, in init pydantic.__init__
  File "pydantic\dataclasses.py", line 3, in init pydantic.dataclasses
  File "pydantic\class_validators.py", line 8, in init pydantic.class_validators
  File "pydantic\errors.py", line 5, in init pydantic.errors
  File "pydantic\typing.py", line 23, in init pydantic.typing
  File "C:\Users\ABC\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\modules\typing_extensions.py", line 1493, in <module>
    def TypeAlias(self, parameters):
TypeError: __init__() missing 1 required positional argument: 'doc'

Reproduction Steps & System Config (win, osx, web, etc.)
Windows 10

Heya!
I've not seen this error before so I'm not sure what could be causing it, but it looks like it's somehow an issue with with typing_extensions and not specklepy or speckle-blender.
Do you have any other Blender addons installed that could be conflicting? If you can safely delete the ...\Blender\2.93\scripts\addons folder, give that a try and then uninstall / reinstall speckle-blender.
Could you also let me know what your blender's python version is? You can find this by heading to C:\Program Files\Blender Foundation\Blender 2.93\2.93\python\bin and double clicking the python executable. It should open a terminal which will show you what version you're on.

Hi!
Python version is 3.9.2. I have a few other addons installed. I deactivated all other addins, but I still get the error. I'll check the delete option and will report again.

I deleted the content of the addons folder and reinstalled the speckle addin, still the same error.

Hi, this is very strange!
As another check, could you please let me know what version of pydantic and typing_extensions you have in your addons\modules folder? It should be pydantic-1.8.2 and typing_extensions-4.0.0.
I will also have a look to see if there are any dependencies I can update in specklepy to push a new release of speckle-blender.

Pydantic is 1.8.2, typing extension is 4.0.0. However, I only have a typing_extension-4.0.0.dist-info folder and no typing_extension folder; is that a problem maybe?

Ok thanks for the info! Yes, typing_extensions will just be a file, not a folder. I will have a look to see if there's anything I can upgrade or change in the dependencies and get back to you.
Out of curiosity, is anyone else you're working with having this issue or is it just happening on your machine? If others are also experiencing it, is it with the same environment (eg blender 2.93, windows 10, speckle-blender 2.2.3/4)?

I'm just testing it myself, I'll check if I find someone to try it, too; maybe I'll find another machine and check if the problem persists.

heya!
v2.2.5 is building as we speak, so it should soon be available to install via Speckle Manager. what I've done is upgrade a few things in specklepy to see if this resolves the issue. I'm not confident that it will, but it's worth a shot I think to at least rule that out.
please let me know if anything is different after the upgrade!

hiya!
quick update: v2.2.7 completely changes the install process and hopefully removes any discrepancies in the install process from person to person. the bug you were having here is still quite mysterious to me, but may still be resolved by this new update. if you have a chance to test it, I would love to know if it works out for you 😊


feat: Make gossipsub configurable

I'm not sure what the consequences are to disable it, so maybe we don't want that at all? Eg. would that prevent 2 peers to discover each other and run bitswap with just mdns enabled?
cc @dignifiedquire

Eg. would that prevent 2 peers to discover each other and run bitswap with just mdns enabled?

no it would not, bitswap, dht and other discovery methods are independent from gossipsub


32bit ARMv7

Any way I can get any php driver to run on my raspberry pi 3? :(
Been looking around and nothing's coming up.. I dont know how to make my own

Actually this driver is pure PHP, so there is a chance it runs on ARM (though beware of https://github.com/duoshuo/php-cassandra/issues/45)

Actually this driver is pure PHP, so there is a chance it works on ARM (but look at #45).

Thanks for answering! :D
Would this work with the newest version of Cassandra?

Yes, though it uses native protocol v3.

What would I have to change when I use it for the new version?

Actually it works with Cassandra 3 versions, but without new features.


fix seed for bloom filter test where we use probabilistic bounds

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 98.713%

Files with Coverage Reduction
New Missed Lines
%

hll/include/Hll6Array-internal.hpp
1
93.55%

hll/include/CouponList-internal.hpp
1
95.05%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.01%

Covered Lines:
16880

Relevant Lines:
17100

💛  - Coveralls


Add an ISA requirement section

There are few ISA level requirements/strong recommendations that platform
should follow. Create an new subsection to contain all these requirements.
Move the user-level requirements from user.doc to here as well.
Signed-off-by: Atish Patra<EMAIL_ADDRESS>

Merged

Merged. Thanks.
Regards
Kumar
From: Atish Patra @.>
Sent: Saturday, July 24, 2021 10:30 PM
To: riscv/riscv-platform-specs @.>
Cc: Subscribed @.***>
Subject: [riscv/riscv-platform-specs] Add an ISA requirement section (#33)
There are few ISA level requirements/strong recommendations that platform
should follow. Create an new subsection to contain all these requirements.
Move the user-level requirements from user.doc to here as well.
Signed-off-by: Atish Patra @.***
You can view, comment on, or merge this pull request online at:
https://github.com/riscv/riscv-platform-specs/pull/33
Commit Summary

Add an ISA requirement section

File Changes

M Makefile
https://github.com/riscv/riscv-platform-specs/pull/33/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
(3)
M riscv-platform-spec.adoc
https://github.com/riscv/riscv-platform-specs/pull/33/files#diff-e2e67320afc3dbcf884d10778f562bfa141048bbccbf7be067df8813a55a66fd
(24)
D user-level.adoc
https://github.com/riscv/riscv-platform-specs/pull/33/files#diff-1d10d1d1a3a3b42a023da13bbb14b680bafcc95aaf22def56fa5c452125f39d6
(17)

Patch Links:

https://github.com/riscv/riscv-platform-specs/pull/33.patch
https://github.com/riscv/riscv-platform-specs/pull/33.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-platform-specs/pull/33, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLRGVXASJLELOA7WL7LVU3TZOOMJANCNFSM5A6FZAQA
.


#2445 Add min, value, and max labels to range knob

Issue: #2445
What I did
Added a simple display for the range slider for knobs of type Number: minimum on the left of the slider, and current value and maximum on the right of the slider.

How to test
Add a knob to a story: of type 'number' with range set to true. View the knobs panel for the story.
Expected: A slider appears with the minimum, current value, and maximum. The current value updates as you move the slider.
Is this testable with jest or storyshots?
No
Does this need a new example in the kitchen sink apps?
No (Appears in "official storybook" example).
Does this need an update to the documentation?
No

@jeffcarey nice.  this looks great.


ANSI Music

Hi,
Seems like you've found yourself a fun project :) I've watched your Youtube video and I'm not sure if you're aware (as you mention you aren't old enough to remember the BBS days) but there exists something like ANSI music and it's actually very similar to what you've done here with MIDI as the music sequences just get included in the .ANS file. Here's a reference and a tutorial (as originally included with 'ansiplay')
And this is what it looks/sounds like, (GitHub's player seems to mute by default, so switch sound on)
https://user-images.githubusercontent.com/6034441/115529518-436c5f00-a293-11eb-82ec-82fc00023362.mp4
If you ever feel like MIDI does not provide enough limitations to spark creativity, you might want to consider trying ANSI music :)

Nice, i have never heard of that, thanks for pointing it out. It does indeed look even more limited than MIDI but the syntax is surprisingly similar.


added 'RAPIDS AI' playlist under new 'Community Playlists' section

First Community Playlist: RAPIDS AI
"Collection of videos related to RAPIDS AI -- Open GPU Data Science"

@gumdropsteve i'm closing this PR, uploading the template, and am just asking you to merge your additions to the new template.  Thanks for your patience!


Date->TimeDiff() german grammar requirements

Date->TimeDiff() currently uses the time periods nominative plural to create strings like "2 months ago", which is fine for english and many other languages. In the german language (and others?) we need to make a difference between plural nominative and dative. Example:
Engl: "Three months have passed." = Germ. "Drei Monate sind vergangen." But:
Engl: "Three months ago." = Germ. "Vor 3 Monaten."

I suspect this is probably fixed now, since we use the intl extension for datetime formatting. Feel free to reopen if it's still an issue in SilverStripe 4.x.


JetPack 4.6 (L4T R32.6.1) Docker image with Jetson inference, how?

Hi @dusty-nv
I have installed Jetson inference on the Jetson Nano on the metal but now pulled and used prebuilt sudo docker pull nvcr.io/nvidia/l4t-ml:r32.6.1-py3 image and want to move Jetson Inference to docker, going through previous issues and readme I couldn't find a way to install and use it from docker?
What's the best way to get it working within that Docker image?
JetPack 4.6 (L4T R32.6.1)
l4t-ml:r32.6.1-py3
TensorFlow 1.15.5
PyTorch v1.9.0
torchvision v0.10.0
torchaudio v0.9.0
onnx 1.8.0
CuPy 9.2.0
numpy 1.19.5
numba 0.53.1
OpenCV 4.5.0 (with CUDA)
pandas 1.1.5
scipy 1.5.4
scikit-learn 0.23.2
JupyterLab 2.2.9

Got it


StackOverflowError on WebClient.getPage

URL: https://sustainability.asu.edu/person/angela-gonzales
version: 2.39.1
VM arguments: -Xmx4096m
The following code throws java.lang.StackOverflowError after more than 10 minutes .
`
WebClient client = null;
try
{
  client = new WebClient();
  client.getOptions().setCssEnabled(false);
  client.getOptions().setJavaScriptEnabled(false);
  client.getOptions().setTimeout(20000);

  Page page = client.getPage("https://sustainability.asu.edu/person/angela-gonzales");
  if (page != null && page.isHtmlPage())
  {
    HtmlPage htmlPage = (HtmlPage) page;
    System.out.println("html page downloaded");
    System.out.println(htmlPage.asText());
  }
}
catch (Throwable e)
{
  e.printStackTrace();
}
finally
{
  if (client != null)
  {
    client.close();
  }
}

`

`
java.lang.StackOverflowError
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
...........
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.FrameWindow.getTopWindow(FrameWindow.java:77)
at com.gargoylesoftware.htmlunit.html.HtmlPage.getBaseURL(HtmlPage.java:2316)
at com.gargoylesoftware.htmlunit.html.HtmlPage.getFullyQualifiedUrl(HtmlPage.java:699)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:182)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:124)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1919)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:251)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:561)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:420)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:337)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:198)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:124)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1919)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:251)
.........
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:561)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:420)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:337)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:198)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:124)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1919)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:251)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:561)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:420)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:337)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPageIfPossible(BaseFrameElement.java:198)
at com.gargoylesoftware.htmlunit.html.BaseFrameElement.loadInnerPage(BaseFrameElement.java:124)
at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1919)
`

I think i found the reason for this and was also able to create a test case.
Will work on the fix during the next days.
Thanks for the report.

Ok, regarding the reason - you  have disabled js and the page contains a noscript tag that contains a iframe like this

In fact this results in a call to the same url as the page itself but with a different query string. And this returns the page including a noscript tag.... and so on.
BTW this looks like one of the spy snippets like to be informed about the peoples not having js enabled also.
The trick in this case is the response for the iframe includes an X-Frame-Options: DENY header and this was ignored by HtmlUnit so far.
Have done some implementation and test for this. At the moment the ci build is running and if there are ne new errors i will make a new snapshot available soon (check twitter).

Outside of the fix itself i have to do some more work here to include more security check.

Ok, regarding the reason - you have disabled js and the page contains a noscript tag that contains a iframe like this

In fact this results in a call to the same url as the page itself but with a different query string. And this returns the page including a noscript tag.... and so on.
BTW this looks like one of the spy snippets like to be informed about the peoples not having js enabled also.
The trick in this case is the response for the iframe includes an X-Frame-Options: DENY header and this was ignored by HtmlUnit so far.
Have done some implementation and test for this. At the moment the ci build is running and if there are ne new errors i will make a new snapshot available soon (check twitter).

We are using this in our test environment for analysing the content of some SERP result urls for advancedwebranking.com. The error triggered a massive memory spike. In order to avoid it we enabled JavaScript. It will take more cpu, but we are still testing. We will decide later how we run it in live environment. Cpu cost on Amazon AWS will decide it. But with JavaScript it would be more accurate. I will be watching for the new snapshot.

Pixed with the latest snapshot build. Please try and inform me about your results.

It works now, both javascript enabled and disabled for https://sustainability.asu.edu/person/angela-gonzales
But I found another url, https://www.bizjournals.com/phoenix/bio/2711/Angela+Gonzales that messes up the memory when javascript is enabled

Please check this case too. Until then I will disable javascript.

Can you please open another issue - the root cause seems to be totally different.

I have found another url, http://israelmatzav.blogspot.com/ that triggers stackoverflow when javascript is disabled. It has some iframes in it.

and the iframe source http://www.jpost.com/JPTools/NewsTicker.aspx redirects to https://www.jpost.com//LandedPages/NewsTicker.aspx that has another iframe with http://www.jpost.com/JPTools/NewsTicker.aspx and so on. It might be helpful to have only some limited levels of iframes or keep a set of visited iframes so that we avoid an iframe visited twice.

Yes another funny case. Have written some test and will try to fix it.


fix(costmodel): update cost models store on success creation

closes #990

Codecov Report

Merging #991 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #991   +/-   ##
=======================================
  Coverage   75.56%   75.56%
=======================================
  Files         225      225
  Lines        4269     4269
  Branches      784      784
=======================================
  Hits         3226     3226
  Misses        943      943
  Partials      100      100

Continue to review full report at Codecov.

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


PowerPoint input test cases and documentation

@vickymhs @ArzaEshita Can you check what is the conflict here? If there are no conflicts, please go ahead and squash and merge


RISC-V Toolchain hardcoded in  CROSSDEV to riscv64-unknown-elf-

Hello world :-)
After being able to overcome kconfig and initial project configuration on FreeBSD, now I encounter problems with build toolchain. This problem also exist on Linux (Debian 10.10).
Toolchain seems to be hardcoded to riscv64-unknown-elf- with CROSSDEV variable.
On Linux Debian I have system package with:
$ uname -a
Linux vboxdebian 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

$ apropos riscv
riscv64-linux-gnu-addr2line (1) - convert addresses into file names and line numbers.
riscv64-linux-gnu-ar (1) - create, modify, and extract from archives
riscv64-linux-gnu-as (1) - the portable GNU assembler.
riscv64-linux-gnu-c++filt (1) - Demangle C++ and Java symbols.
riscv64-linux-gnu-elfedit (1) - Update the ELF header of ELF files.
riscv64-linux-gnu-gcc-ar (1) - a wrapper around ar adding the --plugin option
riscv64-linux-gnu-gcc-ar-8 (1) - a wrapper around ar adding the --plugin option
riscv64-linux-gnu-gcc-nm (1) - a wrapper around nm adding the --plugin option
riscv64-linux-gnu-gcc-nm-8 (1) - a wrapper around nm adding the --plugin option
riscv64-linux-gnu-gcc-ranlib (1) - a wrapper around ranlib adding the --plugin option
riscv64-linux-gnu-gcc-ranlib-8 (1) - a wrapper around ranlib adding the --plugin option
riscv64-linux-gnu-gprof (1) - display call graph profile data
riscv64-linux-gnu-ld (1) - The GNU linker
riscv64-linux-gnu-ld.bfd (1) - The GNU linker
riscv64-linux-gnu-nm (1) - list symbols from object files
riscv64-linux-gnu-objcopy (1) - copy and translate object files
riscv64-linux-gnu-objdump (1) - display information from object files.
riscv64-linux-gnu-ranlib (1) - generate index to archive.
riscv64-linux-gnu-readelf (1) - Displays information about ELF files.
riscv64-linux-gnu-size (1) - list section sizes and total size.
riscv64-linux-gnu-strings (1) - print the strings of printable characters in files.
riscv64-linux-gnu-strip (1) - Discard symbols from object files.

On FreeBSD I have system package with:
% uname -a
FreeBSD 0xCFMX4 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n247642-39a1ff43ad7: Tue Oct 12 12:31:41 CEST 2021     root@0xCFMX4:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

% apropos riscv
riscv32-unknown-elf-addr2line, addr2line(1) - convert addresses into file names and line numbers
riscv32-unknown-elf-ar, ar(1) - create, modify, and extract from archives
riscv32-unknown-elf-as(1) - riscv32-unknown-elf-as
riscv32-unknown-elf-c++filt(1) - riscv32-unknown-elf-c++filt
riscv32-unknown-elf-cpp, cpp(1) - The C Preprocessor
riscv32-unknown-elf-dlltool, dlltool(1) - create files needed to build and use DLLs
riscv32-unknown-elf-elfedit, elfedit(1) - update ELF header and program property of ELF files
riscv32-unknown-elf-g++, gcc(1) - GNU project C and C++ compiler
riscv32-unknown-elf-gcc, gcc(1) - GNU project C and C++ compiler
riscv32-unknown-elf-gcov, gcov(1) - coverage testing tool
riscv32-unknown-elf-gcov-dump, gcov-dump(1) - offline gcda and gcno profile dump tool
riscv32-unknown-elf-gcov-tool, gcov-tool(1) - offline gcda profile processing tool
riscv32-unknown-elf-gprof(1) - riscv32-unknown-elf-gprof
riscv32-unknown-elf-ld(1) - riscv32-unknown-elf-ld
riscv32-unknown-elf-nm, nm(1) - list symbols from object files
riscv32-unknown-elf-objcopy, objcopy(1) - copy and translate object files
riscv32-unknown-elf-objdump, objdump(1) - display information from object files
riscv32-unknown-elf-ranlib, ranlib(1) - generate an index to an archive
riscv32-unknown-elf-readelf, readelf(1) - display information about ELF files
riscv32-unknown-elf-size, size(1) - list section sizes and total size of binary files
riscv32-unknown-elf-strings, strings(1) - print the sequences of printable characters in files
riscv32-unknown-elf-strip, strip(1) - discard symbols and other data from object files
riscv32-unknown-elf-windmc, windmc(1) - generates Windows message resources
riscv32-unknown-elf-windres, windres(1) - manipulate Windows resources
riscv64-none-elf-addr2line, addr2line(1) - convert addresses into file names and line numbers
riscv64-none-elf-ar, ar(1) - create, modify, and extract from archives
riscv64-none-elf-as(1) - riscv64-none-elf-as
riscv64-none-elf-c++filt(1) - riscv64-none-elf-c++filt
riscv64-none-elf-cpp, cpp(1) - The C Preprocessor
riscv64-none-elf-dlltool, dlltool(1) - create files needed to build and use DLLs
riscv64-none-elf-elfedit, elfedit(1) - update ELF header and program property of ELF files
riscv64-none-elf-g++, gcc(1) - GNU project C and C++ compiler
riscv64-none-elf-gcc, gcc(1) - GNU project C and C++ compiler
riscv64-none-elf-gcov, gcov(1) - coverage testing tool
riscv64-none-elf-gcov-dump, gcov-dump(1) - offline gcda and gcno profile dump tool
riscv64-none-elf-gcov-tool, gcov-tool(1) - offline gcda profile processing tool
riscv64-none-elf-gprof(1) - riscv64-none-elf-gprof
riscv64-none-elf-ld(1) - riscv64-none-elf-ld
riscv64-none-elf-nm, nm(1) - list symbols from object files
riscv64-none-elf-objcopy, objcopy(1) - copy and translate object files
riscv64-none-elf-objdump, objdump(1) - display information from object files
riscv64-none-elf-ranlib, ranlib(1) - generate an index to an archive
riscv64-none-elf-readelf, readelf(1) - display information about ELF files
riscv64-none-elf-size, size(1) - list section sizes and total size of binary files
riscv64-none-elf-strings, strings(1) - print the sequences of printable characters in files
riscv64-none-elf-strip, strip(1) - discard symbols and other data from object files
riscv64-none-elf-windmc, windmc(1) - generates Windows message resources
riscv64-none-elf-windres, windres(1) - manipulate Windows resources
riscv64-unknown-freebsd13.0-addr2line, addr2line(1) - convert addresses into file names and line numbers
riscv64-unknown-freebsd13.0-ar, ar(1) - create, modify, and extract from archives
riscv64-unknown-freebsd13.0-as(1) - riscv64-unknown-freebsd13.0-as
riscv64-unknown-freebsd13.0-c++filt(1) - riscv64-unknown-freebsd13.0-c++filt
riscv64-unknown-freebsd13.0-cpp, cpp(1) - The C Preprocessor
riscv64-unknown-freebsd13.0-cpp9, cpp(1) - The C Preprocessor
riscv64-unknown-freebsd13.0-dlltool, dlltool(1) - create files needed to build and use DLLs
riscv64-unknown-freebsd13.0-elfedit, elfedit(1) - update ELF header and program property of ELF files
riscv64-unknown-freebsd13.0-g++, gcc(1) - GNU project C and C++ compiler
riscv64-unknown-freebsd13.0-g++9, gcc(1) - GNU project C and C++ compiler
riscv64-unknown-freebsd13.0-gcc, gcc(1) - GNU project C and C++ compiler
riscv64-unknown-freebsd13.0-gcc9, gcc(1) - GNU project C and C++ compiler
riscv64-unknown-freebsd13.0-gcov, gcov(1) - coverage testing tool
riscv64-unknown-freebsd13.0-gcov-dump, gcov-dump(1) - offline gcda and gcno profile dump tool
riscv64-unknown-freebsd13.0-gcov-dump9, gcov-dump(1) - offline gcda and gcno profile dump tool
riscv64-unknown-freebsd13.0-gcov-tool, gcov-tool(1) - offline gcda profile processing tool
riscv64-unknown-freebsd13.0-gcov-tool9, gcov-tool(1) - offline gcda profile processing tool
riscv64-unknown-freebsd13.0-gcov9, gcov(1) - coverage testing tool
riscv64-unknown-freebsd13.0-gprof(1) - riscv64-unknown-freebsd13.0-gprof
riscv64-unknown-freebsd13.0-ld(1) - riscv64-unknown-freebsd13.0-ld
riscv64-unknown-freebsd13.0-nm, nm(1) - list symbols from object files
riscv64-unknown-freebsd13.0-objcopy, objcopy(1) - copy and translate object files
riscv64-unknown-freebsd13.0-objdump, objdump(1) - display information from object files
riscv64-unknown-freebsd13.0-ranlib, ranlib(1) - generate an index to an archive
riscv64-unknown-freebsd13.0-readelf, readelf(1) - display information about ELF files
riscv64-unknown-freebsd13.0-size, size(1) - list section sizes and total size of binary files
riscv64-unknown-freebsd13.0-strings, strings(1) - print the sequences of printable characters in files
riscv64-unknown-freebsd13.0-strip, strip(1) - discard symbols and other data from object files
riscv64-unknown-freebsd13.0-windmc, windmc(1) - generates Windows message resources
riscv64-unknown-freebsd13.0-windres, windres(1) - manipulate Windows resources

In addition for that I can use compilers and utilities provided by Espressif's ESP-IDF that works both on Linux and FreeBSD (FreeBSD can emulate Linux ELF binaries) and I am using these with success to build Zephyr firmwares. I think ESP-IDF may also provide binaries for Windows and macOS.
% ls ~/.espressif/tools/zephyr
openocd-esp32           xtensa-esp32-elf
riscv32-esp-elf         xtensa-esp32s2-elf

% ls ~/.espressif/tools/zephyr/riscv32-esp-elf/bin
riscv32-esp-elf-addr2line       riscv32-esp-elf-gcov-dump
riscv32-esp-elf-ar              riscv32-esp-elf-gcov-tool
riscv32-esp-elf-as              riscv32-esp-elf-gdb
riscv32-esp-elf-c++             riscv32-esp-elf-gdb-add-index
riscv32-esp-elf-c++filt         riscv32-esp-elf-gprof
riscv32-esp-elf-cc              riscv32-esp-elf-ld
riscv32-esp-elf-cpp             riscv32-esp-elf-ld.bfd
riscv32-esp-elf-ct-ng.config    riscv32-esp-elf-nm
riscv32-esp-elf-elfedit         riscv32-esp-elf-objcopy
riscv32-esp-elf-g++             riscv32-esp-elf-objdump
riscv32-esp-elf-gcc             riscv32-esp-elf-ranlib
riscv32-esp-elf-gcc-8.4.0       riscv32-esp-elf-readelf
riscv32-esp-elf-gcc-ar          riscv32-esp-elf-size
riscv32-esp-elf-gcc-nm          riscv32-esp-elf-strings
riscv32-esp-elf-gcc-ranlib      riscv32-esp-elf-strip
riscv32-esp-elf-gcov

% cat ~/.espressif/tools/zephyr/riscv32-esp-elf/version.txt
<IP_ADDRESS>_64eb9ff-8.4.0

My questions:

Where this CROSSDEV is defined?
Are there are any objections to add Toolchain auto-detection based on what is already available out there on the host?

Any hints welcome :-)
Tomek

My questions:

Where this CROSSDEV is defined?

Here is the default value:
https://github.com/apache/incubator-nuttx/blob/master/arch/risc-v/src/rv32im/Toolchain.defs#L56-L70
https://github.com/apache/incubator-nuttx/blob/master/arch/risc-v/src/rv64gc/Toolchain.defs#L58-L60
But you can overwrite in your Make.defs as needed:
https://github.com/apache/incubator-nuttx/blob/master/boards/risc-v/rv32m1/rv32m1-vega/scripts/Make.defs#L25-L27

Thanks @xiaoxiang781216 and @Ouss4 (at the mailing lit) for the hints :-)
The quickest way to overcome this problem is to use make CROSSDEV=riscv32-esp-elf-.
I did some toolchain auto-detection in arch/risc-v/src/rv32im/Toolchain.defs:
RVTOOLCHAINS := \
  riscv64-none-elf-\
  riscv32-esp-elf-\
  riscv32-unknown-elf-\
  riscv64-unknown-elf

RVTOOLCHAINS_AVAILABLE := $(foreach rvtoolchain, $(RVTOOLCHAINS),\
  $(if $(shell which $(rvtoolchain)gcc), $(rvtoolchain) ) )

CROSSDEV ?= $(word 1,${RVTOOLCHAINS_AVAILABLE})
$(info "USING CROSSDEV: ${CROSSDEV}")

The problem is it auto-detects over and over during build, as the file is called multiple times, rendering build process inefficient. This is not the way to go, at least not in this location :-)
I have found only ESP-IDF riscv32-esp-elf- toolchain to build the firmware with success (on Linux and BSD). I did not try the riscv64-unknown-elf but this one seems to work for you.
Also I have verified following toolchains NOT to build the firmware out of the box:

FreeBSD system package riscv64-none-elf- has -lm linking problem at the end of build:

"USING CROSSDEV: riscv64-none-elf-"
AS:  chip/esp32c3_head.S
gmake[2]: Entering directory '/XXX/nuttx.git/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src'
"USING CROSSDEV: riscv64-none-elf-"
CC:  esp32c3_boot.c
CC:  esp32c3_bringup.c
CC:  esp32c3_appinit.c
CC:  esp32c3_board_wlan.c
AR (create): libboard.a   esp32c3_boot.o esp32c3_bringup.o esp32c3_appinit.o esp32c3_board_wlan.o
gmake[2]: Leaving directory '/XXX/nuttx.git/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src'
LD: nuttx
riscv64-none-elf-ld: skipping incompatible /usr/lib/libm.so when searching for -lm
riscv64-none-elf-ld: skipping incompatible /usr/lib/libm.a when searching for -lm
riscv64-none-elf-ld: cannot find -lm
riscv64-none-elf-ld: skipping incompatible /usr/lib/libm.so when searching for -lm
gmake[1]: *** [Makefile:145: nuttx] Error 1
gmake[1]: Leaving directory '/XXX/nuttx.git/nuttx/arch/risc-v/src'
gmake: *** [tools/Makefile.unix:420: nuttx] Error 2

FreeBSD system package riscv32-unknown-elf- has -lm linking problem at the end of build:

"USING CROSSDEV: riscv32-unknown-elf-"
AS:  chip/esp32c3_head.S
gmake[2]: Entering directory '/XXX/nuttx.git/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src'
"USING CROSSDEV: riscv32-unknown-elf-"
CC:  esp32c3_boot.c
CC:  esp32c3_bringup.c
CC:  esp32c3_appinit.c
CC:  esp32c3_board_wlan.c
AR (create): libboard.a   esp32c3_boot.o esp32c3_bringup.o esp32c3_appinit.o esp32c3_board_wlan.o
gmake[2]: Leaving directory '/XXX/nuttx.git/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src'
LD: nuttx
riscv32-unknown-elf-ld: skipping incompatible /usr/lib/libm.so when searching for -lm
riscv32-unknown-elf-ld: skipping incompatible /usr/lib/libm.a when searching for -lm
riscv32-unknown-elf-ld: cannot find -lm
riscv32-unknown-elf-ld: skipping incompatible /usr/lib/libm.so when searching for -lm
gmake[1]: *** [Makefile:145: nuttx] Error 1
gmake[1]: Leaving directory '/XXX/nuttx.git/nuttx/arch/risc-v/src'
gmake: *** [tools/Makefile.unix:420: nuttx] Error 2

Debian Linux system package riscv32-unknown-elf- has -lm linking problem at the end of build:

$ make CROSSDEV=riscv64-linux-gnu-
(...)
C:  bluetooth/bt_uuid.c
AR (create): libwireless.a   bt_buf.o bt_netdev.o bt_queue.o bt_hcicore.o bt_atomic.o bt_att.o bt_conn.o bt_gatt.o bt_ioctl.o bt_keys.o bt_l2cap.o bt_smp.o bt_uuid.o
make[1]: Leaving directory '/home/user/work/nuttx/nuttx.git/nuttx/wireless'
IN: wireless/libwireless.a -> staging/libwireless.a
make[1]: Entering directory '/home/user/work/nuttx/nuttx.git/nuttx/arch/risc-v/src'
AS:  chip/esp32c3_head.S
make[2]: Entering directory '/home/user/work/nuttx/nuttx.git/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src'
CC:  esp32c3_boot.c
CC:  esp32c3_bringup.c
CC:  esp32c3_appinit.c
CC:  esp32c3_board_wlan.c
AR (create): libboard.a   esp32c3_boot.o esp32c3_bringup.o esp32c3_appinit.o esp32c3_board_wlan.o
make[2]: Leaving directory '/home/user/work/nuttx/nuttx.git/nuttx/boards/risc-v/esp32c3/esp32c3-devkit/src'
LD: nuttx
riscv64-linux-gnu-ld: /usr/lib/gcc-cross/riscv64-linux-gnu/8/../../../../riscv64-linux-gnu/lib/libm.so: error adding symbols: file in wrong format
make[1]: *** [Makefile:145: nuttx] Error 1
make[1]: Leaving directory '/home/user/work/nuttx/nuttx.git/nuttx/arch/risc-v/src'
make: *** [tools/Makefile.unix:420: nuttx] Error 2

The best way to overcome link issue is to involve link process indirectly via compiler. Probably need to inspect makefiles and "translate" all link flags and add -Xlinker. In this way always the proper linker is involved. Also it opens the gate for higher density optimizations like LTO.

Thanks @pkarashchenko  :-) At the moment I am playing with MicroPython for rapid development in my current project. When it works I will get back to NuttX and porting MicroPython here.. so I wll again can play with native FreeBSD compilers and flags (so far I was using Espressif's Linux toolchains obtained with esptool that works fine here patches are in the upstream already).

Okay the quick fix is to provide CROSSDEV as the make/gmake parameter. For instance to use Espressif compiler:
gmake -j8 CROSSDEV=riscv32-esp-elf-

I will close the issue. Will provide the OS based autoselection over PR if I find a better solution :-)


[New Plugin]: MCLF Loader

Plugin Description
This plugin adds support for the Mobicore Loader Format. MCLF is used by MobiCore secure drivers and trusted applications.
Plugin Repository URL
Repo URL: https://github.com/v-rzh/mclf-binja-loader
Real Release

[X] I have made a real release

Sorry for the delay, this plugin has been added.


createEditorReadonly sets EditorView.editable.of(false)

First of all, thanks for this library!
I just had a small hiccup using createEditorReadonly along with
import { search, searchKeymap } from "@codemirror/search";

createExtension(() => [search(), keymap.of(searchKeymap)]);

Where the search would not show up in my "read-only" views.
The docs for state.EditorState^readOnly call out

Not to be confused with EditorView.editable, which controls whether the editor's DOM is set to be editable (and thus focusable).

So, for me, the fix was to replace my use of createEditorReadonly  with codemirror's EditorState.readOnly which allows focus and allows command-F to bring up the search panel.
createExtension(() => props.readonly ? EditorState.readOnly.of(true) : undefined);

I'm kind of thinking that createEditorReadonly should be deprecated and users should be encouraged to do the following instead?
createExtension(() => props.readonly ? EditorState.editable.of(false) : undefined);

( Unless there's some edge case in the behavior I'm not aware of that createEditorReadonly is solving. )
TL;DR

createEditorReadonly sets editable=false, which is confusing/mislabled because "read only" and "not editable" are two different concepts for codemirror.
createEditorReadonly seems to be an unnecessary entrypoint into the library, replaceable with a note in the documentation.

Hi, sorry for the late response but I was off.
Yes, the name of the function is wrong as you noticed. I made the extensions folder to group most behaviors that can be integrated easily with signals. In theory both editable and readOnly are unnecessary entrypoints as you said.
Would you like to open a pr for this?

Just saw your response.  I wouldn't mind making a PR but I'm mostly glad you've confirmed that there isn't some edge case (that we're aware of, anyway).


Custom moons stuck on "waiting for crew" on second game of session

Currently using multiple custom moon AND custom scrap mods. Since custom scrap does not spawn on custom moons by default, I wanted to use this mod to solve that. Whenever I open the game for the first time and host a file, it takes a really long time to load in, which I assume is the config files loading or something. All custom moons generate as expected with custom scrap. If I leave the file and start another one, it will load nearly instantly, but all custom moons will be stuck on "waiting for crew" when I try to load them (vanilla moons work fine). If I completely restart the game and start a new file, it will load for a long time again and custom moons will load normally, until I leave the file and start another one, which sticks me on "waiting for crew".

Can you provide a list of mods you are using, or a profile code? Also, are there any errors in the console? The long load times are indeed caused by the BepInEx configuration API binding each option for each config, and it is shorter the second time around because the mod only attempts to load the config files once, to save time. I don't know why custom moons but not the vanilla moons would be affected though.

Here is a test profile I used: 018cb35d-700e-f5b2-fe8a-669be8dae195
After testing a bit more and only using LethalQuantities and a custom moon mod, the problem still seems to persist. If I disable LethalQuantities and run the profile, everything works perfectly. I have not touched any of the config files for the custom moon since their creation.


Implement connect for higher order ember components

Experimental feature. See https://github.com/AltSchool/ember-cli-redux/issues/1 for background.
I've created a branch of a TodoMVC app that demonstrates connect.

This is interesting to me :) I thought we wouldn't get such things in ember world.
What's remaining for this to get through?

@matthewconstantine & @bstro, can this PR be closed? Connect is now part of one of the other redux PR's, right?

@bstro Can we close this?

We can go ahead and close this PR. We have already added connect to vishnu, and the next step forward would be to move vishnu from ember-cli-redux to ember-redux.


API Request for Mare Synchronos

There's now a plugin that allows syncing mods between players called mare synchronos ( https://github.com/Penumbra-Sync/server ), and it would be awesome if there was a way for these two plugins to interface. its dev says if there is an api of some sort, he could integrate it. not sure what the scope of that would be, but figured i would ask since i love being tall as hell in my stilletos.
thank you very much either way for your hard work!

I've spoken to them before, I would like to support this as well. I will look into doing this soon. Thank you!

Yes please!!

Support for Mare will be/is included in the 0.4.2 update!


[BUG] CI is failing

Describe the bug
PRs are being merged with failing CI, e.g. https://github.com/opensearch-project/cross-cluster-replication/runs/4688022016?check_suite_focus=true
Expected behavior
Passing CI before any more changes are made.

Tracking test failure issue in https://github.com/opensearch-project/cross-cluster-replication/issues/280

Resolving this issue as the changes are pushed to both main and 1.2 branches


producer.ready event doesn't fire on windows

var client = new kafka.Client(),
producer = new Producer(client),
payloads = [
{ topic: 'topic1', messages: 'hi', partition: 0 },
{ topic: 'topic2', messages: ['hello', 'world'] }
];
producer.on('ready', function () {
producer.send(payloads, function (err, data) {
console.log(data);
});
});
producer.on('ready',callback) never get's called on windows machine. Same code is running fine on mac. Are you aware of this ?

I am having this issue too. The same codeset above doesn't get fired even when I run it on uBuntu. Any ideas on how to get it to run payload.send()?


Ndr/cost model performance

Applies some minor modifications to the cost model to use iterators instead of allocating a vector for the cost model aggregation.
Also flattens the state variable coefficients, vehicle rates and network rates into a fixed size vector for index based lookup.

did this change make a dent in your profiles?

it did reduce the search runtime a bit but nothing to write home about. I'm hoping that there are some other areas we haven't touched that might result in even bigger gains..

did this change make a dent in your profiles?

Actually, when I tested this out on a national run it had more of an effect. Before these changes I got these numbers for running batches of long queries over the national graph:
average route runtime: 137.328 seconds
average seconds per distance: 0.10788 seconds
average milliseconds per tree edge: 0.02720 milliseconds

And after
average route runtime: 33.852 seconds
average seconds per distance: 0.02219 seconds
average milliseconds per tree edge: 0.00545 milliseconds

awesome! great stuff nick 👨🎤 🎸


Symbols for action buttons

add Opening/Closing/Stopping symbols to the action buttons

Fixed by #9


ci: Fail Zeus uploads on release branches only

Codecov Report

Merging #99 into master will decrease coverage by 1.62%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #99      +/-   ##
==========================================
- Coverage   68.67%   67.05%   -1.63%
==========================================
  Files          24       24
  Lines        2174     2173       -1
  Branches      296      296
==========================================
- Hits         1493     1457      -36
- Misses        570      599      +29
- Partials      111      117       +6

Impacted Files
Coverage Δ

sentry_sdk/_compat.py
50% <0%> (-30%)
:arrow_down:

sentry_sdk/integrations/celery.py
70% <0%> (-5%)
:arrow_down:

sentry_sdk/integrations/django.py
77.08% <0%> (-3.48%)
:arrow_down:

sentry_sdk/integrations/_wsgi.py
62.5% <0%> (-2.72%)
:arrow_down:

sentry_sdk/transport.py
59.37% <0%> (-1.57%)
:arrow_down:

sentry_sdk/integrations/flask.py
79.06% <0%> (-1.17%)
:arrow_down:

sentry_sdk/utils.py
64.05% <0%> (-1.06%)
:arrow_down:

sentry_sdk/integrations/sanic.py
80% <0%> (-0.19%)
:arrow_down:

Continue to review full report at Codecov.

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


Fixed #467: rephrased delete dialog (EN)

Description
Rephrased removal of history item in English
Will still need to be translated to other languages.
Related issues and discussion
#467
Checklist
Make sure you've done all the following (You can delete the checklist before submitting)

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Code is well documented
[x] Include unit tests for new functionality
[x] All user-visible strings are made translatable
[ ] Code passes Travis builds in your branch
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines .

Looks good, merging


deserializeConstructorParams errors with certain multisig construction params

This is an odd observation, since it seems to have just started happening. Some multisigs (potentially those that were created before mainnet?) error when trying to deserializeConstructorParams. Here is both a working and breaking example:
Breaking
constructor_params: "g4FVAddasreLsv6xz4axQS6WkW2AW0DDAQA="
outer message params: "gtgqUwABVQAOZmlsLzEvbXVsdGlzaWdYGoOBVQHXWrK3i7L+sc+GsUEulpFtgFtAwwEA"

Working
constructor_params: "hIJVASHGyCRMZSXZ8B8Vz9xt/7c8UepZVQGuJ9ilVJmCabRvCA8mQiWB2bGt7AEaAGA9gBoAAj6w"
params: "gtgqUwABVQAOZmlsLzIvbXVsdGlzaWdYOYSCVQEhxsgkTGUl2fAfFc/cbf+3PFHqWVUBrifYpVSZgmm0bwgPJkIlgdmxrewBGgBgPYAaAAI+sA=="

I think you are right. The breaking constructor_params is from an actor multisig that was in testnet. The parameters are missing the StartEpoch value and it is not standard.

Unfortunately they changed the actor spec but kept it as V1 fil/1/multisig so we can't tell at first glance.

No my bad. It was added in v2 and we don't support V1 multisig constructor.
Should I add support for it ?


petsc: petsc: init at version 3.7

Motivation for this change
new package petsc
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Add petsc, distributed solver adapted to large scale systems to nixpkgs

Hi Guys,
A pull request to support PETSc. PETSc is a major and well known distributed solver for very large problems developped by Argonne National Lab in the US.
It would be nice to have it inside Nix.
Adev

@joachifm  Hi Joachim,
Thank you for the review.
Sorry for the late answer, I was particularly busy currently.
I fixed the issues you mention :

I replace  fetchgit by fetchurl directly from the official website. I avoided to use directly Bitbucket. On my side, bitbucket is flaky and often cause fetchFromBitbucket to fail at 20-25% rate

stack rotector flag has been removed. Optimisations flags are however needed.


Real Estate Price Prediction Model

Created a Real Estate Price Prediction Model using ml algorithm like Random Forest,Lasso Regression etc  trained on relevant features that significantly impact real estate prices

Created a Real Estate Price Prediction Model

The model is good.Create a Main folder with name- Hedging with Real state and It will contain Bangalore Home prices and inside it put all the 3 files.

I have created  a Main folder with name- Hedging with Real state and It will contain Bangalore Home prices.csv inside it and other the 2 files.

@Akshat111111  sir please  change label and add levels to count in gssoc'24


#8 Add sum method to Collect

Solves issue #8
Hope it'll suit the codestyle :)

@RShalman Hey Roman, you're fast! Thank you for the PR :)
Can you please add a test for the sum command? I'm not sure whether you're still working on the PR, maybe I'm just a little too quick with my comment

@RShalman Hey Roman, I'm closing this PR in favor of #10. The other PR is more complete. Thank you for your work!
I know this looks mean from my side. I don't want to close you out of this project. This PR wasn't complete and I don't want to waste your time if the work is already done. If you want to contribute any further, I really appreciate your help!


Fix fma for complex numbers (std and xtl)

This is a really fast written fix for #387 let me know if I missed something ! ;)

Thanks for this PR, the code is really neat!
The error on Windows looks like a compiler issue, but I won't have the time to investigate it before next week.

Obsoleted by #445


Improve system for hiding breadcrumbs

The way we're hiding breadcrumbs isn't very scalable. We could consider having this as part of the Prismic model.

Will tackle breadcrumbs holistically across the site so putting this on ice for now.


Feature: Allow Column Resizing in Columns Layout

What feature or improvement do you think would benefit Files?
A feature which would greatly improve the look and feel of Columns Layout in Files would be resizable columns. There is currently no way to see long file names without clicking the item with Info Pane visible, or right clicking the item and clicking Properties for the file. I believe this issue also affects List Layout. This feature would improve Files by giving more flexibility/customization in the main view modes and allowing more information to be shown for a better overview of a directory's contents.

Requirements

This proposal requires a resize bar on each vertical column separator line in Column Layout, which can be dragged to change column width in Column Layout. This would be similar, if not identical, to the how resizing works in Details Layout.
This proposal will accomplish resizable columns in Columns Layout
This could also extend to List Layout which doesn't have a resize bar to increase the width of the visible contents.

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3593
Comments
No response

Thanks for the feedback, We're tracking this in #6534 . You can check there or click subscribe in the right sidebar for updates.


Use separate jenkins build and test process

jenkins, test this with java 11 please

jenkins, test this with java 11 please

Merged build finished. Test PASSed.

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

jenkins, test this with java 11 please

Merged build finished. Test PASSed.

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

@gpang FYI, compile with java 8, test with java 11.

@gpang  PTAL

Merged build finished. Test PASSed.

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

alluxio-bot, merge this please


'No Results Found' on search field when nothing matches the entered text

Is your feature request related to a problem? Please describe.
The Search Location/Essentials field on home page does not show "No Results Found" is the entered text matches no result. Feedback, in this case, is needed to suggest user reenter text in the field.
Describe the solution you'd like
Show "No Results Found" in results when nothing matches.
PS: If this suggestion is accepted please assign issue it to me. I would love to contribute it.

![Screenshot_20200503-201756](https://user-images.githubusercontent.com/11428805/80917225-44069f80-8d7b-11ea-9e4d-d072d76c5890.jpg
It is there in essentials page.

It's not on the home page. Similar should be added here

I can work on this issue

I can work too.

Are any one of you working? Because this is not under either of your names yet.

/claim


[FEATURE REQUEST] Purge/delete files of anon uploads

Is your feature request related to a problem? Please describe.
I wanna open my own instance for anyone, but it's not possible to delete some files or purge all anonymously uploaded files. It's needed for example deleting unnecessary files or cleaning storage.
Also it's not possible to do this via API, because anonymously uploaded files doesn't have owner id and it throws error
Describe the solution you'd like
Add page or update Users page to manage anonymously uploaded files.
And do fix API for purge possibility by admins

This is already implemented in the current version


Zelda 3T and OLB working with glitch

I have test the two games, finally easy to compile.
The two games works fine but with graphical glitch.
Zelda 3T has graphical glitch, is only in French and with text problems.
Zelda OLB has same problems + No Music !
But it is better than Zelda NSQ that have graphical problem + slow down. Maybe because this one is in 60Hz!
I have made some test and videos, i will try to see if Vincent can help us to fix it.
http://www.zeldaroth.fr/forum/viewtopic.php?p=45237#45237

Could be. I also have my pi overclocked so I might be seeing less issues because of it.

Do you think overclock add issues ?
I wish Vincent will answer me. To stand they come to SOLARUS. OLB will come in April 2018.
And a guy began to port Navi's Quest, i will try it too.
https://github.com/syllan/zelda-nsq-se

Found the sound (music) solution, we must install timidity and it's rock.
apt-get install timidity
You must add it to the install script to read midi files on Linux.

I don't know what this is referring to. I don't see you say anything about a sound problem before and I don't know which game you are talking about needing it?

The two Zelda games, 3T and OLB, with real official site source code, no GIT non official work with glitch.
They use MIDI music, and it doesn't work fine without timidity.
There are important because there are the sequel of the Zelda Return of the Hylian but they are not already ported to SOLARUS. It will take some years ...
Zelda Oni Link Begins - OLB will come on SOLARUS for 2018-05 if not in late ...
OLB FR : http://www.zeldaroth.fr/fichier/OLB/linux/ZeldaOLB-src-linux.zip
3T FR : http://www.zeldaroth.fr/fichier/3T/linux/Zelda3T-src-linux.zip
OLB US : http://www.zeldaroth.fr/us/files/OLB/Linux/ZeldaOLB_US-src-linux.zip
3T US : http://www.zeldaroth.fr/us/files/3T/Linux/Zelda3T_US-src-linux.zip
It's bad because i don't think it's was possible to choose LANGAGE on the Retropi-Setup / Extra ?
If not you must add 4 install scripts. The only different file was the text.cpp
If you can share the text here, only one game DL link is enough, i'm working on the french one to fix UTF-8 problem on our Retropie linux.
The .SH from source file i began last week.
zelda3t-olb.zip

The new one NSQ has no sound problem, and it's the same version for US and FR because it is a new engine :
http://www.zeldaroth.fr/fichier/NSQ/linux/ZeldaNSQ-src-linux.zip

I'll try taking a look at this sometime soon.

Solarus is in RetroPie itself now.


Negative annotation coordinates

When I annotate an image, I get negative values for selector coordinates. Can I please know why it is producing negative coordinates?
This is a sample coordinate:
xywh=pixel:-88.78811645507812,111.60940551757812,45.19615936279297,47.07933044433594

Do you have an online demo where this can be reproduced? Or at least some minimal information about what your setup looks like?

I am using Annotorious on my React web application. The application will be used to capture the screen and label various features in the frames. We will upload these frames along with annotations to our database. Then we compare the frames from this reference video with other videos to build some analytics.

To be specific I am displaying the image on canvas and providing a reference of the image to annotorious.
I have attached screenshots of the application for reference. Please let me know if you need further information.
Thanks and Regards,
Prithivin

Hi,

to be specific I am displaying the image on canvas and providing a reference of the image to annotorious.

Can you post the JSX/markup for this? Can you check in your browser console if there is a mis-alignment between the image and the SVG annotation canvas that Annotorious renders?
From your description, I assume you are handing a CANVAS elememnt to Annotorious, not an image? Do you have a version of the app online so I can check?

Hi,
The application is not deployed on our server yet. The screenshots attached were captured from running the application on localhost.
Here is the JSX code:
``
const ScreenAnnotator = (props) => {
// Ref to the image DOM element
const imgEl = useRef();

// Ref to file uploader
const uploader = useRef(null);

// The current Annotorious instance
const [anno, setAnno] = useState();

// Current drawing tool name
const [tool, setTool] = useState('rect');

// ImageList
const [imageList, setImageList] = useState([]);
const [index, setIndex] = useState(0);

// AnnotationList
const [annotationDict, setAnnotationDict] = useState({});

// File uploader machine
const [current, triggerUploader] = useMachine(fileUploaderMachine);

const [error, setError] = useState(null);
const [basicAlert, setBasicAlert] = useState(null);
const [mediaform, setMediaform] = useState(null);
// Init Annotorious when the component
// mounts, and keep the current 'anno'
// instance in the application state
useEffect(() => {

    let annotorious = null;

    if (imgEl.current) {
        // Init
        annotorious = new Annotorious({
            image: imgEl.current
        });

        // Attach event handlers here
        annotorious.on('createAnnotation', annotation => {
            console.log('created', annotation);
            setAnnotationDict((dict) => {
                let temp = {};
                if (imageList[index]['timestamp'] in dict) {
                    temp = dict;
                    temp[imageList[index]['timestamp']].push(annotation);
                }
                else {
                    temp = dict;
                    dict[imageList[index]['timestamp']] = [annotation];
                }
                return temp;
            })
        });

        annotorious.on('updateAnnotation', (annotation, previous) => {
            console.log('updated', annotation, previous);
            setAnnotationDict((dict) => {
                let temp = dict;
                let timestamp = imageList[index]['timestamp']
                for (let i = 0; i < temp[timestamp].length; i++) {
                    if (temp[timestamp][i]['id'] === previous['id']) {
                        temp[timestamp][i] = annotation;
                        break;
                    }
                    else {
                        continue;
                    }
                }
                return temp;
            });
        });

        annotorious.on('deleteAnnotation', annotation => {
            console.log('deleted', annotation);
            setAnnotationDict((dict) => {
                let temp = dict;
                let timestamp = imageList[index]['timestamp'];
                let newArray = temp[timestamp].filter((obj, index) => (obj.id !== annotation.id));
                temp[timestamp] = newArray;
                return temp;
            });
        });
    }

    // Keep current Annotorious instance in state
    setAnno(annotorious);

    // Cleanup: destroy current instance
    if (annotorious !== null) {
        return () => annotorious.destroy();
    }
}, [index, imageList]);
    return (

Annotate Frame of Reference and its features

                {(basicAlert !== null) && (<BasicAlert alert={basicAlert} close={() => { setBasicAlert(null) }} />)}
                <ErrorHandler error={error} />

                    <Box className="avatar-studio-questionnairebox" sx={{ justifyContent: "space-evenly", display: "inline-flex" }}>
                        <Paper elevation={4}>
                            <Box className="videobox">

                            </Box>
                        </Paper>
                    </Box>

                <FileUploader id="uploader" ref={uploader} mediaForm={mediaform} onUploadCallback={handleUploadSuccess} onErrorCallback={handleError} onUploadFailure={handleUploadFailure} />
                <Box className="buttonbox" sx={{ justifyContent: "space-evenly", display: "inline-flex" }}>
                    <Box className="buttons">
                        {(!current.matches('uploaded')) ?
                            (<Button variant="contained" fullWidth={true} onClick={upload}>Upload</Button>) :
                            (<Button variant="contained" fullWidth={true} onClick={upload} disabled>Upload</Button>)}
                    </Box>
                </Box>

                    <ScreenCarousel show={5} style={{ height: "100%" }}>
                        {
                            imageList.map((item, index) =>
                                <Card sx={{ width: '10vw', height: '10vh', maxWidth: '10vw', mx: "1vw", my: "1vh", maxHeight: "10vh" }} onClick={() => { selectImage(index) }}>

                                </Card>
                            )
                        }
                    </ScreenCarousel>

    );
}

}
``
Please let me know if you need further info.
Thanks and Regards,
Prithivin

Looks all sensible. But hard to tell without being able to inspect the actual DOM in the browser console. I'm noticing you are changing the Annotorious instance when the index changes, but not when imgRef.current changes. Perhaps that's causing situations where the annotation canvas still has the size of the previous image?

Hi,
I have fixed the issue. The error was due the size of the Box element that I used to wrap the image element. Thank you for your time.
Regards,
Prithivin.

Great - good to hear it's working now!


Remove unneeded issue templates

closes #945
What does this PR do?
Removes Issue Template in favour of our GitHub Discussions

Good point @BOLT04 👍🏻 But I think that in the README.md there is already a similar notice


Introduce field from constructor #241

@giggio Code improved!

@carloscds I have added another commit for some cases, see the tests I added.
Also, fix all is not working and there is a name clash we need to fix. See #266 and #267. Do you want to fix those?


fix RGB32->RGB32 composition with tile issue

set output_background_color to fix RGB32->RGB32 composition with tile
incorrect output issue
Signed-off-by: Yuqin Wei<EMAIL_ADDRESS>

If output_background_color is not 0, we will do color fill in VPP, hence fixed the corruption. If it is 0, no color fill is called.

@FurongZhang , what does 0xff000000 magic value mean?

It means alpha 0xff, but rgb or yuv is all 0.


Release assets don't match repo structure

The release assets helpfully produce tarballs that make recent releases look like old releases. This has avoided breaking users that update from release to release.

 rules_pkg-0.2.4.tar.gz
$ curl -sLo -  https://github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz | tar tzf -
./
./BUILD
./README.md
./__init__.py
./archive.py
./build_tar.py
./build_zip.py
./deps.bzl
./helpers.py
./make_deb.py
./make_rpm.py
./path.bzl
./pkg.bzl
./rpm.bzl
./version.bzl
./releasing/
./releasing/BUILD
./releasing/__init__.py
./releasing/defs.bzl
./releasing/print_rel_notes.py
./releasing/release_tools.py

Unfortunately, that creates a divergence with the structure of the repo. Users that either follow commits on master or switch from releases to commits (to, say, get a particular fix before the next release) will observe strange-seeming issues like:
ERROR: error loading package '': Every .bzl file must have a corresponding package, but '@rules_pkg//:deps.bzl' does not have one. Please create a BUILD file in the same or any parent directory. Note that this BUILD file does not need to do anything except exist.
ERROR: error loading package '': Every .bzl file must have a corresponding package, but '@rules_pkg//:deps.bzl' does not have one. Please create a BUILD file in the same or any parent directory. Note that this BUILD file does not need to do anything except exist.

That's because :deps.bzl is actually pkg:deps.bzl in the repo.
This divergence seems unusual given my experience with other rules_* projects (go, nodejs, etc). With those projects, I am mostly able to flip between releases, commits, and my own forks. I can imagine that the history of rules_pkg makes that different or harder.
Is this expected? Do you intend to close the gap between release assets and the repo structure in the future?
Thanks!

This also seems to have the effect that new rules don't get included in releases. For example,
https://github.com/bazelbuild/rules_pkg/releases/tag/0.2.5 mentions it adds a

Experimental rule set for better package content control (pkgfilegroup)

https://github.com/bazelbuild/rules_pkg/pull/128 added that rule to genpkg.bzl, with tests indicating it should be loaded like:
load("@rules_pkg//experimental:genpkg.bzl", "pkgfilegroup")

However, there is no experimental folder or genpkg.bzl in the release for which the release notes mention it was added:
$ curl -sLo -  https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz | tar tzf -
./
./BUILD
./README.md
./__init__.py
./archive.py
./build_tar.py
./build_zip.py
./deps.bzl
./helpers.py
./make_deb.py
./make_rpm.py
./path.bzl
./pkg.bzl
./rpm.bzl
./version.bzl
./releasing/
./releasing/BUILD
./releasing/__init__.py
./releasing/defs.bzl
./releasing/print_rel_notes.py
./releasing/release_tools.py
./releasing/release_tools_test.py
./releasing/update_changelog.py

cc @aiuto @nacl

Bah.  Let me take a look.

The release does not match because we have two different projects inside this repo.

There are rules for consuming debian packages. AFAIK, no one is maintaining these. The
docker rules may be the path forward there.
There  rules under pkg for building packages of various types.

The later set is essentially a separate release set from the first (which actually has no releases).
I am explicitly packaging releases to be rules for consumption, so that they do not contain dependencies on things needed to develop the rules, such as stardoc. The releases will always be a subset of the repo source.
If we ever drop the debian package using rules, we could then lift the WORKSPACE from pkg up a level and make release and source identical. Getting the  tar, deb, rpm, & zip rules to a better state is a far higher priority right now.

This really needs to be documented on your front page. Ended up here after much confusion.
If you need to create two separate repos to normalize this, please do so. People's time is valuable.

I want to understand user expectations and actual needs.
@whilp  says:

This divergence seems unusual given my experience with > other rules_* projects (go, nodejs, etc). With those projects, I am mostly able to flip between releases, commits, and my own forks. I can imagine that the history of rules_pkg makes that different or harder.

I am used to the world of C software, where source trees exist, but people don't use the source in-situ. They build the source, install it somewhere, and use the result. Things get packaged.  To me, having the source tree and the distribution package match structure is a strange constraint. In this case, I packaged the package rules so that the at user run time, the BUILD files should not depend on anything the user does not need.  With explicit intent, we strip out the need to bring in stardoc or anything needed to build the distribution. In a more extreme case, imagine that we needed a code generator written in Kotlin. I can structure the distribution build so we bring in Kotlin only to generate something, then we use that in the final distro. It would be wrong to distribute files that could require a user to depend on kotlin, because they did something like  bazel test //external/rules_pkg/....
Let's take the case of a casual user wanting to go right against git commits. I'm going to declare that is just unsupported. I want the right to keep head at an intermediate, unsupported state. The releases are what we publish.
The more interesting case is @whilp's of using your own fork.  That is reasonable, because you take on the risk that you are using/making unsupported code, but the contract is explicit. For that, it seems like you could have the rules_pkg repo alongside your main workspace (or in the same SCM) with a local_repository rule that points into rules_pkg/pkg.
The question is what doc changes are needed.

Is this is just a matter of outlining a better cookbook of how to cope with the divergence for different use cases.
do I really need to say don't point directly to github commits?  I may be showing my biases towards known code provenance by not even considering that - but if people really do that, I can add a warning against that.
does my example of the workflow for keeping your own dev branch work for you?

@aiuto the reason I needed to run a fork is because of bugfixes like #97 not being merged. My typical workflow for a fork is to fix an issue, get some real-world usage, and run on the fork while working with upstream to get the problem fixed.
Pointing to a github commit of my own fork containing bugfixes so that the artifacts produced are usable while waiting for upstream to respond is not abandoning code provenance.
Please do add the warning against pointing to git commits, it would have saved some headaches, as I would have realized that it was necessary to publish my own releases rather than pointing to a commit. I do not consider importing the rules_pkg repo into each consuming projects source tree and using local_repository a reasonable workaround.

It's really simple: all the other projects work like that, and the way that this one doesn't manifests in a cryptic error message which, if you're not that familiar with Bazel, makes the user waste a lot of time in figuring out what's going on.
Two possible ways out of this:
a. Keep it as is - it's your right after all- but please write something on the front page telling users "If you get error message XX, it's because YY and here's how to use the project from head." (or maybe that you just cannot). Make it explicit. Because a lot of users will try to use it from head.
b. Give in and make it like all the other projects.
(a) will avoid people wasting their time (but still cannot use from HEAD).
(b) will make a lot more people use this seamlessly.


npm run dev

const policies = this.options.render.csp.policies ? {...this.options.render.csp.policies} : null
SyntaxError: Unexpected token ...

This question is available on Nuxt community (#c7403)

Duplicate: #c7411
Also, try to create better topic names. This one says nothing about the problem.


Issue with iOS 16

Describe the bug
Same code used to work fine on iOS up to 15. However, users who recently updated their iOS to 16 reported that they no longer see the AR icon in the model anymore. So the modal still shows fine, but the AR button at the bottom of the view disappeared.
We verified this by running same code on iPhone/iPad versions 13,14,15 with no problem, however, when we test with iOS 16, the icon disappears.
To reproduce
Steps to reproduce the behavior:

Run your code example on any iOS 16 machine
The viewer should open fine and you should be able to see the model fine
The AR icon that is supposed to appear in the view no longer shows up. Hence you cannot view the model in AR using your camera.

Expected behavior
Model viewer should show the AR button
Screenshots
Smartphone (please complete the following information):

Device:  actual iPhone6 & iPad device. As well as iPhone/iPad simulators
OS: iOS 16+

I have the same issue and I'm interested in any follow up information.

@Panyeczky  I am still waiting for a response from the authors of this plugin. It still does not work on iOS 16+

Sorry for a late reply. I'm not an iOS developer, so I want to add a "help wanted" label for this issue.
After some searching, here are some information I can provide:
Because this package uses webview_flutter to display a web page (you can see here), on iOS webview_flutter uses WKWebView.
According to an issue's comment on WebKit Bugzilla :

AR Quick Look is not supported directly in WKWebView clients (this is a bug we want to fix). Some browsers might implement their own code to intercept the navigation and display their own "Quick Look" view, but there is no API for those clients to tell the WKWebView they are doing it.

According to a comment under USDZ AR QuickLook support in WKWebView inconsistencies:

AR Quick Look isn't yet supported in WKWebView

This PR of model-viewer gave us an test website. I use webview_flutter to open it, it turns out that the WKWebView used by webview_flutter does not support "Quick Look" view -- that's why the AR button disappear.

Currently I have no idea about how to solve the issue😢
References:

canActivateAR returns false positive in iOS WKWebView
Chrome on iOS 16 not displaying AR button
model-viewer not working inside the WKWebView on iOS
[Question] : social networks in-app browser

@Foldblade  thanks for update. This should help plugin developers tackle the issue. I still cannot understand how this works just fine on iOS <16

Before iOS 16, due to the bug of WKWebView, <model-viewer> thinks WKWebView supports AR, so the AR button will be displayed.
After iOS 16 and some updates of <model-viewer>, currently <model-viewer> thinks WKWebView does not support AR.
There was one issue related with AR on iOS 15: #8, you may take a look and know how I solved it in commit 7974cd. I used url_launcher to open the usdz file in SFSafariViewController, so user can view the model in AR Quick Look. But now since the AR button shows no more, this solution is also ineffective.😥

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart'
    show ByteData, NetworkAssetBundle, rootBundle;
import 'package:path_provider/path_provider.dart';
import 'package:quick_look/quick_look.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('QuickLook for iOS'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              TextButton(
                  onPressed: () async {
                    const path = 'Astronaut.usdz';
                    final ByteData byteData = await NetworkAssetBundle(Uri.parse(
                            "https://developer.apple.com/augmented-reality/quick-look/models/nike-air-force/sneaker_airforce.usdz"))
                        .load("");
                    final String directory =
                        (await getApplicationDocumentsDirectory()).path;
                    final tempFile = await File('$directory/$path')
                        .writeAsBytes(byteData.buffer.asUint8List(
                            byteData.offsetInBytes, byteData.lengthInBytes));
                    await QuickLook.openURL(tempFile.path);
                  },
                  child: const Text('Open single demo usdz',
                      style: TextStyle(fontSize: 36),
                      textAlign: TextAlign.center)),
            ],
          ),
        ),
      ),
    );
  }
}

This is the answer using 'quick_look' package you can use local or .usdz from web. You can add buttons beneath model viewer model by checking Platform.isIOS .

This might help https://www.youtube.com/watch?v=fzoQNuGy8Ns

any updates here?

any updates?

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart'
    show ByteData, NetworkAssetBundle, rootBundle;
import 'package:path_provider/path_provider.dart';
import 'package:quick_look/quick_look.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text('QuickLook for iOS'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              TextButton(
                  onPressed: () async {
                    const path = 'Astronaut.usdz';
                    final ByteData byteData = await NetworkAssetBundle(Uri.parse(
                            "https://developer.apple.com/augmented-reality/quick-look/models/nike-air-force/sneaker_airforce.usdz"))
                        .load("");
                    final String directory =
                        (await getApplicationDocumentsDirectory()).path;
                    final tempFile = await File('$directory/$path')
                        .writeAsBytes(byteData.buffer.asUint8List(
                            byteData.offsetInBytes, byteData.lengthInBytes));
                    await QuickLook.openURL(tempFile.path);
                  },
                  child: const Text('Open single demo usdz',
                      style: TextStyle(fontSize: 36),
                      textAlign: TextAlign.center)),
            ],
          ),
        ),
      ),
    );
  }
}

This is the answer using 'quick_look' package you can use local or .usdz from web. You can add buttons beneath model viewer model by checking Platform.isIOS .

This solution works, but you have to convert usdz files correctly, otherwise your output 3d object will be rubbish.

still not working in ios 17+


Mini Player window slowly falls down the screen until only the title bar is visible

OS:
Fedora 24 with XFCE
Issue Descriptions:
The mini player window slowly falls down the screen until I can only see the title bar. I can drag it back up but as soon as I let go it starts falling back down, which makes it pretty much impossible to exit the mini player without restarting the whole gpmdp
Steps to Reproduce:
With a song playing, switch to the mini player.

This is undoubtedly a WM bug, without installing Fedora in a VM it sounds like your WM will be emitting resize events without realizing that the window is frameless (doesn't have native borders).
Unfortunately nothing we can do about this on our side of things, if you can preproduce the issue with Electron then feel free to raise an issue over their or possible raise an issue against your WM if you can.


System.InvalidCastException  while comparing dynamic objects

After upgrading CompareNETObjects package some dynamic object related tests stopped to working.
Exception:
Message: System.InvalidCastException : Unable to cast object of type 'S.S.Data.Delta`1[S.S.Core.Tests.Data.DeltaNestedTests+First]' to type 'System.Collections.Generic.IDictionary`2[System.String,System.Object]'.

Callstack:
at KellermanSoftware.CompareNetObjects.TypeComparers.PropertyComparer.HandleDynamicObject(Object objectValue, Type objectType)
   at KellermanSoftware.CompareNetObjects.TypeComparers.PropertyComparer.GetCurrentProperties(CompareParms parms, Object objectValue, Type objectType)
   at KellermanSoftware.CompareNetObjects.TypeComparers.PropertyComparer.PerformCompareProperties(CompareParms parms, Boolean ignoreBaseList)
   at KellermanSoftware.CompareNetObjects.TypeComparers.ClassComparer.CompareType(CompareParms parms)
   at KellermanSoftware.CompareNetObjects.RootComparer.Compare(CompareParms parms)
   at KellermanSoftware.CompareNetObjects.CompareLogic.Compare(Object object1, Object object2)

Some previous version did work, but cannot say for sure what version was that.
The objects being compared are equal from what I can tell.

Is this .net core? Can you post example code?

There are already passing dynamic tests in solution.   You may want to try extending the tests.

Below is an isolated example that reproduces the issue.
Compare103.zip
using KellermanSoftware.CompareNetObjects;
using System;
using System.Web.Http.OData;
using Xunit;

public class Entity
{
    public Guid Id { get; set; }

    public String Name { get; set; }
}

public class Issue103
{
    [Fact]
    public void Manifests()
    {
        Delta<Entity> x = new Delta<Entity>();

        dynamic dynamicX = x;
        dynamicX.Name = nameof(Entity);
        dynamicX.Id = typeof(Entity).GUID;

        Delta<Entity> y = new Delta<Entity>();

        dynamic dynamicY = y;
        dynamicY.Name = nameof(Entity);
        dynamicY.Id = typeof(Entity).GUID;

        CompareLogic comparer = new CompareLogic();
        ComparisonResult result = comparer.Compare(y, x);

        Assert.True(result.AreEqual);
    }
}

Call stack:
Test Name:	Compare103.Issue103.Manifests
Test FullName:	Compare103.Issue103.Manifests
Test Source:	C:\Users\kiril\source\repos\Compare103\Compare103\Issue103.cs : line 19
Test Outcome:	Failed
Test Duration:	0:00:00.5

Result:
at KellermanSoftware.CompareNetObjects.TypeComparers.PropertyComparer.HandleDynamicObject(Object objectValue, Type objectType)
   at KellermanSoftware.CompareNetObjects.TypeComparers.PropertyComparer.GetCurrentProperties(CompareParms parms, Object objectValue, Type objectType)
   at KellermanSoftware.CompareNetObjects.TypeComparers.PropertyComparer.PerformCompareProperties(CompareParms parms, Boolean ignoreBaseList)
   at KellermanSoftware.CompareNetObjects.TypeComparers.ClassComparer.CompareType(CompareParms parms)
   at KellermanSoftware.CompareNetObjects.RootComparer.Compare(CompareParms parms)
   at KellermanSoftware.CompareNetObjects.CompareLogic.Compare(Object object1, Object object2)
   at Compare103.Issue103.Manifests() in C:\Users\kiril\source\repos\Compare103\Compare103\Issue103.cs:line 34
Result Message:	System.InvalidCastException : Unable to cast object of type 'System.Web.Http.OData.Delta`1[Compare103.Entity]' to type 'System.Collections.Generic.IDictionary`2[System.String,System.Object]'.

Thanks.  It will be a while until I look at this.

Waiting for an answer from these questions:
https://stackoverflow.com/questions/51120050/how-do-i-get-the-properties-and-fields-of-a-dynamic-object
https://stackoverflow.com/questions/51120031/how-do-i-detect-an-expandoobject-vs-a-dynamic-object
https://social.msdn.microsoft.com/Forums/vstudio/en-US/1bd3190b-34f7-4072-bc60-551ecec127dc/getting-dynamic-properties?forum=csharpgeneral

@kirillkovalenko After some research I determined that dynamic objects where never compared for you.  Compare .NET Objects currently supports Expando Objects but does not support Dynamic Objects.  I was thinking about supporting it but TryGetMember requires Microsoft.CSharp which requires the .NET Framework 4.5 and higher.  It would also require some complex binder caching since a compiler is actually spun up for each variable call.  Support for .NET Framework 4.0 ends in 2020.  I will upgrade Compare .NET Objects to version 4.5 then and implement this.
https://stackoverflow.com/questions/5306018/how-to-call-dynamicobject-trygetmember-directly
"C# has to actually instantiate a compiler to figure out how to execute the member/method."

FYI, I changed the exception to a NotSupported exception that points to this issue.

im having the same issue

@callmenoob As mentioned above, this feature will be implemented in 2020.

Just to give everyone an update that is hoping to get this feature.  This is a major change.  I am swamped with overtime on my day job and the normal weeknight and weekend hours for my side business Kellerman Software.

Just to give everyone an update that is hoping to get this feature.  This is a major change.  I am swamped with overtime on my day job and the normal weeknight and weekend hours for my side business Kellerman Software.

Implemented.

Implemented.


added line to codecov action to make xml report

Codecov Report

Merging #8 (458a604) into main (b8896b5) will increase coverage by 100.00%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##           main        #8        +/-   ##
===========================================
+ Coverage      0   100.00%   +100.00%
===========================================
  Files         0         9         +9
  Lines         0       333       +333
===========================================
+ Hits          0       333       +333

see 9 files with indirect coverage changes


plugin-cloud-storage: Uploading files returns 201, even if upload to S3 fails

Link to reproduction
No response
Describe the Bug
I'm currently developing with MinIO and MongoDB locally using their Docker Images. When setting everything up I noticed my uploading requests succeed without the file being uploaded to MinIO.
[17:47:27] ERROR (payload): The specified bucket does not exist
    err: {
      "type": "NoSuchBucket",
      "message": "The specified bucket does not exist",
      "stack":
          NoSuchBucket: The specified bucket does not exist
              at de_NoSuchBucketRes (/myproject/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4800:21)
              at de_CommandError (/myproject/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4741:19)
              at processTicksAndRejections (node:internal/process/task_queues:95:5)
              at async /myproject/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
              at async /myproject/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js:225:18
              at async /myproject/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
              at async /myproject/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js:173:18
              at async /myproject/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:97:20
              at async /myproject/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:120:14
              at async /myproject/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
      "name": "NoSuchBucket",
      "$fault": "client",
      "$metadata": {
        "httpStatusCode": 404,
        "requestId": "17BD4C978EA11152",
        "extendedRequestId": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8",
        "attempts": 1,
        "totalRetryDelay": 0
      },
      "Code": "NoSuchBucket",
      "Key": "avatars/MWGN9juwLQCjWnAUlaWss-128x128.jpg",
      "BucketName": "my-bucket",
      "Resource": "/my-bucket/avatars/MWGN9juwLQCjWnAUlaWss-128x128.jpg",
      "RequestId": "17BD4C978EA11152",
      "HostId": "dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8"
    }
POST /api/avatars 201 - - 75.622 ms

It does not matter why the upload to the cloud storage fails. But the POST Request uploading the file is "successfull".
To Reproduce

Create a Collection with uploads enabled
configure the S3 adapter with invalid credentials
upload a file

Payload Version
2.11
Adapters and Plugins
<EMAIL_ADDRESS>

I've just come across this with the Azure adapter as well. Lots of errors in the logs (I didn't have a collection configured in the clout storage plugin) but all my uploads show as succeeded in the admin panel! I assume processing the upload is asynchronous but ideally the upload would fail if the file is not written.


TEST CI with a pinned paketo builder

ref #1857

Codecov Report
Base: 56.50% // Head: 56.84% // Increases project coverage by +0.33% :tada:

Coverage data is based on head (61ab106) compared to base (61ca648).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1860      +/-   ##
==========================================
+ Coverage   56.50%   56.84%   +0.33%
==========================================
  Files         178      178
  Lines       14371    14371
==========================================
+ Hits         8121     8169      +48
+ Misses       5144     5094      -50
- Partials     1106     1108       +2

Flag
Coverage Δ

acceptance-apps
36.46% <ø> (?)

acceptance-cli
55.58% <ø> (+0.13%)
:arrow_up:

unittests
8.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/application/secret.go
80.85% <0.00%> (-10.64%)
:arrow_down:

internal/cli/usercmd/login.go
34.25% <0.00%> (-8.29%)
:arrow_down:

internal/api/v1/service/create.go
35.13% <0.00%> (-8.11%)
:arrow_down:

internal/cli/usercmd/service.go
65.13% <0.00%> (-5.60%)
:arrow_down:

internal/api/v1/service/unbind.go
55.22% <0.00%> (-4.48%)
:arrow_down:

internal/application/application.go
64.54% <0.00%> (-2.81%)
:arrow_down:

internal/application/configurations.go
64.66% <0.00%> (-2.26%)
:arrow_down:

internal/cli/settings.go
68.51% <0.00%> (-1.86%)
:arrow_down:

pkg/api/core/v1/client/http.go
46.31% <0.00%> (-1.23%)
:arrow_down:

internal/services/instances.go
51.11% <0.00%> (+0.27%)
:arrow_up:

... and 11 more

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

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

Abandoning the test work ...


bug: intermittent failure of TestPrivacyGroupEndorsementConcurrent

What happened?
[2024-12-20T08:39:49.642Z] DEBUG Stopped node-name=aliceNode
--- FAIL: TestPrivacyGroupEndorsementConcurrent (8.71s)
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    component_test.go:1764:
        	Error Trace:	/Users/johnhosie/foo/paladin/bugfix/paladin/core/go/componenttest/component_test.go:1764
        	Error:      	Condition never satisfied
        	Test:       	TestPrivacyGroupEndorsementConcurrent
        	Messages:   	Transaction did not receive a receipt
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    utils_for_test.go:100: Using transaction latency threshold of 2s
    component_test.go:1822:
        	Error Trace:	/Users/johnhosie/foo/paladin/bugfix/paladin/core/go/componenttest/component_test.go:1822
        	Error:      	Not equal:
        	            	expected: "bob_value_0_0"
        	            	actual  : ""

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-bob_value_0_0
        	            	+
        	Test:       	TestPrivacyGroupEndorsementConcurrent
FAIL
FAIL	github.com/kaleido-io/paladin/core/componenttest	9.130s
FAIL

What did you expect to happen?
ok  	github.com/kaleido-io/paladin/core/componenttest	6.818s
How can we reproduce it (as minimally and precisely as possible)?
while :
do
go clean -testcache
go test -timeout 60s -tags testdbpostgres -run ^TestPrivacyGroupEndorsementConcurrent$ github.com/kaleido-io/paladin/core/componenttest >> log.log
done

Anything else we need to know?
re-running the test in a bash loop of 100,  I see it pass  97 times and fail with this error 3 times
OS version
No response

This is a concurrency test so very prone to intermittent failures.  Very likely there is a real issue in there that could be causing problems in other scenarios where it might be even more expensive to debug so this is certainly one that is worth getting a handle on.

Same test failed on this PR run https://github.com/LF-Decentralized-Trust-labs/paladin/pull/487 with a different symptom
2024-12-19T23:15:08.9244061Z [2024-12-19T23:15:00.692Z]  INFO Logs diverted to build/testbed.component-test.log
2024-12-19T23:15:08.9244532Z     utils_for_test.go:100: Using transaction latency threshold of 2s
2024-12-19T23:15:08.9244764Z     utils_for_test.go:527:
2024-12-19T23:15:08.9245678Z         	Error Trace:	/home/runner/work/paladin/paladin/core/go/componenttest/utils_for_test.go:527
2024-12-19T23:15:08.9247130Z         	            				/home/runner/work/paladin/paladin/core/go/componenttest/component_test.go:1663
2024-12-19T23:15:08.9247485Z         	Error:      	Condition never satisfied
2024-12-19T23:15:08.9247950Z         	Test:       	TestPrivacyGroupEndorsementConcurrent
2024-12-19T23:15:08.9248620Z         	Messages:   	Deploy transaction did not receive a receipt
2024-12-19T23:15:08.9248857Z     utils_for_test.go:537:
2024-12-19T23:15:08.9249832Z         	Error Trace:	/home/runner/work/paladin/paladin/core/go/componenttest/utils_for_test.go:537
2024-12-19T23:15:08.9251440Z         	            				/home/runner/work/paladin/paladin/core/go/componenttest/component_test.go:1663
2024-12-19T23:15:08.9251821Z         	Error:      	Expected value not to be nil.
2024-12-19T23:15:08.9252263Z         	Test:       	TestPrivacyGroupEndorsementConcurrent
2024-12-19T23:15:08.9252544Z --- FAIL: TestPrivacyGroupEndorsementConcurrent (8.26s)
2024-12-19T23:15:08.9252673Z FAIL
2024-12-19T23:15:08.9253017Z coverage: 59.8% of statements in github.com/kaleido-io/paladin/core/...
2024-12-19T23:15:08.9253322Z FAIL	github.com/kaleido-io/paladin/core/componenttest	61.891s


Fix README naming. Add eu-west-2 support.

This PR does two things:

fixes a typo in the README, which called eu-west-1 out as being in N. Virginia
adds support for eu-west-2 (London) in the README

hey @ajlanghorn - Thanks for spotting that! Merging it.
Appreciate the effort and help very much


Fix two dependencies issue

Remove hightlight.js because we do not need it any more and it has a bug which caused installation issue.
Update bootstrap to 3.4.1 to fix CVE-2019-8331.

@martinpitt, I think we can close PR 547 because they are doing the same thing. But I have to say, the cockpit bot is really good. It send update 4 days before CVE-2019-8331 reported in Github UI.