feat: add diff dialog to review changes before saving payload

I use this dashboard to directly manage my documents. In order to double check the changes I made to the payload, I need this diff dialog:

Hey @kaijietti, thanks for the PR!
we unfortunately can't suggest changes to your PR, as it is made from master branch of the fork.
Before merging, we would like to make the following changes:

fix formatting: npm run format
fix vulnerable dependencies: npm audit fix
Introduce a dark mode for the diff preview

Dark mode is introduced in the latest commit:

Vulnerable dependencies and format are all fixed, please approve the workflow, thanks!

Thanks!


AFURLSessionManager.setDownloadTaskDidWriteDataBlock doesn't called in an order sometimes

Basically the problem I am having is inside the block the value of totalBytesWritten is not always received in an increscent order. For instance, it could be 1353.000000 while last received value was 50061.000000.
[manager setDownloadTaskDidWriteDataBlock:^(NSURLSession *session,NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite) {

	CGFloat written = totalBytesWritten;
	CGFloat total = totalBytesExpectedToWrite;
	CGFloat percentageCompleted = written/total;

	//Return the completed progress so we can display it somewhere else in app
	if( progressBlock){
		dispatch_async(dispatch_get_main_queue(), ^{
			progressBlock(percentageCompleted,remoteURLPath);
		});

	}
}];

BTW I am on AFNetworking 2.4. Currently I put a condition that it'll skip the update if new progress value is smaller than current progress value

Do you have any way to reliably reproduce the problem that would aid in debugging this?


[KED-2517] Contracting modular pipelines

Description
Implements modular pipelines nodes on the flowchart component, that represent multiple elements of a modular pipeline in a single node when collapsed using the sidebar tree controls.
Development notes
The majority of this work was originally implemented by Richard, but required some further work to complete that I have implemented here.
Caveats
This work is specifically front-end based, since the user's filters can change the graph dynamically at any time, including forming graphs that are unnatural by Kedro standards, so implementation has to be more general and robust than might be expected.
Algorithm
This PR uses an edge contraction based algorithm to merge adjacent nodes together resulting in a simplified final graph.
Handling disconnected graph components
If a modular pipeline has disconnected components, then this will naturally result in two disconnected modular pipeline nodes.
Handling external graph components
In the case that a modular pipeline links to an element external to the modular pipeline, such as a dataset from a different namespace, these elements can not merge to a single node. This naturally forms a split of the modular pipeline over two or more modular pipeline nodes, with externals inbetween.
Handling graph cycles
In particular it's possible that an external component will form a cycle if it links back into the same modular pipeline, a practical example of which can be seen in the shuttles demo dataset, but can be specifically seen in this new minimal test dataset.
To handle this there is a special rule (code) introduced to avoid introducing cycles when contracting these cases which would otherwise not form a valid DAG as required, which could break other features such as the layout engine.
The approach to handle them was discussed with @idanov  and @limdauto and concluded that choosing a preferred edge direction and dropping the cyclic edge was an acceptable solution when following Kedro logic.
QA notes
A new minimal test dataset was added that includes a potential cycle when the modular pipeline is contracted.
Unit tests are still TODO for this feature but it is expected they will be based on inspecting the output when using this new test dataset.
To manually test:

open the browser console to check for any errors or warnings
open a datasets animals and demo (that have modular pipeline nodes)
on the sidebar toggle various modular pipelines open / closed
also try toggling sub modular pipelines at various depths
check that the output graph has contracted the closed modular pipelines in a reasonable way
try in combination with various filters on the sidebar
try in combination with layers enabled

Checklist

