[WIP] Support for additional network adapters in LabConfig

Starting this pull request as work in progress to discuss further.
Sample working VM configuration using new options.
$LABConfig.VMs += @{
    VMName = 'Management'
    ParentVHD = 'Win10_G2.vhdx'
    AdditionalNetworkAdapters =
        @{
            VirtualSwitchName = 'Litware-LAN' # mandatory
            Mac = '00-0C-29-04-8D-C6'
            VlanId = 15 # Optional parameter if VLANs are used in the environment
            IpConfiguration = @{ # DHCP or specific IP set with Set-VMNetworkConfiguration function
               IpAddress = '<IP_ADDRESS>'
               Subnet = '<IP_ADDRESS>'
            }
        },
        @{
            VirtualSwitchName = 'Litware-LAN' # mandatory
            IpConfiguration = @{
                IpAddress = '<IP_ADDRESS>'
                Subnet = '<IP_ADDRESS>'
            }
        }
  }

I would like to add following parameters for all NICs on Lab and VMs to mirror production

/= DHCP: DNS Server IPv4, DNS IPv6 if IP /= fe80 (default)
Optionally Disable NetBIOS over TCP/IP
Optionally Disable LMHost


Delete old branches

There are a handful of old branches that need to get cut. They should be scanned before anything useful. I'll comment on this issue with a list and small summary of the purpose of the branch.

I guess I closed them all last night. Well if anyone wants to check any of them out then they can go back tan look at the pandasqt project. I think that most were outdated on that repo anyways.


Allowed redirect_uri be defined manually

If you are using kibana over proxy or forwarded (ex. nginx), you need set the base redirect_uri manually if it cannot be inferred properly from server settings.
I added a new "oauth2.redirectUri" config that can be used to set location on server.auth.strategy
server.auth.strategy(config.get('oauth2.provider'), 'bell', {
          provider: config.get('oauth2.provider'),
          password: config.get('oauth2.password'),
          clientId: config.get('oauth2.clientId'),
          clientSecret: config.get('oauth2.clientSecret'),
          location: config.get('oauth2.redirectUri'),
          isSecure: !!config.get('server.ssl.cert')
 });

Great! I was needing to set forceHttps because we're behind an ELB, and this would cover this scenario. Could you also update the readme mentioning this config? I know it's super minimal but, I'd be nice.

Hi Nathan.  I updated the readme with new config "redirectUri". I've made some tests to check that config.get will not throw exception cause redirectUri is not required on config object.  (see Joi.string().required())

Thanks @marcuslacerda !


[bug] Not rendering any error using ValidationError Component

Is there an existing issue for this?

[X] I have searched the existing issues

Formspree React Version
2.4.0
Formspree Core Version
2.8.0
Current Behavior
No error is shown.
Expected Behavior
A validation error should be shown when using the component and there is an error is state.errors.
Steps To Reproduce
Forced an error by providing an invalid form id, passing the state.errors prop to the ValidationErrors component, form.errors having an error within the object, but you will not see anything displayed.
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
Just a note I was using Vite/Astro and CRA to test this, however in the vite/astro version I was using npm and in the React version I was using yarn

Hi can you provide a code snippet of your form using ValidationError?

`const Form = () => {
const [state, handleFormSend] = useForm('brokenid')
return (

First Name

Last Name

E-mail

Some tips - as long as needed

Message

Send

)
}`

`const Form = () => {
const [state, handleFormSend] = useForm('xnqrvpgq')
return (

First Name

Last Name

E-mail

Some tips - as long as needed

Message

Send

)
}`

Thanks. So ValidationError is used to display the error of either a particular field, or other form-wide errors not associated with a particular field.
When you render a validation error, you pass the field it should apply to, or no field if you want to render form-wide errors.
You have the following code at the bottom of your form:
        <ValidationError
          prefix="Email"
          field="email"
          errors={state.errors}
        />

This is going to render just errors for the email field. If you want it to render form-wide errors, like an invalid form id error, you should remove the field="email" line.
If your goal is to render email field errors, I suggest moving the validation error up under the email input.
You can also add validation errors for the other fields by including the field="<name>" property for each, passing the name of the corresponding input. It's best to place them under the respective email fields so that the error is displayed under the input.

Hi @colevscode
I have added validation as per the doc. But validation doesn't seems to work for individual fields. It works in general if I do not add any specific field. Here is the code ...
<form onSubmit={handleSubmit} className="form_wrap">

           First Name

          <input
            id="fname"
            type="fname"
            name="fname"
            className="mt-1 block w-full rounded-md input_form"
          />
          <ValidationError field="fname" errors={state.errors} />

           Last Name

          <input
            id="lname"
            type="lname"
            name="lname"
            className="mt-1 block w-full rounded-md input_form"
          />

            Email Address

          <input
            id="email"
            type="email"
            name="email"
            className="mt-1 block w-full rounded-md input_form"
            required
          />

            Message

          <textarea
            id="c_message"
            name="c_message"
            className="mt-1 block w-full rounded-md input_form"
          />
          <ValidationError
            prefix="c_message"
            field="c_message"
            errors={state.errors}
          />

      <button
        type="submit"
        disabled={state.submitting}
        className="inline-flex justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
      >
        Submit
      </button>
      <ValidationError errors={state.errors} />
    </form>

My first question is, do you have any validation rules set up that would display an error? Formspree can only validate rules that are set up in formspree's backend. Custom backend validation rules can be created via the formspree CLI using the fields property in formspree.json. See the help docs on formspree.json.
The other way backend validation rules are created is if you use special fields that have associated implicit validation rules. For example, using the email field will perform email validation. However, I don't see a <ValidationError> for the email field above.

Okay, I wasn't aware of setting validation rules at the backend. I will have a look at it.
Thank you.

I came across the same problem, also unaware that validation rules need to be set up in the backend. It makes no mention in the docs it seems. It really should. Otherwise you are left thinking it works out of the box.


<select can-value="{value}" with undefined value and option without value

