403 when trying to book

This is more of a question than a bug report: does a 403 just mean that the booking slot has already been claimed?  Seems weird that the slots are still available when the job retries.
{"level":"info","booking_details":{"reservation_times":"19:00:00,19:15:00,19:30:00,19:45:00,20:00:00,18:45:00,18:30:00,18:15:00,18:00:00,20:15:00,20:30:00,20:45:00,21:00:00,21:15:00,21:30:00,17:45:00,17:30:00,17:15:00,17:00:00","reservation_types":"","reservation_date":"2024-07-19","party_size":"2","venue_id":"65452","booking_datetime":"2024-06-22 12:00:00"},"time":"2024-06-22T11:59:00-04:00","message":"starting book job"}
{"level":"info","time":"2024-06-22T11:59:00-04:00","message":"waiting 59 seconds until booking time: 2024-06-22 12:00:00"}
{"level":"info","available_slots":[{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:45:00","reservation_type":"Dining Room"}],"time":"2024-06-22T12:00:00-04:00","message":"found available slots"}
{"level":"info","matching_slots":[{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"}],"time":"2024-06-22T12:00:00-04:00","message":"found matching slots"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:00-04:00","message":"booking slot failed"}
{"level":"error","error":"could not book any matching slots","time":"2024-06-22T12:00:00-04:00","message":"no booking occurred"}
{"level":"info","time":"2024-06-22T12:00:00-04:00","message":"retrying book job"}
{"level":"info","available_slots":[{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:45:00","reservation_type":"Dining Room"}],"time":"2024-06-22T12:00:01-04:00","message":"found available slots"}
{"level":"info","matching_slots":[{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"}],"time":"2024-06-22T12:00:01-04:00","message":"found matching slots"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 17:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 19:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 19:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 19:45:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 21:00:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 21:15:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"info","slot":{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"attempting to book slot"}
{"level":"warn","error":"failed to get booking details, status code: 403","slot":{"reservation_time":"2024-07-19 21:30:00","reservation_type":"Dining Room"},"time":"2024-06-22T12:00:01-04:00","message":"booking slot failed"}
{"level":"error","error":"could not book any matching slots","time":"2024-06-22T12:00:01-04:00","message":"no booking occurred"}

received the same error last week.

resy ping
still returns "success"

Anyone figure this out?

i think this is probably captcha error


Explicit nullability for ES6 Symbol polyfill

Regardless of input, when using the flags
--language_in=ECMASCRIPT6_STRICT
--language_out=ECMASCRIPT5_STRICT
--jscomp_warning=analyzerChecks

I get these warnings in synthetic code:
 [synthetic:2] :41: WARNING - Name symbol in JSDoc is implicitly nullable.
Please add a ! to make it non-nullable, or a ? to make it explicitly nullable.
 @return {symbol}
          ^

 [synthetic:2] :45: WARNING - Name symbol in JSDoc is implicitly nullable.
Please add a ! to make it non-nullable, or a ? to make it explicitly nullable.
  return /** @type {symbol} */ ("jscomp_symbol_" + description + $jscomp.symbolCounter_++);
                    ^

 [synthetic:2] :640: WARNING - Name symbol in JSDoc is implicitly nullable.
Please add a ! to make it non-nullable, or a ? to make it explicitly nullable.
    /** @private @const @type {symbol} */ $jscomp.Map.key_ = Symbol("map-id-key");
                               ^

Looks like changing {symbol} to {!symbol} should fix that since it's just an alias for string.

The analyzerChecks are not intended to be turned on in your build. Eventually we need to make "symbol" a real type and then this will go away.

It seems --jscomp_error=* contains analyzerChecks, but I cannot filter out it by using --jscom_off.

The rest of the analyzerChecks are very useful though, so I would like to continue using them — why can't the synthetic code be fixed instead?

At some point the type system will really understand the symbol type but not this quarter. The analyzer checks are designed for systems like https://github.com/google/shipshape where warnings are shown only on source files, not synthetic files. If someone can come up with a short-term fix for that particular issue though, that would be nice, and then users could turn the analyzer checks on explicitly if they wanted to.

I haven't tried it out but when reporting the bug I basically thought the synthetic files were just these auto-included polyfills and that fixing the types there would stop the analyzerChecks from complaining until symbol becomes a real type instead of an alias (some of the other code in these files has @suppress for similar reasons I guess?)

Essentially, yes. But symbol is just an alias for ? (for now) and the implicit nullability check seems to think of that as "nullable" (which I suppose is technically true, though unhelpful in this case).

@MatrixFrog Well technically ? should be ignored by the type checker. I'm not sure about the behavior of the implicit nullability check though.


Add Preview IP filtering, update screenshots on page, add visual walkthrough

Unfortunately I had a problem with this on my local when I added the "visual walkthrough" style at the bottom, even though I basically just copied it from the "Setting up Tugboat -> Add Repos to the Project" page where it works fine. Not sure what the issue is. I thought maybe it was something on my local but it looks like it's still borked on the Tugboat Preview.
Want me to make a separate commit with just the Preview IP filtering content, @bchavet , so we can merge that, at least, and then deal with the "Visual Walkthrough" another time? Or do you have ideas for an easy fix to the page so we can merge it in its entirety? (And/or feedback for the Preview IP filtering part?)

test this please


Panning also zooms

I'm using the module on an RPi 3b with the RPi 7" touchscreen. Pinch zoom appears to work well, but using a single touch drag not only pans the map, but randomly zooms in or out.
I've not verified whether this is a general Kivy problem (but regular buttons appear to work as I would expect them to), or limited to mapview.

Can you run the touchtracer example and make sure that when you do the same kind of motion, you only get one, uninterrupted line. If that's not the case (two lines at the same time, or random cuts in the line) it could explain the issue.

It's happening with the touch tracer demo as well. I'm guessing it's either a general Kivy issue, or a hardware problem. I've added my problem to https://github.com/kivy/kivy/issues/4172.

I have the same problem on ubuntu and android I thinks is related to performance and workload because it tends to happen more on high zoom where more tiles are displayed and also if I have a lot of markers or things going on. When reducing MAX_WORKERS it tends to happen less. So it probably happens in the RPi 3b because of the low resources. Is there a way to optimize this?

I'm seeing this as well when I try to pan on the MapView widget on iOS. Running the touch tracer demo shows only a single touch when I'm doing the same motion that causes zoom on a MapView.


Website Doc & Demo is server IP address could not be found

Thanks for the heads up, the issue has been fixed


@stylistic/object-property-newline: more flexibility?

Clear and concise description of the problem
The rule @stylistic/object-property-newline could have more flexibility, like @stylistic/object-curly-newline has, so it could allow to have the following result for imports:
import {
  Loader2,
  MSquareIcon,
  RadarIcon,
  Table,
  Trash,
} from "lucide-react";

While keeping the one-line format for other cases, such as:
export const people = [
  { age: 29, gender: "male", name: "Jane", surname: "Doe" },
  { age: 30, gender: "male", name: "Bob", surname: "Doe" },
  { age: 27, gender: "male", name: "Jill", surname: "Doe" },
  { age: 26, gender: "male", name: "Jake", surname: "Doe" },
];

Suggested solution
It would be great if that rule (@stylistic/object-property-newline) could receive configuration options such as @stylistic/object-curly-newline, so import declaration and other cases could be configured differently.
Alternative
Additionally, instead of having an item count to trigger the rule, it would be great if line length would be an option, so properties could be wrapped if the line excedes for example 80 characters.
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Contributes

[ ] If this feature request is accepted, I am willing to submit a PR to fix this issue

Sounds reasonable to have options for it. What's the options design in your mind?

/* object-curly-newline: [ 'error', { ImportDeclaration: { allowAllPropertiesOnSameLine: false, minProperties: 2 } } ] */

// Disallow
import { foo, bar } from 'module';

// Allow
import {
  foo,
  bar,
} from 'module';

// Also allow another expression
const { foo, bar } = someObject;

I'd like to enforce object-property-newlineonly for ImportDeclaration like above.
I think same options like object-curly-newline are good.
(ObjectExpression, ObjectPattern, ImportDeclaration, ExportDeclaration / minProperties)

I'd like to see the same options as object-curly-newline as well.
Said rule is great and has the right options, but doesn't add line breaks between properties, only around the curlies.
Not even just for imports, I currently cannot even find a way to force an object with, say, at least three properties to go multiline.
'@stylistic/object-curly-newline': ['error', {
  minProperties: 3,
  multiline: true,
}],

Turns
const sameline = { foo: 'lish', bar: 'line' };
const multiline = { foo: 'lish', bar: 'line', break: 'here' };

into
const sameline = { foo: 'lish', bar: 'line' };
const multiline = {
  foo: 'lish', bar: 'line', break: 'here',
};

If I try to add object-property-newline to also get the line breaks between the multiline version, it wants to multiline the sameline version as well.
const sameline = { foo: 'lish', bar: 'line' }; // <- Object properties must go on a new line.  ([object-property-newline](https://eslint.org/docs/rules/object-property-newline))
const multiline = {
  foo: 'lish', bar: 'line', break: 'here', // of course also errors but here its what we want
};

Following all the autofixes this would turn into
// two is supposed to be allowed as sameline by minProperties: 3
const sameline = {
  foo: 'lish',
  bar: 'line',
};
const multiline = {
  foo: 'lish',
  bar: 'line',
  break: 'here',
};

As it looks like the two are meant to be used together, they should also share the same configuration options. As it is now, using them together limits the effective options for object-curly-newlines as well.


Reset initial selected image dynamically

Is it possible to achieve it ?

I don't know what do you mean with "dynamically".
Can you give me an case study or any code sample for your need.

I manage to achieve my goal by editing the component itself. I needed the  selected image to change according to each user as they appears randomly ```
singleSelected: {
id: ''
},

I added a new props       ```
speaker: {
        type: Object,
      },

then I 'watch' this value and change it dynamically, Hope i'm being clear ? French is my native language so :p
regards


Web3 Grants Application for Polkadex

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.

[x] A BTC address for the payment of the milestones is provided inside the application.

[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.

[x] The total funding amount of the project is below 30k at the time of submission.

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

Thanks for the application. As discussed previously, we are quite interested in the application. Our current block time on kusama and polkadot is six seconds long, so I guess you initially want to create a separate chain, rather than becoming a parachain, correct? Keep in mind that as a parachain/thread, your dex will be immediately connected to all parachains/threads as well as implemented bridges. Also regarding the ethereum bridge, you should take a look at our trustless bridge, which is currently under development here https://github.com/Snowfork.
Overall, I think it might make more sense for you to initially fully focus on the dex and wait until the bridge is ready. Your current application is also above 30k, so maybe start with M1 as well as M3. What do you think?

And I think we would still be interested in your Pebble consensus, but this could be part of a separate application.

Thanks for your reply, @Noc2 . We are also considering Pebble Consensus for another application. We are currently focused on implementing the DEX. We did check out the Snowfork repository during our research, but we couldn’t find any documentation related to it. That’s why we went ahead with ChainBridge. As you have said, we are happy to integrate Snowfork if we get some documentation about how it functions.
As you mentioned, our trading engine will be present in a separate independent Substrate chain. We cannot afford to have six-second block time when we want to provide a responsive UI/UX to users. We will be implementing the parachain on Polkadot for bringing in liquidity to our DEX chain using the Substrate-to-Substrate bridge, thereby getting connected to Polkadot.
Based on your suggestion, we will remove the Milestone 2 from our application to focus on the DEX. We will make modifications and commit for your review.

Thank you for your valuable suggestions, but at the moment, we would like to focus on launching the DEX and providing the best trading experience for the crypto community as soon as possible.  We will upgrade our chain to be a parachain once our consensus algorithm is ready or parachains can have shorter block time in Polkadot.

@Gauthamastro Could you please email us at<EMAIL_ADDRESS>and provide some details of your team?
In particular, we would need:

legal names of a team representative
address of your legal entity (if individual, then your personal address)

If you're planning to register a company before the submission of the milestones, we can wait and get the company details later. Let me know!
Thanks

Thank you @Noc2 @mmagician @RouvenP  for selecting us for the web3 foundation grants program !!! We are excited to join the team of people working towards a decentralized web. We will send the details over email and take it forward.
Thank you once again!
Best,
Gautham J


Added Razer Blackwidow Chroma keyboard layout

Should be live now. Might change the name in the future, since there might be a "non-brand-name" for that specific layout.


Still active?

Could you confirm if the repo is still active and needed? To do so, just close this issue by end of Feb 2024. If not, we'll archive the repo. The repo can still be unarchived, so it's not a destructive action.

@paulswithers I think it can be archived.


Support for minification property mangling

Is it possible to turn on property mangling in minification? For my project, turning on property mangling reduces the bundle from 1.43MB to 1MB, but it doesn't run.
For example, for the terser plugin to webpack:
      new TerserPlugin({
        terserOptions: {
          mangle: {
            properties: true,
          },
        },
      }),

This isn't on by default because it can cause things to break, but maybe we can do it in a way that doesn't break?
https://stackoverflow.com/questions/58835084/webpackterserplugin-mangle-ignores-properties-and-class-names-poor-quality-o

We cannot mangle public properties. We are providing a public API that should never be mangled. What we can do is agree to mangle private properties, which are marked in babylon with _ at the beginning of the function. This, however, will also mangle public hidden properties (!).
Private/hidden mangling:
mangle: {
    properties: {
        regex: /^_/,
    },
},

My personal opinion - yes, we should mangle private properties. From initial tests ca. 10% on the package size is reduced when mangling private properties. However (!) this requires changes to the build process, as if an internal package is using a public hidden function, the build might fail or provide incorrect access to those mangled properties.

https://forum.babylonjs.com/t/support-for-minification-property-mangling/52752


Remove leftover flag from generate_standalone

The Python code also went through a round of black formatting

Fixes #68


📖 Add new frequently asked question to FAQ

What kind of change does this PR introduce?
It is a doc update to add a new question on FAQ.

[x] PR title follows the guidelines defined in our pull request documentation

Which issue(s) this PR fixes
NONE
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

Update FAQ to cover doubt on dependabot/renovatebot trustfulness

Thanks @joycebrum!


Actuator is nil

Fixes an issue where the actuator exists in the world but for some reason it doesn't exist in the global table. I'm not quite sure how this happened (was working on a different issue), but I was unable to remove the entity due to actuator being nil and the actuator was always in the yellow state. Once I ignored the nil, the yellow indicator stuck around, so I wrote a function to clear out indicators from an entity's position.
This probably isn't a permanent fix, but it at least prevents a crash.

Seems like a reasonable fix. I can imagine that the target could get stuck in a disabled state, but that can be fixed by building another actuator.


'state._element == null': is not true

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

@ildacaroline2013
Can you provide flutter doctor -v and a complete minimal reproducible code sample that shows this issue ?
Thanks.
Also, please while opening an issue, follow the new issue template to provide more details on the issue.


feature: Create AlertProvider

Update Mantine from 7.14 -> 7.15
Add Mantine notifications dependency
Create AlertProvider
Add interceptor for api to throw notifications when there's an error

Refs: CU-8697352uj

Task linked: CU-8697352uj Create AlertProvider

Maybe error notifications should appear on the upper-right corner instead of bottom-right?


Enable debug logging through main HA Settings integration menu

Is your feature request related to a problem? Please describe.
Enabling debug logging requires editing a config file then restarting HA, then capturing the log data manually.
Describe the solution you'd like
HA allows the enable/disable of debug logging from within the integration options under the main HA settings, this makes it simpler for everyone to provide logs for issues or other requests, and works immediately.
Additional context

At the moment the switch only enables just a few messages, but nothing useful

When you disable debug logging, the log file is offered as a download which you can then edit/trim as necessary.

Are you able to test this PR out locally to confirm it solves what you would like?  I don't own a Kia anymore so can't test.
#830

Are you able to test this PR out locally to confirm it solves what you would like? I don't own a Kia anymore so can't test.
#830

I uploaded the changed json file to replace the current one, restarted HA and tested. Worked perfectly and didn't need to restart HA to toggle debugging, many thanks. This will make it much easier to quickly check things when there's a problem.

Awesome. It's merged for next release.


initial bioscales commit

#311

Looks reasonable. Please advise on the best way to test this once the commit is finalized.

Thanks @StantonMartin
My next step is telling microbiomedata/sheets_and_friends to generate a Bioscales template. We should consult with @mslarae13 regarding your plan to eliminate columns. I think we can eliminate many, but I don't want to do it in a vacuum

merging per NMDC metadata meeting 2022-06-01

We shouldn't eliminate columns. All the standard columns that are in the soil template should be there. The point here isn't REALLY to make a 'bioscales template' but rather identify the additional terms bioscales needs to expand on the soil template & revisit those terms & determine if they're worth adding to the "normal" soil template.
Any fields irrelevant to bioscales can be left empty. If you run into any required fields you don't have terms for, let me know & we can discuss.
For your plant samples, have you looked at the plant template Stan? Are there terms you need added to that too?


default pull secret name changed

appended clusterrole for operator due to default pull secret name change

Why did it change? If there was no reason, then it's a bug.


Fix missing CATCH_ for CHECK_THAT in prefixed macro version

Hi!
I was just reviewing the code and found this small typo. Great project though!
Cheers!
JP

I am quite surprised this was still there.

I don't think the prefixed forms are used much


jenkins: Add support for supplying JENKINS_OPTS and/or uri prefix

CLS signed

My true goal here is to get agents working with jenkins when a uri prefix is used.   I believe I can get around that with the agent container JENKINS_URL envVar as that will be static for all agents. However, the JENKINS_JNLP_URL appears to have the agent pod name in it so I'm not sure how to get that url pattern to include the uri prefix.

The most recent commit resolves the issues outlined in my previous comment.

/ok-to-test


Add default seccomp profile to containers

WIP: DO NOT MERGE
Add a default seccomp profile based on the Docker implementation documented here: https://docs.docker.com/engine/security/seccomp/, which has a good balance of security/compatibility.
Requires a kernel property in the platform template

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/BundleGen/14/rdkcentral/BundleGen

Commit: 50065bf51e312c84c642497d5d9b05701789895f

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Identified in tool

Commit: 50065bf51e312c84c642497d5d9b05701789895f

Closing - seccomp support added in https://github.com/rdkcentral/BundleGen/pull/74


score.py not found error

Description
I have was trying to deploy model to endpoint using python sdk . For this I have given Model, Environment and Score.py but when I passed code and scoring_script arguments to CodeConfiguration function error displayed as shown below. Also, I tried to pass code_path and scoring_script to ManagedOnlineDeployment but still no luck. Please Kindly fix it. I would really appreciate if this issue gets resolved.

Error Image

Check: endpoint ManagedOnlineEndpoint({'public_network_access': 'Enabled', 'provisioning_state': 'Succeeded', 'scoring_uri': 'https://managed-01.eastus2.inference.ml.azure.com/score', 'swagger_uri': 'https://managed-01.eastus2.inference.ml.azure.com/swagger.json', 'name': 'managed-01', 'description': 'this online endpoint is to test MLOps', 'tags': {'created': 'Sujith'}, 'properties': {'azureml.onlineendpointid': '/subscriptions/eb5a257a-76e2-472d-9fdc-7f9b3172fcf6/resourcegroups/rg-kdevops-dev/providers/microsoft.machinelearningservices/workspaces/amlmlopspockgl02/onlineendpoints/managed-01', 'AzureAsyncOperationUri': 'https://management.azure.com/subscriptions/eb5a257a-76e2-472d-9fdc-7f9b3172fcf6/providers/Microsoft.MachineLearningServices/locations/eastus2/mfeOperationsStatus/oe:5681d05d-12b4-4b28-88c0-f7713367da4e:0672352b-25b2-4ff8-922f-09dd564b16f3?api-version=2022-02-01-preview'}, 'id': '/subscriptions/eb5a257a-76e2-472d-9fdc-7f9b3172fcf6/resourceGroups/rg-kdevops-dev/providers/Microsoft.MachineLearningServices/workspaces/amlmlopspockgl02/onlineEndpoints/managed-01', 'Resource__source_path': None, 'base_path': '/mnt/batch/tasks/shared/LS_root/mounts/clusters/saleshwaram1/code/Users/saleshwaram', 'creation_context': None, 'serialize': <msrest.serialization.Serializer object at 0x7f8cccdf5580>, 'auth_mode': 'key', 'location': 'eastus2', 'identity': <azure.ai.ml._restclient.v2022_02_01_preview.models._models_py3.ManagedServiceIdentity object at 0x7f8cccd13850>, 'traffic': {}, 'mirror_traffic': {}, 'kind': 'Managed'}) exists

ResourceNotFoundError                     Traceback (most recent call last)
Input In [54], in <cell line: 36>()
24 # ml_client.begin_create_or_update(endpoint)
25 blue_deployment = ManagedOnlineDeployment(
26 name="blue",
27 endpoint_name=endpoint,
(...)
34 instance_count=1
35 )
---> 36 ml_client.online_deployments.begin_create_or_update(deployment=blue_deployment)
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azure/ai/ml/_telemetry/activity.py:258, in monitor_with_activity..monitor..wrapper(*args, **kwargs)
255 @functools.wraps(f)
256 def wrapper(*args, **kwargs):
257     with log_activity(logger, activity_name or f.name, activity_type, custom_dimensions):
--> 258         return f(*args, **kwargs)
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azure/ai/ml/operations/_online_deployment_operations.py:102, in OnlineDeploymentOperations.begin_create_or_update(self, deployment, local, vscode_debug, no_wait)
100 # This get() is to ensure, the endpoint exists and fail before even start the deployment
101 module_logger.info(f"Check: endpoint {deployment.endpoint_name} exists")
--> 102 self._online_endpoint_operations.get(
103     resource_group_name=self._resource_group_name,
104     workspace_name=self._workspace_name,
105     endpoint_name=deployment.endpoint_name,
106 )
107 orchestrators = OperationOrchestrator(
108     operation_container=self._all_operations,
109     operation_scope=self._operation_scope,
110 )
112 upload_dependencies(deployment, orchestrators)
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azure/core/tracing/decorator.py:78, in distributed_trace..decorator..wrapper_use_tracer(*args, **kwargs)
76 span_impl_type = settings.tracing_implementation()
77 if span_impl_type is None:
---> 78     return func(*args, **kwargs)
80 # Merge span is parameter is set, but only if no explicit parent are passed
81 if merge_span and not passed_in_parent:
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azure/ai/ml/_restclient/v2022_02_01_preview/operations/_online_endpoints_operations.py:669, in OnlineEndpointsOperations.get(self, resource_group_name, workspace_name, endpoint_name, **kwargs)
666 response = pipeline_response.http_response
668 if response.status_code not in [200]:
--> 669     map_error(status_code=response.status_code, response=response, error_map=error_map)
670     error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
671     raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat)
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/azure/core/exceptions.py:107, in map_error(status_code, response, error_map)
105     return
106 error = error_type(response=response)
--> 107 raise error
ResourceNotFoundError: Operation returned an invalid status 'Not Found'
Content:

404 - File or directory not found.

Server Error

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

https://github.com/Azure/azure-sdk-for-python/blob/05e3ab3066c2263a17f0767513f9639bc6579106/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_deployment/deployment.py

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 87d3b2ab-2427-f3cc-1baa-b435cd785e9f
Version Independent ID: 0c958e62-5d03-5f27-b731-bfa31100e8d0
Content: azure.ai.ml.entities.CodeConfiguration class
Content Source: preview/docs-ref-autogen/azure-ai-ml/azure.ai.ml.entities.CodeConfiguration.yml
GitHub Login: @VSC-Service-Account

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Event Hubs:0.17175049,Storage:0.05049479,Docs:0.036130767'

Hi @sujithaleshwaram99 thanks for the feedback, we'll investigate asap.

@sujithaleshwaram99 Thx for reporting the issue. Can you share on how did you create the online endpoint you're referring to? You need to create an online endpoint before creating an online deployment. The error seems to be saying the online endpoint you're referring to doesn't exist.

@luigiw , I have created online endpoint using below code snippet:
# create an online endpoint
endpoint = ManagedOnlineEndpoint(
name=online_endpoint_name,
description="this online endpoint is to test MLOps",
auth_mode="key",
tags={"created": "Sujith"},
)
I got output like this once endpoint created:
ManagedOnlineEndpoint({'public_network_access': 'Enabled', 'provisioning_state': 'Succeeded', 'scoring_uri': 'https://managed-01.eastus2.inference.ml.azure.com/score', 'swagger_uri': 'https://managed-01.eastus2.inference.ml.azure.com/swagger.json', 'name': 'managed-01', 'description': 'this online endpoint is to test MLOps', 'tags': {'created': 'Sujith'}, 'properties': {'azureml.onlineendpointid': '/subscriptions/eb5a257a-76e2-472d-9fdc-7f9b3172fcf6/resourcegroups/rg-kdevops-dev/providers/microsoft.machinelearningservices/workspaces/amlmlopspockgl02/onlineendpoints/managed-01', 'AzureAsyncOperationUri': 'https://management.azure.com/subscriptions/eb5a257a-76e2-472d-9fdc-7f9b3172fcf6/providers/Microsoft.MachineLearningServices/locations/eastus2/mfeOperationsStatus/oe:5681d05d-12b4-4b28-88c0-f7713367da4e:0672352b-25b2-4ff8-922f-09dd564b16f3?api-version=2022-02-01-preview'}, 'id': '/subscriptions/eb5a257a-76e2-472d-9fdc-7f9b3172fcf6/resourceGroups/rg-kdevops-dev/providers/Microsoft.MachineLearningServices/workspaces/amlmlopspockgl02/onlineEndpoints/managed-01', 'Resource__source_path': None, 'base_path': '/mnt/batch/tasks/shared/LS_root/mounts/clusters/saleshwaram1/code/Users/saleshwaram', 'creation_context': None, 'serialize': <msrest.serialization.Serializer object at 0x7f8cccd47a30>, 'auth_mode': 'key', 'location': 'eastus2', 'identity': <azure.ai.ml._restclient.v2022_02_01_preview.models._models_py3.ManagedServiceIdentity object at 0x7f8cc7c6f730>, 'traffic': {}, 'mirror_traffic': {}, 'kind': 'Managed'})

@sujithaleshwaram99 thank you. Can you double check that the endpoint_name you set in the OnlineDeployment object is the name string of the endpoint you created? It seems you're passing in the endpoint object as endpoint_name?

@luigiw I have changed endpoint object to endpoint name it's working. Thank you. I appreciate the support.


Screen generator template generating the wrong ScreenProps interface

Describe the bug
The screen generator template seems to be generating the wrong ScreenProps interface.
Currently it generates a NativeStackScreenProps<AppStackScreenProps<T>>. This evaluates to NativeStackScreenProps<NativeStackScreenProps<AppStackParamList, T>>, which causes TypeScript to throw all sorts of tantrums no matter what route names I pass.
Looking through in discussions and following #2383, changing the generated ScreenProps interface to AppStackScreenProps<T> fixes the problem.
Ignite version
8.8.2
Additional info
System
  platform           win32
  arch               x64
  cpu                4 cores      Intel(R) Core(TM) i3-10110U CPU @ 2.10GHz
  directory          eHealth      D:\ReactProjects\eHealth

JavaScript (and globally-installed packages)
  node                 16.18.0      C:\Program Files\nodejs\node.EXE
  npm                  8.19.2       C:\Program Files\nodejs\npm.CMD
    @ionic/cli         6.20.6
    cordova-res        0.15.4
    cordova            11.0.0
    native-run         1.7.1
    react-devtools     4.27.1
    react-native-cli   2.0.1
    yarn               1.22.19
  yarn                 1.22.19      C:\Users\Administrator\AppData\Roaming\npm\yarn.CMD
    react-devtools     4.27.1
  pnpm                 -            not installed
  expo                 48.0.19      managed

Ignite
  ignite-cli         8.8.2        C:\Users\Administrator\AppData\Local\npm-cache\_npx\e31027f3785124a8\node_modules\.bin\ignite.CMD
  ignite src         build        C:\Users\Administrator\AppData\Local\npm-cache\_npx\e31027f3785124a8\node_modules\ignite-cli\build

Android
  java               <IP_ADDRESS>    C:\Program Files\Eclipse Adoptium\jdk-<IP_ADDRESS>-hotspot\bin\java.EXE
  android home       -            C:\Users\Administrator\AppData\Local\Android\Sdk

Tools
  git                git version 2.39.0.windows.1   C:\Program Files\Git\cmd\git.EXE

@theabhishek2511 thanks for the bug report! Would you be able to contribute a PR perhaps?

@frankcalise I have created a PR (#2458) but the CI seems to be failing. I'm fairly new to RN (and ts in general) so I can't tell what's causing this. Could you please have a look?

Merged, thanks for the contribution!


[Cdk drag-drop] Expose dragRef._pickupPositionInElement

Hello everyone,
I would like to ask for a small but nice to have feature in the CDK drag-and-drop module.
Feature Description
DragRef has a private member called _pickupPositionInElement that holds what it says : the { x, y } position where the user began a drag event. I would like to have this property public, or made accessible with a method instead of typing the following code that would break without any warning should the property change name : (dragRef as any)._pickupPositionInElement
Use Case
To create a custom control, I need to be able to drag items, and snap them to a "container". Dragged items are above the container, with a position: absolute styling. For that, I only use the cdkDrag directive, and the cdkDragConstrainPosition input.
In the method, I then search for the container-column to snap to, and return its position + the pickup position in element. If I don't add the pickup position, then the element does not snap as it should : I want the top left corner of the dragged element to be snapped to the top left corner of the column.
I created a stackblitz to show exactly what I am talking about : here
Use the slider to toggle On/Off the use of _pickupPositionInElement and see that, when toggled off, the dragged element snaps based on where the drag has began (which is wrong for my use case). When toggled On, everything runs as it should. It is just that the  as any cast makes changes to the DragRef interface a potential invisible and undetectable breaking change for me…
Thanks for reading me and have a nice day!
Cheers.

The request sounds reasonable, but I'm wondering whether we should expose it in some of the events, or it should be directly on the object.

Hi!
Any news here? I'm in the exact same situation as described in this issue's use case.

Hi!
Any news here? I'm in the exact same situation as described in this issue's use case.

This could be achieved with https://github.com/angular/components/pull/22347

could be solved like: https://github.com/angular/components/pull/22347

Would also need this for the same reason with constrainPosition.


Launcher Not Escaping % for .bat Files

Hello, I've been troubleshooting an issue with Powershell Empire that uses Invoke-Obfuscation.
(https://github.com/EmpireProject/Empire/issues/869)
When Obfuscating the stager windows\launcher_bat using command 'Token\All\1,Launcher\STDIN++\12467' the agent doesnt connect. After troubleshooting a bit, I found that the outputted stager code while obfuscated is not escaping the % character with another % as needed for .bat files. When I place another % next to any %'s in the code and run it as a .bat, it works properly.
I believe the issue resides in Out-PowerShellLauncher.ps1 as I can see other characters being escaped but not % however I am unsure.
Let me know what you think and I'd be glad to assist where I can if you can point me in the right direction. Thanks!

Yes, the LAUNCHER options in the current Invoke-Obfuscation version only handle escaping for cmd.exe and not necessarily for the commands copied into batch files.
I originally built several additional context-specific LAUNCHER options like macros, C#, etc. but decided not to release them as I felt that they deserved more attention as standalone projects -- and ultimately for me it fell outside my scope of spreading awareness of PowerShell obfuscation capabilities.
BUT, I think it might make an interesting LAUNCHER option to add copies of the launchers you use and have a BATSTDIN++ perhaps that handles this additional layer of escaping. It might be as simple as just adding additional % characters to the line https://github.com/danielbohannon/Invoke-Obfuscation/blob/master/Out-PowerShellLauncher.ps1#L939 (copied into its own block for the separate BATCH version).

Found that Empire's generation of the code before obfuscation didnt escape %'s in launcher_bat. Can probably close this for now. Submitted pull request on Empire's git.


feat: Added support for google_compute_backend_service outlier_detection

This PR adds support for outlier_detection that is part of the google_compute_backend_service Terraform module. It's just a passthrough of properties matching what is available in the google_compute_backend_service modules.

/gcbrun

@imrannayer thanks for triggering the build. I see that the build failed but I don't seem to have access to view the build result. If you can share the issue I can make any required changes. Thanks.

@btkelly seems like it failed to execute this example
       module.example.module.gce-lb-http.google_compute_firewall.default-hc[0]: Creating...
       module.example.module.gce-lb-http.google_compute_health_check.default["default"]: Creating...
       module.example.module.gce-lb-http.google_compute_firewall.default-hc[0]: Still creating... [10s elapsed]
       module.example.module.gce-lb-http.google_compute_health_check.default["default"]: Still creating... [10s elapsed]
       module.example.module.gce-lb-http.google_compute_firewall.default-hc[0]: Creation complete after 11s [id=projects/ci-int-lb-http-decf/global/firewalls/ci-crossproject-lb-hc-0]
       module.example.module.gce-lb-http.google_compute_health_check.default["default"]: Creation complete after 11s [id=projects/ci-int-lb-http-1-4a42/global/healthChecks/ci-crossproject-lb-hc-default]
       module.example.module.gce-lb-http.google_compute_backend_service.default["default"]: Creating...
       module.example.module.gce-lb-http.google_compute_backend_service.default["default"]: Still creating... [10s elapsed]
       module.example.module.gce-lb-http.google_compute_backend_service.default["default"]: Still creating... [20s elapsed]
       module.example.module.gce-lb-http.google_compute_backend_service.default["default"]: Creation complete after 22s [id=projects/ci-int-lb-http-1-4a42/global/backendServices/ci-crossproject-lb-backend-default]
       module.example.module.gce-lb-http.google_compute_url_map.default[0]: Creating...

       Error: Error creating UrlMap: googleapi: Error 400: Invalid value for field 'resource.defaultService': 'https://www.googleapis.com/compute/v1/projects/ci-int-lb-http-1-4a42/global/backendServices/ci-crossproject-lb-backend-default'. Cross-project references for this resource are not allowed., invalid

         with module.example.module.gce-lb-http.google_compute_url_map.default[0],
         on ../../../main.tf line 163, in resource "google_compute_url_map" "default":
        163: resource "google_compute_url_map" "default" {

/gcbrun

@imrannayer I did originally have that check in my PR but I removed it because I want to use the outlier detection specifically for my EXTERNAL_MANAGED LB that routes to Cloud Run (serverless neg). I have noticed that in the TF module it's listed as not supported but when I use the GCP console I can configure this without issues. Is the console wrong by letting me configure that or are the Terraform modules out of date with newly added capabilities of the GCP EXTERNAL_MANAGED load balancer type?

@btkelly I think you are right. According to API doc:
Applicable backend endpoints can be:

- VM instances in an Instance Group
- Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT)
- Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT)
- Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services
- Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect

Applicable backend service types can be:

- A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED.

Can you plz set condition load balancing scheme NTERNAL_SELF_MANAGED or EXTERNAL_MANAGED?

/gcbrun


Fix Char as Bool in interfaces

Backport of https://github.com/bitcoin/bitcoin/pull/16572/commits/2dbfb37b407ed23b517f507d78fb77334142dce5
While fSpent is renamed in later versions, here it's under its original name.

utACK 06edc23f7409160adaaea5dd8d80b5dcaf696f99


When using multiselect and selecting multiple days after each other show the range layout in background

cc: @nandorojo
I think I'll add this to the multiple picker in a few weeks, it could be nice if a lot of days get selected :)

Added in 0.4.0


The page.setContent() function does not render html source.

Puppeteer version:1.5.0
Platform / OS version:mac/sierra 10.12.6
URLs (if applicable):
Node.js version:8.9.0

I'm going to use the puppeteer to replace phantomjs.
The functions that were used in the past are as follows.

Download the html before rendering
Read the html file downloaded on phantomjs, and call page.setContent ()
Get the results of the final rendered content using page.content

on the command line
curl 'https://www.pikicast.com' > src.html

load_test_phantomjs.js that used on phantomjs
var fs = require('fs'), webPage = require('webpage');

var page = webPage.create();
var htmlUrl = 'https://www.pikicast.com';
var htmlContent = fs.read('./src.html');
console.log("---------Before rendering---------");
console.log(htmlContent);
page.setContent(htmlContent, htmlUrl);

var timer = setTimeout(function() {
    console.log("---------After rendering---------");
    console.log(page.content);
}, 3000);

What is the expected result?
When I used the 'load_test_phantomjs.js' code on phantomjs above, I got rendered results.
I want to get a rendered html using the below puppeteer code.
load_test_puppeteer.js that used on puppeteer
const fs = require('fs');
const puppeteer = require('puppeteer');

const htmlContent = fs.readFileSync('./src.html', {encoding:'utf-8'});
puppeteer.launch({headless:false, dumpio:true}).then(async browser=> {
    const page = await browser.newPage();
    console.log("---------Before rendering---------");
    console.log(htmlContent);
    await page.setContent(htmlContent);
    setTimeout(async () => {
        console.log("---------After rendering---------");
        console.log(await page.content());
    }, 3000);
});

What happens instead?
I got a non-rendered html.

I cannot reproduce with 1.5.0-post on Windows 7 x64 using this code:
'use strict';

const puppeteer = require('puppeteer');

const htmlContent = `
  <!doctype html>

    <meta charset='UTF-8'><title>Test</title>
    Test

`;

puppeteer.launch({ headless: false }).then(async (browser) => {
  const page = await browser.newPage();
  await page.setContent(htmlContent);
  setTimeout(async () => {
    console.log(await page.content());
  }, 3000);
});

BTW, when I open the result of the curl 'https://www.pikicast.com' > src.html in the browser, I get a blank page.

This is the result of phantomjs. The results were too long to capture only a fraction.

This is the result of puppeteer.

The difference may be from the htmlUrl you provide for the phantomjs and do not provide for the puppeteer: src.html contains some relative URLs, so phantomjs can resolve them against the htmlUrl while puppeteer cannot resolve them.

@aslushnikov Is there a way to provide base URL for page.setContent(html) to resolve relative URLs?

@vsemozhetbyt did you fixed it? I have the same problem.
The scripts are getting intercepted, because the html is written via document.write

@semoal No, I did not, sorry.

Fixed it with args: [      '--disable-web-security']


Added option for stdout

By adding the -s or --stdout option, you can print to stdout now. Not the most beautiful PR, but I think it is pretty efficient and it works for me. Let me know if I can edit anything!
Related to issue #100

Could you please add a test for this?
You could use child_process to launch the doctoc cli tool and check for the output, i.e. make sure it prints if -s,--stdout is specified but writes to the file otherwise.
Aside from that LGTM

@thlorenz That should do it!
And thank you! I love doctoc, btw; have been using it for a long time now on many different repos. Amazing thing.

@RichardLitt almost there .. thanks for your patience :)

Saw that coming, should have done that myself. :) Fixed now.

Granted final nits will be fixed LGTM now!
@jez are you OK with this as well? If so we can merge to master and publish a new minor.

Fixed.

Cool, thanks @RichardLitt! Giving @jez a bit to give his verdict, but we'll most likely merge by EOD.

LGTM. I've actually secretly wanted this feature for a while :D
On Fri, Jun 17, 2016 at 11:21 AM Thorsten Lorenz<EMAIL_ADDRESS>wrote:

Cool, thanks @RichardLitt https://github.com/RichardLitt! Giving @jez
https://github.com/jez a bit to give his verdict, but we'll most likely
merge by EOD.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thlorenz/doctoc/pull/111#issuecomment-226844000, or mute
the thread
https://github.com/notifications/unsubscribe/AFSaVL8yx4i4K5fCNyzzTiyUkkwj1pzjks5qMuW3gaJpZM4I4fS7
.

Also, :+1: for tests for doctoc.js, not just transform.js. We don't
have any of those yet; it's great to see them getting started.
On Fri, Jun 17, 2016 at 11:51 AM Jake Zimmerman<EMAIL_ADDRESS>wrote:

LGTM. I've actually secretly wanted this feature for a while :D
On Fri, Jun 17, 2016 at 11:21 AM Thorsten Lorenz<EMAIL_ADDRESS>wrote:

Cool, thanks @RichardLitt https://github.com/RichardLitt! Giving @jez
https://github.com/jez a bit to give his verdict, but we'll most
likely merge by EOD.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thlorenz/doctoc/pull/111#issuecomment-226844000, or mute
the thread
https://github.com/notifications/unsubscribe/AFSaVL8yx4i4K5fCNyzzTiyUkkwj1pzjks5qMuW3gaJpZM4I4fS7
.

Thanks, went out as v1.2.0!

Woo! Thanks!


price not detect

Hey first of all great work there is too much too learn from this repo. Your work is appreciable.
I have to do one thing in that i want help from you.
original image

tesseract detection

Current repo detection

I am trying to detect text from document it can detect all well but some how it will cut the amount from comma sign. I tried linking threshold but it didn't work.
Any suggestion how can i do that.

i have same problem. Maybe no one can answer this question

can you explain about tesseract detect? any ref, or repo?
in craft with three patameter you can get better box
low_text
text_threshold
link threshold
serach in this repo about them
please give me a brief about tesseract detection accuracy and speed


Fixed display of ranges exceeding lower and upper boundaries

Range elements exceeding lower and upper boundary are not displayed. (not only when timeline is initialized, but also on zoom in/out)
I've seen some discussions about issue that could be the same than the one I fix here, except that I've not tried to go with a single loop: https://github.com/yotamberk/timeline-plus/pull/157
In summary, I've found 2 issues:

same search function is used for start and end date search when trying to find a visible element in the orderedElement. In case of range (end), we only need to search with an element having an end date greater than the lower boundary. Considering a range as not visible because its end date is greater than the upper boundary is wrong.
when tracing visible items, we use a break condition that takes into account only the end date. It's not possible to identify invisible items only using the end date. A range is not visible only if its end date is lower than the lower boundary OR its START date is greater than the upper boundary.

Tell me if I misunderstood something or if I did something wrong. :-)
Thanks !

Hey @apwidejulien , I've moved to https://github.com/visjs/vis-timeline.
Would you be able to transfer this PR to there?

Hey @yotamberk ,
Sorry for the delay, holidays and so on... but it's done.
I've put a comment because the PR guidelines displayed on PR opening looks outdated (eg: no develop branch).
Best Regards,
Julien


buckfeat: script refactor

Refactoring script layout and ensuring the script dir exists.

bors try

bors r+


Add logic to handle anomalous binary-outcome subquestions

Closing as not planned for now, change will be made in data files instead.


Add Key Value Storage implementation for nrfconnect

Problem
The nrfconnect and Zephyr platforms do not have implemented KeyValueStoreManagerImpl.
Summary of Changes

Added KeyValueStoreManagerImpl for Zephyr and nrfconnect
Copied tests from examples/persistent-storage/KeyValueStorageTest.cpp to the TestKeyValueStoreMgr unit test suite.
Added test checking getting too small buffer error, as nrfconnect and ESP32 platforms do not support read offsets.
Added running TestKeyValueStoreMgr unit test on the Zephyr/nrfconnect platform.

Fixes #4759

This looks like it will work.
However, would it be worth considering prefixing keys so they don't clobber other non-chip settings on the Zephyr platform?  Right now, I don't see anything to prevent collisions.  Simply prefixing 'chip/key' would probably do.

@msandstedt actually I was considering the same thing, as you suggested before, but I wasn't sure if deviating of nrfconnect from other platforms will not be undesirable by the community. As far as I saw you are ok with that, I will also be happy to introduce such prefix.


remove travis builds in favor of github actions

Github workflows were added to https://github.com/ihmeuw/demUtils/tree/master/.github/workflows on the master branch so that I could test and see if they worked. A better workflow I saw used in the ggplot2 repo is to fork the repo and test github actions on the master branch in the forked repository.
I added some documentation on this to the internal best practices hub page. @krpaulson27 want to see if it works on lifetableUtils?
Addresses issue #18

Could also have used the usethis package. They have a function for everything https://github.com/r-lib/usethis/blob/master/R/github-actions.R


pip install error

Hi,
I got this error in my terminal:
ERROR: Command errored out with exit status 1:      command: 'C:\Users\sem20\AppData\Local\Programs\Python\Python310\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\sem20\\AppData\\Local\\Temp\\pip-req-build-tkvray4h\\setup.py'"'"'; __file__='"'"'C:\\Users\\sem20\\AppData\\Local\\Temp\\pip-req-build-tkvray4h\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\sem20\AppData\Local\Temp\pip-pip-egg-info-1ruvoic4'          cwd: C:\Users\sem20\AppData\Local\Temp\pip-req-build-tkvray4h\     Complete output (11 lines):     Traceback (most recent call last):       File "<string>", line 1, in <module>       File "C:\Users\sem20\AppData\Local\Temp\pip-req-build-tkvray4h\setup.py", line 2, in <module>         from dashactylpy import __version__       File "C:\Users\sem20\AppData\Local\Temp\pip-req-build-tkvray4h\dashactylpy\__init__.py", line 14, in <module>         from .api import *       File "C:\Users\sem20\AppData\Local\Temp\pip-req-build-tkvray4h\dashactylpy\api.py", line 4, in <module>         from .managers import DashServerManager, DashUserManager, CouponManager       File "C:\Users\sem20\AppData\Local\Temp\pip-req-build-tkvray4h\dashactylpy\managers.py", line 1, in <module>         from .api import Dashactyl     ImportError: cannot import name 'Dashactyl' from partially initialized module 'dashactylpy.api' (most likely due to a circular import) (C:\Users\sem20\AppData\Local\Temp\pip-req-build-tkvray4h\dashactylpy\api.py)
I don't know how to fix it, could you help me?

Sjempotje

I will look into it soon, but a large part of the repository is slightly outdated due to the many restructures the dashactyl API has had. Everything will be updated properly when official news regarding the API is released.

Update on this: it seems to be a issue with the package entirely, a proper rewrite is needed however, Dashactyl v0.4 (which this package was originally designed for) has been deprecated and the v1 API is almost completely different from previous versions. I will discuss potential changes with the Votion team soon.


Tests of vipsdisp WSI viewer with various DICOM WSI from Imaging Data Commons

Hi! I am working on the Imaging Data Commons (IDC) project together with @fedorov and @dclunie. We came across your vipsdisp viewer and tested it with some WSI that we have available. They are all in DICOM format and could be displayed. However, in contrast to many other WSI formats, each DICOM file represents only one level of the WSI pyramid. The Vipsdisp viewer doesn't seem to be able to recognize other matching DICOM files in the same location.
We thought that this could be a valuable improvement.
Best regards,
Daniela

Hi @DanielaSchacherer, thanks for having a look at vipsdisp.
It should pick up the whole pyramid. For example, I see:

As you can see, I ran the program on 0000002.dcm, a 30kb level in that pyramid, but the viewer is displaying the full 50k x 90k pixel image. That's using the flatpak build of vipsdips, together with one of the public 3DHistech scans.
https://flathub.org/apps/org.libvips.vipsdisp
If you look at the image properties (alt-enter) you can see the number of pyramid layers it detected:

It has all the DICOM and openslide image metadata in there (it's rather indigestible, but you can filter the list with the search bar at the top).

You probably found it, but just in case, vipsdisp supports colour management of DICOM slides too. Turn on the display control bar and there's a tickbox in the menu:

It makes a big difference for some vendors.

Sorry, I keep thinking of things. Did you find the zooming controls?

use the mousewheel for a quick zoom
press the number keys to jump to that zoom level (ie. pyramid level)
press 0 to zoom out to fit the window
press eg. ctrl-2 for a 50% zoom
press + and - to step in and out a small amount
hold i and o to smoothly zoom in and out on the mouse pointer
there are also zoom controls in the View menu

Ahem I think I have it, do you mean it's not displaying the label image?
You're right, that would be a useful improvement, there's a note about it at the end of the TODO section in the README:
https://github.com/jcupitt/vipsdisp/blob/master/README.md#todo
It would need some changes to libvips and I've not decided quite how to handle it yet.

Hi @jcupitt, sorry that it took me some time to answer and thank you very much for your reply!
I wasn't referring to the label image (yet, this would also be nice to have :)), but indeed to the different levels. After some debugging, I think that the problem was most likely related to some installation issue on my computer. I tried again in another computing environment and all levels were detected as you showed above.

Ah OK -- I'm glad it's working now.


[] build failure openssl:x64-windows

Operating system
win10
Compiler
MSVC
Steps to reproduce the behavior
vcpkg install mailio
vcpkg install openssl

Failure logs

Additional context
No response

Failure!  build file wasn't produced.
Please read INSTALL.md and associated NOTES-* files.  You may also have to
look over your available compiler tool chain or change your configuration.
NASM not found - make sure it's installed and available on %PATH%

Please provide error log.

Please provide error log.

Please provide error log.

不过我已经手动安装NASM，并且添加到环境变量Path

Add NASM to PATH:

Open the Start menu, type "Environment Variables," and press Enter.
In the System Properties window, click on "Environment Variables."
In the Environment Variables window, find the "Path" variable in the "System variables" section and click "Edit."
Click "New" and add the path to the NASM executable, e.g., C:\Program Files\NASM.
Click "OK" to close all windows.

Add NASM to PATH:

Open the Start menu, type "Environment Variables," and press Enter.
In the System Properties window, click on "Environment Variables."
In the Environment Variables window, find the "Path" variable in the "System variables" section and click "Edit."
Click "New" and add the path to the NASM executable, e.g., C:\Program Files\NASM.
Click "OK" to close all windows.

是有添加的，但似乎系统找不到我安装那个，只有strawberry的

C:\Program Files\NASM This path is just an example, please add your installation of NASM to PATH and try again.

It is the port's resonsibility to deal with nasm. And the port does acquire nasm and append its directory to the path:
https://github.com/microsoft/vcpkg/blob/80d54ff62d528339c626a6fbc3489a7f25956ade/ports/openssl/windows/portfile.cmake#L65-L68
Maybe something else is preventing nasm from being accepted?

C:\Program Files\NASM This path is just an example, please add your installation of NASM to PATH and try again.

我有安装的，就这个路径。下载安装包安装了的，就在C:\Program Files\NASM

It is the port's resonsibility to deal with nasm. And the port does acquire nasm and append its directory to the path:
vcpkg/ports/openssl/windows/portfile.cmake
Lines 65 to 68 in 80d54ff
vcpkg_find_acquire_program(NASM)
cmake_path(NATIVE_PATH NASM NORMALIZE as)
cmake_path(GET NASM PARENT_PATH nasm_path)
vcpkg_add_to_path("${nasm_path}") # Needed by Configure
Maybe something else is preventing nasm from being accepted?

It is possible.

vcpkg也有自动下载nasm，但似乎没有执行安装

写到环境变量也不行，error log 还是提示NASM not found - make sure it's installed and available on %PATH%

@VoladorZou, Are you using the latest vcpkg version? Or you can try to remove your own installation of NASM and try again.


will not cross-compile using gcc 11.2

Have you tried building with gcc 11.2 ?
it aborts with some sort of overload issue around ?zenlib?
although it builds fine under gcc 10.3.0
I could spend an hour re-doing it and generating a log if you need one.

For clarity, it was cross-compiling on host ubuntu/mingw64 for target Windows 10 x64.

Oops, this is with mediainfolib ... I'll post an issue over there ... in summary:
No, it isn't resolved.
Cross-compiling under Ubuntux64/mingw64, with target Win10 x64.
With an identical build system, it cross-compiles OK under gcc 10.3.0 however it fails under gcc 11.2.0.

see: https://github.com/MediaArea/MediaInfoLib/issues/1449


Include assets for Mainnet

the current list is missing Ethereum on mainnet (eth network)
we need to include set of assets other than ethereum (list will be provided when available)

Blocked, waiting for the final assets list.

I already sent this chore PR to include the one is missing https://github.com/FuelLabs/fuels-ts/pull/3152
@arboleya

@arboleya just created this one including the whole list of assets
https://github.com/FuelLabs/fuels-ts/pull/3153


Use exports field in package.json over main

Primarily for electron, this will allow us to better separate main and renderer entry points. We'll need to ensure types cooperate.
https://nodejs.org/docs/latest-v18.x/api/packages.html#package-entry-points
https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing

Requires a bit of investigation as to whether this is ready for showtime. Notice the format of the field differs in the two above links...


Uploaded kml not visible on map

User uploads kml, it appears to work and shows up in the layer picker. But the polygon is not visible when its turned on, if you look in the admin_defined_shapes table the geog will be blank. Happens with multiple kmls fairly frequently

Do you have some sample bad kmls?


Crew Monitoring not working

Description
Crew Monitoring on any map not working, crew with sensors on their suits must show on crew monitor, but now its not
Reproduction

Start any map
Go to Crew Monitor Console
Toggle on your sensors
Look at empty page

Screenshots

This is intended behaviour if there isn't a crew monitor server on the map; see the changelog

Probably still nice if it displayed that there's no server

I'm closing this in favor of #13732


Time Picker: ISO standard for time-of-day allows value of 24:00

With respect to time of day, ISO standards allow both 00:00 and 24:00 values, to distinguish between "midnight earlier today" and "midnight tonight".   Let's say a bartender works the 7pm to midnight shift.  We might want to represent that in a work schedule as StartTime 19:00 and FinishTime 24:00, rather than 19:00 and 00:00.  PostgreSQL database, for example, adheres to the ISO standards in this regard, and allows both values; Microsoft SQL Server, on the other hand, does not follow the ISO standard. Would be convenient if the TimePicker would accept both values, and had an alternate mode that allowed for a 24-hour clock, such that 23:45 + 15 minutes = 24:00,  00:15 minus 15 minutes = 00:00.

As some one who did military service and lives my life by military time for years (To include work schedules that had me working from one day to the next through midnight). We used 00:00, no one uses 24:00. To the best of my knowledge cell phones display it as 00:00. I don't see any value in supporting 24:00.


Add example for cloud costs reporting in Testing Farm

Document the way teams can adjust the cloud costs reporting in Testing Farm.
This will be used to split the Packit Service cloud cost between users of Packit, for better granularity.

@mfocko @TomasTomecek so I think we can merge this now?


[AutoPR cognitiveservices/data-plane/ComputerVision] [Cogs OCR] Update CognitiveService OCR swagger file.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5721

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/2453


allow custom request headers to be specified

We have some internal headers that affect how we route requests. It would be nice to be able to specify those somehow, either at request time, or when instantiating the client.
cc @anotherjesse @philandstuff

You can accomplish this by overriding the fetch property of the Client like so:
client.fetch = (url, options) => {
  const headers = new Headers(options && options.headers);

  // Inject the custom header
  headers.append('X-Custom-Header', 'some value');

  return fetch(url, { ...options, headers });
}

I just created #96 to document this in the README.


submit validation example is missing something

The Submit Validation example defines a submit.js file with a submit function, but that function never get used. I assume it's meant to be used in SubmitValidationForm.js.

The submit function should be passed though to your form as a prop labeled onSubmit. This is then bound to the handleSubmit action which handles the form submission.

Thanks for pointing that out. 👍 Fixed in v6rc5 version of the docs.
import submit from './submit'

...

<form onSubmit={handleSubmit(submit)}>

...

</form


Appdaemon causes Client exceeded max pending messages at HA restart

Problem/Motivation
Hello,
I noticed that Appdaemon add-on causes this message to show up when home assistant restarts.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:132
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:15:22 PM (8 occurrences)
Last logged: 9:15:22 PM
[140476941476304] Client exceeded max pending messages [2]: 2048

This is the latest error on HA startup :point_down:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:157
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:18:36 AM (1 occurrences)
Last logged: 12:18:36 AM
[140449756601824] Client unable to keep up with pending messages. Stayed over 512 for 5 seconds. The system's load is too high or an integration is misbehaving

It only occurs once at the restart.
I also noticed that HA restart takes longer with Appdaemon enabled vs disabled.
When Appdaemon add-on is disabled, this error doesn't occur.
I tried asking this on the forum but couldn't get any answers. So posting here.
Has anyone seen this and know how to fix this?
Regards,
Vaibhav
Expected behavior
No errors in the HA log when Appdaemon add-on is enabled.
Actual behavior
Errors shown above are present in HA logs when Appdaemon add-on is enabled.
Steps to reproduce
Install and enable Appdaemon add-on in Home Assistant and restart Home Assistant.
Proposed changes
None

Hi 👋

Client unable to keep up with pending messages. Stayed over 512 for 5 seconds. The system's load is too high or an integration is misbehaving

It means AppDaemon isn't processing messages fast enough from the HA WebSocket (and thus the queue eventually overflows).
Unfortunately, this is not something the add-on itself can do anything about. Please report this issue with the AppDeamon project (which this add-on wraps).
../Frenck

Thanks. I have opened a issue on Appdaemon project as well (https://github.com/AppDaemon/appdaemon/issues/1614).
I didn't see anyone else complaining about this. Can you please help me by looking at my HA add-on config and also let me know which functionalities that are used in the apps themselves that can cause this?
 Can you please help me with these errors? Do they mean anything to you?
These show up in AD log when HA is restarted. If I restart ADB add-on from HA, its all OK but as soon as I restart, these errors show up in the log

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: AppDaemon
Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
Add-on version: 0.11.0
You are running the latest version of this add-on.
System: Home Assistant OS 9.4  (amd64 / generic-x86-64)
Home Assistant Core: 2022.12.6
Home Assistant Supervisor: 2022.11.2
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[18:44:35] INFO: Starting AppDaemon...
Task exception was never retrieved
future: <Task finished name='Task-392' coro=<HassPlugin.run_hass_service_check() done, defined at /usr/lib/python3.10/site-packages/appdaemon/plugins/hass/hassplugin.py:783> exception=ClientConnectorError(ConnectionKey(host='<IP_ADDRESS>', port=8123, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), ConnectionRefusedError(111, "Connect call failed ('<IP_ADDRESS>', 8123)"))>
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
File "/usr/lib/python3.10/asyncio/base_events.py", line 1070, in create_connection
raise exceptions[0]
File "/usr/lib/python3.10/asyncio/base_events.py", line 1054, in create_connection
sock = await self._connect_sock(
File "/usr/lib/python3.10/asyncio/base_events.py", line 963, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/lib/python3.10/asyncio/selector_events.py", line 501, in sock_connect
return await fut
File "/usr/lib/python3.10/asyncio/selector_events.py", line 541, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 8123)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/appdaemon/plugins/hass/hassplugin.py", line 792, in run_hass_service_check
hass_services = await self.get_hass_services()
File "/usr/lib/python3.10/site-packages/appdaemon/plugins/hass/hassplugin.py", line 753, in get_hass_services
r = await self.session.get(api_url, headers=headers, verify_ssl=self.cert_verify)
File "/usr/lib/python3.10/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/usr/lib/python3.10/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/lib/python3.10/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/lib/python3.10/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/usr/lib/python3.10/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/lib/python3.10/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:8123 ssl:default [Connect call failed ('<IP_ADDRESS>', 8123)]


why the fps in snapshot is 18

the fps i see in snapshot is 18, is the env diffenrence?

The performance section was committed here 8642ef23e24e04d48b5e5a02894e07d3650e80e4. But DeepSORT and the snapshot are added later.
I guess with DeepSORT another DNN cause FPS to decrease. My fault, sorry.

Thanks for answering，but why is deepsort  slow? Is it not making full use of the GPU?

The acceleration of c ++ does not seem obvious, and the same frame rate is also achieved using python，And seems that deepsort is a performance bottleneck.


Noyez fix dir hostname utf8

Bug fix for zsh_histdb import where if a directory name or hostnames had non-ascii characters that the import would crash.

Thanks for this! 🚀


Execute TestRun once received by LodeRunner

Type of PR

[x] Documentation changes
[x] Code changes
[ ] Test changes
[ ] CI-CD changes
[ ] GitHub Template changes

PR Checklist

[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] My code follows the code style of this project.
[x] I ran lint checks locally prior to submission.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Purpose of PR

To add logic to LodeRunner Service client mode to actually execute a TestRun when received.
Remaining TODOs or Open Questions

There is a race condition introduced when the TestRun is updated in Cosmos (a client could overwrite another client's updates)
Define expected behavior and handle exceptions when cosmos update of LoadResults fails
Revisit how to use/where to raise the TestRunComplete event when the test run fails with an exception
https://github.com/retaildevcrews/wcnp/issues/586 (testing to be implemented)

Details

Added a pendingTestRuns list to keep track of TestRuns that have been executed but not yet done publishing results to Cosmos

Client will not execute (re-execute) any TestRun in this list
A TestRun id is removed from the list after the results are uploaded to Cosmos

Refactored GetArgs in src/LodeRunner.API/src/Extensions/ModelExtensions.cs to reuse the code for this purpose.  This extension to convert a LoadTestConfig object to command line args now lives in src/LodeRunner.Core/Extensions/LoadTestConfigExtensions.cs

Made certain properties nullable in LoadTestConfig to allow for proper conversion to command line args

Added a TestRunComplete event to ProcessingEventBus to be able to pass along LoadResult details as event args

Added an optional TestRunId property to the LodeRunner config so the TestRun execution can pass the id to the TestRunComplete event

Updated RunLoop and RunOnce methods to sum total requests and total errors encountered for all servers and loops run to report in LoadResult

Both methods now fire the TestRunComplete event with LoadResult details upon completion

Updated LoadResult data type

Defined StartTime to be actual start time of the test execution (as opposed to scheduled start time)
Added an optional error message property to populate in case of exception during a test run
Updated in docs

Tested manually for single run loop execution, single run once execution, and consecutive (i.e. 2+ test runs received in single polling) execution for run loop and run once

Does this introduce a breaking change

[ ] YES
[ ] NO

Validation

[x] Unit tests updated and ran successfully
[x] Update documentation or issue referenced above

Issues Closed or Referenced

Closes https://github.com/retaildevcrews/wcnp/issues/585

I just looked over the ClientStatusUpdater (Subscriber) changes to handle errors there when making updates to Cosmos.  If that is how we'd like to start off handling potential cosmos issues there, I can add that logic to this PR or create a new issue to add in a separate PR to keep it smaller.

@gortegaMS I saw your comment out ClientStatusUpdater. Does that make StatusUpdate from LodeRunner/src/Services/LodeRunnerService.cs redundant, and we should just be using ClientStatusUpdater instead?

No really,  the intend I just to decoupling  responsibility from LR service

From: johee @.>
Sent: Wednesday, February 9, 2022 5:55:17 PM
To: retaildevcrews/loderunner @.>
Cc: Gerardo Ortega @.>; Mention @.>
Subject: Re: [retaildevcrews/loderunner] Execute TestRun once received by LodeRunner (PR #146)
@gortegaMShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FgortegaMS&data=04|01|gortega%40microsoft.com|247baa8caf1c4151efa108d9ec279fb9|72f988bf86f141af91ab2d7cd011db47|1|0|637800477215658602|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cKpQrcBaoLuUt3yT%2F%2FKmOICT7AFm22AuqUZYI1%2B6gw0%3D&reserved=0 I saw your comment out ClientStatusUpdater. Does that make StatusUpdate from LodeRunner/src/Services/LodeRunnerService.cs redundant, and we should just be using ClientStatusUpdater instead?
[image]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F11592689%2F153310446-7bc5c6af-1d06-4dd3-ac41-3264d9785ca8.png&data=04|01|gortega%40microsoft.com|247baa8caf1c4151efa108d9ec279fb9|72f988bf86f141af91ab2d7cd011db47|1|0|637800477215708587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=RO32d%2FBIH%2FO%2FJ8SEYi4LaN8sYMMDCLYz6cz%2FAsy%2ByuE%3D&reserved=0
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fretaildevcrews%2Floderunner%2Fpull%2F146%23issuecomment-1034327721&data=04|01|gortega%40microsoft.com|247baa8caf1c4151efa108d9ec279fb9|72f988bf86f141af91ab2d7cd011db47|1|0|637800477215708587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=qjQaPw9i3kQNc%2Fip%2BxVGY63ZbF2cUblStrOzqqJZAW0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQXGTTO3FEXLGUJB2EZWQYDU2L5GLANCNFSM5N2RHTIA&data=04|01|gortega%40microsoft.com|247baa8caf1c4151efa108d9ec279fb9|72f988bf86f141af91ab2d7cd011db47|1|0|637800477215708587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=KE47TVjIqpAsNDzcF9%2B%2BFz7PCX7uROtMj7OqHt%2BhHJU%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|gortega%40microsoft.com|247baa8caf1c4151efa108d9ec279fb9|72f988bf86f141af91ab2d7cd011db47|1|0|637800477215708587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=o%2BD4nuqQueu4g20MdtFaGSnhsYw%2Ftib5qEYD2lf%2BRyM%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|gortega%40microsoft.com|247baa8caf1c4151efa108d9ec279fb9|72f988bf86f141af91ab2d7cd011db47|1|0|637800477215708587|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2F7eUqq%2F%2BFtHuhTLAzG%2BNmiC6%2Fi8Qz9iMVaYIFboCAQk%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Radeks dev

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


Upgrade CodeQL v3.24.5 -> v3.24.9

This PR contains the following updates:

Package
Type
Update
Change

github/codeql-action
action
patch
v3.24.5 -> v3.24.9

Release Notes

github/codeql-action (github/codeql-action)
v3.24.9
Compare Source
v3.24.8
Compare Source
v3.24.7
Compare Source
v3.24.6
Compare Source

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

Suggested commit message:
Upgrade CodeQL v3.24.5 -> v3.24.9

See:
- https://github.com/github/codeql-action/blob/main/CHANGELOG.md
- https://github.com/github/codeql-action/compare/v3.24.5...v3.24.9


TLF-26 & TLF-38: Add summary page and reference number

What

Merge branches together to form the final summary page
Add summary page TLF-26
Generate reference number and add to email TLF-38

Why

For the content to match the wireframe designs

How

Add all fields to /sections/summary-data-sections.js
Add sections and fields to confirm page in pages.json
Add hashing of the timestamp and UUID to generate the reference number in /behaviours/create-and-send-pdf.js
Modify personalisations for email generation to use the session values in /behaviours/create-and-send-pdf.js

Testing

Tests passing locally

As discussed previously, I've made the following changes that we agreed:

Added reference number to confirmation page and PDF
Resolved the double-click issue on the privacy page by adding a spinning animation to the submit button once it is clicked
Changed PDF styling to have extra padding


Post request, not too sure how it works

Create post request
Summary
Attempts to fix #9
Not well tested, I also don't know what image_url was referring too

I think we should table merging this in till we get the backend deployed since that way we can actually test how they interact and see if we have cors issues or anything!


Typo

If you want more precise control over the memory diagnostic features

precise => percise

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 705680a5-9d13-9ad6-3fdf-5223d50b6cc5
Version Independent ID: 008027a0-d0ba-32b4-aecc-de0d9322e312
Content: MFC Debugging Techniques - Visual Studio
Content Source: docs/debugger/mfc-debugging-techniques.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

"percise" isn't a correct spelling https://en.oxforddictionaries.com/definition/precise
The current text is correct


[FLINK-6764] Deduplicate stateless serializers in checkpoints

This PR is based on #4014, so only the last commit 39ffe7e is relevant.
Prior to this PR, we would write multiple instances of the same serializer even if it was stateless. This commit changes that by first writing a serializer index at the head of the stream, and only write the index of a serializer when one needs to be written. The index map is built using IdentitiyHashMaps, so that stateful serializers are considered as separate entries in the index.
Test
New tests are added to PojoSerializerTest and SerializationProxiesTest to test that stateless serializers are not duplicated on restore.

Overall, very nice work! I just had few minor comments. After they are addressed, this is good to merge. +1

Thanks a lot for the helpful review @StefanRRichter. I've addressed your comments.
This PR also needs one more additional change for backwards compatibility with 1.3.0 before I'll merge it (will ping you on the follow-up).

@tzulitai What's the state of this PR?

@zentol there was a recent offline discussion regarding the savepoint formats that will probably void this change. Will close this PR for now.


Ortelius chart version 10.0.336 does not exist

Instructions need to be update for latest chart version:
ORTELIUS_VERSION=10.0.336 -> ORTELIUS_VERSION=10.0.462

@agardnerIT Can you see if there is a way to dynamically update the version numbers?  Maybe a badge url

Added code to main.js to update the version number as part of the build


[ADD] : Add TimeLine component

Description
Implementing design
As mentioned in the design folder, one needs to impelment the timeline component using Typescript/JavaScript
Tasks:

[ ] Make a central timeline
[ ] Add list of years
[ ] Add hyperlink to years , hyperlinks of the format /yearbook/<year>

The component can be scrollable, that is the div can have more than 100% width horizontally
Expected Behaviour
N/A
Current Behaviour
N/A
Additional information
Reference for TailwindCSS:

https://flowbite.com/docs/components/timeline/
https://tailwindcomponents.com/component/simple-vertical-timeline

I can work on this !

I can work on this !

the link to website is not working


Zettlr like ID support

Is it possible to support zettlr-like ID's.
ID is represented as regex expression in setting.
Than the first string in the file considered to be id. Usually it is a data-time. But it has sense to add some prefix.
The link support shall also admit the ID's
So in some file we have a string:
ID:20200728172530
In another we have a link
[[20200728172530]] - this link shall work.

Hi,
I think it's possible, but hopefully, there is no need.
Please try https://github.com/monferrand/mzettel. It should already support notes + filename templates. The rest Memo can provide. mzettel does not support ids within the content, but I think ids in filenames should be fine as well since Zettlkasten is not a standard, but a set of ideas and practices and unlikely there will be a solution that fits all cases.
Thanks, and feel free to reopen this issue if you have any questions.


Complete simulation pipeline

Simulation is not implemented at the moment. Needs to be scoped out for future and implemented (at least barebones)

#10


tests: use our own TcpSocket instead of socket2

Alternative for part of #1372

@Keruspe I prefer this over my on changes in #1372. Can do three things for me:

Change the test name to hup_event_on_disconnect.
Add a comment to the set_linger call in the test that it is done to prevent a graceful shutdown, per @carllerche comment here: https://github.com/tokio-rs/mio/pull/1372#issuecomment-712899060.
Pull d77ec615b2544dc061902b2b914896e417abeaaa (or make your own commit).

Then this LGTM.
You can ignore the CI, that is tracked in #1332.

fwiw, I added the test threads = 1 after seeing some failure on linux as well.

fwiw, I added the test threads = 1 after seeing some failure on linux as well.

But then we should just fix the failure(s). The number of concurrent test threads shouldn't influence the tests, and if it would I would consider it a bug.

I don't believe it had to do w/ the test being buggy. I believe it had to do w/ tests overlapping with a defunct TCP connection, i.e. what lingering protects against. I did not do a deep investigation into it, but assuming everything was correct before the PR, this would be the most likely explanation.

Ci failure seems unrelated, opened #1376, @carllerche you need to approve it to merge.

Thanks @Keruspe


Added dynamic html tag to generated pages

I have added dynamic title tag. If you want to have extra json field do tell me I will update accordingly.

[Current coverage][cc-pull] is 15.13%

Merging [#431][cc-pull] into [master][cc-base-branch] will increase coverage by 0.65%

@@             master       #431   diff @@
==========================================
  Files             2          2
  Lines           214        218     +4
  Methods          25         26     +1
  Messages          0          0
  Branches         31         31
==========================================
+ Hits             31         33     +2
- Misses          183        185     +2
  Partials          0          0

Powered by Codecov. Last updated by [8ba0e71...2401081][cc-compare]
[cc-base-branch]: https://codecov.io/gh/fossasia/open-event-webapp/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/fossasia/open-event-webapp/compare/8ba0e71cf5bfe63ac41a1a37fbc87fca76cb2f49...2401081a77cc5b8c4423cf9c70f0dae31ef4b6c5?src=pr
[cc-pull]: https://codecov.io/gh/fossasia/open-event-webapp/pull/431?src=pr

@jainaman224 , Where is the issue for this? Please create an issue so that everybody can comment what's needed in it?

Ok thanks @jainaman224 , LGTM :)


Build docker image main-latest

(and also redeploy gcsproxy:master-latest as gcsproxy:main-latest as described in:
https://github.com/StationA/stac/issues/106 )

Done!
For future reference @madhulikajc this is normally just done as:
docker build -t registry.stationa.io/stationa/gcsproxy:main-latest . && docker push registry.stationa.io/stationa/gcsproxy:main-latest