flutter_riverpod v2.1.3 broke my code, throws type 'AsyncData' is not a subtype of type 'AsyncValue'  exception

Describe the bug
I can't assign AsyncValue<T> to AsyncValue<void>.
To Reproduce
Generate the code for this provider and call foo() function. An exception will be thrown:

E/flutter (11354): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'AsyncData' is not a subtype of type 'AsyncValue' of 'previous'

@riverpod
class Foo extends AutoDisposeAsyncNotifier<void> {
  @override
  FutureOr<void> build() => null;

  Future<void> foo() async {
    final newState = await AsyncValue.guard(_baz);

    // Throws an exception but if you directly assign above result to `state` then there's no exception.
    state = newState;
  }

  Future<int> _baz() async => 0;
}

Expected behavior
There should be no such exception. This code was working fine with version 2.1.1.

There's nothing I can do here. It's more of a Dart limitation
There's no real bug in Riverpod here.
The problem can be boiled down to the following:
List<Object> list = <int>[];
list.add('string');

This code runs but throws.
The way this scenario happens in Riverpod is through the copyWithPrevious:
AsyncValue<T> newState;
_state = newState.copyWithPrevious(state);

When considering generics, there's nothing wrong. But if you unwrap the generics, what happens is the following:
AsyncValue<int> newState;
AsyncValue<void> state;

newState.copyWithPrevious(state);

This code doesn't compile as copyWithPrevious expects AsyncValue<T>. But due to generics, this problem cannot be highlighted at compilation and instead happens at runtime (like with the list sample above).
It's a known issue with Dart generics.

Thanks, I understood what the problem is. But is it possible to change Riverpod implementation to the one which was in v2.1.1  because that seems to be working.
If not, can you suggest me what should I rather do? I'm thinking of doing something like (too much boilerplate code)
Future<void> foo() async {
  final newState = await AsyncValue.guard(_baz);
  if (newState.hasError) {
    state = AsyncError(newState.error!, newState.stackTrace!);
  } else if (newState.hasValue) {
    state = AsyncData(null);
  } else {
    // If this is the case, there's something wrong with how we are doing things.
    throw Exception('State is loading.');
  }
}

The behavior change is due to a bug that was fixed.
Reverting this would re-add the bug
It's not something which can be truly fixed.
To resolve this on your side, you shouldn't downcast the asyncValue
So do:
AsyncValue.guard<void>(...)

to avoid having an AsyncValue<int> being assigned to AsyncValue<void>

Well, you're the author, so I don't know if there's another way to solve that bug which introduced this problem. But from pure Dart point's of view, these two code should work the same way:
final newState = await AsyncValue.guard(...);
state = newState;

and
state = await AsyncValue.guard(...);

Seeing above two code doing different things just lowers my confidence level using Riverpod. Even if I use AsyncValue.guard<void>, I can still assign it to AsyncValue<int> and compiler doesn't complain, but again this is a runtime exception.
final newState = await AsyncValue.guard<int>(...);
final AsyncValue<void> state = newState; // No compile time error.

These two codes don't work the same way. They have a different type inference.
Doing:
final newState = await AsyncValue.guard(...);

have the AsyncValue type infer to whatever the callback of guard returns.
But doing:
state = await AsyncValue.guard(...);

have the type inference use the type of state

Sorry, what I meant was, if Dart allows
void a = 42;

do does the Riverpod should allow.

I agree.
It's not a huge deal for me right now though. If you fancy it, you can try fixing it.
It'd likely involve replacing internal copyWithPrevious usages with the reserse mechanism. So instead of:
newState.copyWithPrevious(previousState);

we'd do:
previousState.copyWtihNext(nextState);

with the return value not changing.

Yes, sure. It's not that of a big deal for us. I'll stick to 2.1.1 for now. But I'll love to see it getting fixed in the coming updates. Thank you for your time 👍

@rrousselGit  Hi, could you please tell me if you have plans to fix this issue in the near future, I am unable to upgrade to the latest version as that will break my existing code.
Thank you.

Yes, I think so I'm the only one who is preventing code duplication like this:
Future<T?> _perform<T>(Future<T?> Function() operation) async {
  state = const AsyncLoading();
  final newState = await AsyncValue.guard(operation);
  if (mounted) state = newState;
  if (newState.hasValue) return newState.value;
  return null;
}

I never created any pull request and I also don't know where exactly I need to make changes in the source code which will fix this issue. So, I'll probably do the code duplication in my code.


[NEW CONTENT TYPE REQUEST] AGS Script

What type of file would you like magika to detect?
AGS Script (.ash .asc)
What software can create/open these files?
Many IDEs.
Where can these files be found?
https://github.com/search?q=language%3AAGS+Script&type=repositories
If possible, please provide a specification for this file type.
Additional context
Adventure Game Studio: https://adventuregamestudio.github.io/ags-manual/index.html

Thanks! We'll consider it.


add menu for file list split action.

触发Leaderf file之后，按下C-\，会在下方弹出如何分割Leaderf选中的文件的选项。

Great. However there seem to be a bug if select Drop, It works as if <CR> is pressed. Is it by design?

Also could you add the explanation for C-\ in readme?

Yeah, by design.
If there is a window of that file's buffer, switch to that window, or open it in current window.

@Yggdroot I'm checking one thing. Please wait for a while.

I think no question about this PR.

But found a bug for C-X and C-], this PR is not involved!
Like we have two window, one for file tt.c, one for tt.i, then we trigger Leaderf file when focus tt.c then use C-] split tt.i.
What expected is there are two window for tt.i, on window for tt.c. But what got is two window for tt.c, on window for tt.i.

If need I can make a issue for this bug.

使用 Leaderf rg 搜索然后打开文件的时候会报错：NvimError('Vim(drop):E479: No match')，导致文件打不开

vim没有错啊...

使用 Leaderf rg 搜索然后打开文件的时候会报错：NvimError('Vim(drop):E479: No match')，导致文件打不开

怎么复现，我用nvim也没复现。

