First/Second Anthology Cards

In order to properly handle the legality of cards in the first/second anthologies, I think we have two options:

Add another copy of the card to the json, marked with the anthology set.

This is what gemp currently does.  The downside is that this card shows up twice in applicable searches and it means we have two places to update if these cards ever change.

Update the "set" field on each card to instead be "sets".  This field will contain a list of Strings, each describing a set the card belongs to.

This is a larger change to how the data is structured, but I feel this is the most accurate.
If the PC ever goes down the road of having card blocks that rotate in and out, I think this method will be preferred.  Each card could belong to multiple sets, the legality of which will change depending on the format you are considering.

I'd prefer to stick with #1 for now.  We have so few cards which fit into this category that I think simplicity is preferable. If the PC does go down the route of rotation, I think we'll have other issues, like having cards rotate in/out with subtly different changes as they cycle.  If you have a strong preference though, let me know and I can give it some further thought.

I know we talked about this the other day and decided that we'd go with:

Change "set": "string ->  "sets": [string]
Reference the "sets.json" file to determine the sets based on Id.

I just realized that we have a similar issue for all of our AIs.  For each of those AIs, we also have the exact same gametext as the original card.   We have AIs for the normal sets and we also have tons of AIs for virtual cards as well.
I also now realize that the rarity on the Anthology Preview cards will also be different.  In the Anthologies, the rarity would be "Premium", but the version in the regular sets would be "Rare".  Any thoughts on getting around that without duplicating the entire card entry?
This is making me rethink our previous decision and go back to duplicating

When we talked about updating the JSON structure a few years ago I had suggested something like this:
"set": "main set it was printed/virtualized in [not necessarily first set it was printed in, list anthology as a printing instead of as the set]",
"rarity": "for virtual cards just put V or something",
"printings": [
{"set": "set1","border": "BB","foil":false,"misprint":false,"language":"English","alternateimage":false,"oversized":false,"reprint":false,"notes":"any relevant notes, for misprints describe what is misprinted"},
{"set": "set1","border": "WB","foil":false,"misprint":false,"language":"English","alternateimage":false,"oversized":false,"reprint":false,"notes":"any relevant notes, for misprints describe what is misprinted"}
],
Anthology/AI/foil versions would be in printings instead of entirely separate entries

When we talked about updating the JSON structure a few years ago I had suggested something like this:
"set": "main set it was printed/virtualized in [not necessarily first set it was printed in, list anthology as a printing instead of as the set]",
"rarity": "for virtual cards just put V or something",
"printings": [
{"set": "set1","border": "BB","foil":false,"misprint":false,"language":"English","alternateimage":false,"oversized":false,"reprint":false,"notes":"any relevant notes, for misprints describe what is misprinted"},
{"set": "set1","border": "WB","foil":false,"misprint":false,"language":"English","alternateimage":false,"oversized":false,"reprint":false,"notes":"any relevant notes, for misprints describe what is misprinted"}
],
Anthology/AI/foil versions would be in printings instead of entirely separate entries

Something like that could work.  I think that does address all of the issues mentioned if we include the "rarity" and "imageUrl" inside that special "printings" array (so we can display the AIs somewhere).  It would also give us the flexibility to have links to Japanese cards, WB/BB as well, which would be interesting (though a large undertaking).
Functionally, I do think it would would, but it feels a bit 'heavy'.  For the purposes of Scomp Link / card searching, I would want to not have the WB/BB/Japanese/Foil in every one of the cards. It just adds a ton to the file sizes without a much benefit. However from a "collector" perspective, I definitely would want it.  I wonder if there is some middle ground we can have.

I really like the idea of having a "printings" field, but I think it should be distinct from the "sets" field.
When I think "sets", I think "legality".  When I think "printings", I think "white border", "black border", "foil", "AI", "misprint", "eratta'd", "japanese", etc.
In Premiere - Special Edition format, the Second Anthology cards are legal, and that data is contained in the "sets" field.  If a card is legal, you can use any of the printings.
So, I actually still think changing "set" to "sets" is the way to go.  Then in the future after we solidify on the definition of the "printings" field, we can remove the duplicate AI entries.  This is also when we can fix the rarity issue by removing rarity from the base card data and adding it to each printing.  I think we should leave rarity as is for now and it will just be incorrect for the Anthology cards.

I opened a PR changing set -> sets.  This also includes handling the anthology cards correctly.  If anybody still has concerns with this change please speak up and I'm happy to discuss it further.

What will you do for something like Naboo Occupation that was printed in Theed Palace but was first printed as a foil in Reflections III? Would you include Reflections III in sets?

Good catch, I wasn't aware of that case, but if it was important for us to properly handle the Premiere - Ref3 format, then I think we would want to make sure all cards printed in Reflections III included Ref3 in their sets entry.  Do you know if there are other cards like that?
Because I really doubt that the Premiere - Ref3 format will ever be a thing, I think we would likely just ignore this scenario for now.  When the "printings" are added, it would have the appropriate Ref3 entry.
The other option would be to keep the "set" field and make that be the "primary set" in which the card appeared.  For the Anthology cards that would be SE/EDR/DS2 and for Naboo Occupation it would be Theed Palace.  Might be worth renaming set -> primarySet/mainSet if we think that's important.

Yeah I only learned that about Naboo Occupation this week. There could easily be more I'm not aware of.
I do think we should have the "set" field be the primary set for a card and any other sets would be found in individual printings entries. I don't think we need to rename it as primarySet or anything, but if you do I think that would be fine.

OK, I'm coming around to keeping the "set" field as the primary set.
However, I don't feel like we are at a point right now where we need or are ready to create the full featured "printings" field.  What if we do this:

Keep the "set" field as is.
Create the "printings" field but for now, have it contain only the list of set ids.  Basically rename "sets" to "printings".  In the future when we decide to flesh out what exactly a "printing" is, we can update the json with the new format.

But then what are we doing with AIs now?

OK, a new PR is up.  Instead of "sets", we have "printings" where each printing contains a set id.  This doesn't handle AIs currently but the framework is in place where we should be able to in the future.


casesDB

How to add more cases to the database, to do the box,case,pallet optimization?

IS not working.
I would like to add a new type ob box here

Thanks a lot!

Cheers!

Did you succeed to send a palletization solution to the database using the "Send to database" in tree context menu of solution node?

Yes, everything is working now!
Thanks


Allow Action Rule to have SMS template and phone number column on it

Motivation and Context

What has changed

How to test?

Links

Screenshots (if appropriate):

 SIS2: Enable action rules to send SMS messages (21)


Support dictionary of int to int

Int to int is needed now but simple types should be supported in general.

implemented an initial version.


new api functions added for messages

4 new api functions in pyshop, get_all_messages, get_message_type, get_message_text, get_message_call_count

Codecov Report
Patch coverage: 12.50% and project coverage change: -0.74 :warning:

Comparison is base (8f25496) 38.79% compared to head (001f127) 38.06%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   38.79%   38.06%   -0.74%
==========================================
  Files          22       22
  Lines        1428     1466      +38
==========================================
+ Hits          554      558       +4
- Misses        874      908      +34

Impacted Files
Coverage Δ

pyshop/shop_runner.py
21.31% <10.25%> (-1.99%)
:arrow_down:

pyshop/helpers/timeseries.py
75.38% <100.00%> (ø)

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


v2.1.1 Chrome extension - Not save video

Windows 7 x64
Clean install Chome Portable 81.0.4044.129
Install HLS Downloader 2.1.1
Open:
https://rutube.ru/list/premier/video/568f68477d1607a8fc71b2ee7b32892c/
Im have free account
Video is viewed and HLS Downloader open playlist, but save only small video ~460MB.
If select a maximum size of 1920x1080, the video pieces are saved to the "blob_storage/2ce287c2-ff12-4875-8376-9d318bc352b6" folder, but you do not save them to a single file after downloading.
The large video had a file size 1,5GB. On the Download tab, when you move the cursor over the Save button, a crossed-out circle icon appears after 100%. It is impossible to keep.
And also - the extension saves all dimensions from the playlist to one folder.
The previous version of "HLS Download" worked perfectly.

Alright, I will take a look, thanks!

