Error: Metadata emit requires the sourceFiles are passed to WriteFileCallback

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Note: for build related issues you can open up an issue on the ionic-app-scripts repo
https://github.com/driftyco/ionic-app-scripts
Short description of the problem:
I'm getting

Error: Metadata emit requires the sourceFiles are passed to WriteFileCallback. Update to TypeScript ^1.9.0-dev

when trying to build an Ionic 2 project for iOS. Using typescript 2.0.9. Tried reverting to older versions including 1.9.0-dev and 1.8 but get same error. Also have npm updated all packages.
What behavior are you expecting?
Build with no errors
Steps to reproduce:

Build ionic 2 project for iOS
ngc barfs

insert any relevant code between the above and below backticks

Post the output of ionic info below please
Your system information:
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.36
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X Sierra
Node Version: v6.8.1
Xcode version: Xcode 8.1 Build version 8T61a
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Suggestion to revert typescript version. Doesn't work for me: https://github.com/mgechev/angular2-ngc-rollup-build/issues/2

Same problem here..

Was running into the same issue as above after updating my projects dependencies with npm update. I had "typescript": "^2.0.6" in my devDependencies and it updated to 2.1.1.
Changed "typescript": "^2.0.6" to "typescript": "2.0.6" (note the caret), ran npm install and the bug disappeared.

@vjanssens your workaround worked well for me, thanks :)

I just had the same problem using typescript 2.1.1, installed 2.0.10 and it worked... I suppose that ngc doesn't support TS 2.1.x yet

same here, I changed to TS 2.0.6 and now it works, thanks @vjanssens

I'd really love to make it work with TS 2.1 as it supports async/await transpilation to ES5. Is there a workaround?


feat: allow non-standard namespace for SoloServiceProvider

If your SoloServiceProvider is stored in a namespace which is not the standard App\Providers, Laravel Solo is gonna "complain" because commands are being registered from an unsafe location.
This PR adds the method useCustomNamespaceProvider, which tells Laravel Solo to consider it as a safe location to register commands from.
This method takes the service provider instance itself as an argument of AaronFrancis\Solo\Providers\SoloApplicationServiceProvider type (which your service provider is subclass of): this ensures that the user is not trying to register as safe an arbitrary class namespace.
Example:
namespace App\Custom\Namespace\Providers;

use AaronFrancis\Solo\Commands\EnhancedTailCommand;
use AaronFrancis\Solo\Facades\Solo;
use AaronFrancis\Solo\Providers\SoloApplicationServiceProvider;

class SoloServiceProvider extends SoloApplicationServiceProvider
{
    public function register()
    {
        Solo::useTheme('dark')
            // Call before registering commands!
            ->useCustomNamespaceProvider($this)
            // Commands that auto start.
            ->addCommands([
                EnhancedTailCommand::make('Logs', 'tail -f -n 100 ' . storage_path('logs/laravel.log')),
                'Vite' => 'npm run dev',
                // 'HTTP' => 'php artisan serve',
                'About' => 'php artisan solo:about'
            ])
            // Not auto-started
            ->addLazyCommands([
                'Queue' => 'php artisan queue:listen --tries=1',
                // 'Reverb' => 'php artisan reverb:start',
                // 'Pint' => 'pint --ansi',
            ])
            // FQCNs of trusted classes that can add commands.
            ->allowCommandsAddedFrom([
                //
            ]);
    }

    public function boot()
    {
        //
    }
}

This seems like a good solution. Where do you normally store your service providers if not App\Providers?

@aarondfrancis I use a domain-driven oriented folder structure inspired by Spatie's "Laravel beyond CRUD", at least for medium-sized applications.
In short: src/App/Support/Providers/SoloServiceProvider.php.

@eleftrik do you still have an App\Providers\AppServiceProvider in this setup?

@eleftrik I changed it up a bit! Let me know what you think


Hardcoded makeLegacyMessageCode() limit

https://github.com/wintercms/wn-translate-plugin/blob/7e9f37ffe7266de49c4cfa2d73718670d44da124/updates/v2.1.0/migrate_message_code.php#L75
is ported from
https://github.com/wintercms/wn-translate-plugin/blob/7fa0de32e10f2674e3b7f4f2fa4322ef33bd6fc5/models/Message.php#L309
but it will trown an error in case of MySQL default config with varcharmax = 191 (see https://github.com/wintercms/winter/blob/ec46549b21893d39c15261aa237e49c9c0680fbb/config/database.php#L70)
I think we need to get limit value using the same logic used here:
https://github.com/wintercms/winter/blob/ec46549b21893d39c15261aa237e49c9c0680fbb/modules/system/ServiceProvider.php#L624-L642
of even better, we can check the current table schema with Schema::getConnection()->getDoctrineColumn(self::TABLE_NAME, 'code')->getLength(), but this should be tested against all supported databases to check returned values (I don't have this kind of expertise).

@matteotrubini it might be worth pointing out that the varcharmax configuration item is removed in Winter v1.2 since it was a workaround for older version of MySQL / MariaDB that are no longer supported in Winter v1.2 so this may become a non-issue.

You are right, but what's happens if someone install on / upgrades an existing DB? As varchar columns were created with that lenght, the limit still apply.


All: Merge gameplay branch

"Repo might be dead for a while" he says.

+12k added LOC lmaoooo, hopefully this doesn't break stuff...


Heads Up: fs.existsSync will be removed in Meteor 1.3.3 / 1.4

https://github.com/nodejs/node/issues/1592
...so this package will need an update.

Thank you for submitting this.
This is now fixed with<EMAIL_ADDRESS>


integrations: Add topic parameter for Appfollow.

I tested this in my local dev env.

Updated.

You should also document this.  I'm test-deploying to chat.zulip.org now though.

Merged, after a quick tweak to the docs.  Thanks @roberthoenig!


bug: module not found for lazy

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.8.2Build type: Release LuaJIT 2.1.0-beta3 Compiled by linuxbrew@219ba71ff82e  Features: +acl +iconv +tui See ":help feature-compile"     system vimrc file: "$VIM/sysinit.vim"   fall-back for $VIM: " /home/linuxbrew/.linuxbrew/Cellar/neovim/0.8.2/share/nvim"
Operating system/version
window 11 home v 22H2 on wsl kail linux
Describe the bug
hi, i just use your nvim config and when i open nvim, it said:

i have clone lazy.nvim to .config/nvim
i have also try :checkhealth lazy, but it said module not found
Steps To Reproduce

git clone https://github.com/folke/dot
cp dot/config/nvim ~/.config/nvim
nvim
see error
try :checkhealth lazy
module not found
git clone https://github.com/folke/lazy.nvim ~/.config/nvim
still the same think

Expected Behavior
it should be working
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

You should not clone my dots. Better to just use LazyVim.
Anyway, the reason is that you set config.dev.patterns in the lazy config. Remove that if you really want to use my config.

great!! i just use LazyVim, and i work! thanks


add serialisation to object detection

🚀 Feature
Add serializes for object detection
Motivation
At this moment object detection task returns a dict with tensors as result but we should be able to customize through an serialization object.

Hey, I am interested to work on this. This would be my first contribution to this repo though, let me know!

Hi @bsridatta, that would be great!

Thanks @akihironitta!
Could you or @edgarriba give me some clarification. Just to make sure I understood the idea, model.predict() gives a list of dictionaries for each input image with keys boxes, labels, scores. The enhancement is to add optional param to save the list of dictionaries as JSON object or such?

@edgarriba @akihironitta  can I get clarity on this? Thanks


RaftCluster - AllowPartitioning option

I'm trying to set up a system where things function more or less normally no matter how many members are online and no matter how many members are part of the cluster. Looking at the documentation I thought AllowPartitioning would provide that functionality, but it wasn't working and looking at the test cases (SingleNodeWithoutConsensus) it appears it isn't meant to work the way I want... but I'm a little bit confused about why the current behavior is desired.
As best as I can tell, the only real reference to the option is when in the leader state, you won't bump out of leader state upon discovering that a quorum is not present. The state machine cannot make commits, and non-leaders will not become leaders.
I understand that strictly speaking Raft doesn't allow commits without consensus... so maybe what I want isn't really Raft, but it feels like what you've got is so close to being what I need. What do you think?

AllowPartitioning allows presence of nominal leader in the segment of the cluster in case of network partitioning. However, such a leader is not able to commit log entries because there is no response from the majority of cluster nodes. It means that if AllowPartitioning=true then external observer in partitioned network can see multiple leaders. However, only one (or none) leader may commit log entries. This may be confusing for most developers. Therefore, AllowPartitioning is disabled by default. In this case, if leader cannot communicate with the majority of nodes, its state will be downgraded to follower state. Thus, external observer will see only one (or none) leader even in partitioned network.

a system where things function more or less normally no matter how many members are online and no matter how many members are part of the cluster

What you mean by normally? It always depends on expected characteristics of you distributed system. CAP theorem is a good starting point in understanding of theoretical limits of distributed systems. In case of Raft you have the following limitations:

You cannot perform write operations without a leader, because...
only leader node can perform writes
If you need consistent reads (strict consistency model) then you need to read from leader node
If stale reads are OK (weak consistency model) then you can read from any node in the cluster. Weak consistency model is applicable for many applications such as distributed cache, K/V databases etc.

As a result, if weak consistency is your choice then cluster will be available for reads mostly in any bad situation even if each node isolated by network partitioning.

However, there is an option to increase consistency and availability of some data in Raft cluster. This is called sharding. There are some implementations of algorithm called Multi-Raft where each shard has its own leader. In case of failures some shards may be unavailable. However, if shard has functioning leader then you can perform writes of data belonging to this shard only.
At the moment, sharding is not provided out-of-the-box in my library. However, there is no limit to build sharded cluster on top of existing version.

Alright, sounds like Raft is just not going to work for my use-case.


Support for Cipher signature

Some of the videos come ciphered. When trying to access some URLS, I get a Access denied message in the browser:
Access to r3---sn-xu525-j0xs.googlevideo.com was denied
Please take a look
Video with this problem: Ne4okV5MqPs
Here are some links with relevant discussions:
How to decode the Cipher
Another resource on decripting
 {
     itag: 18,
     mimeType: video / mp4;codecs = "avc1.42001E, mp4a.40.2",
     bitrate: 643499,
     width: 640,
     height: 360,
     lastModified:<PHONE_NUMBER>476169,
     contentLength: 19324285,
     quality: medium,
     fps: 24,
     qualityLabel: 360 p,
     projectionType: RECTANGULAR,
     averageBitrate: 643330,
     audioQuality: AUDIO_QUALITY_LOW,
     approxDurationMs: 240303,
     audioSampleRate: 44100,
     audioChannels: 2,
     signatureCipher: s = % 3 D % 3 D % 3 D % 3 Dgk5ptKJ4gLfk_I7vbruneVV - D5Vmnm9qbevxGRSBRicBiAS0stdvC2udNBoB_io0j9RNciAtZtSwZdyL9ZSPpJb1NAhIQAw8JQ0qRORO & sp = sig & url = https: //r3---sn-xu525-j0xs.googlevideo.com/videoplayback%3Fexpire%3D1610955070%26ei%3D3uQEYNrtGIGY0_wPs7aMwAo%26ip%3D<IP_ADDRESS>%26id%3Do-ABr_WjR7yQqrhNiQQ-q6h51ZyGA9v23pmwX7xX1JRQYp%26itag%3D18%26source%3Dyoutube%26requiressl%3Dyes%26mh%3DYT%26mm%3D31%252C29%26mn%3Dsn-xu525-j0xs%252Csn-hp57ynel%26ms%3Dau%252Crdu%26mv%3Dm%26mvi%3D3%26pcm2cms%3Dyes%26pl%3D21%26pcm2%3Dyes%26initcwndbps%3D378750%26vprv%3D1%26mime%3Dvideo%252Fmp4%26ns%3DKjO5zjhfGTuGgQrgqhTXqKoF%26gir%3Dyes%26clen%3D19324285%26ratebypass%3Dyes%26dur%3D240.303%26lmt%3D1609584804476169%26mt%3D1610933086%26fvip%3D3%26c%3DWEB%26txp%3D5530432%26n%3Dqcsf7RNT1ehV2W%26sparams%3Dexpire%252Cei%252Cip%252Cid%252Citag%252Csource%252Crequiressl%252Cpcm2%252Cvprv%252Cmime%252Cns%252Cgir%252Cclen%252Cratebypass%252Cdur%252Clmt%26lsparams%3Dmh%252Cmm%252Cmn%252Cms%252Cmv%252Cmvi%252Cpcm2cms%252Cpl%252Cinitcwndbps%26lsig%3DAG3C_xAwRgIhAP0Vso85cXhu79iNOB5L9x1xv1jumIYKu5Oo9-tXAEUVAiEA1_O6xkNIV-bpDtA-muy_YNwhyYXphO2VKCXZLyJ7UB8%253D
     }

At least there the exception should be handled! The following unhadled exception pops up:
PlatformException (PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null))

At least there the exception should be handled! The following unhadled exception pops up:
PlatformException (PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null))


