Conversion functions defined at bottom causes React Native issues

I have this code
[@genType]
type config = {tabBarOptions}
and tabBarOptions = {
  activeTintColor: color,
  inactiveTintColor: color,
}
and color = [ | `tomato | `gray];

type t;

[@genType]
type routes = {
<EMAIL_ADDRESS>"Friends"]
  friends: ReasonReact.reactClass,
};
<EMAIL_ADDRESS>"react-navigation"]<EMAIL_ADDRESS>"./Navigation.gen.js"]
external createBottomTabNavigator: (routes, config) => t = "";

let createBottomTabNavigator = createBottomTabNavigator;

<EMAIL_ADDRESS>"react-navigation"]<EMAIL_ADDRESS>"./Navigation.gen.js"]
external createAppContainer:
  t =>
  ReasonReact.component(
    ReasonReact.stateless,
    ReasonReact.noRetainedProps,
    ReasonReact.actionless,
  ) =
  "";

[@genType]
let component =
  createBottomTabNavigator(
    {friends: Friends.jsComponent},
    {
      tabBarOptions: {
        activeTintColor: `tomato,
        inactiveTintColor: `gray,
      },
    },
  )
  ->createAppContainer;

Which produces
/* Untyped file generated by genType. */

import {createBottomTabNavigator as createBottomTabNavigatorNotChecked} from 'react-navigation';

import {createAppContainer as createAppContainerNotChecked} from 'react-navigation';

// In case of type error, check the type of 'createBottomTabNavigator' in 'Navigation.re' and 'react-navigation'.
export const createBottomTabNavigatorTypeChecked = createBottomTabNavigatorNotChecked;

// Export 'createBottomTabNavigator' early to allow circular import from the '.bs.js' file.
export const createBottomTabNavigator = function _(Arg1, Arg2) { const result = createBottomTabNavigatorTypeChecked({Friends:Arg1[0]}, {tabBarOptions:{activeTintColor:$$toJS479407683[Arg2[0][0]], inactiveTintColor:$$toJS479407683[Arg2[0][1]]}}); return result };

// In case of type error, check the type of 'createAppContainer' in 'Navigation.re' and 'react-navigation'.
export const createAppContainerTypeChecked = createAppContainerNotChecked;

// Export 'createAppContainer' early to allow circular import from the '.bs.js' file.
export const createAppContainer = createAppContainerTypeChecked;

const NavigationBS = require('./Navigation.bs');

const $$toJS479407683 = {"322339018": "tomato", "-999567389": "gray"};

export const component = NavigationBS.component;

Which causes this error

Moving the line const $$toJS479407683 = {"322339018": "tomato", "-999567389": "gray"}; above the usage of it fixes the error.
This is a really specific case since it only happens in React Native and not in web but it was still unexpected.

Any thought on how it would happen only in React Native?
For technical reasons imports have to be circular (from/to the .bs.js file) and it looks like each tool has a different interpretation of the semantics.

Btw the declaration after use is not intentional and will be fixed. When I’m back in a week.

The circular dependencies are actually not a problem in React Native, only the decleration after use so getting that fixed should fix the issue. React Native only gives a warning about the circular deps so that's fine.
But I do believe that the metro bundler is stricter in a lot of cases than it's web counter parts. I have no idea why though, but some standard node things like symlinks and package hoisting (or even just requiring files outside of the project root) will break React Native for some reason.


Roll Flutter Engine from a6e37bde65fd to e9d1310c21a7 (3 revisions)

