PBRMaterialBase Custom Shader Name Resolve Support

I don't know what wrong with the PR... I made small changes in PBRMaterialBase and Whats New but the build keeps failing... Talking i need camel casing for ALBEDO. I never changed ALBEDO.
I just added customShaderNameResolve function.
@deltakosh  Please Help :)


Biography Interface

Add biography interface to model
interface Biography {
   id: Entity['id'];
   text: string;
}

what endpoint returns this?

There will be an endpoint that returns biographical texts (e.g. the biography source texts of APIS). Also the xlsx template will provide the option to import biographical text, indexed by entity id.

relates to https://github.com/InTaVia/InTaVia-Backend/issues/77
The plan for now, is that this endpoint queries the existing APIS API for biography texts; Alternatively we could directly access the api in the frontend.

ok, should this be added as a field to Person then?
i.e.
export interface Biography {
- id: Entity['id'];
+ id: string;
  text: string;
}

export interface Person extends EntityBase {
  kind: "person";
  gender?: Gender;
  occupations?: Array<Pick<VocabularyEntry, "id" | "label">>;
+ biographies?: Array<Biography>
}


Improvements for restivus-swagger

From @jykae on March 17, 2016 11:15

support query & body parameters definitions for endpoints to be able make calls through Swagger UI

Copied from original issue: Digipalvelutehdas/dipor-dashboard#112

Parameter object definition: http://swagger.io/specification/#parameterObject
At least path, query, body param types should be supported.

Got path parameters working.

Making 2 PRs, one for restivus-swagger and one for the main project configs.

Related https://github.com/Digipalvelutehdas/dipor-dashboard/issues/124

Body parameter requires JSON Schema object definition, http://swagger.io/specification/#parameterObject

Would be good to find a way how to convert between JSON Schema <-> Simple Schema

Cool, https://github.com/Yodata/meteor-json-simple-schema
If we define JSON Schema object, we could possibly generate Simple Schemas

Schema Object definition: http://swagger.io/specification/#schemaObject

Post params with schema definition:


FTP Cert Verification question

