TimeoutError

Hello，
Firstly,thanks for  your code, I recently downloaded your code and tried to implement it according to the steps, but there was a problem and it has not been solved. Problem:
TimeoutError: [WinError 10060] The connection attempt failed because the connected party did not respond correctly after a period of time or the connected host did not respond.
Looking forward to your guidance.
Best blessing

Hey @yzf123456 , as mentioned in the readme, this repo is no longer maintained but I will try my best to help you out.
Could you provide me with more information on what you tried to run on your script?

Traceback (most recent call last):
File "C:/Users/DELL/Desktop/tf-deep-facial-recognition-lite-master/download_model_checkpoints.py", line 59, in
download_file_from_google_drive(file_id, zip_file_destination)
File "C:/Users/DELL/Desktop/tf-deep-facial-recognition-lite-master/download_model_checkpoints.py", line 12, in download_file_from_google_drive
response = session.get(URL, params = { 'id' : id }, stream = True)
File "D:\Anaconda3\lib\site-packages\requests\sessions.py", line 525, in get
return self.request('GET', url, **kwargs)
File "D:\Anaconda3\lib\site-packages\requests\sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "D:\Anaconda3\lib\site-packages\requests\sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='docs.google.com', port=443): Max retries exceeded with url: /uc?export=download&id=1tdNgX1qlq_nCtGuU7BKBUIQcL5zmsawW (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002298F6B6E48>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应，连接尝试失败。'))
thank you very much.
my computer:
WIN10
anaconda-navigator   1.9.2
tensorflow                1.14.0
------------------ 原始邮件 -----------------
发件人: "Peter<EMAIL_ADDRESS>发送时间: 2019年7月4日(星期四) 晚上9:49
收件人<EMAIL_ADDRESS>抄送: "45度的天空"1277650607<EMAIL_ADDRESS>主题: Re: [velociraptor111/tf-deep-facial-recognition-lite] TimeoutError(#1)
Hey @yzf123456 , as mentioned in the readme, this repo is no longer maintained but I will try my best to help you out.
Could you provide me with more information on what you tried to run on your script?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey so I just tried running the code on my end and it downloaded the checkpoints correctly. Just making sure, your computer is connected to the internet right when running the script?

ok, i will try more times.Thank you!

Here is the link to the model checkpoints, if you need to download it manually ...  https://docs.google.com/uc?id=1tdNgX1qlq_nCtGuU7BKBUIQcL5zmsawW&export=download
Closing the issue :)


Configure cannot guess the NonStop system automatically

With the help of OpenSSL::config, ./Configure now guesses all system flavors (even Windows) automatically from standard settings.  I know that for NonStop, there's the complication of different threading models, but maybe there's a possibility to do a good enough selection based on uname data, it would be a start.
@rsbecker, perhaps you have some ideas of "standard" host triplets that could be used to select at least some of the OpenSSL configs?  If you have config.guess, its answer in diverse environments could be a starting point.

With the help of OpenSSL::config, ./Configure now guesses all system flavors (even Windows) automatically from standard settings. I know that for NonStop, there's the complication of different threading models, but maybe there's a possibility to do a good enough selection based on uname data, it would be a start.
@rsbecker, perhaps you have some ideas of "standard" host triplets that could be used to select at least some of the OpenSSL configs? If you have config.guess, its answer in diverse environments could be a starting point.

Who's config.guess would you like? I have loads.
uname -a:
NONSTOP_KERNEL hostname L20 05 NSX-D NSX NSX-D NonStop Kernel

So the significant bits are:
uname -s: NONSTOP_KERNEL
uname -p: NSE (Itanium)
uname -p: NSX (x86)
uname -p: NSV (x86 virtualized) - This is not certain at this stage and if you see it, you can use NSX.
You could use uname -i and will get something like NSE-L with a qualifier of the model that probably can be ignored.
The operating system versions probably won't help much. The NSR processor was the now unsupported MIPS box.

Who's config.guess would you like? I have loads.

I leave it in your hands to decide, really.  You know much better than I what to choose, what corresponds best to the traditions surrounding NonStop and so on.

Just point me at the code to adjust ;)

I did, the OpenSSL::config link in https://github.com/openssl/openssl/issues/12972#issue-708330696...  either way, it's just to check the "standard" way to translate the uname values to host triplets, and it turns out that I have that on my system too :wink:

Missed the link. I can give some of this a shot soon; however, I am still trying to debug strtoimax/strtod in #12919.

Well, I [ahem] got you a starting point, see #12973


How to use cache in mamba2?

Thank you for providing such excellent code, I have a question for you, how is the cache of step function used in the following code block? What does it do? Can you give an example of how it works? Thank you.
class Mamba2(nn.Module):
def __init__(self, config: Mamba2Config):
    super().__init__()
    self.config = config
    self.layers = nn.ModuleList([ResidualBlock(config) for _ in range(config.n_layers)])

def forward(self, x):
    # x : (B, L, D)

    # y : (B, L, D)

    for layer in self.layers:
        x = layer(x)

    return x

def step(self, x, caches):
    # x : (B, L, D)
    # caches : [cache(layer) for all layers], cache : (h, inputs)

    # y : (B, L, D)
    # caches : [cache(layer) for all layers], cache : (h, inputs)

    for i, layer in enumerate(self.layers):
        x, caches[i] = layer.step(x, caches[i])

    return x, caches

Thanks!
I have updated the mamba2.py code, it now implements a proper mecanism. I have put an explanation of how it works at the top of the file, hope it helps you. If you still have question, don't hesitate to ask!
For how to use it, you can take a look at the lm.py file which encapsulates a Mamba(2) object into a language model.
Precisely, you can take a look at the generate function (which decodes from the model but uses no caching) and the generate4 function which decodes from the model with prompt prefill + step by step decoding (so with caching).

Thank you very much, I have seen your recent update！


Transaction status is not correct sometimes

Here is the sequence of messages:
[2020-06-18T09:17:21Z DEBUG edgedb::reader] Frame Contents: ReadyForCommand(
        ReadyForCommand {
            headers: {},
            transaction_state: InTransaction,
        },
    )
edgedb[T]> insert Y;
[2020-06-18T09:17:28Z DEBUG edgedb::reader] Frame Contents: ErrorResponse(
        ErrorResponse {
            severity: Error,
            code: 84082688,
            message: "current transaction is aborted, commands ignored until end of transaction block",
            attributes: {
                257: b"Traceback (most recent call last):\n  File \"edb/server/mng_port/edgecon.pyx\", line 650, in edb.server.mng_port.edgecon.EdgeConnection._compile_rollback\n    return await self.get_backend().compiler.call(\n  File \"/work/edb/server/procpool/pool.py\", line 120, in call\n    raise exc\nedb.errors.TransactionError: expected a ROLLBACK or ROLLBACK TO SAVEPOINT command\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"edb/server/mng_port/edgecon.pyx\", line 1335, in edb.server.mng_port.edgecon.EdgeConnection.main\n    await self.parse()\n  File \"edb/server/mng_port/edgecon.pyx\", line 947, in parse\n    compiled_query = await self._parse(\n  File \"edb/server/mng_port/edgecon.pyx\", line 788, in _parse\n    query_unit, num_remain = await self._compile_rollback(eql)\n  File \"edb/server/mng_port/edgecon.pyx\", line 653, in _compile_rollback\n    self.dbview.raise_in_tx_error()\n  File \"edb/server/dbview/dbview.pyx\", line 276, in edb.server.dbview.dbview.DatabaseConnectionView.raise_in_tx_error\n    raise errors.TransactionError(\nedb.errors.TransactionError: current transaction is aborted, commands ignored until end of transaction block\n",
            },
        },
    )
ERROR: TransactionError: current transaction is aborted, commands ignored until end of transaction block
[2020-06-18T09:17:28Z DEBUG edgedb::reader] Frame Contents: ReadyForCommand(
        ReadyForCommand {
            headers: {},
            transaction_state: InTransaction,
        },
    )
edgedb[T]>

I guess the transaction status is propagated from postgres as is and does not account for edgedb failures that do not reach postgres (absent types, invalid syntax, etc..)

Actually, this coding seems intentional: https://github.com/edgedb/edgedb/blob/7ebd168b18f820c4f7d11e9512842d8d4a532361/edb/server/mng_port/edgecon.pyx#L784-L7
What is an actual issue with this?  I don't think it matters if your command has bad syntax if it will be rejected due to bad transaction state anyway, but if there's a compelling reason this can be easily fixed by adjusting the above code slightly.

The point is that transaction is in failed state, but that isn't indicated to the client, while it looks like it should be.


0.4.0: Error: Unknown argument: config when following getting started instructions

Describe the bug
Starting from here and following the instructions:
https://www.the-guild.dev/graphql/codegen/docs/getting-started/installation
✗ yarn graphql-code-generator init

yarn run v1.22.15
warning package.json: No license field
$<EMAIL_ADDRESS>init

    Welcome to GraphQL Code Generator!
    Answer few questions and we will setup everything for you.

? What type of application are you building? Backend - API or server
? Where is your schema?: (path or url) [redacted]
? Pick plugins: TypeScript (required by other typescript plugins), TypeScript Resolvers (strongly typed resolve functions)
? Where to write the output: src/generated/graphql.ts
? Do you want to generate an introspection file? Yes
? How to name the config file? codegen.ts
? What script in package.json should run the codegen? codegen
Fetching latest versions of selected plugins...

    Config file generated at codegen.ts

      $ npm install

    To install the plugins.

      $ npm run codegen

    To run GraphQL Code Generator.

✨  Done in 23.95s.

NOTE: strong suspicion that the downloading of the graph schema actually failed but didn't report a failure.

➜  gen-test git:(master) ✗ npm install
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN rm not removing<EMAIL_ADDRESS>as it wasn't installed by<EMAIL_ADDRESS>npm WARN rm not removing<EMAIL_ADDRESS>as it wasn't installed by<EMAIL_ADDRESS>
><EMAIL_ADDRESS>postinstall<EMAIL_ADDRESS>> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN gen-test No description
npm WARN gen-test No repository field.
npm WARN gen-test No license field.

added 51 packages from 11 contributors, removed 49 packages, updated 468 packages and audited 519 packages in 46.403s

47 packages are looking for funding
  run `npm fund` for details

