chore(main): release 1.39.2

:robot: I have created a release beep boop
1.39.2 (2024-12-31)
Bug Fixes

remove default img (668c00a)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.39.2
:sunflower:


Filter

Need a filter while i.e. Device select. Any links to man page for this API?

https://unms.docs.apiary.io - this way!. Closing


errors about brie-quant

Hi, Yuanhua
I'm sorry to disturb you for so many times!
When i ran the brie-quant, i met a terrible error and i can't understand how to solve it!
my code:

brie-quant -i test5/brie_count.h5ad -o test5/brie_quant_cell.h5ad -c test5/cell_note.tsv --interceptMode gene --LRTindex=ALL

my cell_note.tsv:
I want to detect the differential events between the two celltype.

barcodes	celltype	type
AAACCTGAGAGGACGG-1	0	0
AAACCTGAGGGATACC-1	0	0
AAACCTGAGTCCAGGA-1	1	0
AAACCTGAGTTCGATC-1	1	0

my error:

Traceback (most recent call last):
  File "/public2/home/rotation/miniconda3/envs/TFProb/bin/brie-quant", line 8, in
    sys.exit(main())
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/brie/bin/quant.py", line 219, in main
    options.batch_size, options.pseudo_count, options.test_base)
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/brie/bin/quant.py", line 42, in quant
    adata = brie.read_h5ad(in_file)
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/h5ad.py", line 236, in read_h5ad
    d[k] = read_dataframe(f[k])
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/h5ad.py", line 301, in read_dataframe
    return read_elem(group)
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/specs/registry.py", line 183, in read_elem
    return _REGISTRY.get_reader(type(elem), get_spec(elem), frozenset(modifiers))(elem)
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/specs/methods.py", line 523, in read_dataframe
    {k: read_elem(elem[k]) for k in columns},
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/specs/methods.py", line 523, in
    {k: read_elem(elem[k]) for k in columns},
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/specs/registry.py", line 183, in read_elem
    return _REGISTRY.get_reader(type(elem), get_spec(elem), frozenset(modifiers))(elem)
  File "/public2/home/rotation/miniconda3/envs/TFProb/lib/python3.7/site-packages/anndata/_io/specs/methods.py", line 327, in read_string_array
    return read_array(d.asstr())
AttributeError: 'Dataset' object has no attribute 'asstr'

There seems be to have something wrong in scanpy.read_h5ad().
my version of scanpy is 1.9.1 installing from pip install -r requirements.txt.
Would you offer some help for me ? thanks


fix: Go Panic on Actors usage (Redis) with PubSub (Redis) on Start

Description
fix issue #3258: Go Panic on Actors usage (Redis) with PubSub (Redis) on Start
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #3258
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@beiwei30 please rebase master branch


First approach to create a modulr payment

DP-354
Transfer service creates payments in Modulr API. I decided to maintain transfer name in order to be consistent with other internal gems and becasue in our case we are creating associated transfer and not payment, for now.
How to test it
require "modulr"

client=Modulr::Client.new({
  base_url: "https://api-sandbox.modulrfinance.com/api-sandbox-token",
  apikey: ENV["MODULR_SANDBOX_APIKEY"]
})

client.transfers.create(
  account_id: ENV["MODULR_ACCOUNT_ID"],
  currency: "EUR",
  amount: 1,
  destination_type: "IBAN",
  destination_iban: "GB20MODR00000000000001",
  destination_name: "Test",
  reference: "Salary"
)

I'm merging this in order to start including the gem in the project. We can iterate on the given feedback later.


Support command like explorer

What feature or improvement do you think would benefit Files?
In windows terminal we can open current folder by command like Explorer:
explorer.exe .
It works with folder WSL too.
Requirements
None
Files Version
Latest
Windows Version
Windows 11
Comments
No response

Should be implemented with #3947

@yaira2 I'm trying with
files .
it's open Home folder instead current folder in terminal


[2.11b -- 1.12.2] Crash with mcjty mods

Crashlog

Startup was ok. Crashed on loading the world, about a 1 sec after.

Ok, I'll see if I can talk to McJty. The crashlog is a little puzzling to me and it could easily be an issue on McJtyLib's side.

Ok, I've quickly had a chat and he says that you should head to the McJtyLib repo with your crash report :)

Ok, I was actually unable to recreate this, so could you install this version of the mod and send your whole log, logs\latest.log?

Tested this version - no crash on world load, still crashed after successful load a bit later when I opened inventory and point to depleted TBU fuel and pressed shift. Still could be something to do with rftools builder running as quarry in another dimension.
https://pastebin.com/xiTyts5g

[21:49:08] [main/INFO] [nuclearcraft]: 1xitem.charged_porter@0
probably what you looking for?

Tested again - definitely crashed on opening inventory and just pointing to rftools porter.

Thanks very much, and thanks for posting on the other issue. Definitely a weird one though - I am still unable to induce this crash. I'll try downloading some of the other mods you have.

Ah, I have a suggestion - perhaps try Forge 2758 or earlier?

Alright, the search continues!

Addition: dimlets and parts from rftools not crashing - show tooltip ok.
Also disabled:
TOP
grappling hook
MAGE
Same.

Ok, so I found out what's going on - this was not a McJtyLib issue, but just a mistake I made in registering tooltips. This build should work now :)

Tested - crash is gone )
Gonna try new things.
Good work, thanks.

Awesome! Thanks for helping out :)


Remove obsolete assertion

The referenced javac bug has been fixed:
https://bugs.openjdk.java.net/browse/JDK-8189782

(adding buildbot, should pick it up)


Strikeout deprecated CompletionItems

Closes #50972
Changes

Add CompletionItem.deprecated
Add deprecated flag to SuggestDataDto
Add inline styling to suggest widget

@jrieken I wasn't sure if the way I was applying styles was recommended so definitely looking for feedback there (and whether or not to externalize the CSS class name)

Note that adding a dedicated deprecated property would conflict with @jrieken's proposal at
https://github.com/microsoft/vscode/issues/23927#issuecomment-387807469

@KamasamaK Confused though, because I thought it was already defined in the LSP:
https://microsoft.github.io/language-server-protocol/specification#textDocument_completion
Won't this change match that interface defined there? I assumed the interface is a 1:1 mapping.

Won't this change match that interface defined there? I assumed the interface is a 1:1 mapping.

There is no 1:1 mapping, tho often a conceptual mapping between the extension API and the LSP. @KamasamaK raises a valid point here, not sure how to proceed. Adding a single boolean is obviously the easiest change but we don't wanna do that all the time, e.g. for private, static, readonly, etc, etc. So maybe some upfront design work is needed. Also checking what @dbaeumer's plans for LSP are?

Without a lot of background/context for this, my uneducated view is that private, static, readonly would be access modifiers while deprecated seems like a separate concern, like an annotation/tag/status.

, my uneducated view is that private, static, readonly would be access modifiers while deprecated seems like a separate concern

Well, we don't wanna be to academic here. Sure 'public', 'private', 'protected', 'friend' etc are access modifiers but there is more, like 'static' or 'final' or Java's multithread modifiers like 'volatile' and 'transient'. I think there is no absolute truth and the API never tried to correctly represent actual language constructs but to be a common denominator of a UI model the reflects those things. So, one can think of a bit mask of such flags that add some extra rendering to a symbol, like a static method, or a private, deprecated constructor

I would support adding a modifier instead of a separate deprecated field. There is no rule for a 1:1 mapping. And there are requests in LSP to support more than deprecated which would lead to a modifier as well.

Once I have a hot second I can explore switching to a modifier. 👍

I will go ahead here and merge things and do more the remaining changes on master. Thanks @kamranayub

Awesome, thanks! 🙏
On Wed, Aug 21, 2019, 4:22 AM Johannes Rieken<EMAIL_ADDRESS>wrote:

Merged #78092 https://github.com/microsoft/vscode/pull/78092 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/pull/78092?email_source=notifications&email_token=AAEJU25MX3ZRVDW62IVVOLDQFUCNNA5CNFSM4IHSPBU2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTFJUE4Y#event-2572370547,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJU24HVRK2WDRYK7MC2ETQFUCNNANCNFSM4IHSPBUQ
.

No - thank you!


Fix documentation error for --store-network-log option

Fix documentation error for --store-network-log option.
🚨Please review the guidelines for contributing to this repository.
Description
Please explain the changes you made here.
Checklist

[] Created tests which fail without the change (if possible)
[ ] All tests passing
[ ] Added a changelog entry
[x] Extended the README / documentation, if necessary

Hi, thanks for submitting this PR! I recently deprecated that option, could you please update the PR?
You have an extremely sharp eye! I didn't notice that error :)

Cherry-picked & resolved in e59a2b1


Fully justify settings options in client

Looks like they're now left justified. Is that what you wanted @bretdavidson?

@jcraitz I was wondering what fully justified options might look like, so option name aligned on the left side and option checkbox aligned on the right.

I'll take a look and post screenshots.

@jcraitz I think I see what you are referring to now, it looks like the checkboxes are now to the left of the options. I believe that was a change from what I saw originally. I think that's probably fine as is then and you can ignore this issue. Thanks!


Implement Flask-Login's alternate_id with fs_uniquifier

Fixes #239

unit test to show 'old' non-fs_uniqufier still works?
This is done by any test already is it not? fs_uniquifier is only touched in test_change_uniquifier?

Doc string for get_id so is shows up in our API documentation.

Added.

we need to document somewhere about this so folks know we are using fs_uniquifier - possibly just a sentance or 2 in the features.rst where it talks about alternative_token?

I've added a small note to the session based authentication topic in features.rst

Add to docstring of set_uniquifier to add that it will render remember cookies and session cookies invalid as well.
Added.

I've also added a check for existance and validity of fs_uniquifier in the respective changes.


add some query methods to the API

add some API methods to help query the pubcache
additional tests to verify constraints
started adding dartdocs

@pq

Nits aside, LGTM!


How to create a new thread，please？

JS in "D:\asset\sys\lang\Python37\lib\subprocess.py" uses 'Popen' but cannot transpile it with PScript:

Sorry, but I don't fully understand your question. Can you please be more specific? If you're asking to use the Python threading API in PScript, not going to happen, because JS does not work that way.

