[4.2][Refactoring] Several fixes

Cherry-pick of:

Re-implement "collapse nested if" action #16789  Reviewed by @nkcsgexi
Narrowed isApplicable() condition to ensure that we don't emit this action when it's not safe to apply this action.

Disallow extracting partial statement #16790  Reviewed by @nkcsgexi
BraceStmt, CatchStmt and CaseStmt aren't independent statements, thus unextractable.

Disallow several kinds of decl to move to extension #16836  Reviewed by @ahoppen @nkcsgexi
AccessorDecl and EnumElementDecl aren't independent decls. DestructorDecl and EnumCaseDecl can't be put in extension.

rdar://problem/39516354
rdar://problem/38390401
rdar://problem/40274500

@swift-ci Please test


Launch a job with FSx for Lustre is failed

Describe the bug
Launch a job with FSx for Lustre is failed
qsub -l fsx_lustre=s3://soca-wba-demo/ -N job s.sh
Error Info:
str object has no attribute keys : error:<class AttributeError > add nodes.py 814 { error message : str object has no attribute keys : error:<class AttributeError >

[ ] Region: [e.g. us-east-1]

Screenshots

Hello,
Please remove the trailing / at the end of your bucket name as it will triggers a regex error
bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$" or be an ARN matching the regex "^arn:(aws).*:(s3|s3-object-lambda):[a-z\-0-9]*:[0-9]{12}:accesspoint[/:][a-zA-Z0-9\-.]{1,63}$|^arn:(aws).*:s3-outposts:[a-z\-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9\-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9\-]{1,63}$"

I was able to reproduce your error using s3://<bucket>/ and confirmed s3://<bucket> is working ok.
Can you please give it a try and let me know.
With that said, +1 on adding better logging reporting, I'm working on a new logging framework for the next version.

I encountered an error when running the qsub command:
qsub -l fsx_lustre=s3://soca-wba-demo -N job s.sh
The error message was: At most 1 subnet is allowed.
To resolve this, I specified a subnet ID, and the command worked:
qsub -l subnet_id=subnet-0469f80ffec266849,fsx_lustre=s3://soca-wba-demo -N job s.sh
Thank you for your help.


Unexpected RADIUS behaviour multi NIC Windows Server RADIUS

Prerequisites

[X] Can you reproduce?
[X] Are you running the latest version of SoftEtherVPN?

**SoftEther version: SoftEther VPN 4.31 Build 9727
**Component: Server
**Operating system: Windows Server 2019
**Architecture: x86-64
[In case it's a computer with known specs, such as the Raspberry Pi, you can specify it omitting the details.]
Processor: Haswell i5 4670K
Description
SoftEther on a multi NIC Windows Server 2019 setup uses the incorrect NIC to authenticate RADIUS, SE is ran on a WS2019 server, it has 2 NICs, <IP_ADDRESS> and <IP_ADDRESS>, SoftEther has NIC .254 dedicated to itself as local bridge, yet when configured for RADIUS auth it uses the <IP_ADDRESS> NIC to authenticate to the RADIUS server.
A RADIUS message was received from the invalid RADIUS client IP address <IP_ADDRESS>. can be found in the Windows Event Viewer.
Expected behavior:
That SoftEther would use the NIC dedicated for it in local bridge sections, or better yet, be able to use <IP_ADDRESS> as PAP is insecure.
Actual behavior:
SoftEther uses the incorrect NIC to send RADIUS requests.

SoftEther always uses the system routing table. It has nothing to do with local bridge settings.


Unable to start server - error 1006

Hi, I have jdownloader 2 running through Portainer/Docker on OpenMediaVault V. I have a fairly simple setup but I haven't been able to get it to run - jdownloader quits almost immediately. It's not clear to me why. I've attached the log which is pretty brief.
_jdownloader_logs.txt

Can you provide the log file at logs/output.log, under the directory you mapped to /config ?

I was able to fix this a few days after posting but unfortunately I don't remember what I did.


This is a small tycoon-like game about making cold, hard green, with various upgrades you can use along the way to streamline your process. Go from button mashing to securing your descendant's futures, just a few clicks and presses away!

How to play your game?

[WASD] is used to run your money press. As you reach various stages in the game, you can buy upgrades using [IJKL], such as money printers(automate button presses) and money men(multipliers). Additionally, you can get the ultimate flex, the 24k sprig! Impractical, sure, but who cares, anyway?

Prices are as followed;
Money printers: 200$
Money men: 500$
Money banks: 1250$
24k Sprig: 5000$

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors. (As of now. Hasn't generated any errors within my testing.)
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)
Not applicable; I didn't make one. Please let me know if I need to.

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file. Example: sokoban_plus.js -> sokoban_plus.png.

Thanks for PR!

Awesome tycoon game! I loved it.
One thing, maybe you could add the prices of each item somewhere, I didn't know when I could purchase a thing.
Happy hacking!

added a shop ui, maybe that helps clear some stuff up? 🛒

Awesome! Thanks for the PR.


Modest dependency updates

java target to 8
update maven to latest version
update hibernate components to newer versions not requiring code changes

need to correct the failing check


[Feature] Table URL columns pretty link

Summary
Allow users to configure a human readable text in the table widget's url type column configurations.
Motivation
Today, the URL column works as is. Which means, that the url value is shown as is and is available as an anchor link.
Many common use-cases would require an alternative text to be shown which would still be an anchor link.
Additional Context
It should have a new field which will be a computed text to be shown. If this is not configured, fallback to showing the url.

Note:

The property pane will consist of Display text field under the column type URL
The computed value will have the href/url
In the table column the Display text will be show unless empty, Otherwise show the URL directly
Is Both display text and computed values are null then the column should not redirect with the null value and clearly show that there is not link here

Note:

[bug]: The URL column does not follow the alignment styling of the parent table.


Color picker window closes unexpectedly when clicking on the combobox multiple times

Environment
Windows build number: 10.0.19041.388
Windows Terminal version: 1.1.2021.0

Steps to reproduce

Right click on a tab
Click "Color..."
Click "Custom..."
Click "More"
Click on the combobox with RGB and HSV
Click on an empty area, so the combobox closes
Click on the combobox again

Expected behavior
The combobox opens again

Actual behavior
The color picker window closes

Good catch!

I did a short analysis, it seems like focusing the ColorPickupFlyout (clicking the background of the flyout) and then clicking on this dropdown raises an OnLostFocus event for the Flyout itself. However, when focussing one of the text inputs, this does not happen. When clicking the dropdown after clicking the text input, this does not happen either. So only the transition "focus on flyout" => "open dropdown" causes this to happen.
I fear this is somewhere deep in the framework...

Yikes. That's not what you want to hear. Well, this definitely sounds like it's not an "Easy Starter" 😆


Use root account creds to assume a role in target account for federated role cleanup

This PR moves the AWS Federated Account Access finalizer cleanup to use the root account (aws-account-operator-credentials) access keys to assume the OrganizationAccountAccessRole in the target AWS account rather than the secret specified in the CR. This solves an issue where the secret is deleted and the AFAA finalizer can't complete properly and leaves extra Federated Roles.

/hold

/lgtm

/lgtm

/hold cancel


Add option to prevent cleaning of work directories

I'm not sure really how useful this will be. Hannes and I had a conversation about this and were talking about maybe adding a clean-temp option to toil, or maybe using a combination of --clean and --logDebug to understand that the user is debugging and would need the tempdir contents.
I, however, realized that this isn't really all that useful. Between the error logs in logDebug and the error thrown by toil, you can approximate the issue. Things I do to debug my scripts include

Looking at the error itself. If the error is a(n output) file not found error (the most common one i see) it means one of 2 things
a) The tool itself failed. Add debug lines to script printing docker call to stderr, assert all files going
into the call exist.
b) The tool ran but the path i've provided to writeGlobalFile was wrong, chances are i've forgotten to
prefix the correct work directory to the filename
write a generic "dump-all-files-to-dir" function that will take all outputs of a job and write them to a given directory using writeGlobalFile. This way you ensure each module is creating the right input for the next step.
While my script is running, I keep a watch -d 0.5 "tree -fih /path/to/temp_dir" running in a window so i can monitor the activity in temp dir in my peripheral vision. Knowing the approximate size of the files before they crash can be very informative.
(This was specific to two tools and i got this by trial-and-error) run the command outside toil using both docker run -it and just docker run. Some tools require an interactive shell to run. If the tools runs in the interactive call but not the non-interactive one, consider adding the -i option to your toil docker call.

@arkal comment should form the base of a troubleshooting section in the Toil documentation.

I still think there may be a valid use case for this.

Dupe of #686


Fix log messages and exceptions seen during deployment

Current coverage is 64.51% (diff: 66.66%)

No coverage report found for master at 65775a0.

Powered by Codecov. Last update 65775a0...b05f2f9


Split core

Moving some basic gobblin-core classes to gobblin-core-base:

InstrumentedDataWriter
AbstractSource
EventBasedSource and EventBasedExtractor
InstrumetedExtractor
PartitionAwareWriterBuilder and WriterPartitioner

This is necessary for https://github.com/linkedin/gobblin/pull/1417

LGTM


SERVERLESS-2491 Rename action -> function in error messages

As per title, to be able to eliminate action terminology from error messages.

Tests passed.


Release MAMP new version

There was a pull request template when you submitted. It must be filled.
If you were not presented a template, you may have submitted via a CLI tool (likely hub). It that was the case, you may wish to see if the tool has a way to let you use the template (hub is working on it).
In either case, please refer to the template and update your comment.
In this case, you did not update necessary fields (you would be informed via the commands). Will do so in a different PR. Thank you for the report.


Traditional Chinese translation improvement

What does this PR do?
This PR synchronizes zh-TW version of HOWTO-zh-TW.md and CONTRIBUTING-zh-TW.md with latest English version.
This PR also fixes some simplified Chinese with traditional Chinese in HOWTO-zh-TW.md and CONTRIBUTING-zh-TW.md.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists  in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Followup

Check the output of Travis-CI for linter errors!

Thanks, and welcome to free-programming-books!

Thanks, and welcome to free-programming-books!

@eshellman thanks!  I am glad that I contributes to the repository.

@eshellman thanks!  I am glad that I contributes to the repository.


NIFI-12394 when synching to a VersionedFlow, make sure processor references to new controller services are valid