found 3 vulnerabilities (1 low, 1 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

➜  gen-test git:(master) ✗ npm run codegen

> @ codegen<EMAIL_ADDRESS>> graphql-codegen --config codegen.ts

Error: Unknown argument: config
    at Array.<anonymous> (/Users/justin.collum2@nutrien.com/work/tmp/gen-test/node_modules/graphql-codegen/lib/cli.js:142:31)
    at Object.self.fail (/Users/justin.collum2@nutrien.com/work/tmp/gen-test/node_modules/graphql-codegen/node_modules/yargs/lib/usage.js:35:17)
    at Object.self.unknownArguments (/Users/justin.collum2@nutrien.com/work/tmp/gen-test/node_modules/graphql-codegen/node_modules/yargs/lib/validation.js:139:13)
    at parseArgs (/Users/justin.collum2@nutrien.com/work/tmp/gen-test/node_modules/graphql-codegen/node_modules/yargs/yargs.js:811:32)
    at Object.get [as argv] (/Users/justin.collum2@nutrien.com/work/tmp/gen-test/node_modules/graphql-codegen/node_modules/yargs/yargs.js:668:16)
    at Object.<anonymous> (/Users/justin.collum2@nutrien.com/work/tmp/gen-test/node_modules/graphql-codegen/lib/cli.js:143:19)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ codegen: `graphql-codegen --config codegen.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ codegen script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/justin.collum2@nutrien.com/.npm/_logs/2022-10-27T19_57_11_785Z-debug.log

Your Example Website or App
would prefer not to, can't share company GQL endpoint
Steps to Reproduce the Bug or Issue

init a new repo
go to https://www.the-guild.dev/graphql/codegen/docs/getting-started/installation
follow instructions, supply value for my company GQL endpoint
npm install
npm run codegen

Expected behavior
Code is generated
Screenshots or Videos
No response
Platform
✗ versions
Node v14.19.2
NPM 6.14.17
Yarn 1.22.15
OS:
ProductName:	macOS
ProductVersion:	12.5.1
BuildVersion:	21G83

package.json:
{
  "devDependencies": {
    "@graphql-codegen/cli": "2.13.8",
    "@graphql-codegen/near-operation-file-preset": "2.4.3",
    "graphql-codegen": "0.4.0",
    "typescript": "4.8.4",
    "@graphql-codegen/typescript": "2.8.0",
    "@graphql-codegen/typescript-resolvers": "2.7.5",
    "@graphql-codegen/introspection": "2.2.1"
  },
  "dependencies": {
    "graphql": "16.6.0"
  },
  "scripts": {
    "codegen": "graphql-codegen --config codegen.ts"
  }
}

Codegen Config File
import type { CodegenConfig } from '@graphql-codegen/cli';

const config: CodegenConfig = {
  overwrite: true,
  schema: "[redacted]",
  generates: {
    "src/generated/graphql.ts": {
      plugins: ["typescript", "typescript-resolvers"]
    },
    "./graphql.schema.json": {
      plugins: ["introspection"]
    }
  }
};

export default config;

Additional context
No response

This somehow just stopped happening. Wiped my node mods folder, maybe that was it?


Upgrade cypress to version 10

Cypress is successfully upgraded to V10
I have a question whether we should have a single command for tests like:
"test": "cypress run --component && npx nyc report"
because we don't have any jest tests
Now it is the same way like in OCP Advisor

I have a question whether we should have a single command for tests like:
"test": "cypress run --component && npx nyc report"
because we don't have any jest tests

We could, but then PR check (ci.ext.devshift.net PR build) would fail on every PR and commit because it can't handle automated Cypress tests yet :(

Hm, npm run test:coverage and npm run test:ct show error

ENOENT: no such file or directory, scandir '/home/samueloleksak/vuln4shift-frontend/.nyc_output'

and don't display the coverage

Hm, npm run test:coverage and npm run test:ct show error

ENOENT: no such file or directory, scandir '/home/samueloleksak/vuln4shift-frontend/.nyc_output'

and don't display the coverage, maybe you need to update istanbul plugin package as well, or some other package thinking

I've noticed this issue is also in OCP-Advisor, creating an empty .nyc_output folder fixes this, but I'll have a closer look. Cypress tests work fine otherwise.

Sorry for the delay, I also had to fix the image matching but should be fine now.

@AsToNlele, yes! Please do that.

Images are in! :smile:


Split ElasticSearch documents into separate indices

https://github.com/elastic/elasticsearch/issues/15613
Starting from v6.0, ElasticSearch will stop supporting multiple types in an index.

https://github.com/uber/jaeger/pull/263


Type hinting not working for body validation

Hi,
I've recently started refactoring an project and decided to use this library as I have used it before and I just ran into an issue where the body validation type does not seem to carry over when accessing it inside the handler.
example:
import zodRouter, { zFile } from "koa-zod-router";
import { z } from "zod";

const router = zodRouter();
router.register({
  method: 'get',
  path: '/:id',
  validate: {
    params: z.object({
      id: z.string(),
    }),
    body: z.object({
      name: z.string(),
    }),
    query: z.object({
      page: z.number(),
      limit: z.number(),
    }),
    headers: z.object({
      authorization: z.string(),
    }),
    files: z.object({
      file: zFile(),
    }),
  },
  handler: async (ctx) => {
    const { id } = ctx.request.params;
    const { name } = ctx.request.body;
    const { page, limit } = ctx.request.query;
    const { authorization } = ctx.request.headers;
    const { file } = ctx.request.files;

    ctx.body = 'Hello World!';
  }
});

I would except that access name from ctx.request.body would give me an object containing name with the type of string however instead I just get any as the type. All other validation fields give the correct type when accessing them. Is this a regression or am I doing something wrong?
The strange thing is when I hover over the ctx.request object, it does show the correct type in body, but makes no sense why it shows as any when I actually try to access the body field.

Okay I managed to figure it out, multer was previously imported at the root project as a whole and I'm guessing it conflicted with the Formiddable package and somehow that broke the body type. Not quite sure how it broke body and not files, but at least it's not a koa-zod-router problem.

Just in case it helps anyone else, type hinting didn't start working until I upgraded koa-body from 4.2.0 to 6.0.1


Remove id from namespace

The team that owns the namespace concept have identified an issue related to the @id field that means we really prefer customers to use the namespace.code field only. This change implements that and removes the id usage from the examples.

I think there is another inherent problem here: we want the code to be:

compact (it needs to go on the wire)
human readable
globally unique

Finally, in order for this to fit into XDM, it needs to be open and extensible.
So if the answer is "Adobe will govern the creation and management of code values", with the implication "code generation is only available to Adobe enterprise customers", we run afoul of XDM's charter.

Hi @trieloff, @cdegroot-adobe I have made some changes to the description that I hope makes it much clearer how namespaces work.  Please take a look and let me know what you think.

I am VERY confused here.  What does this “namespace” functionality have to do with our namespacing/prefixing inside of XDM?

@lrosenthol nothing. It's a completely orthogonal concept.
@kstreeter it might make sense to point this out in the description – unless @lrosenthol thinks that it's a severe enough issue that warrants a re-naming.

@lrosenthol is the concept clear now?
@kstreeter reading through the updated description I've wondered if we should call the entire concept "Identity Namespace" or "Identity Space" instead to avoid confusion.

@trieloff I would be okay with calling it IdentityNamespace if others agree this is helpful in aiding understanding.

@trieloff, actually after talking to the team here it would be challenging to change the name of this now.  We have several inter-connected components using the field now.  Suggest we keep it as is, and document clearly.


Unstoppable Domains Login

Add support for login via Unstoppable Domain

Having problems with CORS errors when calling the login endpoint.
When it's called from the frontend a CORS error results on the redirect to the unstoppable authentication endpoint.
Preflight missing allow origin header

When I call the endpoint directly it responds with a 405 (Method Not Allowed). After some googling this may be because the preflight check uses the OPTIONS method and the redirect url https://auth.unstoppabledomains.com/oauth2/auth only allows GET and HEAD:

Update: I discovered yesterday the @uauth/examples/server project produces the same error. So either there's a bug in the UD server endpoint or I'm still doing something wrong 🤔


Fixed Readme for ConnectionTest

I was reading the Readme and found this little mistake at Connection Testing documentation.

Thanks!


Add tern-lint support

angelozerr/tern-lint

Thanks @tststs to integrate tern-lint inside atom.
When you have finished your integration. Could you create a PR please (with a screenshot) to mention your integration at https://github.com/angelozerr/tern-lint#integration
Thanks!

for sure! :)

How do I use tern-lint with Atom? Are there config instructions anywhere?


Issue/21 website prod deployment

Codecov Report

Merging #67 (da3274f) into main (8dcdfa3) will increase coverage by 12.82%.
The diff coverage is n/a.

:exclamation: Current head da3274f differs from pull request most recent head 483e6ec. Consider uploading reports for the commit 483e6ec to get more accurate results

@@             Coverage Diff             @@
##             main      #67       +/-   ##
===========================================
+ Coverage   53.84%   66.66%   +12.82%
===========================================
  Files           5        2        -3
  Lines         156       51      -105
  Branches       22       14        -8
===========================================
- Hits           84       34       -50
+ Misses         72       17       -55

Flag
Coverage Δ

infrastructure-dns
66.66% <ø> (?)

infrastructure-website
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

infrastructure/dns/src/resources.ts
61.36% <ø> (ø)

infrastructure/website/src/cdn-https.ts

infrastructure/website/src/naming.ts

infrastructure/website/src/input.ts

infrastructure/website/src/resources.ts

infrastructure/website/src/cdn-https-transient.ts

infrastructure/dns/src/input.ts
100.00% <0.00%> (ø)


sesman: address the issue of socket file leftovers

There are two points.
Make sure cleanup files happen after chansrv and Xserver exit. If these
child processes lock socket files, the deletion might fail.
Usually, cleanup of xorgxrdp related socket files is handled by
xorgxrdp. Just in case it failed, perform cleanup also in sesman.
Fixes #1740. Thanks to @matt335672.
Sponsored by:   Cybertrust Japan
Sponsored by:   HAW International

I would like to ship this to v0.9.15.


Rework seed extension control

What this PR does / why we need it:
It now updates the status only when there is an actual change in it. Health checks on the controller installations (changes in their .status) no longer cause the condition ExtensionsReady to have it's LastUpdateTime constantly modified when there are no actual changes in Reason and Message fields.
This PR also adds additional helper ConditionBuilder in  pkg/apis/core/v1{alpha1|beta1}/helper. This allows for fluent update of the condition and checks to ensure that correct LastUpdateTime and LastTransitionTime are set only when the condition has been modified.
It also moves the metav1.Now function provided inside of the struct making it easier for tests and without any global state modifications.
Which issue(s) this PR fixes:
Fixes #1781
Special notes for your reviewer:
Release note:

NONE

Rebased with recommendations. Have another look.


cli self update

Allows the CLI to update itself.
If this is approved, I will remove the Homebrew support.
vapor self-update

Edit:
Also adds an option for OSX to generate and open Xcode projects.
vapor xcode

Fixes #217

@qutheory/contributors let me know if this looks good.

We could avoid one redirect, if cli.qutheory.io redirects to GitHub via HTTPS directly.
Resolving cli.qutheory.io... <IP_ADDRESS>
Connecting to cli.qutheory.io|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raw.githubusercontent.com/qutheory/vapor/master/vapor [following]
--2016-05-07 19:54:00--  http://raw.githubusercontent.com/qutheory/vapor/master/vapor
Resolving raw.githubusercontent.com... <IP_ADDRESS>
Connecting to raw.githubusercontent.com|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/qutheory/vapor/master/vapor [following]
--2016-05-07 19:54:00--  https://raw.githubusercontent.com/qutheory/vapor/master/vapor
Connecting to raw.githubusercontent.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK

Besides that, it looks good and works here.

Good idea. Changed it.


Recipe doesnt work for Wav2Vec

📚 Documentation
In the readme the following recipe is provided:
import fairseq

cp_path = '/path/to/wav2vec.pt'
model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([cp_path])
model = model[0]
model.eval()

wav_input_16khz = torch.randn(1,10000)
z = model.feature_extractor(wav_input_16khz)
c = model.feature_aggregator(z)

when downloading the corresponding wav2vec_large.pt file from here (https://dl.fbaipublicfiles.com/fairseq/wav2vec/wav2vec_large.pt) and executing the recipe from above, then an error raises:

Traceback (most recent call last):
File "/export/home/lay/Programme/professional pycharm/pycharm-2021.2.1/plugins/python/helpers/pydev/pydevd.py", line 1483, in _exec
pydev_imports.execfile(file, globals, locals)  # execute the script
File "/export/home/lay/Programme/professional pycharm/pycharm-2021.2.1/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/export/home/lay/PycharmProjects/df-conformer/toywav2vec.py", line 12, in
model, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([cp_path])
File "/export/home/lay/PycharmProjects/df-conformer/venv/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 279, in load_model_ensemble_and_task
state = load_checkpoint_to_cpu(filename, arg_overrides)
File "/export/home/lay/PycharmProjects/df-conformer/venv/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 232, in load_checkpoint_to_cpu
state = _upgrade_state_dict(state)
File "/export/home/lay/PycharmProjects/df-conformer/venv/lib/python3.8/site-packages/fairseq/checkpoint_utils.py", line 434, in _upgrade_state_dict
registry.set_defaults(state["args"], tasks.TASK_REGISTRY[state["args"].task])
KeyError: 'speech_pretraining'

Process finished with exit code 1

same problem need to fix


Add Sql interface

Close #70

@rultor merge

@rultor merge

@smallcreep OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@smallcreep Done! FYI, the full log is here (took me 10min)


GraphQL QueryArgument ":notempty:" not working for many-to-many field

Describe the bug
We have two sections: Organisation Entries and Job Entries. Each Job Entry has a "organisation" relationship field that selects one organisation. In the organisation entry itself we added a many-to-many relationship field called "relatedJobs".
There is no way to filter the organisation entries to only show organisations where the relatedJobs is not empty.
Testing this with the built-in relationship field on the job entries this is working without an issue.
Steps to reproduce

create two section types
add on relationship field and one many-to-many relationship field on the entries
query for both with queryargument ":notempty:"

query GetOrganisationsWithJobOffers {
  organisationsEntries(relatedJobs: ":notempty:") {
    ... on EntryInterface {
      title
    }
    ... on organisations_organisation_Entry {
      relatedJobs {
        title
      }
    }
  }
  allOrgEntries: organisationsEntries {
    ... on EntryInterface {
      title
    }
    ... on organisations_organisation_Entry {
      relatedJobs {
        title
      }
    }
  }
  jobsEntries(organisation: ":notempty:") {
    ... on jobs_jobOffer_Entry {
      title
      organisation {
        title
      }
    }
  }
}

Result:
{
  "data": {
    "organisationsEntries": [],
    "allOrgEntries": [
      {
        "title": "Some Organisation",
        "relatedJobs": [
          {
            "title": "Some Job Offer"
          }
        ]
      },
      {
        "title": "Some Other Organisation",
        "relatedJobs": []
      }
    ],
    "jobsEntries": [
      {
        "title": "Some Job Offer",
        "organisation": [
          {
            "title": "Some Organisation"
          }
        ]
      }
    ]
  }
}

Craft CMS version
<IP_ADDRESS>
Plugin version
3.0.4
Multi-site?
No
Additional context
No response

Still looking into this, I'm not sure why, but the arguments aren't even being picked up for the field! But this may very well be related to https://github.com/craftcms/cms/issues/3538


Behave strange when scaled and moved

When the canvas is scaled and moved, the point you touch will be different with the point it really paints. It behaves like the gesture is also transformed. How can I avoid this?

I update some source code of "SketchCanvas.js" and I've solved this.

Pass the scale number to the  component. And change the "onPanResponderMove" method in the "SketchCanvas.js".
onPanResponderMove: (evt, gestureState) => {
        if (!this.props.touchEnabled) return
        if (this._path) {
          const x = parseFloat((gestureState.x0 + gestureState.dx / this.props.scale - this._offset.x).toFixed(2)),
                y = parseFloat((gestureState.y0 + gestureState.dy / this.props.scale - this._offset.y).toFixed(2))
          UIManager.dispatchViewManagerCommand(this._handle, UIManager.RNSketchCanvas.Commands.addPoint, [
            parseFloat(x * this._screenScale),
            parseFloat(y * this._screenScale)
          ])
          this._path.data.push(`${x},${y}`)
          this.props.onStrokeChanged(x, y)
        }
      }

Actually I did misunderstand your problem. Drawing on the correct position works for me out of the box if I zoom. However, the paths are not updated when I zoom. I adapt the whole canvas by applying a style with the updated width and height, which works great. But the paths are not updated, so as soon as I zoom, the paths are no longer at the correct position.
Would be great if you could help me!

You'd better use transform scale style but not changing the width and height of the canvas.

Thank you, it works great. You saved my day!

@DanielBoening how did you solve it ? i am stuck at this

@DanielBoening how did you solve it ? i am stuck at this

Hey guys how are zooming the canvas??

Pass the scale number to the component. And change the "onPanResponderMove" method in the "SketchCanvas.js".
onPanResponderMove: (evt, gestureState) => {
        if (!this.props.touchEnabled) return
        if (this._path) {
          const x = parseFloat((gestureState.x0 + gestureState.dx / this.props.scale - this._offset.x).toFixed(2)),
                y = parseFloat((gestureState.y0 + gestureState.dy / this.props.scale - this._offset.y).toFixed(2))
          UIManager.dispatchViewManagerCommand(this._handle, UIManager.RNSketchCanvas.Commands.addPoint, [
            parseFloat(x * this._screenScale),
            parseFloat(y * this._screenScale)
          ])
          this._path.data.push(`${x},${y}`)
          this.props.onStrokeChanged(x, y)
        }
      }

I did this exact change the gesture starts right but the difference keeps on increasing as I draw


fix: add selection to next find match (CTRD + D) not working with Regex Find Mode (#107090)

Solves #107090 .
Solved by passing isRegex  flag from  findController to MultiCursorSession as much like the wholeWord and matchCase flags.
Added unit test to specifically test this issue. While writing the unit test, I identified another potential issue: while adding selection to next find match using the find controller, the selection range that was there, previous to the change of focus to the find input box, is not released. That is the reason I had to add  the [1, 1, 1, 1] range to the expected selections array in the unit test assertion. Since this issue has a different root cause, I am opening a new issue to tackle this separately.
I appreciate a lot your feedback in advance,

@microsoft-github-policy-service agree

@rebornix : may you kindly review this one?  Should not take much of your time...


I can define an Error Message for an error End Event

Scenario:
A user has two different Error End Events, each referencing a different <error /> and a "catch-all" error start event in an event subprocess. Since the start event can catch two different errors, the user wants to reason about which error has been caught by the start event by storing error code and error message as variables. While it is currently possible to specify an error message when throwing an error from delegation code with new BpmnError(code, message) it is not possible to do so when defining the error end event.

Proposed solution
When selecting the error end event, I can provide an error message which is stored in the error definition:
<bpmn:error id="Error_1x1ymni" name="INVALID_DATA" errorCode="1231" camunda:errorMessage="The data provided is invalid" />

Related to CAM-9994, SUPPORT-5568

In our user test today, it was mentioned that one cannot edit the Error ID in the properties panel. Should this also be something the user can edit?

It's the same for message IDs, escalation IDs and signal IDs.
I would vote against it as it is too confusing and developers will start referencing the IDs instead names in their code and will be frustated that it didn't work.

Pending release in bpmn-js-properties-panel (https://github.com/bpmn-io/bpmn-js-properties-panel/pull/313#pullrequestreview-272399902) and integration to app.


bulkDetails limit

Hi,
Thanks for the great project.
I'm trying to use the "bulkDetails" option.
On large amount of packages i get an 400 response with the following error:
Error retrieving information from server. DF-DFERH-01
Do you happen to know what is the limit of packages per request?
Thanks

it's somewhere close to 200

Thanks


Message may be droped silently

I've had at least 2 cases where I sent multiple messages and one of them was dropped (= not delivered to mattermost) but no indication was given that the message was not delivered.
(My IRC client obviously shows all messages, but when I use the mattermost web-client, I see that one message did not get to mattermost)
There should be some way that a user is notified that matterircd failed to deliver a message.
A possible solution would be that the "user" mattermost sends a msq or query to the user saying "<....> failed to send" or something

That is actually implemented, if there's an error you get that error back on irc

That is actually implemented, if there's an error you get that error back on irc

after a chat in IRC I'm closing this as a no-fix for now because I have yet to reliably reproduce this bug.
I will reopen if I am able reproduce it

after a chat in IRC I'm closing this as a no-fix for now because I have yet to reliably reproduce this bug.
I will reopen if I am able reproduce it


Adversarial training is meaningless, maybe the codes are wrong?

Hello,
Really nice job! But I have some concerns with the released codes.
According to your codes, AdvNeRFNet has three components, that are AdvNeRFNet.nerf_adv, AdvNeRFNet.nerf and AdvNeRFNet.nerf_fine.
During training, the loss_adv and adv_perturb are only related with the update of AdvNeRFNet.nerf_adv, and the loss_clean is only related with the update of AdvNeRFNet.nerf and AdvNeRFNet.nerf_fine.
During inference, only AdvNeRFNet.nerf and AdvNeRFNet.nerf_fine are involved.
After carefully checking your codes, I find that AdvNeRFNet.nerf_adv, AdvNeRFNet.nerf and AdvNeRFNet.nerf_fine are independent with each other and there are no common components before or after them, so the existence of the AdvNeRFNet.nerf_adv branch seems meaningless to the training and inference step of conventional NeRF.
What do you think? Is there any details I ignore?

I am a huge fan of adversarial training, and I have also checked your previous work CV_A-FAN.
In the classification task of CV_A-FAN, there seems no additional "adversarial" branch within the ResNet. So the ResNet weights can be adversarially trained upon benign examples and adversarial examples.
Maybe there should also exist no additional branch in Aug-NeRF?

Hi,
Thanks for raising this issue. I have checked the code, and I guess the current version may indeed have some problems. In our original implementation, I remember the adversarial attack should be added through one of the branches in NeRF (recall that in NeRF, the MLP has two branches, one for density prediction, and another for color prediction). One quick solution might be replacing all the nerf_adv with nerf_fine/nerf. I'll be working on correcting it. Thanks for your patience.

Yeah yeah, I think nerf_adv should be replaced with nerf_fine/nerf as well.


Adding clarity to the note

Making the note a warning and included more explicit callouts to help developers understand that this API does not ensure the strings queried will be null terminated.

#SignOff


Update azure-stack-connect-azure-stack.md

I suppose you meant logging in using AzureStack\AzureStackAdmin for the service administrator

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

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

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

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

Thanks for your feedback! The information is correct in the document. The log in for the client VM is to be AzureStackUser, but the identity you use to log into the portal once on the client VM is the service administrator.

Per author feedback, closing PR.


Add Azure AD Group to Azure AD Enterprise Application

I need to add a group to an Azure AD Enterprise application (Default Access). How do I do this using Azure CLI? This is possible using the portal UI. Is this possible with Azure CLI?
Greetings Damien

add to S172

Azure CLI currently doesn't have a command for Adding Azure AD Group to Azure AD Enterprise Application.
The doc Assign a user or group to an enterprise app in Azure Active Directory mentions alternatives for how to do that in Azure Portal and PowerShell.
By capturing the network trace, I saw Azure Portal is calling an internal AppRoleAssignments API.
POST https://main.iam.ad.ext.azure.com/api/ManagedApplications/60f762f9-4b9d-4819-8447-b96770d393f7/AppRoleAssignments
{
    "objectId": "60f762f9-4b9d-4819-8447-b96770d393f7",
    "applicationRoleId": "",
    "userId": "5963f50c-7c43-405c-af7e-53294de76abd",
    "groupId": null,
    "passwordSSOCredentials": null,
    "automaticManagedEnabled": false,
    "rolloverFrequencyInDays": 0
}

However, it looks a little different from  appRoleAssignment in MS Graph API.
I tried this API but got an error:
$ az rest -m POST -u https://graph.microsoft.com/v1.0/users/5963f50c-7c43-405c-af7e-53294de76abd/appRoleAssignments -b '{"principalId":"5963f50c-7c43-405c-af7e-53294de76abd","resourceId":"60f762f9-4b9d-4819-8447-b96770d393f7","appRoleId":""}'
Bad Request({
  "error": {
    "code": "Request_BadRequest",
    "message": "Cannot convert a primitive value to the expected type 'Edm.Guid'. See the inner exception for more details.",
    "innerError": {
      "date": "2020-07-27T08:11:27",
      "request-id": "49ea12b5-388a-409f-b04a-c8e5c08c0957"
    }
  }
})

Let me further confirm with AAD team about how to do it with REST API.
For examples about using MS Graph API, you may check https://github.com/Azure/azure-cli/issues/12946.

Azure CLI is now calling Microsoft Graph API (https://github.com/Azure/azure-cli/issues/22580). Currently there is no plan to support appRoleAssignments. You may use az rest to directly call that API.


Added the sign up component

Description
Please include a summary of the change and relevant motivation and context.
List any dependencies that are required for this change.
All pull requests should be related to open issues. Indicate the issue(s) bellow and remove this line:
Fixes #(issue number 1) #(issue number 2 if applicable)
How Has This Been Tested?
Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code etc.

Checklist:

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

@morelmiles looks like we clashed on the same task that had been assigned to me via the issues section, but its cool let me pick up another

Let me pull and review this

You could make changes that you deem fit.

Luigi Morel.
Front-end developer and UI/UX designer.
Tel: +256 704 916 696 (WhatsApp)
On Wed, May 20, 2020, 10:34 Henry Mutegeki<EMAIL_ADDRESS>wrote:

Let me pull and review this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/Team-269-Frontend/pull/15#issuecomment-631294146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALR3BBMH4XJ5L6CIAWSIKNTRSOBZ7ANCNFSM4NFF4JFQ
.

You could make changes that you deem fit.
…
--- Luigi Morel. Front-end developer and UI/UX designer. Tel: +256 704 916 696 (WhatsApp)
On Wed, May 20, 2020, 10:34 Henry Mutegeki @.***> wrote: Let me pull and review this — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#15 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALR3BBMH4XJ5L6CIAWSIKNTRSOBZ7ANCNFSM4NFF4JFQ .

I will just review and pass on any comments which you can address

Otherwise good stuff @morelmiles

@MutegekiHenry since @morelmiles is working on the sign-up form, you could work on the landing page (Issue #6 )
@pearlonzo is working on the sign-in page (issue #9 )

@MutegekiHenry since @morelmiles is working on the sign-up form, you could work on the landing page (Issue #6 )
@pearlonzo is working on the sign-in page (issue #9 )

okay then

@pearlonzo @onabright kindly re-review changes

Great work.
I'd propose that the backend team gives us the API structure so that we
work in the constraints of them.

Luigi Morel.
Front-end developer and UI/UX designer.
Tel: +256 704 916 696 (WhatsApp)
On Thu, May 21, 2020, 10:51 Bright Onapito<EMAIL_ADDRESS>wrote:

Merged #15 https://github.com/BuildForSDG/Team-269-Frontend/pull/15
into develop.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/Team-269-Frontend/pull/15#event-3359642859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALR3BBIMJ6GJ53JTO6J2L53RSTMPFANCNFSM4NFF4JFQ
.

@morelmiles check the README.md of the backend repo. It has the endpoints.
@geneowak is setting up the API on heroku so you can test and make calls.

Let me do that.

Luigi Morel.
Front-end developer and UI/UX designer.
Tel: +256 704 916 696 (WhatsApp)let me do that
On May 21, 2020 15:02, "Bright Onapito"<EMAIL_ADDRESS>wrote:
@morelmiles https://github.com/morelmiles check the README.md of the
backend repo. It has the endpoints.
@geneowak https://github.com/geneowak is setting up the API on heroku so
you can test and make calls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BuildForSDG/Team-269-Frontend/pull/15#issuecomment-632048686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALR3BBIHYD2LKZTURZLGJCDRSUJ5VANCNFSM4NFF4JFQ
.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 329

Questions ?
Please refer to the Backport tool documentation


add client deadlins to bridge interceptor

What this PR does:
Adds client deadlines for each RPC call to the bridge. Configurable via the property.
Which issue(s) this PR fixes:
Internal.

@kathirsvn this is the Quarkus issue about the stub deadline: https://github.com/quarkusio/quarkus/issues/30082


Memory module shows more usage than free

As the title says.
As of writing this, the Waybar memory module reads 2.63 GiB while free -h gives 2.3Gi.
I have noticed this on multiple occasions before; Waybar consistently shows ~300MiB more than free.
free and htop show the exact same amount.
edit: Right after startup, the values are 0.51GiB for Waybar and 297Mi for free -h

Ok, I figured out what causes the discrepancy. The man pages for proc(there's a section for meminfo) and free are helpful.
These are simply two different values, that mean almost the same thing, but just not quite (which gives the ~300mb discrepancy).


Prevent onResize method triggering on scroll event

When scrolling on mobile or chrome, it causes the slider to recalculate the width and restart the slide.

Close the issue due to the major version update.
Feel free to create a new issue or open a new discussion.


Use enum for error codes

Currently the error codes are hardcoded integers, which should be enums.

Agreed. This would likely make tests a bit easier to deal with long-term.

Added Error Codes in #85, unfortunately Solidity doesn't allow to use const variables in assembly.

Closing this for now.


added dashboard suite app

Description

Dashboard Suite app for the grid stack suite project/tfgrid stack deployment (see here)

Changes

Added dashboard suite app in dashboard to deploy

Related Issues

based on the tf-images: https://github.com/threefoldtech/tf-images/pull/277

info_grid Manual

https://github.com/threefoldtech/info_grid/pull/600

Screenshot

Where is the original ticket that has the background of that app/feature?

We won't use dashboard apps for the grid stack.


Remove browser autocomplete

Adding autocomplete="off" on input should solve the problem.

Done!
Released a new subversion v1.0.2 without the browser autocomplete.
Good call, I didn't realize that issue (i usually had the autocomplete disabled in browsers).


[TW#14395] mcpwm_get_duty returns incomplete value

having trouble to use MCPWM function mcpwm_get_duty
	mcpwm_gpio_init(MCPWM_UNIT_0, MCPWM0A, GPIO_PWM0A_OUT);

	//2. initial mcpwm configuration
	mcpwm_config_t pwm_config;
	pwm_config.frequency = 400; // frequency = 400Hz,
	pwm_config.cmpr_a = 0;		// duty cycle of PWMxA = 0
	pwm_config.cmpr_b = 0;		// duty cycle of PWMxb = 0
	pwm_config.counter_mode = MCPWM_UP_COUNTER;
	pwm_config.duty_mode = MCPWM_DUTY_MODE_0;
	mcpwm_init(MCPWM_UNIT_0, MCPWM_TIMER_0, &pwm_config); // Configure PWM0A & PWM0B with above settings

	mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_A, 55.5f);
	mcpwm_set_duty_type(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_A, MCPWM_DUTY_MODE_0); //call this each time, if operator was previously in low/high state

	printf("mcpwm check = %f\n", mcpwm_get_duty(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_A));

so mcpwm is set to 55.5 but get returns 55.000000 and this is wrong
also I've compared using logic analyzer 55.5 and 55.6 duty PWM output and it has difference for me when set, so problems seems just in get, value after point is lost somewhere

Hello sunnyque,
I am really quite sorry for the late response.
I have tried your code and found that it really showed 55.00000 as the output duty. At the same time, I tried to use logic analyzer, the data read as 55.46%, quite close to the setting duty.
We have done some improvement after looking at your issue. But we just forget to reply to you. Hope the lastest IDF has solved your problem.
Thanks

Thanks for your response, I have already switched to LED PWM that working well. Anyway it is good that issue has been fixed so closing issue


CS lime-203, Not Accounted Ether Transfers

Description
Multiple times the code checks whether the asset address is address zero. If so, it checks if the ether amount equals the provided amount argument msg.value == amount. In the case of token operations, it is not checked if Ether was sent in the same transaction. Ether might be sent accidentally in the transaction as the functions are payable. That Ether would not be accounted for.
Integrations Checklist

[ ]  Have any function signatures changed? If yes, outline below.
[ ]  Have any features changed or been added? If yes, outline below.
[ ]  Have any events changed or been added? If yes, outline below.
[ ]  Has all documentation been updated?

Changelog

Assigning msg.value to zero in the following contracts, where ETH transfers are not required:

CreditLine.sol
Pool.sol
Repayments.sol
SavingsAccount.sol

Event Signature Changes
Function Signature Changes
Features
Events

Codecov Report

Merging #289 (eed2147) into v1-alpha (f3e84c8) will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           v1-alpha     #289      +/-   ##
============================================
+ Coverage     78.49%   78.70%   +0.20%
============================================
  Files            16       16
  Lines          1679     1695      +16
  Branches        309      325      +16
============================================
+ Hits           1318     1334      +16
  Misses          361      361

Impacted Files
Coverage Δ

contracts/Pool/Extension.sol
84.05% <ø> (ø)

contracts/Pool/PoolFactory.sol
68.96% <ø> (ø)

contracts/SavingsAccount/SavingsAccountUtil.sol
86.04% <ø> (ø)

contracts/yield/NoYield.sol
78.57% <ø> (ø)

contracts/CreditLine/CreditLine.sol
84.28% <100.00%> (+0.27%)
:arrow_up:

contracts/Pool/Pool.sol
94.58% <100.00%> (+0.10%)
:arrow_up:

contracts/Pool/Repayments.sol
87.70% <100.00%> (+0.13%)
:arrow_up:

contracts/SavingsAccount/SavingsAccount.sol
67.17% <100.00%> (+0.50%)
:arrow_up:

Continue to review full report at Codecov.

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

Missed  this check in _repay function from creditLines

Missed this check in _repay function from creditLines

The check is present in repay function which calls the _repay function, so the same was not iterated in the internal function.
Let me know if it i required anyway.


Role PM on Death change

Change the layout for better reading

You can bold things using ** on either side of what you want to bold.
https://support.discordapp.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-

Leave some suggestions, or perhaps a template of what a rolePM could look like, if you have an idea ;)

Since no suggestions have been made in the mean time I'll close this until further notice.


[HyperShift] Gather must-gather from each Hosted Cluster

We need a must-gather from each Hosted Cluster after the churn workload finishes and before the Hosted Clusters are deleted to debug any problems identified through dashboards later. Collecting so many must-gathers on the jump host might not be possible - so we may need to send them over to some nfs share.

@morenod @dry923 @mukrishn

I think we can save on local, it will add just 300M (30 if we compress) to the folder of each HC
311M	test_must_gather
30M	test.tar.gz


[FEATURE] update of underlying kernel or 5.3.18 kernel is a bit old

Is your feature request related to a problem? Please describe.

Had some stability issues with my Intel i219-LM. It would constantly disconnect and reconnect. As my research showed (for instance http://rglinuxtech.com/?p=2632) this is due to a bug in the intel 3.2.6-k driver that is part of the kernel underpinning harvester 5.3.18.
lshw output:
*-network:1
description: Ethernet interface
product: Ethernet Connection (11) I219-LM
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: eno1
version: 00
serial: b0:22:7a:d7:b7:76
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.4-4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:123 memory:f1100000-f111ffff
Apparently this is fixed with a new driver in kernel 5.4+.
Describe the solution you'd like

For an appliance targeted at edge and bare metal good driver support is going to be essential. Hence a kernel that is not EOL since 2019 might be a nice to have.
Describe alternatives you've considered

You could of course compile a module with a higher version for e1000e and replace the existing one but the root is locked and many important packages are not included, so that is clearly not intended.

Hi @poldiderjungdrache
We're using OpenSUSE 15 SP3 underneath, and the kernel is constantly being updated with backported stability fixes. Can you help to report the bug on OpenSUSE kernel side? https://en.opensuse.org/openSUSE:Submitting_bug_reports Thanks.

@yasker Is there a way to update kernel manually or apply patches to the one that comes with Harvester? I am experiencing bug with Realtek network card that was fixed in newest kernel, but I am not sure if it's possible to install newest kernel / patch the kernel / install network card driver that comes from the vendor (since the file system appears to be read-only)?

Well the read only should be possible to remount as rw. But it just gets
more complicated from there as you don’t have a build environment as well.
So you need to start installing packages and dependencies etc.

So it might be doable but clearly not intended.
The kernel in use here comes from the openSUSE/SLES15. At least from what I
see at my company this is running mainly on either VMs or certified
hardware. As this kernel is EOL SUSE must be keeping this alive by down
porting fixes etc.
In case of bare metal installs the hardware is servers. The vendor ensures
that compatible components are installed and I am pretty sure the drivers
for server grade NICs etc. are up to date.
If you then venture off the beaten track and use desktop components, like
your Realtek card or my i219-LM, it gets a little bit dicy. Essentially
these desktop parts are not in use in servers and hence there is no
interest/demand for SUSE to actively downport the latest drivers to this
EOL kernel.
For me this was the end of the line. I can maybe fix this issue but the
next stone age driver is just hiding behind the corner. For me the answer
was I need a newer kernel and more flexibility to support my lab equipment,
hence I went for Proxmox instead.
Simon
On 22. Jun 2022, 02:20 +0200, Boris Berman @.***>,
wrote:
@yasker https://github.com/yasker Is there a way to update kernel
manually or apply patches to the one that comes with Harvester? I am
experiencing bug with Realtek network card that was fixed in newest kernel,
but I am not sure if it's possible to install newest kernel / patch the
kernel / install network card driver that comes from the vendor (since the
file system appears to be read-only)?
—
Reply to this email directly, view it on GitHub
https://github.com/harvester/harvester/issues/2327#issuecomment-1162485494,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOESO6MGK5EFBILZC2MO53DVQJL4BANCNFSM5XH7IBUQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Well the read only should be possible to remount as rw. But it just gets more complicated from there as you don’t have a build environment as well. So you need to start installing packages and dependencies etc.  So it might be doable but clearly not intended. The kernel in use here comes from the openSUSE/SLES15. At least from what I see at my company this is running mainly on either VMs or certified hardware. As this kernel is EOL SUSE must be keeping this alive by down porting fixes etc. In case of bare metal installs the hardware is servers. The vendor ensures that compatible components are installed and I am pretty sure the drivers for server grade NICs etc. are up to date. If you then venture off the beaten track and use desktop components, like your Realtek card or my i219-LM, it gets a little bit dicy. Essentially these desktop parts are not in use in servers and hence there is no interest/demand for SUSE to actively downport the latest drivers to this EOL kernel. For me this was the end of the line. I can maybe fix this issue but the next stone age driver is just hiding behind the corner. For me the answer was I need a newer kernel and more flexibility to support my lab equipment, hence I went for Proxmox instead. Simon On 22. Jun 2022, 02:20 +0200, Boris Berman @.>, wrote: @yasker https://github.com/yasker Is there a way to update kernel manually or apply patches to the one that comes with Harvester? I am experiencing bug with Realtek network card that was fixed in newest kernel, but I am not sure if it's possible to install newest kernel / patch the kernel / install network card driver that comes from the vendor (since the file system appears to be read-only)? — Reply to this email directly, view it on GitHub <#2327 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOESO6MGK5EFBILZC2MO53DVQJL4BANCNFSM5XH7IBUQ . You are receiving this because you were mentioned.Message ID: @.>

@poldiderjungdrache Thanks for the such a detailed answer! I really appreciate it, and will probably do the same as you, and move to Proxmox.
I wrote my reasons for moving to Proxmox for the people who wants to use Harvester in "home lab" or "small office":

It comes with newest kernel (and ability to update it manually) therefore hardware support out of the box is much better compared to Harvester
Ability to customize the OS and install packages (such as htop) and vendor drivers easily
More popular underlying OS (Debian), therefore it's really easy to find solution to any problem online
Easier to debug, manage and automate the infrastructure via the SSH
Harvester documentation is very limited at this moment (and it's literally non-existant compared to Proxmox)
Hardware requirements (8+ cpu cores and 16gb of ram) in Harvester is unbelievable high imo, and the CPU usage is very high even in "idle" mode without running actual VM's (I guess it's related to #1893 #1845), but nonetheless it's still very high and requires very powerful machine.

I know that I am not a target audience for this product, but my guess is that most of the things I've listed can is important to the "big fish" as well.
Thanks for the Harvester team for making such an interesting product.

Bump: The actual Harvester 1.3.0 release still use a 5.14.21 Kernel from around August 2021.
Currently my eval of harvester is quite crashy for my Dell AMD R715 Opteron Server.
Kernel Panics suddenly & read-only filesystem.
ESXI & XCPNG run stable compared to harvester.


Compilation error related to the 'fortran_wrapper'

What steps will reproduce the problem?
1. Download the latest version 0.4.1
2. Make -j
3.

What is the expected output? What do you see instead?
Compilation errors related to the 'fortran_wrapper'.

What version of the product are you using? On what operating system?
Version 0.4.1 on Mac OSX 10.9.2

Please provide any additional information below.

 Using gfortran version 4.2.3. ./configure and ./autogen.sh are working fine but make is failing. Please help.

Mac OSX compilation is now tested in TravisCI using gfortran that comes from brew install gcc.
In order to make it work I also needed automake 1.15.1.
Using mitlm-0.4.2 should solve the issue. Can you confirm?


Feature request: Porting "search for a tag"

Hello! I love this Workflow—it's a gamechanger for me and I use it several times a day.
I noticed that the original package maintained by chrisbro has a bst command that searches tags and opens the appropriate tag in bear. Just wanted to ask you if porting this functionality over is on your development roadmap.
Thanks again.

Hey there! Glad you are enjoying the workflow. It's game changer for me too, funny as that may sound since I've written most of the code 😄 It makes sense if you see what happened, though, because I added many of these features as requests from outside users like yourself.
Someone already beat you to this one, though. I implemented it in #21.
Documented here:
https://github.com/drgrib/alfred-bear#search-in-bear-app


Use rust-bitcoin's is_valid_for_network

Hi, this PR is for #1658. Thanks.

Codecov Report
Base: 65.00% // Head: 64.91% // Decreases project coverage by -0.10% :warning:

Coverage data is based on head (fc363b0) compared to base (d3f7d45).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1662      +/-   ##
==========================================
- Coverage   65.00%   64.91%   -0.10%
==========================================
  Files         129      129
  Lines       23310    23307       -3
==========================================
- Hits        15153    15130      -23
- Misses       8157     8177      +20

Impacted Files
Coverage Δ

modules/fedimint-wallet/src/lib.rs
77.33% <100.00%> (+0.02%)
:arrow_up:

gateway/ln-gateway/src/utils.rs
61.53% <0.00%> (-30.77%)
:arrow_down:

fedimint-server/src/consensus/mod.rs
82.45% <0.00%> (-0.99%)
:arrow_down:

fedimint-core/src/api.rs
80.76% <0.00%> (-0.61%)
:arrow_down:

fedimint-server/src/net/peers.rs
91.91% <0.00%> (-0.30%)
:arrow_down:

fedimint-server/src/lib.rs
77.23% <0.00%> (-0.28%)
:arrow_down:

fedimint-api/src/core.rs
92.02% <0.00%> (-0.23%)
:arrow_down:

modules/fedimint-ln/src/lib.rs
73.49% <0.00%> (-0.14%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


DataFrame.shift and Series.shift change type and contents of index

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 20.04

Modin version (modin.__version__):

0.7.3+110.g6637572

Python version:

Python 3.8.2

Code we can use to reproduce:

import numpy as np
import modin.pandas as pd

df1 = pd.DataFrame({"column": [11, 22, 33, 44, 55]}, index=[2, 3, 4, 5, 6])
print(df1)
print(df1.index)
print(df1.columns)

df2 = df1.shift(1)
print
print(df2)
print(df2.index)
print(df2.columns)

s1 = df1["column"]
s2 = s1.shift(1)
print(s2)
print(s2.index)

Describe the problem

Running code above shows that Pandas preserves contents of Int64Index([2, 3, 4, 5, 6], dtype='int64') while Modin changs it to RangeIndex(start=0, stop=5, step=1).
Source code / logs

Fixed in PR https://github.com/modin-project/modin/pull/1585


Inline JavaScript is not enabled. Is it set in your options

https://github.com/ant-design/ant-motion/issues/44

><EMAIL_ADDRESS>build /home/runner/work/antdp/antdp/examples/website
> kkt build

Creating an optimized production build...
Failed to compile.

// https://github.com/ant-design/ant-motion/issues/44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
      Error in /home/runner/work/antdp/antdp/node_modules/antd/lib/style/color/bezierEasing.less (line 110, column 0)

https://github.com/antdpro/antdp/runs/4709998226?check_suite_focus=true

import lessModules from '@kkt/less-modules';

export default (conf, env, options) => {
  conf = lessModules.withLoaderOptions({
    lessOptions: { javascriptEnabled: true },
  })(conf, env, options);

  conf.module.exprContextCritical = false;
  return conf;
};

阿斯顿


[BEAM-79] Sync gearpump-runner with master and upgrade to gearpump 0.8.4

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify.
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

LGTM and I'll wait for tests to pass.
$ git l --no-merges github/pr/3515 ^github/master ^github/gearpump-runner
* commit 725f547f5e487dd3e84d5d0f95c0fa3efa853279 (github/pr/3515)
| Author: manuzhang<EMAIL_ADDRESS>| Date:   Sat Jul 8 00:13:19 2017 +0800
|
|     Fix ParDoTest#testPipelineOptionsParameter
|
|  runners/gearpump/src/main/java/org/apache/beam/runners/gearpump/translators/io/GearpumpSource.java       | 12 ++----------
|  runners/gearpump/src/main/java/org/apache/beam/runners/gearpump/translators/utils/DoFnRunnerFactory.java |  5 +++--
|  runners/gearpump/src/main/java/org/apache/beam/runners/gearpump/translators/utils/TranslatorUtils.java   | 19 +++++++++++++++++++
|  3 files changed, 24 insertions(+), 12 deletions(-)
|
* commit<PHONE_NUMBER>8666da93c793a170810ddb42755704
  Author: manuzhang<EMAIL_ADDRESS>  Date:   Fri Jul 7 16:41:13 2017 +0800

      Upgrade to gearpump 0.8.4

   runners/gearpump/pom.xml | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)

Changes Unknown when pulling 725f547f5e487dd3e84d5d0f95c0fa3efa853279 on manuzhang:sync-master into ** on apache:gearpump-runner**.

@kennknowles Thanks, tests passed


Support custom breezewiki redirections

I host my own breezewiki in order to reduce load on breezewiki.com (and mostly out of habit now). I would love to redirect to my own host, but the set of mirrors is fixed. Would it be possible to allow a custom breezewiki redirect?
(I am currently just using a different extension for redirection.)

@DeCarabas Thanks for the idea! It's possible, but I'm hesitant to do so. I'd like to keep the extension as simple and out-of-the-box as possible. It'd also require giving the extension permission to access all websites, which I'd like to avoid for both user confidence, and avoiding increased scrutiny and review times from the Chrome web store. IMO too much for a feature a very small number of users would use.
I'd recommend continuing to use the separate redirection extension. If you'd like to share your mirror with the public though, I'd be happy to add it to the list of options.

Would also love this feature. Currently using Redirector but it has a higher priority it seems so it redirects all fandom links to my BreezeWiki instance. But I would like to redirect all wikis that Indie-Wiki-Buddy knows and only the unknown ones to BreezeWiki. E.g. it redirects Pokémon Wiki (Fandom) to my BreezeWiki instance rather than Bulbapedia.

It'd also require giving the extension permission to access all websites

You can ask for permissions for a specific website at runtime. I did this with my own add-on FreshRSS-Checker here, you can take a look: https://github.com/Brawl345/FreshRSS-Checker/blob/d0e4d03c7aab9a3016d5ecbd0e623a099da0e825/source/options.js#L93-L106
Manifest v3 is a bit buggy in that aspect though as I still needed to add "host_permissions": ["http://*/*", "https://*/*"] even though it's unused. Don't know if that changed.

@Brawl345 I'm re-visiting this issue and just saw your comment, sorry I missed it! I'll look into asking for permissions at runtime - I'd be happy to add custom BreezeWiki instances if I can get it to work with manifest v3 without having that broad host_permissions.

Got it working! Will be included in the next update. I'll update this issue once it's released.

@Brawl345 I was able to get it working in MV3 with "optional_host_permissions": ["https://*/*"]. Thanks again for sharing the chrome.permissions API.

Wohoo, thank you very much! :D

Works perfectly, thank you!


Feature/pagination

Any suggestions about what can be turned into a variable?

I'm also thinking there should be a prop that controls whether it should be hidden if only one page exists, but I'm not sure how to name it

How about showOnlyPage?

Sounds a bit weird. It sort of suggests that there are other things to show, but we only want to show "the page")

Sounds a little overly poetic for a prop name, but works too


AI Opponent added

This pull request enhances the tic-tac-toe game by adding new features and improving existing functionality. The most important changes include adding AI mode, restructuring the event listeners, and refactoring the game logic for better readability and maintainability.
New Features

Added AI mode to allow players to play against the computer. (js/script.js js/script.jsL18-L117)
Introduced a mode selection dropdown to switch between multiplayer and AI mode. (js/script.js js/script.jsL18-L117)

Event Listeners

Refactored event listeners for sound toggle and game reset into separate functions. (js/script.js js/script.jsL18-L117)

Game Logic

Refactored the handleCellClick function to incorporate AI moves and end game conditions. (js/script.js js/script.jsL18-L117)
Added makeMove, makeAIMove, findBestMove, and minimax functions to handle AI decision-making. (js/script.js js/script.jsL18-L117)

Code Cleanup

Improved readability by restructuring the checkWinner and isBoardFull functions. (js/script.js [1] [2]
Consolidated repeated code into helper functions and removed unnecessary comments. (js/script.js [1] [2]

Mention the issue it is resolving.

Mention the issue it is resolving.

Issue 26 (user can siwtch between multiplayer and ai mode)

please make this PR to development branch.


After merging latest commits, ui camera is zooming out a lot when opponent hits their first note.

Describe your problem here.
So I just merged in 36 commits from the repo into my mod collection build, but something is messed up lmao.
Is this a bug or have I done something by accident lol? Any help is appreciated!
Only occurs when the opponent side hits a note and then it gets stuck like this.
https://user-images.githubusercontent.com/25033383/145685482-cfe8c41b-ebe4-472d-810e-aa09f4bde6bf.mp4
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Minor visual changes mostly, like fonts, hardcoded one credit line, added difficulties (from when it wasn't possible without hardcode)

That's a problem with pc it happens basically random

Github probably broke it when you merged, not sure. I've seen this problem around the internet and it isn't exclusive to Psych Engine, might be a problem with Haxe aswell.


Webpack is very very slow even with cache plugins

Bug report

What is the current behavior?
Webpack is very very slow,
in webpack 3 recompile time (hot reload) was 1~3s now (webpack 4) its above 3min
If the current behavior is a bug, please provide the steps to reproduce.
its not a bug its an issue

What is the expected behavior?
balanced compile time and recompile time

Other relevant information:
webpack version:  4.15.1
Node.js version:  8.10.0
Operating System: Windows 10
Additional tools: copy-webpack-plugin, webpack-dev-server
i have searched for this issue online and many of issues said use plugins like:
hard-source-webpack-plugin
mini-css-extract-plugin
but non of them was helpful and the compile and recompile time are very slow

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

@sokra i dont know what is the problem but i know that webpack 4 compile time is very slow.
How i got into this issue?
i used an package that require latest React version and i upgraded react and webpack and when i run the command that runs webpack, i waited for at least 5mins for compile and when recompile (hot reload) (webpack-dev-server) its take a lot of time, then i used the plugins above and the compile time decreased to 3min

@jamalabo1 please create minimum reproducible test repo, without this we can't help

i dont understand what reproduce mean!
like you want to see what i have done?
what is my source code?

@jamalabo1 repo with you config where we can reproduce slow build

One thing I noticed while trying a lot of different combinations of happypack/hard-source-webpack-plugin/cache-loader/thread-loader in order to try to improve my rebuild times was that all non-js loaders appear to get called with all matching files on every rebuild, even if those files were not changed.
This is for example what speed-measure-webpack-plugin reports on initial build and rebuild after changing 1 js file:
-- Initial Build
[babel-loader] took 2 mins, 1.09 secs
  module count = 1367
[cache-loader] and [graphql-tag/loader] took 1 min, 2.087 secs
  module count = 256

-- Incremental Rebuild
[cache-loader] and [graphql-tag/loader] took 4.54 secs
  module count = 256
[babel-loader] took 2.65 secs
  module count = 1

On the incremental rebuild it's hitting babel-loader with the one changed file, but also hitting the other loaders (which I've reduced to just one for testing purposes) with all matching files (*.gql in this case). Is this the default behavior, or is this due to the loader implementation?
If this data is correct, the additional loader hits seem to be the main culprit for my (and probably other people's) incremental rebuild time issues.

I'll see if I can put together a smaller repro for that, but if I recall correctly this was also happening for file-loader, url-loader, etc.

i have updated webpack to version: 4.16.5
and webpack-dev-server to : 3.1.5
i dont know if this solves the problem or not, but the hot reload and compile time decreased 1~2 min

I have a feeling that copy-webpack-plugin is causing the slowness.

Same issue with me, any solution for this case? @jamalabo1


[SPARK-9211][SQL] normalize line separators before generating MD5 hash

The golden answer file names for the existing Hive comparison tests were generated using a MD5 hash of the query text which uses Unix-style line separator characters \n (LF).
This PR ensures that all occurrences of the Windows-style line separator \r\n (CR) are replaced with \n (LF) before generating the MD5 hash to produce an identical MD5 hash for golden answer file names generated on Windows.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Merged build triggered.

Merged build started.

Test build #38104 has started for   PR 7563 at commit d541db0.

Test build #38104 has finished for   PR 7563 at commit d541db0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

test this please

Merged build triggered.

Merged build started.

Test build #39906 has started for   PR 7563 at commit d541db0.

Test build #39906 has finished for   PR 7563 at commit d541db0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Thanks, merging to master and 1.5.


nvm use should install the required .nvmrc specified version

Hi,
Great tool, thanks for it!
I have noticed that in order to nvm use you first have to nvm install <version> which defeats the purpose of the tool in CI scenarios. As an azure pipeline or github actions user, I don't care what node version should I use because it's already specified inside the project source files (.nvmrc).
So, having to explicitly nvm install something is almost like installing node directly. Where is the gain in my use case? nvm use should install the required node version if it's missing.
Regards

Since nvm install also uses something, I don't think it defeats the purpose - in CI, you use nvm install, not nvm use.
In other words, nvm install is already exactly what you want.

It's important to have a pure command that doesn't download things, require an internet connection, etc, and that's what nvm use is.

I would trade purity for usefulness. Since nvm install requires a specific version that is specified in .nvmrc it would require me to extract such value and feed it into nvm install. Is there a way to nvm install that automatically does this for me?

I’m not sure what you mean - nvm install and nvm use`, without a version, both read from nvmrc. Both, with a version, end up using it if installed, but install will install it if needed.
In other words, however you’re calling nvm use, just replace “use” with “install” and you get exactly what you’re asking for.

Sorry this was a misunderstanding from my side. I looked at the documentation at https://github.com/nvm-sh/nvm and I didn't clearly see that nvm install could be used without an additional version parameter.
Thanks for clarifying that.
Maybe this is kind of a bug after all in the sense that the documentation could be improved to clarify that feature.
Thanks and sorry for the confusion

I have created a PR with the suggested changes https://github.com/nvm-sh/nvm/pull/2242


0.9.3 configure script not working as expected

The problem is related to autogen and configure scripts of 0.9.3

Configure does not disable use of qr-code when qrencode or libzxing library are not found.
The config option --with-qrcode=no does not work

Both problems lead to compilation errors, if libzxing and/or libqrencode headers and libraries are not installed

Fixed with 0.11.2


changed abstract document visibility to protected

Private properties could not be seen when extended.
FOSUserBundle also uses protected properties for their entities which are also ment to overwrite.
User can put private properties in their documents but we must keep them only protected in abstract documents.

is it not solved with https://github.com/ongr-io/ElasticsearchBundle/pull/112?

It's php specific related. Mapping is ok, problem is which property document is using for storing. When document extends abstract document with private properties and parent document has its own properties with same name's they are not overwritting those who were in abstract. If you var_dump() you could see that you will have duplicated properties. One's will be null's others will not (depends on setters).

The problem is about this situation:
abstract class A {
        public $pub = 'A public';
        protected $prot = 'A protected';
        private $priv = 'A private';
        public function __get($name) { return $this->$name; }
}

class B extends A {
        public $pub = 'B public';
        protected $prot = 'B protected';
        private $priv = 'B private';

        public function getP() { return $this->priv; }
}

$b = new B();
echo "*{$b->getP()}* *{$b->priv}*\n";
var_dump($b);

Results:
*B private* *A private*
class B#1 (4) {
  public $pub =>
  string(8) "B public"
  protected $prot =>
  string(11) "B protected"
  private $priv =>
  string(9) "B private"
  private $priv =>
  string(9) "A private"
}


