function Str::pad()  the second params must be int

Argument 2 passed to Swoft\Stdlib\Helper\StringHelper::pad() must be of the type integer, float given, called in /www/wwwroot/swoft/api/vendor/swoft/console/src/Advanced/Formatter/Title.php on line 55 /www/wwwroot/swoft/api/vendor/swoft/stdlib/src/Helper/StringHelper.php 233

hi @chenjing0521 thank you PR.
The repos is read-only.
The PR needs to be submitted to the main repository https://github.com/swoft-cloud/swoft-component
More please see https://github.com/swoft-cloud/swoft/issues/829


Fix "drawerLockMode" typo in DrawerNavigator docs

There's a typo in the docs -- when specifying drawerLockMode in screenProps, it should be "screenProps.drawerLockMode", not "screenProps.lockMode".
 Now that the PR is approved, @matthamil would you or someone else with write access actually merge the PR?


Fix 9251

Purpose of the pull request

fix #9251
Brief change log
change the JsonTypeInfo.type  in AbstractResourceParameters  into resourceType
and add resourceType property to udf ,datasource to serialize the entity

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

please update the title to the consistent style, you can refer this one, [Fix-9221] [alert-server] optimization and gracefully close

Codecov Report

Merging #9319 (af69338) into dev (6b2a4e3) will increase coverage by 0.02%.
The diff coverage is 70.00%.

@@             Coverage Diff              @@
##                dev    #9319      +/-   ##
============================================
+ Coverage     39.96%   39.99%   +0.02%
- Complexity     4372     4377       +5
============================================
  Files           822      822
  Lines         32921    32935      +14
  Branches       3656     3656
============================================
+ Hits          13158    13173      +15
+ Misses        18530    18527       -3
- Partials       1233     1235       +2

Impacted Files
Coverage Δ

...arameters/resource/AbstractResourceParameters.java
100.00% <ø> (ø)

...ask/api/parameters/resource/UdfFuncParameters.java
0.00% <0.00%> (ø)

...rg/apache/dolphinscheduler/dao/entity/UdfFunc.java
80.70% <100.00%> (+1.45%)
:arrow_up:

.../api/parameters/resource/DataSourceParameters.java
100.00% <100.00%> (ø)

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...er/server/master/runner/WorkflowExecuteThread.java
8.24% <0.00%> (-0.04%)
:arrow_down:

...er/master/dispatch/host/assign/RandomSelector.java
83.33% <0.00%> (+5.55%)
:arrow_up:

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
55.35% <0.00%> (+7.14%)
:arrow_up:

Continue to review full report at Codecov.

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


Question about SysTick

I was looking at the code in the project's readme and saw this:
RCC->APB2ENR |= BIT(14);
I have some low level code in a simple test app for the STM32F407 Discovery board, that sets up SysTick but does nothing at all with the APB2ENR register, whereas your code sets the SYSCFGEN flag in that register. The odd thing is my SysTick works, runs fine.
Can you help me understand this difference?

Setting SYSCFGEN is not required for the SysTick to run, but it is required for other peripherals - for example, Ethernet controller.
Does that answer your question?


MODELS: Add Failure and related models

@geetika-jain few issues here:

We only needed the failure model
We need the migrations for the database


Training model from scratch