[x] Read the contributing guidelines
[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added new entries to the RELEASE.md file
[ ] Added tests to cover my changes

Legal notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@studioswong thanks for the review, I've got back on some of your points. As for the focus mode issue, I think that one should now be fixed (it turns out a selector it relied on was moved, so I reverted and updated both).

This is superseded by #571


add stats-in-vr component

https://www.npmjs.com/package/aframe-stats-in-vr-component

Registry:

Can you add a screenshot to the README for display?

Code Review:

In init, would look cleaner to move the giant timeout to a separate method and then bind.
In tick, can you can use the time argument instead of Date.now()?
Do you need to tick/update the stats? Doesn't the stats component handle it?

per diacussion on aframevr/aframe#2217 I don't currently trust time values from tick.
will see what I can do for screenshot

(is there an example of how the screenshot should be added into the README?)

Yeah, a lot of the components currently in the Registry just have an image in the README.md. You can upload the image however (e.g., I drag and drop it to a dummy GitHub issue to have GitHub host it).
## my-component

foo bar

![myscreenshot](https://cloud.githubusercontent/foofoobar.png)

ok done

cool. if you want, you can give it a fuzzy version so you can update asynchronously. 0.1.x. if not, i can merge

thx for the suggestion

Cool. Currently working on a GitHub bot to automate the Registry builds.


JX2 antenna has new parts

parts are not defined in support.

Edit the file : GameData\Kerbalism\Support\JX2Antenna.cfg
Add the content:
@PART[jw1MDA]:NEEDS[FeatureSignal]:FOR[Kerbalism]:AFTER[JX2Antenna]
{
MODULE
{
name = Antenna
type = high_gain
cost = 1.38
dist =<PHONE_NUMBER>00
rate = 0.128
}
MODULE:NEEDS[FeatureReliability]
{
name = Reliability
type = Antenna
title = Antenna
redundancy = Communication
repair = Engineer
mtbf = 108864000  // 12y
extra_cost = 3.0
extra_mass = 0.5
}
MODULE
{
name = ModuleAnimationGroup
deployAnimationName = deployHexes
moduleType = Antenna
}
!MODULE[ModuleAnimateGeneric]:HAS[#animationName[deployHexes]] {}
@description = An enormous High-Gain antenna, powerful enough to maintain contact with DSN even from the farthest outskirts of the system. It has been built from the highest quality components available, thus ensuring a long and reliable service.
}
@PART[ju1MDA]:NEEDS[FeatureSignal]:FOR[Kerbalism]:AFTER[JX2Antenna]
{
MODULE
{
name = Antenna
type = high_gain
cost = 1.38
dist =<PHONE_NUMBER>00
rate = 0.128
}
MODULE:NEEDS[FeatureReliability]
{
name = Reliability
type = Antenna
title = Antenna
redundancy = Communication
repair = Engineer
mtbf = 108864000  // 12y
extra_cost = 3.0
extra_mass = 0.5
}
MODULE
{
name = ModuleAnimationGroup
deployAnimationName = deployHexes
moduleType = Antenna
}
!MODULE[ModuleAnimateGeneric]:HAS[#animationName[deployHexes]] {}
@description = An enormous High-Gain antenna, powerful enough to maintain contact with DSN even from the farthest outskirts of the system. It has been built from the highest quality components available, thus ensuring a long and reliable service.
}

Nice!  If you've written the code, you may as well make a pull request yourself.


catalog-backend: relax validation of full text query field

🧹 @sennyeya, right? 😅

@Rugvip Can we add allowReserved:true to all items under a parameters: key? That way we're defaulting to the old parsing for every param.
Going forwards, I think I can add this to the OpenAPI linting command so it continues to be enforced.

@Rugvip Thanks for the quick fix, much appreciated! I see that the fix will be released in about a month or so, for those of us who have already upgraded to 1.17.2, any suggestions on how to proceed? Downgrade to either 1.15.x or 1.16.x? Or are you considering cutting a bug fix release that include this? Thanks!


Don't understand img_scale=(1333, 800)

I am studying cascade_rcnn_x101_64x4d_fpn_1x. I think images will be resized to some shapes which are smaller than 1333 x 800, like 1333 x 750 or 1000 x 800. And then pad them to be multiple to some number (such as 32). After that, I think their shapes are not the same? So how to put them into a network and train with different input shapes?  I didn't find any code to make them the same shape.

Due to different image size, we divide the images into two group: one with H>W, and another with H<W. Then, group 1 is resize to have H=800, and stack together along H dimension. Similarly, group 2 is resized to have W=1333, and stack together along W dimension. By doing so, you can preserve the H:W ratio of original images.

@Hellcat1005 Images in the same GPU are padded to the maximum size of these images.
@chuong98 Mostly correct, but group 1 is not necessarily resized to H=800 and group 2 to W=1333, they are just grouped by aspect ratios <1 and >1.


Fix placeholder in iframe component

fixes https://github.com/frontity/saturn-theme/issues/145

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Barorder

Hi @gowerc,
To improve the readability of the map distribution plots I'd suggest a decreasing order of play count instead of alphabetical order.
Wdyt?
Cheers!

I was thinking about this the other day actually. I was thinking what we could do is both alphabetically and by PR then have a bottom / filter for the user to select which one they see in frontend.
I guess I didn't want to get rid of the "pr order" entirely as I found it quite nice for getting an immediate sense of how many civs were over and below the 1/41 line as well as the skew. But yer I appreciate it's not the easiest to find a specific civ. I've had that complaint as well about the WR plots so am wondering if we should add the same toggle there as well (albeit in a separate pull request)


Release v3 - change v2 suffix to v3

Because of recent changes there is a need for a new major release.

I have a problem with cmd/schemagen. I cannot use v3 there (e.g. in cmd/schemagen/testdata/go.mod) because release is not done yet. And because I changed module name in go.mod I had to add github.com/scylladb/gocqlx/v2 v2.8.0 to requirements to use v2 in cmd/schemagen. I am not sure how to do it better.
Now there will be a need for a second PR after the release to remove github.com/scylladb/gocqlx/v2 v2.8.0 from requirements and to change v2 to v3 in cmd/schemagen

@sylwiaszunejko , I have pushed commit that solves problem with schemagen, please take a look.

@dkropachev I don't know why but when I tried github.com/scylladb/gocqlx/v3 v3.0.0 in schemagen go.mod tests failed. Now it seems to work, maybe I did something wrong in the code

@dkropachev I don't know why but when I tried github.com/scylladb/gocqlx/v3 v3.0.0 in schemagen go.mod tests failed. Now it seems to work, maybe I did something wrong in the code

It is my bad, on last PR to schemagen I have introduced test that actually compiles code from the test.
But I have missed the fact that it uses gocqlx as a external library, while it should be replaced with content from file system.

Please don't forget to tag it when it is merged, or before the merge.

I thought the correct steps were:

merge this PR
create a tag
create a release from tag

I thought the correct steps were:

merge this PR
create a tag
create a release from tag

@mmatczuk Could you have a look at the PR? and confirm if I am right about steps for release?

@roydahan could you look at this?

Looks fine to me.
We will need to highlight it in the release notes.


add link to change log

I just noticed that the link to the change log in the 3.30.22 Release Notes.pdf is broken.
I suggest that we add to the website a link to the changelog so that users will have an alternative way to find it.

Yes, that's because it was prior to moving to github enterprise and so the link has changed.

There is a link to the change log on the website under the Installing Stock Synthesis portion of the landing page. Is there a better place that you think it should go? I could move the Installing Stock Synthesis portion to the top under news.

I was thinking of the righthand sidebar.  Or perhaps close to links to documentation.

Does the addition of the change log to the sidebar look good to you (see change here)?

Just right.  Thanks


[SPARK-40801][BUILD][3.2] Upgrade Apache commons-text to 1.10

What changes were proposed in this pull request?
Upgrade Apache commons-text from 1.6 to 1.10.0
Why are the changes needed?
CVE-2022-42889
this is a 9.8 CRITICAL
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA

@wangyum

Can one of the admins verify this patch?

This is probably fine; a bigger upgrade from 1.6 but I don't have reason to believe it's a problem in 3.2 and test pass

Hm, the test seems to be stuck

Yes, the same thing happened with this one too.. https://github.com/apache/spark/pull/38098
Right now it's failing the time tests.
And the python test is failing. But that is not because of this upgrade.

@srowen I did rerun the failed tests now and now they pass.
But there are 2 python tests that don't pass,
-The python3.9 -m black command was not found
and
-ImportError: Missing optional dependency 'Jinja2'

Huh, that also seems unrelated. Let's hold onto this for a day or two and then rerun if needed

cc @sunchao since he is the release manager of Apache Spark 3.2.3.

@srowen two days have passed.

The test still shows 'pending', hm. It sounds like you saw some possibly-unrelated tests failing. Ideally we'd see the tests pass first. Can you re-set or re-run the tests?

ok, I re-run the tests now.

@xinrong-meng There are two tests that don't work for branch 3.2
Those are both python tests, can you have a look at them?

Could you make the same patch for 3.1 branch?

Could you make the same patch for 3.1 branch?

No, Apache Spark 3.1 reached EOL last month because the first release was March 2, 2021.

Is Spark actually affected by the problem in the StringLookup class or is this dependency update only to get rid of all the alarms raised by code scanners?

Hm, maybe we can try the tests 1 more time. I'm inclined to merge for the 3.2 RC as I think the test failures are unrelated.

https://github.com/bjornjorgensen/spark/actions/runs/3304235420

@srowen Will you merge this?

Yes, there are 2 python tests that fail, but the tests for java are running and those are OK.
For this PR there are 2 @wangyum and @dongjoon-hyun  that have approved this. Do you need any more?

We have been waiting for the release manager's approval, @bjornjorgensen , because the release preparation is already declared. So, it would be great that @sunchao reviews and merges this as a part of 3.2.3 release preparation.

https://github.com/apache/spark/pull/38352#issuecomment-1291501192

I'm actually holding 3.2.3 for this PR. Once it's merged I'll start the release process.

OK, merged to 3.2

Thanks everyone :)

@sunchao thank you for you efforts. When can we expect the release of 3.2.3?

I'm going to start working on it this week.

Apologies if this is discussed elsewhere (or an FAQ that I wasn't able to find), but is there somewhere I can subscribe to this release and get notified when it's ready to pick up? Thanks!

@fryz It will be posted at<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

@sunchao @bjornjorgensen any update on this release?
As internal alarms are going off continuously, i am desperately looking for the release.

@bsikander again, pls check<EMAIL_ADDRESS>- it's being voted.

+1 for @sunchao 's comment.
To @bsikander , it would be great if you can participate [VOTE] Release Spark 3.2.3 (RC1).

I'm curious what the urgency is @bsikander - do you have a theory that this even affects Spark? this is a 'just in case' and 'to silence automated warnings' kind of update as far as I can see

@srowen i also don't see any affect on Spark. My goal is to silence the warnings as soon as possible. That is why i am waiting for the release :)

@bjornjorgensen I noticed that you updated pyspark-notebook docker file in docker-stacks. I am looking for pyspark-notebook docker image with this fix inside. Is there a pyspark-notebook image available with spark 3.2.3?


Rename refactoring not preserved for untyped variable in single source file

From @kberg on March 11, 2016 2:58
Consider this snippet of code.
interface Person {
    firstname: string;
    lastname: string;
}

function greeter(person : Person) {
    return "Hello, " + person.firstname + " " + person.lastname;
}

var user = {firstname: "Jane", lastname: "User"};
document.body.innerHTML = greeter(user);

If I single-rename Person to Blah I get
interface Blah {
    firstname: string;
    lastname: string;
}

function greeter(person : Blah) {
    return "Hello, " + person.firstname + " " + person.lastname;
}

var user = {firstname: "Jane", lastname: "User"};
document.body.innerHTML = greeter(user);

which is good. If I rename firstname to fname I get
interface Blah {
    fname: string;
    lastname: string;
}

function greeter(person : Blah) {
    return "Hello, " + person.fname + " " + person.lastname;
}

var user = {firstname: "Jane", lastname: "User"};
document.body.innerHTML = greeter(user);

and a compiler error because user.firstname wasn't renamed.
My colleague's assessment:

I guess the problem here is that "var user;" gets inferred its own local object type (i.e. an anonymous type that has specific properties). Now when you rename, this type is distinct, and the fact that its value is cast into User at some point is not recognised by the refactoring tooling.

I think the latter is a valid bug to file against MS. It should be reasonably fixable in the tooling.

Copied from original issue: Microsoft/vscode#3986

This has the same explanation as the other bug.


Backport NonBlockingRateLimiter to the CQL module

CASSANDRA-16663 adds a new rate-based limiter to the native protocol server.
Backport this to our CQL server, and expose the related configuration options as Stargate properties.
See also: #1250

In fact we won't be backporting the class, just pulling it from the cassandra-all dependency (as we do currently for ResourceLimits). So this requires updating the dependency to 4.1.0.

Cassandra 4.1.0 is not out yet so would this need to wait for that release to happen first?


As a game developer I want to copy&paste the component data so I can clone the component to the other entity

This is implemented by #76


Adding Flags of different country?

Is it possible to add Flags of different countries along with their country name?

It works for other emojis but not for flags. It will show letters instead 'IN' instead of the flag.

That's surprising and disappointing. It definitely has to do with how the badge generator handles zero-width characters that allow to make a. combinational emoji, like flags. If this is the case, I don't think it's possible to add flags.

Onl a closer look at this issue, https://github.com/badges/shields/issues/3638#issuecomment-508844285 provides an interesting approach which might even work - though this wil call for changing the layout around a bit.

Only a closer look at this issue, badges/shields#3638 (comment) provides an interesting approach which might even work - through this will call for changing the layout around a bit.

Flag-with-shield
I added the India flag to the badge. It looks good now.

I had to get the SVG of the country flag and then convert it to base64 encoding and then add this to the shield. This is a lot of work. Instead, we can add this as a new feature for this project. Can we do this?

Definitely it's possible. As mentioned in the linked comment, we can take a look at this repo: https://www.npmjs.com/package/svg-country-flags to get the svg of the flag, with appropriate height settings. Do you want to take this up?

I am not that good at node.js. I can try adding this feature. Is there any other way to contact you? Your LinkedIn account maybe.

Perhaps, Telegram? https://t.me/plibither8

Okay thanks


Rework Web App Manifest data

The support data for WAM (the Web App Manifest) seems to mostly be tracking support for A2HS (Add To Home Screen functionality).
I can see why this has happened, since WAM is pretty much only used for A2HS, but they are technically speaking two different things, and IMO it is really confusing for developers that the feature is not called A2HS when that is what it is tracking.
Another thing to note is that searching for things like A2HS, add to home screen and progressive web app does not return any data.
I suggest that we do one of two things about it:

Change the title, description and keywords of the existing WAM data to A2HS (i'm not sure how you would change the URL link without breaking existing links to the feature?)
Add a new feature for A2HS and migrate some of the notes from WAM to A2HS

I don't mind doing the legwork for these changes, but i felt we needed to discuss the best solution before i start making any code changes 😊
Related: #5099 https://github.com/Fyrd/caniuse/issues/1532#issuecomment-168075482

Hmm, good point. In general for caniuse features if the parts effectively refer to the same thing and support doesn't differ significantly it can just stay as one, so I'm slightly in favor of the first option. Leaving the id as "web-app-manifest" seems okay to me since it's not too misleading.

Allright, i will start working on it. One thing to note is that the App Manifest Spec links to the caniuse table.


How do I move the stored data of wandb local server to another place?

I tried to move the data volume mounted when wandb docker was started, but when I restarted wandb docker container after the move, an error would be reported, and the original training record would not be displayed

Hi! Thank you for writing in. Could you please talk a bit more about what stored data you are interested in moving and where you would like to move it? Are you just trying to move the wandb folder? What error are you getting?

Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Bootstrap Vue Navbar Dropdown Not Working After Nuxt Generate But Works In Nuxt Dev

Version
v2.11.0
Reproduction link
https://github.com/humbertoT2/bootstrap-gen-test.git
Steps to reproduce
Building a webpage with Nuxt JS and Bootstrap Vue—Navbar dropdown functionality works as expected in dev mode but does not work when generated to static files. Clicking a dropdown item does nothing in the static files but drops down properly in development mode.
Running npm run generate outputs expected static files with 0 errors but functionality is missing in navbar dropdown.

Steps to reproduce the bug

Clone my demo project: https://github.com/humbertoT2/bootstrap-gen-test.git

cd /bootstrap-gen-test/ npm install npm run generate
2. Open index.html in bootstrap-gen-test/dist
3. Click dropdown items in the bootstrap vue nav - they do not dropdown but html and css is loaded.
If you do not want to clone the project you can do the following.

I generated this project from nuxtjs get started page with:
npx create-nuxt-app

Simply choose bootstrap as your UI framework in the setup process

Add example dropdown nav code from bootstrap vue component docs in index.vue:

npm run generate

open index.html in your-project-name/dist/

Expected behavior

Navbar dropdown item functionality to work (dropdown) in static file setting

Versions

nuxt: ^2.0.0
bootstrap-vue: ^2.0.0
bootstrap: ^4.1.3
Environment:

Device:  Macbook
Browser: Chrome

Demo link

See below for a copy of my dist and navbar component in a static file
https://t2hwp.t2marcom.com/bootstrapvue/dist/index.html
What is expected ?
Navbar dropdown from bootstrap vue to dropdown
What is actually happening?
No dropdown is happening

This bug report is available on Nuxt community (#c10377)

After you ran npm run generate, instead of opening the index.html directly, you should try using the npm start command instead to test your generated page(s).
The reason why your current copy as a static file over here doesn't work is because the JS file inside the _nuxt folder are not served. You can verify this by:

Going to your index page
Click on the dropdowns (and they should not work)
Open the Chrome DevTools (should be fn + F12 for mac)
On the Console tab, you can see there are multiple errors saying that the JS files are not found.

I have also downloaded your repo and verified using npm run generate + npm start that your project indeed works as usual once you have the JS files served.


Remove deprecated pip repositories Bazel call

What is the goal of this PR?
We remove an unneccessary call of pip_repositories despite it being a deprecated function from rules_python, including in our own patched version. Additionally, this cleans up our bazel command output. See the output message below.
DEBUG: /private/var/tmp/[...]/external/rules_python/python/pip.bzl:228:10:
DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes

What are the changes implemented in this PR?
We remove the command that loads the function as well as the call to the function.

PR Review Checklist
Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.

Code

[ ] Packages, classes, and methods have a single domain of responsibility.
[ ] Packages, classes, and methods are grouped into cohesive and consistent domain model.
[ ] The code is canonical and the minimum required to achieve the goal.
[ ] Modules, libraries, and APIs are easy to use, robust (foolproof and not errorprone), and tested.
[ ] Logic and naming has clear narrative that communicates the accurate intent and responsibility of each module (e.g. method, class, etc.).
[ ] The code is algorithmically efficient and scalable for the whole application.

Architecture

[ ] Any required refactoring is completed, and the architecture does not introduce technical debt incidentally.
[ ] Any required build and release automations are updated and/or implemented.
[ ] Any new components follows a consistent style with respect to the pre-existing codebase.
[ ] The architecture intuitively reflects the application domain, and is easy to understand.
[ ] The architecture has a well-defined hierarchy of encapsulated components.
[ ] The architecture is extensible and scalable.


add --extra-fixtures options to avoid python code in tox.ini

Current coverage is 75.04% (diff: 50.00%)

Merging #917 into master will decrease coverage by 0.01%

@@             master       #917   diff @@
==========================================
  Files           131        131
  Lines          6961       6965     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           5225       5227     +2
- Misses         1736       1738     +2
  Partials          0          0

Powered by Codecov. Last update 0df7587...8285989


Cannot Add-PoshGitToProfile -AllHosts in installation

During installation I struck this:
Add-PoshGitToProfile -AllHosts
Test-Path : Cannot bind argument to parameter 'LiteralPath' because it is an empty string.
At C:\Users\64211\Documents\WindowsPowerShell\Modules\posh-git\1.1.0\Utils.ps1:208 char:34
+     if (!(Test-Path -LiteralPath $profileDir)) {
+                                  ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Test-Path], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.Test
   PathCommand

C:\Users\64211> Add-PoshGitToProfile -AllHosts
WARNING: Skipping add of posh-git import to file '-AllHosts'.
WARNING: posh-git appears to already be imported in one of your profile scripts.
WARNING: If you want to force the add, use the -Force parameter.
C:\Users\64211>

I do not know if it matters but it is disconcerting
System Details
Forgive me.  I am a reluctant and novice windows user.  I am happy to be responsive if it will help fix something but I am not happy to learn to answer, accurately, the following things unless there is a clear reason.

posh-git version/path:  Latest
PowerShell version: Latest
Git version:  Latest, but not relevant
Operating system name and version: Windows. on a laptop.

To retrieve the system details, paste the following line into PowerShell, press Enter
and then copy/paste the resulting output above.
"- posh-git version/path: $($m = Get-Module posh-git; '{0} {1} {2}' -f $m.Version,$m.PrivateData.PSData.Prerelease,$m.ModuleBase.Replace($HOME,'~'))n- PowerShell version: $($PSVersionTable.PSVersion)n- $(
git --version)`n- OS: $([System.Environment]::OSVersion)"
posh-git version/path: $($m = Get-Module posh-git; '{0} {1} {2}' -f $m.Version,$m.PrivateData.PSData.Prerelease,$m.ModuleBase.Replace($HOME,'~'))`n- PowerShell version: $($PSVersionTable.PSVersion)`n- $(
>> git --version)`n- OS: $([System.Environment]::OSVersion)
posh-git : The term 'posh-git' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ posh-git version/path: $($m = Get-Module posh-git; '{0} {1} {2}' -f $ ...
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (posh-git:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

That did not go well!

Instructions I followed:
Install-Module posh-git -Scope CurrentUser -Force
Import-Module posh-git
Add-PoshGitToProfile -AllHosts

That last instruction was where I started to see problems.  But considering that posh-git is: "...is not "recognized as the name of a cmdlet, function, script file,..." the problem may be more fundemental


[security] Signature verified after expiration/sub/iss checks

Given a feature were you login using an JWT and get redirected to an URL that is inside the claims of the JWT, when an JWT is expired you are still redirected without logging in.
Because the expiration is checked before the validity of the signature an JWT::ExpiredSignature is raise before the signature is checked. This allows attackers to create a malicious token, with a bogus signature, that is expired but includes a redirect claim making an open redirect.
You could fix it by doing an decode with verify_expiration: false first, before decoding it again with all verifies on true.
Off course, you shouldn't add a feature on expired tokens but I would expect that the validity is checked before the checking the claims. Furthermore, this is just on example where it could go wrong.
It's about this code: https://git.io/votyr
I propose switching it around, verifying the validity of the signature first, and then the claims.
Thanks for the great Gem!
Cheers,
—Koen

Heya!
This issue was just mentioned in the Trello card "(5) Refactor magic login two methods to one" on the Team Buttons board.
Might be relevant to you, or not...
Happy Hackin'!

@koenbollen can you please test your case with the #160 PR?

@excpt Great work! It has fixed the issue, I've used that branch and removed my extra check and got the expected result.
Thanks.

Thanks for the fast response. 👍


Feature Request: (setq help-enable-symbol-autoload t)

https://gitlab.com/ganserla/emacs/-/commit/c53aff5de71d7c558c222c35fd1cda0298d834b1
  If you request help for an autoloaded function that doesn't have a
doc string, the @file{*Help*} buffer won't have any doc string to
display.  If @code{help-enable-symbol-autoload} is non-@code{nil},
Emacs will try to load the file the function is defined in to see
whether there's a doc string there.

Merged


ROS Capabilty server

This is an enhancement idea:
I just read about this: http://wiki.ros.org/capabilities
This package allows timed and remote loading of rosnodes and roslaunch files.
This might be something quite fruitful to include...

I take a look at the capabilities server. It sounds very good. Currently there already exists a visualization for the server https://github.com/osrf/rqt_capabilities
It is a little more work to include it into NodeManager. Therefore, I can not promise anything ;-)


metric average precision seems having wrong direction model selection

How you are using LightGBM?
python lightgbm 3.1.1
LightGBM component:
Environment info
Operating System: Linux
CPU/GPU model: Intel Core i5
Python version: 3.6
LightGBM version or commit hash:
Error message and / or logs
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[1]     valid_0's average_precision: 0.567788
Training until validation scores don't improve for 10 rounds
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[2]     valid_0's average_precision: 0.573182
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[3]     valid_0's average_precision: 0.541873
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[4]     valid_0's average_precision: 0.548481
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[5]     valid_0's average_precision: 0.560845
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[6]     valid_0's average_precision: 0.541873
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[7]     valid_0's average_precision: 0.545155
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[8]     valid_0's average_precision: 0.535223
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[9]     valid_0's average_precision: 0.526394
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[10]    valid_0's average_precision: 0.529248
Did not meet early stopping. Best iteration is:
[9]     valid_0's average_precision: 0.526394   # which should select the 0.573182 one, and if using the auc metric it will works properly
Reproducible example(s)
import numpy as np
import lightgbm as lgb
param =   {
        'learning_rate': 0.03,
        'objective': 'binary',
        'metric': 'average_precision',
        "early_stopping_round": 10,
        'num_leaves': 8,
        'num_iterations': 10,
}
N = 100
N_half = int(N / 2)
P = 50

x_train = np.random.rand(N, P)
y_train = np.concatenate([np.ones(N_half), np.zeros(N - N_half)])
x_test = np.random.rand(N, P)
y_test = np.concatenate([np.ones(N_half), np.zeros(N - N_half)])

d_train = lgb.Dataset(x_train, y_train)
d_valid = lgb.Dataset(x_test, y_test)
lgb.train(param, d_train, valid_sets=d_valid, verbose_eval=1)

I think the root cause is
# branch 3.1.1. didn't cover the average_precision metric
# LightGBM/python-package/lightgbm/basic.py: 3280
                self.__higher_better_inner_eval = \
                    [name.startswith(('auc', 'ndcg@', 'map@')) for name in self.__name_inner_eval]

Fixed via #3649.


[Eligibility Questionnaire][Accessibility] Focus shifted to top of page when navigating between pages

Focus is shifted to the top of the page when navigating between eligibility questionnaire pages (consider whether we should shift focus to the page heading).

I looked through https://www.w3.org/WAI/tutorials/forms/multi-page/ and didn't see anything about moving focus to the form on multi-page forms (beyond the normal "skip to main content" link) but I think adding a "current page" screen-ready only text as it reads through the progress bar would be helpful.

Changes for this are in https://github.com/CityOfDetroit/bloom/pull/660


cordova-hcp build doesn't add content_url

Where should the content_url come from during the build step? I tried putting it in my cordova-hcp.json like:
$ cat cordova-hcp.json
{
  "content_url": "https://example.com"
}

But that didn't get it:
$ cat ./push/prod/chcp.json
{
  "autogenerated": true,
  "release": "2015.10.02-14.39.11"
}

Should it pull from my config.xml or something?

Yes, you should put it in cordova-hcp.json. For example, you have a TestProject with the following file structure:
TestProject
  cordova-hcp.json
  platforms/
  plugins/
  www/
  ...other files and folders...

You set in your cordova-hcp.json:
{
  "content_url": "https://example.com"
}

Then you run in your TestProject folder:
$ cordova-hcp build
Running build
Config { content_url: 'https://example.com',
  release: '2015.10.05-10.15.08' }
Build 2015.10.05-10.15.08 created in /TestProject/www

cordova-hcp build builds files in the www folder of your project. So, if you store your files in ./push/prod/ - it doesn't go there. There is a feature request for that in CLI issues - https://github.com/nordnet/cordova-hot-code-push-cli/issues/7 . Maybe that is the reason, why your chcp.json doesn't get updated?

I opened that other issue :)
It could be to do with the path locations, but I was sure I put it in the root path. Either way, I found out that you can run
$ cordova-hcp build --content_url http://example.com

and that works for my deploy pipeline


Convert the command line interface docs to docusaurus

The relevant docs are inside of docs/command-line-interface/.
The urls should match our current docs starting at https://docs.celo.org/command-line-interface/introduction.
We should decide what a matching document would be title for the current category in gitbook at https://docs.celo.org/command-line-interface/commands.

We'll need to come up with a solution to automate this differently now that docs is moving out into its own repository.


Quote arguments with carets for cmd.exe

Carets introduce a difficult situation since they are essentially “lossy” when parsed. Consider this in cmd.exe:
> echo "foo^bar"
"foo^bar"
> echo foo^^bar
foo^bar

The two commands produce different results, but are both parsed by the shell as foo^bar, and there's essentially no sensible way to tell what was actually passed in. This implementation assumes the quoted variation (the first) since it is easier to implement, and arguably the more common case.
Fix #3307.

[x] Associated issue
[x] A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

C:\Users\Dan.Ryan\git\tmp:> pipenv install -e svn+https://eu-subversion.assembla.com/svn/testuuu^testuuu-first-space/test_pyenv/trunk/test_package_1#egg=test-package
Creating a Pipfile for this project…
Installing -e svn+https://eu-subversion.assembla.com/svn/testuuu^testuuu-first-space/test_pyenv/trunk/test_package_1#egg=test-package…
Adding test-package to Pipfile's [packages]…
Installation Succeeded
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Success!
Updated Pipfile.lock (ac84d9)!
Installing dependencies from Pipfile.lock (ac84d9)…
  ================================ 2/2 - 00:00:03
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

:tada:


Horizontal scroll

Neat. Good job.
Unfortunately, I can't accept. I've done a lot of refactoring work behind the scenes which makes horizontal scrolling redundant. I was hoping to release last weekend but its launchdate has been delayed a bit to give @FluffierThanThou the courtesy of a few more days to accept https://github.com/FluffierThanThou/WorkTab/pull/108 otherwise we'll both get swamped with Steam comments.

Yeah, sorry about that, I'll try to get to it tonight.

Neat. Good job.
Unfortunately, I can't accept. I've done a lot of refactoring work behind the scenes which makes horizontal scrolling redundant. I was hoping to release last weekend but its launchdate has been delayed a bit to give @FluffierThanThou the courtesy of a few more days to accept FluffierThanThou/WorkTab#108 otherwise we'll both get swamped with Steam comments.

ok, no problem. I wait release)


Build fail on Manjaro

I'm using 5.7.14-1-MANJARO (with Cinnamon).
I was trying to install the displaylink driver according to the tutorial in the archwiki, but got the following error during build:
CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers" make -C module -j13 --jobserver-auth=3,4
make[1]: warning: -j13 forced in submake: resetting jobserver mode.
make[1] : on entre dans le répertoire « /home/marie/.cache/yay/evdi-git/src/evdi/module »
make -C /lib/modules/5.7.14-1-MANJARO/build M=$PWD
make[2] : on entre dans le répertoire « /usr/lib/modules/5.7.14-1-MANJARO/build »
make[2]: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
make[2] : on quitte le répertoire « /usr/lib/modules/5.7.14-1-MANJARO/build »
make[1]: *** [Makefile:71 : module] Erreur 2
make[1] : on quitte le répertoire « /home/marie/.cache/yay/evdi-git/src/evdi/module »
make: *** [Makefile:8 : all] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
/usr/share/makepkg/util/message.sh: ligne 51: QUIET : variable sans liaison
/usr/bin/makepkg: ligne 132: logpipe : variable sans liaison
erreur lors de la construction : %!s(func() string=0x5638e267d410)

I couldn't find any piece of information on that error. Anyone has a clue ?

Is this a regression or was it like that always? Seems we are looking for
/lib/modules/5.8.1-arch1-1/build directory, but it's missing.
Can you post result of ls /lib/modules command? Also, do you have linux headers installed?

I have linux414-headers 4.14.193-1 and linux-api-headers 5.6.11-1 installed.
I don't know if it's a regression or not, it's the first time that I try to use a dock.
ls /lib/modules
4.14.193-1-MANJARO  5.7.15-1-MANJARO  extramodules-5.7-MANJARO

@supermarille  could you try to install linux headers for version 5.7.14  (or 5.7.15, not sure which version you are using currently).
Can you post also output of ls /lib/modules/5.7.15-1-MANJARO ?
It seems we are missing the directory, not sure if this is an issue in how we designating it or missing package :)

You might laugh but I unplugged the monitor and plugged it back in and now it's working (I promise that I already did that before) so it seems I don't need more drivers.
I'm going to try anyway, but maybe @walialu will have more interesting outputs. After the installation of the headers for version 5.7.15:
ls /lib/modules/5.7.15-1-MANJARO
build          modules.alias.bin          modules.dep      modules.symbols
extramodules   modules.builtin            modules.dep.bin  modules.symbols.bin
kernel         modules.builtin.alias.bin  modules.devname  pkgbase
kernelbase     modules.builtin.bin        modules.order    vmlinuz
modules.alias  modules.builtin.modinfo    modules.softdep

Installation was flawless now. IDK, I changed nothing. Just tried yay -S displaylink yesterday and it worked lik a charm.

Can we close this now? seems it's currently working fine? :D

Yes, close it, please!

OK, closing. Thanks :)


'NoneType' object has no attribute 'search'

Error: AttributeError("'NoneType' object has no attribute 'search'")
Please note that I'm using a vectorstore that I made earlier which works with streamlit

Hey @faz-cxr maybe not useful to you anymore but if you create a vectorstore with an index (as in the chat-your-data example) and then do not load the index in this will happen. You can fix it by doing:
import faiss
index = faiss.read_index("yourindex.index")
vectorstore.index = index


11m - change to FM problem (CEC 0.41 HF)

If I want to switch to FM on the 11m band, the firmware throws me into the broadcast radio frequencies.
But FM modulation is the usual modulation on 11m in Europe.

Unfortunately, SI4732-A10 does not support NBFM. Although NBFM is mentioned
in some documentation, it does not apply in the format we want.
So, if you need FM mode at 11m, you need to receive it from the main VFO,
not HF Receiver mode.
Ian KD8CEC
On Sun, Apr 7, 2024 at 1:02 AM Michael @.***> wrote:

If I want to switch to FM on the 11m band, the firmware throws me into the
broadcast radio frequencies.
But FM modulation is the usual modulation on 11m in Europe.
—
Reply to this email directly, view it on GitHub
https://github.com/phdlee/uvk5cec/issues/49, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4DZPGQ5FOMGS7CHO5TFTTY4AMCDAVCNFSM6AAAAABF2RJWHOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDSMZQG4YTMMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello Ian.
Thanks for your feedback on the subject.
It was this mention in some documentation that made me undecided.
Now I know how to handle this in FM CB.
73 Michael

Hello Ian.
Thanks for your feedback on the subject.
It was this mention in some documentation that made me undecided.
Now I know how to handle this in FM CB.
73 Michael


DBZ-5233-refactor-MBean-name-formats-for-1.9-branch

DBZ-5233
This pull request cherry picks the changes in #3599 and addresses conflicts that prevented the original PR from being merged to the 1.9 branch.
Tested in a local Antora build and in a local build of the downstream 1.9 docs.

@roldanbob Applied, thanks!


Fix CoreDNS version restriction for service ExternalName type.

before: This requires version 1.7 or higher of kube-dns.
after: You need CoreDNS version 1.7 or higher to use the ExternalName type.

/assign @SataQiu

thanks @RainbowMango
/lgtm
/approve


Show HTML and CSS matching type tester

This will show a developer the exact HTML and CSS they need to
copy/paste to recreate the situation in the type tester.

Fixes https://github.com/Wakamai-Fondue/wakamai-fondue-site/issues/42


weird space between header and body

Hi @AllenFang , thanks for the library. This is very similar to this issue https://github.com/AllenFang/react-bootstrap-table/issues/883 so I believe the issue is with css.
I am using create-react-app so do not have my webpack.config.js to add use: [ 'style-loader', 'css-loader' ].
I am currently importing the css as follows:
import '../node_modules/react-bootstrap-table/dist/react-bootstrap-table.min.css'
Could you please help me with this?

@ridonkz I think it's not a bug and the css of react-bootstrap-table must not loaded successfully.


Add Numbers (Integer input/slider)

Done here https://github.com/abhay-raizada/nostr-forms/pull/40


[Infra] Installation problem - python - using Installation from PyPI

when importing the files:
from recognizers_number import NumberRecognizer
File "/home/..../site-packages/recognizers_number/number/models.py", line 35
self.parser: Parser = parser
^
SyntaxError: invalid syntax
from recognizers_date_time import DateTimeRecognizer
File "/home/..../site-packages/recognizers_text/culture.py", line 2
English: str = 'en-us'
^
SyntaxError: invalid syntax

Hi @NoaKel,
we found out that someone was name-squatting the recognizers package names on PyPI and we're working with the admins there to remove those.
When our packages are officially published, we'll update the main GitHub README to point to the correct packages, ok?
Thanks for reporting the issue!

Hi @tellarin,
Do you have any estimate about when the Python's recognizers package should be published?
Thanks!


Penal Codes have dissapeared.

What version of Node.js are you using?
16.6
What version of npm are you using?
7.10.0
What operating system are you using?
Windows
Describe the Bug
Whenever I attempt to view/edit the Penal codes it comes up as NaN/3 on the penal code page. Officers are still able to add arrest reports and create tickets, but we are unable to modify any penal codes.

Expected Behavior
We would usually be able to modify our penal codes.
To Reproduce
To be honest, I am not exactly sure what caused this.

Does refreshing the page fix this issue?

Fixed!


Add command to dump models to JSON files.

For #500.
@kltm here's a quick implementation if you want to try while I'm away. It's a bit slow. The command line would be:
./minerva-cli/bin/minerva-cli.sh --dump-owl-json --journal blazegraph.jnl --ontojournal blazegraph-go-lego-reacto-neo.jnl --folder jsonout

Noting it took about an hour and change to run locally at 8GB.


docs: Fixed error in Input-component

📝 Description
Syntax error in the Input-component - section: Add elements inside Input
⛳ Current behavior (updates)
Can't render the component due to self-closing tag.
🚀 New behavior
Renders the component correctly
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information

I was reviewing exactly the same

Thanks for opening the PR. Closing in favor of #1578.

Okay, any reason for not merging this one since it was created before #1578?

No specific reason. Just the order I worked through the PRs. I'll try to keep in mind to double check other PRs for same changes next time. This is the first time we got 6 PRs for the same issue.

No worries - was just wondering. Thank you for the reply.


Add twitter account to start page

https://twitter.com/pyautogen
https://microsoft.github.io/autogen/docs/getting-started#where-to-go-next
After "chat on discord", add "follow on twitter".

I would like to work on this. Can you please assign it to me?

There's already a PR for it #159
Perhaps you can create another PR to update https://microsoft.github.io/autogen/docs/Contribute

I have created a PR, which resolves this issue.

There's already a PR for it #159 Perhaps you can create another PR to update https://microsoft.github.io/autogen/docs/Contribute

Sure. I will do that.

There's already a PR for it #159 Perhaps you can create another PR to update https://microsoft.github.io/autogen/docs/Contribute

I have created a PR for this. Kindly check this https://github.com/microsoft/autogen/pull/162.


Refactor BlockWorker API

What changes are proposed in this pull request?

Change createBlockReader to remove dependency on BlockReadRequest
Remove createUfsBlockReader

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.8 please


Parsing html

Hey there! we've been using email-reply-parser in our project and we got to a point in which we need to parse the html part of the email, how can I do that?

Any update on this enhancement?


time is not updated when using log.SetPrefix

Hello. When I tried to change the time format with log.SetPrefix , I noticed that the time was not updated. The test code is below.
import (
	"log"
	"time"

	lumberjack "gopkg.in/natefinch/lumberjack.v2"
)

func main() {
	logRotate := &lumberjack.Logger{
		Filename:   "test_file.log",
		MaxSize:    1,
		MaxBackups: 3,
		MaxAge:     10,
		Compress:   true,
	}
	log.SetOutput(logRotate)

	log.SetFlags(log.Lshortfile)

	prefix := time.Now().Format("2006-01-02 15:04:05.000  ")
	log.SetPrefix(prefix)

	for i := 0; i < 5; i++ {
		log.Println("log test")
		time.Sleep(1 * time.Second)
	}

}

And the result is as below.
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test

And I confirmed that the log.SetPrefix setting works normally when using the default log package.
Aside from this issue, the package is very nice and contributions are always appreciated.
Please help me to solve this problem.

I confirmed that the log.SetPrefix function itself works as described above. This inquiry is incorrect and I am looking for another way.


Please add Commonjs support

It would be great if you would implement commonjs support for us to use this plugin with tools like browserify.
I tried to do this myself, but I'm not experienced enough to do it.

Thanks, I'll look into this.

+1

Scrollify now supports CommonJS and AMD

Thanks man!
I'm interested to see how you did this. I tried doing it myself using a commonjs template, but unfortunately I quickly ran out of talent and understanding.
I know this is not the correct forum for this, but was this a big thing to do? I run into into support issues often using browserify, and I hate the idea of having to shim files. If converting a script to support commonjs and AMD is a relatively straightforward thing, then I should just go through the effort of understanding how the conversion works and helping other authors to convert their scripts.

@traaidmark it was fairly straight forward. There's a great project called UMD (universal module definition), here: https://github.com/umdjs/umd they've created a set of templates that show how you can support CommonJS and AMD in various types of scenarios. I followed there jqueryPlugin template.


[ClangImporter] Fix versioned stubs for functions-as-members.

That is, the stubs we generate when you rename a C global function imported as a type member using the SwiftName API note. (See the test case changes.) Previously we hit an assertion.
For good measure, also fix versioned stubs for types-as-members, which were always added to their original context rather than the new context.
rdar://problem/31435658

@swift-ci Please test

LGTM


Does not work with Envoy-S Firmware D7.0.43 (8ed8ea)

Since Envoy auto updated to Firmware D7.0.43 (8ed8ea) the Envoy now only accepts https connections and the authentication method has changed.
Part Number
800-00554-r03
Software Version
D7.0.43 (8ed8ea)
Software Build Date
28 May, 2021 4:21 PM

Yes, I know this problem was reported already #34
As long as Enphase do not provide any info about this new authentication method I cannot I fix this.

https://community.enphase.com/s/question/0D53m00006ySLuR/unimpressed-with-loss-of-local-api-connectivity-to-envoys
A discussion on the loss of local API access and being pushed to the cloud. Would be good to get anyone using local API to call support and point out how much we want access to OUR DATA.

@cscott365 it is related to #40

Not related at all. My system has not updated to latest firmware yet.

Support and test for new authentication method will not be added at this time.


Fix bug in xDiskAccessPath and xMountImage and enabled Integration Tests - Fixes #102, #105

This PR primarily fixes #102.
However during investigation of #102, I found a way to enable the integration tests to run in AppVeyor by using DISKPART to create a new VHD. I decided to enable these to ensure that this module is being effectively tested on Windows Server 2012 R2.
This highlighted issue #105 as the integration tests failed on the AppVeyor build agent (but passed on Windows 10 and Windows Server 2016). I identified the cause of the problem and fixed it as well so that I could commit this fix.
The PR changes are as per:

xDiskAccessPath:

Fix error when used on Windows Server 2012 R2 - See Issue 102.

Removed requirement on Hyper-V PowerShell module to execute integration tests.
xMountImage:

Fix error when mounting VHD on Windows Server 2012 R2 - See Issue 105

This change is

Codecov Report

Merging #106 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@         Coverage Diff         @@
##           dev   #106    +/-   ##
===================================
+ Coverage   92%    92%   +<1%
===================================
  Files        5      5
  Lines      645    650     +5
===================================
+ Hits       594    599     +5
  Misses      51     51

Great reasoning to make use of DiskPart to enable the integration tests in appveyor!!

Reviewed 14 of 14 files at r1.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

Modules/xStorage/DSCResources/MSFT_xMountImage/MSFT_xMountImage.psm1, line 80 at r1 (raw file):

            # Find the first 'Basic' partition
            $partitions = $disk | Get-Partition
            $partition = $partitions | Where-Object -Property Type -EQ 'Basic'

it's -eg lowercase.
Why the breakup and not?
$partition = $disk | Get-Partition | Where-Object -Property Type -eq 'Basic'

Or
$partition = $disk | Get-Partition |
    Where-Object -Property Type -eq 'Basic'

Modules/xStorage/DSCResources/MSFT_xMountImage/MSFT_xMountImage.psm1, line 558 at r1 (raw file):

        # Find the first 'Basic' partition to mount
        $partitions = $disk | Get-Partition
        $partition = $partitions | Where-Object -Property Type -EQ 'Basic'

same comments as before

Tests/TestHelpers/CommonTestHelper.psm1, line 105 at r1 (raw file):

    $tempScriptPath = Join-Path -Path $ENV:Temp -ChildPath 'DiskPartVdiskScript.txt'
    Write-Verbose -Message ('Creating DISKPART script {0}' -f $tempScriptPath)
    Set-Content -Path $tempScriptPath -Value "create vdisk file=`"$Path`" type=expandable maximum=$SizeInMB"

From experience, this file needs to have Ascii encoding. Recommend adding -Encoding Ascii
The text is also expected to be uppercase if I remember correctly.
create vdisk FILE="" TYPE=EXPANDABLE MAXIMUM=1024

---

*Comments from [Reviewable](https://reviewable.io:443/reviews/powershell/xstorage/106#-:-KnOPzFkJm0IHZDegcLq:bfqnwry)*
<!-- Sent from Reviewable.io -->

Thanks for reviewing @bgelens ! Appreciate the work and detail as always! Changes made and questions answered.

Review status: 13 of 14 files reviewed at latest revision, 3 unresolved discussions.

Modules/xStorage/DSCResources/MSFT_xMountImage/MSFT_xMountImage.psm1, line 80 at r1 (raw file):
Previously, bgelens (Ben Gelens) wrote…
it's -eg lowercase.
Why the breakup and not?
$partition = $disk | Get-Partition | Where-Object -Property Type -eq 'Basic'

Or
$partition = $disk | Get-Partition |
    Where-Object -Property Type -eq 'Basic'

Good question. A couple of reasons:

When I was debugging this problem I found it much easier to track down the problem by splitting up statements so I could find out and compare the different outputs on the different OS's.
This best practice https://github.com/PowerShell/DscResources/blob/master/BestPractices.md#use-variables-rather-than-extensive-piping

However, I realize this wouldn't really be excessive piping. So I'm OK to reassemble if you'd prefer - as hopefully I'll not need to do any further debugging on this (but never say never). Your call :grin:

Modules/xStorage/DSCResources/MSFT_xMountImage/MSFT_xMountImage.psm1, line 558 at r1 (raw file):
Previously, bgelens (Ben Gelens) wrote…
same comments as before

See above.

Tests/TestHelpers/CommonTestHelper.psm1, line 105 at r1 (raw file):
Previously, bgelens (Ben Gelens) wrote…
From experience, this file needs to have Ascii encoding. Recommend adding -Encoding Ascii
The text is also expected to be uppercase if I remember correctly.
create vdisk FILE="" TYPE=EXPANDABLE MAXIMUM=1024

Good catch. Done.

Comments from Reviewable

 No need to change further :smile:

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Thanks @bgelens - really appreciate your help! Things are really beginning to move around the repos now!


How to use the grammar support feature?

Feature request

Can you please clarify how we can use this? what is it for?
Motivation

Can you please clarify how we can use this? what is it for?
Your contribution

Can you please clarify how we can use this? what is it for?

Hi @Stealthwriter grammar support allows callers to specify a grammar that will be used to constrain the generated text, (for example output a specific JSON format). Please see https://huggingface.co/docs/text-generation-inference/conceptual/guidance for more details


Enable Progressive web app on website first

adding a simple manifest and meta headers to https://wakatime.com/dashboard is very important so we can add it to homescreen or desktop
it shouldnt take much work and would be a great add 👍

Related:
https://developers.google.com/web/fundamentals/getting-started/codelabs/your-first-pwapp/
https://developer.mozilla.org/en-US/Apps/Progressive

a simple 2 edits are enought to do.
public/manifest.json
{
  "short_name": "Wakatime",
  "name": "Waka Time Dashboard",
  "icons": [
    {
      "src": "favicon.ico",
      "sizes": "192x192",
      "type": "image/png"
    }
  ],
  "start_url": "./index.html",
  "display": "standalone",
  "theme_color": "#000000",
  "background_color": "#ffffff"
}

and to index.html header.
<link rel="manifest" href="/manifest.json">
<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Waka">

and we r done 👍

That manifest.json and html meta/link content already exists on every page. Progressive web apps also require binding to service worker events.


[v2-2] update hugo to v0.122.0

(Manual backport of #1790, because the label trigger noticed I added a merge commit, the workflow called me out in https://github.com/fluxcd/website/actions/runs/7688160859/job/20949053159#step:3:35)

I am still working on:

#1787

so we need to be sure that v2-2 gets a PR merged every so often, to keep the calendar advancing.
Otherwise, I do not think this would be a critical backport, but at this point I am not sure I have the sufficient permissions in Netlify to generate a build hook or to trigger the build hook for v2-2.
Merging this PR should advance the calendar, though...

Thanks @stefanprodan!


Missing sourcetype settings for pan:log (according to Splunk PS)

Describe the bug
We did a review of our Splunk Cloud environment with Splunk Professional Services, and they made some recommendations for our TAs to improve performance. One of the recommendation also is maybe valuable for the Palo TA.
Expected behavior
The sourcetype [pan:log] should  define also the following settings:
LINE_BREAKER
TIME_FORMAT
EVENT_BREAKER_ENABLE
EVENT_BREAKER
Current behavior
The sourcetype [pan:log] is missing the settings:
LINE_BREAKER
TIME_FORMAT
EVENT_BREAKER_ENABLE
EVENT_BREAKER
This is just a hint I want to forward.
Hope it helps.

I'd be interested if Splunk PS would like to explain these recommendations. But I currently don't see a performance advantage to this over the current configuration, and the risk of making these changes is high because it affects all log types.
I will close this for now, but please comment here if there is more details on these recommendations. Thanks!


refactor: include new in vault state

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unable to read IEEEFP TIFF

VisIt is unable to read in IEEEFP TIFF files. It is, however, able to read in the same TIFF files once the bit depth is reduced.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2802
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Unable to read IEEEFP TIFF
Assigned to: Kathleen Biagas
Category: -
Target version: -
Author: Migle Surblyte
Start: 04/06/2017
Due date:
% Done: 0%
Estimated time:
Created: 04/06/2017 04:31 pm
Updated: 05/30/2017 09:22 pm
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: 2.12.1
Impact:
Expected Use:
OS: Windows 7
Support Group: Any
Description:
VisIt is unable to read in IEEEFP TIFF files. It is, however, able to read in the same TIFF files once the bit depth is reduced.
Comments:
Kathleen will investigate if this is only a Windows 7 issue. Have asked for sample data, no response.

User never provided data files.


Fix issues with GH actions

Deploy action was malformed due to a recursive dependency
Add step to ensure the .nvmrc file was respected
Updated the way npm credentials are installed. Setting up the environment is not enough.

The latest versions of type-shift aren't available on npm, will this fix that?


Could Tyler support scrollable and zoomable animated maps?

Thinking about how the Julia Geo ecosystem could wow other communities, I was wondering if it could be possible to create interactive (scrollable and zoomable) animated maps. For example is there a way to make the "Whale shark example trajectory" interactive?

the "Whale shark example trajectory" is interactive!

No... surely not... isn't it saving frame by frame... I'll go check it out

fair enough, you'll need to comment out that part. But that's all that is needed.

Damn... I'll need to make a post for this... this is a super cool feature that would not trivial to with your own data in something like leaflet.

You can also use Tyler with a DynamicGrids.jl simulation over the top, with input from MakieDraw.jl controling it!
All interactive and zoomable and fast. There is going to be so many bling animations...

@rafaqz do you have an example that uses DynamicGrids.jl and MakieDraw.jl ?

Not with Tyler, just GLMakie (see the MakieDraw readme) but it works just the same with Tyler.
I'll make one soon hopefully.


PacketSendKey.Handler is vulnerable to arbitrary chunk generation

I believe that good education is key to a healthy modding community.
PacketSendKey.Handler is vulnerable to arbitrary chunk generation. What this means is that a client with malicious intent can overload a server by making it generate arbitrary chunks. The BlockPos sent by the client should be handled with extreme care. You have to verify that the block at the position is loaded using world.isBlockLoaded(pos) before accessing the block.
As a side note, the information of a BlockPos can fit in a long. You can therefore do BlockPos.fromLong(buf.readLong()) and buf.writeLong(blockPos.toLong()) instead of doing every component.

Fixed in code and tutorial. Thanks


go-tools: add go-deadlock dep

Signed-off-by: Zheng Xiangsheng<EMAIL_ADDRESS>
What problem does this PR solve?
We used go-deadlock in the test but did not add it as a dependency on go.mod.
What is changed and how it works?
Add it as a dependency on go.mod.
Release note
Check List
Tests

Manual test (add detailed scripts or steps below)

/merge

/run-all-tests

/merge

/merge


chore(package): update eslint-plugin-jest to version 23.0.2

Closes #51

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Eslint errors. Test locally and fix


Update for Creative.SBCommand.exe

Hi Dainesch,
Is there going to be an update to AE5Switcher for CreativeSBCommand.exe as it seems to have replaced Create.SBConnect.exe for AE-5 cards.  I currently have Sound Blaster Command version <IP_ADDRESS> installed.
I've tried making a copy of CreativeSBCommand.exe to Create.SBConnect.exe, updated AE5Switcher setting to point to this and it partly works. But the icon keeps disappearing so I guess it's crashing.
Kind regards,
Kev

Hi there,
I'll look into it, Sound Blaster Command currently hangs/crashes for me when opening normally, so I hope they bring out a version that works again for me in order to update the program ...
Greetings

Hi there, any update on whether this app will be updated to use the new Creative.SBCommand.exe ?
Thanks for your time.


Extension porting 4.0.2

Requirements
Migrating the sample osquery extension to build with SDK version 4.0.2.
Description of the Change
The PR changes make a hard switch to build with SDK version 4.0.2. The CMake files changes are not compatible with the previous version. Further changes are needed to build it with previous SDK.
Alternate Designs
NA
Why Shouldn't This Be In oquery Core?
NA
Benefits
No new feature added
Possible Drawbacks
The changes will not build with previous SDK versions.
Verification Process
Build and run the existing test suites.
Applicable Issues
NA

Thank you for creating this branch. I was able to checkout this branch and create extension for fwctl for osquery. But I had to do a couple of changes to get the extension to build.

There is no Version.h initially and it seems to be built when I am building osquery but it is building in the osquery-extensions root directory. I had to manually copy it into the fwctl/src/ folder.
osquery/build/external/extension_trailofbits/osquery_extension_group_main.cpp:32:10 the function waitForShutdown() needed to be replaced by waitThenShutdown()

Only when I did both of these changes was I able to get the extension to build.

Building on macos against current osquery master (commit 93ceef7), this errors when building the darwin_unified_log extension, specifically because the boost/winapi/config.hpp file isn't included on non-windows platforms (but is still required for cmd.hpp). Fixing this in the osquery source tree (modifying the file libraries/cmake/source/boost/CMakeFiles.txt to add the include files before existing out of the generateBoostWinapi function) exposed an error in boost, specifically in pipe.hpp:298:14: error: no viable overloaded '=' for _buf = std::move(lhs);

Is anyone actually able to build this on Windows 10 ?
I created the symlink between the osquery-extensions folder into the osquery externals folder. When I am doing the cmake -G "Visual Studio 16 2019" -A x64 -T v141 .. command I can see the libraries are linking
-- Trail of Bits osquery extensions
-- Version: 1.2
-- ================================
Importing libraries from 'C:/Users/samra/osquery/external/extension_trailofbits/libraries/'
Importing extensions from 'C:/Users/samra/osquery/external/extension_trailofbits'
-- ================================```

But when I am actually doing the build using
`cmake --build . --config RelWithDebInfo -j10`

I am not seeing any executable being built at all. Can anyone help me understand what I am doing wrong?

Did all the requisite work. But when I am finally trying to build the extensions on my Windows 10 desktop, it is only building the ntfs_forensics and windows_sync_objects extension.
`PS C:\Users\JC\Source\Repos\osquery\build> cmake -G "Visual Studio 16 2019" -A x64 -T v141 ..
-- osquery version: 4.1.1-25-g668a1d86-dirty
-- Build type:
-- Shared libraries: OFF
-- Importing: facebook/markupsafe
-- Importing: facebook/jinja2
-- Importing: source/boost
-- Importing: source/icu
-- Importing: source/bzip2
-- Importing: source/gflags
-- Importing: source/glog
-- Importing: source/googletest
-- Importing: facebook/libarchive
-- Importing: facebook/linenoise-ng
-- Importing: source/rapidjson
-- Importing: source/rocksdb
-- Importing: source/sqlite
-- Disabling the SQLite R*Tree module
-- Disabling the SQLite FTS extensions
-- Importing: source/thrift
-- Importing: source/zlib
-- Importing: source/zstd
-- Importing formula: formula/openssl
--   Version: 1.0.2t
--   Revision: 1
--   Dependencies: thirdparty_zlib
-- Importing: source/aws-sdk-cpp
-- ================================
-- Trail of Bits osquery extensions
-- Version: 1.2
-- ================================
Importing libraries from 'C:/Users/JC/Source/Repos/osquery/external/extension_trailofbits/libraries/'

tsk_builtin
Importing extensions from 'C:/Users/JC/Source/Repos/osquery/external/extension_trailofbits'
ntfs_forensics
windows_sync_objects
-- ================================
-- cppcheck: Enabled with C:/Program Files/Cppcheck/cppcheck.exe
-- Found WIX toolset at: C:/Program Files (x86)/WiX Toolset v3.11
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/JC/Source/Repos/osquery/build`

PS C:\Users\JC\Source\Repos\osquery\build> $env:TRAILOFBITS_EXTENSIONS_TO_BUILD windows_sync_objects,fwctl,ntfs_forensics
Branch information

I have tried on another Windows 10 system and am getting the same issue again. Just cannot get the fwctl extension to get built. Any help on how to fix this ? If I need to give additional information please ask.


GraphQL instrumentation adapter

Convert Datadog instrumentation for GraphQL to OpenTelemetry.
See

Datadog porting guide
Semantic Conventions
Datadog implementation

Added in https://github.com/open-telemetry/opentelemetry-ruby/pull/527


P1964R2 Wording for boolean-testable

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1964r2.html
__cpp_lib_concepts : 202002L

実装済み


Update container images used by Dataflow runner with unreleased SDK.

New images are based on python:slim-stretch images instead of python:stretch.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.


Gracefully stop facilitator

Unsubscribe to the origin graph node, aux graph node
Clear set interval for resubscription

Implementation is ready. Draft PR is attached. Moving back to Backlog as I will be out 9, 10 and 11.


Implement state-consolidator-service for Kafka based WebSub Hub

Description:

With current implementation in Kafka based WebSub Hub there could be a race condition in topic-registration/topic-deregistration/subscription/unsubscription logic when running in a clustered environment. To fix this issue we could use a state consolidator service.

Closing the issue since the relevant PR #235 is merged.


Bump core dependency

Yo @Dino Fejzagić , what was the purpose of this dependency change?
The Spatial Persistence base package has no dependency with com.realitytoolkit.core, only the Service Framework


Ran through Grunt to get updated example js

I was having no luck getting the demo  to work --- or on the example when loaded up locally.
(clicking into a cell and picking a new date didn't actually change the values shown in the inputs)
I believe that the JS just needed to get run through grunt again so I did that here and it seems to be working for me now. Not my normal area of expertise though.

Thanks, I had some other changes myself, so will run grunt build again on master. I'm wondering if there isn't a better way of doing this. It feels like we should either:

have more control over versions that npm installs
not include the compiled files in source control

:+1: --- I don't know a better way so I'm no help there --- but we're gonna start using react-datepicker so thanks!


JWPlayer widget failing to load required libs

Hi Andries,
I am using latest version (1.1.0) JWPlayer widget with Mendix modeler 7.13.1.
The player works fine on phone browser profile locally. However, when deployed to mendix test cloud environment it fails to load modules as below:

It seems that the widget is failing to load required lib at line no. 107 of jwplayer.js and throws error at:
require(["JWPlayer/lib/free/jwplayer"], dojoLang.hitch(this, function (jwplayerFree) {
Is there anything I can modify in the widget JS?
Help needed!

The issue is not in the code. It is the way Mendix changed the bundling of the files.
The solution was to run

grunt Distribute

The newly bundled version 1.1.1 is published in the app store.


Generated floats are not uniformly distributed

Hej 👋
The documentation does not say anything about the distribution of the values, though one would assume that primitive values ought to be uniformly distributed. This is not the case for f32 and f64 based on https://github.com/Absolucy/nanorand-rs/blob/5e4ea401102cb3e1a519fed84778bc110d792e56/nanorand/src/gen.rs#L97 and https://github.com/Absolucy/nanorand-rs/blob/5e4ea401102cb3e1a519fed84778bc110d792e56/nanorand/src/gen.rs#L103
Floats above a certain value lose prevision, so using, say, u32::MAX and u32::MAX - 42 as the numerator both yield 1.0, which leads to a bias of the generated floats towards 1.0. This playground illustrates it a bit more: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=465eb2dcf33851195dde9f3a6601ea22
If you want to fix that, a solution would be to use the "safe" value provided by <float>::MANTISSA_DIGITS as the max instead of <int>::MAX. I could ope  a PR for that if you like.

Sure, feel free to open a PR!

I'm not too familar how to do this with <float>::MANTISSA_DIGITS. f64::MANTISSA_DIGITS is just... 53. Do you mean something like u64::MAX >> f64::MANTISSA_DIGITS?

I've been looking at this for a bit and did some testing on the matter. You can use this playground to dive into how I was testing: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e46aa8e1706df69ff68fe5805c3779dc
The results are basically that for values between 1 and 127 (inclusive), the current method won't tell the difference between something like (u32::MAX - 0) as f32 / u32::MAX as f32 and (u32::MAX - 127) as f32 / u32::MAX as f32
The change that @knutwalker has talked about shows that it won't tell the difference only for values 1 and 2. That is, (U32_SAFE_MAX - 0) as f32 / U32_SAFE_MAX as f32 and (U32_SAFE_MAX - 2) as f32 / U32_SAFE_MAX as f32 evaluate the same.
So although I'm not sure exactly what change should be implemented to random, or if one is needed at all, but it appears to only happen in the case u32::MAX >= u32::random >= u32::MAX - 127

So although it does seem for 128 different numbers at the tail end of the distribution it blends together, from my testing it seems to have no noticeable effect on the distribution. I used the code below to test multiple times how the distribution ends up and I feel it is sufficient for a non-cryptographically secure random generator. If you have a PR to submit @knutwalker then I think that wouldn't harm anything, but just leaving this comment to say the issue isn't noticeable.
use std::vec;

use nanorand::WyRand;

use nanorand::Rng;

fn main() {
	let mut rng = WyRand::new();
	//println!("Random number: {}", rng.generate::<f64>());

	let mut distributions = vec![0, 0, 0, 0, 0, 0, 0, 0, 0, 0];

	for _ in 0..=99_999_999 {
		let num = rng.generate::<f32>();
		if num <= 0.1 {
			distributions[0] += 1;
		} else if num <= 0.2 {
			distributions[1] += 1;
		} else if num <= 0.3 {
			distributions[2] += 1;
		} else if num <= 0.4 {
			distributions[3] += 1;
		} else if num <= 0.5 {
			distributions[4] += 1;
		} else if num <= 0.6 {
			distributions[5] += 1;
		} else if num <= 0.7 {
			distributions[6] += 1;
		} else if num <= 0.8 {
			distributions[7] += 1;
		} else if num <= 0.9 {
			distributions[8] += 1;
		} else {
			distributions[9] += 1;
		}
	}

	let mut new_num: f64;
	let mut normal_dis: Vec<f64> = vec![];

	for element in distributions {
		new_num = (element as f64) / 99_999_999.0;
		normal_dis.push(new_num);
	}

	println!("{:?}", normal_dis);
}

[0.09994116099941161, 0.10000555100005551, 0.100042101000421, 0.09999625099996251, 0.0999446709994467, 0.10003830100038301, 0.10000667100006672, 0.0999799509997995, 0.1000539110005391, 0.09999144099991442]


what is thi-startup about (what[s] are we building)

The question I keep asking myself if what we are doing exactly, is there one thing (tool, system, framework or library) we are building or is it something generic. I for one think its generic with varying focus points are as we move along. But I think there was a birthing story explaining why we are taking on this fun challenge in the first place, and I think that birthing story goes like this;
the story
Joe is a guy that wants to learn how to build sophisticated distributed systems, he is not really well so he wants to learn how to build these distributed systems things on actual hardware systems that are distributed or at least a simulation of it. He has tried traditional virtual machines but has discovered that jeez they are hard to setup most of the time and require work bring up and down because you have to run actual operating systems on top of them. there is tooling to make running Vms hassle free but he has discovered that every tool is finicky and when Joe hates finicky, he hates it.
He tried docker and didn't really like all the work you have to do to get operating systems up and running on those things (he doesn't exactly like using docker too, but he never talks about it). One thing that really stuck if how its easy to bring docker things up and down and how it all just works without you thinking about it, just like the way cloud providers allow you to just bring up vms with operating systems within minutes. Joe wants what the cloud people provide but doesn't have the money to pay cloud people for their services.
Then one time his friend, let's call him bxffour, called Joe one evening whilst he was on a walk thinking about what the point of anything really is (you know, one of those long depressing nights). And he told joe about this new fascinating thing he had been trying to use called Firecracker. Joe wasn't exactly interested in listening to another jibby jabber about another tech thing, but if you know bxffour you will understand why he shut up and pretended to listen, and then again and again for about a month (because it was all bxffour talked about anymore).
Joe tried his best but if you are exposed to jibby jabber for that long, a bit of it tends to sip into your brain. but then it lit a bulb in joe's brain, that is exactly what I want. A tool to setup ephemeral virtual machines in seconds (or very small minutes) on your localhost, do things with them and then bring them down again (exactly like you would do on AWS or GCP) -- turns out that was what bxffour was jibby jabbering about all this while. Now Joe is excited, he wants to build something like this, so he can continue learning to do distributed systems, setting up and bringing vms like he is on a cloud provider.
Right now there is Firecracker taking care of the virtual machine management part of the work, but it is fairly new and there is little to no tooling available for bootstrapping these vms on local machines. Joe and bxffour want to take up the task of building out the thing that makes it easy to use firecracker on localhost and this is alot of work. it scares Joe but he really need this so he doesn't exactly have a choice.

@bxffour  what do you think, I was writing something short but started and couldn't stop, sorry...

@bxffour what do you think? I was writing something short but started and couldn't stop, sorry...

This bx 4 guy seems like a really cool guy. Misinformation aside. But I couldn't word it any better. It's perfect

So essentially the question still goes unanswered. What are we building? Well one thing we know for sure is, we are building tools and libraries around firecracker but that should just be one cog in a possibly large machine. For example we might want to do networking stuff that has nothing to do with firecracker exactly but would be useful for what we might want to do. So basically we build systems and tools to make working with systems not stressful. I mean we're running out of hairs to tear out already. So right now it's tooling around firecracker, tomorrow it might be a spaceship to mars, who knows? God knows we don't so we shouldn't limit ourselves.

yes there might be different/varying points of focus in the future but the overarching theme is that we want infrastructure to build or simulate building complex distributed systems. And right now, the point of focus is building tooling that allows us to bend firecracker to our will to do our bidding.

yes there might be different/varying points of focus in the future but the overarching theme is that we want infrastructure to build or simulate building complex distributed systems. And right now, the point of focus is building tooling that allows us to bend firecracker to our will to do our bidding.

Ladies and Gentlemen.. Let us Cook!


Ignore the .idea folder

Currently everything in the .idea folder is checked into VCS but some files are unique to each environment e.g. build_file_checksums. This causes issues when merging changes. It would really help if the folder can be ignored.

Done. To merge to master from #PR31


feature/minres

An implementation of the preconditioned MINRES method of Paige and Saunders.

LGTM.

Looks great! Thanks @aaustin141 !


Gradle plugin: Flyway dependencies

This is a suggestion for the gradle plugin
It would be nice to generate/maintain the flyway dependencies, i.e., the dependencies a project's flyway task has on another project's flyway task. (By dependency. I mean the tables can have a dependency)
I find that I often have a complex gradle subproject hierarchy with flyway migrations in each. For instance,
A
- B
  - C
  - D
- E

and let's say D and E depend on project C's flywayMigrate. When I run flywayMigrate on the base project, it runs it for all subprojects with the plugin enabled, but when I run it from within one project (let's say E), it does not run it for its "dependencies".
The current solution I have is to manually add dependsOn on the flywayMigrate task to related subproject flywayMigrate tasks. I'd rather define it in the plugin configuration itself instead of adding a dependency per subtask (flywayMigrate, flywayClean, etc.).
In addition, a good to have would be if the dependencies were not just created in gradle configurations but maintained in generated source files. Because I also run flyway clean/migrate tasks from my junit tests, so if I could build a config from the dependencies and then supply it to Flyway, that would make things a lot easier.
Any thoughts/feedback?
Also, would this repo be the right place to contribute this feature? I am currently working on a gradle plugin to do the same, but it would of course be nice coming from the official plugin itself.

would this repo be the right place to contribute this feature

Feel free to submit a PR :)

Any news on the PR?

Closing until further activity


Rename master to main

Perhaps we should also look at proposing this change back up to the repository we forked from?

@QuintinWillison Ok, I'll reach the owner.


Fix secret create docs error for secret store (#1355)

fix docs error

more docs fixes

(cherry picked from commit 1f0ad52d64f85bc8c39fbd9c27fd7a8cc494cd9d)
Describe changes
I implemented/fixed _ to achieve _.
Pre-requisites
Please ensure you have done the following:

[ ] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] If I have added an integration, I have updated the integrations table and the corresponding website section.
[ ] I have added tests to cover my changes.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

@stefannica assume it's not a problem to backport things that include src updates, just that they won't be reflected in what users see via the PyPI package?


[📖] Component Library page

Suggestion
Component Library
A Component Library is required that is prominent on the website. Click Components on the top of the website and you are dropped into a search system where the user can easily find components, such as Confetti, Calendar / Date Picker / sliders, etc.
Components should be:

Official (from the Qwik project)
Community components (this enables devs to share their work, and provide a link to their bio/site)
Stars to upvote / down vote
Requests for component
Making a Qwik Component package

There may be other value here to, such as starters but these should be separated from components themselves.
CC: @shairez

I'm not sure I understand what this would look like. Would that be a list of component links that point to other websites? Are there any example of something like that in another framework?

@maiieul seems like a component section in the qwik docs


Logstash 2.2 private method 'gets' called on CSV parsing

I have a Logstash configuration that is working in 1.7 but is now showing errors in 2.2.
I get XML streamed via TCP and use the XML filter plugin to pull out the data in the XML.  Some of the values in the XML is CSV data that I need to break out.  The XML filter is working as expected and producing a field containing the expected CSV data.
xml {
  store_xml => "false"
  source => "message"
  xpath => [
    "/event/detail/anomaly/typeII/text()", "Anom_TypeII",
    "/event/detail/anomaly/typeI/text()", "Anom_TypeI",
    "/event/detail/TRAP/serial/text()", "TRAP_Serial",
    "/event/detail/TRAP/alarm/text()", "TRAP_Alarm",
    "/event/detail/TRAP/collector/text()", "TRAP_Collector",
    "/event/detail/TRAP/battery/text()", "TRAP_Battery",
    "/event/detail/TRAP/service/text()", "TRAP_Service",
    "/event/detail/TRAP/counts/text()", "TRAP_Counts",
    "/event/detail/TRAP/dot_threshold/text()", "DOT_Threshold",
    "/event/detail/TRAP/dot_output/text()", "DOT_Output",
    "/event/detail/TRAP/threat_names/text()", "Threat_Names"
  ]
}

I then us CSV to parse out the contents of the field.
csv {
  source => ["Threat_Names"]
  columns => ["Sig01_Name", "Sig02_Name", "Sig03_Name", "Sig04_Name", "Sig05_Name", "Sig06_Name", "Sig07_Name", "Sig08_Name", "Sig09_Name", "Sig10_Name" ]
  separator => ","
}

In the older version I would get new fields with the content for each portion of the CSV.  Now I get a tag with _csvparsefailure and the message below in the logstash.log complaining about a private method getting called.
{:timestamp=>"2016-03-09T23:20:21.457000+0000", :message=>"Error parsing csv", :field=>"Threat_Names", :source=>["A211,B211,C211K2,G211,Ov1RfB50A3-0,Bg-SK2,Ova-SK2,Eh-SK2,,"], :exception=>#<NoMethodError: private method gets' called for ["A211,B211,C211K2,G211,Ov1RfB50A3-0,Bg-SK2,Ova-SK2,Eh-SK2,,"]:Array>, :level=>:warn}`
If there is a configuration error please let me know but I believe because of the private method it is something in the plugin.

Is there any way I can do a bounty for this bug?  If so please respond and I will use desired method

@Dustman77 no need for a bounty :) we'll take a look at it soon.

Ahh sweet, thank you so much.  If you need more info to reproduce please let me know.
Dustin Ballinger
VP / Principle Engineer
Intelligent System Support
e<EMAIL_ADDRESS>p:<PHONE_NUMBER>
www.IntelligentSystemSupport.com

On Mar 9, 2016, at 6:24 PM, Suyog Rao<EMAIL_ADDRESS>wrote:
@Dustman77 no need for a bounty :) we'll take a look at it soon.
—
Reply to this email directly or view it on GitHub.


exec() results in no such column: TTT

Hello there,
I want to use the exec() function for a bulk of sql statements. First I put together 1000 sql statements that resulted in the same error as for only one statement. The one-statement example:
import Database from "better-sqlite3";\
const db = new Database(dbPath);\
db.exec("UPDATE watchtimes SET watchtime = 21 WHERE username = \"TTT\";")
Following error is being thrown:

this[cppdb].exec(sql);
^
SqliteError: no such column: TTT

Running this exact same statement inside DBeaver works perfectly fine. And I cant imagine why this is not valid SQL.
Greetings

Can be closed. Wrapping the username with single quotes did the trick.


[Bug]: The application breaks when user tries to Launch duplicated app

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When the user duplicate the app and Launch it the Resource not found error is displayed

Steps To Reproduce
1. Go to home page
2. click on meatball icon below the application name
3. Click on the duplicate menu
4. after the new duplicated application opened up
5. come back to home page
6. now click on launch the application breaks

Environment
Release
Version
Cloud

@abhvsn can we close this?

Duplicate of #7799


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
b4db5fd -> 0e4338f

github.com/IBM/platform-services-go-sdk
require
patch
v0.63.0 -> v0.63.1

terraform-ibm-modules/common-pipeline-assets
action
patch
v1.22.1 -> v1.22.2

Release Notes

IBM/platform-services-go-sdk (github.com/IBM/platform-services-go-sdk)
v0.63.1
Compare Source
Bug Fixes

Global Search: add support for is_project_resource query param (c1aa9c7)

terraform-ibm-modules/common-pipeline-assets (terraform-ibm-modules/common-pipeline-assets)
v1.22.2
Compare Source
Bug Fixes

replace ORG_READER_GH_TOKEN with GITHUB_TOKEN (#693)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

Depends on https://github.com/terraform-ibm-modules/terraform-ibm-cbr/pull/397 to be merged first

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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


added "Exploration of Apple's Vision Pro"

Added https://varrall.substack.com. Hope the focus on visionOS isn't an issue.

Thank you!


Sometimes text is cut in the transcription. If I say, 1,2,3,4,5,6,7,8,9, few numbers may be skipped

This is primarily seen on Dev kits 2

yse bro, on dk2, should be fixed at build +156 - ready on Testflight/Internal Test https://github.com/BasedHardware/omi/releases/tag/v1.0.43%2B156-mobile-cm


refactor: es5 > es6

Dunno if your implementation is the right way to solve the issue at hand,
but it did indeed clean up my current express application.
I started this pr with the intent to understand what was happening in my own app,
I ended up with refactoring your code so I could read it clearly (es5 hurts my eyes),
I dislike constructor functions, but since you have them I prefer class syntax,
I really detest 4 spaces (2 spaces reads much nicer),
I updated the dependencies,
I added code comments (esdoc style), though prob not complete in any sense.
Most code is left intact, except,
I removed the public callback (it added noise)
Found one fix in private method runInitializers,
it wasn’t looping the initializers, hence couldn’t execute the public configure method when grouped.
Still work to do,

Maybe add a editorconfig to enforce your code standards,
I dunno if jshint reads es6 or if eslint wouldn’t be a better pick today.
Current code coverage implementation doesn’t work and should prob be replaced with something,
like Istanbul. https://github.com/mochajs/mocha/issues/2356
Bluebird hijacks the global promise implementation,
I know there is a release thingy, so yeah.

This is such a weird PR, but thanks for putting the time into making it.
As for the fix in runInitializers; in lodash 2.4.1 _.invoke did what _.invokeMap does in the latest version; there was no bug there.
Most of what you are doing here is motion without any progress or improvement. I also love writing ES6 code, now, but when this was written there weren't good transpilation techniques like there are today.  That doesn't necessarily mean this needs to be rewritten. IMO, done is better than perfect.
If I accept this pr that re-writes most of the code then it effectively becomes your project and I have no idea who you are or if you'll vanish off the face of the earth tomorrow.  Maybe you should start your own version and call it something different; especially if you don't think this implementation is the right way to solve the issue.

As stated early on,
I was not intending to fix anything nor hunt down bugs in the code,
I only wanted to grasp what was going on in your code.
In the process I rewrote the code to es6.
While I literally only change from constructor functions to class syntax,
require statements to import, and sprinkle some const on top of everything,
I understand your concerns.
In hindsight I might have pushed this to early without properly considering motives for doing so.
Thank you for taking the time to respond.

No harm and thanks for taking an interest in the code. I really won't be
offended if you start something else with a more modern code base.
On Sun, Dec 4, 2016 at 1:42 AM Henrik Lundgren<EMAIL_ADDRESS>wrote:

As stated early on,
I was not intending to fix anything nor hunt down bugs in the code,
I only wanted to grasp what was going on in your code.
In the process I rewrote the code to es6.
While I literally only change from constructor functions to class syntax,
require statements to import, and sprinkle some const on top of everything,
I understand your concerns.
In hindsight I might have pushed this to early without properly
considering motives for doing so.
Thank you for taking the time to respond.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jgable/express-initializers/pull/1#issuecomment-264693841,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKCkThEElMCU0IW9DC6khoVUFRAjQc4ks5rEosOgaJpZM4LCNnC
.