Boostrap 4

Great tool. Works in Bootstrap 4, but the following small mod is required or else the there is small gap at the bottom in all themes:
.bootstrap-switch .bootstrap-switch-label {
padding: 8px 12px;
}

Thanks for help.
I maintain bootstrap 4 branch here : https://github.com/djibe/bootstrap-switch

Hi, can you close issue ?

@djibe Do you want to take over ownership of this repository?

@LostCrew
Hi, not particularly. I'm not good at coding.
But I can help.
Thx for asking.

Bootstrap 4.2+ has switches now and are more Material-design–looking. Whereas this package was invaluable for v3 and I absolutely loved it, If I may say in all honestly, the look of the switches are getting a bit dated, so I think the package should be put to rest...

@matteoferla I welcome your proposal. I will tie up the last loose ends and declare it unmaintained.

Yes I believe so. I'll post one flat design theme and leave the project.


Support special unicode like Chinese and Japanese

Looks good to me, just a few comments.
If you can address those and make and amended commit, that would be great.

Oh shoot. @LingyuCoder - I didn't see that you updated with my requested changes. Thanks. I will review again and merge soon.

@LingyuCoder - Thanks for this. I ended up going with #17, as @fand took that PR a lot further. You got the ball rolling though, so thanks for that.
Proper CJK character support deployed in 0.2.0


Router Wrapper

fixes #40
Adds a component that can inject the current route into its children's props.

Blocked on https://github.com/yewstack/yew/pull/640
I need to specify that the Properties belonging to the Child Component implement RouteInjectable but that syntax isn't available outside of the where clause.


Update err to current version and new download location

Apparently, err has been revived by Microsoft and seems to be updated to Win10 1909.
https://docs.microsoft.com/en-us/windows/win32/debug/system-error-code-lookup-tool
https://www.microsoft.com/en-us/download/details.aspx?id=100432

For anyone interested, the updated package is waiting in moderation (for quite some time now): https://chocolatey.org/packages/err/<IP_ADDRESS>


Update service-fabric-reliable-services-configuration.md

Add documentation for LogTruncationIntervalSeconds setting added v6.3

@rahku : Thanks for your contribution! The author, @sumukhs, has been notified to review your proposed change.

@rahku : Thanks for your contribution! The author, @sumukhs, has been notified to review your proposed change.


CVE-2024-45189

https://nvd.nist.gov/vuln/detail/CVE-2024-45189
From NVD:
"Mage AI allows remote users with the "Viewer" role to leak arbitrary files from the Mage server due to a path traversal in the "Git Content" request"

We're fixing it

any update?


Update outdated version bounds for stix2

[ch28195]

We independently noticed the same bug while investigating the failure of threatbus to start in docker-compose, and also noticed a few outdated threatbus-dependencies that allowed this bug to be hidden by pip silently downgrading the threatbus version to one that was still compatible with stix 2.1.
We pushed additional commits on this PR to fix it.


Fix undefined require on ESM env

When importing transform helper (windicss/helpers) in an ESM enviroment, require is undefined, according node docs one should use createRequire to create the function. Interop with commonjs is done by typescript transformations, so it's also working there.

Codecov Report

Merging #283 (e0f3872) into main (74ef3d8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #283   +/-   ##
=======================================
  Coverage   88.89%   88.89%
=======================================
  Files          52       52
  Lines        4366     4366
  Branches      942      942
=======================================
  Hits         3881     3881
  Misses        261      261
  Partials      224      224

Continue to review full report at Codecov.

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

Is there any specific config required after that bugfix ? I have the following error:
$ vite
Pre-bundling dependencies:
  windicss/helpers
(this will be run only when your dependencies or config have changed)
 > node_modules/windicss/helpers/index.mjs:1:21: error: No matching export in "browser-external:module" for import "createRequire"
    1 │ import require$$0, { createRequire } from 'module';
      ╵                      ~~~~~~~~~~~~~

error when starting dev server:
Error: Build failed with 1 error:
node_modules/windicss/helpers/index.mjs:1:21: error: No matching export in "browser-external:module" for import "createRequire"
    at failureErrorWithLog (/Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:1443:15)
    at /Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:1125:28
    at runOnEndCallbacks (/Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:915:63)
    at buildResponseToResult (/Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:1123:7)
    at /Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:1230:14
    at /Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:606:9
    at handleIncomingPacket (/Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:703:9)
    at Socket.readFromStdout (/Users/nook/golem/design-system-vite/node_modules/esbuild/lib/main.js:573:7)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)

My guess it's related to vite, I am using vite 2.2.1 without issues here


test: fix assignment bug in assert

Assignment instead of comparison made the assert effectively a no-op and
hid the fact that it was in the wrong place.
Refs: #2307
CI: https://ci.nodejs.org/job/libuv-test-commit/1468/

It looks like the CI has related failures.

It looks like the CI has related failures.

I spent some time trying to reproduce those failures locally but no dice...

It looks like stale-bot deleted the branch. Can you recreate this?

Ping. The stale-bot seems to have deleted the branch—do you still have it? Do you know if it's still applicable? This seems to still be a frequent cause of CI failures.


Bug in DDC int test

We're missing the Math.floor check on ints.
  double n = 2.0;
  print(n is int);  // true in dart2js/DDC
  n = n * 1.1;
  print(n); // 2.2 in dart2js/DDC
  print(n is int);  // false in dart2js, true in DDC

https://codereview.chromium.org/2927703005/


French traduction node_modules/node-red/red/api/editor/locales/en-US

Hello ! i have made a french version of editor.json  ... available here : https://pastebin.com/kzYRdXUQ
But i don't understand how to configure node-red to select fr-FR folder here
/node_modules/node-red/red/api/editor/locales/fr-FR

It uses your browsers locale setting to pick the language.
For example, in Chrome, open up your browser settings, search for 'languages' and make sure your preferred language is top of the list:

Other browsers will provide a similar capability.
Any contribution will need to be made as a pull-request - we cannot take files outside of the proper contribution process.

THX ! it works like a charm ! pull-request done !

@knolleary,
If I contribute to complete the French translation, will it be integrated into the new version or is the French not considered to be heavily used?

Can be closed 🙃


Multiple path on same method (JAX-RS) not generate correctly in swagger ui

Hi,
How could generate multiple path on same method in swagger ui ?
What i did in resource :
@Path("/api/{a: v1|v2}/user")
Expected result show in swagger ui:
/api/v2/user
/api/v1/user
Current result in swagger ui :
/api/{a}/user
Could you advise ?
Thank you

Your annotation is a path parameter with a pattern check.
If one would write @Path("/{a:v[0-9]+") then you would not be able to generate all possible URLs since my is not finite.

ok, thank for advise 👍


Contributor Console - Company name overlaps on CANCEL and SEND buttons when company has signed CLA and company name is too long

Background
Prerequisite

CLA project should be created with CCLA enabled
Github repository should be added to the CLA Project
Company with name having too many characters should exist and Company should have signed CLA

Steps To Follow

Launch github and login as developer
Navigate the repository
Edit some file and create PR
CLA checks fails
Click on CLA NOT SIGNED button
User is redirected to Contributor Console
Click Corporate
Select the Company which has signed CLA for this project
Click CONTACT
Company name overlaps on CANCEL and SEND buttons

Verified and observed that the issue is fixed


[Solved] Cascading while deleting does not work

Hi
I'm not entirely sure if it is a problem of Fluent-NHibernate or if I implemented something wrong, but I can't seem to fix my problem.
I have 3 entities: CostumerGroup, Customer and Report. They're linked with 2 one-to-many associations in the following way:
One CustomerGroup has many Customers
One Customer has many Reports
My entity and mapping classes look like this (I deleted some unnecessary code):
public class CustomerGroup
   {
      public virtual int Id { get; protected set; }
      public virtual IList<Customer> Customers { get; protected set; }

      public virtual void DeleteCustomer(Customer customer)
      {
         this.Customers.Remove(customer);
      }
      [...]
   }

 public class CustomerGroupMap : ClassMap<CustomerGroup>
   {
      public CustomerGroupMap()
      {
         Id(x => x.Id);
         HasMany<Customer>(x => x.Customers)
            .Cascade.All();
      }
   }

 public class Customer
   {
      public virtual int Id { get; protected set; }
      public virtual IList<Report> Reports { get; protected set; }
      public virtual CustomerGroup CustomerGroup { get; set; }

      public virtual void DeleteReport(Report report)
      {
         this.Reports.Remove(report);
      }
      [...]
   }

public class CustomerMap : ClassMap<Customer>
   {
      public CustomerMap()
      {
         Id(x => x.Id);

         References<CustomerGroup>(x => x.CustomerGroup);
         HasMany<Report>(x => x.Reports)
            .Cascade.All();
      }
   }

 public class Report
   {
      public virtual Customer Customer { get; set; }
   }

public class ReportMap : ClassMap<Report>
   {
      public ReportMap()
      {
         Id(x => x.Id);
         References<Customer>(x => x.Customer);
      }
   }

Everything works fine while creating and saving the entities to the database.
So, I am able to delete Report entities, but I am not able to delete Customer entities, even though I do it in a similar manner. The error text is:

deleted object would be re-saved by cascade (remove deleted object from associations)

I deleted the entities in the following way (simplified code):
[...]
Report report = //code for getting a persistent report entity
report.Costumer.DeleteReport(report);
session.Delete(report); // this one works fine

Customer customer = //code for getting a customer
customer.CustomerGroup.DeleteCustomer(customer);
session.Delete(customer); // doesn't work

transaction.Commit()
[...]

I even tried removing all references of customer and cleared the Reports property before deleting it, but the result is still the same.
Help would be very much appreciated

Found the problem myself. It was indeed a mistake I made.
Using .Cascade.AllDeletaOrphan() instead of .Cascade.All() solved my problem.
I thought All would include the behaviour I was anticipating

I'm glad it all worked out


Create Bridge readme with run steps

Summary
Creates a readme describing how to run the bridge and manual steps to test it outside of the e2e tests. This allows manual testing without the need of the frontend UI.
Changelog

Creates a README.md for protocol-units/bridge.

Testing
Try out the commands :)
Outstanding issues
New contract deployments will happen, README's should be updated.

Unneeded for now.


JSDelivr OpenAPI spec fails