NIFI-12394 when synching to a VersionedFlow, make sure processor references to new controller services are valid after the processor migrates the configuration of its properties.
This change is to update controller service references in the CreatedExtension properties. This is important when calling migrateConfiguration on the component, because that uses the CreatedExtension properties as its "original" properties to migrate.

made sure CreatedExtension was created before the component is updated
made controller service reference value "final" so I can use it inside lambda function
fixed an unrelated but minor log INFO message problem
added unit test for synchronizing a new process group with an external flow definition

Summary
NIFI-12394
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[x] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[x] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[x] Documentation formatting appears as expected in rendered files

Reviewing...


[SUSHI-07] add files for sql injection detection

Command line exec python backend for AI SQL prevention.
Need to do:
-> need to check for version compatibility as the AI model doesn't work with the current implementation (python 3.11 and TF.2 and keras version (package.json)
-> should check for command line vulnerability.

Blocked by environment:
TF 2 version
Keras version
PY version
Need to review the saved model.

Waiting for @PhantHive review.
I pushed the requirements.txt.
Check the "checkSafety.controller.ts" to send res to BB.
Thanks,

Well, I guess it's time to merge this PR. Everything is ready, I will work on deploy process after this branch is merged.
PS: we didn't make any unit test for this controller. We have to expect bug on prod but this is no big deal :)

Well, I guess it's time to merge this PR. Everything is ready, I will work on deploy process after this branch is merged.
PS: we didn't make any unit test for this controller. We have to expect bug on prod but this is no big deal :)

@PyyLog


enhance/fix_readme_code_sample

Fix code sample in the readme file, as refactoring of kstore-file api has changed storeOf() function parameter from filePath:String to file:Path

Hi @xxfast Please, find this readme update, as I can't edit the Reviewers section and add you as a reviewer.


Kernel updates

What is the best solution to kernel updates? dnf tries hard with kernels from the official repo but it won't work at the moment.

Because the RPi kernel contains out of tree drivers, updates will need to come from the raspberrypi/firmware repo for now.
To handle the "dnf update" case, we could add exclude=kernel* to the dnf.conf so that it doesn't try to update the kernel packages.
Might be handy to write a script that would pull the new /boot contents from github, like "update-rpi-boot" or something.  PRs welcome!

@spartacus06 you being a RH guy, do you have any knowledge  - or an educated guess - about RPi support landing into the tree any time soon?

I have not looked closely to see what RPi is carrying out of tree and what the effort is to get those parts upstream.
A quick look, they have about 106 commits out of tree vs 4.1.1
$ git log v4.1.1..rpi/rpi-4.1.y | wc -l
106

Looking at the diff, they still have the majority of their device tree, arch platform/machine tree, and device drivers out of tree.  A lot of work still left to do getting all that upstream :-/
They also have some commits in the tree which tune the kernel for the raspberry pi, such as disabling memory cgroups unless explicitly enabled on the cmdline, which would not be acceptable as-is upstream.

Right, I'm not holding my breath then :) Thank you very much.

@sjenning Any improvement on the situation with kernel 4.5?

@Conan-Kudo
$ git log v4.5-rc6..rpi/rpi-4.5.y | wc -l
140
$ git diff --stat v4.5-rc6..rpi/rpi-4.5.y
...
401 files changed, 116468 insertions(+), 2899 deletions(-)

The out of tree changes are still quite significant, unfortunately.

@sjenning AFAIK, it should be significant because the approach being done for upstream is not the same as what the RPi people are doing. According to Eric Anholt, he's doing work in a branch he forked from rpi2 4.5.y kernel

@Conan-Kudo that project seems to be largely focused on the graphics related components (drm/vc4).   It doesn't seem like that tree is any closer to upstream.

@sjenning it also has updated code for initializing the device (hence the -boot at the end of the name).


Custom Report is fetching resources from the wrong location

Bug description
Custom Reports can not be generated, as some requests are directed to a incorrect location.
When clicking on the Run button for creating a Custom HTML Report, the Browser tries to fetch /static/bootswatch/readable/bootstrap.min.css from my Workstations Public IP.
Searching through the Codebase, I found, that

dojo/templates/dojo/custom_html_report.html
dojo/templates/report_base.html

are using
<link href="{{ host }}{% static "bootswatch/readable/bootstrap.min.css" %}" rel="stylesheet">

while other Templates use
<link href="{{ STATIC_URL }}bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

which could maybe explain the source of the problem
Steps to reproduce
Steps to reproduce the behavior:

Go to 'https://dd.your.tld/reports/builder'
Fill out the 'Report Options' with 'Report type' = HTML
Open some 'Web Developer Tool' to show the requests
Click on 'RUN'
In the 'Web Developer Tool' you will see a request to https://my-public-ip:8080/static/bootswatch/readable/bootstrap.min.css
After the Browser runs into a time-out an Empty Page (at least on my end) is shown, but some more Infos can be found in the returned source

Forbidden (403)

CSRF verification failed. Request aborted.

You are seeing this message because this HTTPS site requires a “Referer header” to be sent by your Web browser, but none was sent. This header is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable “Referer” headers, please re-enable them, at least for this site, or for HTTPS connections, or for “same-origin” requests.

If you are using the <meta name="referrer" content="no-referrer"> tag or including the “Referrer-Policy: no-referrer” header, please remove them. The CSRF protection requires the “Referer” header to do strict referer checking. If you’re concerned about privacy, use alternatives like <a rel="noreferrer" …> for links to third-party sites.

More information is available with DEBUG=True.

Expected behavior
Based on the Log-file, the Report is generated, but never shown in the Browser.
Deployment method (select with an X)

[X] Docker Compose with "Traefik" as Ingress/Proxy
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: Debian 11
DefectDojo version: v. 2.7.1 ( release mode )

Logs
As the Clientsends the Request to the wrong location, no errors can be found in the logs.

merged for release 2.8.0


Improving the README.md (Installation / Getting Started)

Instead of just listing "Node.js and pnpm," we can provide commands to install, and a setup guide.
Please assign me this issue.

There is a specific CONTRIBUTION.md, which has a step by step guide. So I really don't think it's an issue.
There are several issues need to be done, you can have a look and work on them.


utf-16le files are corrupt after token replace (V6)

We upgraded replacetokens from V4 to V6 and all UTF-16le files that are processed become corrupted.
How to replicate

Create a Windows scheduled task and export it to xml (this xml is utf-16le by default)
replace for the example the description with #{description}#
run the replacetokens@v6 task
try to import the xml in Windows scheduled task.

error in the example:

Settings:
- task: replacetokens@6
    displayName: "Replace tokens"
    inputs:
      sources: filles/task.xml
      missingVarLog: 'error'
      transforms: true
      telemetryOptout: true

Hi @petertheautomator,
One breaking change in v6 is that the default value from addBom (previously writeBOM) is now false instead of true which is causing your issue.
With the following settings it will work:
- task: replacetokens@6
    displayName: "Replace tokens"
    inputs:
      sources: filles/task.xml
      addBOM: true
      missingVarLog: 'error'
      transforms: true
      telemetryOptout: true

addBOM: true fixed the problem.
Thanks for the quick response!


Open calendar in the centre of the screen or position itself in the visible screen

If the range picker is positioned on the right corner of the screen, the calendar dialog doesn't place itself accordingly. Is there a easy way to just make the calendar open either in a modal which is placed in the centre of the screen or can the dialog position itself in the visible screen automatically?

Thanks for the feedback, this sounds like a bug to me, we should fix it so that the dialog  smartly position itself when the rangepicker is close to a border

v3 of the rangepicker now uses iron-dropdown for more intelligent dynamic positioning of the panel. Please let us know if this does not meet your requirements.


python3Packages.pyenvisalink: init at 4.1

Motivation for this change
Python interface for Envisalink 2DS/3 Alarm API
https://github.com/Cinntax/pyenvisalink
This is a Home Assistant dependency. There are no tests for the envisalink integration.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.pyenvisalink
python39Packages.pyenvisalink

Result of nixpkgs-review pr 119084 at 988217b9 run on aarch64-linux 1

2 packages built successfully:

python38Packages.pyenvisalink
python39Packages.pyenvisalink


Advanced settings->Repeat Task every - where can I find this setting the API?

I am looking at editing a Time Trigger. In advanced settings I see an option to Repeat Task every X time/date for a duration of y time/date.
Where can I find this in the API?
Originally posted: 2015-04-17T04:24:32

https://taskscheduler.codeplex.com/wikipage?title=TriggerSamples&referringTitle=Documentation
See the first example.
Originally posted: 2015-04-17T12:11:33

Thanks!
Originally posted: 2015-04-18T04:32:08


Why inverse just part of VGG net(before relu3_1)?

I just wonder if there is some way that the gradients can be backpropagated to the former layers, so that the net can be mush more powerful to extract features Phi(C) to swap with Phi(S)? I just want to try this, could you
please offer some suggestions on doing these? Thank you!

Do you mean the layers closer to the input? If the image is too large, then the swap operation takes a long time. But you can try it with smaller images and just set the --layer argument. eg. --layer relu2_2 or something.

@rtqichen I don't mean that. You make a swap after relu3_1. The part net before 3_1 is fixed when training the inverse net. Then I wonder whether the fixed part net may limit the ability of the style transfer? Why not make  the part net before 3_1 adaptive to the specify task? In other words, here if I use C and S to respectively represent the output of content and style image after 3_1. Then after swapping, I get (C,S). When doing backpropagation, I wonder if d(C,S) can do some transformations to get d(C) (or the approximative transformations just to reduce the loss). I suppose that the dynamic part net before 3_1 can be more powerful for the task.

I see, so train it end-to-end rather than freezing the weights of the original network. This was done so it could generalize. Also, I didn't use the usual loss function from Gatys etal's work. In hind sight, maybe I should've just trained an inverse net to minimize that formulation. Though there are some follow up works that do train an end-to-end model that minimizes Gatys et al's formulation, though some tricks have to be employed so the network generalizes properly.

I see. I wonder that what are follow up works in  there are some follow up works that do train an end-to-end model that minimizes Gatys et al's formulation and some tricks if you don't mind...

I listed some in #15 but haven't looked into this since then.


shap.KernelExplainer seems that it cannot correctly identify the data format

