Not able to set/update values to firebase when Streaming

Everything works fine unless two things. i am able to update single node using one child but not using two or more childs as it returns as string not json. String updateData = "{"firmware_version":"1.0.0", "device_online":"yes"}"; and the second one is stream is working fine but i am not able to set/update string or int to firebase when streaming as esp8266 crashes.

Can you make the example sketch that causes the error or share some part of your sketch? This library version is port from ESP32 which may required some fixes to prevent crash.

ok i will post an example tomorrow morning and thank you for quick reply.

Please check every test case for 10-15 minutes to see if it crashes or not in NodeMcu esp8266 with 2.5.0 and noSpiffs.
//ino file
//FirebaseESP8266.h must be included before ESP8266WiFi.h
#include "FirebaseESP8266.h"
#include <ESP8266WiFi.h>
#define FIREBASE_HOST "Firebase Host"
#define FIREBASE_AUTH "Firebase Auth"
#define WIFI_SSID "ssid"
#define WIFI_PASSWORD "password"
//Define FirebaseESP8266 data object
FirebaseData firebaseData;
FirebaseData streamData; //If using single FirebaseData firebaseData; repeats stream loop every 2-3 seconds and using another FirebaseData streamData; works ok but crashes sometimes.
String path = "/LKV8zPLXYGXJ9gN75ecd8fJLwmE2/Device1"; // Setting path as "/User_id/Controller_1" crashes and Setting path as "/Controller_1" gives heap size approx 18800 in stream loop and Setting path as "/Firebase_User_id/Controller_1" gives free heap as 338080 in stream loop and crashes sometimes
// In last case tested setting FirebaseData streamData; and using path = "/LKV8zPLXYGXJ9gN75ecd8fJLwmE2/Device1", where LKV8zPLXYGXJ9gN75ecd8fJLwmE2 is my firebase user id works with free heap size 338416 but if leaves sketch running for 10-15 minutes and then pinDetails changes then crashes.
void setup() {
Serial.begin(115200);
pinMode(D1, OUTPUT);
pinMode(D2, OUTPUT);
pinMode(D3, OUTPUT);
pinMode(D5, OUTPUT);
digitalWrite(D1, HIGH);
digitalWrite(D2, HIGH);
digitalWrite(D3, HIGH);
digitalWrite(D5, HIGH);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
Firebase.reconnectWiFi(true);
if (Firebase.getInt(firebaseData, "/Controllers" + path + "/D1status"))
{
  Serial.print("D1 Status: ");
  if (firebaseData.dataType() == "int")
    Serial.println(firebaseData.intData());
    if (firebaseData.intData() == 0)
    {
      digitalWrite(D1, LOW);
    }
    else
    {
      digitalWrite(D1, HIGH);
    }
    Serial.println(ESP.getFreeHeap());
}
delay(100);

if (Firebase.getInt(firebaseData, "/Controllers" + path + "/D2status"))
{
  Serial.print("D2 Status: ");
  if (firebaseData.dataType() == "int")
    Serial.println(firebaseData.intData());
    if (firebaseData.intData() == 0)
    {
      digitalWrite(D2, LOW);
    }
    else
    {
      digitalWrite(D2, HIGH);
    }
    Serial.println(ESP.getFreeHeap());
}
delay(100);

if (Firebase.getInt(firebaseData, "/Controllers" + path + "/D3status"))
{
  Serial.print("D3 Status: ");
  if (firebaseData.dataType() == "int")
    Serial.println(firebaseData.intData());
    if (firebaseData.intData() == 0)
    {
      digitalWrite(D3, LOW);
    }
    else
    {
      digitalWrite(D3, HIGH);
    }
    Serial.println(ESP.getFreeHeap());
}
delay(100);

if (Firebase.getInt(firebaseData, "/Controllers" + path + "/D4status"))
{
  Serial.print("D4 Status: ");
  if (firebaseData.dataType() == "int")
    Serial.println(firebaseData.intData());
    if (firebaseData.intData() == 0)
    {
      digitalWrite(D5, LOW);
    }
    else
    {
      digitalWrite(D5, HIGH);
    }
    Serial.println(ESP.getFreeHeap());
}
delay(100);

String Updated_DataString = "{\"firmwareVersion\":\"1.0.0\", \"deviceOnline\":\"yes\"}";
Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Updated_DataString);
delay(100);

if (!Firebase.beginStream(streamData, "/Controllers" + path + "/pinDetails"))
{
  Serial.println("FAILED");
  Serial.println("REASON: " + streamData.errorReason());
  Serial.println("------------------------------------");
  Serial.println();
}
else
{
  Serial.println("PASSED");
  Serial.println("------------------------------------");
  Serial.println();
}

}
int Pin_Details;
String Button_Status;
void loop() {
// put your main code here, to run repeatedly:
if (!Firebase.readStream(streamData))
{
Serial.println("--------------------------------");
Serial.println("Read stream...");
Serial.println("FAILED");
Serial.println("REASON: " + streamData.errorReason());
Serial.println("--------------------------------");
Serial.println();
Serial.println(ESP.getFreeHeap());
}
if (streamData.streamTimeout())
{
Serial.println("Stream timeout, resume streaming...");
Serial.println();
Serial.println(ESP.getFreeHeap());
}
if (streamData.streamAvailable())
{
Serial.print("Pin Details : ");
if (streamData.dataType() == "int")
Pin_Details = streamData.intData();
Serial.println(Pin_Details);
 switch(Pin_Details)
    {
      case 10:
      digitalWrite(D1, LOW);
      Button_Status = "{\"D1status\":0}"; //Sometimes Firebase.updateNodeSilent works in last case tested
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 11:
      digitalWrite(D1, HIGH);
      Button_Status = "{\"D1status\":1}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 20:
      digitalWrite(D2, LOW);
      Button_Status = "{\"D2status\":0}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 21:
      digitalWrite(D2, HIGH);
      Button_Status = "{\"D2status\":1}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 30:
      digitalWrite(D3, LOW);
      Button_Status = "{\"D3status\":0}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 31:
      digitalWrite(D3, HIGH);
      Button_Status = "{\"D3status\":1}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 50:
      digitalWrite(D5, LOW);
      Button_Status = "{\"D4status\":0}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      case 51:
      digitalWrite(D5, HIGH);
      Button_Status = "{\"D4status\":1}";
      Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
      break;

      default:
      Button_Status = "";
      break;
  }
Serial.println(ESP.getFreeHeap());

}
}

In last case tested after running for 10-15 minutes, Firebase.updateNodeSilent not works but o starting it works.
case 10:
digitalWrite(D1, LOW);
Button_Status = "{"D1status":0}"; //Sometimes Firebase.updateNodeSilent works in last case tested
Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
break;

Thank you I will investigate that and let you known.

As you know, esp8266 has too small memory.
I see you're using multiple Firebase Data Object which is not the approach that I wan't to be.
I'm not recommend to use multiple Firebase Data Object because every single object takes 15-17k memory included WiFi client instance which can lead to unhandled exception error.
Two objects may takes 30-40k ram which lead to unreliable situation, any system tasks may fail especially WiFi task.
Please use only one Firebase Data Object or move to ESP32 which has more ram and my library support this features.

Ok now I know the cause.
Due to total header size at line 368 of FirebaseESP8266.cpp to send is set to 320 bytes which is too small for wide range of absolute node path in your case.
To fix the error, at line 368 of FirebaseESP8266.cpp change from
size_t headerSize = 320;

to
size_t headerSize = 500; //600 or any larger value but not too much

Hope this helps.
Anyhow, be aware of using multiple Firebase Data Object in case of low free memory.

ok i have tested and it is now working but if i use only one FirebaseData firebaseData; and then in loop if i update any node
case 10:
digitalWrite(D1, LOW);
Button_Status = "{"D1status":0}"; //Sometimes Firebase.updateNodeSilent works in last case tested
Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status);
break;
like this then it will keep repeating stream to that node and it if i use comment out //Firebase.updateNodeSilent(firebaseData, "/Controllers" + path, Button_Status); then it works only when database changes and if i use another FirebaseData streamData;
then it works only when database changes. can i do this with only one FirebaseData firebaseData; as free heap in this case is 32536 in stream loop and if i use FirebaseData streamData;  free heap size is 18548 only and thank you for the quick fix.

I may not clearly understand your post or misunderstand, please correct or re explain me again.
If you use only one Firebase Data object to lower mem usage and want to get stream together with read/update data  at some interval in loop, the stream will stop or disconnected from server after you read/update data because you use the same http or wifi client inside firebase data object to establish new connection.
In this usage way, you need to manage the time for readstream during the read/update cycle as in Stream.ino example.
For example your read/update data every 5 minutes and use the time to read/update data  1 minute, then you have 4 minutes of idle time to allow stream to work before next read/update cycle start again.
This means during 1 minute of read/update data, you will miss any data that being monitor in database that may change at that time.
This is the problem when you have only one communication channel which need to share to several tasks which this also occurred in other Firebase library i.e. developed by FirebaseExtend.
To work around, you may need to manually read json data at path being stream and keep in SD or SPIFS  before you read/update data at other database paths and later compare to the stream data that read from readStream when streamAvailable to determine any changes take place during you read/update data.
I personally move to ESP32 even time for establish new http connection is slower than ESP8266 but I use update function to save the time.