Move to Client protocol, which APIClient implements

In response to https://github.com/thoughtbot/Swish/issues/17
@gfontenot Not sure if this is what you had in mind, but it makes sense to me!

I think this is more than we need to do. I don't think it's worth providing default implementations, or exposing the dependency on a request performer. I think Client should just be a simple protocol that has the performRequest method on it. The rest is fairly specific to an API client, and wouldn't need to be shared.

@gfontenot Ah, yeah I did that a bit blindly.

No worries, I gave 0 insight into what I was exactly thinking.
This is dope :+1:


asdf installation issue?

I see errors when running GWCS tests on Travis related to python version requirements in asdf.
Collecting asdf from git+https://github.com/spacetelescope/asdf.git#egg=asdf
  Cloning https://github.com/spacetelescope/asdf.git to /tmp/pip-build-e737z6sl/asdf
asdf requires Python '~=2.7, >=3.3' but the running Python is 3.5.4

Full logs can be seen here
@drdavella Any suggestions?

I think this is a bug in the way the version is is formatted. I just pushed a fix to master, so if you rerun the tests hopefully it will work this time...

Yes, it's fixed now. Thanks.


NuttX UINT32_C portability issue

When compiling libcanardv1 for NuttX I get multiple undefined reference errors regarding the UINT32_C macro
libcanard/canard.c:186: undefined reference to `UINT32_C'

Looking at the stdint.h header from NuttX it seems that they don't define this macro
#if 0 /* REVISIT: Depends on architecture specific implementation */
#define INT8_C(x)           x
#define INT16_C(x)          x
#define INT32_C(x)          x ## l
#define INT64_C(x)          x ## ll

#define UINT8_C(x)          x
#define UINT16_C(x)         x
#define UINT32_C(x)         x ## ul
#define UINT64_C(x)         x ## ull
#endif

Not sure if this issue is NuttX specific, thus this issue should be resolved inside NuttX.
Or we could add some kind of compatibility check e.g. ifndef in canard?

Per section <IP_ADDRESS> of the ISO C11 standard, these macros shall be defined by a compliant implementation of the standard library. Please report this bug to the NuttX maintainers.
Meanwhile, as a workaround, you can provide -DUINT32_C(x)=x##ull to the compiler.


Crashing Visual Studio

Double click on a file in the dialog should open the file and set the clicked file as selected and highlighted in the solution explorer, it however crashed in VS 2015

The issue was when double clicking a file, the program opens the file and then synchronizes the solution explorer to set the focus on the selected file.
Dte.Windows.Item("{3AE79031-E1BC-11D0-8F78-00A0C9110057}").Activate();
Dte.ExecuteCommand("SolutionExplorer.SyncWithActiveDocument");

However if "track active item in solution explorer" is already checked in options/projects and solutions ..it crashes visual studio.
If someone know how to test settings in visual studio to see if the options is already checked or not, let me know. Otherwise just check the option and let visual studio do the tracking.


Setup script for building python sdk on macOS installs boost for python 3.7, although python 3.6 was specified

OS and version used: macOS 10.14

Python runtime used: python 3.6

SDK version used: release_2019_01_03

Description of the issue:

Setup script for building python sdk on macOS installs boost for python 3.7, although python 3.6 was specified.
Following this guide, I ran the setup.sh script with ./setup.sh --python-version 3.6 and then the build.sh script with ./build.sh --build-python 3.6. Setup script was successful, but the build script failed to find boost (see error below).
After investigation, it seems like the setup script has install boost for python 3.7, not 3.6. Switching to a virtualenv with python 3.7 solved the issue - the build script terminated successfully.
Console log of the issue:
(venv) $ ./build.sh --build-python 3.6
<path>/azure-iot-sdk-python/c/cmake/iotsdk_mac <path>/azure-iot-sdk-python
-- The C compiler identification is AppleClang <IP_ADDRESS>10046
-- The CXX compiler identification is AppleClang <IP_ADDRESS>10046
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- IoT Client SDK Version = 1.2.12
-- Provisioning SDK Version = 1.2.12
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdbool.h
-- Looking for include file stdbool.h - found
-- target architecture: x86_64
-- Performing Test CXX_FLAG_CXX11
-- Performing Test CXX_FLAG_CXX11 - Success
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcurl'
--   Found libcurl, version 7.54.0
-- Found CURL: curl
-- target architecture: x86_64
-- target architecture: x86_64
-- target architecture: x86_64
-- target architecture: x86_64
-- iothub architecture: x86_64
-- Could NOT find Boost
CMake Error at <path>/azure-iot-sdk-python/device/iothub_client_python/CMakeLists.txt:44 (string):
  string sub-command REPLACE requires at least four arguments.

-- Found PythonLibs: /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/libpython3.6m.dylib (Required is at least version "3.6")
-- Could NOT find Boost
CMake Error at <path>/azure-iot-sdk-python/service/CMakeLists.txt:44 (string):
  string sub-command REPLACE requires at least four arguments.

-- Configuring incomplete, errors occurred!
See also "<path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
Test project <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac
No tests were found!!!
<path>/azure-iot-sdk-python
copy iothub_client library to samples folder
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory
copy iothub_client_mock library to tests folder
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/test/iothub_client_mock.dylib: No such file or directory
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory
copy iothub_service_client library to samples folder
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory
copy iothub_service_client_mock library to tests folder
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/tests/iothub_service_client_mock.dylib: No such file or directory
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory
cp: <path>/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory
python3.6 iothub_client_ut.py
Traceback (most recent call last):
  File "iothub_client_ut.py", line 9, in <module>
    import iothub_client_mock
ModuleNotFoundError: No module named 'iothub_client_mock'

Thanks for pointing this out. that's because this is the latest version installable using brew.
Given we can only release one package per architecture with a specific version of boost and we have been supporting Python 3.7, we're not going to make changes to the script to allow for 3.6.
If you want to submit a PR to support others version of python we'll gladly review it though.

@mibarg, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey

Sounds reasonable. However, I suggest changing this README to point out the issue since it has python 3.6 as an option.

The workaround for version 3.7 works for me. However, ./build.sh still fails, here are the error messages:
[ 20%] Building C object c-utility/CMakeFiles/aziotsharedutil.dir/src/uuid.c.o
In file included from /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/device/iothub_client_python/test/iothub_client_mock.cpp:10:
In file included from /usr/local/include/boost/python.hpp:11:
In file included from /usr/local/include/boost/python/args.hpp:8:
In file included from /usr/local/include/boost/python/detail/prefix.hpp:13:
In file included from /usr/local/include/boost/python/detail/wrap_python.hpp:151:
In file included from /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85:
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:534:5: error: 'register' storage class specifier is deprecated and incompatible with
C++17 [-Werror,-Wdeprecated-register]
register PyObject obj,     / Object */
^~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:553:5: error: 'register' storage class specifier is deprecated and incompatible with
C++17 [-Werror,-Wdeprecated-register]
register PyObject obj      / Object */
^~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:575:5: error: 'register' storage class specifier is deprecated and incompatible with
C++17 [-Werror,-Wdeprecated-register]
register const wchar_t w,  / wchar_t buffer */
^~~~~~~~~
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:593:5: error: 'register' storage class specifier is deprecated and incompatible with
C++17 [-Werror,-Wdeprecated-register]
register wchar_t w,        / wchar_t buffer */
^~~~~~~~~
[......]
Test project /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac
No tests were found!!!
~/Desktop/IoT/take-01/Github/azure-iot-sdk-python
copy iothub_client library to samples folder
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory
copy iothub_client_mock library to tests folder
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/test/iothub_client_mock.dylib: No such file or directory
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory
copy iothub_service_client library to samples folder
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory
copy iothub_service_client_mock library to tests folder
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/tests/iothub_service_client_mock.dylib: No such file or directory
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python_service_client/src/iothub_service_client.dylib: No such file or directory
cp: /Users/saeed/Desktop/IoT/take-01/Github/azure-iot-sdk-python/c/cmake/iotsdk_mac/python/src/iothub_client.dylib: No such file or directory
python2.7 iothub_client_ut.py
Traceback (most recent call last):
File "iothub_client_ut.py", line 9, in
import iothub_client_mock
ImportError: dynamic module does not define init function (initiothub_client_mock)
Any help is highly appreciated,
Thanks.


Poll Endpoint

Add a Polls endpoint for reading/updating/deleting polls. Creating Polls can be rather messy (would need to announce them into a channel for that) and may be out of scope.

[ ] Get 1 by poll id
[ ] Get all by server id
[ ] Get all
[ ] Update
[ ] Delete

eh, no longer needed.


create a contents.md file

Part of good documentation is having a  file which outlines what each of the files and folders in the project are for, so that someone who has no idea how the project is laid out can easily find where certain features are implemented. A contents.md file should be added explaining what each file/class is for and how the code is laid out as a whole.

Well, we should do that if code is not commented. We should be using code document engines like pydoc, javadoc, and phpdoc. This can be corrected off-season.

That is a decent solution, but also the lazy one. Auto generated documentation from source file comments is never as readable or straight forward as that which is formatted and compiled by an actual developer; it nice to have a single file which gives a logical overview of the project layout. Of course it is good to have the javadoc in addition.

I agree with Zach!!!!!!!!!!! This is defined in the software handbook for
team 2228!!
On Mar 7, 2016 12:02 AM, "Erich Spaker"<EMAIL_ADDRESS>wrote:

That is a decent solution, but also the lazy one. Auto generated
documentation from source file comments is never as readable or straight
forward as that which is formatted and compiled by an actual developer; it
nice to have a single file which gives a logical overview of the project
layout. Of course it is good to have the javadoc in addition.
—
Reply to this email directly or view it on GitHub
https://github.com/cougarTech2228/2016-Game-Code-Base/issues/2#issuecomment-193101272
.

Also - the use of UML(Industry standard) which is in Eclispe should be
used. This will be added to the handbook shortly.
On Mar 7, 2016 7:33 AM, "richard versluys"<EMAIL_ADDRESS>wrote:

I agree with Zach!!!!!!!!!!! This is defined in the software handbook for
team 2228!!
On Mar 7, 2016 12:02 AM, "Erich Spaker"<EMAIL_ADDRESS>wrote:

That is a decent solution, but also the lazy one. Auto generated
documentation from source file comments is never as readable or straight
forward as that which is formatted and compiled by an actual developer; it
nice to have a single file which gives a logical overview of the project
layout. Of course it is good to have the javadoc in addition.
—
Reply to this email directly or view it on GitHub
https://github.com/cougarTech2228/2016-Game-Code-Base/issues/2#issuecomment-193101272
.


Autocreate tenant/namespace

Describe the solution you'd like
Pulsar client should have a configuration to autocreate tenant/namespace if they don't exist.
Consequently, the authz would be used to ensure every rights are contained in the authstring.
This comes with the granularity possibilities offered by https://github.com/apache/pulsar/pull/6428.

Closed as stale and no one seems to work on it. Please create a new issue if it's still relevant to the maintained versions.


Update Augment the Subject List with new Recommendations

Per Minjie Chen there is an updated list of terms we should use for the augment the subject list for indigenous studies.
Updated term list is at: https://docs.google.com/spreadsheets/d/1jFsLExGilXWmXEikliuYUtdipF5HnRbNMZn-rgJYflY/edit#gid=1600276075
Add these to this file: https://github.com/pulibrary/bibdata/blob/main/marc_to_solr/lib/augment_the_subject/indigenous_studies.txt
Once added if it is possible we should do a selective publishing job in Alma that will force any records containing these terms through the updated term list. If that isn't practical given the large number of new terms we will have to catch up with a full re-index.

The big question is how did these terms become irrelevant in the first pass: https://github.com/pulibrary/bibdata/compare/what-to-remove-augment?expand=1#diff-ef2847b31f19f0c655e4cc5e4a332f3f94d6cca8aaec0987c4af1f8ff655dc31R169
We will need to figure out how to remove the irrelevant  (see: https://github.com/pulibrary/bibdata/blob/main/marc_to_solr/lib/augment_the_subject.rb#L87-L90 )

@kevinreiss will schedule a meeting with Minjie and our team to discuss further on this work.

This needs to be left to right matching.  There can be more terms after the term in the list, but the term(s) priori must match exactly (all terms)

Deployed to staging - waiting for feedback from Minjie Chen

(1) https://catalog-staging.princeton.edu/catalog/99105697413506421
Looks great!
(2) https://catalog-staging.princeton.edu/catalog/9946897643506421 (we wondered if not including the "Indigenous Studies" heading on this one is correct?)
Aww this gets into the weed of cataloging rules. In this bib record, the subject heading of intererst is the following:

White people—Canada—Relations with Indians—History

The LCSH string in LC's database, in contrast, is White people—Relations with Indians
Now LC indicates that it's not allowed to attach geographical subdivision after the string. (Why? If I knew I guess I'd be working at LC...)
To get around the restriction, catalogers who wish to provide finer detail insert the geographical marker in between "White people" and "Relations with Indians," meaning such records would slip out of our left-match mechanism. My estimate is that the tagging would miss up to half of the bibs (around 200) with "Relations with Indians" in them due to the insertion. The number may be smaller if the bib contains other 650 that left-match other LC strings. See these examples I found in the bibs:

$aWhite people--$zAlabama--$xRelations with Indians
$aWhite people--$zCanada--$xRelations with Indians
$aBlack people--$zCaribbean Area--$xRelations with Indians.
$aBlack people--$zGeorgia--$xRelations with Indians.
$aWhites--$xSources.--$y19th century--$xRelations with Indians
$aAfrican Americans--$zFlorida--$zFranklin County--$xRelations with Indians.
$aWhite people--$zIllinois--$zChicago--$xRelations with Indians.
$aWhite people--$zOntario--$zRainy River (District)--$xRelations with Indians.

There are two options for you to consider.
First, stick with left matching and live with the (small) losses.
Second, use a seperate matching mechanism. Note that there is a second sheet named Additional subfields in the vocabulary list.

ǂx Indian authors
ǂx Indian influences
ǂx Indian interpretations
ǂx Indian languages
...

The presence of these topical divisions alone is suffcient to determing the relevance of the bibs to Indigenous Studies--unlike other subdivisions we talked about at our meeting on 05/27 and which Carolyn listed on a page linked above.
Would you be able to catch these subdivisions alone? Left-match from the start of the 650 field doesn't apply here, but the subfield x in bibs does need to match the terms in their entirety. For example, the first one is "ǂx Indian authors".  If a bib contains "ǂx East Indian authors" in 650, then it is not a match.
(3) https://catalog-staging.princeton.edu/catalog/997737533506421 (did not previously have heading, now does)
Looks great!
Thanks!
In replying to @maxkadel's Slack message -

an updated version for Augment the Subject has been deployed to catalog-staging. We've only indexed a few example records.For example:
•	https://catalog-staging.princeton.edu/catalog/99105697413506421
•	https://catalog-staging.princeton.edu/catalog/9946897643506421 (we wondered if not including the "Indigenous Studies" heading on this one is correct?)
•	https://catalog-staging.princeton.edu/catalog/997737533506421 (did not previously have heading, now does)
Let us know how it looks, and if there are any other examples from the catalog you would like us to test.

There is a fourth issue I'd like to bring about. I just realize that LC revised the following two terms this year --

Old LCSH term
Current form

Blacks—Relations with Indians
Black people ǂx Relations with Indians

Whites—Relations with Indians
White people ǂx Relations with Indians

I'll add "people" to the spreadsheet, is that okay?
Thanks!
Minjie

Sure - changing those two subject headings should be relatively easy.
I'm working on a ticket to follow up on the subject headings that are not left matching but should probably included the added subject heading.

@minjiec - see https://github.com/pulibrary/bibdata/issues/1889 as a follow-up. Does it seem reasonable to go forward with the code for now as-is, and then prioritize the linked ticket separately?

Max, first, thank you for planning on working out a solution for those subdivisions!
Second, I have a curve ball for you. In column D "Left match" there are four values -

600 - personal name
610 - corporate body
650 - topical term
651 - strings that start with a geographical name

I think we have taken care of LCSH matching 650 fields very well. I wonder how other types of strings are matched. They are definitely in the numerical minority. If I have to choose, I think it'll be desirable to include 651 at least. Here is an example.
The string "Québec (Province)—History—Native Crisis, 1990" would be cataloged in the 651 field. As you can see from the staff view of the bib record<PHONE_NUMBER>1106421
Would you have a quick solution for matching vocabulary up with bib fields other than 650 as well? Please let don't hesitate to let me know if I can provide more explanation.
Minjie

@minjiec This did help me find a bug with it not matching subject headings with parentheses in them, but we are capturing headings in 600, 610, 611, 630, 650, 651. See https://catalog-staging.princeton.edu/catalog/9937484443506421/ for a working example.
Note: we haven't run the updated code on the full index yet, so there will be other examples that aren't updated yet, but we can run them individually

Max, I am thrilled to know that your match is capturing other 65x fields than 650. Then all looks good!

@minjiec - I just wanted to update you on this - the code was working on individual objects, but unfortunately, when we tried to scale it up to reindexing all of staging, in preparation for production, we hit a showstopper bug, which has been very difficult to investigate beyond "sometimes indexing breaks on the augment the subject code".
We're still working on it, and I'm hopeful we'll figure out the fix in the next week or two, but it's still in process.
The examples you gave above will be helpful in testing - thank you.

@minjiec - Is the line below correct? It seems like maybe anything with "Koniagmiut Eskimos" should include the "Indigenous Studies" subject heading?
Koniagmiut Eskimos—Anthropometry	y	[150]	650	Koniagmiut Eskimos ǂx Anthropometry

@minjiec - we've deployed a different way of doing the Augment the Subject code, and just finished running a re-index on the staging environment. Would you be able to look at some records and see if they're appearing as you'd expect? They would be on https://catalog-staging.princeton.edu/

@maxkadel, I spot-checked various string types and can see how currently not-tagged bibs are showing the "indigenous studies" tag in Staging. All looks good to me. Thank you for coming up with the solution!
Topical subdivision:	$x Indian influences vs. current Blacklight
650$a:	Aymara women vs. current Blacklight
650 string:	Cooking, Canadian--Nunavut style vs. current Blacklight
651$a:	Bering Land Bridge vs. current Blacklight
651 string:	Connecticut—History—French and Indian War, 1754-1763 vs. current Blacklight
610 string:	United States. Army—Indian troops vs. current Blacklight

@minjiec  - the code we have expects the format of the file as it is right now in Google Drive (especially the first worksheet). Is this something that you / the working group can keep consistent? Adding fields shouldn't be an issue, but deleting fields or changing the headers could cause problems.

@maxkadel I'll keep it in mind--that deleting fields or changing the headers could cause problems. There hasn't been a plan on the routine maintenance of the list.


[SPARK-32680][SQL] Don't Preprocess V2 CTAS with Unresolved Query

What changes were proposed in this pull request?
The analyzer rule PreprocessTableCreation will preprocess table creation related logical plan. But for
CTAS, if the sub-query can't be resolved, preprocess it will cause "Invalid call to toAttribute on unresolved
object" (instead of a user-friendly error msg: "table or view not found").
This PR fixes this wrongly preprocess for CTAS using V2 catalog.
Why are the changes needed?
bug fix
Does this PR introduce any user-facing change?
The error message for CTAS with a non-exists table changed from:
UnresolvedException: Invalid call to toAttribute on unresolved object, tree: xxx to
AnalysisException: Table or view not found: xxx
How was this patch tested?
added test

Test build #127825 has started for PR 29507 at commit e03e64d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32450/
Test PASSed.

Test build #127825 has finished for PR 29507 at commit e03e64d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127825/
Test FAILed.

retest this please

cc @brkyvz @rdblue

Test build #127838 has started for PR 29507 at commit e03e64d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32464/
Test PASSed.

Test build #127838 has finished for PR 29507 at commit e03e64d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127838/
Test PASSed.


Kotlin extension crashes zed

I raised this issue initially on the zed repository. I am just linking it here for visibility
https://github.com/zed-industries/zed/issues/18288

at a complete guess kotlin language server having a bad time with big files


Remove sla-bot from openapi-alps

[ ] Remove source from openapi-alps
[ ] Remove Azure resources
[ ] Remove https://github.com/Azure/azure-sdk-for-net/blob/main/.github/sla.yml

Similar to:

https://github.com/Azure/azure-sdk-tools/issues/7811

Pull Request 551473: remove slaBot


Feature: Dialog always on top

Interesting in know if is it possible to have such a feature that allow dialog windows to stay always on top.
Also, not exactly related, but there's a way to send the mouse to the menu via shortcut? Sometime I need to reach the menu of an app and, if I pass over a window of another app, the menu changes... it's rather annoying...

Not that I know of.
For now you can use (fn+)ctrl-F2 to highlight the menubar, then you can control it with the arrow keys, enter and escape. This keyboard shortcut can be changed under System Preferences > Keyboard > Shortcuts > Keyboard > Move focus to the menu bar.
If you have Karabiner installed, it also comes with a tool called warp-mouse-cursor-position, which you can use with kwmc bind ... sys warp-mouse-cursor-position screen 0 top +30 left +10 to get to the top left corner of the screen. That is what I'm currently using, although I'm pretty sure that there are easier solutions with AppleScript available.

Not possible to make windows top-most. Requires injecting code into the Dock, which is not something I'm gonna bother looking at. Check out afloat if you wish to pursue this.


Merge link detection code between terminal, debug console and exception widget

Follow up on #24451.
This would also mean that debug console and exception widget will start recognising http links and paths without column (terminal regex would need general tweaking for the column case).

Half the terminal link code is hidden inside xterm.js and the other half uses xterm.js' APIs, not sure how much can be reused. Terminal line/col PR out in https://github.com/Microsoft/vscode/pull/24832 since you looked at this recently you might want to give that a once over.

Thanks for the info on that, @Tyriar.

I've looked at the terminal link detection code and it is very tightly connected to xterm.js as you've said, @Tyriar. Besides the code, there is no way to reuse the terminal regex unfortunately, because xterm.js provides its own link-detection regex, and we add ours on top of it for file paths, ending up using two regexes (with one coming from xterm.js).
Hence, closing this issue.


Always accept = or space as delimiters when parsing command line parameters.

Resolves #11456.

CI failed because repo.msys.org is down.

@strega-nil Do you have an example command like you want to work for your more complete desired overhaul that doesn't work with the current state of this PR? Out of band you said --x-feature but that option doesn't seem to exist...

@BillyONeal --x-feature is an option for the install command, not a global option: https://github.com/microsoft/vcpkg/blob/master/toolsrc/src/vcpkg/install.cpp#L549

@BillyONeal --x-feature is an option for the install command, not a global option: https://github.com/microsoft/vcpkg/blob/master/toolsrc/src/vcpkg/install.cpp#L549

I tried it with the install command and that didn't work. But I didn't try with a manifest so that likely explains it ¯_(ツ)_/¯

Ah, yeah, it's a manifest-only option.


Added tested Ubuntu versions to metadata.json

Signed-off-by: GabrielNicolasAvellaneda<EMAIL_ADDRESS>

@danieldreier Added the two Ubuntu versions that I've tested.

It looks like the previous PR probably shouldn't have been merged; for some reason it wasn't caught in the testing:
(quoted from the failed travis build):
  1) riak supported operating systems on ubuntu-12.04-x86_64 riak class without any parameters should contain Class[riak::repository::debian]
     Failure/Error: it { is_expected.to contain_class('riak::repository::debian') }
       expected that the catalogue would contain Class[riak::repository::debian]
     # ./spec/classes/riak_spec.rb:33:in `block (6 levels) in <top (required)>'
  2) riak supported operating systems on ubuntu-14.04-x86_64 riak class without any parameters should contain Class[riak::repository::debian]
     Failure/Error: it { is_expected.to contain_class('riak::repository::debian') }
       expected that the catalogue would contain Class[riak::repository::debian]
     # ./spec/classes/riak_spec.rb:33:in `block (6 levels) in <top (required)>'