I use pd.read_csv() to read my data X_train for AutoGluon, and runexplainer = shap.KernelExplainer(predictor.predict_proba, X_train, link="logit"), but it indicates that there is an error and displays as follows:
TypeError                                 Traceback (most recent call last)
[<ipython-input-113-1292df27a0c9>](https://localhost:8080/#) in <module>
----> 1 explainer = shap.KernelExplainer(predictor.predict_proba, X_train, link="logit")
      2 shap_values = explainer.shap_values(X_test, nsamples=100)
      3
      4 # plot the SHAP values for the Setosa output of the first instance
      5 shap.force_plot(explainer.expected_value[0], shap_values[0][0,:], X_test.iloc[0,:], link="logit")

3 frames
[/usr/local/lib/python3.7/dist-packages/autogluon/tabular/predictor/predictor.py](https://localhost:8080/#) in __get_dataset(data)
   2738                    To predict on just single example (ith row of table), use data.iloc[[i]] rather than data.iloc[i]")
   2739         else:
-> 2740             raise TypeError("data must be TabularDataset or pandas.DataFrame or str file path to data")
   2741
   2742     def _validate_hyperparameter_tune_kwargs(self, hyperparameter_tune_kwargs, time_limit=None):

TypeError: data must be TabularDataset or pandas.DataFrame or str file path to data

I'm having the same issue with explainer = shap.KernelExplainer(bento_from_name.models.ctr_regression_model.predict_proba, data_test) there data_test type is pandas.core.frame.DataFrame. I think this package is not maintained anymore, but maybe someone had similar issue and solved it? Thanks.

To make your TabularPredictor work smoothly, simply add keep_index=True to the KernelExplainer constructor. This will create a DenseDataWithIndex and ensures your TabularPredictor won't raise any concerns. You can see this here.
It's worth noting that the keep_index parameter lacks comprehensive documentation within the KernelExplainer docstrings, and in my opinion, its name may not be the most intuitive choice.


Push updated creator settings via web service

Use case would be a creator changing a min superchat amount or comment amount during stream - the UI would need to know. For now, we'll recall settings when they try to tip.

I'm thinking it would still not be robust due to the following scenario.

There is a time gap between the SDK.support_create and Commentron.comment_create which can be significant if there was a network delay, especially with channel_sign.  If the creator changed the min-tip setting during this gap, the tip would still be sent/wasted and the comment be blocked.
Under normal situation, that duration was roughly 2s


feat(breaking): update startWith so that it will call function to get first value

Feature Request
Ability/requirement to provide a callable function to startWith operator which is called to retrieve the first value.
I.e. update startWith interface from this:
startWith<T, D>(...array: Array<T | SchedulerLike>): OperatorFunction<T, T | D>

to this:
startWith<T, D>(...array: Array<(() => T) | SchedulerLike>): OperatorFunction<T, T | D>

Is your feature request related to a problem? Please describe.
I often find myself using the startWith function to create an observable which tracks the value of a property. i.e.
class Person {
  firstName = '';
  firstNameChanges = new Subject();
  firstName$ = this.firstNameChanges.pipe(startWith(this.firstName));
}

Unfortunately, this code doesn't behave as desired/expected, because the firstName$ property will always return "" as the first value (rather than whatever the current firstName is). I find myself wishing I could provide a function which always returns the current firstName as the first emission:
class Person {
  firstName = '';
  firstNameChanges = new Subject();
  firstName$ = this.firstNameChanges.pipe(startWith(() => this.firstName));
}

In this case however, startWith will return the function () => this.firstName as the first value, rather than calling the function and returning the result of the call as the first value.
Describe the solution you'd like
Personally, because of the behavior of map(fn: () => any), tap(fn: () => any), etc, I originally assumed startWith(fn: () => any) would call the provided function and use the returned value. While it's certainly possible that users would want to return an actual function as the "starts with" value, this use case seems much less common.
I'd like to see a breaking change so that startWith must be provided a function (or functions), and the return of this function would be used as the "starts with" value (I would argue that this should have been the API of the startWith operator to begin with, so this breaking change would be "fixing" a mistake--obviously this is just my opinion though). This would mean that, in order to provide a function as the "starts with" value, you would need to provide a function which returned a function (i.e. startWith(() => () => { /* do stuff */ })).
For consistency as well as proper type checking, I think it's important that users be forced to provide a function which returns a value for the startsWith() operator. I.e. current code like this startWith(0) would need to be changed to startWith(() => 0). This would allow IDEs to better type the arguments of startWith, and would make migrating userland code to the new API easier (simply identify all uses of startWith() in a repo, and wrap the existing uses with a function).

As an aside, I'm writing this issue after having spent at least 30-60 minutes debugging code using something like startWith(this.firstName) which was always returning the initial this.firstName value, rather than the current firstName value. I'm embarrassed to say this is not the first time I've made this exact mistake. Obviously this is 100% my fault, but the repeated occurrence of this mistake may reveal a design flaw with the current startWith API (obviously I think it reveals a design flaw).

Ideally, as an additional change, if the "starts with" function was called and returned a promise, the resolution of the promise would be used as the "starts with" value. I.e. startsWith(async () => true) would "start with" the value true. Though I'm not familiar with rxjs schedulars so this might not be possible with a single startsWith operator.

Describe alternatives you've considered
1. Let individual users define the desired startWith operator locally
Building off our previous example, individual users can currently achieve the desired functionality like so:
class Person {
  firstName = '';
  firstNameChanges = new Subject();
  firstName$ = this.firstNameChanges.pipe(
    startWith(null).pipe(map(() => this.firstName))
  );
}

Alternatively, they can define a new operator locally like so:
export function startWithRevised<T, R>(fn: (v: T) => R) {
  return startWith(null).pipe(map(fn));
}

I think both of these options are fine if the use case for startWith(null).pipe(map(() => this.firstName)) is rare. However, if I'm correct, and the need for startWith(null).pipe(map(() => this.firstName)) is very common, then there's an argument for baking the functionality into the startWith operator's API. Personally, I think the need for the new functionality is more common than the need for the existing functionality.
2. Use a BehaviorSubject
class Person {
  firstName$ = new BehaviorSubject('');
  firstNameChanges = this.firstName$.pipe(skip(1));
  get firstName() {
    return this.firstName$.value;
  }
}

Unfortunately, using a BehaviorSubject in this way is not always possible or straightforward.
For example, the most common use I have for startWith() is when extending an existing class / library which does not use rxjs.
For example, when extending an existing class you might attempt to do so using BehaviorSubject like so:
class PersonTwo extends Person {
  firstName$ = new BehaviorSubject('');
  firstNameChanges = this.firstName$.pipe(skip(1));
  get firstName() {
    return this.firstName$.value;
  }
  set firstName(val: string) {
    this.firstName.next(val);
  }
}

However, this workaround might be problematic if the underlying implementation is defined with firstName as a getter. For example, if the underlying implementation looks like so
class Person {
  private _firstName = '';
  get firstName() {
    return this._firstName;
  }
}

Then the PersonTwo code will not work as expected because the firstName setter will not be called.
(If this is new operator request) describe reason it should be core operator
If most people are like me and expect/desire the startWith operator to behave as described here, I think there is reason for the breaking change. If my experience is an outlier, then the preferred solution would be for individuals to simply use startWith(null).pipe(map(fn)).
Additional context
As a third party example of someone else potentially misusing the startWith operator (i.e., thinking the operator will perform as described here rather than how it actually works), you can see this issue in the Angular repo: https://github.com/angular/angular/issues/15282 (relevant text copied below).

Both FormGroup and FormControl provide .valueChanges, an observable stream of changes to the control or group of controls' value. This is very helpful, but it seems to omit the first value (before the first "change") for no particularly good reason other than consistency with the name.
This is easily worked around by with something like this:
const x$ = this.aControl.valueChanges.startWith(this.aControl.value);

... which is effective, but verbose and repetitive.

In fact, this "workaround" will always "start with" whatever the control's value was at the time x$ is defined, rather than whatever the control's value is when x$ is subscribed to. It's possible the author was aware of this distinction, but the description of the issue implies what the author wants was actually:
this.aControl.valueChanges.pipe(startWith(null).pipe(map(() => this.aControl.value)))

Or, with this proposal this.aControl.valueChanges.pipe(startWith(() => this.aControl.value))
Related
Issue #4113 is highly related to this request, in that it asked for the creation of a new operator to achieve the goals described here. Again, personally, the functionality described here is so common that I view the current startWith functionality as simply a bad API design which should be fixed with a breaking change to the current operator, rather than create a new operator.
#4113 was closed with the comment that startWith(null).pipe(map(() => this.aControl.value)) could be done in user-land, however I argue that there is grounds to include any sufficiently common functionality in core, and startWith(null).pipe(map(() => this.aControl.value)) is sufficiently common.
Indeed, observable.pipe(startWith(0)) is already a "convenience function" for
concat(
  of(0),
  observable,
)

If this issue is closed without action, I'd like for the reason to be that folks don't think startWith(null).pipe(map(() => aValue))is sufficiently common functionality for inclusion in core (which, I concede, is a valid counter to this proposal), rather than simply "you can achieve this already" (which is obviously a somewhat hypocritical statement, as many core operators appear to be, on some level, merely convenience functions for things you could already achieve through other means).
Alternatively, another good counter argument to this proposal is "this is too big of a breaking change". In response to that, I'd say "fixing" any code effected by this change would be straightforward. Simply use an IDE's search to find existing uses of startWith() and wrap them with a function (ok, there might be a few uses which require a bit more effort to migrate, but hopefully the point is clear).

I'd suggest the following, instead:
firstName$ = defer(() => this.aControl.valueChanges.pipe(startWith(this.aControl.value)))

IMO, whenever you need something to happen to happen at subscription time, defer should be the first solution to consider.

@cartant I wasn't familiar with the defer function. That does look like a better solution than startWith(null).pipe(map(() => this.aControl.value)). Thanks!
However, I still think that the current startWith interface should be updated to expect a function. I think this updated API would conform better to how the operator is used, and, in general, make the operator more flexible.
Again though, I realize that this proposal is, currently, just one person's opinion and I may be an outlier.

I am aware there are few ppl want to similar behavior, so don't think you are outlier. But given we have defer operator allow achieve this casually, I don't think we'll introduce this huge breaking changes. Even though change itself is straightforward, cost to whole application ecosystem is something carefully need to be considered.
This is same reason we have lot of utility fn for some surfaces - some are worth to be userland, but deprecating / breaking changes requires lot of consideration. For same reason, we encourage new feature to go userland module first.
Given surroundings, I'd suggest to use defer / or either publish userland operator wraps this behavior for immediate solution. We may discuss future of core behavior, but regardless of conclusion if it's breaking it'll take huge time.

@kwonoj makes sense. I definitely never expected this issue to warrant a new release by itself. However, the next time a major release is already happening, I think this issue is worth considering for inclusion.

Even though change itself is straightforward, cost to whole application ecosystem is something carefully need to be considered.

👍

I'd suggest to use defer / or either publish userland operator wraps this behavior for immediate solution.

I've currently decided to simply define my own startWith() operator which performs as desired.

Closing as the general intention has explained and we will not make changes into core at this moment.

If this is closed, how will anyone remember to revisit it at a later date (e.g. 7.0) when changes to core are a possibility?


QSL Fat Jar

We don't currently have dependency detection set up for build tools, and it's doubtful that something will be available by April.
We should consider providing a "fat jar" of all the QSL modules (similar to Fabric API) for the Beta period, to be phased out by full release.

resolved in quilted fabric api


Link to Curated Datasets Playlist is off under project content

When clicking the Curated Datasets link here it brings me to a playlist were overview, instructions, and brainstorming videos are in the wrong order and the overview video is in there twice https://www.youtube.com/playlist?list=PLkBQOLLbi18ODTckxhgah98JloMLXt4oF.
I recommend to either remove the link here or get the videos in the right order.

It looks like this has been fixed. Please ping if you disagree.


Partial reformat stubs with black

Pull Request Test Coverage Report for Build 164

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 163:
0.0%

Covered Lines:
937

Relevant Lines:
937

💛  - Coveralls


Tweak codecov settings

Prevents bogus "FerretDB Check codecov/project failed for branch: main" messages in Slack.

It did not actually work, PTAL


Expanded details display

Extra details displayed to users should be:

Release date
Source component (if applicable)
Declared license
Facet information
Discovered licenses
Discovered copyrights
Tools used to discover the above information
Statistics about the definition (e.g., number of files, count of files missing licenses, copyrights, …)

This one is largely done. We need to vet the current data that is shown and make sure it it all makes sense. As the other stories progress, (e.g., rich editing widgets) the details of the expanded view will change but not the general form (once this issue is resolved). This issue is to get the general form right.

@jeffmcaffer @Teju-Manchenella Can we close this one?

Yup


Add KSP processor implementation

This PR adds an alternative code generation implementation via ksp.
@cdflynn This PR is almost the same as #72, with added support for sealed interfaces. I'm opening up a new PR here since the merge history got pretty messy.
The only difference that you didn't approve is the last commit, https://github.com/livefront/sealed-enum/commit/ab20c3db940c5ed8930d985249c3aaf4bac59809
One commit also became redundant, since it was merged with the sealed-interface PR.

Thanks @alexvanyo!
I was running tests locally again and getting a strange error in a handful of them.  CI had no problem running the tests, so I assume this is a me problem.
./gradlew test

> Task :processing-tests:ksp-tests:test FAILED
[...]
209 tests completed, 44 failed, 3 skipped

They're all the same thing,

The compile throws with:

e: [ksp] org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException: Descriptor wasn't found for declaration PROPERTY

I've been switching between projects a lot so it's possible I got into a bad state.  I did a few things just to rule out common configuration/local problems,

nuke gradle caches from orbit
clean/invalidate restart

Just curious if you've seen this one before!

@cdflynn I was able to reproduce locally on macOS, I developed this PR on Linux so didn't run into this myself. Just updated CI to also run on macOS and Windows, and I'm seeing the same thing there.
Since it's only the compiling tests that are failing, my guess is that it has something to do with how kotlin-compile-testing works.
I wonder if case-sensitivity of the filesystem is messing something up perhaps?

Since it's only the compiling tests that are failing, my guess is that it has something to do with how kotlin-compile-testing works.
I wonder if case-sensitivity of the filesystem is messing something up perhaps?

Yeah, interesting!  A glance through the issues (open and close) on kotlin-compile-testing doesn't show anything familiar.  If I can get some time after hours today I'll run some comparisons with different versions of the kotlin-compile-testing and kotlin itself.  It is funny that both mac and windows have the same fails.  If it's possible to reduce this down to an atomic failure example, that could make for a new issue to post.

Closed, found https://github.com/google/ksp/issues/427 as a related issue.

Whoops, closed the wrong branch :sweat_smile:

@cdflynn I found https://github.com/google/ksp/issues/427, which looks like a pretty similar issue to what we're running into here. I'm going to add the information to that bug about what we were seeing here, but based on that issue it looks like it is some very strange issue that happens when all of the following are true:

kotlin-compile-testing is being used to compile the code and run KSP
KSP is being run and looking for annotations
KotlinPoet is being used to generate code based on those
Running on macOS or Windows

Since this is only impacting testing (and only the kotlin-compile-testing tests, and only on some operating systems), I feel like we should be okay to merge, if you're comfortable with that.

@cdflynn Progress?
I just updated to 1.0.0-beta09, and now macOS is passing, but all of the Windows builds are still failing.

I just updated to 1.0.0-beta09, and now macOS is passing

It now officially "works on my machine" 😄

Ah ha! The good news is the Windows errors are now different, and are similar to this:
https://github.com/livefront/sealed-enum/runs/3500245957?check_suite_focus=true#step:7:2743
    e: [ksp] java.lang.IllegalArgumentException: this and base files have different roots: D:\a\sealed-enum\sealed-enum\processing-tests\ksp-tests\..\common\src\jvmTest\kotlin\com\livefront\sealedenum\compilation\basic\OneObjectSealedInterface.kt and C:\Users\RUNNER~1\AppData\Local\Temp\Kotlin-Compilation3636371620958659314\ksp.
    	at kotlin.io.FilesKt__UtilsKt.toRelativeString(Utils.kt:117)
    	at kotlin.io.FilesKt__UtilsKt.relativeTo(Utils.kt:128)
    	at com.google.devtools.ksp.IncrementalContext.toRelativeFile(Incremental.kt:223)
    	at com.google.devtools.ksp.IncrementalContext.getRelativeFile(Incremental.kt:225)
    	at com.google.devtools.ksp.IncrementalContext.recordGetSealedSubclasses(Incremental.kt:760)
    	at com.google.devtools.ksp.symbol.impl.kotlin.KSClassDeclarationImpl.getSealedSubclasses(KSClassDeclarationImpl.kt:53)
    	at com.livefront.sealedenum.internal.ksp.SealedEnumProcessor.createSealedClassNode(SealedEnumProcessor.kt:211)
    	at com.livefront.sealedenum.internal.ksp.SealedEnumProcessor.createSealedEnumFileSpec(SealedEnumProcessor.kt:165)
    	at com.livefront.sealedenum.internal.ksp.SealedEnumProcessor.process(SealedEnumProcessor.kt:61)

So it looks like the temporary directory that kotlin-compile-testing uses ends up being underneath the C drive, whereas the GitHub Actions worker checkout is on the D drive.
The most straightforward solution seems to be to update the TMP environment variable on Windows to be underneath the D drive, so that the temporary directories that Java creates aren't causing us to try to cross drives while compiling.

@cdflynn 🥳 , we've got ourselves a passing build! https://github.com/livefront/sealed-enum/actions/runs/1196034931
Just cleaned up the TMP environment variable setting slightly, and now this should be ready!

Nice detective work @alexvanyo
run: echo "TMP=${{ runner.temp }}" >> $env:GITHUB_ENV

and of course it's yaml where we can configure that, with syntax you have look up 🙃


Incommmmmmmming!

This PR has not had the usual level of scrutiny! If your cmdlet is included, feel free to test it yourself and report/fix any issues.


Improve flexibility of the BoundenContext creation

This PR improves the flexibility of the BoundedContext creation, allowing to specify a custom StorageFactory. Also the factory for bounded contexts was renamed from TodoListBounedContext to BoundedContexts.

@armiol PTAL.


Updating the UI

What's the style idea?
We need to improve the user interface of the entire page this is not looking good and not looks like a professional, I can update the user interface  for the webpages
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

I have prior experience in frontend domain. I would love to contribute. Please assign this issue to me.

I am Praful Nigam. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

i would like to work on this, please assign it to me  @Ujjwal807

@Rakesh9100 I'm interested in contributing to this issue. Kindly assign me this issue under GSSoC'24.

Issue is already open for this, pls create other issues @Ujjwal807


[All Hosts] (ribbon) clarify support of RibbonApi req set

Docs Build status updates of commit a790368:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/requirement-sets/ribbon-api-requirement-sets.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7ca9e53:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/requirement-sets/ribbon-api-requirement-sets.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


PJAX

建议加入pjax
可以大幅度优化载入速度

+1

@caisiduo dont understand u, write in English if not solved. If solved, close it please. Thank's!

Means that using pjax (pushstate + ajax), or like turbolinks, to load pages without refresh.
For example, in the repository pages of github, when changing sections, there will be a loading bar in the top. The page will not be reloaded. Same in youtube, a red bar instead.
But hexo is a static page system. I think it's hard to implement.

This is cool thing, i take it into backlog. Need to think about it.

Here's the pull request for PJAX: https://github.com/theme-next/hexo-theme-next/pull/1024


mathopt: Constraints containing empty sets are invalid.

Hi, I'am testing mathopt api. here is my code:
from ortools.math_opt.python import mathopt

model = mathopt.Model(name="Linear programming example")
z = {i: model.add_integer_variable(lb=0.0, name=f"z{i}") for i in range(10)}
A={}
model.add_linear_constraint(sum(z[i] for i in A) <= 5, name="c1")
model.minimize(sum(z.values()))

Set A is an empty set. the constraint c1 is valid in pywraplp api. But in mathopt is not valid, it reports the following error, I want it to be valid like in pywraplp. In reallife applications, Set A can be evaluted to be an empty set.
 File "e:\test.py", line 7, in <module>
    model.add_linear_constraint(sum(z[i] for i in A) <= 5, name="c1")
  File "E:\anaconda3\envs\optim\lib\site-packages\ortools\math_opt\python\model.py", line 1746, in add_linear_constraint
    normalized_inequality = as_normalized_linear_inequality(
  File "E:\anaconda3\envs\optim\lib\site-packages\ortools\math_opt\python\model.py", line 2251, in as_normalized_linear_inequality
    raise TypeError(
TypeError: unsupported type for bounded_expr argument: bool.

This error can occur when trying to add != constraints (which are not supported) or inequalities/equalities with constant left-hand-side and right-hand-side (which are redundant or make a model infeasible).

try to use expressions.fast_sum, AFAIK mathop don't reimplement the sum operator -_-

I agree that you should use fast_sum instead of sum everywhere if possible. This is more efficient and does what you want on the empty list. The sum operation does work when your list is non-empty, as sum just calls +, and + is overloaded.
Or (worse because it is slower, but still correct) you can call sum() with an initial value of an empty linear expression:
sum(z[i] for i in A, start=math_opt.LinearExpression())
so that the output of sum() has type LinearBase rather than double (and as a result, the result of the inequality has type UpperBoundedLinearExpression instead of bool).
MathOpt choose to not accept bool here (there was much debate about this, we may change the behavior eventually, but it is not happening any time soon). Why did we do this? First, this is protecting you from a mistake if you accidentally return the wrong thing, rather than just silently adding a cosntraint that always succeeds or always fails.
Second, there is not any reasonable behavior for us here on incrementalism/reading back the constraint/adding more coefficients. If you wrote the code
c = model.add_linear_constraint(sum([]) <= 5, name="c1")
c.upper_bound

you want to get 5 back, but we cannot give this to you, as all we see from your constraint is a bool. Further, if you go on to modify this constraint, by setting more coefficients of variables, you could think you have a real constraint, but we have lost the upper bound, so we can't really recover from this.


Use modern META filename

The META.info is a legacy, pre-Christmas name. While it's still currently supported, META6.json is the new name. And since a lot of people simply copy some module's  structure, the old name still proliferates, so we're trying to get rid of it for good  by sending PRs to any modules that use the old name, to switch to the modern name.

Thank you!


Class 'Collective\Html\Formbuilder' not found

see this http://prntscr.com/695upr

Hello,
Looks like an autoload issue. Did you try composer dumpautoload or php artisan clear-compiled ?

I tried composer dumpautoload or php artisan compiled and the results Class 'Collective \ html \ Formbuilder' not found

Did you change something to composer.php ?
In vendor/composer/autoload_classmap.php is there this line :
'Collective\\Html\\FormBuilder' => $vendorDir . '/laravelcollective/html/src/FormBuilder.php',

no, i'm look in vendor/composer/autoload_classmap.php is this line not found
'Collective\\Html\\FormBuilder' => $vendorDir . '/laravelcollective/html/src/FormBuilder.php',

You should do a new fresh install and see if it works.

ok, i'm try it again


Objective c compatibility

This plugin works perfect in swift project, however it is not working with Objective-C. I have also tried to create a swift file in Objective-C project and added the method "logMessage" given in your sample code but the hyperlink in the log did not create.
Please let me know if this plugin can be integrated with objective-c project as it is very useful plugin and must be available for objective-c projects
Thanks in advanced.

@paultnp I'm assuming you got it to work ? :)

Yes, Thanks


Demo not working when https (Mixed Content)

Mixed Content: The page at 'https://alex-d.github.io/Trumbowyg/' was loaded over HTTPS, but requested an insecure stylesheet 'http://cdn.rawgit.com/Alex-D/Trumbowyg/v2.2.0/dist/ui/trumbowyg.min.css'. This request has been blocked; the content must be served over HTTPS.
Informations
Browser + version: Chrome 52.0.2743.116 m
OS: Windows 7 x64
Resolution: 1920x1080
How to reproduce the bug?
View demo with https https://alex-d.github.io/Trumbowyg/

Arf, fail :/

Fixed. Thanks :)


Double converted to int

Storage Explorer Version: 1.2.0
Platform/OS Version: Windows
Architecture: 1a32
Regression From: -
Steps to Reproduce:
Create an object to persist
Make one property a double and set it to 0.0 when saving.
Check storage explorer, the number is now 0.
Loading the object from code also results in 0, not 0.0
If edited with storage explorer, the same thing happens.
It's a bit like this old issue
https://github.com/Studio3T/robomongo/issues/622
Expected Experience:
I would expect 0.0 to be the value saved into cosmosdb and retrived again. It works if I save something like 0.1
Actual Experience:
The value is saved as 0

Azure Storage Explorer support for Azure Cosmos DB has been discontinued as of v1.24.0. We recommend users to use Azure Cosmos DB’s Data Explorer, which can be found in Azure Portal or as a stand-alone version in http://cosmos.azure.com/ for the best Azure Cosmos DB experience. You can also find additional Azure Cosmos DB tooling here: Azure Cosmos DB Tools


asyncio example in readme raises TypeError

The asyncio example in README.md raises
TypeError: __init__() got an unexpected keyword argument 'resolve'

Here is the example:
import asyncio
from graphql import (
    graphql, GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLString)

async def resolve_hello(obj, info):
    await asyncio.sleep(3)
    return 'world'

schema = GraphQLSchema(
    query=GraphQLObjectType(
        name='RootQueryType',
        fields={
            'hello': GraphQLField(
                GraphQLString,
                resolve=resolve_hello)
        }))

async def main():
    query = '{ hello }'
    print('Fetching the result...')
    result = await graphql(schema, query)
    print(result)

loop = asyncio.get_event_loop()
try:
    loop.run_until_complete(main())
finally:
    loop.close()

My mistake, graphene was also installed in the environment and it sourced the import


new(tests): EIP-7610: init-collision tests

🗒 Description
Adds an init-collision test where the target contract creation address already contains a non-zero storage value.
🔗 Related Issues
None
✅ Checklist

[x] All: Set appropriate labels for the changes.
[x] All: Considered squashing commits to improve commit history.
[x] All: Added an entry to CHANGELOG.md.
[x] All: Considered updating the online docs in the ./docs/ directory.
[x] Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
[x] Tests: Included the type and version of evm t8n tool used to locally execute test cases:  e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
[x] Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

@winsvega we're getting a failure here on the coverage diff, maybe I included the path in an incorrect format?

The log it shows is from outdated version of the script. Is the branch rebased?


Using ConViT for object detection [Discussion]

Thank you for your work and for providing the code.
Based on my limited knowledge about the transformers used in detectors and trackers, I see a common trend of using Resnet50 backbone for feature extraction before the transformer layers, and the only paper I could find without a Conv backbone is WB-DETR which introduces a module similar to T2T module which claims captures "rich local information" from the patch. In general, the argument I have read is that transformers are not able to capture the local information from the patch well and hence miss the small objects.
Do you think ConViT would be able to handle object detection if used as the backbone in the DETR framework instead of Resnet50+Transformer? Intuitively, the GPSA from your paper should be able to capture convolutional features from the image and well as the SA properties based on the loss function from DETR.
Would be happy to try it out if you think it's possible?
I have been trying to find an architecture that doesn't use Conv layers and work on patch-based representation and your work seemed very relevant.
Any comments would be really helpful.
Thank you.
Saurabh

Dear Saurabh,
Thanks for this good question. I would tend to think that if patch-based models do not have enough local information to perform detection, then the ConViT might suffer the same issue, as it is also patch-based : the ConViT introduces locality between patches, not within a given patch, and that might not be enough. However, this could totally be worth trying ; if the locality of the ConViT is not enough on its own, perhaps one could reduce the patch size, or introduce a small CNN in the patchifier as suggested in https://arxiv.org/pdf/2106.14881.pdf ?
Best wishes,
Stéphane


New Instagram API Restrictions: Access Token Invalid Error with current implementation?

Instagram changed its permissions structure and has forced the sandbox mode onto clients today. I was using this project with my website, but I get an invalid token error after today.
Probably need to review how authentication is handled now with this new permissions structure?

The following URL in instagram-grid.js needs to be modified to include an access_token and there is no need for putting the client_id in the request parameters. This requirement can be seen in the Instagram API changelog
var url = params._local ? params._local : 'https://api.instagram.com/v1/users/'+params._userID+'/media/recent/?client_id='+params._clientid+'&count='+params.total;
The access token may be received by following the authorization steps as mentioned here. I made the changes to my fork and will issue a pull request for you to review.

Thanks @mittaluday - I haven't been using the library at all, didn't realize Instagram changed their API policies. If you open up a PR, mind updating the README as well?

Ah, see that you've already done this in #28. Nice work!


fix(shell/server): last snapshot may not be valid any more

Also avoid copying the vector, but that probably doesn't change much.

@Kha Do you remember any examples where this mattered?  I'd like to add them as test cases.

@gebner The end-of-file snapshot would be one example when appending to a file. I think if we are careful about that one and otherwise save snapshots only at the beginning of command keywords, we can revert this change (i.e. go back to comparing line numbers).

Yeah, the final snapshot gave me some trouble.  Turns out that get_first_diff_pos was pretty broken on files with newlines at the end: for inductive foo and inductive foo\n, it returned that they differ on the second line...  I then tried to reuse the final snapshot, which was at the end of the first line.
I have fixed this now: https://github.com/gebner/lean/commit/482a5fd69151059c8b2bcde4f6311e88d807ed56
But thanks for reminding me to recheck the cases where we save a snapshot that is not at a command keyword.  This happens for example with doc comments, which behave somewhat like commands.


borderRadius issue

Hi @jeremyspritelyco, please look this issue for solution: https://github.com/georstat/react-native-image-cache/issues/36


Option not to sort the methods?

The order of the methods in my class is semantically important, so I'd rather if they weren't sorted A-Z.  Maybe this could be an option.

I thought of this too as I usually put methods in a specific order that makes sense as well.

Ever considered using https://esdoc.org/tags.html#-see to put those methods into context?

I do not have plan to support optionally sorting. If you want to use optionally sorting, please use plugin or publisher.

Did anybody solved this issue by some plugin?


Added "GitHub" text

Added "GitHub" text on line 188.
Please review my PR
I want SWAGS.

[x ] task done

Bro please mereg

Nice PR 💯


Buster raspimjpeg causes the pi to run at 80 deg C - not stretch

Hello:
I've used this code successfully for at least 4 years.  I have 4 cameras all on stretch builds.  I upgraded one to buster (clean build) and had failures of the pi due to high heat - over 80 degrees C.  The other units I have run 65-70.  I fell back to the stretch build and now it is running at 66 degrees C instead of 80.  There's got to be something complicated going on so I thought I'd let you know.  For now I wont be using Buster!

Must perhaps be something specific to your setup as I have it running on Buster and it is on 24/7 in a hedgehog box outside through summer and winter and never had any issues with pi failing due to temperatures, or any overheating pi even in last few weeks when temperatures have been really high (well high for UK anyway)

Can you do a vcgencmd measure_temp and let me know what it says?
From: wingers999
Sent: Sunday, August 23, 2020 12:52 PM
To: silvanmelchior/RPi_Cam_Web_Interface
Cc: ksdehoff; Author
Subject: Re: [silvanmelchior/RPi_Cam_Web_Interface] Buster raspimjpeg causesthe pi to run at 80 deg C - not stretch (#578)
Must perhaps be something specific to your setup as I have it running on Buster and it is on 24/7 in a hedgehog box outside through summer and winter and never had any issues with pi failing due to temperatures, or any overheating pi even in last few weeks when temperatures have been really high (well high for UK anyway)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

My test on a Buster Pi 3 in a case showed temp of 52C in an environment of 28C
Try running a top cmd to see what is using cpu. Mine shows raspimjpeg (main process) running at 1%. Even on a Pi Zero it is typically less than 5%. Much of the processing is happening in the GPU.

Mine periodically overheats too, for no apparent reason. Sometimes I'll look at it and it'll be 73C+.
PizeroW: LEDs and HDMI disabled, using the integrated ribbon and camera module pizerocam, not the typical fullsize ribbon pi one.
I don't typically leave the web interface open, but I have never seen it lock up when I have. Rather it does it when I'm not looking.
After it seemed to die while it was relatively cool (<20C) last night, I decided to try stretch... but that also has issues now it seems.

Should the wifi be broadcasting continuously even when nothing is connected to it's web server/stream port?

Not sure what is doing that. I don't see that behaviour myself. It seems to start pretty quickly after boot maybe before the camera system has got going. One could try disabling the autostart of the camera software to be sure.

One could try disabling the autostart of the camera software to be sure.

Please specify how you would do that.
The labels are approximate relationships, I didnt time how long it took after pluging it in till the start of the wifi traffic, but it probably corresponds with the camera/motion kicking in rather than just the OS bringing the network up.
Temperature is currently 74.5C only a short time after starting it today. Disabling motion detection and camera, then checking temp via ssh a few minutes later shows 55C
Today I'll try disabling the few non-buster-stock things I have installed:
munin-node
HDMI disabled:
/usr/bin/tvservice -o
zero LED disabled:
dtparam=act_led_trigger=none
dtparam=act_led_activelow=on
camera LED disabled:
disable_camera_led=1
Please excuse the image spam, given the spikes in thermals it seems this issue is still the appropriate one to be discussing this.
On uptime you can see the most recent boot, about 11pm last night, and the subsequent activity between then and my checking it at ~10am
Something seems to be happening just as it starts getting light each day, when ambient temperature is ~20C.

One could try disabling the autostart of the camera software to be sure.

Please specify how you would do that.
The labels are approximate relationships, I didnt time how long it took after pluging it in till the start of the wifi traffic, but it probably corresponds with the camera/motion kicking in rather than just the OS bringing the network up.
Temperature is currently 74.5C only a short time after starting it today. Disabling motion detection and camera, then checking temp via ssh a few minutes later shows 55C
Today I'll try disabling the few non-buster-stock things I have installed:
munin-node
HDMI disabled:
/usr/bin/tvservice -o
zero LED disabled:
dtparam=act_led_trigger=none
dtparam=act_led_activelow=on
camera LED disabled:
disable_camera_led=1
Please excuse the image spam, given the spikes in thermals it seems this issue is still the appropriate one to be discussing this.
On uptime you can see the most recent boot, about 11pm last night, and the subsequent activity between then and my checking it at ~10am
Something seems to be happening just as it starts getting light each day, when ambient temperature is ~20C.

It seems apparent that the constant wifi broadcast is the thermal source

And you are almost certainly correct to say the OS version is moot.

ie:
new tfcard, fresh stretch install (previously using buster):
at left: ./install completing and before selecting start
at right: after starting camera, motiondetect off

So: again with the constant wifi wailing as soon as RPi_Cam_Web_Interface is active..
motion detection is off
wifi volume persists after:
browser - 'stop camera'
and
ssh pizerocam1 "~/RPi_Cam_Web_Interface/stop.sh"
No browsers are pointed at the stream at any time.
~20 minutes after starting RPiCam: temperature is just under 70C
ssh pizerocam "sudo service apache2 stop"
as expected: immediately terminates the ~20Mbit/s wifi wailing, and temperature quickly drops to 58C
NOTE: by  'reinstalled' i mean:
lsblk
sudo ddrescue -D --force /home/user/downloads/ISOs/pizero/2019-04-08-raspbian-stretch-lite.img /dev/sdf
#     COPY wpa_supplicant TO SDCARD
touch /media/user/boot/ssh
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "<IP_ADDRESS>" # pizerocam1
#     REMOVE SDCARD AND BOOT PI
# wait 3 minutes for initial setup
# actually takes ~1min to appear in routers wifi 'associated stations'
# ...and a minute after that to accept ssh

ssh pizerocam1
passwd
sudo raspi-config
#         locale
#         timezone
#         wifi country - AU
#         camera
#         update raspi-config
exit # ssh pizerocam1

scp /home/user/.ssh/id_rsa.pub pizerocam1:/tmp
ssh pizerocam1 "ssh-keygen -C $(whoami)@$(hostname)-$(date +%Y-%m-%d--%H-%M-%S); cat /tmp/id_rsa.pub >>/home/pi/.ssh/authorized_keys"

ssh pizerocam1
sudo apt update & sudo apt-get dist-upgrade -y && sudo reboot

ssh pizerocam1
sudo apt install -y git
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
cd ~/RPi_Cam_Web_Interface
# RUNNING STRETCH OR EARLIER!
cd bin && mv raspimjpeg raspimjpeg-buster && mv raspimjpeg-stretch raspimjpeg && cd ..
./install.sh
# set the compatible php version in the initial install.sh dialog (7.0

It seems apparent that the constant wifi broadcast is the thermal source

And you are almost certainly correct to say the OS version is moot.

ie:
new tfcard, fresh stretch install (previously using buster):
at left: ./install completing and before selecting start
at right: after starting camera, motiondetect off

So: again with the constant wifi wailing as soon as RPi_Cam_Web_Interface is active..
motion detection is off
wifi volume persists after:
browser - 'stop camera'
and
ssh pizerocam1 "~/RPi_Cam_Web_Interface/stop.sh"
No browsers are pointed at the stream at any time.
~20 minutes after starting RPiCam: temperature is just under 70C
ssh pizerocam "sudo service apache2 stop"
as expected: immediately terminates the ~20Mbit/s wifi wailing, and temperature quickly drops to 58C
NOTE: by  'reinstalled' i mean:
lsblk
sudo ddrescue -D --force /home/user/downloads/ISOs/pizero/2019-04-08-raspbian-stretch-lite.img /dev/sdf
#     COPY wpa_supplicant TO SDCARD
touch /media/user/boot/ssh
ssh-keygen -f "/home/user/.ssh/known_hosts" -R "<IP_ADDRESS>" # pizerocam1
#     REMOVE SDCARD AND BOOT PI
# wait 3 minutes for initial setup
# actually takes ~1min to appear in routers wifi 'associated stations'
# ...and a minute after that to accept ssh

ssh pizerocam1
passwd
sudo raspi-config
#         locale
#         timezone
#         wifi country - AU
#         camera
#         update raspi-config
exit # ssh pizerocam1

scp /home/user/.ssh/id_rsa.pub pizerocam1:/tmp
ssh pizerocam1 "ssh-keygen -C $(whoami)@$(hostname)-$(date +%Y-%m-%d--%H-%M-%S); cat /tmp/id_rsa.pub >>/home/pi/.ssh/authorized_keys"

ssh pizerocam1
sudo apt update & sudo apt-get dist-upgrade -y && sudo reboot

ssh pizerocam1
sudo apt install -y git
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
cd ~/RPi_Cam_Web_Interface
# RUNNING STRETCH OR EARLIER!
cd bin && mv raspimjpeg raspimjpeg-buster && mv raspimjpeg-stretch raspimjpeg && cd ..
./install.sh
# set the compatible php version in the initial install.sh dialog (7.0

back to the previous buster tfcard
with motiondetect off it drops ~5C, and with it on eventually this happens:
At which point it locks up, or i shut it down
I don't get it; i had it running for several days and now it just dies almost immediately. ..unless this thermal issue is progressively killing this zero. I guess I need to try the same tfcard on another (probably undamaged) zero with the more standard pi camera on a pcb attached.

back to the previous buster tfcard
with motiondetect off it drops ~5C, and with it on eventually this happens:
At which point it locks up, or i shut it down
I don't get it; i had it running for several days and now it just dies almost immediately. ..unless this thermal issue is progressively killing this zero. I guess I need to try the same tfcard on another (probably undamaged) zero with the more standard pi camera on a pcb attached.

Interesting:
A different pizeroW with the same buster tfcard and the 'normal' pcb camera works fine. <55C
The same pizeroW and the afore-mentioned pcb cam also works fine. <55C
ie: this conversion-ribbon and this pcb cam
All of my grief seems to happen when I use this cam
I don't have a simple way to mount the PBC cam in the same place i had the other one mounted, so i'm not sure how to test that right now. But I get the feeling it wont make any difference.
I bet the integrated cam/cable has some badly calculated resistance somewhere.
@ksdehoff : please confirm what cam you are using.

Interesting:
A different pizeroW with the same buster tfcard and the 'normal' pcb camera works fine. <55C
The same pizeroW and the afore-mentioned pcb cam also works fine. <55C
ie: this conversion-ribbon and this pcb cam
All of my grief seems to happen when I use this cam
I don't have a simple way to mount the PBC cam in the same place i had the other one mounted, so i'm not sure how to test that right now. But I get the feeling it wont make any difference.
I bet the integrated cam/cable has some badly calculated resistance somewhere.
@ksdehoff : please confirm what cam you are using.

Interesting. I have never used one of those cameras with electronics in the cable.
If it is the cpu core temperature you are monitoring then it is unlikely to be anything as simple as a resistor in the cable. More likely that it is something in the interface that is causing excess cpu or gpu usage.
If you run top from a command line then you can see the real time usage of the cpu. The raspimjpeg process should be < 10% even on a pi zero as most of the processing is in the GPU.
To disable autostart of the raspimjpeg support on boot then either select no for the autostart option when installing or edit /etc/rc.local and remove the lines between #START RASPIMJPEG SECTION and #END RASPIMJPEG SECTION

Interesting. I have never used one of those cameras with electronics in the cable.
If it is the cpu core temperature you are monitoring then it is unlikely to be anything as simple as a resistor in the cable. More likely that it is something in the interface that is causing excess cpu or gpu usage.
If you run top from a command line then you can see the real time usage of the cpu. The raspimjpeg process should be < 10% even on a pi zero as most of the processing is in the GPU.
To disable autostart of the raspimjpeg support on boot then either select no for the autostart option when installing or edit /etc/rc.local and remove the lines between #START RASPIMJPEG SECTION and #END RASPIMJPEG SECTION

Thanks. Specifying how to do things makes it much easier to give meaningful comment on the results.
I'm kind of fatigued right now, but I'll continue prodding this issue as I play with things, and report as i observe.
I currently have all of my zeros set up with cameras, pizerocam1 is the one with the half-case and short camera/cable. The other 3 are the usual revision v1.3 pcb cams.
I'll see if any choke overnight. Munin should be able to shed some graph-light on how they run.

PS: motioneye makes generating a multi stream screen really simple.... even if it otherwise sucks for framerate, motioncapture, and all of the other things RPIcam does so beautifully.

Thanks. Specifying how to do things makes it much easier to give meaningful comment on the results.
I'm kind of fatigued right now, but I'll continue prodding this issue as I play with things, and report as i observe.
I currently have all of my zeros set up with cameras, pizerocam1 is the one with the half-case and short camera/cable. The other 3 are the usual revision v1.3 pcb cams.
I'll see if any choke overnight. Munin should be able to shed some graph-light on how they run.

PS: motioneye makes generating a multi stream screen really simple.... even if it otherwise sucks for framerate, motioncapture, and all of the other things RPIcam does so beautifully.

The timing might be coincidence... I don't recall if other crashed have been this precise, and it's hard to say by looking at the weekly graph, given that many of these gradients are manual start/stops.

router system log
Sat Jan  2 07:06:24 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED b8:27:eb:aa:d3:10
Sat Jan  2 07:06:24 2021 daemon.info hostapd: wlan0: STA b8:27:eb:aa:d3:10 IEEE 802.11: disassociated due to inactivity
Sat Jan  2 07:06:24 2021 daemon.info logread[1550]: failed to send log data to <IP_ADDRESS>:514 via udp
Sat Jan  2 07:06:25 2021 daemon.info logread[1550]: Logread connected to <IP_ADDRESS>:514
Sat Jan  2 07:06:25 2021 daemon.info hostapd: wlan0: STA b8:27:eb:aa:d3:10 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

The timing might be coincidence... I don't recall if other crashed have been this precise, and it's hard to say by looking at the weekly graph, given that many of these gradients are manual start/stops.

router system log
Sat Jan  2 07:06:24 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED b8:27:eb:aa:d3:10
Sat Jan  2 07:06:24 2021 daemon.info hostapd: wlan0: STA b8:27:eb:aa:d3:10 IEEE 802.11: disassociated due to inactivity
Sat Jan  2 07:06:24 2021 daemon.info logread[1550]: failed to send log data to <IP_ADDRESS>:514 via udp
Sat Jan  2 07:06:25 2021 daemon.info logread[1550]: Logread connected to <IP_ADDRESS>:514
Sat Jan  2 07:06:25 2021 daemon.info hostapd: wlan0: STA b8:27:eb:aa:d3:10 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Yeah, it's thermal.
While figuring out python enough to include a UPS power meter in the cam text overlay it has become obvious that if ambient is ~30C, and motion is off; the temps are up around 65C. If motion detection is turned on the temps immediately climb to 70+ and the pi dies. I have 4 of them, and can reproduce it with them all.
It's even more tedious because the one spot I need to put a camera in seems to be the worst. Presumably the wifi signal is a little lower there, or the airflow a little worse than the table i was running them all on above (where they still died anyway).

Yeah, it's thermal.
While figuring out python enough to include a UPS power meter in the cam text overlay it has become obvious that if ambient is ~30C, and motion is off; the temps are up around 65C. If motion detection is turned on the temps immediately climb to 70+ and the pi dies. I have 4 of them, and can reproduce it with them all.
It's even more tedious because the one spot I need to put a camera in seems to be the worst. Presumably the wifi signal is a little lower there, or the airflow a little worse than the table i was running them all on above (where they still died anyway).

Raspberry Pi 3b Ambient temp 23C Buster Standard pi camera
Running RPIWebCam from a remote browser showing live preview
Internal Motion detection off core temp 49.4C raspimjpeg cpu 1.5% apache 1.7%
Internal Motion detection on core temp 50.5C raspimjpeg cpu 1.8% apache 1.7%
I never use external motion detection; that will use more cpu but I didn't think it was enough to cause a significant extra rise in temps.

Raspberry Pi 3b Ambient temp 23C Buster Standard pi camera
Running RPIWebCam from a remote browser showing live preview
Internal Motion detection off core temp 49.4C raspimjpeg cpu 1.5% apache 1.7%
Internal Motion detection on core temp 50.5C raspimjpeg cpu 1.8% apache 1.7%
I never use external motion detection; that will use more cpu but I didn't think it was enough to cause a significant extra rise in temps.

Should the cam-pi be constantly broadcasting wifi when nothing is connected to it's apache server? I mentioned that before but never got an answer. I see why it might be, but it would account for a lot of additional power absorption too. So I'm wondering if it's meant to be doing that.
I can document the setup I have sitting on a stone tile on a table quite easily, it is stable and basically just looking at the ceiling. So I will do that below.
The cam i want to put in the window as an actual working security camera, and it has trees almost always moving in the masked out region, and frequently shifting lighting conditions is when it fails a few minutes after boot, so documenting that is a little more tricky/complicated. But I'll try doing that in another post soon.
And no, it doesn't matter which of the 4 cams i put in the working position, they all fail. Strangely enough they now fail a lot more readily than they did when i had one up there a week or two ago; when it would typically run until beginning of dawn light the next day.
Typical 'normal' and functional RPCWI on a pizeroW stats:
Raspberry pi Zero W
ambient: 30C
buster
standard rev 1.3 cam pcb
Running RPIWebCam from a remote browser showing live preview
Motion detect mode: internal (have never used anything else)
1GHz 64C
raspijpeg ~8%
apache2 ~10%

Should the cam-pi be constantly broadcasting wifi when nothing is connected to it's apache server? I mentioned that before but never got an answer. I see why it might be, but it would account for a lot of additional power absorption too. So I'm wondering if it's meant to be doing that.
I can document the setup I have sitting on a stone tile on a table quite easily, it is stable and basically just looking at the ceiling. So I will do that below.
The cam i want to put in the window as an actual working security camera, and it has trees almost always moving in the masked out region, and frequently shifting lighting conditions is when it fails a few minutes after boot, so documenting that is a little more tricky/complicated. But I'll try doing that in another post soon.
And no, it doesn't matter which of the 4 cams i put in the working position, they all fail. Strangely enough they now fail a lot more readily than they did when i had one up there a week or two ago; when it would typically run until beginning of dawn light the next day.
Typical 'normal' and functional RPCWI on a pizeroW stats:
Raspberry pi Zero W
ambient: 30C
buster
standard rev 1.3 cam pcb
Running RPIWebCam from a remote browser showing live preview
Motion detect mode: internal (have never used anything else)
1GHz 64C
raspijpeg ~8%
apache2 ~10%

Unsure how useful this is:
If I let it run while motion is active and that kworker (wifi related?) is thrashing, it will lock up the machine a short time later.
https://user-images.githubusercontent.com/12265451/103493061-e7640300-4e7a-11eb-91b6-1eef8a5dfbc9.mp4

Unsure how useful this is:
If I let it run while motion is active and that kworker (wifi related?) is thrashing, it will lock up the machine a short time later.
https://user-images.githubusercontent.com/12265451/103493061-e7640300-4e7a-11eb-91b6-1eef8a5dfbc9.mp4

if i have a terminal open when it dies, it usually looks like this
root@pizerocam2:/home/pi#
Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.456055] Internal error: Oops: 805 [#1] ARM

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.611866] Process processes (pid: 9716, stack limit = 0x73e60b59)

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.620579] Stack: (0xcb86be30 to 0xcb86c000)

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.627953] be20:                                     00000000 00000001 00000406 00000402

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.640509] be40: cb86beac cb86be50 00000000 a39c8401 c0194b50 cb86bebc c0a97028 cb86d5a0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.652976] be60: 00000055 00000040 ffffe000 ca1fc73c cb86beac cb86be80 c018a140 c0187750

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.666339] be80: c0194b50 c001bf18 00000002 a39c8401 cb86d5a0 00d1e000 c0a97028 00000055

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.679790] bea0: cb86bf24 cb86beb0 c018b630 c018a0a8 ca1fc700 c0019f8c cb86befc cb86d5a0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.692661] bec0: 00000055 00000cc0 00000d1e 00d1e000 cbb38030 cbb38030 089c43cf 00000000

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.705616] bee0: 00000000 d7da7f90 cba4a478 ca1fc73c 00000000 a39c8401 cb86bf24 cb86bfb0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.718697] bf00: cba00e40 ca1fc700 00d1ef14 0000081f cb86d5a0 ca1fc73c cb86bf74 cb86bf28

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.732919] bf20: c07a832c c018b0d8 cb86bf54 cb86bf38 c0014714 c00134d4 00000000 c0a97028

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.747325] bf40: 00000800 00000055 cb86bf8c c0a9c228 0000081f c07a81e8 00d1ef14 cb86bfb0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.760882] bf60: 00000001 000361c4 cb86bfac cb86bf78 c0019f8c c07a81f4 c0009cfc 00000001

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.775348] bf80: cb86bfac cb86bf90 c00eac74 b6ec5248 80000010 ffffffff 00c5387d 00c5387d

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.789235] bfa0: 00000000 cb86bfb0 c0009d04 c0019f50 b6fe0f50 00000000 00000000 00d15008

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.803302] bfc0: 000001f7 b6fe0f78 b6f9c000 000001fc 00d15100 00000001 000361c4 00000006

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.817137] bfe0: 00d1ef10 be9a4be8 b6ec5128 b6ec5248 80000010 ffffffff 00000000 00000000

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4107.020215] Code: eb006236 e2506000 0a000097 e3550000 (e594c000)

