isEmoji doesn't work for emojis with gender modifiers

Passing 🏃♂or 🏃♀to isEmoji returns false.

This is true, I wrote a quick test that is failing. I'm going to try to investigate but if you have time, a PR is always welcome!
@Test
  public void isEmoji_with_gender_modifier_returns_true() {
    // GIVEN
    String str = "🏃♂";

    // WHEN
    boolean isEmoji = EmojiManager.isEmoji(str);

    // THEN
    assertTrue(isEmoji);
  }

Draft Pull Request:  https://github.com/vdurmont/emoji-java/pull/139


Flynn analog for Digital Ocean Monitoring?

I know it was just released today  but are there plans for future updates for Flynn to match these monitoring features.
The CPU, Disk Usage and Memory ones would be nice to have.
(I'm unsure if blobstorage would be capable of handling this data)
Metrics

CPU
Disk I/O
Memory
Disk usage
Inbound and outbound bandwidth
A process list ordered by CPU or memory usage

Alerts

Slack Alerts — Post to your team's Slack channel when a new alert is triggered.
Email Notifications — Send emails when a new alert alert is triggered.

Dupe of #201.


.net core 2.0 Authentication

From @chintan3100 on September 12, 2017 14:53
I have upgrade code 1.1 to 2.0.
We have used app.UseJwtBearerAuthentication and app.UseCookieAuthentication both Authentication.
How i can set both authentication in 2.0. It's looks like only one authentication working at a time.
services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
         .AddCookie(options =>
         {
             options.Cookie.Name = JWtToken.CookieName;
             options.TicketDataFormat = new CustomJwtDataFormat(
                 SecurityAlgorithms.HmacSha256,
                 TokenValidationParameters,
                 authenticationService);
         });
         services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
        .AddJwtBearer(options =>
        {
            options.SaveToken = true;
            options.TokenValidationParameters = TokenValidationParameters;
            options.RequireHttpsMetadata = false;
            options.Events = new JwtBearerEvents
            {
                OnTokenValidated = async (context) =>
                {
                    // Add the access_token as a claim, as we may actually need it
                    var accessToken = context.SecurityToken as JwtSecurityToken;
                    if (accessToken != null)
                    {

                    }
                }
            };
        });

Copied from original issue: dotnet/core#965

What are you trying to achieve? A single endpoint that accepts both cookies and bearer?

@chintan3100, I was able to use both Cookie and JwtBearer together using the approach below
public void ConfigureServices(IServiceCollection services) {    //Some codes here    services.AddAuthentication()        .AddCookie()        .AddJwtBearer(options =>        {            options.RequireHttpsMetadata = false;            options.SaveToken = true;            options.TokenValidationParameters = tokenValidationParameters;        }); }

Having an extra services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme) shouldn't matter though.

@mubarakadeimam when neither are provided, which challenge do you want to issue? The 301 or 401?

@Tratcher, I want Cookie as default and JwtBearer when explicitly specifies.
I added this
            {
                options.AddPolicy("Authenticated", policy =>
                {
                    policy.AddAuthenticationSchemes(
                        JwtBearerDefaults.AuthenticationScheme,
                        CookieAuthenticationDefaults.AuthenticationScheme)
                        .RequireAuthenticatedUser()
                        .Build();
                });
            });

in my ConfigureServices``` hoping to have [Authorize(policy: "Authenticated")]` on my controller.
This currently only works for JwtBearer, which makes me think the problem is from the CookieAuthentication

@HaoK is there any policy that lets you specify multiple Authenticate schemes but only one challenge?

Not in 2.0, that's why we are adding AuthenticationPolicies in 2.1 so you can accomplish exactly that, different sets of schemes per action

That said, it's fishy that both would be used on the same endpoint. I would expect JWT for APIs and cookies for interactive endpoints. What kind of endpoint is it?

This is why multiple challenges are broken 😬.

Below are practical senari.
We created web api project some of api consume by other window application which use Bear Authentication.
We have UI project (Angular 4.0) which used cookie authentication.
This is working fine in .net core 1.1. but in 2.0 we can only enable default one authenticaion at a time.
Any work around to resoved this issue ?

Have two different endpoints, one for APIs and one for the UI project which uses cookies instead of a single one for both

Yes, I have two different controller one use Bear Authentication and other use cookie but to configure this different authentication in .net core 2.0.
can you please provide code ?

You just need to setup a policy for each controller's authorize to use, something like this:
                options.AddPolicy("Bearer", policy =>
                {
                    policy.AddAuthenticationSchemes(
                        JwtBearerDefaults.AuthenticationScheme)
                        .RequireAuthenticatedUser()
                        .Build();
                });
                options.AddPolicy("Cookie", policy =>
                {
                    policy.AddAuthenticationSchemes(
                        CookieAuthenticationDefaults.AuthenticationScheme)
                        .RequireAuthenticatedUser()
                        .Build();
                });

[Authorize("Bearer")] or Authorize["Cookies")]  as appropriate

in .net core 1.1 i have used policy to define role in Authorization.
 services.AddAuthorization(options =>             {                 options.AddPolicy(EOPolicy.Engagement, policy => policy.RequireRole(UserType.Engagement));                 options.AddPolicy(EOPolicy.FirmUser, policy => policy.RequireRole(UserType.FirmAdmin));                 options.AddPolicy(EOPolicy.Organizer, policy => policy.RequireRole(UserType.Organizer));                 options.AddPolicy(EOPolicy.OrganizerLogin, policy => policy.RequireRole(UserType.OrganizerLogin));                 options.AddPolicy(EOPolicy.SysAdmin, policy => policy.RequireRole(UserType.SysAdmin));                 options.AddPolicy(EOPolicy.FirmUserOrOrganizer, policy => policy.RequireRole(UserType.FirmAdmin, UserType.Organizer));                 options.AddPolicy(EOPolicy.UserResetOrChangePass, policy => policy.RequireRole(UserType.UserResetOrChangePass));                 options.AddPolicy(EOPolicy.FirmUserOrOrganizerOrAdmin, policy => policy.RequireRole(UserType.FirmAdmin, UserType.Organizer, UserType.FirmAdmin));             });

Can i use like below code in 2.0
[Authorize(Policy = EOPolicy.Engagement, AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]

From a security PoV (and I realise this is being strict) you don't share the same API endpoints. Look at Gmail, the APIs it uses in the web site are not the apis available to mobile apps. There's a different attack surface, a different trust level, a different threat model. Is there a reason you can't just abstract the endpoints which then call the same service?

@chintan3100 yes that should be fine

@blowdart, If I get you right, Are you suggesting I should have seperate endpoints to handle requests from Cookie Authenticated Clients and JwtBearer Authenticated clients respectively?

That's how I'd do it, but then I do care more about security than practicality, so feel free to reject it :)

@mubarakadeimam  Yes, the idea the endpoints would be identical except for having different [Authorize] attributes, and they could just call into a common method

Good @Haok, but won't you be a bit surprised if I tell you that CookieAuthentication don't work on endpoints using Authorize(AuthenticationSchemes = "Cookies") in ASP.NET Core 2.0?

Define "don't work"

@Haok, Take a look at the following:
services.AddAuthentication()
    .AddCookie("Cookies", options =>
    {
        options.Cookie.Name = "AuthCookie";
        options.Cookie.Domain = "localhost";
        options.Cookie.Path = "/";
        options.Cookie.HttpOnly = false;
        options.Cookie.SameSite = SameSiteMode.Lax;
        options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
   });

[Authorize(AuthenticationSchemes = "Cookies")]
public class MyController : Controller
{
\
}
This is what I am talking about.

@mubarakadeimam did you mean the opposite? In your code sample there is no default so the latter example (no specified AuthenticationSchemes should fail).

Can you please share sample project in Github. Which has two different api use different authentication "Cookie" and "Bearer"

@davidfowl, the work with no default works with Cookie, maybe due to AspNetCore Identity.

Solved issue :) :) :)
var policy = new AuthorizationPolicyBuilder()
.AddAuthenticationSchemes(JwtBearerDefaults.AuthenticationScheme, CookieAuthenticationDefaults.AuthenticationScheme)
.RequireAuthenticatedUser()
.Build();
I have add policy to RequireAuthenticatedUser which has missing \
.AddAuthenticationSchemes(JwtBearerDefaults.AuthenticationScheme, CookieAuthenticationDefaults.AuthenticationScheme)
Thanks you all for your help

Please close issue

if someone is still looking for the solution to this issue.
the problem is from  AspNetCore Identity @codeprefect  you right. i took a look at the httpContext and check the Authentication parameter and i saw some AutomaticSchema on there. the value was set to Identity.Application  if you use that instead CookieAuthenticationDefaults.AuthenticationScheme it will work as intended other wise youll get a 401.


lcmUtils.addSubscriber doesn't work without specifying messageClass argument

The following snippet only triggers the onEstRobotState callback, not the onEstRobotStateOld callback when LCM traffic on EST_ROBOT_STATE is being published.
from director import consoleapp
from director import lcmUtils
from director import robotstate
from director import drcargs
import drake as lcmdrake
import bot_core as lcmbotcore
import numpy as np
import argparse

def onEstRobotState(msg):
    print "got an EST_ROBOT_STATE msg"

def onEstRobotStateOld(msg):
    print "got an EST_ROBOT_STATE ms using old subscriber signature"

if __name__ == "__main__":

    # works
    subscriber = lcmUtils.addSubscriber(
    'EST_ROBOT_STATE', lcmbotcore.robot_state_t, onEstRobotState)
    consoleapp.ConsoleApp.start()

    # DOESN'T WORK
    # this is the old signature
    subscriber = lcmUtils.addSubscriber(
    'EST_ROBOT_STATE', callback=onEstRobotStateOld)
    consoleapp.ConsoleApp.start()

if you don't specify messageClass then your callback must have the signature func(bytes,  channel) instead of func(msg).

Ok, it fails silently however if the callback doesn't have the func(bytes,channel) signature however. Something to be aware of.

