Unpackaged file test/eckey.pem breaks test_token_expiration test

[    3s] + PYTHONPATH=:/home/abuild/rpmbuild/BUILDROOT/python-apns2-0.7.1-0.x86_64/usr/lib/python3.8/site-packages
[    3s] + PYTHONDONTWRITEBYTECODE=1
[    3s] + py.test-3.8 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v
[    3s] ============================= test session starts ==============================
[    3s] platform linux -- Python 3.8.3, pytest-5.4.3, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python3
[    3s] cachedir: .pytest_cache
[    3s] rootdir: /home/abuild/rpmbuild/BUILD/apns2-0.7.1
[    3s] collecting ... collected 13 items
[    3s]
[    3s] test/test_client.py::test_connect_establishes_connection PASSED          [  7%]
[    3s] test/test_client.py::test_connect_retries_failed_connection PASSED       [ 15%]
[    3s] test/test_client.py::test_connect_stops_on_reaching_max_retries PASSED   [ 23%]
[    3s] test/test_client.py::test_send_empty_batch_does_nothing PASSED           [ 30%]
[    3s] test/test_client.py::test_send_notification_batch_returns_results_in_order PASSED [ 38%]
[    4s] test/test_client.py::test_send_notification_batch_respects_max_concurrent_streams_from_server PASSED [ 46%]
[    4s] test/test_client.py::test_send_notification_batch_overrides_server_max_concurrent_streams_if_too_large PASSED [ 53%]
[    4s] test/test_client.py::test_send_notification_batch_overrides_server_max_concurrent_streams_if_too_small PASSED [ 61%]
[    4s] test/test_client.py::test_send_notification_batch_reports_different_results PASSED [ 69%]
[    4s] test/test_credentials.py::test_token_expiration ERROR                    [ 76%]
[    4s] test/test_payload.py::test_payload_alert PASSED                          [ 84%]
[    4s] test/test_payload.py::test_payload PASSED                                [ 92%]
[    5s] test/test_payload.py::test_payload_with_payload_alert PASSED             [100%]
[    5s]
[    5s] ==================================== ERRORS ====================================
[    5s] ___________________ ERROR at setup of test_token_expiration ____________________
[    5s]
[    5s]     @pytest.fixture
[    5s]     def token_credentials():
[    5s] >       return TokenCredentials('test/eckey.pem', '1QBCDJ9RST', '3Z24IP123A')
[    5s]
[    5s] test/test_credentials.py:17:
[    5s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[    5s] apns2/credentials.py:48: in __init__
[    5s]     self.__auth_key = self._get_signing_key(auth_key_path)
[    5s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[    5s]
[    5s] key_path = 'test/eckey.pem'
[    5s]
[    5s]     @staticmethod
[    5s]     def _get_signing_key(key_path: str) -> str:
[    5s]         secret = ''
[    5s]         if key_path:
[    5s] >           with open(key_path) as f:
[    5s] E           FileNotFoundError: [Errno 2] No such file or directory: 'test/eckey.pem'
[    5s]
[    5s] apns2/credentials.py:71: FileNotFoundError
[    5s] =============================== warnings summary ===============================
[    5s] /usr/lib/python3.8/site-packages/hyper/http11/connection.py:13
[    5s] /usr/lib/python3.8/site-packages/hyper/http11/connection.py:13
[    5s]   /usr/lib/python3.8/site-packages/hyper/http11/connection.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
[    5s]     from collections import Iterable, Mapping
[    5s]
[    5s] /usr/lib/python3.8/site-packages/hyper/common/headers.py:13
[    5s]   /usr/lib/python3.8/site-packages/hyper/common/headers.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
[    5s]     class HTTPHeaderMap(collections.MutableMapping):
[    5s]
[    5s] -- Docs: https://docs.pytest.org/en/latest/warnings.html
[    5s] =========================== short test summary info ============================
[    5s] ERROR test/test_credentials.py::test_token_expiration - FileNotFoundError: [E...
[    5s] =================== 12 passed, 3 warnings, 1 error in 1.57s ====================

Please, package file test/eckey.pem as well. Thank you.

So, is it because this project is dead (which doesn’t seem so, there are some commits at least in visible memory) or you just don’t care?

Thank you.


The Website Documentation Links do Not Work

The links on this documentation page http://logsearch.io/docs/ do not work.

There are no more logsearch.io


Imagenet100 dataset load

Thank you for such a good work. May I ask if I want to run some experiments on imagenet100, is the path of the imagenet1K dataset entered here in the data.py file?

Thank you for your interest!
To run experiments on Benchmark ImageNet-100, you should manually copy the data of 100 subcategories (provided as imagenet-sub in the repo) into an additional folder and then specify the path to the folder in data.py.
Hope this clarifies your queries.

OK, Thank you!


My Malware Bytes doesn't like this

Tried to run this project (at the first point in the tutorial where it said to run the project,  so I hadn't done very many changes) , and VS gave me this error:
Error while trying to run project: Unable to start program 'C:\Users\Developer\source\repos\ExpenseIT\ExpenseIT\bin\Debug\ExpenseIT.exe'.
The request is not supported.
If it matters, I'm using VS 2017, not 2019,  Community version.
And my Malware Bytes gave me this report:
Malwarebytes
www.malwarebytes.com
-Log Details-
......
-Software Information-
Version: <IP_ADDRESS>65
Components Version: 1.0.627
Update Package Version: 1.0.12673
License: Premium
-System Information-
OS: Windows 10 (Build 17134.706)
CPU: x64
File System: NTFS
User: System
-Blocked Malware Details-
File: 1
MachineLearning/Anomalous.95%, C:\Users\Developer\source\repos\ExpenseIT\ExpenseIT\bin\Debug\ExpenseIT.exe, Quarantined,
.....
Is anyone else having this simple WPF blocked by Malware Bytes as a Machine Learning Anomalous.95 error?

Update: okay,  it looks like there's an issue that Malware Bytes has been told about it.
Looks like you may have to  " exclude this folder from detections until the project is finished."

This is just informational for people who run into the problem.  It's a malware bytes issue,  not  awpf issue


chore(hubble): use viem to interact with ethereum

Motivation
See why viem.
Change Summary

Use viem instead of ethers to interact with ethereum.
Configured much more conservative polling intervals to avoid hitting rate limits with RPC providers

Contract events are polled for every 36s, since events are only processed with 6+ confirmed blocks this should be sufficient to ensure we always have the events that can be processed
Blocks are polled for every 6s

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[x] PR has a changeset
[x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[x] PR does not require changes to the protocol
[x] All commits have been signed

Additional Context
The existing test coverage of EthEventsProvider relied heavily on mocking ethers. Since this no longer applied, we needed a new approach. Rather than attempting to mock the viem library, which doesn't lend itself to easily be mocked, I opted to setup anvil so that we can test against a local ethereum node.

PR-Codex overview
This PR updates dependencies, adds new exports, and replaces ethers with viem for Ethereum interactions. It also adds a new WatchContractEvent class and a startProxy function for parallelizing tests.
Detailed summary

Updates viem to v0.3.37
Adds ViemLocalEip712Signer to exports
Replaces ethers with viem for Ethereum interactions in ethEventsProvider and hub.ts
Adds WatchContractEvent class for watching contract events and restarting on errors
Adds startProxy function for parallelizing tests
Deploys IdRegistry and NameRegistry contracts in multiPeerSyncEngine.test.ts

The following files were skipped due to too many changes: apps/hubble/src/network/sync/multiPeerSyncEngine.test.ts, apps/hubble/src/test/mocks.ts, apps/hubble/src/test/utils.ts, yarn.lock, apps/hubble/src/eth/ethEventsProvider.test.ts, apps/hubble/src/eth/ethEventsProvider.ts, apps/hubble/src/eth/abis.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Can we remove ethers as part of this change?


read_csv throws BlockSizeError

What happened:
Throws an exception when reading a csv file from a URL even when blocksize is set to None.
What you expected to happen:
Successfully return a dataframe from a URL.
Minimal Complete Verifiable Example:
import dask.dataframe as dd
df = dd.read_csv("https://www.sciencebase.gov/catalog/file/get/60c92503d34e86b9389df1c9?f=__disk__4a%2Ff7%2F3e%2F4af73ee0ec6d2be1221e3dde541c6fe3c195e1bf", blocksize=None)

which throws (with or without blocksize=None):
BlockSizeError: Got more bytes so far (>328353508) than requested (5498880)

Anything else we need to know?:
pandas works just fine.
import pandas as pd
df = pd.read_csv("https://www.sciencebase.gov/catalog/file/get/60c92503d34e86b9389df1c9?f=__disk__4a%2Ff7%2F3e%2F4af73ee0ec6d2be1221e3dde541c6fe3c195e1bf")

Environment:

Dask version: 2021.11.1
Python version: 3.9.7
Operating System: OSX
Install method (conda, pip, source): conda

Thanks for writing this up @cheginit I am able to reproduce. I think the issue is not with blocksize but with sample.
I tried setting the sample to very large. For the record I also tried setting sample to False and to 0 but neither of those got me as far as setting it to very large.
import dask.dataframe as dd
ddf = dd.read_csv("https://www.sciencebase.gov/catalog/file/get/60c92503d34e86b9389df1c9?f=__disk__4a%2Ff7%2F3e%2F4af73ee0ec6d2be1221e3dde541c6fe3c195e1bf", assume_missing=True, sample=3_000_000_000)

and it was able to finish, but the dataframe was not usable, because anytime I try to actually load the data I get the original error. @martindurant I am having trouble figuring out if this is an fsspec issue or a dask issue.

~We don't really have a good answer if the server doesn't respect RANGE header specifications.~
I started writing the typical answer above, but actually I see no reason for the restriction, since the sample must come from the file header, and blocksize=None means we don't do any random access within the file (i.e., reading from an arbitrary offset).
So I made https://github.com/fsspec/filesystem_spec/pull/830 - and it works. Note that I get a dtype mismatch, but that's easily dealt with
ValueError: Mismatched dtypes found in `pd.read_csv`/`pd.read_table`.

+----------+---------+----------+
| Column   | Found   | Expected |
+----------+---------+----------+
| frommeas | float64 | int64    |
+----------+---------+----------+

Nice @martindurant! Yeah @cheginit you can get around the dtype mismatch by using assume_missing=True

@martindurant and @jsignell Thanks for your quick response and addressing the issue. Your explanation makes sense. I'll give it a try once it gets merged.


Flutter app keep failing in my apk build

Initializing gradle...                                       1.1s
Resolving dependencies...                                    2.7s
Running 'gradlew assembleRelease'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
compiler message: lib/main.dart:1: Error: No 'main' method found.
compiler message: Try adding a method named 'main' to your program.
Compiler terminated unexpectedly.
FAILURE: Build failed with an exception.

Where:
Script '/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 428

What went wrong:
Execution failed for task ':app:flutterBuildRelease'.

Process 'command '/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 11s                                                                                12.1s
Gradle build failed: 1
Logs
[  +36 ms] executing: [/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +50 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/flutter/] git rev-parse --abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[        ] executing: [/flutter/] git ls-remote --get-url origin
[  +14 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[        ] executing: [/flutter/] git log -n 1 --pretty=format:%H
[  +37 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 9f359aeee2a474fe9c565b3b59cf1d504b919b4d
[        ] executing: [/flutter/] git log -n 1 --pretty=format:%ar
[  +15 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 4 hours ago
[   +1 ms] executing: [/flutter/] git describe --match v*.. --first-parent --long --tags
[  +99 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v0.8.5-4-g9f359aeee
[ +504 ms] executing: /Users/test/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /Users/test/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:11
emulator-5556          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:13
[  +15 ms] executing: idevice_id -h
[  +49 ms] /usr/bin/xcrun simctl list --json devices
[ +145 ms] More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
[   +6 ms] /Users/test/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[ +102 ms] ro.hardware = ranchu
[   +2 ms] /Users/test/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell getprop
[  +51 ms] ro.hardware = ranchu
[   +5 ms] Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
[   +2 ms] Android SDK built for x86 • emulator-5556                        • android-x86 • Android 9 (API 28) (emulator)
[        ] iPhone X                  • 781DAF1A-F6B7-4DDA-90C3-416541579D07 • ios         • iOS 11.4 (simulator)
[  +16 ms] "flutter run" took 833ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:239:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:350:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:306:33)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:142:29)

#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:141:18)

#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:297:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:194:27)

#12     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:347:21)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:142:29)

#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)

#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:303:19)

#20     CommandRunner.run. (package:args/command_runner.dart:109:29)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:109:11)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:211:18)
#24     run. (package:flutter_tools/runner.dart:59:20)

#25     AppContext.run. (package:flutter_tools/src/base/context.dart:142:29)

#26     _rootRun (dart:async/zone.dart:1124:13)
#27     _CustomZone.run (dart:async/zone.dart:1021:19)
#28     _runZoned (dart:async/zone.dart:1516:10)
#29     runZoned (dart:async/zone.dart:1463:12)
#30     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)

#31     runInContext (package:flutter_tools/src/context_runner.dart:42:24)

#32     run (package:flutter_tools/runner.dart:50:10)
#33     main (package:flutter_tools/executable.dart:52:9)

#34     main (file:///flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#35     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:287:32)
#36     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

Analyzing ........
No issues found! (ran in 2.5s)

    • Flutter version 0.8.6-pre.4 at /flutter
    • Framework revision 9f359aeee2 (4 hours ago), 2018-09-17 13:02:34 -0700
    • Engine revision b0b19d6ce1
    • Dart version 2.1.0-dev.4.0.flutter-bb56d4592f

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/test/Library/Android/sdk
    • Android NDK at /Users/test/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 2.0.0
    • CocoaPods version 1.6.0.beta.1

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.27.1)
    • VS Code at /Users/test/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.18.0

[✓] Connected devices (3 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
    • Android SDK built for x86 • emulator-5556                        • android-x86 • Android 9 (API 28) (emulator)
    • iPhone X                  • 781DAF1A-F6B7-4DDA-90C3-416541579D07 • ios         • iOS 11.4 (simulator)

• No issues found!

void main() is missing. That's the main entry point to any dart program.

But! do have void main() => runApp(new MyApp()) in my login.dart doe, which is the entry point of the app, it does debug and run well, only issue is building release apk...

main.dart maybe?

I still have main.dart in my lib folder, but login.dart do start the app

If you want to build your release app with the main entrypoint in a file other than lib/main.dart, you have to do so like this:
flutter build --target=lib/login.dart

@dnfield when I run flutter build --target=/lib/login.dart, this the outcome
'Could not find an option named "target".
Run 'flutter -h' (or 'flutter  -h') for available flutter commands and options.'

Hmm.. try flutter build -t lib/login.dart

Errr, it really needs the platform your building for haha.
e.g.
flutter build android -t lib/login.dart
Swap android for ios if building for ios.

@dnfield is there anyway to build an app release cos this is too frustrating doe,

It's flutter build apk -t lib/main.dart ...  sorry for the confusion here, my memory is full of holes I guess.

@dnfield. Thanks for making life awesome for me


.NET Native should not be part of .NET Framework docs

.NET Native (as described) in this doc is a UWP tech only. This document can cause some confusion, specially the last sentence in the first paragraph:

"..and that target the .NET Framework and Windows 10 to native code. "

.NET Framework provides NGen and Ready2Run, both tools produce native images but there are important differences compared to UWP .Net Native.

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

ID: c06fd94b-aaba-d65f-1fc7-7131d6ff892f
Version Independent ID: 3de244c3-d43b-be7a-bad3-b5e04a1c2fd8
Content: Compiling Apps with .NET Native
Content Source: docs/framework/net-native/index.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

uhhhhhh - Posted in June ;)

@leecow who owns the .NET Native story? Should these docs simply be archived?

@jeffschwMSFT and @richlander - Who owns this story?

/cc @diverdan92

@mcleanbyron or @jwmsft - These .NET Native docs seem to belong more in the UWP docs. They also need an edit pass to emphasize that .NET Native is for UWP and not for .NET Framework in general. What are your thoughts about the location of these docs? If you agree they should be moved, I could do an edit pass and create a PR in the windows-uwp-pr repo.


add more tests

Codecov Report

Merging #31 into master will increase coverage by 20.56%.
The diff coverage is 75%.

@@             Coverage Diff             @@
##           master      #31       +/-   ##
===========================================
+ Coverage   49.49%   70.06%   +20.56%
===========================================
  Files           4        4
  Lines         299      294        -5
===========================================
+ Hits          148      206       +58
+ Misses        151       88       -63

Impacted Files
Coverage Δ

AnnoDomini/hamilton_mc.py
67.74% <0%> (+67.74%)
:arrow_up:

AnnoDomini/AutoDiff.py
99.39% <100%> (+10.77%)
:arrow_up:

Continue to review full report at Codecov.

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


Errors with directories/node modules

Hi, i'm trying to get this building my project but i'm running into errors with different libraries this uses.
error: Error: Unable to resolve module wcag-color from /node_modules/react-native-ama/lib/internal/checks/contrastChecker.ts: wcag-color could not be found within the project or in these directories:
  node_modules/react-native-ama/node_modules
  node_modules
  ../node_modules

  1 | import React from 'react';
  2 | import type { StyleProp } from 'react-native';
> 3 | import { score } from 'wcag-color';
    |                        ^
  4 |
  5 | import { getPropertyFromStyle } from '../getPropertyFromStyle';
  6 | import { LogParams, getContrastCheckerMaxDepth } from '../logger';

The issue above is currently blocking me, ive added reanimated and gesture handler to my project as suggested in the docs but nothing related to this. Any ideas?

Updating this as i go to help anyone out in future.
I've had to add multiple things to get by a few errors with missing libraries, imports and plugins that aren't in the docs.
yarn add @opendevtools/wcag-color to the project and then change an import inside the contrastChecker file to import { score } from '@opendevtools/wcag-color';
add the '@babel/plugin-proposal-export-namespace-from' plugin to the project
add the 'react-native-reanimated/plugin' to the project

Attempt to remove more RCTAppState listeners than added

This package doesn't use any appStateDidChange listeners , you have to the right library that cause the issue and update it (it should be fixed) if not create an issue in an appropriated repo

How debug?

open node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js
find removeListener method
Add throw on JS side:

Then run app and you will see in stack trace of error the right library!

@Kezmo I'll try to include the score function inside the library itself, to avoid 3rd party dependency.
For the appStateDidChange as said by @retyui this event is not used by the library

I'm not seeing this issue for wcag-color but instead the react-native-ama package itself.
When importing the AMAProvider component into my App.tsx file and importing Text into another file both raise the same Cannot find module 'react-native-ama' or its corresponding type declarations. error.
This doesn't appear to affect run time but it is failing tests.

Bumping this thread +1

Releases from last week seem to have cleared up the issue I mentioned above. Thanks to anyone involved with those releases!


Intialisation take forever in production app

Describe the bug
Sometimes randomly service.init() takes forever to load and even after restart/reinstalling the app doesn't works.

Hello @praveen4030, can you complete the template where possible?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Meaningful logs
Any error or information log that would help identify the issue
Reproducible code
Minimum reproducible code of the issue
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Web3Modal Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hello @praveen4030, do you still need help on this?


Add test cases for shortcut functionality and Fix Bugs

Summary

Added test cases for shortcut functionalities in commands, parsers
Added logging when shortcuts are updated for better tracking

Added bug fixes:

Corrected DelShortCut command parser to be case-insensitive
Corrected Tags Predicate to support prefix search
Corrected shortcuts such that multiple shortcuts with same tag name cannot be added


Add --cli option

This allows running this on cli like github actions by eliminating the need to use enter using --cli argument.

Maybe it would be better to make a argument that disables all input('Run anyway?') and etc similar commands?

Maybe use --no-input. Also, I hope the 2 enter commands addressed in this PR are the only inputs?

Yes, from a specific :
https://github.com/rzc0d3r/ESET-KeyGen/blob/main/main.py#L42
https://github.com/rzc0d3r/ESET-KeyGen/blob/main/main.py#L54
Argument disabling this: --force

Changed

Great, but the error output needs to be left in. How will people copy the Traceback and send it to me? They will have to run the project in the console, not just click on it in explorer.

I have a test version with Traceback output and new JavaScript code lying around on my PC. But I need to test it well.

My main reason for this PR was for using GitHub actions. Makes it easier and much safer to get licenses without the risk of getting banned.

Great, but the error output needs to be left in. How will people copy the Traceback and send it to me? They will have to run the project in the console, not just click on it in explorer.

Oh. Well, if they run it from explorer, then --force will not be passed and then the project will run with user input.

Yes exactly.

Don't touch the Press Enter line... at the end of the file

This shall fail runs on CIs.

If I remove the requirements of pressing enter, I can generate license using GitHub actions like this:
https://github.com/AdityaGarg8/random/actions/runs/6918918950

Sorry I just don't know how github cli works. Is your commit fully working? If so, I'll merge it.

Yes, if I remove the need of pressing enter

If you want, I can help you to get a GitHub CI on your repo to generate licenses

If you want, I can help you to get a GitHub CI on your repo to generate licenses

What features does it add? I've never encountered this in my life..

Just like the link I sent you, If you run this manually, it shall use your scripts and generate a license key and display it. Although, I doubt it shall be needed in your repo. I just asked, in case you wanted help.

I understand that through Actions you can run the project in code space and get the results directly on github? Without having to do everything on the main system?

Yes

It's not a bad feature. Can people who don't have a github account do the same?

No. The person has to fork your repo or you have generate the license on your repo.

What kind of license?

I meant the license key

Well, I don't think that's necessary just yet. Idk

Because it looks pretty complicated. And this will need to be described in the documentation

Fair enough. I hope we can come to some decision on this PR?

Fair enough. I hope we can come to some decision on this PR?

I could approve. But what's the next step?

Well, in my case, I'll create a GitHub CI in my private repo, which shall clone your repo, and generate a license key. I'll run the workflow whenever my license expires.

Something like this https://github.com/AdityaGarg8/random/blob/main/.github/workflows/GenerateChecksum.yml

Although it needs some cleanup

Oh it got merged.

Oh it got merged.

Now it got reverted?

Oh it got merged.

Now it got reverted?

Lmao. I made the mistake of merging the code. I had to return the return. Don't worry, your code is already in the project.

For cli to work consistently, do you need to remove input('Press Enter...') at the end of main.py?

Your forgot to address this line https://github.com/rzc0d3r/ESET-KeyGen/blob/main/main.py#L103

For cli to work consistently, do you need to remove input('Press Enter...') at the end of main.py?

Yes

Is there any solid reason to not remove the last line though, maybe I could help there?

I can add the --cli key and then it will disable all inputs.

Cool

Also, thanks a lot for this project. Saved me a couple of bucks:)

Also, thanks a lot for this project. Saved me a couple of bucks:)

https://github.com/rzc0d3r/ESET-KeyGen/commit/e8658a66dac5d36300e85ec11d4ec26109593b3b. You're welcome. Thank you.


Redesign registry to use a database instead of files

Suggested database: ArangoDB

Multi-model: supports graph, document, and key-value databases
Supports full JSON documents in nodes and edges which can be filtered.

Completed with #231 #235 #238


TypeScript constrain client-side wml functions

Until I can figure out a way to typescript constrain the script without compromising my ability to use the wml source code in Lambda functions as well, putting typescript constraining on hold.


[app-config] Update feature flags sample with timewindow filter

Packages impacted by this PR
app-configuration
Issues associated with this PR
#14884
Describe the problem that is addressed by this PR
Update featureFlag.ts sample with timewindow filter
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


table with paginator pageIndex bug.

Bug, feature request, or proposal:
My pageSize is 10.
The backend api first page index is 1. But When I set the pageIndex of paginator to 1, the table show 11-20 of NaN
What is the expected behavior?
I want the table show 1-10 of NaN.
What is the current behavior?
the table show 11-20 of NaN
What is the use-case or motivation for changing an existing behavior?
The backend api first page index is 1. So i set the default page index of paginator to 1.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/core": "^4.3.1",
"@angular/material": "^2.0.0-beta.8",

This is the intended behavior.

pageIndex:  The zero-based page index of the displayed list of items. Defaulted to 0.


Update nature-sesearch-tutotial.md

There is no need to set up a user on Nature to match with the Azure user.
Update Relay State as it was a test URL.

@andrasgaal : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Add CHAINER_WARN_VERSION_MISMATCH environment variable

Jenkins, test this please

Jenkins CI test (for commit e4cf1d984787bcd7d862866b5ced6389bd11624a, target branch master) succeeded!

Jenkins, test this please

Jenkins CI test (for commit e4cf1d984787bcd7d862866b5ced6389bd11624a, target branch master) succeeded!

It seems RTD does not test against merge commit.
pfnCI, test this please.

Jenkins CI test (for commit 9bf656a7037fac7a0e80897fef259b2266c36b48, target branch master) succeeded!


Draft site map

This should build off the work in issue #247
@pamela-drouin has already done some work on this that I would like to capture.

Just shared the file with you.

As a result of the work over in #247 - here's my latest draft proposal for the sitemap:

@iamjessklein would you like a new site map or is this closed?


Uncaught Error: ENOENT: no such file or directory, stat '/Users//.spumux'

[Enter steps to reproduce below:]

Install atom-terminal-panel
Launch the panel
Type in ls
Error

Atom Version: 1.3.1
System: Mac OS X 10.11.1
Thrown From: atom-terminal-panel package, v4.4.4
Stack Trace
Uncaught Error: ENOENT: no such file or directory, stat '/Users//.spumux'
At fs.js:854

Error: ENOENT: no such file or directory, stat '/Users/<User>/.spumux'
    at Error (native)
    at fs.statSync (fs.js:854:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
    at ATPOutputView.module.exports.ATPOutputView._fileInfoHtml (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:1081:19)
    at /Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:909:25
    at Array.forEach (native)
    at ATPOutputView.module.exports.ATPOutputView.ls (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:908:11)
    at module.exports.ls.command (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-builtins-commands.coffee:25:20)
    at ATPOutputView.module.exports.ATPOutputView.exec_ (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:520:17)
    at ATPOutputView.module.exports.ATPOutputView.exec (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:456:13)
    at ATPOutputView.module.exports.ATPOutputView.onCommand (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:700:12)
    at Object.<anonymous> (/Users/<User>/.atom/packages/atom-terminal-panel/lib/atp-view.coffee:193:8)
    at Object.call (/Users/<User>/.atom/packages/atom-terminal-panel/node_modules/jquery-autocomplete-js/autocomplete.js:52:25)
    at Object.rs.onEnter (/Users/<User>/.atom/packages/atom-terminal-panel/node_modules/jquery-autocomplete-js/autocomplete.js:663:33)
    at HTMLInputElement.keyDownHandler (/Users/<User>/.atom/packages/atom-terminal-panel/node_modules/jquery-autocomplete-js/autocomplete.js:885:11)
    at HTMLInputElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLInputElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -0:57.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {},
  "atom-terminal-panel": {}
}

Installed Packages
# User
atom-terminal-panel, v4.4.4

# Dev
No dev packages

The same here

is .spumux' is link in your case?


Loading a big gif caused iOS app crash due to memory issue

like this one: http://ww4.sinaimg.cn/large/604e48d0jw1evcn03adjjg208b08bdv0.gif

Finally I used FLAnimatedImage to solve it.


If no dashboard.resin.io page is open, CLI sits waiting for ages

If I don't already have a browser tab open on resin dashboard when I try login to the CLI, then it never succeeds, even if I open the dashboard while its waiting to connect it doesnt seem to work. Had to kill the cli command and restart it.

@shaunmulligan The browser tab is supposed to open no matter if your browser is not running, or you don't have a Resin.io tab opened already (I've just tested both cases to make sure).
Where are you running the CLI?

As a side note, I have a possible workaround to any potential browser issue:

Allow the user to hit "enter" or any other key while the CLI awaits for the token to attempt to re-open the dashboard.

Okay, actually I can't reproduce it anymore :anguished: I thought it might be because I use multiple different profiles on chrome, but it works all the time now. So i will close this.


conf: golangci lint ignore test/

Description
fix the lint CI test
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm

/approve

/override "ci/prow/bundle-e2e-4-17"

/skip


Add cksum code

Hopefully this is correct/idiomatic V.

The code itself looks fine.  Just missing a couple of pieces to make it fit with the rest of the coreutils.
Take a look at the others to see how they used the common code to set up command-line flags, etc.
We also ask that you modify the README.md file to increase the count of completed tools and add a checkmark for the one you've created.

Oh, wow...I didn't even look at the man page for cksum! I thought it was just like md5sum. My bad. I will look at adding the plethora of command line flags and functionality. Sorry about that.

Since this went stale, I took the liberty of working on this, fixed all issues I found in #129, can close this one.


ARROW-5670: [C++] Use requests in get_apache_mirror.py if available

requests is not in the standard library, but if it's available it may avoid certain HTTPS issues in some Python distributions

cc @pcmoritz

I'm going to cherry pick these changes into my branch for ARROW-5656 and see if I can get the build with Flight working

closing in favor of upcoming ARROW-5656 patch


Go template "exec" function calls programs relative to current working directory

First of all: Thanks for helmfile and your fast and very user oriented development style. It is becoming more useful with every day. Your work is appreciated!
From my tests it seems that the new "exec" function calls programs relative to the current working directory which is different for example to the way value files (normal and *.gotmpl) are included or "readFile" works. I'd like to suggest two possible other options:

Call the program relative to the helmfile the Go template was included from
Call the program relative to the Go template
As "readFile" already uses the first option, "exec" should probably follow.

I'm using 0.33.0.

@elemental-lf Good point!
For consistency, I'd prefer the first option as you've commented.
But the benefit of the second option is that it provides extra reusability because it allows us to refer the same value templates file from within multiple helmfiles in different directories.
Do you mind if I changed the behavior of readFile along with exec, to that of the second option?

@mumoshu, please go ahead, I think it's a good idea to go with the second option!

@mumoshu Thank you very much!


Feature/add sidebar menu dashboard

This PR resolves issue number #48
Description :
This pull request adds a new feature to the admin dashboard: a sidebar menu.
Changes Made:

[x] Implemented a sidebar menu with 6 links: Dashboard, Courses, Settings, Profile, Help and Support, and Logout.
[x] Updated SVG images for all sidebar menu links, except for Profile and Help and Support.

Things to be done :

Update the router.push() links in the sidebar menu to ensure proper navigation.
Create separate components for each sidebar option (Dashboard, Courses, Settings, Profile, Help and Support, and Logout).
Update the SVG icons for the Profile and Help and Support links to differentiate them from the Settings icon.

NOTE : We can raise 3 separate issue for the above 3 things which are quite basic (the contributor just need to add 2 svgs , need to update the link in router.push and break the component into different components). This will allow beginners to contribute to the repo.
Screenshots :
Before :

After :

hey, @PiyushKalyanpy Kindly review and merge this pull request.

Please do not use the hardcoded values, you should only use the pre-defined tailwind classes.

Hey @PiyushKalyanpy, I apologize for using hardcoded Tailwind CSS values. Moving forward, I will ensure that I utilize the appropriate Tailwind classes.

Hello @kirtiraj22 could you please make a new PR for the left sidebar and with issue number #48


Ensure server_host is respected in configuration.yaml

Description:
Related issue (if applicable): #
Example entry for configuration.yaml (if applicable):

Checklist:
If code communicates with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Going to close/open to trigger a test run

It looks like you have some linting errors that need to be addressed.

Recommitted.

There are still some linting errors.
If you have flake8 installed (you should, it's in requirements_test.txt), you can run flake8 --install-hook in the repo. That will install a commit hook in git that will prevent you from committing anything that will get rejected by the linting check.
You can also use flake8 to see what the current problems are, just run flake8 . in the root of the repo.

Pushed again after fixing pesky flakey line length issue. Thanks for the heads up re flake. Nice tool.

Looks good! :dolphin:


[BUG] - input field is overflowing when set leftLabel

Describe the bug
input field is overflowing when setting leftLabel.
am I wrong?
may be input have a width 100%
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
<Input
  labelLeft="left label"
  type="number"
  underlined
  required
  {...register(`${code}.min.count`, { required: true })} // never mind, just for react-hook-form
/>

Expected behavior
not overflowing when I set left-label
Screenshots or Videos

Operating System Version
maxOS
Browser
Safari

did you solve this? or not can you show your code with css?

Hey guys sorry for the delay please upgrade to V2
https://nextui.org/docs/components/input


Backend: Admin signup failed

Describe the bug
Admin required fields are not being fetched from user as payload. Missing keys are

location
joiningDate
educationalQualification
description

Possible solution
Either add them to payload of the api as required
Or remove the required from Model
Do you want to work on this issue - [Yes/No]
Yes

I'm interested in working on this issue

I would like to Work on this

@GabriFedi Assigning you

@purnima143 if you'll see I already had done it in a PR #525


tf-connect logged in users forced to re-login every 5 minutes

Owncloud creates a session token on login that contains the encrypted login password which is re-checked about once per 5 minutes and forces the user to log out if the password was changed.
our TF-connect login implementation which we use in our Owncloud 10.6 image, Owncloud 10.8 image doesn't account for such a check as we don't use the password to log in but we generate a random password in every login attempt.
if a user uses TF-connect to log in, after 5 minutes the session check will compare the password used to create the account (on the first login) with the password generated on a later attempt which won't match and his session will invalidate and he will have to log in every 5 minutes and any upload will be interrupted, of course, making the platform unusable for any long upload.

as a quick workaround/fix, we could create the session token (in case of TF-connect login) with a null password to disable this check for the tf-connect users.

fixed in 10.9.1 https://github.com/freeflowuniverse/tf-owncloud/tree/tf-owncloud-10.9.1


Ascii Doctor Deprecations

Asciidoctor has deprecated footnoteref here: https://github.com/asciidoctor/asciidoctor/pull/2362
I've attached a patch file to fix this.
patch.txt

@matthewvelie thanks for contributing.


More advanced demo?

This looks a great project but the demo is very basic. Has anyone got a version that includes any of these:

Initialising from a saved state
Having input boxes in the blocks that can be saved to the output. Having data from the Right Panel saved to output.
Having the right panel be configured differently depending on each block clicked.
Loading blocks into the left panel from JSON rather than hardcoded into html.
Filtering in left panel working

I know these are all things that can all be achieved with some work - but its a lot of boilerplate for every new person to work on when its core to the simplest implementation.

I'm having this same difficulty, being able to boot with a previously saved state

did you cloned and runned in your local machine ?
all Functionalities working? other than demo website

This looks a great project but the demo is very basic. Has anyone got a version that includes any of these:

Initialising from a saved state
Having input boxes in the blocks that can be saved to the output. Having data from the Right Panel saved to output.
Having the right panel be configured differently depending on each block clicked.
Loading blocks into the left panel from JSON rather than hardcoded into html.
Filtering in left panel working

I know these are all things that can all be achieved with some work - but its a lot of boilerplate for every new person to work on when its core to the simplest implementation.

I figured out how to do parsing code without minifying. When we run flowy.output() it generates an object with all screen elements, and exactly the shape of that object that needs to be sent to flowy.import(object). So I'm saving the object from flowy.output() and then when my logic needs to import it, I access it again and send it to import (giving a json.PARSE), and that's it. But this is not so clear in the documentation.

@diogenesjup Would you have an example?

I'm currently working on exporting Flowy to TypeScript.

Hi @nickjeon
Will it be compatible to work with Angular? I see that you have more activity with React, that's why I ask.

This looks a great project but the demo is very basic. Has anyone got a version that includes any of these:
1. Initialising from a saved state

2. Having input boxes in the blocks that can be saved to the output. Having data from the Right Panel saved to output.

3. Having the right panel be configured differently depending on each block clicked.

4. Loading blocks into the left panel from JSON rather than hardcoded into html.

5. Filtering in left panel working

I know these are all things that can all be achieved with some work - but its a lot of boilerplate for every new person to work on when its core to the simplest implementation.

Hi. Any updated on the advanced demo you talk about?
would love to see some improvements


Removed extra 's' character typo from three.js/threex-artoolkitcontext.js

thanks! one can tell i never used this function :)

thanks! it is fixed. thanks for notifying me


wasm: removes name node to simplify instantiation path

goos: darwin
goarch: arm64
pkg: github.com/tetratelabs/wazero/internal/integration_test/bench
                                       │   old.txt   │               new.txt               │
                                       │   sec/op    │   sec/op     vs base                │
Initialization/interpreter-10            14.41µ ± 1%   14.47µ ± 1%        ~ (p=0.353 n=10)
Initialization/interpreter-multiple-10   17.87µ ± 2%   15.88µ ± 3%  -11.14% (p=0.000 n=10)
Initialization/compiler-10               14.87µ ± 1%   14.92µ ± 1%        ~ (p=0.218 n=10)
Initialization/compiler-multiple-10      18.68µ ± 1%   17.20µ ± 3%   -7.89% (p=0.000 n=10)
geomean                                  16.35µ        15.58µ        -4.71%

                                       │   old.txt    │               new.txt               │
                                       │     B/op     │     B/op      vs base               │
Initialization/interpreter-10            132.6Ki ± 0%   132.5Ki ± 0%  -0.02% (p=0.000 n=10)
Initialization/interpreter-multiple-10   132.6Ki ± 0%   132.6Ki ± 0%  -0.02% (p=0.000 n=10)
Initialization/compiler-10               132.6Ki ± 0%   132.5Ki ± 0%  -0.02% (p=0.000 n=10)
Initialization/compiler-multiple-10      132.6Ki ± 0%   132.6Ki ± 0%  -0.02% (p=0.000 n=10)
geomean                                  132.6Ki        132.5Ki       -0.02%

                                       │  old.txt   │              new.txt              │
                                       │ allocs/op  │ allocs/op   vs base               │
Initialization/interpreter-10            26.00 ± 0%   25.00 ± 0%  -3.85% (p=0.000 n=10)
Initialization/interpreter-multiple-10   26.00 ± 0%   25.00 ± 0%  -3.85% (p=0.000 n=10)
Initialization/compiler-10               26.00 ± 0%   25.00 ± 0%  -3.85% (p=0.000 n=10)
Initialization/compiler-multiple-10      26.00 ± 0%   25.00 ± 0%  -3.85% (p=0.000 n=10)
geomean                                  26.00        25.00       -3.85%

cc @@ckaznocha I would appreciate it if you could take a look!

will add a few more unit tests to ensure the correctness!


Fix readme

Warm up for GSOC2018. I would like to update the readme. In this way i can comprehend the project better.

I see no point in repeating the information already present in the Notes, nor providing an index to the files; this is duplicate data to maintain.
The arguments to commands will obviously be separate arguments on the shell level; what's with the '|' separating them?


#Problems

Fix problem with custom textures (like optfine)
|When you rename an item and a different texture appears, when you start eating, a vanilla texture appears with a eating animation|

In this mod, did you make it so that the eating animation will only shows on the player's hand but not the hotbar? That might theoretically explain why custom textures doesn't shown on hotbar.

In this mod, did you make it so that the eating animation will only shows on the player's hand but not the hotbar? That might theoretically explain why custom textures doesn't shown on hotbar.

Custom texture turns into a regular one and plays the animation. To make animation support for texture pack  it's hard )

You should be able to fix it if you shadow getHeldItemModel instead of accessing the model manager yourself in the fallback at:
https://github.com/Theoness1/EatingAnimation/blob/aae76b57be2915f4700147b58fa7efb08cee43af/src/main/java/ru/tpsd/eatinganimationmod/mixin/ItemRendererMixin.java#L41

I made CIT Resewn modify the output of getHeldItemModel, it should also by definition make the fallback go through vanilla code points which is probably going to fix the optifine behavior as well.


Feature request: Add support for export to delta table

Please add support for export to delta table:
COPY tbl TO 'path_to_delta' (FORMAT DELTA);

Delta Kernel currently does not yet(!) support writing, but that's work in progress


Gitlab pr review rounds

Summary
This is related to this ticket: https://github.com/merico-dev/lake/issues/257
We are now collecting merge request notes and commits. We need to gather merge request commits since some MRs are not merged to the main branch or some MRs were squashed before commit.
We also fixed the first_comment_time
Changed the order of how things are collected as it relates to merge requests.
One thing to not: MR.iid is the incremental id from gitlab. MR.gitlab_id is the uuid of the merge_request in gitlab's db
Key Points

[ ] This is a breaking change
[ ] New or existing documentation is updated

@hezyin Ready for your review


How can I plot confusion matrix

I tried to use code below to plot confusion matrix:
print('Final test accuracy = %.1f%% (N=%d)' % (test_accuracy * 100, len(test_bottlenecks)))
confusion = tf.confusion_matrix(labels=test_ground_truth, predictions=predictions, num_classes=class_count)
confusion_matrix_np = sess.run(confusion, feed_dict={bottleneck_input: test_bottlenecks, ground_truth_input: test_ground_truth})
But it doesn't work.
How can I plot confusion matrix?

Hi,
Did you find how to to plot confusion matrix for this model ?
if so, please be kind enough to share it with me.

I tried to use code below to plot confusion matrix:
print('Final test accuracy = %.1f%% (N=%d)' % (test_accuracy * 100, len(test_bottlenecks)))
confusion = tf.confusion_matrix(labels=test_ground_truth, predictions=predictions, num_classes=class_count)
confusion_matrix_np = sess.run(confusion, feed_dict={bottleneck_input: test_bottlenecks, ground_truth_input: test_ground_truth})
But it doesn't work.
How can I plot confusion matrix?

Hi zerenkin,
Did you find how to to plot confusion matrix for this model ?
if so, please be kind enough to share it with me.


Bring back Kavita from Upstream

Source name
Kavita
Source link
https://github.com/Kareadita/Kavita/releases
Source language
Universal
Other details
In #579 Komga was added back as it was asked for in #225 but there was also asked for others that are similar like Kavita.
Can we please bring back Kavita aswell?
Acknowledgements

[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Kareadita (the organization that manages Kavita) already hosts a Kavita extension: https://github.com/Kareadita/tachiyomi-extensions

There is nothing in the github. I can't add the repo to Mihon and there is nothing in the readme.


[android] Click 'Stop and delete data' for a Torrent file with status 'Downloading or Paused' - The file is going to My Files temporally

To reproduce this issue:

Start downloading a Torrent file OR go to My Files > My Torrents and Open a file from there

The torrent file starts downloading on Transfer

Select the file downloading and click 'Stop and delete data'

Go to 'My Files > My Torrents' and you will see the file appears on top of the list of torrents, if you already had the file there then the Torrent will be duplicated

Try to select the file and FW will say: 'The file was deleted from the SD card, or the SD card you have inserted is a different one':

If you go to Storage Location you won't find the Torrent so it should be fixed refreshing My Files after canceling and deleting the data.

Tested on FW 2.0.2-build-497 on android 6 and 7
Files saved within SD card and Internal Memory
I cannot reproduce it again with the files I have in Transfer... The 'zombie' torrents that remained there before were from old builds, but since I don't have old data in Transfer for the latest builds I could say is fixed.
See tickets:
https://github.com/frostwire/frostwire/issues/274#event-907814800
https://github.com/frostwire/frostwire/issues/620


Logo is missing

Okay, so i think this project can better communicate its value through some visuals.

So i've been thinking about it: NestJS, Pino – what their perfect marriage could look like? Pino has some fine and refreshing pine tree texture and warmth. Nest is all about sweet furriness of cats and such.

Quite naturally, this comes to my mind:

Let me tell you why i think this is the best logo this project could ever have:

has a cat
has some nice pino pine trees in the background
has lasers coming out of cat's eyes
it shows both immense power of this tool and it's seamless integration with both technologies!

This is it. Closing. Please, open PR to add it


[Question]: How can I attach LM-Studio?

Describe your problem
I have my LM-Studio running (with port on 1234).
The name of model is lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf
What should I enter for Model name and Base url?
(http://localhost:1234/v1/ doesn't work)
LM-Studio

2024-08-26 15:19:15  [INFO] [LM STUDIO SERVER] ->	GET  http://localhost:1234/v1/models
2024-08-26 15:19:15  [INFO] [LM STUDIO SERVER] ->	POST http://localhost:1234/v1/chat/completions
2024-08-26 15:19:15  [INFO] [LM STUDIO SERVER] ->	POST http://localhost:1234/v1/completions
2024-08-26 15:19:15  [INFO] [LM STUDIO SERVER] ->	POST http://localhost:1234/v1/embeddings

RAGFlow

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Model name
lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf

Base URL
http://<IP_ADDRESS>:1234/v1

I have copied from my AnythingLLM configuration:

try this

then you can get this ip at server logs

then

if you cant work , just let me know

@hangters Really appreciate your help! Thank you so much!


nhl rest api gone? down?

Calls to the nhl's rest api [api.nhle.com/stats/rest/...] are going unanswered as of 10am today.  This was OK at 9am.  Calls to the web api [api-web.nhle.com/...] and records api [records.nhl.com/site/api/] are working.

Looks like it is back online @alanryder. They may have been doing server maintenance🤷


New feature Request: Sound Notification

Thanks for your update! This extension is working well on my computer now!
However, there is small feedback: Whether it is possible to add a notification sound when the pom ran over? Sometimes I am focusing on my book rather than the screen, so I won't know the pom time is out without a sound alert. How about an app notification like Break Extension Start alert? Or a sound notice in Chrome?
Anyhow, this is one of the most excellent Chrome Extension I've ever used! Thank you😁

Added Sound notifications! will be available in the next update


rkt: support using host pid namespace

We should add the ability to do the equivalent of systemd-nspawn --share-system so people can have access to the host namespaces. This would make it possible to use monitoring agents, etc under rkt.
A practical use case is the kubelet monitoring a docker daemon:
https://github.com/GoogleCloudPlatform/kubernetes/issues/9689

It's more tricky than just adding the parameter systemd-nspawn --share-system on the command line because --share-system cannot be used with systemd running in stage1 because it's incompatible with -b:

an init system cannot operate in this mode. It is only useful to run specific programs or applications this way, without involving an init system in the container.

Would we need to run several apps in this mode or only one?

@alban We've talked about this before as a very distinct execution mode: no
pods, no spec compliance, just running a single app without isolation -
essentially just an unpack + exec
On Tue, Jun 16, 2015 at 2:32 PM, Alban Crequy<EMAIL_ADDRESS>wrote:

It's more tricky than just adding the parameter systemd-nspawn
--share-system on the command line because --share-system cannot be used
with systemd running in stage1 because it's incompatible with -b:
an init system cannot operate in this mode. It is only useful to run
specific programs or applications this way, without involving an init
system in the container.
Would we need to run several apps in this mode or only one?
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/issues/1046#issuecomment-112575367.

@jonboulle I think we still need the mount namespace isolation here because the kubelet may have some libraries it's links against that need to be picked up from the container and not the host.

Well that's provided by the chroot, orthogonal to mount namespace
On Wed, Jun 17, 2015 at 8:02 AM, Kelsey Hightower<EMAIL_ADDRESS>wrote:

@jonboulle https://github.com/jonboulle I think we still need the mount
namespace isolation here because the kubelet may have some libraries it's
links against that need to be picked up from the container and not the host.
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/rkt/issues/1046#issuecomment-112834871.

kicking off a conversation - #1072

do we want something more specifically like what toolbox provides?
sudo systemd-nspawn --directory="${machinepath}" --capability=all --share-system --bind=/:/media/root --bind=/usr:/media/root/usr --bind=/run:/media/root/run --user="${TOOLBOX_USER}" "$@"

The systemd-nspawn --share-syste mode will not register the container in machined [1] , I guess it's ok ?
[1] http://www.freedesktop.org/wiki/Software/systemd/machined/

Following up from a convo w/ @kelseyhightower the other day:

@jonboulle I think we still need the mount namespace isolation here because the kubelet may have some libraries it's links against that need to be picked up from the container and not the host.

When containerized, the kubelet performs mounts in the host's mount namespace via nsenter (see the code here.  This is necessary in order for the containers the kubelet launches to see the mountpoints the kubelet creates.  In order for the containerized kubelet to then see the mountpoint it made, and write into that mountpoint, the propagation mode of the mount namespace needs to be either 'shared' or 'slave'.  IMO rkt needs to support setting the propagation mode of a container's mount namespace / mountpoints.
I'll add that 'shared' is probably what is needed most longer term.  For use-cases like gluster, ceph, etc, there's a dependency on the mount helpers being installed on the host system.  To avoid this, you would need to have the mount helpers in the container with kubelet, and perform the mount inside the container.  In order for the mount events in the container to propagate back to the host's mount namespace, the 'shared' propagation mode is needed.

Fixed by #1833.


How does prefetch work?

I'm not sure i understand how the prefetch feature works or what it does.
I tried this:
gvfs prefetch --files *.sln

... and got this result:
Authenticating...Succeeded
Querying remote for config...Succeeded
Fetching blobs from https://XXXXX.visualstudio.com/XXXXX/_git/XXXXX...Succeeded

Stats:
  Matched blobs:    4
  Already cached:   3
  Downloaded:       1

I suspect here "Downloaded" means we downloaded one file you didn't have cached?
What i find weird is that i can see the VS Solution icon now on one of the .sln files... but the other three still show the generic file icon.
Does the prefetch not actually put the file in place?

By default, prefetch only downloads the git objects into its local cache, but it does not hydrate them into your working directory. If you want it to do that as well, you can pass in the --hydrate flag.

you can pass in the --hydrate flag.

Ah... that was it.  There is no hint as to what "hydrate" meant so i didn't notice it.

@tomspilman  you're correct that reading from files does hydrate them. It sounds like there could be a bug with mounting while offline. Please file a new issue for that and we'll take a look. The truth is that we don't have any automated testing around offline scenarios at the moment, so it's entirely possible that bugs have crept in there.

@sanoursa  - I've submitted the mount issue:  https://github.com/Microsoft/GVFS/issues/80

you're correct that reading from files does hydrate them.

From my perspective it would be nice if it did.  We have non-technical users like artists as well as programmers and both assumed that if they opened/used the file it then existed on their machine and could be used when offline.


amd_openvx sizeof(type) always returning 4

Using vx_enum type to get the size of data type always returns 4 regardless of the actual data type.
e.g.
sizeof(VX_TYPE_INT8) // expects 1
sizeof(VX_TYPE_FLOAT16) // expects 2
sizeof(VX_TYPE_FLOAT32) // expects 4
sizeof(VX_TYPE_FLOAT64) // expects 8

The above code lines all return 4.
This cause unexpected behavior especially when calculating the tensor memory size.
e.g.
vx_enum type;
ERROR_CHECK_STATUS(vxQueryTensor((vx_tensor)parameters[1], VX_TENSOR_DATA_TYPE, &type, sizeof(type)));
data->memsizeInBytes = dims[0]*dims[1]*dims[2]*dims[3]*sizeof(type);  // sizeof(type) always returns 4

VX_TYPE_FLOAT32 is an enum def which is the 4 bytes. The vx_float16 is typedef to half. This will return 2

VX_TYPE_FLOAT32 is an enum def which is the 4 bytes. The vx_float16 is typedef to half. This will return 2

Yes, will modify the code accordingly to match the expected behavior

@hansely - you need to use vx_int8, vx_float32, & vx_float64

@hansely - changing the issue name to reflect the PR fix.


Bug health checks fail to create if a hostname is used

When a health check is reconciled, it will only work if an IP is used. This means when using an AWS loadbalancer no health check can be defined via DNSPolicy. When you define one, it will result in the following error
ERROR	Reconciler error	{"controller": "dnsrecord", "controllerGroup": "kuadrant.io", "controllerKind": "DNSRecord", "DNSRecord": {"name":"prod-web-api","namespace":"ingress-gateway"}, "namespace": "ingress-gateway", "name": "prod-web-api", "reconcileID": "ae615743-522f-4b3d-9ba9-a8e9d27621c8", "error": "InvalidInput: Invalid XML ; javax.xml.stream.XMLStreamException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 401; cvc-datatype-valid.1.2.3: 'ad17cad5895114caca43bdff1e676c2e-1588753257.eu-west-1.elb.amazonaws.com' is not a valid value of union type 'IPAddress'.\n\tstatus code: 400, request id: 6aff7834-14b5-4d55-b882-f693b1803ed8"}sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:329sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227

This is because AWS expects an IP for a health check but we are attempting to create it using the host.
Options

We should improve the error reporting on DNSRecord and propagate it back to the DNSPolicy
Decide if we want to do a look up of the IP of a hostname and use that / those for the health check setup

Closing as we intend to move away from this design #141


Add configuration parameter for database

In the latest release only the roundcube database itself can be used. With the following patch any database and type, which is supported by roundcube, can be used.

Looks good, I will test this over the next few days. Thanks for sanitizing the indentation, at the time of writing Sublime Text was setup very very strangely and indentation everywhere was always bizarre.

once merged I will apply similar logic to the rewrite available in the development branch (which is somewhat faulty atm)


⚠ Jenkins Plugins Artifactory has degraded performance

In 282492e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1538 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 43824e0 after 20 minutes.


Add Moonsong Labs to the license statements in the precompile utils

Replace PureStake Inc, with Moonsong Labs in the precompile utils license statements

@koushiro


Add support for v9 API and threads

This PR adds support for API v9 and threads, thereby fixing #5.

[x] Add support structures for threads
[x] Migration to the v9 gateway

Todo:

[ ] Figure out why we aren't getting any thread events from the gateway yet
[ ] Remove threads from DiscordGuild.threads once archived (i.e. when we get a THREAD_UPDATE?)

Replaced by #4.


This is one of my favorite node modules

Thanks to @joliss for creating this module, to @stefanpenner for maintaining it, and to all the open source people who've helped along the way. I use this module all the time and love it.
That is all. Feel free to close this issue. 🍰

@zeke thank you for the kind words, we are glad this module is serving you well!


feat: custom request handlers via request_else

This implements a handler that can be used to respond to custom LSP requests that are not part of the main spec.

Looks good, thanks!


Add GitHub Actions to Sync with Member Team

What would you like to be added:
I propose adding a GitHub Action that automates the process of syncing team members with a members.yaml file. This feature would enhance our workflow by ensuring that team membership is regularly updated without manual intervention.
Currently, there is an available action called github-team-sync. However, developing our own tailored action would be beneficial to better meet our specific needs and requirements.
Why is this needed:
Automating the membership syncing process will save time, reduce the potential for errors, and ensure that our team settings remain current. This enhancement can lead to a more efficient workflow and improved member management.

GitHub Action workflow will look like below:
name: Sync Team Members

on:
  push:
    paths:
      - 'members.yaml'
    branches:
      - main
  workflow_dispatch:  # Allow manual triggering

permissions:
  contents: read
  organization-projects: write
  administration: write

jobs:
  sync-members:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: '3.x'

      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          pip install PyYAML PyGithub

      - name: Sync Team Members
        env:
          GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }}
          ORGANIZATION: "yorkie-team"
          TEAM_SLUG: "members"
        run: |
          cat > sync_members.py << 'EOF'
          import os
          import yaml
          from github import Github

          def get_yaml_members():
              with open('members.yaml', 'r') as file:
                  data = yaml.safe_load(file)
                  return [member['github'].replace('@', '') for member in data]

          def sync_members():
              # Initialize GitHub client
              g = Github(os.environ['GITHUB_TOKEN'])
              org = g.get_organization(os.environ['ORGANIZATION'])
              team = org.get_team_by_slug(os.environ['TEAM_SLUG'])

              # Get current team members
              current_members = set(member.login for member in team.get_members())

              # Get members from YAML
              yaml_members = set(get_yaml_members())

              # Members to add
              for member in yaml_members - current_members:
                  try:
                      user = g.get_user(member)
                      team.add_membership(user, role='member')
                      print(f"✅ Added {member} to the team")
                  except Exception as e:
                      print(f"❌ Failed to add {member}: {str(e)}")

              # Members to remove
              for member in current_members - yaml_members:
                  try:
                      user = g.get_user(member)
                      team.remove_membership(user)
                      print(f"✅ Removed {member} from the team")
                  except Exception as e:
                      print(f"❌ Failed to remove {member}: {str(e)}")

          if __name__ == '__main__':
              sync_members()
          EOF

          python sync_members.py

      - name: Create Issue on Failure
        if: failure()
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        uses: actions/github-script@v6
        with:
          script: |
            github.rest.issues.create({
              owner: context.repo.owner,
              repo: context.repo.repo,
              title: 'Team Sync Failed',
              body: 'The team synchronization workflow failed. Please check the workflow logs for more details.'
            });


use ampere runners for arm64 installer tests

Attempt to use ampere runners for arm64 installer tests.

What a twist :) Python versions available with github actions do not support Linux ARM: https://github.com/actions/python-versions


What does G modifier stands in the shortcut lists ?

I'm trying to use Azure portal shortcuts (on MacOs in Firefox) and can't really understand what exact shortcut keys are supposed to be pressed. What does G+/ stands for ? I  can't find what is the Gmodifier is. It doesnt look like a known modifier such as  Ctrl/AOptions/Cmd/Shift and Azure portal does not focus on a search\omnibox if I press any of the modifiers in all possible combinations.
Is there a reference table for the shortcuts where all these modifiers explained or have some technical details like keyboard codes provided ?
Also - is it possible that Azure portal shortcuts don't work correctly on MacOs or in Firefox ? There are not so many combinations on a keyboard with '/' and I'd hope I hit the right keychord at least once, but I never saw it's focusing on that search box.

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

ID: 18f82699-cc31-072f-94a2-0dbebdf8b592
Version Independent ID: b9f0c581-b671-abdb-5e44-7f0b2f3599bc
Content: Azure portal keyboard shortcuts - Azure portal
Content Source: articles/azure-portal/azure-portal-keyboard-shortcuts.md
Service: azure-portal
GitHub Login: @JnHs
Microsoft Alias: jenhayes

Hi there - G is just the G key. So G+/ means hold down G plus the slash key. You're not the only one who's asked this question, so we'll update the docs to make that clearer.
And I believe these work across OS/browsers but if you find that's not the case please let us know so we can investigate.
Thank you!

@jnhs - Thank you for providing your insights.
@centur  - I hope @jnhs has answered your question.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Thanks. Now I see. It works correctly. But this surprising shortcut confused me a lot 😮 .


ec_deployment_extension: Support import

Description

Adds support to import ec_deployment_extension resources.
Motivation and Context

Support importing the resource which was not implemented.
Types of Changes

[x] New feature (non-breaking change which adds functionality)
[x] Documentation

The failing tests are unrelated to the changes:
$ make testacc TEST_NAME=TestAccDeploymentExtension_basic
-> Running terraform acceptance tests...
=== RUN   TestAccDeploymentExtension_basic
=== PAUSE TestAccDeploymentExtension_basic
=== CONT  TestAccDeploymentExtension_basic
--- PASS: TestAccDeploymentExtension_basic (12.74s)
PASS
ok  	github.com/elastic/terraform-provider-ec/ec/acc	13.242s


azure-nextgen storage ManagementPolicy returned an error: HttpResourceNotFound

I am trying to create an azure storage management policy: https://www.pulumi.com/docs/reference/pkg/azure-nextgen/storage/managementpolicy/
but got an error:
error: autorest/azure: Service returned an error. Status=404 Code="HttpResourceNotFound" Message="The request url http://<IP_ADDRESS>:30017/302ed9a3-8e47-42a7-95a6-d6046610c421/132546653108267495/6e9d740c-570c-4b77-945b-2dd63f218125/subscriptions/xxxxxxxx/resourceGroups/my-rg/providers/Microsoft.Storage/storageAccounts/pulumimgmtpolicytest/managementPolicies/blobcontainerpolicy?api-version=2019-06-01 is not found."
code sample:

https://github.com/orteme/pulumi-azurenextgen-storage-managementpolicy/blob/main/MyStack.cs

System info:

OS: Windows 10 1909
pulumi template: azure-nextgen-csharp
pulumi app version: v2.18.2
Pulumi.AzureNextGen version: 0.5.0 (also tried on 0.4.0 and on 0.3.0)

found my mistake:
The name of the Storage Account Management Policy. It should always be ‘default’

found my mistake:
The name of the Storage Account Management Policy. It should always be ‘default’


cannot find module

Cannot find module '@typefox/monaco-editor-react' or its corresponding type declarations
Cannot find module 'monaco-editor-wrapper' or its corresponding type declarations
i have took clone and did npm install but this gives me the error

Hi @deepchhatbar658 do you mind providing some context?

Hi @deepchhatbar658 do you mind providing some context?

thanks for the concern but it was just a linting issue you can close this

@deepchhatbar658  Are you aware of this? https://github.com/TypeFox/monaco-languageclient/blob/main/packages/verify/webpack/webpack.config.js


Update vulcan to 1.5.0

Updates com.github.fd4s:vulcan from 1.2.0 to 1.5.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.fd4s", artifactId = "vulcan" } ]

labels: library-update, semver-minor

Superseded by #150.


Visualization of output Mask

Thanks for sharing your code, I have an issue visualization the output mask. Have you been able to do so? would you mind sharing your code for visualization of the 3D output mask? mine is in the numpy form and when I convert to nifti it shows as dashed area, not a whole consistent mask.

Hi maryamag85,
I had some code to visualize 3D output mask in the notebook "section1/Final%20Project%20EDA.ipynb" and mostly used 3D Slicer to help with the visualization.
HTH


Do it work with Xamarin Forms?  Is there a sync support?

Do it work with Xamarin Forms?  Is there a sync support?

Yes, it's working with XF - I'm using it with NETStandard 1.4.

I'm using custom synchronization (with my API) implementation - don't think, that there is anything OOTB.

Yes of course it works like a charm on Xamarin Forms.
Check this detailed tutorial on how to use LiteDB on XAmarin Forms as an alternative to SQLite https://doumer.me/litedb-on-xamarin-forms-alternative-to-sqlite/

Thx


Add Launcher Icon to The App

Undraw App is currently using Default launcher icon for android , Update icon of the app relevant to the working of the app.

@rishidyno could you please assign this to me

@rishidyno sir can we both work upon this issue and the icon which seems best to you can be merged?

Fine for me @RockingRishav


Prevent extra DefineMap arguments from getting passed to a template

Currently, it's not possible to cleanly use the ...rest spread operator with destructuring in a template because the arguments includes several DefineMap attributes.  The following would result in an error due to unrecognized attributes like set, and serialize.
import React from 'react';
import Form from 'whatever';

export default ({onSubmit, ...rest}) => {
  return (
    <Form onSubmit={onSubmit} {...rest} />
  );
};

It would be nice if DefineMap-specific attributes were plucked from the attributes passed to the template.

This issue should actually be solved by whatever solves this other issue
https://github.com/canjs/react-view-models/issues/5
Maybe not a duplicate, but same result


Avoid mutating the arguments to class constructors and .set

const myPlainObject = {foo: 'bar'};
model.set(myPlainObject);

The set operation seems to mutate the passed in argument, which can lead to subtle and difficult to trace bugs (which we just ran in to). In particular, the one we ran into has to do with the typing of nested classes. If myPlainObject has a plain property that is defined as a nested class in model, that property will be mutated, and turned into an instance of that class (which is what we want on model, but not on the original object that is passed in).
Ideally, one could assume no side effects on the variables and objects that I pass into astronomy methods like set, which means not mutating those arguments. For now, we're cloning objects before passing them into .set.
Does this make sense? Thoughts?

Oh I see. But I don't think that it's always expected behavior. Maybe you will have a case where having field of the Object type, you assign a reference to it. Why? Because you may later need to compare (===) this value with other reference.

I guess. IMHO the types of bugs this can produce are pretty bad since they are very hard to trace, and manifest themselves subtly (as most mutation related bugs are). The use case you're describing seems like an edge case to me.

I was thinking about that and in deed objects passed to constructor or to set method should be cloned. Developer will still be able to assign reference by direct assignment:
doc.fieldName = refObj;

I'm just a little bit worried about performance when cloning documents. The best way to clone document is using EJSON.clone which is a little bit slow. The only situation when argument passed to constructor should be cloned is when developer is instantiating a document instance by him/herself.
var post = new Post({field: 'value'});

It shouldn't happen when document is being fetched from the collection because in such situation we don't need to do it, so it would be unnecessary waste of performance.
var post = Post.findOne();

In Astronomy 1.x I was cloning objects in all possible cases to make sure that references are not passed and original objects are not modified but that came with the huge cost. So I need to make sure that it will be performant.

Totally get the performance concert! Here we are mainly talking about the manual instantiation issue, where the user is passing in an object they are likely managing somewhere else (in a local cache like redux for example), and would not expect that object to be mutated (and thus, their local cache to be mutated). Would it be possible to clone on manual instantiation and .set? This seems like the best compromise between performance and UX.
Anyways, up to you obviously. This is an issue that has bitten us in our large production application several times, in hard to figure out ways.

Yes it's possible. In 2.1 I've prepared the mechanism that will allow that. I will make that fix in 2.1.1

Thank you :)


Ch 10.5 pg 124

I think there might be a small error on that page. This is how it is written but that will throw an UnboundLocalError since visits is reference before assignment. It does look like it is corrected on pg 127 though.
def visitor_cookie_handler(request):
    visits_cookie = int(request.COOKIES.get('visits', 1))

    last_visit_coookie = get_server_side_cookie(request, 'last_visit', str(datetime.now()))
    last_visit_time = datetime.strptime(last_visit_coookie[:-7], '%Y-%m-%d %H:%M:%S')

    if (datetime.now() - last_visit_time).days > 0:
        visits = visits_cookie + 1
        request.session['last_visit'] = str(datetime.now())
    else:
        request.session['last_visit'] = last_visit_coookie
    request.session['visits'] = visits

It seems that the default value of visits doesn't work.
Add visits = 1 after else: just like this:

if(datetime.now() - last_visit_time).days > 0 :
visits = visits_cookie + 1
response.set_cookie('last_visit', str(datetime.now()))
else:
visits = 1
response.set_cookie('last_visit', last_visit_cookie)

It worked!
Though, I really don't know how this happened. I am a learner, too.

Good spot, Adam, many thanks. The first version is indeed incorrect. visits should be visits_cookie - but I renamed them in the first snippet to match the second snippet (i.e. visit).
@rayiyaoyao - Yeah - visits wouldn't be declared otherwise, hence the error.
Many thanks for the spot! Cheers!


v3 Ansible Collection publication

v3 Ansible Collection publication

Hi @Chaffelson
I stumbled upon 2 cloudera_manager/config  tasks not yet using the collection notation, in:
cloudera.cluster/roles/deployment/cluster/tasks/main.yml
cloudera.cluster/roles/cloudera_manager/external_auth/tasks/main.yml
( I did not look yet for others, but I find more  will update here )
In case there's a reason they can't be migrated I'ld suggest adding a comment :+1:


How to change color of Floating Action Menu on Normal State Programatically ?

Hey I have different themes in my project and I want to change the color of Floating action menu programatically according to the theme selected !! Please help me how do I change it in java code !! Thank you for your help .

Facing same issue without any resolution yet


nz-select tags - Do not take tags from the model (re-open)

I'm submitting a...

[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior
If I set [nzMode]="'tags'" for nz-select it ignore tags from ngModel, if it is updated after ajax request. But if Iset [nzMode]="'multiple'" - it takes the data from the model.
Expected behavior
Need take tags from model if it not empty.
Minimal reproduction of the problem with instructions
On the demo there is no problem, but it arises in this case:
<nz-select
      style="width: 400px;"
      [nzTags]="true"
      [nzPlaceHolder]="'请选择人员'"
      [(ngModel)]="selectedMultipleOption"
      [nzNotFoundContent]="'无法找到'"
      [nzShowSearch]="true">
      <nz-option
        *ngFor="let option of searchOptions"
        [nzLabel]="option.label"
        [nzValue]="option">
      </nz-option>
    </nz-select>

searchOptions = [
    { value: 'jack', label: '杰克' },
    { value: 'lucy', label: '露西' },
    { value: 'tom', label: '汤姆' }
];
selectedMultipleOption = [];

ngOnInit(): void {
    // After ajax request - tags is empty
    setTimeout(() => {
        this.selectedMultipleOption.push(this.searchOptions[0]);
    }, 2000);
}

this.changeDetectionRef.detectChanges() does not help.
What is the motivation / use case for changing the behavior?
I think that this is a bug.
Environment

Angular version: 4.2.4

ng-zorro-antd: 0.5 - 0.6.0-rc.3

Browser:
- [x ] Chrome (desktop) version 61.0.3163.100
- [?] Firefox version XX
- [?] Safari (desktop) version XX
- [?] IE version XX

For Tooling issues:
- Node version: 6.11.4
- Platform:  Linux

try this.
- this.selectedMultipleOption.push(this.searchOptions[0]);
+ this.selectedMultipleOption = [...this.selectedMultipleOption, this.searchOptions[0]];

HsuanXyz, this is works, thank you.
But my example is not supposed to work? I do not override a variable, I just add a value. I think need to fix, or add example to documentation.

@andchir  only can work when the data is immutable
you can check this https://angular.cn/guide/lifecycle-hooks#docheck-钩子


[fix] Add astroI18next on astro.config.mjs for prebuild

Incoming changes

Include astroI18next on Astro integrations.

It was just this, I had it in front of me the whole time, but I thought it was already there, sorry for the inconvenience @philip-linaro .


Save Device Communication Language

Readiness checklist

[X] I added/updated unit tests.
[X] I added/updated integration tests.
[X] I ensured that the PR title is good enough for the changelog.
[X] I labeled the PR.


Fuzzy Full-Text Search

Make full-text search fuzzy to detect typos.

MeiliSearch helps with this.


Register max_data_size_for_stats and sum_data_size as internal agg functions

Resolves this https://github.com/facebookincubator/velox/issues/5447 and https://github.com/facebookincubator/velox/issues/5484

How about adding a mapping with the "internal" namespace in the Prestissimo logic here: https://github.com/prestodb/presto/blob/e1013718fb3d0d87f6aeb09b359ba77eecf4cdbd/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp#L69 ? I feel that might be easier to maintain from the engine/Velox perspective.

How about adding a mapping with the "internal" namespace in the Prestissimo logic here: https://github.com/prestodb/presto/blob/e1013718fb3d0d87f6aeb09b359ba77eecf4cdbd/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp#L69 ? I feel that might be easier to maintain from the engine/Velox perspective.

Thanks for the pointer. Makes sense to add it on the Prestissimo side.


If the registered Consul node is unexpectedly down and not restarted immediately, other services should continue to find the registered service.

@philiahe your PR looks ok, but wanted to understand better the difference  between ServiceEntry  and CatalogEntry ? Thanks!

@philiahe reverted due failing tests, can you check the tests with your changes please?
Then create new tests if necessary.

There was a problem with the PR, which I fixed in https://github.com/ThreeMammals/Ocelot/pull/825


Cleanup dhtmlxgrid partial.

So we have this XML that we have inside a piece of javascript that is inside a script tag generated by a partial that we render to a string and assign to a variable that we pass to a dom-manipulation function $('#main_div').html(...).
It is crazy and has to be removed. But not now. Now we need to fix it...

@romanblanco : review, please

So we have this XML that we have inside a piece of javascript that is inside a script tag generated by a partial that we render to a string and assign to a variable that we pass to a dom-manipulation function

Best description ever...  cc @blomquisg :laughing:

Hakiri does not like me calling j stuff.html_safe but I have to call both of the functions to get it actually right. So trying to swap the calls to make Hakiri happy.

@matthewd, @kbrock : any hint how to make Hakiri happy here? Or do we add an exception for this one, @chessbyte?

@martinpovolny I assumed the temp_variable = raw @original_thing pattern was working around that?
But personally, I vote we go with the "correct" #{raw j(@foo)}, and mark FPs on Hakiri as necessary. It's a good idea to avoid questionable coding patterns if it allows us to avoid a false positive, but if the checker is getting upset with the only correct spelling, we really have no choice but to ignore it. I think this is the thing @kbrock fixed on upstream brakeman recently.

@matthewd : tried that pattern right now (see the current version of this PR) and it seems that it shows the same issue :-(

@martinpovolny 1 remaining Hakiri warning and a failed test in vmdb.

@dclarizio : Hakiri warning is supposed to stay there until we mark it as false positive. Rebased and restarting travis, no failures locally and the stacktrace does not match the code. Travis went crazy?

I can't explain the backtrace, or any inconsistency, but https://github.com/ManageIQ/manageiq/pull/4808/files#diff-b889b1cf33fb6736b4b3aebbb89f1196R20 sounds like it could cause that error.

@matthewd : thx, looking into it

@martinpovolny I'm pretty sure this would be related to the changes, not sure why it passes locally.
Failures:
  1) layouts/_dhtmlxgrid.html.haml when showtype is 'performance' renders
     Failure/Error: render
     ActionView::Template::Error:
       undefined method `gsub' for 1:Fixnum
     # ./app/views/layouts/_dhtmlxgrid.html.haml:15:in `_app_views_layouts__dhtmlxgrid_html_haml__1518542955181751166_605109580'
     # ./spec/views/layouts/dhtmlxgrid.html.haml_spec.rb:9:in `block (3 levels) in <top (required)>'


Fixed 'Settings' typo in cognitive search tutorial

Module: 05
Lab/Demo: Create Cognitive Search Solutions
Changes proposed in this pull request:

Typo fix in tutorial Settings.

Thanks @andreped!


When I move to another scene!

when I go to the scene, I throw out a bunch of errors. Please tell me how to solve this?

Thanks for the report, and apologies for the trouble - should be fixed in the latest version, let me know if you have any issues.


DocWarden causes servicing fixes to fail

Fixed with https://github.com/Azure/azure-sdk-tools/pull/310


Add YOLO model

branch #2
In buoy_detection/buoy_detection/processed.py, the buoy detection model was declared, but best.pt  is missing from the package. It needs to be in that package in order for that node to run correctly. I'm not sure who has that file, but if you guys could commit that file to the branch that would be great!
class BuoyDetectionPublisher(Node):
    def __init__(self):
        self._model = YOLO('best.pt')   # <-- this line right here!
        super().__init__('ai')

        # subscribe to image processing node
        self.subscription = self.create_subscription(
            msg_type=Image,
            topic='/camera/color/image_raw',
            callback=self.image_callback,
            qos_profile=10
        )

        # publish to processed node
        self.publisher = self.create_publisher(
            msg_type=Image,
            topic='processed',
            qos_profile=10
        )

best.pt is the model weights. Can be found here


Add more information when SSH is disabled

If a docker image does not support SSH, we will show the following information:

May add some information about:

why SSH is disabled
the recommended images with SSH
how to build ssh-enabled images (https://github.com/microsoft/pai/blob/b5f17fb7516b064a36d7db99bb07de415833bd08/docs/job_docker_env.md#enable-ssh-for-your-image).

https://github.com/microsoft/pai/pull/3389


Include recipient-side delivery in the DeliveryProtocol interface

Needing to join against pipe_chan is a hack and violates the interface abstraction.

Fixed.


Prevent LMDB related segfault for #2755

Make transactions no-op if the file handle is invalid (due to permissions, or other reasons like lmdb library mismatch).

While it's a good idea to avoid conditions that result in a segfault, alternatives that result in failing silently are pretty disadvantageous too.
I'll have a closer look. What we might wind up doing is merging something close to what you have here, and then I can add some additional content on top of it.

I'll go ahead and merge this. Some further improvements, including to make the failure non-silent, can be made later.
Thanks for the contribution @dvershinin