Error with Julia 1.7.0

I am having trouble using this package with julia 1.7.0
This is both as part of my activated project and generally
Is anyone else also experiencing this?
egajda@wisercompqa01: julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.0 (2021-11-30)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Arrow
 │ Package Arrow not found, but a package named Arrow is available from a registry.
 │ Install package?
 │   (@v1.7) pkg> add Arrow
 └ (y/n) [y]:
    Updating registry at `~/.julia/registries/General`
    Updating git-repo `https://github.com/JuliaRegistries/General`
    Updating registry at `~/.julia/registries/JuliaRegistry`
    Updating git-repo `git@github.westernasset.com:risk/JuliaRegistry.git`
   Resolving package versions...
    Updating `~/.julia/environments/v1.7/Project.toml`
  [69666777] + Arrow v2.2.0
    Updating `~/.julia/environments/v1.7/Manifest.toml`
  [69666777] + Arrow v2.2.0
  [31f734f8] + ArrowTypes v1.2.1
  [c3b6d118] + BitIntegers v0.2.6
  [fa961155] + CEnum v0.4.1
  [5ba52731] + CodecLz4 v0.4.0
  [6b39b394] + CodecZstd v0.7.2
  [34da2185] + Compat v3.41.0
  [9a962f9c] + DataAPI v1.9.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [e2ba6199] + ExprTools v0.1.6
  [842dd82b] + InlineStrings v1.1.1
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.3.0
  [78c3b35d] + Mocking v0.7.3
  [69de0a69] + Parsers v2.1.3
  [2dfb63ee] + PooledArrays v1.4.0
  [21216c6a] + Preferences v1.2.2
  [3cdcf5f2] + RecipesBase v1.2.1
  [91c51154] + SentinelArrays v1.3.10
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.6.1
  [f269a46b] + TimeZones v1.7.0
  [3bb67fe8] + TranscodingStreams v0.9.6
  [5ced341a] + Lz4_jll v1.9.3+0
  [3161d3a3] + Zstd_jll v1.5.0+0
  [0dad84c5] + ArgTools
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [f43a241f] + Downloads
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [fa267f1f] + TOML
  [a4e569a6] + Tar
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll
  [deac9b47] + LibCURL_jll
  [29816b5a] + LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll
  [14a3606d] + MozillaCACerts_jll
  [4536629a] + OpenBLAS_jll
  [83775a58] + Zlib_jll
  [8e850b90] + libblastrampoline_jll
  [8e850ede] + nghttp2_jll
  [3f19e933] + p7zip_jll
  0 dependencies successfully precompiled in 0 seconds (30 already precompiled)
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
ERROR: ArgumentError: Package Arrow [69666777-d1a9-59fb-9406-91d4454c9d45] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1089
 [2] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1013
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:997

julia>

I needed to delete the .julia/ folder


Adds Memcached and localhost.

See: https://github.com/artsy/ohm/pull/433

Yeah, it wasn't sorted so the end made sense.

Ah, it was sorted before but it had upper cases 🍡


Update quickstart-sql-vm-create-powershell.md

Missing $ infront of VnetName variable
before:  $Vnet = New-AzureRmVirtualNetwork -ResourceGroupName $ResourceGroupName -Location $Location       -Name VnetName -AddressPrefix <IP_ADDRESS>/16 -Subnet $SubnetConfig After:  $Vnet = New-AzureRmVirtualNetwork -ResourceGroupName $ResourceGroupName -Location $Location
-Name $VnetName -AddressPrefix <IP_ADDRESS>/16 -Subnet $SubnetConfig

@jrudley : Thanks for your contribution! The author, @rothja, has been notified to review your proposed change.

@jrudley Thank you for catching this. I appreciate the fix.
#sign-off


Local preview script

This adds a script to help with local/uncomitted changes to documentation.

Possibly unrelated to this PR, but I'm getting this:
[11:49:42.755] FATAL (antora): Cannot use 'in' operator to search for 'worktree' in reference

The entr live updates are neat, but in practice I think I would mostly use a hack/render.sh that does a one-time generate.

It's a good idea to split into local-render and local-live, shouldn't be much work...

Thanks!


Create graph that displays filename against violating elements

Description: Graph displays filename and violating elements for easy result interpretation
User Story: #1 Data Visualization
Estimated effort: 5 hours
Dependency: N/A
Acceptance criteria:

[x] x-axis shows file name
[x] y-axis shows violating elements number
[ ] create csv file to show graph results
[ ] share with team once created
[x] the graph accurately reflects the data from the AccessibilityReport.txt
[ ] each filename on the x-axis corresponds correctly to its number of violating elements on the y-axis
[x] graph title clearly describes the purpose of the graph

this is the current format of the graph. I will remove the execution method from the file names to shorten them as well as make the graph taller

Changed to bar graph and tested with my own data


add augury for angular 2 apps

This PR adds Augury in the extension section, for profiling and debugging angular 2 applications.

LGTM, Thank you!


Interested in working on HLearn

Please email me at the address listed on my (out of date - but perhaps that's a redundant qualifier) academic page: [ https://math.berkeley.edu/~ksjames/ ]. It'd be a weekend project for me but it's worth a discussion at least

Bump, since I saw a reply on #70

Sorry, I didn't see this issue before for some reason.  If you can say a bit more about what you're interested in, I can help you get started.  Unfortunately, I doubt there's much that can be accomplished in just a weekend project.

I suppose I meant "recurring weekends".
For one, I've had some trouble building (see #67), so that would be start.
I am a contributor to BIDMach which is a very fast GPU based ML toolkit written in Scala. I think I might be of some help on the architectural side as I have learned a lot of practical lessons from understanding BIDMach and also have some background in haskell design (and know a bit category theory from my mathematical physics research).
I'm also interested in implementing specific algorithms, and potentially working on a GPU backend.

GPU work is something that I've been very interested in, but haven't really looked at yet at all.  I think the way the linear algebra stuff in subhask is structured would be ammenable to a GPU backend.  Currently, there's three basic vector types (as in vector space, not array) supported: BVector is a boxed vector is slow but can use any numeric type; SVector/UVector are storable and unboxed vectors that are fast and exist in main memory.  Each of these vectors takes a size parameter (which can be phantom so you don't need to know the size at compile time) and a type parameter that is the underlying numeric type (usually Float/Double).
I think the basic approach would be to add something like a GPUVector that gets allocated on the GPU.  Then there could be a function like toGPU :: SVector s Float -> GPUVector s Float that moves the data to the GPU.  And the numeric hierarchy would get implemented via GPU computations.


[HTML5] GetObjectIndex is not a function

I don't really know if it's an issue with the library or with my code, but it seems to come from RoomLoader.load function
My code is a bit complex, so I won't try to fit it all in, because frankly it doesn't matter, but to sum it up it's something like
var pos = get_positions()
var p = RoomLoader.load(rooms[currrent_room], pos[0], pos[1]);

It works perfectly well on Windows, but it breaks on HTML5 with an error:
Uncaught TypeError: yyInst(...).GetObjectIndex is not a function
    at gml_Script_anon_314_anon_270___RoomLoaderData___RoomLoaderInternalConstructors
    at array_map
    at gml_Script_anon_270___RoomLoaderData___RoomLoaderInternalConstructors
    at _xx.gml_Script___RoomLoaderData
    at __yy_gml_object_create
    at gml_Script_anon_292____struct___3_RoomLoader_RoomLoaderMain
    at Object._tl3
    at gml_Script_anon_1456_RoomLoader_RoomLoaderMain
    at gml_Script_generate_room (this would be the script which im calling from)

I did some digging, it appears to come from line 33 of __RoomLoaderInternalConstructors - _data.sprite = object_get_sprite(_data.object_index);
I have no idea what to do, is there something wrong with HTML5 or am I just doing something wrong?

Hey! HTML5 isn't currently supported. I mentioned it on the itch page, but not here in the repo. I'll make sure to include that.
As for the error itself - I'll be looking into it when I finally get to HTML5 support. That won't be any time soon though, so feel free to look at the HTML5 source code and try to figure it out yourself (they accept PRs there, see the Contributing section in the README).

I have no idea what to do, is there something wrong with HTML5 or am I just doing something wrong?

As for this, I'm pretty sure it's just another HTML5 problem, given everything works on Windows and Mac.

Hey! HTML5 isn't currently supported. I mentioned it on the itch page, but not here in the repo. I'll make sure to include that.

Ah okay, thanks! I did miss that.


Release/0.10.3

Codecov Report

Merging #239 (74aafd2) into main (8406881) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head 74aafd2 differs from pull request most recent head 9c39e46. Consider uploading reports for the commit 9c39e46 to get more accurate results

@@            Coverage Diff            @@
##              main      #239   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        43    +1
  Lines         1296      1324   +28
=========================================
+ Hits          1296      1324   +28

Impacted Files
Coverage Δ

pfhedge/_utils/str.py
100.00% <100.00%> (ø)

pfhedge/instruments/base.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/american_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/base.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/european.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/european_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/lookback.py
100.00% <100.00%> (ø)

pfhedge/instruments/derivative/variance_swap.py
100.00% <100.00%> (ø)

pfhedge/instruments/primary/base.py
100.00% <100.00%> (ø)

pfhedge/instruments/primary/brownian.py
100.00% <100.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


[gardening] Remove asserts from fixed crashers. Fix URLs. Fix word processing artefacts. Cleanups.

@swift-ci please smoke test

@swift-ci please test

@swift-ci please smoke test

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 0eb09600bcd288025ae1951dc68b686e79821ea2
Test requested by - @practicalswift

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 0eb09600bcd288025ae1951dc68b686e79821ea2
Test requested by - @practicalswift

@swift-ci please smoke test

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 1fea020cecf40709dbd159bd2a3c7973f9e69775
Test requested by - @practicalswift

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 1fea020cecf40709dbd159bd2a3c7973f9e69775
Test requested by - @practicalswift