Dear authors,
I'm trying to train a classification model from scratch, so I don't have to train only the head, but also the backbone.
I tested your colab test code ( https://colab.research.google.com/github/open-mmlab/mmclassification/blob/master/docs/en/tutorials/MMClassification_python.ipynb ), in particular I tried to disable the 'pretrained' option of the backbone, initializing the weights in 'normal' mode, however even after tens of epochs, the model does not seem to improve. I have the impression that I have to insert a setting that makes the whole model train, not just the head. In the documentation I have found many examples on fine-tuning, but unfortunately I have not found much on complete scratch training, which is what I need.
Would you kindly have some advice for me?
Thanks in advance, have a nice day.

just to remove this line in the collab tutorial:
# Load the pre-trained model's checkpoint.
cfg.model.backbone.init_cfg = dict(type='Pretrained', checkpoint=checkpoint_file, prefix='backbone')

in mmcls, we use model.init_cfg to specify how to init a model. if it is None, do torch default init; if it is a dict like this link, do custom init refer to mmcv tutorial; if it is a dict like  dict(type='Pretrained', checkpoint=xxx_path, prefix='backbone'), init from a checkpoint

Thank you so much; it worked!
However, I had some problems in testing the trained model. I might ask what is the exact command to load the entire trained model, and then use it? it seems that when I reload my .pth file the weights are not trained. Could I have some clarification on this in terms of code?
Also, are there any differences between training a model with .png images versus .jpg images?
Thanks again.

Thank you very much.  Actually that's exactly what I did before you
answered me, I can also confirm that it worked.
On Mon, 19 Sep 2022, 04:08 Ezra-Yu, @.***> wrote:

just to remove this line in the collab tutorial:
Load the pre-trained model's checkpoint.
cfg.model.backbone.init_cfg = dict(type='Pretrained', checkpoint=checkpoint_file, prefix='backbone')
in mmcls, we use model.init_cfg to specify how to init a model. if it is
None, do torch default init; if it is a dict like this link
https://github.com/open-mmlab/mmclassification/blob/8d1bc557ab25ad75c17091711629d684cbdba5b8/mmcls/models/backbones/resnet.py#L481,
do custom init refer to mmcv tutorial
https://mmcv.readthedocs.io/en/latest/understand_mmcv/cnn.html#weight-initialization;
if it is a dict like dict(type='Pretrained', checkpoint=xxx_path,
prefix='backbone'), init from a checkpoint
—
Reply to this email directly, view it on GitHub
https://github.com/open-mmlab/mmclassification/issues/1041#issuecomment-1250470915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYOE7GSG2JICFXCM2DI4EKTV67DLLANCNFSM6AAAAAAQPCN2DQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove manual protobuf installation requirement.

Feature Request
It would make the package entry friendly if we handled the protobuf compiler automatically instead of needing manual steps.
Crates

Motivation

Easier entry for users and projects.
Proposal

On build check the OS if the depandacies are found. If not installed perform auto installs to build the package.
Alternatives

I started a pre-installation setup here https://github.com/a11ywatch/crawler/commit/00d58a6be340690894c507947bcdcc1327227139. It needs to switch to using the pre-compiled binaries for easier cross install.

I do not believe a build script should be install external tools. Users can write that like you did if they want that but imho prost should not provide that and should remain lean. This is more so for a better security posture to put it onto the user to figure out what makes best sense for them and their users.
In the future, hopefully, we will have a native parser so you don't need protoc at all but for now this is currently the best way. If you want to understand more why on the decisions you can look up the relevant issues and PRs about removing the build script.

I agree and very valid points, thanks for the explanation. It would be hard to pin the version across each update and OS as well. I am looking forward to the changes on the native parser. One of the road blocks I am facing is having users perform manual actions on installation even with docs. Right now tonic is the only crate in my project that has the manual step, so I am very interested in the native parser. Is there a Rust crate for proto parsing now that could be used until then?

@j-mendez if the proto code doesnt change you can just check the protobuf code into source and downstream users don't need to have protoc or run the build script at all.

@j-mendez if the proto code doesnt change you can just check the protobuf code into source and downstream users don't need to have protoc or run the build script at all.

I like the sound of that, thanks for the direction.

I am just a bit curious what stops tonic from dropping protoc altogether. It seems that prost is able to do everything protoc can do.


Only some data being filled

Im having some success getting data, some fields are missing:

Any suggestions on what might be the cause?
Thanks

I'm seeing more-or-less the same thing.  Current, next and previous are all showing as 'Unknown'.
This is on a fresh install of HA2022.10.3
Looking at the logs, I see:
2022-10-12 22:36:05.572 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.octopus_agile_previous_rate fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 515, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 710, in async_device_update
raise exc
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/octopusagile/sensor.py", line 88, in update
prev_rate = self.hass.states.get("octopusagile.all_rates").attributes.get(rounded_time_str)
AttributeError: 'NoneType' object has no attribute 'attributes'
2022-10-12 22:36:05.601 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.octopus_agile_current_rate fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 515, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 710, in async_device_update
raise exc
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/octopusagile/sensor.py", line 159, in update
current_rate = self.hass.states.get("octopusagile.all_rates").attributes.get(rounded_time_str)
AttributeError: 'NoneType' object has no attribute 'attributes'
2022-10-12 22:36:05.794 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.octopus_agile_next_rate fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 515, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 710, in async_device_update
raise exc
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/octopusagile/sensor.py", line 227, in update
next_rate = self.hass.states.get("octopusagile.all_rates").attributes.get(rounded_time_str)
AttributeError: 'NoneType' object has no attribute 'attributes'
Any ideas how to get this working?
Many thanks
Steve

Today I got data, but the rates aren't correct:

I left an HA instance running all day, and have come back to find the card populated with rates that look correct for region A

This is a known feature, the way in which the rates populate can take a while to get going.


Place dt_3byte above dt_byte in DTYP_TO_SIZE

Possible fix for #67
In IDA 7, dt_3byte and dt_byte are equal. This causes all byte operands
to be listed as size 3.
By placing dt_3byte before dt_byte, we can still
use dt_3byte in IDA versions before 7, but will default to the more
common dt_byte in IDA 7.

I'm not sure how to provide test cases as per the contributing guidelines. If you can guide me further on how to do so, I will gladly provide them.

Since a dict does not ensure order, this seems like a meaningless change.
However, as per your response from Hex Rays - it seems that we can safely remove the dt_3byte option altogether.
Can you amend your PR?

PR updated as requested.

@tmr232

Since a dict does not ensure order, this seems like a meaningless change.

The important point about the change is that assignment order is reversed. Since dt_byte and dt_3byte both equal zero, the last value to be assigned will be the one used in the dictionary.
My understanding is that the last key listed in a dictionary literal will be the one that is used in the final dictionary. This understanding is mainly based on an existing bug report about duplicate keys in dictionary literals.
So the change I originally committed is semantically equivalent to the following in IDA 7:
DTYP_TO_SIZE = dict()
DTYP_TO_SIZE[0] = 3  # ida.dt_3byte == 0
DTYP_TO_SIZE[0] = 1  # ida.dt_byte == 0

And this in IDA 6.9:
DTYP_TO_SIZE = dict()
DTYP_TO_SIZE[15] = 3  # ida.dt_3byte == 0
DTYP_TO_SIZE[0] = 1  # ida.dt_byte == 0

Unless, of course, I've misunderstood how python dictionary literals work.  If I'm mistaken, I'm always happy to learn from one less ignorant than I. :smiley:
Then again, with simply removing dt_3byte, this discussion may not matter at all.

closes #67


Navigate within result window is slow

Navigate within result window with j/k is very slow, I try to use LeaderF to replace bufexplorer as a, buffer explorer, but i find LeaderF negivating is much slower than bufexplorer.

"result window" is Vim's popup window?
I had a slow cursor movement in Vim's popup window.
However, it turned out to be the influence of other plugins, not LeaderF.
As a result, the cursor movement has been accelerated by removing the use of other plugins.

How to reproduce it?
Is it in popup mode?

How to reproduce it?
Is it in popup mode?

let g:Lf_WindowPosition = 'popup'
let g:Lf_PreviewInPopup = 1
let g:Lf_ShortcutF = "<leader>ff"

Open 20 files in vim at the same time, then run:
:Leaderf! buffer
Hold j/k to navigate up and down, it's lag behind the keyboard speed significantly.

What's the OS? vim or nvim?
Could you remove all the other plugins and have a try?

macOS Catalina, iterm2, vim8.2.
Reproduce steps:
mkdir /tmp/vimdebug/ && cd /tmp/vimdebug/
git clone https://github.com/Yggdroot/LeaderF.git .vim
cat > .vimrc <<EOF
let g:Lf_WindowPosition = 'popup'
EOF
for n in {1..30}; do touch test$n; done
HOME=`pwd` vim *

What is the setting of your computer?
I don't think this is the issue of LeaderF.

What is the setting of your computer?
I don't think this is the issue of LeaderF.

I mean the cursor moving is lagging behind the keyboard, even after I lift up the key, the cursor still running for a while, so it's definitely not a keyboard issue.
Also bufexplorer is running fine, and LeaderF normal (non popup) window runs much more smoothly.

Can you try leaderf in another platform, such as linux, window? Maybe it's a platform dependent issue.

Reproduced.

It's because vim is slow on MacOS, I can only make the performance a little better.

It's because vim is slow on MacOS, I can only make the performance a little better.

I guess we can always use --bottom mode for buffer list ;D


Enable database encoding configuration

Enables to configure database encoding. That makes it possible to use utf8mb4 with MySQL so that everybody can write their blog with emoji 🎉

@morygonzalez Thank you.


.Net: CreateFunctionFromPrompt only accepts a single execution setting

With CreateFunctionFromPrompt you can only define a single execution setting (instead of a list like everywhere). Should it accept a list (and perhaps have an extension method that just accepts one)?

Use the version that tasks the PromptTemplateConfig and then you will have full control


constrained-generators: flaky call to error in GenT

There was a call to error observed in this job.
This seems to be a rare occurrence, as none of the other GHC versions surfaced this and re-running the job also made the tests pass.

Looks like we haven't see this issue for a long time. Most likely it was fixed
@aniketd FYI, I recommend for the future in tickets like this to also include all the steps necessary to reproduce the failure as well the relevant part of output of the failure. Linking to CI run is not sufficient, since those logs get cleaned up after some time.


add postgresq13.12 as an option - RDS.ts

There are cases of people that have deployed postgresql11.13, which now appears as deprecated, and can't be deployed anymore. For those cases, they can modify by rds console to version 13.12 and the deploy postgresql13.12. To do that we need to add this option.

Taking a look soon

Thanks @adminCitify! Will be in the next release.


web-sys: update IDBDatabase webidl

This fixes https://github.com/rustwasm/wasm-bindgen/issues/3959

@daxpedda please could you review this? Thanks.

Tried updating to latest main and hitting https://github.com/rustwasm/wasm-bindgen/issues/4013 :/


CloudKitOperation add header documentation

Current coverage is 74.29%

Merging #177 into development will not affect coverage as of b39a35a

@@            development    #177   diff @@
===========================================
  Files                51      51
  Stmts              3240    3240
  Branches              0       0
  Methods               0
===========================================
  Hit                2407    2407
  Partial               0       0
  Missed              833     833

Review entire Coverage Diff as of b39a35a

Powered by Codecov. Updated on successful CI builds.


Cache the Index

The index can easily be saved to disk using pickle; which, significantly reduces the running time of subsequent runs.
Is this something that is within the project's scope?

I am closing this; because, the changes to make this useful are—I believe—outside of the project's goals.
Pickling the index is not very practical since you need to rebuild the index every time the data or code changes.
Also the pickle file is about half the size of the uncompressed data.
I am including below some details on how to cache the index using pickle for those interested.

The Index class already supports pickling, so you just need to wire in the pickling logic.
In run.py after the index is built you need to pickle it to a file, I used data/index.pickle.
Now the download and index building code needs to be wrapped in an if statement that checks to see if the pickle file exists.
If the pickle file does exist load it into index; otherwise, build the index from scratch.


Auto infer created & last modified dates of a dataset and its resources

Situation
Currently "Created" and "Updated" fields in a dataset's metadata come from the Data Package:

Same goes for "Last modified" dates of resources:

Problem / Opportunity
Would be nice to infer them for the users based on data retrieved from the underlying GitHub repo so that you don't need to manually update them after any change to your dataset.
Solution
Dataset "Created" date
For simple, standalone dataset sites (like all our core datasets) "Created" date of a dataset can be easily obtained from /repos/{owner}/{repo} GitHub API endpoint (created_at response field).
Dataset "Updated" date
"Updated" date can be derived from the last commit date, which can be obtained from /repos/{owner}/{repo}/commits?per_page=1 (then get first commit from the returned array and use its date).
Resource "Last modified" date
Can be obtained also by using /repos/{owner}/{repo}/commits?per_page=1 with additional parameter: path=<resource-file-path>, which will only return commits that changed the resource file.
Complication
This is getting tricky for nested datasets though. Example:
README.md
/dataset-a
  README.md
  datapackage.json
  data.csv
/dataset-b
  README.md
  datapackage.json
  data.csv
...

In this case:

repository.created_at ≠ individual dataset's creation date
repo's last commit date  ≠ individual dataset's last modification date

(No problem for resource last modification dates.)
ad 2.: This can be solved by not using repository.created_at date and instead:

getting last modification dates of all resources (we're going to get them anyway for inferring resources "Last modified" dates)
getting last modification date of the README.md and the datapackage file,
using the latest date of all these.

Or if we want to be super precise, we could traverse the whole dataset folder (using gh tree which we already have at disposal), get last commit of each file (including any other markdown files or scripts etc.) and use the youngest date of all.
ad 1.: Since creation date can't be easily retrieved from GH for individual files, we can't apply the same trick as above. But dataset creation date is only set once and never changes, so it's not a big deal to have to set it manually. Also, we could just use the repository creation date by default as nested datasets/dataset collections are probably going to be a minority. Or we could just infer it for our core datasets only.

As we discussed, in cases where we did review a given dataset but no changes were needed, we also want to show this in the UI so that people know that we are regularly checking the dataset for changes and that they get the latest data. In this case we can either:

use existing (in most cases) datapackage.created field and update it on each review regardless if any changes were actually made,
use a new field, e.g. datapackage.reviewed field and leave datapackage.created unchanged.

We already have:

datapackage.created
datapackage.modified
resource.created
resource.modified
datapackage.synced -> updates when any of resource content changes (eg, a new record is added)

I've implemented the first version of it, but it's not ideal and so for now it's only enabled for our core datasets.
How it works atm:

last commit date is pulled directly from GitHub for each resource when building a dataset page
this last commit date is displayed as "Last modified" date for each resource in the Files table (only if not explicitly specified in resource.lastModified in datapackage)
earliest "Last modified" date of all the resources is also used as an "Updated" date of the whole dataset and displayed in the top metadata table (only if not explicitly specified in datapackage.updated)

Why it's not perfect:

atm we don't have an index of all the site's pages in a separate db table where we could store files creation/modification dates (and other metadata) and update them on every sync
this means if some change has been made to e.g. data.csv file but the site has not beed synced, the dataset page will show that last change date but the file previewed, plotted and available for download will be outdated as it comes from R2, not directly from GH
fetching commits to get last modification date directly from GitHub on-the-fly requires access token and we can't use user's access tokens for that.

This is why currently I have only enabled this feature for our core datasets as we are sure they have auto-sync turned on and we can use our PAT for that. In the future, once we have files index table in our db, all the files from users sites will be stored along with their metadata there, updated on site syncs and readily available for display.
cc: @anuveyatsu

FIXED
For now, given the current architecture constraints, enabled only for our core sites


Ping requires root privilege,

but ubuntu in official Microsoft store doesn't.

@mistguy
Thank you for your reporting!
I confirmed the problem and I'll fix it soon.
I did not give the necessary permission for ping.
Please run this command in root.
chmod u+s /usr/sbin/ping

This problem was fixed in the new release.
so I'll close this issue.


HTTP Error 418.0 The module does not recognize the error affected.

Hello thanks for your code. I try implement it with ABP framework (http://www.aspnetboilerplate.com/), but when I try logIn by windows button, I got this error message:
HTTP Error 418.0 The module does not recognize the error affected.
Detailed Error Information:
Module	   ManagedPipelineHandler
Notification	   ExecuteRequestHandler
Handler	   Windows Login Handler
Error Code	   0x00000000
Where is problem? It is possible to work with ABP ? It is possible to make sample ? Many thanks !

Did you follow the usage steps ?
Seems you didn't register it in Global.asax, please confirm!

Ok works THANKS FOR QICK REPLY !, but not completly, I got another error: The provided anti-forgery token was meant for user "", but the current user is "MM-PC\Martin". on WindowsLoginHandler.cs    row: 119 BTW I used code from https://github.com/MohammadYounes/MVC5-MixedAuth .. It is possible to do sample with ABP framework ?

This probably due to the first error, clear the cookies and try again!
As for the sample I can't promise anything as I'm extremely busy these days.
So this issue was meant for MVC5-MixedAuth (Not OWIN-MixedAuth)?

Ok, thanks, clear cookies no work. Yes MVC5-MixedAuth, I´m sorry. I understand but if you find the time I will be very grateful!

Can you share a sample app with your modifications?

Closing this, Once you manage to put together a sample online, please open a new issue at MVC5-MixedAuth.
Thanks!

Hello, I prepared sample project with Owin Mixed auth. There is a link: https://mega.nz/#!6E0nHQ5Y!wN2ZR7j5s3cE2RdkYW-nIgeWoGwzjLZdj349S15Lt34
I´m using ABP, login screen show windows auth icon. After click i got error:
[ArgumentNullException: Hodnota nemůže být NULL.
Název parametru: key]
System.Collections.Generic.Dictionary2.FindEntry(TKey key) +12209537    System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value) +16
MohammadYounes.Owin.Security.MixedAuth.MixedAuthHandler.ReplaceCookie() in c:\Users\myounes\Documents\GitHub\OWIN-MixedAuth\src\MohammadYounes.Owin.Security.MixedAuth\MixedAuthHandler.cs:290
MohammadYounes.Owin.Security.MixedAuth.MixedAuthHandler.ApplyResponseChallengeAsync() in c:\Users\myounes\Documents\GitHub\OWIN-MixedAuth\src\MohammadYounes.Owin.Security.MixedAuth\MixedAuthHandler.cs:195
After success login shoull be new Record in Abp.Users table. Thank you very much !

Thanks! Answered here.


Hanlde internal load balancers

close #10
Please note that this is the first time I have ever written go code and that I did it inside the github editor :D

you might want to test it before merging it though :) (hound seems stuck btw)

Yep, testing it now :)