yeah sorry :(  It's a PythonQt issue that I've been aware of for years and never bothered to fix.


Is mining done on the serverside?

i wonder if mining is done on the serverside or the clientside and how can we make a miner for this mining process?

The mining is done on the server side in another thread. I didn't get the second part of your question.

How can we make it so we can mine through the client side

So it is actual mining

How can we make it so we can mine through the client side

It can be developed. The main challenge is to not freeze the client, mining is quite processor heavy (maybe using workers?).
Best

Send the to the GPU with GPU.js


revert appkit

remove appkit supporting

😭 As a performance issue, appkit support should be considered again in the future.

😭 As a performance issue, appkit support should be considered again in the future.

😭

@gmlwhdtjd .... test not start. why? ....

@gmlwhdtjd .... test not start. why? ....

haha update GitHub action

@gmlwhdtjd .... test not start. why? ....

it's so weird!!🤔

@gmlwhdtjd .... test not start. why? ....

it's so weird!!🤔

really


panic in sqlx_core::pool::connection::Floating<DB,sqlx_core::pool::connection::Idle>::metadata

When using PoolOptions::before_acquire, I got a panic crashing my entire server with the following error:
thread 'main' panicked at 'supplied instant is later than self', library/std/src/time.rs:313:48
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5
   1: core::panicking::panic_fmt
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14
   2: core::panicking::panic_display
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:72:5
   3: core::panicking::panic_str
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:56:5
   4: core::option::expect_failed
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/option.rs:1817:5
   5: core::option::Option<T>::expect
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/option.rs:692:21
   6: std::time::Instant::duration_since
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/time.rs:313:9
   7: sqlx_core::pool::connection::Floating<DB,sqlx_core::pool::connection::Idle<DB>>::metadata
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.0/src/pool/connection.rs:328:18
   8: sqlx_core::pool::inner::check_idle_conn::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.0/src/pool/inner.rs:374:20
   9: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  10: sqlx_core::pool::inner::PoolInner<DB>::acquire::{{closure}}::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.0/src/pool/inner.rs:197:79
  11: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  12: <tokio::time::timeout::Timeout<T> as core::future::future::Future>::poll
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/time/timeout.rs:176:33
  13: sqlx_core::pool::inner::PoolInner<DB>::acquire::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.0/src/pool/inner.rs:219:10
  14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  15: sqlx_core::pool::Pool<DB>::acquire::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.0/src/pool/mod.rs:343:38
  16: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  17: sqlx_core::pool::executor::<impl sqlx_core::executor::Executor for &sqlx_core::pool::Pool<DB>>::prepare_with::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.0/src/pool/executor.rs:58:45
  18: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  19: <core::pin::Pin<P> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/future.rs:123:9
  20: opcua_server::database::Database::init::{{closure}}
             at ./src/database.rs:76:18
  21: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  22: opcua_server::Main::create::{{closure}}
             at ./src/main.rs:38:91
  23: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  24: opcua_server::main::{{closure}}
             at ./src/main.rs:88:66
  25: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/future/mod.rs:84:19
  26: tokio::park::thread::CachedParkThread::block_on::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/park/thread.rs:263:54
  27: tokio::coop::with_budget::{{closure}}
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/coop.rs:102:9
  28: std::thread::local::LocalKey<T>::try_with
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/local.rs:412:16
  29: std::thread::local::LocalKey<T>::with
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/thread/local.rs:388:9
  30: tokio::coop::with_budget
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/coop.rs:95:5
  31: tokio::coop::budget
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/coop.rs:72:5
  32: tokio::park::thread::CachedParkThread::block_on
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/park/thread.rs:263:31
  33: tokio::runtime::enter::Enter::block_on
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/runtime/enter.rs:151:13
  34: tokio::runtime::thread_pool::ThreadPool::block_on
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/runtime/thread_pool/mod.rs:90:9
  35: tokio::runtime::Runtime::block_on
             at /home/olojkine/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.19.2/src/runtime/mod.rs:482:43
  36: opcua_server::main
             at ./src/main.rs:101:5

sqlx should probably use saturating_duration_since instead of duration_since in Floating::metadata.
See: https://doc.rust-lang.org/std/time/struct.Instant.html#monotonicity

No, I'm dumb. These need to be reversed: https://github.com/launchbadge/sqlx/blob/main/sqlx-core/src/pool/connection.rs#L328-L329
So
        PoolConnectionMetadata {
            age: now.duration_since(self.created_at),
            idle_for: now.duration_since(self.idle_since),
        }

The receiver of the method is supposed to be the later Instant and the argument is the earlier one. Kinda easy to confuse tbh, I probably should have just used the - operator as getting that wrong would be easier to spot.

Well, actually, looking at the code: it looks like the substraction is done in the wrong order !

You beat me to it :)

This code was obviously not executed a single time before being published on crates.io...

Yeah, I meant to add a test but forgot.


Enhance Data Ingestion Engine

Motivation:

Offline segment generation and real-time in-memory consuming to on-disk committed segment conversion are very similar process, and they are both achieved by the same segment creation engine. We should try to unify the pipeline so that most of the features can be shared for both offline and real-time tables, including sorting data on a given column.
Currently offline segment generation scans the records twice (record transformations also happen twice), which has low performance and is not friendly to streaming input.
Currently real-time segment conversion reads the raw records from the segment, which can be significantly optimized to save both CPU and memory cost because all the useful information is already stored in the forward index.

End goal:

Segment generation should purely based on the table config and schema, no extra parameters should be accepted (there is no way to pass extra parameters for real-time segment conversion).
Offline data ingestion should only scans the records once and store all the information in memory (similar to real-time consuming segment).
Offline data ingestion should support sorting segment on a given column (same as real-time segment conversion).
Real-time segment conversion should use much less system resources and have less impact to queries.
Design an interface (close to the idea of the stats collector) to store all the column data. Offline data ingestion pipeline creates them by scanning the data; real-time data ingestion pipeline creates them by wrapping around the in-memory forward-index, inverted-index, dictionary etc. The segment creation engine directly works on the new interface to create the segment so that offline and real-time pipeline can share the features of the segment creation engine.
Data ingestion engine should support the following types of indexes:

Dictionary
Forward Index (both dictionary encoded & raw)
Inverted Index
Null Value Vector
Text Index
Star-Tree Index (v2)
(Bloom Filter is in memory only right now)

Related Issue #4036

Cleanup the unused old star-tree: #5086