The issue is that we have a hardcoded test for riak::repository::debian, which obviously doesn't get included on Ubuntu. Would you mind updating that test? I can help if you run into trouble with it.

@danieldreier Sure, I can fix that.

@danieldreier Don't know what I'm missing. I will try to run the tests locally first.


Bump dependencies, fix rate limit retry

Bump dependencies, including prerelease versions of the GraphBrainz ecosystem.
Fix Discogs API client not retrying when rate limited (status code 429).

Codecov Report

Merging #1 into master will decrease coverage by 0.35%.
The diff coverage is 87.5%.

@@            Coverage Diff            @@
##           master      #1      +/-   ##
=========================================
- Coverage   88.96%   88.6%   -0.36%
=========================================
  Files           5       5
  Lines         154     158       +4
=========================================
+ Hits          137     140       +3
- Misses         17      18       +1

Impacted Files
Coverage Δ

src/client.js
92.3% <87.5%> (-7.7%)
:arrow_down:

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 e149887...7655448. Read the comment docs.


[PY] use CloudAdapter instead of BotFrameworkAdapter

C# and JS both use CloudAdapter as it is the newer version of BotFrameworkAdapter.
We need to update the App class to use CloudAdapter instead.

this is no longer needed in favor of the new TeamsAdapter https://github.com/microsoft/teams-ai/issues/1283 work that is necessary for telemetry headers.