Sometimes doesn't start the file manager windows at the end.
Just 100% downloaded.
What is the temp folder where the file is downloaded?
May I saved manually?
Sometimes when the file is saved and length and size are ok, VLC recognizes only sound but I've tried also Windows Media Player and it opens the file perfectly.
So something in the reconstruction of the file seems to be different.

I got this too

What is the temp folder where the file is downloaded?
May I saved manually?

profile\Default\blob_storage
Pieces of video may have numbers not in order in the video, but in order of download:
set in setting of HLS Downloader "Concurrency = 1"

Thanks.
I see.
My destination is AppData\Local\Google\Chrome\User Data\Default\blob_storage
The program built a folder. Inside 257 fragment.
Rebuild without a problem.
When I ask to download a second file no new folder was built.
New fragments start n. 258 to 824 but seem the PC was unable to reassemble them.
The clear command does not clean the fragments
It is correct?

Here it is the source of videos.
The full HD needs from 566 to 441 fragments to match 100%. I don't understand why.
The 720 HD file needs 257 fragments and was downloaded well.
https://www.paramountnetwork.it/episodi/ri7jr5/il-giovane-ispettore-morse-cantico-stagione-4-e-2

This has been happening for me also. Usually not the first video, but the second or third.

Just went into Developer mode and read the logs while I reproduced. Also cleared the blob_storage directory for the extension before I started in case that was an issue (3.9GB).
Got this error when it reached 100%:
hostReportError.js:3 Uncaught DOMException: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.
Maybe I wasn't on that tab when it finished?

It wasn't caused by being away from tab. I did successfully download a video (1.6GB, 960), but both times I tried 1080 it failed. MacOS.

Work in progress #132


recover tokenizer.py

to fix: https://github.com/pytorch/fairseq/issues/581

This has been deprecated, I'll submit a fix to the tutorial.


ciao-cli: Report volumes in creation time order

This change takes advantage of the CreatedAt already populated in the
volume details as part of the openstack API.
Fixes: #689
Signed-off-by: Rob Bradford<EMAIL_ADDRESS>

Coverage decreased (-0.006%) to 66.612% when pulling 06e12a8f688c0be19e75df8c061cdb583c6a20e2 on rbradford:fix-volume-ordering into cf9780c55fd828022bb479a5b39ebce068bbea7d on 01org:master.

I know ciao-cli doesn't currently have a single unit test. Is it possible to start adding them as we add new functionality?

@kaccardi I think the unit testing needs to be done separately.  None of the ciao-cli functions are designed to be unit tested so they'd need to be rewritten.  As this PR is just modifying an existing function and not adding a new one, writing the function in question to be unit testable would obscure the purpose of this PR.  I suggest opening a separate ticket for ciao-cli unit testing if one does not already exist.

Strictly speaking the sorting should probably be done in the controller.  The openstack API supports this.  Unfortunately, gophercloud does not, so there's no easy way for us to do this right now, apart from submitting a PR to gophercloud and waiting.   The current randomness of the volume list command is quite confusing right now so it makes sense to me to merge this PR as is, with the proviso that we will need to revisit the code when #702 is implemented.


Proxy Compression Bug

I have created a minimal repro so it is easier for you to try it out.
https://github.com/prabirshrestha/salvo-proxy-compression-bug
Basically when using compression with proxy there are issues which renders garbage instead of actual content. Could be double compression one on the proxy server by create react app and the other one by salvo?
Another potentially bug I found was that there is no vary header set when using compression so caching headers might not work.
This bug only repros in Safari on iphone and ipad. Chrome/firefox seems to be be able to handle this correctly so you might not repro it there. Might be non safari browser is smarter to autodetect dual compression and decompress it twice? I have not debugged it thoroughly so not sure if there is multiple compression happening or some other proxy settings that is creating this issue.
For future ref:
use salvo::prelude::*;

#[handler]
async fn hello() -> &'static str {
    "Hello World"
}

#[tokio::main]
async fn main() {
    tracing_subscriber::fmt().init();

    // CachingHeader must be before Compression.
    let router = Router::with_hoop(CachingHeaders::new())
        .hoop(Compression::new().with_min_length(0))
        .push(Router::with_path("/server").get(hello))
        .push(Router::with_path("<**rest>").handle(spa()));

    let acceptor = TcpListener::bind("<IP_ADDRESS>:7878");
    Server::new(acceptor).serve(router).await;
}

fn spa() -> salvo::proxy::Proxy<Vec<&'static str>> {
    salvo::proxy::Proxy::new(vec!["http://localhost:3000"])
}

Copy pasting caching-header example to the new repro doesn't seem to compile. I had to change let acceptor = TcpListener::new("<IP_ADDRESS>:7878").bind().await; to let acceptor = TcpListener::bind("<IP_ADDRESS>:7878"); instead.

Please check, compression will skip if Content-Encoding already exists in response headers.

Verified it works after the patch. Thanks for the quick fix!


Unique identifier column to nannyML datasets

This PR adds an identifier column to every dataset that is part of nannyML OSS so they can easily be used in the cloud product when running examples/tutorials.

Oh thanks for fixing the broken tests @nnansters 💜


Create a Grafana dashboard

Since we now have prometheus monitoring, we should create a grafana dashboard for kubeless.