ok so i think i am good at using two firebase data object as i have sufficient free heap memory 16928 after all the operations are done.
As if now i was testing the whole sketch on Mobile internet as hotspot, it is working all ok. but today i used my broadband router wifi hotspot and esp connected and got ip address but neither firebase nor stream is working. can i know why

i am getting errors like
Read stream...
FAILED
REASON: connection lost
Read stream...
FAILED
REASON: connection refused
but i can use internet using router wifi hotspot on my laptop and mobile phones.

connection lost means WiFi connection is lost
connection refused means WiFi connected but no data return from that Access point or router.
All above means esp8266 could not connect to internet.
Try the following.
Reset your router or turn off (unplug) for 3 minutes and try again.
Make sure your router doesn't block port 443.
Try to setup soft AP on your computer and let esp8266 connect to that soft AP.
Try other routers.

ok i will try an let you know but as for i tested Ping is working on router wifi using esp.
#include <ESP8266WiFi.h>
#include <ESP8266Ping.h>
const char* ssid     = "ssid";
const char* password = "passphrase";
void setup() {
Serial.begin(115200);
delay(10);
// We start by connecting to a WiFi network
Serial.println();
Serial.println("Connecting to WiFi");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(100);
Serial.print(".");
}
Serial.println();
Serial.print("WiFi connected with ip ");
Serial.println(WiFi.localIP());
Serial.print("Pinging ip ");
Serial.println(remote_ip);
if(Ping.ping("www.google.com")) {
Serial.println("Success!!");
} else {
Serial.println("Error :(");
}
}
void loop() { }
i will also try with some other router

It doesn't mean this can access SSL port 443.

ok esp connects and firebase runs for soft ap through laptop but not directly from router wifi.

This ssl port is used to connect to  Firebase server so we can't change.
I think that this may relate to low memory as in this post but I'm not sure. Please try to use only one Firebase Data Object for higher free memory and test.

ok i have tested using single Firebase Data Object and setting lwIP variant to v2 lower memory or v2 Higher Bandwidth does not connect firebase to router wifi  but connects to normal mobile wifi hotspot and setting lwIP variant to v2 IPv6 lower memory or v2 IPv6 Higher bandwidth connects firebase to router wifi without changing any configuration on router and also to mobile wifi hotspot but firebase stops streaming after some time. so i think there is no problem with the router wifi.

Did you try fix ip, multi wifi AP. May be and may be not to confirm that router is not the problem depend on its function or algorithm based on its firewall.

ok i will test and let you know

Thanks for your information. This actually relate to esp8266 core SDK or your router settings, not relate to this library.

ok i have tested and after setting lwIP variant to v2 IPv6 lower memory works for both router wifi and mobile wifi hotspot. so is it okay to change nodemcu esp8266 from lwIP variant v2 lower memory to lwIP variant to v2 IPv6 lower memory.

Your info is good for everyone that work with esp8266 wifi
Thank you.

Thank you for your help once again.


Add 4.4.7

I think this is a small miss. We didn't explicitly note that errors in a before hook should mean evaluation does not proceed and the default is returned (we did mention error hooks should be triggered, so this could be surmised, but I think this addition makes sense).
I updated a graphic accordingly.
One question is if we should add a 4.4.8 that explicitly mentions the provider should not be called in this case... this might be a good idea, since if an implementation still calls the provider (despite returning the default), there may be side-effects in the flag evaluation service that have incorrect data due to a misbehaving before hook.

Merging this without a 4.4.8 for now. We can always revisit that later.


acme: external account binding support

fixes #1676
Adds ACME external account binding support

/assign
/hold

/hold cancel

Not sure why Pebble is returning this:
  Warning  Failed     4m31s  cert-manager  Accepting challenge authorization failed: acme: authorization error for efsxk.certmanager.kubernetes.network: 400 urn:ietf:params:acme:error:connection: Get https://efsxk.certmanager.kubernetes.network/.well-known/acme-challenge/TRrVcMxk3V2oH6r6WK3kbMzmNvWopGCiRRtsqJHNe3k: http: server gave HTTP response to HTTPS client

in some of the ACME test cases where nginx is configured to redirect to a HTTPS address. This implies to me that nginx is responding with HTTP content on the HTTPS port 🤔
Retesting to see if this is a flake, and will audit changes to Pebble since the old vs new commit as I've not seen this before!
/retest

After some digging in pebble, I think I have identified the cause and I've opened this issue to track it: https://github.com/letsencrypt/pebble/issues/293

Looks good to me :)

/lgtm


Shell resource don't inherit environment variable

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Scripts called by the shell resource only have access to the environment variable DRY_RUN. More context from the two following links
	// If Env is nil, the new process uses the current process's
	// environment.

=>  https://pkg.go.dev/os/exec#Cmd
But it's set to
Env: []string{fmt.Sprintf("DRY_RUN=%v", dryRun)},

=> https://github.com/updatecli/updatecli/blob/main/pkg/plugins/resources/shell/target.go#L40
For example in the context of Github Action we need to inherit the updated env PATH based on cached tool so we can use custom command in script s.
Expected Behavior
This manifest https://github.com/epinio/docs/blob/main/.github/workflows/updatecli.yml should be working by using the command
act workflow_dispatch -j updatecli --env "UPDATECLI_GITHUB_TOKEN=xxx" --env "UPDATECLI_GITHUB_ACTOR=yyy"

Steps To Reproduce
No response
Environment
- OS: linux
- updatecli: 0.27.0

Anything else?
I don't see any reason to not inherit all environment variable from the updatecli process, so I would retrieve all of them from os.Environment then append DRY_RUN
Also I am wondering if we shouldn't replace DRY_RUN by UPDATECLI_DRY_RUN to reduce the risk of collision

The initial intent was to avoid exposing an enviornmental variable with a secret credential to the underlying shell script, as updatecli often might leak value unencrypted.

This worry as well, what do you think to have by default few standard variable such as PATH and then adding a new setting named allowedEnvironment so we could filter such as
  docusaurus:
    kind: shell
    name: "Set latest docusaurus version"
    scmid: default
    sourceid: epinioSubVersion
    spec:
      # epinio source value is automatically added to the command as a parameter
      command: "./updatecli/scripts/docusaurus.sh"
      environments:
          - name: "PATH"
            inherited: true
          - name: "CUSTOM_VARIABLE"
            value: "custom_value"

The settings would be
type environments struct {
      // name defines the environment variable name
      Name string
      // value defines the environment variable value for a specific name
      Value string
      // inherit defines if the default value is retrieve from the Updatecli process
      Inherit bool
 }


Would you like a NeTV2 board?

Has 2 * HDMI outputs, 2 * HDMI inputs and PCIe...

https://github.com/AlphamaxMedia/netv2-fpga
https://www.crowdsupply.com/alphamax/netv2

Tim,
That would be cool. I'd happily add support for this to the display controller and other Project F projects, such my 2D co-processor. The more hardware support the better!
I also have a new graphics tutorial series starting shortly with the Project F designs. It will build on my older tutorial series [1] and feature supported hardware.
However, I should note that I am not ready to support for HDMI decoding yet, so you couldn't overlay Project F graphics on video using the NeTV2 without using other designs.
Will
[1] https://timetoexplore.net/blog/arty-fpga-vga-verilog-01


Backend section floc 1881

This adds a few more lines to copy/paste for the user but adds no functionality.
It was split out of FLOC-1791.
There is some duplication but the agents (and their tests) will be merged in FLOC-1791.

Two minor points, and then merge.


History section

Implementing medical and social history section.

BTW, i did not add the question of how the data was collected to this section.   The mockups have this being collected in 2 different places for different sections but that actual form only has it included once for all of the information that is on the form.  I don't think we should be breaking this out and should only have it present in a single location on the form

I just pushed a commit to fix some the the styles and content to match the design. Remember to add the name keys to the src/components/FormProvider/initialValues.js for Formik to use. I separated them by section to make it more readable. The "Other Chronic Disease" question will need to be updated to allow duplicate values, but that's being worked on by @radamson right now, so we can come back to it once his work is merged in.
Looks good!


Update DemoTestParallel.java

outputCucumberJson don't work without builder
Description
Thanks for contributing this Pull Request. Make sure that you submit this Pull Request against the develop branch of this repository, add a brief description, and tag the relevant issue(s) and PR(s) below.

Relevant Issues : (compulsory)
Relevant PRs : (optional)
Type of change :

[ ] New feature
[x ] Bug fix for existing feature
[ ] Code quality improvement
[ ] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

@auhlrich sorry, works  for me


TaskList Backend Logic

This PR adds CRUD functionalities for managing lists and tasks in a to-do application. Key updates include:

List Management:

createList: Creates a new list associated with a user.
getLists: Retrieves all lists for a given user.
getListById: Retrieves a specific list by its ID.
updateList: Updates the name of a list.
deleteList: Deletes a specific list.

Task Management:

createTask: Creates a new task in a specified list.
getAllTasksByListId: Retrieves all tasks within a specific list.
getTaskById: Retrieves a specific task by its ID.
updateTask: Updates the details of a specific task.
deleteTask: Deletes a specific task.

Each function connects to the database before performing operations, ensuring seamless data management. Error handling is implemented to manage cases where lists or tasks are not found.