Sencor weather stations

Hello,
I am curious if someone tested this great project with Sencor weather stations. It looks like they share almost same technology like Bresser (similar models, functionality and freqency). Anyone?
Best Regards

@thesurix Did you check the rtl_433 project for information regarding compatibility?


"Sowelo" scraper is outdated

URL: https://admin.peviitor.ro/
Browser: Microsoft Edge
Device: Desktop
OS: Windows 11
STEPS TO REPRODUCE:
Open the URL in the browser.
Click on "Acasa".
Type in "Cauta aici" box : "Sowelo" and search .
Click on the file .
EXPECTED RESULTS:
The "Sowelo" file should present a graph and a few jobs at the moment.
ACTUAL RESULTS:
The "Sowelo" file doesn't present a graph and neither any jobs.

Bug fixed


fix: [docs] Update README.md, added an installation step

[docs] Added an installation step

Would it be possible to amend to meet the conventionalcommits requirements?

We'll be including this in the next release of the SDK, so marking this as closed.


PowerToys makes jupyter notebook so slow with multiple dictionaries

I have multiple dictionaries with length 10,000 created and each key is associated with a (1, 300) vector. Then suddenly, running cells became so slow on the notebook. It took a few mins to show a single key-value pair, and even took about 4 mins to submit a written function.
So I checked executing notifications, and turned out that it might be caused by PowerToys.
When I submitted a function, and there appeared multiple Executing code running at the same time.
After disabling it, everything went back to normal.