if i have a terminal open when it dies, it usually looks like this
root@pizerocam2:/home/pi#
Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.456055] Internal error: Oops: 805 [#1] ARM

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.611866] Process processes (pid: 9716, stack limit = 0x73e60b59)

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.620579] Stack: (0xcb86be30 to 0xcb86c000)

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.627953] be20:                                     00000000 00000001 00000406 00000402

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.640509] be40: cb86beac cb86be50 00000000 a39c8401 c0194b50 cb86bebc c0a97028 cb86d5a0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.652976] be60: 00000055 00000040 ffffe000 ca1fc73c cb86beac cb86be80 c018a140 c0187750

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.666339] be80: c0194b50 c001bf18 00000002 a39c8401 cb86d5a0 00d1e000 c0a97028 00000055

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.679790] bea0: cb86bf24 cb86beb0 c018b630 c018a0a8 ca1fc700 c0019f8c cb86befc cb86d5a0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.692661] bec0: 00000055 00000cc0 00000d1e 00d1e000 cbb38030 cbb38030 089c43cf 00000000

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.705616] bee0: 00000000 d7da7f90 cba4a478 ca1fc73c 00000000 a39c8401 cb86bf24 cb86bfb0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.718697] bf00: cba00e40 ca1fc700 00d1ef14 0000081f cb86d5a0 ca1fc73c cb86bf74 cb86bf28

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.732919] bf20: c07a832c c018b0d8 cb86bf54 cb86bf38 c0014714 c00134d4 00000000 c0a97028

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.747325] bf40: 00000800 00000055 cb86bf8c c0a9c228 0000081f c07a81e8 00d1ef14 cb86bfb0

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.760882] bf60: 00000001 000361c4 cb86bfac cb86bf78 c0019f8c c07a81f4 c0009cfc 00000001

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.775348] bf80: cb86bfac cb86bf90 c00eac74 b6ec5248 80000010 ffffffff 00c5387d 00c5387d

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.789235] bfa0: 00000000 cb86bfb0 c0009d04 c0019f50 b6fe0f50 00000000 00000000 00d15008

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.803302] bfc0: 000001f7 b6fe0f78 b6f9c000 000001fc 00d15100 00000001 000361c4 00000006

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4106.817137] bfe0: 00d1ef10 be9a4be8 b6ec5128 b6ec5248 80000010 ffffffff 00000000 00000000

