Create jar content always from scratch for shading

What changes are proposed in this pull request?
Shade plugin is provided fresh jar content always.
Why are the changes needed?
Incremental builds (without clean lifecycle) are broken due to shade-plugin reshading shaded content.

Not sure if this is the right approach. It just achieves the desired end goal of allowing incremental builds on source root.

Codecov Report

Merging #13806 (357c782) into master (0203366) will decrease coverage by 26.37%.
The diff coverage is 32.52%.

@@              Coverage Diff              @@
##             master   #13806       +/-   ##
=============================================
- Coverage     43.86%   17.49%   -26.38%
+ Complexity     8930     2668     -6262
=============================================
  Files          1359     1386       +27
  Lines         78109    80549     +2440
  Branches       9496     9803      +307
=============================================
- Hits          34260    14089    -20171
- Misses        40960    65220    +24260
+ Partials       2889     1240     -1649

Impacted Files
Coverage Δ

...n/java/alluxio/client/block/AlluxioBlockStore.java
5.93% <0.00%> (-69.91%)
:arrow_down:

...o/client/block/policy/DeterministicHashPolicy.java
0.00% <ø> (-68.43%)
:arrow_down:

...nt/block/policy/LocalFirstAvoidEvictionPolicy.java
0.00% <ø> (-94.29%)
:arrow_down:

.../alluxio/client/block/policy/LocalFirstPolicy.java
0.00% <ø> (-93.94%)
:arrow_down:

.../client/block/policy/MostAvailableFirstPolicy.java
0.00% <ø> (-91.67%)
:arrow_down:

.../alluxio/client/block/policy/RoundRobinPolicy.java
0.00% <ø> (-97.92%)
:arrow_down:

...lluxio/client/block/policy/SpecificHostPolicy.java
0.00% <ø> (-40.00%)
:arrow_down:

...ava/alluxio/client/block/stream/BlockInStream.java
0.00% <0.00%> (-58.20%)
:arrow_down:

...xio/client/block/stream/BlockWorkerDataReader.java
0.00% <0.00%> (ø)

...ient/block/stream/BufferCachingGrpcDataReader.java
0.00% <0.00%> (-41.67%)
:arrow_down:

... and 889 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 527be45...357c782. Read the comment docs.

So, while this might fix the problem, does it shade the jar every time no matter what? In my experience shading is actually the longest part of the build and it's bottlenecked by the speed of a single thread. I think this fix is fine, but it could also just make builds always slow unless you skip building the jar entirely.
e.g. I use this command for all my builds inside of a local Makefile:
mvn -T 1C install -DskipTests -Dmaven.javadoc.skip -Dlicense.skip -Dcheckstyle.skip -Dfindbugs.skip -pl '!webui' -pl '!integration/fuse' -pl '!tests' -pl '!shaded/client'

Adding the -pl '!shaded/client' also allowed me to work around the issue when I don't need the client jar.
It may eventually be worth re-examining the build process from the ground up, and potentially migrating a more modern (and faster) build system like gradle or bazel. That's a task for the future though :)

Thanks. The issue is that incremental builds on shaded client fail always since shade-plugin requires clean build always.
I'll incorporate these flags into my build as well but will check this in to avoid failed builds.

alluxio-bot, merge this please


value PR is not allowed in element NM101