@Fred-Wu Please could you provide a code sample and steps to repro this issue.

@Fred-Wu Please could you provide a code sample and steps to repro this issue.

It's been for a while, and it also happens occasionally so I have disabled it.
I will try to find the old codes, and update you later.
Thanks.

This problem happens to me even without executing any cell. Usually when moving the cursor around or typing out a line from the middle will spawn 20+ "Executing code" notifications. Each can take several seconds to complete.
It looks like contextual help is processing the code under the cursor every time a new key is pressed. The "Code under cursor" shown in the panel actually "replays" me typing the line but very slowly.

This is especially a problem if the code under the cursor is e.g. a large pandas dataframe. Contextual help will actually evaluate the string form of the dataframe which can take a very long time.

I believe this was referenced here. Certain (large?) objects will cause Powertoys to stall execution of the cell until it's fetched and displayed the contextual help.


IndexedDB size limitations

When uploading a 500 mb file in https://files.dao.xyz
you run into interesting problems with IndexedDB. It seems to fail saving all chunks and IndexedDB shuts down after a while.
Expected behaviour: https://files.dao.xyz should be able to put "any" files size

Also, it's not just single file sizes, correct? All persistence options in the browser have data limits, including localStorage, IndexedDB, and the relatively new Origin Private File System (OPFS). The actual limits aren't even that predictable, from system to system, because different browsers impose slightly different limitations, and many rules factor in device disk usage.
Perhaps one way to work around this is to have peers running in Node.js take on the role of scaling storage, and then let browser peers replicate the shards they need? Is that even feasible? I'm not super familiar with how libp2p works, but I've been wondering about this problem.

Also, it's not just single file sizes, correct? All persistence options in the browser have data limits, including localStorage, IndexedDB, and the relatively new Origin Private File System (OPFS). The actual limits aren't even that predictable, from system to system, because different browsers impose slightly different limitations, and many rules factor in device disk usage.

Yeap. Currently using IndexedDB through LevelJS. OPFS actually got functions that allows you to predict how much memeory you have available https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/estimate
Kind of want to move to a solution where OPFS is used instead of IndexedDB, but have not had time yet too implement storage adapter for that. But given you have OPFS would be in place you could throw errors as soon as you reach memory limitations and notify the user about it, and potentially do something about it.

Perhaps one way to work around this is to have peers running in Node.js take on the role of scaling storage, and then let browser peers replicate the shards they need? Is that even feasible? I'm not super familiar with how libp2p works, but I've been wondering about this problem.

This kind of defeats the purpose of doing it p2p browser only. The thesis is that if you have an app with 100 users there should be enough space for replicating all content to a degree which is satisfactory. However, before you reach that, or if you can not really trust people for doing any storage work, having dedicate nodes doing the work (and always beeing online) can be preferable. This possible to do with Peerbit today. You can create a server or use a home machine and run a node and deploy stateful applications to it so that it will hold state.

A solution for this now implemented. See how here https://peerbit.org/#/topics/sharding/sharding
Basically you can now set your limits however you want, while mainting replication degree. If you want to bound upper storage by the allowed amount of data to persist, you can do something like
peer.open(db, {
      args:  {
            type: 'replicator'
            limit: { storage: await navigator.storage.estimate() * 0.8 } // * 0.8 to stay below limit
        }
})


Possible values for speed

What are the possible values for setting the speed (or at least a min/max)?

Minimum is 0x00(ie off). Not sure the maximum, but I know it at least goes up to 0x0b

I've tried a range of values with what appears to be certain ones overflowing back to 0 (0x80 for example will cause the locomotive to stop). Hoping to get this narrowed down a bit more with some other testing. Have you looked into the command to change directions?