Message from syslogd@pizerocam2 at Jan  4 14:51:41 ...
 kernel:[ 4107.020215] Code: eb006236 e2506000 0a000097 e3550000 (e594c000)

raspicam does not directly cause any network traffic, neither does apache if nothing is connected.

This is my wifi traffic when I open a browser connected to camera preview page for a while and then close it.
raspimjpeg cpu usage on a zero looks OK. Does top shown any other high usage processes.
Crash is a kernel crash which is unlikely to be directly raspimjpeg related.
For the power / temperature issue can you measure the current being drawn from the power supply. On a zero I see about 320mA with camera active (camera draws about 180mA of this).
I would also do a clean install of buster with no extra software just the RPIWebCam as a baseline to check out power and stability from there.

raspicam does not directly cause any network traffic, neither does apache if nothing is connected.

This is my wifi traffic when I open a browser connected to camera preview page for a while and then close it.
raspimjpeg cpu usage on a zero looks OK. Does top shown any other high usage processes.
Crash is a kernel crash which is unlikely to be directly raspimjpeg related.
For the power / temperature issue can you measure the current being drawn from the power supply. On a zero I see about 320mA with camera active (camera draws about 180mA of this).
I would also do a clean install of buster with no extra software just the RPIWebCam as a baseline to check out power and stability from there.