Can sam-hq perform breakpoint training: continue training on the already trained sam-hq, or continue training on the official sam-hq weights

Can sam-hq perform breakpoint training: continue training on the already trained sam-hq, or continue training on the official sam-hq weights？
Modifying the --start_epoch parameter will not allow continued training on the existing epoch_*.pth.
How to perform breakpoint training?

It seems that currently the restore restore_model logic is available only on eval:
https://github.com/SysCV/sam-hq/blob/322488826bda616798901c6280d13a9a90444ae7/train/train.py#L361-L373

@lkeab Can you share the sam-hq only network checkpoint so that we could eventually restore it for the train?


add a yarn check-links command to check the homepage url. close #453

Deploy preview for landscape ready!
Built with commit c5c336e3a23483a49c62ad709adb48b6ef68f340
https://deploy-preview-561--landscape.netlify.com


command not found: tigmsg

It seems like get-prj-dir is trying to print something, but can't because there is no function named tigmsg:
util/zs::get-prj-dir:30: command not found: tigmsg

Fixed, thanks!


fix refresh button

Hi Maty
Did a quick test and noticed the refresh button doesn't work.
So here is a quick fix for that

Tks man :)


Autolinking does not work with React Native 0.69.0

Issue
Due to change in react-native cli, https://github.com/react-native-community/cli/pull/1537
Autolinking is no longer working with React Native 0.69
Expected Behavior
React Native autolinking to work with react-native-blob-util
Repro Steps:
Create a new React Native Project version 0.69
install react-native-blob-util
run pod install in ios directory
Notice that RNNotifications is not included in the Podfile.lock

