⚠ ClamAV has degraded performance

In ab39fb9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 88 ms

Resolved: ClamAV performance has improved in 23fed30.


Make steering fault recovery much better

Prevent torque from being requested while we're below the SCM minimum speed. No point, and I think we piss off the OEM hardware because of it.

Extend the fault recovery wait. Again, I think it's too aggressive. 1 second noticeably recovers quickly.

If we find an LKAS fault now, trigger steer error (NOT SURE ABOUT THIS YET)

Fixed in upstream.


[Event Request] report 840 "Suggest Worksheet Lines" - Create new event OnInsertCFLineForGLAccountOnBeforeInsertTempCFWorksheetLine

Describe the request
Could we please have a new event OnInsertCFLineForGLAccountOnBeforeInsertTempCFWorksheetLine
in the function InsertCFLineForGLAccount from report 840 "Suggest Worksheet Lines"
Code:
local procedure InsertCFLineForGLAccount(GLAcc: Record "G/L Account")
    begin
        with CFWorksheetLine2 do begin
            Init();
            "Source Type" := "Source Type"::"Liquid Funds";
            "Source No." := GLAcc."No.";
            "Document No." := GLAcc."No.";
            "Cash Flow Account No." := "Cash Flow Account"."No.";
            Description :=
              CopyStr(
                StrSubstNo(Text013, GLAcc.Name, Format(GLAcc.Balance)),
                1, MaxStrLen(Description));
            SetCashFlowDate(CFWorksheetLine2, WorkDate());
            "Amount (LCY)" := GLAcc.Balance;

            "Shortcut Dimension 2 Code" := GLAcc."Global Dimension 2 Code";
            "Shortcut Dimension 1 Code" := GLAcc."Global Dimension 1 Code";
            MoveDefualtDimToJnlLineDim(DATABASE::"G/L Account", GLAcc."No.", "Dimension Set ID");

//>>>>
            OnInsertCFLineForGLAccountOnBeforeInsertTempCFWorksheetLine(CFWorksheetLine2, "Cash Flow Forecast", "Cash Flow Account");
//<<<<

            InsertTempCFWorksheetLine(CFWorksheetLine2, 0);
        end;
    end;