sigh
two things:

a fan will help keep temperatures low enough to prevent thermal lockup, so if you do need to be streaming continuously on a pi zeroW; like if you are using motion externally on another machine, a fan will probably be required. Heatsinks by themselves do not cut it.

motioneye - if you have ever set it up on another machine in order to view multiple streams, or do external motion detection - DISABLE/REMOVE IT.
I had it set up to view all my streams. And had everything in motioneye, including motion detect disabled.
....but apparently that doesn't stop it from making persistent network sockets to all of the machines you told it about, even across reboots and even when it's interface isnt running.

netstat -46pan
FTW
So yeah, apparently that solves the issues I was seeing with thermal lockups every 5 minutes, and constant wifi broadcasting.
facepalm

sigh
two things:

a fan will help keep temperatures low enough to prevent thermal lockup, so if you do need to be streaming continuously on a pi zeroW; like if you are using motion externally on another machine, a fan will probably be required. Heatsinks by themselves do not cut it.

motioneye - if you have ever set it up on another machine in order to view multiple streams, or do external motion detection - DISABLE/REMOVE IT.
I had it set up to view all my streams. And had everything in motioneye, including motion detect disabled.
....but apparently that doesn't stop it from making persistent network sockets to all of the machines you told it about, even across reboots and even when it's interface isnt running.

