caching issues - etc

Not sure where to start on this, but I can't use the app at all.
Firstly, I clear the cache and it keeps the username and details in tact as if I'm still logged into the app.  I get a notice about having to create a backup, but clicking the backup triggers an error in the console.
I've tried creating new accounts that don't actually create new accounts accessible in the UI, keeps the old wallet registered for a backup, etc.
Honestly, it feels like the buggiest site I've used in a long time.  I really don't have a clue where to start.  I guess the first thing is this cache.  What is up with that?  Where is this data being cached?

Firstly, why do you want to clear the cache? Depending on how deep of a clear you're doing you risk deleting your entire wallet.
All the wallet data is kept in an IndexedDB. There's also a fair amount of user settings being stored in localStorage.
Are you using Safary by any chance? If so you can't make backups cause Safari doesn't support the file API properly, you need to use Chrome.

Well, at this point, I'm willing to do that.  I can't even use it - period.  It's completely unusable in the current state.  So, starting fresh may allow me to be able to at least use it - even if I have to lose my wallet account, etc.
I'm using Firefox.

I'm still not sure what your issue is though to be honest, and how it got in this state you're describing.
There's no login btw, you only unlock your wallet to make transactions and decrypt memos. Apart from that there is no visual difference between a "logged in" and "logged out" state.

Right, I understand that, and I'm with you on how it got to this state.  My guess is that it happened b/c I signed up over a year or so ago and haven't really used it to date.
I think the best question here is how do I clear all the cache and start fresh?  I've now wasted 3 usernames in an attempt to get signed up and they're all inaccessible now.  The backup functionality refers to a wallet that's not even associated with a new account created.

Closing this due to lack of information about what the actual problem is.


AttributeError: 'module' object has no attribute 'get_installed_distributions'

On my machine with Python 3.7.3 and pip 19.0.3 the code that returns the Python packages installed does not work.
This is the code that does not work:
/* Get Python Info */
EXECUTE sp_execute_external_script
@language =N'Python',
@script=N'import sys
print(sys.version)';
GO

EXECUTE sp_execute_external_script
  @language = N'Python',
  @script = N'import pip
import pandas as pd
installed_packages = pip.get_installed_distributions()
installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
   for i in installed_packages])
df = pd.DataFrame(installed_packages_list)
OutputDataSet = df'
WITH RESULT SETS (( InstalledPackageAndVersion nvarchar (150) ))

It fails with: AttributeError: 'module' object has no attribute 'get_installed_distributions'.
There is an easy fix, which is not to depend on pip directly (since the behavior is different from one pip version to another) - instead rely on pkg_resources:
/* Get Python Info */
EXECUTE sp_execute_external_script
@language =N'Python',
@script=N'import sys
print(sys.version)';
GO

EXECUTE sp_execute_external_script
  @language = N'Python',
  @script = N'import pip
import pandas as pd
import pkg_resources
installed_packages = [d for d in pkg_resources.working_set]

installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
   for i in installed_packages])
df = pd.DataFrame(installed_packages_list)
OutputDataSet = df'
WITH RESULT SETS (( InstalledPackageAndVersion nvarchar (150) ))

Updated code - check to see if it runs now.

works fine now. thanks.


jwplayer feed has stopped

We have decided not to use the feed anymore as it doesn't update existing fields with new data or changes to the data. We have switched to use the API via the python API implementation.


proposal: @oxc/jest package

The Jest testing framework supports transforming code via transform plugins, such as babel-jest, ts-jest, and @swc/jest. It would be a large quality-of-life improvement to use oxc to transform files instead of any of the above packages. The transformer is progressing quite well, and making it usable in Jest could help with the adoption of oxc in general.
Unfortunately, Jest only ships with experimental support for ESM, so transpilation to CJS is a must-have for this to work properly. I took a crack at this about two weeks ago. Within about 2 hours I got about 80% of the way there, with this missing plugin being the only remaining major blocker.
Goals

Typescript/ESM transpilation into CJS
Should support transpilation to the most recent Node LTS version
Should work out-of-the-box, using fields from package.json, tsconfig.json, .babelrc, etc to configure transpilation correctly

Tasks

[ ] feat: Expose JS bindings for oxc_transform as an NPM package, similar to @oxc/parser
[ ] feat(transform): support @babel/plugin-transform-modules-commonjs plugin
[ ] feat: add @oxc/jest NPM package
[ ] docs: add setup and usage instructions for @oxc/jest to the website.

Considerations

The SWC project has @swc/jest in a separate git repo from their core package. Should we do the same thing?
Below are what I see as the major pitfalls of @swc/jest that prevent widespread adoption:

@swc/jest unconditionally hoists package imports, which breaks module mocking. This behavior is undocumented, and attempts to fix it by setting the appropriate config property fail as the package always overrides this user-provided value.
.swcrc does not appear to be respected; I've only ever gotten configuration to work by passing a config option explicitly.
@swc/jest does not export type definitions for its config, and the various settings are completely undocumented
External source maps do not work correctly, only inlined ones do. This messes up debugging and code coverage.

My only concern is the maintenance cost, the core team will not have the time to maintain this :-(
I'm fine with shipping all the puzzles pieces have a separate repo that glues things together with its own release pipeline.

should I create it myself

Yes please, ping me if you don't have all the permissions.

https://github.com/oxc-project/oxc-jest


(chores) camel-base-engine: fix JMX enable/disable logic

I broke JMX enable/disable logic with one of the changes. This should fix the logic.

I tested this one manually and it should be fine now. Merging earlier as I want to have some combined tests on Apache CI.


add negative us

@rcoreilly @garymm

Codecov Report
Base: 37.79% // Head: 37.79% // No change to project coverage :thumbsup:

Coverage data is based on head (6bb197c) compared to base (17a7d83).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   37.79%   37.79%
=======================================
  Files          23       23
  Lines        5077     5077
=======================================
  Hits         1919     1919
  Misses       3011     3011
  Partials      147      147

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thank you!
There is one commented out line but we can add it back later:
	// nt.ConnectLayers(cemNeg, pptg, p1to1, emer.Forward).SetClass("CeMToPPTg")


tweak heading sizes

It is difficult to discern heading sizes from one another. The problem is noticeable here

fixed: #151


Running a built binary fails with weird error

When building the Prisma 2 CLI to a binary with node-packer, I get this weird error:
❯ ./prisma-cli-darwin-2.0.0-alpha.911 version
internal/util.js:206
    throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
    at promisify (internal/util.js:206:11)
    at Object.4364 (/__enclose_io_memfs__/build/index.js:2:1368472)
    at __webpack_require__ (/__enclose_io_memfs__/build/index.js:2:154)
    at Object.2740 (/__enclose_io_memfs__/build/index.js:2:706082)
    at __webpack_require__ (/__enclose_io_memfs__/build/index.js:2:154)
    at Object.5575 (/__enclose_io_memfs__/build/index.js:2:1677696)
    at __webpack_require__ (/__enclose_io_memfs__/build/index.js:2:154)
    at Object.729 (/__enclose_io_memfs__/build/index.js:2:142604)
    at __webpack_require__ (/__enclose_io_memfs__/build/index.js:2:154)
    at Object.6292 (/__enclose_io_memfs__/build/index.js:2:1880810)

I'm not quite sure why this happens, but it may have something to do with either 1) Promises (due to the error message) or 2) the file system (due to the fact that these bundlers use a virtual file system); but I'm also not sure if it has to do anything with either of those.
It happens in the latest alpha (tested with 2.0.0-alpha.1000), and I could track it back to 2.0.0-alpha.911, it did not not happen before 2.0.0-alpha.911.

@steebchen Can you paste the exact node-packer command here?
Also, try using pkg once: https://github.com/zeit/pkg

The command I'm using is:
npm install @prisma/cli@alpha
./nodec<EMAIL_ADDRESS>--skip-npm-install -o ./prisma-cli-darwin-latest

@pantharshit00 I have tried building binaries with several tools, including zeit/pkg, but I have been unsuccessful with any of them except node-packer. I'm not sure how they do it but node-packer is able to pick up everything, at least before this error happened.
I've tried again with zeit/pkg but ran into this and also have no idea how to solve it:
❯ ./index-macos version
internal/modules/cjs/loader.js:636
    throw err;
    ^

Error: Cannot find module '/snapshot/build/index.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:634:15)
    at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1350:46)
    at Function.Module._load (internal/modules/cjs/loader.js:560:25)
    at Function.Module.runMain (pkg/prelude/bootstrap.js:1379:12)
    at startup (internal/bootstrap/node.js:320:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:660:3)

This can now be accomplished with pkg and the following steps:
mkdir build
cd build
yarn init -y
npm i -g pkg
yarn add @prisma/cli@alpha
cd node_modules/@prisma/cli
pkg .
./cli-macos --version

@timsuchanek
I have the same problem but in development.

Install Vue
Install Prisma
Ran command init > introspect > generate
Add import { PrismaClient } from '@prisma/client' in main.js
yarn serve
Page empty and an error in console (screenshot)

@adrianoresende Prisma won't run on frontend. Please make sure you are running Prisma in node


[Bug Report] when Select get focus, the options not Auto Show

Element UI version
2.3.2
OS/Browsers version
win10 1709 / 360Chrome <IP_ADDRESS>
Vue version
2.5.17-beta.0
Reproduction Link
https://jsfiddle.net/pjturrum/6/
Steps to reproduce
click "聚焦" button
What is Expected?
the select focus,and the options show
What is actually happening?
ths select focus , but the options is not show,
this problem is appear in version 2.2.0,
In version 2.1.0, there is no problem

This is a feature in 2.2.0 to make Select align with native select, which does not show options on focus. We're currently working on a new prop to let user configure this behavior. #10042


feat: DT-26: deploy universal-crossplane #comment deployed

:tada: This PR is included in version 0.2.0-alpha.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Reference.related supports table alternatives

The .related should be created based on the base_table. This issue is pending on #170.

@hongsudt we should discuss about this issue.

I am closing this issue since it's not providing much context and has been stale for a long time. #502 has been created which is addressing the same problem and has more context of what needs to be done.


tailscale: 1.56.1 -> 1.58.0

Description of changes
https://github.com/tailscale/tailscale/releases/tag/v1.58.0
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages built:

tailscale
trayscale