please provide the version of installed library and RN project.
RN: 0.69.0
react-native-blob-util: 0.16.0

a sample code snippet/repository is very helpful to spotting the problem.
Naturalclar/react-native-notifications-repro

issues which have been tagged as 'needs feedback', will be closed after 2 weeks if receive no feedbacks.

issues lack of detailed information will be closed without any feedback

Same as: https://github.com/RonRadtke/react-native-blob-util/issues/165


Hash has arbitrary seed-independent multicollisions, is not DoS resistant

There are probably other issues as well, but this line is particularly problematic:
https://github.com/ogxd/gxhash/blob/8bee61e33d2feb78dc076413d10d66929de2face/src/gxhash/platform/x86.rs#L86
This is trivial to invert and allows you to create arbitrary seed-independent multicollisions. I would suggest not advertising DoS resistance on this hash at all.
// Not an endorsement of aes_crypto, just the first crate
// I could find that allows cross-platform single-round encryption.
use aes_crypto::AesBlock;

fn main() {
    let zero_key = AesBlock::zero();

    let mut s0 = [0u8; 192];
    let mut s1 = [0u8; 192];

    s0[64] = 100;
    s1[64] = 42;

    let v0 = AesBlock::new(s0[64..64 + 16].try_into().unwrap());
    v0.enc(zero_key).store_to(&mut s0[64 + 32..]);

    let v0 = AesBlock::new(s1[64..64 + 16].try_into().unwrap());
    v0.enc(zero_key).store_to(&mut s1[64 + 32..]);

    // Different strings.
    assert!(s0 != s1);

    // Collide regardless of seed.
    assert!(gxhash::gxhash128(&s0, 0) == gxhash::gxhash128(&s1, 0));
    assert!(gxhash::gxhash128(&s0, 0xdeadbeef) == gxhash::gxhash128(&s1, 0xdeadbeef));
}