@ngtuna is there any thing left to do (not yet covered by https://github.com/kubeless/kubeless/tree/master/manifests/monitoring)

docs for sure, and a check the dashboard. I don't think that gus actually wrote a grafana dashboard for it...even though it is in the manifests directory

Are these monitoring manifests still supposed to work on Kubernetes > 1.7.3? I have set up kubeless on Kubernetes 1.7.8 and also installed the monitoring yamls. The dashboard with the title "Prometheus stats" is still working but "Kubernetes Pod Resources" is not working in my setup. In my understanding this is because the "Kubernetes Pod Resources" dashboard is based on container metrics exposed by cadvisor. There has been a change starting from Kubernetes 1.7.x. Also documented here https://github.com/prometheus/prometheus/issues/2916.

I just deployed the manifests on 1.8, they setup prometheus and grafana fine. I could create a custom dashboard with kubeless metrics. Idea of this issue is to create grafana dashboard for kubeless that can be imported.
Not sure on "Kubernetes Pod Resources" dashboard is expected to work with 1.7.x

We have a grafana dashboard so closing this issue.


Fix call to polygon

the demo used poly, should be polygon

Thanks!  That changed fairly late, and the README never got updated.


out of memory error when there is tons of free memory

Environment: Google Cloud Function / 2 GB in-ram file system / unknown (probably debian) 64 bit linux / crystal binaries called via Node.js.
I'm running into the fabled boehm-gc error:
GC Warning: Out of memory - trying to allocate less
Insufficient memory for GC_all_nils

when running crystal language binaries (or just crystal --version or shards install etc) from within a Google Cloud Function, and when there is tons of free ram (generally 1.7 gigs). GCF uses a 2 GB in-ram file system, meaning if I create a 20 MB file, I am really using up 20 MB of ram, etc. Running crystal --version should not require 2 GB of ram, so something fishy is going on. I've checked the output of free -h right before I run crystal --version and indeed there are like 1.8 gigs of free ram.
For some reason no matter what I do, boehm-gc is throwing this error via crystal. I am wondering if maybe this is a bug?
I can run binaries or code you give me to try to debug this in GCF.
I also posted this on the boehm-gc repo: https://github.com/ivmai/bdwgc/issues/225

For anyone wondering why I care about this: I am working on a shard that will automatically package and deploy a crystal app into a google cloud function. Right now I have this working if I do the compilation locally on my linux machine, however I would like to compile binaries in Google Cloud Function so they are completely optimized for that runtime environment (and for OSX users).

If your're compiling, it might be very likely that the compiler consumes this 1.8 GB. Before jumping to conclusions that this is must be a bug, you should verify the actual memory usage while the program runs, not just before you start it. You could either poll free or add --stats to the compiler command.

This was in response to the last comment which talked explicitly about compiling.
Anyways it would be good to know the actual memory consumption, be it for compiling or crystal --version.

unfortunately the best I can get is the memory consumption of all processes and the total available for the system immediately before I run crystal --version and immediately after crystal --version crashes with the GC error. (the whole system is typically using something like 200 mb of ram at that point). I would second that this sounds like BDW is incorrectly estimating the actual available memory.

@sam0x17 could you run the build command with --stats option. That will show some progress and memory consumption in each stage.
I don't fully understand what code you are trying to compile and then run in GCF. How huge it is? Is it shareable?

@bcardiff I will do that and get back to you
At the moment I'm not even trying to compile anything -- just running the pre-compiled crystal binary and doing crystal --version, or shards install, etc.. The next step is compiling a tiny hello world program (e.g. puts "hello world"). This is definitely something to do with BDW and not the size of what I'm trying to do.
The folks over at BDW have replied as follows, so I will do some research on nmap etc and see if I can debug the problem that way:

This means GC cannot grab memory from OS (GC uses mmap or sbrk to get more memory depending on the config).

My advice is to write a program in C that links to bdw-gc and run that. If that fails, it's a problem with bdw-gc and not Crystal.

bdwgc doesn't "estimate the available memory", it asks for what it needs with mmap and clearly recieves an error.
I'd be wary of the output of free here: can you post the full output of free? Perhaps the process is running in a memory cgroup and the amount of available memory isn't visible to the process.

all right guys here is the output from a full run of the cloud function so you can better see what's going on. I put in some free -h calls before and after every operation that could have some effect on memory usage, along with a command that prints all running processes and their memory usage (the code for this function is as follows):
function procMemUsage() {
  cmd('free -h');
  cmd('ps aux  | awk \'{print $6/1024 " MB\t\t" $11}\'  | sort -n');
}

Here is the full output:

D      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.434  Function execution started
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.492  $ free -h
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.523               total       used       free     shared    buffers     cached
                                                                      Mem:          2.0G        79M       1.9G         0B         0B        57M
                                                                      -/+ buffers/cache:        22M       2.0G
                                                                      Swap:           0B         0B         0B
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.523  $ ps aux  | awk '{print $6/1024 " MB		" $11}'  | sort -n
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.567  0 MB		COMMAND
                                                                      0.769531 MB		/bin/sh
                                                                      1.51172 MB		awk
                                                                      2.40625 MB		/bin/sh
                                                                      3.21484 MB		ps
                                                                      4.29297 MB		/bin/bash
                                                                      57.1875 MB		/nodejs/bin/node
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.567  preparing to compile...
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.578
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.578  injecting pcre into environment...
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.578  $ tar -xzf ./pcre.tar.gz -C /tmp
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.761  added /tmp/pcre/bin to PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.773  added /tmp/pcre/lib to LD_LIBRARY_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.782  added /tmp/pcre/lib to LIBRARY_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.792  added /tmp/pcre/include to C_INCLUDE_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.801  added /tmp/pcre/include to CPP_INCLUDE_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.801
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.801  injecting libevent into environment...
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:38.801  $ tar -xzf ./libevent.tar.gz -C /tmp
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.076  added /tmp/libevent/bin to PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.090  added /tmp/libevent/lib to LD_LIBRARY_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.115  added /tmp/libevent/lib to LIBRARY_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.129  added /tmp/libevent/include to C_INCLUDE_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.143  added /tmp/libevent/include to CPP_INCLUDE_PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.143  $ free -h
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.210               total       used       free     shared    buffers     cached
                                                                      Mem:          2.0G        91M       1.9G        12M         0B        70M
                                                                      -/+ buffers/cache:        21M       2.0G
                                                                      Swap:           0B         0B         0B
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.210  $ ps aux  | awk '{print $6/1024 " MB		" $11}'  | sort -n
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.268  0 MB		COMMAND
                                                                      0.4375 MB		awk
                                                                      1.74609 MB		/bin/sh
                                                                      3.14453 MB		ps
                                                                      3.38281 MB		/bin/sh
                                                                      4.29297 MB		/bin/bash
                                                                      58.1875 MB		/nodejs/bin/node
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.268
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.272  crystal version not specified, finding latest version...
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.813  latest version: 0.24.2
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.813
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:39.813  downloading linux x64 binary for Crystal 0.24.2
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:40.566  $ curl -O -L --silent https://github.com/crystal-lang/crystal/releases/download/0.24.2/crystal-0.24.2-1-linux-x86_64.tar.gz
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:46.372
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:46.390  extracting "crystal-0.24.2-1-linux-x86_64.tar.gz"...
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:46.390  $ tar -xzf *.tar.gz
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.840
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.840  $ free -h
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.867               total       used       free     shared    buffers     cached
                                                                      Mem:          2.0G       273M       1.7G       194M         0B       252M
                                                                      -/+ buffers/cache:        21M       2.0G
                                                                      Swap:           0B         0B         0B
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.867  $ ps aux  | awk '{print $6/1024 " MB		" $11}'  | sort -n
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.935  0 MB		COMMAND
                                                                      1.82422 MB		awk
                                                                      1.87891 MB		/bin/sh
                                                                      3.33984 MB		ps
                                                                      3.51562 MB		/bin/sh
                                                                      4.29297 MB		/bin/bash
                                                                      58.1875 MB		/nodejs/bin/node
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.947  added /tmp/tmp-2UghNIpd6dGe8/crystal-0.24.2/bin to PATH
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.947
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.947  testing that crystal binary is installed and runnable...
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.947  $ free -h
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.962               total       used       free     shared    buffers     cached
                                                                      Mem:          2.0G       274M       1.7G       194M         0B       252M
                                                                      -/+ buffers/cache:        21M       2.0G
                                                                      Swap:           0B         0B         0B
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:48.962  $ ps aux  | awk '{print $6/1024 " MB		" $11}'  | sort -n
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:49.043  0 MB		COMMAND
                                                                      2.05859 MB		awk
                                                                      2.05859 MB		sort
                                                                      2.98438 MB		/bin/sh
                                                                      3.02734 MB		ps
                                                                      4.29297 MB		/bin/bash
                                                                      58.1875 MB		/nodejs/bin/node
I      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:49.043  $ crystal --version
E      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:49.155  Error: Command failed: crystal --version
                                                                      GC Warning: Out of memory - trying to allocate less
                                                                      Insufficient memory for GC_all_nils

                                                                          at checkExecSyncError (child_process.js:473:13)
                                                                          at Object.execSync (child_process.js:513:13)
                                                                          at silentCmd (/user_code/compile.js:15:24)
                                                                          at cmd (/user_code/compile.js:20:13)
                                                                          at compile (/user_code/compile.js:95:14)
                                                                          at exports.init (/user_code/compile.js:128:3)
                                                                          at /var/tmp/worker/worker.js:684:7
                                                                          at /var/tmp/worker/worker.js:668:9
                                                                          at _combinedTickCallback (internal/process/next_tick.js:73:7)
                                                                          at process._tickDomainCallback (internal/process/next_tick.js:128:9)
D      compile-crystal-zd08sy  l7rsrnwtot6j  2018-06-14 00:01:49.167  Function execution took 10735 ms, finished with status: 'crash'

Reading the bdwgc, allocating GC_all_nils is pretty much the first thing the GC does, so it really does point to it being an interaction between bdwgc and the environment. Getting a strace of crystal would be useful.

@RX14 ok I'll try to get strace to compile statically so I can run it in the cloud function and get back to you

@RX14 here you go:
Error: function crashed.  This is way to long for a comment.

interestingly, I did an experiment filling an array with tons of random ints to see if I could get a static crystal binary to crash due to dynamic memory allocation, and it actually does not crash. So either this is a problem that affects crystal and shards but not crystal programs themselves, or something about how I set up my environment is different that is making things work.
Reproducible example with directions is here: https://github.com/sam0x17/dynamic_memory_test
TLDR: clone the repo and run the build_deploy script, assuming you already have gcloud and docker set up.
https://github.com/sam0x17/dynamic_memory_test
@RX14 @straight-shoota

I'm going to call this closed at this point. There is really no reason to be compiling in a cloud function now that we have confirmed that static binaries work, and that is the only reason anyone would ever encounter this error based on my experiment.

This error might as well affect any Crystal binary, so I'd keep it open. It's still not clear how this bug works.

@straight-shoota It's a problem with bdw-gc and that particular cloud. Crystal has nothing to do here...

Until we either:

find out the cause or
get a report that isn't in a weird environment
there's not much to do.

As a matter of fact, can you please run df -h before you run crystal? Your tmpfs might be full.

@RX14 agree that we should close this unless it becomes a problem for someone else.
That said, df -h shows that the tmpfs had plenty of free space, oddly.

Based on the strace, GCF does not support mmap(/dev/zero). So, I will change to use mmap(MAP_ANONYMOUS) instead for this target. Could you please let me know how the BDWGC was built (I mean configure/make options)? Is the target host (GCF) is Linux/amd64?

Could you please let me know how the BDWGC was built (I mean configure/make options)? Is the target host (GCF) is Linux/amd64?

@RX14 @straight-shoota maybe you guys might be able to shed some light on this? I do not know where the bdwgc compilation flags exist in this project

@sam0x17 @ivmai It's all here: https://github.com/crystal-lang/distribution-scripts

Though for Mac using homebrew it's here: https://github.com/Homebrew/homebrew-core/blob/master/Formula/crystal.rb

This commit should solve the issue: https://github.com/ivmai/bdwgc/commit/eed796d6d6fda97354ccbe6a39dce5506d9c6762

I'm also seeing this when running the Docker image via rootless podman:
GC Warning: Out of memory - trying to allocate less
Insufficient memory for GC_all_nils
Might be a podman bug but still something worth noting.

@kirbyfan64, If possible, please recheck it with the above fix (https://github.com/ivmai/bdwgc/commit/eed796d6d6fda97354ccbe6a39dce5506d9c6762)


Prettier

Coverage remained the same at 100.0% when pulling a8eb51bbe1d066b14f94abd6347a21be2545459c on langpavel:prettier into 0038b35c704113f4927fc9d578161e45b9666584 on kriasoft:master.


Swift Compile Error Unexpected non-void return value in void function

I am getting Unexpected non-void return value in void function in SwiftFlutterTesseractOcrPlugin.swift while i try to open the plugin example in ios.

Can you show all the error messages?

Thank you for your answer.
This is the error i am getting when i try to write flutter build ios:
Xcode's output:
↳
    /Users/cansavrun/development/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.5/ios/Classes/FLTImagePickerPlugin.m:193:20: warning: 'UIAlertView' is
    deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead
    [-Wdeprecated-declarations]
        [[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil)
                       ^
    In module 'UIKit' imported from /Users/cansavrun/Desktop/tesseract_ocr-master/example/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:2
    7:12: note: 'UIAlertView' has been explicitly marked deprecated here
    @interface UIAlertView : UIView
               ^
    1 warning generated.
    1 warning generated.
    warning: [CP] Unable to find matching .xcframework slice in 'ios-arm64 ios-x86_64-maccatalyst ios-x86_64-simulator' for the current build architectures (arm64 armv7).
    /Users/cansavrun/Desktop/tesseract_ocr-master/example/ios/Pods/SwiftyTesseract/SwiftyTesseract/SwiftyTesseract/Enums/EngineMode.swift:9:8: error: no such module
    'libtesseract'
    import libtesseract
           ^
    /Users/cansavrun/Desktop/tesseract_ocr-master/example/ios/Pods/SwiftyTesseract/SwiftyTesseract/SwiftyTesseract/Enums/EngineMode.swift:9:8: error: no such module
    'libtesseract'
    import libtesseract
           ^
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete

Encountered error while building for device.

This is the error while i try to run on xcode:

This is where i am getting the error on swift:
else if(call.method == "initswiftyTesseract")
{
guard let args = call.arguments else {
result("iOS could not recognize flutter arguments in method: (sendParams)")
return
}
        let params: [String : Any] = args as! [String : Any]
        let language: String? = params["language"] as? String
        if(language != nil){
            swiftyTesseract = SwiftyTesseract(language: .custom((language as String?)!))
        }
        return true //this part is giving the error
    }

Please check in the latest version.

Hi thank you for your response.Sorry for the late response.
I am getting this error now:
2021-09-23 14:40:45.728925+0300 Runner[4879:1452660] Fatal error: Initialization of SwiftyTesseract has failed. Check that the tessdata folder has been added to the project as a folder reference and contains the correct .traineddata files for the specified engine mode and language(s).: file SwiftyTesseract/SwiftyTesseract.swift, line 100
   else { fatalError(SwiftyTesseract.Error.initializationErrorMessage) }

https://github.com/arrrrny/tesseract_ocr/issues/31
Can you please check if this method solves it?
If it is resolved, can I ask for pull requests?

It is resolved. But you can add tessdata only in xcode so i think mentioning this solution in readme will be enough.

good idea.
I'll add it to the readme.

Hi @khjde1207,
I folllow the same steps drag tessdata folder from assets to Xcode Runner folder as a refrence.
still I am getting this error. please help me.
Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “tessdata” in the folder “Gulf Bank”." UserInfo={NSUnderlyingError=0x302b9bcf0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}, NSFilePath=/private/var/containers/Bundle/Application/4995D7DC-DE6A-4E98-9F80-B90A865EDDD4/Runner.app/tessdata, NSURL=file:///private/var/containers/Bundle/Application/4995D7DC-DE6A-4E98-9F80-B90A865EDDD4/Runner.app/tessdata}
Error opening data file /private/var/containers/Bundle/Application/4995D7DC-DE6A-4E98-9F80-B90A865EDDD4/Runner.app/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
SwiftyTesseract/SwiftyTesseract.swift:100: Fatal error: Initialization of SwiftyTesseract has failed. Check that the tessdata folder has been added to the project as a folder reference and contains the correct .traineddata files for the specified engine mode and language(s).


RFC: Allow access to sass files

Currently, only the compiled main.css, which contains all the styles for all the examples, is exposed. Exposing the sass files of each visualization type (plot, legends, etc) can allow users to choose only the styles they need. A build step could be added to do this. Thoughts?

The main css file does not contain the example styles, it only consist of base component ones. The sass files of each components are already exposed and can be imported individually, though this is undocumented.
@import "react-vis/dist/styles/legends";


WRQ-21731: Scroll-driven Animations

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Applied Scroll-driven animations to Enact scrollable components
Resolution
Additional Considerations
Links
WRQ-21731
Comments
Enact-DCO-1.0-Signed-off-by: Ion Andrusciac<EMAIL_ADDRESS>

closing as PR is not needed for this POC


[NEW] MCTTP 2024

Name: Munich Cyber Tactics, Techniques and Procedures
Website: https://www.mcttp.de/
Date(s): September 17-19 2024
Location: Munich, Germany
Twitter/Mastodon Handle:  @MCTTP_Con
Free: N

Danke!


feat: integrate trouble BLE stack

It should be a matter of just using the "ble" feature on ariel_os, and have our build system deal with the differences of the upstream examples.

From the list of good project goals, BT Home might make a good initial application.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.15.7 to before v5.15.12",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c4618188b15af986c4f43bb63271edc7d07f73aa",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5aae769a0ef7ec3ad0e9b3e3297a2e4fc69cde95"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "c4618188b15af986c4f43bb63271edc7d07f73aa",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "5aae769a0ef7ec3ad0e9b3e3297a2e4fc69cde95",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ipmi: fix initialization when workqueue allocation fails\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.12 by commit 5aae769a0ef7ec3ad0e9b3e3297a2e4fc69cde95, it was introduced in version v5.15.7 by commit c4618188b15af986c4f43bb63271edc7d07f73aa. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002832


Oracle Java 21: NullPointerException at java.base/javax.crypto.ProviderVerifier.verify

Recently we switched our Jenkins CI/CD environment to Java 21. Most of our Jenkins hosts use some build of OpenJDK (especially the Red Hat build), however some hosts are different (different, older Linux distributions) for which no OpenJDK 21 build is available from their official repositories. In these cases we tried to use the Oracle JDK 21 from https://www.oracle.com/java/technologies/downloads/#java21 (in particular the 21.0.5 deb package https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb). This works except for one thing related to the Bouncy Castle JCE provider.
To get (checkout) the code from our GIT repository we use the JGit (pure Java) client provided by Jenkins. Since the repository is accessed via secure channel (SSH), some JCE provider is required to be involved and Jenkins uses Bouncy Castle here. While at the OpenJDK 21 things works smoothly, at Oracle JDK 21 we get the exception shown below.
Since the Jenkins (via the Bouncycastle API plugin) currently uses Bouncy Castle 1.78.1 and we noticed that there were some Oracle Java 21 specific fixes in the version 1.79, we also tried to update it manually in our Jenkins environment, but that didn't make any difference.
Meanwhile, we've switched (at the affected hosts) to the Eclipse Temurin OpenJDK 21 build and things started to work again so it really appears to be Oracle JDK 21 related issue.

Jenkins job log

[Pipeline] checkout
The recommended git tool is: jgit
using credential ...
Fetching changes from the remote Git repository
Fetching without tags
 > JGit fetch # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from ...
	at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:997)
	at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1239)
	at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1310)
	at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
	at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
	at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101)
	at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88)
	at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: ...: [ssh-connection]: Failed (NoSuchProviderException) to execute: JCE cannot authenticate the provider BC
	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:823)
	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170)
	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:377)
	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
	... 4 more
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to host1
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1826)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
		at hudson.remoting.Channel.call(Channel.java:1042)
		at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:153)
		at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
		at java.base/java.lang.reflect.Method.invoke(Method.java:580)
		at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:138)
		at PluginClassLoader for git-client/jdk.proxy76/jdk.proxy76.$Proxy181.execute(Unknown Source)
		at PluginClassLoader for git//hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:995)
		at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1239)
		at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1310)
		at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1277)
		at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136)
		at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101)
		at PluginClassLoader for workflow-scm-step//org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88)
		at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
		... 4 more