netstat -46pan
FTW
So yeah, apparently that solves the issues I was seeing with thermal lockups every 5 minutes, and constant wifi broadcasting.
facepalm


Need Delko's Dark theme for Phpstorm

Basic scenarios

Programmer should have the theme to php storm too

2.Below are the guildlines , on how you can can configure them .
Thanks :)

https://www.jetbrains.com/help/phpstorm/2016.1/configuring-colors-and-fonts.html

Hello! What do you mean open to being ported? This all should be open source. Currently I dont have the cycles to create a theme... But please do feel free to create one and I would be happy to add it to the Brackets-Themes organization.


tikv-ctl: compact whole cluster

Compact store one by one is not very efficient, so introduce a new command that can compact the whole cluster in mutiple cfs at a time.

please add a description for this PR.

Done.

rest LGTM.

@hicqu @huachaohuang

LGTM.


Add Logic app Enable text

For good measure add the action "In the overview pane for the logic app, select Enable." to all paragraphs. It's not included in the sequencing and autostop steps.

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

ID: 472a3f66-eb6d-4699-5a5d-558b69c60b4f
Version Independent ID: 9529161c-f2b8-0c5b-e62a-dcee86601d47
Content: Deploy Start/Stop VMs v2 (preview)
Content Source: articles/azure-functions/start-stop-vms/deploy.md
Service: azure-functions
Sub-service: start-stop-vms
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.