To add here, I think that we should introduce the column-based interface (maybe it's the same idea as Design an interface (close to the idea of the stats collector) to store all the column data) for data indexing.
If the input data is based on the columnar format, we will be able to generate dictionary/indices column by column. This will probably consume much less heap because we don't need to store all column data at the same time. Also, we can add the parallelization config to make the engine process multiple columns concurrently to speed up.


HtmlTableElement.InsertRow adds row to  in Internet Explorer 11

Im using InsertRow to get a reference to TBody, on Internet explorer this throws an exception
Table Insert
        _tableElement.InsertRow();
       //get tbody -> throws exception
        _tableBody = _tableElement.TBodies.First();

InnerHtml of TableElement on Chrome

InnerHtml of TableElement on IE 11

`

Hi @mRy0,
Can you please provide a code sample demonstrating the issue.
A Bridge Live example would be great.

http://live.bridge.net/#63e403cf2fd73698de5a109bc5f78d77

This doesn't seem like it's a problem with Bridge. This appears to be a browser inconsistency with how they implement the JavaScript spec. The compiled code is raw native JavaScript.
I'm not sure there is much we can do here.


Add kubectl kudo bundle to bundle the KEP-9 framework format

As a user, I want to install operators using the new framework format, so I can continue installing frameworks with KUDO.
Step 1 of this will convert, during kubectl kudo install, the new framework type into a FrameworkVersion under the scenes.

Already done https://github.com/kudobuilder/kudo/blob/master/pkg/kudoctl/cmd/package.go


Stuck on loading screen

After the latest update, Station has been stuck on the "Your Station will be ready soon..." page no matter what I do. All applications are on that screen. And it will stay that way for hours. Not sure if this is a bug, or if I've done something wrongly.

Hi. On what OS  do you run it?

macOS Ventura 13.4.1

Check the file ~/Library/Logs/Station/log.log
It probably contain the reason. Please put here if you find something.
I would recommend to clean Station data. To do it remove folder ~/Library/Application Support/Stationv2
You have to add all application again afterwards.

Facing the same issue. Initially it worked fine. After a day or two of use it is now showing the same message "Your station will be ready soon"
Relevant infos:
Mac OS ventura 13.5.1

Check the file ~/Library/Logs/Station/log.log It probably

contain the reason. Please put here if you find something. I would recommend to clean Station data. To do it remove folder ~/Library/Application Support/Stationv2 You have to add all application again afterwards.

Checked the log file. Attached a screenshot.


Unable to use construct with Datadog Extension on ARM functions

Expected Behavior
I should be able to update my Lambda functions to ARM and the Extension should work.
Looking at this issue, it appears the -ARM prefix is not being applied properly to the Datadog-Extension's ARN.
Initial glance at the source code didn't raise any red flags unless maybe the isARM value is always evaluating to false?
Below is my function's config after deploying with this construct.

Any help or insight you can provide would be greatly appreciated. 🙏
Actual Behavior
I'm receiving errors in my Lambda Cloudwatch logs that appear to be related to the Datadog extension loading...it appears to be attempting to load an X_86 executable.
Manually updating the extension layer to ARN arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Extension-ARM:16 in the Lambda console got the error to go away, though I noticed when I redeployed that the layer goes back to the non arm version.
Steps to Reproduce the Problem

Updated my Lambda functions to ARM
Deployed
Got errors (see below) in my CloudWatch logs
Updated datadog-cdk-constructions to version 0.5.0 => same issue

Specifications

Datadog Lambda Layer version: nodeLayerVersion 67
Node version: 12
extensionLayerVersion: 16

I'm initializing Datadog via
const datadog = new Datadog(scope, `${stageName}-Datadog`, {
  nodeLayerVersion: 67,
  extensionLayerVersion: 16,
  apiKey: globalSecrets.datadogApiKey,
  logLevel: 'debug'
});

datadog.addLambdaFunctions(arrayOfLambdaFunctionsHere);

Stacktrace
This is from my updated Lambda ARM function's CloudWatch logs.
2022-01-03T13:20:22.007-08:00 | EXTENSION Name: datadog-agent State: LaunchError Events: [] Error Type: UnknownError
-- | --
  | 2022-01-03T13:20:22.124-08:00 | START RequestId: bed92060-8704-4d2a-9313-118aa28d1415 Version: $LATEST
  | 2022-01-03T13:20:22.128-08:00 | EXTENSION Name: datadog-agent State: LaunchError Events: [] Error Type: UnknownError
  | 2022-01-03T13:20:22.128-08:00 | END RequestId: bed92060-8704-4d2a-9313-118aa28d1415
  | 2022-01-03T13:20:22.128-08:00 | REPORT RequestId: bed92060-8704-4d2a-9313-118aa28d1415 Duration: 3.39 ms Billed Duration: 4 ms Memory Size: 1024 MB Max Memory Used: 3 MB
  | 2022-01-03T13:20:22.128-08:00 | RequestId: bed92060-8704-4d2a-9313-118aa28d1415 Error: fork/exec /opt/extensions/datadog-agent: exec format error Extension.LaunchError

Hi @deeheber, thanks for reporting the issue. To reproduce the issue, are you updating your lambda functions to ARM using the CDK, through the AWS console or UI, or some other way?

Hi @thedavlee,
Thanks for the reply. Sorry I forgot to include that detail.
We're updating our lambda functions to ARM using the CDK version 1.136.0 for all CDK packages. I don't know if it matters, but we're using the NodeJSFunction construct.
An example of a function creation looks similar to this (I just put in params. in place of the actual data since I don't want to copy/paste production code in a public Github issue).
  import { NodejsFunction } from '@aws-cdk/aws-lambda-nodejs';
  import * as lambda from '@aws-cdk/aws-lambda';

    const myLambda = new NodejsFunction(this, `${this.stageName}-${params.name}`, {
      architecture: lambda.Architecture.ARM_64,
      runtime: lambda.Runtime.NODEJS_12_X,
      entry: params.entry,
      handler: params.handler,
      memorySize: 1024,
      vpc: params.vpc,
      securityGroups: [params.securityGroup],
      environment: params.environment,
      bundling: {
        minify: true,
        sourceMap: true,
      },
      timeout: params.timeout
      reservedConcurrentExecutions: params.reservedConcurrentExecutions,
    });

We're then inputting the created lambda functions into an array that get fed into datadog.addLambdaFunctions code mentioned above.
I did verify via visual inspection in the AWS console that these functions are being updated to ARM.
Let me know if you need any additional info and thanks again.

@deeheber, thanks for the prompt response.
Unfortunately I wasn't able to replicate your issue, using:

NODEJS_12_X runtime
datadog-cdk-constructs 0.5.0
version 1.136.0 for all AWS CDK packages
NodejsFunction construct
the same extensionLayer and nodeLayer versions.

Note: datadog-cdk-constructs version 0.5.0 should definitely be used, any earlier versions will produce the exact behavior you mentioned as ARM support had yet to be fully implemented.
Aside from double checking you're on our datadog cdk version 0.5.0, could you send your dependency tree? npm list

Hey @thedavlee going to close this issue. Still not sure what's going on, but it's possible the issue might be on my end and out of your scope. Thanks for your help thus far. Will reopen if there's any relevant updates.


Moment.format('YY') Returns Zero-filled Year

A really quick modification to have the 'YY' output-formatter return the year leftZeroFilled to the two digits the format suggests. This is the one thing that tripped me up with this wonderful library.

Ah, this regression was caused by https://github.com/timrwood/moment/commit/537cd93c259fd97ba48a98ab8eb02f86716e7293#L0L141
Thanks for the unit test too!


Wrong execution reuslt on fast interpreter mode

Subject of the issue
WAMR on fast interpreter mode  outputs a wrong result on the test case
Test case
finterp_wrong_val_select.zip
(module
  (type (;0;) (func))
  (type (;1;) (func (result i64)))
  (type (;2;) (func (param i32 i32 i32) (result i32)))
  (func (;0;) (type 1) (result i64)
    i64.const 122
    i32.const 1
    i32.const<PHONE_NUMBER>
    i32.const -1
    i32.const 1
    if (param i32 i32 i32) (result i32)  ;; label = @1
      select
    else
      br 0 (;@1;)
      nop
      select
    end
    drop
    )
  (export "_start" (func 0))
  (export "to_test" (func 0)))

Your environment

Host OS: Ubuntu 20.04
Commit Id: 1c2a8fca4e9bf969ae27240a0918ee8164dfd598

Steps to reproduce

build WAMR on fast interpreter mode
execute the command

iwasm --heap-size=0 -f "to_test" <test_case>

Expected behavior
The output is supposed to be the operand 122, which is introduced by the first instruction in the function.
122

Actual behavior
0x100000001:i64

Hi, I tested it on my Ubuntu 20.04 local machine, and it output the expected answer:

Hi, I tested it on my Ubuntu 20.04 local machine, and it output the expected answer

Thank you for your reply, you are right! I found the bug has been fixed by the version of commit id e44465d2599d5fc4bf66a6469202898c32b75edf .


Dark data edits

Coverage remained the same at 70.43% when pulling 347971eb4cc34bf5f020f22bb23eb3ff60ad80c1 on dark-data-edits into 0a5457e6f3576dcda5e432cfc2a346b4cc93a026 on master.


React Context Bug?

Here's a weird one:
Test case
mkdir test
cd test
yarn init
yarn add<EMAIL_ADDRESS><EMAIL_ADDRESS>@reach/router
touch index.js

Then paste this into index.js
const React = require("react");
const { renderToString } = require("react-dom/server");
const { ServerLocation, Router } = require("@reach/router");

let { createElement: e, createContext } = React;

let Home = () => e("div", null, "Heyooooooo");

let html = () =>
  renderToString(
    e(ServerLocation, { url: "/" }, e(Router, null, e(Home, { path: "/" })))
  );

console.log("1st attempt", html());
console.log("2nd attempt", html());

Now run:
node index.js

And you'll get this:
1st attempt

Heyooooooo

2nd attempt

Heyooooooo

The bug
Now:
yarn add<EMAIL_ADDRESS><EMAIL_ADDRESS>node index.js

And you get this!
1st attempt

Heyooooooo

/Users/ryanflorence/Desktop/test/node_modules/@reach/router/lib/utils.js:243
  .replace(/(^\/+|\/+$)/g, "").split("/");
  ^

TypeError: Cannot read property 'replace' of undefined
    at segmentize (/Users/ryanflorence/Desktop/test/node_modules/@reach/router/lib/utils.js:243:3)
    at rankRoute (/Users/ryanflorence/Desktop/test/node_modules/@reach/router/lib/utils.js:226:35)
    at Array.map (<anonymous>)
    at rankRoutes (/Users/ryanflorence/Desktop/test/node_modules/@reach/router/lib/utils.js:235:17)
    at pick (/Users/ryanflorence/Desktop/test/node_modules/@reach/router/lib/utils.js:42:16)
    at RouterImpl.render (/Users/ryanflorence/Desktop/test/node_modules/@reach/router/index.js:231:33)
    at processChild (/Users/ryanflorence/Desktop/test/node_modules/react-dom/cjs/react-dom-server.node.development.js:2207:18)
    at resolve (/Users/ryanflorence/Desktop/test/node_modules/react-dom/cjs/react-dom-server.node.development.js:2064:5)
    at ReactDOMServerRenderer.render (/Users/ryanflorence/Desktop/test/node_modules/react-dom/cjs/react-dom-server.node.development.js:2349:22)
    at ReactDOMServerRenderer.read (/Users/ryanflorence/Desktop/test/node_modules/react-dom/cjs/react-dom-server.node.development.js:2323:19)

If you open up node_modules and change the source of @reach/router/index.js and add this to line 195 (inside of Router)
console.log(baseContext)

Run it again:
$ node index.js
{ baseuri: '/', basepath: '/' }
1st attempt

Heyooooooo

{ location: { pathname: '/' }, navigate: [Function: navigate] }

1st attempt runs just fine, but the second attempt the base context is different! And it's the Location context! 😵
So what's up?
No idea. The difference between 16.2 and 16.3 is that in 16.2 the createContext polyfill is being used, but in 16.3 it's using React's own createContext.
The fact that we're getting LocationContext being called back in BaseContext makes me think something is wrong with React.createContext. We only render BaseContext in one place, and we don't do any sort of singleton state with it (first run works, second doesn't) so it'd be really surprising if it's our code that's mixing up the context.
What can you do?
Try to reproduce the bug w/o Reach Router, or identify any misuse of context that causes the contexts to get mixed up.

Thanks @zenios, we'll worry about this on the react issue tracker :)

Is there a workaround in the mean time?

Wait, I don't see how BaseContext ever updates?
The provider: https://github.com/reach/router/blob/master/src/index.js#L224
is inside the consumer: https://github.com/reach/router/blob/master/src/index.js#L156
From the docs: https://reactjs.org/docs/context.html

All Consumers that are descendants of a Provider will re-render whenever the Provider’s value prop changes.

Fixed in React 16.4.1.


Fixed the max backoff configuration for lookups

Motivation
The backoff object was being incorrectly configured in #5734 and this results in clients retrying every 100 millis when dealing with transient errors on getting partitions metadata or topic lookup.
The max is the max interval size and needs to be bigger than the initial interval.

cherry-picked into branch-2.5


Remove a couple of unnecessary PDFJSDev checks from the viewer

Given the DefaultExternalServices implementation, the PDFViewerApplication.supportsDocumentFonts getter is guaranteed to be defined and we can thus remove some (now) unnecessary PDFJSDev checks from the webViewerInitialized function.
By slightly tweaking the "pdfBugEnabled" definition in web/app_options, similar to the existing ones for "workerSrc" and "cMapUrl", we can remove some PDFJSDev checks from the PDFViewerApplication._parseHashParameters method.

/botio-linux preview

Thanks!


Fix incidence calculation

This will convert the incidence we get from get_draws (total incidence) to the incidence we want/expect, the hazard rate.

We need to make sure this doesn't break anything.  Can you run the smoke tests in ceam_experiments?

will do

breaks on 'cause_id' sometimes, don't know what guarantees I have around what columns will be around. Need to be able to line up the quotient between the incidence and prevalence dataframes. Looking in to it


Review data package before release

Hi @larnsce this data package is ready to release on Zenodo. Please give a check if anything is missing.
I added a .zenodo.json file to following the instructions here: https://developers.zenodo.org/#add-metadata-to-your-github-repository-release This revises a few metadata fields that our workflow wants to change. I want to use this to test if it works.

Thank you, @mianzg. I have reviewed it, and technical and documentation aspects look great. Thank you also for checking about the zenodo.json, that is something I had been wanting to explore a bit more. Did you generate this file automated from our CFF file?
I have one consideration about the author order. In a case like this, Mabvuto must remain the first author. He has shared this data, actively work on it during the course, and should also be the one that is contacted if people questions about it (maintainer). I realise that we don't have clear rules for this, which something that we need.  For data, directly coming from people that actively contribute to it, first author should remain there. Please discuss this with Juliette.

I wrote the .zenodo.json file.
The order of authors are just based on the DESCRIPTION file. But I'm afraid that the maintainer role will always be at the first. I can revise the order and see how it looks.

Exactly, you can change the order in the DESCRIPTION file and also make @myesaya the maintainer of the package.

This could be interesting?
https://github.com/pik-piam/citation/blob/master/R/cff2zenodo.R
Maybe to borrow from them and include a function in washr?

Thanks for the review @larnsce. This package now is released on Zenodo @myesaya @J-preisig 👏🏼

@myesaya Please select one of the data source category: academic, ngo, private, government, other


Could the project run on windows system?

Could the project run on windows system?

yes, please install the necessary dependencies, opencv and dlib

hi, I'm trying to run the program in windows, without succes. This what i do, am i missing something?
-download folder
-open visual studio cmd prompt
-nmake
i get error:  fatal error U1001: syntax error : character '^' not valid in the macro.
Can someone help me? I am not skilled in programming..
Many thanks


fix(integer validation): limit range to the accepted range of the dhis2-core

Fixes DHIS2-14075
Doc comment from is-integer.js:
 * The `integer` validator of the `@dhis2/ui` library uses
 * `Number.isSafeInterger` to assess whether it the value is a valid integer or
 * not. The range allowed by that methid is -(2^53 - 1) to 2^53 - 1.
 *
 * The `isInteger` validator in the Java core uses the `isValid` method of
 * apache's `IntegerValidator` class (see
 * `dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/MathUtils.java`),
 * which allows an integer range from
 * -2147483648 to<PHONE_NUMBER>.
 *
 * This validator re-uses `@dhis2/ui`'s validator but restricts the integer to
 * the range allowed by the Java core.
 */```

[DHIS2-14075]: https://dhis2.atlassian.net/browse/DHIS2-14075?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Note that this touches code that was changed in: https://github.com/dhis2/aggregate-data-entry-app/pull/357

@Birkbjo interesting! I assume min-max limits are also constrained by the BE's integer validation, but that's just an uneducated guess. Do you know @stian-sandvold?

@Birkbjo interesting! I assume min-max limits are also constrained by the BE's integer validation, but that's just an uneducated guess. Do you know @stian-sandvold?

I don't think we validate those numbers anywhere, but we do store them as ints.

@Birkbjo: confirmed by @stian-sandvold: We can assume that min-max limits also adhere to the integer range restrictions


Add privacy manifest.

https://github.com/google/promises/issues/225
I don't see any documentation to add this to BUILD.bazel, so leaving it out for now.

Just waiting on internal approvals before merging.

Hi @ykjchen, there's one more fix to be merged into this branch: https://github.com/ykjchen/promises/pull/2

Any blockers left for this one? Trying to gauge when we can start consuming this in our app.

Internal processes still in progress, I'll bump the owners to see what the status is.


Typo in Curb instrumentation causes ArgumentError

Description
When instrumented by NewRelic, following code:
Curl::Easy.new.method(:to_s)

raises  `method_with_tracing': wrong number of arguments (given 0, expected 1) (ArgumentError):
Expected Behavior
An object like #<Method: Curl::Easy(Kernel)#to_s()> should be returned
Steps to Reproduce
Paste following code into newrelic_test.rb and invoke ruby newrelic_test.rb
require 'bundler/inline'

gemfile do
  source 'https://rubygems.org'
  gem 'curb', '= 1.0.0'
  gem 'newrelic_rpm', '= 8.5.0'
end

Curl::Easy.new.method(:to_s)

Your Environment
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
Additional context
I believe the problem can be solved by changing this line to
method_with_tracing(verb) { super }

Hello @knarewski,
Thanks very much for bringing this to our attention. Your explanation of the issue, steps to reproduce, and suggestion for a fix are all terrific and very much appreciated!
I believe you are spot on with your recommended fix. Via the instrumentation.curb setting inside of newrelic.yml, Curb can be instrumented via either prepend or chain. The chain implementation (curb/chain.rb) appears to correctly pass the verb variable over to Curb, but the prepend implementation does not. I believe this is an oversight/typo on our part and that we should be using verb in the manner that you suggest.
Would you be interesting in submitting a GitHub Pull Request against the dev branch of this repository with your recommended fix? The only requirement for doing so would be to sign our Contributor License Agreement when prompted to on the GitHub PR page after submitting. See the Contributor License Agreement section of our contributing guide for more details.
If you would prefer instead for the repo maintainers to make this change, we will be quite happy to do so.

Hi @fallwith , thank you for a swift response and for confirming my suspicions! I'd prefer the repo maintainers to make the change if possible, thank you.

Sure thing, @knarewski, the maintainers will work on the change and keep you posted.

@knarewski's fix for this bug (thank you!) was merged with #1036 and should become available with the upcoming v8.6.0 release (ETA next 1-3 weeks).
If anyone wishes to leverage the fix before then, they are welcome to use the curb_pass_verb_argument_to_method_with_tracing branch of this repository.


feat: Lemmas DifferentiableAt.add_iff_left, DifferentiableAt.add_iff_right

Given a function differentiable at a point, the result of adding a second function is differentiable (there) iff the second function is differentiable (there).

The part that's new is: at a point, the sum of a differentiable and a non-differentiable function is non-differentiable.
The other direction of the iff is already covered by DifferentiableAt.add.
Lemmas are marked @[simp] because other iff lemmas in that file are marked as such.
Needed for #9734

Let's test if @[simp] causes troubles.

!bench

@YaelDillies Could you please remind me what's our convention about left/right in lemmas like these?

LGTM but I don't remember what's our convention about left/right here, so delegating to Yael who probably remembers it.
bors d=@YaelDillies

Can you add the corresponding sub lemmas?

Now the linter complains that old lemmas can be proved by simp. What to do?

Do not mark sub_iff_* as @[simp]
Remove the simp mark from the old lemmas (which concern the special case with a constant)
?

Remove the simp from the old lemmas (/deprecate the old lemmas since they are superseded?)
Can you also add the DifferentiableOn version of your new lemmas?


Fix: linux executed command not producing unique list of cores

uniq removes sequentially duplicated lines, therefore input needs sorting first to achieve a unique count.
Optimum vcpu number in vm should not include hyperthread cpu therefore calculation should be physical cpus * cores on each cpu
e.g. I have 2 x 8 core CPUs (hyperthreaded too) old code used to return 32, new calc returns 16.
Fixes : https://github.com/pivotal-cf/pcfdev/issues/55

Hi @lummie,
Sorry for the delay, and thanks for the PR!
The current implementation filters on core id, which should have a unique value for each physical core within a physical CPU, and always be grouped in order (in the case of hyperthreading, they will be next to each other and filtered by uniq). For example, two processors with two, dually-hyperthreaded cores each:
physical id   0
core id       0
physical id   0
core id       0
physical id   0
core id       1
physical id   0
core id       1

physical id   1
core id       0
physical id   1
core id       0
physical id   1
core id       1
physical id   1
core id       1

Would become:
core id       0
core id       1
core id       0
core id       1

Which uniqs to 4 physical cores.
At least, that was the intention. You are correct that some cases (such as two physical CPUs with one core each) don't work with the current logic. However, I worry about two things with your suggestion:

Heterogeneous processor environments with different numbers of cores (extremely rare, and not permitted for Intel motherboards)
Situations like this: http://askubuntu.com/questions/240235/identical-cores-in-proc-cpuinfo where 8 physical cores would be reported as 4 due to kernel mis-reporting.

That said, I think your implementation is safer for now.
In order for me to merge this PR, you must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate).
When sending signed CLA please provide your Github username in case of individual CLA or the list of Github usernames that can make pull requests on behalf of your organization.
Thanks,
Stephen

Hi Stephen, I have emailed the CLA.
Just for reference, this is my output... 8 cores on each of 4 CPU
$ grep 'core id' /proc/cpuinfo
core id		: 0
core id		: 1
core id		: 2
core id		: 3
core id		: 4
core id		: 5
core id		: 6
core id		: 7
core id		: 0
core id		: 1
core id		: 2
core id		: 3
core id		: 4
core id		: 5
core id		: 6
core id		: 7
core id		: 0
core id		: 1
core id		: 2
core id		: 3
core id		: 4
core id		: 5
core id		: 6
core id		: 7
core id		: 0
core id		: 1
core id		: 2
core id		: 3
core id		: 4
core id		: 5
core id		: 6
core id		: 7

Your right about the issues, but as I could not successfully vagrant up (left it all night too) with the old method, it is the lesser of two evils.
I will see if I can improve the detection when I get chance.
Cheers,
Matt

Happy to merge this ASAP! Would you like to rebase your branch to resolve the conflicts first?

I think I've done the right thing, first time merging conflicts in a fork :)


Previously working WebGLPointsLayer styles crash in 9.2.3

Describe the bug
We are using WebGLPointsLayer with 'flat styles' (dont quite work the same way for webGLPointslayer as far as i can tell).
One of our layer styles sets the scale of the shape rendered by looking up if one of a number of attributes is set on a feature.
'shape-scale': [
	'case',
	['==', ['get', 'A'], 'true'], 1,
	['==', ['get', 'B'], 'true'], 2,
	3
],

This works fine up to ol 9.2.2
Once you use 9.2.3, it crashes giving this error:
Error: Could not find a common output type for the following case operation: ["case",["==",["get","A"],"true"],1,["==",["get","B"],"true"],2,3]

I have looked at the changes in 9.2.3 but i don't have enough insight into ol's inner working to understand why they would have any influence on this.
To Reproduce
Steps to reproduce the behavior:
I made i minimal reproducable example: https://codepen.io/Innok-Louis/pen/qBGaOpN

open example
open dev tools to see error
change version to 9.2.2 to see the error disappear

Expected behavior
Some insight on why this happens.
For now we moved our dependency from ^9.0.0 to 9.2.2 to prevent any more production systems grabbing the version that crashes.
Happy to provide any more info to help find the root cause.

Our style uses 'case' looking up attributes for almost every part of the style, but only 'shape-scale' causes the error.

It works when scale is an array with x and y scale.
  'shape-scale': [
    'case',
    ['==', ['get', 'A'], 'true'], [1 ,1],
    ['==', ['get', 'B'], 'true'], [2, 2],
    [3, 3]
  ],

Thanks for the explanation @M393.
As we're not scaling two-dimensionally, I switched to shape-radius, as recommended by the docs.
From my end this issue is closed.

Hi @ahocevar i still see a similar error
Reproducible: example
It fails in 9.2.4 but works in 9.2.2 all fine, you can downgrade the version 9.2.2 and see it working .
Error:
Error: Could not find a common output type for the following match operation: ["match",["get","shape"],"light",0.5,0.7]
    at Array.parseMatchArgs (expression.js:418:11)
    at eval (expression.js:547:36)
    at parseCallExpression (expression.js:568:10)
    at parse (expression.js:136:12)
    at buildExpression (gpu.js:200:27)
    at expressionToGlsl (styleparser.js:17:49)
    at parseCommonSymbolProperties (styleparser.js:68:19)
    at parseIconProperties (styleparser.js:263:3)
    at parseLiteralStyle (styleparser.js:436:5)
    at new WebGLPointsLayer (WebGLPoints.js:14:69)
    at XMLHttpRequest.eval (main.js:132:5)

Styles i am using
 const style = {   variables: {     filterShape: 'all',   },   filter: [     'any',     ['==', ['var', 'filterShape'], 'all'],     ['==', ['var', 'filterShape'], ['get', 'shape']],   ],   'icon-src': 'data/ufo_shapes.png',   'icon-width': 128,   'icon-height': 64,   'icon-color': [     'interpolate',     ['linear'],     ['get', 'year'],     1950,     oldColor,     2013,     newColor,   ],   'icon-offset': [     'match',     ['get', 'shape'],     'light',     [0, 0],     'sphere',     [32, 0],     'circle',     [32, 0],     'disc',     [64, 0],     'oval',     [64, 0],     'triangle',     [96, 0],     'fireball',     [0, 32],     [96, 32],   ],   'icon-size': [32, 32],   'icon-scale': ['match', ['get', 'shape'], 'light', 0.5, 0.7], };
For better understanding point of failure which is this  'icon-scale': ['match', ['get', 'shape'], 'light', 0.5, 0.7],


Make Nightly Build Non-Official

Make Nightly Build Non-Official. Nightly builds are not published anywhere so it does not need to be official. We use Nightly builds for our own testing.

If there is further motivation to make this change than the generic reason "if we don't need to be official then don't", can we document that in the PR Overview?

Done!

/azp run


Auto Increment none primary key field

I'm using golang 1.11 and trying to have a field that is not a primary get auto incremented but,
When i run tests with sqlite3 , i get this in the logs
[2019-01-19 19:40:30]  table "permission" has more than one primary key

[2019-01-19 19:40:30]  [0.14ms]  CREATE TABLE "permission" ("id" integer primary key autoincrement,"name" varchar NOT NULL UNIQUE,"idx" integer primary key autoincrement )
[0 rows affected or returned ]

Here is the struct for my model
type Permission struct {
	ID   int64  `gorm:"AUTO_INCREMENT;column:id;primary_key"`
	Name string `gorm:"column:name;type:varchar;unique;not null"`
	Idx  int64  `gorm:"AUTO_INCREMENT"`
}

Is there something that i can do to have that field auto increment ?

@williamkibira how did you fix this issue ?


Week numbers in January changes width of calendar modal

When using week numbers starting from a month that is not January, the width of the inner calendar within the modal gets moved over because the week numbers have a maximum of one digit.
On a similar note, when staring from January, and moving to another month, the inner calendar gets pushed over.
Heres a fiddle displaying the issue.
https://jsfiddle.net/2otyr8fn/
View in December

View in January (notice the extra space on the right side of the calendar)

Your Environment

flatpickr version used: 4.5.2
Browser name and version: Chrome 70.0.3538.102
OS and version: Mac OS 10.12.6

Closing as there has been no response in 4 years.


Default the AWS_SDK_GO_VERSION to last used version for code-generation

Default the AWS_SDK_GO_VERSION to last used version for code-generation
Will revert once, we release ARM images for all the controllers.
Signed-off-by: Amine Hilaly<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

@acornett21 looks we'll need a yq in the olm test image

/retest

/test s3-olm-test


Credentials/Secrets store

Some typical pre-commit tasks, for example validation of .gitlab-ci.yml files, require auth to an external server. We should think about a global config file to store those secrets per-machine.

Hello there !
I understand that this might be good add-on within Mookme, but it also feels to me like it is not up to the hooks manager to provide the correct hook execution environment.
In your specific case of a Gitlab CI, you can (and, probably, should) use the CI secrets feature to provide an environment. Afterwards, regardless of if the tool reads that environment on his own, or if you have to provide it in the command line invokation, you could provide it with nothing more within Mookme:
# CI secret
MY_SECRET=<SOMETHING>

-> pre-commit.json
{
  "steps": [{
    "name": "Something very very secret",
    "scripts": "do-something --secret=$MY_SECRET"
  }]
}

Hope that helps !


Annotating and visualizing precedence

It should be possible to annotate and visualize not only the symbol attachment graph, but also the precedence graph of notes and rests (however it is defined).
This essentially means having edges of different types in the object graph. There are two ways to implement this in the data model:

Hold in one graph and have different edge labels: use edge labels to decide how to render edge; when synchronizing graph to CropObjects, use edge labels to decide how to modify the CropObject (inlinks/outlinks vs. data)

Hold in separate graphs.

Keeping all the edges in one graph has the disadvantage that it will be difficult to have two edges with different labels between a pair of objects. We can record label lists, but that breaks the 1:1 relationship between edge in graph and EdgeView.

Steps towards solution 1:

[ ] When adding a precedence edge, the label param on model.ensure_add_edge() will be non-default (label='Precedence')
[ ] The EdgeView has to set its color (resp. other visual properties) according to the edge label. This should be handled in EdgeView._generate_edge_view_color(), which needs to get a label param.


Unpacking on Web

Hello, I wanted to know if this package works on web.
I've tried using it on node.js and it worked just fine, but when I got to use it on web, the values that were supposed to be int came as NaN.

For anyone reading this today, I can attest that this module works in the browser if you're using ES6 modules. I'm using webpack so the following code works for me.
import { jspack } from "jspack";

let value = jspack.Unpack("<i", uint8buffer)[0];

thanks fof testing


Hemizygous variants on chromosome X

Hi,
On the Exac website, can the hemizygous variants on chrX be presumed to be males and homozygous variants presumed to be females?
Its not clear on the web interface nor is there a break up available for variants that are male or female.
Shailender Nagpal

Yes, exactly! Hemizygous are males, homozygous are females (and by extension, you can compute heterozygous females as: Allele Count - Hemizygous - 2*Homozygous).


Missing Foreign Key

2 missing foreign keys
result = connection.execute(text("ALTER TABLE Orbits ADD FOREIGN KEY (orbitfit_id) REFERENCES OrbitFits(orbitfit_id) ON DELETE NO ACTION ON UPDATE NO ACTION"));
result = connection.execute(text("ALTER TABLE Orbits ADD FOREIGN KEY (pl_id) REFERENCES Planets(pl_id) ON DELETE NO ACTION ON UPDATE NO ACTION"));
Return to original database schema,
work back in the commented out code.
line 2104 and 2103 of plandb_methods

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (6125, "Failed to add the foreign key constraint. Missing unique key for constraint 'pdfs_ibfk_1' in the referenced table 'Planets'")
[SQL: ALTER TABLE PDFs ADD FOREIGN KEY (pl_id) REFERENCES Planets(pl_id) ON DELETE NO ACTION ON UPDATE NO ACTION]
line 2120, possible 2119 as well, reference old git commits

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (6125, "Failed to add the foreign key constraint. Missing unique key for constraint 'contrastcurves_ibfk_1' in the referenced table 'Stars'")
[SQL: ALTER TABLE ContrastCurves ADD FOREIGN KEY (st_id) REFERENCES Stars(st_id) ON DELETE NO ACTION ON UPDATE NO ACTION]
line 2155

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1824, "Failed to open the referenced table 'Scenarios'")
[SQL: ALTER TABLE ContrastCurves ADD FOREIGN KEY (scenario_name) REFERENCES Scenarios(scenario_name) ON DELETE NO ACTION ON UPDATE NO ACTION]
line 2156

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (6125, "Failed to add the foreign key constraint. Missing unique key for constraint 'completeness_ibfk_1' in the referenced table 'Planets'")
[SQL: ALTER TABLE Completeness ADD FOREIGN KEY (pl_id) REFERENCES Planets(pl_id) ON DELETE NO ACTION ON UPDATE NO ACTION]
line 2168


"Deveselu", "Comanca" are listed in the drop-down menu

Description:
When user writes "Deveselu" and "Comanca" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Deveselu"
Expected results
The location appears in the drop-down menu as "Sat Deveselu, OLT (Deveselu)"

Step 2
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Comanca"
Expected results
The location appears in the drop-down menu as "Sat Comanca, OLT (Deveselu)"


License?

whats the license of this project?

Hey! Just updated the project to add the MIT license.


Add installation instructions for Termux

Holy shit, didn't realize this was possible. I, uh, might be doing this on my tablet soon.

It is possible and great fun. The only small annoyance is that your home folder in termux is not readable by other applications on the phone/tablet, so you have to put your specs under ~/storage/shared/<whatever-you-like> if you want to be able to reach them via file://sdcard/<whatever-you-like> in the browser. It's not a big deal, but that's putting some constraints on where you can store your stuff.
A bikeshed serve command that does like bikeshed watch and sets up an http server on <IP_ADDRESS>:8000 would make irrelevant thought. wink wink nudge nudge.


How to debug with printf?

lv_sim_visual_studio_sdl had that nice debug window with everything on you printf from lvlg. How to do similar with this simulator? This is very needed feature.

Just fixed in the latest commit.


Missing configuration version information for Windows

The configuration file containing the version information on Windows is missing the "CompanyName" value. Would it be possible to add this value?
The file I am referring to is the following: https://github.com/ariya/phantomjs/blob/master/src/phantomjs_win.rc
Thank you,
Felicia

Fixed by #13366.  Thank you.


[Teams] Create sample to show auth within Teams

Create sample that shows how to do auth within Teams

Dupe of #1683. Closing.


Sphinx warnings in rules.py

make html -SPHINXOPTS="-W ..." turns warnings from rules.py into errors.
We currently omit the -W option.
Find a better way to deal with these warnings.

Since we're not going to fix this, I'm going to close this issue.


Replaced CurrencyConverter

This patch adds a small internal module to remove the CurrencyConverter
dependency.
The replacement always does a request for the exchange rates. It
doesn't rely on a hardcoded database that gets outdated as soon
as we do a release.
It has a fallback in case the request fail.
The patch also adds a tool to update the fallback before a release.

I am also have some question about how exactly it will work. I have to do some tests.
To final spreadsheet, the current rate is saved into a cell bellow the global part and the user can change it any time. This is a workaround to fill with the exactly credit-card currency rate used.


DAPP TxList - active count

Add active tx count in DAPP txlist title. Like this:

There is no active tx count on the DAPP Store screen.

Checked on Masternet 6.1.11544.4449.


Fix date range gap.

Motivation

[x] Fixes https://github.com/web-ridge/react-native-paper-dates/issues/271 and https://github.com/web-ridge/react-native-paper-dates/issues/281. @RichardLindhout I'm not 100% sure if flex-basis is being used properly here, but it did achieve the desired effect. I'm not sure if this will cause any unplanned issues, but maybe you have an idea.

Before

After

Note - There are no guidelines on selecting a range to itself, but this is a potential existing style bug, that I noticed while playing around trying to fix this issue. @RichardLindhout Let me know your thoughts on this.

Nice!!!! I never got what this issue was!


Coefficient order

Updated the coefficients + python functions to exactly match Hain et al 2015.
Tests pass against check values.

Looks good to me!
Irritating that the functional form for KP3 is different...


Add get layout

Adds getLayout function that can be accessed through the ReactGridLayout dom instance (through ref.current.getLayout()).
This makes it possible to query the layout state after modifying the grid and letting it fix potential overlapping elements. Without this function we cannot get the correct state without inducing a change that propagates to onLayoutChange, which doesn't seem to be possible.
Additionally this allows accessing the corrected state if allowOverlap={false} and preventCollision={false} and an element is moved or resized to push another element(s) out of the way. In these cases the onLayoutChange does not return the correct value for the pushed elements.
Usecases:

Insert a new element on top of a grid that already has multiple elements. This pushes other elements away yet does not fire onLayoutChange with updated values
Verify layout after onLayoutChange callback is fired as that function does not return correct values for elements that have been pushed to new location
Verify layout after element moved, sometimes it seems that the onLayoutChange state does not return the correct x -value if the grid collapses vertically & user tried to move the element to a higher x value than it was collapsed to.

Notes:
The correct values should be fixed in the onLayoutChange and it should fire always when the grid changes and only with the final values. However this getLayout -function will "fix" the issue by creating a workaround.

Never mind, found a way to access the state directly by using the proper ref 🙄 (I was trying to use the innerRef and not ref property)
For someone searching for solution for this issue:
in parent:
`
const ref = useRef();
const onLayoutChange = () => {
console.log(ref.current.state.layout);
}
return
`


[QUESTION] Integration with AWS AppSync

Curious if this has been used to integrate with AWS AppSync. They have their own version that works with GraphQL and Flutter I believe, but I don't see any reason to require another package on top of this one just to talk GraphQL with AppSync.
Anyone?

Someone added a section to the docs on this, and there is a longer discussion linked there. I don't know of a custom graphql-enabled AppSync client

Someone added a section to the docs on this, and there is a longer discussion linked there. I don't know of a custom graphql-enabled AppSync client

merging into #209

merging into #209


Determine if it's possible to reduce size of SciF Docker image for DPP

Task to do
Try to reduce the size of the Docker image by removing redundancies through Conda
Reason
The Docker image size is quite large due to separate Conda environment.
Result
Perhaps a smaller docker image

No progress has been made reducing the size via conda. Closing this issue


Reforging Bug: the reforging could not be validated -

Link:
https://wowsims.github.io/cata/hunter/survival/#eJzlUk1oE0EUnvfeJm5GxOmiMM3BbFaEpaBsNh6iCDvtqcce661ClR5Eiie9RUSIUSQQ6B8iFn8RBL0FUSha8IfqLkUS8SIIhQqFRhDswYKzHfWgpyCe/JjDe+/73nvfDMP32SBAwQRMQg1gBuAuwALAO4BVgCpCDeEBwlDOhmEjcVj+U2aOsiMnj509ftrOCczHwB2xkJD87Hq5e7NWO6FOQnybeDZv+XXgO0X7Dck116Mv0+TfAc7F25jklJvGjmh0SH4oeFlNftP87ZT/uk7ywh4PGBeiqfmpfs/SPPOnU/bxIplUd1/pkrzm/uq+nK67tKjXFcw6Pc4S1W5qZ7O1xVvioXZniVqL9KzGJsnzRf8WcKYlLe0rdr0dNga7R3AUxzINgIH7yDeA/adwgl47DrMhnIQ6BPwA3ysK+V02CqiQgmGaoDPmn2HRaLtRAH2vl1KsRY/wSFAOfsf+sByEf9bCVKoZfcJSWCqXSk/RtW+soLgeo7y5gu7VGP1mjMFMjJVXy6g6y/gCrQS3v0f2EbkEL+tYHDlbxfFzZPxU1PyP6KiqE/OWMGfSU6rPBAdV/9xsipfRIVNJouKJLbSjwZ9XCZvojsrMwD/+N/5F1Yu8Ov68J/3fwDzOk3U1aPKNaAy+Axdcmn4=
RNG Seed: 696638688
When validating reforging for item 69827, the reforging could not be validated. 138
Stack Trace:
goroutine 13 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.21.10/x64/src/runtime/debug/stack.go:24 +0x6
github.com/wowsims/cata/sim/core.runSim.func1()
/home/runner/work/cata/cata/sim/core/sim.go:124 +0x10
panic({0x105bc0, 0x3800ed0})
/opt/hostedtoolcache/go/1.21.10/x64/src/runtime/panic.go:914 +0x2c
github.com/wowsims/cata/sim/core.NewItem({0x110c3, 0x0, 0x0, {0x0, 0x0, 0x0}, 0x8a})
/home/runner/work/cata/cata/sim/core/database.go:355 +0x30
github.com/wowsims/cata/sim/core.NewEquipmentSet({{0xe840, 0x0, 0x1071, {0x33d8a10, 0x3, 0x3}, 0x0}, {0x110c3, 0x0, 0x0, ...}, ...})
/home/runner/work/cata/cata/sim/core/database.go:413 +0x6
github.com/wowsims/cata/sim/core.ProtoToEquipment(0x335b300)
/home/runner/work/cata/cata/sim/core/database.go:420 +0xd
github.com/wowsims/cata/sim/core.NewCharacter(0x33d45a0, 0x0, 0x3358620)
/home/runner/work/cata/cata/sim/core/character.go:118 +0x39
github.com/wowsims/cata/sim/core.NewAgent(0x33d45a0, 0x0, 0x3358620)
/home/runner/work/cata/cata/sim/core/agent.go:172 +0x1e
github.com/wowsims/cata/sim/core.NewParty(0x33e2580, 0x0, 0x32ce640)
/home/runner/work/ca...

@nosoju Could you let us know the following:

How did you create the gaer set? Weakaura import (not supported by us), Addon import or Manually?
Can you validate that this also happens on the latest release of the local client?

@kayla-glick most likely a Wowsims weakaura issue

This should be fixed with the fixes to the bulk item DB generation? @1337LutZ

@rosenrusinov Unsure, the description doesn't really mention if it was a Bulk item issue and/or an outdated link. I will close it for now since we didn't get a response.
@nosoju Feel free to open a new issue if above suggestions didn't work.


App Service Linux: VNET integration causes application and docker to not respond at all

Hi all,
I know the VNET integration is still in Preview, however i hope someone can still help me out with our current issue. I have on my developer tenant an app service linux with VNET integrated to access a Storage account (v2) behind VNET.  The web service application is python based and makes use of gunicorn/flask for http requests and azure.storage.blob  package for interfacing with the storage account.
This all works well on that tenant however we now try to get the same solution working on a different tenant and this causes problems. We use the VNET integration feature which is in preview, endpoints are also configured (Microsoft.Storage and Microsoft.Web), however when we start the App service after integration we do not get any response, also no docker logging is available, logging stream doesn't react. In the developer tenant we got an immediate response back.
Also it doesnt matter how long you wait for the VNET integration (as can be seen as notification). When you try to disconnect the VNET integration also an error occurs :
"VNet could not be removed from web app:
The gateway did not receive a response from 'Microsoft.Web' within the specified time period."
Interestingly enough after that the VNET integration is not visible anymore, and when we start the app service again everything works again. We also tried using an empty virtual network with only the app service integration enabled which gives the same problems. Both the software and configurations are exactly similar, also we use West-Europe for all the resources.
Does anyone have any idea where we could look further to pinpoint this issue? Or is it because it is still in preview and depending on location it could or could not work....
Regards, Jos Eilers

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

ID: a7a98803-1438-b1b5-f543-7dd88bc4294e
Version Independent ID: 37ff1d0f-ed8e-5e4d-1f4c-1b9f6cffb938
Content: Integrate app with Azure Virtual Network - Azure App Service
Content Source: articles/app-service/web-sites-integrate-with-vnet.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@jos1977 Thank you for the question! In order to best address your question, could you provide us with the URL of the MS Doc that you were following, if any?

@BhargaviAnnadevara-MSFT : Sure!, this would be at least the following : https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet

@jos1977 Thank you for the response! I've routed this to the appropriate Team to investigate and update.

@jos1977
Announcing general availability of VNet Integration with Windows Web Apps
One of the issues that App Service customers need to solve is how to access resources in their Azure Virtual Networks (VNets). To solve that issue, a feature was launched in 2014. The older VNet Integration feature required a virtual network gateway and really only supported reaching into the VNet. There was still a major need to be able to use networking features like Network Security Groups (NSGs), Route Tables (UDRs) and Service Endpoints. A new VNet Integration technology was developed to solve these problems while also being easier to use.
The new capability is referred to as regional VNet Integration because it will only work with VNets in the same region as the app. This new capability has been in preview for a little while already but only supported making calls to RFC1918 (<IP_ADDRESS>/8, <IP_ADDRESS>/12, <IP_ADDRESS>/16) addresses and service endpoints. The regional VNet Integration feature now supports sending all outbound calls into your VNet. You can now use features like Network NSGs and UDRs against all of the outbound traffic from your web app.
By default, if you use regional VNet Integration, your app will still only route RFC1918 (<IP_ADDRESS>/8, <IP_ADDRESS>/12, <IP_ADDRESS>/16) traffic into your VNet. If you set the app setting WEBSITE_VNET_ROUTE_ALL to 1, your app will then enable all of the outbound traffic from your app to be subject to NSGs and UDRs.
These new changes enable you to:
•	access non-RFC1918 endpoints through your VNet
•	secure all outbound traffic leaving your web app
•	force tunnel all outbound traffic to a network appliance of your own choosing
The pre-existing gateway required VNet Integration feature will continue to be supported. It supports integrations with VNets in other regions, or Classic VNets. This feature is available in all public regions. Regional VNet Integration for Linux apps is still in preview. Today's general availability announcement is only for windows apps. To use regional VNet Integration, your app must be in a Standard, Premium, Premiumv2 or Elastic Premium App Service plan. The feature is not support in an App Service Environment which is already in a customer VNet. Regional VNet Integration is only for outbound calls being made by your apps. It does not enable private access to your apps.
For more information about regional VNet Integration, read App Service VNet Integration For more information about App Service networking features in general, read App Service networking features

@jos1977 , Please let me know if you have further queries.

@DashleenBhandari-MSFT :
I checked the general text above for any requirements concerning App Service Linux and VNET integration and see the following :

It only supports calls to RFC1918  and service endpoints. At the moment we use the <IP_ADDRESS> range for both the blob storage accound and the the app service so this should be okay.
The app service must be in a S , V or V2 service plan. The app service we use is in a V2 service plan (also the test i performed in my own developer tenant was in a V2 service plan)
VNET integration is only for outbound calls: The app service makes calls to the storage account for uploading/downloading blobs only, so i think this is also okay.

So far i dont see anything mentioned here that could cause the problems we have now, apart from the fact that it is Preview functionality we are working with.

@jos1977 , I will go ahead and close this issue. Feel free to reopen if you have further queries.


Backspace erases earlier console output

Using particle serial wifi, hitting the backspace results in the prompt moving up one line and further, "erasing" the previous console output

Which part of the process was this? I cannot reproduce it.

Details about your environment would help too. OS, shell, etc.

Try particle serial wifi and hit backspace

Yeah, it doesn't happen for me. What shell are you using?

just normal mac terminal

Does it still happen with 1.7.0?

Seeing is believing - https://dl.dropboxusercontent.com/u/36134145/CLI-backspace-issue.mov

Thanks. That helps a lot actually.

Update to `v1.7.01 but not surprisingly it behaved the same


added in diclarative way

@shaifalikhan5 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


wrapper task fail when the version 5.1 is specified.

Current Behavior
wrapper task fail when the version 5.1(5.1-rc-1/5.1-rc-2) is specified.
* When the version 5.0 is specified, an error does not occur.
.\gradlew.bat wrapper --gradle-version=5.1-rc-2
> Task :wrapper FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':wrapper'.
> Failed to write wrapper JAR to C:\Users\xxx\gradle\wrapper\gradle-wrapper.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
1 actionable task: 1 executed

Your Environment
WIndows 10

@ahamana Thank you for reporting. Could you provide a stack trace of the failure or maybe a build scan? What version of Gradle are you using to run the build with the :wrapper task?

@wolfs I use the version 5.0 to run the build with the wrapper task.
The stack trace is here.
* The Japanese message "プロセスはファイルにアクセスできません。別のプロセスが使用中です。" in the stack trace means that "The process can not access the file. Another process is in use.".
stacktrace.zip

@wolfs The below cases work differently with the same command.
This case is success.
.\gradlew.bat wrapper --gradle-version=5.1-rc-2
Downloading https://services.gradle.org/distributions/gradle-5.0-bin.zip
.................................................................................
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

BUILD SUCCESSFUL in 44s

This case is failure.
.\gradlew.bat wrapper --gradle-version=5.1-rc-2
Downloading https://services.gradle.org/distributions/gradle-5.1-rc-2-bin.zip
.................................................................................
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
> Task :wrapper FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':wrapper'.
> Failed to write wrapper JAR to C:\Users\xxx\gradle\wrapper\gradle-wrapper.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 45s
1 actionable task: 1 executed

@marcphilipp Many thanks for checking quickly.

@ahamana could you try 5.1-20181219204953+0000?  You can upgrade with gradle wrapper --gradle-version= 5.1-20181219204953+0000

@big-guy The wrapper task works fine. Thanks for fixing the issue quickly.


Negation of selectors

I don't understand how I could negate one of the simple_enum selectors
In Mongoid I'm trying
scope :not_cancelled, -> {
    not(my_enum_cancelleds.selector)
  }

But I get some

Mongo::Error::OperationFailure Exception: $not needs a regex or a document (2)

The selector being
selector: {"my_enum_cd"=>{"$not"=>1}}

What's the correct way to go about it ? (Not sure this is a SimpleEnum specific problem)

Not much of a mongodb user myself, but according to https://docs.mongodb.com/manual/reference/operator/query/not/ it should probably be an expression like:
{ "my_enum_cd" => { "$not" => { "eq" => 1 } } }

I would write that as:
scope :not_a_baseball_fan, -> {
  not_in(User.baseball_fans.selector)
}

Thanks I wasn't aware of the not_in method, totally feels right when reading.


Support for per-operation collation

Unless I am mistaken, international/multi-language database support in EntityFramework Core is very limited. Our only option right now is to set the collation at design time, but it is very limiting because no collation is good for every language. It would be very useful to be able to specify collation on a per-operation basis. Most database providers support it. PostgreSQL supports it and its syntax is very simple (https://www.postgresql.org/docs/9.1/static/collation.html): SELECT * FROM test1 ORDER BY column1 COLLATE "fr_FR"; . Even better, EF Core could set the collation automatically based on the value of CultureInfo.CurrentCulture.

@orobert91 Thanks for the suggestion. I've made a note to look at the comments here in #8813 and updated the title there to be more general. Closing as duplicate.


libsmbios: 2.3.2 -> 2.3.3

Motivation for this change
Version bump and homepage refresh (#30636)
The former home http://linux.dell.com/libsmbios/ redirects to this Dell GH repo so we know it is the official one.
Note that the C++ lib is deprecated upstream and is now disabled by default. This will reduce closure-size. 😹
I've checked the packages depending on libsmbios (fwupd and fwupdate) and they both rely on the C lib.
I'm also adding the whole family of OSL licenses with this PR :

Academic Free License (AFL) 2.1 and 3.0
Open Software License (OSL) 2.1 and 3.0
Non-Profit Open Software License (NPOSL) 3.0

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

And yet fwupd fails to build ...
gcc  -Iplugins/altos/fu_plugin_altos@sha -Iplugins/altos -I../plugins/altos -Iplugins/altos/../.. -I../plugins/altos/../.. -Iplugins/altos/../../src -I../plugins/altos/../../src -Iplugins/altos/../../libfwupd -I../plugins/altos/../../libfwupd -I/nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0 -I/nix/store/0cgwsihhxi6vzix5vdchrvj8m4qzb3r1-glib-2.54.1/lib/glib-2.0/include -I/nix/store/ddiqh7r6h05bvngkc0ipmxz8220xx20i-appstream-glib-0.7.2/include/libappstream-glib -I/nix/store/7jsm7709nb6gbb6s5wh46jz103z4cnm1-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/gio-unix-2.0/ -I/nix/store/bm7rlhzj5vp2xp325mzb47s245bhpl08-gusb-0.2.11/include/gusb-1 -I/nix/store/3fi0ilcv79x5rwcvkysrpmaq3kgdi2dz-libusb-1.0.20-dev/include/libusb-1.0 -I/nix/store/g6byy7fx967kl6fvrlkas4j674fdjch0-libsoup-2.60.0-dev/include/libsoup-2.4 -I/nix/store/cm1m2xvpspcvm581rkb5i8jwqdnp5bb8-libarchive-3.3.2-dev/include -I/nix/store/2f6zmcl2m9jn2a077xhll8n6d1sp49fr-util-linux-2.31-dev/include/uuid -I/nix/store/3j98v4gm0alajr278580wi81ql0j3v7n-gcab-0.7/include/libgcab-1.0 -I/nix/store/z6y20w0ly27n6py23nz6j1nm4n3bbp29-libgudev-232/include/gudev-1.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -fstack-protector-strong -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wwrite-strings -fPIC -pthread '-DG_LOG_DOMAIN="FuPluginAltos"' -MMD -MQ<EMAIL_ADDRESS>-MF<EMAIL_ADDRESS>-o<EMAIL_ADDRESS>-c ../plugins/altos/fu-device-altos.c
In file included from /nix/store/0cgwsihhxi6vzix5vdchrvj8m4qzb3r1-glib-2.54.1/lib/glib-2.0/include/glibconfig.h:9:0,
                 from /nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib/gtypes.h:32,
                 from /nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib/galloca.h:32,
                 from /nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib.h:30,
                 from /nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/gobject/gbinding.h:28,
                 from /nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib-object.h:23,
                 from /nix/store/ddiqh7r6h05bvngkc0ipmxz8220xx20i-appstream-glib-0.7.2/include/libappstream-glib/as-app.h:29,
                 from /nix/store/ddiqh7r6h05bvngkc0ipmxz8220xx20i-appstream-glib-0.7.2/include/libappstream-glib/appstream-glib.h:27,
                 from ../plugins/altos/fu-device-altos.c:24:
/nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib/gmacros.h:430:43: error: redefinition of 'glib_autoptr_cleanup_GUdevClient'
 #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
                                           ^
/nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib/gmacros.h:444:22: note: in expansion of macro '_GLIB_AUTOPTR_FUNC_NAME'
   static inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) { if (*_ptr) (func) (*_ptr); }         \
                      ^~~~~~~~~~~~~~~~~~~~~~~
../plugins/altos/fu-device-altos.c:54:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevClient, g_object_unref)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib/gmacros.h:430:43: note: previous definition of 'glib_autoptr_cleanup_GUdevClient' was here
 #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_##TypeName
                                           ^
/nix/store/5bglj2xcnyh54c6jp13mcyrdg2cgc0nq-glib-2.54.1-dev/include/glib-2.0/glib/gmacros.h:444:22: note: in expansion of macro '_GLIB_AUTOPTR_FUNC_NAME'
   static inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) { if (*_ptr) (func) (*_ptr); }         \
                      ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/z6y20w0ly27n6py23nz6j1nm4n3bbp29-libgudev-232/include/gudev-1.0/gudev/gudevclient.h:39:1: note: in expansion of macro 'G_DEFINE_AUTOPTR_CLEANUP_FUNC'
 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GUdevClient, g_object_unref)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I guess this should wait for #30252