Thanks a lot for this analysis @orlp! Let's see if we can improve DoS resistance without compromising performance. I don't know if it can be made 100% proof but I'm sure it can be improved (maybe using the seed in the main construction).
Btw DoS resistance is not advertised (unless I missed something?). See in readme:

This does not mean however that it is completely DOS resistant. This has to be analyzed further.

Btw DoS resistance is not advertised

I disagree. The way it is worded it sounds like it has some DoS resistance when there is none at all.

Let's see first if we can address this 😄 Feel free to submit a PR if you want.
After that, depending on the results, we can reword the DoS resistance section more accurately.

Did not has much time to work on this, so in the meantime I've clarified the DOS resistance part in the readme https://github.com/ogxd/gxhash?tab=readme-ov-file#security

There's probably a lot more problems with DoS resistance here. The most obvious one, IMO, is
https://github.com/ogxd/gxhash/blob/main/src/hasher.rs#L113-L117
compress_all is completely independent from the seed, so a collision in compress_all affects all seeds.

Mixing the seed at the start instead of the end should significantly improve DoS resistance. I'm currently (slowly) exploring this path.


Using URL.init(fileURLWithPath:isDirectory:)

Using init(fileURLWithPath:isDirectory:), which allows you to explicitly
specify whether the returned NSURL object represents a file or directory to avoid file system examination.
https://developer.apple.com/documentation/foundation/nsurl/1410301-init
Quote from the documentation:
"If path does not end with a slash, init(fileURLWithPath:) examines the file system to determine if path is a file or a directory."