Caused by: org.eclipse.jgit.api.errors.TransportException: ...: [ssh-connection]: Failed (NoSuchProviderException) to execute: JCE cannot authenticate the provider BC
	at PluginClassLoader for git-client//org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:249)
	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:821)
	... 10 more
Caused by: org.eclipse.jgit.errors.TransportException: ...: [ssh-connection]: Failed (NoSuchProviderException) to execute: JCE cannot authenticate the provider BC
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:267)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:1)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:107)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:279)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:152)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:153)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:105)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.Transport.fetch(Transport.java:1480)
	at PluginClassLoader for git-client//org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:238)
	... 11 more
Caused by: org.apache.sshd.common.SshException: [ssh-connection]: Failed (NoSuchProviderException) to execute: JCE cannot authenticate the provider BC
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.future.AbstractSshFuture.lambda$verifyResult$2(AbstractSshFuture.java:146)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.future.AbstractSshFuture.formatExceptionMessage(AbstractSshFuture.java:206)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.future.AbstractSshFuture.verifyResult(AbstractSshFuture.java:145)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:56)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.future.DefaultAuthFuture.verify(DefaultAuthFuture.java:35)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.future.VerifiableFuture.verify(VerifiableFuture.java:110)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.future.VerifiableFuture.verify(VerifiableFuture.java:96)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:171)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSession.connect(SshdSession.java:100)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:260)
	... 19 more