lgtm


Implemented a better workflow for regular users and developers

Squircy now defaults the data directory to ~/.squircy2/. This means you will have to copy your existing data directory (probably in $GOPATH/src/github.com/tyler-sommer/squircy2/data) into ~/.squircy2/ or specify the root-path option when running it.
Templates and assets are now combined and stored using go-bindata. Running squircy in a new debug mode (specified with go build -tags debug) will revert this behavior and load templates and assets from the filesystem. Added CONTRIBUTING.md with information on developing for squircy.
When running in debug mode, squircy tries to load assets and views from the current working directory. I think this solves the issues described in https://github.com/tyler-sommer/squircy2/issues/5#issuecomment-177003336.
@Term1nal, if you dont mind, try pulling this branch into your fork and then build in debug mode with go build -tags debug. Then try modifying the views-- you should see the result without even rebuilding the binary, and it should be relative to your current working directory. Hopefully this is a better workflow than I had prior.
I'd love to have some feedback on this. I'll do some testing on my own and then merge this once I'm satisfied it's working well enough.

Curious, what toes the  -tags debug thing do?
Also, yes, it seems to be working just fine.


[lmdb] Fix possible whitespace problem

Prevent building process from failure when the directory contains whitespace. Besides, I think version iteration is not needed for this.

I agree, thanks for the PR!


[FA] Disable ansible tests

What does this PR do?

Disable ansible tests for the installer to fix main now before having a long term-fix regarding how big the gitlab job is (see https://github.com/DataDog/datadog-agent/pull/28654)
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


fix_backfill_api

The 504 Gateway Timeout error you're seeing is due to the server not getting a timely response from the Airflow backfill command. This is because the backfill operation takes time and doesn't instantly return a response.
Instead of waiting for the backfill operation to complete, I think we can return a response immediately to the client and let the operation continue in the background.
https://github.com/caoergou/airflow-extended-api-plugin/issues/2

Oh @caoergou ,
I forgot to bump up the Version 😄

Oh @caoergou , I forgot to bump up the Version 😄

You mean you didn't bump up the version of openapi?


feat: GPU Docker Image?

Problem
A well crafted docker image would go a long way making the tool production ready. One can start running it in kubernetes pods and see how it goes.
Currently I have successfully run the CPU version on multiple systems, however the GPU version has not worked for me locally, nor on GCP VM, nor on Runpod. on GCP VM i had Cuda 12.1, on runpod 11.8.
on Runpod I had 'libcudart.so.12: cannot open shared object file: No such file or directory` and on GCP I am having
nitro: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by nitro)
nitro: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by nitro)
nitro: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by nitro)
nitro: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by nitro)
nitro: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by nitro)

attempting to manually install libraries has not helped me at all.
Success Criteria

A dockerfile that containerizes the environment needed to run with GPU

Additional Context
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX  # For libstdc++
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_DEBUG_MESSAGE_LENGTH

I don't know if this is the perfect solution, but try this (using nvidia's cuda base image):
FROM nvidia/cuda:12.3.1-runtime-ubuntu22.04

RUN apt-get update && \
    apt-get install -y curl

RUN curl -sfL https://raw.githubusercontent.com/janhq/nitro/main/install.sh | bash

EXPOSE 3928

ENTRYPOINT ["nitro"]
CMD ["1", "<IP_ADDRESS>", "3928"]

and then run with something like:
docker build -t nitro-image . && docker run --rm -it --gpus all -p 8081:3928 --entrypoint nitro nitro-image 1 <IP_ADDRESS> 3928

This seems to work for me, but I can't say for sure that it's actually using the GPU.

hi @Elsayed91 i have a working CUDA example dockerfile in my homelab, i will update that for everyone to try also

https://github.com/janhq/nitro/pull/355
see example


fix: Set cookie to SameSite: Lax

See https://web.dev/articles/samesite-cookies-explained#explicitly_state_cookie_usage_with_the_samesite_attribute for the rationale behind this.
Fixes #527
Fixes #811

Is there a way i can set it to none, i need this because my app is used in an iframe with language switcher, please help

@corolair-hazem Please see https://github.com/amannn/next-intl/issues/454


Cocoapods example should cache the system cache rather than build products

For node, it's recommend to not cache node_modules, but the current example for Cocoapods is doing something similar, so it should be changed to cache the system cache rather than the build products
The change would be to set path to:
path: |
  ~/Library/Caches/CocoaPods
  ~/.cocoapods

I believe this would address several existing issues (#401 #455 #1115 #1136)

There is a note about this in the examples now, but the Lerna example still caches node_modules


Possibility of limiting course reward to once a day.

Would it be possible to set a limit for how many times someone is able to complete a course that day and receive rewards for it? So you can have an in-game economy payout but limit it to once a day to prevent abuse.

This could be a possibility for the future, I will plan on improving how customisable the prizes are given.
Thank you for all of these ideas, I appreciate it @mibby

In addition to being able to limit how often one can be rewarded, it would be nice to be able to limit how often someone can attempt a course or re-join after completion. i.e. you have 1 life to try and win a course or you can only place that course once every 24 hours.


feat: blog migrate from terasology.org

This PR migrates the blog from terasology.org I have migrated the 10 blogs from the live site will be migrating other blogs in a short time, Since I'm working on another PR.
This PR also fixes the issue of page routing on the blog and module page.
Fixing in next PR:

[X] visuals of next and previous button on the blog page
[ ] migrating remaining blogs
[X] changing card layout to centralize all card over the blog page
[X] fixing home page recent blogs card layout

I won't re-read every blog post, but trust in that you didn't mess with the contents in any way
The only issue that caught my eye was that the TeraSaturday tag does not show up in the list of filters.
From our conversation on Discord:

I believe it would be nice to have a link to the full list of blogs below the recent ones on the Home page, otherwise it might seem as if there are only 4 in total.
Also "Recent News" might be a better fit for the heading than "Blog" if it's only the recent ones.
for the height differences on the home page we definitely have to think of something how to work against that... maybe some notion of min-height?

All of that would also be fine if it's done in a follow-up PR, so I'll leave it up to you which of the aspects you'll address in this PR and which in a following one.

Added the Terasaturday tag and changed the blog heading to recent news from will be doing all the changes in the new PR please take a look

Yes, your are right I have limited  character to 125 I think 😅


Add explanation of model output to documentation

What and Why
We need to specify exactly what the numbers mean.
Possible Drawbacks
No response
Related Issues
Came up in #295

Probably comes after #115

First version now, then update after #115.

We are going to refactor the outputs, see discussion #688
So, it is better to pick this issue after the outcome of the discussion.


"isNewVersion" is in the wrong spot in event messages

Right now, we're stuffing the isNewVersion boolean under the object heading in AS2 messages that get emitted: https://github.com/Islandora/islandora/blob/8.x-1.x/src/EventGenerator/EventGenerator.php#L114
This should be down in the attachment section under content here: https://github.com/Islandora/islandora/blob/8.x-1.x/src/EventGenerator/EventGenerator.php#L155  That section is allowed to be freeform json and doesn't have to comply with https://www.w3.org/TR/activitystreams-core/
After changing that, there'll have to be some updates to Alpaca to pull out that boolean from the new location in the message.  For example, here: https://github.com/Islandora/Alpaca/blob/dev/islandora-indexing-fcrepo/src/main/java/ca/islandora/alpaca/indexing/fcrepo/FcrepoIndexer.java#L167

so instead of attaching 'isNewVersion' to the $event["object"], attach it to the $data?

yep.  Set the boolean as $data["isNewVersion"] and it should all work out.


Minified files freezes Brackets at some point

Have been experiencing uncolored code for large minified CSS files -- apparently the Bracket's theme colors stop at a certain point, making the rest of the code just a normal black color text.

 Bracket's File / Edit / Find / View bar still works though.
However, if I use Search (CTRL + F) on the entire file, the entire file freezes for so long I have to force close the program and reload again.
Is this normal?

Yes, syntax highlighting is supposed to end at some point. That's the default behavior of CodeMirror, the code editor we use internally.
Unfortunately, CodeMirrors handling of long lines is not that good. But in recent releases, we've made good progress in CSS rendering performance.
Could you maybe try Debug > Reload without extensions to see if it's really a Brackets core issue or simply related to some extension you have installed?

I understand @MarcelGerber but this didn't happen in other older code editors (maybe different underlying engine). Ironically, I had to boot up an old version of Dreamweaver to edit that minified file. Also, i tried the minified file again without extensions enabled -- take note this discolouration and freezing only happens when the entire minified file is of 1 line.
Anyway, just highlighting this to you guys. You guys are still doing a great job -- keep it up :)

So, what was the outcome of running Brackets without extensions?
Also, there's gonna be a fix (#10882) in Release 1.4 which fixes some issues we had with CSS specifically.

Oh. Oops -- still the same.
Alright, good to know. :)

I have the same problem, it's freezes every time when i paste or open compressed codes.

@abisonjohn Did you try running Brackets without extensions? (Debug > Reload without extensions)
Also, what file types does Brackets have problems with? JS? CSS?

@MarcelGerber I tried your way, and it's work's and found one problem that some portion of the code is not colored.File type is CSS

