Reading of getCapacitance() gets "historical data"

First reading of getCapacitance() provide "old data". To get current moisture reading you have to call getCapacitance() twice.

These issue should be open under "Arduino library" (https://github.com/Apollon77/I2CSoilMoistureSensor). My mistake sorry.


fix:[CUS-151] data logger changes for data alert and changes to fail …

…the batch job if some error/exception is thrown
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List
any dependencies that are required for this change.

Changed data alert logger statements to "Error occurred in job%" in aws and azure data collector and rule engine. This logger statement string will be used in datadog to create data alert.
Made changes to update the final status of a batch job to "failed" if some errors or exceptions occur. This is only for some obvious issues like providing wrong arguments or invalid payload to the batch job.

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Chore (no code changes)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[x] My code follows the style guidelines of this project
[x] My commit message/PR follows the contribution guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Other information:
List any documentation updates that are needed for the Wiki

@raviteja-mandala please read the main message of the last review.
I'll be on leave, ping @plyubich to proceed with review.

Request the reviewer to get an understanding of the purpose of the newly added logger statements.

First of all, I see a lot of work done around logging errors here, I appreciate your effort no matter what comments I make about it.
Now to the comments. You created tons of new error messages instead of making use of old ones, and by making them better you just duplicate most of them. And some of them verbose as hell. Error message supposed to be short and quickly understandable. I fully understand that most of them were there before your change. But let's make code better every time we touch it, ok? :) Here is example of such over-verbose error message: "data source is missing, will not be able to figure out the target index to post the policy evaluation, please check rule configuration". It goes into logs, not UI. So it can be just data source missing in policy config - easier to read and fast to understand what's the issue.
As for having public static and making changes in their values randomly in the code - that a hard NO. Overall public static without const is the thing I would avoid by any means because it heavily reduce transparency in code flow, especially if it's a status-carrying variable. Please avoid such things in the code by any means. And get rid of them here as well. They are tempting to use because it seems an easy solution without much of a change, but believe me - it will be a hell when something will go wrong with it and you will need to debug.
About error message format Error occurred in job% - is it possible for data dog to figure out what service just failed? like name of it. I see that we already do this for Cequence Rule engine here, https://app.datadoghq.com/monitors/130654998?view=spans , why not to apply the same approach and avoid any log changes in the future?
And one more - I see some error messages say Error occurred other says Exception occurred. Since you already working on error messages, an we have them consistent everywhere you touch it?

Updated some of the error messages to easily understandable ones. We will be creating data alert only for 'Error occurred' and not 'Exception occurred'. Regarding job name, i will check with devops developer.

@raviteja-mandala @santhosh-challa after you final review, please don't wait for mine or @mkinchin-paladin approval if you feel it is production ready.

@raviteja-mandala please make sure this gets resolved and merged EOD 1/5/24. Please work with @santhosh-challa to get this PR approved.

@plyubich @santhosh-challa ,

Removed public static variables as recommended from collector and rule engine. Instead, i am directly exiting the program using System.exit(1) which will fail the batch job. In rule engine, new enhancements are taken up presently, post that will implement the change to fail the batch job for obvious reasons.
Using a common data alert error string in batch and rule engine and extracted it into constants file.


setAlias, replaceAlias functions not working with "Item ID" query type

Describe the bug
Alias not change when I try to set Alias explicit by setAlias or replaceAlias functions
Attention: I have uncorrect bechavior only in "Item ID" query type in case "Metrics" query type functions works fine
Expected behavior
Working setAlias and replaceAlias functions
Screenshots

Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

v9.3.1 (89b365f8b1)
5.2.7
4.3.1

Can someone confirm bug? Or this behaviour only for just mine installation?


rustmt mangles code using const generics

Original code:
struct Test<const T: u8>;

impl<const T: u8> Test<{T}> {
    fn foo() -> u8 {
        {T}
    }
}

After running cargo +nightly fmt
struct Test<const T: u8>;

impl<const T: u8> Test<{ T }> {T}> {
    T}> {
    fn foo() -> u8 {
        {
            T
        }
    }
}

This issue is already resolved.
related: https://github.com/rchaser53/rustfmt/commits/issue-3613


fix: only send sensor start event on first poke

sensor poke event handling with xcom

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
30 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.06%) to 91.648%

Files with Coverage Reduction
New Missed Lines
%

client/local/model/job_spec.go
30
81.1%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
8274

Relevant Lines:
9028

💛  - Coveralls


ERROR: MethodError: no method matching push!(::Type{Array{Array{Int64,1},195}}, ::Array{Int64,1})

issue with running this function
function ClosestDispatch(p::DeploymentProblem, drivetime::DataFrame)
candidates = Array(Vector{Int},p.nregions)
I = 1:p.nlocations
for region in 1:p.nregions
!!!     candidates[region] = I[vec(p.coverage[region,:])]  !!!
end
ClosestDispatch(drivetime, candidates)
end

Potential fix:
function ClosestDispatch(p::DeploymentProblem, drivetime::DataFrame)
candidates = Any[]
I = 1:p.nlocations
for region in 1:p.nregions
push!(candidates, I[vec(p.coverage[region,:])])
end
ClosestDispatch(drivetime, candidates)
end


[6.5.x] kie-server-tests: stabilize JmsResponseHandlerIntegrationTest

Cherrypick of https://github.com/droolsjbpm/droolsjbpm-integration/pull/777
Affects just tests.

jenkins retest this


Make sure apt-transport-https is installed on Debian OS

To fetch packages from https sources the package apt-transport-https must be installed on the system (at least on Debian jessie).

I think that this doesn't belong into this module and should come from the Puppet infra. Feel free to reopen if you don't agree.

Sorry, but I think that this issue belongs to this module since almost every other apt source uses http. To use https apt sources the special package apt-transport-https is needed - which is not installed by default. So from my point of view if you install from https sources you should make sure that the required packages are installed.

Ok, will do it with ensure_packages


Support wildcard queries

flat-file-db support for https://github.com/micro-analytics/micro-analytics/issues/29

@mxstbr can you check this out?

Sorry, I thought I'd left a comment earlier! Must've closed before I submitted it... 😕

Updated 👍

want to publish a new release to npm?

Oh yeah I will!


spectoh5.write_spect_to_h5 unclosed file when providing a filename when other exception

If there is an exception (for example an IO error or another hdf5 erro) the hdf5 file is not closed when leaving.
One should use try/finally.

This set of nested functions smells a bit


Add guide for hosting on deta.space

hello.
i want to deploy my telegram bot on deta.space hosting env. for this, i used webhooks. but my telegram bot doesnt work at all! can you please publish a guide on your website about deploying grammy.js telegram bot on deta.space? in this page you wrote deta in the list of hosting envs but i couldnt find any guide for deploying on deta.space in your guides.
thank you.

Do you know anyone who has experience with deta.space and can provide these instructions?

i recently did this.

can i write a guide for this?

Absolutely, please go ahead! :)

Ok i will :)


SpongeForge RC3976 crash: net.minecraft.util.ReportedException: Ticking entity

I am currently running

SpongeForge version: 7.1.9-RC3976
Java version: 1.8.0_232
Operating System: Linux (amd64)
Mods: none (spongeforge)
Plugins: none