Segmentation fault

Hi, I'm getting this Segmentation fault. Am I doing something stupid or is it a bug?
./build/build test.fa 31 13 -o ./index/out.sshash

k = 31, m = 13, seed = 1, l = 6, c = 3, canonical_parsing = false, weighted = false
reading file 'test.fa'...
m_buffer_size 29411764
sorting buffer...
saving to file './sshash.tmp.run_1653987257158295118.minimizers.0.bin'...
read 1 sequences, 63 bases, 33 kmers
num_kmers 33
num_super_kmers 4
num_pieces 2 (+3.63636 [bits/kmer])
=== step 1: 'parse_file' 7.9e-05 [sec] (2393.94 [ns/kmer])
Segmentation fault

This is the file test.fna (I had to change the extension to .txt for github because github did not allow .fa file extension).
test.txt

Hi, yes I can confirm the segfault also on my end.
I'm looking into this now. Thank you for reporting!
(Have you tried also the other test files in /data? They work correctly for me.)
Anyway, it seems a problem with the ext-mem construction (latest commit).
I tried the commit before release 2.0.1 (c48948c0f5882063deeb6702f518d187ad7c7a07)
and everything worked.
Can you confirm this?

I can confirm that data/unitigs_stitched/ecoli1_k31_ust.fa.gz works in the latest commit, and commit c48948c works for the file that caused the segfault.

Yeah, it's some silly corner cases for tiny files where a tmp file results empty.
I'm fixing this now and will let you know.

As of latest commit (480f1da593e4550422ce8ead6540b24485897641), it should be fixed.
I can confirm it works on my end.
Can you check? Thanks!

Ok, I'm closing this.


Update developer guide for use cases

Updated use cases UC01-UC07.

Codecov Report

Merging #33 (ecaf6d5) into master (482eb68) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #33   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 482eb68...ecaf6d5. Read the comment docs.


_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List'

how can i fix this problem
this is my code
List<EPTimeTableEntry> parsedTimeTableEntryListFromJson(String responseString, {int trackableId}) {
  List<EPTimeTableEntry> entries = new List<EPTimeTableEntry>();
  try {
    final List responseArray = json.decode(responseString);
    if (responseArray != null) {
      for (Map map in responseArray) {
        EPTimeTableEntry obj = new EPTimeTableEntry(responseMap: map, trackableId: trackableId);
        if (obj != null) {
          entries.add(obj);
        }
      }
    }
  } catch (e) {
    print("Exception Caught [EPTimeTableEntry][parsedTimeTableEntryListFromJson] : " + e.toString());
  }
  return entries;

}

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. Closing, as this is not an issue report. See https://flutter.dev/community for support options.
If you disagree, feel free to comment and I will reopen the issue.


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1300 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 631826d after 23 minutes.


COMP: Update SpatialObjects to correct const-ness

SpatialObjects can now return a const list of their children, and SpatialObjectWriter accepts a const object.
Furthermore, updated test...A spatial object point has a position in object space, but until it is added to a spatial object (which potentially exists in a hierarchy of objects with parent/child transforms) the point does not have a position in world space.  So, the test has been updated to add a point to an object before asking for that point's world space position.

I am verifying these changes with TubeTK.  Please hold on merging.   Almost done...

All have been verified.
Squashing and then force pushing back to this branch.  And then cherry-picking onto release.

Awesome, thanks, @aylward ! I will integrate after CI finishes.