https://github.com/flutter/engine/compare/a6e37bde65fd...e9d1310c21a7
2023-05-23<EMAIL_ADDRESS>Roll watcher dependency for web_ui to 1.1.0. (flutter/engine#42248)
2023-05-23<EMAIL_ADDRESS>[web] Move platformViewRegistry to ui_web (flutter/engine#41877)
2023-05-23<EMAIL_ADDRESS>Roll Skia from 3ded22186598 to 225d51031ad0 (1 revision) (flutter/engine#42246)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Supporting html labels

Hey, thank you for writing the crate. I am currently working with an svg generation library that makes use of html like labels (https://graphviz.org/doc/info/shapes.html#html) which this crate does not support just yet.
Would you be interested in accepting a PR for support?

Thank you for reaching out. This feature is indeed missing. Can you tell me more how you plan to implement this feature?

My initial idea would be to add < and > as bracket like enclosings, and using the content inbetween as input to either https://crates.io/crates/hard-xml or https://crates.io/crates/xml-rs and defining all supported items manually.
Text is natively supported in SVGs: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
Rendering tables is the most tricky part, so I'd punt on that for now, https://tink.uk/accessible-svg-tables/ outlines a path to get there, but it requires a few more moving parts, i.e. how to size the table elements - I am not yet sure if one can avoid to do text and glyph placement to obtain i.e. the width of a column.


Reasoning behind DecodedType

On your Decodable.swift file, if I replace this:
public protocol Decodable {
  typealias DecodedType = Self
  static func decode(json: JSON) -> Decoded<DecodedType>
}

with:
public protocol Decodable {
  static func decode(json: JSON) -> Decoded<Self>
}

And then make the necessary fixes in the rest of the codebase (basically removing the T == T.DecodedType constrain), the library will compile. I was wondering the reasoning (pretty sure I am missing something)  behind this decision.

That typealias is specifically there to help deal with non-final classes.
If you remove all of that and then remove the typealias from NSURL in the tests, you should see the compiler fail because it can't guarantee that Self is NSURL (because it might have been subclassed so Self might be MySuperCoolURLSubclass and then the type of decode would be incorrect).
If that isn't the case, please let me know because I find that hack insanely frustrating.

Ah yeah, true, NSURL will complain! :disappointed:. Thanks Gordon.

Damn, I was seriously hoping that you'd come back confused because it still compiled.

@gfontenot all hopes shattered. On the bright side, I was using the same approach and now I can remove it. :stuck_out_tongue:

Without this type constraint you also have issues with things like NSDateFormatter which will always return an NSDate, meaning it isn't compatible with -> Self for this use case.

@keith what do you mean:

NSDateFormatter which will always return an NSDate

For example if you wanted to make NSDate conform to this and you wanted to create a NSDate from a string using dateFromString: you'd have a problem if this typealias wasn't there. Since dateFromString: returns a NSDate which doesn't work with Self here.

Right, as in decode wouldn't return an object of the type NSDateFormatter (Self), it'd return NSDate.
Although, we're explicitly disallowing that kind of use with our type constraints (T.DecodedType == T).


Change imports to align with core lucene upgrade

Description
OpenSearch core recently updated the lucene version, rendering some constants used in k-NN obsolete.  This PR updates to the new versions of those constants.
Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.

[X] New functionality has javadoc added

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This has not been backported to 2.x on core, so there is no need for us to backport either.

Can we skip the CHANGELOG on this?

Can we skip the CHANGELOG on this?

yes I just added skip-changelog label

Can we skip the CHANGELOG on this?

Shouldn't we put it as Maintenance?

did you check why bwc for rolling upgrade are failing? Also I wonder if we need to update our codec with this lucene version bump, I think current version of lucene codec is 9.5, and core has switched to 9.8

did you check why bwc for rolling upgrade are failing? Also I wonder if we need to update our codec with this lucene version bump, I think current version of lucene codec is 9.5, and core has switched to 9.8

It's failing with a connect exception, but that's not unique to this PR.  I'm not sure what's causing that exception, but it's present on every PR I've raised.
As for the codec version, I'm not familiar with how frequently we update them.  The core upgrade was from one snapshot of 9.8 to a newer snapshot of 9.8.


TERMINAL display incorrectly

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:26:50.689Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

ng-template
Angular
0.1.3

angulardoc-vscode
AngularDoc
2.1.0

path-intellisense
christian-kohler
1.2.0

vscode-simpler-icons
davidbabel
1.3.0

githistory
donjayamanne
0.2.0

vscode-generate-getter-setter
DSKWRK
0.4.2

EditorConfig
EditorConfig
0.9.3

auto-rename-tag
formulahendry
0.0.11

vscode-auto-open-markdown-preview
hnw
0.0.4

beautify
HookyQR
1.0.2

docthis
joelday
0.4.4

Angular2
johnpapa
2.2.3

refactorix
krizzdewizz
0.3.3

vscode-extension-auto-import
moppitz
1.3.3

csharp
ms-vscode
1.9.0

typescript-javascript-grammar
ms-vscode
0.0.19

angular-io-code
NoHomey
0.0.6

vscode-docker
PeterJausovec
0.0.13

typescript-hero
rbbit
0.12.0

vscode-icons
robertohuertasm
7.6.0

ts-import-assistance
Sammons
0.0.10

code-settings-sync
Shan
2.7.0

vscode-autohotkey
slevesque
0.2.0

autoimport
steoates
1.2.2

JavaScriptSnippets
xabikos
1.4.0

Steps to Reproduce:

Execute View: Toggle Integrated Terminal to open terminal and open PowerShell by default
The console is not display correctly.  All the characters are not aligned correctly.  See screenshot below:

When I execute cls to clean Terminal, it back to normal.  But when I execute dir agin, it can't get expected display format.  Please see screenshot below:

Can confirm from my home desktop (I can upload a screenshot of yarn install when I get the chance -- fun stuff). Curiously, I don't see the issue on my work laptop (MacBook Pro 2015), so maybe it's related to screen size or resolution (both computers run Windows)?

Yes, this is really a High DPI screen on my laptop which screen size is 2560x1440.

@doggy8088 ah, i'm seeing the opposite behavior - my laptop is high DPI, while my home computer is standard 1080p. none of the extensions i share with your setup have different versions either.

This is a duplicate of #19665.


List of dev blogs I'm currently reading (+ OPML)

Idea:

Put my feedly opml file for dev stuff into source control.
Have Jekyll parse the opml file and extract the links into markdown format
Publish in a page along with the link to the actual .OPML.
Bonus: a process that extract that for me so I don't have to keep it updated.

This has been done for a while :) https://seankilleen.com/reading-list/


Pytorch Autoencoder starts with Batchnorm before first Layer

Dear Contributors,
if BatchNorm is enabled in the options the PyTorch AutoEncoder starts with a BatchNorm before passing the input samples to the first linear layer. This might be unwanted behavior. Normally the input data should be preprocessed and passed into the first linear layer.
IMHO, BatchNorm should happen after the data has been processed by the first layer. Having preprocessing by Normalization and immediately applying BatchNorm to the data would be somehow doubled.
This behavior would then also differ from the TensorFlow implementation where the data gets passed directly into the first linear layer:
https://github.com/yzhao062/pyod/blob/master/pyod/models/auto_encoder.py#L172-L179
EDIT: I just noticed there is also a dropout layer after the last linear layer (and activation). This should IMHO also not be the case, as this would purposely set elements of the reconstructed sample (output) to zero. This also differs from the TensorFlow implementation.
See https://github.com/yzhao062/pyod/blob/master/pyod/models/auto_encoder.py#L190-L191
Also the DropOut is applied before the batch norm which will definitely skew the result. The batch norm won't be able to learn a good normalization if dropout is randomly applied right before (and turned off for inference).
TL;DR
Currently the order is: Input->BatchNorm->Neurons->Activation->DropOut->BatchNorm->....
IMHO it should be:     Input->Neurons->BatchNorm->Activation->DropOut->Neurons->....

I verified my suspicion by running the PyTorch AutoEncoder Example with print(cls) after Line 39.
The output was the following:

AutoEncoder(batch_norm=True, batch_size=32, contamination=0.1,
      device=device(type='cpu'), dropout_rate=0.2, epochs=10,
      hidden_activation='relu', hidden_neurons=[64, 32],
      learning_rate=0.001, loss_fn=MSELoss(), preprocessing=True,
      weight_decay=1e-05)
inner_autoencoder(
  (activation): ReLU()
  (encoder): Sequential(
    (batch_norm0): BatchNorm1d(300, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
    (linear0): Linear(in_features=300, out_features=64, bias=True)
    (relu0): ReLU()
    (dropout0): Dropout(p=0.2, inplace=False)
    (batch_norm1): BatchNorm1d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
    (linear1): Linear(in_features=64, out_features=32, bias=True)
    (relu1): ReLU()
    (dropout1): Dropout(p=0.2, inplace=False)
  )
  (decoder): Sequential(
    (batch_norm0): BatchNorm1d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
    (linear0): Linear(in_features=32, out_features=64, bias=True)
    (dropout0): Dropout(p=0.2, inplace=False)
    (batch_norm1): BatchNorm1d(64, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
    (linear1): Linear(in_features=64, out_features=300, bias=True)
    (dropout1): Dropout(p=0.2, inplace=False)
  )
)

There you can see that the first element in the sequential of the encoder is a BatchNorm. A Pullrequest resolving this issue is on the way. Thanks for reading! (EDIT: See Pullrequest  #435 )
If you are annoyed by my fine-grained Pullrequests or issues, please let me know. I don't want to cause any extra work.

With the merge of Pullrequest #435 this issue can be closed


update to use microsoft graph instead of auzre ad powershell for graft.

update to use microsoft graph instead of auzre ad powershell for graft.

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

ID: 20f01328-ebfa-31af-4e67-6de92c8f924e
Version Independent ID: a990551f-e6c9-dede-308a-b5578fb7ee1e
Content: Microsoft Entra Connect - Microsoft Entra ID
Content Source: docs/identity/hybrid/connect/how-to-connect-sso-faq.yml
Service: entra-id
Sub-service: hybrid-connect
GitHub Login: @billmath
Microsoft Alias: billmath

@cstirland
Thanks for your feedback! We will investigate and update as appropriate.

@cstirland
I'm going to assign this to the document author so they can take a look at it accordingly.
@billmath
please review it.

@cstirland Thank you for submitting this. This process is on-going currently.  Although I don't have a timeline for this doc, it is in the rotation, and you should see an update in the future.  In the meantime, if you are looking specifically for how to do it, you can try the cmdlet map here:  https://learn.microsoft.com/en-us/powershell/microsoftgraph/azuread-msoline-cmdlet-map?view=graph-powershell-1.0
Thanks!
#please-close


Kdenlive Bug reporting instructions don't work

Describe the bug
Kdenlive crashes and i want to report a bug, but their instructions don't work on NixOS.
To Reproduce
Steps to reproduce the behavior:

open https://userbase.kde.org/Kdenlive/Manual/BugReporting
see How to get useful crash information (backtrace)

Otherwise, from a terminal, type:
gdb kdenlive
run

Kdenlive will start, then you can trigger the bug. When Kdenlive crashes, go to your terminal window and type:
thread apply all bt

but nothing happens
[davidak@gaming:~]$ gdb kdenlive
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/run/current-system/sw/bin/kdenlive": not in executable format: file format not recognized
(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb)

the packages kdenlive-dbg and libmlt-dbg does not exists
Expected behavior
being able to report a bug
Additional context
I'm using Pantheon desktop and Kdenlive from unstable.
Notify maintainers

Metadata

system: "x86_64-linux"
host os: Linux 5.7.10, NixOS, 20.03.2668.7c85b915892 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.6
channels(root): "home-manager-20.03, nixos-20.03.2668.7c85b915892, nixos-hardware, nixos-unstable-20.09pre236419.a45f68ccac4"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: kdenlive
# a list of nixos modules affected by the problem
module:

"/run/current-system/sw/bin/kdenlive": not in executable format: file format not recognized

This isn't specific to kdenlive, it's replicable with any binary that's been wrapped.

A workaround I've used before is to cat the wrapper script, copy-paste all the exports into your shell, then run gdb on the -wrapped binary.

if you have enabled coredumpctl, coredumpctl gdb should do the trick.

@symphorien it seems enabled by default, so yes. https://nixos.org/nixos/options.html#coredump
but it don't work in this case, probably because of https://github.com/NixOS/nixpkgs/issues/95027#issuecomment-671243696
[davidak@gaming:~]$ sudo coredumpctl gdb
[sudo] password for davidak:
Sorry, try again.
[sudo] password for davidak:
           PID: 26768 (..kdenlive-wrap)
           UID: 1000 (davidak)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Wed 2020-08-12 00:59:17 CEST (1min 16s ago)
  Command Line: /nix/store/zvwwwha90gsrbpkcha32wrh105i52l3y-kdenlive-20.04.3/bin/.kdenlive-wrapped /home/davidak/Projekte/Linux Tech Tips/Linux Tech Tips-3000.kdenlive
    Executable: /nix/store/zvwwwha90gsrbpkcha32wrh105i52l3y-kdenlive-20.04.3/bin/..kdenlive-wrapped-wrapped
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (davidak)
       Boot ID: aa93bd0a6a2c4bfdb549e38821b1642e
    Machine ID: 7adea793c51646eb9781f0a4f62322d6
      Hostname: gaming
       Storage: /var/lib/systemd/coredump/core.\x2e\x2ekdenlive-wrap.1000.aa93bd0a6a2c4bfdb549e38821b1642e.26768.1597186757000000000000.lz4 (truncated)
       Message: Process 26768 (..kdenlive-wrap) of user 1000 dumped core.

GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /nix/store/zvwwwha90gsrbpkcha32wrh105i52l3y-kdenlive-20.04.3/bin/..kdenlive-wrapped-wrapped...
(No debugging symbols found in /nix/store/zvwwwha90gsrbpkcha32wrh105i52l3y-kdenlive-20.04.3/bin/..kdenlive-wrapped-wrapped)
BFD: warning: /var/tmp/coredump-Ppmyap is truncated: expected core file size >=<PHONE_NUMBER>, found:<PHONE_NUMBER>

warning: core file may not match specified executable file.

Core was generated by `/nix/store/zvwwwha90gsrbpkcha32wrh105i52l3y-kdenlive-20.04.3/bin/.kdenlive-wrap'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000005819c0 in TreeItem::parentItem() const ()
[Current thread is 1 (LWP 26768)]
(gdb)

this is how it should look like https://bugs.kde.org/show_bug.cgi?id=425175#c4
the problem was actually fixed in 1 day. very impressive

The fact that the core file is truncated is unrelated to wrapping. Try again with ulimit -s unlimited. Systemd may have its own limits, I don't know.


We need sequential iterators starting from a given node

To leverage the speed of sequential decoding in parallel computations we need sequential iterators with a starting node.

This has been implemented.


[rstmgr] Fix width of counter in rstmgr_cnsty_chk

The definition of CntWidth wasn't correct for all values of
MaxSyncDelay. In particular, it wouldn't work properly for a
MaxSyncDelay of 3 (where representing the next value takes another
bit).
Also, add an explicit cast to avoid a width mismatch warning. Now that
we've got the widths right, we could alternatively slice MaxSyncDelay.
But this seems slightly safer (and we've just got it wrong once!).
(Noticed when fixing a Verilator width mismatch error. Linters are awesome! :-D)

@tjaychen: Ping!


Envoy v1.29.0 build fails on Mac OS

Title: Envoy v1.29.0 build fails on Mac OS
Description:
When I am building Envoy v1.29.0 on MacOS 12.7.1 with clang 14.0.0 I noticed an error
ec2-user@Mac-mini envoy-builds % gcc --version
Apple clang version 14.0.0 (clang-14<IP_ADDRESS>)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Envoy build error
Undefined symbols for architecture x86_64:
  "cel::interop_internal::ProtoStructValueToMessageWrapper(cel::Value const&)", referenced from:
      cel::interop_internal::ToLegacyValue(google::protobuf::Arena*, cel::Handle<cel::Value> const&, bool) in libinterop.a(interop.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //contrib/exe:envoy-static failed to build
INFO: Elapsed time: 136.522s, Critical Path: 46.32s

I've tried both conrtib and not contrib build but I have the same issue.
Repro steps:

Use mac 12.7.1 or 11.7.10 (on aws ami-06bf601fad285cc69 or ami-0da052d2225304b8f)
Setup CI tools
run bazel build -c opt envoy
Notice error at the last step

Undefined symbols for architecture x86_64:
  "cel::interop_internal::ProtoStructValueToMessageWrapper(cel::Value const&)", referenced from:
      cel::interop_internal::ToLegacyValue(google::protobuf::Arena*, cel::Handle<cel::Value> const&, bool) in libinterop.a(interop.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //contrib/exe:envoy-static failed to build
INFO: Elapsed time: 136.522s, Critical Path: 46.32s

I've noticed that more people have the same issue https://github.com/Homebrew/homebrew-core/pull/160068

cc @kyessenov @moderation

I think it was likely I was just the first to hit this. If this is WONTFIX, we should update documentation to say building on MacOS no longer possible after relevant commit.  Wondering how many people are running MacOS instances in the cloud.

i think it should be resolvable one way or other
to clarify - macos does build, as we are building/testing in ci still (macos12 github runners)
i believe the constraint is to use the correct versions of compiler - it may be that our ci just builds less and excludes cel - not sure and no way to test
the setup for the macos12 images is here https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md - i dont see any setup for this on our end (here https://github.com/envoyproxy/envoy/blob/main/ci/mac_ci_setup.sh) so assume that we are just using whatever is default in the macos12 image

update documentation to say building on MacOS no longer possible after relevant commit

perhaps we can (figure out and) specify what does work

git bisect says this is caused by bd1dca3cf366bc5287295de73e4354d2f5d1f1d9

@phlax that's a fairly old version of macOS for CI. Is there a runner based on macOS version 14 we can use?

Related https://github.com/envoyproxy/envoy/pull/31456#issuecomment-1894768173

Related #31456 (comment)

Thanks for the extra context; I hadn't seen that.


Add documentation

Fixes #1. This is a nice and simple crate.

This is really great, thanks a lot!
(I found one small typo, but otherwise this looks good to me.)

Whoops, sorry about that!

Thanks so much!


Prevent Yabai from managing choose

I use choose in a handful of scripts (mostly as a way to copy passwords stored in pass). After a certain size, Yabai will tile the pop-up menu. The window doesn't seem to have a title and it isn't an app (just a command-line utility that pops up a menu), so I'm not sure how to go about setting Yabai to ignore it.
Example of the problem:
https://user-images.githubusercontent.com/48655352/131277923-42d8fefa-2d30-40ba-ac5d-6bc3bae7be9d.mov
Example of what I want (but without shortening the length of the menu):
https://user-images.githubusercontent.com/48655352/131277996-64afe216-4375-454e-903d-47a13302199f.mov
Any help would be appreciated!

Never mind, I figured out that just having app="choose" wouldn't work, but putting app="choose" title="^$" together fixed the problem.


Updated to zend-servicemanager v3

composer.json entry for zend-servicemanager using dev-develop as 2.7.0.
Updated AbstractConfigFactory to follow new interface definition.
Updated ReaderPluginManager and WriterPluginManager to follow changes in AbstractPluginManager; they aggregate invokables and merge them with incoming configuration before passing on to the parent constructor.
Updated Factory to pass an empty service manager instance to plugin managers when lazy loading them.

:+1:

Coverage is less, as I marked a number of tests that feature the "Translator" processor as incomplete, until that component is updated for zend-servicemanager v3.

Missing the changelog file :)

changelog added, @mwillbanks . :)


How to use this GDExtension with platforms that are not supported

Hello,
I'm guessing this is more of a generic Godot question than specific to this library, but I am new to Godot so hopefully someone will be able to provide guidance on the issue. I have created a simple 2D game that I would like to make available both on Steam and Android (probably also iOS in the future). I would like the PC version to have support for achievements, stats, ... so I have added GodotSteam  extension to my basic Godot editor (I have also tried using the precompiled editor, but there is no difference). I have of course added a control logic check to not be using steam calls on Android, however every time I try to run "Remote Debug" on my Android device, I would get the following error in the output:
No suitable library found for GDExtension: res://addons/godotsteam/godotsteam.gdextension. Possible feature flags for your platform: mobile, android, etc2, astc, arm64, template, debug, template_debug
Which makes sense, since Steam is not available on Android devices. But then when the game starts I get the following exception in my script editor Parser Error: Identifier "Steam" not declared in the current scope. The breakpoint triggers at the "exception line" but if I click "Continue" for a few times, the game starts and runs normally. So my question is, how to avoid getting the exception when debugging the game on Android?

Hey there!  This is a good question and one I have on my list to solve.  Someone else asked about having a version of their game where GodotSteam can easily separated for Android export.  Apparently it works well on other desktop operating system but for some reason Android, it doesn't.  I'm not totally sure why just yet.
Typically if you can avoid the calls by checking what platform the game it on, it should just work.  I know with GDExtension, there is a file that need to be altered to make this easier.  I think another issue that is open talks about this.
I will try to fold in the user who originally brought this up to see if they can also weigh in with some tips about what they have working and where stuff breaks.

We had the same issue, we couldn't use Steam directly on the code or it would crash on startup in Android (even if said code was never called).
The solution was to use Engine.has_singleton/Engine.get_singleton to dinamically check Steam was there. The issue is that makes us lose all static typing (so for example, there's no more autocomplete).
I've seen some Android plugins working around that by providing an autoload that uses the underlying lib (and is correctly typed), so that it works even on desktop where the plugin doesn't make sense. Not sure if there's a better solution in Godot atm.

Yeah, in my projects I use the Engine singleton check and then pass Steam to another object steam_api.  No autcomplete but at this point I have memorized most everything I use.
However, I was thinking about this issue on my morning walk and want to try building something into GodotSteam itself.  To not make it a huge undertaking, I may make a small test that is just the basics to see if the idea works.
This probably won't happen until after GDC but I'll drop it in here when ready.  Or I may get a wild hair and do it this weekend.

Actually it's early, it's Friday, and afternoon... so I am gonna try to cobble a test together now.

Well, my test was a partial success / failure.  I added the ability to turn everything off at module level.  It still requires the Steam object to exist, obviously. There is no functional way to cut that out.  However, with this, you can turn it off and any calls  to Steam will return default / dummy information.  It negates the need for some "non-integration" solutions I've seen.  I mean, it stands to reason that if GodotSteam isn't present, we can't use it to "remove" itself.  it has to be handled in the game itself.
I believe the only way, thus far, is to use what @yancouto mentioned which we have in our docs under the "Remove Steam" tutorial.
Not sure if I should keep this disabled functionality or not.  If it even has any use.

I'm not sure this "disabling modules" is very useful, given you still need to access the singleton anyway (I'm not sure how I'd use it in my project at least.)
I haven't done addon work before, but I imagine that the types that Godot uses for autocomplete and stuff are directly retrieved from the C++ types, since I didn't see any .gd specific code in this repo. I thought about having a dummy godotsteam.cpp for other platforms that would at least have the types right. But I think that may not be possible because you would still need to compile it for other platforms?
The only other possible fix I can think of is providing a .gd lib that uses the underlying library and is independent of platform. Like here and here.
The annoying bit is that it needs to be kept in sync with the C++ code or stuff will stop working.

Yeah, basically what I did was recreate that inside the module (C++).  So now, I don't have to check for the singleton's existence, it can just be "shut off" and feeds back similar dummy data in a similar fashion.  Haha, as you said, I'm not sure it is useful.  Still requires the Steam shared libraries to exist; still requires the singleton too.
With the GDNative plug-in, we could just add that logic to the included steam.gd file but GDExtension does not do this; it just "exists" if present.
I'm still tinkering with some other C++ tricks to see what I can get away with.

Sadly, all my attempts failed thus far.

So basically now the problem is that my script doesn't get loaded on Android, because I'm using Steam calls inside it (even if the calls never get executed because there is platform check, which then uses the current platform APIs. I'm thinking now the only way to get the functionality to work is to now split my "Helper" node and have separate nodes for Android/Steam and then use signals to communicate with them. So in that case even if the node won't get loaded it won't break the functionality for other platforms. This of course adds more complexity to the application, is there any other simpler way how I can tackle this problem? If someone more experienced in Godot have some ideas I'd be glad if they will be able to share their thoughts :)

So basically now the problem is that my script doesn't get loaded on Android, because I'm using Steam calls inside it (even if the calls never get executed because there is platform check, which then uses the current platform APIs. I'm thinking now the only way to get the functionality to work is to now split my "Helper" node and have separate nodes for Android/Steam and then use signals to communicate with them. So in that case even if the node won't get loaded it won't break the functionality for other platforms. This of course adds more complexity to the application, is there any other simpler way how I can tackle this problem? If someone more experienced in Godot have some ideas I'd be glad if they would be able to share their thoughts :)

I have decided to try the approach that yancouto mentioned, using the Engine.has_singleton, since I really don't want to add more complexity to this simple app

So I built godot from source with steam as a module.  The editor has steam support.  My Android templates DO NOT include steam.  However, my mono glue and rust bindings still generate with steam since they are being built from the editor.  And my Android is crashing in random places.  Previously it was when updating the user's skeleton.  Now it is on application load.  I'm wondering if its possible that because the mono glue and rust bindings are generated from an editor that has a module that the android template does not may be causing some UB (undefined behavior).  I'll test some things today and let you guys know what I find.

That does not appear to have been the issue on my end.

So basically now the problem is that my script doesn't get loaded on Android, because I'm using Steam calls inside it (even if the calls never get executed because there is platform check, which then uses the current platform APIs. I'm thinking now the only way to get the functionality to work is to now split my "Helper" node and have separate nodes for Android/Steam and then use signals to communicate with them. So in that case even if the node won't get loaded it won't break the functionality for other platforms. This of course adds more complexity to the application, is there any other simpler way how I can tackle this problem? If someone more experienced in Godot have some ideas I'd be glad if they would be able to share their thoughts :)

I have decided to try the approach that yancouto mentioned, using the Engine.has_singleton, since I really don't want to add more complexity to this simple app

Does that method work with Android?  To check if it is running.

Checking up on this issue.  Has everyone resolved it?

Will close it unless there is new information or errors!


[FR]: Modify custom keys behavior to be consistent with Android

Description
If multiple non fatal reports are sent, and different custom key values are set between them, all the reports have the the values of the last one.
This behavior is not consistent with the Android SDK, where each report is sent with the custom key values set at the moment of calling the recordException method.
For example, if I do the following sequence:

Set key some_attribute with value value1
Send a non-fatal exception with the recordError method
Set key some_attribute with value value2
Send another non-fatal exception with the recordError method
Restart the app

On iOS, both non-fatal errors are shown in the Crashlytics dashboard with the some_attribute key set to value2.
On Android, the first and the second non-fatal errors are shown in the Crashlytics dashboard with the some_attribute key set to value1 and value2 respectively.
From my perspective, having different behaviors between platforms adds complexity to the error reporting implementations and while doing error analysis. Before the FR, I created an issue about this, including detailed code examples and screenshots. I got the confirmation that the current behavior is intentional, and that I should report it as a feature request.
Is a behavior unification viable?
API Proposal
No response
Firebase Product(s)
Crashlytics

Any updates on this issue?

This is an expected behaviour and we do realize the discrepancy. An alternative is when logging non-fatal, you can added additional userInfo as extra parameter. UserInfo will attach to custom key values and it is on event base rather on session base. For API reference is here.


Add compatibility with Elasticsearch Shield plugin

There is no current support to authenticate the shield plugin for elastic. This means you have to disable your security to run any reports and leaves the Elastic clusters open to the world. There is a username and password field that, after looking through the code, isn't used but it says on the official blog instructions that it does.
Thanks.

Hi,
I face to the same issue.
Shield authentication is not available. You just have to add the 'Shield.user' entry in the settings when building the client.
Best regards

Hi David,
Could you give any more info?
I have tried lots of different ways to try and add shield authentication to the plugin to no avail.
Java is not my strongest.
Thanks,
Thomas

Hi Thomas,
You will find more details on the ES documentation.
Best regards,
david

Hi Thomas,
To use Shield, the associated jar must be added into the OSGI bundle. See the associated issue.
Then, you can modify the code from the ESSearch class of the ESParser:
@SuppressWarnings("unchecked")
   public void connect() {
       if (esClient != null && keepClient) {
           LOGGER.debug(
                   "We are already connected with a passed on client - not creating a new one");
           return;
       }

       LOGGER.debug("Creating new client to connect to: " + hostname);

       // Prepare a client for the ES Server
       final Builder settingsBuilder = Settings.settingsBuilder();
       settingsBuilder.put("cluster.name", cluster).put("client.transport.sniff", true);
       final org.elasticsearch.client.transport.TransportClient.Builder transportBuilder =
               TransportClient.builder();

       if (!(username == null || username.isEmpty() || password == null || password.isEmpty())) {
           final String pluginClassName = "org.elasticsearch.shield.ShieldPlugin";

           try {
               transportBuilder.addPlugin((Class<? extends Plugin>)Class.forName(pluginClassName));
               settingsBuilder.put("shield.user", username + ':' + password);
           }
           catch (final ClassNotFoundException e) {
               LOGGER.warn("Plugin not found: " + pluginClassName, e);
           }
       }

       final InetSocketTransportAddress transportAddress =
               new InetSocketTransportAddress(new InetSocketAddress(hostname, port));
       final TransportClient transportClient =
               transportBuilder.settings(settingsBuilder.build()).build();
       transportClient.addTransportAddress(transportAddress);
       esClient = transportClient;
   }

Thanks,
Best regards,
david

Hi David,
Thank you for your help. I will try this and let you know how it goes.
Thanks,
Tom

Added support for Shield. Propagating the version change upstream to the Jasper Studio and Jasper Server modules.

Plugin updated - it can now be installed from the distribution site. Implemented the Shield username/password authentication.


New OM Type of Process Template

During the Egeria August workshop we have discussed the need for new asset type of Process Template. This new type can be used for data engines to provide processing or transformation templates that can be used to design or develop data processing pipelines or ETL jobs.
Taking Apache NiFi (https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#building-dataflow ) as an open source project example, they provide many Processors as basic components to build up a data flow pipeline. Each processor has its own configuration properties as well as functionality scenarios. When a user is designing a data flow pipeline, they can configure the existing processor with input and output ports as a part of the flow.
From Open Metadata perspective, when we are registering the data flow pipeline from the Apache NiFi as a Data Engine client to Egeria, we can save the processors from it as Process Template entities so that they are visible from metadata visibility and management perspectives. When someone is designing the ETL job or data processing pipeline, he or she will use that Process Template to create single or multiple processes.

I have made a draft based on my understanding about this new type within area of 0217 Automated Process. The reason is I consider the Process template can be considered as a part of Process Automation without any human creations for specific technical purpose. And it is a sub type of Asset with a relationship to type Process that processes can be created based on the Process Templated offered by Data Engines.
@cmgrote @mandy-chessell @popa-raluca
As this is just my initial draft based on the inputs that I got. Please let me know your thoughts and ideas about it. ;)
Thanks,
Cong

Hi Cong -- couple questions / comments:

Another scenario for ProcessTemplate, I think, was for it to represent a sort of process (ie. composition of multiple sub-processes) that simply was not in an executable state (ie. was not "bound")...
Assuming this is still the case, would we expect ProcessTemplate to be materially (properties-wise) different from Process?  If not, I would sort of think one might extend the other type-wise: perhaps Process extends ProcessTemplate (?)
The ProcessByTemplate relationship should probably also only be 0..1 cardinality on the ProcessTemplate end (that is: a Process can presumably only be the executable form of a single ProcessTemplate rather than multiple; though indeed you could have multiple executable Processes that were derived from a single ProcessTemplate so the other end should likely remain *)

Hi Christ thanks for replying. Here are some thoughts from me.

Another scenario for ProcessTemplate, I think, was for it to represent a sort of process (ie. composition of multiple sub-processes) that simply was not in an executable state (ie. was not "bound")...
Yes I agree with point and I think it was also discussed as one of the reason for this new Type during the last workshop.

Assuming this is still the case, would we expect ProcessTemplate to be materially (properties-wise) different from Process?  If not, I would sort of think one might extend the other type-wise: perhaps Process extends ProcessTemplate (?)
I was also thinking about it and one question that I got is if we save the DataStage unfinished jobs as process template entities with relationships to ports in Egeria, what would happen if the job is finished (after the run button I guess)? Will a new process entity is going to replace an old process template entity?

The ProcessByTemplate relationship should probably also only be 0..1 cardinality on the ProcessTemplate end (that is: a Process can presumably only be the executable form of a single ProcessTemplate rather than multiple; though indeed you could have multiple executable Processes that were derived from a single ProcessTemplate so the other end should likely remain *)
I drew relationship's cardinality as *..* because I saw one of the drawing documentation that Raluca sent me has different levels of processes from most granular to most abstract. So I had an assumption that a very high level process could probably represented by multiple (sub)processes and they will probably use a same process template entity during the process design?

The New Type drawing from @cmgrote 's proposal?

I think it is important to separate the idea of a process template from somthing that is executable - so a process should not inherit from a process template.  (IE remove the triangle arrow head :)
The relationship could be called ProcessTemplateImplementation.
The ProcessTemplate belongs in Area 5 - see 0575

Another thought - the ProcessTemplate should probably inherit from Referenceable rather than Asset.   This is what we have done for reference data (valid value set) and model element

I think it is important to separate the idea of a process template from somthing that is executable - so a process should not inherit from a process template.

I agree that they should be distinct concepts, but what about the large overlap that's likely there in terms of the relationships that are valid across both?  I would expect a ProcessTemplate could be composed of sub-ProcessTemplates (just as Processes can be composed of sub-Processes), or even that it might be possible for a ProcessTemplate to be defined by the composition of multiple underlying Processes...  I think a ProcessTemplate should also still be able to relate to ProcessPorts, too?  Similarly, perhaps relations from other areas (like GovernanceProcessImplementation) should logically be able to relate to either a Process or a ProcessTemplate (?)
(So I'm perhaps leaning towards a ProcessTemplate being a specialised form of (extending from) Process?)

Another thought - the ProcessTemplate should probably inherit from Referenceable rather than Asset. This is what we have done for reference data (valid value set) and model element
I have made a drawing based on moving ProcessTemplate to area 0575 ProcessSchema.

To clarify my understanding, we are talking about two scenarios about this new type. First one is Process Template as a separate type extending from Referenceable. Second one is process type is extending the new type of process template.

Sorry @cmgrote, I do not understand the second scenario.  I remember that you talked about a partially completed process.  This seems different from a ProcessTemplate.  I would say that is a Process that has a status of DRAFT?

The scenarios I had in mind were along these lines:

A process that is fully-defined (inputs, outputs and activities in the middle), that does not have variables / placeholders -- everything is "hard-coded" in the process itself.  It is executable and does not matter yet if it has been executed or not, as its inputs / outputs are not changed by execution -- its representation (in a lineage sense) is the same.
A process that is fully-defined (inputs, outputs and activities in the middle), but has variables / placeholders that are not defined until it is executed.  It is executable but not yet executed.  Once executed it may result in different representations (in a lineage sense), as execution may change inputs / outputs based on the values of the variables provided at runtime.
A process that has executed.  Irrespective of starting at (1) or (2) it has values for all placeholders by the very nature of it having been executed.

I thought we had discussed that for (2) this would be a ProcessTemplate, and (1) and (3) would be Processes, but maybe I'm mistaken?

Probably the discussion is about the definition of the ProcessTemplate and how it is being implemented in different types of data engines. Because I have never worked with DataStage so I cannot give too much insights on that side. But for Apache NiFi, they also have a concept named Dataflow Template. And the definition is like this:
Apache NiFi provides users the ability to build very large and complex DataFlows using NiFi. This is achieved by using the basic components: Processor, Funnel, Input/Output Port, Process Group, and Remote Process Group. These can be thought of as the most basic building blocks for constructing a DataFlow. At times, though, using these small building blocks can become tedious if the same logic needs to be repeated several times. To solve this issue, NiFi provides the concept of a Template. A Template is a way of combining these basic building blocks into larger building blocks. Once a DataFlow has been created, parts of it can be formed into a Template. This Template can then be dragged onto the canvas, or can be exported as an XML file and shared with others. Templates received from others can then be imported into an instance of NiFi and dragged onto the canvas.
https://cwiki.apache.org/confluence/display/NIFI/Example+Dataflow+Templates

Here is an example that I can think of a relationship between process and processTemplate.
https://blog.pythian.com/database-migration-using-apache-nifi/
In these pic there are four phases and the phase 2 Create Table can be exported as a Template. The Create Table Template then can be a reusable component for any people who need to do similar task and import it in their ETL or data processing workflows. It is design-oriented with configuration options as you can change the properties under each processors, such as for ConvertAvroToJson you can add the details of the Name and Version of the Avro file that you want to consume.
So from my understanding, there are two definitions maybe we need to think of:

ProcessTemplateSchema (my imagined name) :

Similar to Apache NiFi dataflow template.
Consist of multiple process jobs inside of it in an organised way.
Focus on the process design to achieve a higher level functional goal.
Can be reused by importing or referencing

ProcessTemplate:

Similar to Apache NiFi processors
Normally is used for executing specific task
Also serving as granular and configurable template for processes
Inputs / outputs and activities can be configurable

For ProcessTemplateSchema we treat it as a referencable in Area 0575 ProcessSchema.
For ProcessTemplate we treat it as a super type of Process with configuration possibilities.
Not sure if these make sense but I feel Apache NiFi is a good example for me to think through it.
Please let me know if you have any ideas.

I'm wondering if the first thing you're talking about (the ProcessTemplateSchema) is what we should be using as the meaning for a ProcessTemplate -- and the latter is still just a Process.
I would distinguish the two as:

A Process has defined inputs and outputs (ProcessPorts) and some activity within it
A Process is executable but does not necessarily need to have yet been executed
A ProcessTemplate is some re-usable piece of logic that can be embedded within a Process, but a ProcessTemplate is not executable.  It has no inputs / outputs formally defined until it is included as part of a Process (?)

I'm now seeing ProcessTemplate as being some (optional) portion of a Process, but not something that could be a Process on its own.  (DataStage has a similar concept in what it calls a "shared container": re-usable block of logic, which could have various sub-blocks of logic, but none of it can be executed until it is put into a job (Process).)
This would mean my 3 scenarios outlined in my previous comment would all be Processes.

We need to distinguish between the type of something - which is true for ite lifetime - and a change in state - ie moving from partial to complete.  I would think that when a process template is used, it is copied into a process and then the process can be customized?

As per Mandy's comment above - templates in nifi appear to be more used to get developers started, for export/import, sharing .. So they are indeed copied and modified rather than used as a 'module' - ie reusable logic without modification. Not that different to cut/paste or visual copy, just quicker..
So although we have a set of process templates which it's useful to understand & catalog, their relationship to process is only through the design process. it's a loose coupling 'was used to create', like in a single git commit. The actual process definition could become completely different - delete all nodes and recreate for example.
Maybe we therefore have two separate things here

templates (copy and modify)
modules (reused directly, with parms)

hi @cmgrote @mandy-chessell @planetf1 thanks for your ideas.
By combining what we are saying, the process template is a re-usable piece of a logic or few sub-logics from data engines that can help engineers to design the process. It can be copied or imported during the process design and also can be customised depending on the actual purpose of the process. It can not be executed until it is being put into a process job.
Would it be something that we can agree?

Is the comment above an accurate reflection of our discussion in Huizen?  If not, suggest we need to urgently capture it as I think I've already forgotten 🙁

Is the comment above an accurate reflection of our discussion in Huizen? If not, suggest we need to urgently capture it as I think I've already forgotten 🙁

Sorry I should have written down the conclusions just during the workshop.
There are the things that I have written down for the discussions/conclusions that we had :

A real world example of Process Template can be a l Risk Profile Structure from regulators that all the banks need to perform by filling in Process details to meet the risk requirements. So the Process Template is not executable and only can be implemented by process.
It will inherit from Referenceable in Area 5 - Process Schema with a relationship to process named as ProcessTemplateImplementation.
For Data Stage it will not publish any Process Template and only Process with different instance status.

@mandy-chessell Could you please have a final look?

Hi @mandy-chessell I created this issue initially thought we might use it for reusable design components in data engines. And after the workshop you gave us a slightly different explanation on it. Just wondering do we have enough knowledge to conclude this new type or we need more valid use case to prove it?
Otherwise I will set milestone tag to a bit later release.


Bug - Using certain levels of blocks with the latest version overwrites the blocks at relog.

Title says it all.

I don't know what you means whats does "Using certain levels of blocks" mean?
Are you changing the configs? If so then yes that will change all the colors, This is a documented behavior.

yes I understand that but are the blocks supposed to overwrite other NBT tables like those used by pokecube on relog?

If your blocks are changing from one type to another ( Mod A to Mod B ), that sounds like a forge issue, The colors from FCB will all change, but it will just add a few new blocks or remove a few blocks if needed it won't conflict with a second mod.
FCB is one of the simpler mods around, besides a few fancy rendering tricks.


Merge Jan 16 from Upstream

Merging up to upstream https://github.com/prometheus/prometheus/commit/cb2be6e62ff80ba84b639e4251044214e185886f

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.9 out of 16 committers have signed the CLA.:white_check_mark: bboreham:white_check_mark: krajorama:white_check_mark: LeviHarrison:white_check_mark: beorn7:white_check_mark: codesome:white_check_mark: colega:white_check_mark: samjewell:white_check_mark: marctc:white_check_mark: jesusvazquez:x: Fish-pro:x: ssbostan:x: roidelapluie:x: robbe-haesendonck:x: brancz:x: fayzal-g:x: rabenhorstYou have signed the CLA already but the status is still pending? Let us recheck it.


fix: allow type checking to work with native Node16 Typescript ESM

With the introduction of Typescript 4.7 native ESM support for Node is officially available when using the Node16 "module" and "moduleResolution" options. This, however, requires a small change in the package.json "exports" field to allow types to flow through correctly as documented here.
This PR makes that small change.

Published as v0.1.5 🚀 Thanks again!


Improved button UI for 'Learn More,' 'Donate Now,' and 'See Event'  #1250

Status : Resolved
Home Page :
Before :

After:
https://github.com/user-attachments/assets/31fe480c-43cb-492a-8375-a2fe9c054843
Donate Section->
Before :

After :

Learn more button :
Before:

After :

View Events :
Before :

After :

More Event button :
Before :

After :

@thedarkking01 Awesome contribution to Hacktoberfest'24! 🎉 Your work is super valuable. Keep up the great work!

Thanks 😊


uniq doesn't use property "isSorted" if an iteratee function is passed

I have an array of objects that I want to make unique based on a property of the object, and I know the array is already sorted by that property.
const result = _.uniq([{a: 1}, {a: 1}, {a: 2}], true, obj => obj.a);

So I want to use the optimized algorithm but, according to the code of the function this is not the case:
function uniq(array, isSorted, iteratee, context) {
// [...]
     if (isSorted && !iteratee) { // Why the condition "&& !iteratee" ? Juste "if(isSorted)" is fine no ?
       if (!i || seen !== computed) result.push(value);
       seen = computed;
     } else if (iteratee) {
// So we go here and isn't the optimized algorithm :/
       if (!contains(seen, computed)) {
         seen.push(computed);
         result.push(value);
       }
     } else if (!contains(result, value)) {
       result.push(value);
     }

Acknowledged. I'm considering to (partially) address this in version 2.0, as it would be a breaking change. See https://github.com/jashkenas/underscore/pull/2930 for further discussion.


[0.8.10] Rectangle properties - change stroke width and tab doesn't work

You have to use enter rather than tabbing out of the field for the change to register - the lost-focus event needs to process the change.
This probably applies to all path properties.

NP Jens


[ VTEX ] FIX Canonical in PLP

The issue

The fix:

The fix support pagination?

I can`t believe, nice catch!


Add Docker support

There were multiple comments on reddit asking for a support for Docker.
The demo currently runs as a static website which is generated on a daily basis with a cron job. This could be replicated in docker using ofelia.
There could also be a version that uses server side rendering and sends live graphQL queries. This would simplify the docker setup since it would only need a node server but the query time could be to long to allow for a good user experience.

Resolved as of v.04


Please Update elliptic dependency to version >= 6.5.2

Please update the dependency elliptic to version >= 6.5.2 to fix a security vulnerability we found with snyk. This vulnerability was found with snyk with the report i.e.
Versions of this package are vulnerable to Timing Attack. Practical recovery of the long-term private key generated by the library is possible under certain conditions. Leakage of bit-length of a scalar during scalar multiplication is possible on an elliptic curve which might allow practical recovery of the long-term private key.

CVE-2020-13822
high severity
Vulnerable versions: < 6.5.3
Patched version: 6.5.3
The Elliptic package before version 6.5.3 for Node.js allows ECDSA signature malleability via variations in encoding, leading '\0' bytes, or integer overflows. This could conceivably have a security-relevant impact if an application relied on a single canonical signature.


[chore] Fix Weaver make commands

Fixes #994
Changes
Make Weaver make commands work again in Windows Git bash
Merge requirement checklist

[ ] CONTRIBUTING.md guidelines followed.
[ ] Change log entry added, according to the guidelines in When to add a changelog entry.

If your PR does not need a change log, start the PR title with [chore]

[ ] schema-next.yaml updated with changes to existing conventions.

@trask can you try this see if it works for you? Works on my machine now 😅

Going to merge this. @trask feel free to re-open the issue if it still doesn't work for you.

does it still work for linux/mac without ""?

Yep, worked for me on Ubuntu at least.


[Pre-procesing]Keep the same spacing between the ASCII art and the info lines

As of today, the distance/spacing between the ASCII logo and the info bloc is quite inconsistent among the different languages:

Perl (too much spacing and presence of left indentation):

Swift (no spacing and left indentation):

The idea would be too have the same spacing for all and no left indentation (and no top/bottom empty lines).
It has to be a code base solution, some kind of pre-processing of the ascii files in rust. So that we won't have to retouch by hand every art that will be submitted/done in the future.
:100:  :1st_place_medal:

I'd like to claim this issue if possible. Thanks!


Created new PasswordResetsController class

@CodiumAI-Agent /describe

Title
Created new PasswordResetsController class

PR Type
Enhancement

Description

Introduced a new PasswordResetsController class to handle password reset functionality.
Implemented a Put method to update user passwords, including validation checks for key and password confirmation.
Implemented a Post method to create password reset requests, generating a unique key for each request.
Added error handling to manage invalid input and non-existent users, ensuring robust API behavior.

Changes walkthrough 📝
Relevant filesEnhancement

PasswordResetsController.csImplement Password Reset Functionality in API Controller

PasswordResetsController.cs
Introduced a new PasswordResetsController class.  Added Put method for handling password reset requests.  Added Post method for initiating password reset requests.  Implemented error handling for invalid input and non-existent users.

+91/-0

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

@CodiumAI-Agent /improve

@CodiumAI-Agent /analyze

@CodiumAI-Agent /analyse

@CodiumAI-Agent /analyse

@CodiumAI-Agent /Analyze

@CodiumAI-Agent /improve

tset


[inference] latents_window index error

Hi, thanks for your work and sharing it.
When I use the inference with exact same arguments written as in ReadMe (except for a smaller resolution), I've got this error about multistep_dpm_solver.
Do you have any suggestions on this?
(t2v) jupyter@pc:~/src/Text-To-Video-Finetuning$ python inference.py   --model camenduru/potat1   --prompt "a fast moving fancy sports car"   --num-frames 60   --window-size 12   --width 256   --height 192   --sdp
Initializing the conversion map
Loading pipeline components...: 100%|██████████████████████████████████████████████████████| 5/5 [00:00<00:00, 53.18it/s]
33 Attention layers using Scaled Dot Product Attention.
/opt/conda/envs/t2v/lib/python3.10/site-packages/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py:160: FutureWarning: _encode_prompt() is deprecated and it will be removed in a future version. Use encode_prompt() instead. Also, be aware that the output format changed from a concatenated tensor to a tuple.
deprecate("_encode_prompt()", "1.0.0", deprecation_message, standard_warn=False)
Diffusing timestep 799...:  20%|███████████▏                                            | 25/125 [00:17<01:08,  1.45it/s]
Traceback (most recent call last):
File "/home/jupyter/src/Text-To-Video-Finetuning/inference.py", line 396, in
videos = inference(
File "/opt/conda/envs/t2v/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/jupyter/src/Text-To-Video-Finetuning/inference.py", line 316, in inference
latents = diffuse(
File "/opt/conda/envs/t2v/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/jupyter/src/Text-To-Video-Finetuning/inference.py", line 245, in diffuse
latents_window = pipe.scheduler.step(noise_pred, t, latents_window).prev_sample
File "/opt/conda/envs/t2v/lib/python3.10/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 812, in step
prev_sample = self.multistep_dpm_solver_second_order_update(self.model_outputs, sample=sample, noise=noise)
File "/opt/conda/envs/t2v/lib/python3.10/site-packages/diffusers/schedulers/scheduling_dpmsolver_multistep.py", line 568, in multistep_dpm_solver_second_order_update
self.sigmas[self.step_index + 1],
IndexError: index 26 is out of bounds for dimension 0 with size 26

In case someone else has the same problem: I fixed it by downgrading to diffusers==0.20.2 (mine was 0.22.0.dev0)


Elevation Data - Not consistently generating a hash code..

User reported this error with elevation data and it looks like sometimes - even with good elevation data, the hash url is returning false. But this is not very consistent, since running it again generates the hash code (exact same lat/long/resn params)  and works fine.

@KR Subramanian @.***>
Didn't we fix that yesterday?
Or is this a different problem?
Erik
On Sat, Aug 6, 2022 at 4:51 PM Kalpathi Subramanian <
@.***> wrote:

[Caution: Email from External Sender. Do not click or open links or
attachments unless you know this sender.]
Assigned #82 https://github.com/BridgesUNCC/bridgesAPI/issues/82 to
@esaule https://github.com/esaule.
—
Reply to this email directly, view it on GitHub
https://github.com/BridgesUNCC/bridgesAPI/issues/82#event-7141402028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIW4OXJG4NAND3CTYRTRITVX3F3VANCNFSM55ZJ36HQ
.
You are receiving this because you were assigned.Message ID:
@.***>

--
Erik Saule
Associate professor at University of North Carolina at Charlotte
tel: +1<PHONE_NUMBER>


when snapshotting a view controller, if its the root view controller, don't touch its window

Ultimately, using a per-pixel tolerance was too slow for us. Closing for now.


Cannot read properties of undefined (reading 'from') when sync and replicate

Issue
I am unable to sync and replicate due to the error Cannot read properties of undefined (reading 'from')
[Error: undefined is not an object (evaluating 'g.Buffer.from')]

const db = openDB();
console.log('db info:', await db.info());
const remotedb = openRemoteDB();
console.log('remote db info:', await remotedb.info());

db.sync(remotedb).on('complete', function () {
          console.log('done');
          // yay, we're in sync!
        }).on('error', function (err) {
          console.log('error', err);
          // boo, we hit an error!
        });

db.replicate.to(remotedb, {})
        .on('complete', async () => {
          console.log('done!');
        })
        .on('error', function (err) {
          console.error('failed to replicate:', err.message, err.stack);
        });

Info

Environment: React Native
Platform: iOS and Android
Adapter: I believe it is WebSQL
Server: I am using CouchDB

Nevermind, I fixed it by installing npm i buffer and added global.Buffer = global.Buffer || require('buffer').Buffer; in the index.js in the root directory


Software Product Not Available

Describe the bug
I am receiving a 400 when hitting the PAR endpoint in the mock data holder:
{"error":"invalid_request","error_description":"Software Product Status is invalid"}

The logs are mentioning the software product is not available, but I run DCR immediately before the PAR.
To Reproduce
Steps to reproduce the behavior:

Start the mock-register and mock-data-holder with docker compose and seed data (truncated) for my environment.
Do everything required to get a client id with the mock data holder.
Hit the par endpoint with my client assertions.
See error

Expected behaviour
I don't think I should see an error?!
Additional context
I can hit the GET registration/{id} endpoint, so I assume my product should be active and available.
I can also get successful responses from the data recipients status endpoint.

I am just noticing now that in the SSA the software_roles field is set correctly to data-recipient-software-product, but when I hit the DH registration/id endpoint the software_roles field is empty...
Could that be an issue with registration?

Looks like this is fixed by #55.
I'm testing with the develop docker tag, but it looks like tag should be created soon?!

Hi @schafer14,
Thank you for logging this issue.
Can you try keeping the record with "SoftwareProductId": "c6327f87-687a-4369-99a4-eaacd3bb8210" in your truncated seed data?
This Software Product represents the mock-data-recipient repository and docker container. The default settings that go into the docker container can be seen here.
Let us know if that helps.

Hi @CDR-AndrewG,
Yep works perfectly. Thanks.
close #52

Hi @CDR-AndrewG,
Yep works perfectly. Thanks.


Fixed #25326 -- Added namedtuple example for executing custom SQL.

Ticket: https://code.djangoproject.com/ticket/25326

merged in 5ab65ca5c900557f508f62a260f9ea53d9d93f37, thanks!


study programme: student graduation in future

014714874
014584279

for studentnumbers mentioned the problem has fixed. oodi can be bit slow to update the correct dates and this is why this happens. some fixes to updater have been issued and possibly fixed this.


csharp-ls: 0.8.0 -> 0.10.0

Description of changes
Changelog: https://github.com/razzmatazz/csharp-language-server/releases/tag/0.10.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 266072 run on x86_64-linux 1

1 package built:

csharp-ls

@ofborg build csharp-ls


adopt Async type

Summary

Define Async type for async state value.
An async state value could be in multiple states for example, ilde, loading, value or error.
If we define the state one by one, store's state will become very verbose.
So we abstract async state to Async type.
@see AsyncEnumTypeTests.swift

Async use case

https://github.com/ReactComponentKit/ReduxCounter/pull/2


typo

All configuration options have been move towards the end of the script.
replace with have been moved

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

ID: d56ecb14-9e66-5313-a381-d2824ec3d1e2
Version Independent ID: ff056ac8-ae76-be10-6895-757333a28e05
Content: Azure Application Insights for JavaScript web apps - Azure Monitor
Content Source: articles/azure-monitor/app/javascript.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@ciufudean Thanks for the feedback! I have fixed the referenced change, and the change should reflect on the doc within 24 hours. We will now proceed to close this thread.


Check mysql database charset when installation

Fix #25378

It looks like a patch without a clear reason, not look good to me .......

The real bug is here:


Consume does not return with an empty producer

man thats bad

are you sure the problem is with consume and not the producer instead?
>> import qualified Data.Conduit as C
>> import qualified Data.Conduit.List as C
>> import Data.Conduit ( ($$) )
>> let p = (C.sourceList []) $$ C.consume
>> :t p
p :: Monad m => m [a]
>> xs <- (p :: IO [Int])
>> xs
[]

Talking about the consume in twine not conduit - https://github.com/ambiata/twine/blob/master/src/Twine/Parallel.hs#L43

oh whoops sorry


Bug: TS extract to constant in enclosing scope with lamda functions without curly braces

Type: Bug
Hi,
when using the intellisense command Extract to constant in enclosing scope while inside a lambda function without curly braces and while having an argument of that lambda function selected, the new constant is created outside if the function which generates a build error.
For example:
const doSomething = (i: number) => (i + 2) * 5;

when selecting i + 2 and running Extract to constant in enclosing scope, we get this:
const newLocal = i + 2;
const doSomething = (i: number) => (newLocal) * 5;

which is obviously wrong. We need to run Add braces to arrow function first, then the command above works correctly and generates
const doSomething = (i: number) => {
    const newLocal = i + 2;
    return (newLocal) * 5;
};

TS should please do this automatically, it bothers me every day ;-) Thanks in advance!
 What is interesting here is that this refactor shouldn't even succeed as per the diagnostic that could be raised here:
https://github.com/microsoft/TypeScript/blob/634d3a1db5c69c1425119a74045790a4d1dc3046/src/services/refactors/extractSymbol.ts#L1918-L1924
However, in this specific scenario the source file becomes the "innermost scope" (since the body-less arrow gets ignored) and this code just assumes that it's fine to not even test this (as per the described special case in the code comment).
It's probably fine to ignore this since the support for body-less arrows should "fix" this special case to always be true.


Helm / k8s updates

Adds a new lab chart to build a self-contained lab environment with multiple Egeria instances, Kafka, and Jupyter for #1297
Fully splits Apache project build images from runtime images (ie. for Atlas and Ranger) for VDC chart (related to https://github.com/odpi/ci-management/issues/44)
Updates Apache build images to use consistent (parameterized) download server (https://archive.apache.org/dist by default), and to use consistent method of verifying release being built (related to https://github.com/odpi/ci-management/issues/44)
Renames and minimizes Apache Ranger deployment
Adds an initial Zookeeper and Solr deployments, using official images, for potential future consolidation

I'll try them out on ICS. thanks.

Basic deployment on IKS was good.
In the notebook I updated the server address (the DNS name I refer to externally for my IKS cluster) and ports (using the nodeport addresses in the chart), and can confirm I'm able to access the chart, and egeria servers - great.
Seeing some issues which maybe in the tutorial itself which I'll look through & raise any issues as appropriate
cc: @mandy-chessell
Not retested same charts on docker-compose (yet)


DRAFT: QB-2372: implement proxy, add prepay

First test
Update with working test deploy
Add cli
Add genesis deployments
Update proxy owner
Add VM intrpreter
Add PREPAY opcode and test impl
Updat before state change checks
First state machine dsign
Add prpay with new keeper statedb
Rm revert from func
Refactor + some add hoc test + keeper mrge
Update test
Fix keeper issue
Rm comment, change gas for prepay fn

Should be merged first - https://github.com/stratosnet/stratos-chain/pull/338


apps: fix Coverity 1451531 Unchecked return value

This is the only outstanding Coverity issue.  It was raised two years ago and has been marked ignore for ages.

[ ] documentation is added or updated
[ ] tests are added or updated

IIRC, the (void) cast is no longer enough to appease gcc.  Are we sure that they are enough for Coverity?

I don't know.  It's not complaining about the others that are void cast but that could be for other reasons.

(void) cast is no longer enough to appease gcc.

Which is, frankly, quite bad behavior of gcc. I should be able to silence a warning with a simple thing like the cast, if I know what I am doing.

Ping for a review or an alternative suggestion to remove this warning?

My first thought is: get bad performance measurements.
I guess something could be done to handle errors in performance loops.  Sadly, doing so will adversely impact performance -- probably not an issue for most but things but some might.
Doing it badly could marked improve apparent performance (go to next iteration without accounting for the problem e.g.).

I mean, we get bogus performance numbers if the crypto calls just return early with an error, too.  It's not a priori clear that one type of error is better or worse than the other.

Agreed.
I think it very unlikely that the calls will fail, so added checks would seem like it would slow things down (very slightly) without reason.
Still, something I'll raise for OTC discussion.

My real-life test cases:
If I measure performance of the correctly set environment (e.g. license file is up-to-date for the commercial implementation), I'm interested in immediate failure.
If I measure performance of "something similar to new implementation" (e.g. I want to comment out some function to see if it has an impact to the performance), I'd like to test it all the time it should be tested. So for post-3.0 I'd prefer smth like an option -immediate-failure, but for now it's OK to me.

Merged to master.  Figuring out a better way to do speed is something for the future I feel.


Upgrade to latest FT

before:
python -c "import os; from evalml.utils import get_evalml_pip_requirements; print('\n'.join(get_evalml_pip_requirements(os.getcwd())))"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "CountString" from "nlp_primitives.count_string" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.count_string"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "MeanCharactersPerWord" from "nlp_primitives.mean_characters_per_word" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.mean_characters_per_word"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "MedianWordLength" from "nlp_primitives.median_word_length" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.median_word_length"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "NumUniqueSeparators" from "nlp_primitives.num_unique_separators" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.num_unique_separators"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "NumberOfCommonWords" from "nlp_primitives.number_of_common_words" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.number_of_common_words"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "PunctuationCount" from "nlp_primitives.punctuation_count" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.punctuation_count"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "TitleWordCount" from "nlp_primitives.title_word_count" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.title_word_count"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "TotalWordLength" from "nlp_primitives.total_word_length" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.total_word_length"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "UpperCaseCount" from "nlp_primitives.upper_case_count" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.upper_case_count"
2022-10-24 16:04:56,893 featuretools - WARNING    While loading primitives via "nlp_primitives" entry point, ignored primitive "WhitespaceCount" from "nlp_primitives.whitespace_count" because a primitive with that name already exists in "featuretools.primitives.standard.natural_language_primitives.whitespace_count"
pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pandas.Float64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
numpy>=1.21.0
pandas>=1.4.0
scipy>=1.5.0
scikit-learn>=1.1.2
scikit-optimize>=0.9.0
pyzmq>=20.0.0
colorama>=0.4.4
cloudpickle>=1.5.0
click>=7.1.2
requirements-parser>=0.2.0
shap>=0.40.0
statsmodels>=0.12.2
texttable>=1.6.2
woodwork>=0.19.0
dask>=2021.10.0
nlp-primitives>=2.1.0,!=2.6.0
featuretools>=1.7.0
networkx<2.6,>=2.5
plotly>=5.0.0
kaleido>=0.1.0
ipywidgets>=7.5
xgboost>=1.5.1
catboost>=0.20
lightgbm>=2.3.1
matplotlib>=3.3.3
graphviz>=0.13
seaborn>=0.11.1
category_encoders>=2.2.2
imbalanced-learn>=0.9.1
pmdarima<2.0.0,>=1.8.1
sktime<0.13.1,>=0.12.0
lime>=<IP_ADDRESS>
vowpalwabbit>=8.11.0

after:
python -c "import os; import sys; import io; save_stdout = sys.stdout; sys.stdout = open('trash', 'w'); from evalml.utils import get_evalml_pip_requirements; sys.stdout = save_stdout; print('\n'.join(get_evalml_pip_requirements(os.getcwd())));"
pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
pandas.Float64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
numpy>=1.21.0
pandas>=1.4.0
scipy>=1.5.0
scikit-learn>=1.1.2
scikit-optimize>=0.9.0
pyzmq>=20.0.0
colorama>=0.4.4
cloudpickle>=1.5.0
click>=7.1.2
requirements-parser>=0.2.0
shap>=0.40.0
statsmodels>=0.12.2
texttable>=1.6.2
woodwork>=0.19.0
dask>=2021.10.0
nlp-primitives!=2.6.0,>=2.1.0
featuretools>=1.7.0
networkx<2.6,>=2.5
plotly>=5.0.0
kaleido>=0.1.0
ipywidgets>=7.5
xgboost>=1.5.1
catboost>=0.20
lightgbm>=2.3.1
matplotlib>=3.3.3
graphviz>=0.13
seaborn>=0.11.1
category_encoders>=2.2.2
imbalanced-learn>=0.9.1
pmdarima<2.0.0,>=1.8.1
sktime<0.13.1,>=0.12.0
lime>=<IP_ADDRESS>
vowpalwabbit>=8.11.0

Issue here is potentially that by upgrading the min FT version to the latest our dask versions are incompatible because FT wants dask[dataframe]==2022.2.0 and we try to install from dask >= 2021.10.0

Closing I favor of #3778


Build static swtpm

Fixed in https://review.monogon.dev/c/monogon/+/3130 / b07c57a3d0d7bc3d63e86e0b50c2ed4f5c6e5af6.


integrated with Scroll Panel Ui and improved FileManager methods.

Codecov Report

Merging #145 (4dd19ac) into master (e694731) will increase coverage by 0.51%.
The diff coverage is 40.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##             master     #145      +/-   ##
============================================
+ Coverage     52.28%   52.80%   +0.51%
- Complexity      465      468       +3
============================================
  Files           101      101
  Lines          2167     2176       +9
  Branches        220      218       -2
============================================
+ Hits           1133     1149      +16
+ Misses          962      955       -7
  Partials         72       72

Impacted Files
Coverage Δ

src/main/java/seedu/address/files/FileStorage.java
50.98% <0.00%> (-4.34%)
:arrow_down:

...rc/main/java/seedu/address/model/ModelManager.java
85.71% <ø> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/files/FilesManager.java
50.00% <61.53%> (+26.36%)
:arrow_up:

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


Typo "Azure function"→"Azure Function"

https://docs.microsoft.com/en-us/azure/container-instances/container-instances-tutorial-azure-function-trigger

We're checking on how to proceed with the pull request. #hold-off

This commit has been moved to the private repo for merging. We'll close this pull request. Thanks.


Custom bucket URLs for Scoop version shield.

:clipboard:
In addition to referencing Scoop's bucket list, shields could take in a URL as a bucket parameter for the Scoop version shield.
After if (!bucketUrl), before throwing the error, shields could check if the bucket parameter is a valid GitHub URL, and attempt to extract the user & repo from that, using the same gitHubRepoRegExp, allowing users to reference buckets that are not in the official list.

Seems reasonable to me.

Sure, I'll see what I can do.


Codegen add with apiId is asking to delete when trying to push on new system

Describe the bug
When adding codegen to a project (appsync not created with amplify) with apiId option. If a new developper (or ci/cd in my case) init the amplify project selecting an existing env, amplify status will tells him that pushed changes will delete it.
Amplify CLI Version
4.11.0
To Reproduce

Create an amplify project and add codegen: amplify add codegen --apiId AppSyncAPIid
Push changes and push in git also (.graphqlconfig.yml is also in git repo)
Checkout project on another system (ci/cd codebuild)
Execute amplify init to select right role,...
amplify status will show:
| Category | Resource name | Operation | Provider plugin |
| -------- | ----------------------- | --------- | ----------------- |
| Auth | xxx | No Change | awscloudformation |
| Hosting | xx | No Change | awscloudformation |
| Api | xxx | Delete | |
| Function | xx | No Change | awscloudformation |

Only way to get normal status again is to remove api and add it again... BUT I got this problem inside a CICD so I cannot walkthrough the steps to add the API... And it doesn't seem to have an headless version of codegen add from what I saw from the sources.
Expected behavior
All category should be in "No Change" state and the ci/cd should get the amplify working fine after init.

@SebSchwartz
I just tested and  the behavior is different now.
After going through all the steps, the amplify status will not show the api resources, so, not delete status for it.
The generated mutations/queries are already in your frontend project, so your frontend project should work as normal.
If your AppSync project is updated, you just need to run the amplify add codegen --apiId AppSyncAPIid command again to get the updated generated code.
Closing the issue for now, feel free to an open new issue if needed.


Fix route selectors for the basic example

Change namespaceSelector to empty value, since empty string is not a valid key.
Add routeSelector with simple example of matchLabels.
Add same labels value to HTTPRoute in order to match gateway's routeSelector.

/assign @robscott

Thanks!
/lgtm
/assign @bowei

/ok-to-test

/approve


Best practices and confusion...

Hi everyone.. i'm trying to understand the right way to to thing with actions, trigger, rules and serverless in general.
My idea is:
When a triggers fires, a sequence of actions must start -> generate a random color, turn on a led with that color, save to a DB the record using an input ID, timestamp and the color generated at the first step.
I need to fire the trigger using the OW API.
so i did like so:

the problem is that the parameters you pass to the trigger at the beginning is used ONLY from the first action (generateColor), then them are lost, same thing apply for the output of the actions.. the output of generateColor is needed for turnOnLED and saveColor, but the last will not receive the data because there is another action in between, and also will not receive the parameters used to fire the trigger (needed to save the record to the DB)

Last but not least... keeping in mind that the trigger will be fired using the API, you should expect sometype of response.. instead you got only an activationid relative to the trigger. This means:
Imagine the above sequence works. saveColor returns a value (in this case called "record-id"), when you fire to trigger you expect this as output, but instead you have to:

Get  the activationId of the trigger
Make another api request to get the activations of the single actions used by the sequence
Make another api request to get the result result of the action you need in the list found before, so you have to try one by one (in this case are only 3, but if were 50?)

At this point i think i'm doing something wrong, this is not the right way to design actions? how should they be done? my understanding of "serverless" is wrong?.. i don't know but this thing is a bit confusing to me.
Thanks in advance

@Sladerix Really neat graphs - how'd you draw these?
It sounds like you want to "retain" some parameters across functions in the sequence. The best way to do this with openwhisk is to use composer and the retain combinator https://github.com/apache/openwhisk-composer/blob/master/docs/COMBINATORS.md.
Here's an example https://github.com/rabbah/travis-to-slack/blob/6b91579e10c22ce9ef4a1d0bfdd1dd35ced3ddc0/travis2slack.js#L85-L87 which might help you with what you're trying to do.

@Sladerix Really neat graphs - how'd you draw these?
It sounds like you want to "retain" some parameters across functions in the sequence. The best way to do this with openwhisk is to use composer and the retain combinator https://github.com/apache/openwhisk-composer/blob/master/docs/COMBINATORS.md.
Here's an example https://github.com/rabbah/travis-to-slack/blob/6b91579e10c22ce9ef4a1d0bfdd1dd35ced3ddc0/travis2slack.js#L85-L87 which might help you with what you're trying to do.

Thank very much !
I think I need to deepen the openwhisk-composer topic. I don’t know how to use it because i learned by using only the CLI/API. But thanks for the example , i will take a look 😁
About the graphs:
Those are only fast sketches to show a simple example for the issue, and I used GoodNotes5 for iPad.
however to achieve a nicer form  I use draw.io (webapp and desktop version), very useful.
https://www.diagrams.net/


[SQL-Migration] Release v1.4.0 to Stable

This PR updates the insiders extension gallery to the latest version of the SQL Migration extension. The main change here is the decoupling of the migration extension from STS, where we instead now use our own dedicated Migration service - see https://github.com/microsoft/azuredatastudio/pull/21781
Link to Azure Data Studio - Extensions pipeline run off main containing vsix: https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build/results?buildId=189857&view=results

@Akshay-Mata There was already a 1.4.0 uploaded for the insiders update - is that one OK to use? If not then you'll need to vBump the extension and update both galleries. (in the future if you're just releasing something from insiders-only to stable + insiders you don't need to include a link to the build drop for that reason)

@Charles-Gagnon I saw your comment above. The one insiders is OK to use!
To clarify, the build I posted here is the same as the one on insiders. I used the template as the PR we used to release to insiders -- sorry about the confusion.

Gotcha, just wanted to make sure!


Ability to invite users to a chat room

Sometimes user is needed in a discussion, and she is not in the current room.
There should be a way to catch his attention in such situations.
It might be a separate button in the GUI, or just an extended scope for @mention notifications.
As an extension of this feature, mention notification emails while offline would be just awesome.

We have @@ to mention users not in a room - but the messages don't reach them, yet. This would be a good addition if someone wants to send in a PR

Here a couple of ideas:

Notifications feed (a la github)
Hook for mentions, so you can script stuff like email/sms/etc
Maybe auto-join / popup / or something?

:+1:

:+1:


HalfWing geometry automatic differentiation fix

Fixes issue in HalfWing geometry differentiation incompatibility with CoordinateTransformations by type promotion in the outer constructor.

Codecov Report

Merging #111 (3d61112) into main (750c05b) will decrease coverage by 0.05%.
The diff coverage is 8.88%.

@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   32.29%   32.23%   -0.06%
==========================================
  Files          44       44
  Lines        1536     1545       +9
==========================================
+ Hits          496      498       +2
- Misses       1040     1047       +7

Impacted Files
Coverage Δ

src/Aerodynamics/LinearVortexSource/matrix.jl
0.00% <0.00%> (ø)

...c/Aerodynamics/LinearVortexSource/singularities.jl
0.00% <0.00%> (ø)

src/Aerodynamics/profile_drag.jl
0.00% <0.00%> (ø)

src/Geometry/PanelGeometry/2d_panels.jl
28.16% <0.00%> (ø)

src/Geometry/AircraftGeometry/Wings/halfwing.jl
69.73% <100.00%> (+0.81%)
:arrow_up:

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 750c05b...3d61112. Read the comment docs.


Update CRD doc

fixed: https://github.com/open-cluster-management/backlog/issues/12918
Signed-off-by: clyang82<EMAIL_ADDRESS>

/assign @songleo


Open dashboard will start from insert mode not normal mode

Describe the bug
Open dashboard will start from insert mode not normal mode.
(current buffer is unmodifiable)
To Reproduce
Steps to reproduce the behavior:

Run neovim without file path to open dashboard: $ nvim
Type any character
The error is shown: E21: Cannot make changes, 'modifiable' is off

Expected behavior
When opening dashboard, the current buffer should start at normal mode, so that we don't
need extra [escape] to use the dashboard function.
Screenshots

dashboard buffer does not support modified.

dashboard buffer does not support modified.

True.
Could we configure Dashboard to start at normal mode?

it's normal mode .I don't change your vim mode . check your config.

Yeah, my bad.
I found that the problem is caused by my preview_command:
cat | lolcat -F 0.3


Azure update

Updated akka.streams version to 1.3.7
Updated akka.testkit references
Updated AzureServiceBus and StorageQueue versions to latest
Didnt update Azure.EventBus due to assembly binding issues.
Updated project versions to 0.1.1

@Danthar do we need to send this into master for a deploy, right? Is everything all squared away for that?

Yes we do. And if your referring to CI, i have no idea. Besides that, i think i got the relevant bits. For the azure stuff at least.
Might be prudent to update the other bits to the latest akka version first as well though, before we push a next release.


Explain when self-hosting may be more appropriate from MeltanoData emails

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1960
Originally created by @DouweM on 2020-04-21 22:15:56

View 4 previous comments from the original issue on GitLab


Update all dependencies

... except those which require too new versions of Node.
(Should we drop support for Node 16 like everyone else?)

Should we drop support for Node 16 like everyone else?

The arethetypeswrong PR will bump us up to 20 since it relies on native fetch.

The arethetypeswrong PR will bump us up to 20 since it relies on native fetch.

Not Node 18?

Ah you're right, 18. I think I confused myself by the initial DT PR for fetch only being able to land in 20.

Gotcha; I'll try and bump to node18+ in another PR.