Now that fwupd has been updated to 1.0.1 this builds fine:
Result in /tmp/nox-review-w8aw03jy
total 0
lrwxrwxrwx 1 renaud users 59 25 nov.  16:21 result -> /nix/store/kddwbm3qxiw7dybjm8g00jpgf0d5mrb2-libsmbios-2.3.3
lrwxrwxrwx 1 renaud users 55 25 nov.  16:21 result-2 -> /nix/store/h5l00lsycs0ypyx4p288d9zip9y08v95-fwupd-1.0.1
lrwxrwxrwx 1 renaud users 54 25 nov.  16:21 result-3 -> /nix/store/hfal12b1zb2khl01g7xxwflrrhzn68mk-fwupdate-8

@disassembler not WIP anymore if you wish to re-check


Replacement for hydra.utils.instantiate

Support similar functionality. Have two options:

espresso_config.instantiate.now(config, **kwargs): create object now
espresso_config.instantiate.later(config, **kwargs): use functool.partial to set up as many kwargs as possible, but do not create object (the idea being you are missing some params.

Maybe map espresso_config.instantiate to instantiate.now. I would use the same _target_ flag Hydra uses.

implemented.


Power Toys Run not working

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
The shortcut for the Power Toys Runs doesn't work anymore, after the latest update. I tried to change the shortcut and to restart the computer and the program, but it didn't work.
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

/reportbug

I got same problem. When upgraded from v0.60 to v0.60.1, power toys run shortcut doesn't work anymore. Now, when I trigger the shortcut just show this:

Below is "Report bug" generated zip
PowerToysReport_2022-07-15-09-49-26.zip

I got same problem. When upgraded from v0.60 to v0.60.1, power toys run shortcut doesn't work anymore. Now, when I trigger the shortcut just show this:  Below is "Report bug" generated zip PowerToysReport_2022-07-15-09-49-26.zip

I tried uninstall v0.60.1 and reinstall v0.60.0 but it does't work


HSTS redirect issue

Error: HTTP redirects to www firsthttp://hongbomiao.com (HTTP) should immediately redirect to https://hongbomiao.com (HTTPS) before adding the www subdomain. Right now, the first redirect is to https://www.hongbomiao.com/. The extra redirect is required to ensure that any browser which supports HSTS will record the HSTS entry for the top level domain, not just the subdomain.

Changing from

to

solved the issue.

Commented at Cloudflare community https://community.cloudflare.com/t/hsts-error-for-current-tutorial-of-redirecting-example-com-to-www-example-com/205655 to help more people.


Downloading time of the background file

Dear akash,
Thank you very much for the amazing work! When I tried to download the background files, it said I would probably need two weeks due to the slow downloading speed in google colab (I tried several different high-speed internets). Can I ask how you download them, or do you have a downloaded version already in your google drive that you can share?
Thanks again! :)