@swift-ci please smoke test

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - b715bc5b3c0e6a40f8252aa117fa5d310977fb0f
Test requested by - @practicalswift

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - b715bc5b3c0e6a40f8252aa117fa5d310977fb0f
Test requested by - @practicalswift

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 312a7fe526ea43c1ce5445a9418e2d8f79a3d0ea
Test requested by - @practicalswift


How to create the tissue.png file

Hi guys,
I am using novosparc on a structure that is half a sphere.
For now I used to map my genes on a sphere (using the function novosparc.gm.construct_sphere) but i am thinking of ways to work on half sphere.
Therefore, i  was wondering how the file tissue.png (the created shape for drosophila data), has been generated ? With which tool ?
Thanks to anyone who is willing to clarify this to me,
Best,
Lilia

Hi Lilia,
as a shortcut, you can maybe generate a sphere using novosparc and then split the locations from one axis so that you would just have one side of the sphere.
Regarding the image, you can basically either draw something via any graphical drawing tool, or if you have some type of an image for your tissue, you can use a binarised version of it.
I hope it helps
Best,


BOM

i need to save my php files without utf8 bom
:(

@FabioCarpi code is not adding a BOM but it is also not removing a bom if such exists in a file.


Add Quote3Verifier

Add Quote3Verifier which can be used with the verifier composition to
verify the signature of a Quote3.

Motivation

Current dependencies on/for this PR:

main

PR #97   👈

This comment was auto-generated by Graphite.

@nick-mobilecoin merged this pull request with Graphite.


How to extract observations using BLIP2?

Hello, @GengzeZhou ,
First of all, thank you for your work, and forgive my unfamiliarity with the Matterport Simulator.
I would like to know how to extract observations from viewpoint using BLIP2 as described in the paper.
Could you provide more details or references to the workings of the Matterport Simulator?

Please refer to https://github.com/peteanderson80/Matterport3DSimulator for setting up the simulator and the usage of the simulator API.
An example of traversing the viewpoints in the simulator and storing the rendered image features can be found here.
You can initialize a simulation instance with customized FoV for the rendered images and change the viewing angles by makeAction in the environment.

For example, by setting the FoV to 45 and turning 45 degrees 7 times clockwise, saving the rendered images after each action will provide you with a panoramic observation at the current viewpoint with no overlapping.

Alright, the previous issue was due to my unfamiliarity with MatterSim, but now it's resolved.

Hello, @GengzeZhou , First of all, thank you for your work, and forgive my unfamiliarity with the Matterport Simulator. I would like to know how to extract observations from viewpoint using BLIP2 as described in the paper. Could you provide more details or references to the workings of the Matterport Simulator?

@Leon022 Hello, may I ask if you have figured out which part of the code is used to extract observations using BLIP2?


Use .dockerfile naming convention

Problem
In multi-stage builds, we tend to require multiple Dockerfile files. Some organisations opt for separating these into their own folders such as:
- /root
-- /docker
--- /cli
---- Dockerfile
--- /db
---- Dockerfile
--- /nginx
---- Dockerfile

This is OK, but can be difficult to find "the right file" you want to edit in an IDE as you have to rely on being able to see the path name.
Another solution is to add the context to the Dockerfile name, such as for the extension:
- /root
-- /docker
--- Dockerfile.cli
--- Dockerfile.db
--- Dockerfile.nginx

But this creates another issue: we no longer have syntax highlighting out-of-the-box.
What if we standardise and use <purpose>.dockerfile as the preferred naming convention? Such as:
- /root
-- /docker
--- cli.dockerfile
--- db.dockerfile
--- nginx.dockerfile

The .dockerfile extension already works for syntax highlighting in VS Code using the glob pattern
Also, using a lowercase .dockerfile would match with general naming convention for other extensions. I think we should avoid capitalising .Dockerfile but keeping Dockerfile for extensionless naming (e.g. in the case of only ever requiring the use of one Dockerfile for your project).
Required changes
Adapt documentation to promote the use of <purpose>.dockerfile naming convention, ensure any docker-compose.yml files also contain the updated Dockerfile filenames.

Updated #10562 with latest changes but I believe we don't really need to do this issue/PR anymore as documentation was updated 11 months ago with naming for both conventions: <something>.Dockerfile and Dockerfile.<something> by @thaJeztah
https://github.com/docker/docker.github.io/commit/d1fbf5c959b0efa763e12cce2bf7d48292f46e9e#diff-c9cd7d061e27d9620b39dafde6c901721ce95cd8bc1f1eaec20d75c019c97fdfR17


Multiple emulator in same docker container

Hi Author,
it is possible to create several avd in the docker container manually and start them?
I tried the command in the entrypoint.sh, but failed.
echo "no" | /usr/local/android-sdk/tools/android create avd -f -n test2 -t ${EMULATOR} --abi default/${ARCH}
echo "no" | /usr/local/android-sdk/tools/emulator64-${EMU} -avd test2 -noaudio -no-window -gpu off -verbose -qemu -usbdevice tablet -vnc :0

Technically its possible, but practically I think better to run second container. Each AVD will consume additional space and container size will grow significantly. Why do you want to run 2 AVDs?

Hi Author,
Thank you for your reply.
I wonder if we can control the number of the emulator when executing "docker run".

That should be possible, but indeed the easiest and most flexible way to do that would be to run a separate docker image for every emulator. You also need to keep in mind that every emulator require a separate TCP port which need to be exposed. To make it fully automated you will to run some discovery service scanning ports on you running images and creating a mapping.

I think I will close this issue, because I think it's more easy to run multiple containers.

OK, Thank you author.
On Fri, Sep 2, 2016 at 9:47 AM, Tracer Tong<EMAIL_ADDRESS>wrote:

I think I will close this issue, because I think it's more easy to run
multiple containers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tracer0tong/android-emulator/issues/14#issuecomment-244262281,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIHU-nKBq5QAk55pA90Juu_SfDndETt6ks5ql4AhgaJpZM4JxLQl
.


Link to challenge 3 solution

We checked out your repository. We're thrilled to say your solution is now listed in our Hall of Fame
Thank you for your contributions!
This PR is now closed! 🎉


Trial views and docs

[x] Forced choice (2 n alternatives)
[ ]  Sentence choice
[x]  Image selection (n alternatives)
[x] Textbox Input task
[x]  Slider rating
[x] Dropdown choice
[x]  Rating scale
[x] Key press

Would it make sense to add some instructions to README on how to use styleguidist locally? And we may also want to deploy it to somewhere online e.g. our GitHub pages.

I guess the most controversial thing is the global $exp as I expected. My reasoning was to have a global object for controlling the experiment, like Vue router exposes $router for controlling the router. Pure vue style would probably be to use events instead, although that would make things harder for implementors, since we're currently using lots of slots and components cannot easily interact with the components in their slots. So, I think there'd be more boilerplate involved for implementors, while with the current approach there's a bit more magic (which may not always be desirable).

Docs are now live at https://epic-bhabha-7e0966.netlify.app/

I guess the most controversial thing is the global $exp as I expected. My reasoning was to have a global object for controlling the experiment, like Vue router exposes $router for controlling the router. Pure vue style would probably be to use events instead, although that would make things harder for implementors, since we're currently using lots of slots and components cannot easily interact with the components in their slots. So, I think there'd be more boilerplate involved for implementors, while with the current approach there's a bit more magic (which may not always be desirable).

I see that you intend to use $exp as a global object injected into the root Vue App similar to some other plugins. It could make sense. I wonder if we could find a less hacky way to inject the object (e.g. put it into a plugin module and initialize it when the app is initialized and requires that plugin module), and when initializing the Experiment component we could then set some properties on the global $exp object, instead of setting the whole $exp as this Experiment component itself, which could introduce some more coupling.
Anyways, I think we might be able to merge it now and I'll try to see how well the interactive experiment components would work with this architecture. Thanks a lot for the work of porting over the old _magpie views.

Docs are now live at https://epic-bhabha-7e0966.netlify.app/

Would it be possible to include it as a part of the magpie-site website that we have?

There is now a conflict for this PR on package-lock.json and it needs to be resolved.

we could then set some properties on the global $exp object, instead of setting the whole $exp as this Experiment component itself, which could introduce some more coupling.

Good idea! We'd have to make sure that styleguidist still works with that as it puts all examples into one App.

Would it be possible to include it as a part of the magpie-site website that we have?

That would be possible indeed, but it would require committing newly docs on every change and I'm not a huge fan of committing build output. :/

Merged.

That would be possible indeed, but it would require committing newly docs on every change and I'm not a huge fan of committing build output. :/

Hmm, I guess the point is more about having all our docs available at one place which is magpie-sites. We don't need to necessarily automatically commit on every change. It could be just a manual process of uploading the docs, just as how we're uploading the current docs generated via mkdocs manually, whenever we feel it's ready to be updated.

Of course if you feel having the docs in an external site is easier to manage that could also be a way to do it, though we'd still want a clear pointer in the README and magpie-site to point to that external site. Having all the docs in the same place on magpie-site would make the project more coherent IMO.

aving all the docs in the same place on magpie-site would make the project more coherent IMO

that's true. Currently the docs also have a different site, but I'm not particular about this. The nice thing about netlify is of course that it automatically deploys the latest docs, so there's no manual work. If we follow a git branch strategy of having a stable branch wee could use that to build the docs automatically. Building the docs by hand and putting them into the magpie-site repo IMHO has little benefit as it would still feel like a separate site that has to be linked to, even though the URL has the same prefix.


Standardize formatting of manifests/s/Synology/DriveClient/<IP_ADDRESS>74

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


Import pdf.js with typescript

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: NODE 10
Operating system and its version: LINUX/DOCKER
PDF.js version: pdfjs-dist 2.2.2
Is a browser extension: NO

Steps to reproduce the problem:

Install pdfjs-dist with: npm install pdfjs-dist --save
Install @types/pdfjs-dist with: npm install @types/pdfjs-dist --save-dev
Import pdfjs-dist in a *.ts file: import { PDFJS } from 'pdfjs-dist';
Use getDocument from PDFJS : PDFJS.getDocument('my.pdf')
execute the code and see the error: PDFJS is not defined

What is the expected behavior?
PDFJS works on typescript
What went wrong?
PDFJS can't export correctly the lib on typescript
Link to a viewer:
not disponible
Work around:
Import PDFJS  in this way
import { PDFJSStatic } from 'pdfjs-dist';
const PDFJS: PDFJSStatic = require('pdfjs-dist');

2\. Install **@types/pdfjs-dist** with: `npm install @types/pdfjs-dist --save-dev`

Most likely, those types haven't been updated to handle PDF.js versions above 2.0.
However please note that that's a different library, which is not maintained here, hence this issue is unfortunately out-of-scope/invalid here.

@Snuffleupagus @timvandermeij Could you please reopen? @types/pdfjs-dist is totally off for version >= 2 and the Github repository does not have any issue tracker.

Install @types/pdfjs-dist with: npm install @types/pdfjs-dist --save-dev

As mentioned in https://github.com/mozilla/pdf.js/issues/10547#issuecomment-462675381, those are not in any way affiliated with Mozilla or the PDF.js project.

@types/pdfjs-dist

Again this is not related to https://github.com/mozilla/pdfjs-dist, but most likely you're actually referring to these ones: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfjs-dist

@types/pdfjs-dist should be maintained by mozilla/pdfjs-dist and/or mozilla/pdf.js contributors.
Only this contributors know the code and the functions and can write the required interfaces.

There are already open issues and even PRs for this, but so far the real demand for this is low and the PRs have not really been updated. If you think this is in fact important, please consider updating the existing PRs so they can be brought in a mergeable state.

Does pdfjs provide it's own Typescript types somewhere else?

why is this close? Where are the types provided and how can we include the library into a typescript project? Thank you

Duplicate of #7909 and that was fixed just yesterday.

@timvandermeij not duplicated. #7909 about other troubles. But here asked about instructions to include library into a typescript project.


X11: crash when using XRandR virtual screen

This was originally reported downstream at https://github.com/jwilm/alacritty/issues/1755.
When us XRandR virtual screens with i3 to enable multiple screens on a single monitor alacritty crashes on start. However already running instances are fine.
The XRandR configuration I'm using is as follows:
                --primary --mode 1920x1080 --pos 0x0 --rotate left
            # see https://askubuntu.com/a/998435
            xrandr --setmonitor DVI-I-2~1 1080/293x1280/347+0+0 DVI-I-2
            xrandr --setmonitor DVI-I-2~2 1080/293x640/174+0+1280 none

With this configuration I am able to reproduce this crash by running the window example by runing cargo run --example window. A backtrace is provided below.
[Thread 0x7ffff15ff700 (LWP 13402) exited]
     Running `target/debug/examples/window`
process 13396 is executing new program: /home/w1ngnutt/dev/checkouts/winit/target/debug/examples/window
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /home/w1ngnutt/dev/checkouts/winit/target/debug/examples/window.
Use `info auto-load python-scripts [REGEXP]' to list them.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[winit X11 error] XError {
    description: "BadRROutput (invalid Output parameter)",
    error_code: 147,
    request_code: 140,
    minor_code: 9
}

Thread 1 "window" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7bee9c0 (LWP 13396)]
0x00005555555ba232 in winit::platform::platform::x11::util::randr::<impl winit::platform::platform::x11::xdisplay::XConnection>::get_output_info (
    self=0x7ffff7699010, resources=0x7ffff77ece00, repr=0x7fffffffab48) at src/platform/linux/x11/util/randr.rs:89
89                  (*output_info).name as *mut u8,
(gdb) bt
#0  0x00005555555ba232 in winit::platform::platform::x11::util::randr::<impl winit::platform::platform::x11::xdisplay::XConnection>::get_output_info
    (self=0x7ffff7699010, resources=0x7ffff77ece00, repr=0x7fffffffab48) at src/platform/linux/x11/util/randr.rs:89
#1  0x00005555556686dc in winit::platform::platform::x11::monitor::MonitorId::from_repr (xconn=0x7ffff7699010, resources=0x7ffff77ece00, id=1,
    repr=..., primary=false) at src/platform/linux/x11/monitor.rs:69
#2  0x00005555555b6699 in winit::platform::platform::x11::monitor::<impl winit::platform::platform::x11::xdisplay::XConnection>::query_monitor_list
    (self=0x7ffff7699010) at src/platform/linux/x11/monitor.rs:156
#3  0x000055555560cdf8 in winit::platform::platform::x11::monitor::<impl winit::platform::platform::x11::xdisplay::XConnection>::get_available_monitors::{{closure}} () at src/platform/linux/x11/monitor.rs:210
#4  0x00005555555af460 in <core::option::Option<T>>::or_else (self=..., f=...) at libcore/option.rs:714
#5  0x00005555555b6bf4 in winit::platform::platform::x11::monitor::<impl winit::platform::platform::x11::xdisplay::XConnection>::get_available_monitors (self=0x7ffff7699010) at src/platform/linux/x11/monitor.rs:206
#6  0x00005555556501d5 in winit::platform::platform::x11::window::UnownedWindow::new (event_loop=0x7fffffffd8a0, window_attrs=..., pl_attribs=...)
    at src/platform/linux/x11/window.rs:80
#7  0x000055555560b963 in winit::platform::platform::x11::Window::new (event_loop=0x7fffffffd8a0, attribs=..., pl_attribs=...)
    at src/platform/linux/x11/mod.rs:1276
#8  0x0000555555594802 in winit::platform::platform::Window::new (events_loop=0x7fffffffd898, attribs=..., pl_attribs=...)
    at /home/w1ngnutt/dev/checkouts/winit/src/platform/linux/mod.rs:134
#9  0x0000555555590f01 in winit::window::<impl winit::WindowBuilder>::build (self=..., events_loop=0x7fffffffd898)
    at /home/w1ngnutt/dev/checkouts/winit/src/window.rs:157
#10 0x000055555559404a in window::main () at examples/window.rs:6

I wasn't able to reproduce this, though I've made a fix that should definitely fix the segfault: https://github.com/francesca64/winit/tree/x11-null-output-info
Please let me know if that works for you! It could also be worth checking the output of cargo run --example monitor_list to make sure nothing important's missing.
For anyone curious, this issue appears to be similar to a GTK bug.

There is no longer a segfault, however I now get a panic. Results are below, including the output of monitor_list
[2202] ~/d/c/winit [(remotes/franchesca64/x11-null-output-info)] % RUST_BACKTRACE=1 cargo run --example window
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/examples/window`
[winit X11 error] XError {
    description: "BadRROutput (invalid Output parameter)",
    error_code: 147,
    request_code: 140,
    minor_code: 9
}
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OsError("Failed to create input context: XError(XError { description: \"BadRROutput (invalid Output parameter)\", error_code: 147, request_code: 140, minor_code: 9 })")', libcore/result.rs:1009:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:477
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:391
   6: rust_begin_unwind
             at libstd/panicking.rs:326
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:77
   8: core::result::unwrap_failed
             at libcore/macros.rs:26
   9: <core::result::Result<T, E>>::unwrap
             at libcore/result.rs:808
  10: window::main
             at examples/window.rs:6
  11: std::rt::lang_start::{{closure}}
             at libstd/rt.rs:74
  12: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:310
  13: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:103
  14: std::rt::lang_start_internal
             at libstd/panicking.rs:289
             at libstd/panic.rs:392
             at libstd/rt.rs:58
  15: std::rt::lang_start
             at libstd/rt.rs:74
  16: main
  17: __libc_start_main
  18: _start
[2203] ~/d/c/winit [(remotes/franchesca64/x11-null-output-info)] % RUST_BACKTRACE=1 cargo run --example monitor_list
   Compiling winit v0.18.0 (/home/w1ngnutt/dev/checkouts/winit)
    Finished dev [unoptimized + debuginfo] target(s) in 2.22s
     Running `target/debug/examples/monitor_list`
[winit X11 error] XError {
    description: "BadRROutput (invalid Output parameter)",
    error_code: 147,
    request_code: 140,
    minor_code: 9
}
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: OsError("Failed to create input context: XError(XError { description: \"BadRROutput (invalid Output parameter)\", error_code: 147, request_code: 140, minor_code: 9 })")', libcore/result.rs:1009:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:477
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:391
   6: rust_begin_unwind
             at libstd/panicking.rs:326
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:77
   8: core::result::unwrap_failed
             at libcore/macros.rs:26
   9: <core::result::Result<T, E>>::unwrap
             at libcore/result.rs:808
  10: monitor_list::main
             at examples/monitor_list.rs:5
  11: std::rt::lang_start::{{closure}}
             at libstd/rt.rs:74
  12: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:310
  13: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:103
  14: std::rt::lang_start_internal
             at libstd/panicking.rs:289
             at libstd/panic.rs:392
             at libstd/rt.rs:58
  15: std::rt::lang_start
             at libstd/rt.rs:74
  16: main
  17: __libc_start_main
  18: _start

No more crashes. Thank you!
   Compiling winit v0.18.0 (/home/w1ngnutt/dev/checkouts/winit)
    Finished dev [unoptimized + debuginfo] target(s) in 1.98s
     Running `target/debug/examples/monitor_list`
[winit X11 error] XError {
    description: "BadRROutput (invalid Output parameter)",
    error_code: 147,
    request_code: 140,
    minor_code: 9
}
AvailableMonitorsIter {
    data: IntoIter(
        [
            X(
                MonitorId {
                    id: 0,
                    name: "DVI-I-2",
                    dimensions: (
                        1080,
                        1280
                    ),
                    position: (
                        0,
                        0
                    ),
                    primary: true,
                    hidpi_factor: 1.0,
                    rect: AaRect {
                        x: 0,
                        y: 0,
                        width: 1080,
                        height: 1280
                    }
                }
            )
        ]
    )
}
Primary: MonitorId {
    inner: X(
        MonitorId {
            id: 0,
            name: "DVI-I-2",
            dimensions: (
                1080,
                1280
            ),
            position: (
                0,
                0
            ),
            primary: true,
            hidpi_factor: 1.0,
            rect: AaRect {
                x: 0,
                y: 0,
                width: 1080,
                height: 1280
            }
        }
    )
}


Visual problem with firefox

Hi Eduardo,
Thanks a lot for your awesome job with this script.
A noticed a small visual artefact using firefox : when form is long enough, select options are overlapping the question.
Any help ?

Well, this is strange, the plugin adds a padding in the chat exactly for this, and for some reason in firefox it doesn't. I can't look into this right now, but I suspect that if I change the padding to margin, it might work. I'll look into this when I get home.


Get-AzureRmIoTHubConnectionString returns inaccurate Connection String syntax

When running the Get-AzureRmIoTHubConnectionString using standard parameters, all Connection Strings that are returned are showing the key/value pair for the Shared Access Key Name are displaying it as ShareAccessKeyName instead of SharedAccessKeyName.
This behavior is occuring in the Modules for Azure 4.1.0 and AzureRm.IoTHub 2.1.0, but not in modules Azure 4.0.2 and AzureRm.IoTHub 2.0.1 as shown below:

@starkfell - thank you for sharing this information.  Could you please report this issue to the devs to make sure they address?  The best channel to reach the devs that own this module is at the Azure source repo here:  https://github.com/Azure/Azure-PowerShell/issues.  Please let me know if you have any questions.

@TaraMeyer - thanks for the quick response! - resubmitted per your request - https://github.com/Azure/azure-powershell/issues/4190


service core:user:elysia-test: Uncaught ReferenceError: process is not defined   at index.js:7397:27

Related to: #58
I tried to run elysia on wrangler(cloudflare workers), and I got this error.
The code here below
import { Elysia, t } from "elysia";
// import { swagger } from "@elysiajs/swagger";

const app = new Elysia()
  // .use(swagger())
  .get("/", () => "Hello Elysia")
  .get("/id/:id", (context) => context.params.id)
  .post(
    "/post",
    async (event) => {
      const body = event.body;
      return body;
    },
    {
      body: t.Object({
        username: t.String(),
        password: t.String(),
      }),
    }
  );

export default app;

package.json
{
  "name": "hi-elysia",
  "version": "1.0.44",
  "scripts": {
    "dev": "wrangler dev src/index.ts"
  },
  "devDependencies": {
    "elysia": "0.6.0-alpha.2",
    "superjson": "^1.13.1",
    "tsx": "^3.12.7",
    "wrangler": "^3.3.0"
  },
  "module": "src/index.js"
}

The error message
⎔ Starting local server...
service core:user:elysia-test: Uncaught ReferenceError: process is not defined
  at index.js:7397:27

Oh, I'm sorry this is related to https://github.com/remix-run/remix/issues/1285

Is it able to ignore ‘process’ variable if there is no process variable found

I used this commit https://github.com/elysiajs/elysia/issues/58#:~:text=solved the problem.-,b2df605,-Please leave this
and I found that this error caused in error.ts
https://github.com/elysiajs/elysia/blob/b2df6053a9cdc5c0919146cec2485dd5f487bfa7/src/error.ts#L4-L5

Is this issue solved with Elysia 0.6.0 stable?

As we can now use Elysia on Cloudflare worker since 0.6.1, I assume this problem is solved.
Feels free to reopen if the issue still persists.


Don't write history file

I believe history file written to disk is only used by telescope integration?
If so it should not be written to disk unless telescope integration is enabled. Do you think it makes sense?

Odd complaint but no that's not the case.


Allow access to Arc.

What problem does this solve or what need does it fill?
The new bevy_reflect custom attributes feature is great, but I need to be able to pass the custom attributes to child widgets. This would be a lot easier if I could clone the Arc, but that is currently private.
What solution would you like?
Add a method which allows access to the Arc containing the custom attributes instead of a reference to them.
What alternative(s) have you considered?
The only alternative I can think of is cloning, which would be very inefficient.

OK looks like we can use &'static CustomAttributes, so this probably isn't needed.

Closed due to the fact that CustomAttributes can be accessed as a &'static CustomAttributes (since TypeInfo is almost always a static reference). This should help with passing it around without having to worry about lifetimes.


pkg/fileutils - Refactor package

Problem
pkg/fileutils - Refactor package
Solution
The pkg/fileutils package is a single function package, without any tests or README.md. The goal of pkg/ being to offer first-class packages for other projects to use, this one doesn't fit.
We need to either:

Find other potential candidates from Docker to make it into this package, cover with tests, and add a README.md
Remove the package as a whole and move the function to a different location (to be defined)

#dibs

@dselans when you do a PR, can you please add fixes or closes keyword to it? Thanks!

@jfrazelle I think this issue has changed a bit since then. There is more code in pkg/fileutils and one tests. I'll do a PR for adding coverage (as not sign from @dselans).
I did a quick grep on the use of fileutils and this is the result. I think adding test coverage should fix this one, right ?
build.go:170:		keepThem1, _ := fileutils.Matches(".dockerignore", excludes)
build.go:171:		keepThem2, _ := fileutils.Matches(*dockerfileName, excludes)
evaluator.go:249:	if rm, _ := fileutils.Matches(".dockerignore", excludes); rm == true {
evaluator.go:253:	if rm, _ := fileutils.Matches(b.dockerfileName, excludes); rm == true
daemon.go:798:	realTmp, err := fileutils.ReadSymlinkedDirectory(tmp)
daemon.go:809:		realRoot, err = fileutils.ReadSymlinkedDirectory(config.Root)
daemon.go:934:		if _, err := fileutils.CopyFile(sysInitPath, localCopy); err != nil {
info.go:70:		NFd:                fileutils.GetTotalUsedFds(),
z_final_test.go:11:	t.Logf("File Descriptors: %d, Goroutines: %d", fileutils.GetTotalUsedFds(), runtime.NumGoroutine())
runtime_test.go:123:	startFds, startGoroutines = fileutils.GetTotalUsedFds(), runtime.NumGoroutine()
archive.go:444:					skip, err = fileutils.Matches(relFilePath, options.ExcludePatterns)


Incorrect description of keyboard mapping

Running "xfreerdp /kbd-list" on my Linux PC (Ubuntu <IP_ADDRESS> / freerdp-x11 1.1.0-git20140921.1.440916e+dfsg1-5ubuntu1.3) returns (amongst other things)
0x00000452      United Kingdom Extended
However when I used this setting to connect to a MS Windows 10 server, the host reported that I was using a Welsh keyboard. Indeed 0452 is reported as Welsh here:
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/a29e5c28-9fb9-4c49-8e43-4b9b8e733a05

Does this apply to something newer than a 5 year old build?

Ok, just checked current master.
Some symbols have changed, it may require an update.


extension choices

Hello

Added cli option
node bin --silent

choices extension

  type: {
    choices: {
      art: ["when improving the format/structure of the code", {
        titlePrefix: "🎨",
        value: ":art:",
      }],
      newspaper: ['when creating a new file', {
        titlePrefix: "📰",
        value: ":newspaper:",
      }],
      pencil: ['when performing minor changes/fixing the code or language', {
        titlePrefix: "📝",
        value: ":pencil:",
      }],
      // ....
    },
    mandatory: true,
    question: 'What it the type of the commit?',
  },

Hi @baronTommy,
Thanks for your contribution, and sorry for the late reply (was on vacation).
I will check out your code soon and reply to your PR.
Thanks 😃🦄

@segevofer 😀


NIFI-1801: Scope Templates to Process Groups

Also includes a few bug fixes that were not necessarily explicitly related to templates being scoped to Process Groups but that are required in order to test the PR

Look good @markap14
Thanks! I've merged to master.


Approach to manage svc for influxdb

In my opinion, the service is that kind of thing that needs to be managed by the operator, here I see that you create it manually.
I like the fact that this adds support for replicas to influxdb however.


improve clear command testcase

improve clear command testcase

decided to separate code involving AlertBox with Clear command execute() to allow testing for clear command

Codecov Report

Merging #262 (8a1454a) into master (397c516) will decrease coverage by 0.07%.
The diff coverage is 27.27%.

@@             Coverage Diff              @@
##             master     #262      +/-   ##
============================================
- Coverage     72.95%   72.87%   -0.08%
- Complexity      585      587       +2
============================================
  Files            89       89
  Lines          1749     1755       +6
  Branches        210      211       +1
============================================
+ Hits           1276     1279       +3
- Misses          405      408       +3
  Partials         68       68

Impacted Files
Coverage Δ

...a/seedu/linkedout/logic/commands/ClearCommand.java
33.33% <27.27%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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


⚠ Bofrost.lu has degraded performance

In 09239df, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1182 ms

Resolved: Bofrost.lu performance has improved in fb97ea8 after 7 minutes.


Highlight helper not working

I'm trying to use the highlight helper but it's just not outputting anything:
{{#highlight}}

my code

{{/highlight}}

Is there any config needed or some idea of why it's not working?
Thanks.

There isn't a {{highlight}} helper in this library.

Sorry then, probably a plugin coming from the stack I was using, probably from template-helpers. Thanks.


Add explicit visibility to satisfy Kotlin explicit API check

What Changed
Add explicit visibility and return types to generated source.
Why
Library code should be able to use this awesome Kotlin feature.
Release Notes
Generated source code will adhere to Kotlin explicit API check if hooks are public.

📦 Published PR as canary version: 0.11.1--canary.20.216

:rocket: PR was released in v0.11.1 :rocket:


bundle gem --test should include a cucumber option

From @jorge428 on August 17, 2013 3:18
The rspec & minitest options are great - why not cucumber too? It could generate something like
features/
features/test_gem.feature
features/step_definitions/
features/step_definitions/test_gem_steps.rb
features/support/
Are there any objections to this and/or have people tried it before?
Copied from original issue: bundler/bundler-features#15

From @xaviershay on August 17, 2013 15:24
My first instinct is to avoid expressing opinions on other gems where possible. It increases our maintenance surface area by including one more gem we have to keep up to date on.
I'd probably actually like to move bundle gem out of core entirely, though we don't have a good way of doing that currently. A dependency management tool shouldn't be in the business of template generation.
Interested in other opinions.

From @jorge428 on August 19, 2013 4:55
Totally understandable.

A dependency management tool shouldn't be in the business of template generation.

Agreed.

I'd probably actually like to move bundle gem out of core entirely, though we don't have a good way of doing that currently.

Would you mind if another gem came into existence with the express purpose of doing gem skeleton generation?
I guess I don't really understand what you mean by "we don't have a good way of doing that currently."

From @jorge428 on August 21, 2013 15:48
Interested, yes, but I don't really have experience with ruby templates. Always willing to learn, though, so if it's something people besides me want to see happen, count me in.
If bundler's philosophy is to be a gem management system and only that, I'm not sure why it should be bundler-gem and not something else entirely. At the same time, a gem template generator by any other name would be as useful, so I don't really care what it's called.

From @indirect on August 19, 2013 6:57
It would be nice to have an optional gem (named, say, bundler-gem) that handled the generation via a bundler subcommand. Would you be interested in working on the gem that generates gem templates?

From @indirect on August 21, 2013 19:27
I don't really care what it's called either, but bundler-gem would mean that people could keep using the bundle gem foo command to create gems. That was my only reasoning.

👎 from me -- extreme customizability should be kept to purpose-built gems such as Ore

If the original requester wants to walk through justifying this feature request to the team then we can re-open this, but for the moment I feel its better closed


Image compressing while using sitk.WriteImage()

Hi,
I have encountered a strange problem regarding reading of a .nii image using SimpleITK.
I have 209MB  "read.nii" file, I have just read it using
readImg = sitk.ReadImage("read.nii",sitkFloat32)
and then just write it back using
sitk.WriteImage(readImg,"output.nii")
the "output.nii" becomes 103.2 MB
I want to know why is it happening? Is anything I am missing here.
Thanks

If you read the image without the specifying the outputPixelType what is the pixel type?
readImage = sitk.ReadImage("read.nii")
print(readImage.GetPixelIDTypeAsString())

I was wrong, this has a 64 bit Float type. So issue has been fixed.


Bad idea

this should fix the styling and error issues

didn't mean to pull request to main.  whoops


Move Analyzer crashes upon examples/ build

Steps to Reproduce Issue
Build a package in examples directory in a move project.

get the latest move analyzer
git clone https://github.com/gmove-io/kraken
sui move build in /package directory and in /package/examples directory
open any module and modify a value to activate the analyzer
wait for it to crash

Expected Result
Normal functioning for modules in /sources and /examples (like when examples are not built).
Actual Result
created pre-compiled libs for "/package_directory"
compiled to parsed AST
compiled to typed AST
compiling to CFGIR
compilation to CFGIR failed
get_symbols loaded
thread '<unnamed>' panicked at external-crates/move/crates/move-analyzer/src/symbols.rs:1558:76:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[Error - 3:46:42 PM] Server process exited with signal SIGABRT.
[Error - 3:46:42 PM] The Move server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

System Information

OS: latest projectbluefin (Fedora SilverBlue)
Compiler: sui 1.27.2-homebrew

Thank you for the report! I will look into it as soon as I can!

Fixed some time over last month (can no longer be reproduced) but cannot recall the actual PR number...


[Feature] Approach for migrating DynSolValue from ethers-rs to alloy/core

Component
dyn-abi
Describe the feature you would like
Currently, there is no straightforward way to implement (De)/Serialize for DynSolValue. #[serde(remote = ...)] doesn't work due to Vec<DynSolValue> presents.  This prevents me from migrating from ethers-rs to alloy/core because the original implementation from ethabi allows Token to be (de)serializable.
I would like to ask how to achieve it without implementing (De)/Serialize by my own, which is painful and error-prone.
Additional context
See #611 for the alternative approach. Since deriving is not accepted, I want to keep this issue open because of https://github.com/gakonst/ethers-rs/issues/2667

Hey @wtdcode, can you explain your use case a bit?

Hey @wtdcode, can you explain your use case a bit?

I need serialize this to cross processes boundaries and this was doable with previous ethers-rs.

The canonical representation of dynsolvalue is the ABI encoded bytes, and alongside the type name it can be losslessly encoded and decoded

value type name https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolValue.html#method.sol_type_name
value encode https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolValue.html#method.abi_encode
type parse https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolType.html#method.parse
type decode https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolType.html#method.abi_decode

The canonical representation of dynsolvalue is the ABI encoded bytes, and alongside the type name it can be losslessly encoded and decoded

value type name https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolValue.html#method.sol_type_name
value encode https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolValue.html#method.abi_encode
type parse https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolType.html#method.parse
type decode https://docs.rs/alloy-core/latest/alloy_core/dyn_abi/enum.DynSolType.html#method.abi_decode

If it really has the canonical, it is still possible to implement (De)/Serialize for DynSolValue. Without this, it is super inconvenient because of the type bounds. Say you can indeed erase the types when passing messages but then you have to create another struct (I'm currently doing this) to hold the typed values.

I'm just feeling confused, serde inherently just tells compilers the layout of an object, pretty like how Debug trait is derived. It by itself should not bind to any representations. For example, if the structs including DynSolValue is derived with Serialize, I can serialize it to any formats I feel happy with, including but not limited to json, yaml, toml etc. If there were really some crates like serde_evm_abi (not sure if it's there), we can encode any struct derived Serialize to evm abi bytes. I mean:
** The serde derives has nothing to do with the canonical formats. ** serde by design decouples the format and object layouts.
For example, in foundry-rs/compilers, this corresponds to the json abi, but actually you can also call serde_yaml::to_writer with that object even if the canonical format is obviously json.
In addition, as you point out, if the abi encoded bytes is the canonical, personally DynSolValue should be indeed derived with (De)/Serialize so that we could have something like serde_evm_abi to do the job without creating duplicate code.
Hope it clarifies my thoughts.

Attach a rather simple sample to illustrate this:
use alloy_json_abi::{Fallback, JsonAbi};

fn main() {
    let abi = r#"
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"},{"name":"wad","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"src","type":"address"},{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":true,"name":"guy","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":true,"name":"dst","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"dst","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"src","type":"address"},{"indexed":false,"name":"wad","type":"uint256"}],"name":"Withdrawal","type":"event"}]
    "#;

    let abi: JsonAbi = serde_json::from_str(&abi).unwrap();

    let yaml_abi = serde_yaml::to_string(&abi).unwrap();

    println!("YAML ABI:\n{}", yaml_abi);
}

Output:
YAML ABI:
- type: fallback
  stateMutability: payable
- type: function
  name: allowance
  inputs:
  - name: ''
    type: address
  - name: ''
    type: address
  outputs:
  - name: ''
    type: uint256
  stateMutability: view
- type: function
  name: approve
  inputs:
  - name: guy
    type: address
  - name: wad
    type: uint256
  outputs:
  - name: ''
    type: bool
  stateMutability: nonpayable
...

The serde derives has nothing to do with the canonical formats. serde by design decouples the output format and object layouts.

We know this. I think we're miscommunicating about what formats we value and why we implement Serialize for anything at all. alloy-core exists to implement standard data formats that are used across many different libraries and applications across the ethereum ecosystem. E.g. ABI encoding, ABI interface specification JSON, RLP, EIP-712 eth_signTypedData objects, signature vrs, etc.
Yes, you are free to make a YAML representation using the Serialize trait, but it won't interoperate with any other system. We add the Serialize derives to target specific industry-standard data formats that are broadly used. We're not trying to make new data formats.
Because there is no industry-standard format for DynSolValue values (as they're an alloy implementation detail), we won't be adding Serialize derives to it. If you want to add application-specific serde logic for DynSolValue you can pretty easily do that with serde(with = "...") and a custom (de)serialize module


[Package Request]: Fujitsu ScanSnap Home

How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.pfu.fujitsu.com/imaging/ssacc/en/start_download_21_GA.html
Publisher: Fujitsu
Package Name: ScanSnap Home
Description: ScanSnap Home is a desktop application that edits, manages, and utilizes scanned data from documents, business cards, photos, and receipts to increase your productivity.
Package Version: 2.10.0
Installer URL: https://origin.pfultd.com/downloads/ss/sshinst/w-2100/WinSSHDownloadInstaller_2_10_0.exe

Unable to add tag because what do you want the tag to be? So that, it can be easily find.

Here are some possible tags.  Not sure which ones make the most sense.

scanner
documents
receipts
digitize
ocr

Ok.

During the creation of manifest, wingetcreate asks me the silent switches for installer?

I'm not sure if this installer has silent switches.  Are they required?

Yes, they might required.

Detected Version changed

Unsuccessful! Because silent switch is needed. This installer don't support silent switch either.

According to the strings table inside the InstallShield setup, /S /V/qn should be the silent install string. However, this doesn't seem to work. This will likely have to wait until either a silent install switch is found or winget supports non-unattended installers.


Fix URL instance comparsion

What do these changes do?
yarl 0.9.5 introduces BaseURL class, so isinstance(foo, URL) doesn't work anymore.
Are there changes in behavior for the user?
No
Related issue number
#1632 #1631 #1635

Build failed only on Linux/Python 3.4.2, and I have no idea why this happens.
https://travis-ci.org/KeepSafe/aiohttp/builds/201841920

@insideable
That was well known flaky static test. Rerun fixed that.

This should be fixed with yarl0.9.6


hc:InfoElement.ShowClearButton looks weird

Hi there
First of all please have a look about below screenshot

It looks weird coz the value is empty and here is nothing to clear.
What do you think?
Thanks

FYI


Support for Autofac 6.4.0 and FluentAssertions 6.7.0

Hi @SeanWilliamson2004 ,
Does the current implementation break with the newer versions of AutoFac and FluentAssertions? If so, where?
Please add some more details.


accessing gpu for Mali G610 from docker in orangepi 5, on ubuntu 20 docker with host ubuntu 22.

Dear Team,
I am trying to run one of the docker images for ROS provided on https://hub.docker.com/_/ros/tags  in an orangepi SBC with an RK3588 chip that has a Mali G10 GPU
I am trying to run a 3D simulation that needs GPU access for proper rendering. I am currently exposing as many driver locations as possible, but still the docker image is not able to access the hardware rendering of the host machine
docker run -it --privileged -e DISPLAY=$DISPLAY --ipc=host --net=host --privileged  -v /tmp/.X11-unix:/tmp/.X11-unix:ro --device /dev/video0 --device /dev/video1  --device /dev/ttyACM0 --device /dev/ttyUSB0 --device /dev/dri/card0 --device /dev/dri/card1 --device /dev/dri/renderD128 --device /dev/dri/renderD129 --device /dev/dri/by-path/platform-display-subsystem-card --device /dev/dri/by-path/platform-display-subsystem-render --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --volume /dev/dri:/dev/dri --volume /usr/lib/aarch64-linux-gnu/dri:/usr/lib/aarch64-linux-gnu/dri --name delta-noetic-auth ros:noetic-ros-core-focal /bin/bash

The host machine uses the open source GPU drivers panfrost/pan CSF. The rendering of glxgears or any other GL application from within the docker is also defaulting to software rendering using llvmpip.
How would it be possible to get the docker to access the host hardware rendering? I believe it is done for nvidia devices but how can it be done for other devices? Is it something that can be solved if the proper driver folder access is given?
This is the LIBGL logs from within docker  where it defaults to llvmpip- https://github.com/programmeddeath1/webhost/blob/master/opi_rockhip_driver_error
This is LIBGL logs from host where it is able to pick the proper drivers
https://github.com/programmeddeath1/webhost/blob/master/proper_gpu_loaded.txt
When I run x11docker it tried to load the drive files, but still is not able to use the gpu drivers, it still defaults to llvmpipe
https://github.com/programmeddeath1/webhost/blob/master/x11docker_error

Did you install the drivers in the image?

I installed some of the files, but the GPU installation for this SBC is slightly complicated and thus the default hardware firmware will also have to be replicated which seems like an extremely tedius process. Ill have to dig deep and check.
Thanks for your response!


Threshold update should increase sequence number

The threshold update should invalidate previously created transactions.
Note: This change will increment the seq two times when calling set_owners_and_change_threshold.

the owner_set_seq value is to track the current numerical sequence number of the set of owner public keys. since updating the threshold doesn't have any change implications to the owner public keys, this value should not be incremented.


Testcase preperation  for Resource manger features

Issue/Feature Description:
Need to prepare testcases for all resource mangemnt user scenarios like
Why this issue to fixed / feature is needed(give scenarios or use cases):
Test case sheet is required to track tests and status.
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Test cases prepeare and sheet is updated


Missing aex9 tx

Describe the bug
The wallet does not show all aex9 transactions from the middleware.
To Reproduce
Screenshot:

compare it with the result of the query:
https://mainnet.aeternity.io/mdw/aex9/transfers/to/ak_2QTYfJmtn6qcEU7u8xAySpWTSAV2nvUirKTUhqrvxk5srJVscc
Expected behavior
Should show all 9 transactions.

Can it be that the missing transactions are actually not in this chunk of transactions time frame?


OSX El Capitan Issue

When I do a "setup.py sdist bdist_egg upload" after upgrading to El Capitan the Post Data has
u':action': [u'\r\nfile_upload\r']
Which fails when you do a string compare for the 'file_upload' command

2015-10-16 15:45:26,734 ERROR   djangopypi.views.distutils: Failure when storing upload
Traceback (most recent call last):
File "/var/www/pypi_arch/eggs/djangopypi-0.4.5-py2.7.egg/djangopypi/views/distutils.py", line 103, in register_or_upload
md5_digest=md5_digest)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/manager.py", line 138, in create
return self.get_query_set().create(**kwargs)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/query.py", line 360, in create
obj.save(force_insert=True, using=self.db)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: value too long for type character varying(32)

Getting that error now...


Slam UI clipping through terrain on certain maps

Slam indicator ui does not show on maps with uneven ground eg. Eichenwalde
https://github.com/MaxwellJung/ow1_emulator/assets/143065368/f4d23b1b-fd84-463e-8643-51233590924d

That happens because slam ui is always perfectly horizontal.
This is likely very very hard to fix, but I'm leaving the issue up for documentation purposes.


Always Authorization

Hi Guys and Ladies,
Can someone maybe explain why geolocation.enableLocationRequest(true) does not work?
I want my app to have access to location "Always", not "While using the app".
Edit: I found a pull request: https://github.com/NativeScript/nativescript-geolocation/pull/217. My guess is that this master source is deprecated with regard to my question.
With kind regards,
Prefix.

Hi,
I fixed this by adding key:
NSLocationAlwaysAndWhenInUseUsageDescription
Need location always.
to App_Resources/iOS/Info.plist.
Thanx to pull request #217.


I am getting error "Internal service error" while using  api of get statistics for a company page.

I am using  linkedin.companies.company_stats(page.id,callback) and getting response from API  is given below:
{
errorCode: 0,
message: 'Internal service error',
requestId: 'TSY816T5K6',
status: 500,
timestamp:<PHONE_NUMBER>087
}
Currently I am using node-linkedin version 0.5.3.
Please suggest me solution for this.
Thanks !

It could be due to the issue in LinkedIn itself. I don't remember as if there's such a way of error exists in module.

Thanks!! LinkedIn api was down due to that I was getting error.

@dhirajsharma072 How did you verify that the linkedin api was down? I can't find any support webpage, email, etc. What is most frustrating is that I am getting the same error on the share method but it actually is posting.


Update for UX issues.

Coverage decreased (-0.006%) to 54.975% when pulling 00bd8f31941f0fe436eef0d2b7ae7e27b296981b on wknet123:dev-sync into 08d30777addfc964b1989bbef70d4b8c22078168 on vmware:dev.


Upgraded okhttp dependency has breaking change.

Describe the bug
With 4.10 version of okhttp, there's a breaking change with use of function RequestBody.create(payload, JSON). It's changed to RequestBody.create(JSON, payload)
** Expect**
Would be great to have the dependency updated and fix complier issue.
** Version **
Works with version 4.9.3
Compiler errors with version 4.10

 complete the following information):**

Hi @fathimaSheikh, thank you for the report!
We will definitely update the okhttp dependency to the latest version (4.12), but I am confused about the problem because according to the okhttp code the correct order of the arguments in RequestBody.create() is to put the content first and then the content type, see here. The other order (content type first) that you suggest is deprecated.


Add retry feature

Hello,
we are using gitlabform in an on-premise GitLab installation with about 600 projects. Today we noticed that randomly, different projects can not be processed.
E.g.
Run 1
:: # of projects failed: 2
:: Failed project 102: REDACTED
:: Failed project 105: REDACTED

Run 2
:: # of projects failed: 1
:: Failed project 178: REDACTED

I would like to see a configurable retry option.

Based on this thread, it seems there is already built-in retry logic when the API call fails with 500 server error.
https://github.com/gitlabform/gitlabform/issues/531
Not sure what the issue is in your case. Did you try running with --debug or --verbose enabled? That might reveal the source of the issue. If it's a legitimate issue, the retry won't really solve it, right?
I know debug/verbose logs can be annoying when things are working fine because they clutter the output. I always thought it'd be nice if the tool would produce debug/verbose log as a file instead of stdout. That way when things go wrong, we can simply inspect the log file.

Clone of #531


Doronst/bio 548/track more files with lfs

It's kind of impossible to test that the size of the clone was reduced.
When I clone into a machine without git-lfs, it clones the master branch (170M)
When I checkout this branch it is still 170M since I guess it doesn't delete the files which were already downloaded.
Anyways, git-lfs will not delete the files which were already uploaded to remote.
We need more involved migration if we want to do that. And I rather we avoid it.
Still, I hope that after we merge this, and re-clone the size of the clone folder will be reduced.


the targetNamespace in operatorgroup should use the TARGET_NAMESPACE

refer the operatorgroup yaml file, we did not change the operatorgroup so when the globalhub operator install the kafka, the kafka will have problem

cc @clyang82 @yanmxa

I do not fully understand the problem here. in a namespace, it can only have one og. that being said, the kafka subscription shares this og.

yes, the kafka will use the same op here.
the problem is, if we set the TARGET_NAMESPACE in another namespace, the make deploy will use kustomize to update the namespace and the this operatorgroup will be created in namespace n1, but the targetNamespace in this operatorgroup was still be the multicluster-global-hub, this will bring the problem.

I see. that is a problem of make deploy. we can use replacements of kustomize to correct the targetNamespaces in og.


Fix image construction problem

🗒 Summary
Merge this to fix a problem with building of Docker images.
For details, see build at https://github.com/NASA-PDS/registry-sweepers/actions/runs/7549106501/job/20786456869 … the issue being that the new psutil dependency requires the dev environment at build time.
⚙ Test Data and/or Report
$ mirasol 296 % docker image build --file ./docker/Dockerfile .
[+] Building 0.0s (10/10) FINISHED                                                               docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                             0.0s
 => => transferring dockerfile: 2.64kB                                                                           0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 202B                                                                                0.0s
 => [internal] load metadata for docker.io/library/python:3.9-slim-bullseye                                      0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 2.94kB                                                                              0.0s
 => [1/5] FROM docker.io/library/python:3.9-slim-bullseye                                                        0.0s
 => CACHED [2/5] COPY . /tmp/registry-sweepers                                                                   0.0s
 => CACHED [3/5] RUN apt-get update --quiet &&     apt-get upgrade --quiet --yes &&     apt-get install --quiet  0.0s
 => CACHED [4/5] RUN pip install /tmp/registry-sweepers  && cp /tmp/registry-sweepers/docker/sweepers_driver.py  0.0s
 => CACHED [5/5] RUN apt-get autoremove &&     apt-get remove --quiet --yes gcc python3-dev &&     rm --force -  0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:e201433ec7055f4c5e5e39baeffd0a9ee671201ab0d05f164bd402ad9896407d                     0.0s

♻ Related Issues
N/A

Fixes build error introduced in #96


Better failure tagging for measured boot and fail agent on exception

tpm_main: add failure tagging to measured boot parsing
verifier: ensure that execptions caused by the agent result in a failure

Codecov Report

Merging #1015 (8404164) into master (c26a729) will increase coverage by 1.82%.
The diff coverage is 50.45%.

Flag
Coverage Δ

packit-e2e
60.45% <50.45%> (+3.43%)
:arrow_up:

testsuite
27.06% <16.51%> (-0.04%)
:arrow_down:

unittests
13.24% <6.42%> (+0.09%)
:arrow_up:

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

Impacted Files
Coverage Δ

keylime/elchecking/example.py
20.20% <0.00%> (-3.90%)
:arrow_down:

keylime/ima/ima.py
65.23% <ø> (+1.51%)
:arrow_up:

keylime/keylime_agent.py
68.22% <0.00%> (+0.77%)
:arrow_up:

keylime/measured_boot.py
42.37% <0.00%> (+10.16%)
:arrow_up:

keylime/revocation_notifier.py
51.29% <ø> (ø)

keylime/secure_mount.py
95.31% <ø> (ø)

keylime/tornado_requests.py
69.23% <0.00%> (-3.75%)
:arrow_down:

keylime/tpm/tpm2_objects_test.py
98.64% <ø> (ø)

keylime/tpm/tpm_abstract.py
76.92% <ø> (ø)

keylime/tpm/tpm_main.py
70.95% <51.42%> (+4.60%)
:arrow_up:

... and 17 more

@kkaarreell can you use create_mb_refstate from the PR if available not from the master?

@kkaarreell can you use create_mb_refstate from the PR if available not from the master?

https://github.com/RedHat-SP-Security/keylime-tests/pull/118

@kkaarreell thanks.


NTR: molecular condensate scaffold activity

Please provide as much information as you can:

Suggested term label:

molecular condensate scaffold activity

Definition (free text)
Binding and bringing together two or more macromolecules in contact, permitting those molecules to organize as a molecular condensate.

Reference, in format PMID:#######
PMID:28225081

Gene product name and ID to be annotated to this term

Parent term(s)
GO:0030674 protein-macromolecule adaptor activity

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)
liquid condensate scaffold activity EXACT

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information
For IDPO alignment - requested by DisProt group @federicaquaglia @esalladini

+[Term]
+id: GO:0140693
+name: molecular condensate scaffold activity
+namespace: molecular_function
+def: "Binding and bringing together two or more macromolecules in contact, permitting those molecules to organize as a molecular condensate." [PMID:28225081]
+is_a: GO:0030674 ! protein-macromolecule adaptor activity
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/21937 xsd:anyURI
+created_by: pg
+creation_date: 2021-08-09T15:13:52Z

I want to tag this publication in this ticket for future reference, because it describes "phase separation" as an activity, rather than a process, and this term might eventually morph into such an activity?
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7341897/
Phase-separation, is an emergent property of multivalent scaffold proteins that are present at high local concentration and display liquid-like behavior.
and from the abstract:
We suggest the CPC combines phase-separation, kinase, and histone code reading activities to enable the formation of a chromatin body with unique biochemical activities at the inner-centromere.


chore(deps): updates vendors deps

Codecov Report

Merging #6 (fe8e8a6) into main (648bfa7) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          126       126
=========================================
  Hits           126       126

Impacted Files
Coverage Δ

...nal/pkg/adapter/postgres/certificate_repository.go
100.00% <100.00%> (ø)

...rnal/pkg/delivery/rest/handler/view_certificate.go
100.00% <100.00%> (ø)

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 2e8050f...fe8e8a6. Read the comment docs.


Host Key Verification failure while running npm install during build

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[X ] 4.x
I'm submitting a ...  (check one with "x")
[X ] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I use "git push ionic master" to push my linked application, it fails during the build process. When it is doing NPM install, it attempts retrieve ANOTHER private GIT repository listed in the package.json via NPN.  It fails with a Host Key verification failed message.
Expected behavior:
It should be able to retrieve the dependant github library using the uploaded SSH Key. This is the same SSH Key that I used on my machine.
Steps to reproduce:
Do an "git push ionic master" to initiate a new build.
Related code:
The application "Conferee in my account is exhibiting this issue.
A sample application via GitHub
StackBlitz (https://stackblitz.com)
Plunker (http://plnkr.co/edit/cpeRJs?p=preview)
-->
insert short code snippets here

Other information:
Stack Trace via Ionic Dashboard showing failed build:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on Prod Snapshot Builds 1 (c9648220)
Using Shell executor...
Running on ip-10-2-57-120...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/c9648220/0/project-1'...
Checking out fe642133 as master...
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates...
$ build-app
Fetching build dependencies...
Running: npm install
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t<EMAIL_ADDRESS>npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128
npm ERR!
Successful clean up
ERROR: Job failed: exit status 1
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
@ionic/cli-utils  : 1.13.1
ionic (Ionic CLI) : 3.13.2
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms  : android 6.2.3 ios 4.4.0 windows 5.0.0
Ionic Framework    : ionic-angular 3.7.1
System:
Node : v8.1.4
npm  : 5.0.3
OS   : Windows 10
Misc:
backend : pro

Hello! Thank you for opening an issue with us!
I am closing this as it is not an issue with the Ionic Framework. It appears to be an issue with Ionic Pro. For issues related to Ionic Pro, please use the Ionic Pro support portal
Thank you for using Ionic


Feature/project scope

@reynoldmorel I have added all of your suggestions , please check this new PR.

Reopen PR to Merge to Dev branch

Reopen PR to Merge to Dev branch


Weird result after 30 epochs

Hi guys! Please advice if you know what happens and did trained the network.
The problem is that: I train DIS with ade20k dataset with only floor category (0 value or 255 for the floor) and after more than 30 epochs (there are some  25000 imgs for an epopch) i got that result (please see screenshots).
I got my loss decreasing but it couldn't go below 3.0.
Who knows what's wrong? Thank you!

Can you share your code so other people can contribute in solving the issue?

The problem was solved. There was low F1 due to '*255' problem that was eliminated in this repo by author of the net.


DBZ-5838 Skip Avro validation in tests which fails due to apicurio-re…

…gistry #2980
https://issues.redhat.com/browse/DBZ-5838

@jpechane no, the main fix will be for the main Debezium repo and this one is not finished yet - there are still few failing tests where I'm trying to figure our the root cause.


chore: minor openup

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?

minor change to auth_mysql: add pub and return Result<(), Error> instead of UserInfo directly
add two auth error snafu for later use

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Also please consider a more meaningful title for this PR


How many llama models are used for constructing llama-moe ? moe的构建是通过多个llama模型还是1个llama模型

请问moe模型的构建是通过多个llama模型还是1个llama模型呢？
请问这个repo的用途是将1个llama模型的FFN层通过不同的切分方法，切分为多个FFN来扮演多个专家。然后将llama模型的其余模型层和权重与切分后的FFN和gate进行拼接变成moe模型嘛？
是否支持将多个llama结构模型的FFN层合并，基于一个base 的llama模型结构构建Moe呢？

How many llama models are used when constructing llama-moe?
Is this repo partition one llama model's FFN into multiple experts and concatenate the rest parameters with gates to construct an MoE model?
Do you support concatenating multiple llama models and construct an MoE model?

感谢您对本项目的关注❤

LLaMA-MoE基于一个完整的llama模型进行切分
是的。我们只切分了llama的FFN层，之后再加一个gate进行token路由
目前不支持。不过这个想法基于同构模型，我想是比较容易实现的

Hi there, thanks for your attention on this project❤

LLaMA-MoE is constructed on ONE llama2-7B model
Yes, you are right. We first partition llama2's FFN layers into multiple experts, then initialize a gate for token routing.
Currently this repo does not support such functions. But, since all the candidate models have similar structures, I thinks it is not difficult to implement.

谢谢大佬，后续有无考虑创建一个微信群聊，大家一起讨论moe

感谢您对本项目的关注❤

LLaMA-MoE基于一个完整的llama模型进行切分
是的。我们只切分了llama的FFN层，之后再加一个gate进行token路由
目前不支持。不过这个想法基于同构模型，我想是比较容易实现的

Hi there, thanks for your attention on this project❤

LLaMA-MoE is constructed on ONE llama2-7B model
Yes, you are right. We first partition llama2's FFN layers into multiple experts, then initialize a gate for token routing.
Currently this repo does not support such functions. But, since all the candidate models have similar structures, I thinks it is not difficult to implement.

你好，有些其他问题请教。
关于2的gate，我们做了一些实验，发现梯度会很大，不确定是否因为gate的初始化问题（因为模型的参数们都是经过良好训练的，但是gate是随机初始化的，不确定是否会因为这个导致梯度异常），所以想请教一下你们gate的一些初始化策略和方案

We had tested to firstly freeze other parameters and pre-train the gates. However, as more tokens consumed during continual pre-training, the two-stage pre-training didn't show advantages. So we keep the simplicity and train the whole model without specific gating magics.

We had tested to firstly freeze other parameters and pre-train the gates. However, as more tokens consumed during continual pre-training, the two-stage pre-training didn't show advantages. So we keep the simplicity and train the whole model without specific gating magics.

大概多少token这两个方案会基本一致呢？如果不特殊处理gate，在多少token时loss会下降到相对合理的水平？我现在loss大概在4.x，梯度在大几千的水平并且还在持续上升。根据之前的经验看，这么大的梯度似乎是不正确的。

How many tokens approximately will make these two approaches essentially consistent? If gates are not handled with special care, at what token count does the loss generally decrease to a reasonably acceptable level? Currently, my loss is around 4.x, and the gradients are at several thousand levels, continuously increasing. Based on previous experience, such large gradients seem to be incorrect.

Hi there~ For multi-stage pre-training comparison, it takes about 20B tokens. It may take about 20~30B tokens to reach a relative low loss values (2.1). But 20B tokens for gate pre-training may be not an effective training recipe (loss get convergence in 5-10B), you could try different settings to find a better one.

十分感谢解答。另外能否请教一些其它问题？

有跟踪梯度吗？大概是一个什么样子的变化？
初始化后的loss大概在什么水平呢(step 1)？不进行任何处理直接训练会在20B左右(global batch token 15M？)loss变成2.1？
如果按照 tech report里-4级别的学习率进行，使用初始化的gate进行全量更新为什么没有显著破坏预训练的其他参数呢？（考虑到只warmup了100个step就达到了-4级别的学习率，感觉会很大程度破坏之前学习到的参数？）
期待您的回复~

Thank you very much for your response. Additionally, may I inquire about some other questions?

Is there any gradient tracking? What does the change in gradients generally look like?
After initialization, at what level is the loss approximately (step 1)? Without any processing, direct training results in a loss of around 2.1 at a global batch token of 20B (15M tokens)?
If using a -4 level learning rate as per the tech report, why doesn't the full update with the initialized gate significantly disrupt the pre-trained parameters? (Considering that reaching a -4 level learning rate with only 100 warm-up steps seems likely to heavily impact the previously learned parameters?)

Looking forward to your response~


Count Leaves in Binary Tree

🚀 Feature
Given a Binary Tree of size N , You have to count leaves in it
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Motivation
I want to add in cp in c++.
Pitch
Want to add as a GSSoC'21 participant .

/assign


Add enchanted book to vanilla loot tables

Allow the enchantment to be found in some of the vanilla loot tables.

Hey! Can you provide more details about the issue?

The idea is to simply make the enchantment available in vanilla loot chests i.e. dungeon chests, nether fortress chests, sunken ships, etc.


Unable to import external python modules

I am new to Azure and its function deployments. I have created Timer and HTTP based functions as per Azure's docs using Visual Studio Code. The HTTP function works fine on local and server after deployment from VS Code.
But my Timer based function needs some external Python libraries like Pymongo for MongoDB connection. When I run the trigger in Azure's portal, I'm getting long error trace, here are the important lines -
Result: Failure
Exception: ModuleNotFoundError: No module named 'pymongo'
I'm not sure how to install the required python modules on Azure. I found in some threads that I need to list the modules in requirements.txt. I did it and committed my changes to Azure from Visual Studio Code, but they are not yet reflected in Azure. From Kudu explorer, wwwroot still shows old changes.
Can you please guide to install required python modules for azure functions?

I found solution to this by adding the package list with version in requirements.txt file.


Fix panic in TestMiniController_FailMarshalKey_OnStart

This is a candidate fix as it's hard to reproduce locally on my Mac, I'll be using the CI to verify.
Fixes #249

Observations: The fake store implementation didn't respect the API's intentions.
It's unclear if this is the cause of the bug we observe.

Observation: fixing the fake store prevents the panic.
However, the test still fails and it appears the panic was caused by the test going "too far" before failing.
I'm now testing the hypothesis that the failure is due to a file existing (unexpectedly) in the filesystem.

Conclusion: the test failure was due to changes in the Golang crypto library.
The elliptic curve we assumed would be unsupported is now fully supported.
As such, I've modified the badCurve implementation to be a genuinely broken, unsupported implementation.


Styling for: input type="file"

Select one ...  (check one with "x")
[ ] bug
[x] feature request
[ ] enhancement

Expected behavior
To be able to apply clarity styling on <input type="file">
Actual behavior
No styling is available so we are displaying the standard <input type="file">  that has a different look on different browsers
Reproduction of behavior
Environment details

Angular version: 2.0.X

**Clarity version: 0.8.13

**OS and version:OS X El Capitan 10.11.6

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

This is actually a pretty hard problem if you try to remain accessible, from what I remember.
Just tagged it, we'll see how much of a priority it is during our planning sessions.

Hello,
We have an additional request for the input field.
We need it to be able to receive a custom label so that it can be identical to all browsers and localized depending on the user's locale

We also have a need for this feature. Our need also ask's for the addition of multiple files. I created a concept below for use to develop and test. Would like to see what the clarity team thinks of this design.

In this design, the browse button allows the user to search for local files and add them. Once added, the file name is displayed in a label with and "x" icon to delete. I also enclosed the labels in a container that scrolls to limit the vertical space but still allows for multiple files to be added and easily accessed.

@bmireles thanks for taking a look at this and coming up with a proposal, this helps. So here is the angels I see to this (so we have a clear understanding of this when we start working on it) and please let me know if I missed anything:

We need a quick styling of input type="file" itself when we're uploading a single file.
We need a case where we might want to upload multiple files before we actually go ahead and upload them together or post them together.

The above addresses 2 and somewhat addresses 1 styling wise. Keeping the needs-ux-input label to work on this and we'll prioritize it soon. / cc @mathisscott

Thanks, @bmireles . This looks like it would need to be an angular component. I will ask @reddolan to review it in the near future before discussing implementation with the team.
Any information on your circumstances of need will be helpful because we have a lot of competing priorities right now.

@bmireles This looks good. Do you happen to also have a design for the single file experience?

@reddolan Here is what I was thinking for a single file. Would like to get feedback on it though.

By default, the file upload handles one file at a time. HTML5 has an additional attribute that allows for multiple uploads. Though the files have to come from the same folder and be selected at the same time. If you select one file and then browse and select another file, the first one is replaced with the new selection.
I recommend we go with the Option 2 design but keep the Browse button active at all times. After uploading more than one, than the design would expand like you have spec'd on your previous comment. This gives the user two ways of being able to change the file being uploaded:

clicking the Browse button and selecting another file
clicking the X icon on the file name listed to remove it, then clicking Browse to select another file

TY for the clarification @reddolan.

Nice workaround I came up with, use the input inside a label. You can style the label with Clarity .btn and .btn-link classes:
<label class="btn btn-link">
    <input type="file"
           (change)="onChange($event)"
           placeholder="Upload file"
           accept="*">
    Attach Files
</label>

In which version we can expect this to be implemented in Clarity?

The new forms has this styling designed, though we haven't built the Angular component for it yet.

Maybe you can add "Drag & Drop" support to the file input component when you build a Angular component for it.
I created a custom file comonent for our project. When a file is dragged over the document, the component indicates that a file can be dropped with a border and a message:

When the file is dragged inside the border, the border color indicates this:

When the drag is cancelled, the border is removed.
Now when I look at it, maybe the button should also be hidden when a drag is in progress.

it seems a little silent around this component ...
could you guys @mathisscott, @gnomeontherun give us a bit of a heads up here:

is this design specification ready for implementation?
are there any planning details predictable?
currently no milestone, no project ...

It hasn't been prioritized yet, but there is the CSS version you can use available today (undocumented). https://github.com/vmware/clarity/blob/master/src/dev/src/app/forms/controls/file.html

Any updates on this?

Its not currently prioritized for the core teams workload. Is it a feature you are interested in contributing?

file-upload seems like a very common component for an ui framework!
any chances this get a little more attention?

It hasn't been prioritized yet, but there is the CSS version you can use available today (undocumented). https://github.com/vmware/clarity/blob/master/src/dev/src/app/forms/controls/file.html

Files have moved https://github.com/vmware/clarity/tree/master/packages/angular/projects/dev/src/app/forms/controls

This is available through @clr/core now, so I'm going to close this as resolved.


propagate system state to subsystems if current controller is not master

Unfortunately I don't think this is the right way to do this -- it's exposing too much about specific implementation bits all over the process. I think the right thing to do is:

Push the current "active" state down into faucet_state_collector, since that's the only thing it really effects, right?  There's no real impact on CPN or processes
Then, inside of faucet_state_collector, for each of the API calls rather than returning "broken", it can just check the current active state and return "inactive" if not true.

Right now, the concept of "vrrp_state" is scattered all over the place in here, which doesn't seem like the most elegant solution... ?


[sources/path] Support leading slash in glob patterns

Background: https://github.com/rust-lang/cargo/issues/4268
This diff takes us to Stage 1.1 of the migration plan by allowing
glob patterns to include a leading slash, so that glob patterns can be
updated, if needed, to start with a slash, closer to the future behavior
with gitignore-like matching.
Why is this stage needed?
It's common to have package.include set like this:
include = ["src/**"]

In old interpretation, this would only include all files under the src
directory under the package root. With the new interpretation, this
would match any path with some directory called src, even if it's not
directly under the package root.
After this patch, package owners can start marking glob patters with a
leading slash to fix the warning thrown, if any.
One thing to notice here is that there are no extra matchings, but, if
a manifest has already a pattern with a leading slash, this would
silently start matching it with the paths. I believe this is fine, since
the old behavior would have been for the pattern to not match anything,
therefore the item was useless.
See also https://github.com/rust-lang/cargo/issues/4377 for suggestion
to throw warning on useless/invalid patterns in these fields.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

:pushpin: Commit 5641cbd has been approved by alexcrichton

@bors: r+
Thanks again for the continued work here @behnam! It's very much appreciated 💯

:hourglass: Testing commit 5641cbde4b21fc4c2e39d484448f0d35b3ca4bc0 with merge 641bff887fb7ebb3eb710e5f957d6a8b12dc4c83...

@bors: r=alexcrichton

@behnam: :key: Insufficient privileges: Not in reviewers

Sure, @alexcrichton!
BTW, looks like deleting my remote branch from CLI before it lands on master has bors/homu to stop the land process and needs another r+. Would you please stamp again?

:boom: Test timed out

Also, @alexcrichton, I think this should be backported to rustc:1.20.0 release, as otherwise there could be plenty of warnings that users have no way to stop.

@bors: r+

:bulb: This pull request was already approved, no need to approve it again.

This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
There's another pull request that is currently being tested, blocking this pull request: #3611

:pushpin: Commit 5641cbd has been approved by alexcrichton

:hourglass: Testing commit 5641cbde4b21fc4c2e39d484448f0d35b3ca4bc0 with merge 9d161a2f9c1b69f7188f2d3f5e83c21ef0e9bf04...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 9d161a2f9c1b69f7188f2d3f5e83c21ef0e9bf04 to master...