Setting parameters in YAML file

Hi,
thank you for this great library!
I tried to set
cors:
  origins: "*"
  allowedHeaders: "Authorization,X-Requested-With,Content-Type,Accept,Origin"

in my yml file but the library doesn't get those param.
The only way seems setting environment variables.
Looking at the code, these params are obtained with System.getenv("CORS_ORIGINS");
Is there a way to use .yml file?
thank you, again

Thanks for the report. This is intended to work, so I'll dig and see what I can find.

I put together a small test app using dropwizard-core 1.3.2 and dropwizard-simple-cors 0.2.1 (both latest as of this writing), as follows:

Application.java
package ca.grimoire.example.dropwizard.cors;

import ca.grimoire.dropwizard.cors.CorsBundle;

import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;

public class Application extends io.dropwizard.Application<Configuration> {

    public static void main(String[] args) throws Exception {
        new Application().run(args);
    }

    @Override
    public void initialize(Bootstrap<Configuration> bootstrap) {
        bootstrap.addBundle(new CorsBundle<Configuration>());
    }

    @Override
    public void run(Configuration configuration, Environment environment) throws Exception {

    }
}

Configuration.java
package ca.grimoire.example.dropwizard.cors;

import ca.grimoire.dropwizard.cors.config.CrossOriginFilterFactory;
import ca.grimoire.dropwizard.cors.config.CrossOriginFilterFactoryHolder;

public class Configuration extends io.dropwizard.Configuration implements CrossOriginFilterFactoryHolder {
    private CrossOriginFilterFactory cors = new CrossOriginFilterFactory();

    public void setCors(CrossOriginFilterFactory cors) {
        this.cors = cors;
    }

    @Override
    public CrossOriginFilterFactory getCors() {
        return cors;
    }
}

server.yaml
---
cors:
  origins: "localhost"
  allowedHeaders: "Origin"
  allowedMethods: "HEAD"

Run with java -jar example.jar server server.yaml, in the debugger, I confirmed that this sets the filter's alloweed origins to localhost, its allowed headers to Origin, and its allowed methods to HEAD only, overriding all three defaults of *, Authorization,X-Requested-With,Content-Type,Accept,Origin, and all methods, respectively. This is the intended behaviour, and appears to allow the YAML file to override the defaults.
Can you go into more detail about the unexpected behaviour you're seeing?

Hi ojacobson,
here my configuration class:
public class BaseCfg extends Configuration implements AssetsBundleConfiguration {

    private CrossOriginFilterFactory cors = new CrossOriginFilterFactory();

    public void setCors(CrossOriginFilterFactory cors) {
        this.cors = cors;
    }

    @Override
    public CrossOriginFilterFactory getCors() {
        return cors;
    }

    // Timeout for db queries. (Set to 0 to disable)
    public Duration queryTimeout = Duration.minutes(1);

    //Hard limit on results returned from db. (Set to 0 to disable)
    public int maxResults = 100000;

    @Valid
    @NotNull
    public DataSourceFactory database = new DataSourceFactory();

    @Valid
    @NotNull
    public AssetsConfiguration assets = AssetsConfiguration.builder().build();

    @Override
    public AssetsConfiguration getAssetsConfiguration() {
        return assets;
    }

    // Build type (release, debug) and/or build flavor (production, staging, test).
    public String buildVariant = "";

    /**
     * Do not put in config file because usually there is no need to set manually.
     * This is the filesystem path for static files and it is taken from assetsConfiguration
     */
    //@JsonIgnore
    public String staticPath;

    // Send monitoring reports to this url. If empty, report collecting and sending is disabled .
    public String monitorUrl;
    /**
     * Monitoring interval. Set to 0 to disable monitoring.
     * Monitoring implementation is up to the app, nothing is done by default.
     */
    public Duration monitorInterval = Duration.hours(1);

    public ServerSettings serverSettings = new ServerSettings();

    public DebugSettings debug = new DebugSettings();

    public static class ServerSettings {

        // Format and indent output JSON.
        public boolean prettyPrint = false;

         //Allow only requests to the API via HTTPS, not HTTP.
        public boolean allowOnlyHttps = false;

        //'system' to use the java system default timezone, or 'GMT' etc.
        public String outputTimezone = "system";

        /**
         * If the app is behind a reverse proxy, HTTP compression, caching,
         * HTTPS encryption and HTTP/2 are handled by the reverse proxy.
         * Otherwise they must be handled by the app.
         */
        public boolean behindReverseProxy = false;

         //Max size of the request body.
        public Size maxEntityRequestSize = Size.parse("32MiB");
    }

   public static class DebugSettings {

         // Log requests that take longer than the specified time.
        public Duration logRequestsSlowerThan = Duration.seconds(10);

        // Log requests and responses.
        public boolean logRequestResponses = false;

        /**
         * Enable Jersey tracing headers in responses (detailed debug information on
         * Jersey request processing). NEVER enable in production
         */
        public boolean enableDebugTracing = false;

        // Enable debug mode for the view renderer (Freemarker of Mustache).
        public boolean enableViewRendererDebug = false;

         //Enable Hibernate statistics. Never leave enabled in production
        public boolean enableHibernateStats = false;
    }
}

an this is the beginning of my application class with the initialize method:
public class App extends BaseApp<Cfg> {

//    public static CachingAuthenticator<BasicCredentials, User> cachingAuthenticator;

    public static void main(String[] args) throws Exception {
        App app = new App();
        app.run("server", BaseApp.CONFIG_FILE);
    }

