MINOR: Fix Jenkins build

Same commits that fixed #298 but for the 1.1 branch. These were cherry-picked commits from 1.0.
I know this is working, because I can see the newly published artifacts for 1.0 here: https://confluent.jfrog.io/confluent/maven-snapshots/org/apache/kafka/kafka_2.11/1.0.3-SNAPSHOT/

I pushed this:
aegelhofer@Andrew-Egelhofer's- kafka % git diff confluent/1.1
diff --git a/Jenkinsfile b/Jenkinsfile
index 630208dbc..cc30aff05 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -43,7 +43,7 @@ def job = {
     ]

     stage("Compile and validate") {
-        sh "./gradlew clean assemble spotlessScalaCheck checkstyleMain checkstyleTest " +
+        sh "gradle && ./gradlew clean assemble checkstyleMain checkstyleTest " +
                 "--no-daemon --stacktrace --continue"
     }

@@ -90,7 +90,7 @@ def job = {
                 echo "Muckrake branch : ${muckrakeBranch}"
                 echo "PR fork repo : ${forkRepo}"
                 echo "PR fork branch : ${forkBranch}"
-                buildResult = build job: 'test-cp-downstream-builds', parameters: [
+                buildResult = build job: 'test-cp-downstream-builds-jdk7', parameters: [
                         [$class: 'StringParameterValue', name: 'BRANCH', value: muckrakeBranch],
                         [$class: 'StringParameterValue', name: 'TEST_PATH', value: "muckrake/tests/dummy_test.py"],
                         [$class: 'StringParameterValue', name: 'KAFKA_REPO', value: forkRepo],
aegelhofer@Andrew-Egelhofer's- kafka % git push confluent origin/1.1:1.1
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 16 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.90 KiB | 1.90 MiB/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 2 local objects.
To github.com:confluentinc/kafka.git
   df7816209..862544f3e  origin/1.1 -> 1.1


Updates to Drop Python 3.6

Looking to drop the Python3.6 compatibility.

Drops end of support Python version
Supports M1 Mac Support
Nautobot no longer supports Python3.6 with the new features

Hmm, trying to figure out why the Flake8 tests are failing. They are supposed to be ignored.

The tests are auto generated as part of the inheritance for the test case. We need to adjust the HTML templates to have a new base to get these views for free. @scetron

I am not able to merge. I think this is still you @scetron and @chadell


Not working?

Hey, just tried to setup
    - platform: stampar_pelud
      name: Pollen Forecast
      station_id: 21
      allergens:
        - 3
        - 6
        - 8
        - 20
        - 90
        - 10

but i dont get any sensor created in HA (funnily also no error messages rgd that in the log.
Is this component still working? Havent seen much activity/

Hi, for me, it works, but i have simplest setup:

platform: stampar_pelud
name: Pelud

Try it first like that, where geolocation i taken as source. Also try location that works for me (Zagreb)
I will check later today what is happening with that location 21 (Split), and if it works for me.

@kpisacic thank you! I removed the filter now and I seem to get data for like 3 entities. It seems that Stampar only publishes data for 2 entities on the Split station at all? Crkvina + Ambrozija: https://stampar.hr/hr/peludna-prognoza

Sorry for the confusion... my fault...

Yes, it is possible. you can always check on web - https://stampar.hr/hr/peludna-prognoza , selecting Split as city , you will get only two plants. And when you filtered by the plants that are not in extract, then no entities got returned ;)


Sync develop branch with release 2.0.0 from master

Removed because of getting rid of the develop branch right now instead


Add-on corrupts Kimai projects and activity

As soon as the add-on was installed, and I tried to use it, the moment I reach the “Activity” tab the following message is shown. The problem is that from there on, even trying to create a new time entry results in the same error message. Removing the add-on does not fix the issue, I had to restore from backup.

Hi, I'm running version 2.24.0 through docker compose. Timezone Europe/Sofia and time formatting English (United Kingdom), I'm running the latest version of the add-on. I'll test tomorrow with the previous version. Otherwise, once the corruption occurs, even creating a new time entry the standard way does not work. I also have the "EasyBackup" Plugin if this might be of help.


ModelMapper is updating entity class and not objet from another entity class

Let me describe the scenario:
The framework is Spring Boot. I have two POJO classes representing data that can be persisted in the database. Class Restaurante (Restaurant) and class Cozinha (Restaurant category), they are listed below:
public class Restaurante
{
	private Long id;
	private String nome;
	private BigDecimal taxaFrete;
	private Cozinha cozinha;
	private List<Produto> produtos = new ArrayList<Produto>();
	private OffsetDateTime dataCadastro;
	private OffsetDateTime dataAtualizacao;
	private Endereco endereco;
	private List<FormaPagamento> formasPagamento = new ArrayList<FormaPagamento>();
}

public class Cozinha
{
	private Long id;
	private String nome;
	private List<Restaurante> restaurantes = new ArrayList<>();
}

No big deal up to now. I have a REST endpoint where I update a Restaurante entity data from database. So the call to such endpoint is made this way:
[PUT] request
{{host}}/restaurantes/{restauranteId}
My controller layer is reponsible to handle such request, but the data is not conveyed directly to Restaurante entity. I use a class called RestaurantInput, that is basically equal to Restaurante, but the attribute related to Cozinha.
public class RestauranteInput
{
	private String nome;
	private BigDecimal taxaFrete;
	private CozinhaIdInput cozinha;

}

The CozinhaInput class is basically Cozinha class but the "name" attribute, so in the body of the PUT request I don´t need to write the attribute "name" only the atribute "id" when I intend to update the entity Restaurante.
public class CozinhaIdInput
{
	private Long id;
}

And thus my JSON body of PUT request can be built this way:
   {
        "nome": "Fancy Restaurant",
        "taxaFrete": 177.00,
        "cozinha": {
            "id": 4
        }
    }

Now the context is explained, let´s go to the issue:
The method responsible for updating the entity Restaurante is below:
@PutMapping("/{restauranteId}")
public RestauranteDto update(@PathVariable Long restauranteId,
		@RequestBody @Valid RestauranteInput restauranteInput) {

	Restaurante restaurante = restauranteService.findOrFail(restauranteId);

	restaurante.setCozinha(new Cozinha());   //WORKAROUND

	modelMapper.map(restauranteInput,restaurante );

	try {
		return modelMapper.map(restauranteService.salvar(restaurante ), RestauranteDto.class);
	} catch (CozinhaNotFoundException e) {
		throw new BussinesRuleException(e.getMessage(), e);
	}
}

This code works fine, but if I comment the line commented with "WORKAROUND" the following exception will raise:
Resolved [org.springframework.orm.jpa.JpaSystemException: identifier of an instance of com.algaworks.algafood.domain.model.Cozinha was altered from 1 to 3; nested exception is org.hibernate.HibernateException: identifier of an instance of com.algaworks.algafood.domain.model.Cozinha was altered from 1 to 3]
Let me explain, the Restaurante entity wich I wish to update has a atribute cozinha.id = 1. So I sent a PUT request to updated atribute cozinha.id =3 and it raised the exception because ModelMapper tried to change the ENTITY Cozinha.id (the primary key of Cozinha table) from 1 to 3. And not the column cozinha_id in table Restaurante.
Now if I uncomment the line commented with "WORKAROUND", it works fine, the column cozinha_id and any other attribute mapped in RestauranteInput is correctly updated.
Sorry by the long explanation, but my goal was to be as informative as possible about the (potential) issue.
pomo_xml.pdf

Well, living an update here. After some research I could solve the problem using the ModelMapper framework Converter feature.
       Converter<CozinhaIdInput, Cozinha> cozinhaConverter = new Converter<CozinhaIdInput, Cozinha>() {
            @Override
            public Cozinha convert(MappingContext<CozinhaIdInput, Cozinha> context) {
            	Cozinha cozinha = new Cozinha();
            	cozinha.setId(context.getSource().getId());
                return cozinha;
            }
        };
        modelMapper.addConverter(cozinhaConverter, CozinhaIdInput.class, Cozinha.class);
		modelMapper.map(restauranteInput,restaurante );

So it is not really an issue. But as suggestion the the error user message could be more informative, helping the troubleshooting.


Text fields in articles aren't visible

The background color of an article is the same as the background color of a text field, and the text field doesn't have a border, so the text field becomes invisible when putting a text field inside an article:

One possible approach is to add a border, for example in this diff:
-input, select, textarea {font-size: 1em; color:var(--c4); background: var(--c2); border: 0; padding: 0.6em}
+input, select, textarea {font-size: 1em; color:var(--c4); background: var(--c2); border: 1px solid var(--c4); padding: 0.6em}

which adds a border:

However, I didn't check any other use cases so it's likely this is undesirable in some way.
If it's helpful, here's some reproduction HTML

    <form action="/weather" accept-charset="UTF-8" method="post">

New weather search

        Zip code
        <input type="text" name="zip" id="zip">

          <input type="submit" name="commit" value="Search Weather" data-disable-with="Search Weather">

    </form>

I may not be using this properly, but as far as I can see, the text has no margin which makes it harder to read.


Simplified App Routing in App.jsx

Made the routing in the App component clearer and more organized. Now, it's easier to see which routes are for signed-in users and which ones are for visitors. Removed repeated code for a cleaner look.

Cool stuff @samara6855. Have you pulled the changes made with respect to routes, which was merged some time ago?

Cool stuff @samara6855. Have you pulled the changes made with respect to routes, which was merged some time ago?

Yes, I have made the PRs with respect to the routes.


Remove Symbols shouldn't remove Whitespace

Add a new entry to Remove Characters called Remove Whitespace. It would delete spaces (and maybe tabs?).
Remove whitespace characters from the match for Remove Characters/Symbols.

Fixed in develop-v1.3.0


feat: apply Time Grain to X-Axis column

SUMMARY

Currently, the Time Grain control defines a couple of date truncate functions on the Time Column. Time Grain only be applied if the Time column and X-Axis are set to the same value. This PR is the first step to removing the entire time section.
After this PR, when enabling the GENERIC_CHART_AXES

Time Grain Control removes from Time Section.
Time Grain Control will show if i) applies a Date Column in the X-Axis. ii) applies a Adhoc Column
Time Grain Control will be displayed under X-Axis.

This change allows Time Column and Time Filter to use different columns, Time Series Chart will support different column to set Time Filter and X-Axis, and Time Grain will be applied to the X-Axis.
Supported Charts

Mixed Timeseries Chart
Area  Chart
Bar V2 Chart
Line V2 Chart
Scatter Chart
SmoothLine Chart
Step Chart

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
SQL Pattern

Apply Categorical Column or Date Column to the X-Axis
https://user-images.githubusercontent.com/2016594/187853599-abc7ff9c-957a-428d-b8ff-a6f9767d7a4a.mov
Custom SQL
https://user-images.githubusercontent.com/2016594/187854928-4c566226-a8f6-4fca-9d85-bee7ba1798ec.mov
TESTING INSTRUCTIONS

In order to test this PR, the multiple Date column should provide, so I prepare a CSV (superstore_orders.csv) file for that. Just load this CSV to test this PR.

Native filters should work as before
Time Grain should work as before
Time Grain should apply to X-Axis

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Required feature flags: GENERIC_CHART_AXES
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Pretty cool stuff on the way here..! 👏 Left a few comments. Also, it's slightly difficult to give a good review in the absence of having seen designs or frontend POC code, so if there's anything like that out there I'd love to see it to get a more complete understanding of how this is meant to work eventually.

@villebro Thanks for the review! I will add a frontend part this week for convenience to review.

/testenv up GENERIC_CHART_AXES=true FEATURE_DRILL_TO_DETAIL=true DASHBOARD_CROSS_FILTERS=true

/testenv up GENERIC_CHART_AXES=true FEATURE_DRILL_TO_DETAIL=true DASHBOARD_CROSS_FILTERS=true

/testenv up FEATURE_GENERIC_CHART_AXES=true FEATURE_DRILL_TO_DETAIL=true FEATURE_DASHBOARD_CROSS_FILTERS=true

@michael-s-molina Thanks for the review, I have addressed your comments.

/testenv up FEATURE_GENERIC_CHART_AXES=true FEATURE_DRILL_TO_DETAIL=true FEATURE_DASHBOARD_CROSS_FILTERS=true

Tested in ephemeral env, and the new feature LGTM.
However i have found 2 issues that also in master branch, i will file tickets to follow up.
1, default datetime is not autoselected as the x-axis when multiple column set is temporal
https://user-images.githubusercontent.com/81597121/188827803-5e994ce4-0413-4e74-a22c-d9221934c378.mov
2, when db=sqlite, and use custom sql in x-axis, time grain did not apply
https://user-images.githubusercontent.com/81597121/188827265-26e35d57-dd74-4006-881b-3a151457cbdf.mov

@jinghua-qa Thanks for testing, I'm gonna follow up in a separate PR.


Seed Test Environment with Location Data

Goal - add some placeholder data to the Demo Environment so that it's easier for new open source project contributors to gain context and play with the data.  Also, increase ability to validate/test the map feature being tackled in #707 and #708
Using the UI, I created the following structure for service areas
(see attached for reference images to aid those not familiar with the Philadelphia metro)
Pod

University - Temple (Philadelphia, PA 19122) - Philadelphia, , Lower North
University - Drexel (Philadelphia, PA 19104) - Philadelphia, , West
University - Penn (Philadelphia, PA 19104) - Philadelphia, , West

Neighborhood

Center City (Philadelphia, PA 19107) - Philadelphia,  , Center City
South (Philadelphia, PA 19112) - Philadelphia,  , South
Southwest (Philadelphia, PA 19142) - Philadelphia,  , Southwest
West (Philadelphia, PA 19139) - Philadelphia,  , West
Lower North (Philadelphia, PA 19123) - Philadelphia,  , Lower North
Upper North (Philadelphia, PA 19133) - Philadelphia,  , Upper North
Kensington (Philadelphia, PA 19134) - Philadelphia,  , Kensington
Lower Northeast (Philadelphia, PA 19149) - Philadelphia,  , Lower Northeast
Upper Northeast (Philadelphia, PA 19154) - Philadelphia,  , Upper Northeast
Olney (Philadelphia, PA 19126) - Philadelphia,  , Olney
Germantown (Philadelphia, PA 19119) - Philadelphia,  , Germantown
Roxborough (Philadelphia, PA 19128) - Philadelphia,  , Roxborough
Chester (Chester, PA 19103) - Chester

Region

none

County

Philadelphia City (Philadelphia, PA 19107) - Philadelphia  << all neighborhoods point here, except Chester
Suburbs - Northern (Langhorne, PA 19047) - Bucks
Suburbs - Southern  (Chester, PA 19103) - Delaware
Suburbs - Eastern / NJ (Camden, NJ 08103) - Camden
Suburbs - Western (Wayne, PA 19087) - Montgomery

City

Larger Philadelphia Metro (Philadelphia PA 19107) << all counties point here

Other

none

Items listeed above are in this field order (in case someone wants to make a DB script)

Name (City, ST, Zip) - County, Region, Neighborhood

Philadelphia neighborhood and zip code map

Surrounding county map:

I opened bug #727 while working on this... it seems some items don't show in filters unless all filters are on.

I went through all the contributions and provided offer/ask content to make the system feel more realistic... I think I've done enough here to move the ball forward.  Would like one of the leaders to review and comment or move this to done.

@exbinary wants to get a db snapshot before we close... makes sense!

This is amazing content @kevinschlabach , thank you! 🙌🏾🔥
I've taken a db snapshot on heroku (9/24). Done and done!


nixos-generate-config: Fix parsing 'btrfs subvolume show' of btrfs-progs 4.1

Since the update of btrfs-progs to 4.1, btrfs subvolume related tests
are failing since nixos-generate-config isn't detecting btrfs subvolume
options anymore:
Good build: http://hydra.nixos.org/build/23347516/log/raw
machine#   fileSystems."/" =
machine#     { device = "/dev/disk/by-uuid/33a12c46-f802-4f50-8489-e946bf9ad2b5";
machine#       fsType = "btrfs";
machine#       options = "subvol=nixos";
machine#     };

Bad build: http://hydra.nixos.org/build/23427059/nixlog/2/raw
machine#   fileSystems."/" =
machine#     { device = "/dev/disk/by-uuid/56df7e14-d6ee-4a88-9e13-445c79b344de";
machine#       fsType = "btrfs";
machine#     };

This apparently happens due to change of field names in the output of
'btrfs subvolume show'.

https://github.com/NixOS/nixpkgs/commit/08ff83eab3ade9c923e36f03bc09d297bbe5e9f3 (now merged) is a superset of this. Closing.


How do digits do classify?A strange problem with caffe classification

I have encountered a strange problem,when i use DIGITS to train a model,i got a very nice train and val accuracy,and then i use classifymany function to do classification with my val dataset,it can get the almost same result with the train result. But when i use the model and deploy.prototxt file i extracted directly from digits/jobs/xxx to do classification with python interface,it gets a exactly different result.
To be thiefly,here i use the same picture to do classify one and classify use the python interface().https://github.com/NVIDIA/DIGITS/blob/master/examples/classification/README.md,and here is the different result(classify one get the correct result), and i need to use the result from python classification to integrate into a project,so who can tell me how DIGITS do the classification(I am reading the DIGITS source code now,but i am not very familiar with python,so its hard for me to get the answer and i need to fix this problem as soon as i can)? thanks very much!
classify one:

python interface:

It might help if you re-train your classification model using "pixel" mean subtraction instead of the default "image" mean subtraction.

@gheinrich oh god,thank you very much！ I trained the model using "pixel" mean and then use python interface to do classification with mean.binaryproto and solved this problem,but why this would happen?
I feel very strange because when i trained the model on other dataset it would be ok when train and classify all use mean.binaryproto,this problem only occurs on this dataset.

@c437yuyang you will find answers if you browse the archives (Gtihub issues and discussions on https://groups.google.com/forum/#!forum/digits-users).
The Python classification script is doing mean pixel subtraction. Depending on the dataset, the difference between mean image and mean pixel subtraction will be more or less significant.

@gheinrich thank you!

@gheinrich Can I use "tf.image.per_image_standardization" to make pixel mean?


Please provide a description

Please include a "description" whenever possible. I received a feedback from cx that there was not enough information.
https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/signinlogs

Hi @bwren , @JasonWHowell
any updates on this issue?
Description is still hardly mentioned.

I think these pages are automated docs, so we can't edit the pages directly and have to rely on the development team upstream to improve the text. @bwren may have a relationship with them.

#reassign:EdB-MSFT

tracking internally
#please-close


Allow configuration of API server through config file

Prep work for TEP-0117 to allow future configuration options through config file.
This change allows for both config file options and env var options, where the env var will override the config file option if it is set.

A question for the maintainers (@dibyom, perhaps) - is it worth updating the api.yaml manifest to mount a ConfigMap with a config file that contains non-sensitive info (example - db name, address, protocol?)

A question for the maintainers (@dibyom, perhaps) - is it worth updating the api.yaml manifest to mount a ConfigMap with a config file that contains non-sensitive info (example - db name, address, protocol?)

Sounds good as long as we don't allow passwords over config maps

/ok-to-test


Recent call view shows no data if refreshed data has not enough data to fill up to the currently selected page

This is a quick fix. I have it implemented in the alert view. We have to set the current page to 1 if we intend to change some of the filter. The payload's "page" value will stay the same if we don't do that, which there isn't enough page and the backend will return nothing.
In order to reproduce this, have 25/page filter, go to the latest page number, select higher per page filter value, it will return nothing.
This should be added to the thing.
  useEffect(() => {
    setPageNumber(1);
  }, [perPageFilter]);

@kitajchuk

useEffect(() => {
setPageNumber(1);
}, [perPageFilter]);

@khanghugo There's a flash of "No data" on recent calls when you do it that way and also have perPageFilter as a dep on the other useEffect. I'll push a fix on recent calls but I remove the perPageFilter from the other effect and added an handleSelect prop to the SelectFilter component so the call to setPageNumber(1) can be done there.


Added connectable plugin.

We developed and open-sourced at @jillix a svg.js library for connecting SVG elements. Hope you enjoy!

/cc @hanifbbz


Add overriding HTML content to popup - allows for rich popups

This feature allows for pure HTML to be defined for popups, which if required ignores any other image/title/description/link metadata.
Sample deployment and usage

(Suggested improvements welcome!)

The challenge here is avoiding opening up an injection attack. Consider the following query:
https://global-power-plants.datasettes.com/global-power-plants?sql=select+latitude%2C+longitude%2C+json_object('title'%2C+'title+here'%2C+'html'%2C+'
This+is+HTML<%2Fp>')+as+popup+from+[global-power-plants]
select latitude, longitude, json_object('title', 'title here', 'html', '
This is HTML
') as popup from [global-power-plants]
This returns a table of results like this:

latitude
longitude
popup

32.322
65.119
{"title":"title here","html":"This is HTML"}

31.67
65.795
{"title":"title here","html":"This is HTML"}

The person who creates that URL has full control over what goes into that JSON, so they could potentially inject malicious HTML (with custom onclick= handlers and suchlike).
The challenge then is to only allow custom HTML from trusted sources. Maybe this could work but only for predefined Datasette canned queries? That would allow the Datasette administrator to create a canned query with custom markers, without allowing malicious users to inject their own content with a custom SQL query.

The challenge here is avoiding opening up an injection attack. Consider the following query:
https://global-power-plants.datasettes.com/global-power-plants?sql=select+latitude%2C+longitude%2C+json_object('title'%2C+'title+here'%2C+'html'%2C+'
This+is+HTML<%2Fp>')+as+popup+from+[global-power-plants]
select latitude, longitude, json_object('title', 'title here', 'html', '
This is HTML
') as popup from [global-power-plants]
This returns a table of results like this:

latitude
longitude
popup

32.322
65.119
{"title":"title here","html":"This is HTML"}

31.67
65.795
{"title":"title here","html":"This is HTML"}

The person who creates that URL has full control over what goes into that JSON, so they could potentially inject malicious HTML (with custom onclick= handlers and suchlike).
The challenge then is to only allow custom HTML from trusted sources. Maybe this could work but only for predefined Datasette canned queries? That would allow the Datasette administrator to create a canned query with custom markers, without allowing malicious users to inject their own content with a custom SQL query.

Oh, because SQL in the input means you can always have user code. Wow. That's not a vector I considered. I'm just gonna close this PR. I'm sure you could do some sanitation of the input, but I'm going to step away from this one.

Oh, because SQL in the input means you can always have user code. Wow. That's not a vector I considered. I'm just gonna close this PR. I'm sure you could do some sanitation of the input, but I'm going to step away from this one.

I've addressed this in a couple of other plugins through liberal application of Mozilla's Bleach library. datasette-atom is a great example - you can put any HTML you like through it but it gets cleaned before being output: https://github.com/simonw/datasette-atom/blob/0.8.1/datasette_atom/init.py
I just spotted it has a allow_unsafe_html_in_canned_queries plugin configuration option to support fully custom HTML without opening an injection attack.

I've addressed this in a couple of other plugins through liberal application of Mozilla's Bleach library. datasette-atom is a great example - you can put any HTML you like through it but it gets cleaned before being output: https://github.com/simonw/datasette-atom/blob/0.8.1/datasette_atom/init.py
I just spotted it has a allow_unsafe_html_in_canned_queries plugin configuration option to support fully custom HTML without opening an injection attack.


testing pipeline

report link  'https://kubeslice.github.io/e2e-allure-reports/Kind-worker-operator-2022-12-20T11:50:14-master-249/index.html'


Presets not saving on runelite close

I am trying to make multiple presets. I made one as a base preset with all of my plugins unchanged and that preset saves and works fine. Every preset I have made after the first does not save when runelite is closed.
I am trying to save them all to config because I play on multiple computers.

Hi, iirc you have all of your presets saved to config (the cloud icon), are you able to reproduce this reliably with some steps I could test? I have seen something like this happen before but haven't got to testing and fixing it yet.

Yes. I only have 1 preset right now when I launch runelite. If I were to make a new preset and close runelite it would not save.

If I were to make a new preset and close runelite it would not save.

Is the made preset saved to config or preset folder? How do you close RuneLite?
Which os you play on and do you use Jagex launcher? Are you logged into RuneLite with Google account?

Made preset is saved to config. I close runelite buy logging out and then
clicking x to close.
I play on Windows 10, do not use the Jagex launcher, and I am logged into
runelite with a gmail account.
On Fri, Feb 3, 2023, 2:56 PM antero111 @.***> wrote:

If I were to make a new preset and close runelite it would not save.
Is the made preset saved to config or preset folder? How do you close
RuneLite?
Which os you play on and do you use Jagex launcher? Are you logged into
RuneLite with Google account?
—
Reply to this email directly, view it on GitHub
https://github.com/antero111/plugin-presets/issues/51#issuecomment-1416393705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5UF45FLMAYB2SRKNYMNMR3WVVWG5ANCNFSM6AAAAAAUQOIKYY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have the same issue.
Somehow only my 2 existing presets wont get deleted. But every time I make a 3rd one and close RuneLite and start it again the preset is gone.
My other 2 presets are synced with the option Config and have no issues.
Exact steps of what I do:

Set up different plugin settings.
Press the + button in Plugin Presets.
Switch the toggle to Config in the top.
Press Add all
Close RuneLite.
Open RuneLite and it's gone.

I also tried to reverse step 3 and 4 but it made no difference.
OS is Windows 10 22H2. My colleague on Windows 11 has the exact same problem.

I think there could potentially be conflicts when saving a preset to config with plugins from the plugin hub selected. The first preset I made has them all selected and it saves without an issue, but again every subsequent preset gets deleted.
I tried testing if just selecting 1 plugin to change for a preset would save and it did save successfully to config. The plugin I chose randomly was "xp drops".
The next test I did was if it was having issues saving plugins with custom settings for instance bank tags with bank tabs added and it didn't have issue saving those either.
The next test I did was after a preset had been saved successfully if I could "add all" plugins and on relaunch it would keep the plugins that had been saved successfully before, but not the new ones added.
I then added all plugins and then unchecked all plugins with the (E) next to them and the preset saved successfully.
I then reloaded runelite and tried once again to add the plugins from the plugin hub to the preset and it did not save successfully.
The plugins I currently have downloaded from the hub are:
https://i.imgur.com/go7oAZp.png
https://i.imgur.com/olZNvWw.png

Hi, I have been testing this issue for some time now and I haven't really been able to reproduce the problems you guys are having. I think that there is some step that I am missing but here is some notes about my testing:
Logging in with Google to RuneLite works fine and it saves an instance of your RuneLite settings as it should.  Presets saved to config are stored to each settings.properties configuration file per client and when logged in, saved to RuneLite's "cloud settings file".
Presets stored locally to the preset folder are shared across every client regardless of the client instance or logged in status. Presets saved to config are shown to that instance that can see it e.g. different open clients have their own "instances" and if you store a preset to one clients config, it won't show in the other client.

Presets saved to config are shown to that instance that can see it

This works also when logged in to RuneLite e.g. in home pc and then also logged to work pc. When opening client that is logged in, should load all presets stored in the RuneLites cloud config and made. For example if you made a pvm preset and stored it to the cloud at home, opening RL at work should show the made pvm preset. If not, then hitting the refresh presets can fix it in the green + context menu.
One important note to that is that RuneLite saves the config when the client closes. So when creating a preset saved to config at home, the presets only gets synced to the work pc after the client that made the presets gets closed and its config saved to RuneLites cloud. This apply to preset saved to config when not logged in to RL, the config still need to get updated (e.g. client need to be closed) to show the config preset in another client config instance.
Regarding to that testing I made, I haven't been able to accidentally delete any preset even when logging in and out of RuneLite and closing and creating presets with different configurations and plugin hub presets.

Somehow only my 2 existing presets wont get deleted.

Can you elaborate some more on this. How exactly presets won't get deleted?
Regarding to plugin hub plugins: there is a real possibility that some hub plugin causes some problems and if so, its really annoying to start fixing those because there will be next plugin that also break something and then we are in an endless cycle of plugins breaking each other. I'm good when the plugins works as if RuneLite was ran in safemode except with plugin presets enabled.
If you guys are willing to do some more testing, try to click the "refresh presets" when replicating your previous steps to see if it makes any changes. Also it would help a lot if someone could test these with a "fresh install" e.g. with very minimal ammount of hub plugins and updated client. RuneLites safemode won't really be helpful because it disables all hub plugins.

My issue got fixed.
The problem is that I didn't understand how it is supposed to work.
Before I used to include all my plugins to every preset, because I thought I needed to include it for it to sync.
When I realized I used it wrong, I deleted all my presets and only added the plugins that actually made a difference, like FPS Control and GPU.
I got 5 presets now and no issues anymore. maybe this is also the problem of @AFKLgnd.
Another nice thing now is that I don't have to modify every plugin in the other preset when I made a change in my main one. I really  did understand it all wrong lol. Glad it's fixed and thanks for the plugin its working like a charm.

I'm confused at how the presets disappeared before but not after that @zeroquinc. If you still add all the plugin to one preset, does that preset disappear? If so I think its because of some hub plugin but I'd like to know which one. ´

Closing as stale. Reopen if still an issue


Update managed cluster

Added content for managed cluster

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/cap-runtime-topology/docs/

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/cap-runtime-topology/docs/


Compiling Flutter Engine for iOS results the different binary size in release mode

We recently encountered an issue when using version 3.7.12 and would like to seek your help.
We noticed Flutter 3.7 used some private APIs of Apple, which carries the risk of rejection. The specific issue link is: https://github.com/flutter/flutter/issues/124008. To avoid this risk, we hope to fix this issue based on 3.7.12. We compiled the iOS Engine according to the official tutorial, but the generated binary (/artifacts/Flutter.xcframework/ios-arm64/Flutter.framework/Flutter) is 87KB smaller than the official version. The size of the binary we compiled locally is 9,107,128 bytes, while the official 3.7.12 engine size is 9,196,672 bytes.
Our operation steps are as follows:

Create an empty engine folder and a .gclient file with the following content:

solutions = [
  {
    "managed": False,
    "name": "src/flutter",
    "url": "[git@github.com](mailto:git@github.com):0xcj/engine.git@1a65d409c7a1438a34d21b60bf30a6fd5db59314",
    "custom_deps": {},
    "deps_file": "DEPS",
    "safesync_url": "",
  },
]

sync the code.
gclient sync

simulator-x64:
./flutter/tools/gn --ios --runtime-mode debug --simulator --no-lto

simulator-arm64:
./flutter/tools/gn --ios --runtime-mode debug --simulator --simulator-cpu=arm64 --no-lto

release:
./flutter/tools/gn --ios --runtime-mode release

I didn't use the --prebuilt-impellerc parameter. The tip for this parameter indicates I should not use it: “PREBUILT_IMPELLERC Absolute path to a prebuilt impellerc. Do not use this outside of CI or with impellerc from a different engine version”.

Compile:
ninja -C out/ios_debug_sim && ninja -C out/ios_debug_sim_arm6 && ninja -C out/ios_release

Generate framework:

 cd mypath/engine/src/flutter/sky/tools

 python3 create_full_ios_framework.py

 --dst /mypath/engine/src/out/ios/ios-release-framework

 --arm64-out-dir /mypath/engine/src/out/ios_release

 --simulator-x64-out-dir /mypath/engine/src/out/ios_debug_sim

 --simulator-arm64-out-dir /mypath/engine/src/out/ios_debug_sim_arm64

 --dsym —strip

Since the create_full_ios_framework.py script didn't strip symbols correctly, I used the code from this PR for this file: https://github.com/flutter/engine/pull/41097
Our Xcode version is 14.2. The whole building process has no errors.
The above are the operations we performed. Looking forward to your reply. Please advise if we missed any critical configurations, or if there are more complete building workflows for the release environment engine for reference.
We would be extremely grateful if you could provide any help or suggestions to make the self-compiled engine consistent with the officially released binary. This is very important for our app release.

We noticed Flutter 3.7 used some private APIs of Apple, which carries the risk of rejection. The specific issue link is: #124008. To avoid this risk, we hope to fix this issue based on 3.7.12.

@0xcj
The linked issue was fixed just couple of months ago and must be on master version, but not in latest stable (3.10) yet.
I am not sure if the fix can be pushed to 3.7.12 release. Maybe you can try to use the commit in that version and see if it helps in your case, or else try running your scenario on latest master to see if it resolve your issue or not.

As you mentioned, we are trying to fix this issue based on version 3.7.12, and everything is going smoothly so far. However, we are uncertain if the commands and parameters being used by the build engine are correct for a production environment. It would be greatly appreciated if a tutorial could be provided for configuring the production build environment.

However, we are uncertain if the commands and parameters being used by the build engine are correct for a production environment. It would be greatly appreciated if a tutorial could be provided for configuring the production build environment.

Can you elaborate on what exactly are you looking for in a tutorial and what uncertainties you think could occur ?

I am uncertain if the parameters I am using with gn/ninja are correct. I need to compile an engine in release mode.

Create an empty engine folder and a .gclient file with the following content:

solutions = [
  {
    "managed": False,
    "name": "src/flutter",
    "url": "git@github.com:0xcj/engine.git@1a65d409c7a1438a34d21b60bf30a6fd5db59314",
    "custom_deps": {},
    "deps_file": "DEPS",
    "safesync_url": "",
  },
]

sync the code.
gclient sync

simulator-x64:
./flutter/tools/gn --ios --runtime-mode debug --simulator --no-lto

simulator-arm64:
./flutter/tools/gn --ios --runtime-mode debug --simulator --simulator-cpu=arm64 --no-lto

release:
./flutter/tools/gn --ios --runtime-mode release

I didn't use the --prebuilt-impellerc parameter. The tip for this parameter indicates I should not use it: “PREBUILT_IMPELLERC Absolute path to a prebuilt impellerc. Do not use this outside of CI or with impellerc from a different engine version”.

Compile:
ninja -C out/ios_debug_sim && ninja -C out/ios_debug_sim_arm6 && ninja -C out/ios_release

Generate framework:

 cd mypath/engine/src/flutter/sky/tools

 python3 create_full_ios_framework.py

 --dst /mypath/engine/src/out/ios/ios-release-framework

 --arm64-out-dir /mypath/engine/src/out/ios_release

 --simulator-x64-out-dir /mypath/engine/src/out/ios_debug_sim

 --simulator-arm64-out-dir /mypath/engine/src/out/ios_debug_sim_arm64

 --dsym —strip

The difference in binary size may be due to the parameters you are using. Per this note from Compiling-the-engine guideline:

Remove --no-lto if you care about performance or binary size; unfortunately it results in a much slower build.

Perhaps --no-lto flag could make this difference. Please try removing it to see what changes.

I only used the --no-lto parameter in the --simulator mode, it will not affect the --release mode. I just want to know if the parameters I am using with gn/ninja are correct. I need to compile an engine in release mode."

We have also encountered the same problem, can the fix be pushed to the stable version?

We compiled the iOS Engine according to the official tutorial, but the generated binary (/artifacts/Flutter.xcframework/ios-arm64/Flutter.framework/Flutter) is 87KB smaller than the official version. The size of the binary we compiled locally is 9,107,128 bytes, while the official 3.7.12 engine size is 9,196,672 bytes.

Those instructions are for building locally; they aren't intended to be a way to exactly replicate our production builds. All of our recipes and bot runs are public if you want to attempt to exactly replicate everything about the environment (exact toolchain, source versions, compile options, packaging, etc.), but documenting all of that separately from the scripts themselves is out of scope (since it would almost certainly never actually stay exactly in sync with the scripts.)

I just want to know if the parameters I am using with gn/ninja are correct.

"Correct" isn't really a well-defined concept here; if you are doing your own build, you can use whatever flags work for your use case. If you mean "identical to the official builds", referring to the build recipes is the best option.


[BUG] - Error when publishing API with associated backend

Release version
v6.0.0-alpha.1.0.8
Describe the bug
When publishing an API with a backend it first tries to change the API policy and as it hasn't created the backend yet it fails because it can't find it.
Publisher failed with error HTTP request to URI https://management.azure.com/subscriptions/***/resourceGroups/XXXXXXX/providers/Microsoft.ApiManagement/service/XXXXXXXXXX/apis/all-ecm2/policies/policy?api-version=2022-08-01 failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"set-backend-service","message":"Error in element 'set-backend-service' on line 33, column 4: Backend with id 'idbackEnd' could not be found."}]}}'.
Expected behavior
Backends should be created first before changing APIS policies.
Actual behavior
The backend is not created before trying to update the policies.
Reproduction Steps
Create a Backend, associate it with an API, export everything and publish it in another APIM.

Please use the latest version of v6. That issue has been addressed in the RC version.


Obsbot Tiny Series Drivers

Can you add Obsbot webcam drivers?
https://www.obsbot.com/download/obsbot-tiny-series

I've created a label for the main software, assuming that is what you meant by "drivers". I've added some notes in the PR about the appNewVersion not being quite right and why, but the initial install is fine.


[SPARK-39893][SQL] Remove redundant aggregate if it is group only and all grouping and aggregate expressions are foldable

What changes were proposed in this pull request?
If all group expressions are foldable, the result of this aggregate will always be OneRowRelation.
And if all aggregate expressions are foldable,  we can OneRowRelation to replace this aggregate.
For example :
SELECT distinct 1001 as id , cast('2022-06-03' as date) AS DT FROM testData

the grouping expressions are : [1001, 2022-06-03]
the aggregate expressions are :  [1001 AS id#274, 2022-06-03 AS DT#275]
so we can skip scan table testData and remote the aggregate operation.
Before this PR:
Aggregate [1001, 2022-06-03], [1001 AS id#274, 2022-06-03 AS DT#275], Statistics(sizeInBytes=16.0 EiB)
+- SerializeFromObject, Statistics(sizeInBytes=8.0 EiB)
   +- ExternalRDD [obj#12], Statistics(sizeInBytes=8.0 EiB)

After this PR:
Project [1001 AS id#218, 2022-06-03 AS DT#219], Statistics(sizeInBytes=2.0 B)
+- OneRowRelation, Statistics(sizeInBytes=1.0 B)

Why are the changes needed?
Remove redundant aggregate
Does this PR introduce any user-facing change?
No
How was this patch tested?
Add UT

Can one of the admins verify this patch?


Contour is not disabling timeouts

Created this tracking issue since contour doesn't support "0s" for HTTPRouteRequestTimeout
I added support to use experimental features - currently we only use HTTPRouteRequestTimeout. https://github.com/knative-extensions/net-gateway-api/pull/710
Contour Issue: https://github.com/projectcontour/contour/issues/6373

Closing as contour upstream has the fix in v1.29.0


OU-615: Enhance Dashboards > Dropdown > PersesDashboards with Polling

Description
TODO

clean up and squash commits

JIRA
https://issues.redhat.com/browse/OU-615
Demo/Screenshots
https://github.com/user-attachments/assets/3b8bc2f2-4a73-4548-b9a8-ee58721404b0
Figure 1. Demo showing polling (video ~1:15 minutes). Dashboards can be added and deleted without having to be manually refreshed. Polling occurs every 15 seconds to update the dashboard drop-down.
Testing
This PR has only been locally tested using the following instructions:

Start the Perses development container with this docker command docker run --name perses -d -p <IP_ADDRESS>:8080:8080 persesdev/perses. Find more info here: https://github.com/perses/perses?tab=readme-ov-file#docker-images
Run the monitoring-plugin locally (e.g make start-frontend and in a separate terminal, make start-console, then navigate to http://localhost:9000 . The monitoring-plugin will be proxying to the perses instance at localhost:8080)
On OCP navigate to Observe > Dashboards > Dashboards Dropdown.
Now you can add/delete dashboards in the local perses instance at http://localhost:8080. These addition/deletes should be reflected in the Dashboards Dropdown when it polls every 15 seconds.

/retest

/retest

@zhuje you can hold off on further for work this. I don't believe this will be necessary with the direction I am working in. Sorry for not letting you know earlier


Add evaluations of h2oGPT models with hendrycks/test - Humanities/STEM/SocialSciences/Other

https://github.com/hendrycks/test/pull/13
https://github.com/EleutherAI/lm-evaluation-harness/pull/497
Want to add Falcon 40B here:

CUDA_VISIBLE_DEVICES=6,7 python main.py --model hf-causal-experimental --model_args pretrained=h2oai/h2ogpt-oasst1-falcon-40b --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda

CUDA_VISIBLE_DEVICES=4,5 python main.py --model hf-causal-experimental --model_args pretrained=h2oai/h2ogpt-oig-oasst1-falcon-40b --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> h2ogpt-oig-oasst1-falcon-40b.16bit.eval.hendrycks.log

From page 15 https://arxiv.org/pdf/2009.03300.pdf
Task Tested Concepts Supercategory
Abstract Algebra Groups, rings, fields, vector spaces, ... STEM
Anatomy Central nervous system, circulatory system, ... STEM
Astronomy Solar system, galaxies, asteroids, ... STEM
Business Ethics Corporate responsibility, stakeholders, regulation, ... Other
Clinical Knowledge Spot diagnosis, joints, abdominal examination, ... Other
College Biology Cellular structure, molecular biology, ecology, ... STEM
College Chemistry Analytical, organic, inorganic, physical, ... STEM
College Computer Science Algorithms, systems, graphs, recursion, ... STEM
College Mathematics Differential equations, real analysis, combinatorics, ... STEM
College Medicine Introductory biochemistry, sociology, reasoning, ... Other
College Physics Electromagnetism, thermodynamics, special relativity, ... STEM
Computer Security Cryptography, malware, side channels, fuzzing, ... STEM
Conceptual Physics Newton’s laws, rotational motion, gravity, sound, ... STEM
Econometrics Volatility, long-run relationships, forecasting, ... Social Sciences
Electrical Engineering Circuits, power systems, electrical drives, ... STEM
Elementary Mathematics Word problems, multiplication, remainders, rounding, ... STEM
Formal Logic Propositions, predicate logic, first-order logic, ... Humanities
Global Facts Extreme poverty, literacy rates, life expectancy, ... Other
High School Biology Natural selection, heredity, cell cycle, Krebs cycle, ... STEM
High School Chemistry Chemical reactions, ions, acids and bases, ... STEM
High School Computer Science Arrays, conditionals, iteration, inheritance, ... STEM
High School European History Renaissance, reformation, industrialization, ... Humanities
High School Geography Population migration, rural land-use, urban processes, ... Social Sciences
High School Gov’t and Politics Branches of government, civil liberties, political ideologies, ... Social Sciences
High School Macroeconomics Economic indicators, national income, international trade, ... Social Sciences
High School Mathematics Pre-algebra, algebra, trigonometry, calculus, ... STEM
High School Microeconomics Supply and demand, imperfect competition, market failure, ... Social Sciences
High School Physics Kinematics, energy, torque, fluid pressure, ... STEM
High School Psychology Behavior, personality, emotions, learning, ... Social Sciences
High School Statistics Random variables, sampling distributions, chi-square tests, ... STEM
High School US History Civil War, the Great Depression, The Great Society, ... Humanities
High School World History Ottoman empire, economic imperialism, World War I, ... Humanities
Human Aging Senescence, dementia, longevity, personality changes, ...  Social Sciences
International Law Human rights, sovereignty, law of the sea, use of force, ... Humanities
Jurisprudence Natural law, classical legal positivism, legal realism, ... Humanities
Logical Fallacies No true Scotsman, base rate fallacy, composition fallacy, ... Humanities
Machine Learning SVMs, VC dimension, deep learning architectures, ... STEM
Management Organizing, communication, organizational structure, ... Other
Marketing Segmentation, pricing, market research, ... Other
Medical Genetics Genes and cancer, common chromosome disorders, ... Other
Miscellaneous Agriculture, Fermi estimation, pop culture, ... Other
Moral Disputes Freedom of speech, addiction, the death penalty, ... Humanities
Moral Scenarios Detecting physical violence, stealing, externalities, ... Humanities
Nutrition Metabolism, water-soluble vitamins, diabetes, ... Other
Philosophy Skepticism, phronesis, skepticism, Singer’s Drowning Child, ... Humanities
Prehistory Neanderthals, Mesoamerica, extinction, stone tools, ... Humanities
Professional Accounting Auditing, reporting, regulation, valuation, ... Other
Professional Law Torts, criminal law, contracts, property, evidence, ... Humanities
Professional Medicine Diagnosis, pharmacotherapy, disease prevention, ... Other
Professional Psychology Diagnosis, biology and behavior, lifespan development, ... Social Sciences
Public Relations Media theory, crisis management, intelligence gathering, ... Social Sciences
Security Studies Environmental security, terrorism, weapons of mass destruction, ... Social Sciences
Sociology Socialization, cities and community, inequality and wealth, ... Social Sciences
US Foreign Policy Soft power, Cold War foreign policy, isolationism, ... Social Sciences
Virology Epidemiology, coronaviruses, retroviruses, herpesviruses, ... Other
World Religions Judaism, Christianity, Islam, Buddhism, Jainism, ... Humanities

CUDA_VISIBLE_DEVICES=6,7 python main.py --model hf-causal-experimental --model_args pretrained=h2oai/h2ogpt-oasst1-512-12b --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> h2ogpt-oasst1-512-12b.16bit.eval.hendrycks.log

`CUDA_VISIBLE_DEVICES=4,5 python main.py --model hf-causal-experimental --model_args pretrained=h2oai/h2ogpt-oasst1-512-20b --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> h2ogpt-oasst1-512-20b.16bit.eval.hendrycks.log

Summary
Model | MMLU Avg
h2ogpt-oasst1-falcon-40b | 0.542
h2ogpt-oig-oasst1-falcon-40b | 0.526
h2ogpt-oasst1-512-20b | 0.261
h2ogpt-oasst1-512-12b | 0.254

CUDA_VISIBLE_DEVICES=4,5 python main.py --model hf-causal-experimental --model_args pretrained=tiiuae/falcon-40b --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> falcon40.16bit.eval.hendrycks.log

CUDA_VISIBLE_DEVICES=4,5 python main.py --model hf-causal-experimental --model_args pretrained=h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v2 --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> h2ogpt-gm-oasst1-en-2048-falcon-7b-v2.16bit.eval.hendrycks.log

CUDA_VISIBLE_DEVICES=4,5 python main.py --model hf-causal-experimental --model_args pretrained=tiiuae/falcon-7b --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> falcon7.16bit.eval.hendrycks.log

CUDA_VISIBLE_DEVICES=6,7 python main.py --model hf-causal-experimental --model_args pretrained=h2oai/h2ogpt-gm-oasst1-en-2048-falcon-40b-v1 --tasks hendrycksTest-abstract_algebra,hendrycksTest-anatomy,hendrycksTest-astronomy,hendrycksTest-business_ethics,hendrycksTest-clinical_knowledge,hendrycksTest-college_biology,hendrycksTest-college_chemistry,hendrycksTest-college_computer_science,hendrycksTest-college_mathematics,hendrycksTest-college_medicine,hendrycksTest-college_physics,hendrycksTest-computer_security,hendrycksTest-conceptual_physics,hendrycksTest-econometrics,hendrycksTest-electrical_engineering,hendrycksTest-elementary_mathematics,hendrycksTest-formal_logic,hendrycksTest-global_facts,hendrycksTest-high_school_biology,hendrycksTest-high_school_chemistry,hendrycksTest-high_school_computer_science,hendrycksTest-high_school_european_history,hendrycksTest-high_school_geography,hendrycksTest-high_school_government_and_politics,hendrycksTest-high_school_macroeconomics,hendrycksTest-high_school_mathematics,hendrycksTest-high_school_microeconomics,hendrycksTest-high_school_physics,hendrycksTest-high_school_psychology,hendrycksTest-high_school_statistics,hendrycksTest-high_school_us_history,hendrycksTest-high_school_world_history,hendrycksTest-human_aging,hendrycksTest-human_sexuality,hendrycksTest-international_law,hendrycksTest-jurisprudence,hendrycksTest-logical_fallacies,hendrycksTest-machine_learning,hendrycksTest-management,hendrycksTest-marketing,hendrycksTest-medical_genetics,hendrycksTest-miscellaneous,hendrycksTest-moral_disputes,hendrycksTest-moral_scenarios,hendrycksTest-nutrition,hendrycksTest-philosophy,hendrycksTest-prehistory,hendrycksTest-professional_accounting,hendrycksTest-professional_law,hendrycksTest-professional_medicine,hendrycksTest-professional_psychology,hendrycksTest-public_relations,hendrycksTest-security_studies,hendrycksTest-sociology,hendrycksTest-us_foreign_policy,hendrycksTest-virology,hendrycksTest-world_religions --device cuda  &> h2ogpt-gm-oasst1-en-2048-falcon-40b-v1.16bit.eval.hendrycks.log

Hendrycks MMLU Scores

Model
MMLU Avg

h2ogpt-oasst1-falcon-40b
0.542

tiiuae/falcon-40b
0.541

h2ogpt-gm-oasst1-en-2048-falcon-40b-v1
0.537

h2ogpt-oig-oasst1-falcon-40b
0.526

h2ogpt-oasst1-512-20b
0.261

h2ogpt-gm-oasst1-en-2048-falcon-7b-v2
0.256

h2ogpt-oasst1-512-12b
0.254

tiiuae/falcon-7b
0.252


Update nightly branch after successful build

Overview
This is part of #3140. I created a new PR into dev because this no longer affects the workflow file (and so doesn't need to go into main directly) and because there was a bunch of unnecessarily messy history in #3183.

Update the nightly branch if the scheduled nightly build is successful.
Use [[ modern bash conditionals ]] throughout the script.
Track success of various different steps in separate environment variables.
Use the && to combine exit statuses of the commands inside functions so we can track the success/failure of the entire chain of commands.
Send output from all of the functions to the logfile in the same way.

Testing
Kinda need to run a real scheduled deployment...
# To-do list
- [ ] Make sure full ETL runs & `make pytest-integration-full` passes locally
- [ ] For major data coverage & analysis changes, [run data validation tests](https://catalystcoop-pudl.readthedocs.io/en/latest/dev/testing.html#data-validation)
- [ ] If updating analyses or data processing functions: make sure to update or write data validation tests
- [ ] Update the [release notes](../docs/release_notes.rst): reference the PR and related issues.
- [ ] Review the PR yourself and call out any questions or issues you have

This seems to be working, but it's unable to actually do the FF merge to update the nightly tag for reasons that I don't understand.
I'm currently attempting to run the build-deploy-pudl action after:

setting nightly to point at dev
rebasing the update-nightly-branch branch off of dev

So nightly/dev is definitely in the history of this branch, and it should be possible to merge --ff-only.  HOWEVER, for some reason the commit that's associated with the testing-2023-12-29 tag inside the container when the action runs is DIFFERENT from the commit that's associated with that tag on GitHub and in my local repo after the action runs:
In my local repo / on GitHub:
commit 898837b683f4fb312848683bd7e903c4608cedad (HEAD -> update-nightly-branch, tag: testing-2023-12-29, origin/update-nightly-branch)
Author: Zane Selvans<EMAIL_ADDRESS>Date:   Thu Dec 28 09:17:02 2023 -0600

    Don't fetch NIGHTLY_TAG

But if I check out the hash that's associated with the testing-2023-12-29 tag inside the container:
commit d47cacb9a6d75a544c4d737a0078e2bd6ff4ced7 (HEAD)
Author: Zane Selvans<EMAIL_ADDRESS>Date:   Thu Dec 28 09:17:02 2023 -0600

    Don't fetch NIGHTLY_TAG

It seems like it is caching a version of the repo from before I did the rebase.
Could this be the stale container problem? Where it's not using the most recent version of the container to run the build?  But shouldn't it be updating the local repository inside the container when it runs?
function update_nightly_branch() {
    git config --unset http.https://github.com/.extraheader && \
    git config user.email<EMAIL_ADDRESS>&& \
    git config user.name "pudlbot" && \
    git remote set-url origin<EMAIL_ADDRESS>&& \
    git checkout "$NIGHTLY_TAG" && \
    git tag && \
    echo "Updating nightly branch to point at $NIGHTLY_TAG." && \
    git fetch origin nightly:nightly && \
    git checkout nightly && \
    git merge --ff-only "$NIGHTLY_TAG" && \
    git push -u origin
}

I guess maybe it's not. It's just checking out whatever $NIGHTLY_TAG is present in the repo in the container already and if the container is stale, then the commit associated with the tag will be stale.

I updated the nightly build script to delete the local (possibly stale) $NIGHTLY_TAG and re-fetch it from origin and now the hash for the container, local, and GitHub versions of the tag are all identical, and it is still unable to merge --ff-only so I don't understand what the problem is.

Woohoo! There’s probably some rebase in there on your feature branch that
makes it so that the nighty branch isn’t actually pointing at an ancestor
of the nightly tag. I can take a look when I’m at a computer. Have the
flaky execution problems resolved themselves?
Zane Selvans @.***>于2023年12月29日 周五上午11:03写道：

I updated the nightly build script to delete the local (possibly stale)
$NIGHTLY_TAG and re-fetch it from origin and now the hash for the
container, local, and GitHub versions of the tag are all identical, and it
is still unable to merge --ff-only so I don't understand what the problem
is.
—
Reply to this email directly, view it on GitHub
https://github.com/catalyst-cooperative/pudl/pull/3195#issuecomment-1872190014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATBKMWS6TZWV5WYSJX5WELYL3SUHAVCNFSM6AAAAABBFBRPM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGE4TAMBRGQ
.
You are receiving this because your review was requested.Message ID:
@.***>

Hmm but after reading your earlier comments…  this is still weird and I
will poke around when I get home.
Dazhong Xia @.***>于2023年12月29日 周五下午1:42写道：

Woohoo! There’s probably some rebase in there on your feature branch that
makes it so that the nighty branch isn’t actually pointing at an ancestor
of the nightly tag. I can take a look when I’m at a computer. Have the
flaky execution problems resolved themselves?
Zane Selvans @.***>于2023年12月29日 周五上午11:03写道：

I updated the nightly build script to delete the local (possibly stale)
$NIGHTLY_TAG and re-fetch it from origin and now the hash for the
container, local, and GitHub versions of the tag are all identical, and it
is still unable to merge --ff-only so I don't understand what the
problem is.
—
Reply to this email directly, view it on GitHub
https://github.com/catalyst-cooperative/pudl/pull/3195#issuecomment-1872190014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATBKMWS6TZWV5WYSJX5WELYL3SUHAVCNFSM6AAAAABBFBRPM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGE4TAMBRGQ
.
You are receiving this because your review was requested.Message ID:
@.***>

@zaneselvans what's the logging output you see when it's trying to merge --ff-only and failing?

@jdangerx  Maybe this doesn’t make sense but I wonder if there’s any way that the test-docker-build which builds the image and doesn’t push it to DockerHub and does cache the image locally on GitHub is interfering with the GCE deployment somehow. Like if we kick off build-deploy-pudl before test-docker-build has finished then there’s a conflict?
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load

I will be amazed if it all still works on the first try. 😆
I went ahead and merged it all the way into main so that the nightly build will try and use the new workflow, and so (hopefully) the --ff-only merge will work.


How to Repair iphone System to Normal after ios 11 Upgrade?

Is your iPhone stuck in headphone mode or Apple logo? Is your iPhone disabled for water damaged or unlocking failure? Is your iPhone got trouble in red/black/white/blue screen death? Or is your iPhone just frozen for some unknown reasons? Don’t worry about it. The most professional iOS System Recovery lets you fix iPhones to the normal state in an easy way as long as your iPhone is still able to enter the DFU mode or Recovery mode by following up our guide.
Method to fix ios system to normal after ios 11 upgrade:
There are various third-party iOS recovery programs that can be used to fix iOS Recovery Mode. However, this final tutorial section will only focus entirely on showing you how to use the iOS System Recovery application to fix iOS Recovery Mode. Despite being primarily designed to perform local restores for iDevices, the tool also can be used to fix almost all kinds of iOS Recovery issues.
MORE INFO:
Steps to repair iphone system to normal
How to Repair iPhone That Won't Turn On
Fix iPhone or iTunes Error 3419,3014,4005,4013,4014

iOS System Recovery is the world's 1st data and system recovery program for almost all iOS devices. With its help, you can easily to fix the abnormal iOS return to normal without losing data. So, you can one click to fix iPhone to normal after iOS 11 update by using this tool.


support search voter in search box

paste voter address to search box and enter, then can go to voter detail page

implementation pull request:
https://github.com/tomochain/tomomaster/pull/174


Add tril & triu kernels and op

Add tril & triu kernels and op

triu passes all UTs

Cases look good to me. python_ref covers all dtypes.


New command: open Azure portal on the page to manage the selected AAD app reg

Usage
m365 app open [options]
Description
Returns deep link to open Azure portal on the page to manage the current AAD app registration
Options

Option
Description

--appId [appId]
Client ID of the Azure AD app registered in the .m365rc.json file to retrieve API permissions for

--preview
Specify, to open the page in the preview version of the Azure portal (preview.portal.azure.com)

Additional Info
No response

Love this idea, streamlining the workflow from command line to browser ❤

You can assign this one to me guys 👍

Is it an idea if we would add an optional parameter autoOpenBrowser, just like with the auth config param autoOpenBrowserOnLogin?

Absolutely! Great suggestion!


[bug] something crashed

match (s)-[:relation*1..3]-(e) where id(s) == 1 RETURN count (distinct id(e))

there are only 200 nodes, and they are fully directed connected pairwise.  but this query takes too many memory.
You can reproduce this case very easy.
[1330702.883214] Out of memory: Kill process 9695 (nebula-graphd) score 926 or sacrifice child
[1330702.883350] Killed process 9695 (nebula-graphd) total-vm:22125060kB, anon-rss:15918864kB, file-rss:0kB, shmem-rss:0kB
[1330703.599318] oom_reaper: reaped process 9695 (nebula-graphd), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

free -m
              total        used        free      shared  buff/cache   available
Mem:          16039         303       15517           0         218       15460
Swap:          4095         431        3664

is it reasonable for a 200 nodes network?

besides, why memory is not released after query is over.

@CPWstatic Do you think this has anything to do with https://github.com/vesoft-inc/nebula-graph/issues/948

I didn't reproduce this OOM error, this is my test:
(czp@nebula) [nba]> match (s)-[:like*1..3]-(e) where id(s) > "Aim Duncan" RETURN count(s)
+----------+
| count(s) |
+----------+
| 4196     |
+----------+
Got 1 rows (time spent 593547/596232 us)

(czp@nebula) [nba]> match (s)-[:like*1..3]-(e) where id(s) > "Aim Duncan" RETURN count(e)
+----------+
| count(e) |
+----------+
| 4196     |
+----------+
Got 1 rows (time spent 554468/556884 us)

(czp@nebula) [nba]> match (s)-[:like*1..3]-(e) where id(s) > "Aim Duncan" RETURN count(distinct id(e))
+-----------------------+
| count(distinct id(e)) |
+-----------------------+
| 44                    |
+-----------------------+
Got 1 rows (time spent 510485/510862 us)

(czp@nebula) [nba]> match (s)-[:like*1..3]-(e) where id(s) == "Tim Duncan" RETURN count (distinct id(e))
+-----------------------+
| count(distinct id(e)) |
+-----------------------+
| 29                    |
+-----------------------+
Got 1 rows (time spent 32305/32680 us)

Suppose to be OOM.


find/filter in allDocs result

Hi,
First thanks a lot for all pouchDB
after some successfull use, i go deeper regarding performances and faces some problem on filtering
I built my base as recommanded regarding IDs
(Use and abuse your doc IDs https://pouchdb.com/2014/05/01/secondary-indexes-have-landed-in-pouchdb.html)
--> a great advice as it is fast querying and covers most of my cases
But, sometime, i need to filter these results regarding a property of the contained doc.
Using allDocs, then filter the result in my js works but becomes slow when database grows, especially for top_level keys.
Using secondary index does not benefit from primary startkey/endkey result. It returns all the docs according the filtered index.
My question : what is the better solution ? use a secondary index ? but can i then benefit of a first filtering with allDocs ? Is there a way to combine primary and secondary index searches ?
Use case example
docs = {
{_id: "a_1", type: "t1"},
{_id: "a_2", type: "t1"},
{_id: "a_1_b_2_c_3", type: "t2"},
{_id: "a_1_b_2_c_4", type: "t2"},
{_id: "a_2_b_5_c_6", type: "t3"},
{_id: "a_2_b_5_c_7", type: "t3"},
{_id: "a_1_b_2", type: "t4"},
{_id: "a_2_b_5", type: "t4"}
}

looking for all docs with _id starting with a and with type: t1
Is something like this do-able ? any other suggestion welcomed
let options = {};
options.startkey = 'a_';
options.endkey = 'a_\uffff';
options.magic_filter = ... to be defined ... that checks type==='t1'
options.include_docs: true;
options.conflicts: true;

result = pouchdb.allDocs(options);

-->

{_id: "a_1", type: "t1", ...},
{_id: "a_2", type: "t1", ...}

If I were you I would maybe use find() to find all docs of a certain type, and then filter in-memory.
The best way to think of this is to imagine which ordering (type then id vs id then type) will result in the smallest possible slice of your database, and then use that ordering. You could also do:
find({
  type: 't2',
  _id: {$gt: 'a_', $lt: 'a_\uffff'}
})

and let pouchdb-find do the rest. But I admit I'm not sure which index it will use; you'll need to test.

Hi Nolan,
thanks a lot for your response.
You perfectly spotted the main problem requiring the smallest possible slice after first filtering. I'm actually calculating this in many of my uses cases. Results seems to be 'it depends' :-). Thanks a lot for focusing on this metric
Btw, some questions

is there any overhead estimation querying a secondary index versus the primary on _id

idea regarding primary index
due to particularity of my _id keys, the type can be deduced from the _id,
simplifying the use case presentation can lead to something like

docs = {
{_id: "a_1", type: "a"},
{_id: "a_2", type: "a"},
{_id: "a_1_b_2_c_3", type: "c"},
{_id: "a_1_b_2_c_4", type: "c"},
{_id: "a_2_b_5_c_6", type: "c"},
{_id: "a_2_b_5_c_7", type: "c"},
{_id: "a_1_b_2", type: "b"},
{_id: "a_2_b_5", type: "b"}
}

if i consider allDocs, with startkey and endkey, we are not in fact so far from the result
the startkey is a_
if endkey is a_\uffff --> i'll get all the docs
is there any strategy that would lead to express endkey as
a_ + other characters until '_'
Thanks again for your response
Laurent

Hi Nolan,
FYI, i tested a _design/my_filter (with a map: function on doc.t) and it improves things on root keys as a_. That was my primary need
I'll test with pouchdb-find
I'm still interested in any possibility manipulating primary keys
Thanks again for your advices ... and pouchdb :)


Mention torcx will be less actively used

closes #123

Happy to change wording, but I think a note to this effect in the readme would be useful.

@lucab @squeed @bgilbert thoughts?

One more ping, otherwise will close this out in about a week.

@kamalmarhubi sorry for the very late reply, I missed earlier pings. I'm in favor of closing this PR. In general we are not going to announce deprecation plans for every single component, but just the umbrella one for Container Linux (covering all projects custom built/maintained for it).

Makes sense, thanks for the info!


Jelly Button

Fixes Issue🛠
Closes #70
Description👨💻
I have added the Jelly Button.
Type of change📄

[X] New feature (non-breaking change which adds functionality )

Checklist✅

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have added demonstration in the form of GIF/video file
[X] I am an Open Source Contributor

Screenshots/GIF📷

Pls resolve the conflicts @GhoshAditi

@Rakesh9100 I have resolved the conflict. Please check it.

No, conflicts are not resolved.
Also why there are so much spaces @GhoshAditi


Upgrade to wasmd 0.30.0-rc0

Upgrade wasmd to v0.30.0-rc0 and ibc to v4.2.0

Codecov Report

Merging #479 (841e492) into main (7cf259d) will increase coverage by 0.00%.
The diff coverage is 84.21%.

@@           Coverage Diff           @@
##             main     #479   +/-   ##
=======================================
  Coverage   56.67%   56.67%
=======================================
  Files          73       73
  Lines        5824     5831    +7
=======================================
+ Hits         3301     3305    +4
- Misses       2200     2203    +3
  Partials      323      323

Impacted Files
Coverage Δ

app/ante.go
51.21% <ø> (ø)

app/test_access.go
0.00% <ø> (ø)

x/poe/keeper/historical_info.go
91.30% <ø> (ø)

x/twasm/contract/incoming_msgs.go
85.10% <ø> (ø)

x/twasm/types/test_fixtures.go
84.44% <72.72%> (-2.62%)
:arrow_down:

app/app.go
87.59% <100.00%> (ø)

x/twasm/keeper/genesis.go
70.58% <100.00%> (+0.43%)
:arrow_up:

x/twasm/types/genesis.go
87.27% <100.00%> (+0.23%)
:arrow_up:


⚠ Bofrost.at has degraded performance

In 1f2ee75, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2767 ms

Resolved: Bofrost.at performance has improved in b9c0b3e after 6 minutes.


Links broken when exporting to PDF

The Table of content links and most other links are currently broken when using the Download PDF button. This results in a PDF that is hardly usable.

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

ID: ebd94ce7-2cab-c2b8-af5b-2cd022fd6dc7
Version Independent ID: 860530bf-6f98-63fe-c242-1402a82051da
Content: Identity and Access
Content Source: WindowsServerDocs/identity/Identity-and-Access.md
Product: windows-server-threshold
GitHub Login: @billmath
Microsoft Alias: billmath

#please-close

#assign:IngridAtMicrosoft


Added OAuthClientAPI methods to swagger

Currently the OAuthClientApi pieces are bolted on to the connector manually through hand-generated code. these methods should be added to the swagger so that they can just be generated using AutoRest.

Are we going to turn the crank on swagger before ignite?

This was fixed a long time ago.


Carousel directive

Hi,
I have an application that uses AngularUI's carousel directive and I plan to migrate it in topcoat css. Is there any similar directive in topcoat, that I can use?
Thanks,

We are cleaning up and getting ready for a new start on Topcoat from a team within Adobe. There are no current plans for a carousel component in the next release.


Build from branch stable with GMX 2018 failes

I've try to build votca-csg from stable branch but it failes with the following message:
[ 58%] Building CXX object csg/src/libcsg/CMakeFiles/votca_csg.dir/modules/io/growriter.cc.o
/user/leuven/307/vsc30783/vsc_data/software/2018a/votca/1.5/src/votca/csg/src/libcsg/modules/io/gmxtopologyreader.cc(53): error: class "gmx_mtop_t" has no member "nmolblock"
      size_t nmolblock=mtop.nmolblock;
                            ^

/user/leuven/307/vsc30783/vsc_data/software/2018a/votca/1.5/src/votca/csg/src/libcsg/modules/io/gmxtopologyreader.cc(76): error: class "gmx_molblock_t" has no member "natoms_mol"
              size_t natoms_mol = mtop.molblock[iblock].natoms_mol;
                                                        ^

GROMACS: 2018.7
Compiler: Intel <IP_ADDRESS>7018
Boost: 1.68

You might have more success with clang, or gcc. What cmake flags did you use?

The build with gmx2018 passes in the CI:
https://gitlab.com/votca/votca/-/jobs/270053456
I thought https://github.com/votca/csg/commit/5963e51809d1b33131c0ee1f5042ad0734834f65#diff-6ec9b941bc3f09d6b331595a497e55e5 had fixed that issue.


Issue when pushing to main?

I just ran into an issue when I pushed to main on cmip6-leap-feedstock.
Seems that for pushing to main the following is not true?
assert len(pulls) == 1  # pretty sure this is always true, but just making sure

Just wanted to flag this.

Thanks for the report. Yeah that makes sense, because we're looking for pulls associated with the commit, for which there are none if we push to main. Error message could definitely be clarified and/or we could catch this earlier. Nice accidental enforcement of "never push to main" convention here 😄


add ability to specify client identifiers in rate limit rules

This adds the ability to specify client identifiers in rate limit rules, which fixes https://github.com/signalsciences/terraform-provider-sigsci/issues/60.
In order to have nested client identifiers within the rate_limit clause I had to change rate_limit from a TypeMap to a TypeSet. This means rate_limit will change from (example):
rate_limit = {
  threshold = 6
  interval  = 10
  duration  = 300
}

to (example):
rate_limit {
  threshold = 6
  interval  = 10
  duration  = 300

  client_identifiers {
    type = "ip"
  }
}

I'm also making client_identifiers a required attribute because while the API will default to
client_identifiers {
    type = "ip"
}

when there is no client_identifiers specified, any terraform plan after the initial apply will show a diff in client_identifiers if it's not in the TF.

hi, any updates on this?

Hello, are there any updates on this request. We would appreciate this functionality as there is no possibility to use the ratelimits of Sig-Sci as intended without identifying a single client.

Hi all, we have officially released version 3.0.0 of the NGWAF Terraform provider. This adds support for non-IP client identifiers.
This is a breaking change. Please refer to the upgrade guide, which outlines the changes that you will need to make in order to upgrade:
https://registry.terraform.io/providers/signalsciences/sigsci/latest/docs/guides/3.0.0
cc @sjparkinson @tdysko-cf @nicorahm99


Why round p-value and FDR to 4 digits in DMR output?

Is there some reason we shouldn't use p and FDR values <1E-4 ?   It would be useful to see smaller values.
See code:
https://github.com/bardetlab/methylasso/blob/b61fe626300705e35f1bf21fcc27fe7d31715758/MethyLasso.R#L413

Dear Ben, no reason at all indeed. I just removed the round. Happy to get your feedback on MethyLasso once you have used it ;-) Best, Anaïs

Dear Ben,
For your information, if you were using bismark output files as input to MethyLasso, we just fixed an issue in MethyLasso.R to take the correct columns as input so this file should be replaced or options "--mC 5 --uC 6" specified.
I'm very sorry for that.
Best,
Anaïs


Investigate fides-js font options

Is your feature request related to a specific problem?
It's difficult to ship a font in fides-js that matches the design since Inter is not a browser default. We should investigate what options we have for fonts that can still play nicely with a customer's website.
Describe the solution you'd like
Let's make a plan for what to do about fonts!
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
https://github.com/ethyca/fides/pull/3429#discussion_r1214402591

@allisonking  is this still an issue?


Fix two letter icon spacing

Bug/issue #, if applicable: 102030864
Summary
Fixes the inside spacing of TwoLetter icons.

Dependencies
NA
Testing
Steps:

Assert two letter icons in the nav look correct

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] ~Added tests~ - no need
[x] Ran npm test, and it succeeded
[x] Updated documentation if necessary

@swift-ci test


Add travis.ci integration

Adding an issue to make this public, I am working on my fork on adding travis-ci integration using platform.io. Have some issues with platform.io and the sodaq boards, waiting on response of the platform.io team. When this works I will make a new PR to add this, it enables automatic testing of all examples, including pull requests.
@jpmeijers Please assign this issue to me

@jpmeijers After you merge #27 can you go to https://travis-ci.org/ and register for an account and enable travis-ci for this repository?

Looks there is an issue with platformio.org and the sodaq boards, see https://community.platformio.org/t/missing-variant-h-and-sodaq-board/1325/3

Found the code that causes the warning, made some pull requests to sodaq to get the warning resolved


[CHANGE ME] Re-generated to pick up changes from googleapis.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/2086764c-5635-4e47-b93f-f2bde5ff677e/targets

[ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 330547201
Source-Link: https://github.com/googleapis/googleapis/commit/8f5d456242fb0bdfc505e96e62e22c66aa6e97fd

We should update the commit message to "chore: ..." for this type of PR in the future. @dpcollins-google


renderer: make dpMaterials collapsed shader from the start, including non-shader images

now useless very ugly FindMapInStage is now dropped
now useless heightmap collapsing code is now dropped
extra maps loading for non-shader images is now enabled

as DarkPlaces only supports one kind of lightmap blend operation we can blindly collapse lightmap stages in darkplaces pre-collapsed stages.
So, shader parsing and rendering must be faster, and code is cleaner.
Next step is to merge cube Reflection with lightMapping glsl shader, a lot of code will disappear and bugs with it.

Now, the remaining bugs in solarium maps are:

rendering issue of scrolling collapsed shader, which is a bug in Dæmon we have in Unvanquished if we attempt to do the same: Dæmon only supports proper multi-texturing on textures without effects applied on them. I get the exact same bugs on my test-water map when disabling water shader, and this test map with related assets are built the Unvanquished way from the start;
wrong light curve because of missing sRGB ligthing, something Unvanquished needs if we want physically correct lighting;
non-working water shader, something Unvanquished needs if we want good-looking water;
dynamic light issues on surfaces with cubemap reflection applied over lightmap since only lightmap stage processes the dynamic lights, something that would affect Unvanquished assets if we used that feature, this is asking for a glsl merge to do them in one stage;
issues when strong displacement is applied on textures with discarded fragments (like grids), something that would affect Unvanquished assets if we uses the feature;
bad parallax on boxes, which is an issue in xonotic assets (not engine's fault);
bad translucent on grass, maybe an issue in xonotic assets (they render fine when using another alpha operation…, so maybe the shader does not setup the right operation and darkplaces just not support the other blend mode that may be mistakenly used, like does with lightmap blending).

So basically the remaining issues to render properly the Solarium map are :

Bugs or missing features in Dæmon that are unrelated to Xonotic;
Bugs in Xonotic assets.

Alongside Solarium, the Erbium map is even more buggy than Solarium as shaders are mostly garbage trying to push the right buttons and triggers the Darkplaces Q3 compatibility mode than writing correct Q3 shaders. ¯\_(ツ)_/¯
I'm impressed about the number of bugs and how crippled the design of many Dæmon renderer parts.
Most of bugs are due to design issues, or made easier because of them.
It looks like the XreaL renderer was just cut in pieces to hack some quick and dirty doom3 shader compatibility for showcase purposes, but that was done not the future proof way.


Add serde support

This PR is actually a group of 3 PRs

https://github.com/pop-os/cosmic-text/pull/228
https://github.com/RazrFalcon/fontdb/pull/63
https://github.com/RazrFalcon/ttf-parser/pull/139

Right now, I'm making a slideshow program which uses cosmic-text for shaping and layout. I'd love to be able to serialize my slideshows into a packed serde format, and in order to do that, I need the types in the libraries in these 3 PRs to implement the serde traits.

This might as well be closed, since they will not add serde support within fontdb or ttf-parser.


Should optional field return null?

I was attempting to trace the root cause of mattn/vim-lsp-settings#692, and I found that purescript-language-server is returning null values for optional fields (like documentChanges). Is this intended, and should the LSP client handle null as optional fields?

Yeah I imagine these should be absent rather than null, not sure if this is the lsp server itself or the library used. We should probably be using undefined instead of null in the representation, if that works out the same as absent by the time it gets to the wire


Rich content in menu bar

The Tray menu (the item that sits in the menu bar) does not support rich content (fonts, colours, etc.) unlike the menu items in the dropdown.
@leaanthony What's involved in getting this added to Wails?

It'll be a bit of a refactor but it shouldn't be impossible 😃

On the same note, BitBar supported Nerd Fonts, which allowed using custom icons:

In xBar, those fonts show up like this:

Thanks @omeraloni - you're right, I think that is related, don't you @leaanthony?

I would think so, assuming you need to install nerd fonts on your system to make it work.

@leaanthony yep, you need to install them to make it work

@omeraloni we think this is fixed in the latest release, can you test it and let me know?

@matryer It works, thank you.

Thanks @furkantektas.

Hi @matryer,
Thanks for the huge update to bitbar. I just ported scripts from bitbar to xbar which does utilise nerd font and while the colour/font size is working fine, the nerd front is not being displayed properly.
OS: 10.15.4
xbar: v2.0.32-beta
print(" | size=27 font='DejaVuSansMono Nerd Font Mono'")
print("---")
for alarm in alarms:
    print("%s  %s" % (alarm["Name"], alarm["State"]))

Running the above script in both bitbar and xbar (left is bitbar and right is xbar):

Seems like the custom font issue is still present, could we reopen this issue. Really appreciate all the work.
Thanks,
Kevin

Hi there. We are currently using the postscript name for the font discovery. So
DejaVuSansMonoNerdFontCompleteM-Book

works. That being said the icon is quite high up. Any ideas why this font might do that?

Hi @leaanthony,
Thanks for the hint. The font is showing properly using the postscript location.
Regarding the weird placement, I'm not really sure. It's actually slightly lower on my system when the font size is bigger...mostly likely either mine is an older version of the font or maybe OS version difference?
The placement of the icon will also change when the font size increase/decrease. Not sure how this can be fixed unless there's a way to center the font?

I'll have amother look at it. On my system, it went higher the bigger it was. Almost like it only occupied the top half of the space allocated. I guess font icons will always be subject to local environmental differences, which is why images are the preceded solution.

@kazhala - Just wanted to say thanks for bringing my attention to the font naming issue. I've made a change in Wails to allow the name to be more permissive and tried with your original script and it appears to be working as you originally expected:
echo " | size=26 font='DejaVuSansMono Nerd Font Mono'"
echo "---"

I've pushed a change for xbar so this will be included in the next release. Thanks for helping us improve 👍

Hi @leaanthony, thank you for the hard work and quick action on the matter. Really appreciated!


Sub-footer made visible

Added color to group 1, group 2, and the follow us sections in the sub footer for visibility and centered the texts.
Checklist

[x ] I have summarize what this PR fixes above
[ ] I have provided the issue ID/URL above
[ x] I have not added Bootstrap or jQuery and used correct styling guide.
[x ] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x ] I was the first one to claim the issue or I created the issue

No issue linked, please use the complete template when submitting a pr.