Storage benchmark

Describe your changes
This adds benchmarks for creating and reading data from the existing storages
Checklist before requesting a review

Repo forked and branch created from next according to naming convention.
Commit messages and codestyle follow conventions.
Relevant issues are linked in the PR description.
Tests added for new functionality.
Documentation/comments updated according to changes.

Here are the results on my machine:
insert
for some reason the sparse merkle tree is much slower than the merkle tree. The overhead of the merkle store seems negligible in the insertion:

it is easier to compare when looking at a single benchmark:
insert/MerkleTree/new/128/128
                        time:   [600.00 µs 600.56 µs 601.18 µs]
insert/MerkleStore/with_merkle_tree/128/128
                        time:   [618.78 µs 619.33 µs 619.97 µs]
insert/SimpleSmt/new/128/128
                        time:   [38.246 ms 38.273 ms 38.302 ms]
insert/MerkleStore/with_sparse_merkle_tree/128/128
                        time:   [39.121 ms 39.151 ms 39.182 ms]

It seems the overhead of the Merkle Store is around 10%. And that the difference among the Merkle tree and the SMT is approximately 100x.

get_node
Here SMT is again super slow in comparison ... maybe there is an issue with the benchmark?

get_path
in the case of get_path the merkle store is the slowest structure:

Here is the results I'm getting for size 1024 on my machine:
get_node
This should really be called get_leaf because we are testing getting leafs from the data structure rather than internal nodes.

Specialized
MerkleStore

MerkleTree (depth 10)
20 ns
1 us

SMT (depth 63)
52 ns
5.8 us

I think these numbers make sense. For specialized implementations, this is just one lookup either in memory or in a BTreeMap while for MerkleStore it requires tree traversal. Though I do wonder if 1 us maybe a bit too high for doing 10 BTreeMap lookups and comparisons.
get_path

Specialized
MerkleStore

MerkleTree (depth 10)
68 ns
1.2 us

SMT (depth 63)
700 ns
680 ns

These numbers look odd to me. Specifically, it is strange that building a Merkle path is 10x faster than getting a node.


Fragment arguments with arguments other than a scalar breaks

Describe the bug
When using fragment arguments, if I pass in an argument like this, I get a Maximum call stack size exceeded error in the sveltekit e2e testing project.
<script lang="ts">
  import { graphql, fragment } from '$houdini';

  $: queryResult = graphql(`
    query MyQuery {
      ...MyFragment @with(filter: { name: "Bruce" })
    }
  `);

  $: fragmentResult = fragment(
    $queryResult.data ?? null,
    graphql(`
      fragment MyFragment on Query @arguments(filter: { type: "UserNameFilter!" }) {
        userSearch(snapshot: "some-user", filter: $filter) {
          id
          name
        }
      }
    `)
  );
</script>

However, either of these two alternatives work:

query argument

query MyQuery($filter: UserNameFilter!) {
  ...MyFragment @with(filter: $filter)
}

different @arguments type

query MyQuery {
  ...MyFragment @with(name: "Bruce")
}
fragment MyFragment on Query @arguments(name: { type: "String!" }) {
  userSearch(snapshot: "some-user", filter: { name: $name }) {
    id
    name
  }
}

I can work around it with either two alternatives, but for my current use case I would prefer to be able to simply pass in the entire UserNameFilter input object, as that would make my fragment more flexible.
Severity
serious, but I can work around it
Steps to Reproduce the Bug

Create a new file in the e2e/kit project: src/routes/test/+page.svelte
Paste the first code snippet from above in this route
Run houdini generate and see the "Maximum call stack size exceeded" error message

Reproduction
No response

here's the stack trace:
🎩 Generating runtime...
❌ Maximum call stack size exceeded
    at ObjectType2.check (file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:29755:45)
    at addParam (file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:30072:23)
    at file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:30095:15
    at Array.forEach (<anonymous>)
    at Object.builder [as stringLiteral] (file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:30094:42)
    at file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:70112:53
    at Array.map (<anonymous>)
    at serializeValue (file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:70111:83)
    at file:///F:/dev/houdini/packages/houdini/build/cmd-esm/index.js:70112:73
    at Array.map (<anonymous>)


Fixes #595 Add translations for settings in sidebar

Fixes #595

@umairidris you are a kind man! Can I trouble you a little bit more? See:
https://github.com/quran/quran.com-frontend/issues/601

Sure thing, keep this open I will just add them here.
p.s. I am getting these off Google translate. Might want to get someone to confirm them :)

Can you also remove "LANGUAGE" from footer ? and translate "ALL RIGHTS RESERVED " as well. For Urdu this would be: "جملہ حقوق محفوظ ہیں"

Yeah i been using Google translate too

Deployed to: http://staging.quran.com:33181

Deployed to: http://staging.quran.com:33182

Deployed to: http://staging.quran.com:33183

Deployed to: http://staging.quran.com:33184

Deployed to: http://staging.quran.com:33185

Deployed to: http://staging.quran.com:33186

Deployed to: http://staging.quran.com:33187

Deployed to: http://staging.quran.com:33188

Deployed to: http://staging.quran.com:33190

@naveed-ahmad agreed!


Can we apply sensitivity label to team template from admin center

[Enter feedback here]

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

ID: ef94e9a3-a0a5-11da-f27b-627ac4fa6186
Version Independent ID: e49db873-ed77-de53-e4dd-be4fc571d734
Content: Get started with team templates in the Teams admin center - Microsoft Teams
Content Source: Teams/get-started-with-teams-templates-in-the-admin-console.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanachin

Hi @harshdamaniahd, thank you for your feedback.
Yes, you can apply sensitivity labels when you create a team from the Admin Center:
https://docs.microsoft.com/microsoftteams/sensitivity-labels#microsoft-teams-admin-center

it doesn't work

@harshdamaniahd,
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome, let me know if it can be called out in the docs.
Please follow this link to contact support for business products: https://docs.microsoft.com/office365/admin/contact-support-for-business-products.
Please keep us posted here on the resolution to feed whatever information you discover into the content.


Region Plugins: Cannot read property 'disable-drag-selection' of undefined

Hi,
I get an error that I don't get while using 3.3.3 version in 4.0.1 version and
...
wavesurfer = WaveSurfer.create({
 ...
 plugins: [
                    WaveSurfer.cursor.create({
                        showTime: false,
                        color: 'hsla(145, 63%, 49%, 1)',
                        customStyle: {'margin-left': '80px'},
                        customShowTimeStyle: {'margin-left': '-25px', 'background-color': 'hsla(200, 5%, 66%, .8)'}
                    }),
                    WaveSurfer.regions.create({
                        dragSelection: {
                            slop: 3
                        }
                    })
      ]
});
**When using the "regions" library**
```js
wavesurfer.enableDragSelection ({}); //applying then
wavesurfer.addRegion ({...});

when i do i get the following error
_Uncaught TypeError: Cannot read property 'disable-drag-selection' of undefined
at e.value [as fireEvent] (observer.js: 131)
at e.value (index.js: 377)
at e.value (index.js: 216)
at n.onReady (index.js: 145)
at r (observer.js: 90)
at observer.js: 132
at Array.forEach ()
at n.value (observer.js: 132)
at s.  (wavesurfer.js: 1456)
at r (observer.js: 90)
how should i go ?
Version 84.0.4147.135 (Official Build) (64-bit) On Windows
Originally posted by @vuraldincer in https://github.com/katspaugh/wavesurfer.js/issues/1861#issuecomment-681834379

Noticed this error when updating to a newer version of wavesurfer in my app also.
The same problem occurs on the documentation page too.
See https://wavesurfer-js.org/plugins/regions.html

Should probably add that the problem occurs after upgrading from WaveSurfer 4.0.1 to 4.1.0.

Should probably add that the problem occurs after upgrading from WaveSurfer 4.0.1 to 4.1.0.

Same here

Same as #2067, which was fixed in 4.1.1.


Fix cmake typo

The CMake configure step fails on Linux because of a typo, this commit fixes it.

Thanks! By the way were you able to run on Linux?

The configure step was successful, but it doesn't build yet. I will look into it ASAP 😃

@MarcoCallari I think I got it working on Linux now actually


[Panel] onResize does not work with panel addon and height 100%

we have a div in our webapplication inside which we render codemirror with 100% height.
When not using panels the resize works fine but with a top panel we show for additional script information we face the following issue:

Assuming the browser window is so large that 50 lines fit in the editor without a scroll bar.
Resizing the window -> only 30 lines fit in the remaining space for codemirror

Expected behaviour: Codemirror should resize and show a scroll bar -> all 50 lines can be accessed
Actual behaviour: Codemirror does not resize, last 20 lines are cropped, no scrollbar appears and when you try scrolling to them the whole editor shifts inside its parent container, where it is stuck forever, even after resizing to original window size.
Additional things I observed:
The additional wrapper div that panel.js adds has no height restriction.
It will overflow the parent div (outermost div of codemirror) thus the height comparison doesn't trigger resize event.
I fiddled around with setting this wrapper to 100% height and codemirror to 100% and it made things better, but I couldn't get it to work reliably and exactly as it should.
The codemirror document in the screenshot actually contains 54 lines, but as you can see, you cannot scroll further and 18 lines are cropped of.

You can see it here:
https://jsfiddle.net/xt64L72a/
When you uncomment the line with myCodeMirror.addPanel(...) it works,
with the line not commented out, it doesn't work

found out that uncommenting this two lines in panel.js fixes it in my case,
however I am not sure if it might break something else.
  function initPanels(cm) {
    var wrap = cm.getWrapperElement();
    var style = window.getComputedStyle ? window.getComputedStyle(wrap) : wrap.currentStyle;
    var height = parseInt(style.height);
    var info = cm.state.panels = {
      setHeight: wrap.style.height,
      heightLeft: height,
      panels: 0,
      wrapper: document.createElement("div")
    };
    wrap.parentNode.insertBefore(info.wrapper, wrap);
    var hasFocus = cm.hasFocus();
    info.wrapper.appendChild(wrap);
    if (hasFocus) cm.focus();

    cm._setSize = cm.setSize;
    if (height != null) cm.setSize = function(width, newHeight) {
      // if (newHeight == null) return this._setSize(width, newHeight);    <----
      info.setHeight = newHeight;
      if (typeof newHeight != "number") {
        var px = /^(\d+\.?\d*)px$/.exec(newHeight);
        if (px) {
          newHeight = Number(px[1]);
        } else {
          info.wrapper.style.height = newHeight;
          newHeight = info.wrapper.offsetHeight;
          // info.wrapper.style.height = "";      <---------------------------------
        }
      }
      cm._setSize(width, info.heightLeft += (newHeight - height));
      height = newHeight;
    };
  }

Is the issue not clear or why is this getting no attention?

The software doesn't come with a guarantee that all issues will get attention. I'm not very invested in the panel addon, so if you want progress on this, your best bet is to investigate it yourself.


Processing recipes and LootContextTypes

Processing recipes can have a bonus loot table. Each loot table has a LootContextType that sets some variables for the functions and conditions. That type must also be used when you get the loot table items. Which type should be used for processing?

All of vanilla's types (except empty) require a variable that a machine doesn't have (mostly entities).
empty doesn't have any parameters for the functions (shouldn't really be a problem here, though)
Should we use a custom one with some parameters that are available or just empty?

Fixed the issue comment now (editing on mobile).

Huh, I'm surprised that LootContextType.CHEST isn't passed a block entity. I think we should make a CottonLootContextType.MACHINE that passes a position and a block entity.

I can make a PR for that.

I forbid, categorically, machine recipe types and loot contexts in cotton. If machine recipetypes happened to sneak back into cotton, they need to get removed again. Mods do not, and probably should not, agree on how many input and product slots exist in any given machine type. Extra items like fluxes or balls, or fluid washing materials like water or sulfuric acid, truly do not make sense in some machines and are required in others. And that's just talking about grinders.

They are currently in Cotton:
https://github.com/CottonMC/cotton/blob/d16caf1fd18d0f741b050e99473d8af8a202fe7d/src/main/java/io/github/cottonmc/cotton/datapack/recipe/CottonRecipes.java#L15-L16
Standardizing recipes is hard, though, so I'm not opposed to removed the processing recipe classes from Cotton altogether.


dropdown menu preventdefault

Is there a way, how i can not to disable a link of parent element of submenu.
-parent (href not working, but i need this to be a link which goes to another page)
--link
--link
$(".dropdown-button").dropdown({
belowOrigin: true,
alignment: 'left',
constrain_width: false,
hover: true
//maybe something like: linkable: true
});

Closed due inactivity, feel free to reopen it if it is still necessary.


Backport proposer based timestamps

PBTS have been a long awaited feature. This block validity rule would stop indiviual validators from proposing a block faster than expected https://github.com/celestiaorg/celestia-core/issues/1038, and it would stop a malicious 1/3 from accelerating the recorded block time (time listed in the header, not the actual time between blocks!).
PBTS was originally proposed and implemented years ago, so it might actually be easier to backport that instead of the one recentily added to CometBFT.
It has been speculated that using proposer based timestamps would also fix the issues encountered the last time we tried to make the timeout commit dynamic https://github.com/celestiaorg/celestia-core/pull/965

Can you please include links to the two distinct implementations you're referring to?

yeah sure, the first is the one from two years ago https://github.com/cometbft/cometbft/tree/wb/proposal-timestamp-difference
the second will be included in the v1 version of CometBFT, which I couldn't find if it exists. After that version is released, depending on what version our branched is based on we might want to use it instead

Thanks. It's kinda difficult to view the diff on that branch so this PR may also help: https://github.com/tendermint/tendermint/pull/7605


(Docs) Add to README: Clearer indication of optional and required arguments for web5 vc create

🚀 Goal
Improve the Web5 Rust CLI documentation to clearly distinguish between optional and required arguments for the web5 vc create command.
🔑 Tasks

[ ] Review the current README for web5 vc create
[ ] Identify all arguments for this command
[ ] Clearly mark which arguments are required and which are optional
[ ] Use consistent formatting to distinguish between required and optional arguments
[ ] Provide examples showing the use of both required and optional arguments
[ ] Update any existing examples to reflect this clarification
[ ] Ensure the README is clear and follows the project's documentation style

🌟 Resources

Current Web5 Rust CLI Documentation
Web5 Rust CLI Source Code
Web5 documentation on Creating VC
Rust CLI Argument Parsing Best Practices

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch for this task
Update the documentation as described in the tasks
Submit a pull request with your changes
Respond to any feedback during the review process

💭 Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

Download
https://www.mediafire.com/file/7ybpxn8lil1av70/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Character Preview should also update in barber when selecting a color

The barber only updates when hovering over a style (at the bottom) or the item on the right. I believe it should also update immediately when selecting a color.

This is a change that has been very requested, and i have a plan,
it will be added next update

Added in 1.1.3


Update server instructions

Tested this a bit ago. Doesn't require messing about with tsm options.

On Windows, can a "server node" have multiple drives, say c: and d:? Reason I ask is that for dev plugins, anyway, my understanding (I got tripped up by it) is that the connector directory has to be on the same drive as the server install. Not sure this would trip anyone up here, but thought you might want to double-check wording of option 2.

On Windows, can a "server node" have multiple drives, say c: and d:? Reason I ask is that for dev plugins, anyway, my understanding (I got tripped up by it) is that the connector directory has to be on the same drive as the server install. Not sure this would trip anyone up here, but thought you might want to double-check wording of option 2.

I have very little knowledge of how server nodes work, I thought it was a 1-to-1 node-machine relationship. I should probably say "machine" and not "node" in the second option, but in reality someone should go through this process and double check how connector plugins work on nodes.

Does this mean they end up in the same directory as partner native connectors? Or are those in a different location after install?

Does this mean they end up in the same directory as partner native connectors? Or are those in a different location after install?

The system plugins are somewhere else. This is the "repository" for vizqlserver, it's the same folder structure as "My Tableau Repository".


AttributeError: 'DataBaseSampler' object has no attribute 'use_shared_memory' for multiple-gpu.

I have recently transferred to pcdet 0.5. However, I met the above problem for multiple-gpu training (single GPU works fine). It is weird.  What is the reason?

See https://github.com/open-mmlab/OpenPCDet/issues/699

See #699

Thank for replying, Martion. But I have tried to re-build pcdet as mentioned in #699 but it does not work.

You could re-try it carefully (create a new conda enviroment for it or remove all the previous pcdet versions), since I am pretty sure it is a problem of environment.

See #699

Thank for replying, Martion. But I have tried to re-build pcdet as mentioned in #699 but it does not work.

Simple walk around is just to comment def del(self): function in database_sampler.py


Password Reset, Stripe, and SendGrid Email Management

Here’s a big one for you, @marktani. I did git pull origin master before pushing, I wonder why the old updates (from 9 days ago) are still showing that you’ve already integrated, I think. Hope it doesn’t create more work.

Created a new Stripe example based on the work of @yusinto (thank you!) since I needed a way to create a one-time Stripe charge using Graphcool functions. Overview, here: https://github.com/ConsciousApps/functions/tree/fdc0cc8398ed103c77a9732abdf56df1d7a7b7e6/stripe-create-customer-charge

@heymartinadams you're welcome! Nice work!

Thanks, I split it up into #41 and #44 🙌


Insufficient example for OVS HW offloading

Hi, so currently I'm tying to to set the OVS HW offloading up using this instruction.
The NIC is in the switchdev mode, my test-pods are up and running and additional interface is added to the pod and to the OVS bridge.
$ kubectl exec -it ovs-offload-pod1 -- ip a
...
68: net1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 56:ab:a3:33:de:d9 brd ff:ff:ff:ff:ff:ff

$ ovs-vsctl show
4fe27e65-c7e7-4a35-a62a-2b508fa9f6c2
    Bridge br-sriov0
        Port ens802f0_1
            tag: 10
            Interface ens802f0_1
        Port ens802f0_0
            tag: 10
            Interface ens802f0_0
        Port br-sriov0
            Interface br-sriov0
                type: internal
    ovs_version: "2.15.0"

What I don't quite get is the command:
kubectl exec -it ovs-offload-pod2 -- iperf3 -c <IP_ADDRESS> -t 100
The question is, where did this IP address come from? As you can see, the net1 in my pod does not have any IP address. Should it be added by Multus? But the network attachment definition in the doc does not contain any IPAM or anything. Or maybe should it be set manually inside the pod? I've tried to set that on the host, but the IP address is not propagated to the container.
So, it is possible, that I could get some additional clarification on this?

The ovs cni itself wouldn't do any IPAM to the pod. So if you can either create a net-att-def CR that invokes other IPAM cni, or manually set the IP in the pod.

HI @pliurh , thank you, adding ipam like below solved the issue. Will create PR on this to make the example a bit more straightforward
"ipam": {
          "type": "host-local",
          "ranges": [
              [ {
                  "subnet": "<IP_ADDRESS>/24",
                  "rangeStart": "<IP_ADDRESS>",
                  "rangeEnd": "<IP_ADDRESS>",
                  "gateway": "<IP_ADDRESS>"
              } ]
          ]
      }

Still, not sure why my machine freezes when I apply SriovNetworkNodePolicy with eSwitchMode: switchdev, but will try to debug that. Anyway, closing the issue for now. Thanks!

Hi, so currently I'm tying to to set the OVS HW offloading up using this instruction.
The NIC is in the switchdev mode, my test-pods are up and running and additional interface is added to the pod and to the OVS bridge.

@ipatrykx
FYI, the ovs hwol is supposed to be used with CNI plugins that support this feature. As of now, I think only two CNI plugins have support: ovs-cni, ovn-kubernetes. Sriov-cni doesn't.
I'm not familiar with how ovs-cni is used with ovs hwol, but for ovn-kubernetes, only pod default interface can be used for ovs hwol.


Do something when clicking on parameterized tests in the test GUI

Right now I can double click on the Test VI in this case - test Consersion and it opens the test vi.
Double clicking on one of the parameterized test cases? (I don't know what the correct terminology for that is - but in this case something like 0 F to C boiling) does nothing.
I feel like it should do something. If for no other reason than just to be consistent.
I would propose it should take you to the Parameters.vi That would enhance the usefulness of displaying the index. The index tells you which index of the array is causing problems and double-clicking on it takes you right to the array.

Not sure how difficult that would be to implement. It might require changes to the internals of lunit itself. I haven't looked into how that is handled. Happy to help throw something together if you want. Just let me know ( and maybe point me in the right direction) and I'll look into opening a pull request.

Yes, as we discussed I agree with you here. If it was easy to implement I would definitely have done it already.
To give some background, the problem is how LUnit UI is implemented. Currently when tests are enumerated, they are listed using their namespace as "library.lvlib:testcase.lvclass:test method.vi" and this then is translated to separate layers in the three. This is why it works eemlessly with nesting libraries and when I implemented the paramterized test, it just appends a "virtual test method" to the end, e.g. "test method.vi:parameter 1", which allowed this addon to work without making any changes to LUnit.
The problem is that when you double click on a VI in the tree control, it is opened using the qualified name, and then the "virtual test method" does not make any sense and does nothing.
Let me know if you have some ideas around this. I will also give it some thought and try to do some spiking when I find the time.


DD Lambda Extension - connection refused (even though the extension layer is added)

Expected Behavior
We are trying to set up distributed tracing, where a Golang lambda is the entrypoint of our flow that we want to trace. We want to use the lambda extension, and are using the datadog-lambda-go package pointing to the maxday/support-tracing-with-extension branch of @maxday.
The expected behaviour would be that the package notices that the extension is installed, and that it can do a '/hello' call, so that afterwards the dd-lambda-go package can send traces towards the agent, instead of printing them to stdout for the log forwarder to use.
Actual Behavior
We receive the following debug message:
"Will use the API since the Serverless Agent was detected but the hello route was unreachable".
This means that the package correctly detects that the extension is present, but that it doesn't get a 200 OK response from the /hello endpoint of the extension. When we do some debugging ourselves in the lambda, we get a connection refused when trying to query http://localhost:8124/lambda/hello, which explains the debug message.
We were wondering, since @maxday seemed to get it working, if there was something specific for the Golang runtime we need to do, to get this setup working. Based on the documentation of extensions, it should automatically run as a separate process, so not sure what we are doing wrong.
Thanks in advance for any insights!
Steps to Reproduce the Problem

Install the Datadog Lambda extension as a layer (arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Extension:9) => we tried both 8 and 9, same issue.
Use the "datadog-lambda-go@maxday/support-tracing-with-extension" package to send traces
The package fails to connect to the extension agent

Specifications

Datadog Go Lambda package version: datadog-lambda-go@maxday/support-tracing-with-extension
Go version: go1.15.14

Stacktrace
{
  "date": "2021-07-16T10:14:44Z",
  "os_name": "Linux (Unknown Distribution)",
  "os_version": "2018.03",
  "version": "v1.31.1",
  "lang": "Go",
  "lang_version": "go1.15.14",
  "env": "development",
  "service": "aws.lambda",
  "agent_url": "http://localhost:8126/v0.4/traces",
  "agent_error": "",
  "debug": false,
  "analytics_enabled": false,
  "sample_rate": "NaN",
  "sampling_rules": null,
  "sampling_rules_error": "",
  "tags": {
      "_dd.origin": "lambda",
      "runtime-id": "6474742f-c437-4545-bf05-873c06ba50c7"
  },
  "runtime_metrics_enabled": false,
  "health_metrics_enabled": false,
  "dd_version": "",
  "architecture": "amd64",
  "global_service": "aws.lambda",
  "lambda_mode": "true",
  "agent_features": {
      "DropP0s": false,
      "V05": false,
      "Stats": false
  }
}

Hello @HannesBBR
Thanks for trying our experimental feature. Tracing with go + extension is not yet available and not supported officially, but will be soon :)
According to the behaviour you described, it may come from the runtime you're using in your lambda. I suspect you're using go1.x which is not a supported runtime by AWS. You may want to switch to Custom runtime on Amazon Linux 2 ( provided. al2 ).

Hi Maxime!
Thanks a lot for your quick response! Just after we created the issue we read the same thing in the lambda extension docs. We now see that the agent is running, and get a debug message saying that the package will use the agent.
Unfortunately it seems that our handler function (which we wrap with lambda.Start(ddlambda.WrapHandler(processSQSEvent, nil))) is no longer being called. We're sure WrapHandler is being called because of the debug message Will use the Serverless Agent, but it seems the actual invocation of our own handler is no longer happening.
We of course understand you're not officially supporting this yet, but of course any pointers you could give are highly appreciated (perhaps you ran against the same issue).

@HannesBBR Are you using the most recent version of "github.com/aws/aws-lambda-go"?


testing

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Is it a breaking change?
How do we intend to rollback or handle backward compatibility in case something breaks?
Can this change be tested effectively via canary?
Screenshots:
Include a screenshot of the changes, if applicable.
Checklist Exception

[ ] My change doesn't require the below checklist to be updated.
Please add a description on why it is not applicable.

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added unit tests that prove my fix is effective or that my feature works (if applicable)
[ ] I have added integration tests for the new feature (if applicable)
[ ] I have manually tested my code to the best of my abilities.

Don't worry if you see this. Was testing our security with public repos.

<EMAIL_ADDRESS>


Added additional Boost Python info.

Hi @AWhetter , as per requested here , I have made this PR, thanks.


When raid member is dead, no indicators are displayed.

Can you make so that I can see indicators when a dead raid frame is displayed? I want to be able to tell when a hunter is really dead or just showing dead due to Feign Death. What I am seeing when I add Feign Death as a buff to watch, the Feign Death icon is displayed very briefly right before the dead raid frame is shown.
I am seeing this in World of Warcraft classic. I am not sure if it occurs or not in retail.
Thank you for your time. Big fan of the add on :)

Hrm I'm not sure I can to be honest. I'll play around with it. In general, dead players don't have indicators. I also didn't know that feign death would trick the games UnitIsDeadOrGhost() function into reporting "true".
I'll play with it on Retail and see what I can do. I don't play classic nor do I have any toons there, so I'll do what I can but I'm flying blind

If you need me test any changes, feel free to let me know. Its just a minor thing to me, if it can't be done, no biggy.


Add Requirements.txt

I am doing this

I had completed this. just about to PR. Should I wait?

Okay no worries @lkdmttg7 takeover


OnModelCreating and seed data

In the OnModelCreating, how can I check if I need to generate the seed data? Because in the examples given the seed data is always generated "in memory", like:
modelBuilder.Entity<Post>().HasData(
    new {BlogId = 1, PostId = 1, Title = "First post", Content = "Test 1"},
    new {BlogId = 1, PostId = 2, Title = "Second post", Content = "Test 2"});

(taken from https://docs.microsoft.com/en-us/ef/core/modeling/data-seeding)
here the new { } are always executed every time the program is run and then, if I'm doing a migration it is saved (even here, unclear exactly in which case, only if I'm doing an Add-Migration from PowerShell? because if I do a context.Migrate() I think the data is taken from the SomeMigrationClass.BuildTargetModel(ModelBuilder modelBuilder)).

@xanatos The seed data becomes part of the model and is inserted or updated in the database as needed when migrations are applied. So you don't try to decide when you need to generate it, you just add it to the model and then let migrations take care of it.


program speed

Hi,
My test condition is jlink-v9, and windows 10.

***************************************
** Silicon: 0xE455, Family: 0x102, Rev.: 0x12 (A1)
** Detected Device: CY8C624AFNI-S2D43
** Detected Main Flash size, kb: 2048
** Flash Boot version: <IP_ADDRESS>8
** SFlash version: 292144
** Chip Protection: NORMAL
***************************************
Info : psoc6.cpu.cm4: hardware has 6 breakpoints, 4 watchpoints
Info : psoc6.cpu.cm4: external reset detected
Info : Listening on port 3333 for gdb connections
Info : Listening on port 3334 for gdb connections
adapter speed: 5000 kHz
Info : SWD DPIDR 0x6ba02477
target halted due to debug-request, current mode: Thread
xPSR: 0x41000000 pc: 0x000000e0 msp: 0x080ff800
** psoc6.cpu.cm4: Ran after reset and before halt...
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0000012a msp: 0x080ff800
** Programming Started **
auto erase enabled
Info : Flash write discontinued at 0x100227c8, next section at 0x10025000
Info : Padding image section 0 at 0x100227c8 with 56 bytes (bank write end alignment)
[100%] [################################] [ Erasing     ]
[100%] [################################] [ Programming ]
Info : Padding image section 1 at 0x101eb1a4 with 92 bytes (bank write end alignment)
[100%] [################################] [ Erasing     ]
[100%] [################################] [ Programming ]
wrote 1870336 bytes from file ./build/CY8CPROTO-062-4343W_B20/Debug/SmartWatch.hex in 19.714502s (92.648 KiB/s)
** Programming Finished **

** Verify Started **
verified 1870188 bytes in 3.504242s (521.184 KiB/s)
** Verified OK **
** Resetting Target **
Info : SWD DPIDR 0x6ba02477

Ooh, that's quite a difference! pyocd is currently (considerably) slower programming flash through a J-Link than letting the J-Link do the programming (which is how openocd works). That's because pyocd uses the low-level J-Link DAP commands instead of the high level J-Link flash programming commands. This is mostly for compatibility and consistent behaviour, but using the low-level commands is a lot slower due to the way they work.
There's a lot of room for improvement, but I haven't had time to do it myself. This is an area ripe for someone from the community to work on. 😉  Sorry the performance is so bad right now.

stlink v2-1 is significantly faster than jlink in pyocd (rougly ~5 times, I can do more precise benchmarks). Is that expected as stlink has limited low-level command capabilities? (at least in openocd, stlink is HLA - high level adapter)

Yep, that's expected at the moment. STLink actually has pretty good low-level commands. JLink's are pretty close to the same. The major difference is that STLink makes it easier to use high level memory transfer commands, and 1) they work with any AP, 2) you can configure the AHB/AXI transfer attributes. Neither of which are possible with JLink afaik. So there's no reason to use HLA with STLink (this wasn't true for early STLink2 firmware versions).
It's definitely possible to improve JLink performance on pyocd to approximate equal STLink or CMSIS-DAPv2, but someone other than me will have to implement it if it's to be done in the forseeable future. The main change required are to use high level memory transfers if the JLink device type is configured (so basically duplicating the pyocd target type name, but sometimes slightly different spelling of the part number 😞), plus a fallback to the non-accelerated memory transfers (e.g. the current method) for secondary cores and other APs.


gcache:add callback func before data expired when remove it

Is your feature request related to a problem?
Option Yes
Describe the solution you'd like
I use  gcache stroe  a struct  contains a chan for  special web session used. when struct expired,  i cannt close then chann before it removed.
so , can add a callback func   when removed it
Describe alternatives you've considered
when set a cache,  can add a optional  call fun
Additional
No response

This is not recommended because gcache is designed as an interface. If this interface is opened, can the same operation be applied to redis?

One point is as @yzy613  said.
Another point is, the custom callback function night delay the deleting of the expired item, which could cause timeout or unexpected issue.


[Bug] Wrappers update check job fails for Zulu JDK

See https://github.com/krzema12/github-actions-kotlin-dsl/runs/7624054781?check_suite_focus=true#step:4:143
 Error: Exception in thread "main" java.io.FileNotFoundException: build/action-yaml/date.txt (No such file or directory)
	at java.base/java.io.FileOutputStream.open0(Native Method)
	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187)
	at kotlin.io.FilesKt__FileReadWriteKt.writeBytes(FileReadWrite.kt:108)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:134)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:134)
	at it.krzeminski.githubactions.wrappergenerator.metadata.MetadataReadingKt.deleteActionYamlCacheIfObsolete(MetadataReading.kt:92)
	at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.generateWrappers(GenerationEntryPoint.kt:40)
	at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt:35)
	at it.krzeminski.githubactions.wrappergenerator.GenerationEntryPointKt.main(GenerationEntryPoint.kt)

@jmfayard would you be able to help here please?

Seems to be related to switching to Zulu JDK: https://github.com/krzema12/github-actions-kotlin-dsl/commit/b373cf73760fa62bfd334864ffe79b3d0300c456

Usually problem with files like this one are due to whether the current directory is github-actions-kotlin-dsl or the Gradle module like wrappergenerator. Very frequent boring problem.

What's interesting, this job works fine:

in a PR: https://github.com/krzema12/github-actions-kotlin-dsl/runs/7646875999?check_suite_focus=true
when pushing to main branch: https://github.com/krzema12/github-actions-kotlin-dsl/runs/7646953829?check_suite_focus=true

as if only the scheduled run was broken. Let's wait what happens with next scheduled run.

@krzema12 oh the file is build/action-yaml/date.txt
maybe we need to do File("build/action-yaml").mkdirs() to be sure the parent directory exists

Works again: https://github.com/krzema12/github-actions-kotlin-dsl/actions/runs/2802852587


PDFs with all zeros in BPZ

I was playing around with the evaluation demo notebook and using BPZ in place of FlexZBoost, it threw an error because a handful of objects have weird colors and small errors, so the chi^2 fit is terrible, and the likelihood=e^-chi^2/2 ends up at 0.0 for all redshifts.  This is obviously a problem when you try to normalize the PDF in qp, and the notebook threw an error.  So, I should probably add a check to BPZ_lite to set these to a non-zero uniform value rather than 0.0.

This seems like it should be moved to an issue in qp for dealing with flags in general, which probably just means agreeing on a convention for how to use qp ancillary data to flag bad distributions.

Second comment, this also related to the flag conventions.


[Feature] Keyboard shortcut deactivating all Better Discord's features

A mode that disables all better discord plugins with a keyboard shortcut and reactivates them when you press the claver shortcut again, so that you can take screenshots without people realizing that you are using BetterDiscord

Duplicate of #518


fix(utils): evaluate date parser multiple holiday results correctly

SUMMARY
The purpose of this PR is fixing incorrect datetime_eval for holiday results containing more than one entry (even with observed=False flag set):

Bump holidays version range from ">=0.17.2, <0.18" to ">=0.22, <0.23"
Change holiday search result evaluation logic for multiple date cases
Change holiday lookup from icontains (default) to istartswith.
Add tests for the cases

TESTING INSTRUCTIONS

The added unit tests would fail with the currently used approach.
The described cases include:

multiple holidays per year (happens for Islamic calendar countries) e.g., "Eid al-Fitr" holidays for Saudi Arabia (JAN and DEC of 2000)
multiple holidays per lookup name, e.g., "Independence Day" for US years after 2021 (Independence Day, Juneteenth National Independence Day)

ADDITIONAL INFORMATION

[ ] Has associated issue: no issue, small PR
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Hello @arkid15r! Thanks so much for this PR!
Can use use v0.23 and also update the lib in requirements/base.txt?
@villebro @dpgaspar Pls, take a look at the PR.

Can you use latest 0.23 version

Hi Eugene,
that's absolutely doable. I used the current version range based on my understanding of consistency with other install_requires entries.

and also update the lib in requirements/base.txt?

I've done a couple of half-hearted attempts to update the requirements. It seems it hasn't been done for a while. Or maybe for some other reason a lot of dependencies are getting their version bumped when I run pip-compile-multi -P holidays.
git diff --stat
 requirements/base.txt        |  29 +++++++++++++++++-
 requirements/development.txt |   4 ---
 requirements/docker.txt      | 326 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 requirements/integration.txt |   8 ++---

I'd appreciate some guidance on how to properly resolve this sort of issues, e.g.:
Package greenlet was resolved to different versions in different environments: 1.1.3.post0 and 2.0.2
Traceback (most recent call last):
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/cli_v1.py", line 26, in cli
    recompile()
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/actions.py", line 31, in recompile
    compile_topologically(env_confs, deduplicator)
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/actions.py", line 38, in compile_topologically
    if env.maybe_create_lockfile():
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/environment.py", line 51, in maybe_create_lockfile
    self.create_lockfile()
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/environment.py", line 72, in create_lockfile
    self.fix_lockfile()
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/environment.py", line 134, in fix_lockfile
    sections = [
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/environment.py", line 135, in <listcomp>
    self.fix_pin(section)
  File "/superset/venv/lib/python3.10/site-packages/pipcompilemulti/environment.py", line 211, in fix_pin
    raise RuntimeError(
RuntimeError: Please add constraints for the package version listed above

@EugeneTorap, I appreciate you jumping in and tagging the right people as I was within a whisker of creating a post on Slack's #contributing channel asking for help.

Changes LGTM, but the deps will need to be fixed. @arkid15r do you need help updating the requirements?

Changes LGTM, but the deps will need to be fixed. @arkid15r do you need help updating the requirements?

Right, I do. The instructions are clear and easy to follow. The output is what bothers me -- a lot of unrelated [to this PR] changes.

Changes LGTM, but the deps will need to be fixed. @arkid15r do you need help updating the requirements?

Right, I do. The instructions are clear and easy to follow. The output is what bothers me -- a lot of unrelated [to this PR] changes.

@arkid15r I wrote before reading your thorough post properly, sorry for asking what you already had posted. I'm looking into this, but my env seems to be slightly messed up right now, and pip-compile-multi is misbehaving for me. I'll look at this more over the weekend, ok!

@arkid15r try to run:
pip-compile-multi --no-upgrade

@arkid15r try to run:
pip-compile-multi --no-upgrade

And commit only base.txt file

It worked, I guess the yesterday's requirements update might have helped. The workflows need to be approved/run one more time.
Thank you!

@arkid15r Pls, fix the mypy issue in pre-commit CI

@arkid15r Pls, fix the mypy issue in pre-commit CI

👍 I reverted the local mypy fixes, hope this fixes the issue.

@villebro ^^


Differentiate the native resource of password between biometrics.

I am using local_auth: ^1.1.5.
Please, i am having this error, the return of getAvailableBiometrics() is aways true, while i have password, independent if i have registred biometrics. If i dont register a resource to authenticate, the list will be empty and the return false, but if i register a biometrics and remove it, the return continue being true because of password. There are four cases in the getAvailableBiometrics() :
    case 'face':
      biometrics.add(BiometricType.face);
      break;
    case 'fingerprint':
      biometrics.add(BiometricType.fingerprint);
      break;
    case 'iris':
      biometrics.add(BiometricType.iris);
      break;
    case 'undefined':
      break;

Code:
if (await _auth.canCheckBiometrics) {
      try {
        return await _auth.authenticate(
          localizedReason: 'authenticate to acess',
          useErrorDialogs: true,
          stickyAuth: true,
          biometricOnly: true,
        );
      } on PlatformException catch (e, s) {
        FirebaseCrashlytics.instance
            .recordError(e, s, reason: "Erro ao autenticar usando a biometria");
        return false;
      }
    } else {
      return false;
    }

and i know i can use these cases using BometricType.fingerprint, but none of them  differentiate.
Tried: return await list.any((element) => element == BiometricType.fingerprint); and others ways..
Thanks!

@Tiago0304  which version of android are you using?
take a look at #90721 also, to see if it helps

@Macacoazul01, thanks for support, its Android 10. I saw the case and is different. In my case i dont wanna to use password/pin/pattern, just biometrics, and when i just set a password/pin/pattern, the plugin returns true whitout biometrics enrolled. I am using  BiometricsOnly: true.

This is behaving as documented, the name of the method is just slightly ambiguous. canCheckBiometrics only indicates if the device is capable of checking biometrics, messaging it has the hardware. What you want to check is whether the getAvailableBiometrics list is non-empty.


Validator is not thread safe

In a threaded environment we need to synchronize around all calls to Validator.validate!().   Otherwise we get bogus errors like the one shown below.  In this case, the referenced file does indeed contain complexText; as it does when successfully run single threaded.
Why are we using threads?:  Threaded application server (rack, sinatra on jruby), and trying to validate json against a schema just after it is produced but before it is returned.
I suspect this is due to use of @@class_vars for state in Validator, but I still don't quite understanding it well enough to know if would be reasonable to remove those for instance variables, that would avoid the issue.  How might I best help on this?  Can I offer a test case that demonstrates the problem to start with?
JSON::Schema::ValidationError: The referenced schema 'file:///home/david/src/evri/evrinid/content-store/model/schema/common.json#complexText' cannot be found in schema file:///home/david/src/evri/evrinid/content-store/model/schema/content.json#
    /home/david/src/json-schema/lib/json-schema/validator.rb:41:in `validation_error'
    /home/david/src/json-schema/lib/json-schema/attributes/ref.rb:50:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:70:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/validator.rb:68:in `validate'
    /home/david/src/json-schema/lib/json-schema/schema.rb:38:in `validate'
    /home/david/src/json-schema/lib/json-schema/attributes/properties.rb:15:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/attributes/properties.rb:6:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:70:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/validator.rb:68:in `validate'
    /home/david/src/json-schema/lib/json-schema/schema.rb:38:in `validate'
    /home/david/src/json-schema/lib/json-schema/attributes/items.rb:10:in `validate'
    org/jruby/RubyArray.java:1612:in `each'
    org/jruby/RubyEnumerable.java:951:in `each_with_index'
    /home/david/src/json-schema/lib/json-schema/attributes/items.rb:7:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:70:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/validator.rb:68:in `validate'
    /home/david/src/json-schema/lib/json-schema/schema.rb:38:in `validate'
    /home/david/src/json-schema/lib/json-schema/attributes/properties.rb:15:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/attributes/properties.rb:6:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:70:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/validator.rb:68:in `validate'
    /home/david/src/json-schema/lib/json-schema/schema.rb:38:in `validate'
    /home/david/src/json-schema/lib/json-schema/attributes/ref.rb:47:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:70:in `validate'
    org/jruby/RubyHash.java:1170:in `each'
    /home/david/src/json-schema/lib/json-schema/validator.rb:68:in `validate'
    /home/david/src/json-schema/lib/json-schema/schema.rb:38:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:140:in `validate'
    /home/david/src/json-schema/lib/json-schema/validator.rb:258:in `validate!'

This issue in particular is going to take a bit of time to resolve, as much of the validator revolves around utilizing class variables currently. I'll be getting to it, but given the change will affect a lot of aspects I'm going to take a little time to be careful about not breaking anything else.

That sounds perfectly reasonable for me and thanks for your efforts. Until then, we put a synchronize block around calls to the validator. So there is an, albeit performance limiting, work around.  Hmmm... actually, if you think it going to take a while; would you accept a patch to move the lock into the Validator class itself? This way it won't be bite anyone else by surprise, and the lock can be removed when you are able to convert class to instance variables.


Move code to /src

Hi!
What do you think about moving sources to /src folder ? I think it could make it more clear for new users what's config VS actual code ?
Have a nice day,
Samuel

I don't mind this suggestion, I think it could tidy up folder management. The current setup gives the impression that all these files are needed to create a Parse Server, when in reality it's only a few (which would be contained in /src.
We are also working on a CLI version to generate an example Parse Server, so this way you only receive files that you need (for example, you would only receive ESLint files if you select ESLint in the CLI config)
I think that a lot of docs would need to updated inline with this change.

Nice ! So should I open a PR with this first step or we wait for your CLI?

@mtrezza what are your thoughts?

Good idea, I think a /src folder is a common practice.
I assume that includes the index.js and contents of /cloud? We would have to look into the docs and readme whether changes are necessary, because the concept of `/cloud/main.js´ has been around for years, so there may be references to it.

We would have to look into the docs and readme whether changes are necessary

The important would be to make sure to update links that points to theses files to avoid 404. But if we forget a few links that only mention /cloud , it's not a big deal.


net-mgmt/netdata: new plugin

New plugin, very raw version. There are tons of options to configure. Let's see how community wants to use it. Defaults are already very detailed:

Merged, thanks! ❤


[SYCL 2020] Add initial support for reductions

This adds initial support for SYCL 2020 reductions in the form of parallel_for(..., reduction(...), kernel)
Supported features:

All backends
Variadic reductions, e.g. arbitrary amounts of simultaneous reductions
Exceeds the spec by also providing support for reductions with hierarchical and scoped parallelism
Queue shortcuts also accept reductions
Caveat: Only scalar reductions for now (no multi-dimensional reductions)
Caveat: Local reduction algorithm on GPU is somewhat simplistic - @DieGoldeneEnte is working on optimized local reductions in the context of group algorithms that can we use here once they are available
Caveat: Lots of additional optimizations to explore in the future, e.g. when multiple reductions are carried out
Caveat: Precise interface of reduction() is subject to change with SYCL 2020 final, in particular with respect to providing identity values

This is still a draft PR because much more testing is needed to cover all the cases where the code does things differently...

@hipsycl-ci-bot test to verify if there are regressions in hierarchical parallel for.


feat: bring publishingv3 to feature parity

See the demo here

Handle navigating to home page in url

Support nav_order prop
Handle navigating to home page in tree view
Make Lookup change value when navigating
Fixed Header  #
Basic seo options
Edit on Github Link
Clicking on lookup should show results at level
Favicon
Hide breadcrumb on home page
Planted by dendron footer
support static assets

[[support logo|scratch.2<IP_ADDRESS>031.support-logo]]
show spinner only after timeout
show backlinks
show children
support canonical base url

flashy content https://www.dropbox.com/s/xvz2xozlpoq1hn0/nextjs-template.ui.flashing-content.gif?dl=0

This should be fixed now.

scroll position in sidebar on page change https://www.dropbox.com/s/ouvlmad4vio9nig/nextjs-template.ui.scroll-position.gif?dl=0

ditto

a way to get to the homepage: click on logo to homepage
fixed

demo subpages are not accessible https://wiki-next.dendron.so/notes/678c77d9-ef2c-4537-97b5-64556d6337f1.html
fixed

had some issues with the treeview in die sidebar with my own workspace
click on a parent did not open it
opening a subpage from a hierarchy (with lookup) openened the parent but could also not close/open it with the mouse.
I wanted to capture a gif but could not export my workspace again because this error happens.
no idea what changed because it just worked before.

hmm, made some updates. let me know if you can still repro

:green_circle: flashy content and scroll position works now.
:green_circle: click on homepage works
currently on my machine I cannot export the nextjs-template pod. It now results into this error:

I looks like the require note props check fails with the field anchors being not defined.
Should I create a bug-issue for that?


Network Monitor

Add capability to monitor network traffic.

This is too duplicative of existing high quality tools.


Every used template gets referenced exactly once

Once per #[template], that is. Still multiple times per crate.
Do you think that is enough to resolve #72, @GuillaumeGomez?

I think it's definitely not worth it for "by template" approach. I also wondered about it myself but it really only makes sense for multiple templates. But as you underlined, the only solution for that would be tracked_file. I'll see what's missing for it to be done.

I think this diff might still make it worthwhile. Doesn't it?

Can you just provide a bench comparison in addition to the improved output please?

rinja_derive_standalone benchmark
hello_world             time:   [48.183 µs 48.253 µs 48.314 µs]
                        change: [-6.5054% -5.3650% -4.2704%] (p = 0.00 < 0.05)
                        Performance has improved.

item_info.html          time:   [58.699 µs 59.057 µs 59.467 µs]
                        change: [-1.5808% -0.9997% -0.4222%] (p = 0.00 < 0.05)
                        Change within noise threshold.

item_union.html         time:   [152.77 µs 152.92 µs 153.11 µs]
                        change: [-3.7432% -3.4421% -3.1460%] (p = 0.00 < 0.05)
                        Performance has improved.

page.html               time:   [651.01 µs 651.83 µs 652.81 µs]
                        change: [-3.8608% -3.5279% -3.1711%] (p = 0.00 < 0.05)
                        Performance has improved.

print_item.html         time:   [141.53 µs 142.07 µs 142.73 µs]
                        change: [-1.4684% -0.6647% +0.4653%] (p = 0.24 > 0.05)
                        No change in performance detected.

short_item_info.html    time:   [122.21 µs 122.49 µs 122.86 µs]
                        change: [-2.3561% -1.9451% -1.5023%] (p = 0.00 < 0.05)
                        Performance has improved.

sidebar.html            time:   [193.36 µs 195.57 µs 197.54 µs]
                        change: [+0.4147% +1.2141% +2.0348%] (p = 0.00 < 0.05)
                        Change within noise threshold.

source.html             time:   [105.18 µs 105.75 µs 106.48 µs]
                        change: [+1.3040% +2.5061% +3.6714%] (p = 0.00 < 0.05)
                        Performance has regressed.

type_layout.html        time:   [176.73 µs 176.98 µs 177.27 µs]
                        change: [-1.6070% -1.1707% -0.7469%] (p = 0.00 < 0.05)
                        Change within noise threshold.

type_layout_size.html   time:   [64.969 µs 65.371 µs 65.771 µs]
                        change: [-3.4571% -2.7019% -1.8661%] (p = 0.00 < 0.05)
                        Performance has improved.

IMO the results are spurious. We don't have a benchmark that uses included files, so the PR should not affect the results in one way or another, except that I replaced one call to quote! with format_args!.

What I was interested about was whether or not we had a perf regression. Since it's not the case, all good, thanks!


pyvips: init at 2.1.12

Motivation for this change
Add python bindings for libvips in API mode to nixpkgs rep.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@jonringer i've tried all of your suggestions and the package doesn't build anymore.
My original recipe should see at compile time the pkgconfig files, now it says
"ERROR: Could not find a version that satisfies the requirement pkgconfig (from versions: none)
ERROR: No matching distribution found for pkgconfig"

one of my suggestions i forgot to include a closing ''; so it was failing to eval

Now it works and I hope its good!
I'm new to the whole nix packaging thing - doing this one took me several months to complete in API mode.
Sometimes the documentation is too arcane or I am not so through to get the specifics.
Thank you for the patience.

At last: for some reason this bit won't work
checkInputs = [ pytestCheckHook ];
It says : "error: undefined variable 'pytestCheckHook'"

At last: for some reason this bit won't work
checkInputs = [ pytestCheckHook ];
It says : "error: undefined variable 'pytestCheckHook'"

looks like I forgot to re-add it when i was reformatting the inputs, I adjusted the original comment

Oh, so you have to add it explicitly.
The manual says it's in the buildPythonPackage module... well that's that.
Thanks again, I'll summarize the commits.

Please follow CONTRIBUTING.md and manual#submitting-changes-making-patches  and squash the fix-up commits.
This can be done without git rebase -i by doing:
git reset HEAD~8                    # move fix-up commits into unstaged
git add -- pkgs/                    # move changes into staged
git commit --amend --no-edit        # add changes to previous commit
git push ... ... --force            # modify current PR branch

However, git rebase -i is a more powerful alternative, I created a small video demonstrating it's use here. A more indepth text tutorial can be found here


Added pre-commit hook

The pre-commit hook showed a lot of value in the projects that I work on.
One can enable to check for flake8 errors and enforce formatters like:

yapf
isort
fix the end of files
fix trailing whitespaces

to be enforced automatically on every commit. This saves a lot of files, finding these errors earlier at your computer, rather than waiting for CI tool to find them for you later.
In this PR I added config for the pre-commit hook, and updated contributing guide.
basically one needs to once in the folder with mmdetection:
pip install pre-commit

pre-commit install

After this everything will work automatically.

Awesome! Thanks for improving the contributing workflow.


Why do you write "0 rows affected or returned" when "Count"?

~This sentence was created by Google translate~
Since I want to know the total number of users I wrote while looking at document
http://gorm.io/docs/query.html#Count
I ran the following code
package main

import (
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/mysql"
)

var db *gorm.DB

func init() {
	var err error
	db, err = gorm.Open("mysql", "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True")
	if err != nil {
		panic(err)
	}
	db.LogMode(true)
}

func main() {
	var count int
	db.Model(&User{}).Count(&count)
}

type User struct {
	gorm.Model
	Name string
}

Then results like this came back
[2018-10-16 01:24:44]  [0.98ms]  SELECT count(*) FROM `reports`  WHERE `reports`.`deleted_at` IS NULL
[0 rows affected or returned ]

Oh my god! can not get the count!
But "Sequel Pro" is outputting results!
WTF.....
Two hours later...
I confirmed that I could get by log.print the variable "count"
Why gorm is written as "[0 rows affected or returned]"?
When "count" is executed in "Sequel Pro", "1 rows affected or returned" is displayed
Database is not detailed but is this display correct?

interesting!


cookie page revamp

There are texts about 3rd party cookies,
but I can't see any.
Related to tickets 848, 850, 857...

In the past cloudflare may have been used?? https://developers.cloudflare.com/fundamentals/get-started/reference/cloudflare-cookies/#understanding-the-cloudflare-cookies

I think we should change the text on that page, will make a pr soon.


If CSP blocks data: URLs, uploading images with EXIF thumbnails triggers an error and the thumbnail is not displayed

Issue Summary
With a Content Security Policy that blocks data: URLs (because the MDN warns against allowing them), when an editor uploads an image with a thumbnail embedded in the EXIF, the image uploader JS code tries to load a thumbnail image with a data: URL. On the other hand, if the image does not already contain a thumbnail, the JS code generates one, and loads it using a blob: URL.
Steps to Reproduce

Set up the bakerydemo project with the following settings in local.py:from .base import MIDDLEWARE
MIDDLEWARE.append("csp.middleware.CSPMiddleware")
CSP_REPORT_ONLY = False
CSP_DEFAULT_SRC = ["'self'"]
CSP_CONNECT_SRC = ["'self'", "releases.wagtail.org"]
CSP_FRAME_SRC = ["'self'"]
CSP_IMG_SRC = ["'self'", "blob:"]
CSP_OBJECT_SRC = ["'none'"]
CSP_SCRIPT_SRC = ["'self'", "'unsafe-inline'", "'unsafe-eval'"]
CSP_STYLE_SRC = ["'self'", "'unsafe-inline'"]

Go to http://localhost:8000/admin/images/multiple/add/
Upload this image

The following message appears in the web console (example from Firefox):
Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at data:image/jpeg,%ff%d8%ff%e0%00%10%4a%46… because it violates the following directive: “img-src 'self' blob:” load-image.min.js:1:373

The upload itself still works, it's just the thumbnail that is broken.
This other image, with EXIF stripped (exiftool -all= iguana-noexif.jpg), does not trigger an error:

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (yes)

Technical details

Python version: 3.12.6
Django version: 5.0.9
Wagtail version: 6.2.2
Browser version: Firefox 130.0.1

Working on this
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.

Thank you @mgax, I can reproduce this with your instructions. Do you have thoughts on what we should do about this? I can think of a few options but I have no notion of how desirable they are:

Keep the upload preview logic as-is and just style the preview thumbnail so there is a better-looking placeholder when the actual image fails to load
Switch to blob: URLs always?
Or <canvas>?
Or Wagtail image renditions?

Do you have thoughts on what we should do about this?

I think the issue stems from this if: https://github.com/wagtail/wagtail/blob/abcb2da37259c16d1efd16d7233794f00bb29680/wagtail/images/static_src/wagtailimages/js/vendor/jquery.fileupload-image.js#L202-L203
When there is a thumbnail in the EXIF, the thumbnail variable contains a value in the form data:image/jpeg,..., which is then injected into the DOM. But that's vendorized code, from jQuery-File-Upload, which is not maintained any more. And data.exif comes from load-image.min.js, which was likely copied from JavaScript-Load-Image, which hasn't had an update in 3 years (and our version is from 10 years ago when it was first added to the repository).
I think we should replace it with a modern, maintained alternative. And in the mean time, we could convert that thumbnail value on the fly, from a data: URL to a blob: URL. ChatGPT helped me write this little monster:
--- a/wagtail/images/static_src/wagtailimages/js/vendor/jquery.fileupload-image.js
+++ b/wagtail/images/static_src/wagtailimages/js/vendor/jquery.fileupload-image.js
@@ -200,6 +200,8 @@
                     }
                     if (options.thumbnail) {
                         thumbnail = data.exif.get('Thumbnail');
+                        const [type, encodedData] = thumbnail.split(":")[1].split(",");
+                        thumbnail = URL.createObjectURL(new Blob([new Uint8Array((str => str.replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16))).split('').map(c => c.charCodeAt(0)))(encodedData))], { type }));
                         if (thumbnail) {
                             loadImage(thumbnail, resolve, options);
                             return dfd.promise();
@@ -312,4 +314,4 @@

     });

Thank you! Converting from data: to blob URLs seem like a clear win if that works. I don’t think updating a vendored dependency would be an issue for us if the original source is unmaintained, though yeah longer-term it’d probs be better to switch to something else.


Performance - what is the expected throughput?

With a recent increase in usage of our application we have noticed that we are starting to have performance issues, with the node process using a large amount of CPU time.
A bit of profiling reveals that the app spends the large majority of its time in RowDataPacket.parse. This sounds reasonable enough.
However, I don't consider our app to be that busy, so I was wondering what the expected throughput is for this library? At the moment I would estimate our throughput to be about 16,000 rows per second. Maybe 10-20 MBits/second?
Thanks.

depends heavily on the row size as well ( number of fields and type/size of the field itself )
simple optimisation might be check if you selecting only required fields
Are you using orm or build queries manually?

Yes I realise it's dependent on row size. I'll see if I can get a more accurate estimate for this.
Our data layer is more like an ORM than anything. It's subscription-based, so the server polls the database every 5 seconds or so and sends only the changes to the clients. It's doing a fair amount of work, but we've got other similar projects using a Java platform and they hardly seem to require any processing time - CPU usage is usually less than 5%. But for this nodeJS application the CPU usage is more like 70-100% all the time.
At the moment I'm mainly just trying to get some idea of what to expect so I can see if we're even in the right ballpark. I'm trying to work out whether:

We've done something stupid in our app
This library could use some optimisation
It's a limitation of javascript
We're just processing too much data, and we wouldn't get any better performance even if we were using C

Thanks.

Unless it's 1. (we've all done this :) ) 2-4 are equally possible. V8 is fast but on cpu bound tasks still 2-3 times slower than similar Java code
For tasks like yours mysql2 library might be good option (I'm main author so take this advice with a grain of salt, but worth trying. I'll be very interested to see difference in perf numbers)

Thanks for that. I found a useful benchmark at https://github.com/Sannis/node-mysql-benchmarks (I managed to get it running for the latest versions with a few tweaks).
It seems that mysql2 performance is maybe 1.3x-1.6x compared to this library. Might be worth switching. We've made some changes to reduce out dependence on polling so we've vastly reduced the database load now.
Interestingly a pure C benchmark is only a 2-3x performance increase. It's nice to know that the difference isn't so big :)


Some Refactoring. GUI Improvements

Error from the previous closed PR was fixed and tested.
Imported KivyMD for better UI Widgets. Also imported chardet lib for file encoding detection in case if score file is encoded differently than "cp1251" (default Windows encoding). Listed windows-filedialogs lib in req.txt, but wasn't used anywhere yet. I suggest using it for adding external score files in project score folder.
P.S. If possible, project should have unit tests

Removed hardcoded encoding ("cp1251") in score.py file when loading score files. Score data (in bytes) is directly passed to json.loads without arguments by default.


Android: Remove background image?

I have created a background image in my Android using native technique, this is for splash screen. Like this:
https://medium.com/react-native-development/change-splash-screen-in-react-native-android-app-74e6622d699
This image stays in the background forever. When keyboard or switching views I sometimes see it. Do you have any ideas on how to remove it?

As we see, in this article to set splash, we set a background image in the same way you propose setting background color in your article - https://medium.com/@janromaniak/how-to-change-background-color-of-rootview-in-react-native-d1b67829a83a#01be

I see this two solution are not working together. In current state there is no way to this with react-native-root-view-background library, and you will need to write some native code


Add edit this page links

Description
Configures mkdocs to add Edit this page links.
Why is this needed'
Fixes: #199
How Has This Been Tested?
Netlify deploy preview.
How are existing users impacted? What migration steps/scripts do we need?
Easier to contribute documentation fixes.

Nice the deploy works and I can see the edit links (pencil icons). Why the revert though @felixwidjaja ?


E5112: Error while creating lua chunk

Describe the bug
Hey thanks for the hard work!! i'm trying nvim for the first time, i copied init.lua content as your team explained in the youtube video, and after restarting nvim this is the message:
Error detected while processing /home/carlos/.config/nvim/init.lua:
E5112: Error while creating lua chunk: /home/carlos/.config/nvim/init.lua:127: ')' expected near 'preview_hunk'
Press ENTER or type command to continue
I'm sorry if is something dumb, i'm pretty new to all this.
To Reproduce

Just starting nvim after copying init.lua from this repo to my .config/nvim/init.lua

Desktop

OS: linux mint 21.2 cinnamon
Terminal:  the one that comes with the os.

Neovim Version

NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by<EMAIL_ADDRESS>

It looks like your nvim version is old which happens if you installed with a package manager.
Documentation says kickstart only supports stable and nightly builds.
I suggest following the neovim build from source install instructions and doing a ‘git checkout stable’ before you build.

Closing for now. Old Neovim version. We should really add 256 color terminal and version checks to init.lua, I'll work on that.

Closing for now. Old Neovim version. We should really add 256 color terminal and version checks to init.lua, I'll work on that.


Rekursiv Search functionality missing

Dear team,
in the current version of the ABAP Object search the following functionality which would help developers even more is unfortunately missing: There is no "recursive search implemented" to find really ALL CDS-Views based on a certain filter pattern.
An example can be given as follows:
If you execute the search with the filter: from: vbap you will find the CDS-View: I_SalesDocumentItem
Based on the Icon I can see that I_SalesDocumentItem is also used in another CDS - but I would like to also see this directly in the resultset.
The expectation would be to directly find with the filter: from: vbap also the CDS-View: I_SALESORDERITEM.
This is the one which is selecting from I_SalesDocumentItem.
Especially if you combine the filter from: vbap with other filters like: api: use_in_cloud_development this would be really helpful to have a "recursive search".
Is this something that could be implemented? Or is there an easy workaround for?
Thank you!

Hi @therealsimwoe,
the feature you are looking for will be shipped in the next version which is in its final development phase 😊.
Kind regards,
Ludwig

Hi Ludwig,
thanks for the feedback. Then I am even more looking forward to the next version!
Can we somehow link the issue to the release version? (not that much experienced with Github yet 😄 )
Best regards!

Implemented with version 2.0.0


Hud 2

closes #107
Created basic HUD class. Contains char name, hp, atk, def, weapon, and activity feed
Had to create GameGroups object that contains phaser groups for correct sprite layering. Without it enemy sprite positions above HUD
Created pickUpItem method in player entity to clear itemCollision and update HUD view
Also implemented initial loading state to load assets at once

There's a weird bug(?) where the text is normal, then when the value changes, it becomes a bold (larger) text.

It was an async issue coming from webfonts. Should be fixed now


library include does not work!

i am trying to include the library, downloaded the .ZIP file, included the library, and it says "No such file or directory. and ends with exit status 1. I saw tons of vids on how to troubleshoot, and nothing worked. can someone help?

Hi,
Have you installed the library after downloading it?
Sketch->Include Library->Add ZIP file in the Arduino IDE menu.
Simon.
On Wed, 12 Jul 2023 at 09:19, danielh321 @.***> wrote:

i am trying to include the library, downloaded the .ZIP file, included the
library, and it says "No such file or directory. and ends with exit status

I saw tons of vids on how to troubleshoot, and nothing worked. can
someone help?

—
Reply to this email directly, view it on GitHub
https://github.com/simonmonk/CC1101_arduino/issues/7, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQC6UIXGVCBYFDOI2O3SRDXPZMYPANCNFSM6AAAAAA2HDSXYQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Dr. Simon Monk
+44 7544 373 418
http://simonmonk.org
@simonmonk2
<EMAIL_ADDRESS>


Allow functions that return true/false to be used as conditions for if blocks.

Is your feature request related to a problem? Please describe.
Related to a comment Emilio replied to on https://www.youtube.com/watch?v=sYjgDIgD7AY&lc=UgxfBRamwDlNwM4N05Z4AaABAg.9Mb15MKypDc9MbHkER6-oS
Describe the solution you'd like
Allowing an if block to be able to take a function that returns a bool value to be used as a condition.
Describe alternatives you've considered
You could just use definitions of course, but a function returning a value could give more access to Godot's functionality.

@Sslaxx where exactly are you envisioning where this function code lives? Also, what kind of logic would you use in that function that cannot be done within the editor at the moment?

Closing as I don't fully understand it. Feel free to re-open if needed.

@coppolaemilio I'm running into this as well. For instance, I have a "Blackboard" auto load that allows me to just set and get arbitrary flags as data. I want to check for a certain flag here in a timeline Condition. However because it doesn't use Dialogic Variables, I can't use a Variable condition, and because the Condition's Expression doesn't load in autoloads, it can be used in expressions to evaluate for the Condition.
I think a simple solution here would be to pass in all autoloads when executing the Expression, so that the they can be used in the Expression syntax.


Use huge page with tcmalloc not working properly

Hi, I want to use huge page with tcmalloc but it doesn't work. I installed tcmalloc on fedora and I write a program that allocates few mbytes simply. then according to docs, I set TCMALLOC_MEMFS_MALLOC_PATH environment variable to hugetlbfs mounted path and compile the program as follows:
gcc -o test test.c -ltcmalloc
by running this program, it doesn't return any error but no change happened in the hugetlbfs when I see huge pages status in /proc/meminfo.
Is there any bug here or I just miss something?

This is likely duplicate of issue #824. Are you linking tcmalloc statically?
Otherwise, I was able to verify that tcmalloc in shared library works.
I.e. for test I did:
$ echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
$ TCMALLOC_MEMFS_MALLOC_PATH=/dev/hugepages/mem-bench ./malloc_bench

I also wrote a toy program to allocate hugepages through tcmalloc.
Transparent HugePage is available in my test environment, but the system-wide reserved HugePage cannot be used.
My program:
# gcc -o hp-malloc hp.c  -ltcmalloc
# ldd hp-malloc
        linux-vdso.so.1 (0x00007fffb68cd000)
        libtcmalloc.so.4 => /usr/local/lib/libtcmalloc.so.4 (0x00007f19f5d71000)

Test for  Transparent Hugepage:
Step1, enable transparent_hugepage
# echo always > /sys/kernel/mm/transparent_hugepage/enabled
Step2: run toy program
# ./hp-malloc
Step3: observe  map info of  hp-malloc
# cat /proc/`ps aux | grep hp-malloc | grep -v color | tr -s ' '| cut -d ' ' -f 2`/smaps |grep -A 20 heap
5619d5f52000-5619d7280000 rw-p 00000000 00:00 0                          [heap]
Size:              19640 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:               12568 kB
Pss:               12568 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:     12568 kB
Referenced:        12568 kB
Anonymous:         12568 kB
LazyFree:              0 kB
AnonHugePages:     10240 kB			// anonymous transparent huge pages
ShmemPmdMapped:        0 kB
FilePmdMapped:        0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB

Test for System-wide reserved hugepage:
Step1,  system info
# mount |grep -i huge
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)

# cat /proc//meminfo  |grep -i huge
AnonHugePages:    663552 kB
ShmemHugePages:        0 kB
FileHugePages:         0 kB
HugePages_Total:    2048
HugePages_Free:     1935
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:         4194304 kB

Step2: disable transparent_hugepage
# echo never >/sys/kernel/mm/transparent_hugepage/enabled
Step3: run toy program
# TCMALLOC_MEMFS_MALLOC_PATH=/dev/hugepages ./hp-malloc
Step4: observe  map info of  hp-malloc   and system huge info
# cat /proc/`ps aux | grep hp-malloc | grep -v color | tr -s ' '| cut -d ' ' -f 2`/smaps |grep -A 20 heap
55fe98777000-55fe99180000 rw-p 00000000 00:00 0                          [heap]
Size:              10276 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                2100 kB
Pss:                2100 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:      2100 kB
Referenced:         2100 kB
Anonymous:          2100 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:        0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB

System-wide reserved hugepage status has not changed.
My gperftools version: 2.9.1
How to malloc memory from reserved hugepage, did I do something wrong?


LAN world problem, connection lost

Hi!
Me and my bro where starting a coop LAN world with Origin. Host perfectly fine (like in solo survival), but 2nd player can't connect to the world. Got a "Connection Lost" message directly after "Loading Terrain" message shows up.
Could be great if you can investigate this !

This seems like the version mismatch issue. You need to make sure you both have the same version of Origins installed. I recently updated the mod, so if one of you installed later, even though you both got the "most recent" version, one of you might have gotten 0.4.7 while the other downloaded 0.4.6.


disappointed, looks the model is poor for unseen data

Hi,
I just have a try of text2im notebook in colab with simple text "a man fighting with 2 women", and it gives me

with simple text "a man fighting with 2 women"

See #2. Click on the link to my repository, then read the model limitations in the section called Safety Considerations.

Thanks I can get the result with "a rooster  dance with 2 hens", not good but worked


add: dark figures

add: links to specific notebooks
Note: links to notebooks will break if the names/ location change, but at least that way it will be up to date (alternative permalink is linked to commit)

Yeah, Pypi will look for the file from a fixed source, that’s why we need the location of the image. The raw=true at the end might also be necessary (not sure, but better keep it)


How to use SDWebImage to cache images in different network status?

We now face a tough problem that is how to cache images in different network status. For example, when I use WIFI the image url is "http://xxx.image.jpg?quality=85" and SDWebImage help us to cache it. But when I change the network status to 2G/3G, the same image url maybe is "http://xxx.image.jpg?quality=60". In order to reduce the traffic, I want to display the image cached in WIFI status. How can I use SDWebImage to solve this problem? Thank you very much!!

the way this library works is by using the url of the image as a key to track the actual cached image.
if you know the url of the wifi cached image before-hand then load that image as a placeholder in the
sd_setImageWithURL method. this way you will show the cached image while the other one is loading.


[Blog] Create falco-wsl2-custom-kernel.md

What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area blog
What this PR does / why we need it:
This PR adds a blog post explaining the process to get the Falco kernel module on WSL2.
It should open the doors to a part of the Windows community and let them "relate" to the overall Falco project and documentation.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
While the content is there, the "form" might be too light or "different" from the rest of the documentation. I really wrote it as a guest blog post, so please feel free to adapt the form.
The conclusion also points at using Falco with the preferred Kubernetes distro, however if you have better follow-up blogs or articles then it would be great to add them.
Special thanks to @danpopSD for opening the door to write this blog post ❤
Signed-off-by: Nuno do Carmo<EMAIL_ADDRESS>

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

4cf6c36 Create falco-wsl2-custom-kernel.md

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

4cf6c36 Create falco-wsl2-custom-kernel.md

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Welcome @nunix! It looks like this is your first PR to falcosecurity/falco-website 🎉

Welcome @nunix! It looks like this is your first PR to falcosecurity/falco-website 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz after the PR has been reviewed.
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz after the PR has been reviewed.
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sorry, still not a great GitHub user, so I'm adding the DCO below (let me know if I need to something else 😅 )
Signed-off-by: Nuno do Carmo<EMAIL_ADDRESS>

Sorry, still not a great GitHub user, so I'm adding the DCO below (let me know if I need to something else 😅 )
Signed-off-by: Nuno do Carmo<EMAIL_ADDRESS>

thank you so much @leodido , as I'm on Github Desktop (yes, still a big newbie), I had to find my path.
DCO added.

thank you so much @leodido , as I'm on Github Desktop (yes, still a big newbie), I had to find my path.
DCO added.

LGTM label has been added.  Git tree hash: 5f7316afcd1b71cded99d950dfd60805e8762e36

LGTM label has been added.  Git tree hash: 5f7316afcd1b71cded99d950dfd60805e8762e36

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


TypeError in /clan/invictus-knight-99lp88rl

Error in ClashLeaders
TypeError in /clan/invictus-knight-99lp88rl
Cannot read property '_transitionClasses' of undefined
View on Bugsnag
Stacktrace
webpack:///node_modules/vue/dist/vue.esm.js:6428 - Array.or

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in /clan/invictus-knight-99lp88rl


Bonding inside docker

Hi
I am trying to see if bonding and pairing is possible when my btferret is running inside a docker container on the Pi. What I was looking for in the code or docs was a way to configure where the bonding information is stored so that I can store it in the docker volumes that is persistent.
Is this something handled by the underlying bluetooth library and not btferret? Because I couldn't find the code for that in the python files.

Pairing info is stored in the file /etc/btferret.dat. It is specified in the rwlinkey() function at line 9196 in btlib.c.


Make it compatible with node_modules obs service

DRAFT!
To enable compiling trento in the obs I introduced two changes.

The obs requires the package.json file in the root of the source folder. So I copied it from "./web/frontend" to "./". This is obviously repeating and not good.
I have updated the package-lock.json file. (using $ npm install)

OBS Ref: https://api.opensuse.org/package/show/devel:sap:trento/trento

Thanks @aleksei-burlakov !
2 questions:
Would it work if we leave the package.json file in the original location and also use the OBS download_service to fetch it?
I saw you are using the download_service to fetch the package-lock.json. That looks good to me, but wouldn't this mean that we can remove the package-lock.json from the OBS repo? (since it's downloaded everytime from here?)

Thanks @aleksei-burlakov !
2 questions:
Would it work if we leave the package.json file in the original location and also use the OBS download_service to fetch it?

The download_service downloads files into the root of the project not into the root of the source (the tarball). I think it's possible to do it, like download the source from git, download the package.json in the source root, and then recompress the source, but I don't know.

I saw you are using the download_service to fetch the package-lock.json. That looks good to me, but wouldn't this mean that we can remove the package-lock.json from the OBS repo? (since it's downloaded everytime from here?)

That's a good idea. I thought since the package-lock.json is listed in the sources list of the spec file it must exist in the project, but actually not. The system didn't complain.

I have changed the PR. There are 2 commits and they propose two different approaches, i.e. the second commit doesn't accomplish the first, but reverts the first and gives another solution.
The first solution (imperative) is to copy the package.json from the root to the web/frontend and do all as before.
The second solution (declarative) is to use .npmrc that should eventually put the node_modules in the web/frontend. It's better than the first solution, we shouldn't move around the package.json file, but it doesn't work. I'd be glad to here what's wrong with it))

I'm closing the issue. The trento obs project was changed so that and there is no in changing the trento sources.


Improve train_test_split

For NeuralNet:

Why use your own implementation of train_test_split rather than using sklearn.cross_validation::train_test_split?
-- This would fix #7 because it uses safe_indexing.
Allow the user to pass in, through composition (like the batch iterator), a class responsible for performing the train vs valid split. Right now the only option is to subclass NeuralNet which is not ideal.

@cancan101 To answer your first question: You'll notice that NeuralNet.train_test_split uses StratifiedKFold for classification tasks.  That's different to what sklearn's train_test_split would give you.
But maybe the stratified split isn't all that important, and we can just use an overridable train_test_split (component) by default.

@cancan101 To answer your first question: You'll notice that NeuralNet.train_test_split uses StratifiedKFold for classification tasks.  That's different to what sklearn's train_test_split would give you.
But maybe the stratified split isn't all that important, and we can just use an overridable train_test_split (component) by default.

I think we can merge this discussion with #42, and close this one.  Also consider #45 when thinking about a better way to override the train_test_split method.


check for running firewalld in custom_service::reload

firewall-cmd --reload won't work if the service is stopped. The exec-resource firewalld::reload has an "onlyif" statement, in firewalld::custom_service::reload-${name} it is missing, so I added it.
Pull Request (PR) description
Added an onlyif condition to firewalld::custom_service::reload to trigger only if firewalld is running. This check is already added in firewalld::reload.
This Pull Request (PR) fixes the following issues
n/a.

@domfi We don't have good tests for this module. Could you perhaps write an acceptance test. Finding someone else to confirm this works for them would also work.

@ghoneycutt Relatively comprehensive acceptance tests are coming. This patch is a correct fix.

Similar fix as https://github.com/voxpupuli/puppet-firewalld/pull/197.
A spec test wouldn't really add anything so I'm ok merging this now.
Hopefully we'll have better acceptance tests in the future.


RHCLOUD-34798 - Upgrade to protovalidate to handle message validation

PR Template:
Describe your changes

This PR upgrades from protoc-gen-validate to protovalidate

Updated proto files validation rules to new version

No longer uses generated validate.go files

Incoming requests are now recursively validated through all embedded sub-messages

Validation removed from service components to validation middleware to handle all validation requests

Added test cases for validation middleware in validation_test.go

Removed 2 test cases that were just covering validation aspects of old service code (TestCreateInvalidHostIsBadRequest and TestCreateInvalidNotificationIntegrationIsBadRequest)

Similar PR was opened in relations-api https://github.com/project-kessel/relations-api/pull/139

Ticket reference (if applicable)
Fixes # RHCLOUD-34798
Checklist

[ ] Are the agreed upon acceptance criteria fulfilled?

[ ] Was the 4-eye-principle applied? (async PR review, pairing, ensembling)

[ ] Do your changes have passing automated tests and sufficient observability?

[ ] Are the work steps you introduced repeatable by others, either through automation or documentation?

[ ] If automation is possible but not done due to other constraints, a ticket to the tech debt sprint is added
[ ] An SOP (Standard Operating Procedure) was created

[ ] The Changes were automatically built, tested, and  - if needed, behind a feature flag - deployed to our production environment. (Please check this when the new deployment is done and you could verify it.)

[ ] Are the agreed upon coding/architectural practices applied?

[ ] Are security needs fullfilled? (e.g. no internal URL)

[ ] Is the corresponding Ticket in the right state? (should be on "review" now, put to done when this change made it to production)

[ ] For changes to the public API / code dependencies: Was the whole team (or a sufficient amount of ppl) able to review?

@lennysgarage please can you rebase your PR

@akoserwal Rebased! the buf build will continue to fail because this is a breaking change moving from protoc-gen-validate to protovalidate


Let user's specify a static window size

By default, a window is resizable. I'd like to display a window at a set width, that the user isn't allowed to change. I'd like the height to respect a minimum and maximum height if the user tries to resize the window.
Please consider adding an API to specify imposed window constraints that prevent the user from making a window thinner/wider/taller/shorter than desired.
On a related note, I found that the only control I have over window sizing is to set the global rect, which requires knowledge of screen space. I'd prefer to just set the window size, and retain the existing location.
Similarly, the window delegate notifies us when the window will resize to a given Size, but if we want to then further resize the window, based on that new Size, we're forced to create a Rect in global screen space, so that we can use the Rect-based sizing method.
Please consider creating a symmetric API in which we can read and write sizes with Size, and we can read and write global positions with Rect. As of right now, we read Sizes and we write Rects, which is asymmetric.
Lastly, on a further related note, you might consider providing a method to change only the windows offset, without exposing the full Rect. Perhaps I want to move the (x,y) offset of the window, but I don't know the size, and I don't care about the size.

Related: https://github.com/macosui/macos_window_utils.dart/issues/11


logout bug

noticed that if i am logged in on a market trading page and then i log out, then a lot of the market info disappears

closing