    @Override
    public void initialize(Bootstrap<Cfg> bootstrap) {
        super.initialize(bootstrap);
        bootstrap.addBundle(new CorsBundle<Cfg>());
        // Redirect for legacy urls
        bootstrap.addBundle(new RedirectBundle(new PathRedirect(
                ImmutableMap.<String, String>builder()
                        .putAll(RsaJerseyUtil.redirectBundle())
                        .putAll(DashboardJerseyUtil.redirectBundle())
                        .put("/ui", "/mmfgui")
                        .put("/ui/", "/mmfgui")
                        .put("/autoupdate.xml.txt", "/static/autoupdate.xml.txt")
                        .put("/kpi_export", "/ui/api/kpi/mobile/export")
                        .build())
        ));

        bootstrap.addBundle(new DBIExceptionsBundle());
    }
...

setting these two configuration and inserting at the end of the yaml  file
cors:
  origins: "*"
  allowedHeaders: "Authorization,X-Requested-With,Content-Type,Accept,Origin"

I still can't send a request from another website, receiving 401 and cors blocked.  But if I set env variables it works.
Thank you for your support.

That's weird, you have BaseCfg (which doesn't implement CrossOriginFilterFactoryHolder, so shouldn't be allowed as a type parameter in new CorsBundle<...>()), but in your initialize method you have Cfg, instead. Does Cfg extend BaseCfg and implement CrossOriginFilterFactoryHolder? If so, can you show that, as well?

Right. Never mind what I asked (if you want to answer, I'm interested, I just think it's less relevant). Can you add this to your server config:
logging:
  loggers:
    org.eclipse.jetty.servlets.CrossOriginFilter: DEBUG

and then capture and add the line/s including org.eclipse.jetty.servlets.CrossOriginFilter in your logs for me? Helpfully, Jetty actually logs the configuration of the created filter, and I want to be absolutely sure this is a JSON binding issue and not a Jetty issue. If the log lines suggest the config is being ignored entirely, then it's probably JSON binding and I'll dig on that side. If the log lines match your CORS configuration in your YAML file, then something far weirder is going on, but it's going on in the Jetty side and at least I'll know where to look.


Connect without userscript

I was wondering if there was a way to connect to the project without a userscript like feudalwars.glitch.me.

idk


[unrealircd] Automate releaseDate, support and eol retrieval

Based on https://www.unrealircd.org/docs/UnrealIRCd_releases.

Expected diff:
diff --git i/releases/unrealircd.json w/releases/unrealircd.json
index e4f2b7f..f2aeac4 100644
--- i/releases/unrealircd.json
+++ w/releases/unrealircd.json
@@ -1,5 +1,28 @@
 {
-  "releases": {},
+  "releases": {
+    "6": {
+      "name": "6",
+      "releaseDate": "2021-12-17"
+    },
+    "5": {
+      "name": "5",
+      "releaseDate": "2019-12-13",
+      "support": "2022-07-01",
+      "eol": "2023-07-01"
+    },
+    "4": {
+      "name": "4",
+      "releaseDate": "2015-12-24",
+      "support": "2019-05-20",
+      "eol": "2020-12-31"
+    },
+    "3.2": {
+      "name": "3.2",
+      "releaseDate": "2004-04-25",
+      "support": "2015-12-11",
+      "eol": "2016-12-31"
+    }
+  },
   "versions": {
     "6.1.4": {
       "name": "6.1.4",


add methods to find exactly one file/ path

closes #98

In #98 I suggested find_single_file - today I liked find_one_file more. Opinions?
changelog and docs to follow after the naming decision and #99

My girlfriend also prefers single so that's what we do :cry: (wait, what?)


Switch to managed workload identity pool

Description

The current workload identity pool, used to authenticate the GitHub Action so that it can access GCP resources, is managed manually on the staging and production projects. We have a newer workload identity pool that is managed via Terraform and monitored by the oncall rotation. We should switch over to this, which will require coordination with oncall to make sure the WLI pool is set up properly to support token exchanges with this repo and that the service account has access to the root-signing GCP resources.

Leaving this open as a reminder, but this requires no work at this time. Blocked by https://github.com/sigstore/root-signing/issues/929: Once we switch over to TUF-on-CI to manage this repo, we'll also switch to a new KMS key, which will be accessed by a service account tuf-gha where workload identity federation is managed through the managed workload identity pool.

A managed WLI pool to grant impersonation for managed service accounts. This will be used going forward to grant access to SAs that manage KMS and GCS
A WLI pool in the TUF KMS key project. This project will get cleaned up after #929
A WLI pool in the production project for GCS access, which will be removed once we switch over to the new tuf-gha SA

This is done for prod as of https://github.com/sigstore/root-signing/pull/1111. Staging will happen once we switch management of the GCS bucket over to sigstore/root-signing-staging, which is tracked elsewhere.


Create a Wildlife Photography Gallery

Description:
We're showcasing wildlife photography. Your task is to design an online gallery that celebrates the beauty of wildlife with an immersive and nature-focused design.

Difficulty: beginner
Estimated Time: 4-5 hours

Hi Jayesh,
Hi there! I'm interested in working on this issue. Could you please assign it to me? I believe I can make a valuable contribution to this task.
Looking forward to your response. Thanks!

Hello Sangita,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh


Create -kill command

-stop is not sufficient if the underlying OS can't accept short ACPI signals (for example during a system boot, or if a VM is stuck in a reboot loop). For this purpose I'll add -kill command:

It will ignore the machine's "online" status, and will attempt to clean up everything regardless
After the -stop is used, new kill function will start a "process kill" loop and will prevent the VM from coming back to life (there are some edge cases, where bhyve revives the VM even after it was stopped and network interface removed, -kill will make sure VM stays down)
Sometimes it's useful to -kill a VM instantly, avoiding the delay that is involved in a graceful shutdown

stop --force was implemented instead of kill. A bit more testing is required to confirm that it works as expected.
This issue will be closed now, but feel free to open a new one if you find any bugs in the stop --force.


Added Kruskal-Minimum-Spanning-Tree.cpp

Hello Greeting,
I have added an C++ file on one of the famous topic that is Kruskal's Minimum Spanning Tree.
Please review it and merge it under the section of Hactoberfest2024 and Hactoberfest-accepted
Thank You <3

Read the guidelines carefully. make sure you follow and star the repository!


Adds FilterPersonView

Description
New Vaadin Start template with filters and Grid.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@Artur-, I said to Juuso that you would take care of binding the fields to do the actual filtering of the grid items 😁

Merged and published to start.vaadin.com


关于Docker配置问题？

Don't skip these steps

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field
[X] I have checked through the search that there are no similar issues that already exist
[X] I will not submit any issues that are not related to this project

Occurrence environment

[ ] Workflow
[ ] GUI
[X] Docker
[ ] Command line

Question description
我在群晖上用docker部署了项目，配置里设了 min_resolution = 1920x1080，为什么还有很多720X576的片源，另外，里面没有最小速度配置项是怎么回事。
Related log
No response

docker的config.ini里没有
min_speed | 接口最小速率（单位M/s），
open_filter_speed
这两个配置项

新版移除了ffmpeg，暂时无法过滤分辨率；速率过滤属于内测功能，docker镜像暂未更新


This feature is released to GCC, but docs not updated

I believe the rollout to GCC has completed for this feature. Please confirm with PG and update.

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

ID: ca3f7a45-e892-fbb3-baf1-c556fa8e3720
Version Independent ID: 9c8b63e8-7320-ed8f-e560-ed478009dd57
Content: Priority notifications in Teams messaging - Microsoft Teams
Content Source: Teams/teams-add-on-licensing/pri-message.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@npherson thank you for reaching out. I just had a look at this article and I see that you commented 17 days ago - the article was updated two days ago. Is there still something missing from this article or has the update clarified all?

@npherson  Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Forbidden from rippled while using auth credentials

Hello!
I try to enable authentication for admin command requests adding admin_user and admin_password settings in ripped.cfg
[server]
port_peer
port_rpc_admin
[port_rpc_admin]
port = 5006
ip = <IP_ADDRESS>
admin = <IP_ADDRESS>
protocol = http
admin_user = root
admin_password = root
But rippled response is Forbidden.
curl --header "Content-Type: application/json" --request POST --data  '{ "method" : "peers", "admin_user" : "root", "admin_password" : "root" }' http://rippled:5006/ Forbidden
Just dont understand whats wrong

Hi @dselyuzhitskiy. Your request is malformed. Any parameters other than method need to be in a params array of objects. In this case:
curl --header "Content-Type: application/json" --request POST --data '{ "method" : "peers", "params" : [ { "admin_user" : "root", "admin_password" : "xxx" } ] }' http://<IP_ADDRESS>:5006/
I'm going to close this issue. Feel free to reopen it or create a new one if you have any more problems.


How to change table name of model?

I want to use user table for my User model or whatever table for MyCustomModel. How to do that?

https://godoc.org/github.com/gobuffalo/pop#TableNameAble


getstackaddr should return size_t

unsigned long for MS Visual C++ is 4 bytes types even when you compile for x64 platform
https://github.com/xianyi/OpenBLAS/blob/88e224f4c03a39c7564117bc2b0306397c9fdaac/common_x86.h#L99

Thanks, that function stems from the original GotoBLAS (probably following C89 rules at the time) and as far as I can tell is not used anywhere. (Or did you encounter a caller that my search missed ?)

Yes you right, and it redefined for x64 https://github.com/xianyi/OpenBLAS/blob/88e224f4c03a39c7564117bc2b0306397c9fdaac/common_x86_64.h#L107


Are there any free or paid themes built with Nuxt UI?

I'm interested in knowing if there are any free or paid themes built with Nuxt UI, created by team members or other individuals.
Themes related to dashboards or similar designs
Similar to:

https://vuejs.org/ecosystem/themes.html
https://tailwindui.com/templates

If there are any themes, it would be useful to include a section in Docs.

We are actually thinking of making some templates with this library indeed. They would be developed by the NuxtLabs team, but we want to make sure there is enough interest as it takes a lot of time to make.
Would you have a specific example in mind?

@benjamincanac
A lot of decisions were made with my team when starting a new project. When it came to the dashboard, we always chose Vue JS. One of the reasons for this choice was the absence of a complete dashboard theme with Nuxt.
I believe it would be very great to build the dashboard theme using this package. I used the Vuexy theme and made some tweaks and optimizations to it. I think it serves as a good example, especially for Vue 3 TypeScript with Composition API.
You can check out theVuexy theme. and the documentation.

https://vuetifyjs.com/en/resources/themes/

Progress: #405

Thought no one would notice 😉

would still love a rich text UI component. If you can just provide a barebones rich text component like that for Volta we would appreciate it

FYI @CareTiger I have plan to opensourced own editor component from own private project and create draft PR in this/next week to this repository. Unless the editor will be available in the new KIT.

Thought no one would notice 😉

There's no way back now 🙈

I guess we'll wait a bit longer. It's quite a complicated package.
I was looking at ui-kit-edge which is publicly available in NPM and even tried to use it in my own project but it's too early stage to use it for building templates. It is not possible to customize colors or elements, most elements are fixed in the code and require component override if you want to change colors, e.g. in TOC.

Of course it's too early stage, it's just a prototype for now. You should wait until the documentation is live 😊

any progress? @oritwoen

Closing this as we now have @nuxt/ui-pro: https://ui.nuxt.com/pro


HDFS-16369. RBF: Fix the retry logic of RouterRpcServer#invokeAtAvailableNs.

Description of PR
Fixes the retry the logic of invokeAtAvailableNs (RBF
How was this patch tested?
Through UT
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 11s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 59s

trunk passed

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 35s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 23s

trunk passed

+1 :green_heart:
mvnsite
0m 41s

trunk passed

+1 :green_heart:
javadoc
0m 41s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 17s

trunk passed

+1 :green_heart:
shadedclient
23m 18s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 34s

the patch passed

+1 :green_heart:
compile
0m 36s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 36s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 16s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-project/hadoop-hdfs-rbf: The patch generated 5 new + 1 unchanged - 0 fixed = 6 total (was 1)

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 32s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 21s

the patch passed

+1 :green_heart:
shadedclient
23m 24s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
37m 39s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 32s

The patch does not generate ASF License warnings.

132m 53s

Reason
Tests

Failed junit tests
hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3745/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3745

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux c5fd119fb325 4.15.0-142-generic #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 668145c3a5c55b817c7030e1c295ab8b63280702

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3745/1/testReport/

Max. process+thread count
2251 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3745/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 56s

trunk passed

+1 :green_heart:
compile
0m 44s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 40s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 28s

trunk passed

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 20s

trunk passed

+1 :green_heart:
shadedclient
20m 19s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 36s

the patch passed

+1 :green_heart:
compile
0m 36s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 36s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 18s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 32s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 52s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 18s

the patch passed

+1 :green_heart:
shadedclient
20m 14s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
21m 58s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

110m  3s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3745/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3745

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 47ce0efc930b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / be36f312e9274c730d235b1181df095d8c055335

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3745/2/testReport/

Max. process+thread count
2269 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3745/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Merged, Thanx @goiri and @tomscut for the review!!!


Sharing is Caring Power App Sample - WarnerDigital

Category

[x] New Sample

What's in this Pull Request?
Power Apps Calendar Component

@Warner-Digital Thank you for your help.


Misleading error message around failure to allocate container

Rancher versions:
rancher/server: 1.5.9
rancher/agent: 1.2.2
Docker version: (docker version,docker info preferred)
1.12.6
Steps to Reproduce:

create a service with bind mount (local volume driver)
attempt to reschedule container to another host with label + scheduling rule
get failure 'Allocation failed: needs host with label schedule: container'

Looks like the allocator determines the suitability for the container based on volume placement
host label doesnt match the host found suitable

Results:
Get an error (Failed to allocate instance [container:1i24]: Bad instance [container:1i24] in state [error]: Allocation failed: needs host with label schedule: container)
Not sure if we can make a more helpful message here.

duplicate of https://github.com/rancher/rancher/issues/8636

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Remove text from the qrcode page and use gettext for localization

the qrcode page has too many italian texts as constants in the html/js
we must move those texts in a .po file and load it during the rendering though the satosa backend, deciding which .po (compiled gettext) to choose according to the user-agent language available in the satosa context

js component candidate for the implementation: https://github.com/guillaumepotier/gettext.js/


Add instructor field in adding reviews feature and fixing some bugs

bugs I fixed: Clicking on the outside search bar resets the data
bug I am still working on: seamlessly search faculty and courses

I already resolved the conflict. Could someone merge this pr to the main branch pls?

Sorry after I got home I went to sleep instantly


ErrorBoundaries for React Components

Description
ErrorBoundaries help identify the issue as to what's happening within your React Component. It's like a catch statement, but for React Component renders.
Motivation
Catch any exception/error in your component renders, if not already caught/handled appropriately. Can also be hooked up with the Monitoring service.
Change
We will need to use Error Boundaries
https://reactjs.org/docs/error-boundaries.html

Some interesting behaviour by React 16:
https://reactjs.org/docs/error-boundaries.html#new-behavior-for-uncaught-errors


Properly handle AS_PATH and AS4_PATH

Section 4 describes the proper handling behavior https://www.rfc-editor.org/rfc/rfc6793.html#section-4.

Resolved in #187


Web: add case sensitive toggle on the search

Adds a minor case sensitive toggle on the search

I tried it out. Potentially there are two issues:
Toggling the case-sensitivity doesn't retrigger the search (and if edits are fast enough to beat the retrigger timer that runs the search the results can potential be wrong even if the search string is modified).
I got confused as to whether having the checkbox checked was the case-sensitive or case-insensitive version of the search. e.g. if I type "a" and the checkbox labelled "Aa" isn't checked then it is searching for "a" or "A", if the checkbox labelled "Aa" is checked then it is only searching for "a"

The checkbox turns on case sensitiveness, the default is not case sensitive. This is the behavior in most softwares find/search boxes - including AGS Editor I believe.

Sorry, had to bump this as this pr is opened for >1 month now.
Is this considered done, or the adjustments are required to cover the issues mentioned above?

Sorry for bumping again, but is there a reason to not merge this now? Seeing as there's no additions made here, unless there are errors, perhaps it's best to merge, and add any improvements later?


Improve FilterCardinalityTransformer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (b7bb285) to head (b63a21a).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #283   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           40        40
  Lines         1060      1066    +6
  Branches        42        42
=========================================
+ Hits          1060      1066    +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Docs]: Add more documentation on container usage

Describe the bug
The docs are targeted more at direct building/consuming of the binaries and lacking on usage/configuration of the container image. There also is no clear table-of-contents section that speaks to the container image.
Try to find information about typical run and/or configuration options of the container image.
Expected Docs

[ ] A section in the doc of getting started only with the container image that covers typical run/start commands in docker
[ ] Section in configuration of any/all environment variables that can be set on the container image that map to any of the garnet.conf settings

Additionally it would be great to have some more information about using Garnet in Kubernetes (e.g. in combination with helm charts)


[net7] Improve CPU efficiency of the game loop using pause/yield

This has been heavily reworked in response to Discord discourse. This is now ready for review.

SharpLab evidence of JIT efficacy: https://sharplab.io/#v2:C4LghgzgtgPgAgJgIwFgBQcDMACR2DC2A3utmdgA4BOAlgG5jACmuSAdACI1gDmAdgHsIwGgGMIbAMrABFAO6NRAC2wB9Kkz4ATJlWmyFwZdgC82PkzkAKAJQBuUuWr1GLOOy69BwsRP3zFFVUAVwotV39DYzMLa3tHMmcGZmwtAWCAIwAbFnVNHSoABV0aAS1TbCRsAHpsADYABgc0ckpaZJYOdOzc0PDmYtoyiqraxubWrGwMgQEs7ABJCHwsoRo+HmJsAG13NgAlYL4RKCY2fAEoChocvV06MSYJAFkmYCUyhausqz3D45op3Ol2ut0k90eLzeHy0XwoWQA8hQRAI+BIAHICBZ8LLrdY8GwAXR4b1MAD5sAAzMBZCBMOzYAC+CVwOBmc2wADVJABPPiiLa7dj/E5nC5XG66cFUB6iJ5sV7vT7fX7Co6i4ESsEQuVQpWw75IlFotiY7G4vj4okk4Dkqk0ukM5ktJztVzTWbzSQfYJZLSSa58QV/dWAsUgyV3GWQhXQ5Xw1UHUNA8WgqU6+WKmFwxHI0oms04vEbInYG12lmtKvVqsAQiWKzWG2wADIW5Wa53WrXuXyBW2O12u3ltFKZAEjEo2ABRLJgCh0rRsAAqAmANPBolRWgg2AAPGoNKOiiVhgOXUPL2o+hFx1Ep7P54uV2uN0wt9pdweQmFXINSloToslMcAACzYP8qoINgqIAGJUGApw2MQg5VnISiStgVj1ssqwQFaqGtCQF5XtgNCUlhIYAkC2LALQaK+GwAAaAAcdTMWxABCkBnEskihBQAhUMwWg2IRNbEaRNZpOJQ6SVJXZURqtH0fh4gcexrF1NxdJsIUYDBHStgTAprTOqZrToZhVjeukfoBus8QkVe5kKXBCGnMZslMiyzqMkAA=

I'm happy with this, thanks for writing the code also.
It's a bit unclear to me right now how much we still want to support the whole "custom Run" idea? This would put the final nail in the coffin for this. (But we've added other features in the past that were in this direction)

The thing is in 1.X Run was indeed fully custom, and made an explicit decision in 2.0 to regress here in the name of write-once-run-everywhere. There's nothing stopping our users implementing their own Run at all today, but had to change for iOS (and now WASM) compatibility. Users are still free to completely ignore our Run function if they wish.

@Beyley @HurricanKai this builds now, is this good for merge?

I think given this conflicts with custom Run we should resolve that first - what about making a new overload that takes ShouldSpin as a delegate parameter?

I think given this conflicts with custom Run we should resolve that first - what about making a new overload that takes ShouldSpin as a delegate parameter?

If the user wants to customise this stuff they should implement the whole run loop themselves. This is the write-once-run-anywhere path where the fact that there is a while loop at all is an implementation detail.

Fair enough - can we make the ShouldSpin virtual? Would that be a problem? That's less obvious but is at least an escape hatch?

That'd be an API contract change and will probably need to go through the proposal system unless you disagree. I agree this would be a nice addition, but out of scope of this PR I think.

Actually, the user should be able to opt-out of this behaviour. Thinking about things that need regular DoEvents calls, like rhythm games.

This is going into draft, and would welcome being picked up by the community.
This contains an experimental attempt at making our frame timing more CPU efficient by using high-resolution sleep primitives. However, we were unable to do so in a way that is consistent and that wasn't "jittery". Please see this Discord thread: https://discord.com/channels/521092042781229087/587346162802229298/1142876986537160865
This is now up for grabs

Closing and adding to the community epic.


Item Panel - NEI doesn't show

Whenever I use the Item Panel, NEI does not show. I've tried hitting "o" and all the other things. As soon as I interact with the block, NEI disappears, and comes back when I exit it.
This makes using it very frustrating because you can't shift click NEI recipes, and constantly have to back out of it to go to a normal crafting table.
There's a NEI autosync option so I can only assume its a bug. I am using FTB Infinity Evolved 2.1.2 with Expert mode enabled.

Should of tried restarting the game before posting.
That fixed it.

Problem returned. If I adjust UI scale to anything other than "auto" I see NEI. I'm running 4k resolution so there may be a problem with the scaling.

When NEI doesn't have enough room to show (as determined by the GUIs size variables) it hides itself. You need to change your GUI scale or find some other solution, there's nothing we can do from this end.


Could not load file or assembly FParsec in Visual Studio 2022

Describe the bug
ionide.keepachangelog.tasks\0.1.8\build\Ionide.KeepAChangelog.Tasks.targets(29,9): error MSB4018: The "Ionide.KeepAChangelog.Tasks.ParseChangeLogs" task failed unexpectedly.
ionide.keepachangelog.tasks\0.1.8\build\Ionide.KeepAChangelog.Tasks.targets(29,9): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'FParsec, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
ionide.keepachangelog.tasks\0.1.8\build\Ionide.KeepAChangelog.Tasks.targets(29,9): error MSB4018: File name: 'FParsec, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
ionide.keepachangelog.tasks\0.1.8\build\Ionide.KeepAChangelog.Tasks.targets(29,9): error MSB4018:    at KeepAChangelog.Tasks.ParseChangelogs.Execute()
ionide.keepachangelog.tasks\0.1.8\build\Ionide.KeepAChangelog.Tasks.targets(29,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
ionide.keepachangelog.tasks\0.1.8\build\Ionide.KeepAChangelog.Tasks.targets(29,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

To Reproduce
Steps to reproduce the behaviour:

Go to https://github.com/slaveOftime/Fun.Build . (This is a very small repo, so it should be ok to use it to reproduce)
Open with Visual Studio 2022 and build the solution
Build will fail. But if use dotnet cli to build, it will success

Expected behaviour
Works for dotnet cli and Visual Studio.
Environment (please complete the following information):

OS: Windows11
Visual Studio 2022
dotnet SDK version: 6.0.400

I believe this is going to be the same as #8 - right now the packages doesn't support VS (actually it doesn't support full-framework MSBuild) so we have to do some packaging work to make it compatible. It's just fallen by the wayside for me personally a bit in comparison to FSAC at the moment.

Also maybe #18

Recent releases (including @tboby's new PR) should mitigate this in the future.


recaptcha configuration

I'm having some problems getting recaptcha to work.
I get the red message "ERROR for site owner: Invalid site key".
I have obtained a site key and private key for my domain and added them to API Gateway -> Prod -> Stage Variables and subsequently added them to
When I use Chrome Developer Tools to examine what the browser is receiving the site key is still undefined.
I did wonder if there was a naming mis-match between the names in API Gateway and those in the html templates or javascript files but I'm not convinced that I can fix it.

Hi,
yes I think it is a naming mismatch. I will take a closer look at the code later. But for now I think that you can try editing the uploaded lambda for contact: https://github.com/sirceljm/aws-lambda-blog/blob/master/lambdas/src/public/contact.js#L26.
You can edit it inline in your AWS console.
change the line 26 to:
var captcha_sitekey = event.recaptcha_siteKey;

Hi,
thanks for writing this.  I appreciate the effort that must have gone into it.
I've tried that change but sadly it's still showing as undefined.  I've tried adding some debugging using console.log() and any new stage variables I've add are not being picked up, even after doing another deployment.

I took a closer look and found out that names are indeed messed up. This should fix your problem on the frontend:
Go to API Gateway -> api name for your blog -> Resources -> /contact -> GET -> Integration Request -> Body Mapping Templates and click on application/json
Small code editor should appear and you replace the code there with this code:
{
    "posts_table": "${stageVariables.posts_table}",
    "objects_table": "${stageVariables.objects_table}",

    "captcha_sitekey": "${stageVariables.recaptcha_siteKey}",
    "template": "${stageVariables.template}"
}

You should put your Lambda function code back as it was in the begining. This should render the captcha properly on the frontend. But there is still an issue with the message sending endpoint /send-message.
I will get back to you for this as well.
Hope this helps you for now.

Thanks very much.
Apart from pressing the SAVE button is there anything else I need to do after editing the Body Mapping Template and putting recaptcha_siteKey back to captcha_sitekey since it's already mapped via this template.
The error is still there after the edit, does it need to be redeployed or anything ?

Yes, sorry I forgot. You need to redeploy the API Gateway. Go to Actions -> Deploy API

Answering my own question here.  Yes I went back to the front of the API and redeployed it and the contact page is now showing the recaptcha front end.

"site_base_url": "${stageVariables.site_base_url}",
that also needs adding to the Body Mapping Templates for 'contact' and 'about' to fix the copyright in the footer.

Does this log output help with the send_message.js problem ?
Unable to import module 'send_message': Error
at webpackMissingModule (/var/task/send_message.js:49:82)
at Object.module.exports.slice (/var/task/send_message.js:49:168)
at webpack_require (/var/task/send_message.js:21:30)
at /var/task/send_message.js:41:18
at Object. (/var/task/send_message.js:44:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)

Yes I got he same when I was checking it out. I will take a look at it later this day. Thanks for helping out with this.

It was a problem with validator library not being installed during the install process. Now I added it and it should work. Please download the newest package or pull the master branch if you are working with git. And install again. This would be the easiest way. If you will just overwrite the install make sure that you delete the _sendMessage lambda function first. Please also take note that you should only install on Ireland, N. Virginia and Oregon as only those regions are supporting SES. Hope this helps you.

Thanks Matej,
perhaps I'm  missing a step here.  I've done a git pull and got the changes to package-lock.json and package.json .  I deleted the _sendMessage lambda function and re-ran  node install_advanced.js so that the _sendMessage is created again. When I try to send an email from the contacts page it appears to run but I don't get the email and this "Unable to import module 'send_message': Error"  is still in CloudWatch afterwards.

 I'm learning all the time.
Attached is a modified install_API_Gateway_definitions.json file with the fixes in I applied on the fly yesterday.  I tried pushing to a new branch but got permission denied. Oh and json attachments aren't allowed either hence the .txt.
install_API_Gateway_definitions.json.txt

If you want to push your changes you can do so by making a fork of this repository (icon in the top right). Then push your change to that repository. After that you can make a pull request and I will review it and merge it. If you need any help let me know and I will help you.
Thank you for your enthusiasm. I appreciate it. :)

No problem.  You did a huge amount of work on this so far. Since I'm using it the least I can do is help in some small way.

Thanks for the pull request. I hope you will be using the project for your blog. I am also working on a sililar project but it is more developer oriented. I will let you know when I publish it.


Throw warning on invalid config

Laravel Version: 5
PHP Version: n/a
Database Driver & Version: n/a

Description:
Currently if you call a config value that is does not exist/invalid - it is a silent failure:
dd(config('custom.i_do_not_exist')) // null
This has lead to a few times where silent errors have crept into my application and took a while to debug, since it is not obvious at first the config value is wrong (as it will be null).
It would be nice if, while the application is in APP_DEBUG mode, it would throw an exception when calling an invalid config item?
dd(config('custom.i_do_not_exist')) // EXCEPTION; config item does not exist

Closing - wrong reop


App/Nav: Mobile - logged out

App bar:
https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=11719%3A90

[x] Add in the help menu button HIGH

Comparison:

Hamburger menu:
https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=12854%3A300448

[ ] Update color of top row of the hamburger menu to match figma HIGH
[ ] Add in the help button and login/signup buttons to the top row HIGH
[ ] Add in logo with divider line below Medium
[ ] Match the colour of the bottom row with the global chat button to figma LOW

Comparison:

moving to post launch for remainder


Storage: Add support for Archive storage class

GCS is adding a storage class called "archive" to the existing options for object storage (coldline, standard, etc). Support for this should be added to this client library. This has already been implemented in the C++ client library and there is a PR in python; reference PR here
This should be straightforward as ARCHIVE should just mirror existing valid storage classes. I see the following places where changes are required in order to accomplish this:

https://github.com/googleapis/google-cloud-dotnet/blob/master/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/StorageClasses.cs (add new storage class).
https://github.com/googleapis/google-cloud-dotnet/blob/master/apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/StorageClassTest.cs (consider adding Archive class to the test somehow).

@jskeet let me know who you think would make sense to take this one (I'm also happy to try and pick it up myself since it's simple, but it would also be my first work in C#, hah).

We are reverting #3674 until the feature becomes available in the backend.
Please reopen this issue when that happens.

Hi @jskeet and @amanda-tarafa , thanks for your patience on this. We are now no longer blocked on this! If you could re-open the PR, that would be great. We would want to merge and release this change sometime during the week from 1/2-1/8 (once the release freeze has ended).

Neither myself nor Amanda are working until January 2nd, but we'll sort it then.

Sounds good, thanks! (and hope you're having a nice break!)

This is now released in Google.Cloud.Storage.V1 version 2.5.0.

Fantastic; thanks so much @jskeet and @amanda-tarafa !


json_nl: Emit newlines immediately, rather than waiting for next stream item

Hi, thanks for axum-streams-rs. I noticed that the newline-delimited JSON format emits the newline separator before each item (except for the very first). This makes it harder to use than if every object were immediately followed by a newline.
On the consumer side, the natural, easy way to handle newline-delimited JSON (in general) is to buffer the response until you see a newline, then pass that off to JSON.parse. If you do that with the current implementation of this library, you'll always be delayed by the latency of the next message, and you'd potentially miss the very last message (unless you handle the edge case of a valid JSON object with no newline on stream close). So you'd need a more sophisticated response, such as trying to parse the buffer as JSON each time you get more content on the TCP stream, which is more expensive and complicated.
Relatedly, https://github.com/ndjson/ndjson-spec#31-serialization states "Each JSON text MUST […] be written to the stream followed by the newline character \n".
Please consider changing this code to emit the newline immediately after each object, unconditionally. https://github.com/abdolence/axum-streams-rs/blob/f48d9881ce12bb2f4158d239317a4ff7f249b687/src/json_formats.rs#L81-L87

Hey,
Interesting finding. So the problem actually happens only if we have one element to emit, so in this case it will be emitted without \n. Let me look into this.

Thank you, works great! 😄


New Site Admins

@paninee please add these two RA's as site admins. Thanks!
<EMAIL_ADDRESS><EMAIL_ADDRESS>

[ ] once added, jesi needs to let them know they have access

also please add Maia, will link her profile here once she has an account


Export an ES Module instead of CommonJS module

Since webpack v2, it's better to use ES modules. Note that this is incompatible with webpack v1, so it should be released as a major version.

Superseded by #70


issue with display none

Hi,
I guess Swiper will not be initialized in invisible elements.I am facing this issue with display:none. I tried to append slides to the swiper slide when the swiper container div is hidden.When I display the swiper container it doesn't  work all it shows is the first slide.

Call Swiper's .update method or try to enable observer properties

wow..swiper.update().. it works like a charm. Thanks a lot.


#1651-improve-chat-readability

fixes #1651:
-adds ":" after the name in chat
-makes the flag/clan/name right aligned in chat

Gotta fix more stuff (not just translation) and also add the same for the extended version, so I'm closing this for now.


prevent loop if no initial license

if the license is missing a "y/n" question shows up in ZPM
if the license exists ZPM displays its help for the undefined command "n"
no pretty but covers both cases

Thanks Robert


Timepicker localization

Currently Timepicker always uses a colon as a time separator. However, some languages, e.g. Finnish, use a period as a time separator. The time separator should be somehow configurable.

I took at this before, but it looks like we cannot support this - see https://github.com/angular/angular.js/issues/13232 for more information about the work necessary on the Angular side for supporting this feature.
I would recommend homebrewing some hacky logic with $locale in a custom directive with a custom template if you only need to support a limited number of languages.


[stable/prometheus-operator] Grafana persistent volume filling up with error logs

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug Report
Version of Helm and Kubernetes:
Client: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:08:12Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.5-eks-6bad6d", GitCommit:"6bad6d9c768dc0864dab48a11653aa53b5a47043", GitTreeState:"clean", BuildDate:"2018-12-06T23:13:14Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
prometheus-operator	32      	Mon Feb 11 13:19:19 2019	DEPLOYED	prometheus-operator-2.2.0	0.26.0     	monitoring

What happened:
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=85a562078cdf77779eaa1add43ccec1e provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=4ac4f123aae0ff6dbaf4f4f66120033b provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=a6e7d1362e1ddbb79db21d5bb40d7137 provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=efa86fd1d0c121a26444b636a3f509a8 provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=fa49a4706d07a042595b664c87fb33ea provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=a31c1f46e6f727cb37c0d731a7245005 provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'uid' is used more than once" logger=provisioning.dashboard type=file name=default uid=6581e46e4e5c7ba40a07646395ef7b23 provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title=StatefulSets provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title="K8s / USE Method / Node" provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title="K8s / Compute Resources / Pod" provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title="K8s / USE Method / Cluster" provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title="K8s / Compute Resources / Cluster" provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title=Nodes provider=default
t=2019-02-12T21:21:49+0000 lvl=eror msg="the same 'title' is used more than once" logger=provisioning.dashboard type=file name=default title="K8s / Compute Resources / Namespace" provider=default

What you expected to happen:
I expect to not get these errors and that my persistent volume doesn't fill up.
How to reproduce it (as minimally and precisely as possible):
Install the stable/prometheus-operator chart and enable grafana.
Anything else we need to know:
I run this same chart in several clusters, but only this cluster experiences the grafana errors and persistent volume filling up. To "regain" disk space, I set grafana enabled to false, ran a helm upgrade, set it back to true, and ran a final helm upgrade.
I grepped the configmaps for the uids and titles reported in the error log, but could not find any duplicates like the error states. Possibly this is related to https://github.com/grafana/grafana/issues/10874 ?

I am seeing this in multiple different clusters now.

Alert seems to be about default dashboards. Could you please login into grafana container and see what's going on in there, what files are present there?
I think issue might be with dashboards renaming, in case old dashboards were not deleted properly from your Grafana it now have both old and new ones in conflict. Solution then would be redeploying prometheus-operator with --recreate-pods, but first please look into actual files to see what does it have there.

I think you're right about this issue being due to the dashboard renaming. I deleted the grafana pods and noticed that there were old grafana related configmaps as shown by
$ kubectl get configmaps -n monitoring

I deleted the old configmaps, redeployed the grafana pods, and the error logs haven't come back. This can be closed.

Hi @pgporada, how can you tell what configmaps are old?


quarkus-spring-web breaks startup of camel-quarkus-activemq

placeholder for https://github.com/quarkusio/quarkus/issues/11996

The problem is that quarkus-spring-di has this plugin configuration:
<plugin>
    <groupId>io.quarkus</groupId>
    <artifactId>quarkus-bootstrap-maven-plugin</artifactId>
    <configuration>
        <excludedArtifacts>
            <excludedArtifact>org.springframework:spring-core</excludedArtifact>
            <excludedArtifact>org.springframework:spring-beans</excludedArtifact>
            <excludedArtifact>org.springframework:spring-context</excludedArtifact>
        </excludedArtifacts>
    </configuration>
</plugin>

This effectively bans the core spring libraries from the application. The Quarkus Spring extensions repackage the Spring dependencies and only include a minimal set of packages to reduce the overall footprint. Hence we get a CFNE at runtime.
I don't think there's a simple way to work around this.
We could maybe use a similar approach to Quarkus, where we have our own custom extensions for spring-jms / spring-jdbc and repackage the Spring bits that we depend on. That would get around the artifact ban.


Selection on drag inside a parent node not working

Describe the Bug
I am using the selectionOnDrag, but I have a use case where I have multiple nodes inside a big parent box (that is another node).
That parent node should be selectable (not draggable).
When I start a dragging selection outside that parent node everything works fine, but if I try to start the selection inside I doesn't work. I think that this is caused by the selectable property, because if I set it to false, everything works fine. But in my use case I really need it to be true.
In the image example, if I start the selection outside the "Functional" box, it allows me to drag and select (creating a selection box) but if I start from inside the "Functional" node, I doesn't work. If I set the selectable to false it works. But I need the selectable to have a configuration panel and to resize the box when selected.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create a big node.
Create another node and drag it inside of the one created before.
Link the parent node to the big one.
Set selectionOnDrag to true.
Try to select the smaller node dragging a selection inside the big one.

Expected behavior
I was expecting that the dragging selection could be created inside parent nodes.
Screenshots or Videos

Platform

Version: Current one

Additional context
No response

Hi @joaocustodioc, I have the same issue,  any update?

@moklick Any update on this issue?

@moklick any updates on it? Not working here too. Already tried to sort the nodes;

I'm with the same issue. On my case, every node has a parentNode. The default is ROOT_ELEMENT_ID, which is the main container of what the user is building. Here's my sort function:
const ROOT_ELEMENT_ID = "ROOT_ELEMENT";

export const sortNodes = (a: Node, b: Node): number => {
  if (a.id === ROOT_ELEMENT_ID) {
    return -1;
  }

  if (b.id === ROOT_ELEMENT_ID) {
    return 1;
  }

  if (a.parentNode === ROOT_ELEMENT_ID && b.parentNode === ROOT_ELEMENT_ID) {
    return 0;
  }

  return a.parentNode !== ROOT_ELEMENT_ID && b.parentNode === ROOT_ELEMENT_ID
    ? 1
    : -1;
};

I checked the sorted nodes on the console, and the root element is in front of all:

Obs: I already tried to change the root element node z-index to a higher and a lower z-index than the other node's z-index, and it is not working yet.
@moklick

@moklick Any updated on the issue? or any workaround to achieve this?
I also need this functionality

@moklick
Is this bug resolved? I still not able to select child nodes while doing drag in parentNode.

You can solve this by setting pointer events "none" for the group nodes and "all" for the drag handles. I updated the codesandbox from @Max-ChenFei to show how to achieve it https://codesandbox.io/p/sandbox/modest-sara-3gtylz?file=/styles.css

@moklick If you fix it by adjusting the CSS as mentioned above, you won't be able to click to select the current group anymore.


fix upload assets greater than 2 GiB issue

What type of PR is this?
/kind bug
What this PR does / why we need it:
Because in the scenario of exporting multi-architecture images, the OCI directory is incorrectly reused, causing the final tar package size to exceed 2G.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
https://github.com/ErikJiang/kubean/actions/runs/6899326250/job/18770745798

/lgtm


aoid for emu-alg?

I was wondering why the 'aoid' attribute was allowed on both emu-clause and emu-alg. Was there a particular situation you had in mind where you'd want to link to an emu-alg rather than an emu-clause?
(Also, in the description for emu-alg, it says "A unique name identifying this clause", but "clause" should presumably be "algorithm" or "element".)

+1, this is confusing and has caused confusion in 402. emu-clause only would be nicer.

To support multiple algs per clause, mostly. See this intl section: only the second emu-alg defines an abstract operation: https://tc39.github.io/ecma402/#sec-datetime-format-functions.

So for example I think either that clause needs to contain FormatDateTime and ToLocalTime subclauses, or we need to mark those up as When the <dfn aoid="FormatDateTime">FormatDateTime</dfn> abstract operation is called...

See this intl section: only the second emu-alg defines an abstract operation

Ah, yes. ES5 had cases like this, but then (pretty much) every abstract operation got its own clause in ES6. I didn't realize that Intl hadn't followed suit.

Removed aoid from emu-alg. Domenic's approach will be required (though is presently not yet implemented).


fix: in show password icon there should be cursor pointer

Fixes #4658 in show password cursor should be pointer
Screenshots of the changes (If any) -
https://github.com/CircuitVerse/CircuitVerse/assets/101059602/3c0512a6-db7b-4741-9ced-e087e2cff2a8

@tachyons @tanmoysrt Please review this


Adding selectize2 to bower dependency

[Current coverage][cc-pull] is 37.60%

Merging [#59][cc-pull] into [master][cc-base-branch] will decrease coverage by 1.22%

4 files (not in diff) in ...a/argus/service/tsdb were modified. more

Misses +132
Partials -33
Hits -99

2 files (not in diff) in ...argus/service/metric were modified. more

Misses +11
Partials -1
Hits -10

2 files (not in diff) in ...ce/dva/argus/service were modified. more

Misses +36
Partials -9
Hits -27

@@             master        #59   diff @@
==========================================
  Files           206        206
  Lines         11092      11092
  Methods           0          0
  Messages          0          0
  Branches       1946       1946
==========================================
- Hits           4307       4171   -136
- Misses         6203       6382   +179
+ Partials        582        539    -43

Powered by Codecov. Last updated by [ab33b21...d7c2a79][cc-compare]
[cc-base-branch]: https://codecov.io/gh/SalesforceEng/Argus/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/SalesforceEng/Argus/compare/ab33b21709ab36672aab46126ef5293d0f9effe0...d7c2a7935bc48cd9f8d4416149c2b3b5729c84d2
[cc-pull]: https://codecov.io/gh/SalesforceEng/Argus/pull/59?src=pr


MAP-1402 test data not modified

They are the same Tests but I have maintain the Data every file
Files
LocationResourceIntTest.kt
LocationResourceKeyTest.kt
LocationResourcePrisonIdTest
LocationResourceTransformTest.kt
LocationResourceResidentialTest.kt

#193 feels like a better approach. There is nothing to gain from repeating the same code across every single test class

@jnioche-jd @danbenton-mojdt
right, I agree but i was unsure we want using supertype/inheritance .
secondlyI am going to do a POC injecting SQL in the test and then i will connect with you in a call in order to deliver this ticket.


Use Jupyter Notebooks instead of RST for examples

We currently use RST for examples because Pytest will run all the examples and make sure they pass.  It would be much easier to write the examples if we could do it in JupyterNotebooks though.
There is now a package that extends Pytest to run notebooks.
We should DEFINITELY move to notebooks for examples ASAP

Done and now part of the main repo


How to connect RioDefi Chain?

Hello,
I'm currently trying to connect RioDefi Chain, but I couldn't find any information about connecting your chain?
Is it permission based chain??
if I connect to  ./polkadot --chain=Beta, it's gonna work??
Here is what I did.

Install polkadot
successfully connect to KSM chain.
try to connect Rio chain with  ./polkadot --chain=Beta

Thank you,

I got compile error. - duplicated error with https://github.com/RioDefi/riochain/issues/4


Fixes dmbates/MixedModels.jl#106

Again, thanks for the PR.  Your change doesn't really fix the problem because the original and the modified requirement are synonymous. The first version number is the lower bound and a lower bound of 0.19 is the same as a lower bound of 0.19.0.  To disallow StatsBase 0.19.2 and later you would need to put an upper bound of 0.19.1 but I would prefer not to do that.
I do not mean to discourage you from submitting pull requests.  I am just trying to explain why I will end up doing things differently.

Yeah, that makes sense! I misunderstood here:
https://docs.julialang.org/en/stable/manual/packages/#Requirements-Specification-1
I think that the conflict between statsmodels and statsbase needs to be fixed between those two groups, rather than us pinning a version that works.
Maybe I'm confused, though.

@andyreagan Yes.  The solution is to release a new version of StatsModels that does not define coefnames and depends on StatsBase 0.19.2

Yup, seeing your comment over on StatsBase's latest release as well!


TargetType.swift refactor

There are a few things in TargetType.swift that I think there might be better locations for. Here are the changes:

Move the Method typealias to the Moya+Alamofire.swift file with the other Alamofire type aliases.
Extract MultipartFormData to it's own file.
Move StubBehavior to Moya.swift since it has more to do with MoyaProvider than TargetType.
Move the extension on Method to Moya+Internal.swift where it is used. This could possible also go in Moya+Alamofire.swift.

Let me know what you guys think about this.

Current coverage is 75.74% (diff: 64.28%)

Merging #871 into master will decrease coverage by 7.62%

@@             master       #871   diff @@
==========================================
  Files            34         35     +1
  Lines          2783       3063   +280
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2320       2320
- Misses          463        743   +280
  Partials          0          0

Powered by Codecov. Last update 8f6cda7...eaa9906

Hmm... that's odd. Not quite sure why this would reduce test coverage by such a significant amount.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

          1 Warning

:warning:
Consider adding supporting documentation to this change. Documentation can be found in the docs directory.

  Generated by :no_entry_sign: danger

I don't really think a changelog entry is needed for a refactor. :)

Haha. Yeah, I didn't think so either. But I was a bit unsure because of Danger calling the build failed. I know I could add a #trivial tag to the PR, but this didn't really feel trivial either. Think I should go that route?

Hmm, added #trivial in this case just to make Danger happy. Oh well.

@scottrhoyt: thank you for doing this 😄

No problem! Anyone have any ideas on the test coverage?

Ok, so I think I understand a little more about the drop in test coverage. For some reason, CodeCov is registering 285 missed lines for MultipartData.swift even though the file only has 32 lines with 5 lines of executable code. I wonder if it's possible that there is some confusion between Moya's MultipartFormData and Alamofire's MultipartFormData.


Update sbt-giter8 to 0.16.2

About this PR
📦 Updates org.foundweekends.giter8:sbt-giter8 from 0.16.1 to 0.16.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.foundweekends.giter8", artifactId = "sbt-giter8" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.foundweekends.giter8", artifactId = "sbt-giter8" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #211.


Mixed Content Warning

I tried deploying an app that's similar to your example on Heroku and ran into a mixed content warning immediately. It looks like the PubNub API call in the minified JS isn't HTTPS.
Mixed Content: The page at 'https://glacial-beyond-9671.herokuapp.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://ps19.pubnub.com/v2/presence/sub_key/sub-c-0e7a8ffa-7fe/channel/Demo Channel?uuid=867&pnsdk=PubNub-JS-Web%2F3.6.7'. This request has been blocked; the content must be served over HTTPS.

Make sure to enable TLS!  https://www.pubnub.com/docs/javascript/overview/security.html#_transport_layer_security_with_ssl

Oops, thanks :)

:+1:


"Load more" problem in facets

On many facets on the left hand side of the interface, the "+ Load more" feature is not properly working. Once clicked, the visualisation of the page goes to up and no additional information is loaded within the selected facet which remains stuck with a "loading..." message.

Related to #108


[Brainstorm] Platform discovery and installation

Certain platforms like Philips Hue require a non-trivial setup process to require secret keys. (See #40)  To simplify this process we might consider a secondary persistent store for platforms and accessories or a interface to save changes to it's entry in the config.json. (Not great but nice to have a central place for all config that the user can read.)  Alternatively giving each accessory and platform it's own sub folder (possibly as a separate node module like yeoman and node-red) would allow them to store persistent caches independently of other modules and have the side benefit of reducing core dependencies. Having separate node modules would also make contributing to the project easier because we could avoid merge conflicts with package.json, but add effort required to discover new modules.  Separate repos would fragment this small project too much and increase complexity managing conflicts with Siri's keywords.  I propose that we create a separate repo for "bridges" that are npm modules with a common prefix.  That way you could run npm i homebridge-philips-hue or whatever and we would still have a central place to manage issues.  It would also remove the issue of conflicts in package.json.  An example of a project using this pattern is tomahawk.

The first thing I'd like to figure out is how to support accessories without having to "bundle" them with HomeBridge - especially requiring users to npm install a lot of accessory-specific deps that they will likely not need.
I like the idea of separate npm modules for each accessory/platform, especially if others could make their own npm modules in their own repos without having to PR into HomeBridge every time. We could allow for "discovering" modules by simply searching npm for anything starting with homebridge-. If their search allows us to be that specific?

Also I'd like to avoid having to create some common core module that all accessory modules must include. Right now accessories have to include at least types.js to build the giant JSON services structure. It would be nice to allow devs to just create simple JS classes that are expected to implement certain endpoints.

Yeah a higher level API would be a nice addition to the project.
Gulp has a module for finding plugins that we could fork as the basis for a github.io site once we get to that point. I'm looking into how we can load any modules in the node_modules directory that have a homebridge tag in the package.json. That way npm i would be all that is needed to add plugins. We might also want to consider a web interface for configuration. That could open up a lot of potential functionality and make the project more accessible.

We could even use the npmi package to allow one click installation of new modules from a web interface. If we did chose to make a web interface I think that we should limit it's scope to simplifying configuration only. Home automation UI can be an endless project and there are already good solutions to that problem, including HomeKit (soon).

Yes totally agreed about the web UI and scope of such. I've been thinking about a simple one-page UI with "cards" for the modules you've installed, and badges for "Update available".
We might want to deliver HAP-NodeJS itself as a module of sorts - instead of requiring folks to deal with submodules and an extra npm install. And we could deliver the initial HomeBridge state as a simple download with node_modules pre-packaged - so that all you need to do is download and run the server, then access the web UI.

If we could make this a module also we could have a separate project that bundles it in a nw.js or electron executable. Having this project be more approachable for non developers will put more pressure on Apple and manufacturers to build more HomeKit devices. Anything controlled with Siri makes headlines. :laughing:
I have been reading some of the yeoman source code and this looks similar to what we would need for loading homebridge- modules. There is also a great example of searching for and installing plugin modules programmatically in the yo package here.

I think npmi looks very promising as a programmatic interface to installing HomeBridge "plugins." Although npm makes a bunch of noise about how it's not supposed to be used programmatically, only through the cli, it's probably not a big deal.
Ultimately bundling it in an "application package" might be the most user-friendly option as you say. But we could get something pretty nice by just having users "npm install -g homebridge" and going from there.
I would love to have plugins installed in the user's homedir somewhere, similar to Atom - maybe ~/.homebridge/plugins. But it looks like npm is dead-set on always installing to a folder named node_modules, so it might have to be ~/.homebridge/plugins/node_modules which is not ideal but maybe workable for now.

Although npm makes a bunch of noise about how it's not supposed to be used programmatically, only through the cli, it's probably not a big deal.

Did you notice they have the API published at https://docs.npmjs.com/api/npm ?
Which are the functions npmi is using.

I have roughly coded a first attempt. If you're interested have a look at my branch dynamic-platform and the repo homebridge-knx which is a packaged platform shim (basically the same as you merged it).
It is still failing to run because of two installed instances of HAP-NodeJS, and consecutive failure to match the classes.

So, about an hour later I debugged it to a running state.
It does not support single accessories any more, only platforms NPM packages.

You might take a look at the in-progress provider API branch - it has a working implementation of loading "Plugins" (a.k.a. shims) from separately-installed npm modules. The trick to avoid multiple HAP-NodeJS instances is to use peerDependencies. And the main homebridge app has some code for dynamic discovery of compatible installed npm modules.

And the main homebridge app has some code for dynamic discovery of compatible installed npm modules

Nick, can you give me a hint :copyright: ?
But if you can spare the time have a look at https://github.com/snowdd1/homebridge/blob/dynamic-platform/app.js#L98 (loadPlatforms()) if we're talking of different topics.

The trick to avoid multiple HAP-NodeJS instances

And by the way, as homebridge-knx module is supposed to run only within an installed homebridge it can rely on the existence of HAP-NodeJS in a defined way, I simply didn't mention the dependency but did a
var Service = require("../../HAP-NodeJS").Service;
var Characteristic = require("../../HAP-NodeJS").Characteristic;

in https://github.com/snowdd1/homebridge-knx/blob/master/lib/knxdevice.js#L6 and following. And it does work fine, just needs some seconds longer to load, as it tries to load the 'latest' version, so it has to do a lookup at npm registry.
If you think my ideas are completely off, please say so!
I'd like to support the development, but you can assign the topics; we do not need to invent the wheels multiple times.

@nfarina : I tried with peerDependencies but failed with hap-nodejs as it has no npm registry. I need to refer to the HomeKitTypes.js in the accessories creation process. npmi installs my shim, but fails with the postprocessing of hap-nodejs, because it cannot check if it is already installed.
However, it runs fine the second start attempt, when it doesn't have to install homebridge-knx any more. In your example I even did not see a reference to hap-nodejs.
I still didn't the automatic installer in the provider-api branch.
Maybe I got you wrong - don't you want to install the modules dynamically? Do you want the user to use npm himself and only discover the installed modules? So many questions!


Add options to protect_branch

The GitLab API call to protect a branch (https://docs.gitlab.com/ce/api/branches.html#protect-repository-branch) allows you to specify whether developers can merge and whether developers can push. It would be great to have those options available in Gitlab.protect_branch.

Whoops, apparently this is fixed in HEAD.


[backport] Relax tolerance of check_double_backward test

Backport of #5486

Jenkins CI test (for commit f72c08d21aed333176cca1d1744fbc7698179e1c, target branch v5) succeeded!

LGTM


Add mastr chps

Rule build_existing_chp_de
To enable using the MaStR data, set in the config.yaml in the category electricity the variables 'custom_chp: true' and specify a corresponding chp_filter.
The rule build_existing_chp_de then downloads the MaStR data from the open mastr project and reads in the CHP plants for Germany only. Using a ZIP Code dictionary from pyGeoDb, the location is determined. With the work of Triebs et al. the efficiencies for electricity generation are calculated
Finally, in build_powerplants.py the corresponding data is replaced with the MaStR data.
Note that the pypsa-eur/de_chp branch is needed to add CHP plants to the heating network.
If the thermal capacity of CHPs in Germany exists as a column in the powerplant.csv file, those CHPs are added using the efficiencies calculated by Triebs et al. and the capacities of the MaStR.
Open ToDos

[ ] Depending on the KWK technology, one can differentiate between back pressure and extraction condensing turbines. This leads to a different electrical efficiency that can be implemented in build_existing_chp_de.py.
[ ] Heating mix looks a bit on the fossil side. Would be interesting to match it to the 2020 Wärmemix.

First results
Heating Supply Germany

CHPs in Germany
urban central coal CHP                19463.868777
urban central gas CHP                 58184.891964
urban central gas CHP CC                  0.000000
urban central lignite CHP              6540.219927
urban central oil CHP                  4234.186248
urban central solid biomass CHP          96.385542
urban central solid biomass CHP CC        0.000000

adjusted logical expression in config.yaml using De Morgan's laws
converted capacity unit from kW to MW (conformant with powerplantmatching)
add optional input to add_existing_baseyear rule
additional renamers

TODOs

[ ] There are some larger CHPs with missing Fueltype (e.g. HKW Leipzig Nord, HKW Neumünster), which should be manually researched and corrected in the clean_data() function.
[ ] One issue is that there are duplicates for the parameters "ElektrischeKwkLeistung" and "ThermischeNutzleistung" which are not reconciled.  Maybe one can distribute the total rating to the individual blocks using the
[ ] Do another data sanity check for total capacities and energy supply against historical statistics.

Could you post here or on discord the sanity check for total capacities and energy supply against historical statistics?

i need to cherry pick a commit from https://github.com/PyPSA/pypsa-ariadne/pull/77, so probably that PR should be merged first.
also, the exporter needs to be updated in several locations to account for all the new types of CHPs

Some of the older oil CHPs have really low electrical efficiency, how is that? @ton


Feature request: Add Kotlin extensions to JdbcAggregateOperations

I'd like to propose an enhancement to JdbcAggregateOperations. I believe that many methods in JdbcAggregateOperations could benefit from reification. So this new extension functions will make JdbcAggregateTemplate more convenient and usable with Kotlin.

https://github.com/spring-projects/spring-data-relational/pull/1962


Help to Configure

So if someone is new to app development what are the things to change in the code to make it work. Like do we need to creat account somewhere and put api keys and all the. Is there any document to help me get started on the basic configuration?

I will update the readme this weekend. Apologies for delay.

I will update the readme this weekend. Apologies for delay.

and show to me structure on your firebase bro, screenshot / capture image ,thanks

Yes when I tried to link my firebase it gave too many errors

Guys, I have updated the readme. Please refer once there. If you feel anything more is required to be added there, do inform me.
Thanks

The current Dart SDK version is 3.1.0.
Because grouped_buttons 1.0.4 doesn't support null safety and no versions of
grouped_buttons match >1.0.4 <2.0.0, grouped_buttons ^1.0.4 is forbidden.
So, because geo_attendance_system depends on grouped_buttons ^1.0.4, version solving
failed.
The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.


Make Experimental Parser detect macro overrides for ref, source, and config.

resolves #3866
Description
The experimental parser relies on a static semantic meaning of ref, source, and config calls. If this semantic meaning is changed by the user by defining their own macro by the same name, the experimental parser cannot read the file accurately and must fall back to jinja rendering.
The way this is implemented, it checks for all macros in scope for this particular file (i.e. - from the root project scope and from the current project scope) and falls back if any of these banned macros are defined. Because of this, if any dependencies in the project have these banned macro definitions, we can still use the experimental parser for model files within the user's project itself if they didn't also create their own macro overrides for these calls.
TODO

[ ] Integration test that detects ref source and config overrides

Checklist

[ ] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

Excited to see the quick progress here! 🚀
Is our current plan to include this in v0.21, and then use the updated sampling from v0.21 usage to verify whether we can turn on the experimental parser by default in v1.0?

@jtcohen6 I believe so! @leahwicz can confirm though.
Turns out this might be tricky to test, so that's going to be the one snag I have to get past.

@jtcohen6 @nathaniel-may I would like to get this into the RC but if it's not ready by EOW, I don't want the RC to be held up on this. Let's play it by ear and see where we are by Thursday and make the call

The simplest way to test this is in the unit test I wrote here: test/unit/test_parser.py::ExperimentalModelParserTest. It's kind of bare bones compared to the coverage I would like to have, but I really can't find a sane way to get an integration test up and running for macro detection. If anyone has ideas, I'm all ears.

To be clear, this strategy for macro detection relies on the fact that the manifest has the names of the macros populated before the model parser is executed. This is very unlikely to change, but if it did, we would get all greens even with this unit test and the experimental parser would actually be broken.

Just to wrap up the comment thread here, the current integration tests cover the whole stack from project files -> model parser run. Any change outside the model parser that would prevent us from detecting macros at parse time would be caught by these tests.


Override probot/stale defaults, if necessary

Per the discussion in https://github.com/exercism/discussions/issues/128 we
will be installing the probot/stale integration on the Exercism organization on
April 10th, 2017.
By default, probot will comment on issues that are older than 60 days, warning
that they are stale. If there is no movement in 7 days, the bot will close the issue.
By default, anything with the labels security or pinned will not be closed by
probot.
If you wish to override these settings, create a .github/stale.yml file as described
in https://github.com/probot/stale#usage, and make sure that it is merged
before April 10th.
If the defaults are fine for this repository, then there is nothing further to do.
You may close this issue.

I made a mistake.
This was not explicitly documented in the README, but probot/stale requires the presence of a .github/stale.yml file.
If you want the default behavior, you need to add an empty .github/stale.yml file to this repo, otherwise the bot will not be active.

@masters3d @kytrinyx
This feels useful to me, but I just got here so will defer :).
Made a PR: https://github.com/exercism/xtypescript/pull/35


bug? shooter demon's ball doesn't move

apparently killed by it when touched

Definitely a bug! There must be something wrong with the demon fsm! Thanks for pointing this out!


Bug in decoding of "scalar" Lepton files

Analyzing merged PR #38 I found out that while current version of library can decode Lepton files, prepared in SIMD version of DropBox Lepton, it cannot decode Lepton files, prepared by its scalar version.
Steps to reproduce:

Compile scalar version from https://github.com/dropbox/lepton - it is lepton-scalar

Encode overflowing file from #38 by lepton-scalar mathoverflow.jpg mathoverflow_scalar.lep,  get mathoverflow_scalar.lep

Try to decode it by current version of lepton_jpeg_rust

$ ./lepton_jpeg_util mathoverflow_scalar.lep m.jpg
2023-12-15T12:51:24.441Z INFO  [lepton_jpeg_util::structs::lepton_format] decoding 8 multipexed streams with 8 threads
error code: StreamInconsistent 7 numNonzeros7x7 > 49

It appears that lepton_jpeg_rust  uses 16 bit SIMD arithmetics in DC estimates prediction (1, 2), while "scalar" DropBox Lepton uses 32 bit (1, 2). BTW, as a result mathoverflow_32.lep file encoded by  lepton_jpeg_rust  cannot be decoded neither by lepton-scalar, nor by lepton-avx

Does #54 resp. 413877bfa11d8d8301aac62ab6e9b45a2dfc8a91 fix this issue?

Does #54 resp. 413877b fix this issue?

No, it is just a library interface change.

I added #57 to fix this

fixed with #57


AF-212 new location style support

:bread:
/cc @zendesk/vegemite
References

Jira link: https://zendesk.atlassian.net/browse/AF-212
related pr: https://github.com/zendesk/zendesk_app_framework/pull/521

@ocke @danielbreves :+1:?

@ocke @danielbreves :+1:?

:+1:

@adammw I'm happy to merge this, are you :+1: also?

:+1:


Tileview version 2.0 OnHotSpotTap not working and delayed zooming tileview when drawing with many path point

I have 2 problem here when I'm using the tileview latest library v2.0,

I'm using the OnHotSpotTap on the latest tileview v2.0 but nothing come out, even when I use the MarkerTapListener but still nothing come.
I wan to click/tab on the tileview and get the point (something like click listener), can you help me with it?

I draw the path based on the points I put in, delay is occur and even sometimes the app crash when I zoom the tileview, I have tested on it, if too many point put in the delay will occur.
I face this issue in old and latest library as well.

do you have hotspots defined?  can you post the relevant pieces of your code?
Canvas.drawPath is not performant.  If you have a lot of points you may need to come up with your own strategy for drawing paths - one user draws the paths directly on the tile bitmaps, for example

I faced same his problems. My code:
HotSpot hotSpot = new HotSpot();
hotSpot.setTag(this);
ArrayList<double[]> hotpots=new ArrayList<>();
hotpots.add(new double[]{0, 0, 400, 400});
mTileView.addHotSpot(hotpots, new HotSpot.HotSpotTapListener() {
@Override
public void onHotSpotTap(HotSpot hotSpot, int x, int y) {
Activity activity = (Activity) hotSpot.getTag();
Log.d("HotSpotTapped", "With access through the tag API to the Activity " + activity);
}
});

the hotSpot variable you define on line 1 is never added; instead you're adding a new hot spot (at 0, 0, 400, 400) that has a listener, but no tag.
try the sample in the readme: https://github.com/moagrius/TileView#hotspots
note how the hotspot is defined, and added explicitly - you're using a shortcut that takes a List of positions and creates a new hotspot, with the listener as the second argument.

Hi, moagrius.
Thanks for your reply, about the hot spot I wanna ask about the code :
HotSpot hotSpot = new HotSpot();
hotSpot.setTag( this );
hotSpot.set( new Rect( 0, 0, 100, 100 ) );
tileView.addHotSpot( hotSpot, new HotSpot.HotSpotTapListener(){
@Override
public void OnHotSpotTap( HotSpot hotSpot, int x, int y ) {
Activity activity = (Activity) hotSpot.getTag();
Log.d( "HotSpotTapped", "With access through the tag API to the Activity " + activity );
}
});
I have try this code but the first parameter (hotSpot) in the code
tileView.addHotSpot( hotSpot, new HotSpot.HotSpotTapListener())
the actual parameter is the double list object, but not the HotSpot object.
I'm confuse on it, can you demo the code to get the x & y value with hot spot?

the addHotSpot(java.util.List<double[]> positions, HotSpot.HotSpotTapListener listener) is just a convenience method, that constructs the HotSpot for you and attaches a listener.  If you need more specific functionality, ignore this signature, and use only the addHotSpot(HotSpot hotSpot) signature with your own HotSpot construction.
In the example above, it'd look like this:
HotSpot hotSpot = new HotSpot();
hotSpot.setTag( this );
hotSpot.set( new Rect( 0, 0, 100, 100 ) );
hotSpot.setHotSpotTapListener( new HotSpot.HotSpotTapListener(){
  @Override
  public void OnHotSpotTap( HotSpot hotSpot, int x, int y ) {
    Activity activity = (Activity) hotSpot.getTag();
    Log.d( "HotSpotTapped", "With access through the tag API to the Activity " + activity );
    Log.d( "HotSpotTapped", "x=" + x + ", y=" + y );
  }
});
tileView.addHotSpot( hotSpot );

Thanks for your reply. Appreciate your help.


Pre-commit hooks for formatting, lint in CI

Do you mean precommit that runs on local machine? Or only in CI? I think you now check for formatting in CI from what I have seen. Having it run local would probably save some hassles.

Yeah, the CI portion of this issue is complete, but I do want to add local pre-commit hooks. I don't have a ton of experience with them but I think they need to be installed manually, so they're optional.


Minimal set of features

At least we should have following features:

[x] spectra indexation
[x] sending freshest spectra via e-mail and make telegram notification

Done


Clear all user data before authenticating

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 90.977%

Totals

Change from base Build<PHONE_NUMBER>:
1.7%

Covered Lines:
121

Relevant Lines:
133

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 90.977%

Totals

Change from base Build<PHONE_NUMBER>:
1.7%

Covered Lines:
121

Relevant Lines:
133

💛  - Coveralls


addToContext should only see request headers

Perceived Problem
The API is bloated, currently exposing HTTP.IncomingMessage, so an event emitter, so on:

It is not appropriate. It is not how we would design it from scratch. It is inherited without having been really reflected upon.
Aside from burdening the autocomplete DX for users, it permits nonsense:
schema.addToContext(req => {
  req.destroy() // possible but senseless
})

Ideas / Proposed Solution(s)

A new constrained type, about just data
just http headers
either schema.addToContext(({ headers }) => )
or schema.addToContext((headers) => )
Call the type... RequestData or NexusRequestData
Do we need plugins to be able to contribute typegen here?
What if there is server middleware that does some complex logic and wants to add some derived values to the request object which then the user wants to add to context?

answer seems to be... don't... cut the indirection and bring schema.addToContext to where you need it...

Related

#506

Would be made obsolete by https://github.com/graphql-nexus/nexus-future/issues/524


How to debug the popup error?

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
I get the following error when I'm trying to upload a file to amazon s3. But it looks like tina truncates the error. How do I see the full error message?

Reproduction
.
Steps to reproduce
No response
System Info
System:
  OS: macOS 13.2.1
  CPU: (10) arm64 Apple M1 Pro
  Memory: 350.16 MB / 16.00 GB
  Shell: 5.8.1 - /bin/zsh
Binaries:
  Node: 16.18.0 - /opt/homebrew/opt/node@16/bin/node
  Yarn: 1.22.19 - ~/upwork/nick/cashforcars.io/node_modules/.bin/yarn
  npm: 8.19.2 - /opt/homebrew/opt/node@16/bin/npm
Browsers:
  Chrome: 110.0.5481.177
  Firefox: 104.0.2
  Safari: 16.3
npmPackages:
  @tinacms/auth: ^1.0.3 => 1.0.3
  @tinacms/cli: ^1.2.0 => 1.2.0
  tinacms: ^1.2.1 => 1.2.1

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

This is a strange error message. The full error message should be in the console. Can you please provide a way for us to reproduce this error? This way we can either make the error message more readable or fix the underlying issue.

@logan-anderson Here it is: https://github.com/axelthat/next-tina-bug. Please use your s3 credentials.

Fixed. I didn't have enough permissions. Followed ACL guide from here: https://tina.io/docs/reference/media/external/s3/


Feature request: Make passing address to contracts easier

Prerequisites

[X] I checked the documentation and made sure this feature does not already exist.
[X] I checked the existing issues to make sure this feature has not already been requested.
[X] I have read the code of conduct before creating this issue.

Problem
When passing addresses of either wallets or contracts to contracts, it is very verbose. e.g.
    cc.agbp.execute(
        {
            "mint": {
                "recipient": str(acc_borrower.address()),
                "amount": str(5 * cc.one_unit)
            }
        }, acc_admin).wait_to_complete()

Feature / Solution
str(acc_borrower.address()), should just be acc_borrower
Similarly when passing in address of contracts:
str(cc.atomix_mint.address)
Alternatives
No response
Additional Context
No response

This is in #204.

This is now in under #204

Are you happy with this implementation @dishmop?

That looks great - thanks


Pass custom manifest and catalog path

How to pass custom manifest,json and catalog.json path to hooks? My dbt project it's in a subfolder and i need to append that info because the prehook give me Unable to load manifest file ([Errno 2] No such file or directory: 'target/manifest.json') errors
Thanks!

What hook are you using? I give you the example for e.g.
repos:
- repo: https://github.com/offbi/pre-commit-dbt
   rev: v0.1.0
   hooks:
   - id: check-model-has-tests-by-type
     args: ["--tests", "unique=1", "data=1", **"--manifest", "<path_to_your_manifest>",** "--"]

Do not forget to add -- as the last argument. pre-commit is, unfortunately, using parameter filenames for the changed files and Argparse has a problem with that.

Ohh i see, thanks, everything works flawless now!
and congrats for the project, it's very useful :D

@tomsej Just to confirm, are the --manifest/--catalog location flags still required in args:?


Ion core defensive fix

@liveskai found this bug and its will happened when u using ion core weapon killed a nuke titan npc, if npc dead while core end will get a weird few second active time and icon shows core active but nothing will happened, its will all back to normally when active time end

Oh right, this was actually fixed on my local build long ago but i never update the file in the branch. Alright so imma do that right now, and check if the method i did also consistently fix the issue, if it doesn't in your side, imma merge this one.

@LightBlueCube any change?

Well closing due to lack of response, currently using the implementation i did.


Culling PFR regressions with MS MARCO sparse judgments

This is an effort to reduce the running times of our regressions.
Commenting out instead of removing so that we can re-create if needed for experiments.

Note that we don't need to worry about the underlying code breaking because we're still testing PRF with dense judgments.

Codecov Report
Patch and project coverage have no change.

Comparison is base (b192e3c) 59.67% compared to head (adfafb0) 59.67%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2089   +/-   ##
=========================================
  Coverage     59.67%   59.67%
  Complexity     1173     1173
=========================================
  Files           190      190
  Lines         11085    11085
  Branches       1462     1462
=========================================
  Hits           6615     6615
  Misses         3992     3992
  Partials        478      478

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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