I've tested this in our cluster and it still works for our use case. I'm going to go ahead and merge as the solution seems correct. I'm also going to add a test for this and create a new tag. Would someone from #10 mind testing this. I'll comment there when a new tag is available.


How to extraction 3D feature.And what's voxel-based

I input 2D image,radiomics can extraction features.But I input .nddr,radiomics also extraction features.This is 2d or 3d features.And I don't know what's voxel-based,is 3d feature?

Can you point to studies that utilize spherical kernel and demonstrate its advantages in radiomics studies?

No, I can't.
At the moment I don't feel expert enough to modify your code. I'm only used to make my own scripts/code. Thank you for sharing your experience.


[cfe] No error produced for not-implementing-final-classes through legacy libraries.

Example:
// old_lib.dart
// @dart=2.19

// MapEntry is `final`, but can be implemented due to SDK exception.
class M implements MapEntry<int, int> {
  int get key => 0;
  int get value => 1;
  String toString() => "Bad";
}

and
// new_lib.dart
// @dart=3.0

import "old_lib.dart";

class N implements M {
  int get key => 0;
  int get value => 1;
  String toString() => "Evil";
}

void main() {
  print(N()); // Evil.
}

This gives no errors, or warnings, in the front end.
Analyzer issue for this: https://github.com/dart-lang/sdk/issues/52078

@sgrekhov versioning_A03_t02.dart should be fixed from this being fixed.

Confirmed. versioning_A03_t02.dart works on CFE now. Thank you!


Fix changes in ofctrl_flow.go that breaks CNP priority re-assignment

This PR fixes an issue introduced by #1023. The change of embedded struct ofctrl.Flow to embedded pointer in ofFlow has caused the priority reassignments to not function properly. CNP reconciler updates a flow's priority by deleting the old flow and create a new one at the updated priority. After the pointer change, delFlow and addFlow point to the same flow and cause the operation to fail.

/test-all

/test-all

/test-all

/test-all

/test-windows-conformance
/test-windows-networkpolicy

/test-windows-conformance
/test-windows-networkpolicy

/test-windows-conformance
/test-windows-networkpolicy

/test-windows-networkpolicy

/skip-hw-offload


Process should not be deployed if there are two tasks with the same TaskName

Follow up of  https://github.com/kiegroup/kogito-runtimes/issues/1900#issue-1107363561

@martinweiler seems that is something coming from an interested party. Can you shed some light into this ?

@elguardian I don't have any additional information other than what is captured in the original issues incubator-kie-kogito-runtimes#1900 and KOGITO-6592

well this is a limitation of the type safe restendpoints. we cannot have expressions for the taskname and we cannot tell the difference


[BUG]OpenBullet Not Responding/Freezing After The Latest Update

Describe the bug
I have just complied the latest version and tried it,everytime, i change or switch from one tab to another tab in OB, it is freezing and not responding.Please check the screenshot.
To Reproduce
Steps to reproduce the behavior:

Go to OB
Load any config,then change or make some modifications to it ,save it,try to jump from config section to to other sections,like proxy settings ecc ecc.

Expected behavior
The version i used till yesterday was working smooth, no ram consuming,no freezing.
Screenshots
https://imgur.com/a/I4XH5R3
https://imgur.com/a/OPTmIix
Version

Version 1.1.3

Additional context
I am using it on a dedicated windows server 2012 with 4 GB RAM and 2.40Ghz*2 processor

Sorry, couldn't reproduce.
Maybe check out the source again and recompile.

I asked people and no one can reproduce this error :/

Ok,i will re-compile it and update you.
Thankyou

Don't just recompile, maybe clone the repo again from scratch. You might have changed something that conflicts with the proxy changes.

Yeah,i meant to say that.Sorry.

Cloned and compiled again,working fine.
Thankyou.


High Number of Active Jobs

Currently we have 6 different jobs, each set to concurrency 1 but our active job count is almost 3000. Shouldn't the active job count be at most 6?

Isn't your node.js process restarting unexpectedly and done callback not to be called in some swallowed error cases?