目标文件在 wildignore 中就会触发
set wildignore+=*/.idea,*/.npm/*,*/.sass-cache/*,*/.vscode/*
set wildignore+=*/node_modules/*,*/.happypack/*,*/.hg/*,*/*.swp
set wildignore+=*/run/*,*/dist/*,*.pyc,*/.git/*,*/.svn/*,*/*.swo,*/bak/*

比如上面的配置中，我在 node_modules 目录下搜索的时候能搜出东西，但想打开那个文件就会报上名的错误

尝试回退下了版本，发现也有这个问题，应该不是这个 pr 造成的

Does this pr support other sub-commands?

If shortcuts like , <C-]> supports, <C-> supports, for example Leaderf mur.
In fact, it should support most sub-commands(didn't for all), for example Leaderf function, if you choose vsplit, it vsplit that file and focus the function you found.


Can't use variables inside of uib-typeahead

Hi, guys, please consider following markup:
<input ... uib-typeahead="item['{{searchModel.key}}'] for item in searchModel.items | filter:$viewValue">

It tries to implement an abstract configurable wrapper over the typeahead (long-live higher level components). Though it'll never work as expected cause it'll never be interpolated (unlike in the older typeahead).
The problem is pretty much similar to #5000, though it looks like a regression taking into account, older typeahead handles this.

Closed as this is not an expression and shouldn't support {{}}, it's possible to refer the value directly.

I wish to reopen this as my problem is pretty much the same as above but the variable represents the expression.
<input ng-if="advanced != true"ng-model="search" type="text" class="form-control" ui-keypress="{13:'cancelEnter($event)'}" name="inputUser" id="inputUser" placeholder="{{placeholder}}" uib-typeahead="{{display}} in source | filter:$viewValue | excludeFilteredItem:filtered | limitTo:8"                     typeahead-on-select="addFilterItem($item, $model, $label)"                     typeahead-editable="false"                     >
Implementation
<typeahead-filter             source="clients"             display="client as (client.name) for client"             ng-model="filters.client"             placeholder="Start typing to find client"             title="Filter by Client"         ></typeahead-filter>


added four module

Checklist

[x] I have followed the Contributor Guidelines.
[x] I have added the relevant documentation.
[x] My branch is up-to-date with the Upstream master branch.

Changes proposed in this pull request
i have added four modules : nfs_scan, smb_scan, passwordless_ftp_scan and iot_scan
in the iot_scan module it reads deices config from a file and do the test for factory setting changes or not
Your development environment

OS: Linux
OS Version: Kali
Python Version: 2.x

@codingjustfortest you have good ideas , but this is too much for one PR. I am going to close this and suggest that you submit an individual PR for each module. There were a lot of changes made since your PR and you should review all of them. Please be mindful of the architecture of this project and follow it. Nettacker's strength is that it is 100% Python and must not use/launch any external tools using Popen. It must also be compatible and work fully on Windows/Linux/MacOS and even Raspberry Pi.


Realsense viewer gives segmentation fault when run

Required Info

Camera Model
D415

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Raspbian GNU/Linux 10 (buster)

Kernel Version (Linux Only)
Linux raspberrypi 5.4.51-v7+

Platform
Raspberry Pi Compute Module 3+

SDK Version
2.38.1

Language
c++

Segment
others

Issue Description
When starting realsense viewer, a window briefly appears, and then disappears. Then it gives a segmentation fault.
$ realsense-viewer
Segmentation fault

I followed the steps on this website
https://github.com/acrobotic/Ai_Demos_RPi/wiki/Raspberry-Pi-4-and-Intel-RealSense-D435

Hi @KokXinTan   Bearing in mind that the Pi 3b has a smaller memory capacity than the Pi 4 that the Acrobotic guide is based on, I would recommend first trying to increase the size of your Pi's swapfile to ensure that there is sufficient virtual memory for the Pi to fall back on if the real memory gets used up.
The Raspberry Pi website states that the Compute Module 3+ is based on the Raspberry Pi 3B.
https://www.raspberrypi.org/products/compute-module-3-plus/
The Pi 3b has its own official RealSense installation guide
https://github.com/IntelRealSense/librealsense/blob/master/doc/RaspberryPi3.md

I just did a clean install and started everything from scratch so now the realsense viewer is working again. However, once I started the realsense viewer, the characters does not show up. I attached a screenshot below.

Do you mean that when you start a stream there is no image displayed in the center panel, please?

The image shows up in the center when the stream is on, so everything is working fine, except that the fonts don't show up correctly.

I was able to recreate your problem in the Viewer.  It comes from having the slider of an option called Font Samples maximized.
Because your fonts are corrupted, I will have to describe the interface in terms of how you see it.  So I apologize in advance for strangeness!
Please open the Viewer's settings window by left-clicking on the big grey block in the top corner of the Viewer and selecting the third option down.  This should open the Settings window.

Left-click on the second of the tabs on top of the window to select the Performance options.  Then go to the topmost option within the window, which is a slider representing the Font Samples option.

Hold the left mouse button down on the blue block on the slider and drag it all the way to its minimum position.

Finally, click on the middle button at the bottom of the window (representing the Apply button.  This will cause the Viewer's fonts to reset to normal.

I followed your instructions, but the slider for the font samples option is already at the most minimum position. The font still show up as square boxes

I ran further tests.  I found that the Font Samples settings produce normal characters when the slider is set to 1-7 and only produce the corrupted graphics when the slider is maximized to '8'.  Thank you for eliminating the maxed slidet position as the cause of your problem.
Further research found that the fonts may be rendered corrupted like this if there is not enough memory for the texture atlas.  This may be corrected by making an edit to the model-views.cpp file and rebuilding the Viewer, or alternatively by editing the configuration file ~/.realsense-config.json (which does not require rebuilding the Viewer).
https://github.com/IntelRealSense/librealsense/issues/4558

Hi @KokXinTan   Do you still require assistance with this case, please?   Thanks!

Hi, thanks for your reply. I think I tried the method that you mentioned, which is to edit the configuration file, and it doesn't work for me. I ended up not using the viewer at since I just needed it to verify that it would run on my rpi3+. I managed to write some code that utilizes the Realsense SDK and that works fine, and I didn't bother with the viewer after that.
I'll be closing this issue now.

Thank you very much for the update @KokXinTan  - good luck with your project!

Hi @KokXinTan Bearing in mind that the Pi 3 has a smaller memory capacity than the Pi 4 that the Acrobotic guide is based on, I would recommend first trying to increase the size of your Pi's swapfile to ensure that there is sufficient virtual memory for the Pi to fall back on if the real memory gets used up.
The Raspberry Pi website states that the Compute Module 3+ is based on the Raspberry Pi 3B.
https://www.raspberrypi.org/products/compute-module-3-plus/
The Pi 3b has its own official RealSense installation guide
https://github.com/IntelRealSense/librealsense/blob/master/doc/RaspberryPi3.md

I am doing installation of Reaslsense on Pi 4 4 GB and followed instruction of the following:
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_raspbian.md
but when I run the realsense-viewer command i get this error
Segmentation fault

Hi @AyanHBK123   For the Pi 4, I would recommend following the Acrobotic guide for Pi 4 mentioned earlier in this discussion, whose content is similar to the official Intel one.
https://github.com/acrobotic/Ai_Demos_RPi/wiki/Raspberry-Pi-4-and-Intel-RealSense-D435
A pre-made librealsense SD card image for Pi 4 provided by Intel can also act as a reference when setting up your own Pi 4 installation.
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#section-2-3-preparing-the-sd-card

Just did the way link said but still same error
when i run the command
realsense-viewer
Segmentation fault

Just followed the steps given in the link
firstly got this error
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/google
creating build/temp.linux-armv7l-3.7/google/protobuf
creating build/temp.linux-armv7l-3.7/google/protobuf/pyext
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I../src -I/usr/include/python3.7m -c google/protobuf/pyext/extension_dict.cc -o build/temp.linux-armv7l-3.7/google/protobuf/pyext/extension_dict.o -Wno-write-strings -Wno-invalid-offsetof -Wno-sign-compare
google/protobuf/pyext/extension_dict.cc: In function ‘PyObject* google::protobuf::python::extension_dict::_FindExtensionByName(google::protobuf::python::ExtensionDict*, PyObject*)’:
google/protobuf/pyext/extension_dict.cc:59:45: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0):
~^
google/protobuf/pyext/extension_dict.cc:187:7: note: in expansion of macro ‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Then ignored this due to comment on issue #5092
but in the end still got this error when i run command:
realsense-viewer
Segmentation fault

The Acrobotic guide has worked previously for a RealSense Pi 4 user with a segmentation fault when using the Viewer.
https://github.com/IntelRealSense/librealsense/issues/7290#issuecomment-691079291
What method are you using to compile, please?  There was a case of a Pi user who had segmentation problems when compiling with uclibc-ng but not when compiling with glibc.
https://github.com/IntelRealSense/librealsense/issues/7401#issuecomment-698320089

I refresed my SD card and following the Acrobotic guide but getting this error when i am making
librealsense
under command
make -j1
the error shown is
/home/pi/librealsense/build/third-party/libusb/libusb/core.c:23:20: fatal error: config.h: No such file or directory
compilation terminated.
make[5]: *** [CMakeFiles/usb.dir/build.make:63: CMakeFiles/usb.dir/libusb/core.c.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:73: CMakeFiles/usb.dir/all] Error 2
make[3]: *** [Makefile:130: all] Error 2
make[2]: *** [CMakeFiles/libusb.dir/build.make:112: libusb-prefix/src/libusb-stamp/libusb-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/libusb.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
please guide how to solve this

Hi @KokXinTan   A solution for the config.h Fatal Error is suggested in the link below:
https://github.com/IntelRealSense/librealsense/issues/7822#issuecomment-731084121

Did everything but still the same fault on this command:
realsense-viewer
Segmentation Fault
I flashed the SD card, re-downloaded the Raspbian Buster and followed the exact same steps but in the end got the same error.
Any other method to solve this error ??

Do you also have problems if you use the pre-made SD card image for Pi 4 instead of using the Acrobotic guide?
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#section-2-3-preparing-the-sd-card

https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md
I followed this command and then run the command
realsense-viewer but still same error of:
Segmentation fault

Here is another Pi 4 installation guide that you can try:
https://github.com/IntelRealSense/librealsense/issues/4950#issuecomment-538794909

When i run this command:
python3 setup.py test --cpp_implementation
i get this error
ImportError: libprotobuf.so.21: cannot open shared object file: No such file or directory

Ran 41 tests in 0.014s
FAILED (errors=39)
Test failed: <unittest.runner.TextTestResult run=41 errors=39 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=41 errors=39 failures=0>

When i run this command:
python3 setup.py test --cpp_implementation
i get this error
ImportError: libprotobuf.so.21: cannot open shared object file: No such file or directory

Ran 41 tests in 0.014s
FAILED (errors=39)
Test failed: <unittest.runner.TextTestResult run=41 errors=39 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=41 errors=39 failures=0>

on RPI 4 I am able to run realsense-viewer with no problem. Alas when I try to use the nodejs wrapper:
cd librealsense/wrappers/nodejs/examples/

node nodejs-capture.js

I get segmentation fault

Hi @rip3rs  After navigating to the /wrappers/nodejs/examples/ directory, did you carry out the middle step of inputting npm install please?

yep I did, it is working sometimes however it needs to be restarted a few times before it can work and once it did work, the window with the camera and the capture appeared but froze.

@rip3rs   Which Node.js version are you using please?
SDK 2.40.0 added support for Node.js 12 but dropped support for Node.js 6.
SDK 2.44.0 added support for Node.js 14.
Also, are you using Ubuntu on your Pi (which the Node.js wrapper can offically be installed for) or Raspian OS?
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/nodejs/README.md#install-nodejs


New DCS Real Weather config may break compatibility with DCS Server Bot extension

It appears the changes to Real Weather's configuration in v1.9.0-rc2 break compatibility with the DCS Server Bot extension. The new configuration file uses nested keys to improve readability in addition to adding more possible configuration options.
I believe the offending lines are the following from extensions/realweather.py
cfg['input-mission-file'] = filename + '.orig'
cfg['output-mission-file'] = filename
for key in list(cfg.keys()):
    if key in self.config:
        cfg[key] = self.config[key]

The problem is you renamed the file keys...
The result is, I now need to check which version of RW someone has and then implement two different versions of config files.
The other option is that I just drop support for anything earlier than 1.9, which would be my preferred solution honestly as from what I've heard you've changed the mission writing with that version. I'll look at it later, but please never change parameters again for the sake of compatibility. Everyone that embeds your solution now has this issue.

I just dropped another version of DCSSB that addresses the changed config files.

but please never change parameters again for the sake of compatibility

This is a pretty shallow and entitled take IMO... if you want compatibility use the native config 🤷
Alternatively I could look into adding support for command-line arguments or some other API more robust  than rewriting a config file by key name. I'd be happy to look into whatever solution you prefer. Feel free to open an issue, but maybe lose the attitude first. We all have the same goals to make DCS more enjoyable.
Thanks for the speedy fix.


Document type settings

Fixed typo.  If we change the naming to "Class" that will be a whole other thing.


Kinetic Unity SDK

Build a Kinetic SDK for Unity that can be used on Android, iOS, and the Web.
A Kinetic SDK is a small convenience layer on top of an existing Solana SDK following the Kinetic Sdk Standard.
It adds helper methods for creating Solana Transactions, drastically reducing the amount of code you need to write to transact KIN and other SPL tokens.
The SDK acts as an interface to communicate with the Kinetic API, which handles the fee payment. This is done by partially signing the transaction on the device, and sending that over to the Kinetic API.
Deliverables (code all MIT licensed on GitHub):

[x] Kinetic Unity SDK based on Kinetic SDK Standard, installable as Unity Package
[x] Demo app that shows full usage of the SDK
[x] Documentation on how to install the SDK and use it
[x] Working demo + docs presented for delivery in a call

This is done, links here:
Repo: https://github.com/kin-labs/kinetic-unity-sdk
Docs: https://developer.kin.org/docs/developers/unity
Starter: https://github.com/kin-starters/kinetic-unity-starter
For help, please use the the #kinetic-unity channel in the Developer Discord


Warn you that your edits will be lost

I was using the antlr4-lab and noticed an issue, so I reflexively clicked the 'issues' link and inadvertently lost some edits.
Perhaps the links could open another tab by default, or at least prompt you that you will be lose any changes you've made.

Excellent point. Yeah I'm worried about that as well. Not sure how to handle that but perhaps we can simply detect when you were going to move away from the "app" with a bit of JavaScript. We can then pop up a dialog box warning you. I think Jupyter notebooks and things like that work like that.


Native AoT Compatibility / iOS ?

Is this engine compatible with native aot / non JIT platforms like iOS ?

There should be no problem. I was even able to compile it to web-assembly: https://jitterphysics.com/AppBundle/index.html


systemctl & pacman issues

is systemctl not working at all ? i need a service to run but cant...
"Failed to connect to bus: No such file or directory"
also latest updates breaks pacman due to openssl 1.1 update. , not talking about the cert error.
"pacman: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory"

I also have the libcrypto problem with pacman. I've tried to update pacman but that just breaks it. (Yea I know that pacman is in HoldPkg 😉)

Will do a repack + recompile. Bit swamped at the moment.

Hey guys, a work around fix for this (I just had the same problem) is to run:
ln -s /usr/lib/libcrypto.so /usr/lib/libcrypto.so.1.0.0

@godlikemouse installing openssl would generate /usr/lib/libcrypto.so.1.0.0 for you

You need to create the symbolic link with like @godlikemouse said.
Maybe it's necessary to do the same thing with openssl.
Than just update your system with pacman -Syu

Fixed by release.


Problem with installing dependancies

I cannot install dependancies:
**conda env create -f env.yml**
Solving environment: failed

ResolvePackageNotFound:
  - python==3.6.5=hc167b69_0
  - xz==5.2.3=h0278029_2
  - numpy==1.12.1=py36h8871d66_1
  - zlib==1.2.11=hf3cbc9b_2
  - six==1.11.0=py36h0e22d5e_1
  - readline==7.0=hc1231fa_4
  - sqlite==3.23.1=hf1716c9_0
  - libgfortran==3.0.1=h93005f0_2
  - libedit==3.1=hb4e282d_0
  - pyyaml==3.12=py36h2ba1e63_1
  - libffi==3.2.1=h475c297_4
  - hdf5==1.10.1=ha036c08_1
  - protobuf==3.5.2=py36h0a44026_0
  - libprotobuf==3.5.2=h2cd40f5_0
  - libcxx==4.0.1=h579ed51_0
  - scipy==1.0.1=py36hcaad992_0
  - openssl==1.0.2o=h26aff7b_0
  - libcxxabi==4.0.1=hebd6815_0
  - yaml==0.1.7=hc338f04_2
  - pandas==0.22.0=py36h0a44026_0
  - tk==8.6.7=h35a86e2_3
  - h5py==2.7.1=py36h39cdac5_0
  - ncurses==6.0=hd04f020_2a

Seems to same the same problem, with anaconda python 3.7 on Ubuntu 18.04, so changed the export file as follows:
`name: drlts
channels:

conda-forge
bioconda
bokeh
defaults
dependencies:

ca-certificates=2018.03.07
certifi=2018.4.16
h5py=2.7.1
hdf5=1.10.1
intel-openmp=2018.0.0
keras=2.1.5
libcxx
libedit=3.1
libffi=3.2.1
libgfortran
libprotobuf=3.5.2
mkl=2018.0.2
ncurses=6.0
numpy=1.12.1
openssl=1.0.2o
pandas=0.22.0
pip=9.0.3
protobuf=3.5.2
python=3.6.5
python-dateutil=2.7.2
pytz=2018.4
pyyaml=3.12
readline=7.0
scipy=1.0.1
setuptools=39.0.1
six=1.11.0
sqlite=3.23.1
tensorflow=1.1.0
tk=8.6.7
werkzeug=0.14.1
wheel=0.31.0
xz=5.2.3
yaml=0.1.7
zlib=1.2.11
`

Think Theano will need to be complied on your local system

I created a simple google colab file from this implementation, so you can easily run it with your own google drive and colab.

Just copy the entire directory from this github to your google drive directory.
Copy the google colab file I created.
Change the "google_drive_directory_path" value to your own google drive directory.
Use python 3 and GPU accelerator.
Run the code.

https://colab.research.google.com/drive/1GMxAUdpU38DFOsSL4r0AglpdIe00YpAP
Tell me if you have any problem running the code,
Greg

I didn't find your train/ test/ folder used in your notebook


Reporting a vulnerability

Hello!
I hope you are doing well!
We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly.  GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.
Can you enable it, so that we can report it?
Thanks in advance!
PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

Hi, thanks for this. You can report vulnerabilities according to our VDP, which is in SECURITY.md:
https://free.law/vulnerability-disclosure-policy


[DO NOT MERGE] Run Python RC Validation Tests

Run Python ReleaseCandidate

Run Python ReleaseCandidate

Run Python ReleaseCandidate


[5.4] Support for calling artisan in different queues

// Support for calling artisan in different queues. For example
Artisan::queue('test', ['id' => $id], "queue-2");
Artisan::queue('test', ['id' => $id], "queue-1");

@GrahamCampbell Thank you. I changed the style.

What if you want to change the connection too? Needs to be thought out more in that regards.


Rollbacking event writes

Hi, we are using Cirqus as an event repository (in SQL Server) but our views are hand-crafted (handling the dispatched event via a custom IEventDispatcher) in RavenDb.
Problem comes when for some reason one of the handlers for the dispatched event fails. In that situation the event has been commited to the store, but the "views" are not in sync with what in the event store. In our case, that becomes a problem.
What would be the best way to approach this situation and "get rid of" the mismatch?
Note: enlisting the whole operation inside a distributed transaction (via TransactionScope) is not a possibility.
We are using 0.41.0 and we'd like to avoid updating if possible.

hi @rasmuseo , thanks for your question! could you maybe post it on StackOverflow and tag it with "cirqus" - then I promise I will give you a quick and thorough answer :)
thanks!

It's added to StackOverflow now - But I didn't have enough reputation to add the 'cirqus' tag (sigh). Its called 'Cirqus - Rollbacking Events' and tagged with event-handling and transaction.
I would appriciate it if you would take a look at it.

I added the 'cirqus' tag and wrote you an answer


Track error conversion locations using #[track_caller]

#123 added a crate-wide Error type and some helper macros to add logs gated by the log feature. One could use the new macros everywhere to provide additional context to errors for debugging. But it might be possible to use #[track_caller] and core::panic::Location to automatically track and log where errors originate and where they get converted to other error types, eliminating a bunch of tedious work. Investigate this and implement if possible.
References

https://github.com/rust-lang/rust/issues/87401
https://github.com/lowRISC/manticore/pull/123#discussion_r836963963

I'll take this on


Module level comments

Module level doc comments were added to AST parser

Actually, I'd like to avoid introducing another comment style and wondering if we can somehow get away with just using doc comments. Conceptually, we could do something like this:
#! this is a module doc comment.

#! this is a procedure doc comment.
export.foo

end

A case with no module comments would look something like this:
#! this is a procedure doc comment.
export.foo

end

One rule could be that module-level comments must be the first thing in the file. So, for example, use statements would go after them:
#! this is a module doc comment.

use.std::math::u64

#! this is a procedure doc comment.
export.foo

end

Totally agree with you @bobbinth , rather than introducing another syntax for module level comments, it's better to leverage documentation comment syntax with specially designated placement i.e. top of module file, for ease of parsing.
I  think we should stick to two commenting syntax ( as we have now )

# ...   : for single line/ inline comments
#! ...  : for documentation comment, which are considered for generating documentation

when used before function signature
or on top of module file


React Warning: Each child in a list should have a unique "key" prop.

material-react-table version
1.14.0
react & react-dom versions
17.0.2
Describe the bug and the steps to reproduce it
When the table is loaded I see couple of react warnings in browser console: Warning: Each child in a list should have a unique "key" prop. Additionally it shows even more after click on Show/Hide columns button. The same after click on the dropdown in one of the cells. I was able to reduce one of the warnings with disabling selecting rows. Are there any solution to reduce react warnings?
Minimal, Reproducible Example - (Optional, but Recommended)
<MaterialReactTable
      initialState={{
        columnPinning: { left: ['mrt-row-select', 'name'], right: ['actions'] },
        columnVisibility: { 'last-year-spend': false },
        density: 'comfortable',
        showSkeletons: !isLoading,
      }}
      state={{
        rowSelection,
      }}
      layoutMode='grid'
      tableInstanceRef={tableInstanceRef}
      data={displayData || []}
      columns={columns as MRT_ColumnDef<Record<string, unknown>>[]}
      enableDensityToggle={false}
      enableGlobalFilter={false}
      enablePinning
      enableColumnDragging
      enableColumnOrdering
      enableColumnResizing
      enableFullScreenToggle
      enableSelectAll={!isViewOnly && hasActions}
      selectAllMode='all'
      enableMultiRowSelection={hasActions}
      enableRowSelection={enableSelection}
      onRowSelectionChange={setRowSelection}
      getRowId={(originalRow: unknown) => (originalRow as Subscription).id}
      muiTableBodyRowProps={
        {
          'data-testid': 'subscription-item',
        } as TableRowProps
      }
      muiTableBodyCellProps={getRowStyle as TableCellProps}
 />

Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

This is caused by you not using a unique value with the getRowId option. getRowId must identify rows by 100% unique values.


.Net: How can IKernel possibly be implemented?

IKernel has a CreateNewContext method that's required to be implemented by any implementation. It's defined to return an SKContext, which only has an internal constructor.  That means it's impossible for anything outside of Microsoft.SemanticKernel.Abstractions to actually implement this abstraction.

Closing since IKernel has been removed


Modify BaseUrl mid-request

Hello!
We have a requirement where our BaseAddress relies on the our Auth service response when generating our auth token (via GetAuthorizationTokenAsync).
Our token endpoint returns the auth token, as well as the API address to use for requests. (i.e "Dev" users are pointed to dev.ourApi.com, "Prod" users are pointed to "prod.ourApi.com", etc.)
It looks like the "{+baseurl}" section is populated just before GetAuthorizationTokenAsync is called, so we can't just slip the api address in.
Is there a way to handle this that I am just overlooking?
We can just fetch our auth token and address when building the kiota client, but just wondering if there is a better way to handle it.
Cheers!

Hi @andrewL97,
Thanks for using kiota and for reaching out.
This was designed thinking the client for a specific API will drive authentication (which service to talk to, which requests to authenticate or not depending on their target URLs).
The base URL is provided here right before performing authentication as you rightfully noticed, so it can be read by the authentication layer.
I guess you could technically set the base URL again in the authentication provider, but this not work in all the cases (in case the URL has been fully set in the application code).
Your best bet is probably to:

authenticate the user once.
lookup in the token which API to "talk to" for that user.
setup the base URL of the request adapter.
initialize your client.

The "pre-authentication" should have minimal performance impacts assuming the way you've implemented the authentication provider supports caching.
let us know if you have further questions.

Thanks for the help @baywet !
This is the rough workflow I ended up with, it's a little hackier than I'd like, but my dynamic address requirement is already weird.

    public class TokenResponse{
        public string APIHost;
        public string AuthToken;
    }

    public class MyApiHandler
    {

        private readonly IUserSessionManager UserSessionManager;
        public MyApiHandler(IUserSessionManager userSessionManager)
        {
            UserSessionManager = userSessionManager;
        }

        /// <summary>
        ///  Build our Kiota client with our AccessTokenProvider magic
        /// </summary>
        private async Task<Kiota.API.Client.MyApiClient> BuildApiClient()
        {
            // Request an auth token + api host for our user session
            TokenResponse TokenResponse = await UserSessionManager.GetAPISSOToken();

            // Create an IAccessTokenProvider to just pass back our already created Token
            var TokenProvider = new ApiAccessTokenProvider(TokenResponse);

            // Instantiate the actual kiota client - using the APIHost from our TokenResponse
            var requestAdaptor = new HttpClientRequestAdapter(new BaseBearerTokenAuthenticationProvider(TokenProvider));
            requestAdaptor.BaseUrl = TokenProvider.TokenResponse.APIHost;
            var MyApiClient = new Kiota.API.Client.MyApiClient(requestAdaptor);
            return MyApiClient;
        }

        // Update a product
        public async Task UpdateProduct(int clientId, ProductUpdateRequest productUpdateRequest)
        {
            var client = await BuildApiClient();
            await client.Api.V1.Products[ProductId].PostAsync(productUpdateRequest);
        }
    }

    // Dummy AccessTokenProvider - only exists to pass back the token given to the constructor
    public class ApiAccessTokenProvider : IAccessTokenProvider
    {
        public readonly TokenResponse TokenResponse;

        public ApiAccessTokenProvider(TokenResponse TokenResponse)
        {
            this.TokenResponse = TokenResponse;
        }

        /// <summary>
        /// <inheritdoc/>
        /// AllowedHostValidated for IAccessTokenProvider
        /// </summary>
        public AllowedHostsValidator AllowedHostsValidator { get; }

        /// <summary>
        /// <inheritdoc/>
        /// GetAuthorizationTokenAsync for IAccessTokenProvider
        /// </summary>
        /// <param name="uri"></param>
        /// <param name="additionalAuthenticationContext"></param>
        /// <param name="cancellationToken"></param>
        public async Task<string> GetAuthorizationTokenAsync(Uri uri, Dictionary<string, object> additionalAuthenticationContext = null, CancellationToken cancellationToken = default)
        {
            return TokenResponse.Token;
        }
    }

On an unrelated note, I am really enjoying working with Kiota - we moved from NSwag due to its NewtonsoftJson dependency, and the dev experience with the clients + generator tooling is bizarrely straightforward.

Thanks for the feedback!
Be careful, the fact that you instantiate a new request adapter for each request means you're creating a new http client everytime. This is going to lead to port exhaustion.
Create a singleton http client using the kiota factory, and pass it to the request adapter to solve for that.


How does SCEP affect this?

When using SCCM and SCEP to manage Windows Server 2016 antimalware, are these automatic exclusions used? In other words, if we use SCEP, must we re-define all these exclusions for our Windows Server 2016 servers? Or need we only add any additional exclusions that we require?

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

ID: 7c9b6379-e575-9819-eca1-a0952f66b655
Version Independent ID: 34d81602-ffa2-5be6-67ef-b42b3b6f17ee
Content: Automatic and customized exclusions for Windows Defender AV on Windows Server 2016
Content Source: windows/security/threat-protection/windows-defender-antivirus/configure-server-exclusions-windows-defender-antivirus.md
Product: w10
GitHub Login: @andreabichsel
Microsoft Alias: v-anbic

@officedocsbot assign e0i

Hello, @gaknigge thank you for providing feedback.
Note that the feedback section below documentation is intended for product documentation issues only.
Thus, please consider opening a product support ticket by the following link below for your problem so that it gets resolved quickly.
Windows 10 Support

@officedocsbot close


app: event to pass client certificate data

On linux we need to query the in-memory cache store for x509 data , but would like to hold on implementing incase we will use NSS , Thoughts ?

We should choose a default certificate if users are not listening to select-certificate event, so client certificate can work by default without adding extra code.

Also, API like
app.on('select-certificate', function(event, host, url, list, callback) {
  callback(fileteredList.data);
})

would be a surprise to users, we should not require users to pass the data property:
app.on('select-certificate', function(event, host, url, list, callback) {
  callback(list[0]);
})

We should choose a default certificate if users are not listening to select-certificate event, so client certificate can work by default without adding extra code.

will default to first certificate from the store ? have addressed other points, thanks!

will default to first certificate from the store ?

Yeah it should just choose the first cert.

Fixed.

:+1:


Improve UI Contributing Guide

Signed-off-by: PluckyPrecious<EMAIL_ADDRESS>Description
This PR fixes #1313
Notes for Reviewers
Clearly stated steps for the UI contributing guide. Please review @anirudhjain75 @leecalcote @kushthedude
Signed commits

[x] Yes, I signed my commits.

Everything is good. The changes make the documentation more clear on what is to be done.

Nice work, @PluckyPrecious. ✔


Changes to meet Sonatype's requirements

This pull request includes all changes necessary to meet the requirements of Sonatype, so we can have gradle-android-plugin available in Maven Central.
The list of requirements is at: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-3.CreateaJIRAticket

This pull request is not yet complete, as we still need the following in the POM:

Nick Carroll's email address
<dependencies> section based from Gradle's dependencies list (I haven't figured this out yet)

And with the build process:

Generate -sources and -javadocs automatically.

Aside from this, I think we should agree on the following points:

Do we rename this from android-plugin to gradle-android-plugin?  The latter should be more descriptive, though of course it will change how dependencies are defined.
Do we go ahead with Apache 2.0 license or some other license?  If so I'll add license-gradle-plugin and configure it with the build.


Why I am getting prediction on the bases of 'alteredQuery' instead of the query which I pass

query = paint my washroom
alteredQuery = paint my bathroom

LUIS response
{'query': 'paint my washrrom', 'prediction': {'alteredQuery': 'paint my bathroom', 'topIntent': '', 'intents': {'': {'score': 0.97301316}, '': {'score': 0.026450766}, 'None': {'score': 0.0037308265}}, 'entities': {': [[']], '$instance': {'': [{'type': '', 'text': '', 'startIndex': 9, 'length': 8, 'modelTypeId': 5, 'modelType': 'List Entity Extractor', 'recognitionSources': ['model']}]}}}}
Why I am getting prediction on the bases of 'alteredQuery' instead of the query which I pass.

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

ID: dcbc7152-8b7e-bb38-1b1c-13f449919eee
Version Independent ID: c520b585-73cf-9882-70ea-c76b7b087516
Content: Quickstart: Language Understanding (LUIS) SDK client libraries and REST API - Azure
Content Source: articles/cognitive-services/LUIS/client-libraries-rest-api.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @aahill
Microsoft Alias: aahi

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

@kanikwork
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Thanks for reaching out,
This likely means that you've configured Bing spell check as part of your API calls, which is the only way that the altered query parameter shows up. It’s an effect of the spell check API parameter.
See the following documentation for more information:
https://learn.microsoft.com/azure/cognitive-services/luis/luis-tutorial-bing-spellcheck
#please-close


[Feature Request] Use jq for JSON filters

JSON filters on Insomnia are pretty useful, but there's some cases that aren't (nicely) covered by it. I have to regularly interact with APIs that return arrays of big JSON objects (40+ properties) of which I usually need a small subset of fields. JSON path allows you to do $.results[*]["asd","id"] but that prints an array with no keys which is confusing when the types of the fields are similar.
jq is really powerfull JSON processor which can transform just about any JSON input to any output you can imagine (while being really really fast). The query .results[] | {asd, id} would produce an array of objects with the proper keys, instead of simply the values.

Hello!
I'm using Insomnia at this moment and yeah I was surprised it's JSONPath which is used where https://stedolan.github.io/jq/ sounds to be a real competitor here.
I already use jq inside Sublime Text and it works like a charm!
It should be considered by the Insomnia Team. :)

I attempted to write a plugin that would use jq instead of JSONPath, but there were errors because jsonpath is so integrated throughout Insomnia.
Wish we could have the option to switch between both jq or jsonpath. If you look at this plugin it is importing the JSONpath module here.
Would be nice if we could actually require node-jq and pass in jq queries to filter responses. @gschier  - is this something that is feasible or would it require a lot more rework since the response filter is hardcoded for jsonpath?
Also I opened this issue here regarding adding environment variables to the filter input box beneath the response. Seems like these two items would really be useful if we could get it implemented?

Another jq fan - I would like to add that it would be great to have the curl code generator produce valid code for jq optionally!

maybe helpful: https://github.com/stedolan/jq/wiki/For-JSONPath-users

I'm gonna resurrect this and commandeer it keeping track of these things.  In my mind, since the jsonpath libraries have mostly been abandoned since the time they were first introduced into insomnia and jq has since come a long way, I think this is a viable thing to explore.

current issues that this would solve include:

https://github.com/Kong/insomnia/issues/3258

would like to keep this issue open if at all possible.  There has been a larger need to be able to use JQ within insomnia and think this would be an extremely valuable addition to this product.

3 years, 7 months and still open. It amazes me such obviously useful features need to take this long to "mature" for the devs to actually notice.

PR are welcome.

First step here is the ability to save a response as a variable.
Similar to how postman let's you just write JavaScript code to parse the response data because each response is automatically stored as a variable.
If we could somehow have an object that is storing the request and response with some sort of timestamp, then it would be easier to implement some form of jq extension to used against this object.
I personally would love to help implement this feature, but there's just to much involved in other areas of the code I'm not familiar with.
Greg originally said this would be pretty easy to implement years ago but then as he started to dig in, it turned out it was way more complicated than envisioned.
My suggestion would be to somehow start small and allow the response to be stored as a variable behind the scenes and then allow for some external pop-up window that will allow you to write custom parsing functions against that variable.

Keep alive 1 year later....


Organization API Tokens

Describe the solution you'd like
We would love to generate, manage and use Organization API Tokens rather than our own User API Tokens since we do a lot of AppCenter CLI work through our CI/CD.
App Tokens are not enough, as we use the token to build apps dynamically based off env etc.
Describe alternatives you've considered
We have a generic user account atm who has access to the organization, but there are some security concerns.
Additional context
We hopefully can use this via the CLI (request raised here): https://github.com/microsoft/appcenter-cli/issues/1030#issuecomment-680409305

@DmitriyKirakosyan @msftbot how come this was closed, was it implemented or just accidental auto-bot?

Thank you for the feature request! Currently, we are focusing on improving the reliability and performance of the service and new feature work is significantly reduced. To keep the team focused we are closing feature requests with no activity in the past 30-60 days. If you believe this is still relevant, feel free to create a new issue and tag this item so that we can review it. Sorry for the inconvenience.


Update GraalVM to 21.0

3KU

you need to create issue to the java bucket repo:
https://github.com/ScoopInstaller/Java

you need to create issue in java bucket repo:
https://github.com/ScoopInstaller/Java


[5.1] Running PHPUnit with processIsolation=true throws PHP Notice

When processIsolation attribute is changed from false to true in  phpunit.xml, running phpunit throws this error:
PHPUnit_Framework_Exception: PHP Notice:  Constant LARAVEL_START already defined in ./bootstrap/autoload.php on line 3
Notice: Constant LARAVEL_START already defined in ./bootstrap/autoload.php on line 3

phar:///usr/local/Cellar/phpunit/4.5.0/libexec/phpunit-4.5.0.phar/phpunit/TextUI/Command.php:152
phar:///usr/local/Cellar/phpunit/4.5.0/libexec/phpunit-4.5.0.phar/phpunit/TextUI/Command.php:104

FAILURES!

My current workaround is:
//File: bootstrap/autoload.php
<?php

if(!defined('LARAVEL_START'))
    define('LARAVEL_START', microtime(true));

I've noticed this too. Yeh, you need to just do that in your autoload.php.


Raise limit of 'list' sub-command

The list sub-command limits the number of rows that can be returned. For example:
https://github.com/ivcap-works/ivcap-cli/blob/d96c056af574f090be67fbce163e443fd08a6c8a/cmd/artifact.go#L137
As systems get larger, this limit become restrictive. An 'easy' solution is to raise the limit of returned results. A more elegant solution would be to provide users crude control over what results are returned (see #25).

That is primarily meant to protect the system and keep it responsive. There is always 'page' to page through the list.
We may increase that limit when we have a more efficient way to retrieve the list. RIght now, every item needs to be verified by OPA to ensure that the requester can actually see it

May revisit later. The IVCAP client-sdk for instance takes care of that in the background with the user only seeing an iterator


Add Zerocar application for showcase.

Newly created mobile application for both iOS and Android

By analyzing the blame information on this pull request, we identified @lacker and @myusuf3 to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

@alma-socar updated the pull request.

@alma-socar updated the pull request.

Thanks for submitting this pull request! According to the showcase guidelines, infoLink should refer to one of:
1/ An English-language news article discussing the app, built either by a funded startup or for a public company
2/ An English-language technical blog post by the app creators specifically discussing React Native
It looks like this doesn't match the criteria, so I'm going to close this pull request. But please feel free to reopen it if there is updated link information in the future.


It doesn't update updated_at field

Laravel-mongodb Version: 3.9.1
PHP Version: 8.1.7

Description:
When performing update or increment on Invoice model, it doesn't update updated_at field. Instead it adds new property with invoices.updated_at name and correct date.
Model has:
protected $collection = 'invoices';

protected $connection = 'mongodb';

I have a custom query builder which extended Illuminate\Database\Eloquent\Builder, so changed to Jenssegers\Mongodb\Eloquent\Builder and it works as it should :)


[REQUEST] Implement a targeting mechanism.

Is your feature request related to a problem? Please describe.
Ideally it would be possible to build pipelines irrespective of the write configuration applied. Ideally we don't need to pass to include a GraphDatabaseWriter to the API, instead our nodestream.yaml file can house database configurations and we can target a particular database when calling run.  This approach has the following advantages:

Allows pipelines to de developed independent of the database target.
Enables plugins to "hook into" the targeting api for more complex features.
Significantly reduces the need for plugins to rely on config for databases only. Allows plugins to be decoupled from db provider.

Describe the solution you'd like
Step 1 - Introduce a targets section in the nodestream.yaml
file:
# nodestream.yaml
# scope, config sections omitted
targets:
   my-db:
      database: neo4j
      uri: localhost:7687
      username: neo4j
      password: neo4j

Note, for this example i've hard coded values, but these should work the way config blocks do where it accepts reading from environment and other argument resolvers.
Step 2 - Remove the requirement to add a database writer.
- - implementation: nodestream.databases:GraphDatabaseWriter
-  arguments:
-    batch_size: 1000
-    database: !config neo4j_database
-   uri: !config neo4j_uri
-    username: !config neo4j_username
-    password: !config neo4j_password

Note: I think it should still be allowed to add this block, but no longer required.
Step 3 - Specify targets at run time
nodetream run my-pipeline --target my-db

I like this feature a lot.  Throw back to another system that I like a lot... ;)

Stabilized / Released  in 0.9


Move pod registration from stage1 to stage0

With token based auth, there's no longer a dependency
on networking (which is set up in stage1). It makes sense
to do registration in stage0 as it's a generic operation.
Also, registration is now performed by default. It can be
disabled by --mds-regiser=false. Unregistration is handled
by the GC.

As we are moving from fork/exec to just exec model for private networking, it helps to separate this out into a separate PR.

Is this PR a prerequisite for #1054 or is it orthogonal?
It would be good to have some functional tests with --mds-regiser=true for the metadata service. It would require the tests to start the metadata service on a different socket than the system one: something like ./bin/rkt  metadata-service --listen-socket=/tmp/rkt-tests-xxxxxxx.sock?

I agree that tests around --mds-register=true (which is the default) would be great. I was somewhat in a hurry to get this and https://github.com/coreos/rkt/issues/1054 out before 0.7. But I'll try to figure out how the functional test framework works and add those.

@alban I added --mds-register=true to one of the tests (TestPodManifest) although I didn't point to a tmp socket -- it still uses well known /run/rkt/metadata.sock.

I agree that tests around --mds-register=true (which is the default) would be great. I was somewhat in a hurry to get this and https://github.com/coreos/rkt/issues/1054 out before 0.7. But I'll try to figure out how the functional test framework works and add those.

Right, maybe the tests can be done in another PR?

@alban I added --mds-register=true to one of the tests (TestPodManifest) although I didn't point to a tmp socket -- it still uses well known /run/rkt/metadata.sock.

On Semaphore, it might not be an issue but I would like the tests not to use the system files, so that we can run tests in parallel, or run the tests in parallel of an installed rkt.  Here it uses  /run/rkt/metadata.sock and port 2375. The former is not configurable. Since we already have --dir, --local-config etc., I would like to add:
      --run-dir="/run/rkt": rkt run directory for transient state files

I am giving it a try, but my attempt does not work yet.

I put my attempt to get the tests running without using the system socket on this branch: #1106

@alban PTAL

LGTM

LGTM.
Should we make a follow-up issue to tell the user that she can disable metadata service registration when the metadata service is not running?
Right now the message just points to the metadata-service docs and it doesn't even mention that possibility:
> sudo rkt --insecure-skip-verify run --interactive docker://busybox
rkt: found image in local store, skipping fetching from docker://busybox
2015/07/09 12:51:17 Preparing stage1
2015/07/09 12:51:17 Loading image sha512-9d710100ce6769569b12a39100318bfed5b6b98115ee6315b724c11658db3751
2015/07/09 12:51:17 Writing pod manifest
2015/07/09 12:51:17 Setting up stage1
2015/07/09 12:51:17 Writing image manifest
2015/07/09 12:51:17 Wrote filesystem to /var/lib/rkt/pods/run/24f8ceb2-4350-4a38-810a-cf0b5a6c9cc2
2015/07/09 12:51:17 Writing image manifest
2015/07/09 12:51:17 Pivoting to filesystem /var/lib/rkt/pods/run/24f8ceb2-4350-4a38-810a-cf0b5a6c9cc2
2015/07/09 12:51:17 Execing /init
2015/07/09 12:51:17 Put http://unixsock/pods/24f8ceb2-4350-4a38-810a-cf0b5a6c9cc2?token=f0d1cf8883b8858cdd295e4d265a80db: dial unix /run/rkt/metadata-svc.sock: no such file or directory
2015/07/09 12:51:18 Put http://unixsock/pods/24f8ceb2-4350-4a38-810a-cf0b5a6c9cc2?token=f0d1cf8883b8858cdd295e4d265a80db: dial unix /run/rkt/metadata-svc.sock: no such file or directory
2015/07/09 12:51:19 Put http://unixsock/pods/24f8ceb2-4350-4a38-810a-cf0b5a6c9cc2?token=f0d1cf8883b8858cdd295e4d265a80db: dial unix /run/rkt/metadata-svc.sock: no such file or directory
2015/07/09 12:51:20 failed to register the pod: failed to register pod with metadata svc: could not reach the metadata service.
Make sure metadata service is currently running.
For more information on running metadata service,
see https://github.com/coreos/rkt/blob/master/Documentation/metadata-service.md

Should we make a follow-up issue to tell the user that she can disable metadata service registration when the metadata service is not running?

@iaguis :+1:

OK, so I'm merging this. Follow-up issue: #1111 (cool number!)


Web support

It would be delightful if this package was supported for web. I checked and the dependencies e.g. hive, connectivity_plus, graphql, appear to be supported.
Is there a reason this is not available? What can I do to contributed?

It should support web.

It is https://lnmetrics.info

It does ... it just was not marked as such on pub.
Thanks for the excellent library.


Babylon-alphanet Github workflows

@xstelea  We are making changes to github workflows.

we have removed the ability to publish using any branch.
Instead you would need to create a tag . It could be release tag like 1.0.0 or pre-release tag like 1.0.0-rc.1.  For pre-release you have checkbox marked as pre-release when creating github release.

Let us know if you need more information or walkthrough of how this is done


Update URLs to reflect the updated integration manual

We are updating the WTC URL for our staging environment and this PR captures those changes.

@matthewshirley We will want to update the integration manual first and notify the resource providers of this upcoming change before merging this in just not to scare anyone.

@matthewshirley We will want to update the integration manual first and notify the resource providers of this upcoming change before merging this in just not to scare anyone.

@ryanluker The manual is updated although needs distribution once we have both domains pointed correctly. This PR will be ready to merge once that happens.

@ryanluker The manual is updated although needs distribution once we have both domains pointed correctly. This PR will be ready to merge once that happens.

@matthewshirley Excellent! Let's discuss via slack the timeline we want to give for this swap over.

@matthewshirley Excellent! Let's discuss via slack the timeline we want to give for this swap over.


Add missing dash to a closing comment tag

It wasn't breaking anything in practice, but I noticed a closing comment tag had -> instead of -->.

Thanks for the find.

It's literally the least I could do. Thanks for building the templates.


background callbacks aren't aware of which job they're waiting for - will wait forever

cache = cm()
df = cache.grabm(func=cmq, repos=repolist)
while df is None:
     time.sleep(1.0)
     df = cache.grabm(func=cmq, repos=repolist)

Will wait forever if the waited-on query fails. Need a way to cancel the callback on failure.
One idea- in 'wait_queries', can pass values to a dcc.Store that acts as the signal-passing interface for the queries that fail. All of the background callbacks that rely on that query will register changes to that dcc.Store as cancellation triggers.

Will fix #440, removing that issue.

I think that the following would be a good solution:
index_callbacks.py/run_queries should return a data structure of of the jobs respective of each of the queries that are run.
{f.__name__: job_id for f, job_id in zip(funcs, jobs)}

This should then be an input to all of the background callbacks. These background callbacks would then be able to wait on the status of the job that their data is coming from.
The job can have states of queued, started, succeeded, or failed.
If the job doesn't exist in the queue, we can assume that it completed (or failed) and was forgotten in the function wait_queries. In this case, we can just check that data exists in cache for the repos that the background callback needs and proceed if so. Otherwise, we know there was an asynchronous programming glitch, or an uncaught failure, and the background callback can elegantly fail.

Will be creating an issue in the Plotly forum to try to get Celery to retry background tasks.

https://github.com/plotly/dash/issues/2725


Error 255 when upgrade the ghost

Hi, all:
I upgrade the ghost from 0.3.3 to 0.5.8 according the document given by http://support.ghost.org/how-to-upgrade/
1.Download the latest version of Ghost from Ghost.org
2.Extract the zip file to a temporary location
3.Delete existing index.js and package.json then copy new index.js and package.json files to the same directory.
4.Next, delete the old core directory completely, and then put the new core directory in its place.
5.For releases which include update to Casper (the default theme), delete the old content/themes/casper directory and put the new one its place
6.Run npm install --production
7.Finally, Restart Ghost so that the changes take effect
Then, when i use "npm start" to start my ghost, there is an error happen, here is log:
<EMAIL_ADDRESS>start /home/xiaohuolu/blog
node index
Migrations: Database upgrade required from version 000 to 003
Migrations: Creating database backup
Migrations: Database backup written to: /home/xiaohuolu/blog/content/data/vinllen-chens-blog.ghost.2015-01-13.json
Migrations: Running migrations
Migrations: Creating table: permissions_apps
Migrations: Creating table: apps
Migrations: Creating table: app_settings
Migrations: Creating table: app_fields
Migrations: Creating table: clients
Migrations: Creating table: accesstokens
Migrations: Creating table: refreshtokens
Migrations: Adding column: tags.image
Migrations: Adding column: tags.hidden
Migrations: Updating fixtures
Migrations: Upgrading fixtures
Migrations: Adding client fixture
Migrations: Adding owner role fixture
Migrations: Upgrading permissions
Migrations: Populating permissions
Migrations: Removing old permissions
Migrations: Converting admin to owner
Migrations: Populating default settings
Migrations: Complete
ERROR: (Code: EACCES)
There was an error starting your server.
Please use the error code above to search for a solution.
npm ERR! weird error 255
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
Thanks for anyone's reply

Hi there @vinllen, sorry to hear you're having trouble. As this is an installation / upgrade question, please could you move it to our forum?  We use GitHub as an issue tracker for developers.
Thank you :+1:

OK,sorry


Null pointer dereference in forwarders.Forward

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I tried to follow README.md instructions to deploy the operator and came across a SIGSEGV crash:
$ kubectl kustomize https://github.com/Kong/kubernetes-ingress-controller/config/crd | kubectl apply -f -
$ kubectl kustomize https://github.com/kubernetes-sigs/gateway-api/config/crd | kubectl apply -f -
$ kubectl kustomize https://github.com/kong/gateway-operator/config/default | kubectl apply -f -
$ # wait
$ kubectl logs pod/gateway-operator-controller-manager-79d77768b5-4d7vr -n kong-system
{"level":"info","ts":1661254855.123566,"logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":"<IP_ADDRESS>:8080"}
{"level":"info","ts":1661254855.1248488,"logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate"}
{"level":"info","ts":1661254855.1249127,"logger":"setup","msg":"start webhook server","listen_address":":9443"}
{"level":"info","ts":1661254855.1249454,"logger":"setup","msg":"starting anonymous reports"}
W0823 11:40:55.125102       1 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
{"level":"info","ts":1661254855.197499,"logger":"setup","msg":"starting telemetry manager"}
{"level":"info","ts":1661254855.197544,"logger":"setup","msg":"starting manager"}
{"level":"info","ts":1661254855.1977184,"msg":"Starting server","kind":"health probe","addr":"[::]:8081"}
{"level":"info","ts":1661254855.197718,"msg":"Starting server","path":"/metrics","kind":"metrics","addr":"<IP_ADDRESS>:8080"}
{"level":"info","ts":1661254855.1977065,"logger":"controller-runtime.webhook.webhooks","msg":"Starting webhook server"}
I0823 11:40:55.197790       1 leaderelection.go:248] attempting to acquire leader lease kong-system/a7feedc84.konghq.com...
{"level":"info","ts":1661254855.197934,"logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate"}
{"level":"info","ts":1661254855.198004,"logger":"controller-runtime.certwatcher","msg":"Starting certificate watcher"}
{"level":"info","ts":1661254855.1979928,"logger":"controller-runtime.webhook","msg":"Serving webhook server","host":"","port":9443}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x15d909e]

goroutine 234 [running]:
github.com/kong/kubernetes-telemetry/pkg/forwarders.(*tlsForwarder).Forward(0x0, {0x1c71e70?, 0xc000642280?}, {0xc000272240, 0x117, 0x120})
	/go/pkg/mod/github.com/kong/kubernetes-telemetry@v0.0.0-20220819082419-d27dcce6d46c/pkg/forwarders/tlsforwarder.go:66 +0x5e
github.com/kong/kubernetes-telemetry/pkg/telemetry.NewConsumer.func1()
	/go/pkg/mod/github.com/kong/kubernetes-telemetry@v0.0.0-20220819082419-d27dcce6d46c/pkg/telemetry/consumer.go:49 +0x1c3
created by github.com/kong/kubernetes-telemetry/pkg/telemetry.NewConsumer
	/go/pkg/mod/github.com/kong/kubernetes-telemetry@v0.0.0-20220819082419-d27dcce6d46c/pkg/telemetry/consumer.go:35 +0x171

Expected Behavior
No segfault on operator startup :smile_cat:
Steps To Reproduce

Follow the deployment instructions from README.md verbatim
See that the gateway-operator-controller-manager does not come up and segfaults instead

Kong Ingress Controller version
Operator efea71c1b334f4eb5d9be0e845127f54a2600834
KIC n/a

Kubernetes version
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.4", GitCommit:"95ee5ab382d64cfe6c28967f36b53970b8374491", GitTreeState:"clean", BuildDate:"2022-08-18T02:29:34Z", GoVersion:"go1.18.5", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.3-2+63243a96d1c393", GitCommit:"63243a96d1c3932c704cf0625f5834411bc3b2e6", GitTreeState:"clean", BuildDate:"2022-07-19T17:57:14Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"}

Anything else?
No response

Root cause analysis:

I ran this on microk8s and I forgot to enable the dns addon.
This caused NewTLSForwarder https://github.com/Kong/kubernetes-telemetry/blob/d27dcce6d46c05f8cb139275c6abf3e20e1ffce0/pkg/forwarders/tlsforwarder.go#L32 to fail with silent error and return nil.
The nil was passed to NewConsumer which spawned a goroutine where the eventual nil dereference happened.

After I ran microk8s enable dns, KGO starts up just fine. The failure mode in case of DNS unavailability doesn't look right, though :trollface:.

https://github.com/Kong/kubernetes-telemetry/pull/60 should fix it, i.e. report the error.


refactor MultiStats to es2015

What kind of change does this PR introduce?
Refactor code to es2015
Did you add tests for your changes?
no logic change - run the tests locally and passed.
If relevant, link to documentation update:

Summary
I extend MultiStats from Stats to resolve the usage of toString - hopefully thats accepted solution.
Does this PR introduce a breaking change?
no
Other information

Added tests to make all the required checks to pass - someone can PR or merge? Thanks!

Thanks


fix #9, set an id for the inner UltraViewPagerView to work with FragmentPagerAdapter.

The UltraViewPagerView needs an id to work with FragmentPagerAdapter, otherwise an IllegalStateException with message "ViewPager with adapter XXX requires a view id" would be thrown by FragmentPagerAdapter.

建议通过 com.tmall.ultraviewpager.UltraViewPager#getViewPager 设置id


ENH: ability to get z-coordinates in get_coordinates

I did this now by adding an include_z=True/False keyword. This means that the user needs to choose whether to get z coordinates for the full array or not (regardless whether there are geometries with z or not).
I think this is the cleanest way to do this at this level (it can then be up to the user to detect if there are geometries with z values or not, to set the keyword as desired).
Related to https://github.com/pygeos/pygeos/issues/131, but only did the "get_coordinates" part (not yet set_coordinates for a full apply roundtrip).

@caspervdw I notice now that you propose a ndim=2/3 keyword in the issue (https://github.com/pygeos/pygeos/issues/131), that would be fine for me as well, open to keyword name changes.


⚠ Ixtanet SAT has degraded performance

In b3b3fcf, Ixtanet SAT ($MEDIA_SAT) experienced degraded performance:

HTTP code: 200
Response time: 20586 ms

Resolved: Ixtanet SAT performance has improved in 4d8ff82 after 290 days, 20 hours, 8 minutes.


Feature/update https setup readme

Motivation and context
The documentation section of https install is obsolete and incorrect. Acme.sh client must be used differently.
This section also requires some clean up.
How has this been tested?
That has been tested on a new virtual cloud instance once. Hope this prevent new users from wrong way in future. And will point existing users of described manual to right way.
Checklist

[X] I submit my changes into the develop branch
[X] I have added description of my changes into CHANGELOG file
[X] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[X] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

@vskubriev Thank you for the contribution!

@vskubriev Thank you for the contribution!

@vskubriev Could you resolve conflicts?

@vskubriev Could you resolve conflicts?

@vskubriev Could you resolve conflicts?

Sure. I will do it soon

@vskubriev Could you resolve conflicts?

Sure. I will do it soon

Coverage remained the same at 65.179% when pulling 421f0c09590a367c789f9e16157ec548c4c06452 on vskubriev:feature/update_https_setup_readme into 1ccc71f12e90098c214d8e2f0cb8d133eb488c92 on openvinotoolkit:develop.

Coverage remained the same at 65.179% when pulling 421f0c09590a367c789f9e16157ec548c4c06452 on vskubriev:feature/update_https_setup_readme into 1ccc71f12e90098c214d8e2f0cb8d133eb488c92 on openvinotoolkit:develop.

@azhavoro hope that's all. please review again

@azhavoro hope that's all. please review again

@nmanovic is there all done ?
I can do rebase with current develop branch.

@nmanovic is there all done ?
I can do rebase with current develop branch.

@azhavoro , could you please review?

@azhavoro , could you please review?


(BKR-293) PowerShell Hangs on Windows 2008 R2 WMF 5.0 Beta

beaker powershell regressions discovered while working on this bug,
mostly around ensuring that we are using the correct path separator on
pswindowns machines

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/1369/
Test PASSed.


Onboarding: Add interactive walkthrough

Description
part of #3401
This PR adds an interactive walkthrough (see demo)
https://github.com/sourcegraph/cody/assets/9516420/244d14f1-329b-4f47-b5f0-225d68c7beb6
Test plan

Click "Tutorial" in the Cody sidebar
Check the tutorial works as expected
Check autocomplete/chat/edit functions as expected outside of the tutorial

Note: This is feature flagged off right now, so there is low risk to this change

@toolmantim Thanks for the feedback! I'll make some updates

Why the aggressive line wrap on the python comments? Could we expand it to 80 characters?

Yeah I can update this, I haven't yet moved this to a side-by-side view but it should still be fine when we do that

bad bot

@sourcegraph/cody-security Here is the change:
https://github.com/sourcegraph/cody/pull/3705/files#diff-b57bb35f8b32a3f9ad8101ca4767954619e39bec60a0d8669eeab0ba681c42b9R38-R40
It's just that we're pre-filling the users input for them, so we use unsafe_fromUserQuery for this

@umpox Haha sorry I think I should make it so it only creates one github comment per PR (😬). The usage seems safe though if we know the prompt is static we don't have to mark it as unsafe.

@abeatrix Thank you! I'll work on handling a runaway edit better, interesting that it got stuck on formatting for you 🤔 I wonder if you have a Python formatter installed that is causing issues? It should definitely work when you click "Skip" though, I'll look into that.
I think that issue causes the other issues, I'll look into it

I'm getting this notification when I start the Tutorial, is this expected?

I think this might be just for local dev? For users it'll be opening in the installed Cody dir, which won't be a git dir 🤔 I'll test on a fresh install of VS Code


Move benchmark contracts to era_vm

This PR moves custom made benchmark contracts sources from zksync-era to era_vm, so its easier to modify them.
It also adds a new benchmark result processing script made in python, which allows us to easily aggregate all benchmark execution times.

Just to make sure, we should check the generated assembly for the contracts to confirm they do what we think they do.

LGTM


src: update scheduledJobs in all cases

Whether a Job has been created via scheduleJob or Job.schedule.
Add a new test.

Tries to fix https://github.com/tejasmanohar/node-schedule/issues/173

looks right to me but haven't gotten a chance to test it yet @santigimeno

yeah this works for me.

Merged: https://github.com/tejasmanohar/node-schedule/commit/1e7e09bfd8cf3a1538be803e10f29e795603602c
Cheers


Dead Link: 2D Splatter Effects Using the Stencil Buffer

The URL for the 2D Splatter Effects Using the Stencil Buffer is dead:
https://nielson.io/2015/12/splatter-effects-in-unity-using-the-stencil-buffer

Good catch. Thanks!


ReferenceError when using junit reporter in 0.11.0

After the upgrade to 0.11.0, I am getting the following error when trying to use the junit reporter. When I downgrade back to 0.10.0, I not longer get the error.
ReferenceError: ejs:2
    1| <?xml version="1.0" encoding="UTF-8" ?>
 >> 2| <% for (var i=0; i < suites.length; i++) { %>
    3|   <% var suite=suites[i]; %>
    4|   <testsuite name="<%= suite.name %>"
    5|              errors="<%= suite.errorCount %>"

suites is not defined
    at eval (eval at compile (/Users/andrew.eisenberg/Eclipse/git-repos/baalm-face/node_modules/ejs/lib/ejs.js:482:12), <anonymous>:11:26)
    at returnedFn (/Users/andrew.eisenberg/Eclipse/git-repos/baalm-face/node_modules/ejs/lib/ejs.js:513:17)
    at Object.exports.render (/Users/andrew.eisenberg/Eclipse/git-repos/baalm-face/node_modules/ejs/lib/ejs.js:316:37)
    at /Users/andrew.eisenberg/Eclipse/git-repos/baalm-face/node_modules/nodeunit/lib/reporters/junit.js:150:44
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:416:3)

I will try to create a simple project that reproduces the error.

I am attaching a simple project. To reproduce:

tar xvf node-error.zip (yes, this is a TAR file, not a ZIP file. github does not let me upload files with *.tar extension)
cd node-error
npm i
npm test

The test fails with the error above.
nodeunit-error.zip

I have a fix in the PR. Should I create a test for this? I do not see any unit tests for the reporters.

Wonder if someone could take a look at this. The fix is simple. This bug is preventing us from upgrading to the latest version.

This change is merged. Issue is closed.


Pyusb-No backend available error

I am trying to find USB Mass Storage devices attached to my PC using usb.core.find() from command prompt in windows 7. I am using Python 3.7, pyusb 1.02 and libusb1.0.22b1. After importing usb.core, I am using the above mentioned command and I am getting the following error:
File "C:...my_path....\usb\core.py", line 1263, in findusb.core.No BackendError: NO backend available
I read core.py file and understood that this is because core.py is not able to access libusb0.py, libusb1.py or openusb which are located in a folder named 'backend' which is in the same folder as core.py.
Could any one tell me if my understanding is correct or not. If yes,please suggest a way to make libusb1.py accessible from core.py.(I 've tried adding the path to environment variableand didn;t work) and please correct me if I am wrong and suggest the necessary changes.

Hi,
Same error for me.
I'm on Python 3.6.6 (Windows 10) and using winpython.
Fabrice

Hi,
Ok, thanks.
Sorry for my late response.
F.

I have install pyusb via pip and also installed libusb1 via pip and I am getting this error as well.
Mac OS Mojave 10.14.6
Python 3.7.4
Thanks for any help!

I have install pyusb via pip and also installed libusb1 via pip and I am getting this error as well.
Mac OS Mojave 10.14.6
Python 3.7.4

same issue here ... the library on mac is called libusb-1.0.0.dylib
Can be a name related issue ?

Workaround for MacOS : create a symlink named libusb-1.0.dylib linked to the right library libusb-1.0.0.dylib
 rwxr-xr-x   1 Stock  admin    99880 10 Set 18:49 libusb-1.0.0.dylib*
lrwxr-xr-x   1 Stock  admin       18 10 Set 19:28 libusb-1.0.dylib@ -> libusb-1.0.0.dylib

or as suggested by the tutorial page :
>>> import usb.core
>>> import usb.backend.libusb1
>>>
>>> backend = usb.backend.libusb1.get_backend(find_library=lambda x: "/usr/lib/libusb-1.0.0.dylib")
>>> dev     = usb.core.find(..., backend=backend)

One Copy and paste this code will work.
import sys
import usb.backend.libusb1
from usb import util
path = sys.executable
path = path.replace("python.exe", "")
def connect_to_device(ser_no):
backend = usb.backend.libusb1.get_backend(find_library=lambda
x: path + "Lib/site-packages/libusb/_platform/_windows/x64" + "/libusb-1.0.dll")  # Lib\site-packages\libusb_platform_windows\x64
print(backend)
dev = usb.core.find(find_all=True, idVendor=your_vendorid, idProduct=your_productid, backend=backend)
cc_dev = None
try:
for d in dev:
# print(d)
        print("Serno:" + d.serial_number)
        if d.serial_number == ser_no:
            cc_dev = d

except Exception as e:
    print(str(e))
return cc_dev

@premananda8, you forgot to mention that this requires the libusb module to be installed.
But it's an interesting idea!

Please use pyusb mailing list for technical support.

download the latest libusb Download libusb

Copy MS32\dll\libusb-1.0.dll to C:\Windows\SysWOW64

Copy MS64\dll\libusb-1.0.dll to C:\Windows\System32

pip install libusb

This method works for me.

I just ran into this.  It turns out on mac ctypes.util.find_library doesn't search LD_LIBRARY_PATH and instead you need to update DYLD_LIBRARY_PATH to include your homebrew /lib directory.  Setting that environment variable correctly lets you fix the error without changing your python code.

Reopen this, just use for reference for the users.

@mcuee
We have a FAQ, perhaps we should just link to it more often.  This also applies to your edit to the Wiki.
In fact, I think we should just disable the Wiki.  It suggests that such type of documentation is there, when it isn't (it is in docs/faq,tutorial}.rst), and the only other reason to have it would be for user-contributed documentation, which we don't have.

@jonasmalacofilho Great point. We meed mention FAQ and the Tutorial more often.
Wiki has been disabled.

I have also sent a post to the mailing list to raise awareness to the FAQ/Tutorial.


Keeping test flow separate than run flow.

Hi Desmond/Steve,
Thanks for setting up the compose flow. In this flow I found that for PnR compiler installation I need to do have googletest which is an extra task while installing the flow on a standalone server. Can we keep the test flow separate than running flow?
Kunal

No, it is important that we have googletest embedded in our C++ code. I don’t think it should be separated out.
You’ll need to install it, which is easy if you have cmake.
Look at the Dockerfile in the Build directory for the installation steps.
From: kkunal1408<EMAIL_ADDRESS>Sent: Tuesday, September 17, 2019 11:42 PM
To: ALIGN-analoglayout/ALIGN-public<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [ALIGN-analoglayout/ALIGN-public] Keeping test flow separate than run flow. (#171)
Hi Desmond/Steve,
Thanks for setting up the compose flow. In this flow I found that for PnR compiler installation I need to do have googletest which is an extra task while installing the flow on a standalone server. Can we keep the test flow separate than running flow?
Kunal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ALIGN-analoglayout/ALIGN-public/issues/171?email_source=notifications&email_token=AALRI7VJIICE6IAHRPBPAJ3QKHEUDA5CNFSM4IX2ES5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HMBNLNA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AALRI7QBOWI4VQ2JLC2DDRLQKHEUDANCNFSM4IX2ES5A.


[BUG] Change GitHub links & Contact

Description
So currently we have Links inside of our project which takes us to the GitHub repo of this project so that the users can contribute to it. However that link is not valid anymore. Also we have links in the footer to contact us.
Here's what that needs to be done:

Modify the github Links to the Link of this repository.
Remove all the Contact Us.

[!NOTE]
This issue is a https://github.com/MilanCommunity/Milan/labels/good first issue , if you are a experienced developer please skip this one.

Browser 🥦
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (blank for no).

Can I work on this

📚 Info

[!NOTE]
Branch to make a PR/Fork would be the beta

Hi @motuncoded, you can start working on the issue. Assigning it to you.  Please maintain structure, use conventional pull request titles, and avoid spam to avoid closure or bans.
📑 Checklist

Setup Guide to understand the setup and the .env(s) for development locally.
Contribution Guide to understand what type of PRs are accepted and how to make them.
Workflow Guide to understand what goes behind the scene, and why your PR doesn't get merged immediately.

Do drop a star, Happy Opensource 💚

Hi @tamalCodes , This is still open, can I work on this?

Currently working on it will send the PR soon
On Fri, Aug 18, 2023, 7:16 AM Priyanshu Tiwari @.***>
wrote:

Hi @tamalCodes https://github.com/tamalCodes , This is still open, can
I work on this?
—
Reply to this email directly, view it on GitHub
https://github.com/MilanCommunity/Milan/issues/1037#issuecomment-1683406978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQGVYP2EXF636XWWXYV3WEDXV4CDTANCNFSM6AAAAAA3RFMYDI
.
You are receiving this because you were assigned.Message ID:
@.***>

here is what I did

Is this right thing ?

Hi @motuncoded , looks good to me - always make a PR and continue working and pushing commits there itself. Easier to track and converse.

Can we add other social links if available

Can we add other social links if available

As of now there ar no social links except Twitter and GitHub.

Try changing Twitter to the new logo and name.
Good Luck

Thanks for the tip! Will do that
On Mon, Aug 21, 2023, 8:33 PM FATEH BEDDIAF @.***>
wrote:

Try changing Twitter to the new logo and name.
Good Luck
—
Reply to this email directly, view it on GitHub
https://github.com/MilanCommunity/Milan/issues/1037#issuecomment-1686922663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQGVYP3QUFQUBJ54CO3V7H3XWOZZ7ANCNFSM6AAAAAA3RFMYDI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @motuncoded you have made 2 PRs for one single issue, can you please close one of them?

ok
On Tue, Aug 22, 2023 at 11:33 AM Tamal Das @.***> wrote:

Hi @motuncoded https://github.com/motuncoded you have made 2 PRs for
one single issue, can you please close one of them?
[image: image]
https://user-images.githubusercontent.com/72851613/262323170-64334678-a7f0-431f-9a37-d7935344ce23.png
—
Reply to this email directly, view it on GitHub
https://github.com/MilanCommunity/Milan/issues/1037#issuecomment-1687931892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQGVYPY6R6NQEPEJI74EOXTXWSDJJANCNFSM6AAAAAA3RFMYDI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Integration of Material UI icons + !serverinfo UI

Okay, here we go as usual...

Server information now accessible by players (!serverinfo/!serverdetails)

Workspace tab as well as the two title buttons that open the game explorer and performance stats are seen by admins only.
Only admins can see the levels/ranks of people listed under the Players tab.

Advanced server performance stats (:perfstats/:performancestats/:serverstats)

Material icons for UI

Easily implement Material UI icons in Adonis by server/client.MatIcons[name]. We now have unique window icons and search bar icons. Here are a few examples:

In-game icon gallery (!materialicons/!maticons)

This is terrible at the moment by my standards and will be refined.

fancy but alas... conflicts qq

It looks like the conflicts can be resolved via the normal web ui on GitHub. I was going to resolve them but I'm not 100% on what to remove or keep so when you get a chance just take a look and resolve those and I'll merge this in cuz looks hot

conflicts doin dirty

Also should still consider removing the icon list command. I can't think of any practical use of them in-game

I've practically abandoned/forgotten about this PR over the weeks but anyways...

material icons list command removed
I may attempt to resolve the accumulated conflicts in these few days (no promises)

The conflicts have been resolved. And hope I didn't make any fatal mistake in the process.


General Scrambler

A general function / module that will scramble any size "normal" cube

In the Cogs folder there is a file called scrambles.py. For whoever starts the command first, you or me, put the code where the comment is and set it equal to the variable used at the end of the chunk.

So you did forget to push haha.

I'll add it to cogs.

I'll work on this. I am going to try to make a function that can have parameters to pass in length and cube size. This will work for a number of puzzles but not all. As they get bigger and into different shapes they gain a number of different moves possible.

Finished. With the new scramble function, new components, moves, and directions can be added for different puzzles


[BEAM-9602] Add timer family support for python SDK

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @robertwb @boyuanzz

Rather than having a parallel path for TimerSpec and TimerFamilySpec throughout the whole stack, could we have only TimerParam right at the top which translates everything to a TimerFamilySpec and treat everything as timer families from there on?

I was thinking about this and the more generic question for me is do we want to keep both original timer API and dynamic timer API. Overall the old static timer is a special case of dynamic timer but meanwhile we need to make sure we don't break existing usages.

Rather than having a parallel path for TimerSpec and TimerFamilySpec throughout the whole stack, could we have only TimerParam right at the top which translates everything to a TimerFamilySpec and treat everything as timer families from there on?

yeah I think the main consideration is what Boyuan commented, and also whether we should unify the API of RuntimeTimer vs. RuntimeTimerFamily. For RuntimeTimer previously we don't offer an API such as timer.get('tag').set() or timer.get('tag').clear() as we need for the dynamic timer. If we unifies APIs, we'll always have a dynamic timer and it offers such APIs to have backward compatibility:

get('tag').set()
get('tag').clear()
set()
clear()
To me having set() and clear() directly on a dynamic timer (and implicitly using empty tag) can be a little bit confusing.

Rather than having a parallel path for TimerSpec and TimerFamilySpec throughout the whole stack, could we have only TimerParam right at the top which translates everything to a TimerFamilySpec and treat everything as timer families from there on?

yeah I think the main consideration is what Boyuan commented, and also whether we should unify the API of RuntimeTimer vs. RuntimeTimerFamily. For RuntimeTimer previously we don't offer an API such as timer.get('tag').set() or timer.get('tag').clear() as we need for the dynamic timer. If we unifies APIs, we'll always have a dynamic timer and it offers such APIs to have backward compatibility:

get('tag').set()
get('tag').clear()
set()
clear()
To me having set() and clear() directly on a dynamic timer (and implicitly using empty tag) can be a little bit confusing.

We can always unify the implementation details(translating everything into TimerFamilySpec) for timer and timer family since they are not visible to API users. Some advantages for keeping both TimerSpec and TimerFamilySpec as use-faced API are:

It's clear for API user to know what kind of timers is using.
It keeps the same terminology as in Java SDK.
@robertwb, are you proposing to use TimerParam for both TimerSpec and TimerFamilySpec and use TimerFamilySpec only in implementation details?

I think we can still remove TimerFamilySpec and just use TimerSpec for backward compatibility. But it's probably better to keep both TimerParam and TimerFamilyParam so we know what runtime api to provide in the DoFn for the timer object.

Run Python PreCommit

It would be nice to also update https://beam.apache.org/documentation/programming-guide/#state-and-timers with dynamic timer section.

yeah I'm planning to do that later once this PR is finalized.


Add caret key

This fixes #680
It is rather old but it took some time for the winit changes to get into master + get the version bump into glutin.
Ref: https://github.com/tomaka/winit/pull/380
It allows on my germany keyboard to enter ^ (Caret) with the given configuration:
  - { key: Caret,                         chars: "\x5e"                          }

Mainly created to use VIM like I used to :-D

Thanks!


Revert "To disable Plugin"

This reverts commit e6c0772362385cf059b15e6e71a6603df636701e.

@halton
Revert to unify the build flag


Return faild to default connection

https://github.com/fintech-fab/laravel-queue-rabbitmq/blob/v4.2/src/FintechFab/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php#L89
Queue::later($delay, $job, $data, $this->getQueue());
to
Queue::connection($connection)->later($delay, $job, $data, $this->getQueue());
and push - same

Merged and released. Thank you.


Http fixes

Fix wrong vector usage on server (it was crashing when receiving multiple requests)
Notify curl wherever their file descriptors have something to do
Add function to escape strings (url encoding)
Add common status code related with redirect
Handle cookies, postdata and get arguments on server

Btw, It would be nice to merge this commits ASAP. I have a url contructor node that can make good use of the escape string function.

lgtm

merged with the suggestion


View Employees By Manager

View Employees By Manager
User Story
AS A business owner
I WANT to be able to view and manage the departments, roles, and employees in my company
SO THAT I can organize and plan my business
Acceptance Criteria
GIVEN a command-line application that accepts user input
WHEN I choose 'View employees by manager'
THEN I am presented with all of the employees who report to that manager.

This has been completed


Prepare 1.17.0 release

What does this PR do?
This PR prepares 1.17.0 release.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/1.17.0@65a52f4). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                @@
##             release/1.17.0    #1247   +/-   ##
=================================================
  Coverage                  ?   82.02%
=================================================
  Files                     ?      361
  Lines                     ?    12827
  Branches                  ?     2152
=================================================
  Hits                      ?    10521
  Misses                    ?     1651
  Partials                  ?      655


rename go module name

ref: https://github.com/stolostron/backlog/issues/25025
Signed-off-by: clyang82<EMAIL_ADDRESS>

/retest