I am trying to generate https://data.jsdelivr.com/v1/spec.yaml, however it fails for Fabrikt on:
INFO: Generating code and dumping to /Users/avanwieringen/Development/private/kotlin/ktor-wired/utils/jsdelivr-client/build/generated/
Exception in thread "main" java.lang.IllegalArgumentException: The Kaizen openapi-parser library threw a NPE exception when parsing this API. This is commonly due to an external schema reference that is unresolvable, possibly due to a lack of internet connection
	at com.cjbooms.fabrikt.util.YamlUtils.parseOpenApi(YamlUtils.kt:41)
	at com.cjbooms.fabrikt.model.SourceApi.<init>(SourceApi.kt:35)
	at com.cjbooms.fabrikt.model.SourceApi$Companion.create(SourceApi.kt:31)
	at com.cjbooms.fabrikt.cli.CodeGen.generate(CodeGen.kt:66)
	at com.cjbooms.fabrikt.cli.CodeGen.main(CodeGen.kt:22)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
	at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1769)
	at java.base/java.util.regex.Matcher.reset(Matcher.java:415)
	at java.base/java.util.regex.Matcher.<init>(Matcher.java:252)
	at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134)
	at com.reprezen.kaizen.oasparser.val.ValidatorBase.checkPattern(ValidatorBase.java:99)
	at com.reprezen.kaizen.oasparser.val.ValidatorBase.validateStringField(ValidatorBase.java:89)
	at com.reprezen.kaizen.oasparser.val.ValidatorBase.validateStringField(ValidatorBase.java:79)
	at com.reprezen.kaizen.oasparser.val3.SchemaValidator.runObjectValidations(SchemaValidator.java:79)
	at com.reprezen.kaizen.oasparser.val.ObjectValidatorBase.runValidations(ObjectValidatorBase.java:18)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null

However, using the OpenApiTools Kotlin generator it works.  I am unable to find any external schema reference in the code.

Fes does not support this kind of definition:
            version:
              type:
                - string
                - 'null'

Okay. How could I’ve found that out? And, is it documented somewhere?

Fabrikt was only built to support OpenApi 3.0
The OpenApi 3.1 specification made some breaking changes to 3.0, this is one of them.
I have created this little hack to fix it:
https://github.com/cjbooms/fabrikt/pull/263

I have created two PRs which improve support for this API. However, there is a pretty crazy amount of inlining of schema definitions, and the synthetic schema names that Fabrikt is generating are conflicting with each other.
When fabrikt sees an inlined object, it uses the top-level enclosing schema as the prefix, and the property name as the suffix when generating the data classes. Example:
    Dog:
      type: object
      properties:
        walker:
          allOf:
            - $ref: "#/components/schemas/Person"
            - $ref: "#/components/schemas/Company"

Will result in a synthetic schema name of DogWalker. If the Dog object has another nested properties, called walker, that also defines an inlined object, it will result in the same synthetic DogWalker schema name

I'm closing this issue as I have fixed what issues I could. To enable generation, the JsDelivr API will need to be restructured to extract some of the inlined schemas into top-level schemas.
This can be achieved without changing the contract of the API


[Feature] IDE For FTP/SFTP

So, connecting to a ftp or sftp then we can edit, add, delete the files. i don't know this feature is already exist but its fine.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Have you tried extensions that provide access to remodel FS?
Something like https://marketplace.visualstudio.com/items?itemName=liximomo.remotefs ?

is this an extension candidate? it seems like remote ftp editing would be a sick codespaces feature

Have you tried extensions that provide access to remodel FS? Something like https://marketplace.visualstudio.com/items?itemName=liximomo.remotefs ?

its not featureed yet

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Could not find user unifi@#optional

I copied your generic version and gave it a spin, but I cannot get it to work. These are the logs from  "docker logs unifi-db"
Error message is "UserNotFound: Could not find user unifi@#optional"
The web page does not load
2024-02-10T13:30:03.693+0000 I ACCESS   [conn755] SCRAM-SHA-1 authentication failed for unifi on #optional from client <IP_ADDRESS>:51506 ; UserNotFound: Could not find user unifi@#optional
2024-02-10T13:30:03.693+0000 I NETWORK  [conn755] end connection <IP_ADDRESS>:51506 (2 connections now open)
2024-02-10T13:30:03.694+0000 I NETWORK  [conn754] end connection <IP_ADDRESS>:51496 (1 connection now open)
2024-02-10T13:30:04.191+0000 I NETWORK  [listener] connection accepted from <IP_ADDRESS>:51522 #756 (2 connections now open)
2024-02-10T13:30:04.191+0000 I NETWORK  [conn756] received client metadata from <IP_ADDRESS>:51522 conn756: { driver: { name: "mongo-java-driver|sync", version: "4.6.1" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "6.5.0-17-generic" }, platform: "Java/Private Build/17.0.9+9-Ubuntu-122.04" }
2024-02-10T13:30:04.194+0000 I NETWORK  [listener] connection accepted from <IP_ADDRESS>:51528 #757 (3 connections now open)
2024-02-10T13:30:04.194+0000 I NETWORK  [conn757] received client metadata from <IP_ADDRESS>:51528 conn757: { driver: { name: "mongo-java-driver|sync", version: "4.6.1" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "6.5.0-17-generic" }, platform: "Java/Private Build/17.0.9+9-Ubuntu-122.04" }
2024-02-10T13:30:04.195+0000 I ACCESS   [conn757] SCRAM-SHA-1 authentication failed for unifi on #optional from client <IP_ADDRESS>:51528 ; UserNotFound: Could not find user unifi@#optional
2024-02-10T13:30:04.196+0000 I NETWORK  [conn757] end connection <IP_ADDRESS>:51528 (2 connections now open)
2024-02-10T13:30:04.197+0000 I NETWORK  [conn756] end connection <IP_ADDRESS>:51522 (1 connection now open)

Sorry about that.
Are you using the newer "generic" version?
Can you post the compose file you are using?


routing detector tool

it shows different lane transitions type with different colors. when you hover over target lane it shows list of all transitions to that lane.
TODO:

[x] highlight target lanes when hovering over source lanes (not only when selecting it).

Future:

backward mode (show backward transitions). #1537

TMPE.zip

Is this just for dev/debug, or is it aimed at end-users?

@aubergine10

I'd remove TLM/TLM/UI/MainMenu/MainMenuPanel.cs before merge.

That is what I did. it was an empty file so I just deleted it :). that is why it is showing here.

I suggest just re-use existing icons

But then how can you tell the difference between different tools? these icons are not too big.

Select node, hover above an outgoing lane (any without white circle):
NullReferenceException: Object reference not set to an instance of an object
  at TrafficManager.UI.SubTools.RoutingDetector.RoutingDetectorTool.RenderActiveToolOverlay (.CameraInfo cameraInfo) [0x00000] in <filename unknown>:0
  at TrafficManager.UI.TrafficManagerTool.RenderOverlayImpl (.CameraInfo cameraInfo) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