Thank you for open sourcing this amazing library!


Add image dependency option

Fixes #48.
Breaks #50!
@lezsakdomi For some reason, now that I've added the -d option, make README.md now only produces the first three lines of the help message: README.md.broken.txt
When running make, I get the following warning:
m4:README.md.m4:16: Warning: excess arguments to builtin `m4_patsubst' ignored

All right, I've found the problem. I'll create a separate issue to track it.


crack code

                              !--begin::Form-- >

                                            <
                                            form method = "post"
                                            action = "{{ route('orders.update', Crypt::encrypt($data->id)) }}"
                                            accept - charset = "UTF-8"
                                            class = "kt-form"
                                            role = "form"
                                            enctype = "multipart/form-data"
                                            novalidate = "novalidate"
                                            id = "form_lead" >
                                            @method('PATCH') @csrf

                                            <
                                            div class = "kt-portlet__body" >
                                            <
                                            div class = "kt-form__section kt-form__section--first" >
                                            <
                                            div class = "row" >
                                            <
                                            div class = "form-group col-lg-8" >
                                            <
                                            table class = "table table-striped- table-bordered table-hover table-checkable"
                                            id = "kt_table_1" >
                                            <
                                            tr >
                                            <
                                            th > Name < /th> <
                                            td >
                                            <
                                            input type = "text"
                                            name = "name"
                                            class = "form-control"
                                            value = "{{ $data->name }}" / >
                                            <
                                            /td> <
                                            /tr>
                                            @php

same problem and one more problem ,that if i use this formatter then it convert @ into  and output mashed code


Layer panel: Remove scrollbar when the layer panel is max height

Bug Description
Expanding the layer panel to its maximum height makes a scrollbar appear for no reason.
Expected Behaviour
The layer panel should only show a scrollbar if there are too many layers to display on the screen.
Steps to Reproduce
Expand the layer panel all the way up.
Screenshots

Additional Context

Plugin Version: 1.14.0-alpha
WordPress Version: 5.8.1
Operating System: MacOSX Sierra
Browser: Chrome

This issue is due to a maxHeight override prop being sent to the resize. We are currently sending the MAX_HEIGHT_DEFAULT  as that override which has a value of 999999999 Do we want to set the max height to 70% of the inspector (like other default values) or should we also the layers panel to expand all the way to the top aka the full height of the inspector?
This:

Versus:

Yeah! So the idea is that the maximum height should fill the space just under the design/document header bar.

Verified in QA


[ci] disallow failures in fmt and clippy

Reviewers interpret the travis "green light" as "ok to merge" instead of "check if the allowed failures are green, and then merge". The proof is that basically every pull-request since rustfmt was enabled has broken the formatting. This pollutes unrelated pull-requests with formatting changes.
The downside of this is that when clippy and rustfmt fail to build, the PRs will appear "red". Nothing more, nothing less.
In particular, I want to emphasize that red pull-requests can still be merged. Just check that everything is green, and that the reason, e.g., formatting is broken is because rustfmt-nigthly doesn't build and not because the submitter forgot to run it.

@alexcrichton What do you think about this?
I guess I'm OK with this, since I agree that there is otherwise little point of having these things in CI if we aren't going to actually look at them. If this breaks the build too frequently, then I'd probably suggest just removing them and say that we gave it the good ol' college try.

I'd personally still be wary of doing this. I fear that this will increase the threshold for contribution relatively significantly. Clippy is likely to break multiple times a week, meaning the CI would probably rarely be green. Additionally rustfmt is still (afaik) somewhat rapidly change, so it as well is likely to break throughout each week.
I agree that I don't personally see much use in running CI builders that are allowed to fail, but we've got the capacity as they're fast enough so I wouldn't block them.
All in all I would prefer to not merge this until we get to the point where we could leave the repo alone for like a week, have a new contributor send a PR, and the CI is still green.

I've moved the fmt and clippy fixes to a different PR and left here the changes required to make the clippy and fmt builds always fail.
On a C++ project we do the following with clang-tidy: we have two builds, one that is allowed to fail, and one that is not. Then we have two .clang-tidy files that specify which lints to use. The build that is allowed to fail uses all lints except those that we have explicitly disabled, while the build that is not allowed to fail only contains explicitly enabled lints.
We could do the same for clippy. That is have an allow_fail build that checks everything except the things we explicitly ignore and that we try to keep clean on a best effort basis, and one that cannot fail and checks for things that we want to explicitly enforce, like documentation on public items. We would still have the problem that clippy will sometimes fail to build, but at least that problem will be solved "soon". The problem that clippy lints can change will always exist: we will always be adding lints, and fixing bugs in old lints. I don't think that is going to stop in the forseable future.
@oli-obk Is it possible to enable/disable clippy lints globally in the clippy.toml file?

@gnzlbg clippy.toml is just for configuring lints for now, not allow/denying them. You'd need to do that with attributes. We have an open issue about it.

The issue is: https://github.com/rust-lang-nursery/rust-clippy/issues/1313

@gnzlbg that could work yeah for the actual lints themselves but I don't think that'd solve the "rustdoc is changing"  problem or the "sometimes clippy just doesn't build"  problem?

@alexcrichton yes for that we need to wait till clippy-nightly and rustfmt-nightly are distributed with nightly rust via rustup (that is, so that we don't have to build them to use them).

Indeed yeah, at that point I'd be much more comfortable about making this change!

Blocked by https://github.com/rust-lang-nursery/rustup.rs/issues/1285 , closed until that's fixed.


Only throttle if parameter meets condition

Hi there, I was wondering if there was an option to throttle only if a param meets a certain condition.
Lets say for example I have Worker A:
class AWorker
include Sidekiq::Worker
def perform(some_param)
end
end

Now I only want to throttle the worker if some_param == "aaa" but not if some_param == anything else.
Is that a supported option the gem can handle? If so, how?
Cheers,
Dan

it's not "supported" directly, but you can "workaround" that by:
class MyWorker
  include Sidekiq::Worker
  include Sidekiq::Throttled::Worker

  sidekiq_throttle(:concurrency => {
    # technically it's till throttling but using next to *more than enough* limit
    :limit => -> (user_id) { 1 == user_id ? 123_456_789 : 1_000 }
  })
end

We can improve API of Sidekiq::Throttled so that will not throttle if limit block returns nil. But I find that API pretty bad. IMHO in your case the best options would be:
class MyWorker
  include Sidekiq::Worker

  def perform(some_param)
    # ...
  end
end

class MyWorker::Throttled < MyWorker
  include Sidekiq::Throttled::Worker

  sidekiq_throttle :concurrency => { :limit => 1_000 }
end

"We can improve API of Sidekiq::Throttled so that will not throttle if limit block returns nil. But I find that API pretty bad"
I actually like that approach. Why not go that route? The second option requires the users of the gem to create "ugly workarounds" just to support something that should be quite basic in terms of throttling.
not throttling if the deciding param is nil in my opinion is the cleanest solution.

I did not said we won't go that way. I just said that I find it bad. I find dynamic throttling support we have bad as well, because it adds unneeded complexity. Any dynamically changed dependency in job's workflow makes it harder to debug. Proposed way of having separate class makes it simple and easy to figure out which part exactly fails.

In any case, PRs are welcome. :D

@erated, @dbenjamin57 see #31 (gonna merge and release as 0.7.1 this week)


Upgrade tally to latest

This should help reduce the number of allocations associated with creating dynamic scopes.

Coverage decreased (-0.05%) to 67.389% when pulling 14bfdb72290d4aacaaf6af92148663ffafe05c46 on andrewjdawson2016:UpgradeTally into 031bb6b5065d6ea2393219e9719557e2e7663283 on uber:master.


feat(binding/python): Add new API to convert between AsyncOperator and Operator

Related to #3476

Add new blocking API like https://github.com/apache/incubator-opendal/blob/main/bindings/java/src/operator.rs#L288-L296. This is allow people share a same rust core operator between AsyncOperator and Operator to avoid some file lock issue in file based database.
Change the pytest fixture scope from function to session.

Signed-off-by: Manjusaka<EMAIL_ADDRESS>

cc @messense for another review


Add --default-indentation option to use other style of indentation su…

…ch as 2 spaces. Useful for editor plugin to make it follow indentation of current document.
My use case is that I want to preserve the indentation style of an opened file (which is mostly using tabs originally), during some auto format tidying, such as when typing '}' will auto format the block by default.  I'm using vscode-php-cs-fixer, and I preferred --default-indentation to be passed by that plugin and give the opened file's current indentation.
Creating .php_cs config file, which could force the indentation to a single style, will not work either. It is because some newer files are changed to use 4 spaces indentation.  Letting an older file partially indentation with spaces & some with tabs seems awful.  Follow current file's major indentation is preferred in this project.

Update: changed without static method, as new pull request:
https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3847


closes #198: bump urllib3 version, remove jinja2

@milanaleksic Do you have any idea why this seems to have worked for you and that it didn't work for me?

I think you have been fixing it in soda-sql/requirements.txt, and I fixed it in .github/scripts/requirements.txt. If you need to change github CI Actions workflows then you need to create separate venv for .github/scripts/requirements.txt because those requirements are kept separate from the main application's requirements


How to navigate to a View?

Hi,
I am trying to navigate to a new View/Page in a Frame.
Therefore, Frame seems to have, for instance, the following method:
// Frame
pub fn Navigate3<'a>(
    &self,
    sourcepagetype: impl IntoParam<'a, TypeName>
) -> Result<bool>

Unfortunately, I fail to find a way to get a suitable argument using an existing View (extending Windows::UI::Xaml::Controls::Page)

This requires type-loading support for Xaml that is not currently provided by the Windows crate. There's an issue on the Xaml team to support Rust, but it doesn't look like they have any immediate plans to invest in this area.
https://github.com/microsoft/microsoft-ui-xaml/issues/2488


Fix UserCreationForm model from User to UserModel

Hi coders,
The old model = User line, don't work if I specified AUTH_USER_MODEL in the project settings, therefore it should get the User model from the get_user_model function instead, so if I changed the User model it could grab it and work exactly as it should work.
If there is any advice, edit or good practice thing to do kindly let me know.

This is a documented behavior.