Issue Description
Crash.
crash-2020-01-03_14.39.57-server.txt + latest.log + debug.log
RC3973 works fine.
Logs from the server with a freshly generated map:
[14:47:41] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 25%
[14:47:42] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 47%
[14:47:43] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 67%
[14:47:44] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing spawn area: 88%
[14:47:44] [Server thread/INFO] [Sponge]: Loading world [galactech] (minecraft:overworld/0)
[14:47:45] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 488 advancements
[14:47:45] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 6 advancement trees
[14:47:45] [Server thread/INFO] [Sponge]: Loading world [DIM-1] (minecraft:nether/-1)
[14:47:45] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 488 advancements
[14:47:45] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 6 advancement trees
[14:47:45] [Server thread/INFO] [Sponge]: Loading world [DIM1] (minecraft:the_end/1)
[14:47:45] [Server thread/INFO] [minecraft/DedicatedServer]: Done (9,796s)! For help, type "help" or "?"
[14:47:46] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Ticking entity
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:773) ~[MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) ~[nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) ~[MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Caused by: java.lang.NoSuchFieldError: world
        at net.minecraft.entity.item.EntityItem.activation$inactiveTick(EntityItem.java:2613) ~[acl.class:?]
        at net.minecraft.world.World.handler$bbl000$forgeActivationImpl$checkIfCanUpdate(World.java:6338) ~[amu.class:?]
        at net.minecraft.world.World.func_72866_a(World.java) ~[amu.class:?]
        at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) ~[oo.class:?]
        at net.minecraft.world.World.func_72870_g(World.java:1955) ~[amu.class:?]
        at net.minecraft.world.World.func_72939_s(World.java:1759) ~[amu.class:?]
        at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:3928) ~[oo.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) ~[MinecraftServer.class:?]
        ... 4 more