Caused by: java.lang.NullPointerException
	at java.base/javax.crypto.ProviderVerifier.verify(ProviderVerifier.java:123)
	at java.base/javax.crypto.JceSecurity.verifyProvider(JceSecurity.java:196)
	at java.base/javax.crypto.JceSecurity$2.apply(JceSecurity.java:222)
	at java.base/javax.crypto.JceSecurity$2.apply(JceSecurity.java:211)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at java.base/javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:211)
	at java.base/javax.crypto.JceSecurity.getInstance(JceSecurity.java:134)
	at java.base/javax.crypto.KeyAgreement.getInstance(KeyAgreement.java:240)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.util.security.SecurityEntityFactory$2.getInstance(SecurityEntityFactory.java:130)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.util.security.SecurityUtils.getKeyAgreement(SecurityUtils.java:817)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.common.kex.MontgomeryCurve.<init>(MontgomeryCurve.java:116)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.common.kex.MontgomeryCurve.<clinit>(MontgomeryCurve.java:92)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.common.kex.BuiltinDHFactories$16.isSupported(BuiltinDHFactories.java:341)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.NamedFactory.lambda$setUpTransformedFactories$0(NamedFactory.java:64)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at PluginClassLoader for mina-sshd-api-common//org.apache.sshd.common.NamedFactory.setUpTransformedFactories(NamedFactory.java:66)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.ClientBuilder.setUpDefaultKeyExchanges(ClientBuilder.java:194)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.ClientBuilder.fillWithDefaultValues(ClientBuilder.java:125)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.ClientBuilder.fillWithDefaultValues(ClientBuilder.java:56)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.common.BaseBuilder.build(BaseBuilder.java:274)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.ClientBuilder.build(ClientBuilder.java:165)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.client.ClientBuilder.build(ClientBuilder.java:56)
	at PluginClassLoader for mina-sshd-api-core//org.apache.sshd.common.BaseBuilder.build(BaseBuilder.java:298)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSessionFactory.lambda$0(SshdSessionFactory.java:225)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSession.<init>(SshdSession.java:92)
	at PluginClassLoader for git-client//org.eclipse.jgit.transport.sshd.SshdSessionFactory.getSession(SshdSessionFactory.java:196)
	... 19 more
ERROR: Error fetching remote repo 'origin'
ERROR: Maximum checkout retry attempts reached, aborting

Jenkins remoting agent log

Nov 08, 2024 8:20:40 AM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProvider
INFO: getOrCreateProvider(BC) created instance of org.bouncycastle.jce.provider.BouncyCastleProvider
Nov 08, 2024 8:20:40 AM org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar getOrCreateProvider
INFO: getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProvider
Nov 08, 2024 8:20:40 AM org.apache.sshd.common.io.DefaultIoServiceFactoryFactory getIoServiceProvider
INFO: No detected/configured IoServiceFactoryFactory; using Nio2ServiceFactoryFactory
Nov 08, 2024 8:20:41 AM org.apache.sshd.common.util.logging.LoggingUtils warn
WARNING: exceptionCaught(JGitClientSession[...:22])[state=Opened] NoSuchProviderException: JCE cannot authenticate the provider BC

So Oracle JDK 21 is attempting to authenticate the BC provider and fails due to NullPointerException during the attempt. The underlying cause of authentication failures is usually some sort of modification to the provider jar (including any kind of repackaging e.g. fat jars, or exploding into class trees).
Note that OpenJDK doesn't perform this authentication of third-party cryptographic providers, which would explain why you only see it when trying to use the Oracle JDK.