I'm trying to parse an 837p sample file, with contents:
ISA*00*1234      *00*A         *ZZ*1234567        *ZZ*11111          *210508*1141*^*00501*000000101*1*P*:~ GS*HC*XXXXXXX*XXXXX*20170617*1741*101*X*005010X222A1~ ST*837*1239*005010X222A1~ BHT*0019*00*010*20170617*1741*CH~ NM1*41*2*BILLING SERVICER*****46*ABC123~ PER*IC*BOB SMITH*TE*4805551212~ NM1*40*2*RECEIVER*****46*44556~ HL*1**20*1~ NM1*85*2*BILLING PROVIDER*****XX*1122334455~ N3*1234 SOME ROAD~ N4*CHICAGO*IL*606739999~ REF*EI*999999999~ HL*2*1*22*0~ SBR*P*18*******12~ NM1*IL*1*BLOGGS*JOE****MI*1234567890~ N3*1 SOME BLVD~ N4*CHICAGO*IL*606129998~ DMG*D8*19570111*M~ NM1*PR*2*PAYER*****PI*12345~ N3*1 PAYER WAY~ N4*ST LOUIS*MO*212441850~ REF*2U*W1014~ CLM*1000A*140***19:B:1*Y*A*Y*Y~ HI*ABK:I10~ LX*1~ SV1*HC:99213*140*UN*1***1~ DTP*472*D8*20151124~ HL*3*1*22*0~ SBR*P*18*******12~ NM1*IL*1*BLOGGS*FRED****MI*9876543201~ N3*1 ANOTHER STR~ N4*CHICAGO*IL*606129998~ DMG*D8*19700601*M~ NM1*PR*2*PAYER*****PI*12345~ N3*1 PAYER WAY~ N4*ST LOUIS*MO*212441850~ REF*2U*W1014~ CLM*1001A*140***19:B:1*Y*A*Y*Y~ HI*ABK:I10~ LX*1~ SV1*HC:99213*140*UN*1***1~ DTP*472*D8*20151124~ SE*41*1239~ GE*1*101~ IEA*1*000000101~
The file passes validation with edi-ed and I can view the contents with edi-pp
LoopVal[2010BB PAYER NAME](               SegmentVal[NM1: Payer Name](                 ID.value[  E98: Entity Identifier Code](PR: Payer),                 ID.value[E1065: Entity Type Qualifier](2: Non-Person Entity),                 AN.value[E1035: Payer Name](PAYER),                 AN.empty[E1036: Name Last],                 AN.empty[E1037: Name Middle],                 AN.empty[E1038: Name Prefix],                 AN.empty[E1039: Name Suffix],                 ID.value[  E66: Identification Code Qualifier](PI: Payor Identification),                 AN.value[  E67: Payer Identification](12345),                 ID.empty[ E706: Entity Relationship Code],                 ID.empty[  E98: Entity Identifier Code],                 AN.empty[E1035: Name Last or Organization Name]),
I'm trying to access the payer information, but I'm getting an error.  The code I'm using is:
parser.first   .flatmap{|m| m.find(:GS) }   .flatmap{|m| m.find(:ST) }   .tap do |m|     el(m.find(:NM1, "PR"), 2){|e| puts "Payer: #{e}" }
Here is the error:

value PR is not allowed in element NM101 (ArgumentError)

The example in the README shows me accessing the payer through N1 / PR, but all sample files I'm finding have it nested under NM1 / PR.
Any ideas?

Hi Mike, looking at some diagnostic data, from ST the parser thinks the next possible segments are BHT, NM1, HL, or one of the envelope start/end segments.
parser.first
  .flatmap{|m| m.find(:GS) }
  .flatmap{|m| m.find(:ST) }
  .tap do |m|
    pp m # Show current state of the state machine (should print an ST segment)
    pp m.successors # Show which segments can be reached from ST
    el(m.find(:N1, "PR"), 2){|e| puts "Payer: #{e}" }
    el(m.find(:N1, "PE"), 2){|e| puts "Payee: #{e}" }
  end

I didn't expect that, so I double checked the README example and noticed it's for an 835 payment. Your file is an 837 claim, so it has a different structure.
No matter, we can still figure out how to get the data you want. Looking at your file with edi-pp, the NM1*PR Payer Name is a child of HL*_*_22 Subscriber Level. You should be able to descend one child at a time from GS, to ST, to HL to N1.
parser.first
  .flatmap{|m| m.find(:GS) }
  .flatmap{|m| m.find(:ST) }
  .flatmap{|m| m.find(:HL, nil, nil, "22") }
  .tap do |m|
    pp m
    el(m.find(:NM1, "PR"), 3){|e| puts "Payer: #{e}" }
  end

This was very helpful, thank you!
Cheers


File is running, but doesn't find te camera and strange IP adress

Hello,
I modified the config.yaml file for my test camera.
But at this moment, i have to fill in my own mac adres to get further, otherwise the docker file doesn't start... or doesn't find any camera ...
But then, when I start the docker/container, i get an IP adress outside my normal range (192.168.65.xxx)  ... how can i get a ip adress within my range (192.168.1.xxx), or where did the system get this ip adres... for me it's a really strange adres ...
I think that's the reasson why i can't see it in my protect software.
Somebody that can help me please to solve this issue ?

Is my config file correct and can i put my real mac adress in it?
Is the docker is running good you think ?

config.yaml:
onvif:

name: BulletCam
dev: eth0
target:
hostname: <IP_ADDRESS>
ports:
rtsp: 8554
snapshot: 80
highQuality:
rtsp: /CH001.sdp
snapshot: /ISAPI/Streaming/Channels/101/picture
width: 2048
height: 1536
framerate: 15
bitrate: 3072
quality: 4
ports:
server: 8081
rtsp: 8554
snapshot: 8080
uuid: 5e1a6a5b-184c-47e2-8494-5ae8cf26eabb
mac: 00:13:E2:03:9E:C2

Container running:
PS C:\Users\Gebruiker\rtsp-to-onvif> docker compose up
[+] Running 1/0r Desktop   o View Config   w Enable Watch
✔ Container rtsp-to-onvif-rtsp-to-onvif-1  Created                                                                                0.0s
Attaching to rtsp-to-onvif-1
rtsp-to-onvif-1  | 12:56:25.637 DEBUG NET_SCAN: Found <IP_ADDRESS> on rtsp2onvif_0 for MAC 00:13:e2:03:9e:c2
rtsp-to-onvif-1  | 12:56:25.638 DEBUG NET_SCAN: Found <IP_ADDRESS> on rtsp2onvif_0 for MAC 00:13:e2:03:9e:c2
rtsp-to-onvif-1  | 12:56:25.638 INFO
rtsp-to-onvif-1  | 12:56:25.638 INFO  SERVER: BulletCam - HTTP listening on <IP_ADDRESS>:8081
rtsp-to-onvif-1  | 12:56:25.652 INFO  PROXY: 8080 --> <IP_ADDRESS>:80
rtsp-to-onvif-1  | 12:56:25.655 INFO  PROXY: 8554 --> <IP_ADDRESS>:8554
rtsp-to-onvif-1  | (node:1) [DEP0044] DeprecationWarning: The util.isArray API is deprecated. Please use Array.isArray() instead.
rtsp-to-onvif-1  | (Use node --trace-deprecation ... to show where the warning was created)
rtsp-to-onvif-1  | (node:1) [DEP0047] DeprecationWarning: The util.isDate API is deprecated.  Please use arg instanceof Date instead.

Looked some further and found that the docker container had an ip range with <IP_ADDRESS>:24 ...
So I changed it to the adress range that i want, so <IP_ADDRESS>:24 ...
Then, when i restart docker en build the yaml, without my original mac adres, the container starts en reserves a new MAX adress ...But still i don't have connection with the camera ...
Somebody that can help me please to solve this issue ? Where do i have to look further now ?
In docker desktop, il also get ther warning:
Port Conflict: Host Networking: failed to bind port 52591 on the host. Check if it is already in use...
So something is not ok at this moment i think ?
Config.yaml:
onvif:

name: BulletCam
dev: eth0
target:
hostname: <IP_ADDRESS>
ports:
rtsp: 8554
snapshot: 80
highQuality:
rtsp: /CH001.sdp
snapshot: /ISAPI/Streaming/Channels/101/picture
width: 2048
height: 1536
framerate: 15
bitrate: 3072
quality: 4
ports:
server: 8081
rtsp: 8554
snapshot: 8080
uuid: eb11c4f1-5cf7-4427-aa35-fc3290f41678
mac: 1A:11:B0:F9:7D:FF

Container running:
PS C:\Users\Gebruiker\rtsp-to-onvif> docker compose up
[+] Running 10/10
✔ rtsp-to-onvif Pulled                                                                                12.4s
✔ d9f81725f57f Download complete                                                                                0.4s
✔ 618ef5753149 Download complete                                                                                0.3s
✔ 36e37d874991 Download complete                                                                                1.8s
✔ 6ebebe2a2633 Download complete                                                                                0.8s
✔ dcc77c4ba1e2 Download complete                                                                                0.6s
✔ e12dd3433cb3 Download complete                                                                                3.5s
✔ e7428cb4ffb3 Download complete                                                                                1.8s
✔ 2c683692384c Download complete                                                                                7.0s
✔ da9db072f522 Download complete                                                                                2.2s
[+] Running 1/1
✔ Container rtsp-to-onvif-rtsp-to-onvif-1  Created                                                                                1.5s
Attaching to rtsp-to-onvif-1
rtsp-to-onvif-1  | mv: cannot move '/etc/resolv.conf.dhclient-new.8q8wwfIyQ4' to '/etc/resolv.conf': Resource busy
rtsp-to-onvif-1  | 14:42:22.009 INFO  CONFIG: UUIDv4 - eb11c4f1-5cf7-4427-aa35-fc3290f41678
rtsp-to-onvif-1  | 14:42:22.009 INFO  CONFIG: MAC - 1A:11:B0:F9:7D:FF
rtsp-to-onvif-1  | 14:42:22.010 ERROR NET_SCAN: No interface with MAC 1a:11:b0:f9:7d:ff
rtsp-to-onvif-1  | 14:42:22.010 INFO  NET_CONF: ADD - rtsp2onvif_0 MAC: 1A:11:B0:F9:7D:FF
rtsp-to-onvif-1  | 14:42:22.015 DEBUG {"type":"Buffer","data":[]}
rtsp-to-onvif-1  | 14:42:22.015 INFO  NET_CONF: DHCP - rtsp2onvif_0
rtsp-to-onvif-1  | 14:42:22.103 DEBUG {"type":"Buffer","data":[]}
rtsp-to-onvif-1  | 14:42:22.137 INFO  CONFIG: Updated /onvif.yaml
rtsp-to-onvif-1  | 14:42:24.142 DEBUG NET_SCAN: Found <IP_ADDRESS> on rtsp2onvif_0 for MAC 1a:11:b0:f9:7d:ff
rtsp-to-onvif-1  | 14:42:24.143 INFO
rtsp-to-onvif-1  | 14:42:24.143 INFO  SERVER: BulletCam - HTTP listening on <IP_ADDRESS>:8081
rtsp-to-onvif-1  | 14:42:24.150 INFO  PROXY: 8080 --> <IP_ADDRESS>:80
rtsp-to-onvif-1  | (node:1) [DEP0044] DeprecationWarning: The util.isArray API is deprecated. Please use Array.isArray() instead.
rtsp-to-onvif-1  | (Use node --trace-deprecation ... to show where the warning was created)
rtsp-to-onvif-1  | 14:42:24.152 INFO  PROXY: 8554 --> <IP_ADDRESS>:8554
rtsp-to-onvif-1  | (node:1) [DEP0047] DeprecationWarning: The util.isDate API is deprecated.  Please use arg instanceof Date instead.


Add test with incorrect memberwise inits

Added generated memberwise initializer tests for generic members and throwing closure members, which don't seem to be handled correctly.

@swift-ci Please smoke test


Inconsistent handling of primary across styles and missing information in the API

Currently the bulma and boostrap style disagree on when to mark buttons as primary.  Concretely the bulma style never and the bootstrap style always does.
This then means that switching between those two styles will realistically never have the same effect.
That said I believe the core reason actually comes from a lack of expressive power in the API.  That is not all buttons are primary buttons but the only button one can easily mark as not regular is the delete button (Action.delete).
How about introducing a Action.primary (with call_target_attribute=submit), and changing the styles to all only mark that one as primary?
Thoughts?

Yea, I guess that makes sense. First I was thinking this was a bit too specific to certain design systems, but looking at the design systems we support, and generally in GUIs it it seems like this concept of a primary button is pretty universal.
As you said this shortcut would be pretty easy to add. We should also take care to change the default submit action on forms to be Action.primary.

Great -- I'll give it a go.

Done, see #77


[Fix] Get rid of noisy logs in checkVolumesForMigration

What this PR does / why we need it:
The fact that the migration method is BlockMigration is being logged every time any change occurred in the VMI object (even when the migration method had not changed).
This PR makes it such that the log will be shown only when:

We check the volumes for the first time (vmi.Status.MigrationMethod == "")
The migration method was LiveMigration but it is going to be changed to BlockMigration

The updated logs screenshot above shows that the block migration log is shown only once.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #7214
Release note:

None

/ok-to-test

This looks good to me! Thanks!
/lgtm


Support Mongoid

Is it worth supporting Mongoid? Devise supports it.

I personally don't think so. At best, it would be in a separate gem.

I don't have a sense of how much people even use mongoid.  I might be willing to investigate it if a lot of users expressed an interest.

+1
We are currently using Mongoid with devise and adding devise-security features into our application will help us a lot to be compliant with GDPR requirements.

https://github.com/devise-security/devise-security/pull/43

I am beginning my app development on Active Record ORM, but am also learning how to work with MongoDB at the same time.  I do not yet understand MongoDB enough to use it properly, however its capabilities are in line with plans for future development of my application, so I plan to switch ORMs then.
For now, I'll use Devise-Security; however, when I make the switch to mongoID if this gem doesn't yet support it, I will need some alternative for the features you have in your gem.

Please take a look at #76 . If someone can review my work and help fixing the failing test.

@scicco what version of Devise and Mongoid are you using?

Hello @olbrich, this is taken from my old Gemfile.lock (I didn't pull the latest changes)
  ...
    mongoid (7.0.2)
      activemodel (>= 5.1, < 6.0.0)
      mongo (>= 2.5.1, < 3.0.0)
  ...
    devise (4.6.1)
      bcrypt (~> 3.0)
      orm_adapter (~> 0.1)
      railties (>= 4.1.0, < 6.0)
      responders
      warden (~> 1.2.3)
  ...


Move AVAILABLE_OPERATIONS declaration before DEFAULT_OPTIONS

This PR moves the declaration of AVAILABLE_OPERATIONS before DEFAULT_OPTIONS to fix Uncaught TypeError: AVAILABLE_OPERATIONS is not iterable or Spread syntax requires ...iterable not be null or undefined errors.
This should fix issue #10.

Thanks!

This was fast. Thanks for the lightning-quick response.


Spacy Embeddings

Description of changes

New functionality: added feature to leverage spacy models

Test plan

will add unit test cases

Documentation Changes

Docstrings are added with proper Error Handling.

@Vishnunkumar, this looks good. Thank you.
Can you also add a test for this under chromadb/test/ef/test_spacy_ef.py? We're in the process of refactoring the embedding functions DX with an emphasis on testing and usability.
Did you also create a PR for the docs with links to official docs etc?

@Vishnunkumar, this looks good. Thank you.
Can you also add a test for this under chromadb/test/ef/test_spacy_ef.py? We're in the process of refactoring the embedding functions DX with an emphasis on testing and usability. - Working on it with ETA of 2 days
Did you also create a PR for the docs with links to official docs etc? - will look into this

Thanks for the review

Sharing the snap of report for test cases.

[X] Tests - Added unit test cases
[ ] Docs - working on it
[ ] can other models be loaded other than en_code_web_{model} (if yes, maybe make things more flexible - Possible models with weights are "md" and "lg", the function loads lg model by default if they are downloaded already. else it will throw an error.

@Vishnunkumar, looking at spacy docs, I can see that there are many models also, some in other languages - https://spacy.io/models. Also, I see some additional models that trade off accuracy for efficiency. Can we make it so that people can specify those other models as well? e.g., specify the whole model - en_core_web_sm or de_core_news_lg?

@Vishnunkumar, looking at spacy docs, I can see that there are many models also, some in other languages - https://spacy.io/models. Also, I see some additional models that trade off accuracy for efficiency. Can we make it so that people can specify those other models as well? e.g., specify the whole model - en_core_web_sm or de_core_news_lg?

Understood, I was going only for english models, will update on this accordingly.

[x]  Tests - Added unit test cases
[x]  Docs PR - working on it: Raised a PR for the same
[x]  spacy models doesn't have any seperate process for caching, please look at this for reference
[ ]  can other models be loaded other than en_code_web_{model} (if yes, maybe make things more flexible - Possible models with weights are "md" and "lg", the function loads lg model by default if they are downloaded already. else it will throw an error.
[x]  I believe the below piece of code is handling the multiple docs when the input is list of multiple docs
cast(Embeddings, [list(self._nlp(doc).vector.astype("float")) for doc in input])

Hi, I have update with necessary requirments. Please review when you are avaiable

This is good. Thanks @Vishnunkumar.
There are only a couple of minor things to look at.

Hi @tazarov , I will look into these.

This is good. Thanks @Vishnunkumar.
There are only a couple of minor things to look at.

Hi @tazarov , I will look into these.

Hi @tazarov, I have updated the changes.

@Vishnunkumar, thanks for sticking with this. I think this is ready to merge now.

Hey @tazarov, just wanted to check who will be merging this PR?

@Vishnunkumar, we've recently merged the docs repo here alongside a big refactor. The new docs reside in this repo now under https://github.com/chroma-core/chroma/tree/main/docs/docs.trychroma.com/pages/integrations. Just create a new .md, and don't forget to update the sidebar.js

Our underlying impl has changed and so this PR is not landable as is.
That being said - we'd still like to add this functionality and that is now tracked in this issue.


Feature/us2995 content audit

I'm going to merge this but I think there is a lot we could make into reusable classes, especially aground the background images.


modify wood ladder recipe

same recipe schema like steel ladder
Fixes that homedecor:table_legs_wood and ropes:ladder_wood have the same recipes

Ok sure :+1:. Will merge in a few days unless there's objections.


linuxHeaders: 4.19.16 -> 5.5

Linux has reworked its header install process in
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=59b2bd05f5f4dc62979c2e82ddd384f07e8f10bc
It has introduced make headers that prepares the headers in ./usr/include, and
made make headers_install copy the headers from there using rsync.
Motivation for this change
This is needed to use bpf/xsk.h from libbpf 0.6: https://github.com/libbpf/libbpf/pull/74#discussion_r373247285 (unless we install replacement linux headers with libbpf).
This obsoletes #77103 that expressed the need for newer linux headers.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

built dpdk with libbpf 0.6 on Linux: it failed before due to old headers
built pkgsCross.gnu64.linuxHeaders on macOS: the result looks ok

[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I have checked that there is no difference between 5.5 and 5.5.2 (except in the value of LINUX_VERSION_CODE in linux/version.h), and in general as I understand there should be no difference across all 5.5.* series, therefore we should not update the headers from 5.5 to 5.5.x.

This seems to break the bootstrap for aarch64:
$ nix-build -A hello -j1
these derivations will be built:
 [...]
building '/nix/store/d5fhzi0dvfdqcjbawv21bhs8pnifxpfl-popt-1.16.drv'...
unpacking sources
unpacking source archive /nix/store/vd3nbw7w1d7yrb89c3vj5kwk3yb8sgf1-popt-1.16.tar.gz
source root is popt-1.16
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file popt-1.16/test-poptrc
patching sources
configuring
fixing libtool script ./ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/88izzq2bqs47q7a9q9q7ahl9yi7l6p7c-popt-1.16
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2009-11-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to<EMAIL_ADDRESS>in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-11-20

uname -m = aarch64
uname -r = 4.19.68
uname -s = Linux
uname -v = #1-NixOS SMP PREEMPT Thu Jan 1 00:00:01 UTC 1970

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.19.68
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1-NixOS SMP PREEMPT Thu Jan 1 00:00:01 UTC 1970
configure: error: cannot guess build type; you must specify one
builder for '/nix/store/d5fhzi0dvfdqcjbawv21bhs8pnifxpfl-popt-1.16.drv' failed with exit code 1
cannot build derivation '/nix/store/awz6s24220mxm03dqq3p61hn05x51mib-rsync-3.1.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jjnrjx8qazviqvlg33i5b68jd0lagkdr-linux-headers-5.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/rlkn045ii7sxp91ly4whpbq3ks410kad-glibc-2.27.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zrxffnf7iydi0ahqxl91jj653p9cc9x7-stdenv-linux.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wi7kwn2hkghzf8p5ygcx008gz5h3bbj9-hello-2.10.drv': 1 dependencies couldn't be built
error: build of '/nix/store/wi7kwn2hkghzf8p5ygcx008gz5h3bbj9-hello-2.10.drv' failed

I can not reproduce this with nix-build . -A pkgsCross.aarch64-multiplatform.hello and I don't have access to an aarch64 machine to perform a native build. Could you save the build directory after nix-build -A hello --keep-failed and attach it is a tar.gz to this issue? It may also be worth to check if this update is the cause by testing it on top of master (git checkout master; git cherry-pick -n d48e99d9122119ce1741867b5a7ea682d134f713; nix-build . -A hello).

I think the problem is that rsync is now being required by an earlier stage during stdenv bootstrap. linuxHeaders is produced at stage2, so stage2 must be able to build rsync and its popt dependency.
Starting from stage3 onwards there's a hook that updates outdated config.guess files, which matches the error message from popt's configuration failure. Taking this hook and trivially applying it to stage2 is sufficient for me to nix-build -A hello on aarch64-linux. I also tested armv7l-linux, it was able to produce a linux headers 5.5, but glibc is currently broken so I couldn't build a full stdenv.
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index 60c0730dce1..cf8705bd891 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -255,6 +255,10 @@ in
         libc = getLibc self;
       };
     };
+    extraNativeBuildInputs = [ prevStage.patchelf ] ++
+      # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
+      lib.optional (!localSystem.isx86 || localSystem.libc == "musl")
+                   prevStage.updateAutotoolsGnuConfigScriptsHook;
   })

(diff generated after cherry-picking onto master @ 6932a75d9c48c4587a340ceb384d83e87709d189)

That looks like a useful change, but since it is trivial to avoid rsync and this reduces the amount of packages needed to reach stage3, I have done just that. (I have checked that the result does not change.)

This update caused a few failures (not in master yet; based on this eval diff, checkboxes for fixes):

[ ] lockdep — error: unknown type name '__aligned_u64' — maybe it defines __ASSEMBLY__?
[ ] dnsmasq — error: 'SIOCGSTAMP' undeclared — probably does not include linux/sockios.h
[ ] can-utils — same as dnsmasq
[ ] dpdk — error: 'struct xsk_umem_config' has no member named 'flags' — it assumes that if linux-headers are recent than libbpf is recent; we shall update libbpf

dnsmasq was broken on master and I fixed it in 482642a73 (and 944775e0c).

Ok, this reached master yesterday (2020-02-19 08:18 UTC).

I thought that this is a good candidate for 20.03 since it defaults to Linux 5.4 and the update will allow applications to use newer kernel features; but its backport depends on backporting fixes for the packages that are broken by the update.

Thanks @orivej for checking all the thorny cross cases!

Why 5.5, and not 5.4 (LTS)?

See https://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_should_be_used.3F


fix(ps/builds/config): move consistently failing tests to pending

LGTV!

Ran 101 of 114 Specs in 827.586 seconds
SUCCESS! -- 101 Passed | 0 Failed | 13 Pending | 0 Skipped --- PASS: TestTests (827.59s)
PASS
ok  	github.com/deis/workflow-e2e/tests	827.842s


Fix exception with signature help after project change

This commit fixes an issue with LSP throwing an exception after opening another project within the self window using project switcher or ProjectManager plugin.
The traceback:
LSP: pyls not available for view None in window 3
Traceback (most recent call last):
  File "C:\Apps\Sublime\sublime_plugin.py", line 417, in run_async_view_listener_callback
    vel.__class__.__dict__[name](vel)
  File "C:\Apps\Sublime\Data\Packages\LSP\plugin\signature_help.py", line 60, in on_modified_async
    if self.signature_help_triggers:
AttributeError: 'SignatureHelpListener' object has no attribute 'signature_help_triggers'

Thanks for fixing my broken PR 😋


updated form-groups from  to

Inital push.
Support for boostrap 4 formgroups

Just going to stick with Bootstrap 3 markup, at least until Bootstrap 4 is actually released.


Roll engine b68f7e72aa71..f4d994951862 (12 commits)

https://github.com/flutter/engine/compare/b68f7e72aa71...f4d994951862
git log b68f7e72aa71eb75969bd674d78a5b40ee5ed89f..f4d994951862d0153efabeb98cc0cf5eb842174e --no-merges --oneline
f4d994951 check that public API of dart:ui conforms to web implementation (flutter/engine#8256)
d21cca71f Roll src/third_party/skia bc7402f30ad8..f9264bac4e99 (8 commits) (flutter/engine#8264)
09cb42648 Roll src/third_party/dart 8b8a8f7b4e..fa74184b7a (1 commits)
28846b69d Roll src/third_party/dart 266d823f5c..8b8a8f7b4e (3 commits)
663967b57 Roll src/third_party/dart ba0147ac07..266d823f5c (12 commits)
81dbfc12e Fix incorrect vertices colors length check (flutter/engine#8247)
cb3a9962d Roll src/third_party/skia f4af3608b95a..bc7402f30ad8 (5 commits) (flutter/engine#8261)
db9d864d8 Roll src/third_party/skia a39bbdad93be..f4af3608b95a (2 commits) (flutter/engine#8259)
f226db946 Roll src/third_party/skia d0995493f8f3..a39bbdad93be (2 commits) (flutter/engine#8257)
272957d62 Roll src/third_party/skia 19fb3971bca5..d0995493f8f3 (11 commits) (flutter/engine#8255)
68bd4f2c6 Do not drop the DartExecutor's message handler when a FlutterNativeView is detached from the FlutterView (flutter/engine#8254)
adc668546 Add platformViewId to stub_ui (flutter/engine#8253)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5046955255267328 , https://cirrus-ci.com/task/6735805115531264 , https://cirrus-ci.com/task/6454330138820608

Commit queue failed; closing this roll.


Failed to execute menu action

As per title, when I right-click on a game cover and select "Fix animated gifs" I get this error:

Not sure what I'm doing wrong?

Sorry for the lateness in responding.  I started a new job earlier this year and have been crazy busy.  What operating system are you running?

Hi! Thanks for replying, dw I understand we all have a life and things can be hectic :) Also congrats for the new job!
About your question, I'm running Windows 10, I just updated the addon (cause I saw you pushed an update) but the issue is still there.
Other info:

Hmmm, this is a weird one.  Could you run it again and after getting the error, open both the extension log and playnite log (from main menu in Playnite) and copy and paste the last 10 or so lines from each?  Alternatively, if you want to just send me copies of the logs, that's fine too.

Sure!
Extensions log:
SuccessStory#SteamAchievements:GetAchievements() - IsLocal : False, IsManual : False, HasApiKey: True, SteamIsPrivate: False
30-07 09:06:23.250|INFO |SuccessStory#StoreApi:Expired cookies
30-07 09:06:25.691|INFO |SuccessStory#SteamAchievements:Old
30-07 09:06:26.211|INFO |SuccessStory#PluginDatabaseObject`4:No achievements find for A Space For The Unbound Demo - 5016f282-3e2a-4add-baa6-ddea36b853dd
30-07 09:06:26.217|INFO |SuccessStory#PluginDatabaseObject`4:Task Refresh() - 00:03.04 for 1/1 items
30-07 09:06:33.604|INFO |Animated_Gif_Fixer_5fs3sd1fs6a8k#PS:Fix Animated Gifs - Found executable Path via registry in "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe".

Playnite log:
30-07 09:06:29.114|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/darklinkpower/PlayniteExtensionsCollection/master/manifests/Generic_SaveFileView.yaml using UTF8 encoding.
30-07 09:06:29.283|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/azuravian/playnite-animatedgiffixer/main/manifests/Generic_AnimatedGifFixer.yaml using UTF8 encoding.
30-07 09:06:29.535|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/darklinkpower/PlayniteExtensionsCollection/master/manifests/Generic_LogOpen.yaml using UTF8 encoding.
30-07 09:06:29.772|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/darklinkpower/PlayniteExtensionsCollection/master/manifests/Generic_SteamTrailers.yaml using UTF8 encoding.
30-07 09:06:30.001|DEBUG|Downloader:Downloading string content from https://github.com/eminaguil/eMixedNite/raw/main/InstallerManifest/eminaguil_eMixedNite_DesktopTheme.yml using UTF8 encoding.
30-07 09:06:30.217|DEBUG|Downloader:Downloading string content from https://github.com/darklinkpower/Stardust/raw/master/Manifests/Installer_Manifest.yaml using UTF8 encoding.
30-07 09:06:33.643|ERROR|GameMenu:Game menu extension action failed.
System.Management.Automation.CmdletInvocationException: 404 Not Found

nginx ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
   at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
   at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
   at Playnite.Scripting.PowerShell.PowerShellRuntime.InvokeFunction(String name, List`1 arguments) in C:\projects\playnite\source\Playnite\Scripting\PowerShell\PowerShell.cs:line 277
   at Playnite.Scripting.PowerShell.PowerShellScript.InvokeFunction(String functionName, List`1 arguments) in C:\projects\playnite\source\Playnite\Scripting\PowerShell\PowerShellScript.cs:line 208
   at Playnite.DesktopApp.Controls.GameMenu.<>c__DisplayClass31_2.<AddExtensionItems>b__0(GameMenuItemActionArgs a) in C:\projects\playnite\source\Playnite.DesktopApp\Controls\Menus\GameMenu.cs:line 616
   at Playnite.DesktopApp.Controls.GameMenu.<>c__DisplayClass31_3.<AddExtensionItems>b__1(Object _, RoutedEventArgs __) in C:\projects\playnite\source\Playnite.DesktopApp\Controls\Menus\GameMenu.cs:line 662

I copied a bit more than the last 10 lines of the playnite log, cause I thought they might be useful since I saw mentions of AnimatedGifFixer in them.

Awesome, do you get this error on every game you try, or is there one particular game that gives it.  If so, which game is it?

Every game!

OK, I'm going to try some things on my end, but before I do, can you test something for me?
Try running Playnite as admin and see if you get the same error.

I tried, but even when running it as admin I get the same error.

Specifically, this time I tried it with "A Space for the Unbound" demo, with the steam store as info.
I've also attached the extension log and playnite log just in case:
playnite.log
extensions.log

OK, thanks, that shoots down that idea.  I'm going through the code and adding better logs.  I know it's detecting your ImageMagick install successfully, but I'm bad about logging, so I'm gonna fix that.  Rather than release directly, I'll probably just send you a replacement file to let you test first.

OK, replace your "AnimatedGifFixer.psm1" file with this file (you will need to change the extension from txt to psm1).
The file is found in your Playnite directory under "Extensions\AnimatedGifFixer".
After you've replaced it and restarted Playnite (or hit F12 within Playnite), try again.  You will likely still get an error, but should have more info in the extension logs for me to track it down.
AnimatedGifFixer.txt

Done, and yep, same error.
Here are the logs:
playnite.log
extensions.log

Ok, that's helpful.  I see what file it's getting stuck on, and I am also getting a 404 on that file.  You mentioned getting it on everything you tried.  By any chance, are all of them Demos?

... they may have been all demos, I'm double-checking.
For now it's working on every non-demo I've been trying that had gifs that needed a fix, but it also works on some demos (Everholm demo, for now).
OH!
I may have found the issue.
All the gifs that appear with an error mark on Playnite also give that error on animated gif fixer.
I just tried it with the Conquistadorio demo, and:
https://elixi.re/i/q4fy3.mp4
(Sorry, it was a bit too big and wouldn't let me upload directly in github)
The weird thing is that on the Conquistadorio page all the gifs work properly.

Yeah, the gifs that show with an x are that way because the link is pointing to an image that doesn't exist.  I've got a couple of fixes I'm looking at.  One will be to check for 404 errors and report to the user at the end that some number of images could not be processed because they don't exist.
The other fix, though, may be more helpful.  If you look at the link for the first image in "A Space for the Unbound Demo" you'll notice that it is using the following url:
"https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/1268090/extras/ASFTU_Ronda.gif?t=1600670718"
The part between apps and extras is the app id for that game on steam.  In this case, it is 1268090, which is specific to the demo.  The app id for the full version of the game is 1201270 and that image exists if I change the app id in the url to that of the full game.
I'm looking at finding a method to determine the full game app id from the demo app id and checking any image that gives a 404 to see if the full app id has the same image.  I'll let you know when I have a new version for you to test.

Ok, thank you so much!

OK, I've got another file for you to test.  Let me know how this one works.  Use the same instructions from https://github.com/azuravian/playnite-animatedgiffixer/issues/1#issuecomment-2308334747
AnimatedGifFixer.txt

Thanks!
Ok I've tried it on some demos that had the gif errors:

A Space For The Unbound demo: ✅  [ 1 out of 1 fixed ]
Conquistadorio demo: ❌ (first time it gave me the error, second time the menu got stuck for quite a while after clicking on "fix animated gifs", and then it gave me the error again)
Cabernet demo: ✅❌ (for the first gif it gave me the option, but it got stuck after giving the ok after choosing the frame, I'm guessing it couldn't load the 2nd gif, because it got stuck for a long time and then it gave me the usual error and thus it didn't change the 1st one either)
Obscura demo: ❌(got stuck and then gave me the error)
Copycat demo: ✅❌ (same as the Cabernet demo)
Enelia Dawn of Madness demo: ❌ (the first gif was already working from before, so it had no trouble loading it, but before prompting me for the second gift it - which was the broken one - Playnite got stuck and then gave me the usual error.
Horticular demo: ❌ (same as the Obscura demo)
Pinball Spire demo: ❌ (same as the Obscura demo)

Logs:
extensions.log
playnite.log
Also some days ago I noticed that after fixing gifs of a lot of games (going at them one by one) it started giving me another error every time I tried, even for gifs that did not had the "x" error blank image. So I tried restarting playnite, and it worked. The "non-x" gifs were able to get processed by AnimatedGifFixer again. It also re-happened after fixing another bunch of games' gifs, then I restarted again, and it got fixed again.
So this time I tried restarting playnite too, even though the error was the usual one and not the one that got fixed by restarting. And these are the results:

First restart: fixed almost all the gifs of Enelia Dawn Of Madness demo (but it took a long time to load gif 2, 3, 4 and 5, the other ones somehow loaded very quickly though)

It didn't fix the 2nd gif though, I noticed it after it said it got completed.

I tried going back at it and clicking "fix animated gifs" for that demo again, but this time it got stuck for a long time and then Playnite literally crashed.
Here are the logs after I reopened it after the crash:
extensions.log
playnite.log
I'm gonna do more tries, but meanwhile I might as well send this wall of text.

OK, I wondered if that might happen.  The command I'm using to check steam pages sometimes fails with a time out.  When it does, I have it log that and skip to the next step, which then gives you the error.  Trying to figure out how I can get a redirect page in Powershell within Playnite without it hanging/timing out.  Outside of Playnite it all works fine.


Minor improvements for #2624

Minor improvements for #2624
Fixed devcontainer issue not beeing able to run tests.

/azp run

✔ Works in devcontainer without issues
Now checking epicli container...


[Bug] Title goes here. error while loading Flan T5 onnx model

Error: Failed to load model with error: D:\a_work\1\s\onnxruntime\core\graph\model.cc:146 onnxruntime::Model::Model Unsupported model IR version: 9, max supported IR version: 8
at new OnnxruntimeSessionHandler (C:\shashank\agentwork\react-translator\node_modules\onnxruntime-node\dist\backend.js:27:92)
at C:\shashank\agentwork\react-translator\node_modules\onnxruntime-node\dist\backend.js:64:29
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Something went wrong during model construction (most likely a missing operation). Using wasm as a fallback.
Here is the code
import { pipeline } from '@xenova/transformers';
import { env } from '@xenova/transformers';
env.localModelPath = 'C:/shashank/agentwork/';
env.allowRemoteModels = false;
let generator = await pipeline('text2text-generation', 'flan-alpaca-xl-quantized');
let output = await generator('how can I become more healthy?', {
max_new_tokens: 100,
});
And model i downloaded from here
https://huggingface.co/smjain/flan-alpaca-xl-quantized

Also the npm modules and their versions are here
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>

Hi there. You need to export the model with onnx<1.14.0 (python) for now, as onnxruntime-web is version 1.14.1 and only supports onnx 13.x. This requirement is specified in scripts/requirements.txt.

@xenova I made onnx models by using onnx==1.3.2, onnxruntime==1.3.1 but I am still getting Unsupported model IR version: 9, max supported IR version: 8 message.

@allthingssecurity Did you try with downgrading onnx version? What result did you get?


use local version of zeroclipboard movie

fixes issues in some recent browser (eg latest chrome on latest os x)
where the flash "movie" won't load unless it is local.
the error it gives is a generic "uncaught exception" in
ZeroClipboard activate -> flashState.bridge.setSize.
curiously it still works fine in some browsers (firefox) and
older chrome was also fine but I'm guessing
security modes are being tightened in browsers.
none of the other recommended settings for fixing this seem to work:

trustedDomains
trustedOrigin
allowScriptAccess
and even the flash config in the browser

it's just a small movie however so should be low impact (smaller than most of our images).
put in img path to simplify access.
also, zeroclipboard is updated from 1.3.1 to 1.3.5 (latest stable 1.x branch).
(2.x branch looks like it might be a bigger api change although some fixes in this area are reported.)
this does not include the ZeroClipboard.swf binary but it will download it as is
normal practise for binary dependencies.  slightly unusually this uses maven to download it explicitly.

this addresses the very valid objection by @rdowner in #3

merging as this is primarily addressing a previous PR


docs(ComponentExample): fix display of children

Before

After

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3070   +/-   ##
=======================================
  Coverage   99.92%   99.92%
=======================================
  Files         163      163
  Lines        2739     2739
=======================================
  Hits         2737     2737
  Misses          2        2

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 aae3bff...cb04daa. Read the comment docs.


Upgrade to stylis 3.2 and use constructor

This prevents bugs with shared options and middleware when different
babel plugins use stylis.
cc @thysultan

LGTM 👍


update to new pixelutil api, respect sprite frame when packing, upgrade imgui to v4

@dusk125 this builds and runs, however imgui appearance is all garbled. Assuming something is wrong with texture storage/identification but I'm not very knowledgeable on the low level rendering stuff. Any guidance is appreciated

This should be fixed with the most recent update.


Specifications and Roadmap

Specifications
Deep Learning Framework: Pytorch
Seed Knowledge Base: PropNet
Language Model: BERT or XLNet
Roadmap
Develop Pipeline for Experimentation

[ ] Investigate necessary kb, matsci and nlp libraries
[ ] Discuss and establish what is unlikely to change about the experiment to determine modular requirements
[ ] Construct flexible modules for the preliminary experimental pipeline
[ ] Test pipeline using the current version of the experiment

Gather Data

[ ] Collect MatSci literature, preferably full plain text
[ ] Determine which knowledge bases are best suits our needs for MatSci. Download and analyze them
[ ] Collect other potentially fruitful literature for further testing
[ ] Find knowledge bases from the domains of this additional literature

Literature Review

[ ] Make sure everyone has read up on and roughly understands the latest NLP breakthroughs such as BERT, Transformers, etc.
[ ] Review the NLP for MatSci discovery literature
[ ] Review the strengths, weaknesses and uses of knowledge bases within MatSci
[ ] Review the broader AI for MatSci literature for context

Outline Experiment

[ ] Utilize domain knowledge to better understand what advances are most useful for those in the field of MatSci
[ ] Using the knowledge gained, synthesize the final experimental design, ideally remaining compatible with the preliminary pipeline
[ ] Set benchmarks and measures of success for the experiences

Conduct Experiments

[ ] Process data as informed by the literature, including cleaning, PoS tagging, NER or other necessary steps
[ ] Construct and train the necessary models using the Epoch Zero TPUs
[ ] Analyze results, tune and adjust as needed
[ ] Attempt to expand results to other domains

Write Paper

[ ] Use notes and results from previous steps to create outline
[ ] Write first draft
[ ] Circulate among Epoch Zero members
[ ] TBD

Set out initial roadmap and specs, subject to substantial discussion and development


Avoid panic when analyze graph hits broken pipe

Summary
I think we should also make the change that @BurntSushi recommended in the linked issue, but this gets rid of the panic.
See: https://github.com/astral-sh/ruff/issues/13483
See: https://github.com/astral-sh/ruff/issues/13442
Test Plan
warning: `ruff analyze graph` is experimental and may change without warning
{
  "/Users/crmarsh/workspace/django/django/__init__.py": [
    "/Users/crmarsh/workspace/django/django/apps/__init__.py",
    "/Users/crmarsh/workspace/django/django/conf/__init__.py",
    "/Users/crmarsh/workspace/django/django/urls/__init__.py",
    "/Users/crmarsh/workspace/django/django/utils/log.py",
    "/Users/crmarsh/workspace/django/django/utils/version.py"
  ],
  "/Users/crmarsh/workspace/django/django/__main__.py": [
    "/Users/crmarsh/workspace/django/django/core/management/__init__.py"
ruff failed
  Cause: Broken pipe (os error 32)

That’s covered in https://github.com/astral-sh/ruff/pull/13485 since it affects more than this subcommand.


baseline correction error in Rengine

@tomas-pluskal @mzmine-bot @robinschmid #1314 Having an issue in baseline correction parameters after the uploading files.
In mzmine version 3 application i uploaded mzml files through raw data import. after raw data files shown no masses, some shown precusor values, no inject time, no FTMS values. after selecting parameters processing is very late waited for like many hours.[...]
Images
Can you explain clear and concise description of what happen, why the processing is being late.

these are the baseline parameters given.

the table of raw data i have.

can you help solving this issue fastly
issue -1 baseline correction error
issue -2 parameters setting request
issue -3 Rengine setting request and set preference process
issue -4 after everything set processing is very late for many hours( all the files were running in ssd drive of main windows c drive only with 12 processing units.
issue -5 why there are no online libraries directly connecting. previous versions having all those.

@robinschmid kindly help with issues.

Hi,
sorry for the inconvenience. Unfortunately noone of the current developers contributed was maintaining the R modules, so we have disabled them in the latest releases.


Update Makefile and README

add make install and make uninstall targets
demo how to use this library in the README.md

The tests failed but this is expected on Linux atm.


Release url in the body

Is there any way to have the release URL in the body? Something like:
- name: Create Release
  id: create_release
  uses<EMAIL_ADDRESS>  with:
    name: Release ${{ github.ref_name }}
    draft: false
    prerelease: false
    files: |
      artifact.zip
    body: |
      Download: [artifact.zip](${{ url }}/artifact.zip)

You could create the URL in another step and call it using the GitHub output semantics:
      - id: release_url
        run: echo "url=example-url" >> "$GITHUB_OUTPUT"

      - uses<EMAIL_ADDRESS>        with:
         body: |
           Download: [artifact.zip](${{ steps.release_url.outputs.url }}/artifact.zip) # example-url/artifact.zip


I've never quite been able to figure out what the difference is here. Why is "\ " better?

Because it is not a hard space -- a line can break after it
On Mon, Feb 6, 2012 at 15:14, Dan Foreman-Mackey
<EMAIL_ADDRESS>wrote:

I've never quite been able to figure out what the difference is here. Why is "\ " better?

Reply to this email directly or view it on GitHub:
https://github.com/dfm/emcee/issues/1#issuecomment-3835881

--
David W. Hogg ~ CCPP, NYU; MPIA ~ http://cosmo.nyu.edu/hogg/

Fixed in 3f521474df2519cfc0ec4ee8ada79e58ae54df8e
Sweet regex: :%s/\(.*)~/\\1\\ /g


Using metro-bootstrap with Font-Awesome-icons in tiles

Hi,
I am trying to use the Font-Awesome-icons in the tiles.
this is my code:

Task

the issue is that there is no text visible and the icon is only visible if there is a mouse-hover event. what am i doing wrong?

Unfortunately, we no longer have the time to work on this project. This means that bugs will not be fixed and features will not be added unless someone else does so.
If you're interested in fixing up metro-bootstrap, please reply to this GitHub issue (#65).
Thank you for your support.

Hello @z0nk
Sorry for the late reply, this project was inactive.
It seems that the issue is solved.
On the main website and example is working
Code:

			Tweet


Update Developer Guide

Update dev guide or create a separate dev guide for walking contributors through the process of:

Hack EG.
Run tests.
Test against a kind cluster (create cluster, build/push EG image, etc.).
Other steps?

Let's roll with the current contrib and dev guides for now and readdress this in the future based on feedback from the community.


feat: change import paths

This PR

Replaces biome with eslint for stricter linting.
Adds prettier.js
Adds bun for test and runtime
Unidici for header and body types
Husky for hooks
Commitlint for stricter commit conventions
Fixes import paths. imports no longer require /dist/nextjs or /dist.  This might break existing import paths.

Looks like this does cause existing imports to be broken. Followed the Nextjs quickstart and got this after step 5.
Package path ./dist/nextjs is not exported from package

Also getting this type error
Argument of type '(request: Request) => Promise<Response>' is not assignable to parameter of type '((request: Request) => VerifySignatureAppRouterResponse) | ((request: NextRequest) => VerifySignatureAppRouterResponse)'.
  Type '(request: Request) => Promise<Response>' is not assignable to type '(request: Request) => VerifySignatureAppRouterResponse'.
    Type 'Promise<Response>' is not assignable to type 'VerifySignatureAppRouterResponse'.
      Type 'Promise<Response>' is not assignable to type 'Promise<NextResponse<unknown>>'.
Type 'Response' is missing the following properties from type 'NextResponse<unknown>': cookies, [INTERNALS]

for
import { verifySignatureAppRouter } from "@upstash/qstash/nextjs";

async function handler(request: Request) {
  const data = await request.json();

  for (let i = 0; i < 10; i++) {
    await fetch('https://firstqstashmessage.requestcatcher.com/test', {
      method: 'POST',
      body: JSON.stringify(data),
      headers: { 'Content-Type': 'application/json' }
    });
    await new Promise(resolve => setTimeout(resolve, 500));
  }

  return Response.json({ success: true });
}

export const POST = verifySignatureAppRouter(handler);

Looks like this does cause existing imports to be broken. Followed the Nextjs quickstart and got this after step 5.
Package path ./dist/nextjs is not exported from package

Also getting this type error
Argument of type '(request: Request) => Promise<Response>' is not assignable to parameter of type '((request: Request) => VerifySignatureAppRouterResponse) | ((request: NextRequest) => VerifySignatureAppRouterResponse)'.
  Type '(request: Request) => Promise<Response>' is not assignable to type '(request: Request) => VerifySignatureAppRouterResponse'.
    Type 'Promise<Response>' is not assignable to type 'VerifySignatureAppRouterResponse'.
      Type 'Promise<Response>' is not assignable to type 'Promise<NextResponse<unknown>>'.
Type 'Response' is missing the following properties from type 'NextResponse<unknown>': cookies, [INTERNALS]

for
import { verifySignatureAppRouter } from "@upstash/qstash/nextjs";

async function handler(request: Request) {
  const data = await request.json();

  for (let i = 0; i < 10; i++) {
    await fetch('https://firstqstashmessage.requestcatcher.com/test', {
      method: 'POST',
      body: JSON.stringify(data),
      headers: { 'Content-Type': 'application/json' }
    });
    await new Promise(resolve => setTimeout(resolve, 500));
  }

  return Response.json({ success: true });
}

export const POST = verifySignatureAppRouter(handler);

Yeah, sadly this change is breaking existing imports. And, I'll check nextjs import and make sure its works like this: @upstash/qstash/nextj

@MeshanKhosla imports should be fixed now, if there is anything wrong ping me


Create directory for location of SSL certs

I looked around but can't find it. I see* that for 22222 it's /var/www/22222/certs.
Can we assume that the same directory should be used for other sites?
Of course we can put it anywhere, but it's better to use a "standard" location.

https://github.com/rtCamp/easyengine/blob/189c746772bb6061259dec59a61863a4d9059856/usr/share/easyengine/nginx/22222

@rippler about my comment:

It is not recommended to have a single page accessible over both – HTTP and HTTPS. Might create duplicate content issue in search engines

I meant HTTP should redirect to HTTPS or vice-versa. That takes care of bookmarks and other links.
I do not see any benefit of allowing a page to be accessed on two different URLs.

For certificates, we use /var/www/example.com/cert/ but as other said, you can use any location.
With letsencrypt.org, we hope to be able to add certificates automatically. So location may not be an issue.
Related - https://github.com/rtCamp/easyengine/issues/376


Pin button not working reliably.

Describe the bug
I am using IPFS Desktop which has v2.11.4 UI integrated.  When I add files by IPFS hash, they show up in my files list.  I then click the ... on the right and choose Pin.  Sometimes the little pin icon shows up, sometimes it does not.
To Reproduce
Unknown.  I can follow the same steps multiple times and sometimes I'm able to pin, sometimes I'm not.  I generally use CIDv1 hashes if that matters, though CIDv0 are also used on occasion.  This doesn't seem to be correlated though.
Expected behavior
When I click "Pin" the little pin icon shows up.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: N/A
Version: v2.11.4

Additional context
Add any other context about the problem here.

Thanks, @MicahZoltu -- we will keep an eye out for this as well, but in the meantime if you're able to find any definitely unpinnable files that we could reproduce, that would be extremely helpful.

You can try bafybeiet2646ne3zlmbnsg72wd23w7mqsyxkjadv4i75f3dqgjhku726jq (Warning: 115MB, multiple files) to see if that reproduces the issue.  It is one that I currently cannot get pinned with the UI despite trying repeatedly.  I even restarted my computer (and by extension, restarted IPFS) and it still won't pin for me.  Sometimes, restarts make it so I can pin, but not for this one it seems.
Note: I haven't tried pinning via the CLI because I don't know how to access the CLI when using IPFS desktop, so I don't know if this is purely a UI issue or may be an IPFS core issue.

If you are comfortable digging around, you can pop open the chromium dev tools in IPFS Desktop, by hitting
cmd+option+i
(on macos, other key combos here https://developers.google.com/web/tools/chrome-devtools/shortcuts)
There you may see some errors about not finding i18n language files for your current locale which you can ignore. If you try to pin this unpinnable CID, do you see any additional errors appear in the console?

Note: I haven't tried pinning via the CLI because I don't know how to access the CLI when using IPFS desktop, so I don't know if this is purely a UI issue or may be an IPFS core issue.

IPFS Desktop can add and ipfs command to your system path, if you open the app menu and select
Preferences > Command Line tools

I believe this is an issue with content discovery, and also has some implications to the way we track pinning progress (now vs near future).
Brain dump below, let me know if I misunderstood anything :pray:
How to reproduce
Was able to reproduce pinning problem with ephemeral go-ipfs 0.7.0 alone (ensures we test default config and empty repo):
$ docker run --rm -it --net=host ipfs/go-ipfs:v0.7.0

To switch CLI to use this ephemeral container, execute in other terminal:
$ IPFS_PATH=$(mktemp -d)
$ echo "/ip4/<IP_ADDRESS>/tcp/5001" > $IPFS_PATH/api

Then, in the same terminal, try to pin mentioned CID:
$ time ipfs prefs -r bafybeiet2646ne3zlmbnsg72wd23w7mqsyxkjadv4i75f3dqgjhku726jq

In my case it hangs after some initial success (failing to find deeper blocks).
I stopped waiting after 30 minutes, it was stuck at Processed 406 nodes
Due to this, I think the problem is that

pinning some CIDs takes long time, and rare content may never succeed due to no providers
webui is unable to track "ongoing pinning" so it just shows item as "not pinned"

UI/UX for "ongoing pinning"
The WebUI-specific problem here is that our UI does not account for the fact that pinning operation may take long time, and may not succeed at all (be stuck in limbo for days).
When it comes to remote pinning added in #1615 / https://github.com/ipfs/ipfs-gui/issues/91 things will be easy:   remote pin object is created immediately and then webui can recheck/track its status to display proper state in UI (queued|pinning|pinned|failed).
When it comes to local pins, the ipfs pin ls shows only "finished" pins, there is no "ongoing" state, and ipfs pin add is a blocking operation, so if it does not succeed fast (eg. blocks not in local datastore), will introduce confusing UX.
Normally I'd suggest we add some "background pinning" magic to webui to track "ongoing" pinning in userland, but upcoming ipfs pin local commands planned by @aschmahmann  will support state and asynchronous mode, which will remove the problem on tracking "ongoing pinning".
Due to this, I believe there is no point in investing too much time in fixing the old ipfs pin add API in WebUI.
We already want to remove /pins from UI.
Instead, plan for leveraging ipfs pin local add when it lands.
Hiding local pinning when data is not in local store?
Just an idea for a temporary fix until we have pin local add: hide "local pin" option from context menus when entire DAG is not already in datastore.
I believe the check would be to do refs in offline mode? (is there a better way?)
When the entire DAG is not in local datastore refs -r --offline returns an error:
$ ipfs refs -r --offline bafybeice66hroljqb5lmxcjwvahkxr2els7prhwaqrp6xrfcsgw2blpt6
Error: merkledag: not found

👍 to @lidel's comments on the UI/UX issues with when pins take a while.

I believe the check would be to do refs in offline mode? (is there a better way?)

Not sure off hand. You could do ipfs dag stat --offline, but that's not too different than your suggestion.

As for this pin in particular. My suspicion is that for some reason not all of the content is actually available to the network (e.g. the only provider with all the data is behind a NAT, offline, etc.).
One way to verify this is the case would be to run on the command line ipfs dag export bafybeice66hroljqb5lmxcjwvahkxr2els7prhwaqrp6xrfcsgw2blpt6 > output.car on the node that you think has all the data. If that doesn't work then you may not actually have all the data, and if it does then it'd be helpful if you could post it here for us to look at.
Note: If you're on Windows use CMD instead of PowerShell when running the above command since PowerShell has trouble with binary outputs.

After almost 9 hours of letting ipfs dag export --offline bafybeice66hroljqb5lmxcjwvahkxr2els7prhwaqrp6xrfcsgw2blpt6 > output.car (offline, because everything was indicating I had all the data on my local) spin, I'm getting nowhere - so thinking @aschmahmann's suspicion of not all the content being available is correct.

IIUC, it sounds like the issue is that the UI currently doesn't have a way of differentiating between "not pinned" and "in the process of fetching so it can be pinned".  This means that when I click that pin button, a process in the background starts but the pin icon won't show up until the pin is complete.  In this specific example, the pin will never complete because the data isn't available so the pin icon will never show up.
That does seem to align with my symptoms of "sometimes the pin button doesn't work, sometimes it does".  The times it does is when I already have the files locally and pinning is just a matter of flagging them as keep forever, and the times it doesn't work are when I have to fetch a bunch of data and it takes a while or may never complete.

@MicahZoltu ... and in the case of bafybeiet2646ne3zlmbnsg72wd23w7mqsyxkjadv4i75f3dqgjhku726jq, you just don't have all the content. I wasn't able to grab it either. That one's an issue with the original provider not ensuring someone is hosting the full thing.

Note: parking this until go-ipfs 0.9; we'll know more about local pinning behavior and what's needed at that point.

This should be fixed in the latest webui, where Pin operation got replaced with Set pinning modal.
Remaining work around tracking pin progress is tracked in https://github.com/ipfs/ipfs-webui/issues/1752


Relax the torch version dependency

The PyTorch project has released the patch version 2.3.1 with a number of fixes. This change relaxes the version in the requirements files for build and CUDA, in order to allow picking fixes, while not bumping to the next minor version.

torch==2.3.0 is also a build dependency in `pyproject.toml

torch==2.3.0 is also a build dependency in `pyproject.toml

Thanks. Commit amended.

@fabiendupont this looks good but would you mind applying the same changes to requirements-cpu.txt? thanks

@dtrifiro, done. Sorry for the delay.

Torch is now set at 2.4.0, so this is not needed anymore.


enable DD_TAGS env var

The Datadog documentation frequently make reference to an env var DD_TAGS for articulating a list of tags to include in events emitted to Datadog -- some examples:

https://docs.datadoghq.com/tagging/assigning_tags/?tab=agentv6v7
https://hub.docker.com/r/datadog/docker-dd-agent/
https://docs.datadoghq.com/tracing/setup/java/

This enabling this would make for a really great developer experience.
Expected Behavior
running a program with this env var:
DD_TAGS=foo:bar main

with this code (as per readme)
ddlambda.Metric(
  "coffee_house.order_value", // Metric name
  12.45, // The value
  "product:latte", "order:online" // Associated tags
)

should yield metrics in datadog with the following tags:

foo:bar
product:latte
order:online

Hi @pwmcintyre, thank you for opening this issue. For the reasons outlined by Tian in his comment on your PR, we're going to close this issue in favor of supporting native Lambda tags. Please feel free to reach out or reopen the issue if you have any questions.


Docker

resolves #26
The only special information available by default in docker seems to be a container-id extracted from '/proc/1/cgroup'.
Informations to build the new Component were gathered from Baeldung and Stackoverflow.

@AlexSchuetz good evening my friend. Is there, by any chance, a way to make this as a plugin to integrate with DeviceId as a nuget package? I think it would be more interesting rather than keep waiting for the authors forever. thanks.

Sorry folks. I'll try to get this merged and released this week.


Error 3081001: transaction reached the deadline set due to leeway on account CPU limits

I create a new account is always unsuccessful。
The error is as follows：
root@ubuntu:/data/eosio/eosio-wallet# cleos system newaccount --stake-net '0.001 EOS' --stake-cpu '0.9 EOS' --buy-ram-kbytes 3 exchangenode bixudamocoin EOS4vsKVfuk8JZxNRGnnj6sPjWkxt6qa9pPjfBVxESqs1GfSRAv1S 2716864ms thread-0   main.cpp:430                  create_action        ] result: {"binargs":"a0129d8a4dd35057301d45549aa4bb3b000c0000"} arg: {"code":"eosio","action":"buyrambytes","args":{"payer":"exchangenode","receiver":"bixudamocoin","bytes":3072}}  2717637ms thread-0   main.cpp:430                  create_action        ] result: {"binargs":"a0129d8a4dd35057301d45549aa4bb3b0a0000000000000004454f5300000000282300000000000004454f530000000000"} arg: {"code":"eosio","action":"delegatebw","args":{"from":"exchangenode","receiver":"bixudamocoin","stake_net_quantity":"0.0010 EOS","stake_cpu_quantity":"0.9000 EOS","transfer":false}}  Error 3081001: transaction reached the deadline set due to leeway on account CPU limits Error Details: the transaction was unable to complete by deadline, but it is possible it could have succeeded if it were allowed to run to completion
cleos:
alias cleos='docker exec -i keosd /opt/eosio/bin/cleos  --wallet-url http://<IP_ADDRESS>:8900  -u http://mainnet.eoswz.com:80/'
my balance:
root@ubuntu:/data/eosio/eosio-wallet# cleos get currency balance eosio.token exchangenode 1.1000 EOS
Is it because the mortgage eos is not enough?
Is there a way to know the current amount of mortgage required？

Have the same issue. The log of node is like:
`66906ms thread-0   net_plugin.cpp:2546           operator()           ] accept txn threw  3081001 leeway_deadline_exception: transaction reached the deadline set due to leeway on account CPU limits
the transaction was unable to complete by deadline, but it is possible it could have succeeded if it were allowed to run to completion
{"now":"2018-06-22T12:01:06.906","deadline":"2018-06-22T12:01:06.686","start":"2018-06-22T12:01:06.651","billing_timer":254526}
thread-0  transaction_context.cpp:301 checktime
{"_pending_console_output.str()":""}
thread-0  apply_context.cpp:62 exec_one`

same error how to fix?

Yes, it's very likely that you have used all of your staked cpu quota. Stake more cpu for this or wait until your cpu usage decreases before you try again.

I'm not able to stake more cpu because I don't have enough cpu to run that command!
How do i get cpu and bandwidth from an account with none?

If you don't even have enough cpu to run that command, you can ask somebody to stake cpu for you. Or when the overall total cpu usage, you will be able to utilize the idle cpu usage.

@andriantolie How long will is the wait?

It really depends on the other transactions in the network.


Document the APIs of Swift-redis

Document the APIs of Swift-redis. Lets do this in sections:

The non transactional APIs
[ ] Infrastructure APIs
[ ] Base commands
[ ] Hash commands
[ ] List commands
[ ] Set commands
[ ] Sorted sets

The transactional APIs
[ ] Infrastructure APIs
[ ] Base transactional commands
[ ] Hash transactional commands

I think this is done now.


src: add internal erofs writer code

This introduces experimental code for writing erofs images ourselves, instead of using the external mkcomposefs CLI.
It's currently disabled by default.  You can test it by setting the COMPOSEFS_FORMAT=new environment variable.
This currently produces a different output than the output of mkcomposefs, which is why it's gated behind an environment variable. The plan is to add a compatibility mode to our internal writer code so that it produces as similar of an output as possible and then switch over to using it once we are convinced that it's equivalent.  Then the COMPOSEFS_FORMAT= variable will disable this compatibility mode.
There's also a COMPOSEFS_DUMP_EROFS=1 environment variable (which works with both mkcomposefs and our internal code) which will dump the erofs layout for diffing.  There's also a standalone erofs-debug binary that will do the same.
Additionally, this introduces two new files in docs:

a detailed description of the parts of erofs that we use
a document which attempts to describe the decisions made in creating an erofs composefs image (in terms of which order the files are in, etc).

The main idea here is to start a serious effort towards standardizing the composefs label we want to start adding to container images: it should be possible to define what will be in that label by way of documentation instead of saying "run this software and use the output". These two new documents, taken together with the existing "oci.md" form a rough (and still incomplete) outline for that.
Many thanks to Gao Xiang<EMAIL_ADDRESS>for helping clarify many points about the erofs file format for the documentation.
Closes #56

cc @hsiangkao


Issue with changing Look and Feel from IntelliJ settings

There seems to be an issue with changing the LAF from the IDE's appearance settings tab. I think the reason for that is because we only assume the user uses our own Settings panel to change the LAF. However I think we should figure out a way to check where the listener was triggered from, and change the values accordingly in our own settings panel.
Currently the LAF defaults to what was selected in our own settings configurations.

Implemented a hotfix, see #10

This issue has been addressed, please see PR #12


Add Numberly logo.

🤔 not sure what I am doing wrong with this SVG but here I am again not being able to see the logo in the preview.
The logo is there, if I access it directly I can see it: https://ep2022-git-numberly-logo-europython-society.vercel.app/img/logos/sponsor_logos/numberly.svg
@hypha or @patrick91 do you have any suggestions?

thinking not sure what I am doing wrong with this SVG but here I am again not being able to see the logo in the preview. The logo is there, if I access it directly I can see it: https://ep2022-git-numberly-logo-europython-society.vercel.app/img/logos/sponsor_logos/numberly.svg @hypha or @patrick91 do you have any suggestions?

Cleaned up the SVG. Should work now?

thinking not sure what I am doing wrong with this SVG but here I am again not being able to see the logo in the preview. The logo is there, if I access it directly I can see it: https://ep2022-git-numberly-logo-europython-society.vercel.app/img/logos/sponsor_logos/numberly.svg @hypha or @patrick91 do you have any suggestions?

Cleaned up the SVG. Should work now?

yep! all good now! TY 🙇🏻♀


How to close an already opened file?

Hi,
I'm trying to read EEG signals and I'm quite new to this field. I ran the following script.
f = pyedflib.EdfReader("chb01_01.edf")
print(f)
n = f.signals_in_file
print("number of signals in file:", n)
signal_labels = f.getSignalLabels()
print("signal_labels:", signal_labels)
It worked fine when I ran it for the first time. However, if I run it again, I get the following error:
IOError: file has already been opened
I have tried inserting 1. f._close()  2. f._close() followed by del f, after the print("signal_labels..... ) function but failed. Is there a way to fix this error? Thanks a lot

Should be work now
f._close()
del f

I have a similar error, such that I can neither close nor open the file as is says its both non-existent or already open
f = pyedflib.EdfReader(file_path )
pyedflib/_extensions/_pyedflib.pyx in pyedflib._extensions._pyedflib.CyEdfReader.__init__()

pyedflib/_extensions/_pyedflib.pyx in pyedflib._extensions._pyedflib.CyEdfReader.open()

pyedflib/_extensions/_pyedflib.pyx in pyedflib._extensions._pyedflib.CyEdfReader.check_open_ok()

IOError: file has already been opened

then
f._close()
del f

NameError: name 'f' is not defined


Build as DLL

The Windows port of hiredis defines and exports a few symbols that conflict with ws2_32.lib (winsock2), leading to linker errors if both the hiredis static lib and the winsock DLL are linked in. This is also described in the open issue #5.
I order to avoid the conflicts, I added the option to build hiredis as a DLL which only exports the required API functions.
I've also added CMake build configuration to test/use my changes, although I don't have any experience with CMake so it might not be very good, and I don't know if you'd even want it.

@mooware,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@mooware, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot


Implement EphemeralPrivateKey's for Orchard, Sapling, Sprout

Is your feature request related to a problem? Please describe.
To send money, we need an EphemeralPrivateKey to go with our EphemeralPublicKeys that already exist in zebra-chain.
Describe the solution you'd like
Implement the newtype wrappers around pallas::Scalar, jubjub::Scalar, and I think x25519-dalek::SecretKey for Orchard, Sapling, and Sprout resepectively.
Describe alternatives you've considered
Use those types directly, which elides the specific use and capabilities of these keys vs the other uses of those generic types other places in our codebase.
Additional context
This must be done to complete https://github.com/ZcashFoundation/zebra/issues/269

We're not planning to do full-node wallet work any time soon.
If we do, we'll need to decide if this ticket is in scope.


How to deal with outputs of Data Factory Validation activity?

Hello,
Question based on the following documentation: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-validation-activity
I have a Validation activity in my pipeline. Depending on it, I want to add a If condition activity with a different behavior in function of the output exists field of the Validation activity.

The output of the Validation activity is as follow:
{
    "PipelineName": "pipeline3",
    "JobId": "XXXXXXXXXXXx",
    "ActivityRunId": "XXXXXXXXXXXXXXXXx",
    "Status": "Succeeded",
    "StatusCode": 200,
    "Output": {
        "exists": true,
        "childItems": [
            {
                "name": "XXXXXX.png",
                "type": "File"
            }
        ],
        "effectiveIntegrationRuntime": "DefaultIntegrationRuntime (West Europe)",
        "executionDuration": 250
    },
    "Error": null,
    "ExecutionStartTime": "2019-05-15T13:14:55.2872631Z",
    "ExecutionEndTime": "2019-05-15T13:14:56.6833996Z",
    "ExecutionDetails": {
        "integrationRuntime": [
            {
                "name": "DefaultIntegrationRuntime",
                "type": "Managed",
                "location": "West Europe"
            }
        ]
    },
    "Duration": "00:00:01.3961365",
    "iterationCount": "1"
}

However the If Condition activity keeps having the same error message:
{
    "errorCode": "InvalidTemplate",
    "message": "The expression 'activity('ValidateIfFileExistsInInput').output.exists' cannot be evaluated because property 'output' cannot be selected.",
    "failureType": "UserError",
    "target": "If Condition1"
}

How to deal with exists value then?
Thank you !

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

ID: 81948373-1590-26a4-179f-4c01fa09e60e
Version Independent ID: b03d5df8-097d-e7cd-6a9e-3a4201333959
Content: Validation activity in Azure Data Factory
Content Source: articles/data-factory/control-flow-validation-activity.md
Service: data-factory
GitHub Login: @sharonlo101
Microsoft Alias: shlo

Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @bertrandpons  and thank you for your inquiry.  I have tried for myself, and all my attempts to grab the 'output' of the Validation activity have failed.  I think this is a bug, as the Validation activity has an output as visible in the debug mode.  I will attempt to contact the product group.

@bertrandpons I do have one piece that can possibly help.  Instead of using the output to test for success/fail, use the Validation activity's Red/Green paths.  When the Validation times out , the red failure path is taken.

@MartinJaffer-MSFT  Thank you for your investigation. I hope this bug will be fixed soon!

The product group has been made aware.  I will update this when I have more information.

Thank you

@bertrandpons  I have great news!  This issue will be fixed in the next release cycle.  Thank you for helping us improve our products.

@MartinJaffer-MSFT thank you for that ! Do you know when the release is planned?

Last I heard was roughly 2 weeks.

I've been experiencing the same problem here and when the validation times out it doesn't take the red failure path. All I get in the debug output is Status = Timed Out and the pipeline fails.

Hello @seanbetts .  Could you please share with me the logic and dataset type you are using?
I have set up a test pipeline, with a validation, and a set variable activity on success, and a set variable activity on failure.
When I do debug run using a blob...
and the blob does not exist, and no minimum size, failure
and the blob does not exist, and a minimum size is set,  failure
and the blob does exist, and minimum size is greater than blob, failure

Hi @MartinJaffer-MSFT, thanks for getting back to me. Below is an image of my pipeline logic:

Okay.  I see what is happening.  Let me use this picture to help with example:

Here, both validation activities ValidX and ValidY are connected to SetVar by 'on failure' dependencies.  SetVar waits for all 'incoming' activities before executing.  When both ValidX and ValidY time out, SetVar executes.  When only ValidX times out, and ValidY finds the file, SetVar does not execute, because it is waiting for a response that never comes.  Furthermore, the pipeline reports failure.

Here, both validation activities ValidX and ValidY are connected to SetVar by 'on completion' dependency.  This means no matter whether success, or failure, time out or found file, execution will continue along this path.  Inside SetVar I use the dynamic expression @{or(activity('ValidX').output.exists,activity('ValidY').output.exists)}.  This sets the variable to True when any of the validation activities  find the file.
From the images you provided, it looks like the 'Combine TSCRPTS'  is expecting success from the 'GET -TSCRPTS' and expecting failure from the ' Validation' .
Since you want the 'Combine TSCRPTS' to happen only when at least one of the 'GET __-TSCRPTS' succeeds, I suggest you create an 'If' activity.  Inside the 'If' activity, place the 'Combine TSCRPTS' and everything that follows.

In this picture, I have the 'Get __-TSCRPTS' only activating when the respective Validation succeeds.  Both of the 'Get __-TSCRPTS' are connected to the If condition by both 'on success' AND 'skipped' lines.  This is significant, because it prevents the If Condition from activating before the copy completes.  It is also significant, because it does not stop the If Condition from activating if the copy does not happen.  Because the Validation activities are ancestors of the 'Get __-TSCRPTS' which are ancestors of the If Condtion, the If Condition has access to the 'output' of the Validation activities.  This allows us to use the logic I demonstrated in the previous example.

Thanks @MartinJaffer-MSFT for taking the time to look at this for me. I'm trying to replicate your suggestions and if I'm right in understanding your advice, I should include the following expression in my If Condition: @or(activity('Get WC-TSCRPTS').output.exists,activity('Get WC-TSCRPTS').output.exists). Is that correct?
Am I also right in understanding that all the subsequent actions in the pipeline (such as Combine TSCRPTS, Delete Staging etc.) should be included in the If True Activities in the If Condition?

I've just tried implementing the expression above in the If condition and I'm getting the following error: The expression 'or(activity('Get WC-TSCRPTS').output.exists,activity('Get FB-TSCRPTS').output.exists)' cannot be evaluated because property 'exists' doesn't exist, available properties are 'dataRead, dataWritten, filesRead, filesWritten, sourcePeakConnections, sinkPeakConnections, rowsRead, rowsCopied, copyDuration, throughput, errors, effectiveIntegrationRuntime, usedDataIntegrationUnits, usedParallelCopies, executionDetails'.

@seanbetts try activity('WC Validation') instead of activity('Get WC_TSCRPTS').
The exists is from the output of the validation activity.

Thanks @MartinJaffer-MSFT - that seems to have worked and my pipeline is up and running! I now just need to work out an if statement around the deleting of the original WC-TSCRPTS/FB-TSCRPTS depending on whether they're picked up at the start of the pipeline or not. Thanks for all your help!

Hi @MartinJaffer-MSFT - quick question: If I wanted to add a third validation what is the best way to construct the OR statement? Should I nest the OR statement i.e.@ or(Validate A, or(Validate B, Validate C)). As the OR operator only takes two items I'm not sure of the best way of doing it? Thank you!

@seanbetts 'Or' follows the 'associative property' (see mathematics).  It does not matter whether you do:
A or (B or C)
(A or B) or C
Both are valid.  Nesting is the way to go.

This is still a BUG!
"exists": true
then it does what we define ADF to do using if or switch.
But if the file does not exist, it does nothing and runs until it times out.
Validation and IF functionality can be a good combination but the pipeline only runs when "exists": true
&
If the file does not exist in the destination, then nothing, it keeps running forever.
reference pipeline run id: 310e60f2-ed55-4a78-b61a-e957c8704f61

and if using timeout for validation and using failure activity-dependency, then it works but the pipeline status will be marked FAILED.

Seeing as this is quite old, I would suggest opening a new issue on this doc and refence this issue. That way the team who manages the issues can triage and assign it out correctly.

@mimckitt new issue created, please share your thoughts on this.
https://github.com/MicrosoftDocs/azure-docs/issues/96555


Add transformer method for Implicit Anonymous Function Expression Node.

Purpose
$subject
Fixes #23614
Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #23615   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 3c9aa32...3ce52d9. Read the comment docs.


💡[FEATURE]: Add Support for Netlify Deployment

Is your feature request related to a problem? Please describe.
I'm always frustrated when I push new commits to our project repository and need to manually deploy updates to see the live changes. It disrupts the workflow and makes it harder to quickly share live updates with Project Admin and reviewers.
Describe the solution you'd like
I would like to integrate Netlify deployment into the project so that every commit automatically triggers a build and live deployment. This way, every commit will result in a live, up-to-date version of the project that can be easily accessed and reviewed.
Describe alternatives you've considered

Manual Deployment: Manually deploying the project after each commit. This is time-consuming and inefficient.
Other Hosting Services: Using other hosting services like GitHub Pages or Vercel, but Netlify offers specific features and ease of use that are highly beneficial for our workflow.
Local Preview: Running a local server to preview changes, which doesn't provide a sharable live link for remote team members or stakeholders.

Additional context
Integrating Netlify will streamline our development process by providing continuous deployment and immediate live previews for every commit. This will enhance collaboration, improve the feedback loop, and ensure that our project is always up-to-date and accessible online.
More information:

Deployment steps  https://www.netlify.com/blog/2016/09/29/a-step-by-step-guide-deploying-on-netlify/
Netlify live deployment Workflow https://github.com/knative/docs/blob/main/.github/workflows/knative-nightly-site-build.yaml

Once deployment is done by maintainer and I'd like to work on integrating workflow for live deployment for each commit

@asr2003 Thanks for this feature idea. It's really helpful to streamline reviewing process

@Anishkagupta04 It would be great if you could work on deploying.
Deployment steps:

https://www.netlify.com/blog/2016/09/29/a-step-by-step-guide-deploying-on-netlify/

Okay will do @varshith257

Can you please assign this task to me.?

@143divya Thanks for your enthusiasm to work with us. But this is the work to be done by PA

Okay
On Sun, 19 May 2024, 6:14 pm Vamshi Maskuri, @.***>
wrote:

@143divya https://github.com/143divya Thanks for your enthusiasm to
work with us. But this is the work to be done by PA
There are lot of open issues. Take a look
—
Reply to this email directly, view it on GitHub
https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/issues/207#issuecomment-2119225334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFUFRA3VNPFA6VLRBIVFA33ZDCND5AVCNFSM6AAAAABH5JFFK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGIZDKMZTGQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


webpack plugin & AOT: Error: undefined, resolving symbol ApplicationModule

OS?
Windows 10
Versions.

typescript 2.0.3
webpack 2.1.0-beta.25
@angular/compiler-cli 0.6.4
@angular/platform-server 2.0.2
@ngtools/webpack 1.1.0

Repro steps.
This is a repo that I created manually by following the quick start guide and then adding webpack.
For config files see below.
The log given by the failure.

webpack --config config/webpack.prod.js --progress --profile --bail

Error: undefined, resolving symbol ApplicationModule in C:/Users/nick/PHPStorm<EMAIL_ADDRESS>    at simplifyInContext (node_modules\@angular\compiler-cli\src\static_reflector.js:472:23)
    at StaticReflector.simplify (node_modules\@angular\compiler-cli\src\static_reflector.js:475:22)
    at StaticReflector.annotations (node_modules\@angular\compiler-cli\src\static_reflector.js:61:36)
    at _loop_1 (node_modules\@angular\compiler-cli\src\codegen.js:53:54)
    at CodeGenerator.readFileMetadata (node_modules\@angular\compiler-cli\src\codegen.js:66:13)
    at node_modules\@angular\compiler-cli\src\codegen.js:100:74
    at Array.map (native)
    at CodeGenerator.codegen (node_modules\@angular\compiler-cli\src\codegen.js:100:35)
    at AotPlugin._make (node_modules\@ngtools\webpack\src\plugin.js:189:43)
    at Compiler.<anonymous> (node_modules\@ngtools\webpack\src\plugin.js:154:75)
    at Compiler.applyPluginsParallel (node_modules\tapable\lib\Tapable.js:156:14)
    at Compiler.<anonymous> (node_modules\webpack\lib\Compiler.js:463:8)
    at Compiler.applyPluginsAsync (node_modules\tapable\lib\Tapable.js:73:70)
    at Compiler.compile (node_modules\webpack\lib\Compiler.js:456:7)
    at Compiler.<anonymous> (node_modules\webpack\lib\Compiler.js:219:10)
    at Compiler.readRecords (node_modules\webpack\lib\Compiler.js:367:10)
    at Compiler.<anonymous> (node_modules\webpack\lib\Compiler.js:216:9)
    at next (node_modules\tapable\lib\Tapable.js:81:11)
    at Compiler.<anonymous> (node_modules\webpack\lib\CachePlugin.js:34:58)
    at Compiler.applyPluginsAsync (node_modules\tapable\lib\Tapable.js:85:13)
    at Compiler.<anonymous> (node_modules\webpack\lib\Compiler.js:213:8)
    at next (node_modules\tapable\lib\Tapable.js:81:11)
    at Compiler.<anonymous> (node_modules\webpack\lib\node\NodeEnvironmentPlugin.js:23:3)
    at Compiler.applyPluginsAsync (node_modules\tapable\lib\Tapable.js:85:13)
    at Compiler.run (node_modules\webpack\lib\Compiler.js:210:7)
    at processOptions (node_modules\webpack\bin\webpack.js:335:12)
    at Object.<anonymous> (node_modules\webpack\bin\webpack.js:339:1)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)

Mention any other details that might be useful.
tsconfig.json:
{
  "compilerOptions": {
    "target": "es5",
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false,
    "rootDir": "."
  },
  "angularCompilerOptions": {
    "entryModule": "app/app.module#AppModule"
  }
}

webpack.prod.js:
const webpack = require("webpack");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const helpers = require("./helpers");
const ContextReplacementPlugin = require("webpack/lib/ContextReplacementPlugin");
const AotPlugin = require("@ngtools/webpack/src/plugin").AotPlugin;

module.exports = {
    entry: {
        "app": "./app/main.ts"
    },

    resolve: {
        extensions: [".ts", ".js", ".json"],
        modules: [helpers.root("app"), "node_modules"]
    },

    module: {
        loaders: [
            {
                test:    /\.ts$/,
                loaders: ["@ngtools/webpack"] // "angular2-router-loader?aot=true&genDir=compiled"
            }
        ]
    },

    plugins: [
        new webpack.optimize.CommonsChunkPlugin({
            name: ["app", "vendor", "polyfills"]
        }),
        new ContextReplacementPlugin(
            // The (\\|\/) piece accounts for path separators in *nix and Windows
            /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
            helpers.root("app") // location of your src
        ),
        new HtmlWebpackPlugin({
            template:       "./app/index.tpl.html",
            filename:       "../index.html",
            chunksSortMode: "dependency"
        }),
        new AotPlugin({
            tsConfigPath: "tsconfig.json",
            typeChecking: false
        })
    ]
};

Invoking ngc from the command line works properly, but I want to integrate AOT compiling into webpack for several reasons.

@dhardtke did you follow https://github.com/angular/angular-cli/blob/master/packages/webpack/README.md? You don't seem to have entryModule specified.
@Foxandxss have you ran into a similar problem?

I do have entryModule specified.

entryModule. Optional if specified in angularCompilerOptions

I got it working by re-writing my webpack config, but I don't know which option was responsible for this.

No, I am still in the investigating part so I haven't try that yet.

@dhardtke ah I see now. Hm... I can't help you too much now, but I can point you at how we use it currently and maybe that'll help: https://github.com/angular/angular-cli/blob/master/packages/angular-cli/models/webpack-build-typescript.ts

Like I said I got it working, I changed a few things in the webpack config and it's working now. Don't know what it was but for now I am closing this issue.

AoTPlugin is not working for me using webpack either. It does not generate the ngfactory files.
My webpack.config.aot.js
            new ngtools.AotPlugin({
                tsConfigPath: './tsconfig.aot.json',
                baseDir: path.resolve(__dirname, ''),
                //entryModule: "./app/www/starter/app/main#MainModule"
                entryModule: path.join(__dirname, 'app', 'www', 'starter', 'app', 'main') + '#MainModule'
            }),
...
        module: {
            rules: [
                {
                    test: /\.ts$/,
                    //exclude: [ /.*\.ngfactory\..*/ ],
                    use: ["@ngtools/webpack"],
                    //use: [ "awesome-typescript?tsconfig=tsconfig.aot.json", "angular2-template" ]
                },

my tsconfig.aot.json
{
  "compilerOptions": {
    "target": "es2015",
    "module": "es2015",
    "moduleResolution": "node",
    //Major, Same
    "sourceRoot": "app",
    "typeRoots": [ "./node_modules/@types" ],
    "types": [ "chrome", "jquery", "filewriter", "filesystem" ],
    //Minor, Same
    "declaration": false,
    "removeComments": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "pretty": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noImplicitUseStrict": false,
    "noFallthroughCasesInSwitch": true
  },
  "angularCompilerOptions": {
    "debug": true,
    "skipMetadataEmit": true
    //"genDir": "suchwow"
  },
  "compileOnSave": false,
  "files": [
    "typings/index.d.ts",
    "app/www/starter/app/bootstrap.aot.ts",
    "app/www/starter/app/main.ts"
  ],
  "exclude": [
    "node_modules",
    "modded_node_modules",
    "build"
  ]
}

Not sure what to do. ngc cli command works, but not the above..
I'm using "@ngtools/webpack": "^1.1.0".


test rerun

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/rerun

/rerun

/rerun

/rerun

/rerun

/rerun

/rerun

/rerun


Provide methods to remove/disableMiddleware in Router class.

Dynamically modifying registered middlewares would be nice for certain scenarios (API requests, for example). Currently the Router class provides additive methods but nothing for removing these middleware. This means the App Kernel can override the Illuminate Kernel and then do the work in there of skipping registration of select middleware. But that requires copying and staying in sync'ing with the Kernel __construct implementation. Not sure if that's good practice or if there is a better way to handle this?

Laravel 5.2 has middlewareGroups which I missed.