Thanks for the fast response!
I check the done callback (although it's called in a finally, so it should always be executed)
Could a high number of active jobs be causing Unhandled rejection RangeError: Maximum call stack size exceeded Errors?

I check the done callback (although it's called in a finally

try-catch-finally only catches synchronous errors, you should also check err parameters of callbacks and also domains to catch uncaught sync errors.

Could a high number of active jobs be causing Unhandled rejection RangeError: Maximum call stack size exceeded Errors?

No, this has something to do with your code, or a miss behaving recursive function, ...

closing this for no activity


[Epic] Sphinx-generated Python Docs Issues

The doc-generator we use for Python-specific API docs, and in particular https://www.pulumi.com/docs/reference/pkg/python/pulumi/, has many issues.  We may need to wholesale replace the technology we use for generating these docs to ensure higher quality.

[ ] https://github.com/pulumi/pulumi-vsphere/issues/350
[x] https://github.com/pulumi/docs/issues/1623
[x] https://github.com/pulumi/docs/issues/3332
[x] https://github.com/pulumi/docs/issues/3717
[x] https://github.com/pulumi/docs/issues/4052
[ ] https://github.com/pulumi/docs/issues/1595
[ ] https://github.com/pulumi/pulumi-hugo/issues/434
[ ] https://github.com/pulumi/docs/issues/7000
[ ] https://github.com/pulumi/docs/issues/6426

Some of these may be partly addressed by https://github.com/pulumi/docs/issues/4071, but we will still have some SDKs like https://www.pulumi.com/docs/reference/pkg/python/pulumi/ that need vanilla Python docs.

We (@davidwrede, @infin8x and I) recently chatted about this when it came up w.r.t Automation API docs. I'd suggest using the default or Read the Docs theme and just going with the sphinx autogeneration rather than trying to fit this into our markdown format.

We (@davidwrede, @infin8x and I) recently chatted about this when it came up w.r.t Automation API docs. I'd suggest using the default or Read the Docs theme and just going with the sphinx autogeneration rather than trying to fit this into our markdown format.

I went through the linked issues and noted which ones I expect to be resolved by #4071

I went through the linked issues and noted which ones I expect to be resolved by #4071

+1 for this. I find Pulumi's native go docs way easier to navigate than an unindexed single page for python which is almost unusable in it's current state. See formatting here for example:

+1 for this. For the Automation API I find Pulumi's native go docs way easier to navigate than an unindexed single page for python which is almost unusable in it's current state. See formatting here for example:

Indeed. There's tons of this bad formatting (we call it "formatting", but really, information is lost!) everywhere in the doc

I have a WIP branch that switches over to using vanilla sphinx: https://github.com/pulumi/docs/compare/master...justin/python. I think all that's left is rebasing that branch and regenerating, then then opening a PR to get feedback.
Going to try to get this over the line next week as one of my hackathon projects.


[MRG] Add optional different ways of averaging EpochsTFR

Reference issue
Closes: #8878
What does this implement/fix?
Essentially same workflow as Epochs.average().

Not sure why CI failed.  Got exception (No module named 'nitime')
SKIPPED [1] mne/time_frequency/tests/test_multitaper.py:39: Test test_multitaper_psd skipped, requires nitime. Got exception (No module named 'nitime')
================================================= 84 passed, 3 skipped in 15.60s =================================================

It's pip pre which uses prerelease versions of libraries. It looks unrelated. @drammock can you look? It has to do with latest matplotlib breaking something about our drawing / clicking / interaction, not sure what. Probably some upstream change modified how things get drawn or something.

@adam2392 can you add/update a test?

We have to be a little bit careful here because of the output option -- median on output='complex' data will almost certainly not work properly as is, see https://github.com/numpy/numpy/issues/12943 / https://github.com/scipy/scipy/issues/12669 / https://github.com/scipy/scipy/pull/12676. I think we can fix by:

In the docstring add a warning to Notes about not passing np.median as it's unsafe.
If 'median' string-option is used, internally we need to separate into real and imaginary parts, take medians, then recombine. We can do this by defining a _median_complex in mne.fixes (I think eventually a fix will land in NumPy along these lines) that triages based on the iscomplexobj like in the SciPy PR, and wrap to that call rather than directly to np.median.
Add to the notes that we use the marginal median in the complex case

let's document this ! thx @larsoner

@larsoner feel free to merge if CI failures are expected. I did not keep track of which ones to ignore. thx


badge status: error

https://cover.run/go?repo=github.com%2Fhexonet%2Fgo-sdk&tag=golang-1.10
Maybe you can help me to find out what's going wrong here? Is there something missing that we need in addition? Our sources are in folder "client" and "response" (to represent the package structure) and tests can be found in folder "test".

@papakai cover.run checks for test files in the root of the package only. Since your tests are all inside the test directory, cover.run is not able to run tests.

@bnkamalesh ty for your response. wouldn't it make sense to also support the test subfolder?
I directly point to this git project, which points on project standards and having a "test" subfolder is a very common structure.

Libraries commonly put code (and tests) in a pkg folder. How about running go test ./..., which will pick up all subfolders?


Add ability to change font-size in basic themes

It would be nice to configure font-size when call drawSVG method

This will happen in the 2.0 release. (No ETA on when that will be)

Ok this should be possible now that v2 is released.
diagram.drawSVG(container, {
  'theme': 'hand',
  'font-size': 72,
});

whoa, thanks for your answer! Will check that soon!

Finally. I set 'font-size': 12, it works as expected. Fit to my web. Thanks @bramp for this great project.


Import CSV - Updating of UG

This PR updates the UG for the Import CSV function.
Issue Ref: #103

Codecov Report

Merging #146 (77ac733) into master (f72977e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #146   +/-   ##
=========================================
  Coverage     65.97%   65.97%
  Complexity      703      703
=========================================
  Files           112      112
  Lines          2281     2281
  Branches        253      253
=========================================
  Hits           1505     1505
  Misses          708      708
  Partials         68       68

Continue to review full report at Codecov.

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


DistilBERT-NITS detector Non-adversarial data, Shared task-3, COLING 2025

Thanks for the submission! @saitejalekkala33 You're all set


Simplify code with array creation commands

I'll review later today.

Sorry! I forgot completely 😥


Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve.

Hello Team,
I have followed the documentation and created the resources. I am using bring your own data model. I have also deployed the web app.
Now when enter a question, it gives me error of
"Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve."
am i missing any configurations?

Please help.

I have this same issue, but I am trying to deploy the app and search service in Azure Government.  I have modified the code to use the relevant .us search endpoints instead of .com.
The app works fine as a chatbot when I run it without the AZURE_SEARCH_KEY, AZURE_SEARCH_SERVICE and AZURE_SEARCH_INDEX variables set, but when I put in the service, key and index vars for my Gov instance of search, the app fails saying the same error message: "Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve."
Is there an easy way to drop some debugging into the code to see the actual URL that this is trying to reach?  I have a suspicion that it's not hitting the correct endpoint for Gov.

I have this same issue, but I am trying to deploy the app and search service in Azure Government. I have modified the code to use the relevant .us search endpoints instead of .com.
The app works fine as a chatbot when I run it without the AZURE_SEARCH_KEY, AZURE_SEARCH_SERVICE and AZURE_SEARCH_INDEX variables set, but when I put in the service, key and index vars for my Gov instance of search, the app fails saying the same error message: "Invalid AzureCognitiveSearch configuration detected: Azure Cognitive Search url fails to resolve."
Is there an easy way to drop some debugging into the code to see the actual URL that this is trying to reach? I have a suspicion that it's not hitting the correct endpoint for Gov.

Just writing to state I'm working through similar issue as well as seen in #317


Changed ia

Every time we change paths w/our docs site, things break due to caching - is there a way to ensure that when this code hits production all global caches are busted?

Yes, we have to retrigger the build in Vercel


1080p iamge is process error

when i use this code to process  1080p image ,it has an error.640*480 iamge is normal.

You need check the error,confirm your image is right.
In fact,the picture named 4.jpg is not 640*480, it also can be processed.
May be, 1080p image can not be displayed normally.

I met the same problems.when read 640*480 video ,is normal ,but read 1080P ,the error is "the feature2MatrixInit failed!!"   how can I fix it? Thaks

I am sorry for this problem, now, it has been solved, I added some codes to mtcnn.cpp.
if you set the minsize too small, the resize scale will be small too,
if the smallest scale *maxside of image<12, error occurred , because the Pnet input size is 12.


snyk package as a dependency since the 3.0 version

In this commit, you introduced snyk as a dependency. Do you think you could migrate it to a dev dependency?
With the 3.0 version, all the snyk library and its dependencies are installed on our machines when we use the intuit-oauth library :/

Will fix get this fixed by tomorrow 👍

Fixed in the new release 3.0.1. Closing the issue @Grmiade

Thanks @abisalehalliprasan
Very responsive 💪


Help needed editting campaigns

So Ive gotten quite good at editting quests now, made a few of my own, all work pretty well and things happen like I mean them to. However Im still lsot at how to string everything together in a campaign, I got some things, like how to add gold, Xp, fame by reverse engineering the 1.1 demo feature but its hard to understand that demo cause when you put it in the quest editor it becomes a bunch of different parts. Bottom line is I don't realy know how to get the campaign going, how can I set the campaign map and have all the quests ancored to it
I know this is a lot to ask but is there a step by step guide about how to start the campaign editting anywhere, or can someone try to explain it to me. I feel like that if I get the basics of it I can probably make better sense of the 1.1 demo and go from there.

https://github.com/NPBruce/valkyrie/wiki/Campaign-Support

I still don't quite get how I make the initial set up of the thing. I understand a bunch of stuff in the middle of it (I think), but the initial setup is confusing me still. Is it an UI element with a var, an event with tokens that call for other events or what ?

That link is outdated, I have removed the page.
There is nothing special about 'campaigns', there are a whole lot of different features you can use to implement them.  Quests can start other quests to string things together, which is why you see them as different entries in the editor.  You can break it up as much as you like, or have everything in one massive quest, but that probably isn't manageable.
Most of what you are asking is about UI components, which has a tutorial here:
https://github.com/NPBruce/valkyrie/wiki/TutorialUIElements
Note that any UI component is also a button and works just like a token.

@NPBruce I'm cobbling together a quick demo for this example. Does the current interface still require a manual edit to add quest chains?

Yes, that is still manual.

Okay, just wanted to make sure. I'm not sure what else I can add into this to make that part easier to understand.
UIMapExample.zip

That was realy helpfull ty.


Add simple command-line option parser (BFI)

Codecov Report

Merging #34 into master will decrease coverage by 7.58%.
The diff coverage is 26.53%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
- Coverage    94.8%   87.22%   -7.59%
==========================================
  Files           2        2
  Lines         366      407      +41
==========================================
+ Hits          347      355       +8
- Misses         19       52      +33

Impacted Files
Coverage Δ

bfi.c
52.63% <26.53%> (-25.15%)
:arrow_down:

Continue to review full report at Codecov.

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

Please for the next pull request regarding bfi, consider use of getopt. Also, it would be beneficial if the interpreter included some code made specifically for optimizations regarding asm2bf.
Merging.


Failed to allocate instance of opencc

require 'opencc'
OpenCC.t2s '測試'

/home/ulysses/.local/share/rtx/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/opencc-rb-1.0.6/lib/opencc.rb:25:in `initialize': (opencc_open) failed to allocate instance of opencc (Exception)
	from /home/ulysses/.local/share/rtx/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/opencc-rb-1.0.6/lib/opencc.rb:25:in `new'
	from /home/ulysses/.local/share/rtx/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/opencc-rb-1.0.6/lib/opencc.rb:25:in `block (2 levels) in singleton class'
	from (irb):2:in `<main>'
	from /home/ulysses/.local/share/rtx/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/irb-1.11.0/exe/irb:9:in `<top (required)>'
	from /home/ulysses/.local/share/rtx/installs/ruby/3.2.2/bin/irb:25:in `load'
	from /home/ulysses/.local/share/rtx/installs/ruby/3.2.2/bin/irb:25:in `<main>'

Ruby 3.2.2
opencc-rb 1.0.6
OpenCC 1.1.1

I apologize for the delay in my response.. Based on your description, I tested locally with Ruby 3.2.2 and 3.3.0, and everything worked fine. Could you provide more details?
Here are some possible steps to troubleshoot:

Operating System: Confirm which operating system you are using (e.g., Windows, macOS, or Linux).
Ruby Version Manager: You mentioned Ruby 3.2.2, but make sure you’re using a Ruby version manager (e.g., RVM, rbenv, or asdf).

Thanks!

I used the mise(formerly known as rtx) as version manager, and everything worked fine.

step 1
mise current

output
ruby 3.2.2

step 2
which gem

output
.local/share/mise/installs/ruby/3.2.2/bin/gem

which irb

output
.local/share/mise/installs/ruby/3.2.2/bin/irb

step 3
gem install opencc-rb

output
Building native extensions. This could take a while...
Successfully installed opencc-rb-1.0.6
Parsing documentation for opencc-rb-1.0.6
Installing ri documentation for opencc-rb-1.0.6
Done installing documentation for opencc-rb after 0 seconds
1 gem installed

step 4
irb
irb(main):001:0> require 'opencc'
irb(main):002:0> OpenCC.t2s '測試'
=> "测试"

I originally got this error on Ubuntu. Now I already deleted that OS.
I tried just now with Arch Linux and NixOS, but I cannot reproduce the bug now. I am closing this issue.


linuxfs used for SPI operations.  .. Most this code base is from mpil…

…one. I had no access to Mikes repo so I copied the files to ours.  From Mikes initial work I made a few fixes for code he had not unit tested, and changes to use of config parms.  Also parm bit shift direction and LSB first are not complete.  Question whether we update the spi config.  I do not want to use/allow the flags parm as it has bits no longer supported and would confuse things.   I did read write and transfer testing for basic operation. I know there is a problem when read() is called multiple times in succession.    pushing this for discussion
I also had a PR for an implementation of SPI.  Mikes and mine were similar in the user space code but I implemented the library as well.  Mike's implementation use a system library, so less code to maintain so  better use.    I marked my PR as closed as I don't want to lose the JNA and C code I wrote
@eitch  @FDelporte

this is ready for review comments.   I had SPI chips to test transfer, write byte, write array,  read byte read array. As said earlier a few changes addition to complete code and Config usage.  In LinuxFsSpi there are areas marker with // TODO   These need agreement on how to resolve the  difference against PIGPIO-SPI
And any other comments you have
@eitch @FDelporte  Ready for review

@mpilone FYI

Thanks for moving it along. I was able to talk to an ST7735 display via this SPI implementation so it's working for what I need. I did run into one issue that isn't directly related to the library but you might want to document it so Pi4j doesn't get blamed for write failures. It looks like the default SPI buffer size on Linux is 4096 so sending more than that in a single write fails with a 90 error code. For example, trying to write the display memory for 160x128 pixels at 16 bit requires writing 40,960 bytes. See this discussion for more info.


Design battery backup circuit

There is definitely a reference to battery backup circuitry. Presumably we are using 12V SLAs but deciding where in the circuit they go and how to handle power crossover are open items.

@inceptionev - Is this still relevant? Can the issue be moved into Done?

@inceptionev - Is this still relevant? Can the issue be moved into Done?

@VSTheBestDeveloper this is still in work, will be implemented by PR #951

@VSTheBestDeveloper this is still in work, will be implemented by PR #951


Fix wrong wording and missing translations

Wrong word:
In the participant-list the filter option "Member number" needs to be changed to "Membership number"
Missing translations:
If you try to count the logged/in participants (see statistics) the three headers are not translated.
The translation marker is implemented like this:
<mat-button-toggle [value]="2" translate>All</mat-button-toggle>

The marker needs to be implemented like this:
 <mat-button-toggle [value]="2">{{ 'All' | translate }}</mat-button-toggle>

@Elblinator Please check if this is fixed.

Wording was fixed translation still missing


Can't set keybinds to Q

Please describe the bug
I can't set keybindings to Q despite not using it elsewhere in my config
And when I use watch -n 0.3 "cat /tmp/hypr/hypr.log | grep -v \"dirty\" | grep -v \"nimation\" | tail -n 60" I don't see any reaction to pressing the keybind
Steps to reproduce:
install the AUR package
copy the example config
edit the bind=SUPER,C,killactive, part to bind=SUPER,Q,killactive, and change the bind=SUPER,Q,exec,kitty part to not use Q
Expected behavior
Hypr should kill the active window when I press Super+Q but it doesn't

what's the output of xmodmap -pk | grep "(Q)" and is the keysym consistent with xev -event keyboard?

what's the output of xmodmap -pk | grep "(Q)" and is the keysym consistent with xev -event keyboard?

the output of xmodmap -pk | grep "(Q)"  is
24    	0x0027 (apostrophe)	0x0022 (quotedbl)	0x0071 (q)	0x0051 (Q)	0xfe51 (dead_acute)	0xfe57 (dead_diaeresis)
53    	0x0071 (q)	0x0051 (Q)	0x0078 (x)	0x0058 (X)	0x00f6 (odiaeresis)	0xfe5c (dead_ogonek)
and  xev -event keyboard gives KeymapNotify event, serial 24, synthetic NO, window 0x0, this
I think this means consistant but I'm not really familiar with theese commands

try using 113 instead of Q

try using 113 instead of Q

this only helps when I set my keyboard layout back from dvorak-alt-intl to us

give the entire output of a key log of xev then maybe and not the first line?

`Outer window is 0x1c00001, inner window is 0x1c00002
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys:<PHONE_NUMBER> 0   0   0   16  0   0   0   0   0   0   0   0   0   0   0
0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys:<PHONE_NUMBER> 0   0   0   16  0   0   0   0   0   0   0   0   0   0   0
0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
KeyRelease event, serial 25, synthetic NO, window 0x1c00001,
root 0x6be, subw 0x0, time 9979250, (312,505), root:(2877,509),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x1c00001,
root 0x6be, subw 0x0, time 9989306, (154,297), root:(2719,301),
state 0x0, keycode 53 (keysym 0x71, q), same_screen YES,
XLookupString gives 1 bytes: (71) "q"
XmbLookupString gives 1 bytes: (71) "q"
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x1c00001,
root 0x6be, subw 0x0, time 9989370, (154,297), root:(2719,301),
state 0x0, keycode 53 (keysym 0x71, q), same_screen YES,
XLookupString gives 1 bytes: (71) "q"
XFilterEvent returns: False`

well keysym is 0x71, so 113. I can't see why it wouldnt work.

The only thing I could think of is that my dvorak-alt-intl layout is a bit modified but I only edited the A O E U I key to include the Á Ó É Ú Í keys. This is the only thing that I modified about my keyboard layout but it doesn't seem logical that this would have caused anything with my Q key because I didn't touch that

Check with the last commit.
Use xev -event keyboard keysyms. If that doesn't work, your system is haunted or something, I don't know.

I tried using those too and it didn't work
Then I tried converting them from hexadecimal to decimal and that didn't work
so then I uninstalled the AUR package and I built hypr manually and that also didn't work
So what should I do now, reinstall my system or call a priest?

call a priest.
Also since u mentioned using dvorak, try maybe using the keysym for the key that normally is on the place of Q? I have no clue how those layouts work on Xorg though.

Tried using those (both letters and keysyms) too with no succes

then sorry, I have no idea. try searching online. I don't use dvorak and so I can't even test this.

I didn't find anything useful by searching so now I'm trying to recreate the situation in a virtual machine to see if it's working there. I don't have any idea what to do either way but at least I'm gonna have the logs

Hypr wouldn't build in the vm so I'm gonna try on my laptop

it works on my laptop

Here are the specs:
Laptop (81DC Lenovo Ideapad 330-15IKB):
CPU: i3-6006U 2.0 GHz
GPU: Intel HD Graphics 520
RAM 4 GB
OS: fully up to date Arch Linux
PC:
CPU: AMD Ryzen 5 5600 3.9GHz
GPU: AMD ATI Radeon RX 6500XT
RAM: 8GB Kingston Fury Beast
OS: fully up to date Arch Linux

¯\_(ツ)_/¯
your PC keyboard haunted

I reinstalled my system and it works now


MNT Run module-standardiser

This pull-request was created automatically by module-standardiser

Oops, targetted the wrong branch


fix(config): Remove .editorconfig

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Remove .editorconfig to avoid local editor configuration overwrite.
Note: Even with the config removed running npm run format does not change double quotes to single quotes for me. The auto format on save and Alt + Shift + F does, however. So I'm not really sure what is going on.

Close in favor of https://github.com/freeCodeCamp/strip-comments/pull/9


Added node-bluebird

.NET on my machine:
24906 % dotnet run
Project dnx (DNXCore,Version=v5.0) was previously compiled. Skipping compilation.
499999500000
Sync sec: 0.162
499999500000
Async sec: 0.482

node-bluebird:
24908 % node skynet
499999500000
regular: 365.884ms
499999500000
warmed-up: 261.911ms

Doesnt Node have a builtin Promise for quite some time now? :)

Oh I see, it goes OOM with the native Promise impl. Funny.

@wizzard0 yeah, native promises really are subpar for now :(

yeah, native promises really are subpar for now :(

A V8 maintainer says this about ES6 features in general:

ES6 performance sucks! Strong mode is a mode for ES6, you cannot use it without using various ES6 features. However, idiomatic ES6 code currently is substantially slower than ES5, across all browsers -- easily by 2x, often by 10x or more. Due to the sheer size of ES6, plus a number of unfortunate design choices, it will likely take years until implementations catch up with ES5 optimisations, and the hundreds of man years that went into those. Until then, strong mode is not going to be an attractive target.

This will probably cause a downward spiral where people won't use es6 cos it's slow and the optimizations are not done because people don't use the features...


Docker Images run but web page is blank and the following errors occur in console stndout

Docker Images run but web page is blank and the following errors seen in console stndout:
DSJAS       | [Thu Dec 29 06:29:26.137770 2022] [php7:warn] [pid 17] [client 192.168.X.X:52674] PHP Warning:  require_once(vendor/hooks/src/gburtini/Hooks/Hooks.php): failed to open stream: No such file or directory in /var/www/html/include/Module.php on line 22
DSJAS       | [Thu Dec 29 06:29:26.138300 2022] [php7:error] [pid 17] [client 192.168.X.X:52674] PHP Fatal error:  require_once(): Failed opening required 'vendor/hooks/src/gburtini/Hooks/Hooks.php' (include_path='.:/usr/local/lib/php') in /var/www/html/include/Module.php on line 22
Fresh install of Ubuntu 22.04.1 LTS  with generic snap install of Docker: 20.10.17
(same issue occurred on older Centos 8 box as well  )

Looks like this is missing https://github.com/gburtini/PHP-Hooks-System

Please run git submodule update --init and re-build the docker container

Thank you ethanv2, yes that solved the problem. Rebuilt the container and ran after running the above git command.  Website renders fine and can login as "edna".
I'll open a separate bug for a problem  with "admin" credentials not working.

No problem at all. Happy scambaiting.


Can't find Freemarker

basic plugin integration within Android Studio (latest stable)
Execution failed for task ':analytics:testReleaseUnitTest'.

Could not resolve all files for configuration ':IntellijKoverConfig'.
Could not find org.freemarker:freemarker:2.3.30.
Searched in the following locations:
- https://packages.jetbrains.team/maven/p/ij/intellij-dependencies/org/freemarker/freemarker/2.3.30/freemarker-2.3.30.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > org.jetbrains.intellij.deps:intellij-coverage-reporter:1.0.614 > org.jetbrains.intellij.deps:coverage-report:1.0.8

I could resolve this issue by adding the following to the build.gradle file:
repositories {
    mavenCentral()
}

Maybe that works for you, too.

added but doesn't work

same problem

Same issue in a multiproject build using convention plugins (kover is the only thing in the root build.gradle file). Adding mavenCentral() worked

@droidmatic34, please check in version 0.4.3.

looks good on my end


Voxel scenes are not centered anymore

Voxel meshes are not centered at their half-extent anymore.
For my use-case this seems more reasonable: I want the asset to be "grounded", so I would have to write some hefty systems accessing the AABB and wrapping the voxel scenes in additional transform nodes, since I don't have access to the voxel scene extent otherwise.
I am not sure if there are other use-cases where centering the voxel asset is preferred, but if so, maybe an addition to VoxLoaderSettings is appropriate. I tried this initially, but the remesh function is also called where it does not have access to the global settings, so I dropped this approach.

Hi there! Sorry for the incredibly slow response. I somehow missed the notification for this. The reason why the models all get centered is because this is how MagicaVoxel displays them in its world editor. If this PR were to be merged, scenes with multiple models would have their transforms get messed up. I can see it's a totally valid usecase though. I've just merged a feature, which will be available in version 0.15.0 as soon as the CI finishes the release, that lets you customise how the models gets centered by passing in a UnitOffset parameter into VoxLoaderSettings. There's a new example, recentering-models, to show how this works. Let me know if you have any issues with this, and thanks again for your contribution.


No Home Page on Github IO

This was a fail on my part. If you'd like to revert the commit, you can

Fixed in 23fe49abe43b0bb22ea074ab5bcd6c26cde9548c


MajorMUD - No Deferred Execution (Cannot Move, Exit, etc.)

Overview:
There's an issue with MajorMUD (1.11g -> 1.11p) where once you create your character and enter the game, while some commands work, other commands that have deferred execution do not.
Details
There are some actions in MajorMUD that use a delayed/deferred execution method in order to simulate things such as movement delay, being over encumbered, etc.
It appears to accomplish this, MajorMUD kicks off a BEGIN_POLLING() on the Channel after a user tries to move, exit, or perform one of these actions. The issue appears that the follow-up (delayed) execution is not being completed within BEGIN_POLLING(), causing the user to be suck in a waiting state.
I can confirm that BEGIN_POLLING() does start on the specified channel and appears to be executing, but something with the state or logic within the routine isn't firing the deferred event properly.

Researching BEGIN_POLLING() with a test module revealed that btuinj() is called in both BEGIN_POLLING() and after the polling routine is executed setting the users status to 192.
This change has been checked in with e83ef98240d609c4c79bdb2f29fdf7075ffb4d5f
While this action is more in line with how MBBS/Worldgroup works, it did not solve the issue. Research continues.

More thoughts from @enusbaum in Discord today:

@enusbaum
majormud does a simulated pause for things like movement and apparently exit
it does this by kicking off task using BEGIN_POLLING() which gets called VERY rapidly (like, 50,000/sec) and it measures how much time has passed before a certain event gets triggered (actually exiting, moving, etc.)
something in the function passed to this routine isn't firing correctly

@jnfisher
@enusbaum so is mmud registering a callback by passing a function ptr to BEGIN_POLLING, and then within that internal module function it has gameplay logic?
Or am I way off base conceptually

@enusbaum
nope, that's it

Fixed in build 101420-2

Fixed by #194


Add multithreading support

Implementation should be provided by a small portable C / C++ library (via FFI) to provide real threads to Lua.
Alternatives could be Lua-lanes or a similar library (comparison of threading libs)
Following implementations could be possible:

split up the work from 1 property into equal slices, let a thread run 1 slice.
split up properties and schedule them over the different threads.

This might also add the possibility for parallel testing ('prop_parallel') of properties / FSMs, but this would need to be looked at if feasible.

Multi-threading is supported as of v0.2-0 by making use of the LuaLanes library.


missing support for query params and fragments

Matches the proposed spec.

are query params and fragments part of the spec?
repro:
await import('./index.js#test')
// throws: Cannot find module './index.js#test'

await import('./index.js?test=test')
// throws: Cannot find module './index.js?test=test'

in addition, this makes it impossible to force reimporting a module and get a fresh module record, e.g. for loading modules in tests.

That path is not a URL - it's a specifier, by spec. The spec requires it be treated as an opaque identifier by everything except the host itself. So, anything you import() that won't work as a require in node, is something you'd need a different transform for - or better, import maps in the browser (ie, your code should match node, the browser should need a build process).

thanks @ljharb ! basically you are stating, my "host" is node.js with cjs require. whatever this provides, goes. Makes sense.
I was mainly just trying to invalidate dynamically imported modules for some tests, meaning I needed to have a "fresh" module to test - with no existing state. but now thinking about it, even if the plugin could handle the invalidation (aka load another module instance) case, there would be no import.meta object either, and therefore no url to read the additional parameters from. so, somewhat pointless to provide a query or fragment then.

You can do that with delete require.cache[require.resolve(specifier)].


Improvement table body row render calculator

fixed issue #206
This PR try to improve the table row render for big data and select (checkbox, radio), now table row selection be faster than before.
I added the empty table row for invisible data when it couldn't show in the table to avoid the TableRow render do.
But I can't promise it not affect the other feature,  just an experimental maybe we have to discuss it.
try it :)
--
Edit: #557

hi @madeinfree, it's a awesome idea for rendering big rows, I'll check it out and it is necessary to do more test. Thanks a lots

Hi @AllenFang, I think one of the commits on this can be implemented to infinite scrolling.

@jvallarvisp, which one? BTW, I would like to merge this into v3.0.0-dev, because I think it can be a new feature on next major version upgrade, so maybe you need to wait v3.0.0 release.


Restore the original 'pager sup' format for nagios alerts

The original format was something like
Triggered:
----------

Acknowledged:
-------------
2858: 2014-12-19T04:46:54Z host1/unknown-services (CRITICAL) - assigned to antonio
2859: 2014-12-19T04:47:14Z host2/haproxy-status (CRITICAL) - assigned to antonio

but since mid December the / between the host and the check description has been replaced by a space.
A subject is always returned (this was probably not always the case before) and the first condition patch in the if clause setting the summary is always met. Reordering the condition branches is enough to get the original format back.

Excellent, thanks :sparkling_heart:


Metadata for VSCode extensions still points to vscode-ruby-lsp

Description
https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-lsp

Same for the issues/repository/etc. links.
I think it's also showing a version number from the server?

Thanks for the report. This is because we have prerelease version published of the extension with a higher version number than the stable release. The marketplace always favours the highest version number and that one was published from the old repo.
Once https://github.com/Shopify/ruby-lsp/pull/1967 is merged, we will have stabilized all of the prerelease behaviour and can finally release v0.7.0, which will then fix the data in the marketplace.


PTZ service calls  do not appear to work on dev branch

Works @ 5eadffff667f987a5a3bd410c4613a62b746c3d6 .

PEBKAC: Wasn't using a bleeding edge Frigate, so entity was being marked unavailable (cannot send service calls to unavailable devices).


If there are errors from execute still display any data

Description
schema.execute can return errors and data. At the moment if there are any errors in the execute result then the app just discards any data. This PR changes this behaviour so that errors and data can be shown at the same time.
Types of Changes

[ ] Core
[x] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@jkimbo do you have an example of showing both errors and data?

@patrick91
from typing import Optional
import strawberry

@strawberry.type
class Author:
    name: str

@strawberry.type
class Book:
    name: str

    @strawberry.field
    def author(self) -> Author:
        if self.name == "2":
            raise Exception("Error getting author")
        return Author(name="Bob")

@strawberry.type
class Query:
     @strawberry.field
     def my_books(self) -> list[Optional[Book]]:  # note the Optional here
         return [Book(name="1"), Book(name="2")]

schema = strawberry.Schema(query=Query)

then this query:
{
  myBooks {
    name
    author {
      name
    }
  }
}

you'll get a response of:
{
  "myBooks": [
    {
      "name": "1",
      "author": {
        "name": "Bob"
      }
    },
    null
  ]
}

And an error.

perfect! thank you!


Allow setting withCredentials in spf xhr options

This allows SPF to be used with CORS + Cookies.

You're going to have to thread this to spf.nav.request.send as well.  To make this available to clients, we could also thread this one step further to spf.nav.load.  (Since withCredentials has no-effect on same-domain requests and we currently force reloads on cross-origin navigation, I don't think we need to make this available to spf.nav.navigate.)

Added commits to forward withCredentials to spf.nav.request.send and spf.nav.load, also added to the markdown file.
Let me know if you prefer to have this squashed into one commit.

Please do squash into a single commit.  You either do it beforehand in your fork or "squash and merge" using the GitHub UI when merging the PR.

Squashed my commits and addressed comments. Not sure how to mark comments as addressed though.

Ah, sorry I forgot this before -- can you add the withCredentials property to the typedef in base.js too?  https://github.com/youtube/spfjs/blob/master/src/client/base.js#L301

Updated

LGTM after nits.

Addressed comment issue. And updated.


🧑💻: Add copyright label

:red_circle: Add copyright labe; :
:red_circle: To know who owns copyright :
:red_circle: I want to add copyright in the footer :
Screenshots 📷
N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name : Sai pradyumna
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)
GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Avdhesh-Varshney  can you please assign me this issue

@Saipradyumnagoud website not having footer. So, wait for it.

@Saipradyumnagoud website not having footer. So, wait for it.

i will add footer

not required. Work either on functional part or ui enhancement part.


Game is paused when pressing and holdilng close, minimize or maximize buttons of the game window

Godot version
3.5
System information
Windows
Issue description
When you press the close /minimize/maximize window buttons but not release it the game is pausing.
The pausing is not expected.
https://user-images.githubusercontent.com/16458555/190872675-70b7698f-8ba0-47dd-8502-49f72f4c90b1.mp4
Steps to reproduce
Create any project, do something say in _physics_process(), run it, press the close button of the game window but don't release the mouse.
The game process will be paused
Minimal reproduction project
No response

As far as I know, this is something that occurs to a lot of applications/games on Windows. I'm not sure if we can fix this.


The code of opengan is incomplete, missing two important parts

I ran opengan's code and found poor results. Then, I checked the paper as well as Excel table you published and the results are the same. I read the code and found that it was missing two important parts.

Open Validation: The original paper says that using outlier data as a valset to select the “right” GAN-discriminator does achieve the state-of-the-art on open-set discrimination. In other word, without open validation, the model would not work well.
Training With Extra Data

I really appreciate your work.

Thanks for your quick reply, I read the code and I think the hyperparam_search() function is used to search for hyperparam, a convenient and easy to use function, which is slightly different from 'open validation' which aims to 'search' for the best GAN-discriminator during training, rather than finding the best hyperparam in a list like finding the best K for KNN.
I'm waiting for you inspect, thanks again for your excellent work.

@Prophet-C is still looking into the code. We will update it when finish.

For our current result, we didn't use the model selection method from the paper, this is an oversight which we will fix later. I'll re-run the experiments with the proper model selection method after I fix this. As for the training with extra data, we currently do not consider to include that in the training scheme, as it would be unfair for other methods. We might consider design a Extra Training Data setting which all the methods could utilize later.

@Prophet-C I have a fixed version and will push the commits later. You don't have to work on this if you haven't :)

@liujunzhuo We've included the "Open Validation" step for OpenGAN here.
https://github.com/Jingkang50/OpenOOD/blob/f8870d72e3d0abb0c93c123fed7a2d2800f54c2a/openood/pipelines/train_opengan_pipeline.py#L51-L52
Adding "training with outlier data" for OpenGAN requires significant efforts which we do not consider in the current phase (we do welcome external contributions on this). Note that it is still valid to compare OpenGAN with methods that do not train with outlier data.

Thank you for your resolving the issue. I'm very appreciate your work!


failed to provision volume with StorageClass

i have linstor with 2 nodes with lvm-thin:
linstor storage-pool list
┊ data                 ┊ linstor-ctrl   ┊ LVM_THIN ┊ drbdpool/thinpool ┊    19.96 GiB ┊     19.96 GiB ┊ True         ┊ Ok    ┊
┊ data                 ┊ linstor-satel1 ┊ LVM_THIN ┊ drbdpool/thinpool ┊    19.96 GiB ┊     19.96 GiB ┊ True         ┊ Ok    ┊
and group named linstor-basic-storage.
i deployed csi-driver linstor in my k8-cluster. created sc, pvc  and got error in command
kubectl describe pvc my-first-linstor-volume
Warning  ProvisioningFailed    13m (x16 over 51m)    linstor.csi.linbit.com_linstor-csi-controller-0_b3c98016-4e61-4650-ab86-2c1167f5d047  failed to provision volume with StorageClass "linstor-basic-storage": error generating accessibility requirements: no available topology found
my sc:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: linstor-basic-storage
provisioner: linstor.csi.linbit.com
parameters:
placementCount: "2"
storagePool: "data"
resourceGroup: "linstor-basic-storage"
my pvc:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: my-first-linstor-volume
spec:
storageClassName: linstor-basic-storage
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
How can i solve this problem?

i have find the reason.
linstor csi nodes are down.
linstor-csi-node-bvtkh                    1/2     CrashLoopBackOff   35         15h
linstor-csi-node-rp9bf                    1/2     CrashLoopBackOff   31         15h
linstor-csi-node-zrdh7                    1/2     CrashLoopBackOff   37         15h
kubectl logs linstor-csi-node-zrdh7 -n kube-system csi-node-driver-registrar
time="2021-05-05T03:18:04Z" level=debug msg="curl -X 'GET' -H 'Accept: application/json' 'http://<IP_ADDRESS>:3370/v1/nodes/node1/storage-pools'"
time="2021-05-05T03:18:04Z" level=debug msg="Status code not within 200 to 400, but 404 (Not Found)\n"
time="2021-05-05T03:18:04Z" level=error msg="method failed" func="github.com/sirupsen/logrus.(*Entry).Error" file="/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go:297" error="failed to retrieve node topology: failed to get storage pools for node: 404 Not Found" linstorCSIComponent=driver method=/csi.v1.Node/NodeGetInfo nodeID=node1 provisioner=linstor.csi.linbit.com req= resp="" version=v0.12.1
time="2021-05-05T03:18:17Z" level=debug msg="method called" func="github.com/sirupsen/logrus.(*Entry).Debug" file="/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go:277" linstorCSIComponent=driver method=/csi.v1.Identity/GetPluginInfo nodeID=node1 provisioner=linstor.csi.linbit.com req= resp="name:"linstor.csi.linbit.com" vendor_version:"v0.12.1" " version=v0.12.1
But i don't understand why this variable $(KUBE_NODE_NAME) is used for getting storage pools? I have storage pool on different vms.

Hello!
You don't need a storage pool, but at least a satellite running on the host. This can be directly on the host or as a daemonset (like the one configured by the piraeus-operator. The LINSTOR satellite is responsible for creating the DRBD diskless resource that the node attaches to, the CSI-Node pod just prepares/mounts the device created by the satellite.

Does this storage work like openebs with block devices?  Can this storage work in k8-cluster with external pools (on non-clustered vms)?

I mean, every k8-node must have the same disks

No you, can have completely different disk and storage pools on every node

Can this storage work in k8-cluster with external pools

Yes. the only requirement is that your kubernetes cluster nodes are part of the overall linstor cluster (i.e. they have to have a satellite configured). The kubernetes nodes don't need a disk configured.


Added OSL model and meshes

[ ] Why is it called OSL_Leg ? (that like open source leg leg)
[ ] Add read me inside the OSL folder to details what's present there
[ ] Add the model to the main readme table

[X] Why is it called OSL_Leg ? (that like open source leg leg)

It was meant to be referred to as osl_myoleg. But in myo_sim, the myoleg is referred to as leg. Hence the reason for appending the "osl" prefix to leg. Yes, it could be misleading. Is it any better to call it osl_myoleg?

[X] Add read me inside the OSL folder to details what's present there

README added to the folder

[X] Add the model to the main readme table

Main README updated

@elladyr can you also update the main Readme with the relevant info?

@elladyr can you also update the main Readme with the relevant info?

@Vittorio-Caggiano I have already added the documentation in the main README.

This seems to have been approved. @Vittorio-Caggiano  merge?

A minor update to the copyright notice. Added Adan into the list, since he also helped test the actuator ctrls and forces.


Fix the problem with inner double quotes

Do I correct create expression for my case with inner double quotes?
After move from System.Dynamic.Linq to System.Dynamic.Linq.Core all my similar expressions were broken

@StefH I made the required changes in the code. Something else needs to be done?

Thanks a lot.
A small question, how does the code behave if you use something like an incomplete escaped string as a search query?
Example test \"abc.

@StefH may be you skipped my comment about new code.

Ok. I will merge the code soon.

@StefH ok! Thank you! And update nuget please.

@StefH did you update nuget?

Not yet sorry. Tomorrow morning.

@StefH thank you!!


Log File

Hi,
Where is the log files folder?
Best Regards

You should probably use a service manager to gather logs in a file.


Specify a shortcut for one or several log files in in Springboot

Hi @sevdokimov, how to specify a shortcut for one or several log files in Springboot app?

Ah ha, it could be solved by providing a spring bean LvPathResolver.


Document migration

Make use of the db.collection.copyTo() method to copy the unverified student document to the student collection and delete the document from the profiles collection.
note: remove existing code.
path: app/controllers/profileVerification.js
ref: https://docs.mongodb.com/manual/reference/method/db.collection.copyTo/

Can I work on this?

Sure, you can start working on it.
While creating the PR, do not forget to link it to this issue 😄

I'm looking at this now -- I'm in over my head, I think. :) Just removed the assignment so someone else can grab it. Sorry about that.


feat: splitting BracketsJS into multiple files

It would be best if BracketsJS was split into multiple files like how jQuery does since we're already using webpack.

Make a short explanation of how this change benefit the library.

@dinonull Alright, go ahead I guess.


It is not possible to run a singular integration test

Problem
Running a singular integration test fails with an Specified folder does not contain a runnable test error.
Steps

run tremor test integration tremor-cli/tests/integration/udp_postprocessors

Notes
It might be worth scrapping the test custom runner and looking for an existing solution.

this is completed


Attributes Table Functionality

@tmcgee I am wondering if it is possible to have the Attributes Table widget immediately opened when the app is accessed by the client. However I still need the attributes table to also allow for search capabilities to remain. Will the widget function like this?

`attributesTable: {
include: true,
id: 'attributesContainer',
type: 'domNode',
srcNodeRef: 'attributesContainer',
path: 'gis/dijit/AttributesTable',
options: {
map: true,
mapClickMode: true,
                // use a tab container for multiple tables or
                // show only a single table
                useTabs: true,

                // used to open the sidebar after a query has completed
                sidebarID: 'sidebarBottom',

				//optional tables to load when the widget is first initiated
				tables: [
				{
					title: 'All Suppliers',
					topicID: 'apegWoodProducts',
					queryOptions: {
				            queryParameters: {
					    url: 'http://bhgis.org/arcgis/rest/services/APEG/WoodProducts/MapServer/60',
				 },
					idProperty: 'OBJECTID'
					}
				}
			]
            }
  }`

@tmcgee I was able to answer my own question. I will post the results below so that they could potentially help anyone else in my position. Let me start with a piece of advice: @tmcgee has created some really good documentation. read it thoroughly and you too can likely answer your own question... With that said: I read the Attributes Table documentation a little more and noticed the section for featureOptions:{}. It was here that I discovered the options you can apply to the features included in your query. my code is below for reference:
attributesTable: {
                include: true,
                id: 'attributesContainer',
                type: 'domNode',
                srcNodeRef: 'attributesContainer',
                path: 'gis/dijit/AttributesTable',
                options: {
                    map: true,
                    mapClickMode: true,

                    // use a tab container for multiple tables or
                    // show only a single table
                    useTabs: true,

                    // used to open the sidebar after a query has completed
                    sidebarID: 'sidebarBottom',

		    //optional tables to load when the widget is first initiated
		    tables: [
			{
				title: 'All Suppliers',
				topicID: 'apegWoodProducts',
				queryOptions: {
					queryParameters: {
						url: 'http://bhgis.org/arcgis/rest/services/APEG/WoodProducts/MapServer/60',
					},
					idProperty: 'OBJECTID',
					},
					featureOptions: {
						//Show the resulting features on the map
						features: false,

						//Allow records to be selected in the grid
						selected: true,

						//Allow the display of an info window when a feature is selected
						infoWindow: true,

						//Allow the user to highlight features that have been selected in the grid
						highlight: true,

						//Show the source feature used in the search
						source: true,

						//Allow the creation and display of a buffer
						buffer: true,

						//Do we zoom to the source features after the query
						zoomToSource: true,

						//Do we zoom to the selected features after the query
						zoomToSelected: true,

						//Allow StreetView when there is a single selected feature
						streetView: true
					},
				}
			]
                  }
            }

@tmcgee I was able to answer my own question. I will post the results below so that they could potentially help anyone else in my position. Let me start with a piece of advice: @tmcgee has created some really good documentation. read it thoroughly and you too can likely answer your own question... With that said: I read the Attributes Table documentation a little more and noticed the section for featureOptions:{}. It was here that I discovered the options you can apply to the features included in your query. my code is below for reference:
attributesTable: {
                include: true,
                id: 'attributesContainer',
                type: 'domNode',
                srcNodeRef: 'attributesContainer',
                path: 'gis/dijit/AttributesTable',
                options: {
                    map: true,
                    mapClickMode: true,

                    // use a tab container for multiple tables or
                    // show only a single table
                    useTabs: true,

                    // used to open the sidebar after a query has completed
                    sidebarID: 'sidebarBottom',

		    //optional tables to load when the widget is first initiated
		    tables: [
			{
				title: 'All Suppliers',
				topicID: 'apegWoodProducts',
				queryOptions: {
					queryParameters: {
						url: 'http://bhgis.org/arcgis/rest/services/APEG/WoodProducts/MapServer/60',
					},
					idProperty: 'OBJECTID',
					},
					featureOptions: {
						//Show the resulting features on the map
						features: false,

						//Allow records to be selected in the grid
						selected: true,

						//Allow the display of an info window when a feature is selected
						infoWindow: true,

						//Allow the user to highlight features that have been selected in the grid
						highlight: true,

						//Show the source feature used in the search
						source: true,

						//Allow the creation and display of a buffer
						buffer: true,

						//Do we zoom to the source features after the query
						zoomToSource: true,

						//Do we zoom to the selected features after the query
						zoomToSelected: true,

						//Allow StreetView when there is a single selected feature
						streetView: true
					},
				}
			]
                  }
            }

@tmcgee It does appear however that if you set the following options:
featureOptions: {

    //Show the resulting features on the map
    features: false
}

Then it will not allow you to customize any of the other feature options such as //Allow records to be selected in the grid. Is there anyway to hide the query results when the app loads, yet still maintain zoom to capabilities when you select a feature from the attributes table?

I want to clarify that when I set the following in the above example:
featureOptions: {
   //Show the resulting features on the map
   features: false,
}

This did achieve my goal of not having any features highlighted on the map, in addition it also disables the ability to have a feature highlight, select, or zoom to when you click a feature in the attributes table.
While it may not be the best approach, here is my work around: I decided to just set opacity value for the rgba color on the symbol options for the point features to 0. This doesn't seem to effect any of the other intended functionality to the application. Below is the code for the symbol options:
symbolOptions: {
    features: {
        point: {
	    type: 'esriSMS',
	    style: 'esriSMSCircle',
	    size: 15,
	    color: [200, 0, 200, 0],
	    angle: 0,
	    xoffset: 0,
	    yoffset: 0,
	    outline: {
	        type: 'esriSLS',
		style: 'esriSLSSolid',
		color: [200, 0, 200, 0],
		width: 2
	    }
	}
    }
}

Thanks for posting your variations. I have used both of these approaches. There are many ways to skin this cat.


multi-wan: support sticky-address route-to

I believe gateway load balancing should be affected by Settings > Misc > 'Sticky Connections' (See #691 regarding unclear description) (see https://forum.pfsense.org/index.php?topic=49054.msg260494#msg260494 for information from pfsense forums)
If this is the case it does not appear to be working (as can be seen below):

note: the background tab in firefox is refreshing every second
note: there are no proxy settings on either browser
If the 'Sticky Connections' option is not intended to affect outgoing connections then this would be a feature request to add a 'Outgoing Sticky Connections' so that load-balanced multi-WAN is able to function with general web browsing (or other protocols that would expect a consistent IP)

We really need to better distinguish between Multi-WAN and Load Balancing everywhere it seems. :)
It looks like the default for Multi-WAN is "route-to" in pf.conf(5), which will do a round-robin per connection, which is what you see. There are, however, pool options for route-to, which can use "sticky-address". Let's try with your setup on IRC next week? :)

I found the cause... local traffic does not honour gateway settings, see: https://forum.opnsense.org/index.php?topic=2056
I'm marking this [upstream] and will talk to a FreeBSD dev.

The traffic isn't originating from the firewall itself in my case, are we sure this is the same issue?

Hmm, no transparent proxy configured?

Correct, no proxy, transparent or otherwise, configured

Ok, my mistake. The functionality is there but for some reason it won't work in your case.

(and I mean really there with rules kewords and all, did we already look through a /tmp/rules.debug dump from you box?)

I don't think we've been through it -- I'll PM a dump.

Config does not contain "sticky-address" tags for the respective pf rules, that means the setup tiptoes around the code that adds it. It looks like a config issue at this point, getting to the bottom of this soon enough now. :)

Yay, progress! Let me know if you need anything testing, but bear in mind it's a production firewall.

@syserr0r what's the status on this? :)

I'll try and look at it again in the coming week, but last I looked at it (whch was a fair while ago) the source IP/connection wasn't sticky.

After some very preliminary testing it looks like the source address is staying somewhat sticky so I've rolled it out further and await feedback from our users.

Closing this now.


QAGenerationChain is missing when langchain is pip installed

Docs show a QAGenerationChain but that is not exposed via pip install.

What langchain and python version are you using?

ah looks like i was using an old langchain, just updated and it seems to work now. closing this. thanks!


Google APIException (39508) after using the SwissCovid App

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[ ] Bug is not already reported in another issue (kind of)

Describe the bug
When you disable the SwissCosid App and try to use this one again you get an error saying:

CAUSE: 3
Something went wrong.
Error when communicating with Google API(39508)

Expected behaviour
The app should function normally
Steps to reproduce the issue

Download the SwissCovid App
Activate the SwissCovid App
Switch the active Corona App to the Swiss version
Deactivate the Swiss App
Open the CWA
Activate exposure logging
Switch the active App to the German one

Technical details

Mobile device: OnePlus 3
Android version: LineageOS 10 / Android 10

Possible Fix

Additional context
A similar bug is documented here: #774

Got the same problem, I changed nothing in my device settings or app pool.
Screenshot Ist attached.

Ich habe den selben Fehler, mit selber Exception, auch ohne eine andere App isntalliert zu haben. Bin seit Tag eins dabei.  NAch einem "Force Stop" der App ist die Meldung weg. Android 10. Vor 6 Stunden habe ich die Google App aktualisiert auf <IP_ADDRESS>.arm64.

@Th3Ph4nt0m @johannes Da ihr beide den Bug so habt, am besten in #774 melden

Liegt vermutlich an der Uhrzeit. Der Fehler tritt aktuell immer zwischen 0 und 2 Uhr auf.

Also bei mir ist es zu jeder Uhreit aufgetreten, das einzige was geholfen hat die deutsche App neu zu installieren @treysis

The app should gracefully detect error 39508 and show a message like "temporary failure, please try again after 2am". Same for error 13 in the iOS app and other known errors, but it's especially important for these rate limiting errors. Often these errors occur because a user reinstalled the app after getting hit by some other issue, and then there's this other error, so many of them probably give up and uninstall.

Agreed. We'll take that to the product management. Especially the point about not trying to reinstall the app is really paramount and should become much clearer also within the app.

Agreed. We'll take that to the product management. Especially the point about not trying to reinstall the app is really paramount and should become much clearer also within the app.

Obviously there is already the plan to introduce a more user friendly error report according to google API errors, as a new error dialog combining API 10 and API 39508 errors was merged to the dev.
I made a suggestion to seprerate that single error message to 2 different messages, and now also added @tkowark idea to propose to the user not to uninstall or reinstall the app to keep the logged exposures.
As this is my first day on github, I did not know how to correctly make this contribution... Maybe someone can transform this https://github.com/corona-warn-app/cwa-app-android/pull/864#issuecomment-659356206 into a pull request?

@vaubaehn thanks for your proposals. As written above, we have to run this by the product management, so please wait with a dedicated PR. But just to summarize the suggestions:

39508 should ideally never be exposed to the user, but gracefully captured and a retry should happen at the next possible point in time
If 39508 has to be shown, your proposals from (https://github.com/corona-warn-app/cwa-app-android/pull/864#issuecomment-659356206) are great starting points, through we might have to shorten them a bit

Can confirm this issue. For me, since today, the app is not functional.

@lennard0711 could you please update your CWA app to 1.5 and wait up to 24 hours after the installation was complete? The developers have fixed the problem.

Since missing feedback, I will close this issue.
We created a new issue if the 39508 problem persitzt after updating to the latest version: https://github.com/corona-warn-app/cwa-app-android/issues/1459


Defined new revisions for golang dep: github.com/bazil/fuse

The license is BSD-3-Clause. https://github.com/bazil/fuse/blob/371fbbdaa8987b715bdd21d6adc4c9b20155f748/LICENSE


Missing initEvent method of document.createEvent('Event')

See https://flowtype.org/try/#0PQKgBAAgZgNg9gdzCYAoVA3AhgJzAUwwBcwBeMAEzgGMBXAW3wDsiA6anfLI-AUQ2ZEAFAHJ+gkQEoA3KkJsAlkwVFxLUZyzUiAWmowF1ANYiANGChYYAZ3znLN-DNRA
We're using it in React: https://github.com/facebook/react/blob/master/src/renderers/shared/utils/ReactErrorUtils.js#L71-L72

I think we removed this recently because it's deprecated. I'm not opposed to adding it back, but you might consider not using a deprecated API.

cc @spicyj

Yeah, I'm OK with supporting it. (Although @mroch may feel differently, I believe we want to discourage it in general.)

i don't think it was removed. initCustomEvent was added in https://github.com/facebook/flow/commit/f592ccb16ca06ec9c746d107648ae41f2c8658b6 despite being deprecated, so seems like we can add it.


REACT: No. of Contributions

I want to add number of contributions by a contributor in Clan of Contributors.
Original

Updated

I want to add number of contributions by a contributor in Clan of Contributors.
Original

Updated

Actually, I did think about this. On the plus side, we get to know which devs were more actively involved with the project but on the other side, quantizing contributions won't be a good idea for a long term. For example, if you gave a single commit (in a PR) and changed a lot of features while someone changed certain content over multiple PRs(2 I mean not beyond that) or a small bug fix, then the quantization of commits won't be fair

Yes, your point is valid.


Add demo & usage documentation

After #192, add documentation in doc/DEMO.md for what resources to watch and what state the cluster should be in after each action in the demo run-through

This issue has changed a bit. We've split steward into two components as of now:

steward-framework: the Go SDK for Kubernetes resource and control loops
steward-cf: the CloudFoundry broker API implementation on top of steward-framework

Documentation of the kind described herein should still live inside this repository, but it shouldn't just be for demos. It should be extended to general usage. I've changed the title of this issue accordingly.