I already checked the jars - both at the Jenkins server side as well as at the worker nodes to which these jars are copied when needed and they were the original untouched 1.78.1 and then 1.79 (when I replaced them manually. and cleared the jar cache at the worker nodes).
Verification via jarsigner (from the same Oracle JDK 21) results in the following:
s     802861 Wed Oct 30 09:42:52 CET 2024 META-INF/MANIFEST.MF

      >>> Signer
      X.509, CN=Legion of the Bouncy Castle Inc., OU=Java Software Code Signing, O=Oracle Corporation
      Signature algorithm: SHA256withRSA, 2048-bit key
      [certificate is valid from 1/25/22, 1:58 AM to 1/25/27, 1:58 AM]
      X.509, CN=JCE Code Signing CA, OU=Java Software Code Signing, O=Oracle Corporation
      Signature algorithm: SHA256withRSA, 2048-bit key
      [certificate is valid from 7/7/16, 1:48 AM to 12/31/30, 1:00 AM]
      [Invalid certificate chain: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
      >>> TSA
      X.509, CN=DigiCert Timestamp 2024, O=DigiCert, C=US
      Signature algorithm: SHA256withRSA, 4096-bit key
      [certificate is valid from 9/26/24, 2:00 AM to 11/26/35, 12:59 AM]
      X.509, CN=DigiCert Trusted G4 RSA4096 SHA256 TimeStamping CA, O="DigiCert, Inc.", C=US
      Signature algorithm: SHA256withRSA, 4096-bit key
      [certificate is valid from 3/23/22, 1:00 AM to 3/23/37, 12:59 AM]
      X.509, CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US
      Signature algorithm: SHA384withRSA, 4096-bit key
      [certificate is valid from 8/1/22, 2:00 AM to 11/10/31, 12:59 AM]
...
jar verified.

Warning:
This jar contains entries whose certificate chain is invalid. Reason: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The signer certificate will expire on 2027-01-25.
The timestamp will expire on 2031-11-10.

Where that complaint about the untrusted certificate chain shouldn't be critical AFAIK (and it's already been discussed in #1193).
So I believe the issue is slightly different than the JAR validity.

Is the provider being loaded via the JVMs module path? It looks like the jar's valid, but if something is unpacking it or re-wrapping it before it gets used there will be trouble.
If you're sure it is, I think you may need to raise this with Oracle, we have worked around an issue in Java 21 as well as reporting one recently. If it's something we can deal with on our end we would be happy to do so, but available source does not really seem to suggest what's going on...

I'm not sure how ir's loaded since it's done by Jenkins which first transfers the required libraries from the master to the worker nodes via its remoting implementation and then loads them locally at the worker nodes. It may be therefore worth opening a Jenkins (likely for the Jenkins Bouncy Castle API Plugin) issue for this instead.


Can I use react-native client to connect to deepstream.

I see on the documentation site that there is a way to connect to deepstream and cosume using plain JavaScript.
I am curious if there is any react package which can be used as a client in mobile app development, or any alternative way to achieve same in react native?

read the docs please before submitting issues.


Turn OIDC UsernamePrefix and GroupsPrefix to pointers

/kind feature
/kind api-change
What this PR does / why we need it:
Giving the possibility to distinguish zerovalue from set to be empty.
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 #1940
Special notes for your reviewer:
API change is only in Go types, from YAML point of view nothing has been changed.
Does this PR introduce a user-facing change?:

Turn OIDC UsernamePrefix and GroupsPrefix to pointers

/hold for @xmudrii's discussion


Fix Attempting to JIT compile method while in AOT only mode for Swizzled Apple Native Timings

Adds compiler hint of UnmanagedFunctionPointer to delegate methods
Tests requried:

Real iOS device as this does not appear on simulators

Still procuring a real iOS device to test these changes. This should go out in the next release

Tested on a real device and this appears to be fixed. Will put out a release shortly for this after review


Issue 360: Nodejs EventWriter

Signed-off-by: thekingofcity<EMAIL_ADDRESS>Change log description
Add EventWriter support to Nodejs. Also use jest to run the tests inside of $ node --loader ts-node/esm tests/stream_manager.ts
Purpose of the change
Fixes #360
What the code does
Implement the stream_writer in async.
const SCOPE = 'scope1';
const STREAM = 'stream1';
const DATA = 'Hello World!';

const stream_manager = StreamManager('tcp://<IP_ADDRESS>:9090', false, false, true);

const stream_writer_1 = stream_manager.create_writer(SCOPE, STREAM);
await stream_writer_1.write_event(DATA);
await stream_writer_1.write_event(DATA, 'routing_key');

const enc = new TextEncoder();
const stream_writer_2 = stream_manager.create_writer(SCOPE, STREAM, 2);
await stream_writer_2.write_event_bytes(enc.encode(DATA));
await stream_writer_2.write_event_bytes(enc.encode(DATA), 'routing_key');
await stream_writer_2.flush();

This should be merged after #357.
How to verify it
jest is used to run the tests. Having typescript and esm support enabled at once takes some time and here are the reference:

https://jestjs.io/docs/ecmascript-modules
https://kulshekhar.github.io/ts-jest/docs/guides/esm-support/

To run the tests:

Run a clean standalone pravega 0.10.1
npm test

$ npm test

><EMAIL_ADDRESS>test
> node --loader ts-node/esm --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand

(node:8880) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8880) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
PASS  tests/stream_reader.test.ts (8.742 s)
PASS  tests/stream_manager.test.ts
PASS  tests/client.test.ts

Test Suites: 3 passed, 3 total
Tests:       7 passed, 7 total
Snapshots:   0 total
Time:        11.595 s
Ran all test suites.

All the comments should be updated in commits. Feel free to review more if needed.


[FEATURE] - CRUD Session

Reference Issues
No response
Summary
Session can be created and viewed, it should be possible to edit and delete them.
Unresolved questions
No response
Definition of Done
When it is possible to edit and delete sessions.

From Status Esben needs these to complete the instructor home page. Especially the get all sessions from an instructor.


Switch from apt to apt-get commands in CI Actions.

Better support for long-term backwards compatibility.

Where did you find this information? I'm curious and also it would be good to link here for people who want to know what prompted this change.

Good idea. I got the information from the apt tool itself. I added a comment to the action file. From the apt manpage:

