Can't cache a github:// url

As a user of intake, I would like to cache files stored in github. Unfortunately, this does not work broken with fsspec 0.7.4 from conda-forge. Here is the exception that is being raised:
Python 3.8.3 | packaged by conda-forge | (default, Jun  1 2020, 17:43:00)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fsspec
>>><EMAIL_ADDRESS>>>> fsspec.open(github_url)
<OpenFile 'README.md'>
>>> fsspec.open(f"simplecache::{github_url}")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/core.py", line 370, in open
    return open_files(
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/core.py", line 242, in open_files
    fs, fs_token, paths = get_fs_token_paths(
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/core.py", line 523, in get_fs_token_paths
    fs = cls(**options)
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/spec.py", line 54, in __call__
    obj = super().__call__(*args, **kwargs)
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 444, in __init__
    super().__init__(**kw)
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 113, in __init__
    self.fs = fs if fs is not None else filesystem(target_protocol, **self.kwargs)
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/registry.py", line 215, in filesystem
    return cls(**storage_options)
  File "/home/pcarlos/.conda/envs/dev/lib/python3.8/site-packages/fsspec/spec.py", line 54, in __call__
    obj = super().__call__(*args, **kwargs)
TypeError: __init__() missing 2 required positional arguments: 'org' and 'repo'
>>>

:scroll: The actual catalog uses a stable SHA instead of master, and it needs to reference files in different github organizations and repositories within the same intake data source.

You have found an edge case!
When using open, fsspec pulls apart a URL to get some arguments like org/repo here, but apparently this isn't happening in a compound URL like your example. This should be easy to fix, if you happen to have the time.
Note that you can work around it now by passing the arguments explicitly:
fsspec.open(f"simplecache::github:///README.md",
    github={'org': 'intake', 'repo': 'filesystem_spec', 'ref': 'master'})


emptyLineBetweenProperties setting broken

I've set tsInterfaceSorter.emptyLineBetweenProperties to false in my workspace settings, yet it adds empty lines every time.

Can you provide a before and after snippet?

Before:
export interface ReportDashboardItemsContainerProps {
  venueData: VenueData;
  dashboardItemIds: string[];
  isPaidVersion: boolean;
  userId: number;
}

After:
export interface ReportDashboardItemsContainerProps {
  dashboardItemIds: string[];

  isPaidVersion: boolean;

  userId: number;

  venueData: VenueData;
}

This while
  "settings": {
    "tsInterfaceSorter.emptyLineBetweenProperties": false
  }

is configured. Huh?

Thanks for this, I will try to figure out the reason.


ES: next and previous version attributes

Map the Dataset.next_revision and Dataset.previous_revision attributes into Elasticsearch for both hm_consortium_entities and hm_public_entities indices.
@yuanzhou Talking to Jonathan he would prefer we use the term "revision" vs "version" for these attributes.
@mccalluc FYI, name change from previous_version and next_version to previous_revision and next_revision.

@mccalluc in both entity-api and search-api, you'll see the actual attributes named next_revision_uuid and previous_revision_uuid since they are the UUID strings.


Angular: @nxext/ionic-angular application schematic broken with pnpm in fresh Nx monorepo

Describe the bug
In a freshly created pnpm + Nx monorepo, the @nxext/ionic-angular:application schematic fails to run. If I fix the errors preventing the schematic from running and then try to build, test, e2e, or lint, I get additional errors. I tracked down a number of packages which were depending on phantom dependencies, and if I address those phantom dependencies with a .pnpmfile.cjs, I'm able to resolve the issue.
To Reproduce
Steps to reproduce the behavior:
pnpx create-nx-workspace     # choose the apps preset and disabled cloud for now
pnpm add -D @nxext/ionic-angular
pnpm exec nx generate application     # here is where the errors should start to occur
pnpm exec nx run-many --target build     # if previous errors are fixed, more errors occur here
pnpm exec nx run-many --target test     # if previous errors are fixed, more errors occur here
pnpm exec nx run-many --target e2e     # with previous errors fixed, this ran fine for me
pnpm exec nx run-many --target lint     # with previous errors fixed, this ran fine for me

Expected behavior
src/generators/application/generator.js
An application should be generated which passes nx run-many --target build, nx run-many --target test, nx run-many --target e2e, and nx run-many --target lint.
Workaround
The workaround that works for me was to create a .pnpmfile.cjs file. That file can be found below.
Please note that the only packages I added to this file were packages where I received an error about not being able to find a module which was accompanied by a require-stack. For example, if it complained about not finding tslib and had a require-stack which started with the file<EMAIL_ADDRESS>then I would cat that file and confirm that it does indeed rely on tslib in it's source, but doesn't list it in it's package.json. It can usually further be confirmed that some dependency in it's package.json probably includes this and if they weren't using pnpm, then it was likely hoisted to the root level which allowed them to require it in their source directly without specifying it in their package.json. That's how they ended up with a phantom dependency.
So my workaround is to "fake" that they had included tslib in their dependencies by adding such a dependency to the .pnpmfile.cjs with a comment about the offending source file. Then I can run pnpm install --fix-lockfile to patch those dependencies up. And I simply repeated this process until all the commands in the To Reproduce section ran successfully.
Here is that .pnpmfile.cjs (so far).
// https://pnpm.io/pnpmfile
module.exports = {
  hooks: {
    readPackage,
  },
};

const PHANTOM_DEPENDENCIES = Object.entries({
  '@nrwl/storybook': {
    // @nrwl/storybook/src/generators/configuration/configuration.js
    tslib: '*',
  },
  '@nrwl/workspace': {
    // @nrwl/workspace/src/utils/ast-utils.js
    '@angular-devkit/schematics': '*',
    '@angular-devkit/core': '*',
  },
  '@nxext/capacitor': {
    // @nxext/capacitor/src/generators/capacitor-project/generator.js
    tslib: '*',
    // @nxext/capacitor/src/generators/capacitor-project/lib/update-project-gitignore.js
    ignore: '*',
  },
  '@nxext/ionic-angular': {
    // @nxext/ionic-angular/src/generators/application/generator.js
    tslib: '*',
    // @nxext/ionic-angular/src/generators/application/lib/add-angular.js
    '@nrwl/linter': '*',
    // @nxext/ionic-angular/src/generators/application/lib/external-schematic.js
    '@angular-devkit/schematics': '*',
  },
  'jest-preset-angular': {
    // jest-preset-angular/build/config/ng-jest-config.js
    'jest-util': '*',
  },
  nx: {
    // nx/src/adapter/ngcli-adapter.js
    '@angular-devkit/core': '*',
    '@angular-devkit/schematics': '*',
    '@angular-devkit/architect': '*',
  },
});

// https://pnpm.io/pnpmfile#hooksreadpackagepkg-context-pkg--promisepkg
function readPackage(packageJson, context) {
  for (const [packageName, phantomDependency] of PHANTOM_DEPENDENCIES) {
    addDependenciesIfMissing(
      packageJson,
      context,
      packageName,
      phantomDependency
    );
  }
  return packageJson;
}

const DEPENDENCIES_PATCHED = Symbol('dependencies patched');

function addDependenciesIfMissing(
  packageJson,
  context,
  packageName,
  dependencies
) {
  // if we've already checked this packageJson, we to modify it again
  // this helps avoid erroneous messages about a dependency already being added
  // when it was actually added by us
  if (packageJson[DEPENDENCIES_PATCHED]) return;

  // if this isn't our package, skip it
  if (packageJson.name !== packageName) return;

  // we've checked this package, no need to check it again in the future
  packageJson[DEPENDENCIES_PATCHED] = true;

  // check each dependency
  for (const entry of Object.entries(dependencies)) {
    addDependencyIfMissing(packageJson, context, entry);
  }
}

function addDependencyIfMissing(packageJson, context, [dependency, version]) {
  // if the dependency exists already, don't overwrite it
  const currentVersion = packageJson.dependencies[dependency];
  if (currentVersion) {
    const message =
      `${packageJson.name} already has ${dependency}@${currentVersion}; ` +
      `ignoring attempt to patch with version ${version}; ` +
      `please update .pnpmfile.cjs as patching dependency is no longer required`;
    context.log(message);
    return;
  }

  // add the dependency
  packageJson.dependencies[dependency] = version;

  // and issue a log so we know what is happening
  const message =
    `patched ${packageJson.name} dependencies with ${dependency}@${version}; ` +
    `consider encouraging maintainers of ${packageJson.name} to update the dependencies`;
  context.log(message);
}

This workaround was originally recommended in the @nrwl/nx repository on an issue I raised. They resolved the issue by eventually adding dotenv to their dependencies. I have another issue out that is trying to address the same situation with fs-extra.
Additional Context
By default, pnpm does not publicly hoist dependencies. Any responses to "just publicly hoist your dependencies" will be ignored as not acceptable solutions because hoisting dependencies to the root is not recommended by pnpm. Publicly-hoisting dependencies creates "phantom dependencies"; read more. I did not try using the hoist-pattern option in .npmrc just yet. That might be a simpler solution than the .pnpmfile.cjs approach, but I have not been able to confirm that yet.
Here is some additional version / environment information that may or may not be relevant:

I'm on Ubuntu 20.04 at the moment
My colleagues on MacOS and Linux Manjaro are not able to reproduce this issue and as to why that is I still do not yet know
node --version = v16.16.0
pnpm --version = 7.11.0

Recommended Solution
@nxext/ionic-angular is not the only offending package. Other packages which have phantom dependencies will be addressed in separate issues which may reference this original issue. However, here are the ways in which @nxext/ionic-angular can help ensure that their packages work with pnpm when root-level hoisting is disabled (the default).

@nxext/capacitor

@nxext/capacitor/src/generators/capacitor-project/generator.js depends on tslib directly; please add tslib (at an appropriate version) to this library's dependencies (or peer dependencies)
@nxext/capacitor/src/generators/capacitor-project/generator.js depends on ignore directly; please add ignore (at an appropriate version) to this library's dependencies (or peer dependencies)

@nxext/ionic-angular

@nxext/ionic-angular/src/generators/application/generator.js depends on tslib directly; please add tslib (at an appropriate version) to this library's dependencies (or peer dependencies)
@nxext/ionic-angular/src/generators/application/lib/add-angular.js depends on @nrwl/linter directly; please add @nrwl/linter (at an appropriate version) to this library's dependencies (or peer dependencies)
@nxext/ionic-angular/src/generators/application/lib/external-schematic.js depends on @angular-devkit/schematics directly; please add @angular-devkit/schematics (at an appropriate version) to this library's dependencies (or peer dependencies)

the schematic @nxext/ionic-angular:application runs @angular-devkit/schematics, so the @nxext/ionic-angular:application schematic could improve by checking for and installing @angular-devkit/schematics when it checks for and installs other libraries that it depends on in the user's Nx monorepo

Another phantom dependency to consider:

@nxext/ionic-angular/src/generators/page/lib/update-routing-file.js directly depends on:

@phenomnomnominal/tsquery


Scripts fails with "A parameter cannot be found that matches parameter name 'UseGetTargetResource'"

Details of the scenario you try and problem that is occurring:
When I use the SharePointDSC.Reverse.ps1 script with the current version of the ReverseDSC module (<IP_ADDRESS>), regardless of the extraction configuration I always get a error file containing the following error:
A parameter cannot be found that matches parameter name 'UseGetTargetResource'.
Example of the Extraction process (Extraction of Managed Properties only):
PS C:\Program Files\WindowsPowerShell\Scripts> .\SharePointDSC.Reverse.ps1 -ComponentsToExtract @("SPSearchManagedProper
ty")
Scanning Operating System Version...
Scanning Operating System Settings [1/7] for server {server01}
Scanning Operating System Settings [1/7] for server {server02}
Scanning Operating System Settings [1/7] for server {server03}
Scanning Operating System Settings [1/7] for server {SQLContent}
Scanning Operating System Settings [1/7] for server {SQLOther}
Scanning Operating System Settings [1/7] for server {SQLSearch}
Scanning SQL Server Version...
Scanning Patch Levels...
Configuring Dependencies...
[ server01 ] Generating the SharePoint Prerequisites Installation...
[ server01 ] Generating the SharePoint Binary Installation...
[ server01 ] Scanning Search Managed Properties...
Scanning Managed Properties for Search Service Application [1/1] {Search Service Application}
    -> Scanning Managed Property [1/1291] {03/2014OWSNMBR}
VERBOSE: Executing as the local run as user DOMAIN\farmadminuser
VERBOSE: Leaving BeginProcessing Method of Get-SPEnterpriseSearchServiceApplication.
VERBOSE: Leaving ProcessRecord Method of Get-SPEnterpriseSearchServiceApplication.
VERBOSE: Leaving EndProcessing Method of Get-SPEnterpriseSearchServiceApplication.
VERBOSE: Leaving BeginProcessing Method of Get-SPEnterpriseSearchMetadataManagedProperty.
VERBOSE: Leaving ProcessRecord Method of Get-SPEnterpriseSearchMetadataManagedProperty.
VERBOSE: Leaving EndProcessing Method of Get-SPEnterpriseSearchMetadataManagedProperty.
[ server01 ] Configuring Local Configuration Manager (LCM)...
[ server02 ] Generating the SharePoint Prerequisites Installation...
[ server02 ] Generating the SharePoint Binary Installation...
[ server02 ] Configuring Local Configuration Manager (LCM)...
[ server03 ] Configuring Local Configuration Manager (LCM)...
Configuring Credentials...
Please enter the full path of the output folder for DSC Configuration (will be created as necessary): C:\Temp\SharePoint
DSC.Reverse

After some investigation I found that this was a parameter on the "Get-DSCBlock" cmdlet that was removed from the ReverseDSC module on Oct 30, 2019 in commit ce969b01fd769669fb19fb0bd8fffa522f011bc9.
The DSC configuration that is using the resource:
N/A
Version of the Operating System and PowerShell the DSC Target Node is running:
Server 2012 R2, Powershell 5.1
Version of the DSC module you're using:
<IP_ADDRESS>

Closing this issue as fixed in 67a17d86a6340e15cb4c49ff6efc6e1d1a3a77e3


Surface Pen 'n Touch ..... without Borders

Use the Surface Pro pen and touch screen capabilities to act as an input device on another computer.

Can you be a bit more specific? It sounds like some kind of Extended Desktop (or something like TeamViewer Remote) functionality? Or do you mean something else?

A user would move the surface pen around on the screen of the Surface, but actually looking at the Whiteboard app on a monitor that is connected to a different computer (but on the same network).
The movement and actions of the Surface Pen are inputs to the white board app on the other computer.
Very similar to a Wacom tablet.

sorry, no plans do do this.


added better check for chunksha, fixed issue with reloading page on f…

…ailed jobs

@aboudreault

added key check and logging to sha error
fixed issue with refreshing page when test is in error state


Update cargo deny to 0.14.2

To support the much needed exclude-dev option.

https://github.com/EmbarkStudios/cargo-deny-action/releases/tag/v1.5.5


Audio really low when sound origin is in front of me (or is ethan talking)

Hey, my audio seems really low when people or things are in front of me, or when ethan is speaking. It appears to be higher when they are on my side. I use a meta quest 2, tried using headphones but it got even worse. Am I doing something wrong?

Btw, I should've specified that this  was on RE 7


Requesting an update to the Fandom data

Hi there! As of September 2022, there's now a Logistics Distributor and Logistics Bot that goes with it. I play DSP on GeForce Now, and don't have the Unity tools to do the ripping myself right now.
If you're able to do the update, that would be awesome. If you're not, please say so, and I'll spend the time getting all that tooling set up to do it on my own.
Thanks!

Thanks for the heads-up. I've stepped away from the game, so I pretty much ignore the wiki these days unless poked.
I've updated the data, but there's new icons and pages that are needed. I'll try to get around to ripping and adding them, but I might fail at that.

OK, I have uploaded all images and created all missing pages (including a number that were missing from before this latest updated).


[Bug Report] el-select not showing selected label when options are deep copied objects

Element UI version
2.3.7
OS/Browsers version
Chrome 70.0.3538.77
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/c8auL7fk/
Steps to reproduce
Deep copy objects that are used for el-option either in beforeMount(), before passing it in as a prop or in computed.
What is Expected?
el-option :label should be displayed after being selected.
What is actually happening?
It is not displayed though v-model is being updated with el-option :value.

Please write headers_required in an immutable way. Dynamically created properties are not watched / caught by Vue.
https://wecodetheweb.com/2016/02/12/immutable-javascript-using-es6-and-beyond/


add scss support

What type of PR is this?
/kind feature
What this PR does / why we need it:
easy development and writing of styles
Which issue(s) this PR fixes:
resolve https://github.com/karmada-io/website/issues/117

/assign @rgrupesh
/assign @RainbowMango


Other Shape Detectors Models (Public)

Hi guys,
Hope you are all doing well !
I was wondering if there is any wiki page or official page to share custom shape predicators made with DLIB ? Same spirit as for caffe and some pre-trained models: https://github.com/BVLC/caffe/wiki/Model-Zoo
I saw one for cats but it is not working well as only 20 pics were used to train the shape predicator:
https://enoxsoftware.com/dlibfacelandmarkdetector/documentation/q-a/
And one gist for road signs:
https://gist.github.com/iandees/f773749c47d088705199
Cheers,
L.

There is this github repository with the official dlib models in it https://github.com/davisking/dlib-models.
I just added a wiki page for this here https://github.com/davisking/dlib-models/wiki/Trained-models.  Not a lot to put there at the moment though.

@davisking  What was mmod_dog_hipsterizer.dat.bz2 trained on? Does it  detect faces?

I just updated the wiki.  But it's from this new example program: https://github.com/davisking/dlib/blob/master/examples/dnn_mmod_dog_hipsterizer.cpp.
It automatically draws glasses and a mustache on dogs :)
Like this:

@davisking this is brilliant, thank you so much!
I've been trying to do a dog face detection and alignment for some time now, but couldn't get over 90% recall in HOG, even with clustering.
I haven't tried CNNs yet, because of CUDA Windows problems and my limited knowledge on CNN design, so this example will help me a lot.

Na, no problem.  This was too funny of a dlib demo to pass up.  Creating
the detector with a CNN was actually somewhat trivial :)

Hi @davisking,
That's really awesome :-) What is the name of the example to use to test it ?
And, do you think that CNN could work on Unity 3D too ? (https://github.com/EnoxSoftware/DlibFaceLandmarkDetector). Or getting some performances improvements above the one mentioned by http://www.learnopencv.com/speeding-up-dlib-facial-landmark-detector/.
I wonder if ArrayFire could help Dlib to be more performant too or what could help to be more efficient on mobile devices ? https://github.com/arrayfire/arrayfire
Ps. I made a face shape detectors for cats with Dlib with 5k pictures but still need some tweaks on it. Will share it later.
Cheers,
Luc Michalski

This example: https://github.com/davisking/dlib/blob/master/examples/dnn_mmod_dog_hipsterizer.cpp

Pretrained models are great!
Has anyone trained on 194 Landmark Points using the Helen Database?
Thank You.


QR Code Download Button Create

I don't think we would keep the QRCode like this.
We should think of something more convenient.
Thank you for the suggestion 💯

But its looking good you can merege it


can't list files with space in the name

We have:
$ bypy ls Backup/iPhone
F 2014-02-01 161601.jpg 2080565 2018-02-24, 14:57:44 087e93af9fa31bb966ecdc19bbd11736
$ bypy ls 'Backup/iPhone/2014-02-01 161601.jpg'
[....]
<E> [15:37:47] Error JSON returned:{u'error_code': 31066, u'error_msg': u'file does not exist', u'request_id':<PHONE_NUMBER>770089232L}
Error code: 31066
Error Description: file does not exist
<E> [15:37:47] Website returned: {"error_code":31066,"error_msg":"file does not exist","request_id":1275259186770089232}
<E> [15:37:47] ----------------------------------------------------------------
Error 31066

At first, I thought it was because the server doesn't accept space being encoded as +. Notice the URL in the debug output:
<D> Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?access_token=21.4133666b626391a88d5a2ece3f8795ae.2592000.1521975610.67223956-1572671
&path=%2Fapps%2Fbypy%2FBackup%2FiPhone%2F2014-02-01+161601.jpg&by=name&order=asc&method=list

I forced it to be converted to %20 by editing bypy.py __request__work
r = self.__requester.request(method, url, params = urllib.urlencode(parsnew).replace("+","%20"), timeout = self.__timeout, verify = self.__checkssl, **kwargs)
Still the same result:
<D> Full URL: https://pcs.baidu.com/rest/2.0/pcs/file?access_token=21.4133666b626391a88d5a2ece3f8795ae.2592000.1521975610.67223956-1572671
&path=%2Fapps%2Fbypy%2FBackup%2FiPhone%2F2014-02-01%20161601.jpg&by=name&order=asc&method=list
<D> HTTP Status Code: 404
<D> Website returned JSON: {u'error_code': 31066, u'error_msg': u'file does not exist', u'request_id':<PHONE_NUMBER>770089232L}

Thanks for feeding back.
It seems that the file "2014-02-01 161601.jpg" simply doesn't exist (if you change your url to list /Backup/iPhone instead, you'll see it's not there). Anyway, ls/list is mainly for directory listing, not files.


Implement state:modified for saved queries

resolves #10294
Problem
Doing state:modified for saved queries didn't work.
Solution
Implement state:modified for saved queries.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[x] This PR includes type annotations for new and modified functions

I think that semantic_models and metrics are already listable. What is Alice working on?

@ChenyuLInx I think I'll make a separate ticket for unit tests and happy path tests, since this probably needs to be backported to 1.8.


Sane defaults, +Core layers.

I noticed that some sane defaults are not set for example, currently the configuration uses a tabwidth of 4, and no expandtab e.g. a tab character is used instead of the more common spaces for indentation.
I'd suggest that we adopt the sensible.vim package that comes with a lot of sane defaults that we can leverage. My suggestion would be to introduce a separate layer a core layer if you will. This will contain all the default settings and some core packages.
This also makes it easier to collaborate on default settings, when I tried to find the place where the leaderguide package was loaded I found out that it's defined here:
https://github.com/Tehnix/spaceneovim/blob/3d1d500ab3e853b8d4b080b54e0e5796dec10d4f/autoload/spaceneovim.vim#L145
That is not the place I would expect such Plug definitions to be defined.
SpaceVim has a similar setting, where they use a +core/behavior layer that contains the following packages:

editorconfig/editorconfig-vim
haya14busa/incsearch.vim
hecal3/vim-leader-guide
kana/vim-arpeggio
mhinz/vim-startify
osyo-manga/vim-over
Raimondi/delimitMate
sheerun/vim-polyglot
tpope/vim-sensible
tpope/vim-surround

I think some of those should be moved to more specific layers for easy of discovery for new contributors. However stuff like editorconfig, vim-leader-guide and vim-startify are typical extensions that could be defined in a core layer.
@Tehnix Let me know your thoughts on this.

@alexanderjeurissen I started prototyping +core layer. Feel free to check it and share your thoughts.

I'll closed this since we've merged Tehnix/spaceneovim-layers#24


AzureBlobFileSystem.expand_path(...) with recursive=True returns wrong result

What happened:
I first observed it when I get file with recursive=True argument. For example I have following file on Azure Datalake Gen2:
data/tmp/1.txt
And I want to download it to local folder /tmp/abc/1.txt, before I call get, the file /tmp/abc/1.txt is not existed on local disk.
I use recursive=True, because I think even it did not make too much sense, but it shouldn't break anything. But after I run fs.get(rpath="data/tmp/1.txt", lpath="/tmp/abc/1.txt", recursive=True, overwrite=True), I got following folder struct in my local folder:
/tmp/abc/1.txt/1.txt
get(...) created one extra layer of directory.
After debug, I found the root cause is in AzureBlobFileSystem.expand_path(...), when I call fs.expand_path("data/tmp/1.txt", recursive=True), it will return the following array:
[
    "data/tmp/",
    "data/tmp/1.txt"
]

and fs.expand_path("data/tmp/1.txt", recursive=False) returns correct array: ["data/tmp/1.txt"]
This don't seems correct, I will expect expand_path returns same value on a file what ever recursive is True or False.
I found the issue and want to make a bug fix, the issue should be here:
    AzureBlobFileSystem::_expand_path(...)
                elif recursive:
                    rec = set(
    line 1387           await self._find(p, withdirs=True, with_parent=with_parent)
                    )

withdirs should be False.
When I try to write test case for it by add test case in tests/test_spec.py, I found strange thing. AzureBlobFileSystem.expand_path(...) works all fine in test case with or without this fix.
That means the behavior is different in test case compare with when we actually use adlfs to access an Azure Storage Account. I guess that's because of the test case is not use a real Azure Storage Account. But I don't have any proof.
Can you help me to have a better understand about the behavior?
What you expected to happen:

AzureBlobFileSystem.expand_path(...) should works well with real Azure Storage Account
The behavior in test case should consistent with real Azure Storage Account

Minimal Complete Verifiable Example:
Use adlfs to get file from real Azure Storage account, with argument recursive=True, or expand_path for a file with recursive=True argument
`fs.expand_path("data/tmp/1.txt", recursive=True)`
# or
`fs.get(rpath="data/tmp/1.txt", lpath="/tmp/abc/1.txt", recursive=True, overwrite=True)`

And try same thing in test case without change code, you should able to observe different result from fs.expand_path
Anything else we need to know?:
N/A
Environment:

Dask version: N/A
Python version: 3.7/3.8
Operating System: OSX, Linux
Install method (conda, pip, source): all same result

I find the different behavior for unittest env vs real Azure Storage Account, is the function ContainerClient.list_blobs returns different value.
For example:

In unittest, container_client.list_blobs(name_starts_with="data/tmp/1.txt/") return empty list
with real Azure Storage Account, container_client.list_blobs(name_starts_with="data/tmp/1.txt/") return list with 1 element ["container/data/tmp/1.txt"]

Not sure which is correct, for me it looks like the real Azure Storage Account's return value not make too much sense. But how ever, we should align to it even it's not prefect, right?


Missing "signedDate" in DecodedNotificationPayload

Seems the number field is not exposed in the type definition. Can you please add that? https://developer.apple.com/documentation/appstoreservernotifications/responsebodyv2decodedpayload

Added in v0.4.0.


Build image for Jetson system

Hello, thanks you for the great work. i used your repo to rebuild px4-gazebo in jetson agx devices. The docker are successful build and running correctly.
I used mavproxy to forward mavlink packet to other pc.
"python3 /usr/local/bin/mavproxy.py --daemon --master=udpin:<IP_ADDRESS>:14550 --out=udp:<IP_ADDRESS>:14550  --out=tcpin:<IP_ADDRESS>:5760"
However, when i play the video stream in VLC, the stream video is so slow, i mean the frame are freeze and not updated.
If i ran native in Jetson, everything is working well.
After some reasearch, i think maybe Gazebo server cannot use GPU in jetson devices if use Display difference 0.
Do you have any advices? Thank you so much

Yeah the docker container doesn't use the GPU. I never tried to get a docker container to use a GPU, though I've seen online that it was possible.


[Feature Request]: Adding multi language support system✨

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add multi language support system to the website which can help us understand in their native language.
Use Case
help user
Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@mansiruhil13  CAN  I WORK ON THIS


Every time my HDMI (TV) screen goes into standby

This is a recurring issue on VRChat - it may be the same on other games but VRChat is the only game I play.
Description

I use a HDMI TV as my main PC screen .
The TV has an automatic timeout / standby mode thing (set to 6 hours)
It gives a warning and if you press a button on the TV remote, the standby goes away but when I have the headset on, I can't see the warning.
As soon as it goes into standby, I lose audio in the headset and can't get it back without restarting SteamVR
This is the error showing in the ALVR log
Audio record error: The requested device is no longer available. For example, it has been unplugged.
I have the microphone routed through VB Cable.  Maybe something toggles when the screen goes into standby?
The fix would be to make the audio carry on even after the screen goes into standby.

General Troubleshooting

[ ] I carefully followed the instructions in the README and successfully completed the setup wizard
[ ] I read the ALVR GitHub Wiki

Environment
Hardware
Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload
CPU:
I5-12400F
GPU:
RTX3060
GPU Driver Version:
<IP_ADDRESS>85
Audio:
CABLE Input (VB-Audio Virtual Cable)
Installation
ALVR Version:
20.7.1
ALVR Settings File:
SteamVR Version:
2.7.4
Install Type:

[X ] Packaged (exe, deb, rpm, etc)
[ ] Portable (zip)
[ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):
Windows 11 Pro 64-bit (10.0, Build 22631)

You need to set it to another audio device in ALVR that isn't related to that TV. What's likely happening is that when the TV turns off the audio device within windows gets removed at the same time and bugs ALVR's audio.

I'm not sure I understand what you are suggesting.
The documentation states that the only way to use the mic via ALVR is to set the audio to VB Cable.
When you say set it to another audio device. What do you mean?
Also - it's worth pointing out that this is on the audio output only - the mic input carries on working fine (other users are able to continuing hearing what I say after the headset speakers stop outputting).

I mean set your audio output in Windows to anything else that is not that TV output, and leave the microphone the same. If you don't have another audio device other than the TV, create one by adding another VB cable https://vb-audio.com/Cable/ scroll down until you see the A+B options.
https://github.com/user-attachments/assets/6b70f432-18de-4c76-9f8b-337a48b6c565


can't install add-ons in 12.1.1 over command-line

Someone reported this one in IRC, so I decided to validate it myself, and yeah, it looks like a bug:
http://pastebin.com/raw.php?i=9RgzP7YH
To repro it yourself, use the chef-server cookbook and fire up a standalone Ubuntu Chef server.

The underlying chef-client issue has been fixed on master so this bug will be fixed in our next release.


Remove hashicorp/template module

Describe the Feature
The template module is no longer maintained and Terraform provides native ways to avoid it
Expected Behavior
not depend on module.
Use Case
Use in ARM cpus
Describe Ideal Solution
remove the dependency
Alternatives Considered
No response
Additional Context
No response

These modules use the cloudposse template provider instead.
See https://github.com/search?q=repo%3Acloudposse%2Fterraform-yaml-config+cloudposse%2Ftemplate&type=code
https://github.com/cloudposse/terraform-provider-template


Comparison with scBERT?

Hi, thanks for your great work! But I have used a similar tool published here: https://www.nature.com/articles/s42256-022-00534-z.
which is also based on large lanugage model. I am not satisified with the performance of scBERT, so do you consider adding it as a baseline model? Thanks.

Hi, thanks for the suggestion. As you mentioned, I think scBERT was mainly designed for cell type annotation. We indeed have considered benchmarking with it, and scGPT performs better based on some preliminary results we tested. We are currently working on more benchmarking and other extensions as well. The results will be added to a newer version of our manuscript.
Here is a preliminary comparison I have, in a cell type annotation setting:

Please note, the comparison and results may change later in our formal release.
In the meantime, feel free to apply scGPT in your workflow. We'll provide clean example scripts for various fine-tuning tasks soon as well. Please see the plan here


Supporting live streaming like Manim

Manim has a python -m manim --livestream option and even options for Twitch python -m manim --livestream --to-twitch --with-key [streamkey] which allow to write the live rendered content to Twitch in real time.
It would be cool to be able to the same from Javis. This functionality might be better suited for a package on top of Javis.
As far as i understand ffmpeg provides that functionality.

The related issue in Manim and how it was added is documented here: https://github.com/3b1b/manim/issues/335

Thanks for opening the issue. What I can see in the nearer future is the following:
We can directly display the current frame in a window instead of saving it into a file. Then we can use OBS to stream our screen. I know it's dull but at least we would not need to wait to create a gif or later mp4 but instead could see directly what gets animated.
In general I plan on using an images array instead of saving every frame to an image file as this is what currently slows down Javis.

Hey @freemin7, just following up here, any updates? I saw a post you made in the Julia Slack asking about ffmpeg regarding streaming:
ffmpeg -re -i input.mkv -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k \
-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \
-ar 44100 -f flv rtmp://live.twitch.tv/app/<stream key>

It might be interesting to have minimal examples like this:

A clock widget which streams the current system time (not a calculated time) and displays an image of an cuckoo between X:00:00 - X:00:59
If possible an interactive demo where you can set functions in a Julia shell to change what is displayed in real time

Both demos should work with OBS.

@freemin7 - the latter should be in our documentation. The former idea is being worked on in #345
I know you requested this feature a while ago but I would love to see what animations you should come up with! :)

I didn't find them a new one in https://wikunia.github.io/Javis.jl/dev/examples/#Examples .
https://wikunia.github.io/Javis.jl/dev/workflows/#Live-Streaming shows how to set it up with OBS. However i am unsure how to set up an background as 1:Inf seems dubious.

Hi @freemin7 ,
it's unfortunately not yet live streaming see #345
It's getting rendered before it is sent to obs.
It's sent as a gif such that the animation is just getting repeated.

I would phrase the comment by @TheCedarPrince a bit differently about the interactive demo.
It is only possible in the sense that you can change your code and render it again with which it will replace the old animation.


Synchronise requirements in the metanorma asciidoc files with those in the gpq validator

There is a need to synchronise requirements in the metanorma asciidoc files with those in the gpq validator.

GPQ validator checks right now are:
✓ file must include a "geo" metadata key
✓ metadata must be a JSON object
✓ metadata must include a "version" string
✓ metadata must include a "primary_column" string
✓ metadata must include a "columns" object
✓ column metadata must include the "primary_column" name
✓ column metadata must include a valid "encoding" string
✓ column metadata must include a "geometry_types" list
✓ optional "crs" must be null or a PROJJSON object
✓ optional "orientation" must be a valid string
✓ optional "edges" must be a valid string
✓ optional "bbox" must be an array of 4 or 6 numbers
✓ optional "epoch" must be a number
✓ geometry columns must not be grouped
✓ geometry columns must be stored using the BYTE_ARRAY parquet type
✓ geometry columns must be required or optional, not repeated
✓ all geometry values match the "encoding" metadata
✓ all geometry types must be included in the "geometry_types" metadata (if not empty)
✓ all polygon geometries must follow the "orientation" metadata (if present)
✓ all geometries must fall within the "bbox" metadata (if present)
So we should be sure that all of those have a 'requirement' in the asciidoc file. And also see if there's any requirements there now that should be in gpq or other validators.


pacman 5.1 updates

https://bbs.archlinux.org/viewtopic.php?pid=1760355#p1760355

[x] Use makepkg --sign instead of manual signing of packages: https://bugs.archlinux.org/task/49946
[ ] Document that GPGKEY in makepkg.conf is ignored for repo-add
[x] Symlink deletion is no longer required (https://github.com/AladW/aurutils/blob/master/bin/aurbuild#L155)
[ ] Move to parseopts.sh
[x] Support SOURCE_DATE_EPOCH (https://github.com/AladW/aurutils/commit/988da07b88d81fb1d731f679cf58e7f74511ff46)

#351


task: Adding adaptSecurityContext option in values.yaml for OpenShift SCC

Which problem does the PR fix?

closes: https://github.com/camunda/distribution/issues/294
What's in this PR?

Checklist
Please make sure to follow our Contributing Guide.

Before opening the PR:

[ ] In the repo's root dir, run make go.update-golden-only.
[ ] There is no other open pull request for the same update/change.
[ ] Tests for charts are added (if needed).
[ ] In-repo documentation are updated (if needed).

After opening the PR:

[ ] Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
[ ] Did all checks/tests pass in the PR?

There are two things pending for this PR:

Finding a way to get elasticsearch.sysctlImage.enabled set to false depending on the value of adaptSecurityContext
Modifying the keycloak image values to reference our custom keycloak


Allow listen mode UDS in from file

This adds the --uds flag to the file input connector. If specified, a listening socket is created at at the path if no socket exists yet.

How do you switch between listening and connecting? Is hard-coding the former the primary use case?

How do you switch between listening and connecting? Is hard-coding the former the primary use case?

The idea is to connect if the socket already exists, or listen otherwise.

This is not working as expected in local testing yet.
Putting this on hold until it gets a higher prio.


A wild exception appeared!

Traceback (most recent call last):
File "worker.py", line 128, in run
self.main()
File "worker.py", line 170, in main
map_objects = response_dict['responses'].get('GET_MAP_OBJECTS', {})
TypeError: sequence index must be integer, not 'str'

That's a known issue when servers have a hiccup. Worker should be restarted soon.


Bug: Breaking change in 1.6.0

What happened?
In the latest 1.6.0 release, a breaking change has been introduced by exposing a new function in an interface:
https://github.com/arthurfiorette/axios-cache-interceptor/pull/848/files#diff-153c6b38971390ad001e44eef88dd5fd8f62c9b450c64092f280c4b5d2bd1935R74
It should be included in a major release.
axios-cache-interceptor version
v1.6.0
Node / Browser Version
node 20
Axios Version
1.7.7
What storage is being used
Web Storage
Relevant debugging log output
error TS2345: Argument of type '{ find(key: string): any; set(key: string, value: NotEmptyStorageValue): void; remove(key: string): void; }' is not assignable to parameter of type 'BuildStorage'.
  Property 'clear' is missing in type '{ find(key: string): any; set(key: string, value: NotEmptyStorageValue): void; remove(key: string): void; }' but required in type 'BuildStorage'.

 92   const genericCacheStorage = buildStorage({
                                               ~
 93     find(key) {
    ~~~~~~~~~~~~~~~
...
103     },
    ~~~~~~
104   });
    ~~~

  ../node_modules/axios-cache-interceptor/dist/storage/build.d.ts:35:5
    35     clear: () => MaybePromise<void>;
           ~~~~~
    'clear' is declared here.

Oh shoot! Nice catch.
Although axios-cache-interceptor major releases for now just follows the axios major version, so i guess there's nothing i could do for now, just create guides on how to fix this issue :/
Are you up to a PR?

Well, there are few options I suppose:

Make this new property as optional and adjust the code in case it is not provided
Revert the change in a 1.6.1 version (but will break anybody who already adjust their code like us)
Revert the change and find a new way to achieve the same expected behavior?

Option 1 is probably the one you want to keep the clear functionality.

Making the property optional and provide a default implementation that throws not implemented.

throwing "not implemented" means additional error handling on the consuming applications, which still means breaking change.

No, it does not. clear() is not used by axios-cache-interceptor and was merged to allow 3rd party code to use it.

Fixed in v1.6.1


Add support for file upload in containerised browsers

The problem
Currently uploadFile(File file) method requires file to be available locally. This does not work with browser running remotely, for example in a docker container. It should be possible to pass file path parameter as string, then we could specify file location as seen by remote browser instance.
Details
Example: we mapped local /resources/files/ directory to a /uploads directory in docker container. When we do $(input).uploadFile("/uploads/file.txt"); then upload should succeed, because containerised browser sees /uploads directory, not the /resources/files/

After discussion on selenide slack channel it was pointed out that in order for RemoteWebDriver to see local files it is enough to just initialise webdriver setting Configuration.remote instead of using setWebDriver(remoteWebdriver). Example with testcontainers framework:
BrowserWebDriverContainer container = new BrowserWebDriverContainer(dockerImageName);
container.withDesiredCapabilities(DesiredCapabilities.chrome());
container.start();
Configuration.remote = container.getSeleniumAddress().toString();

This way passing local File to uploadFile() method will work. If we do use setWebDriver method instead, then we should make sure we do
container.getWebDriver().setFileDetector(new LocalFileDetector());
WebDriverRunner.setWebDriver(container.getWebDriver());


Add datasets.Cora.load to package up parsing and StellarGraph-ing

Part of: #812

Codecov Report

Merging #913 into develop will decrease coverage by 0.2%.
The diff coverage is 44.8%.

@@            Coverage Diff            @@
##           develop    #913     +/-   ##
=========================================
- Coverage     84.3%   84.1%   -0.2%
=========================================
  Files           52      52
  Lines         5087    5113     +26
=========================================
+ Hits          4288    4300     +12
- Misses         799     813     +14

Impacted Files
Coverage Δ

stellargraph/core/utils.py
94.3% <100%> (ø)
:arrow_up:

stellargraph/core/graph.py
98.6% <100%> (ø)
:arrow_up:

stellargraph/core/convert.py
100% <100%> (ø)
:arrow_up:

stellargraph/mapper/graphwave_generator.py
25.6% <25.6%> (ø)
:arrow_up:

stellargraph/datasets/datasets.py
44% <0%> (+1.1%)
:arrow_up:

Continue to review full report at Codecov.

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


ci.yml: use k8s cluster instead

Is your feature request related to a problem? Please describe.
Enabling dependabot we overloaded self-hosted action runners. To scale testing, infra improvements are needed.
I'd like to have environment ready to add integration tests.
Describe the solution you'd like
k8s + autoscaling
Do you have any implementation in mind for this feature?
k8s actions runner controller (ARC) allows to scale action runners horizontally.
Our testing environment is docker containers based.
There are 2 potential ways to run tests in gcr.io/syzkaller/* environments:

sysbox looks good (acquired by docker in 2022) to run nested containers. It allows to run nester containers with good isolation.
ARC allows to specify custom image. We can create 2 .yaml files, for syz-env and old-env to support 2 testing environments and deploy them on the same cluster.

Second scenario looks easier.

#4067 to prepare environment for safe experiments.

I wouldn't do too much work because of dependabot. We switched it to monthly, does it still produce too much load?
Integration tests is a different story. Will we need k8s + autoscaling for that? If our integration tests will use vm/gce to create additional VMs, these will be VMs outside of k8s control, right?

Right, we don't need it for the integration tests.
I closed this issue because everything just works now.


make the visualization install option work in the readme update the readme as needed

Install with visualization dependencies
There are optional dependencies that are required to use all the visualization functions included in Qiskit. You can install these at the same time by running:
pip install qiskit[visualization]
which will install qiskit and all the visualization dependencies.
see the install https://github.com/Qiskit/qiskit/blob/master/docs/install.rst

Oops, sorry I did mean to leave a comment in here a while ago but forgot. The way I wanted to do this (putting qiskit-terra['visualization'] in the extras list here to avoid duplicating the list and getting things out of sync) didn't seem to work as I intended. So I'm thinking the only option is to just copy the list from qiskit-terra's setup.py and updating both if we ever need to add a requirement or bump a minimum version.

@mtreinish @manoelmarques, Jay and I discussed the fact that, since the visualization capabilities in Qiskit come with a special installation option, that installation option should also bring the Aqua and Chemistry GUI wizards.  So when installing Qiskit, the Aqua and Chemistry GUI wizards will only be installed if the visualization option is on.

@mtreinish I noticed that for qiskit 0.8.0,
pip install qiskit[visualization]
throws the warning message
qiskit 0.8.0 does not provide the extra 'visualization'
and installs successfully.
Should the install doc no longer recommend running pip install qiskit[visualization] to get the visualization tools?

Yeah, this is still an open issue. I have been meaning to circle back to this to come up with a fix (I keep getting side tracked on other issues). Until this issue is fixed we should probably update the docs to say pip install qiskit-terra[visualization] to install the visualization dependencies.

When I run
pip install qiskit-terra[visualization]
I get the error:
no matches found: qiskit-terra[visualization]
What command should I run, pip install qiskit[visualization] as it used to be previously?

@mtreinish can you check on this. I think we close this if it all woks.

qiskit-terra[visualization] definitely works fine when I test it locally. Running it in a clean env results in:
MarkupSafe-1.1.1 Send2Trash-1.5.0 backcall-0.1.0 bleach-3.1.0 cycler-0.10.0 decorator-4.4.0 defusedxml-0.6.0 entrypoints-0.3 ipykernel-5.1.2 ipython-7.7.0 ipython-genutils-0.2.0 ipywidgets-7.5.1 jedi-0.15.1 jinja2-2.10.1 jsonschema-2.6.0 jupyter-client-5.3.1 jupyter-core-4.5.0 kiwisolver-1.1.0 marshmallow-2.20.1 marshmallow-polyfield-3.2 matplotlib-3.1.1 mistune-0.8.4 mpmath-1.1.0 nbconvert-5.6.0 nbformat-4.4.0 networkx-2.3 notebook-6.0.0 numpy-1.17.0 nxpd-0.2.0 pandocfilters-1.4.2 parso-0.5.1 pexpect-4.7.0 pickleshare-0.7.5 pillow-6.1.0 ply-3.11 prometheus-client-0.7.1 prompt-toolkit-2.0.9 psutil-5.6.3 ptyprocess-0.6.0 pydot-1.4.1 pygments-2.4.2 pylatexenc-1.5 pyparsing-2.4.2 python-dateutil-2.8.0 pyzmq-18.1.0 qiskit-terra-0.8.2 scipy-1.3.1 six-1.12.0 sympy-1.4 terminado-0.8.2 testpath-0.4.2 tornado-6.0.3 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.5.1

being installed. Which includes terra, all dependencies, and all the visualization dependencies. The issue being reported by @devlwkyan looks like an issue with their local shell. Some shells (mostly zsh in my experience) treats [ ] as a regex by default. So when you type qiskit-terra[visualization] it tries to regex match and there isn't anything so it errors. You can normally fix this by escaping or quoting the square brackets so your shell doesn't interpret the square brackets as a regex.
That being said I'm not sure I want to close this. I'd like to add a visualization extras option to the meta package. That way people don't need to run 2 commands to get qiskit and visualization dependencies. When I've looked at it before there were issues with my approach to trying to just reuse terra's extras directly. I'll play with it some more this afternoon and come up with something (in the worst case I'll just duplicate the list from terra).

So this took me way longer to circle back to than I had originally intended. I can't find a way to add a visualization target on the metapackage that just pulls in qiskit-terra[visualzation]. The only option would be to copy https://github.com/Qiskit/qiskit-terra/blob/master/setup.py#L112-L115 into the meta package's setup.py.


The differencies between plugin and command prettier result

The source code resulted from Prettier VS Code plugin is different from results of command prettier --write /somefile/*.js . The difference is occured in keys inserted to React Component. This keys are not on newlines in results from plugin. See file with example testing_prettier.zip .
Input file:
testing_prettier.js
Output from plugin:
testing_prettier_afterplugin.js
Output from command:
testing_prettier_aftercommand.js
The keys named key, className and onClick are delimited with new line in result from command, I think that is right.

Hmmm.. Maybe it is because your global version is not the one installed locally by the plugin. #17 updates Prettier to 0.0.7 and was deployed in 0.4.0. Can you try updating and see if it helps?

Thank you, this helps.


proposal: remove prtDataSetCellArray

I believe that prtDataSetClassReshape solves the same problem better.
Three things use prtDataSetCellArray: prtDataGenCifar1, prtDataSetTimeSeries, and prtDataGenMsrcorid. The first two appear to be replaceable with prtDataSetClassReshape with no issues. For prtDataGenMsrcorid, the observations are actually different shapes... It's an older dataset anyway and probably superceded by something like ImageNet, but I don't know that there's a good reason to allow prtDataSets with observations of arbitrary sizes.
Are there other use cases for this of which I'm not aware?

I think you're right that most of the CIFAR/image ones can be done with prtDataSetClassReshape as long as the image chips are the same size.  BUT prtDataSetCellArray is specifically for the case were observations are different sizes.  For example, prtDataSetTimeSeries can handle time-series of arbitrary length, and that's important, I think?
I propose switching anything that CAN use prtDataSetClassReshape to use it, but leaving prtDataSetCellArray as it's specific use case is for images of varying sizes, graphs, time-series of unknown lengths, etc.

@peterTorrione pointed out that the PRT machinery is useful for data sets with observations of different sizes, provided that you have some sort of shape/size-invariant feature extractor (as a prtAction). I can't find any such feature extractor currently included with PRT, but nevertheless I concede the point.
When observations have a consistent shape, as with prtDataGenCifar1, prtDataSetClassReshape should be used instead of prtDataSetCellArray. It stores data more efficiently and provides some additional useful methods.

Just as an example - I think you can actually do this with
dsTimeSeries = ... % time series data as a prtDataSetCell
class = prtClassMap('rvs',prtRvHmm);
yOut = class.kfolds(dsTImeSeries);
But we're in agreement.


"Feature can only be used in a .ts file." when switching the language mode to TypeScript in a .js file

From @niieani on July 13, 2016 10:45

VSCode Version: all versions, tested also on latest: 1.4.0-insider 50a0945d8de129472b154fa514ba5328897d3be1
OS Version: OS X 10.11

Steps to Reproduce:

Create a TypeScript file with a .js extension
Change the language mode inside VSCode to "TypeScript" (defaults to JavaScript in files with a .js extension)
Add some TypeScript specific code, e.g. interface ABC {}

Causes an error:

'interface declarations' can only be used in a .ts file.

Mentioned in the discussion here: https://github.com/Microsoft/TypeScript/issues/7926
Copied from original issue: Microsoft/vscode#9199

This is a problem with the TSServer that infers the language mode from the extension. There are discussion to make the customizable.
Moving to TS team.

There has been multiple requests around this area. I have files a new issue to consolidate all the requests along with a proposal for a fix, see https://github.com/Microsoft/TypeScript/issues/10939. Let's use #10939 to track this change.
closing in favor of #10939.


Deprecate SignedAmount

We currently provide a very basic signed integer type SignedAmount. It is not obvious what this type is for. On top of that it only provides a primitive subset of integer operations.
Also, there is ongoing discussion about what Amount is even for. Is it a type to represent the value that a single utxo can have? Is it a type that can represent a total transaction amount? Is it a type for summing all bitcoin moved by all transactions for all time? Is it for parsing and pretty printing bitcoin amounts (sats and BTC)? Its not clear.
It seems that the SignedAmount is either unneeded or incomplete. Lets deprecate it (and later remove it) to save us the maintenance burden.

It can be used for displaying negative bitcoin amounts - pretty useful in UIs representing "you sent sats".
Should we instead expose the Display constructor?

Should we instead expose the Display constructor?

I like that idea.

Check out the last commit @Kixunil, I added negative method to Display so users can do:
    let amount = Amount::from_sat(1000);
    let s = format!("{}", amount.display_in(Denomination::Satoshi).negative());
    assert_eq!(s, "-1000");

Nice idea! To be clear I'm still not sure if SignedAmount should be deprecated or just without limit. I will have to think about it more. "this number represents satoshis" is a very useful concept so that you don't accidentally mix it with e.g. number of potatoes being sold.

Putting this on ice until we move Amount during the crate smashing work.

I don't think this is still relevant. We've so far doubled down on SignedAmount support, I don't see it going away.

Fair.


slight optimisations to animation and added bash scripts to start backend/frontend

dont know why it also commited readme and license and stuff, even tho there werent any changes


Training time

Hi Shaoshuai, Thanks for sharing the code. Is the training time of 5 hours produced by 8 GPUs?

Yes, it is trained with 8 GPUS.


Pull IP injections from LAS

Need to get IP (Intraperitoneal) Injections injgested from LAS database. This is a subject procedure, already modeled in the schema.

an example mouse is 737561

no. It's a different thing. If there isn't already a ticket for that we can make one for that.

an example mouse is 737561

This subject id doesn't have an IP injection being tracked in the LAS sharepoint (I found that it has an RO injection though). Here's some example subject ids with IP injections: 744782, 744783, 745253, 745254


Performance optimization suggestion, lint only failed files + changed files

On my current project introducing stylelint raised watch build time from ~3s to ~25s. I guess, it happened because of big amount of files and amount of rules.
So, maybe we could cache files that failed to lint on initial run and then include them + files that changed for linting. That should decrease overhead from linting all the files that passed initially and hasn't been changed.
It seems this will require slight update how to deal with stylelint formatter, because in order to get failed files it would require both JSON and string output.
If this suggestion sounds good, I'd be happy to poke around and apply the optimization.

@sergesemashko this was implemented with lintDirtyModulesOnly right?

@JaKXz, correct.
BTW, cache option was added to stylelint. So, if someone has performance issues, that flag can dramatically decrease lint time.


fix: flutter 1.20 double tap and other gesture won't work

Although this fixes the problem, I think the issue is on the HitCornersDetector, where we return true in Offset.zero scenarios. here: https://github.com/renancaraujo/photo_view/blob/0.10.2/lib/src/core/photo_view_hit_corners.dart#L34
I've prepared a refactor on #326 that should fix this.

This works! Please merge it

This should be fixed at 0.10.3
Closing in favor of the recent release.

Although this fixes the problem, I think the issue is on the HitCornersDetector, where we return true in Offset.zero scenarios. here: https://github.com/renancaraujo/photo_view/blob/0.10.2/lib/src/core/photo_view_hit_corners.dart#L34
I've prepared a refactor on #326 that should fix this.

I still have tapping issue on different samsung phones. what should I do to fix this?
I am using ;
photo_view: ^0.12.0
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.3 20D91 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.1)
[✓] Connected device (1 available)


Support positional arguments for Option arguments

I am trying to support the following syntax:
cmd subcmd --myoption val1 val2 val3

where val1, val2 and val3 are mandatory after myoption. I tried using the following YAML file:
          - myoption:
              long: myoption
              args:
                - val1:
                    index: 1
                - val2:
                    index: 2
                - val3:
                    index: 3

but it panics with the following message:

'Unknown Arg setting 'args' in YAML file for arg 'myoption''

Is there any way to achieve this?
(I apologize if this is already supported but I was not able to find out how)

You can use value_names:
- myoption:
    long: myoption
    takes_value: true # this indicates that this is an option not a flag
    multiple: true    # this is needed to take multiple values
    value_names:
      - val1
      - val2
      - val3


Adjust the wrapper according to the window width

If the width of the window is too small, the height of the navbar grows and some lines of the "wrapper" div are hidden (and some buttons from the left menu too).
I have added an event listener to update the "top" attribute of the wrapper to match with the height of the navbar.

Thanks! This has been one of those minor known issues. I'll do some testing before merging.


fix: build error on flutter 3.24.0

Fix the following error that occurs when compiling for an Android build on Flutter 3.24.0
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':external_app_launcher:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR: /Users/takayama/ghq/github.com/medpeer-dev/navel/build/external_app_launcher/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/
lStar not found.

Hey team!!
Any update on this

Hi also same issue

Any plans to merge this soon? Thanks in advance.

Hi @bigbenyayi
It seems @ktakayama is inactive.
I see that you already approved these changes. Any chance you can merge it?

I sadly do not have the rights to merge on this project

I can't merge this PR because I don't have write access to this repository

I see, thanks anyways. We ended up using URL launcher plugin for those who are interested in.
We can launch store page if said application is not installed. Here is a sample usage:
canLaunchUrl(Uri.parse('spotify://')).then((bool result) {
  if (result == true) {
    launchUrl(Uri.parse('spotify://'),
        mode: LaunchMode.externalApplication);
  } else {
    if (Platform.isAndroid) {
      String appPackageName = 'com.spotify.music';
      launchUrl(Uri.parse("https://play.google.com/store/apps/details?id=" + appPackageName));
    }
    if (Platform.isIOS) {
      launchUrl(Uri.parse('itms-apps://itunes.apple.com/us/app/spotify-music-and-podcasts/id324684580'));
    }
  }
});

Will merge this soon.

Thanks for PR. Already added fix in 4.0.1 version.


zip 7z

AOSP's Files app allow me to install 7z and zip with JL
can you add 7z and zip extensions. Because I uploaded a zip to your GH issue, GH doesn't allow me to upload jar
We don’t support that file type.
Try again with GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CPUPROFILE, CSV, DMP, DOCX, FODG, FODP, FODS, FODT, GZ, JSON, JSONC, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP.
7z and zip are open source and free

I did not understand anything. Try wording the description differently.


Update To Go 1.14.4

The kubernetes project has been updated to use Go 1.14.4. See below pull
request.
https://github.com/kubernetes/kubernetes/pull/88638
After making the updates to Go 1.14 "make gen" no longer worked. The
file hack/tools.go had to be created to get "make gen" working with Go
1.14.

/hold
Two things ...
The Prow jobs need to be updated to use Go 1.14, so that make verify-vendor will pass. Also, let's hold on this until #327 is merged and I will rebase this PR.

/hold cancel
/assign @ingvagabund @damemi
I'll back port the Go 1.14 update to the release-1.17 and release-1.18 branches after this PR is merged other wise the Prow CI tests will fail for those branches.

Preferable I'd rather wait until k8s v1.19 is cut and vendored. Though, given Prow jobs have been bumped to 1.14 and I think go1.14 is backward compatible with go1.13, I don't see a big deal of postponing the PR to get merged.

I'll back port the Go 1.14 update to the release-1.17 and release-1.18

We might update the Prow jobs to still spin go1.13 for the branches.

Also, Go 1.13 will be unsupported once Go 1.15 is released.

By k8s or Go upstream?

Preferable I'd rather wait until k8s v1.19 is cut and vendored. Though, given Prow jobs have been bumped to 1.14 and I think go1.14 is backward compatible with go1.13, I don't see a big deal of postponing the PR to get merged.

I'll back port the Go 1.14 update to the release-1.17 and release-1.18

We might update the Prow jobs to still spin go1.13 for the branches.

Also, Go 1.13 will be unsupported once Go 1.15 is released.

By k8s or Go upstream?

By Go upstream.

We might update the Prow jobs to still spin go1.13 for the branches.

Yeah ... we should probably do this. I guess my assumption was that the k/k repo would also be updating the Go version for 1.18 and 1.17 release banches, but maybe my assumption is wrong.

opened a PR to test-infra trying to update to 1.14 here: https://github.com/kubernetes/test-infra/pull/18054

@damemi and @ingvagabund If we are going to hold on merging this PR to upgrade to Go 1.14 until k8s 1.19 then we should probably revert the test-infra PR.

I think we could upgrade to go 1.14 on our master branch, since this is technically the 1.19 branch until we cut that release. Wdyt?

I think we could upgrade to go 1.14 on our master branch, since this is technically the 1.19 branch until we cut that release. Wdyt?

@damemi I'm good with having it merged.

I think we could upgrade to go 1.14 on our master branch, since this is technically the 1.19 branch until we cut that release. Wdyt?
/lgtm

We might update the Prow jobs to still spin go1.13 for the branches.

Yeah ... we should probably do this. I guess my assumption was that the k/k repo would also be updating the Go version for 1.18 and 1.17 release banches, but maybe my assumption is wrong.

I think spinning 1.13 for those branches is probably the best approach. By the time go 1.15 is released, we will probably not need to support tests for 1.18 and 1.17 (and thus go 1.13) anymore anyway, right? (I'm completely guessing, because the go release cycle seems longer than k8s but I don't know exactly what it is)

We might update the Prow jobs to still spin go1.13 for the branches.

Yeah ... we should probably do this. I guess my assumption was that the k/k repo would also be updating the Go version for 1.18 and 1.17 release banches, but maybe my assumption is wrong.

I think spinning 1.13 for those branches is probably the best approach. By the time go 1.15 is released, we will probably not need to support tests for 1.18 and 1.17 (and thus go 1.13) anymore anyway, right? (I'm completely guessing, because the go release cycle seems longer than k8s but I don't know exactly what it is)

@damemi we can keep the release-1.17 and release-1.18 branches for descheduler using Go 1.13. I think the Go 1.15 release will be released in July or August. I think this PR can be merged. Someone will need to figure how to at least get the decheduler Prow jobs for the release-1.18 branch using Go 1.13.
I'll keep track of the Go version used in the k/k repo, and if k8s 1.18 gets updated to use Go 1.14 then I'll get the descheduler release-1.18 branch updated too.

I'm completely guessing, because the go release cycle seems longer than k8s but I don't know exactly what it is)

Go releases twice a year roughly in February and August, https://golang.org/doc/devel/release.html.


Draftail documentation

Hi, i'm testing the new beta release and i have two questions:

How can we extend draftail toolbar?
I'm seeing in draftail page many interesting examples but i can't understand how can i implements other buttons. I saw in this page that we have to modify some js files but i wan't to know if we can set this buttons in the settings file.

I'm contributting to wagtailembedvideos (my own fork) and i implemented the embed video embed feature for hallo.js editor. I works in the same way that embed image and it wasn't very hard to implements in the package. But now, it is different. It's harder i think because we have, until i know, use react and build it with npm to getting using.

Finally i want to ask about properly documentation for Draftail in order to customize it and implement his features in other possible packages.
Thank you very much and Good job.

@thibaudcolas I had to pass a lot of suffering for finally get this: https://github.com/SalahAdDin/wagtail-embedvideos/pull/31
I think i won't make the respective Draftail implementation. XD

Fixed in #4229


How to determine SRID?

It would be real handy if you included a link specifically to how to determine what value for SRID should be used.

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

ID: fd5d5523-6420-23c6-88a0-fe4557ec1a28
Version Independent ID: 5352029c-f717-cb65-185f-b5326acca049
Content: Point (geography Data Type) - SQL Server
Content Source: docs/t-sql/spatial-geography/point-geography-data-type.md
Product: sql
Technology: t-sql
GitHub Login: @MladjoA
Microsoft Alias: mlandzic

@msebolt , hyperlink to the SRID article explaining it is now added

@JeffModen @MladjoA Closing the issue now, please comment below if there are any questions.

Thanks folks.


Feature/math running average

Hi @Smoren :) The last function from math directory is done: function math running average added and covered by tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

54 of 54 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1288

Relevant Lines:
1288

💛  - Coveralls

Thank you Asya!

Thank you Asya!


Force poetry to use Python 3.9

Basically, this forces Poetry to use Python 3.9 for the virtualenv, even if a newer version exists on the system
Currently running on Beta: https://dashboard-beta.transitmatters.org/

Can we revert and actually fix this?

@austinjpaul See #268


can't initiate database locally

Can't run the app locally because of the following error on pnpm drizzle-kit studio
TypeError: Cannot read properties of undefined (reading 'tasks')
    at https://local.drizzle.studio/index.js:641:612
    at Array.map (<anonymous>)
    at pull (https://local.drizzle.studio/index.js:641:483)
    at async pull (https://local.drizzle.studio/index.js:641:5909)
    at async zKl (https://local.drizzle.studio/index.js:14267:56741)

When opening the References OpenAPI page I get:
Oops, something went wrong here.
TypeError: Cannot read properties of undefined (reading 'uid')

After a bunch of tweaking, trying to get to a stable, valid and simple database state, my investigation led to the schema.ts
Here's the fix......
export const tasks = sqliteTable("tasks", {
  id: integer("id", { mode: "number" })
    .primaryKey({ autoIncrement: true })
+   .unique(),
  name: text("name")
    .notNull(),
  // ... rest of the schema
});

I mean, it's crazy to think the primaryKey from drizzle wouldn't by default consider it a unique field, but that's my conclusion. I guess the lack of a unique field is messing up with the table creation.


[New extension] Wayback Machine

Description
Simple extension to lookup pages from wayback machine
Checklist

[X] I read the extension guidelines
[X] I read the documentation about publishing
[X] I ran npm run build and tested this distribution build in Raycast

Updated the code @thomaslombart


entities_from_conll2003 cant decode some characters on windows.

Dear Amaiya,
Again amazing work and thank you very much for expanding on the NER theme. For me, it works perfectly on UNIX based systems(Ubuntu) . On Windows however, a UnicodeDecodeError is thrown:
(This is thrown on the exact example of the Dutch NER without the %-lines and on a windows machine)
Traceback (most recent call last):                                                                                File "make_ner_predictor.py", line 14, in                                                                           model = txt.sequence_tagger('bilstm', preproc)                                                                          File "C:\Users\Niek\AppData\Local\Programs\Python\Python37\lib\site-packages\ktrain\text\ner\models.py", line 68, in s  equence_tagger                                                                                emb_model, word_embedding_dim = preproc.get_embed_model(verbose=verbose)                                                File "C:\Users\Niek\AppData\Local\Programs\Python\Python37\lib\site-packages\ktrain\text\ner\preprocessor.py", line 64  , in get_embed_model                                                                                embs = tpp.load_wv(self.wv_path_or_url, verbose=verbose)                                                                File "C:\Users\Niek\AppData\Local\Programs\Python\Python37\lib\site-packages\ktrain\text\preprocessor.py", line 114, i  n load_wv                                                                                length = file_len(wv_path)                                                                                File "C:\Users\Niek\AppData\Local\Programs\Python\Python37\lib\site-packages\ktrain\text\preprocessor.py", line 106, i  n file_len                                                                                for i, l in enumerate(f):                                                                                File "C:\Users\Niek\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 23, in decode                     return codecs.charmap_decode(input,self.errors,decoding_table)[0]                                                     UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 300: character maps to
This is because the file is not using the right encoding. A way to go around this should be file = open(filename, encoding=ENCODINGHERE)  I think. I hope you can work with this.

Thanks for reporting the issue.  The entities_from_conll2003 function along with others like entities_from_txt accept an encoding argument that was previously set to latin1 as default.  This apparently works in Linux but not in Windows.  I have changed the default to None, in which case the encoding is discovered automatically regardless of whether it is UTF-8, UTF-16 (e.g., Arabic), etc.
I haven't tested this on Windows, but it should hopefully work now.  Please try now with v0.11.2 on Windows.
Thanks again.

Still poses the exact same error, I will try to figure out what is causing it and let you know.

Actually, I misread the error.  I think I know the cause, as it came up before on Windows from another user.  Standby and I will post another fix.

I think the problem was with a new function filelen with reads the file to determine the number of lines for a progress bar for loading and processing the word vector file.  It was not specifying `encoding='utf-8' when reading the word vector file, which causes problems on Windows.
Fix was included in v0.11.3.  Please try it again on Windows.  Thanks.

It is indeed fixed! Thanks :-)


Custom statistics

Does Gadfly support custom statistics?

Yes!:
# This uses davidavdav/CHull.jl
using DataFrames, CHull

type ChullStatistic <: Gadfly.StatisticElement
end

function Gadfly.input_aesthetics(stat::ChullStatistic)
    return [:x, :y]
end

function Gadfly.output_aesthetics(stat::ChullStatistic)
    return [:x, :y]
end

function Gadfly.default_scales(stat::ChullStatistic)
    return [Gadfly.Scale.x_continuous(), Gadfly.Scale.y_continuous()]
end

function Gadfly.Stat.apply_statistic(stat::ChullStatistic,
                         scales::Dict{Symbol, Gadfly.ScaleElement},
                         coord::Gadfly.CoordinateElement,
                         aes::Gadfly.Aesthetics)
    xy = hcat(aes.x, aes.y)
    p = chull(xy)
    hull = p.points[p.vertices,:]
    hull = vcat(hull, hull[1,:]')

    aes.x = hull[:,1]
    aes.y = hull[:,2]
end

Stat_chull = ChullStatistic

D = DataFrame(x=randn(50), y=randn(50))
layer1 = layer(Geom.point)
layer2 = layer(Stat_chull, Geom.path)
p = plot(D, x=:x, y=:y, layer1, layer2)

I think it would be good to add a page to the Gadfly documentation titled "Custom statistics and custom geometries", which includes examples as above.

That sounds like a fantastic idea. The only thing I don't like about the given example is that it has another dependency. I don't have to time to create the example myself, but if you want to go for it, I'll gladly review it and merge it.

Do you think it would be possible to update this to not use an outside dependency? I don't want the Gadfly docs to get too hard to build, that's the only reason.


Duplicate parameter names

If a function has two parameters with the same name, the second parameter shadows the first one, which makes the code hard to understand and error-prone.

Can one of the admins verify this patch?

Done.

Please fill out the Pull Request template to the best of your ability.

+1

This was resolved in #3601


Setup deployment on github pages

It would be great to host index.html on ithub.io pages

https://banjolelegirl.github.io/RockPaperScissorsGame/
automatic deploy setup for GitHub.io


Cannot expand the OPC node in some OPC UA server

Describe the bug
Cannot successfully expand the OPC node in some OPC UA server while other OPC UA client can successful expand it.
When the problem occurred, the response from OPC Twin service would show error message: "BadNodeIdUnknown".
To Reproduce
Steps to reproduce the behavior:

Runniung OPC Twin and OPC Publisher module in IoT Edge in a ubuntu gateway.
Use OPC Twin webUI to discover, browse OPC UA server.
Using the UI to expand the OPC UA node, then the issue occurred.  Like picture below.

Not showing any OPC tag in Tags node.

But can see the OPC tag in Tags node while using OPC Client like UAExperts.

Expected behavior
Can successfully expand the OPC node in any OPC UA server just like other OPC client do.
Screenshots
Response of expanding the node with  abnormal OPC UA server

Response of expanding the node with  normal OPC UA server

Additional context
The issue behavior is similar with issue #26  , but I think it's different issue. I've used latest industry-service and OPC Twin module to test. and I think issue #26 is resolved now in my testing environment. But the issue which I reported still happened.

Hi @ryan-ms, this looks like a bug resulting from probably double url escaping the namespace uri - once from the GET parameters, and later in the node id parsing.   I will look into it.
In the meantime could you try the same with the CLI?  Which I believe uses the POST version of browse.

Hi @marcschier ,
Thanks for reply.
Sure, I can try the CLI. But actually, I am not very familiar to use CLI, I've referenced the document to use CLI.
I can used --list ,  --host command which document mentioned , but not sure what command should I use to browse the OPC node.
Could you please provide me the document or guide me how to use CLI to browse node?
Thank you.
By the way, I've tried use POST method to browse node by using postman, but the result is the same.

Hi @ryan-ms, the issue is that the namespace is not a uri, but just "TagProvider".  I will add a unit test to see that we support this case and whether this is an issue in the GET or sample client.  In the meantime, instead of the above can you use "nsu=TagProvider;s=Tags" as node id using POST in postman?

Hi @marcschier ,
Yes, I've tried "nsu=TagProvider;s=Tags" as node id using POST in postman.
And the response is good!

So I assume the Connected Factory or OPC Twin client will update to use POST method in the future, right?!
Thanks for your response.

Hi @ryan-ms, yes, but I also now have checked in unit tests in master that exercise both POST nad the GET path wtih a bad URI, and they indicated that everything is working ok (I did not need to make any real fixes).
Connected factory uses the API nuget which is doing POST, but older services, so I assume that this is the issue there and we have fixed something since 2.0.1.   For the webapp, my assumption is that it is doing something wrong such as not url encoding the node id.


fix "rest_hostname" value for .transifexrc

Fixed errors in the ~/.transifexrc file generated by the create-transifexrc command; the correct value for rest_hostname is https://rest.api.transifex.com. ref: https://github.com/transifex/cli/blob/86ac74821fac10f2aa17f577a6739eea55427e6a/examples/exampleconf/.transifexrc#L21
Note: create-transifexrc command and SPHINXINTL_TRANSIFEX_TOKEN have been deprecated.
They will be removed after six months. Please use the TX_TOKEN environment variable instead.

@shimizukawa What should be used instead of create-transifexrc ?


feat(tech): bring icons back

#430  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Update search-the-audit-log-in-security-and-compliance.md for adding Forms Collection auditing logs

Adding the Forms Collection related auditing logs, including: CollectionCreated,  CollectionUpdated,   CollectionHardDeleted,   CollectionSoftDeleted,  CollectionRenamed,  MovedFormIntoCollection,  MovedFormOutofCollection

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@JessieChenOutlook PR merged. Thanks for adding these new Forms activities.


Login Failed

I updated to the newest version and tried using --interactive, still isnt working
It says Error Session 1 this Field is required, even though I inputted the correct option

did you managed to get it working?

Well, Instagram unflagged my account so it works fine now without this
On Feb 6, 2018 5:59 AM, "Reuben Tan"<EMAIL_ADDRESS>wrote:

did you managed to get it working?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/rarcega/instagram-scraper/issues/171#issuecomment-363387652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfBeB6t4fSuRPrG6PRi1vIliW5x4_Pdxks5tSDB5gaJpZM4R2ggt
.


Lagrange crashes when creating Bookmark

./Lagrange-1.2.0-x86_64.AppImage
Lagrange: A Beautiful Gemini Client
[window] renderer: opengl (accelerated)
[1]    95548 segmentation fault (core dumped)  ./Lagrange-1.2.0-x86_64.AppImage

On Ubuntu 20.10. Reproducable.

So it would appear... Looks like a v1.2.1 will be coming up shortly.

v1.2.1 patch released.

This was fast ;-)
Thanks a lot!


Create Space notification is hidden

When a new space is created the respective toast notification is hidden behind the widget / wizard for the next steps:

Tested just now. On a Mac. Chrome: Version 57.0.2987.133

@catrobson can you add this to your list of things to review please? Do we bring the notification forward? If so do we really need to button on the form that does the same thing? Do we not show a notification for this and just you the button on the form?

appears to be fixed


GetSubstructMatch() function fails

Hi,
I find an unexpected bug while matching substructure.
mol_smiles = 'CC1(C)OB(c2ccc(OCc3ccc4ccccc4n3)cc2)OC1(C)C'
subs_smiles = 'CB1OC(C)(C)C(C)(C)O1'
mol = Chem.MolFromSmiles(mol_smiles)
patt = Chem.MolFromSmarts(subs_smiles)
hit_ats = list(mol.GetSubstructMatch(patt))

Molecule graph:

substructure graph:

Here, however, the 'hit_ats' is empty. I don't know why. I would appreciate it if someone could help me.

Hi,
The boron ring is attached to an aromatic ring, so your SMARTS needs to be
cB1 etc.  to make it match both aromatic and aliphatic carbons, you could
try [#6]B1.  Also, your call to MolFromSmarts is being passed smiles when
it should be subs_smiles
HTH,
Dave
On Sun, 24 Apr 2022 at 08:23, DaShenZi @.***> wrote:

Hi,
I find an unexpected bug while matching substructure.
mol_smiles = 'CC1(C)OB(c2ccc(OCc3ccc4ccccc4n3)cc2)OC1(C)C'
subs_smiles = 'CB1OC(C)(C)C(C)(C)O1'
patt = Chem.MolFromSmarts(smiles)
hit_ats = list(mol.GetSubstructMatch(patt))
Molecule graph:
[image: image]
https://user-images.githubusercontent.com/39253334/164964791-ec0d2847-43f2-47f6-8eae-713a74aefe43.png
substructure graph:
[image: image]
https://user-images.githubusercontent.com/39253334/164964855-f185ee56-aeb6-4d41-a201-c179be5b8ce8.png
Here, however, the 'hit_ats' is empty. I don't know why. I would
appreciate it if someone could help me.
—
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/issues/5229, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGF2FUHFF5SCHB3HSATOFLVGTZFNANCNFSM5UF3AIRA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
David Cosgrove
Freelance computational chemistry and chemoinformatics developer
http://cozchemix.co.uk

@DavidACosgrove Thank you! It works after changing to cB1! But there is a new question. Actually, I don't know whether the carbons of the SMARTS are aromatic or not. Thus, is there a method ignoring this property of carbons?

[#6] in a SMARTS means a carbon atom (atomic number 6) either aromatic or
aliphatic. You can also use [c,C] which is perhaps easier for a human to
understand but slightly less efficient computationally in most cases.
On Sun, 24 Apr 2022 at 14:05, DaShenZi @.***> wrote:

@DavidACosgrove https://github.com/DavidACosgrove Thank you! It works
after changing to cB1! But there is a new question. Actually, I don't know
whether the carbons of the SMARTS are aromatic or not. Thus, is there a
method ignoring this property of carbons?
—
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/issues/5229#issuecomment-1107838026, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGF2FT5H5GMJ6HS5LJT7I3VGVBI7ANCNFSM5UF3AIRA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
David Cosgrove
Freelance computational chemistry and chemoinformatics developer
http://cozchemix.co.uk

@DavidACosgrove Thank you so much!


placeholder rule can cause error in specific browser

error is caught in android webview which have user agent: Mozilla/5.0 (Linux; Android 5.1; m3 note Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.127 Mobile Safari/537.36, guess it's chrome for android 40?

@L42y oh weird. good catch, thanks, I’ll take a look. I suspect it’s happening because insertRule has very strict validation and Chrome for Android 40 most likely only supports the ::-webkit-input-placeholder pseudoelement.

@L42y I’ve wrapped insertRule in a try/catch block for now. Unfortunately there’s not much else I can do since we’ve decided to move away from autoprefixing at runtime.

@meyer thanks, that's enough for now, since I'm using jsxstyle-loader to generate CSS for production environment.

@L42y right on, glad you’re finding it useful. Let me know if you run into any funky edge cases.

@L42y thanks again for the report. As it turns out this was an issue in quite a few browsers:
https://travis-ci.org/smyte/jsxstyle/builds/275171074#L562


Fix "Satisfied" appearing twice in the list of default emotions

The second entry is at https://github.com/Alain1405/obsidian-mood-tracker/blob/03a34025f585e193f8eecc71b1a9c539738ba1c8/src/data/defaultEmotions.ts#L11

@Alain1405 hey, thanks for the heads up and the effort! I've updated the default emotions list in https://github.com/dartungar/obsidian-mood-tracker/releases/tag/0.2.2, so I'm going to close this PR, but thanks for the effort again!


Upgraded Trusty Crouton reboots on startunity (enter-chroot runs fine) while newly installed Trusty crouton works fine

I've upgraded this trusty crouton many times with a few issues - the last time this happened it was fixed by running 'sudo apt-get install --reinstall xserver-xorg-core' but this time it' not working:
(trusty)brendanb@corundum:~$ croutonversion
crouton: version 1-20150430123324~master:90ad47ff
release: trusty
architecture: amd64
xmethod: xorg
targets: x11,xiwi,extension,unity
host: version 6812.83.0 (Official Build) stable-channel parrot_ivb
kernel: Linux corundum 3.8.11 #1 SMP Mon Apr 27 10:12:25 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: no
from the Xorg.1.log if a reinstall is done:
[   871.333] (II) xfree86: Adding drm device (/dev/dri/card0)
[   871.335] (II) xfree86: Adding drm device (/dev/dri/card1)
[   871.337] (EE)
[   871.337] (EE) Backtrace:
[   871.339] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7ff8ec965848]
[   871.339] (EE) 1: /usr/bin/X (0x7ff8ec7bc000+0x1ad539) [0x7ff8ec969539]
[   871.340] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ff8eb8b8000+0x10340) [0x7ff8eb8c8340]
[   871.341] (EE) 3: /usr/bin/X (0x7ff8ec7bc000+0xb57a6) [0x7ff8ec8717a6]
[   871.341] (EE) 4: /usr/bin/X (xf86BusProbe+0x9) [0x7ff8ec845099]
[   871.342] (EE) 5: /usr/bin/X (InitOutput+0x74d) [0x7ff8ec8536fd]
[   871.343] (EE) 6: /usr/bin/X (0x7ff8ec7bc000+0x59bab) [0x7ff8ec815bab]
[   871.344] (EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7ff8ea2f8ec5]
[   871.344] (EE) 8: /usr/bin/X (0x7ff8ec7bc000+0x451ee) [0x7ff8ec8011ee]
[   871.345] (EE)
[   871.346] (EE) Segmentation fault at address 0x0
[   871.346] (EE)
Fatal server error:
[   871.347] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   871.348] (EE)
[   871.348] (EE)
Please consult the The X.Org Foundation support
As I said in the subject, if \I don't run the apt-get reinstall, it reboots on running startunity - here is the relevant output of /dev/pstore/console-ramoops
[  495.884158] BUG: unable to handle kernel NULL pointer dereference at<PHONE_NUMBER>000074
[  495.884179] IP: [] intel_crtc_page_flip+0x33/0x315
[  495.884198] PGD 0
[  495.884207] Oops: 0000 [#1] SMP
[  495.889369] gsmi: Log Shutdown Reason 0x03
[  495.889377] Modules linked in: i2c_dev uinput snd_hda_codec_hdmi memconsole ath3k btusb snd_hda_codec_realtek bluetooth snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc sdhci_pci sdhci mmc_core nm10_gpio snd_timer zram(C) lzo_compress zsmalloc(C) fuse nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables tg3 ptp pps_core ath9k_btcoex ath9k_common_btcoex ath9k_hw_btcoex ath mac80211 cfg80211 uvcvideo videobuf2_vmalloc joydev ppp_async ppp_generic slhc tun
[  495.889538] CPU 0
[  495.889545] Pid: 27235, comm: Xorg Tainted: G         C   3.8.11 #1
[  495.889557] RIP: 0010:[]  [] intel_crtc_page_flip+0x33/0x315
[  495.889573] RSP: 0018:ffff880096cc7cb8  EFLAGS: 00010286
[  495.889582] RAX: ffff8800a628e200 RBX: ffff88013a1d5c00 RCX:<PHONE_NUMBER>000201
[  495.889591] RDX: ffff880146c84900 RSI: ffff88013b653cc0 RDI: ffff88014a943000
[  495.889601] RBP: ffff880096cc7d00 R08: ffff88013b653cc0 R09:<PHONE_NUMBER>000031
[  495.889610] R10:<PHONE_NUMBER>000000 R11: ffffffff86891123 R12: ffff88014a942000
[  495.889620] R13: ffff88014a943000 R14:<PHONE_NUMBER>000000 R15: ffff880149dc4000
[  495.889631] FS:  00007f1fad91b9c0(0000) GS:ffff88014f200000(0000) knlGS:0000000000000000
[  495.889641] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[  495.889650] CR2:<PHONE_NUMBER>000074 CR3: 00000000a6394000 CR4:<PHONE_NUMBER>1407f0
[  495.889659] DR0:<PHONE_NUMBER>000000 DR1:<PHONE_NUMBER>000000 DR2:<PHONE_NUMBER>000000
[  495.889669] DR3:<PHONE_NUMBER>000000 DR6: 00000000ffff0ff0 DR7:<PHONE_NUMBER>000400
[  495.889679] Process Xorg (pid: 27235, threadinfo ffff880096cc6000, task ffff880096f9b480)
[  495.889689] Stack:
[  495.889694]  ffffffff8689dbf6 ffff88013b653cc0<PHONE_NUMBER>000031 ffff88013b653cc0
[  495.889715]  ffff88013a1d5c00 ffff880149e39200 ffff88014a943000 ffff88013a1d5400
[  495.889736]  ffff88013a1d5800 ffff880096cc7d48 ffffffff8689e16f<PHONE_NUMBER>000000
[  495.889756] Call Trace:
[  495.889766]  [] ? commit_crtc_state+0x3e/0x21c
[  495.889777]  [] commit_plane_state+0x215/0x280
[  495.889787]  [] atomic_commit.isra.3+0x93/0xb4
[  495.889797]  [] drm_atomic_commit+0x11/0x13
[  495.889809]  [] drm_mode_page_flip_ioctl+0x1bd/0x230
[  495.889820]  [] drm_ioctl+0x30f/0x3ec
[  495.889831]  [] ? drm_mode_gamma_get_ioctl+0xc7/0xc7
[  495.889844]  [] ? timerqueue_del+0x52/0x5a
[  495.889856]  [] ? __remove_hrtimer+0x34/0x8d
[  495.889867]  [] ? hrtimer_try_to_cancel+0x95/0xb5
[  495.889879]  [] do_vfs_ioctl+0x362/0x425
[  495.889888]  [] ? poll_select_copy_remaining+0xf5/0x120
[  495.889899]  [] sys_ioctl+0x6d/0xa5
[  495.889910]  [] system_call_fastpath+0x16/0x1b
[  495.889919] Code: e5 41 57 41 56 41 55 41 54 53 48 83 ec 20 48 8b 87 b8 00 00 00 4c 8b 27 4c 8b 70 50 48 8b 86 90 00 00 00 4d 8b bc 24 f0 03 00 00 <41> 8b 5e 74 39 5e 74 48 89 45 d0 b8 ea ff ff ff 0f 85 bd 02 00
[  495.890116] RIP  [] intel_crtc_page_flip+0x33/0x315
[  495.890131]  RSP
[  495.890138] CR2:<PHONE_NUMBER>000074
[  495.890166] ---[ end trace d23ef8223a331536 ]---
[  495.898099] Kernel panic - not syncing: Fatal exception
[  495.898118] Kernel Offset: 0x5600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  495.898270] gsmi: Log Shutdown Reason 0x02
[  495.909967] ACPI MEMORY or I/O RESET_REG.
Apologies if it's not enough of the logs - I can post more if necessary. Newly installed trusty & precise croutons work fine, but I have a lot of data & packages installed in that one so I'd rather not have to recreate it from scratch & transfer all of the data over

@smibarber this is what you expected might happen...

Sooo, my chromebook has now been updated to Freon/frecon & the old crouton now works again - I guess this one can be closed - I couldn't test any fixes now in any case


Multiprocessing library running very slowly

I have a performance related problem when using the multiprocessing library. Here is a MWE that creates a Pool of workers and measures the time this takes.
# main.py
from multiprocessing import Pool
from time import perf_counter

def main():
    while True:
        processes = int(input("Enter number of processes: "))
        t1 = perf_counter()
        with Pool(processes=processes):
            pass
        t2 = perf_counter()
        print(f"Time taken: {t2-t1}")

if __name__ == "__main__":
    main()

Running this script with my python interpreter I get the following sort of performance:
$ python main.py
Enter number of processes: 1
Time taken: 0.06969530001515523
Enter number of processes: 6
Time taken: 0.13465180003549904
Enter number of processes: 12
Time taken: 0.3786882000276819

When I create an executable with Nuitka using python -m nuitka --clang --standalone main.py and run the resulting .exe I get:
$ ./main.exe
Enter number of processes: 1
Time taken: 1.668638400034979
Enter number of processes: 6
Time taken: 9.8353400999913
Enter number of processes: 12
Time taken: 19.345703400031198

As you can see, the time taken to spawn the pool of workers is considerably slower. Is this expected behaviour? For context, in the project I'm working on I am using the scipy.optimize library with parallel computing enabled. And I traced the slow execution time to the use of the multiprocessing library.

Version/Platform: Python 3.10 (installed from python.org) , Nuitka 1.0.5 (installed via pip), Windows 10

$ python -m nuitka --version
1.0.5
Commercial: None
Python: 3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)]
Flavor: Unknown
Executable: C:\Users\Username\AppData\Local\Programs\Python\Python310\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10

I testing this myself, and fail to reproduce it. At the time I wondered, if your reproducer is lacking the imports, not sure now, but I think I never believed this one. With onefile it would have been the case until relatively recently, like 1.5.x or so.
I got this numbers from Nuitka:
Enter number of processes: 1
Time taken: 0.028629800013732165
Enter number of processes: 6
Time taken: 0.03226959996391088
Enter number of processes: 12
Time taken: 0.07118139998055995

Compare to CPython
Enter number of processes: 1
Time taken: 0.03625340003054589
Enter number of processes: 6
Time taken: 0.03780900000128895
Enter number of processes: 12
Time taken: 0.06947769998805597

Differences would appear to be noise. Seems we either improved startup since, but I would consider this solved now.


Not sure what I'm doing wrong here but getting this error

CMD entry is:
nvidia-clerk-windows.exe -region=USA -model=3080
getting this response:
nvidia-clerk-windows.exe -region=USA -model=3080
'nvidia-clerk-windows.exe' is not recognized as an internal or external command,
operable program or batch file.

Where did you download the file to?

Your cmd prompt needs to be in the same folder as the executable. If the executable is in your downloads folder type cd Downloads and it will change to that directory. Then you can run the command.

That fixed it thanks


Repositories websockets

When user requests the repositories page a request to Github is send to fetch latest repositories. When they are fetched a websocket broadcast will be executed with all repository rows. It's no longer necessary manually reload the page.

Meget cool. Stadig polling, right?

Jo stadig polling. Men denne løsning vil også virke med push fra Github. Det eneste ændring er, at fjerne "poll hver 60 sekund".


Hot reloading for CSS is broken

To Reproduce

Start the server with npm run start
Make a change in app/containers/App/styles.css

Result
Page looks broken and the previous styles on the element are removed. We can fix this by manually reloading the page.

Dang, that shouldn't be happening! Are you running the example app, and any ideas what could be the root of the problem?

@mxstbr I faced this too & thought it was caused by pure function

I've tried & it's worked after converting to ES6 class

@joehua87 yeah, its a v1 caveat, https://github.com/gaearon/react-hot-loader/blob/master/docs/Troubleshooting.md#the-following-modules-couldnt-be-hot-updated-they-would-need-a-full-reload
yet another reason to upgrade to RHL v3 beta

Ah, thanks for trying that out @joehua87! Closing since this is nothing we can change at the moment!


What is your licensing model?

I have a few fixes and improvements work locally. Thinking of contributing to this code via a PR, but not sure if that's allowed.

Thank you, I see it's Apache 2.0 now.