Login domain request

info
Many thanks for this ecotrend_ista integration. Unfortunately i am unable to use it
Ista is available in different countries.
Error
When I use my credentials of mijn.ista.nl, (the dutch website) The Home assistant throws a login error and refers me to https://ecotrend.ista.de/error , assuming the script tries to login on the https://ecotrend.ista.de server.
Question
Is it an option to change the code so the script tries to login on https://mijn.ista.nl
I am happy to troubleshoot is it doesn't work
OR Request
Can you please add the option to enter a domain to login on another (dutch)  ista web server.

The data structure is different on the site, so I'll have to see how best to implement this. Either integrate it into the main integration or I create a complete extra integration.

Thanks Ludy for your swift reply
Let me know if you need someone to troubleshoot
Greetings Richard

@TheRealRWJ is there an Android app for the Netherlands?

Yes there is, and you can find it here:
https://play.google.com/store/apps/details?id=com.companyname.ista.nl.app&hl=en&gl=US&pli=1

Thanks, the login routine is different from the master one, so I need to find a way and android applications are good for finding a way.
Maybe I can find a way to integrate the Netherlands.

I don't use the android app, but I gathered some details from the webpage though.
I hope this helps
I can only test heating, because I did not find a water meter, unless it is build in somewhere in the walls which seems unlikely.
The https://mijn.ista.nl/Home page shows the sum of usage of all radiators and a building average usage (which I would like to use)
The https://mijn.ista.nl/Home/Graph page shows a graph of the usage per radiator
At last the https://mijn.ista.nl/Home/Data page shows info below for every radiator.
Bedroom	422xxxx87	781 units
Radiatornumber	1
Order	1
End value	1.050
Begin value	0
Difference	1.050
Conversionfactor	0.875
Multiply	1
Consumption	919 units
Reduction %	15
Begin date	01-01-2022
End date	13-12-2022

Units appears to be the interger a rounding of consumption / reduction
End value and begin value seem to be the beginning of the year and current value
End value / conversionfactor seems to be consumption rouded
I have no clue why what the difference is of End value and difference
I started living in this apartment in december 2021, so it the ista devices were not new
Maybe I will know on january first 2023
Questions:
Does your python script do some calculation of usage per day?
I really like to compare it with the outside temperature.
Does your script read the building average? I would like to be able to compare my neighbours with others
I will be storing the data in Influxdb to create long term Grafana Graphs
Thanks in advance

Thank you for your data, I have more questions about that later.
The integration can only work with the data that is partially provided by ista.
When I look at your data status, it will not be up to date.
These are the values that can be read out if they are available.
Room
Meter number
Consumption
Radiatornumber
Order
End value
Begin value
Difference
Conversionfactor
Multiply
Consumption
Reduction %
Loss
Begin date
End date
Billing period:
Compare:
Service:
Billing period:
Measurement period:
Compare to billing period:
Compare to measurement period:
Dwelling:
Total

Happy holidays

Same error here but for the danish version.
I can login on the ista Ecotrend APP (Android) but don't know if it is only the danish webserver.
maybe possible worldwide (worth a shot)
https://play.google.com/store/apps/details?id=dk.ista.IstaUi

@mikastrup is there a website with dashboard?

Hi  Ludy,
Happy new year.
Yes, there is a dashboard.
The url is https://mijn.ista.nl/Identity/Account/Login
What else  would you like to know?

+1 on this request, extending it from out of the Netherlands:
Ista is extremely popular in Spain, but this integration doesn't seem to work with our platform -> https://www.ista.com/es/oficina-virtual-ista/
I'd be happy to try to help develop this, but I don't even know where to start...

Hi Ludy,
I do not mean to pressure you. doe you have any indication when you will be able to release this?
thanks in advance

Hi there
Thanks for the awesome work so far @Ludy87 !
I would also love to integrate Ista into Home Assistant with your integration but I'm located in Denmark and I'm also seeing authentication problems:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/pyecotrend_ista/pyecotrend_ista.py", line 57, in __login
    raise LoginError(await response.json())
pyecotrend_ista.exception_classes.LoginError: Login fail, check your input! {'key': 'unauthorized-request', 'message': None}

To add some details for the Danish version of Ista:
Web: https://www.istaonline.dk/Login.aspx
Android app: https://play.google.com/store/apps/details?id=dk.ista.IstaUi
I'd be happy to provide you with credentials to the Danish version if that can help you debug this

Hi Ludy,
Are you still working on this issue?
Thanks in advance.

Hello, yes I'm still working on it, but I don't have much time at the moment - it's more complex than I thought.

do let us know if we can help!


Typescript error when using on SVG element

Auto-animate seems to work great on an SVG element, but typescript freaks out.
Argument of type 'SVGSVGElement' is not assignable to parameter of type 'HTMLElement'.