I've recently upgraded to a new RPI 3 b+ and have it up and running for the most part, but I can't get the images to upload to my website. I know the username and password are correct, I can connect through FileZilla on my desktop. But when I manually try to connect through the RPI terminal window, I get an error: (i've redacted user & host info)
pi@allsky:~ $ lftp ftp.myhost.com
lftp ftp.jimcauthen.com:~> user<EMAIL_ADDRESS>Password:
lftp myuser@myhost.com@ftp.myhost.com:~> ls
ls: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘ftp.myhost.com’ (9D:31:D7:C1:F4:D1:3D:71:77:B6:EE:45:18:5E:1B:71:33:40:6F:97)
lftp myuser@myhost.com@ftp.myhost.com:~>

the "log.txt" file shows the attempt of uploading, but no success/fail message.
20000000
Saving image-20180919233720.jpg

Resizing image.jpg

Uploading image-resize.jpg

I've verified the file on the host, and it's an old file from my previous AllSky.
Any suggestions/troubleshooting steps would be greatly appreciated.
And as before, Thank You for this awesome project!

Hi Jim,
lftp doesn't add the host to the "trusted hosts" by default.
Try connecting to your host via SSH:
ssh myhost.com
This should prompt you if you want to add this host to the list of trusted hosts. Just say yes and it should work after that.

I’ll give that a shot next week - thought I tried that after I read another thread, but not sure.
Next week, because forgot to fully seal my case last night and, we’ll, the dew set in and fried the Pi. >.<‘

I tried the ssh myhost.com but i think that is for port 22. When I go back and try lftp myhost.com and log in with the user creds I still get the dreaded Fatal error when trying to look around for directory or folders.

When I get in I try the command within lftp set ftp:ssl-allow no and then I can cruise around.. I am wondering if the FTP operation will be able to get in since I had to enter this command each time I manually connected via command line.

Images still not uploading to ftp site via the script. Account settings are the same that I tested on lftp in command line.

Changing that now shows the image being put on my ftp site.  I just changed
the lftp settings on all the other scripts that had lftp and inserted this
after the time out value set ftp:ssl-allow no;
Tomorrow I'll see if it uploads the keogram startrails and video.
On Wed, Dec 26, 2018, 7:25 PM Thomas Jacquin<EMAIL_ADDRESS>wrote:

Have you tried updating the lftp calls in saveImageDay.sh and
saveImageNight.sh?
Change this:
lftp "$PROTOCOL"://"$USER":"$PASSWORD"@"$HOST":"$IMGDIR" -e "set
net:max-retries 1; set net:timeout 20; put $FILENAME-resize.$EXTENSION;
bye" &
into this:
lftp "$PROTOCOL"://"$USER":"$PASSWORD"@"$HOST":"$IMGDIR" -e "set
net:max-retries 1; set net:timeout 20; set ftp:ssl-allow no; put
$FILENAME-resize.$EXTENSION; bye" &
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thomasjacquin/allsky/issues/38#issuecomment-450065026,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArTEujIIFvX3Z2DA_SytnywMYdszoZC3ks5u9D2TgaJpZM4WxapA
.

Everything uploaded last night. Thanks for the help.
On Wed, Dec 26, 2018, 7:25 PM Thomas Jacquin<EMAIL_ADDRESS>wrote:

Have you tried updating the lftp calls in saveImageDay.sh and
saveImageNight.sh?
Change this:
lftp "$PROTOCOL"://"$USER":"$PASSWORD"@"$HOST":"$IMGDIR" -e "set
net:max-retries 1; set net:timeout 20; put $FILENAME-resize.$EXTENSION;
bye" &
into this:
lftp "$PROTOCOL"://"$USER":"$PASSWORD"@"$HOST":"$IMGDIR" -e "set
net:max-retries 1; set net:timeout 20; set ftp:ssl-allow no; put
$FILENAME-resize.$EXTENSION; bye" &
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thomasjacquin/allsky/issues/38#issuecomment-450065026,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArTEujIIFvX3Z2DA_SytnywMYdszoZC3ks5u9D2TgaJpZM4WxapA
.

Hi Thomas, I have the same problem but can't edit saveImageDay.sh, apparently now all lftp instructions are in lftp_cmds.txt
How shall I edit that?
many thanks! Fabio

@fabiopignata, you shouldn't edit any Allsky programs.  A lot has changed in the last 5 years.  If you have the latest Allsky release, please see the documentation available from the WebUI. If you are having problems uploading files see the Troubleshooting -> Uploads page.


Cannot infer architecture for objects files compiled with LTO on Apple Silicon / M1 / osx-arm64

Feel free to point me to a repo where this ticket is more appropriate.
I'm facing an issue which connects to the python3.8 builds since they were compiled with LTO options and the shipped toolchain with, e.g. c-compilers is not capable of reading the created object files.
minimal example
conda create -n lto-python-failure python=3.8 c-compiler
conda activate lto-python-failure

Use a.h and a.c from https://llvm.org/docs/LinkTimeOptimization.html#example-of-link-time-optimization
--- a.h ---
extern int foo1(void);
extern void foo2(void);
extern void foo4(void);

--- a.c ---
#include "a.h"

static signed int i = 0;

void foo2(void) {
  i = -1;
}

static int foo3() {
  foo4();
  return 10;
}

int foo1(void) {
  int data = 0;

  if (i < 0)
    data = foo3();

  data = data + 42;
  return data;
}

clang -flto -c a.c -o a.o
lipo -info a.o
> fatal error: lipo: can't figure out the architecture type of: a.o

Using the OSX shipped toolchain, this works without issues
/Library/Developer/CommandLineTools/usr/bin/lipo -info a.o
input file a.o is not a fat file
Non-fat file: a.o is architecture: arm64

The problem and connection with the py3.8 builds is introduced since the py3.8 builds are using LTO which sets the PY_CFLAGS (see  python -m sysconfig) which are used by Cython and cannot be removed / overridden afaik (you can append flags using environment C_FLAGS but I am not aware of a method to remove a flag, i.e. how to remove -flto)

Environment (conda list):

$ conda list
# packages in environment at /Users/fjetter/mambaforge/envs/lto-python-failure:
#
# Name                    Version                   Build  Channel
c-compiler                1.1.3                h27ca646_0    conda-forge
ca-certificates           2020.12.5            h4653dfc_0    conda-forge
cctools                   949.0.1             ha9384d2_20    conda-forge
cctools_osx-arm64         949.0.1             h1c8944f_20    conda-forge
certifi                   2020.12.5        py38h10201cd_1    conda-forge
clang                     11.1.0               hce30654_0    conda-forge
clang-11                  11.1.0          default_h87665d4_0    conda-forge
clang_osx-arm64           11.1.0               h54d7cd3_0    conda-forge
clangxx                   11.1.0          default_hbe4449c_0    conda-forge
compiler-rt               11.1.0               h7d99272_0    conda-forge
compiler-rt_osx-arm64     11.1.0               h103ad0d_0    conda-forge
ld64                      530                 h08716b2_20    conda-forge
ld64_osx-arm64            530                 h8a2aa15_20    conda-forge
ldid                      2.1.2                h34db0f2_2    conda-forge
libclang-cpp11.1          11.1.0          default_h87665d4_0    conda-forge
libcxx                    11.1.0               h168391b_0    conda-forge
libffi                    3.3                  h9f76cd9_2    conda-forge
libllvm11                 11.1.0               h93073aa_1    conda-forge
llvm-openmp               11.1.0               hb3022d6_0    conda-forge
llvm-tools                11.1.0               h93073aa_1    conda-forge
ncurses                   6.2                  h9aa5885_4    conda-forge
openssl                   1.1.1k               h27ca646_0    conda-forge
pip                       21.0.1             pyhd8ed1ab_0    conda-forge
python                    3.8.8           h12cc5a1_0_cpython    conda-forge
python_abi                3.8                      1_cp38    conda-forge
readline                  8.1                  hfbdcbf2_0    conda-forge
setuptools                49.6.0           py38h10201cd_3    conda-forge
sqlite                    3.35.3               h6d56c25_0    conda-forge
tapi                      1100.0.11            he4954df_0    conda-forge
tk                        8.6.10               hf7e6567_1    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
xz                        5.2.5                h642e427_1    conda-forge
zlib                      1.2.11            h31e879b_1009    conda-forge

Details about  conda and system ( conda info ):

$ conda info

     active environment : lto-python-failure
    active env location : /Users/fjetter/mambaforge/envs/lto-python-failure
            shell level : 4
       user config file : /Users/fjetter/.condarc
 populated config files : /Users/fjetter/mambaforge/.condarc
                          /Users/fjetter/.condarc
          conda version : 4.10.0
    conda-build version : not installed
         python version : 3.9.2.final.0
       virtual packages : __osx=11.2.3=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/fjetter/mambaforge  (writable)
      conda av data dir : /Users/fjetter/mambaforge/etc/conda
  conda av metadata url : https://repo.anaconda.com/pkgs/main
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-arm64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-arm64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/fjetter/mambaforge/pkgs
                          /Users/fjetter/.conda/pkgs
       envs directories : /Users/fjetter/mambaforge/envs
                          /Users/fjetter/.conda/envs
               platform : osx-arm64
             user-agent : conda/4.10.0 requests/2.25.1 CPython/3.9.2 Darwin/20.3.0 OSX/11.2.3
                UID:GID : 501:20
             netrc file : None
           offline mode : False

cc @xhochy

With Anaconda Defaults we do not have this problem because we strip the LTO flags:
	PY_LDFLAGS = " -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/conda/envs/lto-python-failure.ad/lib -L/opt/conda/envs/lto-python-failure.ad/lib  -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/conda/envs/lto-python-failure.ad/lib -L/opt/conda/envs/lto-python-failure.ad/lib"
	PY_LDFLAGS_NODIST = " -Wl,-export_dynamic -g"

In your example we see:
	PY_LDFLAGS = "-Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/conda/envs/lto-python-failure/lib -L/opt/conda/envs/lto-python-failure/lib -flto -Wl,-export_dynamic -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/conda/envs/lto-python-failure/lib -L/opt/conda/envs/lto-python-failure/lib"```

I checked conda-forge's python 3.9 (looking at the right var this time!) and it is stripping this flag correctly:
python -m sysconfig | grep BLDSH
	BLDSHARED = " x86_64-apple-darwin13.4.0-clang -bundle -undefined dynamic_lookup  -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/conda/lib -L/opt/conda/lib  -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/opt/conda/lib -L/opt/conda/lib

In the AD recipe this stuff is handled by this somewhat 'janky' code:
https://github.com/AnacondaRecipes/python-feedstock/blob/master/recipe/build_base.sh#L385-L418
I think around 3.8.8 time, conda-forge refactored this stuff a bit badly, perhaps!

hmm, we have the same code. not sure what's going on.

@fjetter, can you open an issue in python-feedstock about the flto flags? With the latest cctools (check in an hour or so), lipo should work correctly.

great, thanks!


Fix spelling error 'with with' in README

Fixes tiny spelling error "Share insights with with Reports" in the README.

Thanks @dunnkers !


Does not support super-ultrawide (32:9) resolution

The plug-in does not seem to support super-ultrawide (32:9) resolution. Unable to click the input bar and enter any command in the console.
changing resolution to standard 16:9 works.
Tested with Samsung CRG9

Might be something else because I'm on a 32:9 1440p display and it seems to work as expected.
I know that RivaTuner and MSI Afterburner made the console not appear for me initially though.

May be resolved by #345 but am unsure now if it is caused by what i think it is...
So try to test latest build when it drops, changes already merged.

May be resolved by #345 but am unsure now if it is caused by what i think it is...
So try to test latest build when it drops, changes already merged.

Thanks. I can confirm the issue can no longer be reproduced with the latest build
console now takes full width of the screen.

Thanks. I can confirm the issue can no longer be reproduced with the latest build
console now takes full width of the screen.


How to set page zoom with user.js ?

Hello,
I would like to define my page zoom settings in my user.js, is it possible ? if so, what code should I use ?
Any help will be greatly appreciated.

Hi @wealstarrr
There is a Reddit thread about this!
https://www.reddit.com/r/firefox/comments/kfyso6/possible_to_change_default_zoom_level_in/

@Feejus AH! Understood. Thank you for the help.


Resize fixes in a sibling fork

@BigFatDog Thanks for this awesome port! I'm trying to embed parcoords-es in a way that supports resizing, brushing, and updating data. The combination of these three creates problems for me when using brush modes "1D-axes" and "1D-axes-multi".
It seems like some of this may be addressed by https://github.com/autodesk-forks/parallel-coordinates/pull/1 and other recent commits in https://github.com/autodesk-forks/parallel-coordinates.
Is there any interest in trying to pull over these fixes? Or has the code diverged too much for that to be helpful?

Hi @ajbouh
Thank you for your appreciation.
The autodesk fork that you mentioned are based on the original parallel-coordinates therefore that pull request cannot be applied to parcoords-es directly. Yes, the code has diverged too much.
I see two approaches here:

I contact autodesk team to see if they have any plan to port their contribution to parcoords-es.  This is not an easy task for them, I'm afraid.
I port that pull request to parccords-es myself.

Currently I tend to adopt approach #2 because if autodesk would like to contribute, they would do it for all enhancements rather than this single feature.
I'll keep you updated here when I start.


FullScreenCover causes linker crash and app won't start on macOS 10.15

Description
When i try to use SwiftUINavigaion, linker fails with the following message on macOS 10.15
Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: _$s7SwiftUI4ViewPAAE15fullScreenCover11isPresented9onDismiss7contentQrAA7BindingVySbG_yycSgqd__yctAaBRd__lFQOMQ
  Referenced from: /Applications/Ubiquity.app/Contents/MacOS/Ubiquity
  Expected in: /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
 in /Applications/Ubiquity.app/Contents/MacOS/Ubiquity

looks that the   @available(macOS, unavailable) doesn't work in FullScreenCover.swift or I'm not sure while linker tries to load mentioned symbol.
If there's some suggestion on what could i do - please let me know.
As a side note, I was having issues with trying to run TCA and SwiftUI-navigation on macOS 10.15 system with debugging purposes. That is due to required swift-tools version 5.6 required, but macOS 10.15 only supports XCode 12.4, which has swift-tools of version 5.3. Maybe you can suggest how to overcome this one as well. Thanks!
Checklist

[X] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
app runs without a crash
Actual behavior
crashes while linking, so the app won't even start
Steps to reproduce

Create whatever simple application
archieve it with macos10.15 support
try to run ot on macOS 10.15
crash while linking

SwiftUI Navigation version information
14ac251
Destination operating system
macOS 10.15
Xcode version information
Version 14.1 (14B47b)
Swift Compiler version information
swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-<IP_ADDRESS>.3 clang-14<IP_ADDRESS>)
Target: x86_64-apple-macosx13.0

Hi @nrudnyk, I just started a fresh project targeting macOS 10.15 and it seems to work just fine. Can you provide a minimal project that reproduces the problem?
Also I am not sure this is actually a problem with the library, so I am going to covert it to a discussion.


Dashboard Updates

This PR contains the scatter graphs as per the approved designs.

We're aware of the merge conflicts and we'll try to resolve them. Thanks

closing.
Submitted https://github.com/Sage-Bionetworks/mPowerSDK/pull/24 which fixes the merge conflicts.


Docs: Search is broken

The search page is broken .
Expected URL: https://meshery.layer5.io/docs/search/?q=test
Actual URL: https://layer5io.github.io/meshery/search/?q=test.
I'm looking into it!

Yikes!

It works in my branch, so it seems to be something with the server configuration. It's a 301 redirect and it only appears to happen for https://meshery.layer5.io/docs/search/; bad URLs will load the 404. Maybe something to do with the recent site change?

@venilnoronha thoughts?

@firstladymb we debugged this issue to NOT be associated with Jekyll or the theme used. It turned out to be a config issue elsewhere. We have taken care of this now.
Thanks a lot for your interest and time spent on this issue.


fix duplicated physical timestamp

@disksing physical timestamp could be equal.

Nanosecond only gets the nano second part in a second, I think UnixNano is correct.

LGTM


Loading extension fails when path contains whitespace

Repro steps:

Action: acquireDotnet
Error type: 1
Error Message: Command failed: c:\Users\Jorge Cotillo.vscode\extensions\msazurermtools.azurerm-vscode-tools-0.7.0\assets\scripts\dotnet-install.cmd -InstallDir 'c:\Users\Jorge Cotillo\AppData\Roaming\Code\User\globalStorage\msazurermtools.azurerm-vscode-tools.dotnet\2.2.5' -Runtime dotnet -Version 2.2.5
'c:\Users\Jorge' is not recognized as an internal or external command,
operable program or batch file.
Version: 0.7.0
OS: win32
Product: Visual Studio Code
Product Version: 1.38.1
Language: en

Call Stack
ChildProcess.exithandler child_process.js:299:12
ChildProcess.emit events.js:182:13
maybeClose child_process.js:962:16
Socket.ChildProcess.spawn.stream.socket.on child_process.js:381:11
Socket.emit events.js:182:13
Pipe.Socket._destroy._handle.close net.js:606:12

Great catch, thanks!  Have seen a similar issue before, thought it was fixed...

This is actually weird, I can't repro this.  What build of the extension are you using, or where did you get it?  Was it forwarded to you via e-mail from AlexF?

I can repro now


Campus Placements Analysis & Prediction.

Define You:

[x] Hacktoberfest2021 Participant
[x] Contributor

Is your feature request related to a problem? Please describe.
To provide script for the Campus placement analysis & prediction using a Machine Learning Algorithm in python.
Approach to be followed:
Implementing Decision Tree Regressor algorithm using a project as  Campus placement analysis & prediction which will include:

Data preprocessing & exploring,
Data visualization,
Data training &
Model creation.

@prathimacode-hub Kindly assign me for this issue.

Issue assigned. @ayushi424


Use https by default

The data.police.uk API has been available over https for a while, and the documentation implies that that is now the preferred way to consume it. For what it's worth, I agree; you probably don't want people sniffing out what locations you're searching for or fiddling with the data you get back.

The API URL has been set to HTTPS by 4c184e0


Runelite Notes Issue/Inconvenience

So if you're like me you have an alt account. However, if you have an alt account and write a note on one Runelite application and not both, the note resets to the last Runelite application closed's notes. I'm assuming this would be a rather simple and easy issue to patch. Thank you!

Dont think this is easily solvable, we cant just magically sync settings between 2 different open clients.

@deathbeam I'm not too sure on if it's feasible or not, but, what if when 'notesChanged' is called and it saves the config completely. Then, when the notes 'focusGained' is called, it reloads the config for 'notesData'.
Essentially, it would save completely after being changed. Then, upon gaining focus within the plugin again, it reloads itself to make sure it's completely up-to-date with the config-data.
Scenario:

Client 1's notepad is edited.
Client 1 loses notepad focus and saves config.
Client 2 gains notepad focus, reloads config, and is now identical to Client 1's notepad data.

Let me know if this is a realistic concept or not.

This issue is more actually "Settings are saved by the last-closed client", than anything to do with the Notes plugin specifically. Anyways, this is largely solved by the addition of config profiles, which were added in 831189459ba51538b239a33b7d632bd2d9e4e8a3.


use of root_path_coco instead of root_path_netcdf when calling PADDataModule()

Hi folks,
I noticed the following code uses the old root_path_coco parameter instead of root_path_netcdf when calling PADDataModule():

pad_experiments.py | line 390 and 456
compute_class_weights.py line 49
visualize_predictions.py line 178

I'm guessing root_path_netcdf was substituted for root_path_coco as some point and not updated in the above.
Let me know if this is correct!
Ciao!

Hello,
Correct, thanks for catching this! The paths parameters were later renamed and the changes were not reflected to all files. It should be fixed with the latest commits. Please check!

Awesome. Thanks Mara!


[BUG][Connector-V2][Mongo-cdc] Incremental data kind error in snapshot phase

…t phase

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

close #5169

@hailin0 @MonsterChenzhuo Please help review

I think it would be better for you to associate an issue and explain the problem.

@hailin0 @MonsterChenzhuo Please help review

I think it would be better for you to associate an issue and explain the problem.

@hailin0 @MonsterChenzhuo Please help review

I think it would be better for you to associate an issue and explain the problem.

@MonsterChenzhuo ,Sorry, the reason for this pr is that all data in the snapshot phase should have a rowkind of read

@MonsterChenzhuo PTAL

@MonsterChenzhuo  PTAL

@Carl-Zhou-CN It's like this: MySQL's binary log contains "R" events, and maintaining consistency between full and incremental backups should be approached in a certain way. However, MongoDB's oplog (operational log) does not have "R" events. Therefore, employing the same methodology is incorrect. This discrepancy is connected to the event types within MongoDB's oplog (or change streams).

@Carl-Zhou-CN  Let's go ahead and merge the 'dev' branch first. Due to the issue mentioned in https://github.com/apache/seatunnel/pull/5195, the code is unable to trigger the 'rewriteOutputBuffer' function at all. Therefore, I'd like to debug and see if there's any improvement in the situation.

"I don't understand the relevance between your statement 'all data in the snapshot phase should have a rowkind of read' and the changes you made. Could you please clarify?"

@hailin0 @MonsterChenzhuo Please help review

I think it would be better for you to associate an issue and explain the problem.

@MonsterChenzhuo ,Sorry, the reason for this pr is that all data in the snapshot phase should have a rowkind of read

I don't understand the relevance between your statement 'all data in the snapshot phase should have a rowkind of read' and the changes you made.

@hailin0 @MonsterChenzhuo @Carl-Zhou-CN What's the status of this PR now?

LGTM


Add Custom Backend for APIs

Problem
Some API developers want to use connectors within the api manager to implement mediation logic as they do not want to use an additional MI deployment if their use cases are simple. Within the API Manager, currently, we do not have a construct that will allow us to facilitate this requirement.
Solution
Introduce a way to define a Custom Backend for an API which gets added to the api.xml file of the API.
Affected Component
APIM
Version
No response
Implementation
No response
Related Issues
No response
Suggested Labels
No response

Please find the below attachment related to the issue.
https://docs.google.com/document/d/1DxjI4f-XIwvr414PkT0Mo7C4vuJT_BCGzCidEKwSdF0/edit

[Update 1]
As per the initial discussion, following was the proposed solution.

Introduce a new tab under Endpoints called Custom Sequence to upload a sequence.
Implement a new REST API to update the API with Custom Sequence provided. Following is the REST API format.

      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                sequence:
                  type: string
                  description: The sequence that needs to be uploaded.
                  format: binary
                type:
                  type: string
                  description: Type of the Endpoint
                apiData:
                  type: string
                  description: API Data to be updated

Update velocity template of the API to override the existing configurations with Custom Backend provided.
This will update the api.xml provided with the custom backend without storing the provided sequence in sequences directory of the APIM pack. This might affect the reeadabiility of the api.xml.
On update, the endpointConfiguration object will look as follows.

	endpointConfig:
		endpoint_type: custom_sequence
		sequence: FILE_NAME

[Update 2]
As per the second suggestion, changed the velocity template logic to refer the sequence file provided. Following is the approached followed.

Upload the file via the REST API and store under sequences directory which is used to load all sequences by synapse.
Velocity template refers to the Sequence key generated by the code which looks as below.

                #if( $endpoint_config.get("endpoint_type") == 'custom_sequence' )
                    #set( $sequenceKey = $endpoint_config.get("sequence_key") )
                    <sequence key="$sequenceKey"/>

This approach does not contain any tables to store uploaded custom backends. Only the API Artifact contains all necessary configurations of the endpoint.

[Update 3]
Changed the REST API to support add, delete, get operations of the custom sequence as the UI requirement. Followings are the changes introduced.

Changed the REST API to only support Custom Backend upload. Following is the REST API format.

      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                sequence:
                  type: string
                  description: The sequence that needs to be uploaded.
                  format: binary
                type:
                  type: string
                  description: Type of the Endpoint

Introduced a new table AM_API_CUSTOM_BACKEND to store sequence related data. Following is the proposed schema for the table.

CREATE TABLE IF NOT EXISTS AM_API_CUSTOM_BACKEND (
  ID INTEGER NOT NULL AUTO_INCREMENT,
  API_UUID VARCHAR(256) NOT NULL,
  REVISION_UUID VARCHAR(256) DEFAULT NULL,
  SEQUENCE MEDIUMBLOB,
  NAME VARCHAR(256) NOT NULL,
  TYPE VARCHAR(120) NOT NULL,
  PRIMARY KEY (ID),
  FOREIGN KEY (API_UUID) REFERENCES AM_API(API_UUID) ON DELETE CASCADE
)ENGINE INNODB;

New REST API supports the following operations related to the Custom Backend.

get
delete
update

When retrieving the API Artifact, we need to retrieve the corresponding sequence from the AM_API_CUSTOM_BACKEND table using API_UUID and REVISION_ID.

[Update 4]

Changed the schema of the new table as follows.

CREATE TABLE IF NOT EXISTS AM_API_CUSTOM_BACKEND (
  ID VARCHAR(60) NOT NULL,
  API_UUID VARCHAR(256) NOT NULL,
  REVISION_UUID VARCHAR(256) DEFAULT NULL,
  SEQUENCE MEDIUMBLOB,
  NAME VARCHAR(256) NOT NULL,
  TYPE VARCHAR(120) NOT NULL,
  PRIMARY KEY (ID),
  FOREIGN KEY (API_UUID) REFERENCES AM_API(API_UUID) ON DELETE CASCADE
)ENGINE INNODB;

Name of the Custom Backend should be in the following format.
<API_UUID>-

Issue with the current table schema.

Cannot define a PRIMARY KEY as same policy ID will be replicated in the table on a revision deployment.
Cannot define a composite primary key as REVISION_UUID can be a null

Solutions for the schema issue.

Make REVISION_UUID not null and make REVISION_UUID = "1" for the undeployed version of the API.
Introduce two tables. One to store sequence data (this will make a Custom Backend globally available) another one to map Custom Backend to API & Revision.

[Update 5]

Changed the endpointConfig object structure to the following as Custom Backends can be added to both Production and Sandbox endpoints.

endpointConfig: {
   "endpoint_type": "custom_backend",
   "production": {
         "sequence_id": xxxxx,
         "sequence_name": xxxxxx,
         "type": "PRODUCTION",
   }
}

2 Implemented get, delete REST APIs which fetches and deletes the Custom Backends from the API_UUID, BACKEND_UUID, TYPE and REVISION_UUID.

Made default value as "0" for the REVISION_UUID. Also, new composite primary key is (REVISION_UUID, API_UUID, TYPE and ID)

[Update 6]:

Tested Custom Backend upload, Get operations
Working on revision deployment. Fixing minor database issues.

Draft PR - https://github.com/wso2/carbon-apimgt/pull/12524
Updated REST API - https://github.com/wso2/carbon-apimgt/pull/12524/files#diff-d8623bfc39bc03ceb819b7dff3e7cb16254f9eb97238c795f40d3b025a4a3747R491

[Update 7]:

Tested the following flows against the new feature and working without an issue

API creation
API deletion
Revision Deployment
Revision Restore
Revision Deletion
Changing Endpoint Configurations
API Invocation

New REST API changes can be found via the following links

Get/Delete Custom Backend - https://github.com/wso2/carbon-apimgt/pull/12524/files#diff-89feae6b689e02c76adf6173367816cdf6c45336cc80e94c02ecf2b5353be0f7R556
Update Custom Backend - https://github.com/wso2/carbon-apimgt/pull/12524/files#diff-89feae6b689e02c76adf6173367816cdf6c45336cc80e94c02ecf2b5353be0f7R663
Get Custom Backend Content - https://github.com/wso2/carbon-apimgt/pull/12524/files#diff-89feae6b689e02c76adf6173367816cdf6c45336cc80e94c02ecf2b5353be0f7R490

All scenarios to be tested

API Creation
Changing API Endpoint
Add Custom Backend, Delete Custom Backend, Change Endpoint Config, Download Sequence
API Revision Deployment, Undeploy revision, Delete revision, Restore revision
API Delete
API Invocation
APICTL Import, Export, Update

Tasks Completed -

REST API support to define custom mediation logic by selecting endpoint type as "Sequence Backend".
Upload, Delete, Download sequence backend
Revision deployment, Revision deletion, Revision restore and API invocation with sequence backend
APICTL import/export operations for REST APIs with sequence backend

Future Work -

Improve validations in both UI and backend
Add support for API Product with sequence backend
Check analytics related operations


overrideCabal does not modify the .env attribute

Describe the bug
If I use overrideCabal to, for example, add some build time dependency to a package, this change isn't reflected in the .env attribute of that package.
To Reproduce
In a directory with a .cabal file and default.nix containing
with pkgs;

haskellPackages.developPackage {
  root = ./.;
  modifier = drv: haskell.lib.addBuildTools drv [ hello ];
}

run nix-shell and observe that hello isn't in PATH
Expected behavior
In this case I would expect hello to be in PATH.
For anyone else bumping into this, for the case of adding build dependencies one can do something like this:
haskellPackages.developPackage {
  root = ./.;
  modifier = let
    withTools = drv:
      drv.overrideAttrs (attrs: {
        buildInputs = with pkgs;
          attrs.buildInputs ++ [ hello ];
      });
  in drv: withTools drv // { env = withTools drv.env; };
}

Notify maintainers
@peti

Oops! I should have been using addBuildTools!


Multiprocessing feature is not supported on MacOS

Bug/Feature Request Description
Too bad that Multiprocessing feature is not supported on MacOS
File "/Users/don/anaconda/lib/python3.6/site-packages/featuretools/synthesis/dfs.py", line 213, in dfs
verbose=verbose)
File "/Users/don/anaconda/lib/python3.6/site-packages/featuretools/computational_backends/calculate_feature_matrix.py", line 238, in calculate_feature_matrix
dask_kwargs=dask_kwargs or {})
File "/Users/don/anaconda/lib/python3.6/site-packages/featuretools/computational_backends/calculate_feature_matrix.py", line 708, in parallel_calculate_chunks
workers = n_jobs_to_workers(n_jobs)
File "/Users/don/anaconda/lib/python3.6/site-packages/featuretools/computational_backends/calculate_feature_matrix.py", line 790, in n_jobs_to_workers
cpus = len(os.sched_getaffinity(0))
AttributeError: module 'os' has no attribute 'sched_getaffinity'

Issues created here on Github are for bugs or feature requests. For usage questions and questions about errors, please ask on Stack Overflow with the featuretools tag. Check the documentation for further guidance on where to ask your question.

Hi @doncat99,
Thanks for the bug report!  I've opened a pull request for this issue.  Once it gets merged in you could use the Featuretools master branch until the next official release.  In the meantime, a workaround for this issue would be to use the dask_kwargs option instead of n_jobs.  Creating a dask.distributed LocalCluster object and passing it in via dask_kwargs['cluster'] should avoid this error.  There's a basic example of how to do this in the featuretools docs.

@doncat99 just merged #176, so the fix is now in master. closing this for now.


Remove dst-port-ipv4 for BGP GUE v6 policy & update generated OC.

V6 policy does not include v6-mapped v4 routes (covered by V4 policy), so payload can never be v4, thus removing the v4 port config leaf.
Verified all tests continue to pass.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 64.071%

Files with Coverage Reduction
New Missed Lines
%

dataplane/forwarding/fwdport/ports/group.go
1
67.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3406

Relevant Lines:
5316

💛  - Coveralls


Bugs & Features

fixes #512
fixes #511
fixes #521
(old pr: #513)

@Faf4a is this complete?

@Faf4a is this complete?

should be

nothing major, should be ready now


AspectRatio overrides fixed Width + Height

Issues and Steps to Reproduce
If you have a node with AspectRatio set and additionally has both Width/Height, it uses the AspectRatio which could lead to confusion. I think that Width/Height should have a higher priority.
Same should be true for max- constraints, haven't tested this though, yet.
Expected Behavior
It should use the provided Width/Height.
Actual Behavior
It layouts with the AspectRatio constraints.

When implementing aspect ratio we made the decision that it should always be respected. The same way you say it is odd that a width / height isn't respected it is the same for aspect ratio.


docs: Typo

Thanks for spotting this !

:tada: This PR is included in version 0.40.0 :tada:
The release is available on:

v0.40.0
GitHub release

Your semantic-release bot :package::rocket:


dspace:checksum seems to be not explained anywhere int the spec

dspace:checksum is used in the example here:
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/negotiation/message/contract-negotiation.json
but not in the http binding here:
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/negotiation/contract.negotiation.binding.https.md#241-get
and it seems it is not described anywhere in the document. At least I couldn't find it with git grep.

Matthias Binzer

This should be removed. We had the idea of sending checksums for ensuring synchronization between consumer and provider but it is not really needed.


Selection lock

I need to be able to click around in my UI without losing the component I'm currently looking at. A switch to disable the overlay while keeping the inspector active?

I like the concept of a lock. Maybe as an icon available on hover in the tree view? Is it good enough if “click to select” behavior is disabled and overlay remains? (selected component border could turn red to help indicate)
Intersects a bit with #74 and #49

#103 contains a basic implementation for this. It disables selection and hover outline.
An followup improvement could be "if nothing was selected, the next selected item gets locked".


Investigate mapping ordering

PR for issue #107. The issue was found in latest and on v2.11 (probably in previous versions, too.)

Hi,
Would it be possible to rebase your PR against master ? I'll include the fix in 3.0. If not possible, I'll do it myself (it's just that it is some extra-work to rebase your commits into another branch).
There won't be any 2.x bugfix version.
Thanks!

I will take a look later today. Thank you

Rebase complete.


Support AWS Bedrock Embedding Provider

What this PR does:
Add support for AWS Bedrock Embedding Provider
Which issue(s) this PR fixes:
Fixes Jira C2-3320
Checklist

[x] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Remember to update the yaml in the chart repo


Getting NameError: uninitialized  constant RSpec::Core::Formatters::ConsoleCodes after upgrade to 1.0.0

Getting NameError: uninitialized  constant RSpec::Core::Formatters::ConsoleCodes after upgrade to 1.0.0. Downgrading back to 0.5.0 resolves the issue.
/ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:199:in `fully_formatted': uninitialized constant RSpec::Core::Formatters::ConsoleCodes (NameError)
    from /ruby/gems/2.3.0/gems/rspec-instafail-1.0.0/lib/rspec/instafail/rspec_3.rb:14:in `example_failed'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:189:in `block in notify'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:188:in `each'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:188:in `notify'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:140:in `example_failed'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example.rb:452:in `finish'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example.rb:410:in `fail_with_exception'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example_group.rb:550:in `block in run'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example_group.rb:591:in `each'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example_group.rb:591:in `for_filtered_examp
    les'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example_group.rb:550:in `rescue in run'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/example_group.rb:556:in `run'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:119:in `block (3 levels) in run_s
    pecs'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:119:in `map'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:119:in `block (2 levels) in run_s
    pecs'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1680:in `with_suite_hooks'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:118:in `block in run_specs'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:77:in `report'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:117:in `run_specs'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:93:in `run'
    from /ruby/gems/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run'
    from /ruby/gems/2.3.0/gems/zeus-0.15.4/lib/zeus/rails.rb:216:in `test'
    from /ruby/gems/2.3.0/gems/zeus-0.15.4/lib/zeus.rb:148:in `block in command'
    from /ruby/gems/2.3.0/gems/zeus-0.15.4/lib/zeus.rb:135:in `fork'
    from /ruby/gems/2.3.0/gems/zeus-0.15.4/lib/zeus.rb:135:in `command'
    from /ruby/gems/2.3.0/gems/zeus-0.15.4/lib/zeus.rb:50:in `go'
    from -e:1:in `<main>'

try adding --progress to your .rspec and see if that fixes it :(

Hmm, nope, getting invalid option: --progress (defined in ./.rspec) when set.
I am at RSpec 3.4.4.
my .rspec file look like this:
--color
--format RSpec::Instafail
--progress

Oh. You probably mean this --format progress
With progress formatter in .rspec all operates normally.
--color
--format progress

I've also tried running just rspec outside the zeus preloader and it fails as well.

so with format progress zeus and non-zeus work, right ?
does adding a require for the missing module solve it too ?
On Thu, May 26, 2016 at 7:16 AM, Vojtěch Kusý<EMAIL_ADDRESS>wrote:

Oh. You probably mean this --format progress
With progress formatter in .rspec all operates normally.
--color
--format progress
I've also tried running just rspec outside the zeus preloader and it
fails as well.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/grosser/rspec-instafail/issues/27#issuecomment-221883611

Cannot reproduce this anymore but have another issue

thanks a lot for giving solution.

I just hit this error (same message, same place) today.


Support cluster-local-gateway in higher istio versions

/kind feature
Describe the solution you'd like
I would like KFServing to support the use of the cluster-local-gateway at higher Istio & Knative versions.
Currently, the official support for Istio ends at 1.3.1. When I test higher versions of Istio and Knative (i.e. istio 1.6.13 & knative 0.18) the ingress gateway option seems to work. However, the moment I change the knative config-domain to svc.cluster.local, KFServing breaks and Inferences never become ready.

@larssuanet this has been fixed inn https://github.com/kubeflow/kfserving/pull/1224

@yuzisun thanks! Looking forward to the release


⚠ GitLab Server has degraded performance

In acd4bef, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6599 ms

Resolved: GitLab Server performance has improved in 1f8fd70.

Resolved: GitLab Server performance has improved in 1f8fd70.


feat: add proxied wallets

receive proxied accounts from proxy service and create wallet with proxied account
some refactoring for proxy service and model

Task linked: CU-86934j0xd Proxy service: Handle proxy creation: Create proxied wallet


fix sqlite-vss loadable path resolution

I messed up the path resolution for the sqlite vss dlls. I think it's because the way I linked the package during development was by doing npm install ../../extensions/sqlite-vss/dist. So the resolution path is different when installed normally through npm. I tested this in a project and I'm fairly sure it's correct now.
__dirname will be .../node_modules/@modelfusion/sqlite-vss
navigate up two directories to get to .../node_modules
then packageName/lib/${name}.${extensionSuffix(platform)} to find the correct library

No problem. I'm wondering if this will work with different package mgrs (in particular pnpm). One way to test this before publishing a dist is through npm link.

@bjsi I've published v0.1.1 🤞🏻


Issue #185 : replacing deprecated delete() calls with del()

Fixing Issue #185
Since redis extension 5.0.0, Deprecation errors are thrown on every Redis::delete() call.
Replacing the delete() calls with del() calls fixes these messages.

@ppaulis Please see PR I've created to your branch: http://github.com/ppaulis/zend-cache/pull/1
All tests there pass! :)

@ppaulis , @webimpress please prepare and push these changes to release

@webimpress i dont really think this is an enhancement but a bug which is blocking a lot nowadays?

Not a bug: needs to indeed land in a new minor, since we are adding compatibility with a new tool, not fixing a bug here.

As @boesing checked del() is available since 2.1.0 release. Ref:

https://github.com/phpredis/phpredis/tree/2.0.12#delete
https://github.com/phpredis/phpredis/blob/2.1.0/README.markdown#del-delete

Thanks, @ppaulis!


Improve dual-stack unit testing -- listeners

Please provide a description of this PR:
Attempting to target packages that use features.EnableDualStack to branch execution.
This PR includes some updates to the validation logic in xdstest.  There are a couple assumptions made there that should be reviewed in greater detail.

Hi @adams-shaun. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@adams-shaun: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/ok-to-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@adams-shaun: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
d3e545e842cf5c90a6ad3aaf3d0af5582f3293a5
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@adams-shaun: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
d3e545e842cf5c90a6ad3aaf3d0af5582f3293a5
link
true
/test lint

gencheck_istio
d3e545e842cf5c90a6ad3aaf3d0af5582f3293a5
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Direct private messaging

Ability to send and receive private messages to one or more known addresses.

to be included with 0.3.0 release!


Support multiple cq parameters in search

Closely related to https://github.com/KorAP/Kustvakt/issues/46 , Kalamr needs to forward multiple cq parameters to the API. This is only relevant to search. The behaviour is:

multiple cq parameters are send to the search controller
all cq parameters are forwarded
the response vc will be created by the VC builder
only a single cq will subsequently be forwarded

An important issue may be, that this flow won't work in a non-javascript environment. In that case the handling may be more complex, because subsequently multiple cqs have to be forwarded all the time and need to be stored "somewhere" in the query form.

This also needs to be supported by the export mechanism - so it may be beneficial to whenever multiple cqs are witnessed, they are merged once and afterwards only a single cqis handled.


FetchVM.cmd and ps1 scripts fail to download VM

Describe the bug
Running FetchVM cmd and ps1 scripts fail to download VM. Version info inside scripts are incorrect (?). The ps1 script has v7.1.4, but it should be 7.1.14. The cmd script has v7.1.15.
To Reproduce
Steps to reproduce the behavior:

Go to clone or update Dolphin repo
Run either script.
Get an error message saying "Unable to fetch DolphinVM.zip v7.1.4" or "Unable to fetch DolphinVM.zip v7.1.15"

Additional context
I tried this after a new clone at 21:37 10/09/2020 Australian EST

Did you try to run from PowerShell:
.\FetchVM.ps1 v7.1.14

Yes, I got it working after I looked in the PowerShell script for the source of the error.

Isn't this supposed to get its own version due to "git describe --tags --abbrev=0" being run in the .cmd script just before FetchVM.ps1 is executed? That's what I understand to be the case.
i.e. on my system, running the above git command gives me an output of v7.1.13, which then gets fed to FetchVM.ps1 as an argument.

That is correct. There is nothing wrong with the script. The issue is that the release does not exist on github. The release build no longer fires correctly on tags, so the binaries for v7.1.15 were never published.
I'll take a quick look, but unless it is a easily addressed I will simplify things by removing the whole thing. It's easy to build the VM with VS2019, the community edition of which is free. This is also a development tool so it shouldn't be a big deal for its developer users to build it themselves, or to go to appveyor and download the binaries from there.

Fortunately it was easy to fix - an appveyor build can't be configured to trigger on tags, and be restricted to certain branches. If the branch restriction is in place it simply doesn't fire when tags are pushed.


Eliminate Force Unwrapping Optionals

There are a lot of force unwrapping optionals which is brittle.

@damianjsullivan
We are looking into the issue and will update you


User story: As an analyst I want to check how many contracting processes a given group of fields is present in

There was a request from @LindseyAM to check which of the indicators in the Using it, not losing it report could be calculated from the NSW Australia data.
Rather than crafting individual queries for each indicator (i.e. set of OCDS fields we're interested in) it would be good to have a generic way of checking what proportion of contracting processes a given group of fields is present in.
Whilst the mapping of indicators to OCDS fields requires some further work, this is a type of question we'll want to answer using ocdsdata.
My initial exploration yesterday ruled out:

Simply downloading all releases for the publisher from the data table and iterating through them in Python (far too slow for 80,000 records) since for some publishers that could be many gigabytes of data
Expanding all arrays in the OCDS schema to create a single mega table to run queries against (also too slow)

I suspect the answer might lie in creating intermediary tables, e.g. one for each array in OCDS, and using sub queries to get a list of ocids for which all the fields we're interested in are present, but I'd like to invite views from those with better SQL/postgres skills than me!
@kindly @yolile @Tim0th1 @timgdavies @jpmckinney

Noting that this will also depend on having compiled records to work with (#133)

Could you share the Python code? I suspect there may be an inefficiency in the code, as checking for the presence of a particular JSON path in 80,000 JSON files should not be too slow.

Ah, I checked back to the notebook and actually I didn't reach that stage, as the long running script was to create compiled releases from the 80,000 individual releases (in this cell)
However, I still think we probably don't want to do this in python due to the size of the data, e.g. for australia I only had to download c. ~500mb of data from the database, but for Ukraine the full data set of compiled releases is 46gb, so it would be preferable to search across them on the server.
I updated the original issue description to reflect that.

Aha, but running Python on the server is also an option.
46GB of data will be slow using any method and likely requires a different solution. Since the question is about Australia, we can focus on simpler methods that may not scale to 46GB.

OK great, thanks James.
I don't think we're ready to answer this type of question yet, since further work is needed to develop a a list of indicators mapped to OCDS fields (I added some more notes in the crm), so whilst I won't be pursuing a workable method for Australia right now, I think the broader user story still stands as it will be the type of question we will want to answer for any publisher once we have a good list of indicators to work from.
So to be clear, the need is about being able to check the presence of an arbitrary group of OCDS fields, so I think the challenge is how to check across all the different arrays in OCDS efficiently.


refactor: moved pypi environment modifiers

Does two things:

Moves the specific pypi_tags and marker_env to a seperate crate.
Moves the default system requirements into crate because I need to use it in both.

Not sure how you guys feel about the last one, but I kinda like it because it gives us an extremely narrow view of where to look should we want to change the defaults. Otherwise, project needs to be pulled out as well.

Maybe add a description to each crate?

Done!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84296

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89044

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110982


chrome-http?

I was looking for a Browserify lib for chrome apps that implements http and stumbled onto your project. Is that something you are planning or have you seen something comparable?

I know this issue is closed, but I thought y'all might still be interested: I've got a working [http-chrome] (https://github.com/rynomad/http-chrome) module up. It's a direct copy of the node core module, with some slight modifications made by the build script to replace 'net' with 'chrome-net' and remove some V8 calls. It works well enough that I was able to get the express powered federated wiki server running functionally with a little bit of hacking (mostly working around other modules that use eval, which chrome hates).
This would have been impossible if not for the work here in chrome-net, so I figured I'd send a ping :)

Nice work @rynomad! You can add a mention at the end of the readme if you want!


[Remote Config] Missing fetchAndActivate

Is there a reason why the method fetchAndActivate is missing?

Missing feature - will get it tracked

This is now available


Deprecate the provide_automatic_options attr on view functions

In favor of #2249, #1489, #1488, which adds the arg to add_url_rule. We couldn't figure out if there was a reason for doing it with an attribute originally. CC @mitsuhiko.

Ah, maybe it was for supporting View classes, like View.methods, although the View class doesn't set this in as_view right now.

Any pointers on how to get started on this? I am interested in giving it a try.


Attribute restrictions

Addresses #863
Type of change
Please delete options that are not relevant.

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

Add auto-completion


simplified API to get NDC from camera and world position

Objective

After #3412, Camera::world_to_screen got a little bit uglier to use by needing to provide both Windows and Assets<Image>, even though only one would be needed https://github.com/bevyengine/bevy/blob/b697e73c3d861c209152ccfb140ae00fbc6e9925/crates/bevy_render/src/camera/camera.rs#L117-L123
Some time, exact coordinates are not needed but normalized device coordinates is enough

Solution

Add a function to just get NDC

I wouldn't mind having a description of the NDC acronym somewhere in a doc comment

@mockersf here are some proposed changes to this PR: https://github.com/mockersf/bevy/pull/78
I was experimenting with using a trait to remove the need for passing both Image and Window resources into the world_to_screen() function.

I like aevyrie's changes quite a bit here. Do you agree @mockersf?

after playing with the changes from @aevyrie, I disagree with them as they make it possible to use invalid parameters by using a different camera for the target as the one used for the projection matrix

Relevant to some of the general sentiment expressed here: in my "high level render targets" changes i'm experimenting with syncing render target logical and physical width/height to Camera fields, which makes methods like "world_to_screen" much nicer to use (and cleans up internals in a number of places). That wouldn't block anything here, just something to start thinking about / developing opinions on.

Relevant to some of the general sentiment expressed here: in my "high level render targets" changes i'm experimenting with syncing render target logical and physical width/height to Camera fields, which makes methods like "world_to_screen" much nicer to use (and cleans up internals in a number of places).

The main complaint I have here is the need for Assets<Images> in these APIs. I understand why it exists (because we may be rendering to something other than a window), but it's a confusing and boilerplate-heavy API. It sounds like we'll be able to clean that up with your changes, which I would really like.

For my use case, having a world_to_ndc works better than having to go through the screen dimensions with world_to_screen. And as a bonus you don't need the render target size 🙂

bors r+


[DesignProposal]: Towhee CMD

Background and Motivation

better-organized towhee cmd;
complete workflow for:

execute pipeline from cmdline;
develop op/pipeline;
publish op/pipeline to hub;

Design
$ towhee execute <some pipeline>
$ towhee execute -i <some dataset> -o <new dataset> <some pipeline>
$ towhee install <path for some operator> # install the operator to venv
$ towhee develop <path for some operator> # link the operator to venv for development
$ towhee clone <operator name> # clone operator code from hub
$ towhee push <path for some operator> # publish an operator
$ towhee pull <path for some operator> # sync operator code with hub

$towhee train -i <some dataset> <some operator>
$towhee train -i <some dataset> <some operator>@<some pipeline>

Pros and Cons
No response
Anything else? (Additional Context)

towhee develop sounds strange, needs a better name;
detail user interface design;

I think the commands related to git(clone/push/pull) should be ignored and use git command directly. In addition, towhee login/logout can be developed to push the trained model.


Create tsbuild public API and use incremental build in tsbuild --watch mode

[ ] Use incremental build in tsbuild --watch mode
[ ] Actual host apis for build with and without watch mapping to corresponding program
[ ] Move caching login #28629 to creation of host for tsbuild (without watch mode instead and have another function that createCompilerHostWithCaching instead.)
[ ] From #29161 We do not cache source files yet and that's something to be looked at later.
Two things can be done:
To keep source files for program thats being updated in last few cycles
To release the source files if size exceeds or program is not used for few build cycles
CompilerHost and Likes api to be better once this is shaped up

Search Terms

Suggestion

Use Cases

Examples

Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[ ] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[ ] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[ ] This feature would agree with the rest of TypeScript's Design Goals.

[ ] create a new CompilerHost for each project so it knows the correct compilerOptions for that project (from discussion in https://github.com/Microsoft/TypeScript/pull/27560#discussion_r224996878)

Just curious, are the any updates here? Clicking through some of the links in the initial issue it looks like this might be close?

Is this issue resolved or planned to be resolved in certain release?

#31432 is up for this

Closed by #31432


Get fatuhoku pr's merged...

@fatuhoku  has three outstanding pr's from December.  The only thing outstanding is to squash, which hasn't happened in six months and is preventing the mainline from being as useful as it could be.  I think that there are a few options:

use the github squash on merge options.  I haven't used, but i think it'll just do the right thing here
i could do the squash and try to maintin @fatuhoku as the author, and then open up three new prs
close the prs to indicate that they are not going to get merged
merge them as is. i for one would think the value to the package would outweigh the downside of adding more commits to the history....

I am going to mege his pr's into my master and change my npm to pull my master.  if i then make any changes (like adding a mock response to the before save) they wont be able to be merged in to this repo
:(.

👍

Thanks for getting involved! We want to merge them in. The code has changed a fair amount since the pull requests were proposed so I'm not sure if they are able to be merged or even make sense anymore given the current code. I asked for them to be rebased ages ago so that we can get things rolling but nothing happened so i figured they were abandoned.
So lets do it.
Want to put up a new PR indicating whcih one of @fatuhokus it replaces? If you get them up to speed i'll merge them right away.

Yeah didn't mean to abandon them. Just didn't bother finding out what squashing commits was all about. I was working off my own branch the whole time anyway.  Sorry :P

Hi @TylerBrock  and @fatuhoku
So, my read of it is that #7 is obsoleted by both #12 and #10 so it can be closed.
#12 is ready, I squashed and opened #27
#10 appears to contain everything from #12 but also adds some kind of fix for a special case around _User.  I can squash it and open a pr, but it wont pass.  I'll try and get the time to look at what's going on, but @fatuhoku if you've already solved it, can you push a branch and i can try to integrate all you have?
would be great if we could get all our contributions into master so we can all use and continue to add on in such a way that we can all take advantage :)

ok, now #28 passes all tests, though see that i do have a question about it.
if #28 us right and what we want, then i think that supersedes #7, #12, #10 and #27?

I think so. I won't be able to take a look until tomorrow morning though.
On Mon, Jun 20, 2016 at 12:51 PM Arthur Cinader<EMAIL_ADDRESS>wrote:

ok, now #28 https://github.com/HustleInc/parse-mockdb/pull/28 passes
all tests, though see that i do have a question about it.
if #28 https://github.com/HustleInc/parse-mockdb/pull/28 us right and
what we want, then i think that supersedes #7
https://github.com/HustleInc/parse-mockdb/pull/7, #12
https://github.com/HustleInc/parse-mockdb/pull/12, #10
https://github.com/HustleInc/parse-mockdb/pull/10 and #27
https://github.com/HustleInc/parse-mockdb/pull/27?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HustleInc/parse-mockdb/issues/25#issuecomment-227249839,
or mute the thread
https://github.com/notifications/unsubscribe/AMIeHudN3NV5e2MYi8RZmO2hl4yFnsmUks5qNu8sgaJpZM4I3tpC
.

I think we've done it right?


Implement Kafka watermark aligned split enumerator and source reader

Implement Kafka watermark aligned split enumerator and source reader.

@Sxnan , thanks for your detailed review. I have sepreated into two commits. Please help to review again.


KAFKA-8595: Support deserialization of JSON decimals encoded in NUMERIC

see KIP-481 for more details
Review Guide:

Added DecimalFormat enum to represent different JSON decimal node types and corresponding config in JsonConverterConfig
Split LogicalTypeConverter to have two strongly typed methods (toJson and toConnect) so that we could group SerDe methods together (this caused some code to move around because I could combine TO_JSON_LOGICAL_CONVERTERS and TO_CONNECT_LOGICAL_CONVERTERS)
Implemented the SerDe in the line containing LOGICAL_CONVERTERS.put(Decimal.LOGICAL_NAME, new LogicalTypeConverter()
Added CaseInsensitiveValidString to the validators

Unit tests covering all of the formats are added.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

retest this please

Thanks for the review @C0urante! With regards to schema-less unit tests, were you thinking of anything beyond the test added for
    @Test public void decimalToJsonWithoutSchema()

@agavra 🤦♂ whoops, must have missed that test. Yep, seems fine

LGTM


NullifierBlockInputRecord should also return nullifier value

Here. This will allow the block builder to validate that indeed the nullifiers in the block being built haven't been produced yet.
Context: comment

Superseded by #140.


Black adds parens to long right tuples, it should add them to the left as well

Referring to #330, I know you said you weren't going to fix this, but @sjohannes found a good solution that is very Blackish and IMHO worth considering.
Minimized Real Source :tm: :
from gi.repository import GtkTemplate

class Something:

    found_label,    \
    playlists,      \
    replace,        \
    replace_entry,  \
    search_entry,   \
    tracks_list = GtkTemplate.Child.widgets(6)

Which currently reformats to a really long ugly line:

from gi.repository import GtkTemplate

class Something:

    found_label, playlists, replace, replace_entry, search_entry, tracks_list = GtkTemplate.Child.widgets(
        6
    )

It turns out that if you add parentheses to the left tuple, it is (a) still equivalent and (b) black does the Right Thing.  Here's what that looks like:
from gi.repository import GtkTemplate

class Something:

    (found_label,    \
    playlists,      \
    replace,        \
    replace_entry,  \
    search_entry,   \
    tracks_list) = GtkTemplate.Child.widgets(6)

And black does this:
from gi.repository import GtkTemplate

class Something:

    (
        found_label,
        playlists,
        replace,
        replace_entry,
        search_entry,
        tracks_list,
    ) = GtkTemplate.Child.widgets(6)

Which is a very Black style.
My request in this issue would be for black to add parentheses to the left tuple if it gets too long and format it as it currently does.
It can be shown that Black already does this for long tuples on the right side. It seems that for consistency it should apply the same style to tuples on the left as well.

If you put the parentheses yourself, Black will keep them. That is a possible workaround for you. We won't be doing this by default since, as I said in the previous issue, your code will look more obvious if you do a mild refactor in that place.
I avoid splitting left-hand side of assignments since this is not how people write and read those things. When you first write code, you start on one line and keep going until you hit the column limit. When people read, this is what they instinctively do, too. A split that is too early looks foreign.


fix link to geo-partitioning

Noticed this link wasn't rendering properly

Single missing [ to fix it up. 😄

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/dc677e511f334c4a73e950e4133846bfba96fbf1/
Edited pages:

v19.2/secure-a-cluster.md


'static' keyword could be used for properties too

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

This page mentions that:
The static keyword defines a static method for a class.
It misses out mentioning that the static keyword is applicable to properties as well, throughout the page.
Similar explanation here provides a sense that static keyword could be used for methods only.
In addition to having static methods in classes, the following example indicates that static properties are valid too:
class Square {
  constructor(side) {
    this.side = side;
}
static name = "CustomSquare";
static foo = "bar";
}

let sq = new Square(10);
sq.name; // returns undefined
sq.someProperty; // returns undefined
Square.name; //  returns "CustomSquare"
Square.foo // returns "bar"

The above mentioned page needs to update its examples to include static properties too.
I could add them :)
-kJ

@krankj looks like you are right; I'd be happy for you to add some content to cover this. Let me know if you need any help at all, or a review. I do wonder whether it was written like this because static methods and properties were supported in browsers at different times?

Ah, ok!
I will update the interactive example here to include the static property.
But what about updating the content? I guess you mentioned that they all lie in a MySQL Database.
The following pages I have come across need to be updated:

Classes - Static Methods - Requires content and example code to be updated.
Classes - Static keyword - Requires content, live example and example code to be updated.

@chrisdavidmills I have edited the wiki for:
Classes - Static Methods and Classes - Static keyword
PR for code example.
A quick review would help.
-kJ

Classes - Static Methods and Classes - Static keyword

I reviewed those changes and they look great

PR for code example.

That looks great too, except that the code style requires the use of single quotes for string values; double quotes will trigger an error for the project code-style linter; see https://travis-ci.org/github/mdn/interactive-examples/builds/734582177#L229

@sideshowbarker Thanks for the review.

I've had a look at your changes too @krankj , and they are really great. Thanks so much for your hard work on this!
And thanks to @sideshowbarker too for helping with the review.

@chrisdavidmills You are most welcome 👍🏼


[Typo/Mistranslation] 03-configure-data-model-in-power-bi-desktop

On Practice 2, Task 5, step 1 through 4, columns and table names need to stay in English to prevent confusion.
Current:
제품
지역
재판매인
판매
판매
판매
판매
판매
영업 직원
영업 직원
영업 직원
목표
제품
표준 비용
판매
비용
판매
판매
To be:
Product
Region
Reseller
Sales
Sales
Sales
Sales
Sales
Salesperson
Salesperson
Salesperson
Targets
Product
Standard Cost
Sales
Cost
Sales
Sales

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Locfile at PHO at the moment. Need it to be at Handedback so I can make any updates

Discussed with the PM - update made to the older HB locfiles and this will seed the TM when handedback


bump: minor visual fixups

bolder markdown headers (undocumented)

(before)

(after)

better copilot autocomplete coloring

set properties (+ ensure defined Zed syntax defaults are Catppuccin colors)

fixes #9

@sgoudham curious if you think the default Zed syntax tree-sitter colors are OK to be set to default Catpuucin colors instead (as opposed to waiting for the style-guide completion)


[GroupDialog] dialog to select a group in a HDF5 tree

Todo list :

[x] implement dialog
[x] use it in SaveAction (save as NXdata to an existing group)
[x] screenshot of widget to gallery

[ ] Add a line edit to specify the name (path relative to the currently selected group) of a new group to be created. Use case: specify the name of the NXdata group to be created in an existing entry.

Here is few comments:

The example is not fixed with the last API
You should use the same API as the already existing dialogs (for exaple: selectedDataUrl for the object, or selectedUrl for the string)

I would prefer a common API with other dialogs, but LGTM.


Lemming node impl uses operator

Note: not checking in a manifest because the images aren't released yet. No one is using lemming yet, so this shouldn't break anyone

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

73 of 89 (82.02%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 60.713%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/deploy/deploy.go
0
7
0.0%

topo/node/lemming/lemming.go
60
69
86.96%

Totals

Change from base Build<PHONE_NUMBER>:
0.4%

Covered Lines:
2553

Relevant Lines:
4205

💛  - Coveralls

/gcbrun

/gcbrun

done

/gcbrun


[BUG]:

What version of drizzle-orm are you using?
0.32.0
What version of drizzle-kit are you using?
0.23.0
Describe the Bug
in our drizzle-kit generated schema, we have two tables, userProducts and Products, related like so (these are simplified):
export const userProducts = pgTable("user_products", {
	id: integer("id" as string).primaryKey().generatedByDefaultAsIdentity({ name: "user_products_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue:<PHONE_NUMBER>, cache: 1 }),
	productId: integer("product_id" as string).notNull().references(() => products.id, { onDelete: "restrict", onUpdate: "restrict" } ),
})
export const products = pgTable("products", {
	id: bigint("id" as string, { mode: "number" }).primaryKey().generatedByDefaultAsIdentity({ name: "products_id_seq", startWith: 1, increment: 1, minValue: 1, maxValue:<PHONE_NUMBER>854775807, cache: 1 }),
	})

now if we add new tables with the same name user_products and products but in another schema:
export const userProductsInVendor = vendor.table("user_products", {
	userId: integer("user_id" as string),
	id: bigint("id" as string, { mode: "number" }),
	name: varchar("name" as string, { length: 140 }),
});
export const productsInVendor = vendor.table("products", {
	id: bigint("id" as string, { mode: "number" }),
	name: varchar("name" as string, { length: 140 }),
});

then, when we try to use the query api for querying userProducts with Products, the product type will be of the productsInVendor type:
const res =  await client.query.userProducts.findMany({with: {product: true} })
then
res.map(
(up) => up.product //<= will be of the wrong type productsInVendor
)

schema and relations both reference the correct tables, yet the query API doesnt show the correct type.
Note that this will fetch the correct records, its just a type issue.
Expected behavior
I expect the query API return type to have the correct type according to the schema
Environment & setup
No response

Closing in favor of #2387.


Generate with licence

Currently when generating a project, the console will throw a warning message that no licence is included in the package.json.
warning package.json: No license field
warning No license field

This task aims to resolve that by setting a default licence to that of MIT.

@gitrahulgit sounds good, have assigned you the task

Hey @gitrahulgit 👋  Do you still work on this issue?

@haruelrovix if you dont get a response soon, feel free to take this as hacktoberfest is almost up.


Support appending foreign buffers to pipe

Foreign buffers are buffers not allocated with the Pipe MemoryPool.
Use-cases for foreign buffers:

custom buffers more appropriate for type of data to be sent
send same buffer to multiple Pipes without copying the data in each Pipe

Comments:

it needs to be possible to track the usage of the foreign buffer in order to know when it can be re-used
some Transports may not be capable of sending foreign buffers (e.g. RIO) in which cases the buffer needs to be copied into the Pipe MemoryPool by the Transport

Should this issue move to corefx repo?

Should this issue move to corefx repo?

Yes, please.

@tmds Closing this one. Please do the needful :)


** does not list all matches

Category

[x] Completion

OS

[x] Mac OS X

Shell

[x] bash

Given the following hierarchy
├── foo
│   ├── baz
│   └── qux
└── foobar

cat foo**<TAB> only shows foo, foo/baz and foo/qux. I would expect foobar to be included as well.
If I instead do cat fo**<TAB>, all four matches are listed.
I guess the problem has something to do with foo being identified as the target directory in the first case, hence foobar being excluded?

I guess the problem has something to do with foo being identified as the target directory in the first case, hence foobar being excluded?

Correct.


[REQUEST] Autocompletion support in prompt, as seen in prompt_toolkit

How would you improve Rich?
Your library is already awesome and I am terribly sorry to appear to you as an insatiable guy, but there is a very nice feature in the library prompt_toolkit ( https://github.com/prompt-toolkit/python-prompt-toolkit ) that I think would be fantastic to have in rich as well.
And that is Autocompletion.
prompt_toolkit does it through the use of a class named WordCompleter (see for reference: https://python-prompt-toolkit.readthedocs.io/en/master/pages/asking_for_input.html#autocompletion )
IMHO it would be great if a user could write something like this:
from rich.prompt import Prompt

names = ["Paul", "Jessica", "Duncan"]
name = Prompt.ask("Enter your name", default="Paul", completer=names)
print("You said: %s" % name)

And have rich showing a pop-up dialog where you can choose one of the allowed names, as shown in this mock-up image:

If you think it could be an interesting feature, please consider this request for a future update.
Thank you :-)

I have thought about adding autocomplete prompts, menus, and other interactive things. It may happen, either in Rich, or another library which uses Rich for rendering. No promises on the time scale though.
In the meantime, a lot of people use prompt_toolkit in combination with Rich.


0.17.0

Updating for compatibility with https://github.com/hyperapp/hyperapp/pull/484.

Closing in favor of #13.


Use Unit instead of Any in use cases

It's ok, see com.google.samples.apps.iosched.

Done https://github.com/CherryPerry/Amiami-android-app/commit/c769e99d494e8cae640df2f2446a9c770dcd99d9


Add flush for UDP and Raw

Resolves #2193
Waiting on upstream smoltcp PR merge

bender run

done in #3437 (had to open another PR because you didn't check "allow maintainers to push" when creating the PR, it's nice to check that in future PRs). Thanks!


python310Packages.losant-rest: 1.17.0 -> 1.17.1

Diff: https://github.com/Losant/losant-rest-python/compare/v1.17.0...v1.17.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.losant-rest
python311Packages.losant-rest


test-macincloud-macos1014-x64-3 offline as too low on disk space <10Gb

https://ci.adoptopenjdk.net/computer/test-macincloud-macos1014-x64-3/

Looks ok now - we can reopen if it drops


Allow for modification of metadata.yaml and templates over API

As I mentioned in #/2821, we should allow for modification of metadata.yaml and templates through the API at the container level. This will allow users to view/edit/add templates and other metadata to a container prior to copying it or publishing it as an image.
The way I see this being done is through:

/1.0/containers/NAME/metadata (GET, PATCH, PUT)
/1.0/containers/NAME/metadata/templates (GET, POST)
/1.0/containers/NAME/metadata/templates/FILENAME (DELETE, GET, PATCH, POST, PUT)

At the CLI level, I'd just add:

lxc config metadata show CONTAINER
lxc config metadata edit CONTAINER

Reading your last comment on #2821, it became clear to me that I had misunderstood the nature of the tarballs and /var/lib/lxd/images.
Moving on from this gained understanding, I would like to clarify the second method I proposed for editing an image, because I think it would be a valid alternative approach and might just be easier to implement.

lxc image export IMAGE --unpacked TARGET
lxc image import FOLDER --unpacked

Basically, the first command would do nothing else than the normal export followed by untarring the tarball(s).
The second command would then start by running some sanity checks, and then tar up the folder and import it.
Both of these would mainly be convenience functions, since you could easily do each of the parts manually, but I feel that wrapping all of this up into an officially approved workflow would be a gain for the project. Especially the option to include some sanity checks before actually building the image feels like it could help out anyone who's doing non-trivial work on images.

Yeah, I'd be fine with a branch that would add support for the client to unpack and pack an image to/from a directory.

@stgraber can we close this in favor of #2883?

@albertodonato nope, it's different.
This issue is about letting you set the various fields of metadata.yaml and file templates on a running container prior to you running "lxc publish" to have it turned into an image.


Question

Hello. Is there a way to apply a mask to the image we receive from the camera?
I have a 0-1 matrix mask and need to fill all pixels of the input image corresponing with 0s only.
How can I do it considering the fact that the performance must not be affected severely.

If the question is how to use the image analysis api, see the docs
https://github.com/Android-for-Python/camera4kivy#image-analysis
and this example manipulates the preview image
https://github.com/Android-for-Python/c4k_opencv_example/blob/main/edgedetect.py
If the question is how to manipulate RGBA bitmaps in Python.
Pillow and opencv are options that I know of.
Easy to try and measure the execution times of whatever is used.

Thank you very much for the answer. The second example does exactly what I needed.

Hello again. I have noticed that the rate at which canvas_instructions_callback is called is quite low (about 8 times ps) on my laptop even with no extra instructions at all (just preview). Is there a way to increase it somehow? And if not is there any alternative way to use the kivy.uix.Camera widget but with image scaling and adaptation to various screen sizes?

The canvas update is triggered by Kivy's event loop, nothing special there.
I wrote his because I am not a fan of Kivy Camera.

Thank you very much for your efforts)
I have tested the same code on my android device and it gave me full 30fps. Apparently, the problem of low performance on my laptop might be caused by your PreviewKivyCamera class or opencv itself

That is good news. For my future reference, can you please tell me what camera provider was used on the laptop?
Testing here showed one issue, but it is not yours  https://github.com/Android-for-Python/Camera4Kivy#behavior-raspberry-pi-video-frame-rate-is-lower-than-other-platforms

I use Windows 10 and opencv as the provider

Thanks.


Chrome 49 - more than 256 simultaneous actions cause DOMException

Here's a simple test case: https://plnkr.co/edit/hKWtpq?p=preview
If you open this page on chrome 48 (stable), this works fine.
If you open this page on chrome 49 (beta), it fails. It looks like hitting the indexedDB with more than 256  simultaneous writes or reads causes some kind of overflow.
I don't know if this is something that needs to be fixed in localforage or chrome, but I'll report it on the chrome side as well.

Thanks for the report! Strikes me as a chrome bug on first look, as it doesn't happen anywhere else. So I'd guess it's a regression for them, but keep me posted, especially if we need to build a workaround.

Yah, I was thinking about building something to debounce all my calls to localforage, to make sure I don't send more than 255 in at a time. This particular bug only happens in limited circumstances (when I need a list of all the users to filter by name in my system), and unfortunately the way I have architected my system, there's no single choke point - each data model object is independent and only knows about itself when it's time to pull data out of the localforage cache.
So funneling things through and making some kind of work queue is feasible, but just kind of annoying if it's a chrome thing only. Hopefully they fix it.

Chromium issue - seems they did it on purpose.
https://code.google.com/p/chromium/issues/detail?id=584768

Interesting. I guess their limit might just be a bit too aggressive then.
I've voted on the issue and subscribed to it. Thanks for filing the report. 👍

tofumatt

On 5 Feb 2016, at 21:16, Eric Eslinger<EMAIL_ADDRESS>wrote:
Chromium issue - seems they did it on purpose.
https://code.google.com/p/chromium/issues/detail?id=584768
—
Reply to this email directly or view it on GitHub.

Yay! They've removed the throttle so next Canary should be fixed.


[bot] Execute example notebooks

This PR was automatically generated to re-execute
the example notebooks for use in the documentation.

Hmm, @AA-Turner it seems like we need to use a personal access token to be able to generate these PRs.
I have added mine for now, we can keep with that but I would prefer if we can use github actions to create the PR instead.


[ci skip] adding user @xiki-tempula

Hi! This is the friendly automated conda-forge-webservice.
I've added user @xiki-tempula as instructed in #19.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.

@xiki-tempula can you please confirm via comment that you are willing to act as a maintainer/code owner for the alchemlyb feedstock?

I'm willing to be a maintainer.


The file cache seems to be undeleteable

When I finish uploading a file, I call deleteFile(file.id) on the uploaded File, and then delete it in the file system.
The problem is that when someone sends me the file again, it always points to the deleted LocalFile (isDownloadingCompleted = true).
(After restart it is back to normal)

[ 3][t 4][1609951272.981488943][Td.cpp:3440][#1][!Td][&td_requests]	Receive request 16187: GetFile {
  fileId = 13
}
[ 3][t 4][1609951272.981503009][FileManager.cpp:2960][#1][!Td][&update_file]	Send file 13(0) as 13(0) and update send_updates_flag_ for file 13(0)
[ 3][t 4][1609951272.981509208][Td.cpp:4601][#1][!Td][&td_requests]	Sending result for request 16187: File {
  id = 13
  size = 17340
  expectedSize = 17340
  local = LocalFile {
    path = "<local_path>"
    canBeDownloaded = true
    canBeDeleted = false
    isDownloadingActive = false
    isDownloadingCompleted = true
    downloadOffset = 0
    downloadedPrefixSize = 17340
    downloadedSize = 17340
  }
  remote = RemoteFile {
    id = "BQACAgQAAxkBAAI-9V_16CepbQf5PmkwxWnQkw6wNUatAALuCQAC-DywU8OClTPvxBehHgQ"
    uniqueId = "AgAD7gkAAvg8sFM"
    isUploadingActive = false
    isUploadingCompleted = true
    uploadedSize = 17340
  }
}
[ 3][t 0][1609951272.981530904][Client.cpp:283][&td_requests]	End to wait for updates, returning object 16187 0x7f73ac5c2380
[ 3][t 0][1609951272.981544017][Client.cpp:275][&td_requests]	Begin to wait for updates with timeout 0.000000
[ 3][t 0][1609951272.981552124][Client.cpp:283][&td_requests]	End to wait for updates, returning object 0 (nil)
[ 3][t 0][1609951272.981575012][Client.cpp:275][&td_requests]	Begin to wait for updates with timeout 1000000.000000
[ 3][t 4][1609951272.981636285][Td.cpp:3440][#1][!Td][&td_requests]	Receive request 16188: DeleteFile {
  fileId = 13
}
[ 3][t 4][1609951272.981644153][FileManager.cpp:2087][#1][!FileManager]	Trying to delete file 13(0) from td_api::deleteFile
[ 3][t 4][1609951272.981650114][Td.cpp:4601][#1][!Td][&td_requests]	Sending result for request 16188: Ok {
}
[ 3][t 0][1609951272.981675148][Client.cpp:283][&td_requests]	End to wait for updates, returning object 16188 0x7f73bc745e50
[ 3][t 0][1609951272.981682062][Client.cpp:275][&td_requests]	Begin to wait for updates with timeout 0.000000
[ 3][t 0][1609951272.981689214][Client.cpp:283][&td_requests]	End to wait for updates, returning object 0 (nil)
[ 3][t 0][1609951272.981709241][Client.cpp:275][&td_requests]	Begin to wait for updates with timeout 1000000.000000
[ 3][t 4][1609951272.981764078][Td.cpp:3440][#1][!Td][&td_requests]	Receive request 16189: GetFile {
  fileId = 13
}
[ 3][t 4][1609951272.981775283][FileManager.cpp:2960][#1][!Td][&update_file]	Send file 13(0) as 13(0) and update send_updates_flag_ for file 13(0)
[ 3][t 4][1609951272.981780052][Td.cpp:4601][#1][!Td][&td_requests]	Sending result for request 16189: File {
  id = 13
  size = 17340
  expectedSize = 17340
  local = LocalFile {
    path = "<local_path>"
    canBeDownloaded = true
    canBeDeleted = false
    isDownloadingActive = false
    isDownloadingCompleted = true
    downloadOffset = 0
    downloadedPrefixSize = 17340
    downloadedSize = 17340
  }
  remote = RemoteFile {
    id = "BQACAgQAAxkBAAI-9V_16CepbQf5PmkwxWnQkw6wNUatAALuCQAC-DywU8OClTPvxBehHgQ"
    uniqueId = "AgAD7gkAAvg8sFM"
    isUploadingActive = false
    isUploadingCompleted = true
    uploadedSize = 17340
  }
}

deleteFile deletes file from TDLib's file cache. It does nothing with and never deletes a file outside of TDLib's cache.
If you deleted a just sent local file and want TDLIb to notice this, you need to call downloadFile.
General fully downloaded file usage pattern is:

Examine file.local.is_downloading_completed.
If false, examine file.local.can_be_downloaded.
2.1. If true, call downloadFile, wait for updateFile updates, go to 1.
2.2. If false, then file can't be downloaded. FAIL.
If true, open file.local.path.
3.1. If failed to open the file, go to 2.
3.2. If the file is successfully opened. SUCCESS.

deleteFile deletes file from TDLib's file cache. It does nothing with and never deletes a file outside of TDLib's cache.
If you deleted a just sent local file and want TDLIb to notice this, you need to call downloadFile.
General fully downloaded file usage pattern is:

Examine file.local.is_downloading_completed.
If false, examine file.local.can_be_downloaded.
2.1. If true, call downloadFile, wait for updateFile updates, go to 1.
2.2. If false, then file can't be downloaded. FAIL.
If true, open file.local.path.
3.1. If failed to open the file, go to 2.
3.2. If the file is successfully opened. SUCCESS.

Yes, I checked everything you said. But tdlib always shows that the download is complete.
The problem is that the file has been deleted from the file system by me

Yes, I checked everything you said. But tdlib always shows that the download is complete.
The problem is that the file has been deleted from the file system by me

@nekohasekai Reread https://github.com/tdlib/td/issues/1361#issuecomment-755443224 please.

@nekohasekai Reread https://github.com/tdlib/td/issues/1361#issuecomment-755443224 please.


:book: Update build badges for release-1.8

Update build badges for release-1.8

/override metal3-ubuntu-e2e-integration-test-release-1-8
its a readme


RuntimeError: Error compiling objects for extension

i run the  pip install -r requirements.txt
when   Error compiling objects for extension  it gets wrong with  "Error compiling objects for extension"
my CUDA is 10.2 , torch is 1.7 as your requirements.txt.
even i change the torch version , the problem still exits.

Which package causes this problem? you can try to isolate it by commenting out the packages that you suspect are causing the trouble and then seeing if the error disappears. After that you can find why exactly that is the case

Which package causes this problem? you can try to isolate it by commenting out the packages that you suspect are causing the trouble and then seeing if the error disappears. After that you can find why exactly that is the case

pytorch3d
------------------ Original ------------------
From: Partha Ghosh<EMAIL_ADDRESS>Date: Mon,Jan 11,2021 1:59 AM
To: ParthaEth/GIF<EMAIL_ADDRESS>Cc: jeason<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ParthaEth/GIF]  RuntimeError: Error compiling objects for extension (#15)

pytorch3d
------------------ Original ------------------
From: Partha Ghosh<EMAIL_ADDRESS>Date: Mon,Jan 11,2021 1:59 AM
To: ParthaEth/GIF<EMAIL_ADDRESS>Cc: jeason<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ParthaEth/GIF]  RuntimeError: Error compiling objects for extension (#15)

pytorch3d , and your requirement in it says pytorch1.4 or 1.5

pytorch3d , and your requirement in it says pytorch1.4 or 1.5


Feature request: allow the org admin to list all routes in the org

Currently, cf routes only lists routes in the current space, it's not convenient for the org admin to manage the routes, e.g:

to find how many orphaned routes exists in the org and which ones can be released
to find if a route is mapped to an app of another space, so if a new app wants to use an existing route, the admin can decide weather to map the route to the new app

I think the feature is usable, and if it is accepted, i will make some PRs to handle this.
Thanks
Haojun

@haojun cf-release v198 now supports filtering /v2/routes by organization_guid


Update 1-DeployAndConfigureAzureResources.md

Removed (v1) from title and first paragraph.
Fixed typo: "Administratior"
Changed two instances of "e.g." to "for example" instead.
Added an article after "use" instead.

@EdPrice-MSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/compliance/1-DeployAndConfigureAzureResources.md
:white_check_mark:Succeeded
View

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