Create account error code 3040000.

Can somebody help with a complete example of how to create a new account
This is the code:
`Eos = require('eosjs')
// Default configuration (additional options below)
const eos = Eos({
chainId: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906',
httpEndpoint: 'https://mainnet.eoscannon.io',
broadcast: true,
debug: false,
sign: true,
expireInSeconds: 60,
keyProvider: ['5K...........'],
});
const account_name='bvighoncakot';
const creator = 'gy4domzsg4ge';
let testNewAccount = async () => {
const { PrivateKey, PublicKey } = Eos.modules.ecc;
const d = await PrivateKey.randomKey();
const private_key = d.toWif();
const public_key = d.toPublic().toString();

//console.log('Private Key: ',private_key);
//console.log('Public Key: ',public_key);
try {

  let res = await eos.newaccount({
  creator: creator,
  name: account_name,
  owner: public_key,
  active: public_key
  });
  console.log("[RES]", res);
  return res;
} catch (err) {
console.log("[ERR]", err);
return err;

}
};
testNewAccount();`
This is the error I get:
api < error      undefined https://mainnet.eoscannon.io/v1/chain/push_transactio
n {"compression":"none","transaction":{"expiration":"2018-06-30T10:49:38","ref_b
lock_num":8129,"ref_block_prefix":493828416,"net_usage_words":0,"max_cpu_usage_m
s":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"eosio","name
":"newaccount","authorization":[{"actor":"gy4domzsg4ge","permission":"active"}],
"data":"a01861f84b9a8867905d35685287dd3e01000000010003af819bdf8f96ee2ee4dc55c08c
1717c47a52dcae75f40bf7bddbda2cecf5f6bb0100000001000000010003af819bdf8f96ee2ee4dc
55c08c1717c47a52dcae75f40bf7bddbda2cecf5f6bb01000000"}],"transaction_extensions"
:[]},"signatures":["SIG_K1_KcpbDecbSZXyy3FZwMB1r55sQMCUx5hF4GpHANrGw6gQtXHfHmPPR
LwQL4thrBJ5uyRwmTBxfGnizDkXQSG2hQECm2S5J6"]}
{ Error: {"code":500,"message":"Internal Service Error","error":{"code":3040000,
"name":"transaction_exception","what":"transaction exception","details":[]}}
at D:\Coin test\eos account\node_modules\eosjs-api\lib\apigen.js:95:23
at
at process._tickCallback (internal/process/next_tick.js:188:7) status: 500,
statusText: 'Internal Server Error' }
[push_transaction error] '{"code":500,"message":"Internal Service Error","error"
:{"code":3040000,"name":"transaction_exception","what":"transaction exception","
details":[]}}', transaction '4260375bc11f40396f1d00000000010000000000ea305500409
e9a2264b89a01a01861f84b9a886700000000a8ed323266a01861f84b9a8867905d35685287dd3e0
1000000010003af819bdf8f96ee2ee4dc55c08c1717c47a52dcae75f40bf7bddbda2cecf5f6bb010
0000001000000010003af819bdf8f96ee2ee4dc55c08c1717c47a52dcae75f40bf7bddbda2cecf5f
6bb0100000000'
{"code":500,"message":"Internal Service Error","error":{"code":3040000,"name":"t
ransaction_exception","what":"transaction exception","details":[]}}
[ERR] {"code":500,"message":"Internal Service Error","error":{"code":3040000,"na
me":"transaction_exception","what":"transaction exception","details":[]}}

I would ask mainnet.eoscannon.io if they can add --verbose-http-errors to their server behind the public facing API.  When that is added the details: [] should not be empty anymore and the error will appear in place of undefined (above).

https://github.com/EOSIO/eosjs/blob/a4ef6db894855919f2f00f82dcb72ced054694cc/docker/docker-compose.yml#L12

newaccount example

Thank you.


Automatic enable charging based on EV location and disabling while fast charging

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
It would be useful to have an automatic smart charging activation when the EV is within a specific location (for ex. home). In addition, smart charging should be automatically disable while fast charging.
Describe alternatives you've considered
Script could be in place but this would become not so user friendly
Additional context

Why dont you write an automation to enable smart charging when your cars device_tracker is at home? I only enable smart charging when my car is at home, and connected to the charger. Depending on your charger and car you should be able to quite easily write an automation for this.

Similar reqest as #298. See suggestions given to that request.


Calling get_tree().reload_current_scene() from Area2D _on_body_entered() disables all collisions between kinematic bodies (2D)

could not find a similar issue
Godot version:
3.1 alpha 3 and alpha 4
The issue does NOT happen in 3.1 alpha 2
OS/device including version:
Lubuntu 18.04 (64 bit)
GLES 2.0 used due to old graphics chip
Issue description:
When triggering get_tree().reload_current_scene() after a KinematicBody2D enters an Area2D (with _on_Area2D_body_entered():), all collisions between multiple KinematicBody2D's stop to work. Collision with between KinematicBody2D and StaticBody2D / Tilemap keeps working.
Also, the collision shape of the Area2D seems to be buggy after reloading the scene (in demo project, just press right arrow key after scene gets reloaded through Area2D / jumping in between somehow "fixes" this problem)
Surprisingly, when reloading the scene by a Button, everything works as expected.
After entering the Area2D, these Debugger errors occur:

Can't change this state while flushing queries. Use call_deferred() or set_deferred() to change monitoring state instead
     servers/physics_2d/physics_2d_server_sw.cpp:734 @ body_set_shape_disabled()
  reload_area.gd:4 @ _on_reload_area_body_entered()
Function blocked during in/out signal. Use set_deferred("monitorable",true/false)
     scene/2d/area_2d.cpp:432 @ set_monitorable()
  reload_area.gd:4 @ _on_reload_area_body_entered()

Steps to reproduce:
Make an Area2D node which triggers:
func _on_Area2D_body_entered(): get_tree().reload_current_scene()
Make a KinematicBody2D that moves into the Area2D.
Minimal reproduction project:
kinematic_collision_bug.zip
Left / right arrow key: move left / right
Up arrow key: jump
down arrow key: switch camera view (included for showing another bug, which is already reported here #23966)

Is this still reproducible in the current master branch or latest 3.1 builds?

I have checked it on 3.1 Beta 6 this morning. It exists.

As per #26241, this seems to happen with change_scene and change_scene_to too.

I'll try to bisect what commit caused the regression.

It's a regression from 0b1e93ccd43815d93de031b4f23fbfcd9ae7a34c (similar to #26148).


fix(semantic-dom-diff): allow assertion message

also fixes types
fixes #1477

Notes to reviewers: I'm pretty sure I didn't break any public apis here, hence the patch version, but please double-check


[client] CRA filters

Codecov Report

Merging #54 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #54   +/-   ##
=======================================
  Coverage   84.55%   84.55%
=======================================
  Files          86       86
  Lines         764      764
  Branches       35       35
=======================================
  Hits          646      646
  Misses        118      118

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 08946e2...f934cce. Read the comment docs.


[AIRFLOW-XXX] Fetch more than 50 items in airflow-jira compare script

[ci-skip]
Make sure you have checked all steps below.
Jira

[x] No jira

Description

[x] This script is useful (though not fool-proof if a PR addresses multiple
Jira tickets) for comparing what issues are marked as fixed in a release
vs what PRs are actually on the (current) branch.

Usage:
git co v1-10-test
./dev/airflow-jira compare 1.10.2

Prior to this change only the first 50 issues would come back, which for
1.10.1 wasn't enough as we ended up with over 100 issues targeting that
branch.
Tests

[x] no tests

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
All the public functions and the classes in the PR contain docstrings that explain what it does

Code Quality

[x] Passes flake8

Codecov Report

Merging #4300 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #4300   +/-   ##
======================================
  Coverage    78.1%   78.1%
======================================
  Files         201     201
  Lines       16464   16464
======================================
  Hits        12859   12859
  Misses       3605    3605

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 e947c6c...d52cf23. Read the comment docs.


Mac_ios tasks failed due to flutter doctor failure

Two instances:
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios flutter_view_ios__start_up/6956/overview
Doctor summary (to see all details, run flutter doctor -v):

https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios color_filter_and_fade_perf_ios__e2e_summary/1353/overview
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xab
version=2.19.0-401.0.dev (dev) (Mon Nov 14 23:59:52 2022 -0800) on "macos_x64"
pid=96372, thread=10755, isolate_group=kernel-service(0x7f7b3d818000), isolate=kernel-service(0x7f7b3d824000)
os=macos, arch=x64, comp=no, sim=no
isolate_instructions=10976d000, vm_instructions=102ba23e0

/cc @christopherfujino

This is probably https://github.com/dart-lang/sdk/issues/48668. Closing as a duplicate of https://github.com/flutter/flutter/issues/114980.


updating get_latest during indexing isn't error-safe

After running into an error during the initial indexing:
(.venv) nightpool@fendant2:~/xapblr$ PYTHONPATH=src python -m xapblr index nightpool
Indexing nightpool... Database is empty, indexing until beginning...
ETA: in 39 minutes and 46.8 seconds (Sun Aug  6 12:25:56 2023)
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/nightpool/xapblr/src/xapblr/__main__.py", line 3, in <module>
    main()
  File "/home/nightpool/xapblr/src/xapblr/__init__.py", line 6, in main
    args.func(args)
  File "/home/nightpool/xapblr/src/xapblr/index.py", line 169, in index
    (id_term, post_doc) = index_post(p, tg)
  File "/home/nightpool/xapblr/src/xapblr/index.py", line 94, in index_post
    doc.add_term(encode_tag(t))
  File "/home/nightpool/xapblr/src/xapblr/utils.py", line 68, in encode_tag
    return (prefixes["tag"] + urlencode(tag.lower()))[:245]
NameError: name 'urlencode' is not defined

xapblr would refuse to index any more posts until I cleared the db
(.venv) nightpool@fendant2:~/xapblr$ PYTHONPATH=src python -m xapblr index nightpool
Indexing nightpool... Latest seen post is 2 hours, 33 minutes and 34.64 seconds ago...
No new posts since 2 hours, 33 minutes and 34.97 seconds ago
Done; indexed 0 posts.

while this error state was pretty easy to recover from (just rm -r the whole db directory), it would be a lot more dangerous if I already had a pretty extensive database and indexing errored out on e.g. a tag.
It seems like this issue is because we index from newest-to-oldest and then start from the newest document instead of the oldest. Instead, we should flip the indexing logic so that we always insert documents from oldest to newest.

The API doesn't let us access posts from oldest to newest. You can get around this by passing --full to force xapblr to continue back to the beginning of the blog.


database merge tool

add utility to merge database collections into a jumbo one
fix var multiple assnmt

squashed into 1 commit for later rebase


Re-programming SenseCAP: not showing up as /dev/cu.usbserial-xxxx anymore

Greetings!
I've previously programmed my SenseCAP Indicator D1 with the ESP-IDF and the example Home Assistant program. It is working fine and is connected to my home network and HA via MQTT.
However, I now want to re-program the unit, but when I plug the unit into my computer using the USB-C connector (I've tried both connectors), the SenseCAP no longer appears as a USB serial device (FYI: When I first programmed the SenseCAP, it appeared as /dev/cu.usbserial-4013110).
Any ideas what I'm doing wrong? How can I reset the device so that I can reprogram it with new firmware?

If this helps, I'm on a Mac and did  Yes, I’m on a Mac and ran a dmesg command. It looks like there’s a USB failure to create a device, but I’m not sure what I’m looking at…
Here's the output:
[15250.454597]: AppleUSB20HubPort@40134141: AppleUSBHostPort::disconnect: persistent enumeration failures
[15250.570742]: com.apple.p2p: isInfraRealtimePacketThresholdAllowed allowed:1 option:32 threshold:50 noRegistrations:1 cachedPeerCount:0 fastDiscoveryInactive:1 fastDiscoveryOnSince:15250570
[15250.570768]: com.apple.p2p: currentInfraTrafficType:8087 checking if realtime upgrade required with inputPackets:2 outputPackets:0 packetThreshold:50
[15250.792864]: AppleUSB20HubPort@40134141: AppleUSBHostPort::disconnect: persistent enumeration failures
[15251.074077]: AppleUSBEHCIPI7C9X440SL@40000000: AppleUSBHostController::abortPipe: pipe <ptr> withError 0xe00002eb forClient <ptr> completed with 0xe00002f0
[15251.074102]: AppleUSB20HubPort@40134141: AppleUSBHostPort::createDevice: failed to create device (0xe00002bc)
[15251.074106]: AppleUSB20HubPort@40134141: AppleUSB20HubPort::resetAndCreateDevice: failed to create device, disabling port
[15251.074337]: AppleUSB20HubPort@40134141: AppleUSBHostPort::disconnect: persistent enumeration failures
[15251.412941]: AppleUSB20HubPort@40134141: AppleUSBHostPort::disconnect: persistent enumeration failures
[15251.595396]: com.apple.p2p: isInfraRealtimePacketThresholdAllowed allowed:1 option:32 threshold:50 noRegistrations:1 cachedPeerCount:0 fastDiscoveryInactive:1 fastDiscoveryOnSince:15251595
[15251.595420]: com.apple.p2p: currentInfraTrafficType:8087 checking if realtime upgrade required with inputPackets:1 outputPackets:0 packetThreshold:50
[15251.747595]: AppleUSB20HubPort@40134141: AppleUSBHostPort::disconnect: persistent enumeration failures

Let me know if you have ideas on what to do to reprogram the SenseCAP Indicator. Thanks!

This is a very strange phenomenon. It seems that the USB enumeration failed.

Thanks for your response!
Is there anything I can try to help debug the cause of the failure?

@ooktown Thank you for providing the additional debugging information on the USB enumeration failure with your SenseCAP. I have looked into the details you provided but unfortunately we are still unable to determine the specific cause of the behavior.
If you are no longer experiencing this problem when trying to reprogram the SenseCAP, or you do not require further troubleshooting, I will go ahead and close out this issue for now. Please feel free to reopen if you run into this again in the future, and can provide new logs or debugging steps that may help track down the problem.


Enable various tslint rules after the TS rewrite

I am not seeing any tslint files in the repository, was going to see what rules are ignored.
Am I missing something?

There is currently no tslint integrated, so this issue is for integrating it and enabling rules. Its a bit unclear from the title though. Will make it clearer

This seems like it should be amended to "Integrate and enable eslint" given that tslint is being deprecated in favor of eslint: https://github.com/palantir/tslint

@JSimoni42 - You are absolutely correct, thanks for pointing it out!


Add IRC2Mintable

IRC2Mintable is able to mint new tokens at any time.
The minting is only callable by the contract operator.

There's an issue I'm not sure how to handle it properly :
minter.set(Context.getOwner());

The minter role is reset to owner after a SCORE owner, as the contructor is called after an update.
How to properly detect an update in order to avoid override the minter role in that case ?

Thanks for your contribution.
I see couple of minor things need to be fixed, but i will fix them after merging your PR first.

There's an issue I'm not sure how to handle it properly :
minter.set(Context.getOwner());

The minter role is reset to owner after a SCORE owner, as the contructor is called after an update.
How to properly detect an update in order to avoid override the minter role in that case ?

In case of update, the minter state already has a certain value, thus you can check the value before executing the above line.

Right thanks! I'll look at your changes carefully for learning.
What's the correct way to detect if a varDB/dictDb/arrayDB already has a value please?

Ah... I didn't know that you asked me another question.
Yes, your snippet works fine, but I think you don't need to set again if the minter has a certain value.
if (minter.get() == null) {
    minter.set(Context.getOwner());
}


Contains duplicate

Added leetcode easy question with python solution and it is 96% faster using dict. Please review it and tell me if some changes needed.

this is amazing @imHarry404 .
thanks for the contribution in my repo and please shre this in social media and tag me on twitter.


Integration tests for kfp-api not working for track/2.0-alpha.7

Bug Description
Integration test for kfp-api are not working for track/2.0-alpha.7. After executing the tox environment for integration tests they fail while trying to deploy built kfp-api charm to juju with message.
====================================== short test summary info =======================================
FAILED tests/integration/test_charm.py::TestCharm::test_build_and_deploy - juju.errors.JujuError: ['charm "local:focal/kfp-api-7" not found']

You can narrow the problem down just by running the test_build_and_deploy test case.
To Reproduce

clone repo
git checkout track/2.0-alpha.7
cd charms/kfp-api
tox -e integration -- --model kubeflow --keep-models -vv -s

Environment
juju - 2.9.47-ubuntu-amd64
microk8s - v1.24.17
Relevant Log Output
ubuntu@ip-172-31-22-232:~/kfp-operators/charms/kfp-api$ tox -e integration -- --model kubeflow --keep-models -vv -s
integration: install_deps> python -I -m pip install -r requirements-integration.txt
integration: commands[0]> pytest -vv --tb native --asyncio-mode=auto /home/ubuntu/kfp-operators/charms/kfp-api/tests/integration --log-cli-level=INFO -s --model kubeflow --keep-models -vv -s
======================================== test session starts =========================================
platform linux -- Python 3.8.10, pytest-7.4.2, pluggy-1.3.0 -- /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/bin/python
cachedir: .tox/integration/.pytest_cache
rootdir: /home/ubuntu/kfp-operators/charms/kfp-api
configfile: pyproject.toml
plugins: operator-0.29.0, asyncio-0.21.1, anyio-4.0.0
asyncio: mode=auto
collected 6 items

tests/integration/test_charm.py::TestCharm::test_build_and_deploy
------------------------------------------- live log setup -------------------------------------------
INFO     pytest_operator.plugin:plugin.py:675 Connecting to existing model github-pr-21c0c-microk8s:kubeflow on unspecified cloud
------------------------------------------- live log call --------------------------------------------
INFO     pytest_operator.plugin:plugin.py:526 Using tmp_path: /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/tmp/pytest/kubeflow0
INFO     pytest_operator.plugin:plugin.py:975 Building charm kfp-api
INFO     pytest_operator.plugin:plugin.py:980 Built charm kfp-api in 40.94s
INFO     test_charm:test_charm.py:30 Built charm /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/tmp/pytest/kubeflow0/charms/kfp-api_ubuntu-20.04-amd64.charm
INFO     juju.model:model.py:1993 Deploying local:kfp-api-7
FAILED
tests/integration/test_charm.py::TestCharm::test_relational_db_relation_with_mysql_relation XFAIL
tests/integration/test_charm.py::TestCharm::test_relational_db_relation_with_mysql_k8s XFAIL
tests/integration/test_charm.py::TestCharm::test_msql_relation_with_relational_db_relation XFAIL
tests/integration/test_charm.py::TestCharm::test_prometheus_grafana_integration XFAIL
tests/integration/test_charm.py::TestCharm::test_remove_application XFAIL (aborted)
----------------------------------------- live log teardown ------------------------------------------
INFO     pytest_operator.plugin:plugin.py:783 Model status:

Model     Controller                Cloud/Region        Version  SLA          Timestamp
kubeflow  github-pr-21c0c-microk8s  microk8s/localhost  2.9.47   unsupported  11:47:47Z

INFO     pytest_operator.plugin:plugin.py:789 Juju error logs:

unit-kfp-api-0: 12:38:55 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 12:38:55 ERROR unit.kfp-api/0.juju-log Failed to handle <LeaderElectedEvent via KfpApiOperator/on/leader_elected[6]> with error: Please add required database relation: eg. relational-db
unit-kfp-api-0: 12:38:56 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 12:38:56 ERROR unit.kfp-api/0.juju-log Failed to handle <PebbleReadyEvent via KfpApiOperator/on/apiserver_pebble_ready[11]> with error: Please add required database relation: eg. relational-db
unit-kfp-api-0: 12:38:57 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 12:38:57 ERROR unit.kfp-api/0.juju-log Failed to handle <ConfigChangedEvent via KfpApiOperator/on/config_changed[16]> with error: Please add required database relation: eg. relational-db
unit-kfp-api-0: 12:43:16 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 12:43:16 ERROR unit.kfp-api/0.juju-log Failed to handle <UpdateStatusEvent via KfpApiOperator/on/update_status[26]> with error: Please add required database relation: eg. relational-db
unit-kfp-api-0: 09:06:16 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 09:06:16 ERROR unit.kfp-api/0.juju-log Failed to handle <LeaderElectedEvent via KfpApiOperator/on/leader_elected[6]> with error: Please add required database relation: eg. relational-db
unit-kfp-api-0: 09:06:17 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 09:06:17 ERROR unit.kfp-api/0.juju-log Failed to handle <PebbleReadyEvent via KfpApiOperator/on/apiserver_pebble_ready[11]> with error: Please add required database relation: eg. relational-db
unit-kfp-api-0: 09:06:18 ERROR unit.kfp-api/0.juju-log Failed to generate container configuration.
unit-kfp-api-0: 09:06:18 ERROR unit.kfp-api/0.juju-log Failed to handle <ConfigChangedEvent via KfpApiOperator/on/config_changed[16]> with error: Please add required database relation: eg. relational-db

INFO     pytest_operator.plugin:plugin.py:855 Forgetting main...

============================================== FAILURES ==============================================
__________________________________ TestCharm.test_build_and_deploy ___________________________________
Traceback (most recent call last):
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/_pytest/runner.py", line 341, in from_call
    result: Optional[TResult] = func()
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/_pytest/runner.py", line 262, in <lambda>
    lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
    return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_callers.py", line 152, in _multicall
    return outcome.get_result()
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_result.py", line 114, in get_result
    raise exc.with_traceback(exc.__traceback__)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
    res = hook_impl.function(*args)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/_pytest/runner.py", line 177, in pytest_runtest_call
    raise e
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/_pytest/runner.py", line 169, in pytest_runtest_call
    item.runtest()
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/_pytest/python.py", line 1792, in runtest
    self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_hooks.py", line 493, in __call__
    return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_manager.py", line 115, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_callers.py", line 152, in _multicall
    return outcome.get_result()
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_result.py", line 114, in get_result
    raise exc.with_traceback(exc.__traceback__)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pluggy/_callers.py", line 77, in _multicall
    res = hook_impl.function(*args)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/_pytest/python.py", line 194, in pytest_pyfunc_call
    result = testfunction(**testargs)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/pytest_asyncio/plugin.py", line 532, in inner
    _loop.run_until_complete(task)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/ubuntu/kfp-operators/charms/kfp-api/tests/integration/test_charm.py", line 35, in test_build_and_deploy
    await ops_test.model.deploy(
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/juju/model.py", line 1750, in deploy
    return await self._deploy(
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/juju/model.py", line 2019, in _deploy
    result = await app_facade.Deploy(applications=[app])
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/juju/client/facade.py", line 486, in wrapper
    reply = await f(*args, **kwargs)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/juju/client/_client13.py", line 1107, in Deploy
    reply = await self.rpc(msg)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/juju/client/facade.py", line 659, in rpc
    result = await self.connection.rpc(msg, encoder=TypeEncoder)
  File "/home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/juju/client/connection.py", line 652, in rpc
    raise errors.JujuError(err_results)
juju.errors.JujuError: ['charm "local:focal/kfp-api-7" not found']
----------------------------------------- Captured log setup -----------------------------------------
INFO     pytest_operator.plugin:plugin.py:675 Connecting to existing model github-pr-21c0c-microk8s:kubeflow on unspecified cloud
----------------------------------------- Captured log call ------------------------------------------
INFO     pytest_operator.plugin:plugin.py:526 Using tmp_path: /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/tmp/pytest/kubeflow0
INFO     pytest_operator.plugin:plugin.py:975 Building charm kfp-api
INFO     pytest_operator.plugin:plugin.py:980 Built charm kfp-api in 40.94s
INFO     test_charm:test_charm.py:30 Built charm /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/tmp/pytest/kubeflow0/charms/kfp-api_ubuntu-20.04-amd64.charm
INFO     juju.model:model.py:1993 Deploying local:kfp-api-7
========================================== warnings summary ==========================================
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:218: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    self._drain_lock = asyncio.Lock(loop=loop)

tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:977: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    yield from asyncio.sleep(self.ping_interval, loop=self.loop)

tests/integration/test_charm.py: 35 warnings
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:911: DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with lock' instead
    with (yield from self._drain_lock):

tests/integration/test_charm.py: 30 warnings
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:416: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    yield from asyncio.wait(

tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
tests/integration/test_charm.py::TestCharm::test_build_and_deploy
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:988: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    yield from asyncio.wait_for(

tests/integration/test_charm.py::TestCharm::test_remove_application
tests/integration/test_charm.py::TestCharm::test_remove_application
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:532: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    yield from asyncio.wait_for(

tests/integration/test_charm.py::TestCharm::test_remove_application
tests/integration/test_charm.py::TestCharm::test_remove_application
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:554: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    yield from asyncio.wait_for(

tests/integration/test_charm.py::TestCharm::test_remove_application
tests/integration/test_charm.py::TestCharm::test_remove_application
  /home/ubuntu/kfp-operators/charms/kfp-api/.tox/integration/lib/python3.8/site-packages/websockets/protocol.py:1077: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    yield from asyncio.wait_for(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================================== short test summary info =======================================
FAILED tests/integration/test_charm.py::TestCharm::test_build_and_deploy - juju.errors.JujuError: ['charm "local:focal/kfp-api-7" not found']
============================= 1 failed, 5 xfailed, 83 warnings in 56.10s =============================
integration: exit 1 (57.37 seconds) /home/ubuntu/kfp-operators/charms/kfp-api> pytest -vv --tb native --asyncio-mode=auto /home/ubuntu/kfp-operators/charms/kfp-api/tests/integration --log-cli-level=INFO -s --model kubeflow --keep-models -vv -s pid=2454997
  integration: FAIL code 1 (78.12=setup[20.75]+cmd[57.37] seconds)
  evaluation failed :( (78.21 seconds)

Additional Context
Things I tried:

bump the juju (python package) to <IP_ADDRESS>
I can manually deploy with juju deploy the charm which is created by the tox environment
bumping the ops package
running tox -e update-requirements and running pip-compile requirements-integration.in -P juju -P ops

Juju discussion here

After discussions with Juju team we managed to find fix by pinning the actions operator to 2.9/candidate. There is a launchpad bug tracking this issue here fix should be available in 2.9/stable soon.

After fixing the juju problem another problem emerged. The CI had pinned prometheus and grafana to latest/stable this cause incompatibility with juju 2.9. I managed to fifnd proper revisions for the charms. Solution was to check this related issue https://github.com/canonical/bundle-kubeflow/issues/688#issuecomment-1702810636


docs: add instructions for DO spaces setup

In this PR:
Expand docs for DO Spaces
Issues reference:
https://github.com/ducktors/turborepo-remote-cache/issues/279
Checklist:

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

@all-contributors please add @warflash for documentation

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WIP: bos-tasks-s9p09: Update translations from Fedora Zanata

Update translations from Fedora Zanata

[ ] po-refresh

po-refresh in progress on bos-tasks-s9p09.
Log: https://<IP_ADDRESS>:8493/logs/po-refresh-609-20190327-053333/


Could not find org.unbroken-dome.gradle-plugins:gradle-xjc-plugin:1.4.0

Suddenly yesterday afternoon the dependency stops working. Please share if anyone has any alternate solution to retrieve the dependency.
A problem occurred configuring project ':myProject'.
> Could not resolve all artifacts for configuration ':myProject:classpath'.
   > Could not find org.unbroken-dome.gradle-plugins:gradle-xjc-plugin:1.4.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/unbroken-dome/gradle-plugins/gradle-xjc-plugin/1.4.0/gradle-xjc-plugin-1.4.0.pom
       - https://plugins.gradle.org/m2/org/unbroken-dome/gradle-plugins/gradle-xjc-plugin/1.4.0/gradle-xjc-plugin-1.4.0.pom
     Required by:
         project:myProject

is this any relevance to the following incident?
https://status.gradle.com/?utm_source=embed

The dependency is now available again. Thanks
https://status.gradle.com/?utm_source=embed


Construct "pipelines" corresponding to table of numerical experiments

[x] Create table of parameter variations (e.g. priors, m-c relations, richness-mass, etc.) to iterate on
[x] Have an example json file for the first or first two rows of "experiments"

Table of param variations: https://docs.google.com/spreadsheets/d/1mithxbcP7ovE7ph6_ZxtV8kVo5cFb4qdbi17IjJ8Giw/
Example json in the repo


Scrolling - column headers misaligned with data

I am facing an issue where my column headers are getting misaligned when I do horizontal scrolling on the angular UI grid.I am using ui-grid - v3.0.0-rc.20 .I have gone through the earlier post on this issue which says that the issue is fixed in version ui-grid - v3.0.0-rc.18.

@apurvajos Does it happen for you on any of the tutorials?

No ..I have implemented custom UI grid control.I have implemented the custom header template for it.

A lot of the scrolling requires that the header elements be correctly identified. I would make sure that your directives and classes line up, maybe by using the original header template and then slowly changing it one step at a time to make sure your changes didn't break anything.

Thank for quick response.I have tried moving back to default  header template but still the same issue is occurring.

@apurvajos  You'll need to reformat your paste. It's so long that it can't all be seen. Look at the github docs on markdown formatting, specifically the parts on code blocks

Sorry for confusion ..I have added the code block now

@apurvajos Can you actually read your cell and row templates and tell what's going on? I would highly suggest storing the templates as HTML and loading them into $templateCache (either with ng2html or script template tags or whatever).
Are you able to reproduce this in a plunker at all?

I have tried creating plunkr at "http://plnkr.co/edit/vYkaRyuoSl7yBswzB2aK?p=preview".I have removed  used the default row and cell template in the plunkr.Still the issue is occurring.

@apurvajos "2" is no longer a valid value for the enableScrollbar options. If you remove that the grid renders properly.

Hi,
Thank you your inputs.So basically we should not have horizontal scrolling in the grid.We should use default browser horizontal scroll bar as it was coming in plunkr once I have removed "enableScrollbar" option.

Sounds like this issue is resolved - plunker now working.  Closing.


Updated very old .gitignore file

Restarting development on this project!

Coverage remained the same at 35.043% when pulling d94a9efd1f08a0c407904eabfaf8b858004cdf6d on update-gitignore into c226e57aaa47e46f800507211331b53f3ed0320c on master.


Handle extras_require

I'm getting I900 'pytest' not listed as a requirement for test_something.py file importing pytest, even thought pytest is mentioned in setup.py:
extras_require={
        'test': [
            'pytest'
]}

Is there something that can be done to make flake8-requirements happy? Or is it that it can't figure out the relation between test_*.py file and 'test' optional dependencies? Many thanks!

Hmm... flake8-requirements already checks for extras_require. I've checked
with a simple test project (setup.py and main.py in the same directory) and
dependencies from extras_require were not reported. Could you provide a
simple PoC where this is not working for you? If you are working on an
open-source project, simple point repo location.

Since I'm not able to reproduce this issue, I'm closing it. If it still occurs, please reopen it and provide more information (reproduction steps).


change margin for code examples to look closer to its description

Change text margin, so code examples are closer to their description.
Before, it's looked as code example relates to text after them. It's a little bit confusing:

any update?

Copied to site branch


Multiple QuAMs causing issues with references

When initializing multiple quam roots in a single script something appears to go wrong with referencing. I'm not sure when it makes sense to initialize multiple quams, but in my case this has caused some hard-to-find bugs when testing various things out. If initializing multiple roots is not allowed, maybe a suggestion would be to raise an error if it happens.

You're right, creating multiple QuamRoot objects causes issues because QuamBase._root is always set to the latest QuAM, which is needed for absolute referencing to work.
However, I don't see a straightforward solution for this. There are several situations where one would create a new QuamRoot object. For instance, if one is running a live kernel and loads QuAM multiple times.
I will keep this open, but for now I don't see a solution that wouldn't introduce significant overhead. @JacobHast if you have suggestions please let me know

I see. Would it be possible to add a warning when creating a new root if a root already exists to facilitate debugging?

At least for now I wouldn't want it as a warning because that usually shows up by default. I could do logging.info, which will or will not show up depending on the log filtering. Does that work?


Since there are only 72 tokens (trying to detoken 73 will throw an error) why the output as 512 dims?

Sorry my bad I forgot to pass it through the generator layer


[HACKTOBERFEST 2024] - Bash Scripting Quiz

[!IMPORTANT]
This issue is part of our 2024 Hacktoberfest initiative. If you are interested in working on this issue, refer to our top-level tasks to see if this issue is claimed, or to claim it if it is not.

This issue is to create the Bash Scripting quiz.
The file you should be working on is found in /curriculum/challenges/english/25-front-end-development/quiz-bash-scripting.
All quiz questions need to relate to one of these topics:

What is bash scripting
Advantages to bash scripting
basic examples (loops, conditionals, etc)
One of the courses before this quiz is located here. Any commands or topics covered in that course can be used in the quiz. Here's a partial list: creating and using variables, creating and running scripts, changing file permissions, reading input, shebang, comments, if/until/while/for loops, conditionals, arrays, functions

[!CAUTION]
Questions which do not fall under these topics will be rejected.

You are welcome to include code blocks in your questions, but please keep them short (four lines or less).
Please do NOT open a pull request until you have completed all questions. Your quiz should have exactly 20 questions.

Thank you for your interest in contributing. This issue will be opened for contribution when Hacktoberfest starts on October 1st.

[!CAUTION]
Pull requests which are created before October 1st will not be eligible for Hacktoberfest. We appreciate enthusiasm, but encourage you to hold off on contributing to this issue until the event has begun.

If you wish to be notified when this issue is opened for contribution, subscribe to notifications:

Hello,I would like to work on this issue.@naomi-lgbt

I would like to work on this

This issue has been assigned a contributor. To prevent extraneous notifications, the issue is now locked. If you have any questions, please reach out to me in our Discord community.


Allow using md.loc to set values

Is your feature request related to a problem? Please describe.
For now, I cannot use md.loc for setting values. For example, I tried df.loc[:, 'column_name'] = function(df). Then the "TypeError: 'DataFrameLoc' object does not support item assignment" would raise.
The alter method I've got from Mars is that use df['column_name'] = function(df). However, this still not that convenient if I would like to setting values for some target rows.
Describe the solution you'd like
I would like the Mars allows users to use loc function set values. Just like pandas.
Describe alternatives you've considered
md.iloc can be used in some situations. But I would still get "NotImplementedError: Only scalar value is supported to set by iloc" for some circumstances.
Additional context
I am new to Mars and not sure whether all my request are really not achieved in Mars. Thank you very much for consider my request and wish Mars all the best for the future.

Thanks, we will try to support it ASAP.


dbatools cannot connect to WinRM over HTTPS

Hello,
Out DBA's are having issues running Update-DBAInstance against servers where WinRM only listens on HTTPS. They receive following error:
PS C:> Update-DbaInstance -ComputerName  -Path  -Version SQLXX -Credential Domain\Username -Whatif
WARNING: [09:14:31][Update-DbaInstance] Error while looking for SQL Server installations on  |
Connecting to remote server  failed with the following error message : The client cannot
connect to the destination specified in the request. Verify that the service on the destination is running and is
accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most
commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze
and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help
topic.
dbatools server:
PS C:> $PSVersionTable
Name                           Value

PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
PS C:> (Get-Module dbatools -ListAvailable).Version
Major  Minor  Build  Revision

1      0      20     -1
sql server:
OS: Win 2012 R2
SQL: SQL Server 2014 Web Edition (64-bit)
PS C:> $psversiontable
Name                           Value

PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
PS C:> winrm e winrm/config/listener
Listener
Address = *
Transport = HTTPS
Port = 5986
Hostname =
Enabled = true
URLPrefix = wsman
CertificateThumbprint = 66200320BB820CA97..........
ListeningOn =
PS C:>
Not sure if dbatools is supported to connect to WinRM HTTPS.

Wireshark points to dbatools connecting to 5985 by default (which is http winrm port). if you have both http (5985) and https (5986) - it will work. If you only have https (5986) - it won't work, because it is not even attempting.

@ClaudioESSilva - i think you added support for something similar. was it this? if not, would you be able to add it?

Hey @rngrr,
From your description it seems that you need to use the PsRemote option -UseSSL.
You can do a test by running a simple remote command using New-PsSession
$PsSession = New-PSSession -ComputerName "your Instance" -UseSSL
Invoke-Command -Session $PsSession -Script Block {dir}

The native way to test it is to get the current development brach (we have added this option as a configuration but not yet in the gallery) , import the module and run
Set-DbaToolsConfig -Name 'psremoting.pssession.usessl' -Value $true

This will make the internal Invoke-Command2 function to use the - UseSSL parameter when using the remote commands.
And try to run the Update-DbaInstance again
If it fails try this together with the FQDN (if you are not using it yet)
Let us know about the result.

@ClaudioESSilva your feature addition was published to the Gallery already. It is available in 1.0.31+ builds.

Thanks for the correction!

Will close as fixed - just gotta download the newest version and use the recommended approach. Thanks all!

It works like a charm!!
I tried on 1.0.20 and it worked!
Thank you so much.


Feature request: Support of variables

Hey there! As you probably know, Figma introduced variables. Will the plugin support the export of these variables in the near future?

Hey, there are many plugins that export tokens already. Figma even has a sample plugin that exports tokens: https://github.com/figma/plugin-samples/tree/master/variables-import-export
I don't really see what value the plugin could bring over those other plugins.

@lukasoppermann I actually like the plugin you wrote best. Simple, fast. Very modifiable. I'd add a feature or two (and push up as a PR for such things), but it's my go-to solution, and I prefer small apps I can string together to make the big thing I want to have.
QUESTION: Do you see any inherent value in the addition of Variables in Figma or supporting them for export of tokens? I'm not finding the value add particularly obvious at the moment.

I would like to see it too. As of right now, it's the most comprehensive solution, where I can export Font-Styles, and Color-Styles, all at the same time, and convert in Style Dictionary in a single file.

Hey, I am investigating it. I do understand the benefit of getting variables exported in the same manner as the other tokens.
This feature will only be added to the w3c export though.

That's great news! I think building the feature only on the w3c export is fair enough. I was wondering why Style Dictionary still doesn't support it yet. Didn't realize you build "style-dictionary-utils". Will definetly try it out to implement in the build process.

Hey folks, so the beta for variables is out. Please let me know if it works for you.
Note it only works in w3c standard tokens

Hey @lukasoppermann. I have created a plugin for a a rather big project that has an extensive variables setup with Figma already. Derived variables, ALIAS namings etc. I gladly contribute or at least show you what I have done to help you on your quest with supporting variables. Just let me know.

Hey @marcuzgabriel,
thanks, but the PR you point to is already the implementation.
The complex part is not the variables itself, but adding it into a complex plugin like this was. But since it is done now, it should be all fine.

Hi, great work it really inspired me to dive a bit into style-drirectory. I tried it on my project and it didn't produce entirely valid output. In Figma, I have two collections primitives and tokens.

I don't know much about style-dictionary. However, as you see in tokens it tries to reference {Primitives.Primary/04} but in primitives the letter case is different. I also tried to run this json:
➜  style_dictionary style-dictionary build

flutter

Property Reference Errors:
Reference doesn't exist: tokens.light.bg.pressed.value tries to reference Primitives.Primary/04, which is not defined
Reference doesn't exist: tokens.light.bg.primary.value tries to reference Primitives.Primary/05, which is not defined

So I'm guessing there is something off.

Hi folks! Same problem than @MikolajKakol over here. I was testing the plugin exporting only Figma Variables and seems that something doesn't get properly transformed between Variable Collection names. In my case I have my collections like these and they get exported as shown in the image:

As I've said I'm only exporting Figma Variables:

I've tried different configurations of settings with no luck:

Thank you very much for your work!

Hi! following from the previous post, I've fixed the references to the correct collection names/nesting and executed the transformation. What I've seen is that Primitive Collection values get transformed propertly (as tokens are of "type": "color", but the Semantic Collection ones don't get transformed and are missing, as they are of "type": "alias" in the JSON.

Another thing I've seen is that variables of type "size" doesn't get converted unless you add this type to the StyleDictionary.registerFilter in transformTokens.js. It should be included I guess.

Okay, here are some updates: https://github.com/lukasoppermann/design-tokens/releases/tag/v6.8.4
Please let me know how this is working for you.

Hi Lukas! Thanks for your answer and the updates. I've tested it (only exporting 'Figma Variables') but the plugin freezes when clicking on 'Save & Export'. It throws an error in the console:
Cannot read properties of undefined (reading 'value').
Let me know if I can help providing more information.
Thank you very much for your time!

Hello! I believe I have a solution for 'Cannot read properties of undefined (reading 'value') issue.

Simply check if the value is a string (not an object). If true, then it's a variable.

I think we'd be safe to drop 'Mode 1' from the path via export. If the length of Variable collection modes === 1, no need to include 'Mode 1' (or whatever it is named) in the path. Else, we need it to point to dark/light/contrast modes. Besides, StyleDictionary wouldn't be able to naturally link if we did not drop 'Mode 1' since the alias ref doesn't include it on output.

Lastly, should we consider appending 'Variables' to the top much like we do for 'Styles' (color, gradient, font, typography, etc). This feels a bit scattered to me (My variable collections are 'palette, contextual, definitive'). Seems we'd want that to be 'variables/palette', etc.

I added a new discussion here

Sorry to come back to this so late.

Hello! I believe I have a solution for 'Cannot read properties of undefined (reading 'value') issue.

@dj-kmuldoon is this still an issue?

@lukasoppermann Suspect not, if nobody else is reporting. I've forked off and have since forgotten about the solution.


Update pod with version Zoom Meeting SDK - iOS - 5.17.6

This version fixes the crash around the blur effect, which is in the current version.

new version is published: <IP_ADDRESS>30


Initialize table with correct dataIndex

https://github.com/gregnb/mui-datatables/blob/68e523e1f1c61170ce6f58ffd8a168a752d181e5/src/MUIDataTable.js#L338
I'm unable to figure out which cell was clicked.  It appears that dataIndex is always equal to rowIndex.  I assume this is the culprit.

oh sorry, I was assuming data index was the column index.  Is there a way to get the column that a click came in from?  I'm using the onClick functionality of the row as a link and the checkbox for row deletion.  When I click the checkbox onClick fires for the row and I need to identify that its coming from the first column so I can ignore the action.  I have it currently working by looking for target type check box but it would be nicer to do something more straightforward.

onCellClick will tell you which column the click is coming from.


Laravel Support

add laravel support

This should be done after Exception handling and Add response models  (#7).

response models done (#7).

You can now add Laravel 8 support. @ariaieboy


Taboo word list

Maybe I haven't seen this in the documentation yet, but I need a cop that can look for specific words as an offence.  This could be old nomenclature, old branding, specific unwanted methods (like save_and_open_screenshot) or foul language.

@brondavies I'd respectfully suggest that that's rather beyond the scope of a "Ruby style guide" or enforcer therefor. Perhaps you'd be better off with a Rake/Thor task (or a Git pre-commit hook) that goes through and greps (changed) files against the contents of a config/disallowed-words.yml file?

@jdickey you're right but I think this could also future proof against needing to add cops for deprecated APIs and so forth.

For deprecated APIs etc. where the “taboo words” are method names, you could write a custom cop based on the Debugger cop.
See https://github.com/bbatsov/rubocop/blob/master/README.md#extensions on how to use custom cops.

OK, I had not seen that little line item in the readme.  Thanks!


feat(generated_columns): support select generated columns from source

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

support select generated columns from source

Checklist For Contributors

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[ ] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

SQL commands, functions, and operators

Release note
Allow select from a source created with generated columns.

Is there any planner test for this feature?


Quest's Moduels

So I have many games on my server.
I have tnt run for example. I want to make a quest when a player wins 3 games they win cash. Is their any way to set this up? And I would also want to know if I can setup certine quests to be done in certine worlds.

That would require integration with your tnt run plugin, which unfortunately is not planned. As for certain worlds, just use permissions.


Design an icon

Eye candy! We need eye candy! That way our plugin will have a nice image next to its name when people search "plastic" in their VS Code 🤳

This was done in PR #16 , nice!


Accessibility updates

Updates color contrast to pass ADA standards and create new gray/grey var.
Currently, we don't have access to edit the <html> tag but needs to add the lang attribute to bring ADA score to 100.
Wraps logo inside <h1>.  Using the aXe extension from Deque University.  https://dequeuniversity.com/rules/axe/3.0/page-has-heading-one?application=AxeChrome

thank you!


VSCode silently fails to update

Version: 1.44.0-insider (system setup)
Commit: 6cf3dd97465b2f4f666b66758991d720e003b0f4
Date: 2020-03-27T06:00:06.803Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Steps to Reproduce:

Click the settings gear
Click "Install Update..."
Click "Yes" when the Windows security popup appears
Wait for it to install...
Click "Update Now" to restart VSCode
The commit version stays the same and and the update notification reappears

Odd. Can you reproduce if you uninstall and reinstall insiders?

I was actually able to resolve by rebooting my PC.


A connection to URL was leaked. Did you forget to close a response

Problem
this is the warning i get in my logcat
A connection to http://turkishads.com/ was leaked. Did you forget to close a response
My Code
val (_, response, result) = "insertpost".httpUpload(parameters = params)
      .add(*dataParts.toTypedArray())
      .responseString()

i think this error only happens when the request is not successful
in libraries like okhttpclient we are always needed to make sure responseBody
is closed which is done like this
body.close()

how can i do the same with fuel
or is there any other solution to resolve this warning

Hi there!
In case of an error you need to "read" the error response to fix this warning. The error message will have a body. Once it's read once, this warning goes away.

so this is the code i'm using :
fuelError.response.body().asString("")

That seems ok -- still have an error with that?


I18N: update FR translation file

Describe what problem your feature request solves
As Threat Dragon begins to approach the release of version 2.0, it would be good to update the French translation
Describe the solution you'd like
Modify translation file
Additional context
@andk123  as you provided the original translation I hope you do not mind me assigning this to you?

Not at all, it will be my pleasure to do so! I will keep you updated once it's completed.

Thanks @andk123 , I have just added threats.properties.number, for labelling the threat number and threats.properties.score for labelling the custom score into the i18n file

Quite a busy week here, it will be done this weekend :)

No hurry at all, thanks @andk123
There is one last major feature that we need for Version 2.0 which I am working on, so it may be early November (at the earliest) that it would be good to have the translations


Profile pictures downloads are forbidden

Prerequisites

[x] Did you read FAQ section in readme.md?
[x] Did you test with the latest releases or commit ?
[x] Did you search for existing issues in Issues?

Description
The profile picture image URL is no longer accessible to download. Here is what you get when opened manually.
Steps to Reproduce

Go to config.ini
Change to "downloadavatar = True"
Attempt to download by member ID.

Expected behavior: Download the profile picture.
Actual behavior: It gives an error code and exits after retying.

Versions
v20210421

Mistaken this for another issue, Bad info


Renamed 'publish' to 'deploy'

Coverage remained the same at 95.229% when pulling a8bf96b3479c7aef80e18648915bd7db641eb1e4 on cody-rename-publish-to-deploy into 0cc7c0e9e7c6ea6f773000480054fe24775a4eb3 on main.


[ISSUE] JWT token timing issues

We've deployed the Camunda Platform 8.2.0 at Kubernetes via the official Helm chart https://github.com/camunda/camunda-platform-helm/tree/main/charts/camunda-platform
We used the combined Ingress setup scenario described at https://docs.camunda.io/docs/self-managed/platform-deployment/helm-kubernetes/guides/ingress-setup/#combined-ingress-setup
Everything is running but there are random (but frequent) authentication issues that appear to be related to the JWT token validity.
When accessing the operate or identity components unauthenticated, user is redirected to the Keycloak to perform login. After entering valid credentials and redirecting back (to operate or identity) the user ends up at the noPermission (operate) or unauthorized (identity) page in approx. 80-90% cases. In the remaining cases the user is able to access the desired resource as expected.
After inspecting logs we found out the following in the operate log in such cases:
2023-04-27 15:20:27.474 DEBUG 7 --- [nio-8080-exec-8] i.c.o.w.s.i.IdentityController           : Called back by identity with /operate/identity-callback state=&session_state=30d1208a-e017-469c-a367-bc42a55467bb&code=dd0f8e38-a70e-4c87-b84c-7748fdf10421.30d1208a-e017-469c-a367-bc42a55467bb.4024fa3e-55a9-4f83-9775-8336558985d7, SessionId: F92F92ADD5504B3C95631D77B9814A28 and AuthCode dd0f8e38-a70e-4c87-b84c-7748fdf10421.30d1208a-e017-469c-a367-bc42a55467bb.4024fa3e-55a9-4f83-9775-8336558985d7
2023-04-27 15:20:27.485 ERROR 7 --- [nio-8080-exec-8] i.c.o.w.s.i.IdentityController           : Error in authentication callback:

io.camunda.identity.sdk.authentication.exception.InvalidClaimException: the provided claims are invalid
        at io.camunda.identity.sdk.authentication.AbstractAuthentication.verifyToken(AbstractAuthentication.java:133) ~[identity-sdk-8.2.0.jar!/:?]
        at io.camunda.identity.sdk.authentication.AbstractAuthentication.verifyToken(AbstractAuthentication.java:103) ~[identity-sdk-8.2.0.jar!/:?]
        at jdk.internal.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at io.camunda.identity.sdk.annotation.AnnotationProcessor.lambda$apply$0(AnnotationProcessor.java:33) ~[identity-sdk-8.2.0.jar!/:?]
        at jdk.proxy2.$Proxy141.verifyToken(Unknown Source) ~[?:?]
        at io.camunda.operate.webapp.security.identity.IdentityAuthentication.authenticate(IdentityAuthentication.java:139) ~[classes!/:?]
        at io.camunda.operate.webapp.security.identity.IdentityService.getAuthenticationFor(IdentityService.java:75) ~[classes!/:?]
        at io.camunda.operate.webapp.security.identity.IdentityController.loggedInCallback(IdentityController.java:81) ~[classes!/:?]
        ...
Caused by: com.auth0.jwt.exceptions.IncorrectClaimException: The Token can't be used before 2023-04-27T15:20:28Z.
        at com.auth0.jwt.JWTVerifier$BaseVerification.assertValidInstantClaim(JWTVerifier.java:352) ~[java-jwt-4.3.0.jar!/:4.3.0]
        at com.auth0.jwt.JWTVerifier$BaseVerification.lambda$addMandatoryClaimChecks$19(JWTVerifier.java:313) ~[java-jwt-4.3.0.jar!/:4.3.0]
        at com.auth0.jwt.JWTVerifier$BaseVerification$1.verify(JWTVerifier.java:405) ~[java-jwt-4.3.0.jar!/:4.3.0]
        at com.auth0.jwt.JWTVerifier.verifyClaims(JWTVerifier.java:482) ~[java-jwt-4.3.0.jar!/:4.3.0]
        at com.auth0.jwt.JWTVerifier.verify(JWTVerifier.java:464) ~[java-jwt-4.3.0.jar!/:4.3.0]
        at io.camunda.identity.sdk.authentication.AbstractAuthentication.verify(AbstractAuthentication.java:147) ~[identity-sdk-8.2.0.jar!/:?]
        at io.camunda.identity.sdk.authentication.AbstractAuthentication.verifyToken(AbstractAuthentication.java:126) ~[identity-sdk-8.2.0.jar!/:?]
        ... 131 more

Which looks like a timing issue as the timestamp in The Token can't be used before 2023-04-27T15:20:28Z happens to be of slightly later time than the timestamp of the request as captured in the log: 15:20:27.474
After inspecting the pods, where they run and what's the time at these hosts there are really some minor (somewhere between 0-1s) differences that explain this behavior. We'll try to get our provider to ensure the time synchronization at these hosts which should help.
However there may be still some differences in some cases and then it would be useful to be able to tolerate bigger time differences.
We tried to find such configuration option for Camunda, but to no avail.
Is there anything like this possible (extending the JWT token leeway setting at the components that use it)?
If not, could it be added?

I think that this is an application (code) issue and the deployment in Kubernetes only exposes it (if Keycloak is running at a node with the time being slightly off).
Not sure where to place this issue, but it's likely in the io.camunda.identity.sdk.authentication.AbstractAuthentication class or other related code that configures the token verification. The java-jwt library that you use appears to be capable of using a custom leeway: https://javadoc.io/doc/com.auth0/java-jwt/latest/com/auth0/jwt/JWTVerifier.BaseVerification.html#acceptLeeway(long)

Hi @hostalp ,
Are you still running into this issues? were you able to confirm the time synchronization?

Hello @drodriguez-305
for various reasons we now use only Camunda 7, but I don't see any reason why this issue should magically disappear if there wasn't a specific fix for it implemented.
The time synchronization definitely helps to mitigate this, but if someone has an environment with slightly bigger time differences (between their K8S hosts), the issue may occur more frequently (it also depends on where which component is running). It would be definitely nice to be able to tolerate at least 2 seconds difference - that should cover most reasonable cases.

Hi @hostalp 👋 While the JWT library we are using supports setting a leeway, we do not use this feature in the code so unfortunately it's not possible to pass a leeway configuration to token validation.

According to that, I will close this issue since it's not supported.
The solution is to ensure the time is synced.


Relax nimble_owernship requirement

cc @wojtekmach

Thanks!

Hmm could this be released? It is currently blocking updating Sentry.

v0.4.14 is out!

Cheers!


Firebase javascript SDK angular 8 to receive fcm notifications

I am following this tutorial to implement firebase service worker in my angular app :
<EMAIL_ADDRESS>Everything is working as expected (compilation is fine, browser ask for my permission...), but suddenly registration is failing. My log is: It was not possible register/update a ServiceWorker for the scope «http://localhost:4200/firebase-cloud-messaging-push-scope»: content type «text/html» is not right for  «http://localhost:4200/firebase-messaging-sw.js». It must be «text/javascript», «application/x-javascript» or «application/javascript».
Is this normal? Some help please? Is it relating to the new version angular 8 or something?
Thanks in advance,
Beka

Go to database, next to title there are 2 options:
Cloud Firestore, Realtime database
Select Realtime database and go to rules
change rules to true.


[Android] [Added] - Add DevSetting native module (making it cross-platform)

Summary
React Native has a NativeModule to manipulate programmatically the dev menu options (live reload, hot reload, remote debugging, etc), called DevSettings. However this module is only available for iOS.
This PR brings the same DevSettings for Android, making it a cross-platform NativeModule.
Motivation: Right now if your app needs to programmatically reload RN, one option is to install react-native-restart.  According to NPM, react-native-restart has ~12k weekly downloads, shows it's a recurring feature for many apps (my case).
Thus making NativeModules.DevSettings is a small increment in the codebase, just exposing the dev menu methods, to improve the Development Experience
Changelog
[Android] [Added] - Add DevSetting native module (making it cross-platform)
With expection of setIsShakeToShowDevMenuEnabled, the following methods will be available for both platforms:

reload
setHotLoadingEnabled
setIsDebuggingRemotely
setIsShakeToShowDevMenuEnabled
setLiveReloadEnabled
setProfilingEnabled
toggleElementInspector

Test Plan
The following buttons should work for both iOS and Android.
<View>
  <Button
    onPress={() => {
      NativeModules.DevSettings.reload();
    }}
    title="Reload"
  />
  <Button
    onPress={() => {
      NativeModules.DevSettings.setHotLoadingEnabled(true);
    }}
    title="setHotLoadingEnabled"
  />
  <Button
    onPress={() => {
      NativeModules.DevSettings.setIsDebuggingRemotely(true);
    }}
    title="setIsDebuggingRemotely"
  />
  <Button
    onPress={() => {
      NativeModules.DevSettings.setLiveReloadEnabled(true);
    }}
    title="setLiveReloadEnabled"
  />
  <Button
    onPress={() => {
      NativeModules.DevSettings.setProfilingEnabled(true);
    }}
    title="setProfilingEnabled"
  />
  <Button
    onPress={() => {
      NativeModules.DevSettings.toggleElementInspector();
    }}
    title="toggleElementInspector"
  />
</View>

P.S DevSettings is only available via NativeModules (it doesn't have a Library, import { DevSetting } from "react-native"). But I think It'd useful to have it and add documentation for it to make these features more well known. In case this PR gets approved, please let me know if making a DevSetting library looks ok. I'd be happy to do it.
Possible features to be included into DevSettings module:

Expose a method to add a custom item into the dev menu (via RCTDevMenuItem and DevSupportManager.addCustomDevOption);
Expose a method to register a custom keyboard shortcut, e.g: CMD+B to open Storybook (via RCTKeyCommands and)

I'm getting:
ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerImpl.java:1053: error: local variable enableHotModuleReplacement is accessed from within inner class; needs to be declared final
          mDevSettings.setHotModuleReplacementEnabled(enableHotModuleReplacement);

for all the variables in the lines you changed in that file.
Do you mind patching up the PR? :)

This is pure ❤

@elucaswork can you make sure test_android passes on CI? It seems like it's not working.

@cpojer I was not getting the issues you mentioned, but I saw it happening for CI as well. I was able to make a commit fixing it.
Now the CI is failing with other issues that I can't replicate on my environment
BUILDING: FINISHED IN 4.0s (100%) 234/237 JOBS, 196 UPDATED
BUILD FAILED
Command failed with exit code 1.
stderr: /root/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/DevSettingsModule.java:13: error: package com.facebook.react.devsupport.interfaces does not exist
import com.facebook.react.devsupport.interfaces.DevSupportManager;
                                               ^
/root/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/DevSettingsModule.java:25: error: cannot find symbol
  private final DevSupportManager mDevSupportManager;
                ^
  symbol:   class DevSupportManager
  location: class com.facebook.react.modules.debug.DevSettingsModule
/root/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/debug/DevSettingsModule.java:27: error: cannot find symbol
  public DevSettingsModule(DevSupportManager devSupportManager) {
                           ^
  symbol:   class DevSupportManager
  location: class com.facebook.react.modules.debug.DevSettingsModule
Errors: 3. Warnings: 0.

For me, even rebasing my branch against master, and rebuilding the project, I always get BUILD SUCCESSFUL. I'm using Android 3.3.2.
I'm not an Android developer, so I don't have an idea of what can be the problem yet. But it's weird for me that RedBoxDialog is also using DevSupportManager, the same way as DevSettingsModule, but the error is happening just for this new class :-/
I'm gonna continue investigating this issue. But if you have an idea of what I can be, just let me know, please.

We use buck to build Android on CI and at Facebook. Can you compare the BUCK file in the folder for the Redbox code and update it accordingly? It is most likely that you just need to add the right dependency in a BUCK file and it is probably a one-liner :) Thanks for looking into this, I know it is not straightforward.

Let's see what the internal CI says. It seems that there is some androidx issue on CI here.

@cpojer cool. Thanks for your support! Very helpful.
Also, please let me know what you think of exposing DevSetting module through a JS library. If you guys agree with it, I could make it happen in a separate PR.  Same for the "possible features" I've mentioned in the description.

Yeah I think that's a good idea, we just need to make sure it is only available in development :)


Fix omniauthredirection when under scopes

Thanks @xjunior - I'll review this ASAP.

@lynndylanhurley Ok to use?

LGTM!


bug fix needed for version 8: "Processing:" printed to screen in prepare_transcripts needs to occur before reading file

BUG FIX: Swap print(("Processing: "+fileName)) line in prepare_transcripts function so it occurs before reading in the pd.read_csv of that file; if error with reading .csv then the wrong file is displayed to user

Fixed in recent commit.


lxc import failed

Required information

Distribution:
Ubuntu

Distribution version:
Description:	Ubuntu 18.04.4 LTS

The output of "lxc info" or if that fails:
lxc info
config: {}
api_extensions:

storage_zfs_remove_snapshots
container_host_shutdown_timeout
container_stop_priority
container_syscall_filtering
auth_pki
container_last_used_at
etag
patch
usb_devices
https_allowed_credentials
image_compression_algorithm
directory_manipulation
container_cpu_time
storage_zfs_use_refquota
storage_lvm_mount_options
network
profile_usedby
container_push
container_exec_recording
certificate_update
container_exec_signal_handling
gpu_devices
container_image_properties
migration_progress
id_map
network_firewall_filtering
network_routes
storage
file_delete
file_append
network_dhcp_expiry
storage_lvm_vg_rename
storage_lvm_thinpool_rename
network_vlan
image_create_aliases
container_stateless_copy
container_only_migration
storage_zfs_clone_copy
unix_device_rename
storage_lvm_use_thinpool
storage_rsync_bwlimit
network_vxlan_interface
storage_btrfs_mount_options
entity_description
image_force_refresh
storage_lvm_lv_resizing
id_map_base
file_symlinks
container_push_target
network_vlan_physical
storage_images_delete
container_edit_metadata
container_snapshot_stateful_migration
storage_driver_ceph
storage_ceph_user_name
resource_limits
storage_volatile_initial_source
storage_ceph_force_osd_reuse
storage_block_filesystem_btrfs
resources
kernel_limits
storage_api_volume_rename
macaroon_authentication
network_sriov
console
restrict_devlxd
migration_pre_copy
infiniband
maas_network
devlxd_events
proxy
network_dhcp_gateway
file_get_symlink
network_leases
unix_device_hotplug
storage_api_local_volume_handling
operation_description
clustering
event_lifecycle
storage_api_remote_volume_handling
nvidia_runtime
container_mount_propagation
container_backup
devlxd_images
container_local_cross_pool_handling
proxy_unix
proxy_udp
clustering_join
proxy_tcp_udp_multi_port_handling
network_state
proxy_unix_dac_properties
container_protection_delete
unix_priv_drop
pprof_http
proxy_haproxy_protocol
network_hwaddr
proxy_nat
network_nat_order
container_full
candid_authentication
backup_compression
candid_config
nvidia_runtime_config
storage_api_volume_snapshots
storage_unmapped
projects
candid_config_key
network_vxlan_ttl
container_incremental_copy
usb_optional_vendorid
snapshot_scheduling
container_copy_project
clustering_server_address
clustering_image_replication
container_protection_shift
snapshot_expiry
container_backup_override_pool
snapshot_expiry_creation
network_leases_location
resources_cpu_socket
resources_gpu
resources_numa
kernel_features
id_map_current
event_location
storage_api_remote_volume_snapshots
network_nat_address
container_nic_routes
rbac
cluster_internal_copy
seccomp_notify
lxc_features
container_nic_ipvlan
network_vlan_sriov
storage_cephfs
container_nic_ipfilter
resources_v2
container_exec_user_group_cwd
container_syscall_intercept
container_disk_shift
storage_shifted
resources_infiniband
daemon_storage
instances
image_types
resources_disk_sata
clustering_roles
images_expiry
resources_network_firmware
backup_compression_algorithm
ceph_data_pool_name
container_syscall_intercept_mount
compression_squashfs
container_raw_mount
container_nic_routed
container_syscall_intercept_mount_fuse
container_disk_ceph
virtual-machines
image_profiles
clustering_architecture
resources_disk_id
storage_lvm_stripes
vm_boot_priority
unix_hotplug_devices
api_filtering
instance_nic_network
clustering_sizing
firewall_driver
projects_limits
container_syscall_intercept_hugetlbfs
limits_hugepages
container_nic_routed_gateway
projects_restrictions
custom_volume_snapshot_expiry
volume_snapshot_scheduling
trust_ca_certificates
snapshot_disk_usage
clustering_edit_roles
container_nic_routed_host_address
container_nic_ipvlan_gateway
resources_usb_pci
resources_cpu_threads_numa
resources_cpu_core_die
api_os
resources_system
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
tls
environment:
addresses: []
architectures:

x86_64
i686
certificate: |
-----BEGIN CERTIFICATE-----
MIICBTCCAYygAwIBAgIQL+XIby4LqFLIWEcOHWVqKjAKBggqhkjOPQQDAzA1MRww
GgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRUwEwYDVQQDDAxyb290QGNoYXJs
ZXMwHhcNMjAwNjIyMDk1NzI0WhcNMzAwNjIwMDk1NzI0WjA1MRwwGgYDVQQKExNs
aW51eGNvbnRhaW5lcnMub3JnMRUwEwYDVQQDDAxyb290QGNoYXJsZXMwdjAQBgcq
hkjOPQIBBgUrgQQAIgNiAASYawRO6OIxi5gnDMw8JLQBfwL01cu+xDx+lYRfyWyE
rWR1TD2a0FbDYf7ml4BaRsFeNYb2tr2lkUNV7pmupQCxkjQVbcah5sXj1TB/I2NB
f0fRd2RsmESrrD4+0z188g6jYTBfMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAK
BggrBgEFBQcDATAMBgNVHRMBAf8EAjAAMCoGA1UdEQQjMCGCB2NoYXJsZXOHBH8A
AAGHEAAAAAAAAAAAAAAAAAAAAAEwCgYIKoZIzj0EAwMDZwAwZAIwE7gO4VVYJTFq
JO3KBS8wWdjgNYEvYb2DiB6VsxyLT0k8i2jkqC51h3tHggEQmMhHAjAEgMtkySpz
BoDOzEWY9Q/5k5BYmvbrGCmFQg7+nKXFvZBVhS1pn8KpnesV6I6tJVo=
-----END CERTIFICATE-----
certificate_fingerprint: 60c041fc1fbcff1ed67175da2a5527420ba603a4fadfb19c86dd83409e2334e2
driver: lxc
driver_version: 4.0.2
firewall: xtables
kernel: Linux
kernel_architecture: x86_64
kernel_features:
netnsid_getifaddrs: "false"
seccomp_listener: "false"
seccomp_listener_continue: "false"
shiftfs: "false"
uevent_injection: "false"
unpriv_fscaps: "true"
kernel_version: 4.15.0-106-generic
lxc_features:
cgroup2: "true"
mount_injection_file: "true"
network_gateway_device_route: "true"
network_ipvlan: "true"
network_l2proxy: "true"
network_phys_macvlan_mtu: "true"
network_veth_router: "true"
pidfd: "true"
seccomp_notify: "true"
os_name: Ubuntu
os_version: "18.04"
project: default
server: lxd
server_clustered: false
server_name: charles
server_pid: 21003
server_version: 4.0.1
storage: zfs
storage_version: 0.7.5-1ubuntu16.9

Issue description
when I try to import one VM that I exported from a backup script I have no space left on device .
Steps to reproduce
Export of a windows virtual machine for backup pourpose:
lxc export  win2016std /var/tmp/win2016std.tar.gz --instance-only
after delete the virtual machine:
lxc delete win2016std
and try to import from the export:
lxc import win2016std.tar.gz -s default
Importing instance: 90% (280.42MB/s)Error: write /tmp/lxd_backup_298133702: no space left on device
The VM is not created and any other logs is produced:

You ran out of space in /tmp on the importing server.

I'm guessing that image is very large as Windows images tend to be...

The image is the first installation... just 9G used

'df -h /tmp' is likely smaller than that :(

So, it is not possible to define a differente folder?

@stgraber could we import it into storage.backups_volume if specified?

Spoke with @stgraber, we should be able to use the existing  storage.backups_volume setting (if set) to write the temporary upload into rather than /tmp, then you can create a separate custom volume on one of your storage pools to accommodate this larger temporary file.


userContentController from InAppBrowser

Environment
Plugin version:  flutter_inappwebview: ^5.4.3+7
Device information:  iOS 14
Description
What you'd like to happen:
I want to use userContentController from InAppBrowser class.

And also use evaluateJavaScript

can't?


HDDS-3629. Fix TestBlockOutputStreamWithFailures#test2DatanodesFailure.

What changes were proposed in this pull request?
Added a wait time for leader election to complete for atleast one pipeline before running a test.
Removed harcoded checks for streamEntries size check as it will vary in case any retry happens during write.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3629
How was this patch tested?
Verified running the unit test

Thanks @smengcl for the review. I have committed this.


Replace devtools functionality (part II)

Follow-up to #1155.

The option parsing and configuration logic is duplicated from aur-chroot, so I'm thinking to split off the create/update and build parts to aur-chroot--create and aur-chroot--build, respectively. Then aur-chroot would call them if AUR_CHROOT_STANDALONE is set.

I just merged the implementation directly to aur-chroot directly. About 120 lines for all we use from devtools is a decent trade-off.
Now this just needs some more testing and it can be merged.


Help patching boto3

I need some help trying to patch boto3. I've been trying the following:
snippet:
@unittest.mock.patch.object(boto3, 'resource', new=localstack_client.session.resource)
@unittest.mock.patch.object(boto3, 'client', new=localstack_client.session.client)
class MyTestCase(unittest.TestCase):

    @classmethod
    def setUp(cls):
        try:
            infra.start_infra(asynchronous=True)
        except Exception as e:
            infra.stop_infra()
            raise e

    @classmethod
    def tearDownClass(cls):
        infra.stop_infra()

    def test_ls(self):
        sqs = boto3.client('sqs')
        print(sqs.list_queues())

run:
nosetests -s

output:
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "http://localhost:4576/"

PEBKAC

@jacobisaliveandwell Do you remember how this was solved?


Passwordless signup/authentication

Checklist

[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved
Flutter SDK don't describes and does not have auth0 passwordless signup/login functionality compared with native libraries
Describe the ideal solution
Need to add startPasswordless method auth0 flutter platform interface  that accepts email|phoneNumber together with type of connection sms|email to request code from auth0 platform
extend AuthLoginOptions to accept code and phoneNumber  to login customer with paswordless authentication to authenticate with receive phone and code, and make usernameOrEmail and password optional
Alternatives and current workarounds
No response
Additional context
I build app that uses SMS for customer signup and authentication and SDK don't describes or provides additional interface to support of passworless api compared with native SDKs

Hi @vyacheslavk, thanks for raising this.
We do not have plans in the near term to add this feature, but I'll keep this issue open for future planning and reference.

Hello @Widcket,
I was about to raise the same concern, but I see it's already opened. Could you please introduce options for passwordless login/signup? I'm actively working on a project, and at the moment, I'm essentially waiting for this feature to be added to the library.

@Widcket  and why this has low priority?

Our team is waiting for this feature too. If there is any beta we would like to test it too.


Power App Plans link is incorrect

In the topmost "Notes" section, the "Power App Plans" link does not open a new page.

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

ID: c3f8c1ca-4250-85c7-2b8e-caab633d8d9d
Version Independent ID: 70065f90-617e-d812-e04e-7594708b0cce
Content: Preview: Common Data Service storage capacity - Power Platform Admin center
Content Source: power-platform/admin/capacity-storage.md
Service: power-platform
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@james-reinhardt
The link opens a .pdf.

Thanks for the quick reply. Yep, looks like I have 15 of them in my downloads folder.


Add Transport.is_closing()

Looks good! Please merge without using the GitHub website. :-)

Done! Thanks for the review!