SCRIPT USAGE AND DIFFERENCES FROM OTHER APT TOOLS
   The [apt](https://manpages.ubuntu.com/manpages/kinetic/en/man8/apt.8.html)(8) commandline is designed as an end-user tool and it may change behavior between
   versions. While it tries not to break backward compatibility this is not guaranteed either
   if a change seems beneficial for interactive use.

   All features of [apt](https://manpages.ubuntu.com/manpages/kinetic/en/man8/apt.8.html)(8) are available in dedicated APT tools like [apt-get](https://manpages.ubuntu.com/manpages/kinetic/en/man8/apt-get.8.html)(8) and [apt-](https://manpages.ubuntu.com/manpages/kinetic/en/man8/aptcache.8.html)
   [cache](https://manpages.ubuntu.com/manpages/kinetic/en/man8/aptcache.8.html)(8) as well.  [apt](https://manpages.ubuntu.com/manpages/kinetic/en/man8/apt.8.html)(8) just changes the default value of some options (see [apt.conf](https://manpages.ubuntu.com/manpages/kinetic/en/man5/apt.conf.5.html)(5)
   and specifically the Binary scope). So you should prefer using these commands (potentially
   with some additional options enabled) in your scripts as they keep backward compatibility
   as much as possible.


Doc error

In here we see the variable dataReader used on the last line of the sample code fragment, yet it is not declared and it is not obvious what it is.

Much appreciated, I've not used your library before so was unsure exactly what you'd intended.


Undefined constant Illuminate\Http\Request::HEADER_X_FORWARDED_ALL

Laravel Version: 9.0
PHP Version: 8.1.2
Database Driver & Version: mysql 8.0

Description:
I install latest version composer require fideloper/proxy:^4.4.1, but error:
Undefined constant Illuminate\Http\Request::HEADER_X_FORWARDED_ALL
I don't understand why the code doesn't match the master branch.
Steps To Reproduce:
Screenshots

composer.json
"require": {
        "php": "^8.0.2",
        "doctrine/dbal": "^3.0",
        "fideloper/proxy": "^4.4.1",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.4.1",
        "intervention/image": "^2.5",
        "laravel/framework": "^9.0",
        "laravel/sanctum": "^2.14",
        "laravel/tinker": "^2.7",
        "spatie/laravel-permission": "^5.0"
    },
    "require-dev": {
        "spatie/laravel-ignition": "^1.0",
        "fakerphp/faker": "^1.9.1",
        "laravel/breeze": "^1.8",
        "laravel/sail": "^1.13.2",
        "mockery/mockery": "^1.5.0",
        "nunomaduro/collision": "^6.0",
        "phpunit/phpunit": "^9.5.0"
    },

https://laravel.com/docs/9.x/upgrade#upgrade-9.0
In document Trusted Proxies update steps already given.
Please try those steps.

Thanks @pragnesh87

Take a closer look at the problem! My project files are fine. The problem is loading from composer.

@driesvints check

@driesvints Need help!  This is a magical mistake, I can't handle it! Open the bug.

Please make following changes
file: app/Http/Middleware/TrustProxies.php
use Fideloper\Proxy\TrustProxies as Middleware
to
use Illuminate\Http\Middleware\TrustProxies as Middleware.

@pragnesh87 It turns out that the fideloper/proxy package is no longer required.
I change use import.

@qdmitry please read the upgrade guide carefully before posting issues.

you need to delete file "config/trustedproxy.php"

@driesvints the upgrade guide does not explicitly state that the package is no longer required and can be deleted. I ran into the same issue yesterday.
Even after changing out the middleware, the fideloper-package still auto-loaded its own config and ran into the error.
Maybe adding a text about removing the package would help?

@spaceemotion I see. I was a bit confused because the screenshot of the OP still showed the incorrect namespace even though it was listed in the upgrade guide. I'll PR that to indicate you need to remove the package.

If the above answer does not work for you and you are getting the same error, execute one more line for removing the trusted/proxy from composer.json.
// Before...
protected $headers = Request::HEADER_X_FORWARDED_ALL;

// After...
protected $headers =
    Request::HEADER_X_FORWARDED_FOR |
    Request::HEADER_X_FORWARDED_HOST |
    Request::HEADER_X_FORWARDED_PORT |
    Request::HEADER_X_FORWARDED_PROTO |
    Request::HEADER_X_FORWARDED_AWS_ELB;

This will remove the proxy from the composer.json and the exception will be gone.
composer remove trusted/proxy

it's properly mentioned in the laravel 9 about fideloper/proxy (same way you can remove trusted proxy) in upgrade guide. https://laravel.com/docs/9.x/upgrade#the-assert-deleted-method

when in laravel 10 i went to use it it shows this error
Problem 1
- Root composer.json requires illuminate/contracts 6.0, found illuminate/contracts[v6.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 2
- fideloper/proxy 1.0.0 requires illuminate/support 4.0.x -> found illuminate/support[v4.0.0, ..., v4.0.10] but these were not loaded, likely because it conflicts with another require.
- fideloper/proxy[2.0.1, ..., 2.0.2] require illuminate/support ~4 -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require.
- fideloper/proxy[2.0.3, ..., 2.1.1] require illuminate/support ~4.0|~5.0 -> found illuminate/support[v4.0.0, ..., v4.2.17, v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- fideloper/proxy[3.0.0, ..., 3.3.4, 4.0.0, ..., 4.1.0] require illuminate/contracts ~5.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36] but it conflicts with your root composer.json require (6.0).
- fideloper/proxy 4.2.0 requires illuminate/contracts ~5.0|~6.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- fideloper/proxy[4.2.1, ..., 4.2.2] require illuminate/contracts ^5.0|^6.0|^7.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- fideloper/proxy[4.3.0, ..., 4.4.0] require illuminate/contracts ^5.0|^6.0|^7.0|^8.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- fideloper/proxy[4.4.1, ..., 4.4.2] require illuminate/contracts ^5.0|^6.0|^7.0|^8.0|^9.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.7] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires fideloper/proxy * -> satisfiable by fideloper/proxy[1.0.0, 2.0.1, ..., 2.1.1, 3.0.0, ..., 3.3.4, 4.0.0, ..., 4.4.2].

@all Those who are facing this issue, make sure that you have changed the config/trustedproxy.php file also.
<?php

return [

    /*
     * Set trusted proxy IP addresses.
     *
     * Both IPv4 and IPv6 addresses are
     * supported, along with CIDR notation.
     *
     * The "*" character is syntactic sugar
     * within TrustedProxy to trust any proxy
     * that connects directly to your server,
     * a requirement when you cannot know the address
     * of your proxy (e.g. if using ELB or similar).
     *
     */
    'proxies' => null, // [<ip addresses>,], '*', '<ip addresses>,'

    /*
     * To trust one or more specific proxies that connect
     * directly to your server, use an array or a string separated by comma of IP addresses:
     */
    // 'proxies' => ['<IP_ADDRESS>'],
    // 'proxies' => '<IP_ADDRESS>, <IP_ADDRESS>',

    /*
     * Or, to trust all proxies that connect
     * directly to your server, use a "*"
     */
    // 'proxies' => '*',

    /*
     * Which headers to use to detect proxy related data (For, Host, Proto, Port)
     *
     * Options include:
     *
     * - Illuminate\Http\Request::HEADER_X_FORWARDED_ALL (use all x-forwarded-* headers to establish trust)
     * - Illuminate\Http\Request::HEADER_FORWARDED (use the FORWARDED header to establish trust)
     * - Illuminate\Http\Request::HEADER_X_FORWARDED_AWS_ELB (If you are using AWS Elastic Load Balancer)
     *
     * - 'HEADER_X_FORWARDED_ALL' (use all x-forwarded-* headers to establish trust)
     * - 'HEADER_FORWARDED' (use the FORWARDED header to establish trust)
     * - 'HEADER_X_FORWARDED_AWS_ELB' (If you are using AWS Elastic Load Balancer)
     *
     * @link https://symfony.com/doc/current/deployment/proxies.html
     */
-     'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,

];

when in laravel 10 i went to use it it shows this error
Problem 1 - Root composer.json requires illuminate/contracts 6.0, found illuminate/contracts[v6.0.0] but these were not loaded, likely because it conflicts with another require. Problem 2 - fideloper/proxy 1.0.0 requires illuminate/support 4.0.x -> found illuminate/support[v4.0.0, ..., v4.0.10] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[2.0.1, ..., 2.0.2] require illuminate/support ~4 -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[2.0.3, ..., 2.1.1] require illuminate/support ~4.0|~5.0 -> found illuminate/support[v4.0.0, ..., v4.2.17, v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[3.0.0, ..., 3.3.4, 4.0.0, ..., 4.1.0] require illuminate/contracts ~5.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36] but it conflicts with your root composer.json require (6.0). - fideloper/proxy 4.2.0 requires illuminate/contracts ~5.0|~6.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[4.2.1, ..., 4.2.2] require illuminate/contracts ^5.0|^6.0|^7.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[4.3.0, ..., 4.4.0] require illuminate/contracts ^5.0|^6.0|^7.0|^8.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[4.4.1, ..., 4.4.2] require illuminate/contracts ^5.0|^6.0|^7.0|^8.0|^9.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.7] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires fideloper/proxy * -> satisfiable by fideloper/proxy[1.0.0, 2.0.1, ..., 2.1.1, 3.0.0, ..., 3.3.4, 4.0.0, ..., 4.4.2].

same error

when in laravel 10 i went to use it it shows this error
Problem 1 - Root composer.json requires illuminate/contracts 6.0, found illuminate/contracts[v6.0.0] but these were not loaded, likely because it conflicts with another require. Problem 2 - fideloper/proxy 1.0.0 requires illuminate/support 4.0.x -> found illuminate/support[v4.0.0, ..., v4.0.10] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[2.0.1, ..., 2.0.2] require illuminate/support ~4 -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[2.0.3, ..., 2.1.1] require illuminate/support ~4.0|~5.0 -> found illuminate/support[v4.0.0, ..., v4.2.17, v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[3.0.0, ..., 3.3.4, 4.0.0, ..., 4.1.0] require illuminate/contracts ~5.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36] but it conflicts with your root composer.json require (6.0). - fideloper/proxy 4.2.0 requires illuminate/contracts ~5.0|~6.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[4.2.1, ..., 4.2.2] require illuminate/contracts ^5.0|^6.0|^7.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[4.3.0, ..., 4.4.0] require illuminate/contracts ^5.0|^6.0|^7.0|^8.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require. - fideloper/proxy[4.4.1, ..., 4.4.2] require illuminate/contracts ^5.0|^6.0|^7.0|^8.0|^9.0 -> found illuminate/contracts[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.7] but these were not loaded, likely because it conflicts with another require. - Root composer.json requires fideloper/proxy * -> satisfiable by fideloper/proxy[1.0.0, 2.0.1, ..., 2.1.1, 3.0.0, ..., 3.3.4, 4.0.0, ..., 4.4.2].

same error

@summerKK Does it help you?
https://github.com/laravel/framework/issues/40883#issuecomment-1556011494

My description was unclear.
Today, I encountered a similar error when upgrading from Laravel 6.0 to Laravel 7.0. However, my error message was:
- laravel/framework[v8.74.0, ..., v8.83.27] require symfony/http-foundation ^5.4 -> found symfony/http-foundation[v5.4.0, ..., v5.4.24] but these were not loaded, likely because it conflicts with another require.
I used composer why-not symfony/http-foundation "^5.4" to identify other dependencies. Upgrading those packages resolved the issue.


Adding missing Envoy Improv's from Armory & AP#25

Fix Envoy Index and some stray GEM, COM items

Replaces PR #992, which has a broken branch

Addresses Issue #940

Addresses Issue #1062

Replaced by PR#1418


Future is using await() all the time

If the used thread pool is fixed thread, then is possible to lead to a deadlock between threads, waiting for the result of other thread.
So I need to find a way to use callbacks instead of locks.

fixed in #34


add ajax frontcontroller

Fixes issue #4

@LouisAUTHIE friendly remind to not forget index.php files in new folders.

Will do indeed thanks and the redirection on Ajax.php too

Thanks @LouisAUTHIE 👍

Fixes #4.

That's all done thanks

@LouisAUTHIE you need to write exactly "Fixes https://github.com/friends-of-presta/vatnumber/issues/4" on PR description.
See documentation: Using keywords in issues and pull requests

@LouisAUTHIE est-ce que tu peux rebase stp ?

@LouisAUTHIE you just need to rebase using your changes and launch php vendor/bin/php-cs-fixer fix

Yes will do as soon as I have my computer at disposal... canary island trip before !

rebase is done now


TypeError: undefined is not an object (evaluating 'data.query.results')

This is just something that happened recently. This was all working fine on a lot of our sites. But since Friday, Jan 22, it isn't functioning on any of our sites. It also isn't operating on http://simpleweatherjs.com

Any idea what is going on?

See #174 for info.

Thanks I did find that after I posted.
Jim Peck
Application Development
UI Developer Team Lead
www.maritztravel.comhttp://www.maritztravel.com/
ph:<PHONE_NUMBER>
cell:<PHONE_NUMBER>
email: jim.peck<EMAIL_ADDRESS>From: James Fleeting <notifications<EMAIL_ADDRESS>Reply-To: "monkeecreate/jquery.simpleWeather" <reply<EMAIL_ADDRESS>Date: Monday, January 25, 2016 at 2:12 PM
To: "monkeecreate/jquery.simpleWeather" <jquery.simpleWeather<EMAIL_ADDRESS>Cc: "Peck, Jim" <Jim.Peck<EMAIL_ADDRESS>Subject: Re: [jquery.simpleWeather] TypeError: undefined is not an object (evaluating 'data.query.results') (#189)
See #174https://github.com/monkeecreate/jquery.simpleWeather/issues/174 for info.
—
Reply to this email directly or view it on GitHubhttps://github.com/monkeecreate/jquery.simpleWeather/issues/189#issuecomment-174646013.
Confidentiality Warning: This e-mail contains information intended only for the use of the individual or entity named above. If the reader of this e-mail is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, any dissemination, publication or copying of this e-mail is strictly prohibited.
The sender does not accept any responsibility for any loss, disruption or damage to your data or computer system that may occur while using data contained in, or transmitted with, this e-mail. If you have received this e-mail in error, please immediately notify us by return e-mail. Thank you.


How to install only the command line tools?

I am trying to follow the instructions on this page to install only the command line tools and compilers. I want to write C and Assembly code and use the Nmake to run MakeFile. I don't need the MSV C/C++ IDE.
The page directs me to this other page where I can download the Build Tools for Visual Studio 2022:

and I installed the bare minimum build tools and run the dev environment:

However, the cl.exe, nmake.exe, and ml.exe executables are not found yet

I would appreciate it if you could help me know what the problem is and how I can resolve it.

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

ID: 45e8226e-799c-2e3b-01c6-d7603141d5ca
Version Independent ID: 4f7cd478-ffcc-bec5-b61a-e17085ccd6f5
Content: Use the Microsoft C++ toolset from the command line
Content Source: docs/build/building-on-the-command-line.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@Foadsf
The "bare minimum" doesn't include the tools you need if you don't select a C++ workload in the Visual Studio Installer. Depending on which version you're installing, the workload might be called Desktop development with C++ or Visual C++ build tools. Either way, this workload should install the MSVC build tools and base libraries, which include the compiler, linker, and nmake. Fortunately, this should be easy to fix. Rerun Visual Studio Installer, choose Modify, select the C++ workload, then choose Modify. Once it completes, your Developer Command Prompt should give you access to the tools you're looking for. Since these workloads are specifically mentioned in Use the Microsoft C++ toolset from the command line, there's not really a doc issue to address. I'm closing this as a support issue, not a doc issue. Best of luck with your coding.

@corob-msft thanks for the response. However, if I install that then it is already ~7GB!!! why should the command line tools be so big? There is a need for minimal installation just for the standard library header and the compilers. not everyone needs the IDE.

@corob-msft thanks for the response. However, if I install that then it is already ~7GB!!! why should the command line tools be so big? There is a need for minimal installation just for the standard library header and the compilers. not everyone needs the IDE.

I agree, this is much bigger than I am happy with and is something we are working on fixing. The problem is we are limited by the UI (my team doesn't have control over it). If we break down the components more granularly, we have to add many new checkboxes which can make it more difficult for users to figure out what they need to check. With vcpkg artifacts, we plan to have a separate way to customize your toolset acquisition experience which will hopefully make it easier to select what you want and be able to get much smaller packages. The bad news is we don't have an ETA yet, but we have engineers working on that feature right now.


Person entity is not detected

Name: gliner
Version: 0.1.13
I tried the getting started colab demo notebook, but the person entities were not detected.
Marius Petipa & Charles Nodier => person

from gliner import GLiNER
model = GLiNER.from_pretrained("urchade/gliner_mediumv2.1")
model.eval()

text = """
Libretto by Marius Petipa, based on the 1822 novella ``Trilby, ou Le Lutin d'Argail`` by Charles Nodier, first presented by the Ballet of the Moscow Imperial Bolshoi Theatre on January 25/February 6 (Julian/Gregorian calendar dates), 1870, in Moscow with Polina Karpakova as Trilby and Ludiia Geiten as Miranda and restaged by Petipa for the Imperial Ballet at the Imperial Bolshoi Kamenny Theatre on January 17–29, 1871 in St. Petersburg with Adèle Grantzow as Trilby and Lev Ivanov as Count Leopold.
"""

labels = ["person", "book", "location", "date", "actor", "character"]

entities = model.predict_entities(text, labels, threshold=0.4)

for entity in entities:
    print(entity["text"], "=>", entity["label"])

==============================
Trilby => character
Moscow => location
January 25/February 6 => date
1870 => date
Moscow => location
Polina Karpakova => actor
Trilby => character
Ludiia Geiten => actor
Miranda => character
January 17–29, 1871 => date
St. Petersburg => location
Adèle Grantzow => actor
Trilby => character
Lev Ivanov => actor
Count Leopold => character

Hi, performance/bias may vary across models. In this case, the types "character" and "actor" have higher probabilities so "person" is not returned


add to rich requirements?

refgenie build t7/epilog_index
Traceback (most recent call last):
  File "/home/nsheff/.local/bin/refgenie", line 5, in <module>
    from refgenie.__main__ import main
  File "/home/nsheff/.local/lib/python3.8/site-packages/refgenie/__main__.py", line 1, in <module>
    from .refgenie import main
  File "/home/nsheff/.local/lib/python3.8/site-packages/refgenie/refgenie.py", line 7, in <module>
    from rich.console import Console
ModuleNotFoundError: No module named 'rich'

does rich need to be added to requirements somewhere?

or it might just be that the refgenie requirement for refgenconf needs to be increased?

you probably have incorrect refgenconf installed

refgenconf is intentionally commented out from the requirements-all.txt:
https://github.com/refgenie/refgenie/blob/557e0a37863ac8b7a02e6c5d58b5da6ae8c09371/requirements/requirements-all.txt#L1-L4
the dev version is added to requirements-dev.txt, though:
https://github.com/refgenie/refgenie/blob/557e0a37863ac8b7a02e6c5d58b5da6ae8c09371/requirements/requirements-dev.txt#L1-L2
I'll uncomment the line, but the -dev appendix will need to be removed after refgenconf release anyway.

no need for now, just something that needs to be addressed before release. I added a checkbox the to the PR


  This is more of a feature request vs a bug/issue.  I would love have a means to turn off the world pause that occurs after an NPC spots a character.  The use case I am using in my campaign is a merchant or known NPC will greet a PC once alerted to them.  This works really well other than it pauses the game.  I am a bit aware this is slightly misusing the tool, perhaps there are better ways to do this via macros, but just a thought.  Feel free to disregard this issue/request, if its not something you want to get into.  Thanks!

Hello! It seems you haven't read the Before Posting an issue as indicated at the top of the Repository Readme (https://github.com/theripper93/Levels/blob/v9/ISSUES.md) The Issue has been closed.


run time error bz absence of middleware

run time error bz absence of middleware like saga/thunk

k