[14:47:46] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: /path/to/crash.txt
[14:47:46] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[14:47:46] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[14:47:46] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[14:47:46] [Server thread/INFO] [Sponge]: Unloading world [galactech] (minecraft:overworld/0)
[14:47:46] [Server thread/INFO] [Sponge]: Unloading world [DIM-1] (minecraft:nether/-1)
[14:47:46] [Server thread/INFO] [Sponge]: Unloading world [DIM1] (minecraft:the_end/1)
[14:47:46] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
[14:47:46] [Server Shutdown Thread/INFO] [minecraft/MinecraftServer]: Stopping server
[14:47:46] [Server Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving players
[14:47:46] [Server Shutdown Thread/INFO] [minecraft/MinecraftServer]: Saving worlds

Relevant mixin: https://github.com/SpongePowered/SpongeCommon/blob/stable-7/src/main/java/org/spongepowered/common/mixin/entityactivation/entity/item/EntityItemMixin_Activation.java
The field world is from the superclass Entity, this mixin targets EntityItem. The world field was not remapped to the SRG name during build. I ran the server in production and got Mixin to dump the class and this is how the method in question came out - note that world is not the SRG field name.
https://gist.github.com/dualspiral/b4a72d81f270ee48b0978f7a0946a6ff#file-entityitemmixin-java-L11
I have no idea where the bug could be here, I'm sorry to say, but we are currently in the process of moving to mixin 0.8 so iffyness can be expected for the moment.

I only hid the error and did the wrong thing to "fix" it. I will need to revert the commit I made to "fix" this as I'm hiding Forge specific behaviour. I'm reopening this to remind me to deal with this when I get chance.

Please re-test on latest (SF 1.12.2-2838-7.1.9-RC3980)

Tested it, it's fine.


At the First try wf error

As opening a new dialog or sending a post or passing to next stage, it gives error at the first try..At the beggining of the page, it says "wf.error" so it should be checked on logs.
In the second try, it works.

same scenario tried and works perfectly


add metarange ID to commit log and show

Should aid in debugging user issues

This will come in handy with issues like #1263 (or any other hard to explain behavior where we might want metadata from the user in order to reproduce)

This will come in handy with issues like #1263 (or any other hard to explain behavior where we might want metadata from the user in order to reproduce)

Codecov Report

Merging #1289 (e8dee64) into master (c480136) will increase coverage by 0.03%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1289      +/-   ##
==========================================
+ Coverage   47.36%   47.40%   +0.03%
==========================================
  Files         202      203       +1
  Lines       15784    15791       +7
==========================================
+ Hits         7476     7485       +9
  Misses       7321     7321
+ Partials      987      985       -2

Impacted Files
Coverage Δ

catalog/rocks/cataloger.go
23.96% <0.00%> (-0.15%)
:arrow_down:

api/api_controller.go
40.53% <100.00%> (+0.07%)
:arrow_up:

catalog/mvcc/cataloger_create_entry.go
94.73% <0.00%> (-5.27%)
:arrow_down:

graveler/committed/range_manager.go
100.00% <0.00%> (ø)

catalog/mvcc/cataloger_create_branch.go
84.61% <0.00%> (+3.07%)
:arrow_up:

catalog/mvcc/cataloger_create_repository.go
62.96% <0.00%> (+3.70%)
:arrow_up:

graveler/committed/batch.go
100.00% <0.00%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #1289 (e8dee64) into master (c480136) will increase coverage by 0.03%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #1289      +/-   ##
==========================================
+ Coverage   47.36%   47.40%   +0.03%
==========================================
  Files         202      203       +1
  Lines       15784    15791       +7
==========================================
+ Hits         7476     7485       +9
  Misses       7321     7321
+ Partials      987      985       -2

Impacted Files
Coverage Δ

catalog/rocks/cataloger.go
23.96% <0.00%> (-0.15%)
:arrow_down:

api/api_controller.go
40.53% <100.00%> (+0.07%)
:arrow_up:

catalog/mvcc/cataloger_create_entry.go
94.73% <0.00%> (-5.27%)
:arrow_down:

graveler/committed/range_manager.go
100.00% <0.00%> (ø)

catalog/mvcc/cataloger_create_branch.go
84.61% <0.00%> (+3.07%)
:arrow_up:

catalog/mvcc/cataloger_create_repository.go
62.96% <0.00%> (+3.70%)
:arrow_up:

graveler/committed/batch.go
100.00% <0.00%> (+6.25%)
:arrow_up:

Continue to review full report at Codecov.

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

@arielshaqed I've added a --show-meta-range-id flag to lakectl show and lakectl log. By default the meta range ID will be hidden unless this flag is set.

@arielshaqed I've added a --show-meta-range-id flag to lakectl show and lakectl log. By default the meta range ID will be hidden unless this flag is set.


[BUG]: Check constraint are not being generated for postgres.

Report hasn't been filed before.

[X] I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?
0.36.1
What version of drizzle-kit are you using?
0.28.0
Other packages
No response
Describe the Bug
Check constraints are not being generated when using drizzle with postgress.
Respective docs: https://orm.drizzle.team/docs/indexes-constraints#check
Schema:
export const reports = createTable(
  "report",
  {
    id: varchar("id", { length: 255 })
      .notNull()
      .primaryKey()
      .$defaultFn(() => crypto.randomUUID()),

    gameId: integer("game_id")
      .references(() => games.id)
      .notNull(),

    userId: varchar("user_id", { length: 255 })
      .notNull()
      .references(() => users.id),

    score: integer("score"),
  },
  (table) => ({
    checkConstraint: check(
      "score_check",
      sql`0 < ${table.score} AND ${table.score} < 4`,
    ),
  }),
);

Using npx drizzle-kit generate.
Generated SQL, does not contain score constraint:
CREATE TABLE IF NOT EXISTS "pandorasdb_report" (
	"id" varchar(255) PRIMARY KEY NOT NULL,
	"game_id" integer NOT NULL,
	"user_id" varchar(255) NOT NULL,
	"score" integer
);
--> statement-breakpoint
DO $$ BEGIN
 ALTER TABLE "pandorasdb_report" ADD CONSTRAINT "pandorasdb_report_game_id_pandorasdb_game_id_fk" FOREIGN KEY ("game_id") REFERENCES "public"."pandorasdb_game"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
 WHEN duplicate_object THEN null;
END $$;
--> statement-breakpoint
DO $$ BEGIN
 ALTER TABLE "pandorasdb_report" ADD CONSTRAINT "pandorasdb_report_user_id_pandorasdb_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."pandorasdb_user"("id") ON DELETE no action ON UPDATE no action;
EXCEPTION
 WHEN duplicate_object THEN null;
END $$;

(The tables use the prefix "pandorasdb")

Hello
Same issue here
export const adaptations = pgTable(
  'adaptations',
  {
    adaptationId: uuid('adaptation_id').primaryKey(),
    name: varchar('name').notNull(),
    targetedRisks: varchar('targeted_risks', { enum: PHYSICAL_RISKS })
      .array()
      .notNull(),
    description: varchar('description').notNull(),
    effectiveness: varchar('effectiveness_level', {
      enum: ADAPTATION_RISK_LEVELS,
    }).notNull(),
    cost: varchar('cost_level', { enum: ADAPTATION_RISK_LEVELS }).notNull(),
    easeOfImplementation: varchar('ease_of_implementation_level', {
      enum: ADAPTATION_RISK_LEVELS,
    }).notNull(),
    additionalInformation: varchar('additional_information'),

    created: timestamp('created_at').defaultNow(),
    modified: timestamp('updated_at').$onUpdate(() => new Date()),

    userId: uuid('user_id').notNull(),
    companyId: uuid('company_id'),
  },
  (table) => ({
    checkConstraint: check(
      'targeted_risks_check',
      sql`cardinality(${table.targetedRisks}) > 0`
    ),
  })
);

Yep same scenario and drizzle versions as @denispaluca

Same issue

Same issue here.

I also run in this issue, any workaround?

Searching through the issues, I found a user who configured the database directly in Postgres and used npx drizzle-kit pull to bring the configurations to the schemas.
I configured my schemas based on this return and now everything is working. In my case, I needed to create multiple checks and I wasn't able to do it before.
I believe that a lot has already been resolved, however, the documentation has not been updated.
export const usersTable = pgTable(
  "users",
    {
      id: integer().primaryKey().generatedAlwaysAsIdentity(),
      city: varchar({ length: 255 }).notNull(),
      uf: varchar({ length: 2 }).notNull(),
      slug: varchar({ length: 255 }).unique().notNull(),
      slogan: varchar({ length: 255 }).notNull(),
    },
    (table) => {
      return [
        check("check_users_uf", sql`upper(${table.uf}) = ${table.uf}`),
        check("check_users_slug", sql`lower(${table.slug}) = ${table.slug}`),
      ];
    },
);

Note that there is another open issue talking about "depreaction warning on composite primary key builder".
And the solution is to start using an array instead of an object. However, the documentation has not yet been updated.
(table) => {
  return [
    primaryKey({ columns: [table.warrantorId, table.expiredWarrantyId] })
  ];
};

Doesn't seem to work in my case:
export const secrets = pgTable(
  'secrets',
  {
    id: uuid('id').primaryKey().$defaultFn(generateUuidV7),
    user_id: text('user_id').notNull(),
    token: text('token').notNull(),
    type:  text('type', { enum: ['password', 'google', 'github']}).notNull(),
    type_key: text('type_key'),
    createdAt: timestamp('createdAt').notNull().defaultNow(),
    updatedAt: timestamp('updatedAt').notNull(),
  },
  (table) => [
    unique('secret_unique_index').on(table.user_id, table.type, table.type_key),
    // TODO: this is not currently applied until this issue is solved: https://github.com/drizzle-team/drizzle-orm/issues/3520
    check(
      'type_uniqueness_constraint',
      sql`${table.type} = 'password' AND ${table.type_key} IS NULL OR ${table.type} != 'password' AND ${table.type_key} IS NOT NULL`,
      // nonNullable(
      //   or(
      //     and(inArray(table.type, ['password']), isNull(table.type_key)),
      //     isNotNull(table.type_key),
      //   ),
      // ),
    ),
  ],
);

The unique index is there, but no constraints.

Hello,
I found what I did wrong. I was importing check from drizzle-orm/mysql-core instead of drizzle-orm/pg-core. No error was thrown, and the constraint was silently ignored.
It's still a bug, but in a way it's a good news, it's a very one to fix, and people will be even happier.  Hope this helps you at least a bit!

Just upgrade drizzle-kit@latest and drizzle-orm@latest and it fixed the issue for me.

Still happening with drizzle-orm@latest


No AppSourceCop rule for breaking changes in report dataset

1. Describe the bug
Report extensions allow other apps to add columns to existing report data items, or to add new data items.
Even though we can obsolete data items and columns, there is no AppSourceCop rule preventing us from just deleting data items or columns without further ObsoleteState = Pending. This breaks dependent apps.
2. To Reproduce
While the AppSourceCop is activated and set up for comparing with the previous version, delete a report data item or column inside the dataset.
3. Expected behavior
An AppSourceCop rule should throw an error.
4. Actual behavior
No error, no warning.
5. Versions:

AL Language: 12.3.900902

@qutreson This might be for you.

@NKarolak - Thanks for reporting it. This is something we have in our long term backlog for AppSourceCop, but that isn't being prioritized at the moment. Since this is more of a feature request than a bug, I would recommend logging the idea on aka.ms/BCIdeas so that it can gather votes and help us prioritize it accordingly as we are monitoring top ideas and considering them for the next waves. I checked briefly and it seems that we have a similar idea posted for query objects, but I couldn't find one for reports.

https://experience.dynamics.com/ideas/idea/?ideaid=317c1baa-209b-ee11-a81c-0022484dd027


Can't see online list and Files list in IE 11.

The first page works fine in IE 11 but after login this is how second page looks

As you can see here Online list and Files list is closed and i can not see items within those list. One more problem is ChatRoom size. ChatRoom starts with minimum size and black background, i think it's not resizing itself to windows size.  Thanks in advance for any help.

hi @hhaidar please help me here, sorry to mention you like this but i didn't find any help on internet regarding this issue.


Highlighting with PrismJS does not work in Firefox.

Title.
The same was true on a freshly installed Firefox.
The PrismJS demo works well.
Is this a bug in Prismjs?

Have you tweaked your FF at all? I have the same issue with my FF, but I tweaked it using Arkenfox user.js.
However, when I create a new FF profile, it works:

Re-installing FF doesn't purge profile data by default. Please try running firefox -p and creating a new profile:

Then test with the new blank profile and report back.

Does safe-mode enable something like privacy.resistFingerprinting in about:config? If I enable that setting in my blank profile, code highlighting for the theme breaks, but the prism.js demos still work fine.
I suspect that one of the Prism plugins probably breaks when running FF in safe-mode. Maybe try disabling some of the plugins config/_default/config.toml:
[params.prism]
    languages = [
      # ...
    ]

    plugins = [
      "normalize-whitespace",
      "toolbar",
      "copy-to-clipboard",
      "line-numbers",
      "command-line",
      "diff-highlight"
    ]

It works when I have uBlock Origin and PrivacyBadger disabled.

If I go to the settings for uBlock Origin and PrivacyBadger and disable prefetching, the syntax highlighting works.

Seems like the issue is related to third-party software.
Can we close it?


Fix/circular

This resolves #37
Simply replaces circular references with nothing within our socket handling logic. This is handy for some issues i've seen in 3rd party projects who are not aware of some of the circular references our internal state store has.
I wish i'd saved the original example but cannot locate it.

Will re-open with toJSON'ing sometime later


ci: add prerelease process

https://coveord.atlassian.net/browse/KIT-2114
Divided & adapted from: https://github.com/coveo/ui-kit/pull/2553
We're not migrating the normal release process yet since I'm running out of time.
New prerelease process
Look at the README.md to know the new release process: https://github.com/coveo/ui-kit/blob/49021bbc970304df66cdf66423bce052f7c43101/README.md#L57-L81
Changes in this PR

Added a bump:version:major-prerelease script to the root package.json

This script will create a major prerelease version bump on the current branch, and will give it all the appropriate tags, but won't push it.
The commit will contain the same message that lerna gives version bumps, including [skip-ci].
Changelogs aren't updated.

Non-bump commits on a prerelease/** branch now trigger the same CI as master, except:

Only packages matching /pre\.[0-9]+$/ are upgraded.

If a dependent is out of scope (doesn't match the above version pattern), its dependencies won't be upgraded.

Changelogs aren't updated.

Bump commits on a prerelease/** branch now trigger the same CI as master, except:

Only packages matching /pre\.[0-9]+$/ are published to NPM.
The alpha tag on NPM isn't updated.
The package rollout stops at the dev environment.

Other details

Packages are going to be published to the CDN based on their major/minor/patch version, the prerelease version will be ignored. Therefor, 2.0.0 will already be available on the dev CDN, and will be overwritten every time we update the prerelease. Out of scope packages will also update their CDN, but in theory the files should be the same anyway.

For example<EMAIL_ADDRESS>would exclusively be uploaded to the following in the CDN:

https://staticdev.cloud.coveo.com/headless/v2.0/headless.esm.js
https://staticdev.cloud.coveo.com/headless/v2.0.0/headless.esm.js

TODO: also bump versions in private packages


[forwardport] Re-label 'Custom Metrics' tab to 'Custom Metrics Endpoints' in Workload view

Forwardport of rancher/rancher#23737

Available in latest2.

Tested with Rancher server rancher\rancher:master-head version 9930781c8

enable the project monitoring
deploy/edit a workload
see the section Custom Metrics Endpoints under the advanced options


FINITE: Condense the refutations of 503 -> 4065, 3862 and 476 -> 359, 4065

We have counterexamples for these implications of order as small as 50, and there is a reflection technique to convert a counterexample to the 503 implications to their 476 counterparts, but the examples are slightly too large to compile in Lean directly without increasing heartbeats.  If a Lean proof can be provided that does not require heartbeat extension then it can be uploaded to the ManuallyProven  folder, with ManuallyProven.lean and Conjectures.lean updated accordingly.

No longer needed.


#43 error 404 page

Codecov Report
Attention: Patch coverage is 0% with 196 lines in your changes missing coverage. Please review.

Project coverage is 24.00%. Comparing base (73b496d) to head (be30e26).

Files
Patch %
Lines

src/views/NotFound.vue
0.00%
133 Missing :warning:

src/components/UserProfile.vue
0.00%
38 Missing :warning:

src/router/index.ts
0.00%
15 Missing :warning:

src/main.ts
0.00%
6 Missing :warning:

src/App.vue
0.00%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##           develop      #49       +/-   ##
============================================
- Coverage    57.39%   24.00%   -33.40%
============================================
  Files            5        8        +3
  Lines          115      275      +160
  Branches         5        8        +3
============================================
  Hits            66       66
- Misses          49      209      +160

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


advanced-genie-editor: Add version 2021.3.15

Advanced Genie Editor is a data editor for Age of Empires I/II (including DE), Star Wars Galactic Battlegrounds and Clone Campaigns.
Notes:

Direct download link is not available on the official website. Therefore, I use an alternative link. Is this acceptable?

GPL 3.0 license is specified in the official repo.

Added installation instructions to the repository Readme.

Advanced Genie Editor is a data editor for Age of Empires I/II (including DE), Star Wars Galactic Battlegrounds and Clone Campaigns.
Notes:
* **Direct download link** is not available on the official website. Therefore, I use an alternative link. Is this acceptable?

* GPL 3.0 license is specified in the [official repo](https://github.com/Tapsa/AGE/blob/master/Copying.txt).

Hey there, can you please elaborate where the Binaries come from? Are they self-built? Is it a mirror of aokheaven's blacksmith?


data download best practices

Hi all,
I'm working on a Canada-specific Pelias implementation, so I was going to download all the openaddresses Canada data. The new download service doesn't have a Canada or North America minus USA bulk options, so I'm wondering what's recommended for downloading lots of data from the server?
Thanks for the help,
Joseph

Hey @JosephKuchar, <3 supporting you guys. I'll add a Canada Collection.

Hi @ingalls ! Thanks for the help! No worries, I think got there in the end! And this one isn't for StatCan, actually - I'm temporarily assisting another department. Though speaking of StatCan and addresses, I don't know if you're aware but StatCan has a relatively new  geocoding API.
I wasn't sure how to get all sources starting with 'ca/' using the API, so instead I git cloned the sources directory from github, then for every Canadian source name there I queried the data API to get the job ID, then queried the job API to download the geojson. There's probably a cleaner way to do it, but it seems to have worked.


WIP: -p/--profile option starts v8/chromium/chrome compatible profiling.

For some reason this breaks; I can't remember how. I will keep working on it later, I hope to add more info tonight.

This should help fixing things like  #483.

Coverage remained the same at 89.448% when pulling 8e2b0f2456ec64cc2a6935f5ccd4071e84d4f64c on StyXman:profiling into 93a556822b643b2075a2c6f51bef80d3d6b2fc2d on mapbox:master.

Coverage remained the same at 89.448% when pulling b077c3813a95289d74250e2b74fac1352837b315 on StyXman:profiling into 93a556822b643b2075a2c6f51bef80d3d6b2fc2d on mapbox:master.

Coverage remained the same at 89.448% when pulling 1f3ca6a414f28f1884ca1748c7f33604495e7e76 on StyXman:profiling into 93a556822b643b2075a2c6f51bef80d3d6b2fc2d on mapbox:master.


how to use this?

hello, you can make a Quick start documentation for how to use this wrapper from an application with nodejs?
thankyou

I've added some quick example that I have used in the Readme


update batik and fop dependencies

To keep the current source compiling batik dependencies need to stay at 1.7, it would be good to make the required changes to update to 1.12 once #5 is done

updating to FOP 2.7 and batik 1.14


Make site responsive

Most of the site already is, but the homepage overflows most screens because of the fixed size of the block elements. If blocks can be made responsive, then the grid should follow suit.

There are still a couple minor issues, but the site should be usable on narrow-width displays, so mission accomplished-enough.


Each function should have own handler

If each function that can be chosen had its own handler, it would be possible to have a macro utility call a specific function when a keyboard shortcut was used, instead of requiring activating the app and picking from a list.

This was done on Oct. 24th.


New certificate is not issued when duration is changed for existing secret

Describe the bug:

When secret generated by certificate is not removed and new certificate resource with different duration is created with same name, cert-manager do not issue new certificate with new duration value.
Expected behaviour:

Cert-manager should update/renew the existing certificate with new duration.
Steps to reproduce the bug:

Create a certificate resource with name: test-cert duration: 2160h and renewBefore: 240h
delete above certificate resource, secret still present
Create certificate with same name test-cert, duration: 20h and renewBefore: 5h
Describe the certificate resource,   Not After, Not Before field in status do not change. No new certificate is issued. Decode tls.crt file also shows expiry time as 90 days (2160h)

Anything else we need to know?:
Environment details::

Kubernetes version: 1.21.0
Cloud-provider/provisioner: k8s
cert-manager version: 1.8.0
Install method: helm/static manifests

/kind bug

Hi, we do re-issue on duration change on Certificate's spec.
However, it is up to the issuer whether they respect the requested duration. For example, Let's Encrypt only issues certs with a duration of 90 days, so setting a duraton on Certificate's spec would have no effect on the issued cert's actual duration.

Hi, we are using CA issuer of cert-manager where we noticed this behavior.
Could you please confirm if it's expected behavior or not ?

Hi, I didn't originally notice in the issue description that you actually deleted the Certificate CR instead of re-applying it.
In that case it will not get updated as we currently determine if duration has changed by looking at the latest CertificateRequest and comparing that with Certificate's spec. If you deleted the Certificate, the CertificateRequests would have been garbage collected, so there was nothing to compare against. We don't compare with the issued cert's spec to avoid unnecessary re-issueances if there is a diff due to the issuer issuing certs with a set duration (note that this is a generic check, not CA issuer specific).
At the moment, if you are in a state where you have no CertificateRequests and want to force re-issuance with the new duration you can trigger it manually using cmctl renew https://cert-manager.io/docs/usage/cmctl/#renew
Is your workflow such that you are likely to hit this issue often or was it just a one time action?

Hi, thanks for update.
As you suggested "if you are in a state where you have no CertificateRequests and want to force re-issuance with the new duration you can trigger it manually using cmctl renew". We tried this and it working but is there any way we can automate this ?
I mean, while creating certificate resource can I force re-issuance ?
Regards,
Ashish

In what scenarios do you expect to end up in this situation (where you have updated a Certificate, but don't have any CertificateRequests)?


Jenkins 2 GH Actions Workflow Migration

Details
While migrating to GH Actions I had to utilise GoReleaser in conjunction with buildx to be able to build ARM compatible artifacts.
How to test
I ran following steps locally:
Run without pushing or publishing to AWS:
export BUILD_DATE=202301251438.25
export DOCKER_REGISTRY=fakeregistry
export DOCKER_IMAGE_NAME=test
export GORELEASER_CURRENT_TAG=v0.0.9999
go run<EMAIL_ADDRESS>release --snapshot --rm-dist

Test aws publish script:

⚠ You also have to export AWS_* environments for a non production account.

export BUILD_DATE=202301251120.04
export GOOS=linux
export GOARCH=arm64
export ELASTIC_LAYER_NAME=reakaleek-test
export ARCHITECTURE=arm64
export VERSION=v0.0.9999
./.ci/publish-aws.sh

Test the GitHub release:

⚠ But you have to modify .ci/release-github.sh and add the --draft option.

export VERSION=v0.0.9999
./.ci/release-github.sh

Related Issues
Closes https://github.com/elastic/observability-robots/issues/1517

:grey_exclamation: Build Aborted

Either there was a build timeout or someone aborted the build.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-01-17T13:22:23.738+0000

Duration: 4 min 10 sec

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-01-24T17:39:15.771+0000

Duration: 8 min 43 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
208

Skipped
2

Total
210

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

LGTM
Question regarding testing this PR locally, would you mind adding what command did you run locally? 🙇

Updated the description: https://github.com/elastic/apm-aws-lambda/pull/362#issue-1536371273


Room Example: move game code from lobby to game

renames Spawner to RewardSpawner, to avoid confusion with player spawn
Moves Reward Spawning code from the Lobby to the Game

minor PR to make the Room example easier to understand by separating some game concerns from lobby concerns.

It looks like you're trying to make the reward spawner a scene object, when it should not be.

It looks like you're trying to make the reward spawner a scene object, when it should not be.

Looks like it separates where stuff is done, which is probably a good thing. Better to have scripts that do single things like RewardSpawner rather than god scripts that do everything like NetworkManager.

Looks like it separates where stuff is done, which is probably a good thing. Better to have scripts that do single things like RewardSpawner rather than god scripts that do everything like NetworkManager.

Looks like it separates where stuff is done, which is probably a good thing. Better to have scripts that do single things like RewardSpawner rather than god scripts that do everything like NetworkManager.

Spawner is already a separate MonoBehaviour with exactly 2 static methods in it.  It's as simple as it can be.  NetworkRoomManager has only one field added for the prize prefab so it can be ref'd via the singleton.
Closing this, as I'm not going to reverse getting rid of the unnecessary scene object.

Looks like it separates where stuff is done, which is probably a good thing. Better to have scripts that do single things like RewardSpawner rather than god scripts that do everything like NetworkManager.

Spawner is already a separate MonoBehaviour with exactly 2 static methods in it.  It's as simple as it can be.  NetworkRoomManager has only one field added for the prize prefab so it can be ref'd via the singleton.
Closing this, as I'm not going to reverse getting rid of the unnecessary scene object.

Spawner doesn't need to be a monobehaviour, that part makes it more complicated. a class only needs to be a monobehaviour when it needs to exist on a game object.
Adding extra fields to NetworkRoomManager (even 1 extra field) contributes to it being a god class. and with OnRoomServerSceneChanged the trigger for logic is in NetworkRoomManager too.
This is a greater problem with mirror rather than this example. Because there is no events for when the server starts/stops it requires everyone to use a custom NetworkManager as a god class. For small projects this is nothing to worry about, but for larger projects they becomes very difficult to deal with.

Spawner doesn't need to be a monobehaviour, that part makes it more complicated. a class only needs to be a monobehaviour when it needs to exist on a game object.
Adding extra fields to NetworkRoomManager (even 1 extra field) contributes to it being a god class. and with OnRoomServerSceneChanged the trigger for logic is in NetworkRoomManager too.
This is a greater problem with mirror rather than this example. Because there is no events for when the server starts/stops it requires everyone to use a custom NetworkManager as a god class. For small projects this is nothing to worry about, but for larger projects they becomes very difficult to deal with.

Spawner doesn't need to be a monobehaviour, that part makes it more complicated. a class only needs to be a monobehaviour when it needs to exist on a game object.

Without inheriting from MonoBehaviour, can't use Instantiate.

Spawner doesn't need to be a monobehaviour, that part makes it more complicated. a class only needs to be a monobehaviour when it needs to exist on a game object.

Without inheriting from MonoBehaviour, can't use Instantiate.

Without inheriting from MonoBehaviour, can't use Instantiate.

Instantiate is a static method, it can be called from anywhere.

Without inheriting from MonoBehaviour, can't use Instantiate.

Instantiate is a static method, it can be called from anywhere.

Static method that exists on the UnityEngine.Object class, it can be accessed from any object that inheirts from UnityEngine.Object, this includes GameObject and MonoBehaviour

static classes should be static not Monobehaviours

Static method that exists on the UnityEngine.Object class, it can be accessed from any object that inheirts from UnityEngine.Object, this includes GameObject and MonoBehaviour

static classes should be static not Monobehaviours

Removed inheritance in #ec972ca

Removed inheritance in #ec972ca

removed inheritance in https://github.com/vis2k/Mirror/commit/ec972ca46a88e879936fbbb2965c7f7b4a6ceba7

removed inheritance in https://github.com/vis2k/Mirror/commit/ec972ca46a88e879936fbbb2965c7f7b4a6ceba7


[Refactor] refactor multi distinct rewrite strategy

Why I'm doing:
Like https://github.com/StarRocks/starrocks/issues/39731, some users found query with mulitple distinct functions not choose the most efficient plan.
What I'm doing:

Adjust the strategy about how choosing rewriting with cte or rewriting with multi_distinct_func rule based on benchmark test results.
Enhance the execution of avg(distinct)
Enhance the execution the execution of multiple distinct functions on the same column.
fix some incorrenct plan

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@mergify backport branch-3.2 branch-3.1


Tiers: properly support float amounts

Tiers with float amounts are not properly supported. There are a bunch of small steps that we need to take to unlock that:

[x] When editing a tier (/{slug}/edit/tiers), the Amount fields already supports float amounts. We should do the same for the following fields:

[x] Minimum amount
[x] Default amount
[x] Suggested amounts

[x] Make sure that these changes work with the contribution flow
[x] On the tier cards, don't round amounts if they have some decimals:

:gift: :money_with_wings: A $200 bounty was attached to this issue. Anyone submitting a Pull Request will be rewarded with $200 when the Pull Request is reviewed, accepted and merged.
:arrow_right: More info

Please follow our code guidelines, especially:

The strings must be internationalized. See /help/developers/translations
Whenever it's possible we must use styled-components to write styles. See OC Styleguide
We're getting rid of Bootstrap. Please don't use it for new developments.
Tests written with Cypress must follow our good practices conventions.

Hi @joshikeno, noticed that you're recently assigned on #2730 , would you mind if I had a go at this?

@brymut totally, have a go.

:trophy: This issue has been completed by @brymut. Congrats, it was a very good work :tada:
To claim the $200 bounty, you can either:

Submit an invoice to https://opencollective.com/engineering/expenses/new (please mention the issue number in the expense's title)
Or ask for an Open Collective gift card of the same value (to donate to other collectives)


Better get summary

Now, if the system did run, there is a column "final" added :
When you execute :
hub.get_summary() hub.run(verb=1.1) hub.get_summary()
You get :

Nothing more needed :)

Hello @DaluS! Thanks for opening this PR.

In the file Cockpit.py:

Line 53:1: E265 block comment should start with '# '

In the file _core.py:

Line 538:18: E226 missing whitespace around arithmetic operator
Line 538:24: E226 missing whitespace around arithmetic operator
Line 540:18: E226 missing whitespace around arithmetic operator
Line 569:29: E226 missing whitespace around arithmetic operator
Line 570:35: E226 missing whitespace around arithmetic operator
Line 571:39: E226 missing whitespace around arithmetic operator
Line 572:33: E226 missing whitespace around arithmetic operator
Line 577:35: E226 missing whitespace around arithmetic operator
Line 577:67: E226 missing whitespace around arithmetic operator
Line 584:18: E226 missing whitespace around arithmetic operator
Line 584:24: E226 missing whitespace around arithmetic operator
Line 586:18: E226 missing whitespace around arithmetic operator

In the file _plots.py:

Line 36:30: E226 missing whitespace around arithmetic operator
Line 39:31: E226 missing whitespace around arithmetic operator
Line 39:42: E226 missing whitespace around arithmetic operator
Line 43:43: E226 missing whitespace around arithmetic operator
Line 43:65: E226 missing whitespace around arithmetic operator
Line 65:23: E226 missing whitespace around arithmetic operator
Line 65:27: E226 missing whitespace around arithmetic operator
Line 65:42: E226 missing whitespace around arithmetic operator
Line 101:31: E226 missing whitespace around arithmetic operator
Line 101:35: E226 missing whitespace around arithmetic operator
Line 102:40: E226 missing whitespace around arithmetic operator
Line 102:58: E226 missing whitespace around arithmetic operator
Line 137:28: E226 missing whitespace around arithmetic operator
Line 137:30: E226 missing whitespace around arithmetic operator
Line 137:34: E226 missing whitespace around arithmetic operator
Line 137:36: E226 missing whitespace around arithmetic operator
Line 137:51: E226 missing whitespace around arithmetic operator
Line 147:28: E226 missing whitespace around arithmetic operator
Line 147:30: E226 missing whitespace around arithmetic operator
Line 147:34: E226 missing whitespace around arithmetic operator
Line 147:36: E226 missing whitespace around arithmetic operator
Line 148:40: E226 missing whitespace around arithmetic operator
Line 148:58: E226 missing whitespace around arithmetic operator

Do see the Hitchhiker's guide to code style

Since you are on holidays, I take the liberty to implement myself some (very minor) changes to the syntax to make it a bit more compact.
I also added 2 more info in the get_summary(): the run variable and (if solver has been run), the solver name:

Cool ! Thanks :)
Also do you have an idea on how we can have a practical convention in terms of scientific/decimal notations ? I have no idea what we should do, anyway this is good enough for the moment :)

Cool ! Thanks :)
Also do you have an idea on how we can have a practical convention in terms of scientific/decimal notations ? I have no idea what we should do, anyway this is good enough for the moment :)

No simple idea now, I guess the current status is satisfactory and changing it is probably a low-level priority compared to other issues.
I open a dedicated issue to address this later if you agree?


Add method to QuadraticHamiltonian for obtaining diagonalizing circuit

Added the diagonalizing_circuit method to QuadraticHamiltonian.
Changed the order of arguments in the __init__ of QuadraticHamiltonian and made passing in the constant optional.
Modified the diagonalizing_bogoliubov_transform method of QuadraticHamiltonian to return an NxN matrix instead of a (2N) x (2N) matrix in the case that the Hamiltonian conserves particle number.

Example: if one_body is the coefficient matrix for a one-body Hamiltonian, then
quad_ham = QuadraticHamiltonian(one_body)
circuit = quad_ham.diagonalizing_circuit()

gives you a circuit that performs the basis change from the occupation number basis to the basis in which one_body is diagonal using Givens rotations. This circuit is different from the ones returned by the Slater determinants routines which take advantage of additional symmetries that only apply during state preparation. The circuit returned here is a general basis transformation that can be used anywhere in an algorithm.
In order to avoid circular dependencies, this required me to move much of the Givens rotations helper code from utils/_slater_determinants.py to ops/_quadratic_hamiltonian.py which is why this PR looks big.

Nevermind - I am missing something. It was keeping changes to QuadraticHamiltonian collapsed. I'll have another look...

I think what I did here is the most consistent with what we already have, and if we want to make this a function instead of a method then we should do the same with the other methods of QuadraticHamiltonian at the very least, and probably with all the other methods that we have in our classes (induced_norm, many_body_order, etc.). I don't feel very strongly either way.

It definitely makes sense to have the Givens rotations routines collected in a separate file though; I'll do that.


[ADDED] Free course to learn react from coursera

Added free course to learn react

will they provide certificate after completion

will they provide certificate after completion

No, it is learning course, but I earn a certificate for one more course which is Databases and SQL for Data Science with Python can I attach the link for the same? @avinash201199

sorry we are not adding coursera courses because we need to apply for financial aid and it takes 16 days to approve


Type methods not working from include file

Type methods don't seem to work from include files.
Example:
rem --- character.bas ---
TYPE player
  hp AS INT
  SUB hit(amount AS INT) STATIC
    THIS.hp = THIS.hp - amount
  END SUB
END TYPE

rem --- main.bas ---
INCLUDE "character.bas"

DIM p1 AS player
p1.hp = 30
CALL p1.hit(5)
PRINT p1.hp

This results in the following error:

main.bas:5.0: ERROR: Unknown identifier: p1

moving the TYPE to the main .bas file works, accessing the TYPE variables works as well. The problem seems to appear with SUBs and FUNCTIONs.

Fixed in v3.0.6


Add a wiki: Azur Lane Wiki

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://azur-lane.fandom.com/wiki/Azur_Lane_Wiki
Link to destination (independent) wiki: https://azurlane.koumakan.jp/wiki/Azur_Lane_Wiki

Destination Wiki is well ahead of the origin Wiki (204 vs. 3,322 content pages). Looks like a solid redirect candidate.

Added in commit https://github.com/KevinPayravi/indie-wiki-buddy/commit/df4f26dbee1b97a4dcbb835e446d7a34c9baa93f

Found a second Azur Lane wiki on Fandom (blhx.fandom.com). I've added it to the extension alongside azur-lane.fandom.com.

Now available in version 2.3.0


Entrust::hasRole('admin') causes call_user_func_array() error

I've been using Entrust 1.5 on Laravel 5.1 and was working well. After installing a package and running composer update, every time I try to use Entrust::hasRole('admin') I get :

call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Cache\FileStore' does not have a method 'tags'

I've attached my composer.json in case you want to try and replicate the issue.

composer.json.txt

yeah same here

You mean Entrust 1.4 works with Laravel 5.1 and 5.2?

Yes indeed. I faced this issue after a composer update which updated entrust from 1.4 to 1.5. After editing my composer.json (changing the version to 1.4 there) and updating again this error was gone again. I am using laravel 5.1.
But I just remembered that I had this kind of issue before and I think changing "CACHE_DRIVER=file" to "CACHE_DRIVER=array" fixed it for using version 1.5 :)
Like in issue #422

Thanks @undermink
I changed cache driver to array and I'm back in business! I don't know why I never found #422 when I was searching for the solution to this


Persist Prometheus data

Motivation

Proposal

Test Plan

Release Plan

Need to bump the major/minor version number in the next release of the crates.
Need to update the developer manual.
This PR is adding or removing Cargo features.
Release is blocked and/or tracked by other issues (see links below)

Links

reviewer checklist

main

#1448   👈

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @andresilva91 and the rest of your teammates on  Graphite


Unable to checkout a PR in GitHub Enterprise Server 3.0.22

Type: Bug
Since past few versions, I am not able to checkout PR in VSCode using GitHub Pull Request extension.
PR list is displayed correctly but checkout is not working.
Steps to Reproduce:

From the 'Pull Requests' side panel expand the 'All Open' list
Expand any PR node and choose to checkout the PR.

Expected Results:-

PR should be checked out into the PR view.

Actual Results:-

Error message pop-up displayed 'Failed to resolve Pull Request #<PR_NO> in <BRANCH_NAME>
Error in output tab :
[Info] GithubRepository> Unable to fetch PR: Error: GraphQL error: Field 'autoMergeRequest' doesn't exist on type 'PullRequest'
GraphQL error: Field 'viewerCanEnableAutoMerge' doesn't exist on type 'PullRequest'
GraphQL error: Field 'viewerCanDisableAutoMerge' doesn't exist on type 'PullRequest'

Extension version: 0.49.2022081709
VS Code version: Code 1.70.2 (Universal) (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:36:37.829Z)
OS version: Darwin x64 21.1.0
Modes:
Remote OS version: Linux x64 3.10.0-514.el7.x86_64

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 4, 5

Memory (System)
16.00GB (0.28GB free)

Process Argv
--crash-reporter-id 4e1a7f74-58fc-4b9a-bed4-13f7d0786d16

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: VA2 Machine-17

OS
Linux x64 3.10.0-514.el7.x86_64

CPUs
QEMU Virtual CPU version 1.5.3 (10 x 2399)

Memory (System)
60.79GB (1.59GB free)

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
d7fjc500:30543455
dsvsc012:30540252
azure-dev_surveyone:30548225

@saurabh-c-rai I've tested the extension with GitHub Enterprise all the way back to 3.1, and checking out a PR works fine there. 3.0 was deprecated on 2022-02-16. Are you still on 3.0 now (I recognize that you probably don't have control over which version you're on, but I'm hoping you got updated in the last month)?

@alexr00 As luck would have it we are upgrading to GitHub Enterprise 3.4.4 by this week so I guess it won't be an issue anymore. Thanks for your support.

🎉 glad to hear it! If you try out the extension after you're upgraded I recommend either waiting for the next stable release of the extension (probably in 2 weeks) or using the pre-release build. There is PAT-less auth and some general GitHub Enterprise fixes there.


[PREGEL] Refactor/get rid of old state usages

Get rid of almost all old state usages, this includes several small changes:

Move expiration into state
Give state a name
Identify 'running' states where Pregel is active
Add recovery to Computing state
Delete unnecessary checks
Add missing state changes to InError
Add Initial state

Is already merged into staging/pregel-refactor


Hierarchical speech synthesizer training code (or new checkpoints)

Hello, your team did a great job with this model! I'm yet to test it more thoroughly for TTS, but the VC component is the best pre-trained VC model I found so far!
I'd be interested in adding more languages/voices to the VC part, and noticed you were planning to release the speech synthesizer training code after the paper gets accepted. Any news on that? Or do you have any plans to release larger pre-trained checkpoints? I believe I saw somewhere that you were working on training with more languages.

@sh-lee-prml This project is fantastic, and I’m looking to extend speech synthesis to other languages. The current checkpoint (hierspeechpp_v1.1_ckpt.pth) works for other languages, but I think there’s still room for improvement. It would be amazing if you could release the training code for the synthesizer. This would really help the community push the model’s capabilities further.
Thanks!

@hayeong0 is also part of the project, maybe he can tell about the training code status.


Demos not working on different browsers

Hi,
First of all, thanks for the great plugin.
It seems like current version is not working properly in recent browsers (except Chrome).
But some of previous versions works fine (http://www.jqueryscript.net/demo/jQuery-Plugin-For-3D-Perspective-Transforms-On-Mousemove-LogosDistort/demo2.html)
Thanks!

I re-wrote the plugin to be native javascript, but this is important to me as well. I will make sure to check this in the next few days, but for now, everything should be the same between versions. For now though, you should use v0.2, https://github.com/hellsan631/LogosDistort/tree/v0.2.0

Just put out a small patch, very easy issue to fix. Chrome and FF have different returns for their events, so I just quickly patched what the event looks like for FF to make it compatible.

Hey, it is awesome!
Thank you very much for quick fix and response. Keep up! :)


Bug fix agg state function get wrong input argument list

Proposed changes
fix agg state function get wrong input argument list
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


crop-video.py doesn't return any message after running for some videos?

Some videos it works fine and will give me a suggested command, sometimes it won't say anything.

This is an example of what happens when nothing happens. I've had it work before though so I'm not sure what the problem is. I would think it would return an error or something but I'm not sure. This is my source video, cut to only show the parts where his face is actually visible. Could it be that it's too far away or he moves around too much?

Yes it moves to much, you can change minimum frames to smaller number.

Try to change the source code of "crop-video.py" at line 72 to
    return f'ffmpeg -i {inp} -ss {start} -t {time} -filter:v "crop={w}:{h}:{left}:{top}, scale={scale}" crop.mp4'

The line seems to already be exactly the same. Thank you though.
On Sat, Aug 29, 2020 at 10:54 PM ForInfinity<EMAIL_ADDRESS>wrote:

Try to change the source code of "crop-video.py" at line 72 to
return f'ffmpeg -i {inp} -ss {start} -t {time} -filter:v
"crop={w}:{h}:{left}:{top}, scale={scale}" crop.mp4'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AliaksandrSiarohin/first-order-model/issues/256#issuecomment-683372794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF6Q4CNKFIKDR277XWPO3Z3SDHEPXANCNFSM4QOXYCAQ
.


Model and ViewModel Validation Support

Adds infrastructure for model and view model validation. Additionally, adds implementations for Exception and INotifyDataErrorInfo errors. Exposure of validation is controlled through settings on bindings.

Thanks! Looking great - though I need some more time to work through it.
My main question at this point is regarding the level at which validation is applied. It seems that PerspexObject knows about validation methods, but I'm not sure this is the right level for that.
The way I expected it to happen is that you'd pass the ValidationMethod to ExpressionSubject, which would choose the appropriate validation plugin(s). At the level of PerspexObject it wouldn't know where the validation came from (INDEI or Exception), it would just act on the ValidationStatus objects it received.
Does this make sense? Am I missing something?

That makes sense. I'll work on changing the implementation to match your comment.

Don't know if you noticed, but CI is failing.

Woops. I'll check it out.

I think we're nearly there. However, rather than always checking validation and filtering it based on whether we accept that type of validation, wouldn't it make sense to only listen for validation when it was enabled?
In addition, do we really need to be able to enable validation based on the interface? What if we just said "enable validation" and the binding system then just worked out what type of validation was being used?

Had a chance to look further into this, here are the issues I've found so far (will keep updating this list). Not sure if here is the best place to discuss - might be best to split these off into separate issues if we want to discuss them, or gitter might be an appropriate place.

[ ] Only listen for validation when requested
[ ] Except: exceptions should use a separate mechanism as listening for them is zero-overhead and any setter can produce an exception
[ ] ValidationStatus shouldn't be defined on PerspexObject - it will only make sense for certain controls, certainly not every class that inherits from PerspexObject
[ ] Similarly ObjectValidationStatus should not be a struct: this means that space is being reserved in every PerspexObject for something that will only occasionally be used. This will cause enormous amounts of unused data to be allocated in a large application, I imagine.
[ ] TextBox needs to communicate its validation state

Merged into branch property-validation.


Decide on view(ctx, ..) vs ctx.view(..) syntax. The former should stay but the later can just call those

If Ui gets renamed then we can rename Context to Ui and replace ctc with ui

This change isn't flexible. its going to stay as free-functions


removed the home route

No home route was created in the controller. So I removed it since it only works for the index.html page.
So home becomes to localhost:5000 or https://signalrtestwebapp22665120.azurewebsites.net

@sammychinedu2ky : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@vicancy
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

#sign-off


Zuul: Add yamllint check

Partly osism/issues#396
Signed-off-by: Ramona Beermann<EMAIL_ADDRESS>

recheck


Power production utility

It would be great to have a utility that helps you figure out how much power production you need to satisfy your needs. This utility would have different ways to configure the different ways of producing power (solar, chemical, nuclear), and maybe propose solutions to you.
Technically, this is quite complicated, since power setups involve a lot of prototypes that interact in specific ways, so it's lots of generator stuff to figure out. It would of course integrate with the district item and power pools.
This could also integrate with the real world, tracking power consumption (and maybe even production), and alerting the user if it clashes with the current plans.
Need to think about this one, I could also implement power production as normal recipes that can be used alongside others. This is quite tricky, as powder production doesn't quite fit the model of recipes, but it could. If I add energy and heat as items, it could fit into the existing system quite well. The advantage of making it part of normal factories that the supporting infrastructure can be right alongside the power production.

I would greatly welcome this, as presently, I have to do things like this indirectly, and it is especially topheavy when dealing with a power production chain that has a large number of intermediates such as Realistic Fusion Power (Release Ver)'s Heavy Water Concentration Chain. the hidden fluid results of "MJ" and "GJ" which the mod uses to mediate between Fusors and Fusion Heatex is also not choosable as a Primary Product, meaning you have to select the next-step-prior of the relevant feeder plasma and then externally calculate the M/GJ you need from there based on researched Production Recipes for the selected Plasma. It would also benefit from the Unspecified Temperature Of Fluids For Recipes overhaul I saw in another thread, although the workaround for that one is easier to lasso

Thanks for the comment. I'll be sure to look at that when I get to this card.

The lack of this might send me back to Helmod (it generates fake recipies for power), which is a shame, because FactoryPlanner handles looped recipies better.


Rlf review 6

Squash commit message:

Restructure the PlayReady Products, Deliverables and Services section
Add information about PlayReady on Xbox and PlayReady on Azure
Restructure the PlayReady Clients section
Add information about Developing Applications using PlayReady
Add information about PlayReady packagers
Add disclaimer regarding the Compliance and Robustness Rules
Minor fixes and additions

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/PlayReady, working directory: W:\2axo-s, target branch: master, target branch commit: b597327489e0f567f285617b801dc6a0e5e78bc3, source branch: rlf-review-6, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/PlayReady, working directory: W:\mskt-s, target branch: master, target branch commit: b597327489e0f567f285617b801dc6a0e5e78bc3, source branch: rlf-review-6, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

Docs/Overview/client-architectures.md
:warning:Warning

Details

Docs/Overview/additional-documentation.md
:white_check_mark:Succeeded

Docs/Overview/additional-information.md
:white_check_mark:Succeeded

Docs/Overview/advanced-topics.md
:white_check_mark:Succeeded

Docs/Overview/certificates.md
:white_check_mark:Succeeded

Docs/Overview/clients.md
:white_check_mark:Succeeded

Docs/Overview/communication-protocols.md
:white_check_mark:Succeeded

Docs/Overview/compliance-and-robustness-rules.md
:white_check_mark:Succeeded

Docs/Overview/content-encryption-and-delivery.md
:white_check_mark:Succeeded

Docs/Overview/content-encryption.md
:white_check_mark:Succeeded

Docs/Overview/developing-applications.md
:white_check_mark:Succeeded

Docs/Overview/developing-packager.md
:white_check_mark:Succeeded

Docs/Overview/device-porting-kit.md
:white_check_mark:Succeeded

Docs/Overview/glossary-and-abbreviations.md
:white_check_mark:Succeeded

Docs/Overview/integrating-in-devices.md
:white_check_mark:Succeeded

Docs/Overview/license-to-use-playready.md
:white_check_mark:Succeeded

Docs/Overview/licenses.md
:white_check_mark:Succeeded

Docs/Overview/playready-on-windows.md
:white_check_mark:Succeeded

Docs/Overview/playready-on-xbox.md
:white_check_mark:Succeeded

Docs/Overview/policies-best-practices.md
:white_check_mark:Succeeded

Docs/Overview/product-versions.md
:white_check_mark:Succeeded

Docs/Overview/products-deliverables-services.md
:white_check_mark:Succeeded

Docs/Overview/revocation.md
:white_check_mark:Succeeded

Docs/Overview/secure-clock-services.md
:white_check_mark:Succeeded

Docs/Overview/server-on-azure.md
:white_check_mark:Succeeded

Docs/Overview/server-sdk.md
:white_check_mark:Succeeded

Docs/Overview/servers.md
:white_check_mark:Succeeded

Docs/Overview/silverlight.md
:white_check_mark:Succeeded

Docs/Overview/test-server.md
:white_check_mark:Succeeded

Docs/TOC.md
:white_check_mark:Succeeded

Docs/images/client_apis.png
:white_check_mark:Succeeded

Docs/images/client_level_app.png
:white_check_mark:Succeeded

Docs/images/client_level_app_os_soc.png
:white_check_mark:Succeeded

Docs/images/client_level_os_soc.png
:white_check_mark:Succeeded

Docs/images/client_options.png
:white_check_mark:Succeeded

Docs/images/image26_20.jpg
:white_check_mark:Succeeded

Docs/images/pk_in_device.png
:white_check_mark:Succeeded

Docs/index.md
:white_check_mark:Succeeded

Docs/Overview/client-architectures.md

Line 19: [Warning] Invalid file link:(~/images/client_options.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Did not delete branch rlf-review-6. We can delete this later during cleanup.


Recommendation on how to define the optimal maxFee value

Fees doc does not include practical information on how to select an optimal transaction.max_fee value. Now that the SDK and rest server provides with this information, every code snippet needs to be updated accordingly.

Duplicated #309


Find-all-references for class should find static uses of this

TypeScript Version:  nightly
Code
class C {
    static x() {
        return this;
    }
}

Expected behavior:
Finding all references for C includes the static use of this.
Actual behavior:
It doesn't.

Technically this can refer to a subclass constructor in these scenarios. It's not always C, though it's arguable whether that matters.

this is related to imports/exports. the findallreferences currently only looks for symbols by name, so anything that is not named C will not be considered. we can make it search for a set of names instead.


Multi-line words with no spaces

When rendering textareas that have a line that wrapped around to a second line without spaces, html2canvas, renders that line as all the space required for that line, but pushes it down to only show the first line of the multiline word. Damn that's a mouthful.
Example trouble input:
jibberish test and timeout
slksndknks andknsalkndlknsandklnsaklndknsak lndklnsaklndksankdnkl sandlkndk
How this renders:

Another example:

The code being used to render is below:
var options = { letterRendering: true }
html2canvas($('#day-' + idValue), options).then(function(canvas){
    //do stuff
}

I added the letterRendering config option this morning trying to fix it. It performs the same with or without it. Here is a jsfiddle: https://jsfiddle.net/5g50owkh/

Still issue with 1.0.0 https://jsfiddle.net/xf6jLfsz/

Facing same issue with 1.0.0-rc.1 on chrome, Any fix for that ?

Might be a duplicate of #2008  ?


Add CSP authentication

Hi Martin/Rob,
Ive added support for CSP authentication for the WebsphereMQ module. Can you please pull into the main branch? or add me as Collaborator so that I can do it?
thanks,
Sam

Change request was against my local repo with further changes. I reverted to the upstream master and created a more concise pull request with just the required changes.


fix(exceptions): wrapping method calls in try/catch

Yes, I agree. It should be a simple api call delivering the exception....

I'll see what i can do, the problem is that macro is private.

@alexisoyama our internal calls are already wrapped with try/catch. To support logging i'll have to expose some of the internal stuff to segment integration.

You're right. Since we are calling only the public methods anyway, exceptions should be caught by the SDK. I wonder why it didn't though...
I'm not sure if we need this commit then. @benmarten ?

@alexisoyama i would have this also merged, in case something crashes before calling public API. If there is a crash in SDK we will have exceptions logged.

Actually I think we can use internal here because we have the core SDK as dependencies. Similar to Leanplum-Location.


cannot run with cpu device.

Pipelines loaded with dtype=torch.float16 cannot run with cpu device. It is not recommended to move them to cpu as running them will fail. Please make sure to use an accelerator to run the pipeline in inference, due to the lack of support forfloat16 operations on this device in PyTorch. Please, remove the torch_dtype=torch.float16 argument, or use another device for inference.

no way to CPU，as too slow even on GPU


Update the final page number for the met-9.0 user's guide prior to the release in MET_Users_Guide_Forward.lyx.

Updated it to 465 for beta4.  We'll need to see the final page number after finishing all the docs and adding the final set of met-9.0 release notes.

Done... and it's 478.