TrafficManager.Util.Shortcuts:LogException(Exception, Boolean)
TrafficManager.UI.TrafficManagerTool:RenderOverlayImpl(CameraInfo)
TrafficManager.UI.TrafficManagerTool:RenderOverlay(CameraInfo)
ToolManager:EndOverlayImpl(CameraInfo)
SimulationManagerBase`2:EndOverlay(CameraInfo)
ToolManager:IRenderableManager.EndOverlay(CameraInfo)
RenderManager:Managers_RenderOverlay(CameraInfo)
OverlayEffect:OnPostRender()


feat(exports): export LazyObjectOptions, ObjectPropertiesArg, and SchemaOptions interface

Current dependencies on/for this PR:

main

PR #26   👈

This comment was auto-generated by Graphite.


Get Items for those keys that contain given key input as substring

Here I want to get all keys value pair in which keys are contain given input key as a substring
For eg;
In localStorage driver, there are Items store for students with keys as 'student-class-1, student-class-2, etc and for teachers keys like teacher-class-1, etc.
So to get data for only those key which contain 'student' as a substring at one shot.

@thgreasi Can we add this feature in this library.

localForage doesn't support this "out-of-the-box", but because it supports extensions, you can use https://github.com/localForage/localForage-getItems to get all items at once (and then filter the results) or use https://github.com/localForage/localForage-startsWith to get all items that start with a key.
You could also use either of those libraries as the basis to build your own extension that allowed you to get any key that matches a substring, instead of just starting with one.
So we probably wouldn't add something like this to the core library (at least not in v1), but we do support it with extensions, and if the current ones don't work exactly for you, it should be straightforward to use them as a basis for your own extensions 🙂

But how will I make this extension a part of localForage repository
On Sun, May 10, 2020 at 8:30 PM Matthew Riley MacPherson <
<EMAIL_ADDRESS>wrote:

localForage doesn't support this "out-of-the-box", but because it supports
extensions, you can use
https://github.com/localForage/localForage-getItems to get all items at
once (and then filter the results) or use
https://github.com/localForage/localForage-startsWith to get all items
that start with a key.
You could also use either of those libraries as the basis to build your
own extension that allowed you to get any key that matches a substring,
instead of just starting with one.
So we probably wouldn't add something like this to the core library (at
least not in v1), but we do support it with extensions, and if the current
ones don't work exactly for you, it should be straightforward to use them
as a basis for your own extensions 🙂
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/localForage/localForage/issues/959#issuecomment-626341207,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOK5EKCCVALYVSTHXEFR3ZLRQ26QJANCNFSM4M5HW5BQ
.

Once you make the extension, you can publish it as your own npm module to start with, as it doesn't need to be part of the localForage repo/organisation to work. Usually the modules in our organisation are maintained by localForage authors, but it's okay to publish it as a third-party extension 🙂

Cool 😊👍
On Mon 11 May, 2020, 12:04 AM Matthew Riley MacPherson, <
<EMAIL_ADDRESS>wrote:

Once you make the extension, you can publish it as your own npm module to
start with, as it doesn't need to be part of the localForage
repo/organisation to work. Usually the modules in our organisation are
maintained by localForage authors, but it's okay to publish it as a
third-party extension 🙂
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/localForage/localForage/issues/959#issuecomment-626369840,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOK5EKGIKAVXY3YSU6VDNSLRQ3XR5ANCNFSM4M5HW5BQ
.


Handle dependencies with smaller time increments

Handle dependencies with smaller time increments. Resolves #599

In the latest implementation:
$ cd /lcrc/group/e3sm/ac.forsyth2/zppy_test_complete_run_output/test_599-post-600v3/v2.LR.historical_0201/post/scripts
e3sm_diags_atm_monthly_180x360_aave_model_vs_obs_1850-1851.status:WAITING 548775
e3sm_diags_atm_monthly_180x360_aave_model_vs_obs_1850-1853.status:WAITING 548777
e3sm_diags_atm_monthly_180x360_aave_model_vs_obs_1852-1853.status:WAITING 548776
e3sm_diags_atm_monthly_180x360_aave_mvm_model_vs_model_1852-1853_vs_1850-1851.status:WAITING 548782
e3sm_diags_lnd_monthly_mvm_lnd_model_vs_model_1850-1851_vs_1850-1851.status:WAITING 548783
global_time_series_1850-1860.status:WAITING 548786
ilamb_1850-1853.status:WAITING 548787
mpas_analysis_ts_1850-1854_climo_1850-1854.status:WAITING 548784
mpas_analysis_ts_1850-1860_climo_1855-1860.status:WAITING 548785

This pull request doesn't even touch mpas_analysis.py so something must be wrong in the dependency addition function, not in how it's called.

Test of min_case_add_dependencies shows 2 errors:
1st, global time series is looking for the wrong dependency:
global_time_series_1985-1994
...skipping because of dependency status file missing
   /lcrc/group/e3sm/ac.forsyth2/zppy_min_case_add_dependencies_output/unique_id/v3.LR.historical_0051/post/scripts/ts_atm_monthly_glb_1985-1994-0010.status

We want two 5-year increment ts files...
2nd, e3sm_diags_atm_monthly_180x360_aave_model_vs_obs_1985-1994 is failing: ref_start_yr = doesn't get defined in e3sm.py.

Tested with min_case_add_dependencies


JS language options documentation

Hi,
I would like to understand more in detail the language options available for JS. Instanciating a new JS engine, I was able to see that in RC6 these are the language options available for JS:
Option: js.syntax-extensions 		default key: true category: USER
Option: js.scripting 				default key: false category: USER
Option: js.strict 					default key: false category: USER
Option: js.shebang 					default key: true category: USER
Option: js.const-as-var 			default key: false category: USER
Option: js.function-statement-error default key: false category: USER
Option: js.ecmascript-version 		default key: 10 category: USER
Option: js.annex-b 					default key: true category: USER
Option: js.intl-402 				default key: false category: USER
Option: js.regexp-static-result 	default key: true category: USER
Option: js.array-sort-inherited 	default key: true category: USER
Option: js.shared-array-buffer 		default key: true category: USER
Option: js.atomics 					default key: true category: USER
Option: js.v8-compat 				default key: false category: USER
Option: js.v8-realm-builtin 		default key: false category: DEBUG
Option: js.nashorn-compat 			default key: false category: USER
Option: js.stack-trace-limit 		default key: 10 category: USER
Option: js.debug-builtin 			default key: false category: DEBUG
Option: js.direct-byte-buffer 		default key: false category: USER
Option: js.parse-only 				default key: false category: USER
Option: js.timezone 				default key:  category: USER
Option: js.precise-time 			default key: false category: USER
Option: js.agent-can-block 			default key: true category: DEBUG
Option: js.java-package-globals 	default key: true category: USER
I cannot find any docs on what each option does (beyond the obvious meaning of the name itself).
Some docs on those options would be highly appreciated.
Cheers
Edoardo.

Hi Edoardo,
have you used js --help:languages? That prints you some description for each option:
$ js --help:languages

Language options:
  JavaScript:
    --js.annex-b=<Boolean>                       Enable ECMAScript Annex B features. (default:true)
    --js.array-sort-inherited=<Boolean>          implementation-defined behavior in Array.protoype.sort: sort inherited keys? (default:true)
   ...

HI,
Thanks! I did not. I will have a look and report back.
Cheers
Edoardo.

Hi,
The help command definitely helps, the content clarifies the options available.
If I may offer a suggestion, I would add that same content to the Docs you have in GraalJS, so that information is more centralised.
Why is the V8 compatibility disabled by default? Does it require additional resources/time to start/execute and hence has been left as optional?
Thanks
Edoardo.

Hi,
we have listed them on http://www.graalvm.org/docs/reference-manual/languages/js/#graalvm-javascript-options The pitfal of this is that external documentation is quickly outdated after creating it.
Regarding V8 compatibility: Our main goal is ECMAScript compatibility. The V8-compatibility flag is only used for cases where V8 explizitly and persistently deviates from that behaviour - mostly relevant around Node.js (so V8 compatibilitly is the default in our node executable). In many other cases, e.g. for new experimental features that are added to ECMAScript at some later point in time, V8 typically also moves towards ECMAScript compatibility.
Best,
Christian


Video and Audio streaming custom support

Allow for custom audio or video classes for streaming, and work on how that info will be passed to the ControlSDK from a different module.

merged into develop


 Indeed, distributeRewards() is automatically called into the deposit() function of the RewarderPool. That way, just depositing after setting block.timestamp 5 days later is enough to mint the accounting tokens and to also mint the reward token for the new round triggered by the deposit.

You are correct! Thanks for your contribution 🙏

@RealJohnnyTime  no problem, thank you for your great content 👍


Incorrect SSS validation

Referencing to https://github.com/graphcool/graphcool-cli/issues/191

I cannot reproduce this anymore and consider it fixed - please open a new ticket if you experience this again 🙂


Jest support

Mentioned in:
https://github.com/GeekyAnts/NativeBase/issues/272
jest is currently broken with native-base
react-native, react and native-base version
0.38.1, 15.4.1, 0.5.18
Expected behaviour
npm test works
Actual behaviour
npm test failed with
import Drawer from './Components/vendor/react-native-drawer';
    ^^^^^^
    SyntaxError: Unexpected token import

      at transformAndBuildScript (node_modules/jest-runtime/build/transform.js:320:12)

Try the following solution:
Add the following property to your package.json's jest config section:
"transformIgnorePatterns": [
  "/node_modules/(?!native-base)/"
]

Like so:

Explanation

By default, Jest does not attempt to transpile  3rd party libs (i.e. anything under node_modules). This makes sense, as most "proper" npm packages would do the transpilation already during install or before publishing as a package.

The config above changes Jest behaviour from "don't transpile any 3rd party libs" to "don't transpile any 3rd party libs, except for native-base"

Your test should take more time to run as Jest will now have to transpile native-base.

The proper solution is to have native-base transpile ES6 code upon install or before publishing, so that we don't have to deal with this workaround

This has been added to 0.5.21. Please update and let us know if that works.

Hi guys,
One question... Is possible to detect if the drawer is opened?
I'm getting issues with the following tests (Using enzyme):

Using spy to detect if the function was executed

describe('when the filters Button are pressed', () => {
  const wrapper = mount(<ProductList {...testProps} />)

  it('should display a side menu to select filters', () => {
    wrapper.find('[className="filtersBtn"]').first().props().onPress()

    const spy = jest.spyOn(wrapper.find(Drawer).first().props(), 'onOpen')

    expect(spy).toHaveBeenCalled()
  })
})

Error: TypeError: Cannot read property '_isMockFunction' of undefined

Using the property open of the Drawer component

describe('when the filters Button are pressed', () => {

  const wrapper = mount(<ProductList {...testProps} />)

  it('should display a side menu to select filters', () => {
    wrapper.find('[className="filtersBtn"]').first().props().onPress()

    expect(wrapper.find(Drawer).first().props().open).toBeTruthy()
  })
})

Error: Expected value to be truthy, instead received undefined
And in both cases I'm getting the following message:
Calling .setNativeProps() in the test renderer environment is not supported. Instead, mock out your components that use findNodeHan dle with replacements that don't rely on the native environment

It fixed my problem
The first test run will be very slow. Subsequent runs will be much faster because of caching mechanism


Migrate docs to mkdocs material platform

This PR migrates the docs to a new platform that can be managed here and imported directly into the main Polygon Knowledge Layer.

Looks good to me, thanks a lot. I feel we are getting eventually good docs. Just added some minor questions.
Thanks for updating the headings as well.
Is there a way to remove the docs top folder? We might not need docs/docs, right?

yes, absolutely, i missed that, i'll do it tomorrow

Looks good to me, thanks a lot. I feel we are getting eventually good docs. Just added some minor questions.
Thanks for updating the headings as well.
Is there a way to remove the docs top folder? We might not need docs/docs, right?

yes, absolutely, i missed that, i'll get these things done tomorrow

Hmmm, actually, I think we do need it, it is expected by the plugin.

@bobbinth @Dominik1999 updates done and answered comments

Definitely, closing :)


Error while loading table graph in 1.1.0

Table chart created before upgrade to 1.1.0 but after upgrade there's error.
Expected results
Table chart shown ok
Actual results
Not working Table chart
Screenshots

How to reproduce the bug

Open dashboard with already created Table chart
See error

Environment
(please complete the following information):

superset version: 1.1.0
python version: 3.8.7
node.js version: v12.21.0

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Log:
Apr 15 21:02:42 node6 python3.8[1195778]: 'val'
Apr 15 21:02:42 node6 python3.8[1195778]: Traceback (most recent call last):
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/common/query_context.py", line 361, in get_df_payload
Apr 15 21:02:42 node6 python3.8[1195778]:     query_result = self.get_query_result(query_obj)
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/common/query_context.py", line 114, in get_query_result
Apr 15 21:02:42 node6 python3.8[1195778]:     result = self.datasource.query(query_object.to_dict())
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/connectors/sqla/models.py", line 1313, in query
Apr 15 21:02:42 node6 python3.8[1195778]:     query_str_ext = self.get_query_str_extended(query_obj)
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/connectors/sqla/models.py", line 772, in get_query_str_extended
Apr 15 21:02:42 node6 python3.8[1195778]:     sqlaq = self.get_sqla_query(**query_obj)
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/connectors/sqla/models.py", line 1080, in get_sqla_query
Apr 15 21:02:42 node6 python3.8[1195778]:     eq = utils.cast_to_num(flt["val"])
Apr 15 21:02:42 node6 python3.8[1195778]: KeyError: 'val'
Apr 15 21:02:42 node6 python3.8[1195778]: ERROR:superset.common.query_context:'val'
Apr 15 21:02:42 node6 python3.8[1195778]: Traceback (most recent call last):
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/common/query_context.py", line 361, in get_df_payload
Apr 15 21:02:42 node6 python3.8[1195778]:     query_result = self.get_query_result(query_obj)
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/common/query_context.py", line 114, in get_query_result
Apr 15 21:02:42 node6 python3.8[1195778]:     result = self.datasource.query(query_object.to_dict())
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/connectors/sqla/models.py", line 1313, in query
Apr 15 21:02:42 node6 python3.8[1195778]:     query_str_ext = self.get_query_str_extended(query_obj)
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/connectors/sqla/models.py", line 772, in get_query_str_extended
Apr 15 21:02:42 node6 python3.8[1195778]:     sqlaq = self.get_sqla_query(**query_obj)
Apr 15 21:02:42 node6 python3.8[1195778]:   File "/usr/local/lib/python3.8/site-packages/superset/connectors/sqla/models.py", line 1080, in get_sqla_query
Apr 15 21:02:42 node6 python3.8[1195778]:     eq = utils.cast_to_num(flt["val"])
Apr 15 21:02:42 node6 python3.8[1195778]: KeyError: 'val'

@dusatvoj thanks for reporting. do you mind testing latest master see if this is still an issue? thanks!

IDK how. I'm usually using pip installation :thinking: But I'm if you tell me how :grinning:

The error is resolved by removing "IS NOT NULL" condition from the filters. The chart worked just fine before the update.

I also noticed that IS (NOT) NULL Filters cause errors in version 1.0.1, but I haven't had the time for reporting it. I think that this bug is not related to any particular kind of chart, though.
Maybe you should consider updating/renaming this issue?!
In the meantime you can work around this issue by creating a custom filter that reads "(my_column is null) = true)" or so.

@rumbin
Better? :D

@andrey-zayats took a look at this and was unable to reproduce the issue. I'm going to go ahead and remove the validation:required label and close the issue. If anyone sees this happening in Superset 2.0.x or later, or on master, we're open to revisiting this conversation, re-opening the ticket, or triaging a new Issue with updated context. Thank you!


⚠ Samsung has degraded performance

In bb0b754, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3336 ms

Resolved: Samsung performance has improved in 18265d0.


Looking up help on fft doesn't work in IJulia (but works in terminal)

?fft

search: fft fft! FFTW fftshift rfft ifft bfft ifft! bfft! ifftshift irfft brfft

MethodError: `plain` has no method matching plain(::IOBuffer, ::Base.Markdown.LaTeX)
Closest candidates are:
  plain(::IO, !Matched::Base.Markdown.Table)
  plain(::IO, !Matched::Array{T,1})
  plain(::IO, !Matched::Base.Markdown.MD)
  ...

 in plain at markdown/render/plain.jl:6
 in writemime at markdown/render/plain.jl:71
 in writemime at multimedia.jl:41
 in sprint at iostream.jl:203
 in display_dict at /Users/malmaud/.julia/v0.4/IJulia/src/execute_request.jl:25

The correct help macro to call keeps changing; perhaps it has changed again.  Can you dig through base/REPL.jl to see what the current incantation is?

I can try.

I submitted a pending Julia PR which fixes this.


Template7 > how to equal two variables from different contexts?

My template context object example:
{
	label: "Image Size",
	current: "3872x2592",
	choices: [
		"3872x2592",
		"2896x1944",
		"1936x1296"
	]
}

my template:
{{#if choices}}
  <select name="{{label}}">
    {{#each choices}}
    <option value="{{@index}}" {{#js_compare "this == current"}}selected{{/js_compare}} >
      {{this}}
    </option>
    {{/each}}
  </select>
{{/if}}

I need compare every item in {{#each}} block with variable from parent context (in my case variable current)
I tried:

current
{{../current}}
../current

... no success.
Is it possible?
Thanks for answer :)

No need to duplicate same issue in different repo. Will close this one, and give you an anwer in Template7's one


[dask] multiclass classification gives different samples for same split

Description

When using lgb.DaskLGBMClassifier with multiclass classification the same split produces different numbers of samples being sent to each child.
Reproducible example

import dask.array as da
import lightgbm as lgb
import numpy as np
from dask.distributed import Client
from sklearn.datasets import make_blobs

client = Client(n_workers=2, threads_per_worker=2)

X, y = make_blobs(n_samples=1_000, centers=[[-4, -4], [4, 4], [-4, 4]])
dX = da.from_array(X, chunks=(100, 2))
dy = da.from_array(y, chunks=100)
clf = lgb.DaskLGBMClassifier().fit(dX, dy)

trees_df = clf.booster_.trees_to_dataframe()
trees_df['threshold'] = trees_df['threshold'].astype(np.float64)
# find left childs of the root node when it splits on x1<=0
relevant = trees_df.loc[lambda x: (x.node_depth == 1) & (x.split_feature == 'Column_0') & np.isclose(x.threshold, 0), ['tree_index', 'left_child']]
relevant = relevant.rename(columns={'left_child': 'node_index'})
print(trees_df.merge(relevant)['count'].value_counts().head().to_markdown())

count

485
54

516
28

523
2

667
1

635
1

Running the exact same thing using lgb.LGBMClassifier returns 667 everytime (which is the number of samples with X[:, 0] <= 0).
Environment info
LightGBM version or commit hash: 1e95cb097757996cd82699071c82c205bf2b48a5

Additional Comments

I believe this may be the reason why sometimes the tests for multiclass classification fail. I've been struggling with a case where one sample seems to have gone the wrong way in a split because it gets a relatively big probability of being of another class.

Adding some more info here. This seems to be a sync problem like the one in #4026. The example above only gets the correct number of samples where Column_0 <= 0 (667) on the first iteration, i.e.:
import dask.array as da
import lightgbm as lgb
import numpy as np
from dask.distributed import Client
from sklearn.datasets import make_blobs

client = Client(n_workers=2, threads_per_worker=2)

X, y = make_blobs(n_samples=1_000, centers=[[-4, -4], [4, 4], [-4, 4]])
dX = da.from_array(X, chunks=(100, 2))
dy = da.from_array(y, chunks=100)
clf = lgb.DaskLGBMClassifier(n_estimators=5).fit(dX, dy)

trees_df = clf.booster_.trees_to_dataframe()
trees_df['threshold'] = trees_df['threshold'].astype(np.float64)
# find left childs of the root node when it splits on x1<=0
relevant = trees_df.loc[lambda x: (x.node_depth == 1) & (x.split_feature == 'Column_0') & np.isclose(x.threshold, 0), ['tree_index', 'left_child']]
relevant = relevant.rename(columns={'left_child': 'node_index'})
print(trees_df.merge(relevant)[['tree_index', 'count']].to_markdown())

tree_index
count

0
1
667

1
4
638

2
7
605

3
10
587

4
13
577


[TypeScript] TimeZone type

Is your feature request related to a problem? Please describe.
Hey, I'm having trouble accessing the TimeZone type from the lib.
I need it to pass the useTimeZone() return variable as prop to a provider component.
Describe the solution you'd like
Accessing TimeZone type from the lib (example: import type {TimeZone} from "next-intl")
Describe alternatives you've considered
Copy-paste all the TimeZone type locally.

next-intl only provides auto-complete for the timeZone prop in i18n.ts and NextIntlProvider, but ultimately any string is accepted:
https://github.com/amannn/next-intl/blob/9c54d623ed39d251c59a0cde58a17452524ff96b/packages/use-intl/src/core/TimeZone.tsx#L424
This is because there might be time zones that are not present in the list. We do try to make it easy to pick a correct one with the auto-complete TypeScript hack.
Therefore to pass the time zone to another component or function, you should be able to type it just as string. Does that work for you?

Hey, your solution works fine for me. I just thought the fact I was unable to access TimeZone type was something I could fix by accessing another package
I finally used the useTimeZone hook returned value like this to handle the possibility of undefined :
const timeZone = useTimeZone()
const timeZoneCode = timeZone ? timeZone.toString() : "UTC"
Thanks for your response. Have a good week-end!


refactor joinWith() storing and processing

refactor joinWith internals:

store one join in $joinWith property instead of the whole array. i.e. normalize beforehand!
makes a lot of the aliasing much cleaner and simpler.

related to #10253

As you plan to make BC breaking changes in joinWith, I would like to remind the suggestion to get more consistency (and reliability and efficiency) for the alias syntax between;
joinWith( ['alias' => 'relation'] ) //not yet possible
from( ['alias' => 'table'] )
join( ['alias' => 'table'] )
select( ['alias' => 'column'] )
As mentioned in https://github.com/yiisoft/yii2/issues/6951 and https://github.com/yiisoft/yii2/issues/10900

This syntax has not been added as it adds confusion about what an array key should stand for:
->joinWith( ['alias' => 'relation'] ) // array key is the alias
->joinWith( ['relation' => function($q) { ... }] ) // array key is the relation!?

@cebe how about ?
->joinWith( ['relation' => 'alias'] )
->joinWith( ['relation' => function ($q)] )
->joinWith( ['relation' => ['alias' => 'alias', 'callback' => function ($q)]] )

To be honest, I don't really like the ['alias' => 'relation/table'] notation, the natural order would rather be ['relation/table' => 'alias']. But it is best if it is consistent within the same framework.
Note that this imply to write two separate's joinWith if the same relation is used twice with different aliases (but that's a not a bad way to code).
Or maybe use the simple doctrine style (which limits to one relation by joinWith)
joinWith( $with, $alias = null, $eagerLoading = true, $joinType = 'LEFT JOIN' )

To be honest, I don't really like the ['alias' => 'relation/table'] notation

this notation is forced by the nature of php, because we can have aliases for Query objects, the table/Query must be the array value and the alias be the key.

@cebe Does joinWith() can have a query object? Could you give an example?
Or are you talking about the from() method?

talking about from() and join(), query does not make sense for joinWith() because its only sense is to reuse existing definition of a relation.


how to load background-conditioned foreground model?

Hi @weihaoxie, currently background-conditioned have not been supported. I will work on that as soon as possible

hi how can we support foreground conditioned background generation

Foreground and Background conditioned generation have been supported now. I will push some more updates about foreground and background prompt separately as well as SDXL version


users password pdf

Fixes: #1496

Please add a more explicit commit message (with capital letter if you like :-), have a look at my comment, rebase and merge.

Travis fails, because it can not load the development version of coverage. I do not understand way. @normanjaeckel can you find a solution?

Done via restart of Travis Job.

I tried this...
can you merge this pull request?


[ Question ] Executing a function from Binary Protocol with SQL

I found and read this wiki: http://orientdb.com/docs/last/Functions.html
So i created a database named test_tr and in the OrientDB web studio i created a function named my_sum as in the previous example.
The function is stored in the database as:
----+----+---------+----------+------+----------+----------+---------------------------------
#   |@RID|@CLASS   |idempotent|name  |parameters|language  |code
----+----+---------+----------+------+----------+----------+---------------------------------
0   |#6:1|OFunction|true      |my_sum|[2]       |javascript|return parseInt(a) + parseInt(b);
----+----+---------+----------+------+----------+----------+---------------------------------

I call it by HTTP and it works:
http://localhost:2480/function/test_tr/my_sum/3/5:
{"result":[{"@type":"d","@version":0,"value":8.0,"@fieldTypes":"value=d"}]}

There is any way to call it from Binary Protocol?
This is what i tried:
info = DB.db_open( "test_tr", "admin", "admin" )
res2 = DB.query( "select my_sum( 1, 1 )" )

And i receive this exception:
Cannot find a command executor for the command request: sql. select my_sum( 1, 1 )  - com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException

The select should work, but declare the function as idempotent. Otherwise use the "command" instead of "query"


[Feature Request] Share Custom Embed and Text Templates Between Feeds

Is your feature request related to a problem? Please describe.
This is feature for add us (users) backup created message embed settings (like: color, message, author, timestamp etc)
And then, if we need it. use this backup for other feeds.
Describe the solution you'd like
Can't do it clearly... but if simple:
add function to save backup.
add function to load backup.
Additional context
I want this feature (maybe others too) because I have some feeds what have the same embed and text message.
So I need copy the same template again and again in all my not different (my eng best) feeds.

Hi, you can use the rssclone command (or clone command on dev branch) to copy settings from one feed to one or more other feeds


Contributor needed?

I am probably not the right person to ask this, as I am still new to Lua (more fluent in other dynamic language like javascript), but it seems like this project may need some help pushing out a new release?
A few improvement could be:

Some of pending PRs are trivial and merge-able, eg. #46 #48;
Many commits happened after the March 3rd 2013 release, 1.8.1, changelog can includes changes in master that haven't been released;

would be cool


Add 3.1.1 milestone

I think that we should add a 3.1.1 milestone to keep track of everything that we have left to do to get updated with papercss 3.1.1

I can't agree more. 👌


VERY MINOR, but a tweek if any, The LogiX Impulse lines are completely opaque compare to the original generated in Neos

So apparently when the Logix generates their pulse visual, it replaces the visual with a fully opaque instead of slightly alpha'd  logiX impulse line as seen below,
BEFORE:

AFTER:

Thought to place this down, the Left is the Neos generated one, while the right side is the one generated after a pulse.

#2 inherently fixes this issue

fixed in 1.0.2 release


feat: update gradle 8.7 and use Java 21 to build armeria

Motivation:
For some reason my IDE tried to use java-21, however it threw an error! When I looked into it, I realized gradle was kinda a old and decided to do the update.
Modifications:
The command I run to upgrade gradle is gradle wrapper --gradle-version 8.7.

Update gradle wrapper to 8.7
Update CI/CD pipelines to use Java 21

Also did changes regarding the deprecation warnings:
WARNING: The following functionality has been deprecated and will be removed in the next major release of the Develocity Gradle plugin. For assistance with migration, see https://gradle.com/help/gradle-plugin-develocity-migration.
- The deprecated "gradleEnterprise.buildScan.tag" API has been replaced by "develocity.buildScan.tag"
- The deprecated "gradleEnterprise.buildScan.buildFinished" API has been replaced by "develocity.buildScan.buildFinished"
- The deprecated "gradleEnterprise.buildScan.background" API has been replaced by "develocity.buildScan.background"
- The deprecated "gradleEnterprise.server" API has been replaced by "develocity.server"
- The deprecated "gradleEnterprise.buildScan.publishIfAuthenticated" API has been replaced by "develocity.buildScan.publishing.onlyIf { it.authenticated }"
- The deprecated "gradleEnterprise.buildScan.uploadInBackground" API has been replaced by "develocity.buildScan.uploadInBackground"
- The deprecated "gradleEnterprise.buildScan.capture.taskInputFiles" API has been replaced by "develocity.buildScan.capture.fileFingerprints"
- The deprecated "gradleEnterprise.buildCache" API has been replaced by "develocity.buildCache"
- The deprecated "gradleEnterprise.buildScan.value" API has been replaced by "develocity.buildScan.value"
- The deprecated "gradleEnterprise.buildScan.link" API has been replaced by "develocity.buildScan.link"
- The deprecated "predictiveSelection.enabled" API has been replaced by "develocity.predictiveTestSelection.enabled"
- The "com.gradle.enterprise" plugin has been replaced by "com.gradle.develocity"
- The "buildScan.publishAlways" API has been removed, the updated Develocity "buildScan.publishing" API publishes a Build Scan by default

Result:

Support JDK-21 for building armeria.

This is why CI is failing 🙂

@Dogacel is not a maintainer. Disallowed to change GitHub Actions workflows.

We use self-hosted runners for which GitHub does not support Docker environments. An attacker may install malicious code to steal our credentials when GitHub actions jobs using sensitive information are running.
Let us take over this PR. I will create a new branch based on your PR and add you as a co-author.

We use self-hosted runners for which GitHub does not support Docker environments. An attacker may install malicious code to steal our credentials when GitHub actions jobs using sensitive information are running.
Let us take over this PR. I will create a new branch based on your PR and add you as a co-author.

That's pretty fair 🙂 Thanks for the explanation! Good security measures 👍

@ikhoon Just letting you know, the existing GitHub runners are successfully building. I had to upgrade ProGuard because 7.3 did not support Java 21. Please LMK if anything comes up.

Thanks @Dogacel for trying to keep things up-to-date! 🙇

Superseded by #5667


scrub: remove Lyrics3v2 and other unsupported tags

As mentioned in http://code.google.com/p/beets/issues/detail?id=427 the scrub
plugin currently is not able to remove obscure or deprecated tag formats like
Lyrics3v2 as they are not supported by the mutagen library.

Original issue reported on code.google.com by amselfelder on 25 Aug 2012 at 9:31

Do not comment here, but on sampsyo/beets#171


There Are Some Inefficiencies

My ideas are for getting rid of some inefficiencies.

Implement a feature where BSPGuy users, can select more than one entity like in J.A.C.K.

Implement a feature where BSPGuy users, can collectively select an entity group via an “advanced selection tool.”

2a. In a similar vein to the “advanced selection tool” idea, at least when in comes to monstermaker, squadmaker, and env_xenmaker entities, is to also have a tool to both search and collectively select them by spawning entities, making it much more easier and less time consuming when it comes to looking through each of the aforementioned three entities.

Implement a feature where BSPGuy users, can use CTRL + F, which can allow them to find entities by name by typing them in.

3. Implement a feature where BSPGuy users, can use CTRL + F, which can allow them to find entities by name by typing them in.

@ToxicHolyGrenade
map->Entity report ???

That can work. :)


[BUG] Cost-management group by muliple tags returns null values

Describe the bug
I have multiple tags which i place on all my resources (e.g. userid, projectid etc.).
For my usecase i want to get the costs grouped by all my tags.
When i now request the usage grouped by these tags i receive only values for the first one and the others are set null.
Exception or Stack Trace
Add the exception log and stack trace if available
To Reproduce
Steps to reproduce the behavior:
Code Snippet
   String scope = "subscriptions/XXXX-XXX-XXXXXXX";

    Map<String, QueryAggregation> aggregateByTotalCost = Map.of("totalCost", new QueryAggregation()
        .withName("Cost")
        .withFunction(FunctionType.SUM));

    List<QueryGrouping> groupByTag = new ArrayList<>();
    groupByTag .add(new QueryGrouping()
            .withType(QueryColumnType.fromString("TagKey"))
            .withName("projectId"));
     groupByTag .add(new QueryGrouping()
            .withType(QueryColumnType.fromString("TagKey"))
            .withName("userId"));

    QueryDataset queryDataset = new QueryDataset()
        .withAggregation(
            aggregateByTotalCost)
        .withGrouping(
            groupByTag);

    QueryDefinition queryDefinition = new QueryDefinition()
        .withType(ExportType.ACTUAL_COST)
        .withTimeframe(TimeframeType.MONTH_TO_DATE)
        .withDataset(queryDataset);

    QueryResult usage = manager
        .queries()
        .usage(scope, queryDefinition);

Expected behavior
I expect that the i receive the cost/usage data grouped by all my defined tags.
Setup (please complete the following information):

OS: Windows 10
IDE: Intellij IDEA
Library/Libraries: com.azure.resourcemanager:azure-resourcemanager-costmanagement 1.0.0-beta.3 and com.azure:azure-identity 1.3.4
Java version: 8
Frameworks:Spring boot

Additional context
This also happens when i do my request with postman. It is possible that the azure Cost-Management API
dose not support multiple tags.
Then i would need a workaround
postman request body:
{
    "type": "ActualCost",
    "dataSet": {
        "aggregation": {
            "totalCost": {
                "name": "Cost",
                "function": "Sum"
            }
        },
        "filter": {
            "Tags": {
                "Name": "adpresourcetype",
                "Operator": "In",
                "Values": [ "ondemand" ]
            }
        },
        "grouping": [
            {
                "type": "TagKey",
                "name": "projectid"
            },
            {
                "type": "TagKey",
                "name": "userid"
            }
        ],
        "granularity": "None"
    },
    "timeframe": "MonthToDate"
}

response body:
{
    "id": "subscriptions/XXXX_XXXX_XXXX/providers/Microsoft.CostManagement/query/XXXX_XXXX_XXXX",
    "name": "XXXX_XXXX_XXXX",
    "type": "Microsoft.CostManagement/query",
    "location": null,
    "sku": null,
    "eTag": null,
    "properties": {
        "nextLink": null,
        "columns": [
            {
                "name": "Cost",
                "type": "Number"
            },
            {
                "name": "TagKey",
                "type": "String"
            },
            {
                "name": "TagValue",
                "type": "String"
            },
            {
                "name": "Currency",
                "type": "String"
            }
        ],
        "rows": [
            [
                2.07598162E-07,
                "userid",
                null,
                "EUR"
            ],
            [
                0.001148328523571,
                "projectid",
                "1",
                "EUR"
            ],
            [
                0.001386685128425,
                "projectid",
                "2",
                "EUR"
            ],
            [
                0.006164051683191,
                "userid",
                null,
                "EUR"
            ],
            [
                1.29847054E-07,
                "projectid",
                "2",
                "EUR"
            ],
            [
                1.298470536E-06,
                "projectid",
                null,
                "EUR"
            ],
            [
                1.0809767209E-05,
                "projectid",
                "1",
                "EUR"
            ],
            [
                1.2238084799E-05,
                "userid",
                null,
                "EUR"
            ],
            [
                5.4877692473272477,
                "projectid",
                null,
                "EUR"
            ],
            [
                5.4877692473272477,
                "userid",
                null,
                "EUR"
            ],
            [
                13.686397307427212,
                "projectid",
                "1",
                "EUR"
            ],
            [
                13.860597627890197,
                "projectid",
                "2",
                "EUR"
            ],
            [
                24.803993800861953,
                "projectid",
                null,
                "EUR"
            ],
            [
                52.350988736179367,
                "userid",
                null,
                "EUR"
            ],
            [
                1.7815025964649649,
                "projectid",
                null,
                "EUR"
            ],
            [
                1.7815025964649649,
                "userid",
                null,
                "EUR"
            ]
        ]
    }
}

@weidongxu-microsoft could you please follow up with @Ramedlaw-knil on their question?

To cost management service, please investigate.

We will investigate further and get back to you

When Query API is called with group by TagKeys, the response will have both TagKey and TagValue (by design). And if you have null values for TagKeys it is expected to see null values in the response.

@Ramedlaw-knil pls let us know if above explanation does not help you. It has been more than a week since any response on the suggestion made by @handeeeadiguzel. Henc closing this trhead.


Sprint Math activity

This is my first activity. I have made the UI of the game responsive, i am facing one issue the button in the top-right is not closing the activity. @llaske can you help me with that.
Screenshots of activity:
Desktop:

Mobile:

This symptom often mean that you don't call the "activity.setup()" function at startup.
See here for an explanation. I suggest you to do the whole tutorial.

I was implementing localisation from the tutorial, and getting some unexpected errors
env.getEnvironment(function (err, environment) {
            currentenv = environment;

            var defaultLanguage = (typeof chrome != 'undefined' && chrome.app && chrome.app.runtime) ? chrome.i18n.getUILanguage() : navigator.language;
            var language = environment.user ? environment.user.language : defaultLanguage;
            webL10n.language.code = language;
            console.log("Language code in env="+language);
});

window.addEventListener("localized", function () {
            // Set current language to Sugarizer
            console.log("Language code in window.addeventlistener="+webL10n.language.code);
            console.log(webL10n.get("Time"));

            document.getElementById("timeString").innerHTML = webL10n.get("Time");
            document.getElementById("scoreString").innerHTML = webL10n.get("Score");
            document.getElementById("instructionString").innerHTML = webL10n.get("Instruction");
            if (play) {
                document.getElementById("gameString").innerHTML = webL10n.get("Reset");
            } else {
                document.getElementById("gameString").innerHTML = webL10n.get("Start");
            }

        });

Image of console:

@llaske as you can see from the console.log, the language code is changing between getenv function and localized function. Also webL10n.get() function is not returning the strings.
My Language.ini file
[es]
Time= Vez
Score= Puntuación
Instruction= Haga clic en la respuesta correcta
Start= Empezar Juego
Reset= reiniciar el Juego
GameOver= Juego terminado, tu puntaje es

Seems not related to localization. You're using "getElementById()" on HTML elements that don't exist in your HTML file: I don't see any HTML element in your index.html file with id "timeString", "scoreString", ...

Actually the new changes haven't been committed i have been able to solve the issue of retrieving strings. However When i am using a language such as french or spanish, it keeps defaulting back to english. In this commit localization doesnt work half of the time.

@llaske made the activity consistent with user colors, i implemented a setColor() function in activity.js.
I had a doubt, when you said level complexity, do you mean to implement levels like easy, medium, hard?
The language issue was solved in an earlier commit.

It's better.
I think you could leave the background white and use the second colors as foreground for the operation "8+4" (look how the Game of Life activity is). Do not color the Time and Score box, so number to guess will be more visible.
The start/reinit button should be an icon in the toolbar.
Regarding text: less is better because users of the activity could be not able to read. Avoid text if possible so I think "Click on the correct answer" is not useful. Here I think it's obvious. The box with the ending score is not necessary neither.
A small bug: "Correct" box appears at start up even thought no choice has been done.
I think something goes wrong with your CSS. There is some "glitch" around toolbar buttons and activity palette content has wrong size (see below). Did you use the "ActivityTemplate" CSS files for the activity?

Yes I mean: easy, medium, hard.

Should be nice also to use the journal to store the score/current context.
So when you reopen the activity you could retrieve your last score.

Another advice: Reduce the size of the content in your icon. Icons should have a border around the content. See for example icons for Memory, Record or Game of Life activities.

@llaske i don't know what you mean by "launch the game immediately" as the game launches as soon as the activity starts and there is no need to click on the restart button.

One more thing: think to localize the "xxx joined/left" message (thought it's not localized in the sample I've pointed to you :-)

@llaske the reason why i disabled restart is because the questions are the same, so a user can take the quiz and just before his time ends, restart giving him an unfair advantage. Also isn't it a good idea to repeat the history, as if he repeats it, others should know it was that users second time?

Okay I understand. But the idea is, at the end of the game, to let the user to relaunch a game with another difficulty/operations. Today it's just not possible. Restart in that case should regenerate a new set of questions and sent it to connected users to restart the game for connected users too.


long sql statement

What version of fleet are you using (fleet version --full)?
1.0.6
What operating system are you using?
Windows
What did you do?
I saved the following sql statement as a query and I used it in a query pack
SELECT * FROM windows_events WHERE eventid in ('1100','1101','1102','1104','4608','4609','4624','4625','4634','4657','4660','4663','4670','4688','4689','4698','4699','4700','4701','4702','4719','4720','4722','4723','4723','4724','4724','4725','4726','4727','4728','4729','4730','4731','4732','4733','4734','4735','4737','4738','4739','4767','4740','4741','4742','4743','4744','4745','4746','4747','4748','4749','4750','4751','4752','4753','4754','4755','4756','4757','4758','4759','4760','4761','4762','4763','4764','4800','4801','4817','5024','5025','5140','5142','5143','5144','5145');
What did you expect to see?
I expect the logs created by related scheduled query pack (in osquery_results on Kolide)
What did you see instead?
no logs created.  But when I shorten the query, log formation is starting
for example SELECT * FROM windows_events WHERE eventid in ('1100','1101','1102','1104');

in addition to above situation, (in query pack page) the field as showing right side doesnt contain exact query

@kemalbayar Let's try a couple of things:

Your screenshot shows that there is a scrollbar in the query text... Does it not include the rest of the query if you scroll down?

What do you get for show create table queries in your MySQL DB? Queries were originally stored as varchar(255) which might have caused this problem, but there was a migration quite a while ago that updated those columns to text type (https://github.com/kolide/fleet/blob/master/server/datastore/mysql/migrations/tables/20170117025759_IncreaseQueryLength.go).

@zwass
1-when I scroll down, the rest of the statement doesn't appear. (i tought that it's wouldn't be asked thus I didn't indicate it, but no problem, you are right for asking)
2- aswer is in the picture

So I was able to partially repro this...
What I noticed is that while the UI sidebar view cuts off the query, the backend does return the entire query:

This is also evidenced in the "edit query" page, where we see it continue to the end:

I don't think it is intentional that the query is truncated in that sidebar view without any indication that there is more. We should fix that, but it's probably going to be low priority.
I'm still wondering about why the query would not execute on your host when it is long like this. Can you try turning on --tls_dump on a host that should be receiving this query and seeing if it receives the entire query?

I tried that your instructions but on different way and I recognized that:
firstly I changed the query as SELECT * FROM windows_events WHERE eventid in ('4776','1102') and saved, after that, I check the client logs using --tls_dump=true --verbose flags in osquery.flags file, the output is that:
I0223 12:30:40.742208  6912 scheduler.cpp:75] Executing scheduled query pack/Windows_test_events/Windows Events: SELECT * FROM windows_events WHERE eventid in ('1102','4658');
It seems the exact query is getting by the client but although the related event ids is created and continue to be creating, I observed that only 1102 eventid logs are written to osquery_results log file
There is inconsistency related to the Kolide config I think

If the exact query is making it to osquery, this does not sound like a Kolide issue. Can you reproduce this without a TLS server at all (by adding a config with these queries scheduled)? If so, please file an issue with the osquery repo.

I've tried this on a osquery agent without tls server and I see the exact (long) query in the output (--verbose) but not happening any logging action in osquery_results (local file on the client)
When the query to be changed to Select * from windows_events where eventid=1102;  no logging problem
C:\Users\Administrator>\ProgramData\osquery\osqueryd\osqueryd.exe --config_path=\programdata\osquery\osquery.conf --flagfile=\programdata\osquery\osquery.flags
I0226 15:40:33.200104  3804 init.cpp:380] osquery initialized [version=2.11.2]
I0226 15:40:33.262603  3804 system.cpp:344] Found stale process for osqueryd (3864)
I0226 15:40:33.262603  3804 system.cpp:377] Writing osqueryd pid (5020) to \ProgramData\osquery\osqueryd.pidfile
I0226 15:40:33.262603  3804 extensions.cpp:300] Could not autoload extensions: Failed reading: \ProgramData\osquery\extensions.load
I0226 15:40:33.778230  3360 watcher.cpp:549] osqueryd watcher (5020) executing worker (5876)
I0226 15:40:33.809479   896 init.cpp:377] osquery worker initialized [watcher=5020]
I0226 15:40:33.825103   896 rocksdb.cpp:132] Opening RocksDB handle: \ProgramData\osquery\osquery.db
I0226 15:40:33.981364  5860 interface.cpp:338] Extension manager service starting: \.\pipe\osquery.em
I0226 15:40:36.083745  5800 events.cpp:746] Starting event publisher run loop: windows_event_log
I0226 15:40:36.083745   896 main.cpp:106] Not starting the distributed query service: Distributed query service not enabled.
I0226 15:40:39.107058  3368 scheduler.cpp:75] Executing scheduled query system_info: SELECT * FROM windows_events WHERE eventid in ('1100','1101','1102','1104','4608','4609','4624','4625','4634','4657','4660','4663','4670','4688','4689','4698','4699','4700','4701','4702','4719','4720','4722','4723','4723','4724','4724','4725','4726','4727','4728','4729','4730','4731','4732','4733','4734','4735','4737','4738','4739','4767','4740','4741','4742','4743','4744','4745','4746','4747','4748','4749','4750','4751','4752','4753','4754','4755','4756','4757','4758','4759','4760','4761','4762','4763','4764','4800','4801','4817','5024','5025','5140','5142','5143','5144','5145');

I will open an issue. Thanks

https://github.com/facebook/osquery/issues/4157


Ensure CMAC_CTX is correctly initialised (1.1.1)

This is a backport of #11972 to the 1.1.1 branch. That PR had the following description:
The function EVP_Cipher() is very low level and has some rather odd return value semantics (see the docs). Essentially we need to treat any return value from that of 0 or less as an error - however the CMAC code was treating it as a boolean.
In fixing this issue I discovered that although we have EVP level CMAC tests we have no tests for the low level API. So I have created a simple test, heavily based on the existing hmactest. This actually uncovered a couple more bugs in CMAC initialisation, where we would attempt to use a CMAC_CTX that has only been partially initialised.

Ping?

This pull request is ready to merge

Pushed. Thanks.


FTPFileProvider completionHandler is delayed

I have observed that the completionHandler passed to the FTPFileProvider in writeContents(path:contents:atomically:overwrite:completionHandler:) and copyItem(localFile:to:overwrite:completionHandler:) is called after a big delay. The upload itself is quite fast, but it seems like it is waiting for the session to timeout, before calling the completion handler? I have pasted the log beneath.
Output before the call to writeContents(path:contents:atomically:overwrite:completionHandler:):
2018-05-28 09:36:56.173249+0200 Beginning upload

Output from the fileproviderProgress(_:operation:progress:) delegate callback:
2018-05-28 09:36:57.360010+0200 Progress: 0.0650231
2018-05-28 09:36:57.360225+0200 Progress: 0.130046
2018-05-28 09:36:57.360377+0200 Progress: 0.195069
2018-05-28 09:36:57.360527+0200 Progress: 0.260092
2018-05-28 09:36:57.360690+0200 Progress: 0.325116
2018-05-28 09:36:57.360797+0200 Progress: 0.390139
2018-05-28 09:36:57.514837+0200 Progress: 0.455162
2018-05-28 09:36:57.669456+0200 Progress: 0.520185
2018-05-28 09:36:57.669680+0200 Progress: 0.585208
2018-05-28 09:36:57.669835+0200 Progress: 0.650231
2018-05-28 09:36:57.670010+0200 Progress: 0.715254
2018-05-28 09:36:57.824052+0200 Progress: 0.780277
2018-05-28 09:36:57.824275+0200 Progress: 0.8453
2018-05-28 09:36:57.824430+0200 Progress: 0.910323
2018-05-28 09:36:57.824665+0200 Progress: 0.975346
2018-05-28 09:36:57.824857+0200 Progress: 1.0

Output from the fileproviderSucceed(_:operation:) delegate callback:
2018-05-28 09:37:57.907544+0200 Succeeded

As you can see, fileproviderSucceed(_:operation:) is called more than a minute after the upload has seemingly finished. Inspecting the FTP server in the 60 seconds between the upload has finished and the success callback, the file is actually on the server, so I am not sure whether the session is awaiting some kind of status from the server?

Please switch to fix-issue-95 branch, check if issue is resolved.

I'm not sure how it will work when an error occured. please test more and give me hint if there is any new issue.


Hosts should be discovered and not Created in the Resource Manager -> Hosts Page.

Issue/Feature Description:
Hosts should be discovered instead of Created in the Resource Manger Page .
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

What is the idea here? Which host to discover? In a DC i can have multiple hosts which need not be part of discovery, how can this be filtered. Also, how to provide Host discovery details?

The terminology used here is not right, we are not creating any host here, we are just discovering a host or at best adding it to SODA. The process of adding / discovering a host is not questioned here.. just the terminology.


River: Identify correct behavior for attribute assignment and binary operation

In River, capsule values can opt-in to supporting conversion to and from other Go types. The most common case of this is rivertypes.OptionalSecret, which can be converted to a string if and only if the IsSecret flag is set to false.
This is exported by components such as local.file, where the sensitivity of the file is not known at compile time, so the user must specify it with an argument that controls the sensitivity of the export.
Normally, the fact that local.file exports a capsule is opaque to users, since attribute assignment supports automatic conversion.
However, grafana/agent#4036 noted that no conversion was happening for binary operators, making it impossible to concatenate the non-sensitive export of local.file to another string. grafana/agent#4288 introduced a temporary workaround for this fix, by hard-coding binary operations to unwrap rivertypes.OptionalSecret to a string if it was flagged as non-sensitive.
River is currently inconsistent with when (and to what extent) it automatically converts values:

When assigning a value to an attribute in a block (ATTRIBUTE = VALUE), VALUE may be converted in one of the following ways:

Capsules will be converted to another type if supported by the ConvertibleIntoCapsule (for converting a mistyped VALUE)/ConvertibleFromCapsule interface (for ATTRIBUTE to store a mistyped VALUE).
Capsules will be downcasted to a Go interface type if the type of ATTRIBUTE is a Go interface implemented by VALUE.
Number will be converted to string values.
String values will be converted to number values (if it can be parsed as a number).

No conversion is done for unary operations.
No conversion is done for binary operations.

We should identify a consistent behavior (consistent conversion rules, or never converting mistyped values) and implement it to help River be more consistent and predictable.

Hi, I'm also facing this particular issue when I'm trying to use the function base64_decode() from Grafana Alloy standard library. The error I received is indicating that the input string I'm providing should be capsule, rather than an array or string.
The use case I have is passing a base64 encoded string as an argument from the client side river file to the remote module river file where the argument will be referenced as the password for the basic authentication of prometheus.remote_write component.
E.g. password = base64_decode("<base64_string>")
Can the team look into this? There is also no method for users to create a capsule type from a string, so we are hitting a dead end.


While running testcases using icetea getting below error

10:10:50.220 | TC     MainThread: setUpBench Throw exception
Traceback (most recent call last):
File "c:\python27\lib\site-packages\icetea_lib\bench.py", line 1119, in run
self.__setup_bench()
File "c:\python27\lib\site-packages\icetea_lib\bench.py", line 1360, in __setup_bench
self.__init_duts()
File "c:\python27\lib\site-packages\icetea_lib\bench.py", line 823, in __init_duts
raise DutConnectionError("Dut cli failed to initialize within set timeout!")
DutConnectionError: Dut cli failed to initialize within set timeout!

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-366

Someone will review this soon. I do not see what is being  tested and how - basically, how to reproduce this error.

Closing as insufficient issue report, please add more details and reopen


Add Different Brush Types

Hi Guys and Gals,
I'm beginning my software dev career and I feel connected to this project.
I would like to collaborate and add additional functions of being able to use various brush types.
What I Suggest:
Add custom shape ( spray.png ( I'll create some on photoshop) )
replace the circle brush with .png
add brush selector to brush viewer
I have Forked the project and have it up in Andriod studio, any tips on how I can achieve my intention?
Which java classes are based on brush functionality?
should I duplicate them and start implementing my own code?
Thanks
Sam

I have Forked the project and have it up in Andriod studio, any tips on how I can achieve my intention?
Which java classes are based on brush functionality?
should I duplicate them and start implementing my own code?
Disregard this, I've figured it out using Andriod Dev Docs


support multiple locations in registeredcluster

Signed-off-by: Leena Jawale<EMAIL_ADDRESS>issue: https://issues.redhat.com/browse/CMCS-179
/hold

/unhold

/cc @robinbobbitt

/test unit


Fix npm publishing

Run yarn publish --access public --new-version ${GITHUB_REF#refs/tags/v} --tag  --no-git-tag-version
yarn publish v1.22.22
warning package.json: License should be a valid SPDX license expression
warning package.json: License should be a valid SPDX license expression
[1/4] Bumping version...
info Current version: 0.0.0-set-on-publish
info New version: 1.0.0
[2/4] Logging in...
error No token found and can't prompt for login when running with --non-interactive.
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.

https://github.com/zeta-chain/protocol-contracts-solana/actions/runs/10995181716/job/30525382400

@zeta-chain/devops if you can take a look, that'd be great.

env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

seems to be missing on yarn publish ?

@zeta-chain/devops please, take a look when you have the time 🙏

I don't see auth-token in the action inputs? https://github.com/actions/setup-node/blob/main/action.yml


[ParseableInterfaces] Print types fully-qualified

We should be printing types fully qualified. We weren't before because there were (and remain) some subtle bugs with printing. Don't merge this until those are fixed.

There's at least two other places module qualification isn't happening: inheritance clauses and requirements. (I ran into this with the newer test framework.)


IOS -  cordova platform add ios error

cordova platform rm  ios &&  cordova platform add ios
Using cordova-fetch for<EMAIL_ADDRESS>Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.tithee.com
Name: MyApp
iOS project created with<EMAIL_ADDRESS>Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-fcm-with-dependecy-updated" for ios
Running command: pod install --verbose
Failed to install 'cordova-plugin-fcm-with-dependecy-updated': Error: pod: Command failed with exit code 1
at ChildProcess.whenDone (/Users/hanumantb/Documents/titheeworking/node_modules/cordova-common/src/superspawn.js:136:25)
at ChildProcess.emit (events.js:376:20)
at maybeClose (internal/child_process.js:1055:16)
at Socket. (internal/child_process.js:441:11)
at Socket.emit (events.js:376:20)
at Pipe. (net.js:673:12)
pod: Command failed with exit code 1

As suggested in the error message can you run pod install --verbose after this in platforms/ios and post the error message, if you get any.

Did you manage to fix it?


Redefine Getter with constraints - otherwise it doesn't compose well.

For https://github.com/purescript-contrib/purescript-profunctor-lenses/issues/85

Success:
> foo = to (_ > 10)
> bar = to show
> baz = foo <<< bar
> :t baz
forall t18 t20 t21. Strong t20 => Bicontravariant t20 => t20 String t21 -> t20 Int t18

> view baz 3
"false"

> view baz 33
"true"

Oh wait, that works with the original Getter too.
Looks like the issue is with the synonym being to specific about the index to Forget.

I think this is ready, unless anyone has any issues with it.

I continue to add documentation to the API, and I would be very happy to see an explanation of the "why" behind AThing and Thing that didn't assume knowledge of Haskell lenses.

@marick I don't have a full explanation, but they are useful in situations where you want to pass optics around in data structures - constrained types don't play well being in non-function type arguments:
baz :: forall t x . Category t => Identity (forall i . Category t => t i i) -> t x x
baz (Identity u) = u

The above fails to compile.
The representation of optics in this library uses various profunctor constraints.  If you, for example, tried to store one in a record, you will likely run into trouble.


Interoperability resources

This is a draft page providing pointers to resources for interoperability between scverse data structures and programming languages different from python, extending the current anndata interoperability page. Since the single-cell best practices book will have an extensive tutorial on interoperability, the general consensus was to link this resource on top, and provide here links to external resources.
For the R/python object conversions I tried to specify whether the linked resource works in R or python and if it allows conversion within a session or if it does conversion through reading/writing other files.
Outstanding issues

Do we list everything or only recommended/functional resources? In my experience conversions can go wrong in really unpredictable ways, so having several options is often useful, but certain options out there are really broken (e.g. SeuratDisk, hence there is no mention)
Should we align this and the interoperability page in anndata docs? @ivirshup

Hi @emdann,
I think you need to allow maintainers to push to your branch, otherwise the CI cannot add its changes.

I think it's on

hmm...

this one has worked :)
https://scverse-tutorials--32.org.readthedocs.build/en/32/notebooks/scverse_data_interoperability.html

Yay! The JavaScript title is badly rendered but looks great otherwise

This is excellent! Let's just fix the javascript header and merge this.

Should be fixed now, ready to merge!


prometheus: Allow specifying additional scrape configs via secret

AdditionalScrapeConfigs allows specifying a key of a Secret containing
additional Prometheus scrape configurations. Scrape configurations specified are
appended to the configurations generated by the Prometheus Operator. Job
configurations specified must have the form as specified in the official
Prometheus documentation:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#<scrape_config>.
As scrape configs are appended, the user is responsible to make sure it is
valid. Note that using this feature may expose the possibility to break upgrades
of Prometheus. It is advised to review Prometheus release notes to ensure that
no incompatible scrape configs are going to break Prometheus after the upgrade.

With this patch a user of the Prometheus operator would have two options to inject custom Prometheus scrape configuration.

Use Prometheus custom configuration
Use Prometheus additional-scrape-config

Instead of these two ways, we could as well enable the user to create a Prometheus config in a Secret which is merged with the generated config by the Prometheus operator. This would enable more custom configuration use-cases while at the same time preserve the configuration via ServiceMonitors.
What do you think @brancz?

For the time being we'll have to keep both mechanisms, but we should deprecate the current behavior and change the documentation in favor of the additional config. We should explicitly state that we're deprecating the current behavior, then we can remove it in a couple of versions.

@brancz I have added a deprecation notice for the future. Would you mind taking another look at it?

lgtm :+1: nice work!

I am not aware you are implement the same feature as me. We have two difference approach to solve the same feature, which I would like to discuss.
My solution is : The ideal is same as how prometheus handle rules configuration. There will be many custom scrape cofiguration files. Use configmaps to find those configuration files.

Add customScrapeSector in prometheus.yaml file.

# A selector to select which ConfigMaps to mount for loading rule files from.
  customScrapeSelector:
    matchLabels:
      content: prometheus-scrape-config

Create scrape_configs file for example I named it "custom/scrape/config.yaml"

scrape_configs:
- ec2_sd_configs:
  - access_key: AKIAJREXZ2NLFB66O7UA
    port: 8000
    region: eu-west-1
    secret_key: dummy-key
  job_name: foo-service-ec2
  metrics_path: /metrics

Create a configmap with correct label

kubectl create configmap custom-scrape-config-prometheus --from-file=custom-scrape-config.yaml
kubectl label configmap custom-scrape-config-prometheus content=prometheus-scrape-config

Here is the implementation (fork of the master branch) to review and discuss (still working, no documentation is written yet, need refactory).
https://github.com/thu2004/prometheus-operator/commit/4bfac6be7e6b0438b6ea0865bfb30ad23fd1a68e
I want to focus the discussion on the solution not how I implemented.

There will be many custom scrape configuration files.

Can you explain your reasoning for this? Additional scrape config secret is a last resort for users, it should by far not be the norm. The Prometheus operator is not meant to be a merge tool. If you distribute configuration do so with the service monitors or build tools yourself to generate the secret used here.

Let me explain by share a picture of example system using prometheus :

The Prometheus instance created by the Prometheus operator is shared between number of applications.
Each application dynamically create ServiceMonitor resources to specific how metrics can be retrieved from a set of services which are running in Kubernetes pods.
Each application dynamically create configmap resources (not secrets) to specific how metrics can be retrieved from a set of scrape configuration except (kubernetes_sd_configs). Example if applications are running in AWS EC2 instances.

Not using a secret is definitely a no go, as a Prometheus configuration as you already showed is likely to have secrets in it (I realize that secrets are not so different in Kubernetes today, but this is in the process of being changed).

same as how Prometheus operator handles alert rules

This is something we're trying to get rid of, so I'm not inclined to accept more functionality that goes the same route.
If you want this type of functionality I recommend writing a separate controller that writes the content of your configmaps to the secret as added here. We have to think of untrusted multi tenancy environments here, as the next request will be to allow doing this across namespaces, having plaintext configurations is not a good idea for this.

I can understand your use case @thu2004, but at the same time I think we should focus the Prometheus Operator on its core purpose: Enabling users to monitor targets that run on top of Kubernetes, not outside of it.
Would writing a custom controller like described by @brancz be an option for you?

It is fine to use secret instead of config map. But I do not understand why Prometheus operator only accept one secret where each secret belong to the application itself, not the promentheus.
I do not understand how the custom controller @brancz is suggesting. A picture could to it more clear.
It also a hug limitation only able to scrape target run on top of Kubernetes only. That we need to have to install an another Prometheus instance and configure it manually to scrape other than Kubernetes instances. We than lost the need of using prometheus operator.

It might even be useful for other applications, what I am suggesting is that you write your own controller that automatically merges multiple Secrets into a single Secret.
As said, the additional config is only meant as an escape. If you want to monitor environments outside of Kubernetes, you either need to write the above described controller or create a Prometheus server per namespace you want to do this in.

Now I have studied the code more carefully, I see the code search for a secret with specify name which is specified in the prometheus.yaml. The custom scrape configuration itself is stored in a secrets in the same namespace as prometheus operator.
One solution is extend this  implementation with searching for custom scrape secrets on all namespace and append them to final configuration file.
Do you see why this multiple secrets solution go again the goal of prometheus operator ?

One solution is extend this implementation with searching for custom scrape secrets on all namespace and append them to final configuration file.

If this is something you would like to do, then that's fine, but it has implications on multi tenancy environments so it's not something we can integrate into the prometheus operator directly.

One solution is extend this implementation with searching for multiple secrets with defined name pattern or label, than append them to final configuration file. This solution is fine to have requirement that the secrets and the promentheus instance are on the same namespace.
Sorry I don't understand what you mean "multi tenancy environments" and how it effect by the mention solution above . Please explain "multi tenancy environments".

any chance this new option will be exposed in the prometheus-operator helm chart anytime soon?

cc @gianrubio


Prefer middleware over dev-server

Uses express with middleware instead of webpack-dev-server. This is an updated hot-middleware branch essentially.

Closes #65 #68 #72

@marr How would this close #72? My PR is against the next branch, which is where v3 work is being done.

Oops - I thought 1.3 was v3 of hot-loader. I guess there is more work to be done :)

On May 25, 2016, at 6:24 PM, Brad Daily<EMAIL_ADDRESS>wrote:
@marr How would this close #72? My PR is against the next branch, which is where v3 work is being done.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

master version handled by #68, thanks though!


Add Note to Caution Users About Executing AI-Generated Code

Is your feature request related to a problem? Please describe.
Users may unknowingly execute potentially harmful or suboptimal code generated by AI, leading to security risks or system issues.
Describe the solution you'd like
Add a prominently displayed note in the interface to caution users to review and verify the AI-generated devcontainer.json file before executing it. Suggest that the best way to run AI generated code is inside sandboxed dev environments like those managed by Daytona.
Describe alternatives you've considered

Adding detailed documentation on security best practices, but this note provides immediate and specific guidance.
Relying solely on user knowledge, which might not be sufficient for all users.

Additional context
Include the note near the generated devcontainer.json output, ensuring it is visible and clear to the user. This will help mitigate risks associated with executing AI-generated code. Ensure the note emphasizes the importance of reviewing the file thoroughly before running it in their environment.

/bounty $5

/attempt #19


[EFR32] Update ot-efr32 submodule to support sleepy decices

Problem
ot-efr32 was missing some changes to support sleepy devices the gsdk 4.1 update
Change overview
Update ot-efr32 submodule and matter support submodule to support sleepy devices
Testing
Manual tests with efr32 MG12 and MG24

Fast tracking platform changes.

@jmeg-sfy

Does this impact the generation of RCPs ?
It should not


HTTP/2 stream removed from map before onStreamClosed called

Motivation:
The interface contract of Http2Connection.Listener.onStreamClosed says that the stream will be removed from the active stream map, and not necessarily the stream map. If the channel becomes inactive we may remove from the stream map before calling onStreamClosed.
Modifications:

Don't remove from the stream map during iteration until after onStreamClosed is called

Result:
Expectations of onStreamClosed interface are not violated

@nmittler @normanmaurer - PTAL.
It is debatable whether the onStreamClosed interface should also include the stream is no longer guaranteed to be in the map, but this PR just ensures the behavior remains consistent.

@Scottmitch LGTM

Cherry-picked c4fbc06


Update machine-learning-retrain-models-programmatically.md

Updated based on feedback.

Hi @raymondlaghaeian, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (raymondl). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@raymondlaghaeian : Thanks for your contribution to the Azure documentation! The author, @raymondlaghaeian, has been notified to review your proposed change.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It�s easy to access the private repo version of your articles in GitHub. Just add �pr to the URL, as follows:
Public repo URL: https://github.com/Azure/azure-content/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Azure/azure-content-pr/blob/master/articles/azure-portal-overview.md
We've closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions.


Error when running outside of top folder

I am using Prettier for formatting in Vim (via Ale) and get the following error
Cart.js[error] Cart.js: Error: ENOENT: no such file or directory, scandir './node_modules'
[error]     at readdirSync (fs.js:981:3)
[error]     at _default (/home/pong/ui/node_modules/import-sort-style-react/lib/index.js:26:39)
[error]     at /home/pong/ui/node_modules/import-sort/lib/index.js:220:16
[error]     at sortImports (/home/pong/ui/node_modules/import-sort/lib/index.js:24:58)
[error]     at importSort (/home/pong/ui/node_modules/import-sort/lib/index.js:19:12)
[error]     at organizeImports (/home/pong/ui/node_modules/prettier-plugin-import-sort/src/index.js:51:22)
[error]     at Object.preprocess (/home/pong/ui/node_modules/prettier-plugin-import-sort/src/index.js:71:14)
[error]     at Object.parse (/home/pong/ui/node_modules/prettier/index.js:13560:21)
[error]     at coreFormat (/home/pong/ui/node_modules/prettier/index.js:14841:25)
[error]     at format (/home/pong/ui/node_modules/prettier/index.js:15063:14)

which is caused by the line
const modules = readdirSync('./node_modules');

since it is run from outside the top folder. Would it be possible to either quit without error or resolve the path some other way?
Otherwise I think this package is amazing!

For Git repos this could be fixed by doing
function getRepoPath(){
  return execSync("git rev-parse --show-toplevel").toString();
}

const modules = readdirSync(getRepoPath() + '/node_modules');


 In the meantime, we can do some things to clean up the implementation so that it doesn't hurt performance so much. This will be a protocol change.

[ ] Remove the closing delay

See https://github.com/CounterpartyXCP/counterparty-core/issues/1765