Hi Oscar, by background files do you mean the LSUN background images?

yes, I wonder how to manage and download the LSUN dataset? Also, its training set actually contains more than 397582  images, how to sample the subset?


Add message that need to "start" after "backup", "restore"

Steps:

./zebrunner.sh backup
Expected: Add message that need to "start"
./zebrunner.sh start
./zebrunner.sh restart
Expected: Add message that need to "start"
./zebrunner.sh start

done.

Verified.
Backup:

Restore:


Add Spaces to the spec

Requires https://github.com/matrix-org/matrix-doc/pull/3606 (already landed)
Please see https://github.com/matrix-org/matrix-doc/compare/pull/3606/head...pull/3610/head for the true diff. Because of squash merges and how this branch was built it's not easy/recommended to remove 3606 from this PR for now - it should still merge cleanly.
MSCs:

https://github.com/matrix-org/matrix-doc/pull/3288
https://github.com/matrix-org/matrix-doc/pull/2946
https://github.com/matrix-org/matrix-doc/pull/1772

Note that this makes modifications to the underlying MSCs as well. These are intended to be minor edits to aid clarity/accuracy of the MSCs, as per the proposal process. Functionally, clients and servers might need to change their behaviour slightly as is expected of implementing this stuff early. Synapse has these changes (alongside backwards compatibility) here: https://github.com/matrix-org/synapse/pull/11667