<select class="form-control" can-value="{state}" {{#if cityMap.isPending}}disabled{{/if}}>
          <option value="">Loading...</option>

If state is undefined / null, you still have to have value="" for Loading to be seen in Chrome.  It should show Loading ... without value="".

<select can-value="{state}">
  <option>Loading ...</option>


Support parameters for update/delete queries and criteria

We already have an ignored test in the code base: HQLUpdateQueryTest#testUpdateQueryWithParameters

This is done.
Thanks, @gbadner for #236.
I tested criteria queries and her fix also works there.
And I made it work for native SQL update/deletes in #238.


ResponseFieldMarshaller incorrectly overwrites __typename for fragments on GraphQL Interfaces

Summary
The ResponseFieldMarshaller generated for types with inline fragments on GraphQL interfaces causes the __typename of the parent type to be overwritten by the __typename of the interface
Version
2.4.2 and 2.5.2 (latest as of reporting)
Description
Minimal example:
type Query {
	foo: Foo!
}
type Foo implements Bar {
	id: ID!
}

interface Bar {
	baz: String
}

{
	foo {
		... on Bar {
			baz
		}
	}
}

val data = FooQuery.Data(
	foo = FooQuery.Foo(
		asBar = FooQuery.AsBar(
			baz = "bat"
		)
	)
)

data.toJson()

{
	"data": {
		"foo": {
			"__typename": "Baz", // Should be `Foo`
			"baz": "bat"
		}
	}
}

Context: Stumbled upon this issue when creating some integration tests, where I use the generated data classes combined with toJson as the result from a MockWebServer, expecting that parse(toJson(dataClass)) == dataClass, but this did not hold.
As far as I could investigate, this is the root cause.
Let me know if any more context is needed, and thanks for the great library 🙂

Makes sense! I like that as a workaround a lot actually.
I think I may have stumbled upon a separate issue, or perhaps the true root cause, when attempting to use this fix.
I'll report back as I learn more.
Thanks for the quick help 🙂

Makes sense! I like that as a workaround a lot actually.
I think I may have stumbled upon a separate issue, or perhaps the true root cause, when attempting to use this fix.
I'll report back as I learn more.
Thanks for the quick help 🙂

Looks like I may have been using malformed test data - the parent type Foo in the 'real world code' is actually a GraphQL Union, and by not providing a concrete union variant in the __typename, the parser would (probably rightly so) not parse the data into the interface.
So the updated example becomes this:
type Query {
	foo: Foo!
}

union Foo = Foo1 | Foo2

type Foo1 implements Bar {
	id: ID!
}

type Foo2 implements Bar {
	id: ID!
}

interface Bar {
	baz: String
}

{
	foo {
		... on Bar {
			baz
		}
	}
}

val data = FooQuery.Data(
	foo = FooQuery.Foo(
		asBar = FooQuery.AsBar(
			baz = "bat"
		)
	)
)

data.toJson()

{
	"data": {
		"foo": {
			"__typename": "Baz",
			"baz": "bat"
		}
	}
}

and the solution then becomes:
val data = FooQuery.Data(
	foo = FooQuery.Foo(
		__typename = "Foo1",
		asBar = FooQuery.AsBar(
			baz = "bat"
		)
	)
)

data.toJson()

Looks like I may have been using malformed test data - the parent type Foo in the 'real world code' is actually a GraphQL Union, and by not providing a concrete union variant in the __typename, the parser would (probably rightly so) not parse the data into the interface.
So the updated example becomes this:
type Query {
	foo: Foo!
}

union Foo = Foo1 | Foo2

type Foo1 implements Bar {
	id: ID!
}

type Foo2 implements Bar {
	id: ID!
}

interface Bar {
	baz: String
}

{
	foo {
		... on Bar {
			baz
		}
	}
}

val data = FooQuery.Data(
	foo = FooQuery.Foo(
		asBar = FooQuery.AsBar(
			baz = "bat"
		)
	)
)

data.toJson()

{
	"data": {
		"foo": {
			"__typename": "Baz",
			"baz": "bat"
		}
	}
}

and the solution then becomes:
val data = FooQuery.Data(
	foo = FooQuery.Foo(
		__typename = "Foo1",
		asBar = FooQuery.AsBar(
			baz = "bat"
		)
	)
)

data.toJson()

With that said, I think we can close the issue.

With that said, I think we can close the issue.


Ckeditor stripping empty i tags

Is there a way to stop CKEditor to strip an empty i tag element.
I've seen this type of config that can be applied directly on the config file.
CKEDITOR.dtd.$removeEmpty['i'] = false
However, how can this be translated with this bundle?

Currently, this is not supported, you wan't update the dtd directly. Anyway, you can override the form theme of the bundle and do what you want in the ckeditor_widget block.

An other solution is to use form extension as described here: https://symfony.com/doc/current/cookbook/form/create_form_type_extension.html
Then, you can easily manage your own option an manipulate the dtd according to them.
If you find a way to manage the dtd in a generic way, I'm :+1: for adding it to the bundle.


Create padding from the right side

Hey @nagix,
I know that I can use the following:
        layout: {
            padding: {
                left: 0,
                right: 30,
                top: 0,
                bottom: 0
            }
        },

to create padding from the right side, when I do that and draw an average line the average line gets also the padding. Is there a way to draw the line on 100% of the canvas and the new values will start from 30px from the right?
Edit:
Another option is to start the streaming 30px from the right - but keep the chart size as before, is it possible ?
I found that chart.annotation.elements.myAvg.chartInstance.boxes[0].margins.right set to 30 can I override it and set this to 0 ?

chartjs-plugin-annotation doesn't support it, but you can write your own plugin code to draw the average line. For example:
new Chart(ctx, {
    // ...
    plugins: [{
        afterDraw: function(chart) {
            var ctx = chart.ctx;
            var y = chart.scales['y-axis-0'].getPixelForValue(avg);

            ctx.lineWidth = 3;
            ctx.strokeStyle = '#ff0000';
            ctx.beginPath();
            ctx.moveTo(0, y);
            ctx.lineTo(chart.width, y);
            ctx.stroke();
        }
    }]
}

See https://www.chartjs.org/docs/latest/developers/plugins.html for more details.

I managed to draw the line with 100% width by creating another chart over the first chart (with the padding) and fetch the data from the same source and in each push check y-axis values and fix them if needed, not the easy way but it's working :)
thank you again for your help!


r4 amplifier issue on 20230618

r4 was again unstable due to an FEE reset on 20230618. This issue covers exposures 185816 - 185824 and as a result tiles [5039, 6111, 7509, 7510, 7511, 7519, 9227, 9597, 10621] have been marked unsure. The effect is strongest at exposure 185816 and becomes less evident in later exposures.

@ashleyjross , want to try to assess where we should draw the line on this one?  The unstable amplifiers are barely bad by eye out to 185824, which is where we've currently marked unsure to.  But e.g. the redshifts for 185819 still look fine to me, so perhaps I'm being too stringent.  But maybe my eye isn't sensitive enough and we should be masking more.  Can you say something more quantitive?  Thanks!

Tile 9227, expid 185822, does have suspiciously low LRG success (93%), so masking r4 out to where you marked unsure might make the most sense.

Okay, let's mark r4 as bad for<PHONE_NUMBER>24 and reprocess.  These aren't in the MTL and so these would follow our usual reprocessing mode.  @abhi0395 or @marcelo-alvarez , maybe?

Pinging this ticket.

Thank you for reminding @schlafly, and I am so sorry for the delay in reprocessing. I have reprocessed these tiles now and have updated the nightqa.
https://data.desi.lbl.gov/desi/spectro/redux/daily/nightqa/20230618/
Please close the issue if you feel it's resolved.

@abhi0395 : looks like none of those have their tile-qa*fits file:
raichoor@perlmutter:login18:~> TILEIDS="5039 6111 7509 7510 7511 7519 9227 9597 10621"
raichoor@perlmutter:login18:~> date; for TILEID in $TILEIDS; do ls /global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/$TILEID/20230618/tile-qa-$TILEID-thru20230618.fits; done
Mon 14 Aug 2023 08:23:24 PM PDT
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/5039/20230618/tile-qa-5039-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/6111/20230618/tile-qa-6111-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/7509/20230618/tile-qa-7509-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/7510/20230618/tile-qa-7510-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/7511/20230618/tile-qa-7511-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/7519/20230618/tile-qa-7519-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/9227/20230618/tile-qa-9227-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/9597/20230618/tile-qa-9597-thru20230618.fits': No such file or directory
ls: cannot access '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/10621/20230618/tile-qa-10621-thru20230618.fits': No such file or directory

quickly looking at the 5039 log files, it looks like the spectra for petal=4 fail, leading to further errors downstream.
raichoor@perlmutter:login18:~> cat /global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/5039/20230618/logs/spectra-4-5039-thru20230618.log
================ Start of Process 0 ================
ERROR:util.py:88:runcmd: missing input /global/cfs/cdirs/desi/spectro/redux/daily/exposures/20230618/00185824/cframe-b4-00185824.fits.gz
ERROR:util.py:88:runcmd: missing input /global/cfs/cdirs/desi/spectro/redux/daily/exposures/20230618/00185824/cframe-z4-00185824.fits.gz
CRITICAL:util.py:99:runcmd: FAILED missing required inputs: desispec.scripts.group_spectra.main(['--inframes', '/global/cfs/cdirs/desi/spectro/redux/daily/exposures/20230618/00185824/cframe-b4-00185824.fits.gz', '/global/cfs/cdirs/desi/spectro/redux/daily/exposures/20230618/00185824/cframe-z4-00185824.fits.gz', '--outfile', '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/5039/20230618/spectra-4-5039-thru20230618.fits.gz', '--coaddfile', '/global/cfs/cdirs/desi/spectro/redux/daily/tiles/cumulative/5039/20230618/coadd-4-5039-thru20230618.fits', '--onetile', '--header', 'SPGRP=cumulative', 'SPGRPVAL=20230618', 'NIGHT=20230618', 'TILEID=5039', 'SPECTRO=4', 'PETAL=4'])
================= End of Process 0 =================

note that you d then also have to re-generate the nightqa, as several diagnoses there use those tile-qa*fits file.
thanks!

Hi @araichoor, thank you so much for pointing out these issues. I am sorry that I missed this important part. It seems I need to flag petal=4 in all cameras together and reprocess them again. If I remember correctly, the pipeline processes all cameras on a given petal together, so it fails if anyone is missing. I will discuss them with Anthony tomorrow and reprocess them.

Hi @araichoor, it's reprocessed now. The updated nightqa is available at:
https://data.desi.lbl.gov/desi/spectro/redux/daily/nightqa/20230618/

Thanks Abhijeet!  I repeated QA on these tiles and am closing.


Antiviruses Keep Flagging Supermium as malware.

Hello just figured I would let you know that anti viruses keep flagging supermium as malware.
Virus total
https://www.reddit.com/r/windows7/comments/1b5ej7z/is_supermium_safe/
This person said comodo anti virus flaged supermium since it was making unusual IP address pings so no idea what was going on there.
https://www.reddit.com/r/windows7/comments/1awpn0j/supremium_migration_from_brave_ff_pops_up_odd/
Than just recently I installed malwarebytes & malwarebytes is flagging supermium's firewall access as malware. I had to manually look in the registry to find out what malwarebytes was flagging.
Which was this Adware.Ghokswa.Generic, HKLM\SYSTEM\CURRENTCONTROLSET\SERVICES\SHAREDACCESS\PARAMETERS\FIREWALLPOLICY\FIREWALLRULES|{B3E6F332-3127-46DA-9F0A-AFCAA7DE2A51}
So I went to where malwarebytes said there was a virus. I opened up the registry than I saw this
c=Inbound rule for Chromium to allow mDNS traffic.|EmbedCtxt=Supermium|
so immediately knew it definitely wasn't malware:
So I told malwarebytes to ignore it but I am just wondering if there's anything you can do on your end? To get antiviruses to read or register supermium as safe?

So I told malwarebytes to ignore it but I am just wondering if there's anything you can do on your end? To get antiviruses to read or register supermium as safe?

For antivirus companies, this issue is solved by digital signatures (cert) for PE COFF files.
Or the author should write to the antivirus companies themselves to include his software in a package of testing for false positives - such testing is always done when antivirus updates are released.

Supermium 122 appears to be in a good state as no vendors appear to be tagging the 122 executables and binaries.

Supermium 122 appears to be in a good state as no vendors appear to be tagging the 122 executables and binaries.

Well, Supermium 122.0.6261.152 (R6) is still flagged by some engines at VirusTotal:

supermium_122_64_setup.exe - 2/68 (which is OK)
supermium_122_32_setup.exe - 10/67 (which doesn't look good), its setup.exe is 23/69 (OMG!) and uninstall.exe is 19/72

With 124.0.6367.245 the situation became even worse for 32-bit on VirusTotal - 18/63 false detections for supermium_124_32_setup.exe, no change for supermium_124_64_setup.exe (2/69).
Now even BitDefender raises an alarm, which is a bad sign.
Some AV engines may be referencing each other when detecting malware, so this spiral won't go away on its own :(

For the first time today, Avira (installed) marked it as a trojan TR/Redcap.qnssu.
I don't know if it's false or true, but do something about it.


Update annotations linked segment when merging/splitting objects

When using the linked segmentation and filter by segmentation features together with the graph server, each annotation gets linked to the root object. If a graph operation is performed (merge/split), the root object changes without updating the annotations, hence all annotations linked to the old root suddenly become invisible / get filtered.
Possible solutions: Change behavior to link to the supervoxel ID instead. Or could ask graph server for newest generation of each linked root ID and update each annotation accordingly...
Are there situations where people would not want their segments to be updated automatically, but stay connected to the old root object?
@sdorkenw @amwilson149 - any thoughts?

Closing in favor of #227


Version 0.3.0

Thanks for this plugin, I'm using it in an angularjs webapp that we are migrating to webpack in our intent to modernise it.
While having a look, I've spotted that in the git tag and in the package.json you have different version numbers. Can you publish the latest version please?

It lacks a tag but commit cbfe426df693711756e9e497a910e7b107b4708c seems to be the one you're looking for.

Thanks! I've created a tag.


nextcloud: improve documentation on defaults

Motivation for this change

It should be made explicit in the eval-error that the CVE only affects
a component which is turned off by default.
For more clarity, the default version used by the module is noted in
the manual.

Closes #108419
cc @madonius
Things done

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

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

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

It might also be worth noting that they won't be fixed in 19.x, from my understanding. So upgrading to a newer major release is the only solution.

It might also be worth noting that they won't be fixed in 19.x, from my understanding. So upgrading to a newer major release is the only solution.


Importing another haskell project as dependency

At the moment, to import a haskell project setup like Haskell-Demo from another project, we need to call haskellPackages.callPackage on cabal.nix instead of default.nix.
{
  pkgs ? import ./pkgs.nix,
  haskellPath ? "ghc844"
}:
  with pkgs;
  let
    haskellPackages = lib.getAttrFromPath (lib.splitString "." haskellPath) haskell.packages;
    multihash = haskellPackages.callPackage (import ../hs-multihash/cabal.nix) {};
    drv = haskellPackages.callPackage (import ./cabal.nix) { inherit multihash; };
  in
    haskell.lib.buildStrictly (
      ...
    )

Need to update default.nix so that we can directly import it instead.

What do you mean by this:

Need to update default.nix so that we can directly import it instead.

I think we initially wanted be able to import the default.nix of the project being imported. Currently we have to import cabal.nix.

Right now this has been migrated to the callPackage pattern, so this is no longer a problem.


[SPARK-6113] [ml] Tree ensembles for Pipelines API

This is a continuation of [https://github.com/apache/spark/pull/5530] (which was for Decision Trees), but for ensembles: Random Forests and Gradient-Boosted Trees.  Please refer to the JIRA [https://issues.apache.org/jira/browse/SPARK-6113], the design doc linked from the JIRA, and the previous PR linked above for design discussions.
This PR follows the example set by the previous PR for Decision Trees.  It includes a few cleanups to Decision Trees.
Note: There is one issue which will be addressed in a separate PR: Ensembles' component Models have no parent or fittingParamMap.  I plan to submit a separate PR which makes those values in Model be Options.  It does not matter much which PR gets merged first.
CC: @mengxr @manishamde @codedeft @chouqin

Test build #30729 has started for   PR 5626 at commit ea3d901.

Test build #30729 has finished for   PR 5626 at commit ea3d901.

This patch fails Scala style tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

  case class Params(

  case class Params(

final class GBTClassificationModel(

final class GBTRegressionModel(

trait TreeEnsembleModel

case class Explode(child: Expression)

This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30729/
Test FAILed.

Test build #30764 has started for   PR 5626 at commit 855aa9a.

Test build #30764 has finished for   PR 5626 at commit 855aa9a.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

  case class Params(

  case class Params(

final class GBTClassificationModel(

final class GBTRegressionModel(

trait TreeEnsembleModel

This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30764/
Test PASSed.

@jkbradley I made one pass on the public APIs. There are some issues from the ml.DT PR:

Node.prediction should say "leaf" node instead of "internal":
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/tree/Node.scala#L33
CategoricalSplit.getLeftCategories. Maybe this should be a property since it is immutable. No strong preference. Btw, I'm thinking about using BitSet to store left category indices to save storage.

We can address those in a separate PR. I will take another pass on the implementation.

Updated!  I think the only thing I didn't do was make stepSize a shared param.  Copying from the comment above:

I'm hesitating about putting it in sharedParams since the intended range can differ between algorithms. For GBTs, it should be in (0, 1], but it could be different for other algs.

I updated the doc in Node.prediction, as well as getLeft/RightCategories.  I'll make a JIRA for using BitSet internally for categories.

Test build #30882 has started for   PR 5626 at commit bbae2a2.

Test build #30882 has finished for   PR 5626 at commit bbae2a2.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

  case class Params(

  case class Params(

final class GBTClassificationModel(

trait HasSeed extends Params

final class GBTRegressionModel(

This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30882/
Test PASSed.

LGTM except some minor inline comments.

Updated.  The only remaining question is about the (private[ml]) notes.  (See comment above.)

test this please

test this please

Test build #698 has started for   PR 5626 at commit 729167a.

Test build #698 has finished for   PR 5626 at commit 729167a.

This patch passes all tests.

This patch merges cleanly.

This patch adds the following public classes (experimental):

  case class Params(

  case class Params(

final class GBTClassificationModel(

trait HasSeed extends Params

final class GBTRegressionModel(

This patch adds the following new dependencies:

tachyon-0.6.4.jar
tachyon-client-0.6.4.jar

This patch removes the following dependencies:

tachyon-0.5.0.jar
tachyon-client-0.5.0.jar

Merged into master. Thanks!

@mengxr  Curious: Why does it say there are unmerged commits?  (I checked, and the last commit was merged correctly.)


R4R: DTL stop sync TransactionEnqueued event once DTL_SHUTOFF_BLOCK is set

Goals of PR
Core changes:

Preparing for bedrock upgrade, DTL stop sync TransactionEnqueued event once DTL_SHUTOFF_BLOCK is set in addressManager
Add sleep in deploy scripts to accommodate normal l1 blockchain(produce blocks periodically)

LGTM


When wifimgr config validation fails, restore of persistant wifi info fails

Describe the bug
When wifimgr config validation fails, restore of persistant wifi info fails
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context

Fixed in branch initialProvisioning


table data over a certain amount starts lagging the app

right now when it paginates a query or a scanned result of a table it displays all of it in the app. Which after something like 100 or so items in the app data table,  It lags the app

thinking about this maybe the data is cached in some other db/key value store


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Replication of a slick

https://codesandbox.io/s/31z8rvmmyp

Can you describe about issue and reopen

https://codesandbox.io/s/kw0pol2v97
Sorry i have missed adding  a param in the code i.e  slidesToShow. So the issues is i am trying to display a set of images with react-slick and i want two slicks at a time present on the view. so i passed
slidesToShow = 2 in Slider Props. This issue appears when only one is displayed with slidesToShow set to 2. Since data i am fetching is dynamic, so i have no control over the number of images fetched.


fix: Inconsistent font weights on landing page

Overview
This PR fixes an inconsistent UI issue raised in #2824:

Large paragraphs have bold Rubik font
Small paragraphs have normal Inter font

Changes

On the landing page (components/LandingPage.tsx)

remove the "h4" class on the <p> elements
add fontSize: '1.5rem' to styles of <p> elements that are associated with <h1> headings

the last <p> element on this page ("Become a full stack software engineer - 100% Free") already had this style

After these changes:

the font of the headings is bold Rubik (unchanged)
the font of all paragraph elements is normal Inter

Before:

After:

Notes

Closes #2824

@flacial I moved the LandingPage component to its own folder and created a scss module for it. Could you review the changes?


Insert missing copy into mainnet version

Just going to look to see if there's anything else obvious I missed..

👍 Thanks for catching that I didn't migrate this from the old PR

Technically you did, it just didn't make it into the version 0.50 section

Can't see anything else, I'm going to hit ✅


Blank screen on load

I am getting a blank (black) screen when loading with this module added to config.

i get it solved ..
try to go to : MagicMirror/modules/MMM-Voice-Control/node_modules/annyang/dist/  and copy the annyang.js to this folder MagicMirror/modules/MMM-Voice-Control/node_modules/annyang/   .
try evrytime to take a look at your debug ( devlopper Tool ) .
I hope that it help ;-)

I followed your directions and now the MagicMirror is loading without issues, thanks!
However, the module still doesn't appear to be functioning properly. I tried out "what can I say?" and didn't get a response. I checked the console in debug and saw the following error message for MMM-Voice-Control. Any idea what is causing the "network" error?
SpeechRecognitionError {error: "network", message: "", type: "error", target: SpeechRecognition, currentTarget: SpeechRecognition…}
bubbles:false
cancelBubble:false
cancelable:false
composed:false
currentTarget:
SpeechRecognition
defaultPrevented:false
error:"network"
eventPhase:0
message:""
path:Array[0]
returnValue:true
srcElement:SpeechRecognition
target:SpeechRecognition
timeStamp:9665.535
type:"error"

hey , i get the same problem , and get so solved..
try to put your question in this forum : https://forum.magicmirror.builders/topic/611/mmm-voice-control
many devloppers will help you

Thanks for the suggestion…just posted to the MagicMirror forum

On Oct 19, 2016, at 12:18 PM, Mohamed Dahmani<EMAIL_ADDRESS>wrote:
hey , i get the same problem , and get so solved..
try to put your question in this forum : https://forum.magicmirror.builders/topic/611/mmm-voice-control https://forum.magicmirror.builders/topic/611/mmm-voice-control
many devloppers will help you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dr4ke616/MMM-Voice-Control/issues/4#issuecomment-254913478, or mute the thread https://github.com/notifications/unsubscribe-auth/AUOaNpp8Q5jNUenI8ctDzGpgBGSOUkkmks5q1m0egaJpZM4KXasQ.


Feature/msal migration

Pull Request Description
[Add a description of your pull request here]

Future Release Comment
[Add description of your change, to include in the next release]
[Delete any or all irrelevant sections, e.g. if your change does not warrant a release comment at all]
Breaking Changes:

None

Features:

None

Fixes:

None

Is this ready to review? if so please put it out of draft.
Also - the build fails because of formatting, please run go fmt on your code, and make sure all the tests pass.

@AsafMah Raised the draft PR since there are few test cases need to be added to it. By the time the main files can be reviewed.


Orbit Slider: First bullet jumps 8px to the top

What should happen?
The bullets in the orbit slider should stay all on the same height.
What happens instead?
The first bullet in the orbit slider jumps 8px to the top after the slide changed. It only happens in Safari on macOS. I only testet it in Safari 11.1 on macOS 10.13.4
Possible Solution

Test Case and/or Steps to Reproduce

Test Case: https://www.oeriginal.ch/

How to reproduce:
1.
2.
3.
Context

Your Environment

Foundation version(s) used: 6.4.3
Browser(s) name and version(s): Safari 11.1
Operating System and version (desktop or mobile): macOS 10.13.4

Checklist (all required):

[x] I have read and follow the CONTRIBUTING.md document.
[x] There are no other issues similar to this one.
[x] The issue title is descriptive.
[x] The template is correctly filled.

I found the problem: Between  i added  slide details. to every bullet. The problem is not that the first buttom jumps to the top. Because oft the . Every bullet jumps 8px to the bottom. When you change the slide for some reason the  in the first bullet will be removed. And it jumps to the correct position. The other bullets stay at the bottom. If you remove all  in the bullets it works.
I don't find the reason why the bullets jumps to the bottom (but I think it is a CSS problem with Safari >=11.1) and I don't know why the span in the first bullet will be removed.

So far I can not reproduce it on Browserstack.

Still happening in 6.5.0-rc.2, on Mac OSX 10.13.6, with Safari 11.1.2

Still happening in 6.5.0-rc.2, on Mac OSX 10.13.6, with Safari 11.1.2

Please provide a codepen where we can clearly see this and additional information about the environment.

@macgraphic I think I found where the problem comes from.
Take a look at the template we provide for bullets in the Orbit Documentation:
```html

  <button class="is-active" data-slide="0">
    First slide details.
    Current Slide
  </button>
  <button data-slide="1">
    Second slide details.
  </button>
  <button data-slide="2">
    Third slide details.
  </button>
  <button data-slide="3">
    Fourth slide details.
  </button>

Orbit will automatically detach the last span inside the button of the current slide and move it to the next. If you forgot Current Slide, this will work incorrectly as the "last span".
For now, make sure you have two span in the active bullet button: one to describe the slide and one to indicate the active status.
I'll see if we can change this to a less opinionated and more customizable approach. For the "8px jump", I am not able to reproduce it (it seems you updated your website). Could you provide a Codepen so we can reproduce the issue ?

I opened a PR related to the issue of the disappearing span elements. See https://github.com/zurb/foundation-sites/pull/11434.
For the "8px jump", I were not able to reproduce it and I am waiting for a reply of @macgraphic or @marvinbernd.

Hi @ncoden & @marvinbernd.
Hopefully you can both see the following Codepen OK.
During more local testing, I found this Safari issue only occurred when there was more than one Orbit set up on the same page.
And whats-more  problematic, is it's not every time it shows the problem.
Have a try on the following, using Safari - the issue is with the second slider (one with images).
https://codepen.io/MacGraphic/pen/ajgZPE

@macgraphic Thank you, I'll take a look.

@macgraphic I am not able to reproduce it. Even after may tries, bullets always render correctly, without jump.
macOS 10.13.6 Safari 11.0.2 (13605.3.8)

I think I may have found the culprit...
On the codepen I have commented out the last bullet. When this is commented out, and the number of bullets do not match the number of slides, the issue shows.
One too many bullets, has no effect. But one too few, shows the issue in Safari.
It also only happens on the second or third cycle through the orbit slides.
Unless @marvinbernd has anything else to add, or any other issue can be found, I would close this issue, and mark as resolved.

Thank you @macgraphic for your investigation. I'm closing the issue.


Test instances with results should not be editable

Users must be forbidden from changing a test instance if there are already results using that test instance.

@apdavison : Should we have a similar restriction on model instances?

Model instances should not be editable at all.

Oh ok.... can't we enable editing as long as results haven't been created using it? ... same as for test_instances? Just in case some mistake was created while creating it?
tagging @HFragnaud

yes, that makes sense


Sorting by secondary or tertiary keys doesn't work

The secondary and tertiary sort keys are always BYNAME.  This may have something to do with the original implementation somewhat dubiously having DynArray's sort0, sort1, and sort2 be static (class, rather than instance) variables. The JavaScript implementation uses instance variables for sortX, because I thought that was cleaner.
I've tried to fix the bug by copying sortX in the DynArray copy method, but that didn't help.
One workaround could be to get rid of sort0, sort1, and sort2, and simply use a stable sorting algorithm.

Fixed by switching to static sort key variables, as in the original.


Update version: CorsixTH.CorsixTH version 0.66

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/113585&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error

@wingetbot run

/azp run


LExpress/doctrine1 and Doctrine.php

Why is the file /lib/Doctrine.php left out.
It leaves out
class Doctrine extends Doctrine_Core
{
}

which breaks some code like Doctrine::getTable.

As the comment in the class says:

This class only exists for backwards compatability. All code was moved to Doctrine_Core and this class extends Doctrine_Core

This isn't something we made, it had been done in the main doctrine1 repo (as far as I remember it was changed when the 1.2.0 goes out).
https://github.com/doctrine/doctrine1/blob/master/lib/Doctrine.php
You need to update all your code where you are using Doctrine: to Doctrine_Core::

Ahh. Thanks.  There are some plugins like sfGuardDoctrinePlugin which I would rather not edit. I think it will be easier to just add
class Doctrine extends Doctrine_Core
{
}


a11y: Narrator on Win 11 reads the message in SemanticsService.announce() twice

Steps to reproduce
Use SemanticsService.announce() on Win 11 and verify with a screen reader, such as Narrator, that the message is read.
I have attached a code sample where I have added SemanticsService.announce("test", TextDirection.ltr); to the _incrementCounter() function. Whenever the increment button is pressed, the text "test" should be read once when a screen reader is active.
Expected results
The message in announce() is read once.
Actual results
The message in announce() is read twice.
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    SemanticsService.announce("test", TextDirection.ltr);
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Hi @fdennis, I checked this on Windows 10 and heard the reader only read one time as: alert test. I'm on the latest Flutter stable version 3.24.0. I haven't checked on Windows 11 yet but will do if necessary.
What is your Flutter version? And which platform are you checking on? (Windows or Web?)

Hi @fdennis, I checked this on Windows 10 and heard the reader only read one time as: alert test. I'm on the latest Flutter stable version 3.24.0. I haven't checked on Windows 11 yet but will do if necessary.
What is your Flutter version? Please provide the output of flutter doctor -v.
And which platform are you checking on? (Windows or Web?)

Hi @huycozy
I am on the latest stable version as well, 3.24.0 and I hear alert test alert test from my code sample.
The platform is Windows.
I am not sure what exact parts of the flutter doctor -v output you are interested in, but here it is (I have removed some parts):
[✓] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version
    10.0.22631.3593], locale en-US)
    • Flutter version 3.24.0 on channel stable at
      C:\PATH\flutter_windows_3.19.5-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (9 days ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✗] Android toolchain - develop for Android devices
[REMOVED]

[✓] Chrome - develop for the web
[REMOVED]

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34622.214
    • Windows 10 SDK version 10.0.22621.0

[!] Android Studio (not installed)
[REMOVED]

[✓] Connected device (3 available)
[REMOVED]

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

I can reproduce this issue on Windows 11. The results are not the same as below in variety readers:

Narrator: alert test, alert test (read twice)
NVDA: test alert (read one, seems to correct)
Jaws: test test (read twice)

flutter doctor -v (stable and master)
[!] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.3296], locale en-US)
    • Flutter version 3.24.0 on channel stable at D:\Working\GitHub\flutter
    ! Warning: `flutter` on your path resolves to D:\Working\GitHub\Aliases\flutter.bat, which is not inside your current Flutter SDK checkout at
      D:\Working\GitHub\flutter. Consider adding D:\Working\GitHub\flutter\bin to the front of your path.
    ! The dart binary is not on your path. Consider adding D:\Working\GitHub\flutter\bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (9 days ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and
      upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at D:\android-sdk-windows
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34622.214
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.88.0)
    • VS Code at C:\Users\Huy\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3296]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 127.0.6533.90
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 123.0.2420.81

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.24.0-1.0.pre.509, on Microsoft Windows [Version 10.0.22631.3296], locale en-US)
    • Flutter version 3.24.0-1.0.pre.509 on channel master at D:\Working\GitHub\flutter_master
    ! Warning: `flutter` on your path resolves to D:\Working\GitHub\Aliases\flutter.bat, which is not inside your current Flutter SDK checkout at
      D:\Working\GitHub\flutter_master. Consider adding D:\Working\GitHub\flutter_master\bin to the front of your path.
    ! The dart binary is not on your path. Consider adding D:\Working\GitHub\flutter_master\bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 925ad4e6fa (7 hours ago), 2024-08-08 00:38:29 -0400
    • Engine revision 94cf8c8fad
    • Dart version 3.6.0 (build 3.6.0-127.0.dev)
    • DevTools version 2.38.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and
      upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at D:\android-sdk-windows
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34622.214
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.88.0)
    • VS Code at C:\Users\Huy\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.86.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3296]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 127.0.6533.90
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 123.0.2420.81

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


Alignment issue with first button in AuthProviderList.js

There is an alignment issue with the left side of the first button shown in this component.
See:
https://cl.ly/08dab4cd9678
It's always the first button shown that has the issue.

Thank you for going through and testing the application, it hasn't seen the light of day for a lot of people yet. I think this issue has to do with the upgrade to Material-UI 4, I will take a look at it.

Fixed in #85.


Got SECURITY ERROR when downloading k8s.io/client-go

when running go get/install, go mod vendor or go build -o sample-controller ., I got same error
go: downloading k8s.io/api v0.0.0-20210411031832-6eed676bc189
go: downloading k8s.io/client-go v0.0.0-20210411032117-0bb6464b1348
verifying<EMAIL_ADDRESS>checksum mismatch
        downloaded: h1:hWa5L1BER1NtGFdyOa1XSx6YCL2jPa+v5CHfZz49BlY=
        go.sum:     h1:rtv51xBik42oLvcs7IcurkvhCsx2iN+wAYfCMizro2Q=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

I tried go clean -modcache, not working.

This seems to have been introduced by 73e81dab82c945b087f7db1f1f4a7b50e7d92751. 💔

@pistoolster If you haven't done that already, you can checkout the commit before the (currently) broken HEAD with
git checkout @~

or more specifically
git checkout 1f33e4e7


[cross_file] No example

I was looking at Pana scores for our packages, and it's flagging that we don't have an example for cross_file. We definitely should have at least an example.md with some useful code samples, if not an example app.
/cc @ditman

Yes, this package also needs its web tests migrated to integration_test instead of flutter test --platform chrome, an example will eventually come naturally with that migration!

Related: https://github.com/flutter/flutter/issues/89693


Quay OCI Support in README

Updated README to account for quay.io support for OCI artifact types

+1, who doesn't love an approval party! 🎉
But! AFAIK quay.io doesn't currently support the SBOM/attestation/etc types, which might trip some folks up. It might be worth spelling this out somewhere, and maybe seeing how all the other registries do.

The lint issue was a timeout, I hear actions is having some capacity issues right now so I won't make it worse and rerun.


[docs] Update notes April, 19 - May, 2

[ci skip]

This change is

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Feature Request

Please provide any function to dismiss dropdown without selecting any value in dropdown list item.
Example : like chevron up icon shown instead chevron down icon on right side of the container to dismiss the dropdown after dropdown list toggle.

The feature you are requesting is already coming in next update. This update is likely to be rolled out tonight


added attributesToSearchOn

Pull Request
Related issue
Fixes #336
What does this PR do?

Adds attributesToSearchOn to SearchQuery and  IndexSearchQuery
Added search_parameter_guide_attributes_to_search_on_1 to code sample
Added tests

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

bors merge


Improve the awesome list ecoystem

A lot of lists are missing important things or just too low of quality. We could be nice internet citizens and help out those lists.
Common things I open issues about in lists:

Missing license. Here we can suggest the same as this repo or CC0 or some other CC license.
Missing contributing.md. Can just suggest copying the one in this repo and modify it to own needs.
Succinct description to each item.
Commentary on each item. Added by the submitter of why the item is worth reading/consuming. See https://github.com/sindresorhus/awesome-scifi#cities-in-flight-1970-by-james-blish-40 for example.
Grammar. I find an amazing amount of typos in the lists people make.
It's readme should have a clear description of what the list contains.
Quality check added content. Not everything is worth adding. It should be a curation of the best, not a list of everything.

Having all lists follow this would improve the quality considerably.

Anything I missed?
Anyone care to help out opening issues on lists? Both lists included here and not.

@n1trux

Neat idea. Just going through some of the lists. If a list looks unmaintained, should I open an issue to discuss removal and/or finding an alternative?

Yes, though unmaintained should be a bit loose, meaning not updated in many months.

@sindresorhus Well, WDYT? https://github.com/dypsilon/frontend-dev-bookmarks. The 54 open PRs...

@arthurvr Would be happy to change the link to an alternative high quality fork, but don't want to remove it as it's a good resource as is.

@sindresorhus Maybe creating a new file called something like guidelines.md that will explain this process?

@aleksandar-todorovic Yes, that's the idea. Just need to decide on what it should contain first.

Here's my idea. Of course, you could improve the order a bit.
Only link to awesome content.
Don't link to everything people suggest you to link. Research it, find out if it's really awesome and include it if it is.
Request a personal comment on why something is awesome
It's not enough to just suggest something. You also have to say why do you suggest it and how will the potential users benefit from consuming it.
Make it clear on what the list is about
Make sure your list covers a certain scope and nothing else.
Pay attention to the grammar
Please be sure that you do your best to keep the list grammatically correct.
Choose an appropriate license
See Choose a License for more details. Keep in mind that if you haven't selected a license, it basically means the people are not allowed to reproduce, distribute or create derivative works.
NOTE: I did an interview with a GitHub representative about licenses that could be a perfect addition to this section. It'll be online in a couple of days.
Stylize your list properly
Create table of content, put a picture or two, organize the content into different categories.
Accept other people's opinion
If you're an owner of the list, respect other people's opinion. If there are plenty of users not agreeing to your decision, give it a second thought!

Nice idea, I think we should continue our efforts in making the lists better.
I'll start with my own one and then open issues on other lists. Should we mark "certified awesome" lists which adhere to the awesome guidelines with ☑ or ❤ or another symbol to distinguish them from the ones needing work?
Should we create an "awesome.md" with a "check list" or merge the guidelines into contributing.md?
Kind of like an "awesome manifesto"?

I opened quite a bit of issues on lists last week too.

Should we mark "certified awesome" lists which adhere to the awesome guidelines with ☑ or ❤ or another symbol to distinguish them from the ones needing work?

I'd rather we just help everyone get there when the guidelines are decided on. We can remove entries that are non-responsive.

Should we create an "awesome.md" with a "check list" or merge the guidelines into contributing.md?
Kind of like an "awesome manifesto"?

awesome.md file in this repo that is referred to from the readme and contributing.md

I think such a community should be based on standards and choosen membership. A role model or overall inspiration could be these guys: https://thephpleague.com/

I think such a community should be based on standards and choosen membership.

What does that even mean? Elaborate?

I'd rather we just help everyone get there when the guidelines are decided on. We can remove entries that are non-responsive.

Fair enough.

awesome.md file in this repo that is referred to from the readme and contributing.md

Okay, I'm doing just that. Should I create a PR or push directly and we discuss later?

Okay, I'm doing just that. Should I create a PR or push directly and we discuss later?

You can usually just push directly, but I think it would be helpful to do a PR so we can discuss directly there.

What does that even mean? Elaborate?

@sindresorhus Its a term i used for the "we" in your previous sentence:

Maybe we could come up with some guidelines on what's a awesome "certified" list?

Defining what is "certified" needs to be a rfc-style decission needed a group of people.
Also calling it "certified" might be counterproductive by scaring maintainers and producing competition. A open and friendly group that could be joined on free will seems way more friendly to me.

I'd rather we just help everyone get there when the guidelines are decided on. We can remove entries that are non-responsive.

Fair enough.

awesome.md file in this repo that is referred to from the readme and contributing.md

Okay, I'm doing just that. Should I create a PR or push directly and we discuss later?

Okay, I'm doing just that. Should I create a PR or push directly and we discuss later?

Create a PR so we can discuss it first.

Also worth checking some lists for broken links.  Accidentally uploaded it :/
https://github.com/sindresorhus/awesome/blob/master/awesome.md
er, should I remove it again or should we just discuss it now? facepalm

Also worth checking some lists for broken links.

That could be offered as a service. Or every list would have to integrate that into its own CI with travis or such (what i already did).

@n1trux Fixed it for you. Just click the green pull request button in the repo ;)

@sindresorhus I will go through your list and improve the quality of frontend-dev-bookmarks asap. Thank you for your contributions to the community.

You know what would be awesome but a long process? adding the logos to each link or just the big ones.

@xPetrus It's a nice idea, but I honestly don't think it's worth the effort. And it will look weird when only some have graphics.

And it will look weird when only some have graphics.

I think this could be solved by putting a placeholder (e.g. blank circle or something) next to any list that doesn't have a graphic... shrugs

Yeah, I just prefer the simplicity of text. Logos are all different. In my mind, it would look kinda noisy.

The awesome manifesto is now live: https://github.com/sindresorhus/awesome/blob/master/awesome.md
We're still very much open to improvements and additions. I'm sure there's things we've missed.


Widths

Many widgets (such as text, select, slider, etc.) now let you set the width with widget.layout.width.
This does not fix the multiple select, which needs to be overhauled.

lgtm

@jasongrout can hop on gitter?

This may change the widths of widgets in a layout, but tries to make it even more consistent by making the width just depend on the outermost container's width.

It looks like since the default value for flex-shrink is 1, if the widgets would overflow the output area, they do shrink until they fit. However, if they do fit, they are the 'correct' widths and lay out nicely.

#1081 continues this.


Remove Firebase

We can't have Firebase if we want to publish on F-Droid.

This is marked as draft because there's actually Firebase things in the Haskell source - we do use it for something.

Deleting more stuff made it work!


[ADSSCHED] Adds CircleCI with FTL

Also, makes the project buildable.

Now it's ready for review again


Replies from mastodon marked "unlisted" does not get bridged to bluesky

After trying it out with different settings, I've got it confirmed that when you answer someones bsky -> fedi bridged account in the fediverse, and have your settings on your answers as 'unlisted' the answer doesn't bridge back to bluesky.
When I change the setting in mastodon to 'public', it gets bridged. Would it be possible to consider, to also bridge "unlisted" answers from the fediverse to bluesky?

That's #1036 I think, discussion should probably be there but I agree if mark a reply as unlisted it should still be bridged

Yes! This is #1036. BF intentional only bridges fully public posts and interactions right now, it if an abundance of caution, but I definitely get that that can be surprising for eg unlisted posts/replies and not necessarily what people want. I don't feel like I entirely understand all of the nuances of unlisted in the fediverse right now, across all the different implementations, but I should learn!

Yes "unlisted" answers are visible to everyone, but does not show up in "trending topics" and such. :)

Right! On Mastodon, at least. Afaik there are other differences on other projects, and I haven't dug into those enough to fully understand them yet.


DBAAS-364: update the values for instance phase according to the api restriction

With the new restriction enforced for the api of instance phase in PR https://github.com/RHEcosystemAppEng/dbaas-operator/pull/133, the code for setting instance phase need to be updated accordingly.

Crunchy bridge operator update for https://github.com/RHEcosystemAppEng/dbaas-operator/pull/133

@redhatHameed @jianrongzhang89 @tchughesiv please review.


Add status command to bot

Might require some further formatting and code quality fixes but making the initial PR for now if anyone wants to have a look at it.
Fixes #2

Happy enough that the feature works and no compromising information is revealed from the status command, only things revealed are:
Instance name:
Instance State:
Public IP Address: (Should not be compromising assuming server network traffic rules are correctly configured, plus bot hoster can remove this line if they wish)
Last startup time:

May be worth moving the status lines messaged out to the config.json file but this will be under another issue if I decide it's worthwhile


Setting SMTP mail properly on my localhost

hi guys, the project it is working nicely on my local machine, I just got a problem to receive and send emails. to validate accounts.
some guys said to use mail-gun, but i could make it works on my local-machine, any suggestions how to install it and test the email function from my local-machine? thank you.
I have to change the config but I dont know what to put there.
below settings only in production env
system notify mail settings
--------------------------------------------------------------
SMTP_PORT: YOUR_SMTP_PORT
SMTP_DOMAIN: YOUR_SMTP_DOMAIN
SMTP_ADDRESS: YOUR_SMTP_ADDRESS
SMTP_USERNAME: YOUR_SMTP_USERNAME
SMTP_PASSWORD: YOUR_SMTP_PASSWORD
SMTP_AUTHENTICATION: plain # could be plain, login or cram_md5

Use mailgun and make sure your domain is verified in mailgun and everything is Green . CName,MX and Txt Record all green. After this just place the mailgun smtp settings
SMTP_PORT: 587
SMTP_DOMAIN: Your Domain (example - google.com,yahoo.com)
SMTP_ADDRESS: smtp.mailgun.org
SMTP_USERNAME: YOUR_SMTP_USERNAME
SMTP_PASSWORD: YOUR_SMTP_PASSWORD
SMTP_AUTHENTICATION: plain
Then
inside peatio folder > gem install mail
Then restart Nginx (sudo service nginx restart or sudo /etc/init.d/nginx restart )
:+1:


Editable Template?

Need an option to edit the template.
Our JIRA tracking needs ABC : 1234 with spaces either side of the :,

I will take a look 👍

Feature is available in Version 1.0.3


Start NetworkManager by default on startup

Just installed this in a VM and noticed this..

.

dinitctl enable networkmanager

the service system will go through a lot of refactoring before i declare anything as stable, but it should technically only get simpler from the current state (but there will be breaking changes)


Support remote hot-reload

Support hot-reload while the Docker container is running on a remote machine. Support rsync, scp, S3, git.

Let me make sure I understand you correctly.
Do you want to work locally using an IDE and sync the source files automatically to the remote machine and run the Docker commands on it?
Sounds cool.
I think it can be implemented using SSH for the command execution and rsync or one of the options you mentioned for the source files syncing.
WDYT?
Do you to work on this feature? I'd be happy to help you.

Yup, you understand me correctly :)
I think rsync would be a ideal for syncing. In the future I might want to use some remote git repository or even s3 for storage, so I think it'd be nice if it's implemented in a modular way. The default syncing & storage method could be local, and so additional methods could be used if needed (rsync seems like a great start).
I'm not currently working on this feature. Will do soon, probably.
Thanks! :)

Hi,
Please take a look on the blog post I published.
I think you can get your desired environment using Telepresence and Gebug the way I showed.
WDYT?

Looking good. Closing issue.


Version of gym for a2c

Today I was able to get the baslines installed with gym and run some examples. From other posts, for installing mujoco-pi the following combination had to be used:
python 3.5.2
mujoco 131
mujoco_py 0.5.7
gym 0.9.3
This combination works for some things however my goal is to train a2c on atari games so when I run
(gym-py35) teves@teves:~$ python -m baselines.a2c.run_atari
I get the error:
Traceback (most recent call last):
File "/home/teves/anaconda3/envs/gym-py35/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/home/teves/anaconda3/envs/gym-py35/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/teves/baselines/baselines/a2c/run_atari.py", line 4, in
from baselines.common.cmd_util import make_atari_env, atari_arg_parser
File "/home/teves/baselines/baselines/common/cmd_util.py", line 7, in
from gym.wrappers import FlattenDictWrapper
ImportError: cannot import name 'FlattenDictWrapper'
This seems like because I am running an older gym version. Is that correct? What versions of the above shoule I have installed to use a2c?
update: I was able to upgrade to gym 0.10.3 and was able to install mujoco using pip install mujoco-py==0.5.7 however I was not able to install it using: pip install -e '.[mujoco]'.
Then I was able to run a2c example but not acktr.
(gym) teves@teves:~$ python -m baselines.acktr.run_atari
WARNING:tensorflow:From /home/teves/baselines/baselines/a2c/utils.py:13: calling reduce_max (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
WARNING:tensorflow:From /home/teves/baselines/baselines/a2c/utils.py:15: calling reduce_sum (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
Traceback (most recent call last):
  File "/home/teves/anaconda3/envs/gym/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/teves/anaconda3/envs/gym/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/teves/baselines/baselines/acktr/run_atari.py", line 21, in <module>
    main()
  File "/home/teves/baselines/baselines/acktr/run_atari.py", line 18, in main
    train(args.env, num_timesteps=args.num_timesteps, seed=args.seed, num_cpu=32)
  File "/home/teves/baselines/baselines/acktr/run_atari.py", line 12, in train
    learn(policy_fn, env, seed, total_timesteps=int(num_timesteps * 1.1), nprocs=num_cpu)
  File "/home/teves/baselines/baselines/acktr/acktr_disc.py", line 125, in learn
    model = make_model()
  File "/home/teves/baselines/baselines/acktr/acktr_disc.py", line 120, in <lambda>
    lrschedule=lrschedule)
  File "/home/teves/baselines/baselines/acktr/acktr_disc.py", line 64, in __init__
    update_stats_op = optim.compute_and_apply_stats(joint_fisher_loss, var_list=params)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 288, in compute_and_apply_stats
    stats = self.compute_stats(loss_sampled, var_list=varlist)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 298, in compute_stats
    factors = self.getFactors(gs, varlist)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 130, in getFactors
    factors = searchFactors(t, graph)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 120, in searchFactors
    if len(bTensor.get_shape()) > 0 and bTensor.get_shape()[0].value == None:
  File "/home/teves/anaconda3/envs/gym/lib/python3.5/site-packages/tensorflow/python/framework/tensor_shape.py", line 484, in __len__
    raise ValueError("Cannot take the length of Shape with unknown rank.")
ValueError: Cannot take the length of Shape with unknown rank.

I was able to update to 10.3 and get A2C to work. However, ACKTR still is not working. After running:
python -m baselines.acktr.run_atari
I get:
Traceback (most recent call last):
  File "/home/teves/anaconda3/envs/gym/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/teves/anaconda3/envs/gym/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/teves/baselines/baselines/acktr/run_atari.py", line 21, in <module>
    main()
  File "/home/teves/baselines/baselines/acktr/run_atari.py", line 18, in main
    train(args.env, num_timesteps=args.num_timesteps, seed=args.seed, num_cpu=32)
  File "/home/teves/baselines/baselines/acktr/run_atari.py", line 12, in train
    learn(policy_fn, env, seed, total_timesteps=int(num_timesteps * 1.1), nprocs=num_cpu)
  File "/home/teves/baselines/baselines/acktr/acktr_disc.py", line 125, in learn
    model = make_model()
  File "/home/teves/baselines/baselines/acktr/acktr_disc.py", line 120, in <lambda>
    lrschedule=lrschedule)
  File "/home/teves/baselines/baselines/acktr/acktr_disc.py", line 64, in __init__
    update_stats_op = optim.compute_and_apply_stats(joint_fisher_loss, var_list=params)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 288, in compute_and_apply_stats
    stats = self.compute_stats(loss_sampled, var_list=varlist)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 298, in compute_stats
    factors = self.getFactors(gs, varlist)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 130, in getFactors
    factors = searchFactors(t, graph)
  File "/home/teves/baselines/baselines/acktr/kfac.py", line 120, in searchFactors
    if len(bTensor.get_shape()) > 0 and bTensor.get_shape()[0].value == None:
  File "/home/teves/anaconda3/envs/gym/lib/python3.5/site-packages/tensorflow/python/framework/tensor_shape.py", line 484, in __len__
    raise ValueError("Cannot take the length of Shape with unknown rank.")
ValueError: Cannot take the length of Shape with unknown rank.

If this is working for anybody else please let me know your setup.

Has anyone been able to get around this issue for acktr?

I add comment in kfac.py at lines 120  to avoid this error, but I don't know it whether or not brings some problems.
the file baselines/acktr/kfac.py
#==================================================================
if len(bTensor.get_shape()) > 0 and bTensor.get_shape()[0].value == None:
bTensor.set_shape(bTensorShape)
bTensors.append(bTensor)
#==================================================================

I add comment in kfac.py at lines 120 to avoid this error, but I don't know it whether or not brings some problems.
the file baselines/acktr/kfac.py
`#==============================================================================
if len(bTensor.get_shape()) > 0 and bTensor.get_shape()[0].value == None:
bTensor.set_shape(bTensorShape)
bTensors.append(bTensor)
#==============================================================================`

upgrade your version of gym(I think 0.9.6 is latest verified at the time of writing this)
pip install git+git://github.com/openai/gym==0.9.6

I am still facing this issue. Can anyone tell me how to fix this


Enable controlling Android setNotificationResponsiveness

Thanks for the great plugin, I'm integrating it now and look forward to trying it out!
Per the Android docs: https://developers.google.com/android/reference/com/google/android/gms/location/Geofence.Builder#public-geofence.builder-setnotificationresponsiveness-int-notificationresponsivenessms

Setting a big responsiveness value, for example 5 minutes, can save power significantly.

Since our use case would be okay with a 5 minute delay it would be great to be able to set this value via the plugin APIs.

Thanks for reaching out! Pull requests are always welcome.
If you need any help with the process or have questions about the code, just let me know. I’m here to help!


rename preCommand to pythonPath

@acured , how to set pythonPath when using natively installed python, anaconda, and python virtual env?

@acured , how to set pythonPath when using natively installed python, anaconda, and python virtual env?

Set the natively python path(located) directly.

@acured , how to set pythonPath when using natively installed python, anaconda, and python virtual env?

Set the natively python path(located) directly.

did you tested using export PATH=${pythonPath}:$PATH && ${command} works for both anaconda and python virtual env?

@acured , how to set pythonPath when using natively installed python, anaconda, and python virtual env?

Set the natively python path(located) directly.

did you tested using export PATH=${pythonPath}:$PATH && ${command} works for both anaconda and python virtual env? In previous, seems it use source ${replace_to_absolute_path_recommended_here}/bin/activate to activate python.

For "pip install" I am going to test, for "python" it is working fine.

@acured , how to set pythonPath when using natively installed python, anaconda, and python virtual env?

Set the natively python path(located) directly.

did you tested using export PATH=${pythonPath}:$PATH && ${command} works for both anaconda and python virtual env? In previous, seems it use source ${replace_to_absolute_path_recommended_here}/bin/activate to activate python.

For "pip install" I am going to test, for "python" it is working fine.

After a test, It will cause an issue when working on windows anaconda if only set the native python path without active the env. To fix this issue, user have to set other two path: "../script" and "../Library/bin", I already add it in config_remote.yml in this PR.
There is no issue on linux.


Hide load more when no records present

Before

After

Looks good for JS-enabled. When JS is disabled, the Showing X - Y text is incorrect, see screenshot:

Does it make sense to hide the table header also if there are no results?


build success, code fails on ChromeOS Version 61

Version 61.0.3144.0 (Official Build) dev (32-bit)
Followed here;
https://code.headmelted.com/#chromeos-install-scripts
no issues building (approx 40mins)
$ code
Entering /mnt/stateful_partition/crouton/chroots/code-oss-chroot...

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-45-generic armv7l Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Thu Jun 29 00:39:10 PDT 2017 armv7l
Kernel command line: cros_secure console= console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=37fcc9d9-1943-ae49-94db-384ff3826867/PARTNROFF=1 hashtree=PARTUUID=37fcc9d9-1943-ae49-94db-384ff3826867/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=d22182ef0caae757186e1e6333900a7afe6a4da0 salt=d6b877d5bbd782f9a37ca69cad5687f96ac42c219c7c54d2bd38ba813bde39e3" noinitrd vt.global_cursor_default=0 kern_guid=37fcc9d9-1943-ae49-94db-384ff3826867
Build Date: 02 November 2016  10:05:15PM
xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sun Jul  2 17:27:49 2017
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20170619181610~master:980f090f
release: xenial
architecture: armhf
xmethod: xiwi
targets: xiwi
host: version 9693.1.0 (Official Build) dev-channel daisy_skate
kernel: Linux localhost 3.8.11 #1 SMP Thu Jun 29 00:39:10 PDT 2017 armv7l armv7l armv7l GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Error: target STRING not available
Terminated
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup
Hangup
(II) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/code-oss-chroot...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/code-oss-chroot...

Any tips?

ran again a few more time, eventually the extension started working.. i think it was 4th or 5th attempt with "show log" and "enable debugging" checked (not that they should effect the outcome)


Upgrade 'nan' to 2.20.0

The only manual change is to package.json, after that I ran:
rm -r node_modules
rm package-lock.json
/var/fwcs/bin/node-v22.4.0/bin/npm install

(I also tested on node 12, and the package-lock.json and package.json files were different, but the package contents were the same.)

Ah, this is rconsole's repo... I'm not sure how we deploy changes for rconsole. I'll look into this and see what we can do.

It's worth noting that the same rconsole is installed globally and used by the www and stream code, as well as pm2. The reason I'm updating nan is to support building with newer versions of Node; I don't expect this will have any effect on older versions.

I ran a local test to confirm that this will still work with node 12:
cd /var/fwcs/bin/node-v12.16.3/lib/node_modules/rconsole
git clean -xfd # clean build
sudo git checkout ah-upgrade-nan
sudo rm -r node_modules
sudo /var/fwcs/bin/node-v12.16.3/bin/node /var/fwcs/bin/node-v12.16.3/bin/npm install
sudo /var/fwcs/bin/node-v12.16.3/bin/node /var/fwcs/bin/node-v12.16.3/bin/npm run install
cd ~/dev/server
make restart
tail /var/log/app-account-0.log

I also added a log message at the bottom of rconsole.js so I could verify that it's using the new code.
Let's talk tomorrow about a deployment plan.

I changed the base branch to node22, so this is no longer a CCC.
The plan is to make the install script for node 22 use the node22 branch.


Implement ARM compatibility

As I noticed that currently, no ARM architecture would be supported, I implemented it.
Unfortunately, a system call to 'uname' is required as Java doesn't report the full detailed architecture.
Of course tested on a RaspberryPI :)
It should also resolve #109.

Coverage decreased (-1.7%) to 97.872% when pulling b91530664c40c52954d8f97f988213f515f4e6e3 on madmas:ImplementARMCompatibility into 697e3ff2008ea4f73c7f2ed6535b6aecbf271cb3 on srs:master.

Thanks for the pull-request. It's merged into master.


Override _metatags.twig

Hi !
I am trying to override _metatags.twig by putting a copy in my theme folder, but it ignore my override.
Have I to put it in a sub folder in my theme ?
I want to do this to add a default share image when the condition "if image" is empty.
Maybe it could be an idea to add this parameter in the config file ?
best regards

Did you enable the override in app/config/extensions/seo.bobdenotter.yml?
templates:
    meta: _metatags.twig

Thanks a lot ! You are right !


[protocomm] release memory on BLE provisioning stop (IDFGH-9939)

Using the heap tracing options, I found the following allocations not being released after provisioning is finished:
80 bytes (@ 0x3d817a9c) allocated CPU 0 ccount 0x8422f7d0 caller 0x420170b4:0x42016aed
0x420170b4: simple_ble_init at C:/repos/v3/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:186

0x42016aed: protocomm_ble_start at C:/repos/v3/esp-idf/components/protocomm/src/transports/protocomm_ble.c:531

384 bytes (@ 0x3d817af0) allocated CPU 0 ccount 0x84230fdc caller 0x420167ba:0x42016b59
0x420167ba: populate_gatt_db at C:/repos/v3/esp-idf/components/protocomm/src/transports/protocomm_ble.c:387

0x42016b59: protocomm_ble_start at C:/repos/v3/esp-idf/components/protocomm/src/transports/protocomm_ble.c:553

32 bytes (@ 0x3d81b188) allocated CPU 1 ccount 0x7c33dc5c caller 0x42017025:0x4201bec4
0x42017025: gatts_profile_event_handler at C:/repos/v3/esp-idf/components/protocomm/src/simple_ble/simple_ble.c:158 (discriminator 9)

0x4201bec4: btc_gatts_act_create_attr_tab at C:/repos/v3/esp-idf/components/bt/host/bluedroid/btc/profile/std/gatt/btc_gatts.c:422

In https://github.com/espressif/esp-idf/commit/eb490dc18edd42b851594f97a91a3d57f7e9ada1 an option was introduced to keep BT on after provisioning is done. Looking at the code, I suspect that the call to simple_ble_deinit() disappeared, which should release the 3 buffers mentioned above.
On the contrary, I do not understand whether the call of simple_ble_deinit() was put intentionally in the case we want to keep the stack running.
Unfortunately I cannot find the original MR linked in the commit (espressif/esp-idf!19263).
FYI @KonssnoK

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

Hi @cbaechler ,
Thanks for pointing out this . We do agree that freeing up of memory is needed after adv is stopped in case BLE stack is needed to be turned OFF.
However, your PR also removes the freeing up of memory when Stack needs to be kept ON after provisioning but disconnect is needed ( to address any user usecase of disconnect with current device, may be advertise again with other adv data and provision some other device ) . So, freeing up gatt db resources after disconnect is needed.
We have made a generic change to address this issue and handle it for both bluedroid and nimble stack.
Will update here once change is available in repository.

Changes commit via 08a21e3e261e3e8db5c2ea632568bd1330f8da1d . Will be available on next sync.

Great, thank you! I have seen the fix got merged to master in the meantime.
Do you plan to backport this fix to release/v4.4 as well?

Do you plan to backport this fix to release/v4.4 as well?

Yes . We are working on it


Setting up the Tests and Documentation

Set up TravisCI
Writing unit tests for YABA Flask api.

for sample data at each endpoint

Completion criteria:

Commit with .travis.yml
Sample data uploaded for testing

Travis has been implemented with yaml here and tests are written yaba_test.py.
All that is left for @saurabh1969 is to add the Travis badge to the README to see if the build is passing or failing, and make sure the build passes once the second issue in #8 is resolved.

All the test are passing in the latest commit of both PR. Build status tag is also attached to both the branch.


instance-get-attachments won't return JSON data

I have a mixed set of XML and JSON source data from which I created envelope documents. I find that es:instance-get-attachments works fine for the envelope docs derived from XML, but it returns nothing for envelope docs derived from JSON.
For example, given the following envelope doc, you get nothing back from es:instance-get-attachments:
<es:envelope xmlns:es="http://marklogic.com/entity-services">
  <es:instance>
    <es:info>
      <es:title>Person</es:title>
      <es:version>0.0.1</es:version>
    </es:info>
    <Person>
      <id>2345</id>
      <firstName>Martha</firstName>
      <lastName>Washington</lastName>
      <fullName>Martha Washington</fullName>
    </Person>
  </es:instance>
  <es:attachments>{"pid":2345, "first":"Martha", "last":"Washington"}</es:attachments>
</es:envelope>

I should be able to get my JSON back out as a string so I can rehydrate it with xdmp:from-json-string. For example, I originally overlooked this function, so I inadvertently did an end run around it like what's below, and it worked fine:
let $matches := (: an envelope doc search happens here :)

(: extract the original source, as a node :)
for $attachment in $matches/es:envelope/es:attachments/node()
return typeswitch ($attachment)
  case element() return $attachment
  case text() return xdmp:from-json-string($attachment)
  default return ()

Imagine my chagrin when I found I couldn't replace that filthy little xpath expression with es:instance-get-attachments. Oh, the Humanity!

QC workspace to facilitate playing with this. You prolly don't need it - the model is just your Person example - but I'm all for lowering barriers. Silly github wouldn't let me attach the workspace as an XML file, so I zipped it up to fake it out. Stupid software tricks.
json-attachment-bug.zip

I've got a fix for this that we can triage as appropriate.

I have added new test to verify this bug. Works in my local. Will wait for regression run tomorrow and ship.

Test works OK in regression. Shipping the bug.


duplicate lines removed from packages/text-bitmap/src/utils/drawGlyph.ts

Description of change

Pre-Merge Checklist

[ ] Tests and/or benchmarks are included
[ ] Documentation is changed or added
[ ] Lint process passed (npm run lint)
[ ] Tests passed (npm run test)

Guys, two test cases failed when I ran test locally saying this: screenshot
As it's completelly unrelated to the subject, I submitted the PR anyway.

Can you please revert the package-lock.json changes @serglider?

Thanks @serglider :tada:


Locale change banner design studies

User story
As a user of IBM.com, I would like to know when I am forwarded to a page that has a different locale setting than my preferences or the previous pages.
Notes

This story is based on SEO's recommendation to not use the popup for locale change.
The existing banner design seems to be problematic in that users either miss it or are not helped by it.
The original epic from the Agile board: https://github.com/carbon-design-system/ibm-dotcom-library/issues/859

Moved over from Ideation repo for record tracking.
Here are the issues attached previously to this epic:

https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/22
https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/24
https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/29
https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/27
https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/23
https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/25
https://app.zenhub.com/workspace/o/carbon-design-system/digital-design-ideation/issues/28

Deprecating locale change banner after google analytics reveal most people simply stay on current locale page. So the hypothesis of the banner that people need to change locale is negative. This banner is not needed.


vimPlugins: add vim-fzf-coauthorship

Original commit message (now amended) from the below invocation:

vimPlugins.vim-fzf-coauthorship: init at 2021-07-14

$ GITHUB_API_TOKEN="$(yq -r '."github.com".oauth_token' ~/.config/gh/hosts.yml)" ./update.py --add "maxjacobson/vim-fzf-coauthorship"

Motivation for this change
Add the vim-fzf-coauthorship plugin to Nix! =)
This PR's work is based on: https://github.com/NixOS/nixpkgs/pull/145110
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I believe the reason this might fail is due to lingua-franca plugin has switched from master to main branch - had to fix that locally before I got the aforementioned ./update.py invocation to work.

I believe the reason this might fail is due to lingua-franca plugin has switched from master to main branch - had to fix that locally before I got the aforementioned ./update.py invocation to work.

Can you add that to this PR?

I believe the reason this might fail is due to lingua-franca plugin has switched from master to main branch - had to fix that locally before I got the aforementioned ./update.py invocation to work.

Can you add that to this PR?

Yup, can do - give me a day or so.

I read https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md, but still didn't understand which branch to target... Mind helping me understand if it's correct that I should target master branch?
I'd prefer to target nixos-unstable, but I understand that https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md says we should backport to target branches.
I don't mind making a 2nd backport PR, if I only can get my head wrapped around which branch I should target in the first place...

Finished a day earlier than my previous estimate.

targeting master is correct here, it will automatically get to nixos-unstable once this is merged, only stable releases needs backports in which you tag the pr or manually backport targeting release-21.05 branch

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

4 packages built:

spacevim
tests.vim.test_vim_with_vim_nix
vimPlugins.lingua-franca-vim
vimPlugins.vim-fzf-coauthorship


I can't download the dataset（S3 storage）.

Hello, I tried it on Windows and linux with firefox navigator and both worked. Can you tell me what error message you are getting?
Alternatively you can also try with this OneDrive link.

this link is ok, thank u

would you share your Unity model？

We would have like to, but we use some paid assets so we are unfortunately not authorized to freely distribute it.


serialnumber support  st-util and st-flash

modified serialnumbersupport in st-flash:
in flash_opts take care of the length of the given serialnumber (was fix 12 chars)
added serialnumber support in st-util:
implemented like in st-flash.

Thank you for your pull request, is this all the only code necessary to support multiple programmers issue #318?

I think, everything is done. I will start use (and therefore test) the Multi-ST-Link-System

Thanks!


Dumping location for screenshots / charts / etc

Q1 2022:

Closing as probably irrelevant, since you're currently making the article in a branch


Move gt_to_hdf5 script to another repo

In commit ac16fd856af6c9f53e891948f4f5d87e2828db25, I introduced a script to convert gt to hdf5 file
that also contain tag images. We should move it to another repository, that holds also other utility stuff.

Since we have a new repository with similar scripts is it save to to delete the scripts from this repository?