That's expected. Read the other part if this issue to get more information.


HDDS-10191. Fix some mismatches in LICENSE

What changes were proposed in this pull request?
hadoop-ozone/dist/src/main/license/bin/LICENSE.txt has some packages under the wrong license (CDDL instead of EPL):

Jersey
HK2

Also, there are duplicate sections for "EPL 2.0" and "CDDL".
https://issues.apache.org/jira/browse/HDDS-10191

Thanks @adoroszlai !

Thanks @jojochuang for reviewing and merging this.


httpy-cli: init at 1.1.0

Description of changes
add the package httpy-cli
Things done
Create de derivation for httpy-cli.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Is there a reason that you are doing version 1.0.0 rather than the version 1.1.0? Think that we should have the most resent version

It was a mistake because of releases on GitHub, but I switched to 1.1.0.

Okay I think you will need to update the git commit message and pr name. Then you are good to go.

Okay I think you will need to update the git commit message and pr name. Then you are good to go.

It's done

@AndersonTorres does it look good now ?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3693

What do I need to wait for merge?

Let's wait for the CI tests to be completely finished and I'll merge it.

It seems complete to me now.

It seems complete to me now.

mmmh when I look at other python derivation, pythonImportsCheck only contains the module it is importing. Therefore, I would ask to only have httpy in pythonImportsCheck.

Yeah, it seems better I have done it.


regression: Scaladoc blows up in 2.11.x-jdk8 build after scala-xml changes

last green build was scala/scala-xml@383f5fa34335c156e077dc93fc0c7cf40f8d0ec5 https://scala-ci.typesafe.com/view/scala-2.11.x/job/scala-2.11.x-jdk8-integrate-community-build/372/
first failing build scala/scala-xml@8495b63b132593d96f55876a4bc050578bed22db https://scala-ci.typesafe.com/view/scala-2.11.x/job/scala-2.11.x-jdk8-integrate-community-build/373/
scala-xml itself builds, but then multiple projects fail during Scaladoc generation, e.g.
[genjavadoc-plugin] java.lang.NoSuchMethodError: scala.collection.immutable.Traversable.$init$(Lscala/collection/immutable/Traversable;)V
[genjavadoc-plugin] 	at scala.xml.NodeSeq.<init>(NodeSeq.scala:45)
[genjavadoc-plugin] 	at scala.xml.Node.<init>(Node.scala:36)
[genjavadoc-plugin] 	at scala.xml.SpecialNode.<init>(SpecialNode.scala:21)
[genjavadoc-plugin] 	at scala.xml.Atom.<init>(Atom.scala:19)
[genjavadoc-plugin] 	at scala.xml.Text.<init>(Text.scala:19)
[genjavadoc-plugin] 	at scala.tools.nsc.doc.html.page.Index.<init>(Index.scala:26)
[genjavadoc-plugin] 	at scala.tools.nsc.doc.html.HtmlFactory.generate(HtmlFactory.scala:124)

relevant history in scala-xml repo:
*   8495b63 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #126 from ashawley/enable-test-forking (3 days ago) <Aaron S. Hawley>
|\
| * 006afa4 - Fix exclude rule for scala-xml from scala-compiler (3 days ago) <Aaron S. Hawley>
|/
*   121034f - Merge pull request #145 from lrytz/tag-with-scala-version (3 days ago) <Aaron S. Hawley>
|\
| * 66656aa - Allow publishing existing tags against new Scala versions (3 days ago) <Lukas Rytz>

I'll look into whether this is somehow just because we're in dbuild, or whether this is a real problem in the scala-xml repo
fyi @ashawley

So this only affects 2.11?
And the errors are about missing definitions for scala-library?
Unfortunately, those are two big changes, IMO.  Although, if I had to guess , the exclude rule change should only be in the scope of the scala-compiler dependency for testing...

So this only affects 2.11?

yes

And the errors are about missing definitions for scala-library?

I don't know how to interpret the error yet.

Unfortunately, those are two big changes, IMO

I'll do a test run against scala/scala-xml@121034f shortly so we won't have to guess which one it was, at least

121034f has the same problem, so looks like Lukas will be answering for this at the gates of heaven, not you

Ok, cool.  Thanks for figuring that out.
 Use `key := { x.value }` or `key ~= (old => { newValue })`.