i want to run flexx as app. that function is to create some process when button is pointed down。
so i use function [subprocess.Popen]. then got the error like this.
maybe i'm a new one to do right, but please teach me how to create process with button down?

Sorry, but I don't fully understand your question. Can you please be more specific? If you're asking to use the Python threading API in PScript, not going to happen, because JS does not work that way.

i want to run flexx as app. that function is to create some process when button is pointed down。
so i use function [subprocess.Popen]. then got the error like this.
maybe i'm a too new one to do right, but please teach me how to create process when button down?

Hi,
I have found no problem using Popen in flexx but it must execute in the Python code not javascript.  I do this to run sql processes on the server and to do this my structure is essentially:

Implement my flexx app as a PyComponent.
Create a root.store.doSQL component that just holds a dictionary of the runtime parameters my sql needs to know.  Create a flexx.reaction on this so that when the doSQL dictionary changes it calls a generic python function that runs sql with its runtime parameters. This reaction and the function it calls will run server side in python and therefore can contain popen calls.
On the button itself (which will execute client side in javascript) create a flexx reaction for 'pointer_click' which updates root.store.doSQL with the sql I want to run.

So the runtime process is user clicks button, which reacts to the click by updating the root data store, which reacts to the update by  running my  doSQL function (which contains the popen call or any other python specific  functions you need to run.

Hi,
I have found no problem using Popen in flexx but it must execute in the Python code not javascript. I do this to run sql processes on the server and to do this my structure is essentially:

Implement my flexx app as a PyComponent.
Create a root.store.doSQL component that just holds a dictionary of the runtime parameters my sql needs to know.  Create a flexx.reaction on this so that when the doSQL dictionary changes it calls a generic python function that runs sql with its runtime parameters. This reaction and the function it calls will run server side in python and therefore can contain popen calls.
On the button itself (which will execute client side in javascript) create a flexx reaction for 'pointer_click' which updates root.store.doSQL with the sql I want to run.

So the runtime process is user clicks button, which reacts to the click by updating the root data store, which reacts to the update by running my doSQL function (which contains the popen call or any other python specific functions you need to run.
I found the 'sensible usage patterns' section of the flexx documentation very helpful when first trying to understand this process.

oh，yes，you are right. There is no error about popen when to implement my flexx app as a PyComponent.
but I use "self.parent.parent.parent.function" in a flexx reaction when implementing my flexx app as a Widget. Now how could I do to be able to call function that exist in its parent Component?
Thank you for reply me so carefully and patiently. I'm willing to learn more knowledge and solutions from you.

If you have a child widget that is executing in javascript on the client it cannot directly call a python function on the server side, especially if that function (such as popen) has to be executed in real python not pscript transpiled to javascript.
What the child js code can do however is to update a property on a python/server side object as these properties are proxied by flexx between server and client. You can then have a reaction defined on that python side property calling the python function you wish to execute.  Like yourself I am a newcomer to flexx and finding my way so there may be better ways to do things than my suggestions, what I have found helpful is to follow the recommendations on using a 'central data store' in the 'sensible usage patterns' section of the flexx user guide as these can be easily referenced as root.store.object_name.


error while executing flutter doctor

Crash report sent (report ID: 9e770e86667710b4)
Oops; flutter has exited unexpectedly.
Crash report written to C:\Windows\System32\flutter_04.log;
\   flutter_04.log file
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter doctor
exception
ArgumentError: Invalid argument(s): Cannot find executable for where.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:127:5)
#1      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:94:30)
#2      _WindowsUtils._which (package:flutter_tools/src/base/os.dart:239:49)
#3      OperatingSystemUtils.whichAll (package:flutter_tools/src/base/os.dart:52:43)
#4      AndroidSdk.locateAndroidSdk.findAndroidHomeDir (package:flutter_tools/src/android/android_sdk.dart:336:38)
#5      AndroidSdk.locateAndroidSdk (package:flutter_tools/src/android/android_sdk.dart:360:53)
#6      AppContext._generateIfNecessary.<anonymous closure> (package:flutter_tools/src/base/context.dart:100:41)
#7      _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:293:23)
#8      AppContext._generateIfNecessary (package:flutter_tools/src/base/context.dart:88:20)
#9      AppContext.get (package:flutter_tools/src/base/context.dart:117:32)
#10     AppContext.get (package:flutter_tools/src/base/context.dart:115:23)
#11     AppContext.get (package:flutter_tools/src/base/context.dart:115:23)
#12     androidSdk (package:flutter_tools/src/android/android_sdk.dart:19:38)
#13     AndroidWorkflow.canListDevices (package:flutter_tools/src/android/android_workflow.dart:45:41)
#14     AndroidDevices.canListAnything (package:flutter_tools/src/android/android_device.dart:62:47)
#15     DeviceManager.canListAnything.<anonymous closure> (package:flutter_tools/src/device.dart:148:80)
#16     Iterable.any (dart:core/iterable.dart:388:15)
#17     DeviceManager.canListAnything (package:flutter_tools/src/device.dart:148:33)
#18     _DefaultDoctorValidatorsProvider.validators (package:flutter_tools/src/doctor.dart:90:25)
#19     Doctor.validators (package:flutter_tools/src/doctor.dart:145:46)
#20     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:151:39)
#21     Doctor.diagnose (package:flutter_tools/src/doctor.dart:252:41)
#22     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:59:39)
#23     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
#24     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#25     _rootRunUnary (dart:async/zone.dart:1134:38)
#26     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#27     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#28     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#29     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#30     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#31     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
#32     _rootRun (dart:async/zone.dart:1126:13)
#33     _CustomZone.run (dart:async/zone.dart:1023:19)
#34     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#35     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#36     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#37     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#38     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#39     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

flutter doctor
encountered exception: Invalid argument(s): Cannot find executable for where.

#0      _getExecutable (package:process/src/interface/local_process_manager.dart:127:5)
#1      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:94:30)
#2      _WindowsUtils._which (package:flutter_tools/src/base/os.dart:239:49)
#3      OperatingSystemUtils.whichAll (package:flutter_tools/src/base/os.dart:52:43)
#4      AndroidSdk.locateAndroidSdk.findAndroidHomeDir (package:flutter_tools/src/android/android_sdk.dart:336:38)
#5      AndroidSdk.locateAndroidSdk (package:flutter_tools/src/android/android_sdk.dart:360:53)
#6      AppContext._generateIfNecessary.<anonymous closure> (package:flutter_tools/src/base/context.dart:100:41)
#7      _LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:293:23)
#8      AppContext._generateIfNecessary (package:flutter_tools/src/base/context.dart:88:20)
#9      AppContext.get (package:flutter_tools/src/base/context.dart:117:32)
#10     AppContext.get (package:flutter_tools/src/base/context.dart:115:23)
#11     androidSdk (package:flutter_tools/src/android/android_sdk.dart:19:38)
#12     AndroidWorkflow.canListDevices (package:flutter_tools/src/android/android_workflow.dart:45:41)
#13     AndroidDevices.canListAnything (package:flutter_tools/src/android/android_device.dart:62:47)
#14     DeviceManager.canListAnything.<anonymous closure> (package:flutter_tools/src/device.dart:148:80)
#15     Iterable.any (dart:core/iterable.dart:388:15)
#16     DeviceManager.canListAnything (package:flutter_tools/src/device.dart:148:33)
#17     _DefaultDoctorValidatorsProvider.validators (package:flutter_tools/src/doctor.dart:90:25)
#18     Doctor.validators (package:flutter_tools/src/doctor.dart:145:46)
#19     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:151:39)
#20     Doctor.diagnose (package:flutter_tools/src/doctor.dart:252:41)
#21     _doctorText.<anonymous closure> (package:flutter_tools/runner.dart:205:26)
#22     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#23     _rootRun (dart:async/zone.dart:1126:13)
#24     _CustomZone.run (dart:async/zone.dart:1023:19)
#25     _runZoned (dart:async/zone.dart:1518:10)
#26     runZoned (dart:async/zone.dart:1465:12)
#27     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#28     _doctorText (package:flutter_tools/runner.dart:204:19)
#29     _createLocalCrashReport (package:flutter_tools/runner.dart:182:32)
#30     _handleToolError (package:flutter_tools/runner.dart:138:31)
<asynchronous suspension>
#31     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:68:22)
<asynchronous suspension>
#32     _rootRun (dart:async/zone.dart:1126:13)
#33     _CustomZone.run (dart:async/zone.dart:1023:19)
#34     _runZoned (dart:async/zone.dart:1518:10)
#35     runZoned (dart:async/zone.dart:1502:12)
#36     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#37     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#38     _rootRun (dart:async/zone.dart:1126:13)
#39     _CustomZone.run (dart:async/zone.dart:1023:19)
#40     _runZoned (dart:async/zone.dart:1518:10)
#41     runZoned (dart:async/zone.dart:1465:12)
#42     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#43     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#44     run (package:flutter_tools/runner.dart:50:10)
#45     main (package:flutter_tools/executable.dart:65:9)
#46     main (file:///C:/b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#47     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#48     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

Hi @jayant-prime
I see there's an open #47534 addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


Refactored argument filtering in bareflank_gcc_wrapper

The bareflank_gcc_wrapper's argument parsing reordered the CLI options
passed to it. This caused issue if there was an ordering dependency in
the compile or link options, and also prevented positional compiler
options from being correctly parsed. These changes allow:

consistent argument ordering
provide handling for positional arguments
correct handling of '-Wl,' options
adds support for '-mllvm', '-Xclang', '-Xlinker',
and '-Wl,--plugin-opt' CLI options

By removing the COMMON_ARGS environment variable, and limiting the
options to only two lists, the ordering of arguments can be preserved.
Additionally, I found that no '-Wl,' options were ever passed to the
linker. Earlier in the script there was a match using '-W', which
essentially prevented these linker directives from being handled.
I also added argument processing for '-mllvm', '-Xclang', '-Xlinker',
and '-Wl,--plugin-opt' CLI options. Some of these are notably Clang
specific, or require the gold linker with plugin support. 'Xlinker' is
supported by both GCC and Clang, as a way to directly pass arguments to
the linker.
Signed-off-by: Rian Quinn<EMAIL_ADDRESS>

This looks great. Thanks a ton for the PR.


some pages from mangareader.to chapters are encrypted

Hi, fellow geeks, i found that mangareader.to has a anti scraping feature that turns the chapter panel/pages of a manga into chunks to stop scraping...
mangareader.to is reconstructing them back into canvas elements, i suspect they are using a consistent key reconstruct them back... so is there a way to solve this problem

Thanks for report that, i'll check that!!

Thanks for made this issue, I'll check this.


Remove hard coded paths

This PR causes all the scripts to compute their location and thus the locations of their parent allsky directory so they can do the right things. I am running my main sky camera from /home/allsky, but am developing on my laptop under /home/ckuethe/github/allsky-ckuethe and both of these machines compute their paths properly now.
Fixes #137

Hi Chris, Tanks for the PR. I just gave it a try and I'm having paths issues. I believe this line is the issue:
ALLSKY_DIR=$(dirname $SCRIPT_DIR)
This causes errors like this:
/home/pi/allsky/config.sh: line 3: ./scripts/scripts/ftp-settings.sh: No such file or directory

Yep, I noticed that too. I'm also working on making it possible to rerun any of the nightly scripts...

What are your thought on creating a new environment variable during the install process. Something like $ALLSKY_HOME.
Then it can be used everywhere without having to redefine it in every script.

Very much in favor of something like that.
Also, I dislike having both a shell and a json config - I was thinking about maybe using cjson to get all the programs to just read a json config, potentially watch it for changes, and reload settings on the fly.

https://github.com/DaveGamble/cJSON

+1 for getting rid of the hardcoded paths. I suggest not relying on $HOME as that would continue to constrain the installation area to -a- user's home directory.  Instead, config.sh could set a BASE_DIR or such variable that can be absolute and deterministic (eg; BASE_DIR=/usr/local/allsky/) or less so (eg; BASE_DIR=${HOME}).

@daleghent I haven't merged the code yet as I'm still running test locally but this commit should address the issue. I still have to get rid of user pi in a couple of scripts (allsky service and install script) and I think it'll be ready.

I like that. Also, check out allsky_mfs.sh for some examples of setting a default variable value if it's not otherwise set...

I have finished refactoring the code and removed hardcoded paths and user pi. If you want to try it, you can checkout this branch https://github.com/thomasjacquin/allsky/tree/path-agnostic
I'll merge it to master if you don't find any issues.
Note: This is only for the allsky code, I haven't done it for the GUI yet.


Define unique primary keys in SQL / SQLAlchemy generator

Currently, the default primary key will always be an auto-generated ID. There is no possibility to set other attributes as primary key.

Beyond primary keys, there is currently no possibility to set attributes as unique (without them being a primary key).
The question is, should B-UML support setting properties as unique, even setting combination of properties as unique?

UML and B-UML support the setting of attributes as "ID", yet there does not seem to be a differentiation between unique and Primary Key like in SQL. Should our DB generators just treat B-UML's "ID" as unique and always create an integer primary key? (Setting anything besides an integer as primary key does not seem to be best practice)
@jcabot @ivan-alfonso any thoughts?

I can think of three solutions for dealing with unique fields in these generators, but I'm not sure which one is most efficient for this case:

Currently an OCL constraint could be written to specify the attributes that are unique to a class. For example,

context Person
inv UniqueDNI: Person.allInstances()->isUnique(dni)

Then the code generator would have to take as input the list of OCL constraints, and process them.

Another solution would be to add the boolean parameter is_unique to the Property class of our B-UML metamodel. But I don't know if it is worth it just for this property that would be used by some code generators (the UML specification does not consider this attribute in the way we are describing it).

You could also send to the code generator a dictionary specifying which attributes are unique, and modify the code generator to process this dictionary when the user needs to define unique attributes in the DB.


[backplane-2.0] Unsupported submariner

https://github.com/stolostron/backlog/issues/22622

/hold pending approval

/cc @jeswanke

/unhold


iOS Exception - partial apply for closure #1 in closure #1 in UserMessagingPlatformPlugin.showConsentForm(_:) + 212 (UserMessagingPlatformPlugin.swift:212)

I am using the latest version of the library. It was in production only for Android users without issue, 2 days ago I have enabled GDPR message for iOS users and start receiving the following error in Firebase Crashlitics:
Crashed: com.apple.main-thread
0  libswiftCore.dylib             0x389a8 _assertionFailure(_:_:file:line:flags:) + 576
1  Runner                         0x2ecbd4 partial apply for closure #1 in closure #1 in UserMessagingPlatformPlugin.showConsentForm(_:) + 212 (UserMessagingPlatformPlugin.swift:212)
2  Runner                         0x2ea550 thunk for @escaping @callee_guaranteed (@guaranteed Error?) -> () +<PHONE_NUMBER> (<compiler-generated>:4313998672)
3  libdispatch.dylib              0x26a8 _dispatch_call_block_and_release + 32
4  libdispatch.dylib              0x4300 _dispatch_client_callout + 20
5  libdispatch.dylib              0x12998 _dispatch_main_queue_drain + 984
6  libdispatch.dylib              0x125b0 _dispatch_main_queue_callback_4CF + 44
7  CoreFoundation                 0x3720c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
8  CoreFoundation                 0x33f18 __CFRunLoopRun + 1996
9  CoreFoundation                 0x33668 CFRunLoopRunSpecific + 608
10 GraphicsServices               0x35ec GSEventRunModal + 164
11 UIKitCore                      0x22c2b4 -[UIApplication _run] + 888
12 UIKitCore                      0x22b8f0 UIApplicationMain + 340
13 Runner                         0x7048 main + 10 (AppDelegate.swift:10)
14 ???                            0x1c964edcc (Missing)

I see it on almost all iOS versions and different models of devices, so looks like it is something common.
Here is the method that I use:
static void updateConsent(bool resetConsent) async {
    try {
      var info =
          await UserMessagingPlatform.instance.requestConsentInfoUpdate(_buildConsentRequestParameters());

      if (info.consentStatus == ConsentStatus.required) {
        await UserMessagingPlatform.instance.showConsentForm();
      }

    } on Exception catch (e) {
      print(e.toString());
    }
  }

My try-catch block doesn't help as plugin throws fatal error in the line 212:
extension UMPFormErrorCode: CustomStringConvertible {
    public var description: String {
        switch self {
        case .internal:
            return "internal";
        case .alreadyUsed:
            return "alreadyUsed";
        case .timeout:
            return "timeout";
        case .unavailable:
            return "unavailable";
        @unknown default:
            fatalError() //<-- here
        }
    }
}

Probably the issue can be solved automatically by ugrading this library to the latest UMP 2.1.0? Anyway any suggestions or help is highly appriciated as I had to turn off the plugin on iOS, but after mid of January 2024 GDPR message is required by Google and lack of the message may affect earnings.

Version 1.3.0 of this package now handles UMPFormErrorCode.invalidViewController, which caused the crash. Let me know if the upgrade to the UMP SDK fixes the issue, or invalidViewController now just shows up on the Dart side.

@blaugold thank you so much for so quick turn around. I should say that the reported by me exception was not on 100% of devices, it is a small percentage of total users, I think it is some kind of race condition or wrong state... I have upgraded to the 1.3.0 and the problem was fixed. It was my design issue when I request to show consent form several times, that is why I receive this exception as fatal. In a new version of library it is handle properly and I receive:
PlatformException(invalidViewController, The provided view controller is already presenting another view controller., null, null)
I have updated my code to not request a consent form after it was already requested. Thanks one more time!

@stepanov-standy Great! Thanks for the update.


enable github pages and add links to examples in README

Just enabling github pages (on master branch root folder), will enable users to quickly experience this awesome library examples (I've done it in my fork just for this issue) https://cancerberosgx.github.io/imagetracerjs/imagetracer_options_gallery.html
https://cancerberosgx.github.io/imagetracerjs/imagetracer_examples.html
After that, with more time, would be awesome to have a minimal playground so users are able to adjust options and transform its own images.
Thanks, great project!

I think it is enabled already, but you're right, it should be more documented, and I should add a simpler playground page.
http://jankovicsandras.github.io/imagetracerjs/imagetracer_test_automation.html


fix latest transactions css

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #1364   👈

This comment was auto-generated by Graphite.


Query all subcollection documents

Currently, most SDKs only allow querying of subcollection documents when the parent document ID is known. We should design a solution for querying all subcollection documents (e.g. all landmarks in all cities). I believe the Java SDK has an initial implementation, but it needs more discussion.

We should probably add tickets to the other SDK to implement this.

https://github.com/nitrictech/docs/issues/52

closing in favor of tickets raised against each SDK.


Add FreeBSD powerpc64le support

FreeBSD PowerPC64LE is a new target.
This is needed to cross-build cargo.

Thanks!


Voter turnout map incorrect

When viewing a choropleth, all municipalities show 100%
http://wazimap.co.za/data/map/?table=VOTER_TURNOUT_PROVINCIAL_2014&geo_ids=country-ZA,municipality|country-ZA&primary_geo_id=country-ZA

This table is a bit weird because it doesn't represent an entire population. To work around it, you can select the "Total Votes" column (which is really non-intuitive, I know).
I'm going to keep this open, we need to make this clearer.


No license

Hi,
I would really like to be able to use this ansible code, but there is no visible license anywhere in the code.
Would it be possible to add a LICENSE file at the top level of the repository to indicate whether this code is open source or not.
Currently we have to assume this code is closed source, despite it being published on github.
Thanks

Here you go: #67

Thank you very much

You are welcome!
Btw, contributions are welcome. Feel free to report any found issues.


Refactor/prettier all

Ran prettier on everything.

I think this needs to be rebased since #540 changed a lot

I think this needs to be rebased since #540 changed a lot

Prettier can simply be re-ran from development HEAD.


Propose Logo

Hi. I'm a graphic designer and an open source enthusiast. I've designed a logo for this project.
V.1

V.2

If you need anything change, please let me know.
Best Regards.

@mirzazulfan Good job! Other maintainers should also look into it.

Thanks @sveredyuk :)

@mirzazulfan Thanks for the contribution! I have two points on it:

It's not obvious what links the logos and Mongo/Mongoid
I have some problems with design itself: narrow white lines around the magnifier handle don't match round white line between colored circles. I suppose it doesn't fit some design composition principles. V.2 logos also have different offsets for white lines, so outer colored circle width is different by each white line.

Do you want to make a logo for just this gem or there is an idea behind them to make a set for all the Mongoid gem group?


Parcelable entity class error

Hope to get your help,But My English is very rotten, do not know can you understand it?Thank you
Entity is public abstract class Tables implements Parcelable
Send the Entity：intent.putExtra("table",tables);
Receiving the Entity：TableEntity tables =this.getIntent().getParcelableExtra("table");
Error info
 Caused by: java.lang.IllegalArgumentException:<PHONE_NUMBER>4376268 is not a constant in
io.requery.proxy.PropertyState
at java.lang.Enum.valueOf(Enum.java:192)
at io.requery.proxy.PropertyState.valueOf(PropertyState.java:19)
at io.requery.android.EntityParceler.readFromParcel(EntityParceler.java:63)

If the Entity is Serializable
The receiving entity will go wrong
Error info：
$proxy is NULL

Thanks for reporting! looks like a bug

Oh oh, looking forward to your update.

After parceling the entity how do you intend to use it? unfortunately right now after parceling it becomes detached from the entity store and can't be updated or persisted again. But that is something that could be changed potentially

Please try the updated beta14 version

Thank you .
parceling?I do not know of do not understand .
I intend to show in the data within the entity in another Activity
It seems that I need to learn English . Haha ☺

Hello, 14 version of the same BUG

Hey sorry about that this was because of #86 will update a new build soon that contains the change

The beta15 version contains this fix


SocketIO - Override default SocketIO reconnection

Description
Details on the fix found here
This video shows my Android phone running the Dashboard, within which:

Send a timestamp to show the connection is live
Disable the WiFi and get warned that the SocketIO is disconnected
Try to send a new message to the Dashboard and show the phone doesn't receive it
I turn on my phone's WiFi, and see the phone has reconnected
Send a "String" to the ui-text node and show that it updates on the phone.

https://github.com/FlowFuse/node-red-dashboard/assets/99246719/27ca5197-a2bb-4fc3-a766-22572496114e
Related Issue(s)
Fixes #620

This might also cover https://github.com/FlowFuse/node-red-dashboard/issues/444

This might also cover #444

I think there is a good chance it will. Are you going for a release so I can test it over the weekend?

Are you going for a release so I can test it over the weekend?

Subject to @cstns fitting in some late Friday reviewing - yes 😄

Looking good so far on the re connection recovery (though not on templates, as you suggested), but I have just seen something that I saw once on the previous release, I think.  There is a browser error
index-DkPQtye5.js:52
 Uncaught TypeError: Cannot read properties of null (reading 'close')
    at Array.<anonymous> (index-DkPQtye5.js:52:17055)
    at Object.emit (index-DkPQtye5.js:52:12243)
    at Socket.<anonymous> (index-DkPQtye5.js:244:408641)
    at Emitter.emit (index-DkPQtye5.js:236:20532)
    at Socket.onclose (index-DkPQtye5.js:236:49311)
    at Emitter.emit (index-DkPQtye5.js:236:20532)
    at Manager.onclose (index-DkPQtye5.js:236:56619)
    at Emitter.emit (index-DkPQtye5.js:236:20532)
    at lt.onClose (index-DkPQtye5.js:236:39496)
    at addEventListener.hostname.offlineEventListener (index-DkPQtye5.js:236:33850)

but I am not sure exactly when it occurred.  After that the `disconnected' popup does not appear when the network is disconnected. A refresh recovers the situation. I will see if I can make it happen again.


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1718 ms

Resolved: Jenkins Plugins Artifactory performance has improved in d04e341.


do not use local node disk space for user pods

Two possibilities here:

use PVs with retain policy DELETE so that the volumes are automatically removed when the pod is gone.
have a large shared volume where we keep state of user sessions - this would require a service to do maintenance and cleanup of these directories.

The first option above should be easy to implement. It involves the k8s admin creating a temporary (or equivalent name) storageClass and changing the volume spec in the spawners code. We should check if this storageClass exists before trying to use it and if not use emptyDir as we do now.

(edited by @ableuler 2020-11-18)
I would like to add two more options:

use PV's with retain policy DELETE similar to 1), but make the user environments statefulSets rather than "naked" pods. This would allow a pod to be recreated (for example in the case of a node failure) and prevent users from loosing data.

rather than having persistent state of individual user sessions, we could have persistent space for users, similar to a users home directory on shared HPC infrastructure. A repo would simply be cloned into this space when an environment is launched. However, to enable this we would have to mount the same volume to different user pods (same as for 2). This is similar to what was requested in https://github.com/SwissDataScienceCenter/renku-notebooks/issues/149.

We should more clearly outline the expected use-cases - for example, we might even have different "clases" of users (institutional vs. external) for which different resource limits should apply. For now we will enforce a 20GB limit for interactive sessions and work on setting up policies. Therefore this issue is pushed into the backlog.

The two options outlined in the description have very different goals in mind:

Nothing changes for the user, except that they don't loose their work when someone pulls the plug on the node that is running their session.
There is some degree of persistence between different user sessions.

I would propose to start with option 1). It seems much clearer in terms of user story and I think having done 1) will also help us to hash out 2) at some point in the future.
Option 1) could be implemented by modelling the user sessions as statefulSets which have a persistent volume attached. What is very unclear to me is to what extent the existing JupyterHub based way of spawning and exposing user sessions would have to be adapted for this.

Putting on pause for one sprint as other topics have higher priority.


Support for clear() functionality

Hi,
Thanks for this really cool and performant library! I was wondering, if you may have any plans to add the clear() functionality to the map (which need not necessarily change the capacity)? A clear() interface would be very helpful in my use-case, and it could be a quite useful feature in general.
Thanks you!

The parlayhash repository has a new implementation of parlay_hash.   It
includes a clear() function.   Note that the function names have changed
from find, insert, remove to Find, Insert, Remove.   There are also new
"find", "remove" and "erase" functions, that largely match the
std::unordered_map interface.
Guy
On Tue, Jan 23, 2024 at 3:20 PM Jamshed Khan @.***>
wrote:

Hi,
Thanks for this really cool and performant library! I was wondering, if
you may have any plans to add the clear() functionality to the map (which
need not necessarily change the capacity)? A clear() interface would be
very helpful in my use-case, and it could be a quite useful feature in
general.
Thanks you!
—
Reply to this email directly, view it on GitHub
https://github.com/cmuparlay/parlayhash/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTIVAGDQ4AH5JNLCJ53W23YQALQ3AVCNFSM6AAAAABCHTWN3SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TMOJRGIZTQNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Provide generator for bootstrapping authentication flow

While auth is easier to integrate when using the lore-auth and lore-hook-auth packages, it still requires a bunch of copy/paste if you're handling the login/logout flow as components (such as when using browser-based authentication), and even more if you're storing the token in localStorage.
It would be nice to have a generator that could just run and modify all the files, which is currently:

npm install lore-auth and lore-hook-auth
update index.js to include the lore-hook-auth hook
create Login and Logout components
add model that represents the current user (e.g. models/currentUser.js)
update Master component to fetch the current user and save it in context
add config file for config/auth.js to specify name of model
create src/auth.js file to abstract out where token is stored
set headers in config/models.js and config.collections.js

That's a bit excessive. Would be better if there was a generator that could create all that automatically, like lore generate authentication boilerplate, or just built-in as an option to the new generator, like lore new my-app --authentication --authentication-strategy=local-storage.
With the new generator, the idea would be to include all that in the project at the beginning.
Might also be worthwhile to create a way to extend the new generator, or extend it to add or override files. The challenge is that the new generator is installed in the global CLI, not in the project...so maybe approach would be to create a new project, then install the lore-generate-authentication command in .lorerc, and then run the command to add the new files.
So that would be a two-step creation process, using the default project as foundation.

On second thought, it seems a little backwards to expend effort adding support for auth when it's something nearly every application requires.
For v0.11 I'm thinking of including auth by default, integrated into the new project generator, and focused on token-based authentication. In addition to Layout and Master, it'll include two components for Login and Logout, where the Logout component will reset the store state. It will also include decorators for controlling component access based on authentication and authorization rules. I find myself adding them to every app I create, and it slows down the initial development experience.
If an app is using cookies to authenticate, where the /login and /logout routes are owned by server-rendered pages, then it's easy enough to delete the Login and Logout components and remove their reference in routes.js.


python312Packages.rustworkx: 0.14.2 -> 0.15.1

Diff: https://github.com/Qiskit/rustworkx/compare/0.14.2...0.15.1

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)

[x] sandbox = relaxed
[ ] sandbox = true

[x] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 353123 at 897f4ea6 run on x86_64-linux 1

:white_check_mark: 3 packages built:

checkov
python311Packages.rustworkx
python312Packages.rustworkx


Lightbox pop out requries pressing (X) twice to close (Twelve Theme)

When you popout an Image for the first time using the Twelve Theme, you can't press the (x) to close the image because the Next Arrow interferes. Clicking the (x) only takes you to the next image before you can click it again to close the image.
This doesnt happen if you click next and back, only on the first popout.
Galleria v1.5.7
Galleria Twelve Theme - v1.5.0

This issue still exist...


Button Height Customization in Shopify Checkout: Branding API

Steps to reproduce the behavior:
I'm working with the Shopify Checkout Extensibility branding API and I'm wondering if it's possible to set the height of a button to a specific number. Can this be done?
Screenshots

👋 There are a few ways you can change this based on your desired outcome

change the designSystem.typography.size.base and designSystem.typography.size.ratio - all padding/margins are derived from the base font size and ratio - changing this though will affect your entire checkout as a result
change the customizations.primaryButton.blockPadding to one of the other spacing variables (e.g., LOOSE or EXTRA_LOOSE) - this will increase the vertical padding on all primary buttons
change the customizations.primaryButton.typography.size to one of the other size variables (e.g., MEDIUM, LARGE or EXTRA_LARGE) - this will increase the text size on all primary buttons

hope that helps

I see that I can adjust the height of the Primary Button using the blockPadding option. When I use EXTRA_TIGHT, it becomes 34px, and with TIGHT, it becomes 47px. However, I need the button height to be 40px. Is it possible to achieve this?


Untranslated text

In the RF Builder, when I click the "Indicators" link on a level card, the popup is titled "Track indicator performance" (untranslated) and the first two options in the list are also untranslated.

When creating a new program, if the GAIT id can't be fetched from MCAPI, the first part of the warning message is untranslated: "Failed to sync GAIT program start and end dates"

Results framework translation issue is fixed.

@camgnostic Here's what I'm seeing for the GAIT ID error message:

Looks like the first sentence is still not translated.

If something ends up needing professional translation at a later date, can you add it to the list in Jira ticket 310?

@sanjuroj So are you saying that this has not yet been translated, and therefore not a technical issue (adding/fixing tags, etc.) that we can resolve for Goat Tree?

Added the untranslated string to JIRA 310, so we can consider the ticket passed for Goat Tree.


Error when consuming the generated library: Unexpected value '[object Object]' imported by the module 'AppModule'. Please add a @NgModule annotation

Bug Report or Feature Request (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Mac OS Sierra, 10.12.6
Node / Npm or Yarn Version

node: 8.4.0
npm: 5.3.0
yo: 2.0.0
yarn: 0.27.5
Targeted Angular version

4.0.0
Repro steps.

run gulp serve:demo on a freshly generated project
The log given by the failure.

Uncaught Error: Unexpected value '[object Object]' imported by the module 'AppModule'. Please add a @NgModule annotation.
    at syntaxError (compiler.es5.js:1690)
    at compiler.es5.js:15382
    at Array.forEach (<anonymous>)
    at<EMAIL_ADDRESS>(compiler.es5.js:15365)
    at<EMAIL_ADDRESS>(compiler.es5.js:26795)
    at<EMAIL_ADDRESS>(compiler.es5.js:26768)
    at<EMAIL_ADDRESS>(compiler.es5.js:26697)
    at<EMAIL_ADDRESS>(core.es5.js:4536)
    at<EMAIL_ADDRESS>(core.es5.js:4522)
    at Object.../../../../../src/main.ts (main.ts:11)

Desired functionality.

Mention any other details that might be useful.

Was working great in v3.0.0 of the generator

Hi @gatimus
To sum up, there is a limitation when consuming a linked library that has peerDependencies, as explained here. Adding --preserve-symlinks to the launched command, solves the issue.
I have updated the README.md section about that.
I've just released  v3.1.1 with the fix for that issue.
Please update and let me know if it is working fine for you.
Cheers,

@tinesoft, yes working now, thank you. I also learned you have to make sure to do ng serve --preserve-symlinks not  npm start --preserve-symlinks from the consuming app.


Broker does early verification of plugin parameters

Summary
Currently TCP plugins (but maybe other ones too) only do credential fetching and verification that all the parameters are passed in during the Connect phase. This hides the fact that a running broker may actually be broken even though we could easily verify if that's the case.
Steps to Reproduce

Start a TCP connector with missing credentials

Expected Results

Error during startup of the broker

Actual Results (including error logs, if applicable)

No error until connection is made to the connector

Related to #772


Cannot create controller manager pod

$ make deploy
...
$ k get pods -n elasticserving-system
NAME                                                 READY   STATUS                 RESTARTS   AGE
elasticserving-controller-manager-5d7f7569f9-qqzdf   1/2     CreateContainerError   0          2m40s
$ k describe -n elasticserving-system pods elasticserving-controller-manager-5d7f7569f9-qqzdf
Name:         elasticserving-controller-manager-5d7f7569f9-qqzdf
Namespace:    elasticserving-system
Priority:     0
Node:         kind-control-plane/<IP_ADDRESS>
Start Time:   Fri, 09 Apr 2021 14:30:18 +0800
Labels:       control-plane=controller-manager
              pod-template-hash=5d7f7569f9
Annotations:  <none>
Status:       Pending
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/elasticserving-controller-manager-5d7f7569f9
Containers:
  kube-rbac-proxy:
    Container ID:  containerd://3d758fa7bcd65f232829ef4e5832c2e25b9e567eca60e09e0df2246b4b3cac58
    Image:         gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
    Image ID:      gcr.io/kubebuilder/kube-rbac-proxy@sha256:e10d1d982dd653db74ca87a1d1ad017bc5ef1aeb651bdea089debf16485b080b
    Port:          8443/TCP
    Host Port:     0/TCP
    Args:
      --secure-listen-address=<IP_ADDRESS>:8443
      --upstream=http://<IP_ADDRESS>:8080/
      --logtostderr=true
      --v=10
    State:          Running
      Started:      Fri, 09 Apr 2021 14:30:18 +0800
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-77gcm (ro)
  manager:
    Container ID:
    Image:         ruminateer/paddleservice-controller:latest
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Command:
      /manager
    Args:
      --metrics-addr=<IP_ADDRESS>:8080
      --enable-leader-election
    State:          Waiting
      Reason:       CreateContainerError
    Ready:          False
    Restart Count:  0
    Limits:
      cpu:     100m
      memory:  30Mi
    Requests:
      cpu:        100m
      memory:     20Mi
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-77gcm (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  default-token-77gcm:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-77gcm
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  4m11s                  default-scheduler  Successfully assigned elasticserving-system/elasticserving-controller-manager-5d7f7569f9-qqzdf to kind-control-plane
  Normal   Pulled     4m12s                  kubelet            Container image "gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0" already present on machine
  Normal   Created    4m12s                  kubelet            Created container kube-rbac-proxy
  Normal   Started    4m12s                  kubelet            Started container kube-rbac-proxy
  Normal   Pulled     4m9s                   kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 3.0157873s
  Warning  Failed     4m9s                   kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount867423001: no users found
  Normal   Pulled     4m5s                   kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 3.3385086s
  Warning  Failed     4m5s                   kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount036616822: no users found
  Warning  Failed     3m49s                  kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount384412567: no users found
  Normal   Pulled     3m49s                  kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 3.0498062s
  Normal   Pulled     3m31s                  kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 6.855194s
  Warning  Failed     3m31s                  kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount871756236: no users found
  Normal   Pulled     3m13s                  kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 3.4363819s
  Warning  Failed     3m13s                  kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount770798245: no users found
  Warning  Failed     2m56s                  kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount503797490: no users found
  Normal   Pulled     2m56s                  kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 3.3713002s
  Normal   Pulled     2m40s                  kubelet            Successfully pulled image "ruminateer/paddleservice-controller:latest" in 3.0491761s
  Warning  Failed     2m40s                  kubelet            Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount547118531: no users found
  Normal   Pulling    2m28s (x8 over 4m12s)  kubelet            Pulling image "ruminateer/paddleservice-controller:latest"

fixed in 6266a5cf82301ad1e7e18f0890bfd2d449f8309d, but not sure how it works yet


How to add id to parent div after body and div after the div with id "__next" ?

If i'm correct, try this
[data-reactroot] {
          height:100%;
        }

If I assume we're talking about same div :).
[data-reactroot] {
          your-css:
        }

Fixed in https://github.com/zeit/next.js/pull/2802, hasn't been released yet though :ok_hand: do note this adds the ability to add a className. But there's virtually no difference.


fix bug in controlled selection #41966

Summary:
This fixes bug #41966 in changing selection via controlled selection of the TextInput when using children (when prop.value is not used).
Changelog:
[ANDROID] [FIXED] - fix changing controlled selection of TextInput when using children
Test Plan:

This is the repo of the bug, it's fixed after the change. If unit tests are required I would need a hit on how to write them.

IT seems that flow typechecker doesn't understand that props.value is a string:
    const nativeUpdate: {text?: string, selection?: Selection} = {};
    const haveValue = typeof props.value === 'string';

    if (lastNativeText !== props.value && haveValue) {
        nativeUpdate.text = props.value;

got error:

Cannot assign props.value to nativeUpdate.text because null or undefined [1] is incompatible with string [2].

But this is a string, there is a check.

Should we just assign text on L1153 to null if value isn't present? I think the only place previously relying on empty string was here.

Yes, that will work, let me change that.

I'm not sure.

I can change that code to null but I'm not sure if it will not break anything.
Is there any unit test that will make it safe? I can also add a new one. But I'm not sure where are the tests.

Aweseome.

It does work for me on iOS with RN 0.76.1. I will patch RN.

@smfunder great news, I need to check my demo project after upgrade.
But note that my fix was not merged and the issue was closed.

@jcubic thank you for the fix. Yes, I applied to the RN 0.76.1 code and created a patch file using patch-package. Now I'm able to make the selection correctly by code.

@smfunder I misunderstood, I thought it was working without my PR.


uninitialized constant ActionController (NameError)

hello
i'm using 1.0.0.rc  for cache_store in my environment.rb
config.cache_store = :redis_store
its runs well when start web server, but when i am run my spec or console, i got error  uninitialized constant ActionController (NameError)
i changed action_controller/session/redis_session_store.rb like this:
if ::Redis::Store.rails3?
class ActionDispatch::Session::RedisSessionStore < ActionDispatch::Session::AbstractStore
include RedisStore::Rack::Session::Rails
end
else
require 'action_controller'
class ActionController::Session::RedisSessionStore < ActionController::Session::AbstractStore
include RedisStore::Rack::Session::Rails
end
end
then it works!!
hope u fix it, think u

Which version of Rails are you using?

i am using 1.0.0.rc for cache_store


Resizing windows with pipelined rendering enabled results in flickering and Vulkan validation errors

Bevy version
Latest version from Github (5d514fb24f2459700f68d8e57d4791bdf5b1b595)
When I have a simple bevy example without the pipelined rendering plugin enabled, everything works fine when resizing the window. When the pipelined rendering plugin is added, the window is flickering while resizing and there are vulkan validation errors:
2023-01-31T12:53:07.394738Z ERROR wgpu_hal::vulkan::instance: VALIDATION [VUID-VkSwapchainCreateInfoKHR-imageExtent-01274 (0x7cd0911d)]
	Validation Error: [ VUID-VkSwapchainCreateInfoKHR-imageExtent-01274 ] Object 0: handle = 0x22345e91a70, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x7cd0911d | vkCreateSwapchainKHR() called with imageExtent = (1622,750), which is outside the bounds returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): currentExtent = (1620,756), minImageExtent = (1620,756), maxImageExtent = (1620,756). The Vulkan spec states: imageExtent must be between minImageExtent and maxImageExtent, inclusive, where minImageExtent and maxImageExtent are members of the VkSurfaceCapabilitiesKHR structure returned by vkGetPhysicalDeviceSurfaceCapabilitiesKHR for the surface (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/windows/1.3-extensions/vkspec.html#VUID-VkSwapchainCreateInfoKHR-imageExtent-01274)

I don't know what exactly is going on there, but I can imagine that we need to wait for all frames being finished before resizing the window in the extract_windows system.
Here is the code I used:
use bevy::app::{App, PluginGroup, PluginGroupBuilder};
use bevy::DefaultPlugins;

pub struct SomePlugins;

impl PluginGroup for SomePlugins {
    fn build(self) -> PluginGroupBuilder {
        let mut group = PluginGroupBuilder::start::<Self>();
        group = group
            .add(bevy::log::LogPlugin::default())
            .add(bevy::core::TaskPoolPlugin::default())
            .add(bevy::core::TypeRegistrationPlugin::default())
            .add(bevy::core::FrameCountPlugin::default())
            .add(bevy::time::TimePlugin::default())
            .add(bevy::transform::TransformPlugin::default())
            .add(bevy::hierarchy::HierarchyPlugin::default())
            .add(bevy::diagnostic::DiagnosticsPlugin::default())
            .add(bevy::input::InputPlugin::default())
            .add(bevy::window::WindowPlugin::default());

        group = group.add(bevy::asset::AssetPlugin::default());
        group = group.add(bevy::scene::ScenePlugin::default());
        group = group.add(bevy::winit::WinitPlugin::default());
        group = group.add(bevy::render::RenderPlugin::default())
            .add(bevy::render::texture::ImagePlugin::default());
        //group = group.add(bevy::render::pipelined_rendering::PipelinedRenderingPlugin::default());
        group = group.add(bevy::core_pipeline::CorePipelinePlugin::default());
        group
    }
}

fn main() {
    App::new()
        .add_plugins(SomePlugins)
        .run();
}

In the newest version, the flickering disappeared. The swapchain validation layer error still persists. I have not tested which commit actually fixed it, but it is not flickering anymore.

Duplicate of https://github.com/bevyengine/bevy/issues/3451?

Yea, the thing is the flickering was basically some different issue, but since it is fixed now, it is basically the same issue!


Map home addresses to municipality

It'd be good to make sure we're routing data to the correct registrar. This is best accomplished with VGIN's geocoder, which is both accurate and official.

This'll be a feature to add down the line. Seems like we should either a) error-check the form to confirm that the person's address matches her claimed locality or b) pre-populate the locality field after the person enters her address.


ALSA lib pcm.c:8559:(snd_pcm_recover) underrun occurred

I have tonaussetzter and see in the logs at this time then always the following message:
beocreate vollibrespot[1375]: ALSA lib pcm.c:8559:(snd_pcm_recover) underrun occurred

What does it mean? How can i fix it?

Do share more details w.t.r what hardware, and what was else was going on when this happens?


when part of data only have si without f, the these data's formula is invalid

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
0.2.15
Reproduction link
NA
Expected behavior
when some data rows with si and f in cell data, and some data rows only have si without f. Hope the data rows with si use formula normally.
Actual behavior
The data rows only with si formular is invalid. If all data rows have si only, then the formula is good to present. But when some data rows have si and f and some data rows have si only, problem is occured.
System information
node.js v20, windows, chrome.

Normally, cells with si and f are allowed to appear together with cells with only si.
It would be best if you could provide a complete reproduction of the problem


what are all the vars for strums

What is your question?
what are the strum vars?

strumLineNotes


Type definitions and tests for path-case

https://github.com/blakeembrey/path-case
https://www.npmjs.com/package/path-case

path-case/path-case.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/path-case
http://bower.io/search/?q=path-case
others?

[X] has a test file? (path-case/path-case-tests.ts or others)
[ ] pass the Travic-CI test?

@stpettersens thanks mate!


[RCA demo only] Remove dependency on jq from RCA demo's create annotation script

Only required for the rca_ingress_obs branch
The create_release_annotation script relies on jq for response parsing. jq is not a native package so we should remove that dependency and replace that response parsing with either something like cut or sed, or simplify the response handling to only print the HTTP status code.
Note: A quick and dirty example of simply printing the HTTP status code back to the user is here: https://github.com/elastic/opentelemetry-demo/blob/rca_ingress_obs/scripts/rca-demo/post-setup#L33, but it only prints the first line of the HTTP header response, e.g.
HTTP/1.1 200 OK

This obviously isn't great for debugging why something failed but in a pinch it works ok for letting people know if things succeeded or failed, let me know if you want more details on how it works.

Closed by https://github.com/elastic/opentelemetry-demo/pull/121


Update typing for Performance.prototype.mark

The spec includes a second optional param called PerformanceMarkOptions.
See: https://w3c.github.io/user-timing/#extensions-performance-interface

Learned that this is still a draft spec. closing


Provide management interface SDK

The http interface provided by tube is too complicated to use, it is best to provide an SDK that encapsulates the original http interface logic

@zhaolei-best, well, agree with your point of view.
This place is really a bit complicated: the master of TubeMQ is a multi-node hot standby mode, and the nodes will be switched at any time during runtime. If the HTTP API can be encapsulated, it will be much more convenient for external programs to call the API.
Let me see how to improve this one

This requirement is supported by the HttpUtils.java[1] class, no need to construct SDK
There are programs that need to access TubeMQ's Master server collection through HTTP, you can refer to the demo example and use it directly
[1] inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/utils/HttpUtils.java


Use consistent indentation for .proto files.

In all other repositories, single tabs are used for indentation in .proto files.
/cc @neelance

LGTM


chore: add ts support

In my current project, we're using Typescript. So, to add support to this package I needed to add a file .d.ts with type-checks.
If you guys believe that it could be a good idea adding an index.d.ts file into this project I can contribute doing this.

we need TS definitions too :)


Competition creation & columns

If you try to create a competition now, columns have no way of referencing each other!
I suggest we make it so you cannot add column computations until a competition is saved. Also, you shouldn't be able to reference columns until they are individually saved, so when editing a competition that has already been saved, new column additions should be saved automatically.
Todo:

[ ] Make competition form "disable" computation section while competition.id == undefined
[ ] Make columns save as soon as input is saved, IF competition.id != undefined
[ ] Remove any columns without a .id from computation_columns selector
[ ] Make ColumnSerializer throw an error if you try to pass computation_columns during a create//when it doesn't have a parent yet

- OR -

[ ] Don't allow editing Leaderboard at all until competition has been saved, and then Leaderboard interacts with a leaderboard API all on its own..? This could be the same with collaborators tab!

Handled this using indexes to reference each other and DRF nested writable


[docs] Remove unnecessary steps from Go modules doc

What does this PR do?

Remove unnecessary steps from Go modules document.

Motivation

Keep it up to date.

Merging without review since it is a docs-only PR that only deletes stuff


Cascade _target.kind not accepting glob pattern

What version of Hugo are you using (hugo version)?

hugo v0.86.1-F6821B88+extended darwin/amd64 BuildDate=2021-07-30T10:13:35Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes
Using the following cascade configuration:
# content/_index.md
cascade:
- _target:
    path: /poetry/**
    lang: en
    kind: '{section,page}'

Hugo returns the following error:
Error: Error building site: ".../content/en/_index.md:1:1": "{section,page}" is not a valid Page Kind

As per doc:

A Glob pattern matching the Page’s Kind(s), e.g. “{home,section}”.

I closed this when I was in a little bit of a grumpy mood -- we should fix this. :-)

Maybe for this particulier case it would be easier for both maintainers and users to add a kinds key which take an array rather than suggest glob for a list of predefined and documented strings...


Check browsers support and reorganize Gulp config

Add the check:browserSupport gulp rule with doiuse to check CSS browsers support.
Gulp files reorganization:

move all config variables from gulp files to gulp/config.js
move gulp task files to gulp/tasks
move doiuse gulp task  to gulp/tasks/check.js

Other changes:

rename some config variables

LGTM


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unexpected keys without expiration

Hi.
We use Azure redis cache.
All of our keys are created with this code using StackExchange.Redis
public RedisCacheService(
            IConnectionMultiplexer cacheConnection)
        {
            _cacheConnection = cacheConnection;
            _cache = cacheConnection.GetDatabase();
        }

public async Task<long> IncrementAsync(string key, TimeSpan expiration)
        {
            var redisKey = new RedisKey(key);
            var tran = _cache.CreateTransaction();
            _ = tran.StringSetAsync(redisKey, 0, expiration, When.NotExists);
            var counterTask = tran.StringIncrementAsync(redisKey, 1);
            if (await tran.ExecuteAsync())
            {
                return await counterTask;
            }
            throw new InvalidOperationException($"Redis transaction failed.");
        }

I check for keys without expiry, by running this command via Redis console window in Azure portal:
EVAL "local keys = {} for i, name in ipairs(redis.call('keys', '*')) do local persistent = redis.call('pttl', name) < 0 if persistent == true then table.insert(keys, name) end end return keys" 0

Over the weekend we do ~42M sets.
I would expect there to be 0 keys without expiration. However, the above command returns 11.
If I delete these 11 keys, after a while there again are keys without expiration.
What could be causing this?
Thanks.

Just a quick update.
Rewrote our code to evaluate the following script
@"local current
current = redis.call('incr',@key)
if current == 1 then
redis.call('pexpire', @key, @timeout)
end
return current";
And the issue now seems to be fixed.


Neat!

This article is NEAT! Thank you!

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

ID: 384e5c2c-d3ba-b5ba-260b-65b8e900b78e
Version Independent ID: a561cbc7-1e00-5732-e298-d9863f85191c
Content: Subscribing to events
Content Source: docs/standard/microservices-architecture/multi-container-microservice-net-applications/subscribe-events.md
Product: dotnet
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

Glad you liked it! :)


replace ipv6 prefix with ipv6 address

Fixes #N/A
Description
Since EC2 doesn't support primaryIPv6 and IPv6 prefix, we have to switch to IPv6 /128 address with primary IPv6 as true. Also we should remove the AssociatePublicIPAddress from the if check since the provisioned network interface by default with a instance won't be different from what we set in the if block.
How was this change tested?
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 82.854%

Totals

Change from base Build<PHONE_NUMBER>3:
0.02%

Covered Lines:
5678

Relevant Lines:
6853

💛  - Coveralls


Change joinSpace to use linked wallets again UserEntitlements, and to fetch root key for wallet

2 changes here:

membership facet now fetches linked wallets and uses them to evaluate user entitlements for joining the space
Entitled.sol wallet linking code is modified to fetch the root key for a user if that user itself does not have any wallets attached to it, and return that set of wallets instead.

Testnet Proposal: https://testnets.llama.xyz/orgs/river/base-sepolia/actions/102


Remove VC Runtime dependency from Zlib Native Nuget package

The Zlib Native Nuget package (grpc.dependencies.zlib.redist) is compiled with DLL version of the VC++ runtime library. For Visual Studio 2015 (platform v140) it requires the VC++ Runtime 2015 to be installed on end user machine, or manual distribution of vcruntime140.dll and ucrtbase.dll and some other DLL files.
Can you update this package to use staticaly linked runtime?
PS: The OpenSSL nuget package grpc.dependencies.openssl.redist uses static run-time library so it has not external dependencies.

Is this affecting you when using C++ or C#?
Btw, I am currently working on improving our CMake building capabilities on Windows, which might eventually deprecate the current Windows build (generated VS projects + nugets for openssl and zlib) completely.

Libraries distributed with C# does not need the VC++ 2015 Runtime (AFAIK).
This is affecting only gRPC v1.0 C++ libraries for Windows and only the zlib dependency.

Using the recent improvement to our CMake build on Windows, you should be able to build gRPC C++  with or without VC++ runtime.
https://github.com/grpc/grpc/blob/f7f25fc01ec75670e9d11c8852b296527837dd9d/CMakeLists.txt#L93
Building with CMake is now the recommended way of building gRPC C++ on Windows, as it uses boringssl instead of older version of openssl and the build in generally cleaner.
We might be deprecating the zlib nuget package, so I will close this issue now.

@jtattermusch this change sort of broke grpc 1.2.0 nuget package on windows as msvc++ runtime is not statically linked anymore, so the services fail to start.

@vadimi  you probably need to install https://www.microsoft.com/en-us/download/details.aspx?id=48145 (at least as a workaround that should help).


Show time of last crawling operation in /feed and /events

Show time of last crawling operation in /feed and /events
Display the information of how often the crawler runs
Have a page refresh button that activates if the page may contain new data

We now have a last_crawled_at column in the Source event. This information could easily be taken from there. Selecting the highest value of that column should be enough. I'd skip adding the refresh button however


Add Unit Test: Topic Message Query

This has unit tests in Java, but those are seemingly actually in-process integration tests with a mock and such


test: fix node dependencies

What ❔
fix npm issue
Why ❔
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

Looks good to me - Documents build completed


Timeout Exception when running tests from neovim

Metals 0.11.12
Build Server sbt 1.8.2
sbt-debug-adapter 3.0.9
Hello,
While using nvim-metals to run my tests I get the following error:
"Could not start debuggee TestSuitesDebuggee(file:/...#my-project/Test, [Test com.foo.BarSpec : subclass(false, org.scalatest.Suite)]) due to: Operation timed out after 5 seconds"

Launching a main class does work however, as does running the tests using Bloop as my build server.
I get the following dap traces:
[Trace][05:15:22 PM] Sent request:
{
  "type": "request",
  "seq": 1,
  "command": "initialize",
  "arguments": {
    "clientId": "neovim",
    "clientname": "neovim",
    "adapterID": "nvim-dap",
    "pathFormat": "path",
    "columnsStartAt1": true,
    "linesStartAt1": true,
    "supportsRunInTerminalRequest": true,
    "supportsVariableType": true,
    "supportsProgressReporting": true,
    "supportsStartDebuggingRequest": true,
    "locale": "en_US.UTF-8"
  }
}
[Trace][05:15:27 PM] Received response:
{
  "type": "response",
  "seq": 1,
  "request_seq": 1,
  "command": "initialize",
  "success": true,
  "body": {
    "supportsConfigurationDoneRequest": true,
    "supportsHitConditionalBreakpoints": true,
    "supportsConditionalBreakpoints": true,
    "supportsEvaluateForHovers": false,
    "supportsCompletionsRequest": true,
    "supportsRestartFrame": true,
    "supportsSetVariable": true,
    "supportsRestartRequest": false,
    "supportTerminateDebuggee": true,
    "supportsDelayedStackTraceLoading": false,
    "supportsLogPoints": true,
    "supportsExceptionInfoRequest": true,
    "exceptionBreakpointFilters": [
        "filter": "uncaught"
        "label": "Uncaught Exceptions",
        "filter": "uncaught"
      },
      {
        "label": "Caught Exceptions",
        "filter": "caught"
      }
    ],
    "supportsDataBreakpoints": true,
    "supportsClipboardContext": true
  }
}
[Trace][05:15:27 PM] Sent request:
{
  "type": "request",
  "seq": 2,
  "command": "launch",
  "arguments": {
    "type": "scala",
    "name": "RunOrTest",
    "request": "launch"
  }
}
[Trace][05:15:32 PM] Received response:
{
  "type": "response",
  "seq": 2,
  "request_seq": 2,
  "command": "launch",
  "success": false,
  "message": "Could not start debuggee TestSuitesDebuggee(file:/...#my-project/Test, [Test com.foo.BarSpec : subclass(false, org.scalatest.Suite)]) due to: Operation timed out after 5 seconds"
}

MetalsDoctor gives me this:
  - target type: Scala 2.13.10
  - compilation: ✅
  - diagnostics: ✅
  - interactive: ✅
  - semanticdb: ✅
  - debugging: ✅
  - java: ⚠

I believe the error comes from this timeout, but I can't figure out why it happens. I tried using the master versions of both metals and sbt-debug-adapter and I get the same result.

Thanks @kimlai for the detailed bug report.
It seems that the debuggee process failed to start but it is weird that we don't get any stderr event in the DAP traces. As if the process did not start at all. Or maybe it started but did not print anything to the console.
Does it happen in a single project or many of them? Can you share it so that we can reproduce the bug? Or can you minimize it?
What's your Java version? What's your javaOptions in your build: sbt show my-project/Test/javaOptions?

Hi @adpi2,

Does it happen in a single project or many of them?

It happens on at least 2, but they have a very similar configuration.

Can you share it so that we can reproduce the bug? Or can you minimize it?

Unfortunately those are private repositories, I can try to create a minimal project to reproduce it but I'm pretty new to Scala and sbt so I'm not sure I'll have the time (I did confirm that everything was ok on the basic scalatest template ).

What's your Java version?

$ cs java --installed
adopt:1.11 installed at /Users/kimlai/Library/Caches/Coursier/arc/https/github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11%252B28/OpenJDK11-jdk_x64_mac_hotspot_11_28.tar.gz/jdk-11+28/Contents/Home

What's your javaOptions in your build: sbt show my-project/Test/javaOptions?

Looks like the project is not using any:
[info] List()

Is there else anything that I can do to try to get more logs/information, maybe modify some parts of this project and use the modified version locally?

Not sure if it can help but I also got this trace from .metals/bsp.trace.json:
[Trace - 03:51:16 PM] Received response 'debugSession/start - (22)' in 881ms
Result: {
  "uri": "tcp://<IP_ADDRESS>:59352"
}
Error: null

[Trace - 03:51:16 PM] Received notification 'build/logMessage'
Params: {
  "type": 2,
  "message": "Found duplicate entry refined_2.13 in debuggee TestSuitesDebuggee(file:/Users/kimlai/my-project/#root/Test, [Test foo.BarSpec : subclass(false, org.scalatest.Suite)])"
}

[Trace - 03:51:16 PM] Received notification 'build/logMessage'
Params: {
  "type": 2,
  "message": "Found duplicate entry jackson-core in debuggee TestSuitesDebuggee(file:/Users/kimlai/my-project/#root/Test, [Test foo.BarSpec : subclass(false, org.scalatest.Suite)])"
}

[Trace - 03:51:18 PM] Received notification 'build/logMessage'
Params: {
  "type": 3,
  "message": "Configured debugger context in 1 second"
}

Ok I tried removing the line at BestmilePlugin.scala:23 and it does solve the problem. This is an internal sbt plugin so I'll close this issue and try to figure out why the offensive line makes the debugger fail.
Thanks a lot for your help! Maybe the additional logs could actually make their way to main, it would have helped a bunch :)


Only sort enabled mods by order

Currently the mod loader can't support cyclic mod dependencies. This doesn't fix that. It however checks if disabled mods have cyclic dependencies even though they aren't going to be loaded. This PR has it ignore disabled mods when sorting.
Else you can have a mod with cyclic dependency, disable it, and still have your load order broken on all other mods. Was happening with outdated Outsider Translation mod.

Also should this be merged into dev or can we skip right into master


Wrong "aggregate" value in Spain country rows (should be "country" instead of "state")

Commit SHA:
commit c4af4d71d781ac9fd204713b41cd79650519497c (HEAD -> master, origin/master, origin/HEAD)
Merge: f23824d 3de7d90
Author: Manuel Alvarez Campo<EMAIL_ADDRESS>Date:   Sat Apr 4 13:48:16 2020 +0200
Merge pull request #35 from shaikh-raj/master
Adding metadata for CDS datasource

Python version:3.7

Operating System:Windows

Data source: cds

Description
Wrong "aggregate" value in Spain country rows (should be "country" instead of "state")
Code I use to change in exploration phase the error:
data_cds.loc[(data_cds["country"] == "Spain") & (data_cds["state"].isnull()), "aggregate"] = "country"
By the way, despite the normal little mistakes; great job of the api!

Thanks @JuanCalvoFerrandiz  for another detailed bug report.
I have checked and will fix it soon!


Compatibility with Python 3.5+ ?

I'm seeing at least one spot where the repository doesn't seem to be compatible with Python 3.5     ( just a print statement.. )   But was wondering if the library could be tested and notated as such.  The setup.py seems to have it pegged at 2.7
Much Thanks!

I too would like to know if this will get Python 3.5+ support

I do see a closed PR for Python 3 support (https://github.com/morefigs/py-ic-imaging-control/pull/5).
However, in master, demo.py I see the problematic 'print' statement.
So I'm not sure I understand the current state of Python 3 support.


How to deal with parameters like SpringMVC requestBody have no key

How to deal with parameters like SpringMVC requestBody have no key .
I just want post String like :{"name":"hyberbin"} to the connection,it is a json data。
How  do I join your team?I have solved the problem, I want to submit code.
@RequestMapping(value = "/search", method = RequestMethod.POST)
@ResponseBody
protected Object search(@RequestBody StudentInfo studentInfo, HttpServletRequest request) {
}

Hi -- you can submit a pull request if you have an implementation. Please include tests in URLConnectTest, and docs. Thanks!

Although I think there's already a pull request out there to set the post body data directly, not through the KeyPairs.

Request body setting is supported now.


Unable to bring cpu1 back online

I get a kernel panic when I attempt to bring cpu1 back online after setting if offline. This is the serial console output.
root@batnode1:~# echo 0 > /sys/devices/system/cpu/cpu1/online
root@batnode1:~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 4

Hardware        : Allwinner sun7i (A20) Family
Revision        : 0000
Serial          :<PHONE_NUMBER>000000
root@batnode1:~# echo 1 > /sys/devices/system/cpu/cpu1/online
[  129.570315] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
[  129.570331] CPU0: stopping
[  129.570400] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D       3.16.0-rc7-00003-g6c95cb1-dirty #12
[  129.570453] [<c02166dc>] (unwind_backtrace) from [<c0212280>] (show_stack+0x10/0x14)
[  129.570496] [<c0212280>] (show_stack) from [<c08874e4>] (dump_stack+0x88/0x98)
[  129.570533] [<c08874e4>] (dump_stack) from [<c0214efc>] (handle_IPI+0x148/0x174)
[  129.570569] [<c0214efc>] (handle_IPI) from [<c0208928>] (gic_handle_irq+0x58/0x5c)
[  129.570603] [<c0208928>] (gic_handle_irq) from [<c0212e00>] (__irq_svc+0x40/0x50)
[  129.570632] Exception stack(0xc0bf5f58 to 0xc0bf5fa0)
[  129.570656] 5f40:                                                       ffffffed 00000000
[  129.570689] 5f60: ffffffed c021c3c0 c0bfc4c4 c0bfc458 00000000 00000000 c0bf0ee0 c0bf4000
[  129.570723] 5f80: 00000000 c08927c0 00000020 c0bf5fa0 c020fd04 c020fd08 60000013 ffffffff
[  129.570760] [<c0212e00>] (__irq_svc) from [<c020fd08>] (arch_cpu_idle+0x38/0x3c)
[  129.570798] [<c020fd08>] (arch_cpu_idle) from [<c027ae28>] (cpu_startup_entry+0x1dc/0x210)
[  129.570837] [<c027ae28>] (cpu_startup_entry) from [<c0b61b90>] (start_kernel+0x374/0x380)

A quick test just now after the recent refresh, suggests this is now fixed. Please reopen if still occurring for you.


Fix a bug with the way frequency is scaled in pulse_instruction.py (#4872)

Summary

In methods convert_set_frequency and convert_shift_frequency (pulse_instruction.py), there are 2 conditional branches where the input frequency is not properly converted from GigaHertz to SI units.
Added tests to check against the error above.
Fixed signature for method assemble_schedules (assemble_schedules.py)

Details and comments

Thanks for breaking this out @mlarocca.

No problem! Happy to help :-)


Rendered Help doesn't show default value for Options

This is marked as a TODO in the source, willing to submit a PR do we want it rendered just as:
--<name> - <description> (Default: <default>)

Flags should also probably be updated to --[no-]<name> - <description> (Default: false)

@robertjpayne A PR here would be very welcome.


FoD ISO can not be downloaded with Windows Server vNext Preview - Build 17713

I'd like to try out the function of FoD with ver 17713, but there seems to be no ISO download link of FoD from
https: //www.microsoft.com/en-us/software-download/windowsinsiderpreviewerver.
In Ver 17713, where can i download the FoD ISO from?

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

ID: 30f7de7e-c8cd-793d-6fb8-3345824f5914
Version Independent ID: 4ea62ad0-9a4d-1456-be70-22a9a3f614fa
Content: What's new in the Windows Server 2019 Insider Preview Builds
Content Source: wip/at-work/Whats-new-wip-at-work.md
Service: wip-at-work
GitHub Login: @dawn.wood
Microsoft Alias: dawn.wood

Hi MasayukiOzawa,
We did not release the FOD with 17713 due to a problem with installation. It will be back with the next Insider release.
Hope this helps.


Makes sure viewer's stylesheet uses media:all for printing

http://apidock.com/rails/ActionView/Helpers/AssetTagHelper/stylesheet_link_tag
defaults to screen, so we end up not using the media print in the css.
I changed it to media: all in the viewer file

@yayajacky thank you 💛


Update health-check.adoc

There was a mistake in the documentation. The sample was overriding the method isLiveness when it should instead of isReadiness.

Thanks


No Syntax Highlighting

How come I don't get any syntax highlighting?  Here is my .vimrc:
set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" " alternatively, pass a path where Vundle should install plugins
" "call vundle#begin('~/some/path/here')
"
" " let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" " plugin on GitHub repo
" Plugin 'tpope/vim-fugitive'
Plugin 'mxw/vim-jsx'

"vim-react-snippets:
Plugin 'justinj/vim-react-snippets'

"
" SnipMate and its dependencies:
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'

" Better JSON highlighting
Plugin 'elzr/vim-json'

" " All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " requirePlugin 'mxw/vim-jsx'

" " To ignore plugin indent changes, instead use:
" "filetype plugin on
" "
" " Brief help
" " :PluginList       - lists configured plugins
" " :PluginInstall    - installs plugins; append `!` to update or just
" :PluginUpdate
" " :PluginSearch foo - searches for foo; append `!` to refresh local cache
" " :PluginClean      - confirms removal of unused plugins; append `!` to
" auto-approve removal
" "
" " see :h vundle for more details or wiki for FAQ
" " Put your non-Plugin stuff after this line

set tabstop=4 shiftwidth=4 expandtab

here's :ve
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 17 2012 10:23:31)
Included patches: 1-411
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.    I must missed something.  Is it because my term was set to vt100?

changing my terminal to xterm helped.  thanks!


Fix WiFiStation buffer management

The issue raised trying to download a file with WiFi interface. Download stops before reaching the end of the file.
The root cause of the problem is that each time getStationRx is called the package is poped from the queue and if the subsequentially pbuf_alloc call fails the package is lost.
With the proposed changes we first check the size of the package in the queue calling peekStationRxMsgSize() and we pop it only if pbuf_alloc call is succesful, otherwise we retry the next run.
edit - Issue and proposed solution description
/cc @andreagilardoni

Sketch to reproduce the issue:
DownloadC33-PR.zip

What was the problem? I also see that a variable, if_num, seem to be undefined, yet it is being called by reference in CnetIf.cpp, line 1376:
uint8_t if_num;
The outcome is not in use, however, that could change :-) Well. Let me know what is the problem with the WiFIStation buffer management, and what the bugfix does.

@Fashion-Corp i've updated the PR description with an explanation of the problem. if_num is initialized here if a valid mesage is found, however it is not used in CWifiStation::task() so it should not be an issue.


Facility ID search

The copy/paste functionality of the facility Id into the facility filter in CAMPD UI is not working. You should be able to put in a list like "3|4|5|10" and it should pull back all matches and identify mismatches. This functionality worked properly before the deployment. Please make sure this is not another branching issue. I'm hoping it will be addressed by the fix from the emissions API that we are testing today. Please let me know if you have any questions.

Fix verified on staging. When I enter "7|10" and apply filter, results display.

Verified in production  When I enter "3|7|10" and apply filter, results display.


Support for Solr 4.0 error messages

Solr 4.0 handles errors and gets json or xml document with error message:
{
    "responseHeader": {
        "status": 400,
        "QTime": 2,
        "params": {
            "fl": "*,score",
            "fq": "id:{asdf asdf TO *}",
            "q": "*:*"
        }
    },
    "error": {
        "msg": "org.apache.lucene.queryparser.classic.ParseException: Cannot parse 'id:{asdf asdf TO *}': Encountered \" \"TO\" \"TO \"\" at line 1, column 14.\nWas expecting one of:\n \"]\" ...\n \"}\" ...\n ",
        "code": 400
    }
}

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <lst name="responseHeader">
        <int name="status">400</int>
        <int name="QTime">0</int>
    </lst>
    <lst name="error">
        <str name="msg">missing content stream</str>
        <int name="code">400</int>
    </lst>
</response>

Pysolr stacktrace:
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/solar/query.py", line 209, in results
    return self._fetch_results()
  File "build/bdist.linux-x86_64/egg/solar/query.py", line 106, in _fetch_results
    self._result_cache = self._do_search(only_count)
  File "build/bdist.linux-x86_64/egg/solar/query.py", line 164, in _do_search
    raw_results = self.searcher.select(self._make_q(), **params)
  File "build/bdist.linux-x86_64/egg/solar/searcher.py", line 74, in select
    return solr.search(q, **kwargs)
  File "build/bdist.linux-x86_64/egg/solar/pysolr.py", line 587, in search
    response = self._select(params)
  File "build/bdist.linux-x86_64/egg/solar/pysolr.py", line 377, in _select
    return self._send_request('GET', path)
  File "build/bdist.linux-x86_64/egg/solar/pysolr.py", line 327, in _send_request
    error_message = self._extract_error(headers, response)
  File "build/bdist.linux-x86_64/egg/solar/pysolr.py", line 436, in _extract_error
    reason, full_html = self._scrape_response(headers, response)
  File "build/bdist.linux-x86_64/egg/solar/pysolr.py", line 470, in _scrape_response
    p_nodes = body_node.findAll('p')
AttributeError: 'NoneType' object has no attribute 'findAll'

This can be closed now.


sudo: bluethooth.desktop: command not found

The command does not work

You must download the  file bluethooth.desktop, then move it to the desktop folder, then open the terminal inside the desktop folder and running the command
sudo bluethooth.desktop