It may also just be looking at the least-significant nibble.
I haven't, but if I find time to do it I'll let you know. Should be simple, since it probably has no parameters, or just a boolean on/off
If you want to try yourself, here are some instructions:
Have Android (I'm using 10.x)
Enable developer options
Enable USB debugging
Enable Bluetooth debugging to file(not sure if this is actually necessary)
Plug device into a host via USB (I'm using Fedora 33)
Allow USB debugging for that host
Start the ADB server (make sure you can connect to your Android device)
Open Wireshark on the host
On the opening screen, there should be an option for debugging Bluetooth on the Android device, click it
Type "btatt" into the display filter to filter out all the crap
Open LionChief app and connect to your train
(Optional) Clear packets from wire shark
Put train into reverse
Look at the packet coming from localhost to remote. It will probably be the third-to-last and second-to-last bytes that will be part of the command. The last byte is the checksum
Add new method to the LionChief class

Forward is 0x46 0x01
Reverse is 0x46 0x02
Max speed I can get with the app is 0x1f


mgm/sgm on hirise pair, possibly fixed in master but need new release

So I have tested both mgm and sgm from the 2.6.0 release on a small patch of a HiRISE pair and the results were very interesting! I want to test making a full sized DEM but I ran into some issues running parallel_stereo on the full image extent with some checks within stereo_corr.cc  which may have been fixed by later commits 97a1ec2074222d665b98e100e13eabcb331795a4 and 2afad06a98e80e1d87eff5a4bafef302cbc02dd2.
Could a 2.6.1 release of ASP be made soon that includes these fixes? Building ASP will be problematic as I don't have full admin access on the system I run it on, but I could probably build on a different machine that I do have full control of.

Can you try out the latest daily build and see if it fixes these issues?
https://byss.arc.nasa.gov/stereopipeline/daily_build/
Scott

oh, didn't think to look for a daily build. will do!

so far it appears to be working, thanks!

Andrew, thank you for testing our stuff. As I recall, our latest version of the 2.6.0 release should have this fix as well. I did not want to make a bugfix release so soon, so I simply overwrote the release files at https://github.com/NeoGeographyToolkit/StereoPipeline/releases. My hope is that the release build there, timestamped 2017-06-01 should have the fix as well, as the fix was applied by me on May 24. That probably means that your release is time-stamed earlier than that.  You could confirm that perhaps if not too hard. And that means hopefully that anybody who did not fetch the release in those early days will now get the corrected version. And yes, we should push out an official bugfix release at some point just to do things the right way.

Yes, the version of 2.6.0 I had before was time stamped for May 19th. Before trying the nightly version I experimented with different parameters over a small region in a HiRISE pair and concluded that mgm was producing more natural features than sgm in that region and that I did not see much of a benefit going smaller than a 7x7 correlation kernel and I stuck with cost-mode 3.
At a glance both methods are preserving a lot more detail for the things I am interested in (layers) despite taking a lot less time than the local window search, I can email or maybe post here some of the hill shade comparisons and stereo files I made in a day or two.
The nightly release worked and I have managed to make a full DEM using a 7x7 kernel and a 5k corr kernel (which may be a default somewhere in the code, as I set a 4k one in my stereo.default file).
One suggestion out of this I would have is to add example stereo file to the project/documentation for when using MGM/SGM as a number of options are disabled/ignored.

Andrew, I am glad things are working for you. We need to evaluate MGM more, and come up with sensible defaults, and decide how to present that in the doc and the stereo.default file. For now I added a mention of MGM in the tutorial, where stereo params are discussed, with a pointer to the right section describing this in full. We should be able to sort things out before the next release.


paginate_links should be run through an escaping function

Shouldn't WordPress functions be escaped already when they are being used?
What's the correct escaping function to be used with paginate_links? (I can't use esc_html, because the function is returning HTML). Currently I wrapped it inside wp_kses_post but that seems like  hack.

<?php
echo paginate_links( // causes error
	array(
		'format'    => 'page/%#%',
		'current'   => $page_nr,
		'total'     => $query->max_num_pages,
		'mid_size'  => 2,
		'prev_text' => __( 'previous', 'boilerplate-slug' ),
		'next_text' => __( 'next', 'boilerplate-slug' ),
	)
)
?>

Currently I wrapped it inside wp_kses_post but that seems like hack.

Why should that be a hack? wp_kses_post is a legitimate escaping function...

@dingo-d Well, if this would be the proper way of using paginate_link, why isn't it already implemented in the function itself? Also, it's a legitimate scaping function designed for posts, not pagination links...

Well, if this would be the proper way of using paginate_link, why isn't it already implemented in the function itself?

Legacy codebase plus you don't want to induce backwards breakage to thousands of themes implementing it 🙂

Also, it's a legitimate scaping function designed for posts, not pagination links...

Semantically true. But works for html as well. You can also use wp_kses and pass the list of HTML elements not to escape.

Also "Sanitize early, escape late", so escaping within the function isn't late - it should be in the template / partial / point of output when the pagination function is called.

Hmm okay, thank you for the explanation, I'll close this issue 👍🏼


Added ability to pass container hosts entries as capability (fixes #236)

This includes startup method refactoring to make it smaller.

Codecov Report

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

@@            Coverage Diff            @@
##           master     #237     +/-   ##
=========================================
- Coverage   75.88%   75.59%   -0.3%
=========================================
  Files           5        5
  Lines         676      676
=========================================
- Hits          513      511      -2
- Misses        141      145      +4
+ Partials       22       20      -2

Flag
Coverage Δ

#unittests
75.59% <ø> (-0.3%)
:arrow_down:

Impacted Files
Coverage Δ

session/session.go
100% <ø> (ø)
:arrow_up:

selenoid.go
75.07% <0%> (-0.58%)
:arrow_down:

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 2f68173...e5d9959. Read the comment docs.


refactor(pci.project.failover-ip): use country list given by API

Is there any internal ticket reference related to this pull request?

Is there any internal ticket reference related to this pull request?

@antleblanc I updated the description


No sound on the video

Using it on my macbook pro 2015.
Casting working fine but no audio is being cast. I've tried pretty much all kinds of video format: mkv, mp4, flv and mov. Audio is not working on any of those.

All those video formats you mention are just containers, they have no influence on the audio format used. Please check if your audio file is one of the supported formats: https://developers.google.com/cast/docs/media#audio-codecs

I have had similar problems, I have no solutions yet. I assumed that the format that is expected by the Chromecast would work the best. That format is an MP4 with the video stream in H.264 and the audio stream in MC3. You can have an MP4 that has the audio stream in AAC, or something else. It has to be right. I've been looking around for what is right and I'm not sure yet.
I think the best idea is to find one that works and then look at what is in it.
The way I've been figuring out what is in it is to load it into VLC then select tools->media information the select the CODEC tab.
I also use VLC to convert the video.

You can use tools like https://github.com/petrkotek/chromecastize/ to convert any video into a version that will play on the Chromecast.

SOLVED: with this command:
castnow --tomp4 --ffmpeg-c:a ac3
Videos encoded with EAC3 audio will not play with sound so they are converted with the above additional ffmpeg command -c:a for codec audio and ac3 because it works and it's what others use.


My open cv code

Please accept my Open CV project Code . This is my first HacktoberFest Code contributed

Please Accept my code!

Hi my code got excluded for no reason may i know the reason of it!


When using @ViewChild element.nativeElement is undefined

Bug, feature request, or proposal:
Bug
What is the expected behavior?
@ViewChild element.nativeElement has value
What is the current behavior?
@ViewChild element.nativeElement is undefined
@Component({
  selector: 'material-app',
  template:`
  <button #button md-raised-button>button</button>
  `

})
export class AppComponent {
  @ViewChild('button') button;
  ngAfterViewInit(){
    console.log(this.button);
    console.log(this.button.nativeElement); //undefined
    console.log(this.button.nativeElement.value); // obviously error here
  }

What are the steps to reproduce?
http://plnkr.co/edit/gSEsELlTAbrqvOOduSdr?p=preview
What is the use-case or motivation for changing an existing behavior?
Need to access to an element with @ViewChild
Which versions of Angular, Material, OS, browsers are affected?
Angular 4.0.1
Material beta.2
All browsers
Is there anything else we should know?
If you take out the md-raised-button from the button then this.button.nativeElement will work.

As a workaround you can define Child like this
@ViewChild('sidenavContainer') private sidenavContainer: any; and then call
this.sidenavContainer._element.nativeElement

yeah I saw that thing when I was debugging, also there is one more option is to use renderer https://angular.io/docs/js/latest/api/core/index/Renderer-class.html to manipulate with elements, but I ended up just by declaring an prop in my comp that I bind to the html prop I need to interact with.

This is working as expected. When using @ViewChild in this way, Angular will provide the directive instance.

@jelbourn why it is expected?

Angular will provide the directive instance

Some more details plz

@kuncevic this should help
http://stackoverflow.com/a/39909203/4811678

I also have this problem. I don't understand why you say this is OK - if it works with a button without the md-radio-button, surely it should work for one with it? How can I get around this problem?

@gouldina Please refer to the link that @willshowell  posted above. Basically, just do
@ViewChild('nameForMaterialElement', {read: ElementRef}) private nameForMaterialElement: ElementRef;

Thanks HunderlinK. I'll try that.

The solution suggested by @HunderlineK also applies to anyone trying to select a mat-card. I assume this applies to many other material components.

To add on to @Nikki1993's answer (which works absolutely awesome), Angular Material 6 already has an interface you can use to type it:
export interface HasElementRef {
    _elementRef: ElementRef;
}

@ViewChild('sidenavContainer') private sidenavContainer: HasElementRef;

Thanks @HunderlineK

down to 209, and this problem still exists.

@raj2033 did you try any of solutions above?


Issue 1730 containerizing databases

Here's the first half of my containerization work. There are two main things in this PR.

A reorganization of the .travis.yml to use containerized databases in travis-ci.
And a set of scripts for local development to help ease the setup of these databases in a developer's environment.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix autosplitter

just disable/re-enable while resetting?

fixed in https://github.com/dallmeyer/opengoal-sm64/commit/64489247405708c5205c234d7bbd6489a333b316


Ctxt destructor fails when using cpu

The lwe_sample_device_ never gets initialized in cufhe_cpu.cc. This results in a segfault when the destructor is called.

Hi Keith,
Is it fixed now?
Thanks.

Yes it's fixed.
Thanks


encoding/asn1:  add utility function for parsing object-identifier strings

The asn1 package is fairly narrowly focused on marshaling / unmarshaling DER data.
I would like to propose incrementally improving the asn1 package to be more generally useful for working with all data related to the ASN.1 standard.  To start, I have created a new function NewObjectIdentifier to parse the string representation of a ASN.1 Object Identifier.
// NewObjectIdentifier creates an object identifier from it's string representation.
// Supports ASN.1 notation and dot notation. OID-IRI notation is not supported.
func NewObjectIdentifier(oid string) (oi ObjectIdentifier, err error) {

I have created a PR for it here as a preview: https://github.com/phayes/go/pull/1/files
If the go authors are interested in this, I'll roll it into a proper gerrit change-request. If they are not interested, I'll create a new 3rd party package.

I'd suggest you start with a go-gettable package first, and then
we'll see if we could add a x/crypto/asn1 package. I don't think
we want to extend encoding/asn1 to handle everything about
ASN.1.

OK that sounds fine @minux .   Do you want to close this ticket then?

Yes, please if you agree that it's better to add those
functionality to a separate package.

Well, I actually think it's better to integrate into the encoding/asn1 package (or else I wouldn't have filed this issue!).  However, having said that, I respect your decision.
Closing this ticket.


Problem with outerWidth() calculation (solution included)

I see a pixel problem with https://github.com/select2/select2/blob/master/dist/js/select2.js#L4194
My select2-dropdown is 1px to wide. Reason: I use
<select ..... style="width:90%">

that is 426.547px´(in my case). But outerWidth returns only integer 427px, i.e ignoring the decimal value / round value. My personal solution is to use:
this.$container[0].getBoundingClientRect().width

instead of outerWidth(). It was introduced in IE4 and is supported by all browsers.
See: https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect

This is a duplicate of https://github.com/select2/select2/issues/3558.

Thanks, I answer a solution in #3558. ;)


Add SecHub Client Section to Quickstart Guide

Add a section to the quickstart guide explaining how to use the sechub client to do a SAST scan.

Jeremias Eppler<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

Add a basic visualization of the architecture (SecHub Server) <-> (SecHub Client) as well.

Setup sechub server locally -> Getting Started Guide: https://daimler.github.io/sechub/latest/sechub-quickstart-guide.html
how to make a local test scan

Manuela Kirchner<EMAIL_ADDRESS>Daimler TSS GmbH, imprint


Change the way webpack configs are composed

Type

Infrastructure

Description
This PR changes the way our webpack configs are generated, in a way favoured by Sean Larkin (see his repository from webpack workshop).
Before:
package.json specifically passed webpack.config.dev or webpack.config.prod as a config option to webpack. webpack.config.dev or webpack.config.prod would import common configurations from webpack.common
schematically: special_config --> plus common_config ---> output
After
package.json passes the same webpack.config file to webpack both for development and production build, but also sets the mode and presets options on the env argument that webpack.config receives. Based on those options, webpack.config imports the configs for the given environment and, if specified, special overrides (presets), and composes them together using the webpack-merge package.
schematically: entry_config --> composes various special configs ---> output
Why?
The proposed new strategy makes it easier to modify configs to meet specific needs. For example, apart from having the command for building production javascript, we can have a command for building production javascript and then analyzing the size of the production bundle.
Also, paths to various directories are stored in a single place (file paths.js), which should make it easier to move config files around.
Questions

why do we need StylelintWebpackPlugin?
what's the point of

node: {
  fs: 'empty'
}

@azangru The StylelintWebpackPlugin is used to display style linting errors in the CLI, when running the development server. As for fs, it was a workaround to the issue that webpack was complaining about fs cannot be resolved. I'll need to check if this is still necessary, or if this issue has now been fixed.

The StylelintWebpackPlugin is used to display style linting errors in the CLI, when running the development server.

Is there still value in doing this, now that we have linter called by the pre-commit hook?

@azangru I would personally like to know what is wrong with my SCSS while working on the styling rather than after I enter the commit button/command. But It probably is up to the whole team's preference?

@azangru As we discussed offline about the fs setting in the webpack config, we will need to keep it in. Webpack runs its compilation in the web environment, so fs is not available then (only available in the node environment). Hence, the error that fs can't be resolved.
I'll leave the link to the stackoverflow answer that you shared with me, as it is more descriptive about this issue:
https://stackoverflow.com/questions/39249237/node-cannot-find-module-fs-when-using-webpack/51669301#51669301


401 when using remote tunnel

Using http://<IP_ADDRESS>:3000/index.html works fine, but requires the remote machine to be <IP_ADDRESS>
Using https://90cmx3jb-3000.aue.devtunnels.ms/index.html returns a 401.

seems to require the host header to be <IP_ADDRESS>.  i used mitmproxy --listen-port 8000 --mode reverse:http://<IP_ADDRESS>:3000 and setup a port tunnel for port 8000 and it works good.

Related: #381

:(  even localhost doesn't work

Thanks @jayenashar for the workaround!
Another way to make the reverse proxy (if you don't have mitmproxy but do have ngrok) whilst adding the expected permissive host header is:
ngrok http --request-header-add 'host:localhost' 3000

For example, if your desktop device is hosting the live preview server on http://<IP_ADDRESS>:3000, ngrok would create a globally-accessible forwarding address for it:
# (Example randomly-generated forwarding address)
https://0b95-126-126-99-39.ngrok-free.app -> http://localhost:3000

External devices (e.g. your mobile phone) can then connect to that forwarding address even if they're forbidden from connecting directly to the live preview server.

the issue isn't that it's listening only on <IP_ADDRESS>.  the issue is that it requires the HTTP Host header to be <IP_ADDRESS>.  It doesn't even accept localhost.

thanks.  i see the code in https://github.com/microsoft/vscode-livepreview/blob/28f4a25278d8840f6138483f21148d8bd66089eb/src/server/httpServer.ts#L172-L181 .  i assume it's for security and can't be simply removed.  maybe if there is a way to add a whitelist of valid host & origin headers in the plugin settings, that's probably the best fix and may be accepted in a pull request.

yes, that is my opinion.
i don't know much about writing vscode extensions so i can't really be of much help.  but if you can modify the extension locally, i assume there is a way to install your modified version on the remote.

thanks. i see the code in
https://github.com/microsoft/vscode-livepreview/blob/28f4a25278d8840f6138483f21148d8bd66089eb/src/server/httpServer.ts#L172-L181
. i assume it's for security and can't be simply removed. maybe if there is a way to add a whitelist of valid host & origin headers in the plugin settings, that's probably the best fix and may be accepted in a pull request.

I haven't looked too much into this yet, but is there a specific IP address that we can resolve and whitelist?

I haven't looked too much into this yet, but is there a specific IP address that we can resolve and whitelist?

@andreamah i didn't understand your question.  do you mean like <IP_ADDRESS>?

Wild guess, if there is an active tunnel I guess one can fetch the information from this spesific connection and bypass (?).

i don't understand what you are suggesting.  if there is a tunnel, how can the live preview extension know about it?  probably easier for the whitelist to allow regular expressions like .*\.devtunnels\.ms

i didn't understand your question. do you mean like <IP_ADDRESS>?

Yeah, I just mean how to get the host address that we can use to access the page. I'm assuming that the port is forwarded from the tunnelling machine to the local machine for access somehow, so getting that would help. I can also look into this when I have time, since I haven't took a look at what actually happens in a while.

the remote tunnels extension is a different extension.  i'm not sure if you can get data from it, but i wouldn't do it that way.  instead, i might create a similar interface in this extension that lists the Host/Origin headers, and has a quick button to whitelist those values/hostnames.
that's a bit more work though, so i think start simple with a whitelist that a user can set in the extension settings.  default to <IP_ADDRESS> and localhost

@thorgrimjansrud i've never seen that.  have a look at my screenshot at the start of this issue.  mine has only ever shown <IP_ADDRESS>

Yes. Port forwarding is implemented in the core editor, so we can also use the vscode API to resolve the IP or URL and port number that you can use to access it locally. Ideally, we have something that looks like

tunnels starts the service on their side and there's a forwarded port and way to access the address locally.
live preview gets that address and whitelists it. I think I tried to resolve the external host already when looking at what to whitelist, but I'll need to take another look; perhaps it's a timing issue or I overlooked what happens when there's a custom URL like that.

@thorgrimjansrud you can see in my screenshot i've got the same things open but it still doesn't list the devtunnels.ms in the debug logging.  My setup is a https://vscode.dev/ frontend with a vscode server running on linux.
Even if the external uri method does work, I have the same issue without an external uri.  Just open vscode on my desktop, start live preview, and localhost is not accepted.  No remote, no port forward.

i have same problem. make a rest api. and when I consult it with postman it returns 401

Hi @metacop, I'm having the same problem for rest api calls. Were you able to find a way around it?

Hi @metacop, I'm having the same problem for rest api calls. Were you able to find a way around it?

No friend, I won't be able to solve it. use ngrok https://ngrok.com/ just download it and run the command ngrok http 80
and clearly pull up the app locally with port 80 to match ngrok. That's right, ngrok is a little slow, but for development it is very good.

Okay sadly, thanks. But I somehow found a way around it. When you change the port's
visibility from private to public it works and won't return 401.

However, it still times out and returns no response

Hi @metacop, I'm having the same problem for rest api calls. Were you able to find a way around it?

No friend, I won't be able to solve it. use ngrok https://ngrok.com/ just download it and run the command ngrok http 80
and clearly pull up the app locally with port 80 to match ngrok. That's right, ngrok is a little slow, but for development it is very good.

Seems like ngrok will still do for now


Default type checker for 'object' seems too narrow

Is there a specific reason that jsonschema._types.is_object tests for instances of dict rather than the more generic alternative of collections.abc.Mapping?
Apologies if this has been asked and answered previously - I couldn't find it in the list of closed issues.

Hi there. Essentially as a balance, because isinstance on collections.abc.Mapping is quite slow for the majority case.
Obviously if you have a more generic thing you can certainly reconfigure your type checker.
Closing but lemme know if anything could use clarifying in the docs.


UX Fix

Continued from https://github.com/adobe/brackets/pull/11603#issuecomment-132113561

Instead of the text, the logo+brackets text might be better (like the git page for atom).
tagging @larz0

@abose yep you're right :+1:

@Squ34k3rZ Would you be interested in making that change?

Update: Added logo
http://i.imgur.com/7snp2ca.png

Proportions are a bit off. See. https://github.com/atom/atom page for their banner page.

Also could you use this U?RL for the logo http://blog.brackets.io/wp-content/uploads/2013/04/brackets.png

@abose Should we add the bigger font to the brackets image? The dimension of this image is 256px tall and the biggest markdown font is 36px. For the two to match, we could add some text to the image or shrink the size of the logo to 36px tall.

Here's an image that's 20% of the image you linked. It should be close to the right size. I did some experimentation in photoshop to get it.

Or the entire logog + text can be composed as an image. Atom's github page does this.

Good idea @TylerL-uxai for me!

@TylerL-uxai if you are still interested the suggestion of @abose is still valid.
I close this for now.
PS: since you have changed your github username you have to sign again the CLA.


Add support for MQTT SSL

I have a linux container install for TeslaMate and I also have a separate MQTT broker which uses SSL connection.
I have added an ENV var MQTT_SSL as true/false to specify if MQTT connection is using SSL or not.
Please feel free to make the proper corrections as this is my first attempt at Elixir.
Best regards,
Mihai

Awesome! Thank you. I will look into it soon.

Make sure to check the box to allow commits from me on your PRs in the future. I'll add the CA store after merging. Thanks!


eslint-config-react-native-community uses a deprecated version of babel-eslint that can cause eslint to fail when linting template literals

Description
The eslint-config-react-native-community package currently uses babel-eslint as a dependency. This package contains a bug that can cause eslint to fail when encountering template literals. Furthermore, babel-eslint has been deprecated and is now @babel/eslint-parser, meaning this bug will continue to cause issues until the deprecated package is updated.
See here and here for an error report about the bug and confirmation that babel-eslint has been deprecated for @babel/eslint-parser.
React Native version:
System:
    OS: macOS 11.3.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
    Memory: 56.68 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.1.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.12.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>99119
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.10 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.64.1 => 0.64.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Add eslint and eslint-config-react-native-community as usual to a project containing template literals. Do not use prettier.
Add a rule such as

'indent': [2, 4, {
            FunctionExpression: {
                body: 1,
                parameters: 1
            },
            SwitchCase: 1,
        }]

to .eslintrc.js
3. Try to lint the project
Expected Results
Lint runs without errors
Snack, code example, screenshot, or link to a repository:
Deprecation warning:

Error when trying to use Yarn to lint a file containing a template literal

A current workaround is to ignore template literals in eslint rules that cause this error. So, for example, adding ignoredNodes: ['TemplateLiteral'] to the above indent rule's FunctionExpression object would allow lint to run successfully.

Related

https://github.com/facebook/react-native/pull/31182
https://github.com/facebook/react-native/pull/32431

Fixed by https://github.com/facebook/react-native/pull/34020
I've also just released version 3.0.3 which depends on @babel/eslint-parser


Spyder window empty and without menus

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Spyder window is completely empty without menus. It begins after I did conda update --all. The spyder --reset and manually removing files in C:\Usres\UserX doesn't helps. Reinstalling does not helps. Windows 7 x64.  Distrubution Anaconda3-5.2.0-Windows-x86_64.exe.
What steps reproduce the problem?

What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:
Python version:
Qt version:
PyQt version:
Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

This is fixed in our latest version (3.3.0). Please update by opening the Anaconda Prompt and running there
conda update spyder


In toast notification don't display transaction hash when successfully

Problem

In toast notification should display transaction hash when successfully
Also when click transaction hash in notification should be redirect to explorer to improve user experience

Duplicated issue: https://github.com/anoma/namada-interface/issues/726. You could discuss on this link to fix both.

As I mentioned in the related PR. All the changes(especially in the UI) should be discussed first in the issue and then worked on. There reason is that we might not want to introduce particular UI change or UI is being reworked already(as in this case). :(


Bug with latest version on 1.13.2, loading server

I get this error for every player that joins my server. https://hastebin.com/eqemiqequk.md
worlds.yml https://hastebin.com/evepiyamec.shell
config.yml https://hastebin.com/awagejahoh.coffeescript

Bug also in 1.13.1
In the config.yml change load-data-on-join: true to load-data-on-join: false
This stopped the console error for me but this is probably only a 'workaround' until the issue is resolved.


Scroll to hash when hash present at page loading

This already works on most pages, except without smooth scrolling. Getting this to be more polished for all pages is not a priority.

This mostly works, except for content with variable length (e.g., due to loading from REST API)


Can't customize outline's highlight

Describe the bug
Setting OutlinePreviewNormal and OutlinePreviewBorder doesn't make any change to the outline panel.
Steps to reproduce

Go to your theme's config file
Set OutlinePreviewNormal and OutlinePreviewBorder
Relaunch nvim
Open outline panel

Expected behavior
Outline panel's color changes.
Neovim version (nvim -v)
NVIM v0.10.0-dev-241+g26cc946226
lspsaga commit
349b3d4
Terminal name/version
foot version: 1.14.0 +pgo +ime +graphemes -assertions

update then use OutlineNormal to change outline window background.

Thanks a lot!

Also, how can I customize the highlight of this divider?

OutlineIndent

Sorry, I mean the bar between my code and the outline panel but not the indent line

:help VertSplit

Thx I got it!


Uninitialized constant Hocon

I always get the error message Could not evaluate: uninitialized constant Hocon.
[root@puppet ~]# puppet apply /etc/puppet/modules/hocon/tests/hocon_setting.pp --noop
Notice: Compiled catalog for puppet.fqdn in environment production in 0.06 seconds
Error: /Stage[main]/Main/Hocon_setting[sample setting]: Could not evaluate: uninitialized constant Hocon
Notice: /Stage[main]/Main/Hocon_setting[sample setting2]: Dependency Hocon_setting[sample setting] has failures: true
Warning: /Stage[main]/Main/Hocon_setting[sample setting2]: Skipping because of failed dependencies
Notice: /Stage[main]/Main/Hocon_setting[sample setting3]: Dependency Hocon_setting[sample setting] has failures: true
Warning: /Stage[main]/Main/Hocon_setting[sample setting3]: Skipping because of failed dependencies
Notice: Finished catalog run in 0.05 seconds

puppet and ruby version:
Debug: Runtime environment: puppet_version=3.8.2, ruby_version=2.0.0, run_mode=user, default_encoding=UTF-8

Does someone have the same issue?
Thanks!

It works with puppet 4.2.1.
Can you please verify if it should work with 3.x, too (metadata.json)?

You've installed the gem, I presume?  It's possible that we pre-packaged the gem with 4.x but not with 3.x?
@fpringvaldsen I have a vague recollection of there being some feature that didn't work on 3.x, but I can't remember what it was?

@cprice404 I'm using the RPMs (puppet / puppet-agent).

@juame right, what I'm suggesting is that maybe the puppet-agent RPMs include the hocon gem, and the puppet 3.x RPMs do not.  If that's the case you would need to install the gem before the module would work.  So, try 'gem list' or '/opt/puppet/bin/gem list' and see if you see the HOCON gem in the output.

@cprice404 you're right:
/opt/puppetlabs/bin/puppet --version
4.2.1
/opt/puppetlabs/puppet/bin/gem list hocon
*** LOCAL GEMS ***
hocon (0.9.2)

So, users of puppet 3.x.x would have to install the hocon gem: gem install hocon

Related issue, it's not possible to install the hocon gem and use this module in the same run:
package { 'hocon':
  ensure   => present,
  install_options => ['--no-ri', '--no-rdoc'],
  provider => puppet_gem,
}
hocon_setting { 'name':
  ensure  => present,
  path    => '/etc/puppetlabs/puppetserver/conf.d/puppetserver.conf',
  setting => 'section.name',
  value   => 'value',
  require => [
    Package['hocon'],
   ]
}

$ puppet apply manifest.pp
...
Error: /Stage[main]/Main/Hocon_setting[name]: Could not evaluate: uninitialized constant Hocon

because the provider is not confined based on the hocon feature. As a result, the agent doesn't know to reload the gem cache due to the feature becoming true during the run. I'll submit a PR for that.

Filed as https://tickets.puppetlabs.com/browse/HC-46 and submitted a PR in https://github.com/puppetlabs/puppetlabs-hocon/pull/28


support v6.3.0 /  v.6.2.0

What have you changed? (mandatory)
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Please NOTE that:

Do not assume the code is self-evident
Do not assume reviewers understand the original issue

What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:

New feature (non-breaking change which adds functionality)
Improvement (non-breaking change which is an improvement to an existing feature)
Bug fix (non-breaking change which fixes an issue)
Breaking change (fix or feature that would cause existing functionality to not work as expected)

How has this PR been tested? (mandatory)
Please describe the tests that you ran to verify your changes. Have you finished unit tests, integration tests, or manual tests?
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
If there is document change, please file a PR in (docs and docs-cn) and add the PR number here.
Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

To support a new TiDB version, please refer following PR:
https://github.com/pingcap/tiunimanager/pull/835
https://github.com/pingcap/tiunimanager/pull/832

/lgtm

/lgtm cancel

/approve


Decide on specific SQL DB

Research needs to be done on which SQL database we want to use for our usecase (some are quick, some reliable, some distributed)

We decided to do mysql


chore(ci): Workflow trigger changes

Overview
Alters the workflow triggers such that the push trigger only runs when the PR is merged into main, and the pull_request trigger is agnostic to the type. This prevents double-runs of CI workflows in the merge queue / upon PR creation.

#203  👈
main

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

Join @clabby and the rest of your teammates on  Graphite


Bring back the option to sell unsuitable and/or within ilvl range items

Please bring back the option to sell unsuitable and/or within ilvl range items.
That was a huge benefit of this addon, being able to do transmog runs and quickly vendor any useless BoPs

oh YES....  that function is the reason why I switch back to the old version

Re-added the unsuitable option in #127, also added an option to include "below average equipment". Not entirely happy with it though, so I may replace it with an item level range option in the future.


CVE-2021-44228 - Too many PURLs

For CVE-2021-44228, the producer adds too many non-Maven PURLs that might not be affected by the vulnerability.

This seems fine: https://api.fasten-project.eu/api/mvn/vulnerabilities/CVE-2021-44228
But this not: https://api.fasten-project.eu/api/pypi/vulnerabilities/CVE-2021-44228


Add day of the year

Related issue: bmitch/relogio Issue #2
Added a line to the interface above the minute/hour/day/month tracking bars that states how many days have passed in the current year, and how many are left.
Example (for August 19): It is day 231 of 365 - 134 days remaining in 2019

I just added a screenshot to the README as well.

:tada: thanks @ntrupin ! I may tweak the UI eventually at some point but this is awesome. I was trying to figure out how to get the number of days last night and was scratching my head. I wasn't sure if there was a built in way within Chrono. The way you did it makes a lot of sense.
Feel free to contribute more if you like. This is meant as a fun project to help me learn Rust and this really helps!


Question

How can I switch the configuration to Harry Potter or Avatar? Thanks 😄
PS: I love your plugin 😄 keep up the good work, also I play on Potterworld, and I only just found out this plugin runs on it! Amazing!

You just turn them on in config.yml via "example: potter" or "example: bending"
See here: https://github.com/elBukkit/MagicPlugin/wiki/Examples

Thanks!
Also, does the game of Life work on this? I know what it is, but how do you do it in-game, I am struggling to get it working. I saw your video on it, messing around, and it looks fun!


[feature] Dynamic attributes in API Actions

addresses: https://github.com/restarone/violet_rails/issues/653
addresses: https://github.com/restarone/violet_rails/issues/652
upgrade path: https://github.com/restarone/violet_rails/issues/836
Feature Showcase
Dynamic Emails
Given a simple form like this:

an email like this is triggered:

the system will generate the email message:

Monitoring until EOD Monday


.env is required for step 2

In order to execute the command docker-compose build from step 2, you need to define the .env first.
Otherwise it will result in the following error: ERROR: Couldn't find env file: ~/insanely-fast-whisper-rocm/.env

Thanks for you suggestion. You are totally right. WIll change this in the readme


RecurrencePattern not serialized correctly

Code to reproduce:
string rrule = "RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20190831;BYDAY=FR,SA,SU";
RecurrencePattern pattern = new RecurrencePattern(rrule);
string serializedRRULE = pattern.ToString(); //FREQ=WEEKLY;UNTIL=20190831T000000;BYDAY=FR,SA,SU

In the above code, when calling pattern.ToString();, the result is FREQ=WEEKLY;UNTIL=20190831T000000;BYDAY=FR,SA,SU when it really should be FREQ=WEEKLY;UNTIL=20190831T000000Z;BYDAY=FR,SA,SU (note the Z)

Possibly it could be better to give RecurrencePattern a concept of timezone as, per the docs:

Furthermore, if the "DTSTART" property is specified as a date with local time, then the UNTIL rule part MUST also be specified as a date with local time. If the "DTSTART" property is specified as a date with UTC time or a date with local time and time zone reference, then the UNTIL rule part MUST be specified as a date with UTC time. In the case of the "STANDARD" and "DAYLIGHT" sub-components the UNTIL rule part MUST always be specified as a date with UTC time. If specified as a DATE-TIME value, then it MUST be specified in a UTC time format.

Note that this can be solved by doing:
string rrule = "RRULE:FREQ=WEEKLY;WKST=MO;UNTIL=20190831;BYDAY=FR,SA,SU";
RecurrencePattern pattern = new RecurrencePattern(rrule);
pattern.Until = DateTime.SpecifyKind(pattern.Until, DateTimeKind.Utc);
string serializedRRULE = pattern.ToString(); //FREQ=WEEKLY;UNTIL=20190831T000000Z;BYDAY=FR,SA,SU

But that seems improper and inflexible


Accept invite

:tada: This PR is included in version 1.31.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: