text:
Extending BaseQuickAdapter in Inner Class使用内部类出错

public class CategoriesDialog extends AppCompatDialog{
    //other codes
    class ItemsAdapter extends BaseQuickAdapter<Category, ItemsViewHolder> {
        public ItemsAdapter() {
            super(R.layout.dialog_categories_itemsrecycler, null);
        }
}

Error thrown out:
java.lang.NoSuchMethodException:  [class com.p8499.lang.CategoriesDialog$ItemsAdapter, class android.view.View]

2.6.1 的时候好的, 2.8.9升级出错

看了源代码,BaseQuickAdapter.java line:861
    private K createGenericKInstance(Class z, View view) {
        try {
            Constructor constructor;
            String buffer = Modifier.toString(z.getModifiers());
            String className = z.getName();
            // inner and unstatic class
            if (className.contains("$") && !buffer.contains("static")) {
                constructor = z.getDeclaredConstructor(getClass(), View.class); //Exception was thrown here
                return (K) constructor.newInstance(this, view);
            } else {
                constructor = z.getDeclaredConstructor(View.class);
                return (K) constructor.newInstance(view);
            }
        } catch (NoSuchMethodException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (InvocationTargetException e) {
            e.printStackTrace();
        }
        return null;
    }

收到，我看看

@QtyearLin 麻烦跟进一下

@CymChad  收到

@p8499  adapter单独写个类

@QtyearLin 其原因是？

单独写了个类还发生这种情况是什么原因。只要签名就有这种问题，不签名没有

单独写了个类还发生这种情况是什么原因。只要签名就有这种问题，不签名没有。
错误日志如下
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Class.getModifiers()' on a null object reference
at com.chad.library.adapter.base.BaseQuickAdapter.createGenericKInstance(BaseQuickAdapter.java:857)

我估计是新版本BRVAH用了反射，而反射的类名不支持内部类。
是否有考虑后续版本支持内部类？

这个问题现在还有吗,没使用内部类,我这边出现了,也是最新的包,如果列表太多了,出现这个异常会卡顿
java.lang.NoSuchMethodException:  [class android.view.View]
at java.lang.Class.getConstructor(Class.java:528)
at java.lang.Class.getDeclaredConstructor(Class.java:507)
at com.mvvm.lux.framework.manager.recycler.BaseQuickAdapter.createGenericKInstance(BaseQuickAdapter.java:1034)
at com.mvvm.lux.framework.manager.recycler.BaseQuickAdapter.createBaseViewHolder(BaseQuickAdapter.java:1012)
at com.mvvm.lux.framework.manager.recycler.BaseQuickAdapter.createBaseViewHolder(BaseQuickAdapter.java:989)
at com.mvvm.lux.framework.manager.recycler.BaseQuickAdapter.onCreateDefViewHolder(BaseQuickAdapter.java:985)
at com.mvvm.lux.framework.manager.recycler.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:762)
at com.mvvm.lux.framework.manager.recycler.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:70)

这个类库使用反射创建holder，adapter需要是顶级类或是静态内部类，而且需要泛型信息

也不推荐使用内部类adpater，内部类会持有外围类的引用，容易导致内存泄漏

@luxiao0314 重新开个issue

authors: CymChad FrankKwok QtyearLin luciferChou luxiao0314 p8499


text:
🛑 Servicio de impuestos interno is down

In 7503664, Servicio de impuestos interno (https://homer.sii.cl) was down:

HTTP code: 403
Response time: 365 ms

Resolved: Servicio de impuestos interno is back up in 78c2942 after 21 minutes.

source: gharchive/issue

repo: CymaSuite/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
Strings are corrupted when multiple Utf8StringWriter<ArrayBufferWriter> are used in method declaration

If there's more than one Utf8StringWriter<ArrayBufferWriter<byte>> argument in method declaration, the string data gets corrupted.
Example method declaration:
private static void ProcessData(
    ref Utf8StringWriter<ArrayBufferWriter<byte>> label,
    ref Utf8StringWriter<ArrayBufferWriter<byte>> data
)
{ ... }

Looking at the implementation, this happens because whenever Utf8StringWriter<ArrayBufferWriter> is used as a function argument, its constructor calls ArrayBufferWriterPool.GetThreadStaticInstance(), which resets the state of ArrayBufferWriter. So the first argument get processed, then, the second Utf8StringWriter gets created for the second argument, resetting the ArrayBufferWriter state, and now, the first Utf8StringWriter is in a corrupted state - it's data is being overwritten by the second Utf8StringWriter.

Indeed.
ThreadStatic used to do well with the Serializer's static method, but it's a design that doesn't fit in Utf8StringWriter.
I would like to fix this.

This is an early design flaw, but we didn't really expect external users to use this class.
We need to change the design to make Dispose mandatory (I believe Dispose itself is already supported, but it's not even being used within the library!).
At this point, the extent of the changes might be too significant and difficult to implement.

authors: ZimM-LostPolygon neuecc


text:
requests to simpleurllib3 for speed

Make sure to update setup.py for simpleurllib3.

See new PR

source: gharchive/pull-request


text:
Interchain Refactor

Currently pfpk only connects a profile (with a unique name) with a single public key. However, due to the nature of derivation paths, a single private key is used to create an infinite number of public keys which correspond with different addresses on one or many chains. Some chains default to different derivation paths from other chains (e.g. Terra uses coin type 330 whereas most Cosmos chains, including the old Terra Classic, use 118), so even if a user has a single address on each chain, they are likely using many public keys at once to represent themselves across the Interchain. Thus, to create a profile system that can function across the entire Interchain, a single profile must be able to register multiple public keys. This requires a refactoring of the underlying storage system from the simple KV store mechanism we've been using into a more sophisticated relational (SQL) database store that more naturally fits the structure of data we need to use.
Something to consider: the original pfpk design intended to restrict a profile to a single private key, essentially requiring users to stand by one wallet identity if they want to preserve a consistent public-facing name, which as a side effect makes it very clear when someone is operating under multiple addresses. However, if we want to support the true nature of the Interchain, it seems we have to forego this constraint and allow multiple addresses to be grouped under one profile. To prevent confusion when resolving names, I think this new design should still require choosing which public key to use for each chain. That way the user has to choose which address will be used when their name is resolved per-chain; otherwise there would be ambiguity about which public key to choose. In this design, a public key chain preference must be set in order to resolve a name on the given chain. Initially I thought to allow choosing a default public key that was used when no preference was set for a chain, but then I realized that this may lead to people using addresses that someone hasn't added to their wallet—although this would be safe as the private key has access to all potential derivable public keys, it would likely be very confusing for all parties. An explicit chain opt-in leads to far better UX.
DB Schema:
interactive link: https://dbdiagram.io/d/pfpk-DB-65d952aa5cd0412774b23a8f

Thanks for the detailed write-up. I also really appreciate the article on derivation paths.
After reading up, it seems like, in many ways, it's a good thing we encountered this problem now. It's somehow inevitable, on some timescale, that a single user would have multiple public keys across multiple chains. So the question becomes how to refactor to deal with that situation.
My honest review for now is that the relational schema you've come up with makes absolutely sense, and we won't know if it works until we try it. It seems unlikely that we'll be able to dream up every usecase a priori, so we may just need to pick a schema that fits our immediate usecase and be ready to migrate as needed.
To that end, I have a few questions - apologies if I'm misunderstanding something here, and perhaps an opportunity for me to learn more:

You say that the user needs to choose which public key to use for each chain. That makes sense. But how do we 'group public addresses together'? Since we, presumably, can't derive one public key from another (without knowing the private key), we must require the user to attest to ownership of one public key or another. Is that right? If so, how is that accomplished?
Would we ever support a system that allows for multiple private keys? For example, an Ethereum wallet and a Cosmos wallet that is in fact the same user? If so, how does that complicate the design, if at all?

Thanks for the detailed write-up. I also really appreciate the article on derivation paths.
After reading up, it seems like, in many ways, it's a good thing we encountered this problem now. It's somehow inevitable, on some timescale, that a single user would have multiple public keys across multiple chains. So the question becomes how to refactor to deal with that situation.
My honest review for now is that the relational schema you've come up with makes absolutely sense, and we won't know if it works until we try it. It seems unlikely that we'll be able to dream up every usecase a priori, so we may just need to pick a schema that fits our immediate usecase and be ready to migrate as needed.
To that end, I have a few questions - apologies if I'm misunderstanding something here, and perhaps an opportunity for me to learn more:

You say that the user needs to choose which public key to use for each chain. That makes sense. But how do we 'group public addresses together'? Since we, presumably, can't derive one public key from another (without knowing the private key), we must require the user to attest to ownership of one public key or another. Is that right? If so, how is that accomplished?
Would we ever support a system that allows for multiple private keys? For example, an Ethereum wallet and a Cosmos wallet that is in fact the same user? If so, how does that complicate the design, if at all?

totally agree, this iteration doesn't optimize too much for the future and expands our current design by one dimension so-to-speak to allow for everything we need right now.
for your questions:

that is why there are 3 tables related in the ways they are. when a public key first interacts with pfpk, it creates a new profile for them. in order to recognize a new public key, the new public key must sign a message containing the original public key, allowing it to claim it, and then the original public key signs a message containing the new public key's allowance+signature, and sends it to pfpk. if that new public key already has a profile, it's removed from the profile, and then attached to the one claiming it. that allowance also contains in it the chains it will be used for, so the profile adds/updates the chain preference for each specified chain to that public key. so basically, new public key signs allowance, and profile public key submits the signed allowance, and both are verified by pfpk.
yes. pfpk has no idea what a private key is, so this system already allows for that. currently it only supports secp2561k keypairs (used by the cosmos), but that's only because that's what the signature verification function is designed to validate. it can easily be expanded to support any kind of key signature. aside from that, since it can group public keys together, it already supports any number of private keys under a single profile. in fact there's no way we can avoid that.

Memorializing the migration script here since I'm not committing it to git history:
const util = require('util')
const exec = util.promisify(require('child_process').exec)
const fs = require('fs')
const retry = require('async-await-retry')
const { fromHex } = require('@cosmjs/encoding')
const CryptoJS = require('crypto-js')

const getProfileKey = (publicKey) => `profile:${publicKey}`

// https://github.com/chainapsis/keplr-wallet/blob/088dc701ce14df77a1ee22b7e39c651e50879d9f/packages/crypto/src/key.ts#L56-L63
const secp256k1PublicKeyToBech32HexHash = (hexPublicKey) => {
  // https://github.com/cosmos/cosmos-sdk/blob/e09516f4795c637ab12b30bf732ce5d86da78424/crypto/keys/secp256k1/secp256k1.go#L152-L162
  // Cosmos SDK generates address data using RIPEMD160(SHA256(pubkey)).
  const sha256Hash = CryptoJS.SHA256(
    // The `create` function is incorrectly typed to only take a `number[]`
    // type. It can also handle a `Uint8Array` type. Simply converting using
    // `Array.from` does not work because the `WordArray.create` function
    // recognizes that the bytes need to be combined into words when a
    // `Uint8Array` is passed. Conversely, it treats elements in a `number[]`
    // type as individual words (i.e. 4-byte numbers) and does not properly
    // combine them.
    CryptoJS.lib.WordArray.create(fromHex(hexPublicKey))
  )
  const ripemd160Hash = CryptoJS.RIPEMD160(sha256Hash)

  // Output Bech32 data.
  const bech32Hash = ripemd160Hash.toString(CryptoJS.enc.Hex)
  return bech32Hash
}

const CHAIN_IDS = [
  'juno-1',
  'uni-6',
  'stargaze-1',
  'elgafar-1',
  'neutron-1',
  'osmosis-1',
  'osmo-test-5',
  'migaloo-1',
  'narwhal-2',
  'Oraichain',
]

const timestamp = Date.now()
const kvJsonFile = `kv.${timestamp}.json`
const migrateSqlFile = `migrate.${timestamp}.sql`

let done = 0
const failed = []

const migratePublicKey = async (publicKey) => {
  try {
    const bech32Hash = secp256k1PublicKeyToBech32HexHash(publicKey)
    // Get profile.
    const profile = await retry(
      async () => {
        const p = await (
          await fetch('https://pfpk.daodao.zone/' + publicKey)
        ).json()
        // Validate profile.
        if (!p || typeof p.nonce !== 'number') {
          throw new Error('failed to load')
        }
        return p
      },
      {
        interval: 1000,
        retries: 5,
      }
    )

    const nonce = profile.nonce
    const name = profile.name ? `'${profile.name}'` : 'null'
    const nftChainId = profile.nft?.chainId ? `'${profile.nft.chainId}'` : null
    const nftCollectionAddress = profile.nft?.collectionAddress
      ? `'${profile.nft.collectionAddress}'`
      : null
    const nftTokenId = profile.nft?.tokenId ? `'${profile.nft.tokenId}'` : null

    // Create SQL commands.
    const commands = [
      `INSERT INTO profiles (nonce, name, nftChainId, nftCollectionAddress, nftTokenId) VALUES (${nonce}, ${name}, ${nftChainId}, ${nftCollectionAddress}, ${nftTokenId});`,
      `INSERT INTO profile_public_keys (profileId, publicKey, bech32Hash) VALUES ((SELECT MAX(id) FROM profiles), '${publicKey}', '${bech32Hash}');`,
      ...CHAIN_IDS.map(
        (chainId) =>
          `INSERT INTO profile_public_key_chain_preferences (profileId, profilePublicKeyId, chainId) VALUES ((SELECT MAX(id) FROM profiles),(SELECT MAX(id) FROM profile_public_keys), '${chainId}');`
      ),
    ]

    // Add to SQL file.
    fs.appendFileSync(
      migrateSqlFile,
      `-- ${publicKey} (${name})\n${commands.join('\n')}\n\n`,
      'utf8'
    )
  } catch (err) {
    console.error(err)
    failed.push(publicKey)
  }

  done += 1
}

const migrate = async () => {
  // Download profiles.
  console.log('Downloading profiles...')
  await exec(
    `npx wrangler kv:key list --binding PROFILES --prefix "${getProfileKey(
      ''
    )}" > ${kvJsonFile}`
  )

  // Read profiles.
  let publicKeys = require(`./${kvJsonFile}`).map(
    ({ name }) => name.split(':')[1]
  )

  // Filter out those that already exist in migration file. Wrap in try/catch in case file does not exist yet.
  try {
    const existing = fs.readFileSync(migrateSqlFile, 'utf8')
    publicKeys = publicKeys.filter((publicKey) => !existing.includes(publicKey))
  } catch {}

  const total = publicKeys.length
  console.log('Found ' + total.toLocaleString() + ' missing profiles')

  const batchSize = 200
  const sleep = (seconds) =>
    new Promise((resolve) => setTimeout(resolve, seconds * 1000))

  // STREAM
  await Promise.all(
    new Array(batchSize).fill(0).map(async () => {
      while (publicKeys.length > 0) {
        const publicKey = publicKeys.pop()

        await migratePublicKey(publicKey)

        process.stdout.write(
          `Finished ${done}/${total} (${((done / total) * 100).toFixed(
            2
          )}%)...\r`
        )

        // Sleep for 6 seconds before the next one.
        await sleep(6)
      }
    })
  )

  // BATCHES
  // // const maxCallsPerMinute = 1200 / 5;
  // const maxCallsPerMinute = 2000;
  // const maxBatchesPerMinute = Math.floor(maxCallsPerMinute / batchSize);
  // const minBatchDuration = 1 / maxBatchesPerMinute;
  // const minBatchDurationSeconds = Math.ceil(minBatchDuration * 60);

  // for (let i = 0; i < publicKeys.length; i += batchSize) {
  //   const batch = publicKeys.slice(i, i + batchSize);
  //   const batchStart = Date.now();
  //   await Promise.all(
  //     batch.map(async (publicKey) => {
  //       await migratePublicKey(publicKey);

  //       process.stdout.write(
  //         `Finished ${done}/${publicKeys.length} (${(
  //           (done / publicKeys.length) *
  //           100
  //         ).toFixed(2)}%)...\r`
  //       );
  //     })
  //   );

  //   const batchDurationSeconds = (Date.now() - batchStart) / 1000;
  //   if (batchDurationSeconds < minBatchDurationSeconds) {
  //     await sleep(Math.ceil(minBatchDurationSeconds - batchDurationSeconds));
  //   }
  // }

  console.log()
  console.log('Done!')

  console.log('Failed: ' + JSON.stringify(failed, null, 2))
}

migrate()

authors: NoahSaso elsehow


text:
Easy deposit improved move

The move was implemented as a copy. File.renameTo does an actual "move" operation.
@GeorgiKhomeriki @PaulBoon @ekoi @jo-pol please review.

Please, first review EASY_DEPOSIT_GIT, as this pull request is based on it.

I didn't know you could use renameTo like that, looks good :+1:

I didn't know before today, either. Just googled it, tested it on deasy and it seems to work.

authors: GeorgiKhomeriki janvanmansum

repo: DANS-KNAW/easy-deposit

license_source: bigquery


text:
CQL expression is not returning expected result.

Following CQL expression suppose to return non-empty list, however it is returning an empty list.
define "Nonacute Inpatient Encounter Dates":
[Procedure] P
where IsCompleted(P)
and GetStrippedCode(P.code) in "Nonacute Inpatient"
and "Has Hypertension"
and (date from P.performed."start" > "Hypertension Index Date"
or (not "Hypertension Index Date In Year Prior to Measurement Period" and date from P.performed."start" = "Hypertension Index Date"))
return date from P.performed."start"
Please note, the following functions evaluated against patient test case data, return results as expected, but not in the grouped expression as shown above.
define function IsCompleted(p Procedure): p.status is null or p.status = 'completed'
define Separator: '-'
define function ExtractCodeStr(CodeStr String): if PositionOf(Separator, CodeStr) > 0 then Substring(CodeStr, 0, PositionOf(Separator, CodeStr)) else CodeStr
define function GetStrippedCode(C CodeableConcept): Code {code: ExtractCodeStr(C.coding[0].code), system: C.coding[0].system, display: C.coding[0]."display"}

Thank you @umeshprasad123 for raising this issue. Unfortunately, the description you have given is not very helpful to determine what the actual issue is. I would recommend splitting up the expression into smaller parts to determine where the failure surfaces.
For some general feedback, I would recommend using the DateTime comparison operators (https://cql.hl7.org/09-b-cqlreference.html#datetime-operators-2) instead of the general comparison operators to account for precision differences.

Thanks Chris for your comment and suggestion!
After doing further investigation, here is cause of the issue and also a resolution.
Issue description :
In a CQL code if there are numerous expressions with same alias name e.g. 'P' in the attached example ( see CQL file : 'CQL_example- Has issue - returns_empty_list_for_expression_Remote_BP_Dates.cql' ) then correct expression alias is not picked up. Actually as per cql-engine code, some other previous expression is picked up from stack; see method 'internalEvaluate'  in java file : QueryEvaluator.java. Please note, there is only one stack defined at Context level.
i.e. there is only one stack being created for all expression operation evaluations. And if there are multiple same alias names then the oldest alias evaluation is picked from stack.
Issue : Expression "Remote BP Dates" returns an empty list
Fix :  I was unable to push a 'Pull request'. Hence attaching code; see file QueryEvaluator.java.
I have also attached a work around solution CQL code. Idea here is to use different expression alias name ( see file : CQL_example - work_around_solution.cql )
After fixing  CQL-Engine code  or CQL code ( see file : CQL_example - work_around_solution.cql ), expression "Remote BP Dates" returns [2019-05-03]
I have also attached patient file for you to unit test code.
issue_270.zip
Let me know if you need any additional information.
Thank you!
'Pull request' difference :
diff --git a/cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/QueryEvaluator.java b/cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/QueryEvaluator.java
index f5a1de2a..e8d968fc 100644
--- a/cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/QueryEvaluator.java
+++ b/cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/QueryEvaluator.java
@@ -155,6 +155,7 @@ public class QueryEvaluator extends org.cqframework.cql.elm.execution.Query {
List result = new ArrayList<>();
boolean sourceIsList = false;
int pushCount = 0;

   context.pushWindow();
   try {
       for (AliasedQuerySource source : this.getSource()) {
           QuerySource querySource = new QuerySource(source.getAlias(), source.getExpression().evaluate(context));@@ -202,6 +203,7 @@ public class QueryEvaluator extends org.cqframework.cql.elm.execution.Query {
           context.pop();
           pushCount--;
       }

       context.popWindow();
   }

   if (this.getReturn() != null && this.getReturn().isDistinct()) {


text:
Check user name in route

Hello,
first of all thanks for your nice and simple to use crate!
Is it possible, to check the login user name in a route? I have only seen that AuthDetails has only a permissions value.
I ask because I would like to implement a function that a user can change his credentials, but for that I have to be sure, that the user can only change his own ones, and not from other users.

Thank you very much! This is way more easy then I though!

repo: DDtKey/actix-web-grants


text:
🛑 Paper and Cardboard is down

In d044f13, Paper and Cardboard (https://calculators.sustainability.vic.gov.au/biomass2018/MSW_Paper and Cardboard.csv) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Paper and Cardboard is back up in a2ef28b after .

repo: DELWP-DTV/santa


text:
🛑 vicmap-elevation-rest-api is down

In acf76c9, vicmap-elevation-rest-api (https://services6.arcgis.com/GB33F62SbDxJjwEL/arcgis/rest/services/Vicmap_Elevation_METRO_1_to_5_metre/FeatureServer) was down:

HTTP code: 411
Response time: 22 ms

Resolved: vicmap-elevation-rest-api is back up in 7e340bc.


text:
Command Injection via prips command

Summary
The prips command in the Discord Recon project is vulnerable to command injection. It lacks proper input sanitization, allowing potential attackers to execute arbitrary commands through user input, which is then passed to the subprocess.Popen function.
Screenshot of vulnerable code

Bug Location:app.py#L160
Proof of Concept:
An example payload demonstrating the command injection vulnerability is provided below:
.prips 74.125.227.0/29;ls

Command injection PoC

Impact
If exploited, this vulnerability could lead to unauthorized execution of arbitrary commands with the privileges of the process running the Python script. This may result in unauthorized access, data manipulation, or other malicious activities depending on the context in which the vulnerable code is used.
Recommendation
To mitigate this issue, it is crucial to validate and sanitize user input before passing it to the subprocess.Popen function. Consider using input validation libraries or sanitization techniques to ensure that only safe and expected input is processed.
Additionally, it's recommended to use subprocess functions that allow passing arguments as a list rather than a single string to avoid shell injection vulnerabilities.

I managed to reproduce the issue locally, It seems that I forgot to add the CommandInjection protection on the prips command upon updating the function, I'm going to drop a hotfix for this issue now. Thanks for your report

I updated the prips command to use CommandInjection.sanitizeInput on the argument before passing it to subprocess.Popen, The issue is fixed @ f9cb0f67177f5e2f1022295ca8e641e47837ec7a

We're good here, Thank you for your report and if you managed to bypass the protection please send me an email next time, testing on our server should be using ReconServer DMS.


text:
Re-add pg_* extensions to schema.rb

These extensions are present in a recent pg_dump from production,
so they should be here too.
Context
They re-appeared on my machine, seems everyone is in a different state. Realised that I'm running from a sanitized restore of prod, which brings the enabled extensions across.

So adding this in, and then doing a db:schema:dump took them back out. Do you know offhand what we need to do to install those extensions?

Should probably include those instructions here either way.

 EPIC Implement incremental fetch for courses. - Rails

Having looked at what these do, I don't think we need either of these? pg_buffercache seems to be an extension that has to be enabled on the server using CREATE EXTENSION, assuming the module was compiled.
pg_stat_statements is a setting in the config of the server and I think it will be disabled if it is not enabled on the server. Changing this setting in the Postgres config requires a restart to take effect.
I think these are differences in the settings for our hosted Postgres instance. We could make our local instances match and merge this, or change the production one to not have these, unless we need them.

@heidar this PR is based on a dump from prod, so brings the schema rb into line with prod.
I agree we might want to disable them in prod but didn't want take that task on right now.

I've done some experimenting on mine machine and david's mac. It seems the extensions are controlled by the schema.rb and/or the sql dump. So if your rails db:schema:dump is causing a diff then you first need to check out master (or this branch if it's not merged), then run rails db:reset to bring your db into line, and then the dump will cease to generate a diff.
I can't think what I could add to the readme that would be useful in the long run once everyone has done a reset.

Makes sense!
I tried resetting and dumping on this branch and didn't get a diff, despite my server config not having enabled pg_stat_statements. I guess the module is loaded, which is enough.

authors: heidar misaka timabell

repo: DFE-Digital/manage-courses-backend


text:
Add the boilerplate for a support interface

Context
We want a place to be able to administrate some of the functions of the service, eg. feature flags, job queues.
Changes proposed in this pull request
This change introduces a support interface similar to the one we built for Find.
Checklist

[ ] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

@felixclack the checks were not set to required, I did that after I noticed this auto-merged

authors: felixclack tvararu

repo: DFE-Digital/refer-serious-misconduct


text:
Jobseekers cannot view draft applications

Previously they could (misplaced link or via the path), but they shouldn't (it doesn't make sense/UX).
So now (even by path), they can't (raises error).

Review app deployed to https://teaching-vacancies-review-pr-3152.london.cloudapps.digital

authors: cpjmcquillan martin-bangoura

repo: DFE-Digital/teaching-vacancies


text:
Remove hardcoded hostname

In the App.tsx, the hostname url should not be hardcoded.

No need to open an issue if you already have a PR ready. The PR speaks for itself.

authors: bertearazvan dionhaefner

repo: DHI-GRAS/terracotta


text:
Add the ability to do file format and spec version detection based on magic numbers

It would be really nice if we could add the SIP, AIP and DIP specs to PRONOM and specify a magic number that would help implementers and software in general to detect the version of the spec that a particular package (in zip format) is compliant with
This would allow systems to auto-detect the format and  version of, for example, SIPs submitted to ingest and run the appropriate parsers.
More info at:
https://en.wikipedia.org/wiki/List_of_file_signatures

Interesting idea, it would have to be the equivalent of "container format" detection if it was to be from the zip file. This is similar to identifying MS Office documents wrapped as zips. I'm of the opinion that we shouldn't start by adding something to the package, but instead look to see if we can derive working signatures for what we have? @carlwilson to look at devising a PRONOM container sig that would work with DROID (and FIDO plus others) for the current SIP and DIP packages using the existing specs for end of current phase (31/10/2021).

I'm working my way through the issues, and this caught my eye. I have now seen this which is the way the ODF specification enforces this for package Zip archives. Section 3.3 seems relevant @jmaferreira https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part2-packages/OpenDocument-v1.3-os-part2-packages.html#__RefHeading__752809_826425813

authors: carlwilson jmaferreira

repo: DILCISBoard/E-ARK-CSIP


text:
feat: elements

Pull Request Overview
This pull request adds support for elements and tables.
Testing Strategy
This pull request was tested using the provided tests which are ported from the official testsuite.
TODO or Help Wanted
This pull request still needs your help so that I can make it production-ready.
Formatting

[ ] Ran cargo fmt
[ ] Ran cargo check
[ ] Ran cargo build
[ ] Ran cargo doc
[ ] Ran nix fmt

Github Issue
This pull request partially implements #2

This is on your repo so I can't add a commit to it. As such, we'll do it 90's style and give you the patch file to apply, if you find it correct
Note: file renamed from proposal.patch to proposal.txt to be able to upload to github... because it filters based on file ending and not contents. Security Theater!
proposal.txt

patch3.txt

I have disabled testsuite automatic testing because we... panic

repo: DLR-FT/wasm-interpreter


text:
feat: :sparkles: Criando rota para aceitar o conteúdo do csv

Rota que aceita string/conteúdo do csv além do arquivo

Codecov Report

Merging #197 (44f413a) into develop (7810d69) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #197   +/-   ##
========================================
  Coverage    95.56%   95.56%
========================================
  Files           44       44
  Lines         1309     1309
  Branches        77       77
========================================
  Hits          1251     1251
  Misses          44       44
  Partials        14       14

Flag
Coverage Δ

integrationtest
95.56% <ø> (ø)

unittests
95.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

authors: Layravbf codecov-commenter


text:
Fix parser to follow the recent change in the binary format

this seems to work https://gist.github.com/josephg/5e134adf70760ee7e49d?permalink_comment_id=4554558#gistcomment-4554558

Done by #3

repo: DQNEO/apple-dictionary-parser


text:
Feature 1123 ddb update

DynamoDB & Terraform Update
Github Issue Number Here: GitHub #1123
What user problem are we solving?
The current DynamoDB tables and Terraform script reflect an older version of infra-configurations.
What solution does this PR provide?
Updated DynamoDB tables and Terraform script to reflect new changes proposed by the following diagram: Also added user_id as GSI to ModelTable.

Testing Methodology

How did you test your changes and verify that existing functionality is not broken
Ran terraform file configurations and validated created DynamoDB Tables on AWS.

Any other considerations

Delete the .tfstate files. Ignore the Sonarcloud warning

Delete the *.tfstate* files. Ignore the Sonarcloud warning

Yes. Deleted and gitignored

authors: MugPand farisdurrani karkir0003

repo: DSGT-DLP/Deep-Learning-Playground


text:
🛑 Unhas Main is down

In 5deec06, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in 35abce7 after 6 minutes.


text:
🛑 Fakultas Hukum is down

In 09a153d, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 5f43004 after 4 minutes.


text:
Hangs when selecting items via keyboard from the hamburger menu - content does not appear (versions 7 and 8)

Describe the bug
This was discovered when testing for accessibility (making sure the site is usable from the keyboard).
When using the keyboard (Enter key) to activate menu items in the hamburger menu, such as "Communities & Collections", the content does not appear. It seems to hang and either take a very long time or not appear at all.
Tested with Safari and Chrome on MacOS.

To Reproduce
Steps to reproduce the behavior:

Resize the browser window so that it's small enough that the hamburger menu appears in the theme.
Use the keyboard to navigate to the menu. It will appear highlighted
Activate the hamburger menu with enter. The menu will appear highlighted.
Choose the menu options such as "communities & Collections", also activating with the keyboard.

The communities and collections menu will not appear.
Expected behavior
I expected the content "Communities and Collections" to appear quickly.

I was able to reproduce this bug while using Chromium (Linux), but it didn't occur in Firefox.

I think the problem lies in the event handling of keyup.enter in Chrome. I changed the code in the link-menu-item.component.html to :
{{item.text | translate}}

So the event is triggered by keydown and it worked, but it's not a real solution, it's just a workaround.

Hi, I'm Andrea Guevara from Neki-it. Our team has analyzed the problem and the issue expressed in DSpace version 8 does indeed occur. We don't think that the code suggestion above is just a workaround, but a real solution. We have tested the code and it is working as expected.

@Leano1998 :  Per @Andrea-Guevara 's comment above, if you would be willing to provide a PR with your solution, it would be appreciated. That way others can more easily test it.

Hej,
Thanks for testing @Andrea-Guevara I'm sorry, I didn't react, I forgot about this. I'll open a PR.

authors: Andrea-Guevara Leano1998 keithgee tdonohue

repo: DSpace/dspace-angular


text:
Hanged when submitting a new external source item

Describe the bug
When a 403 error occurred the system got hanged.
To Reproduce
Steps to reproduce the behavior:

Using DSpace 7.6.1
The following error must occur - https://github.com/DSpace/DSpace/issues/9797
The the system hangs like in this image, giving the notion that is still processing

Expected behavior
The user should be notified about the occurred error, not being hanged nor have the feeling he needs to wait until it ends.
Related work
https://github.com/DSpace/DSpace/issues/9797

While this appears to be caused by https://github.com/DSpace/DSpace/issues/9797, I agree that the submission form should have better error handling.  Ideally the form shouldn't hang if an error occurs, but should display some information about the error and then allow the user to proceed (or not).  Needs a volunteer.

authors: paulo-graca tdonohue


text:
Check relationship.effects.spec.ts after Angular 10 upgrade

During Angular 10 upgrade the relationship.effects.spec.ts has been redesign because it used a spy on rxjs's debounceTime operator and due to jasmine update this is not possible. To allow to test with asynchronous operator we replaced the use of spy with the more appropriate TestScheduler function. It works for almost all class's tests, with the exception of a few which required to be reviewed by comparing them with the implementation. It is likely, in fact, that previously the tests were successful only because the specs had no expectations. Here the link to the tests that need a review :
https://github.com/4Science/dspace-angular/blob/main/src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/relationship.effects.spec.ts#L142
https://github.com/4Science/dspace-angular/blob/main/src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/relationship.effects.spec.ts#L213
https://github.com/4Science/dspace-angular/blob/main/src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/relationship.effects.spec.ts#L234

Here I would roll back the changes that were made, and use the proposal I made for #992 to spy on debounceTime. It seems that the approach tried here with the scheduler and flush can't work for debounceTime. There's an open ticket for it: https://github.com/angular/angular/issues/25457#issuecomment-728876345
But we can inject debounceTime, spy on it that way and its input value immediately as we did before.
This will take an estimated 4h. It makes sense to do this at the same time as #992


text:
Deselect all metadata fields when switching between metadata schemas in registry

References

Fixes #2599

Description
MetadataSchemaComponent should always unslect all the checkboxes when switching to a different schema in the registry.
Instructions for Reviewers
List of changes in this PR:

Deselect all the fields from the MetadataSchemaComponent when destroying the component, this is needed because they are stored in the ngrx store.

Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

Thanks, @alexandrevryghem! I tested this on DSpace 7.6.1 and it fixes the issue.

authors: alanorth alexandrevryghem


text:
house cleaning the root directory

[Task name](Replace with a link to your task)
Description of the task you completed and/or features added. If it is a visual component or feature,
add a screenshot(s) of it.
Test Instructions

Steps on...
how to test...
or inspect this...
feature manually.

Definition of Done

[ ] Strings use placeholders for translation (No hard coded strings)
[ ] Unit tests have been added/updated
[ ] Update CHANGELOG

Check out a preview of your pull request here: https://alphasite-appservice-dev-0.azurewebsites.net

repo: DTS-STN/Service-Canada-Labs


text:
[Feature][Assembly] rename chunjun install filename

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
now ，the chunjun install filename is chunjun-assembly-1.12-SNAPSHOT-chunjun-dist.tar.gz but the docs more used chunjun-dist.tar.gz.modify assembly.xml and chunjun-assembly's pom.xml to rename install file name

Use case
the install filename is chunjun-dist-1.12.SNAPSHOT.tar.gz

Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

PR merged.

authors: FlechazoW huaxiapanda

repo: DTStack/chunjun


text:
1.10.0版本提交任务出错，显示InvalidClassException

`Exception in thread "main" org.apache.flink.client.program.ProgramInvocationException: Could not run job in detached mode. (JobID: a398724e1c3049e573be705b60ac20e3)
at org.apache.flink.client.ClientUtils.submitJob(ClientUtils.java:88)
at com.dtstack.flinkx.launcher.Launcher.main(Launcher.java:102)
Caused by: java.util.concurrent.ExecutionException: org.apache.flink.runtime.client.JobSubmissionException: Failed to submit JobGraph.
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
at org.apache.flink.client.ClientUtils.submitJob(ClientUtils.java:85)
... 1 more
Caused by: org.apache.flink.runtime.client.JobSubmissionException: Failed to submit JobGraph.
at org.apache.flink.client.program.rest.RestClusterClient.lambda$submitJob$7(RestClusterClient.java:359)
at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:884)
at java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:866)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
at org.apache.flink.runtime.concurrent.FutureUtils.lambda$retryOperationWithDelay$8(FutureUtils.java:274)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:575)
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:943)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.flink.runtime.rest.util.RestClientException: [Internal server error., <Exception on server side:
org.apache.flink.runtime.client.JobSubmissionException: Failed to submit job.
at org.apache.flink.runtime.dispatcher.Dispatcher.lambda$internalSubmitJob$3(Dispatcher.java:336)
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:836)
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:811)
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.lang.RuntimeException: org.apache.flink.runtime.client.JobExecutionException: Could not set up JobManager
at org.apache.flink.util.function.CheckedSupplier.lambda$unchecked$0(CheckedSupplier.java:36)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
... 6 more
Caused by: org.apache.flink.runtime.client.JobExecutionException: Could not set up JobManager
at org.apache.flink.runtime.jobmaster.JobManagerRunnerImpl.(JobManagerRunnerImpl.java:152)
at org.apache.flink.runtime.dispatcher.DefaultJobManagerRunnerFactory.createJobManagerRunner(DefaultJobManagerRunnerFactory.java:84)
at org.apache.flink.runtime.dispatcher.Dispatcher.lambda$createJobManagerRunner$6(Dispatcher.java:379)
at org.apache.flink.util.function.CheckedSupplier.lambda$unchecked$0(CheckedSupplier.java:34)
... 7 more
Caused by: org.apache.flink.runtime.client.JobExecutionException: Cannot initialize task 'Source: sqlservercdcreader -> Sink: kafka11writer': Loading the input/output formats failed:
at org.apache.flink.runtime.executiongraph.ExecutionGraphBuilder.buildGraph(ExecutionGraphBuilder.java:216)
at org.apache.flink.runtime.scheduler.SchedulerBase.createExecutionGraph(SchedulerBase.java:255)
at org.apache.flink.runtime.scheduler.SchedulerBase.createAndRestoreExecutionGraph(SchedulerBase.java:227)
at org.apache.flink.runtime.scheduler.SchedulerBase.(SchedulerBase.java:215)
at org.apache.flink.runtime.scheduler.DefaultScheduler.(DefaultScheduler.java:120)
at org.apache.flink.runtime.scheduler.DefaultSchedulerFactory.createInstance(DefaultSchedulerFactory.java:105)
at org.apache.flink.runtime.jobmaster.JobMaster.createScheduler(JobMaster.java:278)
at org.apache.flink.runtime.jobmaster.JobMaster.(JobMaster.java:266)
at org.apache.flink.runtime.jobmaster.factories.DefaultJobMasterServiceFactory.createJobMasterService(DefaultJobMasterServiceFactory.java:98)
at org.apache.flink.runtime.jobmaster.factories.DefaultJobMasterServiceFactory.createJobMasterService(DefaultJobMasterServiceFactory.java:40)
at org.apache.flink.runtime.jobmaster.JobManagerRunnerImpl.(JobManagerRunnerImpl.java:146)
... 10 more
Caused by: java.lang.Exception: Loading the input/output formats failed:
at org.apache.flink.runtime.jobgraph.InputOutputFormatVertex.initInputOutputformatContainer(InputOutputFormatVertex.java:156)
at org.apache.flink.runtime.jobgraph.InputOutputFormatVertex.initializeOnMaster(InputOutputFormatVertex.java:60)
at org.apache.flink.runtime.executiongraph.ExecutionGraphBuilder.buildGraph(ExecutionGraphBuilder.java:212)
... 20 more
Caused by: java.lang.RuntimeException: Deserializing the input/output formats failed: Could not read the user code wrapper: com.dtstack.flinkx.outputformat.BaseRichOutputFormat; local class incompatible: stream classdesc serialVersionUID = -3475476485995601071, local class serialVersionUID = 237603713241283597
at org.apache.flink.runtime.jobgraph.InputOutputFormatContainer.(InputOutputFormatContainer.java:68)
at org.apache.flink.runtime.jobgraph.InputOutputFormatVertex.initInputOutputformatContainer(InputOutputFormatVertex.java:153)
... 22 more
Caused by: org.apache.flink.runtime.operators.util.CorruptConfigurationException: Could not read the user code wrapper: com.dtstack.flinkx.outputformat.BaseRichOutputFormat; local class incompatible: stream classdesc serialVersionUID = -3475476485995601071, local class serialVersionUID = 237603713241283597
at org.apache.flink.runtime.operators.util.TaskConfig.getStubWrapper(TaskConfig.java:290)
at org.apache.flink.runtime.jobgraph.InputOutputFormatContainer.(InputOutputFormatContainer.java:66)
... 23 more
Caused by: java.io.InvalidClassException: com.dtstack.flinkx.outputformat.BaseRichOutputFormat; local class incompatible: stream classdesc serialVersionUID = -3475476485995601071, local class serialVersionUID = 237603713241283597
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:699)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1963)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1829)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1963)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1829)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1963)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1829)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2120)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2365)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2289)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2147)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:482)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:440)
at java.util.HashMap.readObject(HashMap.java:1412)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1185)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2256)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2147)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2365)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2289)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2147)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2365)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2289)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2147)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:482)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:440)
at org.apache.flink.util.InstantiationUtil.deserializeObject(InstantiationUtil.java:576)
at org.apache.flink.util.InstantiationUtil.deserializeObject(InstantiationUtil.java:562)
at org.apache.flink.util.InstantiationUtil.deserializeObject(InstantiationUtil.java:550)
at org.apache.flink.util.InstantiationUtil.readObjectFromConfig(InstantiationUtil.java:511)
at org.apache.flink.runtime.operators.util.TaskConfig.getStubWrapper(TaskConfig.java:288)
... 24 more
End of exception on server side>]
at org.apache.flink.runtime.rest.RestClient.parseResponse(RestClient.java:390)
at org.apache.flink.runtime.rest.RestClient.lambda$submitRequest$3(RestClient.java:374)
at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:966)
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:940)
... 4 more`
使用flinkx1.10.0进行编译，自定义一个reader类，然后将flinkx相关组件放到flink的目录plugins中。
/data/flink/flink-1.10.0/plugins
编译的包
  <parent>
    <artifactId>flinkx-all</artifactId>
    <groupId>com.dtstack.flinkx</groupId>
    <version>1.6</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>

  <artifactId>flinkx-sqlservercdc</artifactId>

并未差别，mvn success
然后将相关组件jar放入其中。
flinkx-release_1.10.0.jar（1.10.0版本出现上述异常）
经过测试1.10.1可以运行并没有相关异常出现。
老哥们，怎么说。。。

哦，对了，提交命令是
./bin/flinkx -mode standalone -job job/sqlservercdc.json -flinkconf $FLINK_HOME/conf -pluginRoot $FLINK_HOME/plugins -flinkLibJar $FLINK_HOME/lib -jobid cdc

同求

This issue has been too long to review it and reopen new one if necessary.

authors: 18940997598 FlechazoW RainbowWS


text:
Ant Design 升级 4.x 需要重构的组件

简介
Ant Design 升级 4.x 后，部分组件Api文档已完全不兼容，需要重构为符合最新 Api 写法的组件
详情

ModalWithForm（单测报错）
NotFound
RenderFormItem
SlidePane
ToolModal
FormComponent（单测报错）
GoBack 中 Icon
CopyIcon 中 Icon

Developed based on beta_3.0.0 branch.

repo: DTStack/dt-react-component


text:
jda.getGuilds().size(); returning a 0

Bug Report
jda.getGuilds().size(); returning a 0 even though my bot is on 2 servers
JDA VERSION: 4.2.0_204

JDA is probably not ready yet. You can use awaitReady() to block until jda has fully loaded.

Closing because the template wasn't filled out correctly. #1337

authors: MinnDevelopment Vladimir-Urik caneleex


text:
Configuration for mainWs sending pools

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[x] Library interface (affecting end-user code)
[x] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
Since these threads spend most of their time sleeping we should share the resources between shards.

Can you also clean this up to use the same exclude please?
https://github.com/DV8FromTheWorld/JDA/blob/c6162b87b737404338621f59f33f21531f24aae3/build.gradle#L176-L198

Do you mean that all core/* use the same exclude?

Note to self: update readme version of okhttp

With the new pools you can configure JDA to 2 threads per shard, half of what is currently possible on master. This would mean you can reduce a 100 shard bot from 400 threads to 201 threads by simply changing the pools to a single threaded scheduler.


text:
Clear Webview cache at BlazorMobile start

Clear Webview cache on UWP, at BlazorMobile start.
It seem that there is some inconsistency and crash on UWP sometime after some builds. It may be related to the fact that UWP cache web files, and in my opinion, is doing some things wrong when getting data from caches.
This line will be called before any WebView init:
await Windows.UI.Xaml.Controls.WebView.ClearTemporaryWebDataAsync();

This should be executed from the Main thread on UWP or it will throw an exception.

[x] Calling clearing cache before WebView call if possible ?
[ ] Timestamping files at BlazorMobile app launch.
[x] Clearing OK on UWP
[ ] Clearing OK on Android
[ ] Clearing OK on iOS

Also, maybe taking a look to this, for iOS and Android.
Some usable information: https://forums.xamarin.com/discussion/149720/delete-web-cache-javascript-storage

Additional informations about GeckoView (in general): https://www.raywenderlich.com/1381698-android-tutorial-for-geckoview-getting-started

Clearing cache code is done on iOS and Android. Android does not clear anything but GeckoView is now configured to use PrivateMode at each session, preventing a usage of clearing anything.
Need testing on iOS and Android before validation.

iOS use private navigation too, so it should be ok and only local to the current webview.

repo: Daddoon/BlazorMobile


text:
Thaumcraft Integration

Essentia input and output hatches
vis usage?
flux production?

For 1.4
{
    "type": "vis",
    "io-type": "input",
    "visMin": 40,
    "visMax": 80,
    "fluxMin": 1,
    "fluxMax": 25.6,
    "flux": 5,
    "vis": -30
}

Must have between 40 and 80 vis
Must have between 1 and 25.6 flux
Produces 5 flux
Depletes 30 vis
All parameters are optional
"flux" and "vis" work for output too

https://github.com/Frinn38/Modular-Magic/wiki/Essentia

authors: DaedalusGame Thermovale

repo: DaedalusGame/Modular-Diversity


text:
WIP: clean-up the dynamic lighting and shadowing selection code

This is low priority, but it may prove itself to be useful as a basis for various other tasks.
First I deeply rewrote the dynamic lighting and shadowing selection code, to make it more readable and less confusing.
The r_dynamicLight cvar to enable dynamic lighting or not is now a boolean and is totally independant of the rendering technique. The related r_staticLight behaves the same (though, I don't really know what it is about).
The dynamic light renderer is now selected with a dedicated cvar named r_dynamicLightRenderer, The value of 0 is the legacy forward one, 1 is the current tiled one.
As an example of how this clean-up may be useful, a 2 line commit makes the forward renderer working again to render dynamic lights.
I hope this work may prove to be as useful to help making dynamic shadows working again too.
Now that the forward dynamic light renderer is working again, and once dynamic shadowing will be working again, at least on the forward renderer, we may start NUKING things that don't break those features when we remove them.
I noticed that the dynamic lights are too bright when using the legacy forward renderer, which is a bug we had with the tiled renderer.
Even if the forward renderer is slower, it may still be useful. In the future I would like to introduce the ability to make the difference with gameplay-focused dynamic lights (like a lamp a player can carry with him) and purely optional and cosmetic ones.
Since the tiled renderer doesn't run on the complete hardware range supported by the engine, if we had a way to only render the only one or two dynamic lights a game may require for its gameplay (like a flashlight), having an alternate renderer supported by lower end hardware may prove useful, and its lower performance may not be a problem if unlike the tiled renderer it is not meant to render thousands of lights but only a couple of gameplay-related ones.

As an aside, forward and tiled are 2 orthogonal things. Forward refers to a renderer where, after an optional depth pre-pass, it draws all the meshes with lighting etc. A deferred renderer outputs a bunch of screen-sized buffers first (diffuse, normal etc), then in another pass it renders a full-screen quad and combines all the buffers output earlier with lighting etc.
"Normal" (non-tiled, non-clustered) just iterates over every light for every fragment and adds up thei rcontributions. Tiled divides the view into tiles and assigns lights to them, then in the fragment shader only computes the lights that are in the same tile as the fragment. Clustered divides the view into clusters (i. e. along all 3 axes) and assigns lights to them, then computes only those lights that are in the same cluster as the fragment.
Both forward and deferred renderers can be "normal", tiled or clustered.

I noticed that the dynamic lights are too bright when using the legacy forward renderer, which is a bug we had with the tiled renderer.

This might be a problem with falloff since normally the lights attenuation is inversely proportional to the distance to light source squared, but gamma correction on the monitor effectively makes it squared instead. There might be an error somewhere there.

This is low priority, but I appreciate the fact it makes possible to better evaluate our lighting code and some of our fallbacks, and the shadowing code.
The code is also better at allocating or not allocating the related stuff used by the various features (so there can be some memory improvements).

Were you able to test the "static light" thing? Here it can be seen that only a handful of maps us the light entity. Curiously, old versions of Forlorn and Yocto used it, but it was removed years ago.

Were you able to test the "static light" thing? Here it can be seen that only a handful of maps us the light entity. Curiously, old versions of Forlorn and Yocto used it, but it was removed years ago.

I only tested the cvars, no specific assets. But anyway fixing features is not the purpose of this PR, all I want is to have the selection of them being meaningful, and the code more explicit.

LGTM

I removed the extra commit that was claiming to fix dynamic lights with legacy renderer, it was likely wrong.
I discovered that enabling the legacy dynamic light renderer can't get it working with vid_restart, one has to load the next map. I don't know what causes that but it was already that way before this PR and this PR doesn't change anything on that (since it's currently only a rewrite to make the code easier to read).
So, both legacy and tiled dynamic renderers are already working, we just cannot switch from tiled to legacy with vid_restart yet because of a bug that is outside the topic of this PR.

authors: VReaperV illwieckz slipher

repo: DaemonEngine/Daemon


text:
BmMarker阻止冒泡

[文档问题] BmMarker阻止冒泡
相关文档 URL
https://dafrok.github.io/vue-baidu-map/#/zh/overlay/marker
问题描述
当BmMarker和map同时添加点击事件时，没有找到阻止bmmarker冒泡的相关文档说明

改进建议
请提供具体方法

<bm-marker :position="item.center" @click="removeMarker($event, item.id)">
removeMarker(e,id){
e.domEvent.stopPropagation();
        },

@Dafrok 为什么不能用 click.stop 的方式阻止事件冒泡？报如下错误：

依赖环境：

"vue": "^2.5.21",
"vue-baidu-map": "^0.21.16",

@douyalzd 按照你给的方法，阻止事件冒泡是没有问题了。
但是出现了新的问题：当 BmMarker 和 map 同时添加点击事件，BmMarker 的 click 事件处理里使用 $event.domEvent.stopPropagation() 阻止冒泡后，要先点击 map 一下(不会触发 map 的 click 事件)或者拖动一下地图，接下来才能触发 map 的 click 事件。

这个问题有更好的处理办法？

这个问题有更好的处理办法？

authors: EternalLie sprogjavasprog weineel zishuweishu

repo: Dafrok/vue-baidu-map


text:
Add C-Bus Lighting Label management

C-Bus lighting groups have the ability to have a label.  This is used on the eDLT light switches.
There is an ability to send a label to a lighting group, but it does not appear possible (unless I am missing something).
Would it be able to be implemented? I'm happy to help test.
Protocol documentation for Clipsal C-Bus is here. Review Label in the lighting doc. https://updates.clipsal.com/downloads/cis/C-Bus Protocol Public Release.zip
I have been using an alternate system called Indigo Domotics.  There was a plugin for that system that I have been using to do this up until now, it has been rock solid.
Refer to the "updateDLTlabel function, line 774 in plugin.py.   https://github.com/KieranBroadfoot/C-Bus.indigoPlugin/blob/master/Contents/Server Plugin/plugin.py

Interesting, I was not aware of the label commands.
The Doc's linked refer to the PCI protocol, which is what c-gate is speaking to the Bus, so in this implementation i would need to bypass C-Gate; so other projects do that, including work I done a few years ago with Elve, but I have not had bandwidth to take that on just yet.
Now, the Indigo plugin, that looks to speak to cgate.
If i have understood correctly, i can send a string lighting label //CBUS/254/56 1 94 - text hello
Ill take a shot at this for you, but I have no DLT pads, so you will have to test.
Ill update here with a PR

Thanks Damian, yes all my Comms are via cgate, so I believe your hello text comment/command is correct.  Thanks for trying, I am happy to test.
Cheers
Tom
On 9 Apr 2024, at 8:56 PM, Damian Flynn @.***> wrote:

Interesting, I was not aware of the label commands.
The Doc's linked refer to the PCI protocol, which is what c-gate is speaking to the Bus, so in this implementation i would need to bypass C-Gate; so other projects do that, including work I done a few years ago with Elve, but I have not had bandwidth to take that on just yet.
Now, the Indigo plugin, that looks to speak to cgate.
If i have understood correctly, i can send a string lighting label //CBUS/254/56 1 94 - text hello
Ill take a shot at this for you, but I have no DLT pads, so you will have to test.
Ill update here with a PR
—
Reply to this email directly, view it on GitHubhttps://github.com/DamianFlynn/cgate-mqtt/issues/12#issuecomment-2044710998, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQUKQBQOLHNVVFSOBNAIG4DY4PCPJAVCNFSM6AAAAABF4BMCTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUG4YTAOJZHA.
You are receiving this because you authored the thread.Message ID: @.***>

authors: DamianFlynn tomtokic

repo: DamianFlynn/cgate-mqtt


text:
Basis Site Structure

As a Full Stack Developer,
I want to Start Building the Basic Structure, and install Django Frame Work,
so that I can build on that starting with wire frames, Views, Urls, Models.
Acceptance Criteria:
-[ ] Create Repo, GitHub
-[ ] Install Django, set up and deploy to Heroku
-[ ] Create Project
-[ ] Create App
-[ ] Install all requirements.

completed

repo: Damitwhy/NA-Share


text:
Linker to show full 16MB flash

Fixes #169

What about 2Gig version of BP5?

The NAND size adjustment is automatic thanks to Henry. This is the reporting on the available space in the program flash chip.

authors: AreYouLoco DangerousPrototypes henrygab


text:
Bug: Chrome/Edge document loading but not showing

Hello, I have tested everything with Firefox so far and it works without any problems.
After testing with Edge and Chrome, there is often the problem that the PDF is loaded to 100% but then not displayed. Like on the screenshot. After several reloads of the page it works eventually. There are no messages in the console.
I will provide more information when I have found out where it comes from.

Hey,
Would you be able to share the PDF document? Either way, try loading it with the PDF.js demo viewer to see if it's an issue with this library.

Thanks for the idea with the pdf.js demo!
I did some tests and the pdf.js demo as well as the example implementation have no problems with Chromium. Maybe it is a Next.js problem. Definitely a problem in my implementation on my side. Not a general bug, was a bit hasty.

Closed due to inactivity

authors: AndTmf DanielArnould


text:
Fontello icon font doesnt appear under assets

I cannot get the icon fonts to work for me, and I believe this is because I cannot serve them under my assets folder. In your exampe https://danielykpan.github.io/date-time-picker/ I noticed the Fontello icon font is served under dist/assets/font.
Here is what I tried to do to serve them.
1.add a fonts/date-time-picker folder under my assets folder (I am using a new angular 4 cli project) and I put the fontello.woff and the older fontello types there (.svg .eot etc).

Modify my .angular-cli.json to serve these icon fonts
`"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"../node_modules/ng-pick-datetime/assets/font/fontello.eot",
"../node_modules/ng-pick-datetime/assets/font/fontello.svg",
"../node_modules/ng-pick-datetime/assets/font/fontello.ttf",
"../node_modules/ng-pick-datetime/assets/font/fontello.woff",
"../node_modules/ng-pick-datetime/assets/font/fontello.woff2",
"../node_modules/ng-pick-datetime/assets/style/picker.min.css",
`
Any idea what I am missing?
It picks up the picker.min.css file but I dont get the additional folders I added under assets. I also tried adding "assets/fonts/date-time-picker" to the assets array because thats the folder I created to add the fontello font there.

By the way, this library is awesome thank you for sharing it Daniel.

picker.min.css imports the fonts file under a url like this '../font/fontello.eot.***', so you folder structure would have to be like this

authors: DanielYKPan fvisaggio

repo: DanielYKPan/date-time-picker

license: mit


text:
Скласти додаткові інформаційні блоки

Education

      2021

Cat track

Binary Studio Academy

Languages

      Meow dialect

      Ukrainian (understand)

      English (don't understand)

I only added achievements subblock to experiences

В процесі виконання додала в іншому проекті, тому дублюю тут для автоперевірки

repo: Daria-Zakharova/homepage


text:
Use VersionType::from_string for macos

Codecov Report

Merging #202 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #202   +/-   ##
=======================================
  Coverage   84.22%   84.22%
=======================================
  Files          12       12
  Lines         488      488
=======================================
  Hits          411      411
  Misses         77       77

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 c6bbae2...b082ed5. Read the comment docs.


text:
Import-Module VSTeam -RequiredVersion '' fails

Steps to reproduce
Import-Module VSTeam
Add-VSTeamAccount -Account 'Jiberish' -PersonalAccessToken 'NoneOfYourBusiness'
Get-VSTeamProject

Works fine

Import-Module VSTeam -RequiredVersion '5.0.0'
Add-VSTeamAccount -Account 'Jiberish' -PersonalAccessToken 'NoneOfYourBeeswax'
Get-VSTeamProject

Throws a buch of Unable to find type [VSTeamVersions]. errors.
Import-Module VSTeam -RequiredVersion '5.0.0'
Import-Module VSTeam -RequiredVersion '5.0.0'
Add-VSTeamAccount -Account 'Jiberish' -PersonalAccessToken 'NoneOfYourBeeswax'
Get-VSTeamProject

if you import it two times then no errors are thrown the second time it is imported, but the cmdlets still throw errors.

Expected behavior
Import-Module VSTeam -RequiredModule '5.0.0'
Add-VSTeamAccount -Account 'Jiberish' -PersonalAccessToken 'NoneOfYourBusiness'

This should not throw any thing and work fine.
Actual behavior
Import-Module VSTeam -RequiredVersion '5.0.0'
Add-VSTeamAccount -Account 'Jiberish' -PersonalAccessToken 'NoneOfYourBeeswax'

Throws a buch of Unable to find type [VSTeamVersions]. errors.
Environment data

If I run Import-Module VSTeam -RequiredVersion '5.0.0'
> Get-VSTeamAPIVersion

Name                           Value
----                           -----
ServiceFabricEndpoint
Build
ExtensionsManagement
Release
Version
MemberEntitlementManagement
Packaging
Tfvc
Git
Core
DistributedTask

If I run Import-Module VSTeam
> Get-VSTeamAPIVersion

Name                           Value
----                           -----
ServiceFabricEndpoint
Build                          3.0
ExtensionsManagement           3.0-preview
Release                        3.0-preview
Version                        TFS2017
MemberEntitlementManagement
Packaging
Tfvc                           3.0
Git                            3.0
Core                           3.0
DistributedTask                3.0-preview

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17763.134
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.134
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Can someone who could repo this please re-test with version 6.0.x?

Will try it tomorrow!

I tested with version 6.0.0 that is available on PSGallery and all my scenarios now work!
Thanks for the help!

authors: DarqueWarrior TomasDeceuninck

repo: DarqueWarrior/vsteam


text:
Allow insecure presets

Hi!
We want to permit users to crop images into limited dimensions list without signing url. So they can generate urls on the client side. I think this can be done with presets: define this presets like 100=resize:fit:100:100:0; 500=... and start server with IMGPROXY_INSECURE_PRESETS=100,500.
WDYT about having this feature in the main repo? I can prepare PR.

@printercu can't you just put imgproxy behind nginx? filter source urls with regexes in nginx locations and forward the filtered settings to proxy_pass url. I think this should allow you to fine-tune limitations and a list of available options much better than anything imgproxy provides or will provide…

Thanks for the idea! We'll give it a try. This feature has been pushed down in our schedule and I don't know when we'll proceed with it. @DarthSim should I close the PR until get updates?

It's your feature request, so feel free to close it whenever you want :)
Though I agree with @constb. URL limitation is a huge thing. Everyone has their own rules for it and implementing 'em all will complex imgproxy a lot. Since I strongly follow SRP, I'd prefer to keep this kind of functionality out of imgproxy.

Hey did anyone end up writing some nginx configs to handle this sort of filtering? @printercu @constb  maybe you?

Okay I got a working snippet for white listing sources for the proxy path using nginx.
Here's the regex :
location ~* ^/.+/http.?://(?![^\/]*(source0\.com|source1\.com|whatever\.io)/).*$ {
  return 403;
}

Should be the first "location" in config.
Here, source0.com, source1.com, whatever.io are the trusted domains, which won't be blocked.
tested with https://nginx.viraptor.info/

authors: DarthSim constb printercu quotient

repo: DarthSim/imgproxy


text:
Driver functionality / Remote memory mapping tests - failure on Windows10

Trying out the newest Blackbone solution (just downloaded) the Driver functionality and Remote Memory Mapping tests fail like this:
BlackBone : NativeLdr: LdrHeapBase not found
BlackBone : Failed to load driver C:\ReverseEngineering\BlackBone \build\Win32\Debug\BlackBoneDrv10.sys. Status 0xC0000022
TestDriver: Failed to load driver. Status 0xc0000022
Remote memory mapping test
BlackBone: NativeLdr: LdrHeapBase not found
BlackBone: Failed to load driver C:\ReverseEngineering\BlackBone\build\Win32\Debug\BlackBoneDrv10.sys. Status 0xC0000022
TestRemoteMem: Process address space mapping failed with status 0xc00000c0
However, i've made sure that the sys, cer and pdb files for BlackBoneDrv10 are indeed in that folder,
What could be causing this?
PS. I'm even signing the driver properly now with a valid certificate (not testsigning anymore), still same issue

Never mind, solved it like literally 10 minutes after taking the time to write down a ticket, the problem was ofcourse, need to run the command prompt in admin/privileged mode when running TestApp.exe (i.e testapp.exe needs to be ran in privileged mode), if you don't then the above error is what you get, works fine when you do things right, tho!
Cheers.

repo: DarthTon/Blackbone


text:
Use correct prop types for SimpleTabBar in EntityUploader

Currently, in development mode, clicking the Upload TSV button throws errors in the console about invalid props. SimpleTabBar expects strings for value and tabs.[].key, not booleans.

@nawatts you need to create a JIRA ticket for this. All code changes have to have a JIRA ticket for compliance reasons.

Created a ticket: https://broadworkbench.atlassian.net/browse/SU-38

authors: cahrens nawatts

repo: DataBiosphere/terra-ui


text:
🛑 DataByteDigital - Production is down

In 30a10f8, DataByteDigital - Production (https://databytedigital.com) was down:

HTTP code: 526
Response time: 169 ms

Resolved: DataByteDigital - Production is back up in ea5f675 after 6 minutes.


text:
Upgrade to Go1.17.11 (backport to 7.37)

Backport of #12358.
What does this PR do?
Updates everything to go1.17.11.
Motivation
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
General agent QA -- at this stage, running in various clusters and looking for issues.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

(the serverless errors are unrelated here)

repo: DataDog/datadog-agent


text:
[pkg/otlp] Recover and record panics in OTLP ingest

What does this PR do?

Recover from panics happening on the OTLP ingest pipeline. This does not recover panics in goroutines spawned from the main Collector goroutine.
Motivation

Isolate panics to OTLP ingest pipeline and allow the rest of the Datadog Agent to continue execution.
Describe how to test/QA your changes

This is hard to test; one option is to attach delve to a running Agent binary and modify a variable to a nil pointer somewhere
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Note that due to the structure of the Collector this is quite limited in the panics it would catch since most telemetry is handled on separate goroutines.


text:
usm: http2: Increment request_seen and response_seen if method/status are literal headers

What does this PR do?
Increment request_seen and response_seen if method/status are literal headers

Motivation
A miss by 2 previous PRs.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

will be covered in #22778


text:
[CONTINT-3935] Create a priorityClass for dogstatsd standalone

What does this PR do?
Create a PriorityClass for the dogstatsd standalone DaemonSet.
Which scenarios this will impact?

aws/eks
aws/kindvm

Motivation
#702 added a PriorityClass for the datadog agent.
But exactly the same issue can arise with the dogstatsd standalone DeamonSet as it can be seen in this job.
We can see the dogstatsd client remaining in ContainerCreating forever:
workload-dogstatsd-standalone   pod/dogstatsd-uds-68548f475c-5jtzk                     0/1     ContainerCreating   0               10m     <none>        ip-10-1-50-186.ec2.internal

because it’s waiting for the dogstatsd socket supposed to be created by a pod that remains in Pending forever:
dogstatsd-standalone            pod/dogstatsd-standalone-p5h84                         0/1     Pending             0               9m46s   <none>        <none>

because the node it’s supposed to run (ip-10-1-50-186.ec2.internal) on has already reached its capacity of 17 pods.
Additional Notes
This is a followup of #702 which did exactly the same thing but for the datadog agent.
The difference is that, for the datadog agent, the PriorityClass was created by the Helm chart.

/merge

repo: DataDog/test-infra-definitions


text:
🛑 DaTA is down

In 4222ef2, DaTA (https://data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DaTA is back up in 29e1650 after 11 minutes.

repo: DataEnsta/upptime


text:
🛑 ETAl is down

In f3fa6a4, ETAl (https://etal.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ETAl is back up in f6af2c1 after 32 minutes.


text:
🛑 DaTA is down

In d11a02c, DaTA (https://data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DaTA is back up in 64d5cd1 after 28 minutes.


text:
[Bug] [Module Name] Bug title Caused by: java.lang.IllegalArgumentException: EndPoint is not set

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
当我用dinky执行：
set 'fs.obs.impl'= 'org.apache.hadoop.fs.obs.OBSFileSystem';
set     'fs.obs.access.key'= 'xxxxxxx';
set    'fs.obs.secret.key'= 'xxxxxxx';
set    'fs.obs.endpoint'='xxxxxxx';
CREATE CATALOG paimon_obs2 WITH (
'type'='paimon',
'warehouse'='obs://xxxxxxx/flink/warehose'
);

但用 flink的sql-client执行正常的

What you expected to happen
正常我理解应该用dinky执行和sql-client.sh是一样的效果
How to reproduce
执行这个语句就可以复现：
set 'fs.obs.impl'= 'org.apache.hadoop.fs.obs.OBSFileSystem';
set     'fs.obs.access.key'= 'xxxxxxx';
set    'fs.obs.secret.key'= 'xxxxxxx';
set    'fs.obs.endpoint'='xxxxxxx';
CREATE CATALOG paimon_obs2 WITH (
'type'='paimon',
'warehouse'='obs://xxxxxxx/flink/warehose'
);
Anything else
No response
Version
1.0.2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

或者，我已经在flink-conf设置了对应文件系统的配置了，希望只指定对应warehouse路径就行。比如这样
CREATE CATALOG paimon_obs2 WITH (
'type'='paimon',
'warehouse'='obs://xxxxxxx/flink/warehose'
);
现在这种用flink自带的sql-client.sh 是正常的，但用dinky就会报错，java.lang.IllegalArgumentException: EndPoint is not set

目前社区无 obs 环境, 你可以根据官网本地调试文档进行修复/优化,同时欢迎回馈社区😄

目前社区无 obs 环境, 你可以根据官网本地调试文档进行修复/优化,同时欢迎回馈社区😄

我用oss也是一样的问题哈

那你设置下 endpoint 配置呢

https://paimon.apache.org/docs/master/filesystems/s3/
paimon官网并无obs支持，使用s3即可

https://paimon.apache.org/docs/master/filesystems/s3/
paimon官网并无obs支持，使用s3即可

1、是的官网没有直接支持，有其他人写了这个功能了。
https://github.com/littlefisher666/incubator-paimon/tree/master/paimon-filesystems
我用flink的 sql-client测试也是没问题的。
2、我用dinky1.0.3 测试 obs和oss报的一样的错。
代码：oss测试
CREATE CATALOG paimon_oss WITH (
'type'='paimon',
'warehouse'='oss://xxxxxxx/flink/warehose'
);
这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报Caused by: java.lang.IllegalArgumentException: EndPoint is not set

https://paimon.apache.org/docs/master/filesystems/s3/
paimon官网并无obs支持，使用s3即可

1、是的官网没有直接支持，有其他人写了这个功能了。 https://github.com/littlefisher666/incubator-paimon/tree/master/paimon-filesystems 我用flink的 sql-client测试也是没问题的。
2、我用dinky1.0.3 测试 obs和oss报的一样的错。 代码：oss测试 CREATE CATALOG paimon_oss WITH ( 'type'='paimon', 'warehouse'='oss://xxxxxxx/flink/warehose' );
这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报Caused by: java.lang.IllegalArgumentException: EndPoint is not set

所以和obs没关系，应该是dinky这边有问题的。

https://paimon.apache.org/docs/master/filesystems/s3/
paimon官网并无obs支持，使用s3即可

1、是的官网没有直接支持，有其他人写了这个功能了。 https://github.com/littlefisher666/incubator-paimon/tree/master/paimon-filesystems 我用flink的 sql-client测试也是没问题的。
2、我用dinky1.0.3 测试 obs和oss报的一样的错。 代码：oss测试 CREATE CATALOG paimon_oss WITH ( 'type'='paimon', 'warehouse'='oss://xxxxxxx/flink/warehose' );
这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报Caused by: java.lang.IllegalArgumentException: EndPoint is not set

所以和obs没关系，应该是dinky这边有问题的。

obs应该是支持s3协议的，你直接用s3试试呢

https://paimon.apache.org/docs/master/filesystems/s3/
paimon官网并无obs支持，使用s3即可

1、是的官网没有直接支持，有其他人写了这个功能了。 https://github.com/littlefisher666/incubator-paimon/tree/master/paimon-filesystems 我用flink的 sql-client测试也是没问题的。
2、我用dinky1.0.3 测试 obs和oss报的一样的错。 代码：oss测试 CREATE CATALOG paimon_oss WITH ( 'type'='paimon', 'warehouse'='oss://xxxxxxx/flink/warehose' );
这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报Caused by: java.lang.IllegalArgumentException: EndPoint is not set

所以和obs没关系，应该是dinky这边有问题的。

obs应该是支持s3协议的，你直接用s3试试呢
s3也试了，不加其他参数也是报错。如果所有参数加上是正常的。
我的意思是和协议无关，这是oss测试的。

这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报错，个人理解dinky提交的和sql-client 效果一样的

https://paimon.apache.org/docs/master/filesystems/s3/
paimon官网并无obs支持，使用s3即可

1、是的官网没有直接支持，有其他人写了这个功能了。 https://github.com/littlefisher666/incubator-paimon/tree/master/paimon-filesystems 我用flink的 sql-client测试也是没问题的。
2、我用dinky1.0.3 测试 obs和oss报的一样的错。 代码：oss测试 CREATE CATALOG paimon_oss WITH ( 'type'='paimon', 'warehouse'='oss://xxxxxxx/flink/warehose' );
这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报Caused by: java.lang.IllegalArgumentException: EndPoint is not set

所以和obs没关系，应该是dinky这边有问题的。

obs应该是支持s3协议的，你直接用s3试试呢
s3也试了，不加其他参数也是报错。如果所有参数加上是正常的。
我的意思是和协议无关，这是oss测试的。

这个代码在 sql-client 没问题的，因为授权信息都写在flink集群配置里了。但用dinky就会报错，个人理解dinky提交的和sql-client 效果一样的

个人理解的不对, 按照上边说的增加对于配置项即可

repo: DataLinkDC/dinky


text:
[DRC-810] [Bug] Errors when running Profile/Value diff

Current Behavior
For some changes, whenever I run Profile/Value diff I get the following error:
INFO:     ::1:63695 - "GET /api/runs/c46223a3-ebac-4f8f-8ba2-724017890d74/wait?timeout=2 HTTP/1.1" 200 OK Future exception was never retrieved future: <Future finished exception=TypeError("'<' not supported between instances of 'NoneType' and 'NoneType'")> Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/thread.py", line 58, in run     result = self.fn(*self.args, **self.kwargs)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/abuxeres/code/dbt-models/.venv/lib/python3.11/site-packages/recce/apis/run_func.py", line 151, in fn     raise e   File "/Users/abuxeres/code/dbt-models/.venv/lib/python3.11/site-packages/recce/apis/run_func.py", line 144, in fn     result = task.execute()              ^^^^^^^^^^^^^^   File "/Users/abuxeres/code/dbt-models/.venv/lib/python3.11/site-packages/recce/tasks/histogram.py", line 335, in execute     min_value = min(min_value, min_max_curr[0][0])
or this:
INFO:     ::1:63722 - "GET /api/runs/5202adc1-147d-413d-8cca-c26a638234a1/wait?timeout=2 HTTP/1.1" 200 OK Future exception was never retrieved future: <Future finished exception=InvalidOperation([<class 'decimal.InvalidOperation'>])> Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/concurrent/futures/thread.py", line 58, in run     result = self.fn(*self.args, **self.kwargs)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/Users/abuxeres/code/dbt-models/.venv/lib/python3.11/site-packages/recce/apis/run_func.py", line 151, in fn     raise e   File "/Users/abuxeres/code/dbt-models/.venv/lib/python3.11/site-packages/recce/apis/run_func.py", line 144, in fn     result = task.execute()              ^^^^^^^^^^^^^^   File "/Users/abuxeres/code/dbt-models/.venv/lib/python3.11/site-packages/recce/tasks/histogram.py", line 336, in execute     max_value = max(max_value, min_max_curr[0][1])                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>]
Expected Behavior
I should see a more clear error and be able to fix the issue
Steps To Reproduce

Generate a state file in Github Actions
Download the state file
Run: recce server --review /Users/abuxeres/Downloads/recce_state.json

Relevant log output
No response
Environment

recce: 0.36.0
OS: MacOS 14.7
Python: 3.11.6
Data Warehouse: Snowflake
dbt: 1.8.0

Additional Context
No response
DRC-810

Hi @alejobs,
Thanks for your response. We’ll try to reproduce the issue to investigate further.

The error is found when there is no records of one side.

authors: alejobs popcornylu

repo: DataRecce/recce


text:
Missing groups option description in Options documentation page

Hi
On the page http://datatables.net/extensions/colvis/options the 'groups' option is missing but presented in examples: http://datatables.net/release-datatables/extensions/ColVis/examples/group_columns.html. Could you please add the option to the Options documentation page?

Thanks for pointing that out. This has now been committed and I'll push it out to the site soon.
I should note that ColVis will be retired next week when it is replaced by a new extension.

I read about Buttons extension in 2.0 branch. Are you talking about that?
Thats really interesting to try that new extension just because I'm currenlty hardly worked in integratino DT and much more plugins and work on them.

Yes - I've decided to fold ColVis into Buttons itself. So the 2 branch is now out of date and will be removed.
Buttons is available here and the buttons.colvis.js contains the column visibility buttons.

Does the new Buttons Colvis support DT state saving as current do?
28 июля 2015 г. 15:06 пользователь "Allan Jardine" notifications@github.com
написал:

Yes - I've decided to fold ColVis into Buttons itself. So the 2 branch is
now out of date and will be removed.
Buttons is available here https://github.com/DataTables/Buttons and the
buttons.colvis.js contains the column visibility buttons.
—
Reply to this email directly or view it on GitHub
https://github.com/DataTables/ColVis/issues/41#issuecomment-125576221.

Column visibility state is part of DataTables core, so yes, this should automatically simply work. Does it not?

repo: DataTables/ColVis


text:
ColReorder with ColumnVisibility causing strange CSS problem

I'm in the progress of upgrading from DataTables 1.10.5 to 1.10.9, mainly because the old flash export tools (TableTools) are no longer working in current browsers.
It's nice to see that all extensions can now be downloaded together with DataTables in one nice clean package, great job! I do however have a problem when combining the ColReorder plugin with the Buttons/ColumnVisibility extensions. When loading the page initially, the column visibility drop down works fine, you can see the columns which are active with a blue background, and the columns which are not with a white background. When you click the column names the drop down options are updated accordingly and the columns appear/disappear fine.
However once you drag a column to change the order, the column visibility drop down options seem to get their styling messed up, they become all white-brackground and don't toggle when clicked anymore. also their height seems to change. The columns are however still disappearing/appearing correctly.
Stranger still, it is not fixed when reloading the page, the only way I found to fix it, is to comment out the colReorder : true line of DataTables config temporarily, refresh the page, then uncomment it again. When you reorder any column the problem appears again.
I've been comparing the styles/classes of a 'correct' (dropdown still working fine) page, with the ones of a broken one, and I cannot spot any differences...
I have managed to reproduce this problem in a JSFiddle using the datatables examples from the website, and my configuration parameters: https://jsfiddle.net/zyq550Ls/
You can see the problem happening when you reorder a column, then click the 'Column Visibility' button.

Thanks for posting this - please, in future, per the Contributing document post support requests in the DataTables forums.
I will take a look into this when I'm able to do so.

I did post it in the forums, last week, no reply since, I bumped the post 2 days but no reponse either.
Since I am confident this is a bug in one of the extensions I decided to create an issue about it

I understand - thanks for the explanation. With 40 new posts a day in the forum, plus many more e-mails it just isn't possible for me to answer every question. Could you give a link to your forum thread so we can link between them should anyone Google and find the page.

Oh sorry forgot that, I already linked to the issue in the forum thread: https://datatables.net/forums/discussion/30161/columnvisibility-with-colreorder-styling-issue#latest

see my pull request here: https://github.com/DataTables/Buttons/pull/28 for a fix for this issue.

See https://github.com/DataTables/Buttons/issues/26 for further information about this. It has been fixed in the Buttons repo.

authors: DataTables MuellerMatthew vyruz1986

repo: DataTables/DataTables


text:
Remove unused IMPLICIT members.

@vasilissoti Is it safe to remove IMPLICIT members?
I think it's okay since you're using prev_port.

I haven't removed implicit since I believe it will be used by non-Ansi module declarations.

authors: DaveMcEwan vasilissoti

repo: DaveMcEwan/svdata


text:
'' used to escape a '_' in the URL is invalid according to MD051

The '' character used to escape a '_' character in the URL is invalid according to MD051.
Example : [nfs](#module\_nfs) is invalid
But if I try here, it is correctly interpreted: https://spec.commonmark.org/dingus/?text=[nfs](%23module_nfs)
&smart=1
Is this deliberate behaviour?
I'm wondering because this breaks compatibility with terrafom-docs and I'd like to know whether I should ask them to correct this or not :-D

It should be unnecessary to escape the underscore in that scenario, but I need to look at the specifications to see if it's wrong to do so. I notice that the backslash is ignored in your example and by the markdown-it parser. I will look into this more when I'm not on my phone.

It seems to be ignored by the micromark parser as well.

CommonMark explicitly allows backslash escapes in link destinations: https://spec.commonmark.org/0.30/#example-22

Thank you so much for your responsiveness and all your hard work!

authors: DavidAnson FlorentPoinsaut

repo: DavidAnson/markdownlint


text:
Figure out how to get the original parameter names in the generated APIs

I think this means rebuilding Vert.x with different javac options before doing java.reflect things to it

Fixed by using an annotation processor to generate the code


text:
fixed some issues with css and readme.md, added a timing function

Replaced fluid-container class with container-fluid,
fixed some plain text spelling in readme.md file including a file name,
added my name in the contributors file,
added my name in the contributors' list in the footer section

Added a timing function to display time on the page

Really good work! I like the fixes and I think the timer is a cool feature! Thanks for contributing

authors: DavidMatthewFraser thetradecoder

repo: DavidMatthewFraser/easy-to-git


text:
use new keyword for object and array instantiation

Foo a = new Foo();
int[][] a = new a[2][3];

done

repo: DavidWatkins/Dice


text:
add wasnt behaving correctly

Moved everything down to additional, and removed the extra bit in code

This looks good 👍

authors: Dbz patmessina

repo: Dbz/kube-aliases


text:
[ WIP ] Changed Number to BigNumber

Update all Number to BigNumber #341

Closing for now, please open a new PR once you feel the changes are ready

Closing for now, please open a new PR once you feel the changes are ready

repo: DeFiCh/app


text:
fix(ui-ux): fix for portfolio page skeleton loaders

What kind of PR is this?:

/kind fix
What this PR does / why we need it:
Which issue(s) does this PR fixes?:

Fixes #2451
Additional comments?:
Developer Checklist:

[x] Read your code changes at least once
[x] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[x] No console errors on web
[x] Tested on Light mode and Dark mode*
[x] Your UI implementation visually matched the rendered design*
[x] Unit tests*
[x] Added e2e tests*
[x] Added translations*

@fullstackninja864 Are these all the changes asked by @kyleleow on the ticket?

@thedoublejay yes, these all the changes asked by @kyleleow on the ticket.

repo: DeFiCh/wallet


text:
Fix the bug in crc32_acle

On armv8-a platforms if --acle is enabled, zlib-ng will use crc32_acle
instead of the default crc32. However, in crc32_acle the __crc32b() is
used to calculate the crc result of two variables with types uint32_t
and uint64_t, which gives an error result.The correct function used
should be __crc32d().
Signed-off-by: Richael Zhuang richael.zhuang@arm.com

Good catch... It's actually hard to find ARM hardware that can run 64-bit version of Linux so this wasn't tested yet. A lot of 64-bit ARM boards still run only 32-bit Linux so it's identified as AArch64 in operating system.

@mtl1979  I found the problem when I use zlib-ng  as a binary replacement of zlib on our AArch64 platform. And I have tested it on AArch64.

@richael02 Sometimes it takes extra pair of eyes to notice small errors ;) gcc doesn't always issue warnings when compiling especially if char or char* is involved.

license: Zlib


text:
Consistently use Z_NULL to initialize the opaque object.

There's also an actual benefit to this. When using the unmodified zconf.h.in, compress.c and uncompr.c end up without a definition for NULL in both GCC and Clang, when compiling for the x86_64-unknown-linux-gnu target. Using Z_NULL here allows zlib-ng (without the gzip parts) to be compiled under this setup by just symlinking zconf.h.in to zconf.h, without having to run ./configure or CMake before, which is especially useful for projects that statically link zlib-ng or use Git submodules.

Looks good to me.
@mtl1979 Would this cause any problems with windows/mingw?

@Dead2 Instead of re-introducing Z_NULL, we should fix that NULL is always properly defined as running configure or cmake is already optional on various targets that don't use bash. Only point of running configure or cmake is to detect on native compile that specific instruction sets are usable.

@nmlgc could you please have a look at this commit and give your thoughts?
Replace Z_NULL with NULL. Fix incorrect uses of NULL/Z_NULL.

I only went with Z_NULL because zlib.h explicitly designates it as the constant to be used in this case, but if you want to get rid of it and include stddef.h by default, that works too.

We have been cleaning non-standard types from zlib-ng and Z_NULL is one of the last ones... It was most likely used to support non-standard C or C++ compilers that don't support "((void *)0)", which is standard definition for NULL. Like I mentioned above, one big reason to stick to standard types is so we get compiler warnings or errors when we assume compiler doesn't implicitly cast to compatible type when left and right side of assignment or operator have mismatched types.

I think we should keep a Z_NULL define in zlib.h though, for compatibility. I think it gets used externally.

@Dead2 Yeah... But we should define it as NULL instead of 0.

A NULL cleanup patch has been merged to develop