Preview: https://pr3610--matrix-org-previews.netlify.app

Apologies for the force push - the merge from main->here didn't fix the diff like how I thought it would because of our squash merging (was hoping it'd cancel out the stripped state commit and become a clean PR, but that only works with merge commits rather than squashes)

I've rebased this, because it was hard to comment on otherwise. Apologies for any review comments it has outdated.


Ability to view checkins, phone numbers of other volunteers.

https://crisischeckin-d.azurewebsites.net/Volunteer/ListbyDisaster

@jbtestpilot - Jon Bach

What is the issue here?

Jon Bach when testing using his own login, observed that he could view contact information of "Other" checked-in users. And found it to be an issue with data compromise.


DictInterface only validates referenced columns

Disables validation for columns which are not referenced as a dimension in the DictInterface. It can be useful to store other data in the dictionary and validation should not prevent non-standard data from being stored when HoloViews will just ignore that data anyway.

I suppose that makes sense though you'll hit an error eventually if you decide to visualize an incorrectly formatted vdim (for instance). Anyway, it does seem worth being permissive about data not actually being used.
Ready to merge?

Yes, ready.


RDKTV-21107:Could not connect to targeted device' error Netflix

Reason for change: Don't generate random uuid for every boot
Test Procedure: Refer JIRA.
Risks: Low
Priority: P0