[scala-xml:error] See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html
[scala-xml:error] onLoad in Global <<= (onLoad in Global) { previousOnLoad => previousOnLoad andThen { state => { com.typesafe.dbuild.plugin.DBuildRunner.rewire(state, previousOnLoad) } }}
[scala-xml:error]                  ^
[scala-xml] [info] Loading project definition from /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/project
[scala-xml] [info] Adding resolvers to retrieve build artifacts in one scope
[scala-xml] [info] Updating dependencies in one scope
[scala-xml] [info] Patching the inter-project resolver in one scope
[scala-xml] [info] Patching Ivy paths in 2 scopes
[scala-xml] [info] Disabling Scala binary checking in 2 scopes
[scala-xml] [info] Resetting onLoad... in one scope
[scala-xml] [info] Loading project definition from /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/project
[scala-xml] [warn] This sbt plugin is not provided (in space "") by any project within this dbuild config: org.scala-lang.modules#scala-module-plugin (sbtVersion=0.13, scalaVersion=2.10)
[scala-xml] [warn] This sbt plugin is not provided (in space "") by any project within this dbuild config: org.scala-js#sbt-scalajs (sbtVersion=0.13, scalaVersion=2.10)
[scala-xml] [info] Updating {file:/home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/project/}scala-xml-c708a73a86eb4df3827d4346962139219ff78081-build...
[scala-xml] [info] Done updating.
[scala-xml:error] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/ÿÿÿÿÿÿÿÿÿÿ~~~~dbuild~defs.sbt:1: warning: `<<=` operator is deprecated. Use `key := { x.value }` or `key ~= (old => { newValue })`.
[scala-xml:error] See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html
[scala-xml:error] onLoad in Global <<= (onLoad in Global) { previousOnLoad => previousOnLoad andThen { state => { com.typesafe.dbuild.plugin.DBuildRunner.rewire(state, previousOnLoad, fixPublishSettings=true) } }}
[scala-xml:error]                  ^
[scala-xml] [info] Set current project to root (in build file:/home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/)
[scala-xml] [info] Adding resolvers to retrieve build artifacts in 3 scopes
[scala-xml] [info] Updating dependencies in 3 scopes
[scala-xml] [info] Patching the inter-project resolver in 3 scopes
[scala-xml] [info] Disabling cross version in 4 scopes
[scala-xml] [info] Setting Scala binary version to full in 4 scopes
[scala-xml] [info] Patching Ivy paths in 4 scopes
[scala-xml] [info] Disabling Scala binary checking in 6 scopes
[scala-xml] [info] Updating publishTo repo in 2 scopes
[scala-xml] [info] Found publishMavenStyle in 2 scopes; changing publishTo settings accordingly.
[scala-xml] [info] Updating version strings in 3 scopes
[scala-xml] [info] Resetting onLoad... in one scope
[scala-xml] [info] Set current project to root (in build file:/home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/)
[scala-xml] [info] Defining root/*:scalaVersion
[scala-xml] [info] The new value will be used by root/*:allDependencies, root/*:crossScalaVersions and 15 others.
[scala-xml] [info] 	Run `last` for details.
[scala-xml] [info] Reapplying settings...
[scala-xml] [info] Set current project to root (in build file:/home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/)
[scala-xml] These subprojects will be built: xmlJVM
[scala-xml] ----------------------
[scala-xml] Processing subproject: xmlJVM
[scala-xml] All Dependencies for subproject xmlJVM:
[scala-xml]    org.scala-lang:scala-compiler:2.12.2:scala-tool->default,optional(default)
[scala-xml]    org.scala-lang:scala-library:2.12.2:scala-tool->default,optional(default)
[scala-xml]    org.scala-lang:scala-library:2.12.2
[scala-xml]    junit:junit:4.11:test
[scala-xml]    com.novocode:junit-interface:0.10:test
[scala-xml]    org.scala-lang:scala-compiler:2.12.2:test
[scala-xml] Running build: xmlJVM
[scala-xml] [info] Updating {file:/home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/}xmlJVM...
[scala-xml] [info] Packaging /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081-sources.jar ...
[scala-xml] [info] Wrote /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.pom
[scala-xml] [info] Done packaging.
[scala-xml] [info] Done updating.
[scala-xml] [info] Main Scala API documentation to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/api...
[scala-xml] [info] Compiling 84 Scala sources to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/classes...
[scala-xml] [info] 'compiler-interface' not yet compiled for Scala 2.12.2. Compiling...
[scala-xml] [info]   Compilation completed in 8.562 s
[scala-xml] model contains 147 documentable templates
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/dtd/impl/SubsetConstruction.scala:35: class Stack in package mutable is deprecated (since 2.12.0): Stack is an inelegant and potentially poorly-performing wrapper around List. Use a List assigned to a var instead.
[scala-xml] [warn]     val rest = new mutable.Stack[immutable.BitSet]
[scala-xml] [warn]                            ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/dtd/impl/WordExp.scala:41: class Base in package impl is deprecated (since 2.10.0): This class will be removed
[scala-xml] [warn] private[dtd] abstract class WordExp extends Base {
[scala-xml] [warn]                                             ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/include/sax/XIncluder.scala:129: class Stack in package mutable is deprecated (since 2.12.0): Stack is an inelegant and potentially poorly-performing wrapper around List. Use a List assigned to a var instead.
[scala-xml] [warn]   private val entities = new mutable.Stack[String]()
[scala-xml] [warn]                                      ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala:42: class Stack in package mutable is deprecated (since 2.12.0): Stack is an inelegant and potentially poorly-performing wrapper around List. Use a List assigned to a var instead.
[scala-xml] [warn]   val attribStack = new mutable.Stack[MetaData]
[scala-xml] [warn]                                 ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala:43: class Stack in package mutable is deprecated (since 2.12.0): Stack is an inelegant and potentially poorly-performing wrapper around List. Use a List assigned to a var instead.
[scala-xml] [warn]   val hStack = new mutable.Stack[Node] // [ element ] contains siblings
[scala-xml] [warn]                            ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala:44: class Stack in package mutable is deprecated (since 2.12.0): Stack is an inelegant and potentially poorly-performing wrapper around List. Use a List assigned to a var instead.
[scala-xml] [warn]   val tagStack = new mutable.Stack[String]
[scala-xml] [warn]                              ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala:45: class Stack in package mutable is deprecated (since 2.12.0): Stack is an inelegant and potentially poorly-performing wrapper around List. Use a List assigned to a var instead.
[scala-xml] [warn]   var scopeStack = new mutable.Stack[NamespaceBinding]
[scala-xml] [warn]                                ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/parsing/FactoryAdapter.scala:164: Could not find any member to link for "org.xml.sax.SAXException".
[scala-xml] [warn]   /**
[scala-xml] [warn]   ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/include/XIncludeException.scala:13: Could not find any member to link for "java.lang.Throwable#getMessage".
[scala-xml] [warn] /**
[scala-xml] [warn] ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/main/scala/scala/xml/include/sax/EncodingHeuristics.scala:38: Could not find any member to link for "IOException".
[scala-xml] [warn]   /**
[scala-xml] [warn]   ^
[scala-xml] [warn] 7 warnings found
[scala-xml] [warn] bnd: Unused Private-Package instructions, no such package(s) on the class path: [org.scala-lang.modules.scala-xml.*]
[scala-xml] [warn] three warnings found
[scala-xml] [info] Main Scala API documentation successful.
[scala-xml] [info] Packaging /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081-javadoc.jar ...
[scala-xml] [info] Done packaging.
[scala-xml] Running "test" in: xmlJVM
[scala-xml] [info] Resolving org.scala-lang.modules#scala-xml_2.12;1.0.6 ...
[scala-xml] [info] Resolving org.scala-lang#scala-library;2.12.0 ...
[scala-xml] [info] Resolving org.scala-lang#scala-library;2.12.0 ...
[scala-xml] [info] downloading https://scala-ci.typesafe.com/artifactory/dbuild/org/scala-lang/scala-library/2.12.0/scala-library-2.12.0.jar ...
[scala-xml] [info] Compiling 20 Scala sources to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/test-classes...
[scala-xml] [info] 	[SUCCESSFUL ] org.scala-lang#scala-library;2.12.0!scala-library.jar (227ms)
[scala-xml] [info] Resolving org.scala-lang.modules#scala-xml_2.12;1.0.6 ...
[scala-xml] [info] Resolving org.scala-lang#scala-library;2.12.0 ...
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/src/test/scala/scala/xml/XMLSyntaxTest.scala:4: Unused import
[scala-xml] [warn] import org.junit.Ignore
[scala-xml] [warn]                  ^
[scala-xml] [info] scala-xml: found 0 potential binary incompatibilities while checking against org.scala-lang.modules:scala-xml_2.12:1.0.6
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/src/test/scala/scala/xml/parsing/Ticket0632Test.scala:4: Unused import
[scala-xml] [warn] import org.junit.Ignore
[scala-xml] [warn]                  ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/test/scala/scala/xml/PatternMatching.scala:83: local var m in method nodeSeq is never set: consider using immutable val
[scala-xml] [warn]     var m: PartialFunction[Any, Any] = { case SafeNodeSeq(s @ _*) => s }
[scala-xml] [warn]         ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/test/scala/scala/xml/Transformers.scala:6: Unused import
[scala-xml] [warn] import org.junit.Assert.assertTrue
[scala-xml] [warn]                         ^
[scala-xml] [warn] /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/shared/src/test/scala/scala/xml/XMLTest.scala:264: local val z in method XmlEy is never used
[scala-xml] [warn]     val z = ax \ "@{the namespace from outer space}foo"
[scala-xml] [warn]                ^
[scala-xml] [warn] 5 warnings found
[scala-xml] Testing scala-xml version 0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.
[scala-xml] Testing scala-xml version 0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.
[scala-xml] Testing scala-xml version 0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.
[scala-xml] Testing scala-xml version 0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.
[scala-xml] [info] Passed: Total 135, Failed 0, Errors 0, Passed 135
[scala-xml] Publishing: xmlJVM
[scala-xml] [info] Wrote /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.pom
[scala-xml] [info] :: delivering :: org.scala-lang.modules#scala-xml;0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081 :: 0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081 :: release :: Mon May 01 22:39:50 UTC 2017
[scala-xml] [info] 	delivering ivy file to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/jvm/target/scala-2.12/ivy-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.xml
[scala-xml] [warn] bnd: Unused Private-Package instructions, no such package(s) on the class path: [org.scala-lang.modules.scala-xml.*]
[scala-xml] [info] 	published scala-xml to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/.dbuild/local-publish-repo/org/scala-lang/modules/scala-xml/0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.part/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.pom
[scala-xml] [info] 	published scala-xml to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/.dbuild/local-publish-repo/org/scala-lang/modules/scala-xml/0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.part/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.jar
[scala-xml] [info] 	published scala-xml to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/.dbuild/local-publish-repo/org/scala-lang/modules/scala-xml/0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.part/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081-sources.jar
[scala-xml] [info] 	published scala-xml to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/.dbuild/local-publish-repo/org/scala-lang/modules/scala-xml/0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.part/scala-xml-0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081-javadoc.jar
[scala-xml] [info] 	publish commited: moved /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/.dbuild/local-publish-repo/org/scala-lang/modules/scala-xml/0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081.part
[scala-xml] [info] 		to /home/jenkins/workspace/scala-2.11.x-jdk8-integrate-community-build/target-0.9.5/project-builds/scala-74fdc1ad4a64bba112d97ac2c3b1b763ea9b20c6/projects/6a4e84fc514f102c93c09f0a80583194dd6e8b4d/project-builds/scala-xml-c708a73a86eb4df3827d4346962139219ff78081/.dbuild/local-publish-repo/org/scala-lang/modules/scala-xml/0.1-dbuildxc708a73a86eb4df3827d4346962139219ff78081

ok so that log is full of references to 2.12.2 even though this is a 2.11 build, so there you go
I suspect this may have to do with
-    crossScalaVersions in ThisBuild := {
+    crossScalaVersions := {
       val OneDot = """1\.(\d).*""".r // 1.6, 1.8
       val Maj    = """(\d+).*""".r   // 9
       val javaVersion = System.getProperty("java.version") match {
@@ -48,7 +50,7 @@ object ScalaModulePlugin extends AutoPlugin {
       scalaVersions
     },

-    scalaVersion in ThisBuild := crossScalaVersions.value.head
+    scalaVersion := crossScalaVersions.value.head

from scala/sbt-scala-modules@ea0f26fa5

ah OK I think I know what's going on here. Lukas assumpted that we never want to build a 2.11 Scala module on JDK 8, and that logic is baked into sbt-scala-modules:
> show scalaVersionsByJvm
...
[info] xmlJVM/*:scalaVersionsByJvm
[info] 	Map(..., 8 -> List((2.12.2,true), (2.13.0-M1,true), (2.11.11,false)), ...)
...

that was a rather reasonable assumption, but it happens to be wrong in the context of the 2.11.x-jdk8 community build specifically.
I will now attempt to override this in the community build config rather than having to change anything elsewhere.

but it happens to be wrong in the context of the 2.11.x-jdk8 community build

So, how did the community build work when the build.sbt for scala-xml was this?
  if (java.startsWith("1.6.") || java.startsWith("1.7."))
    Seq("2.11.8")

Or is building 2.11 on jdk8 new?

is building 2.11 on jdk8 new

not new.
it is indeed mysterious why dbuild was able to override scalaVersion before but not now.

maybe this will help
diff --git a/community.dbuild b/community.dbuild
index d4f19e3..fdec965 100644
--- a/community.dbuild
+++ b/community.dbuild
@@ -40,13 +40,13 @@ build += {
       {
         name: "scala-xml"
         uri: "https://github.com/"${vars.scala-xml-ref}
-        extra.commands: "set scalaVersion := \"2.11.8\""
+        extra.commands: "set every scalaVersion := \"2.11.8\""
         extra.projects: ["xmlJVM"]
       }
       {
         name: "scala-parser-combinators"
         uri: "https://github.com/"${vars.scala-parser-combinators-ref}
-        extra.commands: "set scalaVersion := \"2.11.8\""
+        extra.commands: "set every scalaVersion := \"2.11.8\""
         extra.projects: ["scala-parser-combinatorsJVM"]

haha deja vu, this is https://github.com/scala/community-builds/issues/142 (October 2015) all over again, except my fix wasn't quiiiite right before

fix in #542. #541 has some followup

looks like @lrytz will be answering for this at the gates of heaven, not you

"In order that the happiness of the saints may be more delightful to them and that they may render more copious thanks to God for it, they are allowed to see perfectly the sufferings of the damned", said Thomas Aquinas, so @lryt is going to be up there laughing at me after all

Lukas assumed that we never want to build a 2.11 Scala module on JDK 8, and that logic is baked into sbt-scala-modules

[info] xmlJVM/*:scalaVersionsByJvm
[info] 	Map(..., 8 -> List((2.12.2,true), (2.13.0-M1,true), (2.11.11,false)), ...)

Just to clarify: the only thing the boolean flag does is define whether or not the version is included in crossScalaVersions, depending on the presence of the TRAVIS_TAG environment variable.


[Promtool] when checking for referenced files, promtool check config prints warnings for some checked files, fails check on others

Proposal
Use case. Why is this important?
While working on #9909, I noticed that promtool check config has different results/behaviors when filepaths referenced in the config don't exist. The behavior differs depending on the section.
For example, when evaluating rules files, a missing file will return an error that will fail the check:
https://github.com/prometheus/prometheus/blob/ec002ae0dc0352235c86d43e668564fdf0e05127/cmd/promtool/main.go#L348-L350
vs checking config. ServiceDiscoveryConfigs.ServiceDiscoveryConfigs of type file.SDConfig, which only prints a warning:
https://github.com/prometheus/prometheus/blob/ec002ae0dc0352235c86d43e668564fdf0e05127/cmd/promtool/main.go#L374-L391
In short, a missing rule file fails the entire check whereas a missing SD file just prints a warning.
Unless there's more concern with some files over others, ideally these 2 scenarios should return similar results (i.e. missing files either print a warning or fail the check). I'd propose missing files would just be a warn. Then, we wouldn't need a --syntax-only flag for check config. From a CI perspective, I think it would make sense for the default behavior, as CI workspaces likely wouldn't have the referenced files in place. We could also add some sort of quiet flag to suppress the warning messages as well.

The places in the promtool check config that are warning instead of erroring are the sd config file checks.
After looking into this more, the current behavior is the desired behavior.  Currently, if rule files are provided to Prometheus, they are only registered during Prometheus startup/reloads. In contrast to service discovery files, which are read at runtime. We expect the rule files to be present on startup/reloads, but maybe sd files are written later and then read in dynamically at runtime.


[Feature] Disable fadeIn animation

The package is great, appreciate the work! I'd like to be able to disable the fadeIn animation. I'm making changes to the grid via a ChangeNotifierProvider and when it's rebuilding the grid flashes with the fadeIn animation. Since I'm using the flip_card package I can't use setState because that would reflip all the cards that are already flipped.

Hi @tsquillario
This implementation shouldn't be so hard. Which version are you currently using? Depending on that I could make the update for the pre release or the current version. @tsquillario

I'm using 4.0.0 project is still in dev so can use either really. Appreciate the quick reply!

Alright, then I will add the feature for version 4 and also will add this when releasing version 5.
I will try to implement the solution until the end of the week. @tsquillario

I added a new parameter fadeInDuration that you could set to Duration.zero, so there would be no animation when a child appears. Is it possible that you could use the version 5.0.0-dev.2 and after the update 5.0.0-dev.3? That would it make a lot easier because the version 4.0.0 won't be there for such a long time before the big update comes. @tsquillario

Yea I can use the 5.0.0-dev.x release until the official 5.0.0 release

Where do I find it?

So I published version 5.0.0-dev.3 that you can use to change the parameter fadeInDuration.
Just set this value to Duration.zero.
And if you are using version 5 the first time, check the examples to see what changed.
Let me know if you need some help or if you have still problems. @tsquillario

I'm getting the following error on the onReorder property when using the 5.0.0-dev.3 release.
The argument type 'void Function(List<ReorderUpdateEntity>)' can't be assigned to the parameter type 'void Function(List<dynamic> Function(List<dynamic>))?'

import 'package:flutter_reorderable_grid_view/entities/reorder_update_entity.dart';
import 'package:flutter_reorderable_grid_view/widgets/widgets.dart';

ReorderableBuilder(
  key: UniqueKey(),
  enableScrollingWhileDragging: false,
  enableDraggable: game.locked ? false : true,
  onReorder: (List<ReorderUpdateEntity> orderUpdateEntities) {
    for (final orderUpdateEntity in orderUpdateEntities) {
      onReorder(orderUpdateEntity.oldIndex, orderUpdateEntity.newIndex);
    }
  },
  builder: (children) {
    return Padding(
        padding: EdgeInsets.symmetric(
            vertical: 0, horizontal: 5),
        child: GridView(
          key: _gridViewKey,
          shrinkWrap: true,
          gridDelegate:
              const SliverGridDelegateWithFixedCrossAxisCount(
            crossAxisCount: 5,
            mainAxisSpacing: 0,
            crossAxisSpacing: 0,
          ),
          children: children,
        ));
  },
  children: model.gameSongs.mapIndexed((index, song) {
    return FlipSong(
      key: UniqueKey(), //Key("item$index"),
      title: song.name,
      locked: game.locked,
      flipped: (song.selected || song.marked)
          ? true
          : false,
      index: index,
      fontSize: 11,
      backColor: song.marked
          ? Theme.of(context).colorScheme.tertiary
          : Theme.of(context).selectedRowColor,
      onSelected: selectSong,
    );
  }).toList(),
  )

the coding part of onReorder has changed a little bit, try the following:
...
  onReorder: (ReorderedListFunction reorderedListFunction) {
    setState(() {
      children = reorderedListFunction(children) as List<int>;
    });
  },
...

children would be in your case model.gameSongs. So you just replace children with your gameSongs.
onReorder gives you a function that handles the reordering for you and returns the reordered children. @tsquillario
That means
...
  onReorder: (ReorderedListFunction reorderedListFunction) {
    setState(() {
      your_updated_reordered_game_songs = reorderedListFunction(model.gameSongs) as List<int>;
    });
  },
...

The cards are flying all around when dragging and it only happens when I add fadeInDuration: Duration.zero
Minimal repo to reproduce the issue
https://github.com/tsquillario/flutter-reorderable-grid-view-example1

dependencies:
  flutter:
    sdk: flutter
  go_router: ^6.0.0
  provider: ^6.0.5
  flip_card: ^0.7.0
  flutter_reorderable_grid_view: ^5.0.0-dev.3

[!] Flutter (Channel @upstream, 3.7.3, on Microsoft Windows [Version 10.0.19044.2604], locale en-US)
    • Flutter version 3.7.3 on channel @upstream at C:\src\flutter
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\tsqui\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\Users\tsqui\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.20)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.32929.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.76.1)
    • VS Code at C:\Users\tsqui\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.60.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19044.2604]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 111.0.5563.65
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 111.0.1661.41

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I checked your example and found some issues, you have:

the key for ReorderableBuilder has to be declared at top of your widget to ensure it is not recreated
your children keys have to be releated to your item, not to the mapped index

To fix that issue, you can change the main.dart to the following:
import 'package:app/items_model.dart';
import 'package:flip_card/flip_card_controller.dart';
import 'package:flutter/material.dart';
import 'package:flutter_reorderable_grid_view/entities/reorder_update_entity.dart';
import 'package:flutter_reorderable_grid_view/widgets/widgets.dart';
import 'package:flip_card/flip_card.dart';
import 'package:collection/collection.dart';
import 'package:provider/provider.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final _globalKey = UniqueKey();
  final _gridViewKey = GlobalKey<_MyHomePageState>();
  final itemsModel = ItemsModel();

  @override
  Widget build(BuildContext context) {
    Widget _buildCard(String title, Color? backColor, bool locked) {
      return Card(
        color: backColor,
        key: widget.key,
        elevation: 2,
        shadowColor: Colors.black,
        child: Container(
          child: Padding(
              padding: EdgeInsets.all(5),
              child: Center(
                child: Text(
                  title,
                  style: TextStyle(fontSize: 11),
                  textAlign: TextAlign.center,
                ),
              )),
        ),
      );
    }

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ChangeNotifierProvider.value(
              value: itemsModel,
              child: Consumer<ItemsModel>(
                builder: (context, model, child) {
                  return Container(
                    constraints: const BoxConstraints(maxWidth: 600),
                    child: ReorderableBuilder(
                      key: _globalKey,
                      enableScrollingWhileDragging: false,
                      enableDraggable: true,
                      fadeInDuration: Duration.zero,
                      onReorder: (reorderedListFunction) {
                        var items =
                            reorderedListFunction(model.items) as List<String>;
                        model.reorderSongs(reorderedItems: items);
                      },
                      builder: (children) {
                        return Padding(
                          padding: const EdgeInsets.symmetric(
                            vertical: 0,
                            horizontal: 5,
                          ),
                          child: GridView(
                            key: _gridViewKey,
                            shrinkWrap: true,
                            gridDelegate:
                                const SliverGridDelegateWithFixedCrossAxisCount(
                              crossAxisCount: 5,
                              mainAxisSpacing: 0,
                              crossAxisSpacing: 0,
                            ),
                            children: children,
                          ),
                        );
                      },
                      children: model.items.mapIndexed(
                        (index, item) {
                          final flipCardController = FlipCardController();
                          return FlipCard(
                            key: ValueKey(item),
                            controller: flipCardController,
                            fill: Fill.fillBack,
                            // Fill the back side of the card to make in the same size as the front.
                            direction: FlipDirection.HORIZONTAL,
                            side: CardSide.FRONT,
                            flipOnTouch: true,
                            autoFlipDuration: null,
                            onFlip: () {},
                            front: _buildCard(item, Colors.grey, false),
                            back: _buildCard(item, Colors.greenAccent, false),
                          );
                        },
                      ).toList(),
                    ),
                  );
                },
              ),
            ),
          ],
        ),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Currently when you reorder a flipped card, the flip is reset, I didn't look why that happens but I am sure you can handle that. @tsquillario

That did it! Closing issue, appreciate the help!!!


Update Soft Fail Logic when customer attempts to modify tags

Description of changes:
Update Soft Fail Logic when customer attempts to modify tags. Handler returns a failure if keys are updated by a customer who does not have the permissions to update tags.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Whatever you do for the key resource you need to also do for replicakey. I might advise moving this change out of key's UpdateHandler and into the common KeyHandlerHelper.

We should NOT do this for ReplicaKey. It does not have soft failing for tag updates, because it has always required tagging permission, unlike Key. Key must continue to support soft failing for the sake of backwards compatibility.


Delay between onCleanup and the closing of the colorbox?

Hi, is there a way to delay the closing of the colorbox after the close event has happened?
I'm having lots of issues with ckeditor instances possibly breaking my Single Page Application and (on iOS) forcing the keyboard to keep popping up after a colorbox containing a ckeditor is closed.
I'm calling the colorbox like so:
`
$.colorbox({
transition: 'fade',

html: modalHTML,

maxWidth: '636px',

height: '700px',

returnFocus: false,

trapFocus: true,

closeButton: false,

preloading: false,

fixed: true,

onCleanup: function() {

	destroyCkeditorInstances();

}

});
`
Where destroyCkeditorInstances() is a function I wrote that gets rid of all my ckeditor boxes.
To solve my annoying keyboard issue (which only happens with colorbox) I think I need to:

User clicks the colorbox 'close' button.
Before anything else happens I run destroyCkeditorInstances() to make sure that the ckeditor sessions are closed properly and the dom's 'focus' element isn't in limbo.
After that's has happened (maybe just using a timeout 500) I want the usual closure of the colorbox.

Is trying to do this in onCleanup already too late? What do you suggest I can use to leave a gap of 500 second between the click and the actual hiding of the modal window? Thanks.

That looks to me like you are doing things correctly, so I'm not sure what to say.  The onCleanup callback shouldn't be too late as long as destroyCkeditorInstances is synchronous (I assume it would be, it would be odd if it wasn't).  The CKEditor destroy method should finish before Colorbox removes it's content elements from the DOM.  Adding a delay seems like a superstitious way to resolve it, but I can't say for sure that it won't work because I have no knowledge of how destroyCkeditorInstances functions.
Colorbox has no built in way of delaying closing in which it dumps it's content.  Either you would have to modify Colorbox to support that behavior, or remove Colorbox's default events that trigger closing and handle that yourself, or replace Colorbox's close method with your own. There is an FAQ entry for that last suggestion that might help.
I think this would work, but it's been a long time since I've done something like this:
var originalClose = $.colorbox.close;
var timeout;

$.colorbox.close = function(){
    destroyCkeditorInstances();

    if (timeout) {
	    clearTimeout(timeout);
    }

    timeout = setTimeout(originalClose, 500);
};

$('a#example').colorbox();

Thanks for your response. I will update and close this issue soon with the solution I use.

Hi Jack, I've read back what you've said and it kind of confirmed what I thought, that colorbox is doing everything correctly and it is the ckeditor and the way that it handles 'focus' that is at fault, causing the annoying keyboard popping up issue.
I have created a workaround solution for this so I thought I'd detail it here in case others come up against similar issues. What I did was, in addition to the 'onCleanup' function, use your 'onClosed' callback to create / focus / blur / remove a temporary input field. This removes any vagueness about what DOM element has focus and seems to work fine:
onClosed: function() {
 // Fix for iOS issue of keyboard popping up.
 $('.wrapper').append('<input style="position: fixed; top: 50%; left: 50%;" type="text" id="temp-ios-fix" value=""/>');
 $('.wrapper input#temp-ios-fix').focus();
 $('.wrapper input#temp-ios-fix').blur();
 $('.wrapper input#temp-ios-fix').remove();
}

I appreciate your help. Thanks.


Add a parameter max_threshold to clutering to ignore hotspots

Is your feature request related to a problem? Please describe.
Hotspots in graph with large degree would make the clusering very slow, maybe we should add a max_threshold parameter to ignore some hotspots which degree larger than max_threshold

duplicated with #1494, close


Added the waitid interface

Waitid allows for a non-blocking way to check the status of individual threads, groups of threads, or every thread on the system.
Not 100% sure about how the linking is handled. Also can't confirm that it exists for every platform currently. I'm more or less gonna use travis for that.

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

Invalid pointer type attempting fix.

Looks like CI may still be failing?

Style error I'll submit a commit in the morning got distracted today
On Saturday, October 8, 2016, Alex Crichton<EMAIL_ADDRESS>wrote:

Looks like CI may still be failing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/libc/pull/418#issuecomment-252440092, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASViDGFMga0-O6jGUCfY5dOX2y6whKAsks5qx99vgaJpZM4KO8qQ
.

I'm not sure how to explain this failing.
On a lot of platforms the are running tests for idtype_t but this is type not a constant(?)

It looks like there's failures across various platforms, for examples mips-musl has idtype_t as unsigned and a different value for P_ALL


JAVA-11500 : move quarkus related modules into quarkus-modules folder

move quarkus related modules into quarkus-modules folder

maven-wrapper.jar got deleted, it should be moved properly.
If git is not allowing you to add then you use the -f flag


Sort-Object removes properties missing from some input objects

Steps to reproduce
The use case is: sorting objects obtained from a non-relational database, where the list of fields in records is not constant, on a property which is present in all input objects.
Here's a small script to repro the issue:
param([switch] $Sort)

$json = @'
{
    "Items": [
        {
            "a": 650,
            "b": 660,
            "c": 670
        },
        {
            "a": 65,
            "b": 66
        },
        {
            "a": 6500,
            "c": 6700
        }
    ]
}
'@

$objects = ($json | ConvertFrom-JSON).Items

if ($Sort)
{
    $objects | Sort-Object -Property a
}
else {
    $objects
}

If the -Sort parameter is not specified, the objects are output with all their properties -- where the list of properties differ from one object to the next.
   a   b    c
   -   -    -
 650 660  670
  65  66
6500     6700

If the -Sort parameter is specified, some properties are removed from all objects, even if they are present.
This is probably by design, but:

where is this documented?
how can one obtain the desired behavior?

PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Formatting is based on the first object of a type that hits the formatter.  None of the properties are actually being removed, they just aren't being displayed because Sort-Object just happens to make the first object emitted be the one without a C property.

Formatting is based on the first object of a type that hits the formatter. None of the properties are actually being removed, they just aren't being displayed because Sort-Object just happens to make the first object emitted be the one without a C property.

If that would only affect how objects are displayed, I would concur, but this seems to prove that the properties are removed:
param([switch] $Sort)

$json = @'
{
    "Items": [
        {
            "a": 650,
            "b": 660,
            "c": 670
        },
        {
            "a": 65,
            "b": 66
        },
        {
            "a": 6500,
            "c": 6700
        }
    ]
}
'@

$objects = ($json | ConvertFrom-JSON).Items

if ($Sort)
{
    $objects | Sort-Object -Property a | Get-Member  -MemberType NoteProperty
}
else {
    $objects | Get-Member -MemberType NoteProperty
}

PS> . 's:\PowerShell\test\Test-SortingObjectsWithVariablePropertyList.ps1'

   TypeName: System.Management.Automation.PSCustomObject

Name MemberType   Definition
---- ----------   ----------
a    NoteProperty long a=650
b    NoteProperty long b=660
c    NoteProperty long c=670

PS> . 's:\PowerShell\test\Test-SortingObjectsWithVariablePropertyList.ps1' -sort

   TypeName: System.Management.Automation.PSCustomObject

Name MemberType   Definition
---- ----------   ----------
a    NoteProperty long a=65
b    NoteProperty long b=66

Or am I missing something?

That's more of a quirk with Get-Member, since all the objects are PSCustomObject, it only checks the first one.  Similar type of deal as formatting.
A better test is $objects | Format-Custom, that will show you the same objects just sorted differently.

Good point, @SeeminglyScience, but I think it's time to do something about this Get-Member quirk - see #15184.

@sba923, for more information about the original problem (implicit Format-Table locking in the first object's properties as the display column), see this Stack Overflow answer.

The issue has also come up before in #4552 (albeit conflated with Format-Table's asynchronous behavior).

This also relates to Add -UnifyProperties parameter to Select-Object #13906
For this specific issue the application would be:
$objects = ($json | ConvertFrom-JSON).Items | Select-Object -UnifyProperties

(See also: this StackOverflow answer: Not all properties displayed)

This also relates to Add -UnifyProperties parameter to Select-Object #13906

Sure does!

For this specific issue the application would be:
$objects = ($json | ConvertFrom-JSON).Items | Select-Object -UnifyProperties

(See also: this StackOverflow answer: Not all properties displayed)

I was bitten by this again today... in 7.2.3.
Seems the workaround I'd built into my script way back them doesn't work with my current dataset...

For now I'll live with this:
# new workaround to https://github.com/PowerShell/PowerShell/issues/15181
# compute list of all properties, and add the ones missing
$allproperties = $objects | ForEach-Object { $_.PSObject.Properties.Name } | Sort-Object -Unique

# note: this modifies the elements of $objects in place
$objects | Foreach-Object {
    foreach ($property in $allproperties)
    {
        if ($property -notin $_.PSObject.Properties.Name)
        {
            Add-Member -InputObject $_ -MemberType NoteProperty -Name $property -Value $null
        }
    }
}

Don't hesitate to suggest something more elegant / efficient.


Concat expression for MyriaL

Coverage increased (+0.03%) to 26.823% when pulling 27364ad6ebde50a7491030543c0f53f201410493 on concatExpression into 5732f48dd19ed8392d73dce3208b01257a2051e9 on master.


Remove useEagerConnect hook

The useEagerConnect hook might not be necessary anymore as the wallet is auto-connected by wagmi now.
Still, the application requires the ready to query the API. We need to check if this ready is still relevant, if not then the whole useEagerConnect should be removed

merged with https://github.com/liteflow-labs/starter-kit/pull/291


Fix all youtube.com CORS conflict

Fix https://googleads.g.doubleclick.net/pagead/id CORS issue.

Great :)


Stretch - Implement multidimensional data class in a heatmap / spectrograph or surface plot

Create a multidimensional dataset and show as a heatmap, spectrograph or surface plot.
This chart should be placed below the line chart.

Research this with timeseries data and add it to app.

The data needs a 3rd dimension but what does the data need to be? For a heatmap, spectrograph etc the data should correlate but the data is randomly generated so there would be no correlation. Also what is the reason for correlation to consider doing it?

Create a table with stock market data which includes 3 dimensions.

Was unsure how to proceed with this ticket as it wouldn't work with the data we have and we only create 2D datasets. Multidimensional charts would have to correlate and there would be no correlation as the data is random.
Iona emailed Nick and he suggested it be dropped from the stretch requirments as he is also unsure how to proceed.


bump webassemblyjs

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

What needs to be documented once your changes are merged?

ref https://github.com/xtuc/webassemblyjs/issues/407

Please do not merge this yet.

Ping me when this is ready to merge

Alright @sokra, lgtm

Please merge this soon after @xtuc considers it final; the current implementation actively corrupts binaries in certain circumstances. (https://github.com/rustwasm/wasm-bindgen/issues/753)

Please let me update webassemblyjs before merging this.

I updated it to 1.7.5

Do you want to cut a new release?

Ah cool thanks, yeah I just released 1.7.6 (mostly changes to the interpreter, which is not used here).

Thanks


Set default postgres version to 12.9

AWS Aurora Postgres is configured to automatically perform minor version upgrades, so our production instances are already upgraded.  This is just for new deployments from scratch using CDK.
Ideally there would be a way to specify "12.x".  Or, for CDK unit tests to detect unsupported versions.  Alas, this is the best we can do for now.

Coverage remained the same at 94.07% when pulling 5d6aea8ae71407bf5f3fb12f8aee72c50aa07d45 on cody-default-postgres-version into a8e857a0e909661ac3ecf2346b408fc455ef7155 on main.


release-v0.13rc2

Renamed and updated CHANGELOG.md

Addresses #172

Apologies for not catching that.  I think we should change the name of the file back to what autotools expects.  I think we should stick with the "Keep a Changelog" format though.

Ok, we should be tagged


Internal-facing documentation for platform deployment

Include a detailed system deployment diagram showing the VMs and services running.
Include floating IP addresses where required.
Describe steps to create the K8s cluster, deploy helm charts, etc.

Please use the GitHub Wiki for all internal documentations.


documentloaders: implement simple client for apache tika

Implements a very simple client to use Apache Tika for document parsing. An example usage has been added:

import (
        "context"
        "net/http"

        "github.com/tmc/langchaingo/documentloaders"
        "github.com/tmc/langchaingo/textsplitter"
)

// To run this example you need to run a Tika server and then set the address
// on the TikaURL constant. The easiest way of running a Tika server is by
// using Docker:
//
// $ docker run -d -p 9998:9998 apache/tika
//
// Tika will be listening on http://localhost:9998, you then just need to ajust
// the TikaURL constant.

const TikaURL = "http://localhost:9998"

func main() {
        resp, err := http.Get("https://www.golang-book.com/public/pdf/gobook.pdf")
        if err != nil {
                panic(err)
        }
        defer resp.Body.Close()

        splitter := textsplitter.NewRecursiveCharacter()
        tika := documentloaders.NewTika(TikaURL, resp.Body)
        docs, err := tika.LoadAndSplit(context.Background(), splitter)
        if err != nil {
                panic(err)
        }

        _ = docs
}

Feel free to just close this PR if this isn't necessary here. I am using it so I decided to contribute it back, no harm done.
PR Checklist

[x] Read the Contributing documentation.
[x] Read the Code of conduct documentation.
[x] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
[x] Describes the source of new concepts.
[x] References existing implementations as appropriate.
[ ] Contains test coverage for new functions.
[ ] Passes all golangci-lint checks.

Yeah, lint is complaining. I will get back to this only if there is interest on this code.

Yeah, lint is complaining. I will get back to this only if there is interest on this code.

 That was an easy fix.


go get error

Hello,
I am getting this error since around 4pm PST, Nov 3, 2016.
$ go get cloud.google.com/go/datastore
# google.golang.org/genproto/googleapis/datastore/v1
src/google.golang.org/genproto/googleapis/datastore/v1/datastore.pb.go:1013: undefined: grpc.SupportPackageIsVersion3

It is blocking all my travis submit since it needs to install dependencies. Is there any workaround for that?
Thanks!
Justin

I had the same issue and it was fixed with using -u:
go get -u cloud.google.com/go/vision


Reset hourglass

It's a bit of a mess, but could be a helpful jumping off point for implementing a reset feature!

@Scott2bReal thanks for giving this a go. It was, as you say, a great jumping off point to getting this feature implemented. I've just released a new version of the module with restart functionality: (v1.7.0 - https://github.com/Octarines/FoundryHourglass/releases/tag/v1.7.0).


Feat: added state pattern for aggregated measure data process

Description

References

#0000

Codecov Report

Merging #377 (efda3a2) into main (21978a1) will decrease coverage by 26.22%.
Report is 78 commits behind head on main.
The diff coverage is 39.03%.

@@             Coverage Diff             @@
##             main     #377       +/-   ##
===========================================
- Coverage   83.07%   56.86%   -26.22%
===========================================
  Files         456      445       -11
  Lines       10418     9152     -1266
===========================================
- Hits         8655     5204     -3451
- Misses       1438     3743     +2305
+ Partials      325      205      -120

Files Changed
Coverage Δ

...ivedMessages/ArchivedMessageGetDocumentListener.cs
0.00% <ø> (ø)

.../ArchivedMessages/ArchivedMessageSearchListener.cs
0.00% <0.00%> (ø)

source/Api/Configuration/InboxMessageMetadata.cs
0.00% <0.00%> (ø)

...ation/Middleware/Correlation/CorrelationContext.cs
66.66% <ø> (ø)

...uration/Middleware/UnHandledExceptionMiddleware.cs
0.00% <0.00%> (ø)

source/Api/EventListeners/InboxEventListener.cs
0.00% <0.00%> (ø)

...essages/RequestAggregatedMeasureMessageReceiver.cs
0.00% <0.00%> (ø)

...equestAggregatedMeasureTransactionQueueListener.cs
0.00% <0.00%> (ø)

...rce/Api/OutgoingMessages/DequeueRequestListener.cs
0.00% <0.00%> (ø)

source/Api/OutgoingMessages/PeekRequestListener.cs
0.00% <0.00%> (ø)

... and 177 more

... and 203 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Package documentation do not match exported functions

Summary
Documentation in v0.11.0 is outdated: it refers to functions that are not available in the package.

doc.go at v0.11.0
doc.go at master

Steps To Reproduce
The package documentation for v0.11.0 tells to use the following functions for error reporting:
sentry.CaptureMessage(...)
sentry.CaptureException(...)
sentry.CaptureEvent(...)

But those functions are not available in the package (list of functions exported in v0.11.0).
The migration guide from raven-go is also obsolete.
Expected Behavior
Documentation that refers to the latest sentry-go release.

Not a bug: the functions are documented below type EventID.
<EMAIL_ADDRESS>


Fix Grafana Dashboard

I assume would also need to make this change for Micronaut and Spring Sock Shop as well?

Yes @ghillert sent you slack msg