Would it be possible to add SVG elements to the type definition?
My use-case looks like this (inside a .svelte component):
<svg height="30" width="100%" viewBox="0 0 {length} 30" use:autoAnimate>
    {#each sequence.notes as note}
        <rect
            x={note.ticks + 1}
            y="-4"
            width={note.duration * 50}
            height={7 + note.velocity * 30}
            fill="hsla({100 - Math.round(note.velocity * 100)},30%,50%,1)"
            rx="2"
        />
    {/each}
</svg>

Hmm, interesting. Yeah I suppose SVGElement and HTMLElement would both be valid. Worth fixing this I think 👍

Line 120 might be a problem:
const { offsetWidth, offsetHeight } = root

offsetWidth and offsetHeight were removed from SVGElement years ago... but it still works 🤔


Docker Swarm - cannot service with update multiple replicas

Hi
I have the issue, that Shepherd cannot update a service with multiple replicas (or deployed in global mode).
The Shepherd docker just has this entry in the log:

Fri Jan 27 22:31:16 CET 2023 Trying to update service PROXY_whoami2 with image containous/whoami:latest

and then nothing happens. I just stalls and nothing happens for days, until you either kill the process in the container or kill the container.

After messing around a bit, this is probably due to some of the nodes in the swarm being unavailable (offline).

Confirmed. Removed the unavailable nodes from the swarm, then Shepherd could run without issues.

The question is, is there anything we should do? Like having a timeout on a service update and continuing with the next one?


Enable upload from file object instead of file path

General Checkups

[x] Have you checked that there isn't already an existing issue that describes what you report below?
[x] Have you checked that there isn't already an open pull requests for this issue/update/change?

Description
@jasmine1997 suggested updating to allow for uploading in memory files, rather than assuming files will be available locally via a filepath. Technically this means making the upload functions accept a file object, rather than a filepath -- this is more generic. c.f. https://docs.python.org/3/glossary.html#term-file-object
The current functionality should be retained, but as a wrapper that opens the file from filepath and passes the file object to the function.

Hi @madprime, The code looks good to me. +1:


Move from rye-up.com to rye.astral.sh

Summary
We're having issues with rye-up.com and so are moving Rye under the astral.sh domain. These changes should ensure that your CI keeps working with disruption.

Thanks Charlie! This change is already present on next and will be merged into main as part of the next release: https://github.com/anthropics/anthropic-sdk-python/pull/515


Memory leak when using readSDfile function

Thank you for your awesome library.
I'm using ESP32 Dev Kit v1 with SD Card connected to HSPI (this is reflected in test project).
Also I use readSDfile which covers all the basis. I haven't use other ways of parsing. The issue happens with other files as well.
The test is very simple - just open and close the file and observe memory leak around ~50-60 bytes each heap printout.
My main scenario that some csv files are parsed periodically and each time I observe this memory leak.

Hello, thanks a lot for reporting this, adding free(is_fmt_unsigned); in destructor seems to fix it. The 0.2.2 version I just created have it patched (probably it will take few hours or a day until it's available through Arduino library manager).
I didn't have Esp with sd card connected but I tested it with the following code on Arduino Pro Mini 5V 328p:
#include <CSV_Parser.h>

#include <SPI.h>
#include <SD.h>

#define SUN_DATA_FILE "sun-gorodez.csv"

const int chipSelect = 10;

void setup() {
  Serial.begin(9600);
  delay(5000);

  Serial.print("Initializing SD card...");

  // see if the card is present and can be initialized:
  if (!SD.begin(chipSelect)) {
    Serial.println("Card failed, or not present");

    // don't do anything more:
    while (1);
  }
  Serial.println("card initialized.");

}

// copied from: https://stackoverflow.com/a/8704938/4620679
int availableMemory() {
    int size = 2048;
    byte *buf;
    while ((buf = (byte *) malloc(--size)) == NULL);
        free(buf);
    return size;
}

void loop() {
  // put your main code here, to run repeatedly:
  CSV_Parser parser("sssss", true, ';');
  if (parser.readSDfile(SUN_DATA_FILE))
  {
    Serial.println("File is parsed");
  }
  else
  {
    Serial.println("File parsed");
  }
  delay(2000);
  Serial.println("Free heap size:" + String(availableMemory()));
}

And the output was:
Free heap size:759
File parsed
Free heap size:759
File parsed
Free heap size:759

I'm posting my testing setup because before I fixed the issue, with my setup, each creation of CSV_Parser (each execution of the loop()) decreased the "Free heap size" by exactly 7. In your output it seems that each loop execution decreases the "Free heap size" by much more. I hope this fix solves the problem but please let me know if not.

I've verified version 0.2.2 and confirm that the issue is fixed. Thank you for your amazing work and the best CSV library for Arduino!
Output with version 0.2.2. Zero bytes leak:
Free heap size: 211316
File is parsed
Free heap size: 211316
File is parsed
Free heap size: 211316
File is parsed
Free heap size: 211316
File is parsed
Free heap size: 211316


Create CI.yml

This PR adds continuous integration with github actions. CI will verify the build and run any tests in the repository (none yet).

Hello @samgdotson! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file treetop/tests/test_numpy.py:

Line 2:80: E501 line too long (103 > 79 characters)
Line 8:1: E302 expected 2 blank lines, found 1
Line 9:20: E231 missing whitespace after ','
Line 9:23: E225 missing whitespace around operator
Line 11:11: W292 no newline at end of file


[tuify] Use nice ANSI symbols instead of ">" to decorate what row is currently selected

Context:

Crate: https://crates.io/crates/r3bl_tuify
Repo: https://github.com/r3bl-org/r3bl_rs_utils/tree/main/tuify

We can do a lot more to decorate the selection with nice glyphs, instead of just ">" prefix. So it looks more like a real app. Here's an example of glyphs we can use.
https://github.com/r3bl-org/r3bl-ts-utils/blob/8751aadef6a110ae409e5c5a0ecfc263a95b2741/src/tui-figures/symbols.ts#L217
It is possible to use radio buttons, check boxes, emoji, and even drawing rounded corners and boxes using these ANSI symbols.

@nazmulidris Can you please give me appropriate rights so that I can add PR for this? I have change ready on my local for this issue

@nazmulidris I have raised PR please review


Derive Serialize and Deserialize for BigDecimal

Hi when i do:
use sqlx::{FromRow, types::BigDecimal}
I got this error the trait bound `sqlx::types::BigDecimal: config::_::_serde::Serialize` is not satisfied i am using 0.3.5 version, how i can activated the feature "serde" forbigdecimal
If i do:
use sqlx::FromRow;
use bigdecimal::BigDecimal;

then i have this error:
the trait bound `bigdecimal::BigDecimal: sqlx::decode::Decode<'_, sqlx::Postgres>` is not satisfied
required because of the requirements on the impl of `sqlx::decode::Decode<'_, sqlx::Postgres>` for `std::option::Option<bigdecimal::BigDecimal>`
required because of the requirements on the impl of `for<'c> sqlx::FromRow<'c, sqlx::postgres::PgRow<'c>>` for `models::factor::FactorWithAnswers`rustc(E0277)
the trait bound `bigdecimal::BigDecimal: sqlx::Type<sqlx::Postgres>` is not satisfied
required because of the requirements on the impl of `sqlx::Type<sqlx::Postgres>` for `std::option::Option<bigdecimal::BigDecimal>`
required because of the requirements on the impl of `for<'c> sqlx::FromRow<'c, sqlx::postgres::PgRow<'c>>` for `models::factor::FactorWithAnswers`rustc(E0277)

I need to get the result of a column of type NUMERIC on postgres.
I appreciate any help, thanks.

Answered on Discord but for posterity:
You need to add the bigdecimal crate and make sure it's the same version that SQLx is using, then you can enable that feature. In the 0.3.5 release of sqlx we're depending on 0.1 so it would be
bigdecimal = { version = "0.1", features = ["serde"] }

Thanks it works, also when Serialize the value i got a scale bigger (xx.xxxx) than i have on my database (xx.xx), to solve this i do the following on my field struct:
#[serde(serialize_with = "big_decimal_serialize")]

And the function is:
fn big_decimal_serialize<S>(big_decimal: &Option<BigDecimal>, serialize: S) -> Result<S::Ok, S::Error>
where
    S: Serializer,
{
    serialize.serialize_str(big_decimal.clone().unwrap().with_prec(5).with_scale(2).to_string().as_str())
}


No support for multi-page tiffs

At least, I couldn't figure out how to get it to work. I have to use jTessBoxEditor, despite its slowness.

Just ran into this too. Looks like for people on Linux there's no option for Tesseract 3.0 multi-page tiffs, alas.

I plan to make multitif support, but I have problem with time or priorities :-(...
On other hand I am not sure if multipage support will be big advantage.
Last time I did training based on real pages - letter by letter (old book with old font/script, no "dictionary" - no support from spellchecker). So I first made training on 1st page and than (with simple shell script) I created and installed language data. Than I created box file on 2nd page, check with box file and create multipage (1+2 page), run training, installed data. Than I added 3, 4, 5, 6 page etc...  Until I did not have satisfying results...

BTW: If you really need multi-page tiff support you can use java jTessBoxEditor (http://vietocr.sourceforge.net/training.html) - it run on Linux (but I did not use it actively)


Feature/fix line search

・Fix to avoid useless loop in line search
・Set step_min in the line search loop to the same value as transformation_epsiron to prevent local convergence due to line search (Prevent convergence judgment in line search)

What is the status of this PR

@kminoda This PR is being put on hold.
Please read [TIER IV INTERNAL LINK] for that reasons.


gazetteer support

Proposed Improvement:
Add another entity extractor component that makes use of gazetteers, i.e. list of known entities. Such a component would be useful if you have a large number of entities that you know upfront, e.g.  an index of all the streets in a city or a list of dishes on a menu. Could be an alternative to filling your training data with lots of templated and similarly structured sentences for training.
Possible extensions

fuzzy matching (also matching variants up to edit distance X)
combination with the regex component to define regexes in combination with each instance in the entity list, e.g. streetname + streetnumber?
integration as a feature into the crf model - so the crf could accept or overwrite the gazetteers finding

Thoughts?

Interested in this as well. Used spacy 2.0 PhraseMatcher for gazetteer and would love to be able to integrate into pipeline.

When can we expect this feature?

gonna close because we have lookup tables now


[onnx.utils] fold_conv_bns in-memory ModelProto support

simple change to allow loaded onnx models to be passed directly to fold_conv_bns.
this is required for support in on-going ONNX one-shot work
test_plan:
manual with related test coverage in separate repo

force landing given the limited scope, test coverage in separate NM repo, and that it is blocking


Add rel attribute to links

Suggested by Adam Shostack
Add  or rel="nofollow" to link in user comments so that there's less of an incentive for link spam.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#nofollow
Interestingly, MDN writes

The nofollow relationship may indicate the current document's owner does not endorse the referenced document. It is often included by Search Engine Optimizers pretending their link farms are not spam pages.

fixed


Update Code - Proof_Of_ContributionSnapshot5.md

Thanks for the contribution. Keep in mind that maintaining an existing contribution does not earn additional rewards. Is there any new feature. The description seems to cover maintaining / updating contributions.

New features include DexScreener API for price feeds, stETH APY feeds and calculations, and CoinGecko API for historical data feeds which can be used to automate the monthly average prices for weights calculations. All code is provided in the Morstats guide which has been leveraged for various other community websites.

Thanks.


Change CI variables source to Vault

Change behavior of the pipeline to use Vault secrets instead of project variables.
!!! This PR can be merged only after MR will get merged.

lint job won't happen here,
on:
  pull_request:
    paths:
      - src/**/*
      - yarn.lock

and not needed.


Doc(Error): djangorestframework-simplejwt v4.4.0 not compatible with python > 3.9

While installing djangorestframework-simplejwt v4.4.0 with python 3.9.4 it threw setuptools errors which shows it is incompatible with python 3.9 and above. But works with 3.7.x and 3.8.x.
Docs on pypi should be updated to reflect the same.

Please install the latest version 4.6.0 as specified in the README.


Button :active style typo

Latest version (v1.4.0) has a space online 1928:
.btn :active
should be:
.btn:active

Duplicate of #599.


updated from 0.2.90 to 0.3.2 and now my GPU won't load

I've looked through the issues, I do see there are some complaints about this, a lot of different ways to fix it working differently for different users.
Is there a unified, accepted and tested way that can readjust my set up to work with GPUs?
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Wed_Feb__8_05:53:42_Coordinated_Universal_Time_2023
Cuda compilation tools, release 12.1, V12.1.66
Build cuda_12.1.r12.1/compiler.32415258_0

I revert back to this:
pip install --force-reinstall --no-cache-dir llama-cpp-python==0.2.90 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu121
It's working again, so it must be something in update I'm missing


Upgrade with airgap

Descriptions
To run upgrade non internet env we need to have airgap support for upgrade command,
need to check combination of flags like, upgrade-frontend, upgrade-backend, uprade-arigap-bundles, skip-deploys.
Acceptance
upgrade should work with airgap bundle.

PR link :- https://github.com/chef/automate/pull/6527


disable CS test

For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Must-fix #4738 filed to track fixing.

All green.


[BUG] Breaking changes in azure-spring-boot-starter-keyvault-secrets' configuration

Describe the bug
azure-spring-boot-starter-keyvault-secrets has breaking (and wrongly documented) configuration properties.
Exception or Stack Trace
Calling this with a key vault which contains disabled secret is a good example that shows that :
  java.lang.IllegalStateException: Failed to load ApplicationContext

  Caused by: java.lang.IllegalStateException: Failed to configure KeyVault property source

  Caused by: com.azure.core.exception.ResourceModifiedException: Status code 403, "{"error":{"code":"Forbidden","message":"Operation get is not allowed on a disabled secret.","innererror":{"code":"SecretDisabled"}}}"

To Reproduce
Steps to reproduce the behavior:

Create a property.yaml(!) file:azure:
  keyvault:
    allow:
      telemetry: false
    enabled: true
    uri: https://${KEYVAULT_NAME}.vault.azure.net/
    client-id: ${AZURE_CLIENT_ID}
    client-key: ${KEYVAULT_CLIENT_SECRET:not-a-secret}
    tenant-id: ${AZURE_TENANT}
    secret:
      keys: test1

Create enabled secret test1 and disabled secret test2.
Capture HTTP traffic intended for https://dc.services.visualstudio.com/v2/track
Run a spring boot app which simply fethes these properties

*Setup

OS: Linux
IDE : IntelliJ
azure-spring-boot-starter-keyvault-secrets 2.3.3

Expected behavior
Similar behaviour as in 2.2.X (as documented):

azure.keyvault.secret.keys is a property to indicate that if application using specific secret keys, if this property is set, application will only load the keys in the property and won't load all the keys from keyvault
[...]
If you don't want to participate, just simply disable it by setting below configuration in application.properties.
azure.keyvault.allow.telemetry=false

→ Only test1 is fetched. No telemetry is sent.
Additional context

Reference to 2.2.X property definition: https://github.com/microsoft/azure-spring-boot/blob/2.2.x/azure-spring-boot/src/main/java/com/microsoft/azure/keyvault/spring/Constants.java#L21: AZURE_KEYVAULT_SECRET_KEYS = "azure.keyvault.secret.keys"
Reference to 2.3.X+ property definition: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/azure-spring-boot/src/main/java/com/microsoft/azure/keyvault/spring/KeyVaultProperties.java#L146: SECRET_KEYS("secret-keys"),

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Hi, @frank-fischer-by .
Thank you for reaching out.
IMU, secret-keys is more reasonable than secret.keys. Same to allow-telemetry.
Sorry for the breaking change.
And sorry for the non-updated document.
I have created a PR to fix the document;

Hi @chenrujun,
thanks for the update.
I'm fine either way - I just wondered about the inconsistency.
Now that I know what the correct values are I can just change the configuration 🙂.
Thanks for responding and acting so quickly 👍

Hi, @frank-fischer-by .

I think calling out the breaking change in the Changelog might help other people avoid it.

It make sense. Thank you very much for your suggestion. 🙇


store(postgres): better error handling when a production database doesn't support SSL

This currently results in an empty, hard to debug error.

The hard to debug part is solved once appError#format handles strings


Video Complete Callback

Is there any callback for completion of video playback.

Extends JZVideoPlayerStandard
Override
public void onAutoComplete(){
}

I have been extends JZVideoPlayerStandard in my code, but I cant find onAutoComplete function implementation, Is there any function what I miss to implement in my class activity?
Thank you so much

Extends JZVideoPlayerStandard
Override
public void onAutoComplete(){
}
On Wed 8 Aug, 2018, 12:17 PM deryfath<EMAIL_ADDRESS>wrote:

I have been extends JZVideoPlayerStandard in my code, but I cant find
onAutoComplete function implementation, Is there any function what I miss
to implement in my class activity?
Thank you so much
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lipangit/JiaoZiVideoPlayer/issues/2020#issuecomment-411304109,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIddijWI9GQ8bKebWow4P2wD9wXxr2Ekks5uOol9gaJpZM4VlZpg
.

already extend but not found onAutoComplete


All extensions broken (at least for C++)

VSCode Version: Code 1.18.0 (dcee2202709a4f223185514b9275aa4229841aa7, 2017-11-08T21:22:49.932Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.3

Go
luk
0.6.67

cmake-tools-helper
mad
0.1.1

cpptools
ms-
0.14.0

PowerShell
ms-
1.5.0

Ruby
reb
0.15.0

cmake
twx
0.0.17

cmake-tools
vec
0.10.2

vscode-proto3
zxh
0.1.2

Steps to Reproduce:

Open VS Code to a normal CMake-based C++ project
Have the cpptools and CMake extensions installed

Reproduces without extensions: Disabling extensions has the same behavior
I updated VS Code tonight and none of my C++ extensions are running anymore. You can see all that I have installed above. I haven't tried with other language types but at home, C++ is my main development language.
I've opened up the console and this is the error trace:
Invalid string length: RangeError: Invalid string length
    at JSON.stringify (<anonymous>)
    at Object.t.stringify (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:39893)
    at file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:2427390
    at Object.g [as _notify] (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:62686)
    at Object.enter (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:66033)
    at n.Class.derive._oncancel._run (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:67861)
    at n.Class.derive._oncancel._completed (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:67302)
    at l (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:70797)
    at n.Class.derive.join.r.forEach.j.then.o.(anonymous function) (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:71011)
    at Object.g [as _notify] (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9:62686)
e.onUnexpectedError @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:10

@LeonineKing1199 can you report this to the C++ extension issue tracker? That would be here: https://github.com/Microsoft/vscode-cpptools/issues
Thanks!

I'm not sure if the cpptools extension. The stack trace seems to imply everything is internal to VS Code which is why I posted this here.

@LeonineKing1199, can you try reinstalling the cpptools extension and see if the problem still occurs?  We've seen multiple reports of corrupted installs recently.

@bpasero, I think it would be wise for VS Code to take a look at that stack.  This is not the first issue I've seen with that stringify stack causing problems in the last week.  We don't pass any strings to that function in our extension.  We only pass objects.

Alright, sure, when I get home tonight I'll give it a shot. If not, I was gonna simply download a previous version of VS Code and build it from source and run that. It was working perfectly for me beforehand so I'm thinking it has to do with the recent VS Code upgrade.

Just FYI, you shouldn't need to build VS code to get an older version.  You should be able to get it from here: https://code.visualstudio.com/updates/v1_17


[DYN-7701] Dynamo freeze on Run All in some cases

PR to address DYN-7701
In some cases, running "Run All" was causing Dynamo to freeze up with no error messages. After looking into it, it seems the issue was due to long-running updates blocking the UI thread. I've used Task.Run and uiContext.Post to handle these updates in the background, which seems to keep things running smoothly.
For consistency and to streamline the code, I also replaced collection.Dispatcher calls with uiContext.Post, as Dispatcher was causing some problems in Civil 3D anyway. I've also separated the UI update code from the main methods to clean-up the logic.

@ivaylo-matov resolve the conflicts on this.

seen the fail. looking into it


Compilation fails on Centos 7 / Python3.6 (c compiler std definition)

I'm running into an issue building heatshink2 on Centos 7 / Python3.6 with GCC 4.8.5:
heatshrink2/_heatshrink/heatshrink_encoder.c:430:10: note: use option -std=c99 or -std=gnu99 to compile your code

This looks exactly the same as this issue and the same solution resolved it for me:
diff --git a/setup.py b/setup.py
index f7d2c10..7cf6967 100644
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ def find_version():
 EXT = '.pyx' if USE_CYTHON else '.c'

 heatshrink_module = Extension('heatshrink2.core',
+                              extra_compile_args=['-std=gnu99'],
                               include_dirs=[
                                   'heatshrink2/_heatshrink'
                               ],

Should I open a PR with this change?

setup.py is not part of this project, and the Makefile in the project includes -std=c99: https://github.com/atomicobject/heatshrink/blob/master/Makefile#L15 (it should be c99 not gnu99)
The PR should go against whatever distribution is replacing the build config with their own.


http proxy doesn't work with master branch and existing configuration in vagrant setup

While debugging https://github.com/RackHD/RackHD/issues/90, I found that the latest code from master on all branches as of today (2/16/2016) fails with the existing proxy configuration as it's created by Packer/Ansible (config file at https://github.com/RackHD/RackHD/blob/master/packer/ansible/roles/monorail/files/config.json).
To reproduce this I spun up the Vagrant demonstration and then updated the code to the latest master branches with:
./scripts/clean_all.bash && ./scripts/reset_submodules.bash && ./scripts/link_install_locally.bash
cd ~
sudo nf start```

And thereafter the tests I was doing to debug the proxy issue in https://github.com/RackHD/RackHD/issues/90 failed consistently with the response `Cannot GET /test/test1` to the requests for any files defined in the proxy configuration.

@anhou @pengz1 @yyscamper - wanted to let you know about this - I suspect (but haven't verified) that the API auth and split north/south interfaces means that we need a different configuration for the Vagrant instance in order to allow this to work.

@heckj You're right! and I also confirmed with @WangWinson, For http proxy, the latest 'on-http' should work with the latest 'config.json' which is updated in config.json change PR https://github.com/RackHD/RackHD/pull/84/files and endpoint splitting PR https://github.com/RackHD/RackHD/pull/83. so http proxy could work in vagrant@rackhd-demo with following commands before 'sudo nf start'
cd ~/src
git fetch
git rebase origin/master
sudo mkdir /opt/monorail
sudo cp ./packer/ansible/roles/monorail/files/config.json /opt/monorail/
cd ~
sudo nf start

And could you help update a new virtualbox.box so that new vagrant virtualbox include the new config.json?
below is my steps to verify http proxy function in vagrant@rackhd-demo
$ sudo vi /opt/monorail/config.json
"httpProxies": [{
    "localPath": "/coreos",
    "server": "http://<IP_ADDRESS>:9080",
    "remotePath": "/common/"
}],

$ sudo nf start
$ curl <IP_ADDRESS>:9080/coreos/base.trusty.3.13.0-32-generic.squashfs.img -o test
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 49.0M  100 49.0M    0     0   112M      0 --:--:-- --:--:-- --:--:--  112M
NOTE: the new port is 9080 for southbound


Change Booking in-between stops arrow to match design

Current:

design: https://app.zeplin.io/project/5a8e8992554d385c76ad5aeb/screen/5adf5b3e2f1dbdd37e781a89

Not sure if Orbit is ready for this?

should we just use svg image for this one?

we can us arrowUp from orbit components and rotate it


RethinkDBDash definitions

These are not complete right?

RethinkDBDash definitions are complete, but they are only an extension to RethinkDB, which pretty much are complete.
However, we are having a debate on simplifying some finer implementation points.
Take a look here: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/4551
Feel free to contribute to the debate. The main problem is lack of certain features in TypeScript that would allow seamless flow of the types between methods.

I see... well I got several errors with the dash definitions and I didn't really look into it much as I'm in the process converting my project into typescript.
Module 'rethinkdb' has no exported member 'RInterface'.at line 70 col 53

And
Cannot find name 'RconnectionInterface'

Just by taking a quick look at these two definition files I don't understand where these interface's are defined. Could you please clear this up?
As I'm quite new to typescript but a long time C# nerd I will definitely contribute to debate.

Ah, sorry - the rethinkdbdash files had old interface names. I've pushed an
update, try now.
On Mon, Jan 25, 2016 at 2:08 AM Marcus<EMAIL_ADDRESS>wrote:

I see... well I got several errors with the dash definitions and I didn't
really look into it much as I'm in the process converting my project into
typescript.
Module 'rethinkdb' has no exported member 'RInterface'.at line 70 col 53
And
Cannot find name 'RconnectionInterface'
Just by taking a quick look at these two definition files I don't
understand where these interface's are defined. Could you please clear this
up?
As I'm quite new to typescript but a long time C# nerd I will definitely
contribute to debate.
—
Reply to this email directly or view it on GitHub
https://github.com/niieani/rethinkdb-typescript-definition/issues/1#issuecomment-174363946
.

thank you very much.


feat(llm): Llama-3.1-8B

Description of changes
Implementation of additional LLM: Llama-3.1-8B-Instruct
Issue number: #31

This still a bit of work to do before this feature is fully implemented- it needs to be moved away from the CLI interface and connected to the GUI. As a proof of concept, it does the job, and as I have more context on how the UI connects together I'm happy to set it up.


feat: Translation support

Hi, this is a basic i18next implementation, language has been set to English as default/fallback.
Also  added react Suspense and Mantine LoadingOverlay.
PS: I think the copy/copied tootltip is not working

Looks good to me. Just one comment about the import. That is it. Great work!

PS: I think the copy/copied tootltip is not working

hm, yes, seems to be something fishy on mobile here. Works in Chrome for me on desktop at least

Seems that these are missing from the package.json:
import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
import HttpApi from 'i18next-http-backend';

I forgot to take care of package.json, I did not merge it, since after pulling the code npm refused to run "client-dev".
Had to install "@emotion/cache, @emotion/react and webpack" until it worked :confused:
How would you handle this? I could just revert my file and add only the missing packages related to this PR, not sure if doing this would introduce new issues.

I can have a look at this for you. For my part I did not have to do what you needed to. Just pull the code, run npm install, and then it should work. But let me test the PR locally.

https://github.com/HemmeligOrg/Hemmelig.app/pull/83


doc(scale): update scale numbers for 1.13

Related issue

This PR updates the scaling performance numbers for 1.13.
Proposed Changes

Checklist

[] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

I performed the same set of tests against 1.12.6 and 1.13.0-rc.2:

replicas
# policies
Rule Type
Mode
Subject
Virtual Users/Iterations
Latency (avg/max)
Memory (max)
CPU (max)
Memory Limit

1
17
Validate
Enforce
Pods
100/1,000
43.91ms / 132.24ms
109Mi
829m
default (384Mi)

1
17
Validate
Enforce
Pods
200/5,000
81.2ms / 1.28s
131Mi
3945m
default (384Mi)

1
17
Validate
Enforce
Pods
500/10,000
282.1ms /    3.42s
310Mi
5766m
(with memory limit 512Mi)

3
17
Validate
Enforce
Pods
100/1,000
33.77ms / 107.7ms
92Mi
198m
default (384Mi)

3
17
Validate
Enforce
Pods
200/5,000
64.71ms / 1.2s
138Mi
1508m
default (384Mi)

3
17
Validate
Enforce
Pods
500/10,000
157.11ms / 1.42s
158Mi
1849m
(with memory limit 512Mi)

replicas
# policies
Rule Type
Mode
Subject
Virtual Users/Iterations
Latency (avg/max)
Memory (max)
CPU (max)
Memory Limit

1
17
Validate
Enforce
Pods
100/1,000
42.67ms / 141.24ms
114Mi
148m
default (384Mi)

1
17
Validate
Enforce
Pods
200/5,000
80.74ms / 409.35ms
215Mi
3237m
default (384Mi)

1
17
Validate
Enforce
Pods
500/10,000
203.86ms / 1.5s
471Mi
4851m
512Mi

3
17
Validate
Enforce
Pods
100/1,000
35.61ms / 92.61ms
104Mi
289m
default (384Mi)

3
17
Validate
Enforce
Pods
200/5,000
67.37ms / 327.12ms
122Mi
1336m
default (384Mi)

3
17
Validate
Enforce
Pods
500/10,000
163.08ms / 3.02s
239Mi
2769m
512Mi

The published data on website 1.12 was performed by a different set of tests - create pods with violations and expect requests to be blocked, the request were be blocked by the first policy if not comply, thus causing less memory/cpu (policies were evaluated).


Nix/NixOS support

This PR adds:

a Nix package
a NixOS module
simple documentation on how to use these
a script for easily updating the package

The package is built using the sfx release. It adds most of the necessary dependencies.
Other scripts such as up2k are not included, but this could be done in the future.
It's intentionally omitting Pillow, since it looks like all the extensions are handled by either vips or ffmpeg, which are included.
I did not bother with support for vamp/vamp-sdk and related memes. This is something I could do eventually, but I've suffered enough for now.
The NixOS module is running copyparty in a restricted environment by default, kinda like prisonparty, but using systemd features around namespaces instead of a chroot.
I did manually test the features that looked like they could break and everything seems to work.
Only additional requirement is that the user has to specify read/write paths in the configuration. This could be automated by specifying the copyparty configuration as a nix module and serializing the real config from it. This would give us the ability to read parts of the config and deriving which paths should be readable/writable.
Given that the config format used is not compliant with any existing format that I know of, I did not bother doing that.
Another quirk, which is more on the copyparty to fix, is that the certificates live in $XDG_CONFIG_HOME, with no ability to configure it. That means that unless the user manually modifies the certificates in /var/lib/copyparty, it will use a self-signed certificate. This could be worked around in the NixOS module, but it would be a lot less hacky, if the cert path was configurable.
I've also included a script for updating the Nix package in contrib/packages/nix/copyparty/update.py.
It will download the latest sfx.py from github and put its version and hash in pin.json, which is then used by the Nix derivation.
I then immediately realized that this mode of operation sucks for maintainers, because you won't have a release when it would make sense to run the script, which is just before adding a tag.
That's why you can also give update.py a path to an sfx file and it will update pin.json with a version contained within. That might break because I have some shitty regex doing it, but it should be good enough.
This PR complies with the DCO; https://developercertificate.org/

Oh boy, thanks! Looks awesome :+1: but never had an excuse to try nix before so I'll take a proper look at this in a few weeks :pray:
just going off the PR description it looks solid -- good decisions. Sorry about the crazy config syntax, how does nixos usually do configs? And good call regarding XDG_CONFIG_HOME, will definitely make that configurable now that there's finally a reason to do that.
and yep, should probably take a proper look at the release procedure sometime soon -- it was nicely automated until docker containers + the archpkg was added, so now it's something like... add tag, build sfx (since it reads the tag (of course)), make pypi release, update archpkg version, make docker packages (which might fail due what i think is a podman-multiarch race condition), and finally push tags. Wew. So thx for the motivation to get all that cleaned up o/

In other words, right now we do this:
services.copyparty = {
  enable = true;
  config = ''
    [global]
      i: <IP_ADDRESS>
      no-reload

    [accounts]
      ed: 123  # world-readable

    [/]
      /srv/copyparty  # needs to be added to copyparty.readWritePaths to work
      accs:
        r: *
        rw: ed
  '';
  readWritePaths = [ "/srv/copyparty" ];
};

But in the ideal world, we could be doing something like this:
services.copyparty = {
  enable = true;
  config =  {
    global = {
      i = "<IP_ADDRESS>";
      options = [ "no-reload" ];
    };

    accounts = {
      ed = {
        # would be serialized as a path in the actual config and copyparty would just read the file
        passwordFile = "/run/copyparty/ed_password"; # contains "123"
      };
    };

    volumes = {
      "/" = {
        # gets automatically placed in readWritePaths,
        # because nix can introspect the config
        path = "/srv/copyparty";
      };
      accs = {
        all = "r";
        ed = "rw";
      };
    };
  };
};

Or at least this:
services.copyparty = {
  enable = true;
  # needs to exist as a separate option, so that nix can introspect it
  # and do the right thing, avoiding placing secrets in a world-readable config
  accounts = {
    ed = {
      passwordFile = "/run/copyparty/ed_password"; # contains "123"
    };
  };
  config = ''
    [global]
      i: <IP_ADDRESS>
      no-reload

    [/]
      /srv/copyparty  # needs to be added to copyparty.readWritePaths to work
      accs:
        r: *
        rw: ed
  '';
  readWritePaths = [ "/srv/copyparty" ];
};

I've made some changes. Now everything is defined as nix options.
The nix config is then serialized to a copyparty config format.
It puts a version of the config with the placeholders in the /nix/store, which are copied by systemd in preInit into /run/copyparty and has the placeholders replaced with the contents of passwordFiles. When this fails, the entire unit fails, so there's no risk of accidentally setting your password to {{password-ed}}.
It also automatically bind mounts passwordFiles as readable and all volume paths as read/write.
I think this clears up most of the issues, at the cost of increasing the complexity of the module somewhat.
One caveat is that I keep the nix option definitions to a bare minimum, so it is possible to write invalid config this way, which will only fail at the unit start. Fixing that would require listing every single valid option in the nix module and keeping that in sync with copyparty, which I don't think is really worth it.
Now it looks like this:
services.copyparty = {
  enable = true;
  # directly maps to values in the [global] section of the copyparty config.
  # see `copyparty --help` for available options
  settings = {
    i = "<IP_ADDRESS>";
    # use lists to set multiple values
    p = [ 3210 3211 ];
    # use booleans to set binary flags
    no-reload = true;
    # using 'false' will do nothing and omit the value when generating a config
    ignored-flag = false;
  };

  # create users
  accounts = {
    # specify the account name as the key
    ed = {
      # provide the path to a file containing the password, keeping it out of /nix/store
      # must be readable by the copyparty service user
      passwordFile = "/run/keys/copyparty/ed_password";
    };
    # or do both in one go
    k.passwordFile = "/run/keys/copyparty/k_password";
  };

  # create a volume
  volumes = {
    # create a volume at "/" (the webroot), which will
    "/" = {
      # share the contents of "/srv/copyparty"
      path = "/srv/copyparty";
      # see `copyparty --help-accounts` for available options
      access = {
        # everyone gets read-access, but
        r = "*";
        # users "ed" and "k" get read-write
        rw = [ "ed" "k" ];
      };
      # see `copyparty --help-volumes` for available options
      flags = {
        # "fk" enables filekeys (necessary for upget permission) (4 chars long)
        fk = 4;
        # scan for new files every 60sec
        scan = 60;
        # volflag "e2d" enables the uploads database
        e2d = true;
        # "d2t" disables multimedia parsers (in case the uploads are malicious)
        d2t = true;
        # skips hashing file contents if path matches *.iso
        nohash = "\.iso$";
      };
    };
  };
  # you may increase the open file limit for the process
  openFilesLimit = 8192;
};

Finally got this tested, works great! Thanks a lot for the contribution o/


FancyZones

Microsoft PowerToys version
0.69.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
After updating to the latest version of PowerToys the Fancy Zones "Move newly created windows to their last known zone" feature does not appear to be working.
✔ Expected Behavior
If I snap a Chrome window to a zone and then hit Ctrl-N to open a new chrome window, the new window should autosnap to the most recently snapped zone.
❌ Actual Behavior
When creating the new window it isn't auto-snapping to the most recently used zone as shown in the image below

Other Software
No response

@SeraphimaZykova  FYI

/bugreport

PowerToysReport_2023-04-27-07-26-14.zip
Here is the bug report as requested.

Just wanted to put an update out that I think this may be related to a windows update. My work computer was still running Power Toys .64 where I confirmed this feature was working as expected so I downgraded my personal computer back down to .64 but it still doesn't work here and it definitely used to. Similarly after I discovered this I upgraded my work computer to .69.1  and the feature still works as expected while on my personal computer it does not. I think the day that I installed the .69 update on my personal computer I also restarted my computer for windows updates and I think something related to that is actually what is causing this to no longer work.
My personal computer is running Windows 11 Pro with the latest updates installed. My work computers is running Windows 10 Enterprise and updates for that machine are controlled by IT where I work so I am not certain what updates are installed vs not. If I can provide any other information please let me know I would really like to see this working again because it's the primary thing I use PowerToys for since I have 3 large displays hooked up to my computer.

I'm still having this issue. And there have been many Powetoy updates since the problem started. I also have not even seen it on the list of known issues. I also agree that it seems to be a problem that started with a windows 11 update.

This seems to be fixed for me with Release v0.74.0:

Just updated and agree this seems to have been fixed. Cheers to the devs 🍻

I agree, the latest update fixed it. Hopefully the next Win 11 update doesn't set things back again.


Can't pass mainTarget to PreviewModels.stencil

Context 🕵♀
Inside PreviewModels.stencil we have a conditional import statement:
{% if argument.mainTarget %}
@testable import {{ argument.mainTarget }}
{% endif %}

What 🌱
Where as the PrefireTestsPlugin can be provided with a mainTarget argument.
It seems the PrefirePlaybookPlugin has no support for passing the mainTarget?
Proposal 🎉
Think this might be as simple as passing:
"--args",
"mainTarget=\(targetName)",

to the PrefireTestsPlugin.Command

When using XCodegen, it lists the targets alphabetically. Stencil uses the first target as mainTarget. I have now fixed this manually. Is there a better solution?

@Foixa I think you can create a .prefire.yml configuration file in the root of the project. Then add the necessary Target to this file.
test_configuration:
  - target: YourTarget

I added parameter forwarding in the latest release.
test_configuration:
  - imports:
    - UIKit
    - SwiftUI
  - testable_imports:
    - Prefire

prefire_configuration:
  - imports:
    - UIKit
    - Foundation
  - testable_imports:
    - SwiftUI

You can try it 🚀


'ascii' codec can't encode character u'\u2019' in position 56: ordinal not in range(128)

Any advice on this one? It's default installation.
python fb_ad_lib_scraper.py
1%|1         | 1/100 [00:01<02:05,  1.27s/it]Traceback (most recent call last):
File "fb_ad_lib_scraper.py", line 98, in
w1.writerow(ad)
File "C:\Python27\lib\csv.py", line 152, in writerow
return self.writer.writerow(self._dict_to_list(rowdict))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 56: ordinal not in range(128)
1%|1         | 1/100 [00:01<02:07,  1.29s/it]

i was thinking something like this:
w1.writerow([unicode(ads).encode("utf-8") for ads in ad])
But then I get this:
python fb_ad_lib_scraper.py
0%|          | 0/100 [00:00<?, ?it/s]Traceback (most recent call last):
File "fb_ad_lib_scraper.py", line 99, in
w1.writerow([unicode(ads).encode("utf-8") for ads in ad])
File "C:\Python27\lib\csv.py", line 152, in writerow
return self.writer.writerow(self._dict_to_list(rowdict))
File "C:\Python27\lib\csv.py", line 149, in _dict_to_list
return [rowdict.get(key, self.restval) for key in self.fieldnames]
AttributeError: 'list' object has no attribute 'get'
0%|          | 0/100 [00:01<?, ?it/s]

This script is only designed to work for Python 3; you really shouldn't be using Python 2 nowadays.


Remove redundant ticker return in sync

Coverage decreased (-0.01%) to 82.514% when pulling ab3426aa33b641c026df620179cd3f7c5e7c4526 on cleanup_sync_service into cf1abbb4aef154b4e048730debe76e34444e6c56 on master.


Add plugin install command

It's an initial version of simple plugin install command.
/cc @rhuss @Kaustubh-pande

@rhuss update the flow of execution to declutter the code.
Indeed, we should have remove and overwrite flags. However, removing is really a rm execution on the system. I'll look into adding those tomorrow though.

/cherry-pick release-v1.14

/cherry-pick release-v1.15


Monokai - Increase Contrast of Highlighted List Items

It may just be me, but I find that highlighted list color in Monokai difficult to read at a glance:

They are fine when they occur at the beginning of match, but in the middle of the match they almost blend into the background.

That's the lightest brown. How about it uses the standard foreground?

Yes, that looks much better IMO


Allow swiping while letting the arrow button multiple slides at the same time

Hi,
I want to create a slider with two visible slides (slidesToShow: 2). One the one hand, it should scroll two slides if I press on an arrow (slidesToScroll: 2). But on the other hand, I want to navigate freely on a touch device (swipeToSlide: true).
====================================================================
http://jsfiddle.net/Chaoste/j4sx6aw1/41/
====================================================================
Steps to reproduce the problem

Set slidesToShow and slidesToScoll
Enable navigation with thumb on touch devices with swipeToSlide

====================================================================
What is the expected behaviour?
The arrow should still consider my slidesToScroll value while mobile swiping should be flexible.
====================================================================
What is observed behaviour?
slidesToScroll is set to one if swipeToSlide is true.
====================================================================
More Details

Which browsers/versions does it happen on?
-> Any browser
Which jQuery/Slick version are you using?
-> The latest ones (jQuery: 3.4.1, Slick 1.8.1)
Did this work before?
-> No, it's more a feature request

The issues is probably the following: Slick.js requires slidesToScroll to be one to stick at any position which is required for the swiping behaviour. I suggest adding another attribute which tells explictly only the arrow buttons how many slides they should scroll even though slidesToScroll is set to one.
Greetings,
Thomas

👍
Hi, the problem has been perfectly described by @Chaoste.
I consider it a real issue, since the documentation for swipeToSlide precisely states :
"Allow users to drag or swipe directly to a slide irrespective of slidesToScroll"
when the real effect is that slidesToScroll is forced to 1.
I would like the arrows to slide 1, 2 or 3 items according to responsive breakpoints, but make dragging/swiping always slide 1 item.


css edit link points to documentation that doesn't exists anymore

The following line points to documentation that doesn't exists anymore.
The anchor #can-i-customize-the-markdown-preview-css seems to no longer exist.

Thank you for pointing this out!
These directions were associated with the old preview and publishing tools, which we have since migrated off of. I have updated our docs, which will go live on Friday:

https://github.com/dendronhq/dendron-site/commit/52920a820b4fe89f0a4ebd5534713d4392bc6a9a

Still interested in customizations?
When it comes to the future of CSS and customizations of Dendron Preview and Publishing output, we have a discussion on an RFC. Feel free to provide feedback:

https://github.com/dendronhq/dendron/discussions/1298

A few issues are also open in the dendron repo related to wanting to use custom CSS. Here is one issue with links included in the comments to some other related issues:

https://github.com/dendronhq/dendron/issues/1360

Thanks, will check that out.


Remove turbofishes by making Into explicit

This helps the type inference algorithm
There are probably some minor merge-conflicts with what @reiner-dolp (see #30) is working on in the function signatures of omnomnom*, tastes_like*

bors r+


Automatic PR from RestAPI-PR706

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/706

Doc only


grid column "render" no longer working for string codes

Short description
Not sure if this is a bug with the most recent JS compilation, but now when I have a column with the "render" field as a string, such as "int", "float:1", etc., it no longer displays the value in the grid cell. When my cells are editable ("editable": {"type": "float"}) and I start editing, the value displays as normal, but when I exit editing, it goes back to a blank cell.
When render is null or omitted, then the values display as normal, but as you already know the render field is handy for formatting the display values, such as rounding floats to a certain decimal place.
Steps to reproduce or sample
grid = new w2grid({
columns: [
{field: 'float_column', text: 'Float Column', render: 'float:1', editable: {type: 'float'}},
{field: 'int_column', text: 'Int Column', render: 'int', editable: {type: 'int'}}
],
records: [
{recid: 1, float_column: 45.45555, int_column: 12}
]
})

I am facing the same issue here.
As you can see, my grid doesn't render float values when using the render prop.

As I remove the render prop,  the values come back:


Add readiness probe to webhook

🛑 Important:
Please open an issue to discuss significant work before you start. We appreciate your contributions and don't want your efforts to go to waste!
For guidelines on how to contribute, please review the CONTRIBUTING.md document.
Purpose of this PR
Add a readiness probe to the deployment if the webhook is enabled.
Change Category
Indicate the type of change by marking the applicable boxes:

[X] Bugfix (non-breaking change which fixes an issue)
[X] Feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that could affect existing functionality)
[ ] Documentation update

Rationale
If the webhook is enabled, there is a brief period of time where the container is running but the webhook may be unable to serve requests. In particular, informer cache syncing may take a period of time. Adding a readiness probe ensures that the webhook server is up and ready to serve admission or patch requests and prevents webhook call failures. See the code linked below:

https://github.com/kubeflow/spark-operator/blob/master/main.go#L219-L221
https://github.com/kubeflow/spark-operator/blob/master/pkg/webhook/webhook.go#L212-L236

Checklist
Before submitting your PR, please review the following:

[x] I have conducted a self-review of my own code.
[x] I have updated documentation accordingly.
[X] I have added tests that prove my changes are effective or that my feature works.
[X] Existing unit tests pass locally with my changes.

Additional Notes
Tested locally on a Kind v1.30.0 cluster with the webhook enabled

Closing because the controller-runtime PR (https://github.com/kubeflow/spark-operator/pull/2072) adds /healthz and /readyz probes


fix: restart database after issuing pg_terminate_backend

What kind of change does this PR introduce?
Bug fix
What is the current behavior?
pg_terminate_backend induces pg_cron scheduler to shutdown
What is the new behavior?

restart postgres as recommended https://github.com/citusdata/pg_cron/issues/99
refactors branch switch to use pgx
add unit tests

Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 49 (16.33%)  changed or added relevant lines in 5 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 36.561%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/db.go
0
2
0.0%

internal/start/start.go
0
2
0.0%

internal/db/branch/switch_/switch_.go
0
37
0.0%

Files with Coverage Reduction
New Missed Lines
%

cmd/db.go
1
46.34%

internal/db/branch/switch_/switch_.go
2
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
1805

Relevant Lines:
4937

💛  - Coveralls

We should also do a db healthcheck after restarting, otherwise some services might have issues connecting:
2022-09-19T06:48:28: PM2 log: Launching in no daemon mode
2022-09-19T06:48:28: PM2 log: App [server:0] starting in -fork mode-
2022-09-19T06:48:28: PM2 log: App [server:0] online
running migrations
Error: connect ECONNREFUSED <IP_ADDRESS>:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 5432
}

It'd be nice if we can configure PM2 to restart on error though

added restart for storage-api and a todo to improve it.


Add Validator in login and signup form

Hello contributers, i want someone to add validator in login and sign up forms.

Hey - I am happy to help. This is obviously my first issue to attempt to commit to.

Hello @TechVisionWeb, Welcome to the world of open source contributions, I have assigned you the issue,
Do not hesitate to ask anything, I will try my best to help.

Hi @arpittyagirocks I am not sure about the database connection URL or  JWT secret key. Is this neccesary for my contribution and if so, what information can you recommend as a source? I am looking at app.js.

If you look at the "LoginPage.jsx" and "SignupPage.jsx" database is already connected for authentication.
But it still sends response to database even if input fields are empty and
also it allows to submit even if we enter any string in the email input field in Sign up page
I hope i am clear.

Hello - I am going to withdraw because I wasn't aware of the use of react and JSX. I should have probably looked through some of the source code on github first

hello, I'd like to assist in the validation of this repository, I am aware of the use of react

Hello @elidakirigo, I have assigned you the issue you can start working on it.

Hey @elidakirigo, I am also trying to write docs for the project on the way, You can have a look at loginpage.md

thanks @arpittyagirocks  i will look at the docs before i start working on it.

Hey @elidakirigo, As you can see i did the login signup communication with socket.io,
But to follow Industry standards now i am planning to change it all with http requests in express and routes, Will you be able to do that?

Hey @elidakirigo, As you can see i did the login signup communication with socket.io, But to follow Industry standards now i am planning to change it all with http requests in express and routes, Will you be able to do that?

hi, @arpittyagirocks when are you doing the changes, please? i will be able to work around it, yes

I want you to it, set up app.routes for sign up and login, shouldn't be hard

I want you to it, set up app.routes for sign up and login, shouldn't be hard

okay

hi, @arpittyagi102 how do I work around this issue SimpleCrypto object MUST BE initialised with a SECRET KEY.
screenshot

Either you can use a dummy value which would cause error in "Wrong Password"
Or you may comment all the code using "bycrypt" and "cookies"
I hope it helps

okay, thankyou, let me try

thanks @Seckrel


The difference between FlashRAG and FlashRAG is not obvious

Hello, I have carefully read the content and code instructions of the paper, and it seems that the difference between this repository and FlashRAG is not significant. And there seem to be some incorrect claims in the comparison of the paper（Table 1）:

In paper Table 1, you claim that FlashRAG lacks fair comparison，but it seems to support fair comparisons of different methods?
To my knowledge, FlashRAG does not have a trainer and does not match the claim in the paper.

And there are some instances of plagiarism on the pages of the GitHub repository:

The license for the warehouse is from FlashRAG, and even the name is the same as its author.
The overall design structure and diagram are very similar

Thank you very much for bringing the license issue to our attention. First and foremost, I sincerely apologize for my mistake. RAGLAB is the first repository I have developed and maintained. As a beginner, I lack experience in managing large projects, particularly in areas such as creating well-crafted README files, icons, and licenses.
FlashRAG is an outstanding open-source project that has made significant contributions to the RAG community. I acknowledge my mistake in copying FlashRAG's LICENSE file and referencing the style of their readme document. Our error is limited to the readme file only. However, we absolutely did not plagiarize FlashRAG's code. I deeply regret this error and once again apologize to everyone for my mistake.
Furthermore, we must clarify that all code in RAGLAB was developed independently by our team. We have open-sourced the raglab-exp repository to provide evidence that the RAGLAB repository was independently developed. The raglab-exp repository contains over 400 commit records, which serve as strong evidence supporting our claim. The reason we had not previously open-sourced the raglab-exp repository is that we were in the process of developing new algorithms. Additionally, we have used copydetect to analyze the code similarity between RAGLAB and FlashRAG. The experimental results can be found in the code copydetect result.
Reply for issues#1
Q1: In paper Table 1, you claim that FlashRAG lacks fair comparison，but it seems to support fair comparisons of different methods?

The initial motivation for designing RAGLAB was our discovery during literature review that published algorithms do not provide a fair comparison. The key components used in different papers, such as the knowledge database, retriever model, generation model, and instructions, vary significantly. We pointed out that FlashRAG lacks a fair comparison because it does not provide a unified generation model.
In FlashRAG:

The SelfRAG algorithm uses SelfRAG-LLama2-7B, which, compared to LLama2-7B, was trained on an additional 140,000 data points during fine-tuning. This creates an unfair advantage over other generation models.
The Spring algorithm uses LLama2-7B-chat with a trained embedding table.
The Ret-Robust algorithm uses LLama2-13B with a trained LoRA.
The remaining algorithms use LLama3-8B-instruct.

Thus, the different algorithms in FlashRAG do not utilize the same base model as the generator, which is why we believe FlashRAG lacks fair comparisons. We have already highlighted this point in our paper.

During the evaluation of RAGLAB, we used Llama3-8B as the base model and trained four models based on it: llama3-8B-baseline, selfrag-llama3-8b, llama3-70B-adaptor, and selfrag-llama3-70B-adaptor.
RAGLAB is the first project to train the selfrag-llama3-70B-adaptor model, and has open-sourced it on the Hugging Face website
During the training process, we used the same training parameters, the same training scripts, and the same training data (utilizing SelfRAG's open-source training data url; all special tokens were removed when training the llama3-8B-baseline and llama3-70B-adaptor models). After training on the same data, we believe that llama3-8B-baseline and selfrag-llama3-8B are fairly comparable, as are llama3-70B-adaptor and selfrag-70B-adaptor. This is an aspect that FlashRAG has not addressed. Additionally, we have open-sourced the entire process, including the training dataset url, training script parameters url, and all four models.

Q2. To my knowledge, FlashRAG does not have a trainer and does not match the claim in the paper.

Thank you very much for pointing out the error in our paper. In Table 1, under the Trainer column, we mistakenly indicated that FlashRAG includes a trainer function. This was a writing error on my part. You are correct FlashRAG does not provide any trainer-related functionality. We have corrected this mistake in our paper on arXiv and have uploaded a revised version. Once again, thank you for bringing this issue to our attention.

Q3. The license for the warehouse is from FlashRAG, and even the name is the same as its author.

I would like to sincerely apologize for copying the FlashRAG license. Due to my lack of experience in maintaining open-source projects, I was unaware of how to properly draft a standard license file, which led to my copying the FlashRAG license. I apologize to the authors of FlashRAG for this mistake. We have already uploaded a new license file to correct this error. Additionally, we have sent an email to the authors of FlashRAG to inform them of the situation and to apologize. We are actively communicating with the FlashRAG authors, and we will provide updates on the outcome as soon as possible.

Q4. The overall design structure and diagram are very similar

I would like to make a brief statement regarding RAGLAB. First, the framework design of RAGLAB is different from that of FlashRAG. RAGLAB does not categorize different advanced RAG algorithms nor does it abstract a pipeline class; instead, each algorithm is abstracted into a separate class corresponding to an individual Python file. In contrast, FlashRAG categorizes different algorithms and designs distinct pipelines for each category, with algorithms using the same pipeline being grouped into a single Python file. RAGLAB considers all advanced algorithms as improvements upon NaiveRAG, so all algorithms in RAGLAB inherit from NaiveRAG, and all utils are defined within NaiveRAG. This is fundamentally different from FlashRAG, where different advanced RAG algorithms inherit from different pipelines.
Secondly, I would like to address the issue regarding the similarity between RAGLAB and FlashRAG diagrams. In RAGLAB, all advanced RAG algorithms inherit from the NaiveRAG algorithm, with NaiveRAG providing a wide range of utilities. On the other hand, in FlashRAG, there is no inheritance relationship between different pipelines, which is a fundamental difference between RAGLAB and FlashRAG. For more detailed differences, please refer to the raglab-vs-flashrag section.

To demonstrate that RAGLAB was developed independently, we have compared the creation timesline of RAGLAB and FlashRAG, as well as the progress of algorithm development. For specific details, please refer to the table in the next section Table.

Comparison of the Creation Times and Algorithm Development Progress between the RAGLAB and FlashRAG Repositories

Time Nodes
RAGLAB
evidence
FlashRAG
evidence
Whether RAGLAB is earlier than FlashRAG

GitHub Repository Creation Time
2024-02-07
url init-time
2024-03-14
url init-time
✅

NaiveRAG's Development Time
2024-02-12
url
2024-04-04 (Deleted)
url
✅

BasicPipeline's Development Time
Not Developed

2024-03-19
url
-

SequentialPipeline's Development Time
Not Developed

2024-03-19
url
-

selfrag's Development Time
2024-02-26
url
2024-04-09
url
✅

RRR's Development Time
2024-03-04
url
Not Developed

-

iter-gen's Development Time
2024-03-09
url
2024-04-08
url
✅

active rag's Development Time
2024-03-09
url
2024-04-11
url
✅

DSP's Development Time
2024-03-29(Developed)2024-04-22(Deleted)
url-dev  url-remove
Not Developed

-

selfask's Development Time
2024-04-08
url
2024-04-13
url
✅

GitHub Repository Open Source Time
2024-08-05
url
2024-05-24
public-1 public-2 public-3 public-4
❌

Arxiv Paper Publication Date
2024-08-21
url
2024-05-22
url
❌

[!Note]

The open-source date of the FlashRAG repository cannot be determined from the commit files, so we used Google search with a time filter to find the date when the FlashRAG repository was made public.
The NaiveRAG's Develop Time in FlashRAG is the date of record deletion, not the development date.
For algorithms that have not been developed, we filled in 'Not Developed' in the table.
RAGLAB initially attempted to develop the DSP algorithm, but after multiple discussions, we concluded that DSP is not suitable for comparison with advanced RAG algorithms. As a result, we deleted the DSP algorithm on 2024-04-22. The commit record of the deletion can be found here: url.

Summary:

The RAGLAB repository was created earlier than FlashRAG.
The development of all six RAGLAB algorithms is earlier than those of FlashRAG.
Additionally, RAGLAB developed the RRR and DSP algorithms, which were not developed by FlashRAG, while FlashRAG developed the BasicPipeline and SequentialPipeline through its pipeline, which were not developed by RAGLAB.
Furthermore, it is important to note that FlashRAG published its paper on 2024-05-22, with the repository going public on 2024-05-24. This suggests that we could not have known about the existence of the FlashRAG project before 2024-05-22, nor could we have accessed the FlashRAG source code before it was published on 2024-05-24. Based on this information, we can confirm that RAGLAB could not have copied the FlashRAG repository.
FlashRAG integrated more algorithms and made its repository public earlier, while RAGLAB made its repository public later. This information demonstrates that RAGLAB and FlashRAG are two independent works developed during the same period, and there is no possibility that RAGLAB copied the FlashRAG repository. The only mistake made by RAGLAB was that, due to a lack of experience with open-source projects, we did not draft our own license file and instead directly copied the FlashRAG license file, for which we apologize once again.

Code Similarity Test between RAGLAB and FlashRAG

We conducted a similarity analysis of the RAGLAB and FlashRAG code using copydetect
Experimental process:pip install copydetect
git clone https://github.com/RUC-NLPIR/FlashRAG.git
git clone https://github.com/fate-ubw/RAGLAB.git
copydetect -t RAGLAB -r FlashRAG -e py

Experimental results:

For a detailed experimental report, please refer to copydetect result. Please download and open it in your browser.

Differences in System Design between RAGLAB and FlashRAG

Different Framework Design Concepts: RAGLAB does not categorize different advanced RAG algorithms, nor does it abstract a pipeline class. Instead, each algorithm is abstracted into a separate class corresponding to an individual Python file. In contrast, FlashRAG categorizes different algorithms and designs distinct pipelines for each category, with algorithms using the same pipeline grouped into a single Python file. RAGLAB considers all advanced algorithms as improvements upon NaiveRAG, so all algorithms in RAGLAB inherit from NaiveRAG, and all utils are defined within NaiveRAG. This is a fundamental difference from FlashRAG, where different advanced RAG algorithms inherit from different pipelines. RAGLAB currently integrates six advanced algorithms, while FlashRAG integrates 14 algorithms.

Generator Alignment Differences: During the evaluation of RAGLAB, we used Llama3-8B as the base model and trained four models based on it: llama3-8B-baseline, selfrag-llama3-8b, llama3-70B-adaptor, and selfrag-llama3-70B-adaptor. During the training process, we used the same training parameters, the same training scripts, and the same training data (using SelfRAG's open-source training data url; all special tokens were removed when training the llama3-8B-baseline and llama3-70B-adaptor models). After training on the same data, we believe that llama3-8B-baseline and selfrag-llama3-8b are fairly comparable, as are llama3-70B-adaptor and selfrag-70B-adaptor. FlashRAG, however, did not use a unified base model for training; instead, different algorithms used different models.
In our paper, we argued that FlashRAG lacks fair comparisons because it did not use a unified base model for training, but rather different algorithms used different models:

In FlashRAG, the SelfRAG algorithm uses selfrag-llama2-7B, which, compared to llama2-7B, was trained on an additional 140,000 data points during fine-tuning, creating an unfair advantage over other generation models.
The Spring algorithm in FlashRAG uses Llama2-7B-chat with a trained embedding table.
The Ret-Robust algorithm in FlashRAG uses LLAMA2-13B with a trained LoRA.
The remaining algorithms in FlashRAG use LLAMA3-8B-instruct.

Thus, the different algorithms in FlashRAG do not utilize the same base model as the generator, which is why we believe FlashRAG lacks fair comparisons. We have already highlighted this point in our paper.

Different Retrievers: RAGLAB integrates two retrieval models, ColBERT and Contriever, whereas FlashRAG does not integrate ColBERT or handle ColBERT embeddings. RAGLAB designed a ColBERT Server & API functionality that allows over 10 scripts to concurrently access the ColBERT server. ColBERT Server & API feature significantly conserves resources and addresses our limited resource issues, but FlashRAG does not provide this functionality. On the other hand, FlashRAG integrates BM25, embedding models, and T5-based models, which RAGLAB does not.

Interact Mode & Evaluation Mode: We developed both an Interact Mode and an Eval Mode for each algorithm. The goal of Interact Mode is to allow non-research users to quickly understand the essence of the algorithms without needing to download datasets. Evaluation Mode is designed to replicate the results presented in the paper. FlashRAG did not design an Interact Mode for each algorithm; instead, it created a UI interface specifically for Simple RAG.

Evaluation Section: In addition to accuracy, F1 score, and exact match (EM), we also integrated FactScore and ALCE, two advanced metrics. However, FlashRAG did not integrate or evaluate FactScore and ALCE.

Completely Different Dataset Loader Design: RAGLAB does not process raw datasets; instead, it designs a separate class for each dataset to directly load the raw dataset. Please refer to the dataset class
FlashRAG, on the other hand, processed 32 datasets from scratch and unified the format of all datasets. Therefore, FlashRAG does not need to create a new class for each dataset. The 32 datasets open-sourced by FlashRAG provide significant convenience for researchers and make a substantial contribution to the RAG open-source community.

Instruction Lab: To align each component, especially the impact of instructions on results, RAGLAB adopted a design approach that separates algorithm logic from data. We built instruction_lab.py, where all algorithms load their instructions and prompts from the Instruction Lab to ensure alignment across different algorithms. FlashRAG, on the other hand, constructs instructions by defining PromptTemplate within the algorithm itself, as can be seen in pipeline.py. FlashRAG does not separate algorithm logic from specific instruction, while RAGLAB separates all instructions from algorithm logic, achieving centralized management of instructions. There is a fundamental difference between RAGLAB and FlashRAG in the implementation of instructions.

Logger: To facilitate the management of experimental results, we designed a logger that can save all log information generated during the evaluation process and store it separately as a .log file. However, FlashRAG does not provide this functionality.

Different Experimental Conclusions: RAGLAB evaluated the performance of six algorithms on the ARC, MMLU, PubHealth, StrategyQA, and Multiple-choice tasks, as well as on the FactScore and ALCE datasets. However, FlashRAG did not evaluate the aforementioned tasks; instead, FlashRAG evaluated the NQ and WebQA datasets, which RAGLAB did not assess.

Finally, we once again apologize for the mistakes we made. The issues related to copying the FlashRAG license and the problems in Table 1 of our paper have been corrected, and we have actively communicated with the authors. We will provide timely updates on the situation.
GitHub is an open platform, and we welcome everyone to monitor our work and raise any issues. We will also actively respond to any concerns. Although both RAGLAB and FlashRAG aim to compare different algorithms, our goals are not the same. RAGLAB strives for rigorous and fair comparisons, while FlashRAG did not align the generators of different algorithms, a point we have addressed in our paper and the above documentation. RAGLAB has invested a significant amount of time in training four models. Additionally, the resources and maintenance team for the RAGLAB project are much smaller than those of the FlashRAG team. The FlashRAG team has made outstanding contributions to the RAG community, and we are very willing to work with them to advance the progress of the RAG community.

If you have any questions, feel free to reopen this issue～


Tex is not defined

I imported the react-formula-beautifiier , but also it  seems to show the error.

why this statement has no function "import TeX from 'react-formula-beautifier';"? it's my question.

sorry, I find I made a mistake . case sensitive


How to build repeatedly without serving?

I'm building backend files to be deployed to AWS Lambda. So there's nothing for a local web server to serve up.
I can't see how to configure build to build and watch for changes (serve must be doing this I assume). Is this possible or easy to add?

https://www.npmjs.com/package/broccoli-clext
I haven't tried it myself, but might.
Includes rimraf for output (behind --clean) and a watch for directory build.
If you try it please report whether it builds incrementally like serve or just runs build any time anything changes.

tracking this here: https://github.com/broccolijs/broccoli/issues/331


Feature: UI Formula

Closes https://github.com/ToucanToco/vue-query-builder/issues/243

Codecov Report

Merging #249 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   97.95%   97.98%   +0.02%
==========================================
  Files          55       57       +2
  Lines         832      842      +10
  Branches      162      163       +1
==========================================
+ Hits          815      825      +10
  Misses         17       17

Impacted Files
Coverage Δ

src/components/stepforms/schemas/index.ts
100% <ø> (ø)
:arrow_up:

src/components/stepforms/schemas/formula.ts
100% <100%> (ø)

src/components/ActionToolbar.vue
100% <100%> (ø)
:arrow_up:

src/components/stepforms/FormulaStepForm.vue
100% <100%> (ø)

Continue to review full report at Codecov.

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


Upgrade httpd to fix CVE-2024-27316, CVE-2023-38709, and CVE-2024-24795

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Upgrade httpd from 2.4.58 to 2.4.59 to fix CVE-2024-27316, CVE-2023-38709 & CVE-2024-24795
Change Log

Upgrade to 2.4.59 to fix CVE-2024-27316, CVE-2023-38709 & CVE-2024-24795

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-27316,
https://nvd.nist.gov/vuln/detail/CVE-2023-38709,
https://nvd.nist.gov/vuln/detail/CVE-2024-24795

Test Methodology

Buddy build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=560382&view=results

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/8981

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=561227&view=results

Thanks @elainezhao96 @PawelWMS and @gmileka for the review


Use  git submodules for Qt Base and Qt WebKit

As discussed on the mailing list this move greatly decreases the maintenance cost associated with updating Qt Base or Qt WebKit.
For now, the submodules point to the KDAB owned forks of both, Qt Base and Qt Webkit, but we would appreciate if the PhantomJS could take these over and create official forks.
Both Qt Base and Qt WebKit forks are based on snapshots of the 5.3 branches upstream from around Aug. 12th.
Additional to the submodules change, this pull request contains the patch to add a unified python based build script for PhantomJS. On one hand, this merges the four build scripts (build.sh, build.cmd and preconfig.sh, preconfig.cmd) and thereby again decreases maintenance cost. Furthermore, it adds some magic to ensure e.g. that the git submodules are properly initialized. There are some more helpers in there, such as the ability to git clean qtbase/qtwebkit directories, see build.py -h for more information. Not all recent changes to the old build scripts are included in this new unified script, which is why I did not remove the old scripts yet.
https://github.com/ariya/phantomjs/issues/12426

All of the changes which I have submitted have been accepted into the QtWebKit 5.4 branch, so the Windows static build can happen without additional patching.

@ashkulz That is an excellent achievement and benefit for both projects, congratulations!

@ashkulz I assume it also means that the OS X build also requires libxml2?

TBH I haven't gotten around to OS X yet, just finished it for Windows. I think that OS X may have libxml2 pre-installed in /usr/lib but it may be out of date. Does phantomjs really need/use the XSLT feature? I need it for the TOC support, so am directly using xmlpatterns.

@ariya ping. We really need this ASAP :-(

I'd recommend that this repository move to an "organization" first and then make forks of qtbase and qtwebkit under that so that they are logically grouped together -- Github does auto-redirects, e.g. the old wkhtmltopdf location redirects to the correct location, so you wouldn't lose anything by the move.

@ariya - we also need this feature

Landed in master.

Hello!
You have a new message, please read http://jusdebissap.com/percentage.php?v
<EMAIL_ADDRESS>

Hello!
You have a new message, please read http://marathiclick.com/check.php?mom
<EMAIL_ADDRESS>


Resolve #8 Align gpfdist sink with GPDB5

Replace the logErrorTable (of type String) property by logErrors (Boolean) property.  When the logErrors is set to true (and the rejection type & limit are not empty) then the LOG ERROS clause is added to the CREATE TABE statements
Set the segmentRejectType property to default to rows

@jvalkeal: When you get a chance, could you weigh-in on this, please? We would like to try it for the Clark.RC1, if possible.

Fixed extra space problem with integration tests.
Squashed/merged per https://github.com/spring-cloud-stream-app-starters/gpfdist/commit/7cf5d58aa97b1684371642325b5e38d0c7e1f8d4.


Overwrite existing table of contents in README

I frequently update README.md and want to use markdown-toc for table of contents generation
However each time when I run markdown-toc -h 3 -t github README.md is fails with [WARNING]: README.md already has a Table of Contents, Ignoring...
I there a way to run markdown-toc in mode (force?) when it overwrites existing table of contents in the same file?

Yeah this is an apparent fault :(, a solution here would be to create a function that tries to identify the start and end of a Table of Contents and overwrites it. Feel free to write up a PR!


go-gui: remove weird version specifier in Java dependency

I'm actually not sure what this thing was even trying to accomplish; normally this is used for setting a scope, not a version. It was failing for me on a machine with the latest brew cask install java before, and now it's fine.
In any case, it's certainly NOT true that go-gui requires Java 1.6 specifically to run. Any later versions (like the latest 1.8) work just fine, and you'd be hard-pressed to find a Mac with Java <= 1.5 anyway.

Can anyone help me figure out why the tests failed for this patch? The formula works fine for me, and brew audit go-gui and brew test go-gui both report no problems, even in a headless environment.

I understand how the version specifier works now. Turns out the original bug was just that it was requiring precisely version "1.6" instead of "1.6+". Fixed and works now (whereas the version currently in master does not).

Tests are failing with:
==> /usr/local/Cellar/go-gui/1.4.9/bin/gogui -version
No Java runtime present, requesting install.
Error: homebrew/games/go-gui: failed
<0> expected but was
<97>.

Not sure why brewbot can't find a Java runtime, especially since the dependency is back in...

Might have been something messed up on the test bot. Build logs have rolled off, so we need to re-run the test anyway.
@BrewTestBot test this please.

Same error during the test.
       Testing homebrew/games/go-gui
==> Using the sandbox
/usr/bin/sandbox-exec -f /tmp/homebrew20160909-66142-1a9shca.sb /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/test.rb /usr/local/Library/Taps/homebrew/homebrew-games/go-gui.rb --verbose
==> /usr/local/Cellar/go-gui/1.4.9/bin/gogui -version
No Java runtime present, requesting install.
Error: homebrew/games/go-gui: failed
<0> expected but was
<97>.

I can reproduce it locally on my OS X 10.11.6 machine with Java 7 and 8 installed. It looks like what's happening is go-gui itself is searching specifically for Java 6, instead of using later versions if they're installed.
The formula is building the gogui.app variant of the program. In go-gui's build.xml, here's how it's built.
<target name="gogui.app" depends="build"
 description="Make Mac application bundle">
<property name="appdir" value="build/GoGui.app"/>
<mkdir dir="${appdir}"/>
<mkdir dir="${appdir}/Contents"/>
<mkdir dir="${appdir}/Contents/bin"/>
<mkdir dir="${appdir}/Contents/MacOS"/>
<mkdir dir="${appdir}/Contents/Resources"/>
<mkdir dir="${appdir}/Contents/Resources/Java"/>
<copy file="/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub"
  todir="${appdir}/Contents/MacOS"/>
<exec executable="chmod">
<arg line="755 ${appdir}/Contents/MacOS/JavaApplicationStub"/>
...

That JavaApplicationStub looks like it's specific to Apple's Java 1.6 distribution (in the JavaVM.framework style), and won't pick up the Java 1.7 or 1.8 distributions from Oracle. That might need to be reported and fixed upstream.
On Homebrew's side, we may be able to fix it by switching to building a "normal" Java application (using their Unix build instructions), with the gogui.jar target or something similar, and using the normal JAR wrapper script mechanism on it so it launches using the java command instead of that JavaApplicationStub. I don't think this needs to be an application bundle for Homebrew's purposes.

Yeah, it looks like we could switch to using their install.sh script which is intended for Linux but should work for OS X too, if we just tweaked it to remove the Gnome command dependencies.
Anyway, I'd consider the dependency on specifically 1.6 on OS X to be a bug, and it should be reported upstream. (And the unconditional dependency on Gnome commands in install.sh seems like a bug, too; not every Unix system is going to have Gnome installed.)
Or for a quick fix, we could just abandon this PR and go back to requiring Java 1.6. Because while go-gui on the whole does not require Java 1.6 specifically, the way they're packaging their Mac-specific application bundle apparently does.
I think it'd be better to get this running under any 1.6+ version of Java, though. Lots of people won't have Apple's Java 1.6 installed, and that's an inconvenient requirement since it requires manual installation.

I've put together a PR for switching to a Unix-style installation, which removes the dependency on specifically Java 1.6. Would you mind testing it out? It launches fine for me in my local testing (10.11.6 with Java 1.7 and no Java 1.6), but I'm not a go-gui user so I don't know how to exercise it.
#653

Hey @apjanke – thank you so much for the in-depth investigation :) There is one thing I'm not sure is correct – the JavaApplicationStub mechanic isn't specific to Apple's 1.6 distribution – their 1.8 distribution has it as well:
 $ /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java -version
java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
$ ls /System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub
/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub

So it seems the only requirement is that some Apple Java distribution is installed, which, I agree, is suboptimal since most people use the Oracle distribution.
The ability to bundle as a .app is valuable though; in particular, it's what allows you to associate .sgf files with go-gui which is an important use case. So I think it's worth investigating the best way to simulate/reimplement JavaApplicationStub functionality with the Oracle JVM. I can look into it - do you have any ideas on where to start?

I'm not sure that's correct about JavaApplicationStub working with other JVMs. There's no such thing as an Apple Java 1.7 or 1.8 distribution: they stopped releasing their own Java after 1.6, and Oracle took over, and their releases have a different format.
The OS X command-line java command is a wrapper of sorts that uses /usr/libexec/java_home or its underlying mechanisms to pick up different actual JVM java programs. It doesn't seem like JavaApplicationStub does the same thing. That command you ran looks like it's running the java from Apple's 1.6 stub framework, and that in turn is using the JVM lookup logic (defaulting to newer versions) to locate an Oracle 1.8 JVM which is also installed on your machine. (Java invocation is a little weird on OS X.)
Here's a third-party 1.7/1.8-aware JavaApplicationStub reimplementation: https://github.com/tofi86/universalJavaApplicationStub. Their documentation agrees that the Apple-supplied JavaApplicationStub only finds the 1.6 JVMs. Their README looks like a good place to start looking in to this.

The ability to bundle as a .app is valuable though; in particular, it's what allows you to associate .sgf files with go-gui which is an important use case.  ...

Okay, that makes sense, and is a good reason for keeping the app bundle.
Homebrew is just a packager, and changing the app bundle build to run with a different application launcher is a more extensive change than we usually support. (We want the builds we install to be the same as what you'd get with a vanilla, manual install following upstream's build instructions, to the extent possible.) We'd generally ask upstream to fix their build that way. Maybe you could convince the go-gui developers to use that third-party JavaApplicationStub? I already opened an issue with upstream talking about the 1.6 requirement: https://sourceforge.net/p/gogui/bugs/42/
Sounds like for the time being, the thing to do is just stick with the exact :java => "1.6" requirement, and drop my option of switching to the Unix style build system.

Aha! This looks like a good resource for how to build more modern app bundles from Java applications, replacing JavaApplicationStub with JavaAppLauncher.
http://dclunie.blogspot.com/2014/10/keeping-up-with-mac-java-bundling-into.html

Mind if I close this PR out, since I think we've established that it's not the right approach?

@apjanke Yeah, I agree – the correct way to solve this is to update it to use a modern app bundler, either upstream or (if not possible) by patching the build.xml in the formula. Either way, let's do this in a separate PR once I have time to implement it properly and talk to upstream about it :)
Thanks again for all your help on this!


add fabric for safety

WIP Interface
function createSafety(params: {
    fallback: any,
    isInitialNotSafe: (value: any, fallback: any) => boolean;
    handleError: (error: any, fallback: any) => void;
    handleResult: (value: any, fallback: any) => void;
  }): typeof safety;

:tada: This issue has been resolved in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Change OSC Module

Use: https://pypi.python.org/pypi/python-osc. Previous plugin does not work with Python3 and is unmaintained

we removed it. no need for it currently

We got a request for this. Will add the module.

Waiting on https://github.com/attwad/python-osc/issues/70 to be fixed and https://github.com/attwad/python-osc/pull/71 to be merged.


Fix tooltip not shown for missing dataset-value

When two datasets are shown and one does not have all y-values, because they represent some gaps for example, then the position of the tooltip is not calculated correctly, when using mode 'label' or 'dataset'. For those gaps the y-value is set to 'null', which leads to a problem when calculating the tooltip position. This fix checks if the position of every dataset exists, before it is used.
The problem can be seen in this jsbin:
http://jsbin.com/nefasokosi/edit?html,output

+1 to merge

+1

@awallat please rebase so we can merge

I updated my branch and it's free of conflicts now.

Thanks @awallpat