https://jenkins.code.rdkcentral.com/job/github-triggered/30409/ started

https://jenkins.code.rdkcentral.com/job/build-component/67000/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/348/ started

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/build-component-platform/579/ started.

Smoke tests for ['build-rpi-hybrid-refapp2'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/819/

Smoke tests for ['build-rpi-hybrid-wpe-dunfell'/'build-rpi-mc-wpe-dunfell'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/820/

Smoke tests for ['build-brcm-refboard'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/828/


[EventRequest] Page 55 “Puch. Invoice Subform”, UpdateEditableOnRow [Local]

Please add a new publisher event OnAfterUpdateEditableRows as shown in the picture below in the function UpdateEditableOnRow in page 55

Please add the corresponding Integration Event In the bottom of the page soruce code

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Update my_alert_dialog.dart

ButtonTheme.bar has been removed as of flutter 2.0. I have changed ButtonTheme.bar  to ButtomBarTheme

Merge this someone :)


Message input as part of each conversation

It would be nice (and safer) that the message input depends on the conversation you're typing.
If you type a message, select another conversation, and hit , the message is sent to the second one.
Altogether with the ⌘ + arrows shortcuts used to change conversations instead to go to the beginning/end of text, is easy to send the message to the wrong contact.

duplicate of #76


Clarify licensing: there's Apache 2 license in the /LICENSE.TXT, however there are GPL files in the repo

The root LICENSE.TXT is Apache 2.0, however about box shows GPL: https://github.com/CoCoViLa/CoCoViLa/blob/bd66e824b5e3c0bb1a3fd159603aa3b723fcb808/src/main/java/ee/ioc/cs/vsle/iconeditor/AboutDialog.java#L114
Is it really intended?
What is the actual license?

I've recently changed the license to apache and forgot about 'about dialog'


Update Windows lcow differ to set NT VIRTUAL MACHINE\Virtual Machines SID

For LCOW using the Virtual Machines SID for the shared read-only layers
improves overall performance avoiding the need to set per VM access at runtime.
Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

Here is the shim pr that can be used with this: https://github.com/Microsoft/hcsshim/pull/531

And here is the matching Docker PR until it switches to the Containerd snapshotters: https://github.com/moby/moby/pull/38922

One minor nit, but LGTM

Codecov Report

Merging #3119 into master will decrease coverage by 7.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3119      +/-   ##
==========================================
- Coverage   47.57%   40.46%   -7.12%
==========================================
  Files          93       74      -19
  Lines        8590     9876    +1286
==========================================
- Hits         4087     3996      -91
- Misses       3776     5317    +1541
+ Partials      727      563     -164

Flag
Coverage Δ

#linux
?

#windows
40.46% <ø> (?)

Impacted Files
Coverage Δ

snapshots/native/native.go
1.79% <0%> (-51.25%)
:arrow_down:

archive/tar.go
16.99% <0%> (-33.86%)
:arrow_down:

metadata/snapshot.go
21.53% <0%> (-33.23%)
:arrow_down:

cio/io.go
1.52% <0%> (-25.75%)
:arrow_down:

content/local/writer.go
56.86% <0%> (-7.34%)
:arrow_down:

metadata/containers.go
47.97% <0%> (-6.62%)
:arrow_down:

content/local/store.go
48.51% <0%> (-5.03%)
:arrow_down:

archive/tar_opts.go
28.57% <0%> (-4.77%)
:arrow_down:

archive/compression/compression.go
58.69% <0%> (-4.7%)
:arrow_down:

metadata/images.go
58.46% <0%> (-4.7%)
:arrow_down:

... and 91 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 ceba568...7361b19. Read the comment docs.

LGTM


Use helm repository in chart references rather than git repository

At present the helm releases in the testdata uses helm charts in a git repository, we should support the use of helm charts from helm repositories

This is supported by helm-operator of course, updated dev-guide to describe how user can test using their own charts


Master

Background

Changes

Testing

Whoops. Sorry, git noob. Trying to create a CI/CD and can't get pull/push straight in my head :/

 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.


Added: Operator overloads for Request Usage

Why are these changes needed?
This PR adds the operator overloads for __add__ and __iadd__  for the Request Usage class.
Currently we track usage via the _add_usage function that is part of the open_ai module in autogen-ext.  Considering this feature is needed by all model clients adding these methods to the class directly allows for re-use in other classes.
Related issue number
Extends upon the conversation in #4770
Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

@jackgerrits @gziz  Hello, I've implement this based upon the conversation in #4770. I've opened this as draft for feedback.
Once discussed I'll be happy update this PR with the updated open_ai client. I've completed this locally and all the tests are passing.


Cleanup

Coverage decreased (-0.03%) to 91.667% when pulling 5b4a28b1eb7efb1e62adb33f15da5a12a70b70a1 on KateNegrienko:cleanup into b0d984629c4a806444c9872dbb3800c43c34ee30 on exonum:master.


Browser viewer

It would be good to have an additional browser viewer for rendering/simulation process visualization. Python itself has good HTTP server support and it will help in case people use Taichi for some task via ssh and do not want to enable X11 forwarding.

I was thinking about this.

I discussed with Yucheng(@yczhang89) about the possibility of using a fully web-based GUI, probably using lovecat. Here I briefly summarize the discussion.
Pros:

No dependency on image viewer or other GUIs (Tkinter, OpenCV, Kivy, e.t.c.), we only need the HTTP server from python and a browser.
Allows remote control of rendering/simulation.
For docker, access to GPU on Mac OS X and Windows is not possible so far, so Kivy will completely not work. Using a web-based GUI needs only opening an HTTP port.
Browsers automatically provide usual image display (png, jpg), and even videos.
Most output of Taichi is bounded by computation, so latency / IO bound on previewing is not an issue.
Even if we need to build a real-time preview, transmitting rendered images, say 1000px * 1000px at 20 FPS, requires only 60MB/s, which is acceptable for local server/client.
lovecat potentially provides nice interface for parameter tuning, and can reduce the amount of work on UI design.

Cons:

Not found yet. You are welcome to add some.

To link my previous rational: #11 (comment). IMO an important pro missing here is that, lovecat can do more things than a hard-coded UI. With lovecat, we could tune so many scene parameters (among others), which are unknown to taichi beforehand.

Two alternative approaches to handle scene parameters are:

Disallow ad hoc scene generation in Python, and requires all 3D scenes to be constructed from a set of predefined 'graph node'. Each predefined node gets a GUI. This is too restrictive IMO.
Provide an API gui.request_parameter('parameter_name'). This is essentially lovecat, and we could leverage lovecat to do this.

I'm building a Flask based one. Please refer to #66.