Event signature:
 [IntegrationEvent(false, false)]
    local procedure OnInsertCFLineForGLAccountOnBeforeInsertTempCFWorksheetLine(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line"; CashFlowForecast: Record "Cash Flow Forecast"; "Cash Flow Account": Record "Cash Flow Account");
    begin
    end;

Additional context
We require updating some fields in CFWorksheetLine2 before performing the insertion.
Internal work item: AB#502639

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 16827.


Suppress netsplits

The IRCv3.2 batch extension (http://ircv3.org/extensions/batch-3.2) is probably not too widely supported yet, so we could simply suppress them by hand for now.
I have a prototype to "improve startup time by queuing and flushing messages in batches" (https://github.com/jpnurmi/communi-sailfish/commits/queue). The same technique could be used to merge series of join/quit messages together.

ZNC appears to support znc.in/batch but I have no idea what it is.


Bug Report: Finishing Any Week after Resetting Progress Crashes the Game

If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windows 64bit
What version of the game are you using? Look in the bottom left corner of the main menu.
1.6.2 (Downloaded From Releases
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Reproducing the bug : Reset Story Progression
Please describe your issue. Provide extensive detail and images if possible.
https://user-images.githubusercontent.com/81717689/129631001-c439961e-bb81-4758-9b8a-ccc0efc7c1f7.mp4

WRONG VIDEO

UPDATE : apprently it doesn't do this crashing for optimization mode. only experienced on Pico.

this was because tutorial just crashed already, it's already fixed in master so.

this was because tutorial just crashed already, it's already fixed in master so.

it also crashes after completing week 1 , which prevents from actually unlocking week 2


[stable/prometheus-operator] Update grafana Chart

Signed-off-by: David Gleich<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Brings the fix implemented in #22883 to the prometheus-operator
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #22711 again

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/retest

@vsliouniaev test are ok now 🎉

@vsliouniaev would be great if you could merge it :)

@vsliouniaev @gianrubio any update when this will be reviewed/merged?

/lgtm

@davidkarlsen Had to bump the version again would be great if you could take another look

/lgtm


Use correct endpoint for getting the auth URL

buildAuthorizationUrl makes a request to /v3/oauth/authorize, when it should instead be making a request to /v3/auth/authorize. The first endpoint is used for access tokens and takes POST params, while the second is for the user authorizing your app and takes GET params.
See https://getpocket.com/developer/docs/authentication.

Hi, sorry about that, I didn't notice the mistake I made. I've committed your suggestion, so we should be good.

Thanks!


Feature request: Google Maps Shapes

The plugin should support shapes.
Like this:
https://developers.google.com/maps/documentation/android-sdk/shapes
https://developers.google.com/maps/documentation/ios-sdk/shapes

Is this a duplicate of #17832 ?

Closed as duplication of #17832

The shapes mentioned in the original issue description are polyline, polygon and circle, which seem to be part of the plugin now:

Closing this as fixed. If anyone disagrees, write in comments and I'll reopen.
Thanks.


read: add EntriesRaw

Provides a raw reader of Debugging Information Entries. This is useful for users who require performance and don't need the niceties of EntriesCursor. Comparative benchmarks:
test bench_parsing_debug_info         ... bench:   1,733,047 ns/iter (+/- 63,346)
test bench_parsing_debug_info_raw     ... bench:   1,182,351 ns/iter (+/- 36,013)
test bench_parsing_debug_info_tree    ... bench:   1,836,409 ns/iter (+/- 57,726)

(Note: if you run the benchmarks yourself you'll see that bench_parsing_debug_info_with_endian_rc_slice is faster; this is due to differences in inlining.)
These benchmarks don't do anything with the attributes, so in practical applications the gains aren't this much, but they are still significant (I have tested in addr2line).

Coverage decreased (-0.2%) to 86.265% when pulling 24f87335cfca6bdaaa730f8b15e351cb60897437 on philipc:entries_raw into e516309db1ad8dcaba7eaf37e61e32b47c4710c8 on gimli-rs:master.

I probably should add a test too... tomorrow.


Add universal tag to the wheel

as this supports python 2 and 3, the wheel is universal

Thank you!

no problem 😄


feat: add watch file by directory

I think we can create a function for lines 119 to 150, and use unit tests to cover it

Coverage remained the same at 74.098% when pulling 701d694e8a39f44d243c83a4313edc7a056a5c38 on Gala-R:add-configMap-for-reloader into b74deec85dac0c36c95e3cf48ded73e076cbf5ff on emqx:main.


Incorrect versions modules.

$ go list -m -versions github.com/grafov/m3u8
github.com/grafov/m3u8 v0.2.1 v0.2.2 v0.3.1 v0.3.2 v0.3.3 v0.4.1 v0.4.2 v0.4.3 v0.5.1 v0.5.2 v0.6.1
Release 'v0.10' is incorrect for go modules and https://semver.org/
Releases must be like 'v0.10.0', NOT 'v0.10'
Last correct release is v0.6.1
Please rename all incorrect tags to correct working with go modules. Thx

Thank you @lesha888 , I'll fix it ASAP.

@leikao this still hasn't been corrected

Any updates? You need only make new tag v0.10.0 and push it =)

A major release v0.11.0 was made to fix this issue, please refer to v0.11.0 for more details.


TS Doesn't handle multiple exports with the same name correctly

export var seven = 7;
export var seven = 7;

This is validinvalid, and TS doesn't error on it.
export var seven = 7;
export var seven = 8;

This is invalid, and TS doesn't error on it.
The spec:

For each ExportEntry Record e in module.[[StarExportEntries]], do

Let importedModule be HostResolveImportedModule(module, e.[[ModuleRequest]]).
ReturnIfAbrupt(importedModule).
Let resolution be importedModule.ResolveExport(exportName, resolveSet, exportStarSet).
ReturnIfAbrupt(resolution).
If resolution is "ambiguous", return "ambiguous".
If resolution is not null, then
If starResolution is null, let starResolution be resolution.
Else
1. Assert: there is more than one * import that includes the requested name.
2. If resolution.[[module]] and starResolution.[[module]] are not the same Module Record or SameValue(resolution.[[exportName]], starResolution.[[exportName]]) is false, return "ambiguous".

A module is free to export the same value (as in the same value spec function) multiple times, but exporting different values under the same identifier should be a syntax error. This should also be an error:
export var state = {};
export var state = {};

Because unique objects do not pass the SameValue() test. (It is not currently reported as an error.)
Given that we don't want to attempt to evaluate RHS expressions to resolve the same value functions, we're pretty much stuck using type information to infer the same thing. Or we could just forbid the re-declaration of exports, given that since you're forced the reexport the exact same value or error, there's no real value in doing so.
And perhaps the more relevant part of the spec that I found:

<IP_ADDRESS> Static Semantics: Early Errors
It is a Syntax Error if the ExportedNames of ModuleItemList contains any duplicate entries.

We do forbid multiple default exports already, but don't check other names if the types match for some reason?

Consequently, it is also an error to do the following:
a.ts:
export class Foo {}

b.ts
export class Foo {}

c.ts
export * from './a'
export * from './b'

c.ts should error as it attempts to export multiple entries named Foo.

i do not think your second statement is correct. the export * resolution relies on order, and it is meant to fill in "missing" properties, and no overwrite is expected.

The first spec link in my first post covers that case - upon finding that a second identifier with the same name is exported it returns "ambiguous" which causes a SyntaxError. I think.

Hey, @sheetalkamat I'd like to work on this so I have it done for dts bundling/flattening (I don't want to even try to handle the case where a module tries to export members with the same name and gets flattened). Can I steal this from you?


unit test for daap-create-metadata

Automate testing of lambda containers using pytest.
Add daap-create-metadata/tests/ directory.
In tests/requirements.txt we need pytest, moto, plus the existing dependencies (boto3 and botocore).
In unit/tests we should create mock_test.py, similar to https://github.com/aws-samples/serverless-test-samples/blob/main/python-test-samples/apigw-lambda/tests/unit/mock_test.py
Since at the moment, the lambda only handles a success case (200 response)

Tasks

[ ] Update create lambda with new base image version (2.0.0)
[ ] Test & deploy  lambda

https://github.com/ministryofjustice/data-platform/pull/1574


[ci skip] adding user @AtefBN

Hi! This is the friendly automated conda-forge-webservice.
I've added user @AtefBN as instructed in #1.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #1

@AtefBN
Hi,
I wrote to the PyESSV team a few months ago about who should be included as a package maintainer here, and David Hassell at NCAR suggested you would be the person. Please let me know if this is alright!


[Haxe][ASGenerator] Improved callback code generation.

@Neverbirth please review and merge this PR

@Neverbirth what about this PR?

fixes #1580

From what I see this doesn't work properly on cases like Void->(Void->Void).

I will check this

@Neverbirth fixed

I've noticed something that maybe would be interesting to improve:
	static function foo(v:Int->(Void->Void)->(Void->(Void->Int))):Void
	{

	}

Produces:
	static function test(parameter0:Int, parameter1:(Void->Void)):(Void->(Void->Int))
	{

	}

You could produce cleaner code by removing the extra parenthesis, like:
	static function test(parameter0:Int, parameter1:Void->Void):Void->(Void->Int)
	{

	}


Add basic index route

Ticket
Resolves #177
Changes
Added and index route with basic html including a link to the swagger docs endpoint
Context for reviewers
Previously the index route returned a 404 causing issues with e2e tests.
Testing
N/A

Great work! But I don't think testing should be "N/A" here. How did you know this endpoint works? Can you add a screenshot of what the page looks like when you view it running on localhost?

That's a good point. I will add a screenshot. I can also add a quick test in tests/src/routes to be safe.

Alternatively, do you think it would make sense to not include this in the schema?

i support excluding this endpoint from the schema if it's easy to do. i really don't care what this endpoint returns, just that it's a 200, since the infra e2e tests assume that the index page returns something


fix namespace conflicts for factor__returns

And also need to fix the bug in factor_alpha_beta function, where it requires factor_returns as an argument, but it uses the same name as function factor_returns. So if factor_returns = None, it would raise an error that None cannot be called.

fixed https://github.com/quantopian/alphalens/pull/130


Bad error messages

Type check leaves bad messages:
Type ICollection`1 has not nullable public property Int32 not found among query results
Type BlobFile has not nullable public property Int32 not found among query results

Fixed


feat: APKAM sync changes

- What I did

When connection is authenticated via the APKAM

Enhance the sync verb to send the keys associated with enrolled namespaces in the sync response for the client to sync.
Enhance the "stats" verb to provide the highest commitId among the enrolled namespaces.

- How I did it

Within the SyncProgressiveVerbHandler,prepareResponse method, when the connection is authenticated through APKAM, retrieve the enrolled namespaces. If the key's namespace is found among the enrolled namespaces or if the enrolled namespaces contain "*", include the key entry in the sync response for client to sync.

With the above changes, the following scenario causes the sync to run into infinite loop : If a client submits a regex containing two namespaces, where one of the namespaces lacks authorization, and the key with the unauthorized namespace possesses the highest commitId, it can potentially lead to an infinite loop within the client's sync service. This issue arises because the server fails to send the commit entry with the highest commitId. To address the problem, enhance the "stats:3" verb to send the latestCommitId among the enrolled namespaces.

The stats_verb_handler, call the "getMetrics" method to fetch the latestCommitId. In the getMetrics method within the LastCommitIDMetricImpl, introduce an optional parameter called enrolledNamespaces that is set within the stats_verb_handler when the connection is authenticated via APKAM.

Modify the getMetrics method to pass the enrolledNamespaces parameter to the atCommitLog->lastCommittedSequenceNumberWithRegex method in order to filter the keys based on the enrolled namespaces.

In the CommitLogKeyStore.dart file, include a new method named isNamespaceAuthorized to validate whether the key's namespace is authorized.

- How to verify it

Added unit tests in "stats_verb_test.dart" and "sync_verb_test.dart"
Added functional test in "enroll_verb_test.dart" to verify highest commit id among the enrolled namespaces is returned
Added functional test in "sync_verb_test.dart" to verify keys with enrolled namespaces are returned in the sync response

- Description for the changelog

Implement APKAM changes into sync verb

NOTE:

Added a work around https://github.com/atsign-foundation/at_server/pull/1569/commits/e9647ae2b6c19171e9746e121493d99e5b66b3fd for the bug: https://github.com/atsign-foundation/at_server/issues/1570 in "commit_log_keystore.dart"
The changes in at_persistence_secondary_server which are a part of this PR are also in "apkam_sync_persistence_changes" which has CHANGELOG and pubspec version updated.

@sitaram-kalluri Have you run the at_client tests against this version of the server? (i.e. local test runs)

Yes Gary, ran at_client functional tests pointing this version of secondary server and all tests passed.


Configure absolute paths in tsconfig.json

Use imports like
import { Loader } from “components/loader”
instead of
import { Loader } from “../components/loader”

fixed, thx


Clarity on Azure Synapse vs Azure SQL Data Warehouse

This documentation references Azure SQL Data Warehouse support- does the APPROXIMATEDISTINCTCOUNT() function work against Azure Synapse as well? And if so, does it work for both Dedicated pools and Serverless pools?

Re: https://learn.microsoft.com/en-us/dax/approximate-distinctcount-function-dax

Article will be updated 9/1/2023 PM.


Stop words contained '\n\n' due to an empty line in stop_words.txt

When parsed to a list, stop words contained a non-word element '\n\n' because of the empty line at the end of the file. I have removed the new lines at the end of the comma-separated list of stop words.
_stop_words = [... 'you', 'your', '\n\n', 'a', 'b' ...]

Thanks!


Does it support wireguard interfaces?

Hi,
I was just looking for a project like this :).
Does it support wireguard interfaces?
How can they be configured?

Hello!
You can find the documentation about supported interfaces in https://www.nmstate.io/examples.html. We are working on supporting more interfaces :-)


Replace Node coordinates

Closes #323

Codecov Report

Merging #337 (ff6a6b1) into main (6c815d8) will decrease coverage by 1.49%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #337      +/-   ##
==========================================
- Coverage   87.55%   86.07%   -1.49%
==========================================
  Files          42       42
  Lines        1511     1522      +11
==========================================
- Hits         1323     1310      -13
- Misses        188      212      +24

Impacted Files
Coverage Δ

src/Meshes/Meshes.jl
87.06% <100.00%> (+1.35%)
:arrow_up:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Null Safe

Please upgrade library to be null safe.

Thank you for the reminder. This is a PR to do this which I looked at briefly, but didn't quite follow how this resolved null safety (because I haven't yet read about it in detail).
If you have some time, could you look at the PR and let me know what you think?

Looking briefly, doesn't look done to me, Im only seeing the flutter version updated. It's actually very easy to do with the tools yourself, especially as you have no dependancies. Run 'flutter upgrade' on stable channel to upgrade to 2.0.3. Then when it's done, run 'dart migrate'. It will analyse the code and show you a link. Open the link and it shows you what it needs changing. In your case takes a while to load lat_lng_to_timezone.dart as it large. It suggests 3053 added checks. Hit 'Apply Migration' button at the top. Run a test. I've done this to a number of my projects - works very well.
If you do have dependancies do these 2 first, and it will list what libs have been migrated, and then apply the changes for yo.
flutter pub outdated --mode=null-safety
flutter pub upgrade --null-safety
Good work by the way. Useful library for timezones.

Fantastic, thank you for the steps. I'll look into it.

Good work by the way. Useful library for timezones.
Very useful! But I can't take the credit, I just ported it from someone else for my Flutter project :)

Actually that was a great PR. Closing this issue as fixed with PR#1


CORGI-811 many to many models

After PR#704 created a INFERRED ProductNode type, this PR changes the relationship between streams and variants to be many-to-many.

@RedHatProductSecurity/corgi-devs please review. I plan to merge this PR before completing CORGI-602.
I know 'mypy' is failing but I'm not sure how to fix it. Seems the ProductModel as the wrong productstreams type, but I'm not sure what I should set it to.

See the CORGI-811 task for a comparison on the product hierarchy from stage compared with the one produced with these code changes in dev.

Closed in favour of
https://github.com/RedHatProductSecurity/component-registry/pull/722
and
https://github.com/RedHatProductSecurity/component-registry/pull/723


Symmetry in bubble correction

Hi, I have some questions about using FE_BUBBLE=1 (note, I have already enabled it using -D_FE_BUBBLE).

Is symmetry used by default when calculating the bubble correction to the SCPH solution?
What is the primary way to converge the dense q-point grid? Is it using the &kpoint section or using KMESH_SCPH?

I'm finding the bubble correction is very slow and uses a lot of memory even for a FCC cubic system. For example using a &kpoint mesh of 30 30 30 the code warns it needs 300GB of memory. This seems like a lot of memory for a simple system and much less memory is needed to calculate the lattice thermal conductivity, say in phono3py.
Do you have any other tips for using the bubble correction?

Yes. The current implementation already makes use of symmetry (space group, permutation).
Please use the &kpoint section. KMESH_SCPH is used only in the main iterative loop of an SCPH calculation. All post process calculations are performed with the k point information in the &kpoint section.

As you noticed, calculation of the bubble free energy is computationally demanding. It is much more expensive than calculation of the imaginary part of the bubble self-energy, which is necessary for computing thermal conductivity.
Regarding the large RAM requirement, the code first prepares all necessary temperature-dependent information (e.g., phonon frequencies, polarization vectors) on a uniform k-grid (specified in the &kpoint section) before starting a calculation of the bubble free energy. Thus, the more temperature points you have, the larger the RAM requirement.
I have some suggestions that might help.
RAM requirement
This issue may be avoided by reducing the temperature points of an SCPH calculation and k-point density. Please try

First, run an SCPH calculation with a relatively dense temperature grid and k points with FE_BUBBLE = 0. This should be feasible.
Next, restart the SCPH calculation with  FE_BUBBLE = 1 as well as a coarser k-grid and fewer temperature points.
If above procedure does not help, please reduce MPI processes per node.

Tips

It is possible to restart the SCPH calculation with different TMIN, TMAX, and DT as long as the temperature points in the restart run is a subset of that of the initial run.
In the restart mode (RESTART_SCPH = 1), the code reads SCPH dynamical matrix from the PREFIX.scph_dymat file.  For Step 2 above, I would suggest changing PREFIX to avoid overwriting the previous results.  To restart the SCPH with a new PREFIX, please create a symbolic link, for example, as ln -s PREFIX.scph_dymat PREFIX_new.scph_dymat

Convergence
Since the bubble free energy is usually much smaller than the QHA or SCP terms, I think (SCP term with a dense k point) + (Bubble correction with a coarse k point) give a reasonably converged value of the total free energy. For example, using 30 30 30 k mesh for the SCP term (FE_BUBBLE = 0) and 10 10 10 k mesh for the bubble term (FE_BUBBLE = 1)  would be hopefully OK. (Of course, convergence check should be done carefully for each case.)
In my experience, the convergence of the bubble free energy tends to be faster than that of the thermal conductivity.

Thank you very much for the suggestions. I hadn't realised that the bubble correction was more expensive than calculating the imaginary part of the self-energy. But it is good to hear that convergence is faster for the bubble correction.
The tips on mining the RAM requirement and performing a subset of temperatures are very useful. I am trying them on my system now. I also wonder if the bubble correction is a smooth function with temperature, in that case I can interpolate it to a denser temperature mesh  – I will give this a go.
Thank you for developing this fantastic code. The features are very impressive!

Can I also ask. Have you benchmarked different parallelisation strategies for the bubble correction? For example, is it best to combined multiple openMP threads with MPI processes. Or just stick to MPI only?

I haven't done a performance check, but I think a pure MPI run is more efficient in terms of wall time.


build(dependencies): 🧱 update crates

Description
Update dependencies:
Bumps reqwest from 0.11.27 to 0.12.2. Updating autocfg v1.1.0 -> v1.2.0 Updating
backtrace v0.3.69 -> v0.3.71 Updating bytes v1.5.0 -> v1.6.0 Updating clap
v4.5.3 -> v4.5.4 Updating clap_derive v4.5.3 -> v4.5.4 Updating fastrand v2.0.1
-> v2.0.2 Updating indexmap v2.2.5 -> v2.2.6 Updating itoa v1.0.10 -> v1.0.11
Updating regex v1.10.3 -> v1.10.4 Updating regex-syntax v0.8.2 -> v0.8.3
Updating serde_json v1.0.114 -> v1.0.115 Updating serde_yaml v0.9.33 ->
v0.9.34+deprecated Updating smallvec v1.13.1 -> v1.13.2 Updating syn v2.0.53 ->
v2.0.55
Type of change

[x] Dependency update

How Has This Been Tested?

[x] cargo test run with all tests passing

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.23%. Comparing base (17f51bb) to head (8f732f6).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #292      +/-   ##
==========================================
- Coverage   38.30%   38.23%   -0.07%
==========================================
  Files          13       13
  Lines        4986     4995       +9
==========================================
  Hits         1910     1910
- Misses       3076     3085       +9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Dependent requests does not seem to be reactive

Describe the bug
In my NextJS application, I wanted to use the useFetch hook to fetch some data from the API. I needed to grab some URL parameter from the router. As this parameter was undefined during the first render cycle, I tried to set up some dependent request like it is shown in the documentation.
const DetailPage: NextPageWithLayout<DetailPageProps> = (props) => {
	const router = useRouter();
	const { postId } = router.query;

	const { data, loading, error } = useFetch(getPost.setParams({ postId }), {
		disabled: !postId
	});

	...

	return <div>...</div>;
}

Unfortunately the command I passed to useFetch was never executed, once the postId was ready.
To Reproduce
I have reproduced this behaviour in the following CodeSandbox:
https://codesandbox.io/s/hyper-fetch-usefetch-disabled-not-reactive-c4zfi8?file=/src/App.js
There is some isFetchPostsDisabled property that is set to false after 1 second, but the command does not get executed.
Maybe I am misunderstanding something?
I needed to work around this issue by creating some wrapper component, that I only include once the isFetchPostsDisabled is set to false, but this is not a real dependent request anymore.
https://codesandbox.io/s/hyper-fetch-usefetch-disabled-not-reactive-fixed-using-a-middleware-component-7mq6bj?file=/src/App.js
Expected behavior
Once the "disabled" property turns to false, I expect the command to be executed.
I was hoping you could help me a bit here.
Maybe I am misunderstanding something?
Regards,
Stefan

Hey Stefan, sorry to hear that this functionality did not work correctly for you. We will take a look at this issue and get back to you soon with a fix. Thanks for the report and reproduction example, we appreciate it a lot!

@stefanullinger Issue is solved, it was a victim of refactoring I did some time ago. Also please notice that we changed the library namespace from @better-typed to @hyper-fetch for some clarity and readability, so the installation and usage of it will be like this:
import { Builder } from "@hyper-fetch/core";
import { useFetch } from "@hyper-fetch/react";

Have fun with HF!

Nice, works perfectly now! Thanks a lot!


Remove use of APPLE_CC

APPLE_CC is an obsolete macro for clang version. Instead, conditionalize by platform, not compiler. Hoisted the same snippit from VTK itself.

Thankyou for this


Some doubts in code

Hi,
First of all thanks for the great work and sharing the code. :+1:
I am trying to use your code on my custom dataset. I am using Centerpoint-PointPillars model with circle-nms and while scanning through the code, had following doubts:

During preprocessing, the dimensions (length and width) are scaled to the final feature resolution https://github.com/tianweiy/CenterPoint/blob/master/det3d/datasets/pipelines/preprocess.py#L671, but during predict step, these are not decoded back into original meter space https://github.com/tianweiy/CenterPoint/blob/master/det3d/core/utils/center_utils.py#L342. I am not sure if that's right; though in nuscenes evaluations, it might not impact, since it looks for distance based metric rather than IOU.

In the circle_nms, I presume the min_radius as defined in the test_cfg is in meters, but in the circle_nms_jit, it uses this radius value for comparison against L2-distance https://github.com/tianweiy/CenterPoint/blob/master/det3d/core/utils/circle_nms_jit.py#L26. Does this mean that this radius is actually distance squared, or am I missing something?

Could you please clarify my above doubts?
Looking forward to your reply.
Thank You.
Anuj

Hi, thanks for the interest. The target is actually in the meter space https://github.com/tianweiy/CenterPoint/blob/e2fc27918a451f908bb4dd979326557b0dfa7c9a/det3d/datasets/pipelines/preprocess.py#L714 the refered line is only for the if check below, which seems useless. I will remove them in the next refactoring.
Yeah, it is distance squared. https://github.com/tianweiy/CenterPoint/blob/e2fc27918a451f908bb4dd979326557b0dfa7c9a/configs/centerpoint/nusc_centerpoint_pp_02voxel_circle_nms.py#L85

Hi,
Thanks for the clarification. My bad, I did not see later that the targets are actually in meter space. 👍
Thanks !!


add checkboxes to render

feature requested in issue https://github.com/markmap/markmap/issues/193
tell me what changes would be needed
and Whether the svg design is good or needs to change
and Whether to leave svg the same color as text or the color of the line
old:

new:

Thank you for your effort!
Could you make it a Markdown plugin? Here is a minimal example:
import { ITransformHooks } from '../types';
import { definePlugin } from './base';

const name = 'checkbox';

const plugin = definePlugin({
  name,
  transform(transformHooks: ITransformHooks) {
    transformHooks.parser.tap((md) => {
      md.core.ruler.before(
        'inline',
        'checkbox',
        (state) => {
          for (let i = 2; i < state.tokens.length; i += 1) {
            const token = state.tokens[i];
            if (token.type === 'inline' && token.content) {
              const prevType = state.tokens[i - 1].type;
              const prevPrevType = state.tokens[i - 2].type;
              if (prevType === 'list_item_open' || prevType === 'paragraph_open' && prevPrevType === 'list_item_open') {
                // Modify token.content
              }
            }
          }
          return false;
        },
        {},
      );
    });
    return {};
  },
});

export default plugin;

Also please add a test case for it, I'm afraid the current implementation matches the following cases too:
[ ] this is not a checkbox

\`\`\`
[ ] this is not a checkbox either
\`\`\`

svgs are minified as asked

checkboxes is turned to a plugin with the logic of accepting either headers or list item paragraphs

// accept heading and list items paragraphs
if (prevType === 'heading_open' || (prevType === 'paragraph_open' && === 'list_item_open')) {
  if (token.content.startsWith('[ ]')) {
    token.content = `${svg_unmarked} ${token.content.slice(3)}`;
  } else if (token.content.startsWith('[x]')) {
    token.content = `${svg_marked} ${token.content.slice(3)}`;
  }
}

i tested this in other markdown formatters and those items dont get turned to checkboxes the only accepted checkboxes are list items

```md
[ ] this is not a checkbox

\`\`\`
[ ] this is not a checkbox either
\`\`\`

i made an exclusion to add headings as well because it seems usefull in this case feel free to reject it
i added test for it anyways

yes i forgot that sorry

Could you fix the test case? Thanks. @ilyes-ced

which test case? they work fine for me and for github checks

The test case fails because the snapshot still contains class="change_color". CI fails if you rebase to the latest master.
You can run pnpm --filter markmap-lib test -- -u to update the snapshots.


chore(build) Adjust GitHub workflows based on latest in Concerto

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Fixes: https://github.com/accordproject/markdown-transform/issues/364
Changes

Update GitHub workflows to align with the latest in Concerto

Coverage remained the same at 89.081% when pulling 76daf992255916b18c460f5bb3dc3dae404fc464 on js-fix-ci into 8753351ecbb90b5c41b5ee1c5fe42397f0212749 on master.

@jeromesimeon it appears that these scripts are publishing to NPM in PRs, is that intended?

Also we seem to be getting duplicate runs, one for push and one for pull_request, presumably we only want one.

@jeromesimeon it appears that these scripts are publishing to NPM in PRs, is that intended?

Also we seem to be getting duplicate runs, one for push and one for pull_request, presumably we only want one.

I may be wrong, but what I believe happens is:

you always get a build for a commit (i.e., push)
you always get a build for a PR

That's always what we've done and I think makes sense?
And you get a publish on commits (i.e., push)
That's also what we've traditionally done.

Additional note:

for many users we will only see PR for builds (because they will do a PR from a fork rather than a branch in the repo)
for many users we will only see a build + publish when we merge those PRs

That's the most common scenario

Additional note:

for many users we will only see PR for builds (because they will do a PR from a fork rather than a branch in the repo)
for many users we will only see a build + publish when we merge those PRs

That's the most common scenario

It appears that the build is publishing to NPM before the PR is merged, e.g. https://github.com/accordproject/markdown-transform/pull/365/checks?check_run_id=2149492576

Additional note:

for many users we will only see PR for builds (because they will do a PR from a fork rather than a branch in the repo)
for many users we will only see a build + publish when we merge those PRs

That's the most common scenario

It appears that the build is publishing to NPM before the PR is merged, e.g. https://github.com/accordproject/markdown-transform/pull/365/checks?check_run_id=2149492576

not really it published on commit to the branch.

Additional note:

for many users we will only see PR for builds (because they will do a PR from a fork rather than a branch in the repo)
for many users we will only see a build + publish when we merge those PRs

That's the most common scenario

It appears that the build is publishing to NPM before the PR is merged, e.g. https://github.com/accordproject/markdown-transform/pull/365/checks?check_run_id=2149492576

That PR was not from a fork.


Modrinth maven recommends using an exclusiveContent repository; this currently is not supported by forgegradle

Describe the bug
The page on the modrinth maven (https://docs.modrinth.com/docs/tutorials/maven/) currently recommends using gradle's exclusiveContent filter for adding the repository; it should be noted on that page that this does not work with forgegradle (MinecraftForge/ForgeGradle#925).
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response

To add more information: this is apparently possible with forgegradle but requires a bit of other stuff to be added to the block

What other stuff needs to be added?

According to someone on the linked issue, you need to add fg.repository to the exclusive repositories block. So:
repositories {
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        forRepositories(fg.repository) // this is the new bit
        filter {
            includeGroup "maven.modrinth"
        }
    }
}

I haven't actually tested this though


Plugin is always offline, as it is not connected

Once I log in and connect it stays always as offline and does not retrieve library or connect in any way.
I will attach logs:
plugin-bethesda-cb57391f-1675-35b1-05c0-896d43bdf4f8.log
Thank you

It looks like the plugin is being redirected from the login API to the main Bethesda page.

Once I log in and connect it stays always as offline and does not retrieve library or connect in any way.
Thank you

Download the latest version of the plugin. That resolved the issue for me.

Hello,
There is not official releases in this github, so I delete the previous plugin and downloaded it again directly from client and it did solve the problem. Thank you


core dump encoding on a xeon  e5-2670 running ubuntu 20.04

Getting this in syslog after a core dump of the release target
rav1e[25990] trap invalid opcode ip:559e3f4f9426 sp:7fb9c9d86258 error:0 in rav1e[559e3f247000+2d4000]
Prologue in the encoding terminal looks like this:

CPU Feature Level: SSE4_1
Using y4m decoder: 3840x2160p @ 24000/1001 fps, 4:2:0, 10-bit
Encoding settings: keyint_min=12 keyint_max=240 quantizer=100 bitrate=0 min_quantizer=0 low_latency=false tune=Psychovisual rdo_lookahead_frames=40 min_block_size=4x4 max_block_size=64x64 multiref=true fast_deblock=false reduced_tx_set=false tx_domain_distortion=false tx_domain_rate=false encode_bottomup=true rdo_tx_decision=true prediction_modes=Complex-All include_near_mvs=true scene_detection_mode=Standard cdef=true use_satd_subpel=true non_square_partition=false enable_timing_info=false fine_directional_intra=true
Using 1 tile

What else do you need to diagnose what's going on?
Edit: disabling feature asm allows the encoding to proceed, though more slowly
Edit: tag v0.4.1 works as expected.

Can you please provide a backtrace using gdb or lldb?

from gdb

Thread 2 "rav1e" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7f2c4ad86700 (LWP 80540)]
0x000056063b1b9426 in rav1e_put_8tap_16bpc_avx2 ()

It seems that's the problem. We need to check why the dispatcher picked the avx2 variant.

Great! thank you!


Seperate the project into 2 different applications

Description
Currently we are using NestJS with SSG.
Our goal is to separate our project into 2 different apps, front and back.
Screenshots
No response
Additional information
No response

F**K Yea https://github.com/origranot/reduced.to/pull/278

A lot of effort here, never forget those nights till 5am solving unexpected bugs😅🤣

A lot of effort here, never forget those nights till 5am solving unexpected bugs😅🤣

At least we got it 🥇 💯


Differenciate between create/update and createItem/updateItem

All in all I would prefer if create/update would not behave different for arrays than for normal scalars:
create: receives the entire source data/array as options.data
update: receives the target data/array as target and the source data/array as options.data

Since most use cases will probably want to perform a simple create/update per item, two extra methods could be introduced:
createItem: behaves the same as the current create function for arrays
updateItem: behaves the same as the current update function for arrays

When overwriting the normal update/create methods for arrays one must take care to implement the key logic, but it the end it would make it possible to perform extremely powerful mappings.
Example:
source: {"foo": {...fooProps...}, "bar": {...barProps...}}
target: [{"name": "foo", ...fooProps...}, {"name": "bar", ...barProps...}]

In an application I'm currently writing I wanted to do exactly this but had to change the server return value to the target array because I was not able to map objects to array properties of the target model. With the proposed change such mappings are possible and the API becomes much more logical.

If the create callback is changed like you propose (i.e. providing the source array), what would be the additional benefit of the createItem/updateItem calls? What additional benefit would they bring?
I mean, since the create callback requires you to return a 'created' object, would that not be already the place to do your more complex mapping as in the example?

Without the createItem/updateItem callback the original "key" callback would be rendered almost useless as it could not be used for custom item mappings (but with standard array mapping) anymore.

That's true, since the key callback assumes that the key property can be found in both mapped and unmapped objects.
I'm still a bit hazy on what the exact sequence of callbacks would be in your proposal. Could you give an indication what your source, target and mapping options would look like in an 'ideal' situation?

Talked on Skype, and concluded this idea is not necessary to implement.


[plot3d] Fix Qt4 compatibility issue

This PR fixes a Qt5/Qt4 API compatibility issue
Related to #1630

LGTM


Websocket Performance Comparison (by matttomasetti)

Hi, I was having a look at this https://matttomasetti.medium.com/websocket-performance-comparison-10dc89367055 and thought I'd be interesting to see how this library compares to others.

There is nothing much to do here :) We would add some benchmarks for performance soon.


Added Isonline Source Code Link

my profile is already linked and so is the source to the website. Do you mean the source code to isOnline itself?

Yes!|


Skip (trailing) empty lines

Excel has a memory of which cell is de most lower right cell in use (which it jumps to when you type Ctrl-End). If you have removed lines from you document, this cell may be down far below the last line containing any values.
When using LinkToExcel, the underlying provider will return lines up to the one containing the last cell.
I can of course check if any of the cells contain data, but it would help me if I had a setting for this on the ExcelQueryFactory object. Something like bool SkipEmptyLines. It would be OK for me to also skip empty lines in the middle of the data set.

Agree. I also have situations where in the middle of file I get some sort of summary info instead of data. It would be great to have opportunity process such 'invalid' rows somehow.

Implemented by #177.


UX/ flow plan for App owner

What type of PR is this? (check all applicable)

[ ] Feature
[ ] Refactor
[ ] Bug Fix
[ ] Optimization
[X ] Documentation Update
[ ] Other (please specify here: )

Description of what this Pull Request does
(type your description here)
Related Tickets & Documents

Closes # (add the ticket number here, like #1)
Related Issues: (enter ticket numbers here)

QA Instructions, Screenshots, Recordings
(In this section, describe how to QA/review your PR. Feel free to use screenshots and/or short videos)
Added/updated tests?

[ ] Yes
[ ] Not Yet, and here is why: explain here
[ ] I need help with tests
[ ] No, and here is why: explain here

Excellent PR descriExcellent PR description! Everything looks good here. Just looks like you need to handle a merge conflict.


handle basic auth

so we can handle
  --rpc-login arg                       Specify username[:password] required

starting monerod with --rpc-login foo:foo
can't just go with straight curl -u foo:foo, it turns out digest-based auth is what's implemented
 $ curl --digest -u foo:foo http://localhost:18089/get_info -v
*   Trying <IP_ADDRESS>:18089...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 18089 (#0)
* Server auth using Digest with user 'foo'
> GET /get_info HTTP/1.1
> Host: localhost:18089
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Server: Epee-based
< Content-Length: 98
< Content-Type: text/html
< Last-Modified: Sun, 18 Jul 2021 11:01:04 GMT
< Accept-Ranges: bytes
< WWW-authenticate: Digest qop="auth",algorithm=MD5,realm="monero-rpc",nonce="RuQArQklEgpS6iQ30rWJlw==",stale=false
* Ignoring duplicate digest auth header.
< WWW-authenticate: Digest qop="auth",algorithm=MD5-sess,realm="monero-rpc",nonce="RuQArQklEgpS6iQ30rWJlw==",stale=false
<
* Ignoring the response-body
* Connection #0 to host localhost left intact
* Issue another request to this URL: 'http://localhost:18089/get_info'
* Found bundle for host localhost: 0x559fa370ab50 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#0) with host localhost
* Connected to localhost (<IP_ADDRESS>) port 18089 (#0)
* Server auth using Digest with user 'foo'
> GET /get_info HTTP/1.1
> Host: localhost:18089
> Authorization: Digest username="foo", realm="monero-rpc", nonce="RuQArQklEgpS6iQ30rWJlw==", uri="/get_info", cnonce="YTlhMGJkM2RmMWQzZjQ0MjU5N2UyNTM5ODk2NWNkZTg=", nc=00000001, qop=auth, response="9d05a3ef8616dcd6be04e02ef6935cb9", algorithm
="MD5"
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 Ok
< Server: Epee-based
< Content-Length: 1270
< Content-Type: application/json
< Last-Modified: Sun, 18 Jul 2021 11:01:04 GMT
< Accept-Ranges: bytes
<
{
  "adjusted_time":<PHONE_NUMBER>,
  "alt_blocks_count": 0,
  "block_size_limit": 600000,
  "block_size_median": 300000,

done
e78b200d02aca7ffa414b09c0e8a1378a65cd4b7 add support for rpc auth


 We also have a preview env from ClodFlare: https://feat-current-story-modes.write-on.pages.dev/ :slightly_smiling_face:

Interesting. I first pushed the branch, then created a PR. Cloudflare didn’t comment. Only after I pushed again there.


filter Type 'xxxSearch' doesn't allow nested filtering

An example from my Model:
type StmModelSIPOC_WEBTbMigracaoPlanoAcaoPage {
total: Int
page: Int
limit: Int
filter: StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearch
match: StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearch
sort: StmModelSIPOC_WEBTbMigracaoPlanoAcaoSort
items: [StmModelSIPOC_WEBTbMigracaoPlanoAcao]
}
input StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearchInput {
id: [SearchFilterInput]
dataHora: [SearchFilterInput]
usuario: [SearchFilterInput]
justificativa: [SearchFilterInput]
}
type StmModelSIPOC_WEBTbMigracaoPlanoAcao {
id: Int!
dataHora: DateTime!
usuario: String!
justificativa: String
planoAcaoOrigem: StmModelSIPOC_WEBTbPlanoAcao
planoAcaoDestino: StmModelSIPOC_WEBTbPlanoAcao
}
Notice how I am unable to filter by planoAcaoOrigem properties, that is a must for me!
I think there should be a major refactoring, instead of
input StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearchInput {
id: [SearchFilterInput]
dataHora: [SearchFilterInput]
usuario: [SearchFilterInput]
justificativa: [SearchFilterInput]
}
Something like:
input SearchFilterInput {
path: String
operator: SearchOperator
value: String
}
And instead of creating a SearchInput for each Type, let them all use this new one.
I am willing to do the work for this, but does it interest you?

hi @nuncanada , thank you for reporting. You're right, nested search was not implemented yet. You're contribution is most welcome. :pray:

Anyway, I think we need to keep the property filter input as List of SearchFilterInput. Because we might need to filter the same property that fulfill more than one condition. (e.g date > last week and date < yesterday).
Or maybe you have better idea?
StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearchInput {
id: [SearchFilterInput]
dataHora: [SearchFilterInput]
usuario: [SearchFilterInput]
justificativa: [SearchFilterInput]
}

Yes, and I think my proposal do add a Path isn't very GraphQL in spirit. I think the correct option would be to have something like Generics (2nd-order types):
StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearchInput {
id: [SearchFilterInput<Int!>]
dataHora: [SearchFilterInput<DateTime!>]
usuario: [SearchFilterInput<String!>]
justificativa: [SearchFilterInput]
planoAcaoOrigem: [SearchFilterInput<StmModelSIPOC_WEBTbPlanoAcao>]
planoAcaoDestino: [SearchFilterInput<StmModelSIPOC_WEBTbPlanoAcao>]
}
This example is following Java's syntax for Generics...
Reading about Generic's issue for GraphQL itself:
https://github.com/graphql/graphql-spec/issues/190
Do you have another suggestion on how to create the syntax for nested filtering that doesn't make the schema still a lot bigger than it currently already is?

The same problem in another library Strapi in another language Python:
https://github.com/strapi/strapi/issues/2297

The advantage of using dotNotation instead of the graphql object is that it guarantees only 1 path per condition, it doesn't make sense to have more than that because you only have 1 value to compare to.
Using for example:
path: "planoAcaoOrigem.idOinfo.name"
operator: like
value: "%test%"
https://github.com/graphql/graphql-spec/issues/174

By using dotNotation, at least in doctrine queryBuilder, means we have to manage logical relationship aliases between entities. I had done this before, and it's not trivial.
As the generics & flatten path issues was not resolve yet and also since the schema was generated dynamically from doctrine metadata, I think we should generate the relational fields on the xxxSearchInput type and implement the mechanics to apply that filter.
input StmModelSIPOC_WEBTbMigracaoPlanoAcaoSearchInput {
    id: [SearchFilterInput]
    dataHora: [SearchFilterInput]
    usuario: [SearchFilterInput]
    justificativa: [SearchFilterInput]
    planoAcaoOrigem: StmModelSIPOC_WEBTbPlanoAcaoSearchInput
    planoAcaoDestino: StmModelSIPOC_WEBTbPlanoAcaoSearchInput
}

What do you think?

Yes, that matches exactly the style of the rest of the schema. Overnight I thought about it and was going to propose exactly this approach.
It should be really easy to make these appear in the schema, not sure how easy it is to make the queries work in the backend.
About handling the aliases, I do have working code to handle the aliases! I have already built working GraphQL-like engine using Doctrine Metadata, but with very few features. If you think that could be useful somehere else, I can commit it here.

About handling the aliases, I do have working code to handle the aliases! I have already built working GraphQL-like engine using Doctrine Metadata, but with very few features. If you think that could be useful somehere else, I can commit it here.

If you could share some code, that'll be really helpful.
Anyway, currently trying to implement on the backend side. Hopefully. I can finish this on 1 or 2 days.

Sorry, I accidentally pushed the close button

@nuncanada can you try the nested feature on using version ~1.1?

@nuncanada , please let me know the result when you have try this.


Ctrl+Delete removing entire line when used at the end of line

If you have some lines in a file such as:
public void Add( int x,
                          int y )
{
    // some code
}

If you place your cursor at the end of the first line, and hit Ctrl+Delete it removes the entire line, so you end up with just

                          int y )
{
    // some code
}

I would expect it to remove all the space between the current position and the next word:
public void Add( int x, int y )
{
    // some code
}

This is on Windows 7 if that's relevant or not.

I think it's a regression in the latest update (0.10.10?). Pretty annoying :)

@alexandrudima I end up with this after the first Ctrl+Delete:
public void Add( int x,                          int y )
{
    // some code
}

Please reopen if your fix wanted to get me to this as suggested by the issuer:
public void Add( int x, int y )
{
    // some code
}

I like the suggestion, saves an extra Ctrl+Delete.
My change was to fix the blatantly wrong behavior of Ctrl+Delete that would delete the current line.

:+1:


Are there any plans for ESP32 support?

I think that ESP32 must be pretty popular by now. Are there any plans for support?

I want to ask that too.

https://github.com/vlasovskikh/intellij-micropython/pull/88

It just works if you select the ESP8266 device type, which makes sense as basically they're both running MicroPython. The referenced pull request doesn't actually add anything for ESP32 support as far as I can tell, it just replaces the usage of adafruit-ampy.
The only thing that could be added is probably better code hints for ESP32 but since I just started using the ESP32 myself I have no idea if they differ that much from ESP8266.

Yes, there are, follow #44.


Request not stored

Im using the lastest 0.7.11. My problem is just as the title states. Ajax request are totally not storing and are not remade when the internet is back on. Everythign else(UI, custom check url) is working fine.
My Options:
Offline.options = {
    checkOnLoad: true,
    interceptRequests: true,
    requests: true,
checks: {image: {url: 'http://exmpale.com/client/pixel.jpg'}, active: 'image'}
};

My Ajax request:
$.ajax({
url: serverAddress+'/api/eventHandler.php',
data: tasks[i],
async: false,
type: 'POST',
timeout: 3000,
crossDomain: true,
success: function(responseText) { console.log(responseText); tasks.splice(i, 1); },
error: function(responseText) { console.log("NOPE"); tasks.splice(i, 1); }
});
Please advise.
Thanks.

In general, making requests with async: false is not really ever appropriate.  I can't speak to what will or won't work in Offline if you do this.


(eslint-config) update community eslint plugin in eslint config

Summary
Updating the community eslint-plugin used in the eslint-config to the latest version.
expecting new eslint-config version to be released with this change so that it can be included in new project template for 0.63 https://github.com/react-native-community/releases/issues/186

Changelog

[General] [Changed] - Update community eslint plugin in the eslint config
Test Plan
yarn lint passes

@matt-oakes made the change as requested :+1:

Looks good to me! @cpojer can you put this change through?

awesome!
@matt-oakes Could you release the new version when you get the chance? :+1:

@Naturalclar Done!


pkg/bootconfig: refactored, and added NewManifest

The old NewManifest function was a misnomer, it's a parser. Also added a proper NewManifest function, plus tests.

first step for #87

Codecov Report

Merging #89 into master will increase coverage by 0.36%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   44.25%   44.61%   +0.36%
==========================================
  Files          12       12
  Lines         461      464       +3
==========================================
+ Hits          204      207       +3
  Misses        232      232
  Partials       25       25

Impacted Files
Coverage Δ

pkg/bootconfig/zipconfig.go
52.23% <100%> (ø)
:arrow_up:

pkg/bootconfig/manifest.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


translate to arabic

add arabic language

Thanks! Will be available next release :)

Thank you its awesome extension.


Implement correct but slow gtf/gff-reader to be used as backup.

The current one fails on some edge-cases.
See #292

It is a good idea to test GTF/GFF from lots of source. We started doing this.
For ensembl and NCBI, one could use https://github.com/marco-mariotti/ensembl_assembly and https://github.com/marco-mariotti/ncbi_db to download annotations.
For NCBI, if we really want to go "big scale", since there's so many, one could adapt this to systematically download each annotation, test it, and trash it:  https://github.com/marco-mariotti/ncbi_single_use_genome/blob/main/ncbi_single_use_genome.py
(It is currently implemented for tasks on genomes, but it can easily be modified to do this with annotations instead)
A problem is: how do we decide that we loaded an annotation correctly? An exception thrown is an obvious problem, but there are more subtle problems. E.g. some gene descriptions contain "#": there's no way to catch the part of the lines after these symbols with pandas read_csv as long as we use the comment.char to get rid of the starting commented lines. These problems go unnoticed.


fix(facade): fix implementation of getWrap and remove redundant getWraps method

Pull Request Checklist

[x] Related tickets or issues have been linked in the PR description (or missing issue).
[x] Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
[x] Unit tests have been added for the changes (if applicable).
[x] Breaking changes have been documented (or no breaking changes introduced in this PR).

getwraps is not a redundant API https://developers.google.com/apps-script/reference/spreadsheet/range?hl=zh-cn#getwraps

@jikkai Perhaps redundant type annotations should be avoided in TypeScript code?


limit object cache and store

Description
Limits object runtime internal sizes
Test Plan
Adapter transactional tests

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[x] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Nice


CB-10096 Expand Knox load balancer to data hubs

Added a new entitlement for the public / private load balancer to the datahubs. This is separate
entitlement than the datalake one to err on the consevative side.
See detailed description in the commit message.

@biharitomi please take another look since some of the changes where coming from a different base for the PR.

@biharitomi please take another look since some of the changes where coming from a different base for the PR.

@enis could you please squash these changes into one commit?
I think it should not be 2 commits.

@enis could you please squash these changes into one commit?
I think it should not be 2 commits.

bq.  I think it should not be 2 commits.
We can squash and merge in github, no? That is the standard practice normally. But let me push a squashed one in case.

bq.  I think it should not be 2 commits.
We can squash and merge in github, no? That is the standard practice normally. But let me push a squashed one in case.

@biharitomi, @lacikaaa just pushed a squashed commit. Do you mind merging.

@biharitomi, @lacikaaa just pushed a squashed commit. Do you mind merging.

@enis It needs to finish up the tests before it can be merged in. I can do it when it's ready though.

@enis It needs to finish up the tests before it can be merged in. I can do it when it's ready though.


Feature/add simplecov

Hey @pixeltrix,
This is not solving an issue but more of a nice to have.

I added SimpleCov as a development dependency. It's useful to find what parts of the app are least covered (ie. libraries)
Please check it out and let me know if you think it's useful.
Best,
Ernesto

Happy to merge as long as it's a opt-in and not on by default (which it appears to be 👍 )

@pixeltrix Cool, just updated the changes based on your feedback re: .gitignore

@etagwerker thanks! 👍


fix: [BT-7922]: Update gitignore

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

trigger messagecheck


HEAD (1.9.4) causes non-bazel java projects to go "(unsynced)"

I loaded up github.com/google/closure-templates with Intellij with Bazel built from master and all of the java code says is marked as "(unsynced)" and the tabs show up red.
That closure-templates has no bazel BUILD files in it, so IJWB should probably not even matter. But we did the debugging work in https://intellij-support.jetbrains.com/hc/en-us/requests/787044?page=1 and only disabling ijwb fixed the problem.
Think ijwb got a little greedy with what java files it thinks it should own.
Also, unclear what "(unsynced)" means in this context!

'Unsynced' denotes files which aren't covered by a Bazel build target.
This (along with all the other IJwB features) will only appear for Bazel projects -- projects which were imported by this plugin.
To import non-Bazel projects, like the one your describing, just use the standard IntelliJ import options (i.e. not the "Import Bazel Project..." action), and you should have no problems.

One can even argue this is a feature and not a bug since the plugin is
vocal in expressing what it doesn't support. Otherwisev one might baffle at
why their mixed Java closure project doesn't work "properly" in IntelliJ as
it works from the command line
On Tue, 18 Oct 2016 at 18:26 brendandouglas<EMAIL_ADDRESS>wrote:

'Unsynced' denotes files which aren't covered by a Bazel build target.
This (along with all the other IJwB features) will only appear for Bazel
projects -- projects which were imported by this plugin.
To import non-Bazel projects, like the one your describing, just use the
standard IntelliJ import options (i.e. not the "Import Bazel Project..."
action), and you should have no problems.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/intellij/issues/25#issuecomment-254543570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF6OtPfkOUni_IMMHfHmelkUn172Gks5q1OUcgaJpZM4KZ5DM
.

I think there's been a miscommunication.
This happens when I create closure-templates as a new maven project from the existing source but have the bazel plugin installed (and globally, but not project specifically, enabled) in Intellij.
I just did it again and confirmed that's what's happening. I'll see if GitHub will let me upload a video for y'all.

Okay, here's the video of me importing the new maven project with ijwb installed but not enabled for that project: https://youtu.be/kT-8TTndOKw
And here's me globally disabling the plugin, restarting intellij, and the project then working correctly: https://youtu.be/QveozT6UfYc
By the way, thanks for responding so quickly!

Ah, sorry for the misunderstanding. You're quite right, it's incorrectly annotating files for non-bazel projects (a bug in SyncStatusHelper).
Thanks for the catch -- we'll fix this in the next build.

Dope. Thanks much!

Oh, by "build", do you mean an import from some other repo? Any idea when that might happen?
Thanks!

The fix should be in the latest release on JetBrains plugin repository (https://plugins.jetbrains.com/plugin/8609, v1.10.2).

Oh! Confirmed and closing.


The syntax of the command is incorrect.

I am getting the following error when using the "copy" command while running on windows.
Please suggest, I've tried all the alternatives mentioned everywhere.

I ran the "npm install copyfiles -g" and "npm install --save copy" commands and then changed the line in the package.json to"
"build": "webpack -d && copyfiles src/index.html dist/index.html && webpack-dev-server --content-base src/ --inline --hot",
and it worked for me.
good luck

having this error in console

@Ronny9313 Use the backward slashes(\) instead of forward slashes(/) because you are using windows. In windows file system uses backward slashes. Hope it works if not let me know.

@aneeba user type attribute in script tag as type="javascript". Hope it works if now let me know.

@nitinprajapati thanks! your suggestion works.
I'm running ReactJS on Windows 10 and the fixed code line looks like this.
"build": "webpack -d && copy src\index.html dist\index.html && webpack-dev-server --content-base src\ --inline --hot",

i am getting the error: the syntax of the command is incorrect. in windows 10 while using getpapers
kindly help me out

@kareenasingh Can you tell me what it is getpapers? Or set the context in what sense you are asking.


ValidationError when extracting children of a block due unsupported sub-type equation

To determine to current version, run python -m notional
Notional Version: 0.7.3
Description
I'm getting a ValidationError when trying to extract the children of a block using notion.blocks.children.list("XYZ").
Steps To Reproduce
When I execute notion.blocks.children.list("XYZ"), I get the following  error message:
---------------------------------------------------------------------------
ValidationError                           Traceback (most recent call last)
Cell In[23], line 3
      1 page_id = "XYZ"
----> 3 result = extract_from_page(page_id)

Cell In[22], line 34, in extract_from_page(page_id)
     31 output = {"title": title } | get_metadata(page) | {"blocks": []}
     33 for block in notion.blocks.children.list(page_id):
---> 34     block_output = extract_from_block(block)
     35     if not block_output:
     36         continue

Cell In[22], line 14, in extract_from_block(block)
     12 if block.has_children:
     13     block_output["blocks"] = []
---> 14     for child in notion.blocks.children.list(block):
     15         processed_child = extract_from_block(child)
     16         if not processed_child:

File ~/Documents/GitHub/test.venv/lib/python3.10/site-packages/notional/iterator.py:149, in EndpointIterator.__call__(self, **kwargs)
    145 self.page_num += 1
    147 page = self._endpoint(start_cursor=self.next_cursor, **kwargs)
--> 149 api_list = ObjectList.parse_obj(page)
    151 for obj in api_list.results:
...
File ~/Documents/GitHub/test/.venv/lib/python3.10/site-packages/pydantic/main.py:342, in pydantic.main.BaseModel.__init__()

ValidationError: 1 validation error for BlockList
results -> 16
  Unsupported sub-type: equation (type=type_error)

The block contains paragraphs, equations, tables, code, images, and headings. Interestingly, notion.blocks.retrieve("XYZ") works correctly, so the issue seems to be specific to the children generator.
Expected Behavior
Being able to list the children on a given page.

Thanks for the bug report.  It looks like it is finding the equation block at an unexpected time.  That type should be supported, so I'll look into this.

Confirmed...  Notional is missing the equation block type.  It should be straightforward to add.  Hopefully before the end of the week.
Thanks for the report and sorry for the trouble!

Oh great, thank you very much!

Hi @jheddings,
Many thanks for fixing the issue. Any idea of when you'll release the new version of notional? Just wondering if it makes sense to wait, or to build it from source.
Thanks again!
Best,
Dylan

Many thanks for fixing the issue. Any idea of when you'll release the new version of notional? Just wondering if it makes sense to wait, or to build it from source.

I hope to get it out before the end of the week...  I'm just waiting for feedback on a new feature, which shouldn't take long.

Thank you!

This is now available in notional-0.8.0


ERROR in my first run of ./pkb.py

Hi,
I want to start work with pkb and when  I want to run these commands:
./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
./pkb.py --project=dev-entropy-88718 --benchmarks=iperf --machine_type=f1-micro
, the bellow errors occur. Please help me to solve this problem.
Thanks,
Elham

1 of 5,729
run1
Inbox
x
Hojati, Elham
8:30 PM (5 minutes ago)
to me
./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
eli@kali:~$ cd PerfKitBenchmarker-0.11.1/
eli@kali:~/PerfKitBenchmarker-0.11.1$ $ ./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
bash: $: command not found
eli@kali:~/PerfKitBenchmarker-0.11.1$  ./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
2015-03-22 20:25:10,101 INFO     Verbose logging to: /tmp/perfkitbenchmarker/run_11207935/pkb.log
2015-03-22 20:25:10,236 INFO     Preparing benchmark iperf
2015-03-22 20:25:10,244 INFO     Running: gcloud compute disks create perfkit-11207935-1 --size 10 --type pd-standard --project dev-entropy-88718 --format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:10,259 INFO     Running: gcloud compute disks create perfkit-11207935-0 --size 10 --type pd-standard --project dev-entropy-88718 --format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:14,096 INFO     Running: gcloud compute disks describe perfkit-11207935-1 --project dev-entropy-88718 --format json --quiet --zone us-central1-a
2015-03-22 20:25:14,181 INFO     Running: gcloud compute disks describe perfkit-11207935-0 --project dev-entropy-88718 --format json --quiet --zone us-central1-a
2015-03-22 20:25:17,347 ERROR    Got exception running _CreateResource: Creation of GceDisk failed.
2015-03-22 20:25:17,565 ERROR    Got exception running _CreateResource: Creation of GceDisk failed.
2015-03-22 20:25:44,198 INFO     Running: gcloud compute disks create perfkit-11207935-0 --size 10 --type pd-standard --project dev-entropy-88718 --format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:45,639 INFO     Running: gcloud compute disks create perfkit-11207935-1 --size 10 --type pd-standard --project dev-entropy-88718 --format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:47,358 INFO     Running: gcloud compute disks describe perfkit-11207935-0 --project dev-entropy-88718 --format json --quiet --zone us-central1-a
2015-03-22 20:25:49,111 INFO     Running: gcloud compute disks describe perfkit-11207935-1
2015-03-22 20:29:50,315 INFO     Running: gcloud compute disks create perfkit-11207935-0 --size 10 --type pd-standard --project dev-entropy-88718 --format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:29:53,637 INFO     Running: gcloud compute disks describe perfkit-11207935-0 --project dev-entropy-88718 --format json --quiet --zone us-central1-a
2015-03-22 20:29:56,221 ERROR    Got exception running _CreateResource: Creation of GceDisk failed.
^CTraceback (most recent call last):
File "./pkb.py", line 21, in
sys.exit(Main())
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/pkb.py", line 358, in Main
return RunBenchmarks()
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/pkb.py", line 324, in RunBenchmarks
RunBenchmark(benchmark, collector)
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/pkb.py", line 228, in RunBenchmark
benchmark_specification.Prepare()
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/benchmark_spec.py", line 189, in Prepare
vm_util.RunThreaded(self.PrepareVm, prepare_args)
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/vm_util.py", line 236, in RunThreaded
thread.join(1000)  # Set timeout so that join is interruptable.
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/vm_util.py", line 177, in join
super(ThreadWithExceptions, self).join(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 679, in join
self.__block.wait(delay)
File "/usr/lib/python2.7/threading.py", line 263, in wait
_sleep(delay)
KeyboardInterrupt
eli@kali:~/PerfKitBenchmarker-0.11.1$ ^C

The failure is on running the first command.
There could be a couple of causes...
Try to run gcloud to make sure it is working first.
$ gcloud compute --project=dev-entropy-8871 instances list
The other issue is you could be out of quota.
Tony
On Mar 22, 2015 6:38 PM, "elham1296"<EMAIL_ADDRESS>wrote:

Hi,
I want to start work with pkb and I run these commands:
./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
--machine_type=f1-micro
, the bellow errors occur. Please help me to solve this problem.
Thanks,
Elham
1 of 5,729
run1
Inbox
x
Hojati, Elham
8:30 PM (5 minutes ago)
to me
./pkb.py --project=dev-entropy-88718 --benchmarks=iperf
eli@kali:~$ cd PerfKitBenchmarker-0.11.1/
eli@kali:~/PerfKitBenchmarker-0.11.1$ $ ./pkb.py
--project=dev-entropy-88718 --benchmarks=iperf
bash: $: command not found
eli@kali:~/PerfKitBenchmarker-0.11.1$ ./pkb.py
--project=dev-entropy-88718 --benchmarks=iperf
2015-03-22 20:25:10,101 INFO Verbose logging to:
/tmp/perfkitbenchmarker/run_11207935/pkb.log
2015-03-22 20:25:10,236 INFO Preparing benchmark iperf
2015-03-22 20:25:10,244 INFO Running: gcloud compute disks create
perfkit-11207935-1 --size 10 --type pd-standard --project dev-entropy-88718
--format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:10,259 INFO Running: gcloud compute disks create
perfkit-11207935-0 --size 10 --type pd-standard --project dev-entropy-88718
--format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:14,096 INFO Running: gcloud compute disks describe
perfkit-11207935-1 --project dev-entropy-88718 --format json --quiet --zone
us-central1-a
2015-03-22 20:25:14,181 INFO Running: gcloud compute disks describe
perfkit-11207935-0 --project dev-entropy-88718 --format json --quiet --zone
us-central1-a
2015-03-22 20:25:17,347 ERROR Got exception running _CreateResource:
Creation of GceDisk failed.
2015-03-22 20:25:17,565 ERROR Got exception running _CreateResource:
Creation of GceDisk failed.
2015-03-22 20:25:44,198 INFO Running: gcloud compute disks create
perfkit-11207935-0 --size 10 --type pd-standard --project dev-entropy-88718
--format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:45,639 INFO Running: gcloud compute disks create
perfkit-11207935-1 --size 10 --type pd-standard --project dev-entropy-88718
--format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:25:47,358 INFO Running: gcloud compute disks describe
perfkit-11207935-0 --project dev-entropy-88718 --format json --quiet --zone
us-central1-a
2015-03-22 20:25:49,111 INFO Running: gcloud compute disks describe
perfkit-11207935-1
2015-03-22 20:29:50,315 INFO Running: gcloud compute disks create
perfkit-11207935-0 --size 10 --type pd-standard --project dev-entropy-88718
--format json --quiet --zone us-central1-a --image ubuntu-14-04
2015-03-22 20:29:53,637 INFO Running: gcloud compute disks describe
perfkit-11207935-0 --project dev-entropy-88718 --format json --quiet --zone
us-central1-a
2015-03-22 20:29:56,221 ERROR Got exception running _CreateResource:
Creation of GceDisk failed.
^CTraceback (most recent call last):
File "./pkb.py", line 21, in
sys.exit(Main())
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/pkb.py", line
358, in Main
return RunBenchmarks()
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/pkb.py", line
324, in RunBenchmarks
RunBenchmark(benchmark, collector)
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/pkb.py", line
228, in RunBenchmark
benchmark_specification.Prepare()
File
"/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/benchmark_spec.py",
line 189, in Prepare
vm_util.RunThreaded(self.PrepareVm, prepare_args)
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/vm_util.py",
line 236, in RunThreaded
thread.join(1000) # Set timeout so that join is interruptable.
File "/home/eli/PerfKitBenchmarker-0.11.1/perfkitbenchmarker/vm_util.py",
line 177, in join
super(ThreadWithExceptions, self).join(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 679, in join
self.__block.wait(delay)
File "/usr/lib/python2.7/threading.py", line 263, in wait
_sleep(delay)
KeyboardInterrupt
eli@kali:~/PerfKitBenchmarker-0.11.1$ ^C
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/185.

dear Voellm,
I run gcloud compute --project=dev-entropy-88718 instances list, and this is its error:
li@kali:~$ gcloud compute --project=dev-entropy-88718 instances list
NAME ZONE MACHINE_TYPE INTERNAL_IP EXTERNAL_IP STATUS
ERROR: (gcloud.compute.instances.list) Some requests did not succeed:

The resource 'projects/dev-entropy-88718/global/instances' was not found

Please let me know how I can solve it.
Thanks

Very likely you have to run "gcloud config auth"
If you have more than one @gmail or Google domain account double check you
are using the right one.
On Mar 22, 2015 10:58 PM, "elham1296"<EMAIL_ADDRESS>wrote:

dear Voellm,
I run gcloud compute --project=dev-entropy-88718 instances list, and this
is its error:
li@kali:~$ gcloud compute --project=dev-entropy-88718 instances list
NAME ZONE MACHINE_TYPE INTERNAL_IP EXTERNAL_IP STATUS
ERROR: (gcloud.compute.instances.list) Some requests did not succeed:

The resource 'projects/dev-entropy-88718/global/instances' was not
found

Please let me know how I can solve it.
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/185#issuecomment-84822980
.

Is your issue resolved?  Ok to close?

Hi Voellm,
Excuse me for bothering you again,
I run gcloud auth again and there is no other gmail account.
still I have this error:
global.compute.instances list
global/instances was not found
Would you please let me know how I can check global instance of the project
Thanks,
Eli

What version of gcloud do you have? Also do you have billing enabled on the
project?
Perhaps use http://cloud.google.com to look at it.
On Mar 23, 2015 7:18 PM, "elham1296"<EMAIL_ADDRESS>wrote:

Hi Voellm,
Excuse me for bothering you again,
I run gcloud auth again and there is no other gmail account.
still I have this error:
global.compute.instances list
global/instances was not found
Would you please let me know how I can check global instance of the project
Thanks,
Eli
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/185#issuecomment-85298027
.

google Cloud SDK 0.9.52
and also billing enabled on the project.
maybe it`s related to the content of the project.
Would you please check it for me:
eli@kali:~$ cd dev-entropy-88718/
eli@kali:~/dev-entropy-88718$ ls
default  PerfKitExplorer
eli@kali:~/dev-entropy-88718$ ls default/
app.yaml  CONTRIB.md  favicon.ico  LICENSE  main.py README.md
eli@kali:~/dev-entropy-88718$ ls PerfKitExplorer/
appengine_config.py  compile.sh    gulpfile.js  node_modules  setup.cfg
app.yaml             config        index.yaml   out           test
bin                  CONTRIBUTING  init.py  package.json  third_party
client               data          lib          README.md
compile.cmd          deploy        LICENSE      server
eli@kali:~/dev-entropy-88718$
I want to make sure that having both defults and PerfKitExplorer folders in my project folder is not wrong.
Thanks for your attention.

When you go to http://cloud.google.com/console do you see your project
listed?
Are you using the Project ID in the second column as the --project=
parameter?
There is a difference between project name, project id, and project number.
On Mar 23, 2015 10:52 PM, "elham1296"<EMAIL_ADDRESS>wrote:

google Cloud SDK 0.9.52
and also billing enabled on the project.
maybe it`s related to the content of the project.
Would you please check it for me:
eli@kali:~$ cd dev-entropy-88718/
eli@kali:~/dev-entropy-88718$ ls
default PerfKitExplorer
eli@kali:~/dev-entropy-88718$ ls default/
app.yaml CONTRIB.md favicon.ico LICENSE main.py README.md
eli@kali:~/dev-entropy-88718$ ls PerfKitExplorer/
appengine_config.py compile.sh gulpfile.js node_modules setup.cfg
app.yaml config index.yaml out test
bin CONTRIBUTING init.py package.json third_party
client data lib README.md
compile.cmd deploy LICENSE server
eli@kali:~/dev-entropy-88718$
I want to make sure that having both defults and PerfKitExplorer folders
in my project folder is not wrong.
Thanks for your attention.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/185#issuecomment-85351827
.

@elham1296 You are probably using the right value already. But make sure you are passing the project-id, and not the project name. Confirm that 'dev-entropy-88718' is your project-id. I had a similar issue a while back, and it was because of this.
Here's how that looks, project ID is the second column (e.g. mine says praxis-deck-796), when you go to http://cloud.google.com/console

We have FIXED a ton of issue since this was reported.  We hope you like all the improvements.


Struggling to build for android

boringssl built successfully with the cmake command:
cmake -DCMAKE_TOOLCHAIN_FILE=/media/sf_Shared/android-ndk-r21e/build/cmake/android.toolchain.cmake -DANDROID_NDK=$ANDROID_NDK -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-29 ..
cmake --build .
However when I attempt to build lsquic with the following cmake command:
cmake -DCMAKE_TOOLCHAIN_FILE=/media/sf_Shared/android-ndk-r21e/build/cmake/android.toolchain.cmake -DANDROID_NDK=$ANDROID_NDK -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-29 -DBORINGSSL_DIR=/build/lboringssl -DBORINGSSL_INCLUDE=/build/boringssl/include ..
cmake --build .
Even though I get the following cmake output:
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /media/sf_Shared/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type: Release
-- Performing Test HAS_NO_IMPLICIT_FALLTHROUGH
-- Performing Test HAS_NO_IMPLICIT_FALLTHROUGH - Success
-- AddressSanitizer is OFF
-- Compiler flags: -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security   -DLSQUIC_DEBUG_NEXT_ADV_TICK=1 -DLSQUIC_CONN_STATS=1 -Wall -Wextra -Wno-unused-parameter -fno-omit-frame-pointer -Wno-implicit-fallthrough -O3 -g0
-- Found Perl: /usr/bin/perl (found version "5.26.1")
-- BoringSSL include directory /build/lsquic/boringssl_orig/include
-- Found ssl library: /build/lsquic/boringssl_orig/build_android/ssl/libssl.so
-- Found crypto library: /build/lsquic/boringssl_orig/build_android/crypto/libcrypto.so
-- Found decrepit library: /build/lsquic/boringssl_orig/build_android/decrepit/libdecrepit.so
-- Found zlib: /media/sf_Shared/android-ndk-r21e/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/29/libz.so
-- Found event: /usr/local/lib/libevent.so
-- Looking for sendmmsg
-- Looking for sendmmsg - found
-- Looking for recvmmsg
-- Looking for recvmmsg - found
-- Looking for open_memstream
-- Looking for open_memstream - found
-- Looking for IP_MTU_DISCOVER
-- Looking for IP_MTU_DISCOVER - found
-- Looking for IP_DONTFRAG
-- Looking for IP_DONTFRAG - not found
-- Looking for preadv
-- Looking for preadv - not found
-- Looking for include file regex.h
-- Looking for include file regex.h - found
CMake Deprecation Warning at src/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- sphinx-build not found: docs won't be made
-- Configuring done
-- Generating done
-- Build files have been written to: /build/lsquic/lsquic2/lsquic_orig2/build_android

I get the following compile errors:
Scanning dependencies of target lsquic
[  1%] Building C object src/liblsquic/CMakeFiles/lsquic.dir/ls-qpack/lsqpack.c.o
[  2%] Building C object src/liblsquic/CMakeFiles/lsquic.dir/lsquic_adaptive_cc.c.o
[  3%] Building C object src/liblsquic/CMakeFiles/lsquic.dir/lsquic_alarmset.c.o
[  3%] Building C object src/liblsquic/CMakeFiles/lsquic.dir/lsquic_arr.c.o
[  4%] Building C object src/liblsquic/CMakeFiles/lsquic.dir/lsquic_attq.c.o
[  5%] Building C object src/liblsquic/CMakeFiles/lsquic.dir/lsquic_bbr.c.o
In file included from /build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.c:14:
/build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.h:90:21: error: field has incomplete type 'struct bw_sampler'
  struct bw_sampler bbr_bw_sampler;
                    ^
/build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.h:90:10: note: forward declaration of 'struct bw_sampler'
  struct bw_sampler bbr_bw_sampler;
         ^
/build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.h:95:17: error: field has incomplete type 'struct minmax'
  struct minmax bbr_max_bandwidth;
                ^
/build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.h:95:10: note: forward declaration of 'struct minmax'
  struct minmax bbr_max_bandwidth;
         ^
/build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.h:98:17: error: field has incomplete type 'struct minmax'
  struct minmax bbr_max_ack_height;
                ^
/build/lsquic/lsquic2/lsquic_orig2/src/liblsquic/lsquic_bbr.h:95:10: note: forward declaration of 'struct minmax'
  struct minmax bbr_max_bandwidth;
         ^
...

any ideas?

Are you using unmodified source?  Which branch are you on?  Line 14 of lsquic_bbr.c includes a completely different file.

It's from the Master branch and it's unmodified, but it's old.
I'll update and try again for now.
thanks

I cloned the latest master branch and successfully cross compiled build lsquic for android with the same cmake commands I previously used.
Thanks.

Great, thanks for the update


trival: Remove "backup" nodes

This PR removes the "backup" nodes found in chainparams.cpp. This is not needed since the DNS seeder is in place to assist new nodes in finding peers.

Since trivial, can be merged without CI checks.


ensure fibers are interrupted in Stream.mergeWith

@tim-smart thank you for this fix. Just curious if this line should also be replaced with forkIn(pull, scope)?

@tim-smart thank you for this fix. Just curious if this line should also be replaced with forkIn(pull, scope)?

No, it only was occurring when one of the sides was empty.


More Exotic Weapons Senator!

Kunai is Japanese ninja weapon and a farming tool. Would be a cool to add it here. A throwable and fast attack speed weapon that is able to farm like a side quest,

Glad to know your interested.

Zweihander and Claymore are two best options when upgrading longswords using the smithing table.

Kusarigama is a Japanese weapon that is slightly a sickle that is able to be thrown at a certain distance. Could use chains for the recipe too since its very dependent on chains.
Could be used to reel in mobs for big damage.


Support second argument (options)

requestIdleCallback takes a second, optional argument. I would say this should also be part of onIdle's API.

PR welcome!


Proposal: Rich text-editor

Bug, feature request, or proposal:
Do the Angular Material Team have any thoughts about creating a rich text-editor?
What is the expected behavior?
The user should be able to set a text in bold, italic, create a link, create a (un)ordered list, add an image,...
A good example is the ng-wig in AngularJS created by @stevermeister but it need some optimizations.
What is the current behavior?
Not implemented yet

I don't expect this to get into the Material Design core. It would require so much design (as it would have to be embedded in the material design spec.).
That being said, it's probably best to focus on a third party wysiwyg like your proposition, because developing one which works well design-wise with material would totally be nice.

I don't see any reason why a rich text-editor has to be part of material design package?
Like @msegers said, maybe it's better to focus on a third party editor. I would suggest looking at

http://getcontenttools.com/
https://www.froala.com/wysiwyg-editor
http://ckeditor.com/
https://www.tinymce.com/

See #4444


CUDA_EXP  takes double as much GPU memory as GPU mode.

Description
CUDA_EXP  takes double as much GPU memory as GPU mode.
Environment info
linux    python3.9
LightGBM version or commit hash:
latest   ff947bfac5148a9b94d045f2879aee183e02e174
Thanks！  @shiyu1994

Additional Comments

Thanks very much for your interest in LightGBM!
Are you able to provide any more details, like a minimal, reproducible example showing how you determined this? It's possible that only some part of the CUDA_EXP implementation has a different memory usage profile than GPU mode (for example, maybe you are using categorical features with high cardinality or something).
Without some sample code, it'll be very difficult for maintainers here to investigate this claim.

`
n1=4000000
n2 = 2200
x = np.random.random((n1,n2))
y = np.random.random((n1))
dataset = lgb.Dataset(data=x,lable=y,free_raw_data=True)
dataset.construct()
dataset.save_binary(path)
dataset = lgb.Dataset(path)
params ={}
params['device']  = 'gpu'
params['num_leaves']  = 100
params['num_iterations']  = 100
params['learning_rate']  = 0.02
params['metric']  = 'mse'
m = lgb.train(params, dataset)
`


feat(schedules): enhance PDF creation with react-pdf library

:tada: This PR is included in version 2.67.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


System: Ubuntu 18

I've stopped maintaining this project since many years. I can see there are some forks generated over time, try raising this issue on one of those.


Test: add fail point in Raft snapshot generating, sending, receiving and applying.

Already implemented. This issue can be safely closed.


Address ScientificTypes renaming

Codecov Report

Merging #172 (1212386) into dev (3c5fc86) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #172   +/-   ##
=======================================
  Coverage   90.74%   90.74%
=======================================
  Files           8        8
  Lines         216      216
=======================================
  Hits          196      196
  Misses         20       20

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 3c5fc86...1212386. Read the comment docs.


Create initial plugin build

Create a mock build plugin that just prints "Hello World". This should include the work to create the build, and hookup travis and code climate.

Using mvn since it's it's referenced in the docs and I already know it

Or use as an excuse to learn gradle!


Name of the docker containers

Currently all the Docker container names end with -image is this necessary?
https://hub.docker.com/u/muhhassani
I would prefer something like:
pyiron/pyiron
or even:
pyiron/atomistic, pyiron/base and so on

I wanted to make the image distinguish from the package itself. But it is not necessary. Therefore, we can change them, e.g. pyiron/pyiron instead of pyiron/pyiron-image


Update ca_renewables.star

Hi!
Fixed some bugs and made some enhancements to the California Renewables app:

no longer adding negative power sources (charging batteries, exports) to total power in order to get accurate renewable percentages (this was causing total renewable power to exceed 100% of supply and was breaking the chart)
changed default animtation delay, added dropdown for additional options (previous delay was too long for app cycle and wasn't animating at all)
added toggles to display and hide power sources
hid geothermal, biogas, biomass, small hydro power sources by default (all very small)
added batteries (solar-wind charged, negative while charging, often largest power source at night)
added large hydro (not an official renewable)
note that toggling off batteries and large hydro will remove them from the renewable total, while toggling off other official renewable totals (biogas, etc) will keep them in the total)
modified chart colors for better visibility

I have read the CLA Document and I hereby sign the CLA

hey @rohansingh, @matslina -- let me know if there's anything else I need to do. Wanted to emphasize that it's possible to use the config settings to recreate the previous interface if someone doesn't want to see batteries and hydro in the cycle.

@sloanesturz Did you see this? Looks ok to me but LMK if you have any thoughts before we merge.

@burritojustice if you have any other ideas for energy and climate Tidbyt apps, let me know!

ha, funny you should mention that -- not sure if you have seen gridstatus.io but they have great data from multiple ISOs, and they have an API.Thinking about some sort of California vs Texas energy comparison...
https://www.gridstatus.io
https://api.gridstatus.io/docs#section/Getting-Started


Improve Error Handling and Logging

This is a general task to improve error handling and messages, including handling common special cases on a per-query basis. Examples:

Throw a TimeoutError instead of a RuntimeError for Hasura timeouts (common on large, complex queries)
Provide a message explaining that a plan ID is not available when trying to download a plan that doesn't exist

In general, I think there could be a larger task in implementing central logging in Aerie CLI that could print to stdout when used in a Python package, but have a custom stream handler implemented for CLI operation that would be able to wrap logs for pretty formatting and even support flexible log levels.

Expanded idea:
The main entrypoint should catch all exceptions and gracefully exit. Because aerie-cli already has persistent file storage, we can add log files to that location and provide the full traceback there.

General goals:

Anytime Aerie-CLI throws an error that we don't handle gracefully, the full stacktrace should be save to a log file somewhere. Only a short message should be printed to the terminal, instead of the full stacktrace.
At the top level (probably in main() of __main__.py), we should catch all exceptions such that the program always exists gracefully


Add GitHub action to automatically create a port PR (based on label) & minor bug fixes

References

Ports the recent backend GitHub Actions updates to the frontend codebase
Includes code from https://github.com/DSpace/DSpace/pull/8988 and https://github.com/DSpace/DSpace/pull/8994 and https://github.com/DSpace/DSpace/pull/8995

Description
Main feature is to add a custom PR port action to automatically port PRs to other branches (depending on the label).
How it works
Suppose a PR is created against main and labeled with port to dspace-7_x (this label needs to be created).

When that PR is merged, this new action will trigger.
Because the merged PR has the port to dspace-7_x label, this action will attempt to create a new PR against the dspace-7_x branch with the same commits (cherry-picked) as the main PR.
Assuming the new PR can be created, it will be linked back to the original PR via a comment. At this point, we can wait for the PR to pass tests & then merge immediately.
If the new PR fails to be created, then a comment will be added to the original PR which says it failed.  At this point, we'd have to do a manual port.
(NOTE: This same process will also work if the original PR was created against dspace-7_x and the PR is labeled with port to main)

Here's an example that I tried with a test repo:

Installed this backport-action and configured it.
Created two branches in the repo. The main branch and a maintenance branch.  Ensured they started out synced.
Created a tiny PR to make two commits to the README: https://github.com/tdonohue/test_actions/pull/12

Notice this PR was given the port to maintenance label.

Once that PR 12 was merged, this PR was auto-created against the maintenance branch: https://github.com/tdonohue/test_actions/pull/13

Notice this new PR has the same two commits as the original PR

A comment linking to the new PR was auto-created in the original PR: https://github.com/tdonohue/test_actions/pull/12#issuecomment-1654591165

SEE ALSO description in https://github.com/DSpace/DSpace/pull/8988

Merging immediately to sync DSpace/dspace-angular with DSpace/DSpace