New Google colab feature

Hello,
I think it could be a very good feature for people that don't have a lot of resources in their computer.
In addition, it is now possible to do so thanks to the gradio interface. I will my self try to create the notebook.
Thanks

Hello, I think it could be a very good feature for people that don't have a lot of resources in their computer. In addition, it is now possible to do so thanks to the gradio interface. I will my self try to create the notebook.
Thanks

Hi @YotomiY,
Thanks for your input! Your idea of using the Gradio interface and creating a notebook for this feature sounds promising. Keep me updated on your progress. If you run into any issues or have questions, feel free to reach out.
Thanks again,
Matteo


Override npm_config_user_agent env var so bolt can be detected

I'd like to use the npm_config_user_agent (already set by npm and yarn) to detect whether bolt is being run in my project's preinstall script.
Currently npm / yarn set the following values for the npm_config_user_agent env var

yarn (and bolt because it is unchanged): yarn/1.3.2 npm/? node/v8.9.4 darwin x64
npm: npm/5.6.0 node/v8.9.4 darwin x64

Ideally bolt will prepend bolt/<bolt version>  to the existing env var value set by yarn.

Heya @bengummer , did you ever end up getting this working? The code is in there and the tests pass, but I just tested it, and it seems to not be showing up
"scripts": {
  "preinstall": "echo $npm_config_user_agent"
}

$ bolt install
⚡   bolt v0.22.2 (node v8.11.3)
🔎   [1/4] Validating project...
📦   [2/4] Installing project dependencies...
yarn config get user-agent yarn/1.9.4 npm/? node/v8.11.3 darwin x64
yarn install v1.9.4
$ echo $npm_config_user_agent
yarn/1.9.4 npm/? node/v8.11.3 darwin x64

I think yarn might actually be re-overriding it when we call yarn install?
CC: @randing89

Hey @lukebatchelor yeah you might be right, I'm not using this user agent anymore in our project that uses Bolt so haven't really noticed if it behaves as expected or not. Maybe a different env var (such as the BOLT_VERSION mentioned in recent commits would be better to avoid yarn overwriting it.

Sweet. Yea. Thought so. Cheers


Update package versions in sandboxes.

Before working on finalizing #222, we should update versions of packages in our current sandboxes, which is done in this PR.
The versions of all array core packages were updated as well, leading to some speed ups during processing. as it is right now, coffea cannot be updated. I left a note in the columnar.txt file where we also should paste a link to a bug report once opened (I need to confirm this, but this should not hold back the PR).
Could you try this too @haddadanas ?
@mafrahm

All the venvs are working perfectly up to the Plotting tasks!

Hi @riga,
A note regarding the vector access of fields after some have been deleted:
import vector
import awkward as ak

vector.register_awkward()

vec = ak.Array(
  [
    [{"x": 1, "y": 1.1, "z": 0.1, "t": 0.5}, {"x": 2, "y": 2.2, "z": 0.2, "t": 0.5}],
    [],
    [{"x": 3, "y": 3.3, "z": 0.3, "t": 0.5}],
    [
      {"x": 4, "y": 4.4, "z": 0.4, "t": 0.5},
      {"x": 5, "y": 5.5, "z": 0.5, "t": 0.5},
      {"x": 6, "y": 6.6, "z": 0.6, "t": 0.5},
    ],
  ],
  with_name="Momentum4D",
)

# remove one field
del vec["x"]

# doesn't work
vec.x
# >> ValueError: array does not have azimuthal coordinates (x/px, y/py or rho/pt, phi): y, z, t

# does work
vec["y"]
# >> <Array [[1.1, 2.2], [], [3.3], [4.4, 5.5, 6.6]] type='4 * var * float64'>

This is the difference between bare awkward-array field access via __getitem__ and vector behavior mixing properties that are accessed via __getattr__.
Hope this clarification helps regarding the note of the coffea update and the vector behaviors.
I think that one can rely on __getitem__ is getting overwritten in vector, all mixin utilities (e.g. pt, eta, ...) are implemented as properties.
Can you confirm this policy @Saransh-cpp?
Best, Peter
PS: It is however not prohibited to do that in general, one can in principle overwrite __getitem__ :eyes: - behavior mixins can modify awkward-arrays in more-or-less any way:
class GetItem(ak.Array):
  def __getitem__(self, k):
    print(k)

ak.behavior["*", "GetItem"] = GetItem

ak.with_name(vec, "GetItem")["y"]
# >> 'y'

Thanks for the hint @pfackeldey !
I'm going to check if this works for us 👏

Can you confirm this policy @Saransh-cpp?

Sounds right! This is one of the differences that popped up once Coffea was migrated.
PS: not relevant to this PR, but some discussion over properties v/s fields in vector - https://github.com/scikit-hep/vector/issues/498


Adds support for collections

https://github.com/user-attachments/assets/9ee0eb7b-8153-45c5-bdf9-e58f903df4f6

Reminders:

Update changelog
Update api/package.json version
Update packages/types/package.json version

Must remember to publish packages/types before releasing our next canary of studio

bug: keyboard shortcuts for opening the logs and timeline panel are not working for me


Invalid pointer Exception - Node 10.x - 	Raspbian GNU/Linux 9.4 (stretch)

Hi,
This code :
 Sharp(content) .flatten()       .background('#ffffff')       .resize(width)       .greyscale()       .png()       .toBuffer()
Produce the following crash :
*** Error in /usr/bin/node': munmap_chunk(): invalid pointer: 0x70108df0 ***`
Content is a buffer containing an SVG image designed to be printed in 300dpi in a creditcard format.
Same code was functionnal in node 9.x
Regards,
F.

Hello, are you using the precompiled libvips binaries provided by sharp? What does console.log(sharp.versions) output? Is this ARM v6, v7 or v8? Are you able to get a backtrace using gdb (or similar)?

Thank you for the extra details, it's always good to discover people are using sharp on ARM chips and Raspberry Pis.
Are you able to share the SVG that fails, or at least a subset of it that exhibits the same behaviour?
Please make sure you're using sharp 0.20.5 then get a backtrace via:
gdb --args /usr/bin/node your-app.js

Enter run at the prompt, wait for the crash then enter bt at the prompt.

Thanks for your reply,
The trace after crash :
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x76c5e824 in __GI_abort () at abort.c:89
#2  0x76c97f78 in __libc_message (do_abort=do_abort@entry=2, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:175
#3  0x76c9ead4 in malloc_printerr (action=<optimized out>, str=0x76d50f50 "munmap_chunk(): invalid pointer", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5049
#4  0x76c9f340 in munmap_chunk (p=<optimized out>) at malloc.c:2857
#5  0x74c0937c in vips::VOption::~VOption() () from /home/pi/Thor/T01/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42
#6  0x74c093a0 in vips::VOption::~VOption() () from /home/pi/Thor/T01/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42
#7  0x74c099cc in vips::VImage::call_option_string(char const*, char const*, vips::VOption*) () from /home/pi/Thor/T01/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42
#8  0x74c15db0 in vips::VImage::new_from_buffer(void*, unsigned int, char const*, vips::VOption*) ()    from /home/pi/Thor/T01/node_modules/sharp/build/Release/../../vendor/lib/libvips-cpp.so.42
#9  0x748c8648 in sharp::OpenInput(sharp::InputDescriptor*, VipsAccess) () from /home/pi/Thor/T01/node_modules/sharp/build/Release/sharp.node
#10 0x748dfc48 in PipelineWorker::Execute() () from /home/pi/Thor/T01/node_modules/sharp/build/Release/sharp.node
#11 0x005a4e30 in worker (arg=0x0) at ../deps/uv/src/threadpool.c:83
#12 0x76d76fc4 in start_thread (arg=0x73145450) at pthread_create.c:335 Backtrace stopped: Cannot access memory at address 0x8
You can download the minimal set of files (image included) used to produce the backtrace : http://dl.free.fr/jXChpTc9w
Thanks again
F.

Thank you, I think I've found the problem, the container that builds the ARMv7 binaries was missing _GLIBCXX_USE_CXX11_ABI=0. (It is defined for ARMv8.)
I've created https://github.com/lovell/sharp-libvips/issues/8 to track this. I would expect the binaries for libvips v8.7.0 / sharp v0.21.x to include the fix.
You can work around this for now by locally changing the value to _GLIBCXX_USE_CXX11_ABI=1 in binding.gyp and running npm rebuild.

Workaround is operational
Thanx a lot
F.

sharp v0.21.0 is now available with a prebuilt libvips v8.7.0 compiled with the _GLIBCXX_USE_CXX11_ABI=0 flag.


How can we support virtualization for Node JS binary?

There are some solutions here, but they have not been verified.

Docker
NVM
nodeenv (like virtualenv for Python)

We have to investigate above list and more things as follows:

Can it support all platforms (at least Linux, Mac, Windows)?
Whether it requires additional installation.
Can it independent between Node modules and platforms?

If we can override some directories as per the NPM directory information[1][2], we might not need virtualization anymore.
[1] https://docs.npmjs.com/files/folders
[2] https://docs.npmjs.com/files/npmrc


No local Node authentication key for TNT

Hello !
My host down and I reinstall  Node on another host, then Node does not run with this message:
No local Node authentication key for TNT address......  Registering.
TNT address xxxxx  is already in use and cannot be registered

May be it tried to register new Node
Please help how to import my private key into host to continue run Node with my registered ETH address on Core
Thank you !

Unfortunately, I have just read this:

Closing. Duplicate of #12


feedback and inspiration

just wanted to leave a note to say what a nice crate this is. The rust ecosystem really needs something like this for cli prompting.
I also wanted to also drop some potentially aspirational inspiration of another cli prompter with a few more usability features. https://github.com/terkelg/prompts I like the number selector and the type suggestions for validation errors  in particular.
I'm really excited to see where this crate can go.

https://crates.io/crates/inquire is another such crate.


fix(logging): carry a globalDefaultLevel with which subsequent logger…

…s are created
should fix #18

@Thanood Thanks. I just began to make the same PR as setting a global log level in version 1.1.0 is broken. Fixed my version now to 1.0.0 until this PR will be released.


External DO support in pages dev

This adds support for referencing Durable Objects which belong to an outside Worker by mounting that external Worker with Miniflare.
It intentionally breaks the automatic routing that Miniflare provides, so that the external Worker fetch handler is not available at /scriptName.
This API is experimental and is liable to change at any time. We're not documenting it properly until we figure out the final design.
In a project like this:
- durable_objects
  - wrangler.toml
  - index.mjs
- static
  - index.html
- functions
  - hello.ts

Where the durable_objects/wrangler.toml sets a DO binding:
[build.upload]
format = "modules"
dir = "."
main = "./index.mjs"

durable_objects/src/index.mjs exports a DO class, MyDurableObject; and functions/hello.ts references a DO binding, env.MY_DO.
You can start the entire project with the following command:
npx wrangler pages dev static --do MY_DO=MyDurableObject@durable_objects

cc @mrbbot

Hey @GregBrimble, from my reading of the code and the fact that it talks about scriptName, doesn't that mean that the command should be:
npx wrangler pages dev static --do<EMAIL_ADDRESS>
Or does Miniflare do all the lookups in the wrangler.toml so that you only have to include the directory?
Besides the configuration options, it looks all good to me.

scriptPath was the Miniflare v1 way to reference a built script, and scriptName is the v2 way to reference a Worker project directory (containing a wrangler.toml).
I discussed with @mrrbot, and since Durable Objects can have their own environment (e.g. I can bind a KV namespace in a project with a DO without it being available to the parent Worker or vice-versa), it probably does make sense to include the concept of the entire Worker project, rather than the built script.


Can't connect using MySQL SSL

Hi,
LuckPerms isn't connecting to MySQL SSL. We can manually connect to the MySQL database using the MySQL command, LiteBans which is also using MySQL SSL works just fine on the same machine, LuckPerms still has issues with a different machine, the LuckPerms and LiteBans databases are setup exactly the same.
Thanks.

Aside from possibly tweaking the Hikari configuration, see:

HikariConnectionFactory
MySqlConnectionFactory

or upgrading the MySQL driver version used, there's absolutely nothing I can do to attempt to fix the problem.

All fixed

Would you mind explaining what you did to fix, just incase anyone else has the same problem in the future? :)


Port from Blueprint to MUI v5

will not fix for prototype - MUI missing critical functions (eg, hotkeys) which we to not want to recreate during experimental phase.  May revisit at a later date.


add contact refresh when ready room member

#528

This is a very dirty fix.
It might work for you, but its pattern is not right.
I suggest you call refresh manually before there's other good way to do this.


Reorganize file structure

The file structure of the project is a little messy. We should take some time and clean it up.

Done in #71


Replace example repository

The example Level/leveldown no longer depends on prebuild-install.
A popular dependent is lovell/sharp, with 35k+ downloads for release v0.25.2.

See

https://www.npmjs.com/package/prebuild-install?activeTab=dependents
https://github.com/lovell/sharp/releases/tag/v0.25.2
https://github.com/prebuild/prebuild-stats/issues/1

Fixes #1.

Thanks!


When bookmarked label is 'cupper'

When you bookmark the URL https://user-project.superbloom.design/
It gets added as 'cupper'
Image:

For me it is showing "Usable Software Ecosystem Research" right now. Might have been fixed by https://github.com/simplysecure/user_project_website/issues/52#issuecomment-1611312185 ?

Yeah was my caching issue so fixed!


quemu-use-env - use DOCKER_HUB

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@jtischer-acasi: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
fcaf8d525141c7572e00a612cd33e9b943eee7cc
link
true
/test lint

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.

@jtischer-acasi: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
fcaf8d525141c7572e00a612cd33e9b943eee7cc
link
true
/test lint

release-notes_istio
fcaf8d525141c7572e00a612cd33e9b943eee7cc
link
true
/test release-notes

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.

@jtischer-acasi: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
fcaf8d525141c7572e00a612cd33e9b943eee7cc
link
true
/test lint

release-notes_istio
8e6aeb8cf26d6d54f0a8a2981269321a4034e200
link
true
/test release-notes

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.

/test release-notes
Still need to satisfy the CLA.

The CLA for F5 has a bug, I have submitted a support ticket to the Linux Foundation for assistance.


ENH allow mu-Sigma model for any transfer function / power spectrum

Right now we can only call mu-Sigma for CLASS and the linear power spectrum. We should allow people to do anything.

This can get very ambiguous - the mu/Sigma ansatz is only defined for linear perturbations, and doesn't necessarily have meaning elsewhere.  Whatever we do should at the very least make this clear to users.

We cannot coddle our users. If people do something dumb, they do something dumb.

If we produce a code that claims it is generating the correct non-linear matter power spectrum for a mu-Sigma, then that code is lying.  This is not good.

I never claimed the code is correct nor should we.


Add test for simplified action usage

Add a test with simplified usage of the action (no docker buildkit setup, no registry login, no image push)

/test

/test


[RELAY/PASS] Change the return value convention of gradient

Change the return value convention from (res, (grad0, ...)) to (res, grad0, ...) to void nested tuple.
@MarisaKirisame @tqchen @jroesch @reminisce

I am a bit against this change. while it seems to improve usability, it harm composability.
To be more specific, we could do x.1 to take all the gradient, and put it into a tuple, so we can build a gradient descent/adam function in relay.
After this change, it is impossible, so how can we move the training loop into relay?
I do agree that improving usability is important, so maybe a better way is to keep the old version (as gradient_raw) alongside the new version.

Given the current convention, it is still easy to extract the gradient values via outputs[1:]. The main trade-off here is the generality v.s. the convention to favor non-nesting tuples. Non-nesting tuples are easier to optimize in general and work well for old graph runtime, and so I would recommend to keep them when possible.

I agree with Marisa. We have discussed adding a flattening pass for tuples, but I feel we should do that optimization separately from the interface. To me the interface is that we return the forward evaluation AND the gradients as two separate entities.

to be more clear, i think we can have both by having two interface - one general one, for whoever need to write generic code (such as a generic gradient descend), and one where where it is flatten and easier to use.
we cant go from the flatten one to the unflatten one purely inside relay world(we have to goto python)

I feel that it is just about convention and keep nested tuple seems no direct benefit?

we cant go from the flatten one to the unflatten one purely inside relay world(we have to goto python)

@MarisaKirisame do you mean we cannot express ret[1:] in relay?

@ZihengJiang when ret is a tuple, exactly.

OK, given the current discussion and suggestions from @MarisaKirisame and @jroesch , let us still keep the original signature, but provide a pass tuple_flatten that flattens the nested tuple into the flattened one

@ZihengJiang can you fix foward to forward? i can do it too.


Used matplotlib Sphinx plot directive to embed output image in the docs.

First fix for #1797

Comments on this fix:

Added function call similar to DicomPrintImageTags solution, but could avoid this since there are no arguments passed
Made assumption of 96dpi display to get plt.imshow to present at "correct" size
Added extra conf.py parameters to avoid hyperlinks to the source code and images
The function name get_smiley() isn't "professional", but overloading main() could be confusing. Suggestions?

@Zivy Generalizing sounds like a good second step. Let's get this case working in RtD, and then generalize it to more examples.


Robert Baratheon 'blank' STR

Any challenge Robert is involved in, whether alone or with other participants, that sides total strength is calculated as blank. It doesn't even write 0, but is understood as such for the purposes of unopposed. Red Keep was out as well.

I just had a similar issue with the Red Keep out, where my opponents strength on power challenges was blank. So I'm thinking something is fishy with the Keep atm. :)

#283 will fix the Robert issue, will need to look at Red Keep. If your opponent had another character that has dynamic strength (e.g. Drowned Men, Wolf Pup, etc), then it was probably the same issue as Robert.

It was Tywin. Makes sense then. :)


🛠 Tooling:   An error occurred while running semantic-release: TypeError: assets.map is not a function

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
[7:18:49 PM] [semantic-release] › ℹ  Start step "prepare" of plugin "@semantic-release/git"
[7:18:49 PM] [semantic-release] › ✖  Failed step "prepare" of plugin "@semantic-release/git"
[7:18:49 PM] [semantic-release] › ✖  An error occurred while running semantic-release: TypeError: assets.map is not a function
    at module.exports (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/@semantic-release+git@10.0.1_semantic-release@19.0.5/node_modules/@semantic-release/git/lib/prepare.js:37:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async prepare (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/@semantic-release+git@10.0.1_semantic-release@19.0.5/node_modules/@semantic-release/git/index.js:28:3)
    at async validator (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/lib/plugins/normalize.js:34:24)
    at async /home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/lib/plugins/pipeline.js:37:34
    at async /home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/lib/plugins/pipeline.js:31:3
    at async pluginsConf.<computed> [as prepare] (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/lib/plugins/index.js:80:11)
    at async run (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/index.js:193:3)
    at async module.exports (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/index.js:269:22)
    at async module.exports (/home/runner/work/template-typescript-node-package/template-typescript-node-package/node_modules/.pnpm/semantic-release@19.0.5/node_modules/semantic-release/cli.js:55:5) {
  pluginName: '@semantic-release/git'
}

Additional Info
https://github.com/JoshuaKGoldberg/template-typescript-node-package/actions/runs/3632722702/jobs/6128897738

Ooh, dup of https://github.com/semantic-release/git/issues/280


Extension activation event not working when command run through status bar icon

VSCode Version: 1.44.2
OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

Clone https://github.com/usama8800/VSCode-Command-Bug
Open in vscode and run with F5
Open a folder with a git repo in it
Open Command Palette and run > Git: Checkout to....
Notice Extension enabled in the main vscode window (not extension host)
Restart extension
Click the branch name on the at the left side of the status bar.
Notice lack of Extension enabled in the main vscode window (not extension host)

Does this issue occur when all extensions are disabled?: Yes

How do you Restart extension?
@jrieken Is this a valid scenario? Can an extension be activated by a trigger of another extension's command? Do you have an idea why this wouldn't work?

Can an extension be activated by a trigger of another extension's command? Do you have an idea why this wouldn't work?

Valid and it should just work. Only thing I think of is that it's actually a different event

@usama8800 What happens if you click the branch name on the at the left side of the status bar instead on step 4?

How do you Restart extension?
@jrieken Is this a valid scenario? Can an extension be activated by a trigger of another extension's command? Do you have an idea why this wouldn't work?

By restart extension I mean close the Extension host and press F5 to run again

Can an extension be activated by a trigger of another extension's command? Do you have an idea why this wouldn't work?

Valid and it should just work. Only thing I think of is that it's actually a different event (e.g a different command)

I checked the code for the git extension https://github.com/microsoft/vscode/blob/3ff6b96ab7bd96e0cd942944ef604837e2b124b5/extensions/git/src/statusbar.ts#L29 and it seems it is git.checkout

@usama8800 What happens if you click the branch name on the at the left side of the status bar instead on step 4?

That's equivalent to step 7. Nothing happens.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


How did you train your agent?

May I ask how did you train your agent? I used the standard baselines method:
python -m baselines.run --alg=deepq --env=PongNoFrameskip-v4 --num_timesteps=1e7 --save_path=~/models/pong_10M_deepq
However, the trained model cannot be used due to the following issue. I believe it is due to differrent parameters you set to train your agent and the default baselines setting.

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1292, in _do_call
return fn(*args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1277, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1367, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [512] rhs shape= [256]
[[{{node deepq/save/Assign_1}} = Assign[T=DT_FLOAT, _class=["loc:@deepq/q_func/action_value/fully_connected/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](deepq/q_func/action_value/fully_connected/biases, deepq/save/RestoreV2:1)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1538, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 887, in run
run_metadata_ptr)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1110, in _run
feed_dict_tensor, options, run_metadata)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1286, in _do_run
run_metadata)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1308, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [512] rhs shape= [256]
[[{{node deepq/save/Assign_1}} = Assign[T=DT_FLOAT, _class=["loc:@deepq/q_func/action_value/fully_connected/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](deepq/q_func/action_value/fully_connected/biases, deepq/save/RestoreV2:1)]]
Caused by op 'deepq/save/Assign_1', defined at:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/deepq/experiments/atari/enjoy.py", line 145, in
model_path=os.path.join(args.model_dir, "saved")
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/deepq/build_graph.py", line 130, in build_act
U.load_state(model_path)
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/common/tf_util.py", line 272, in load_state
saver = tf.train.Saver()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1094, in init
self.build()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1106, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1143, in _build
build_save=build_save, build_restore=build_restore)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 787, in _build_internal
restore_sequentially, reshape)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 428, in _AddRestoreOps
assign_ops.append(saveable.restore(saveable_tensors, shapes))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 119, in restore
self.op.get_shape().is_fully_defined())
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 221, in assign
validate_shape=validate_shape)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 61, in assign
use_locking=use_locking, name=name)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3272, in create_op
op_def=op_def)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1768, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [512] rhs shape= [256]
[[{{node deepq/save/Assign_1}} = Assign[T=DT_FLOAT, _class=["loc:@deepq/q_func/action_value/fully_connected/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](deepq/q_func/action_value/fully_connected/biases, deepq/save/RestoreV2:1)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/deepq/experiments/atari/enjoy.py", line 145, in
model_path=os.path.join(args.model_dir, "saved")
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/deepq/build_graph.py", line 130, in build_act
U.load_state(model_path)
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/common/tf_util.py", line 273, in load_state
saver.restore(get_session(), fname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1574, in restore
err, "a mismatch between the current graph and the graph")
tensorflow.python.framework.errors_impl.InvalidArgumentError: Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
Assign requires shapes of both tensors to match. lhs shape= [512] rhs shape= [256]
[[{{node deepq/save/Assign_1}} = Assign[T=DT_FLOAT, _class=["loc:@deepq/q_func/action_value/fully_connected/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](deepq/q_func/action_value/fully_connected/biases, deepq/save/RestoreV2:1)]]
Caused by op 'deepq/save/Assign_1', defined at:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/deepq/experiments/atari/enjoy.py", line 145, in
model_path=os.path.join(args.model_dir, "saved")
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/deepq/build_graph.py", line 130, in build_act
U.load_state(model_path)
File "/Users/harry/Documents/FYP_Codes/rl-attack-detection/baselines/common/tf_util.py", line 272, in load_state
saver = tf.train.Saver()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1094, in init
self.build()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1106, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1143, in _build
build_save=build_save, build_restore=build_restore)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 787, in _build_internal
restore_sequentially, reshape)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 428, in _AddRestoreOps
assign_ops.append(saveable.restore(saveable_tensors, shapes))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 119, in restore
self.op.get_shape().is_fully_defined())
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/ops/state_ops.py", line 221, in assign
validate_shape=validate_shape)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/ops/gen_state_ops.py", line 61, in assign
use_locking=use_locking, name=name)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3272, in create_op
op_def=op_def)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1768, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
Assign requires shapes of both tensors to match. lhs shape= [512] rhs shape= [256]
[[{{node deepq/save/Assign_1}} = Assign[T=DT_FLOAT, _class=["loc:@deepq/q_func/action_value/fully_connected/biases"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](deepq/q_func/action_value/fully_connected/biases, deepq/save/RestoreV2:1)]]

can i ask how to get visual foresight module？

can i ask how to get visual foresight module？

Yes, did you find the module?


Issue with implementation of use_rfc_cookie

Thanks so much for adding the use_rfc_cookie functionality!
I don't want to sound ungrateful, since this is a real improvement, but since this just rolled out, maybe it is not too late to reconsider the implementation of this. Here is the issue: a base64 encoded cookie is hard to read, which obviously makes debugging more difficult.
I believe you could achieve the same level of RFC compliance, with simpler code, by using encodeURIComponent and decodeURIComponent.  This would be easier to read not only because fewer character would be encoded, but also chrome, at least, expects this sort of behavior in the debugger, and has a checkbox to let you show the decoded value:

Yes, it's easier now so I might remove the .set('revision') method whenever v3 is released!


enable wandb sweep integration

Allows for integration with the wandb sweep hyperparameter search feature.
Wandb currently does not support nested parameters thus the arguments list needs to be flattened and rebuilt.

Here is an example sweep file that works with the tutorial code:
program: deepy.py
method: bayes
metric:
  name: validation/lm_loss
  goal: minimize
parameters:
  optimizer.params.lr:
    min: 0.0001
    max: 0.1
command:
  - ${env}
  - ${interpreter}
  - ${program}
  - "train.py"
  - "configs/small.yml"
  - "configs/local_setup.yml"

To launch the sweep you would run:
wandb sweep sweep.yaml
which will give you a command that you use launch each of the agents.

@StellaAthena Done! I added the sweep.yml example to the README and some documentation around how to use it.

I was able to create a sweep successfully but when I try to execute it I am getting the following error
  File "train.py", line 26, in <module>
    neox_args.configure_distributed_args()
AttributeError: 'NoneType' object has no attribute 'configure_distributed_args'```

I've made the linked sweep open, so anyone can try it out / edit it.

@StellaAthena Could you post your

configs/small.yml
configs/local_setup.yml

so I can replicate your setup? When I tried it, I think it was complaining that the save_interval was missing from the configs.
With respect to your earlier question, the wandb agent runs after deepy.py is called so it can control most/all of the parameters after deepspeed is started (within train.py). I am not sure I have the hardware to replicate your setup and your specific question.

Ohhh I didn’t notice that you were pointing at local_setup… let me try it again with eleutherai_cluster


Resources addon to dynamically add/remove css

Issue: I think there might be use-cases where folks want to quickly hop between different css resources at runtime. Here is an addon that will help with that.
What I did

This might seem similar to recent resources-addon PR but is slightly different. This one allows you to switch between css files/themes predefined at compile time. This was a usecase that folks had asked and might be a good idea to deliver just that in this addon.
The other addon (which is more of a codeinjector-addon) will be a different PR, (most likely will update the previous one).


Regen with gir#1275

See https://github.com/gtk-rs/gir/pull/1275

@bilelmoussaoui please remember to ping for book changes :)
@sdroege, what does the new generic parameter of emit_by_name mean?
I should probably mention that in the book.

@bilelmoussaoui please remember to ping for book changes :)

The change is minimal that's why I thought it's not a problem

@sdroege, what does the new generic parameter of emit_by_name mean? I should probably mention that in the book.

before this change, the emit_by_name returned a Option and now it returns either T if the signal handler returned a value of type T or () in case you expect None to be returned by the signal handler.

now it returns either T if the signal handler returned a value of type T or () in case you expect None to be returned by the signal handler.

Thanks, I will open a PR to mention this in the corresponding book section.

@sdroege, what does the new generic parameter of emit_by_name mean?

It's the expected return value (and it will panic otherwise). If the return type is not (), type inference will also usually figure it out.

FWIW I don't like that you have to provide () if it doesn't have a return value, but that seems to be required for now. And at least it makes sure you don't accidentally forget to do something with the return value :)


Loading glsl shaders?

Is it possible to load glsl shaders in the player? I want to apply some custom enhancement shaders to videos.

You can implement a custom GlEffect and extend BaseGlShaderProgram and reference your custom shader. There are several GlEffect in the effect module you can use as a reference for your implementation.
You can find more details about custom shaders in the issue #750


[Bug] NetApp MIBs missing?

Hi,
I was wondering if the current MIBs used for NetApp are up to date, since we are missing some metrics. Attaching mib file for you reference:
https://citrix.sharefile.com/d-se58baf0455e94d8183e7c8102054eb94
Thanks

Can you be more specific about what additional data you believe should be in the profile?

We have shared the MIBs that are required. You can either check on your side against this or you can let us know what MIBs you are currently supporting so that we can check on our side.

@Mesverrum I am also attaching some missing mibs as example for your reference:
NETAPP-MIB::cDOT*****. e.g. CpuNodeName / cDOTMiscGlobalStatus
NETAPP-MIB::qvStateVolume / qvStateVserver / qvStateName
NETAPP-MIB::dfFileSys / dfKBytesTotal / dfKBytesUsed /dfKBytesAvail / dfStateOnline/ dfVserver/ dfPerCentSaved/ dfLow***
NETAPP-MIB::raidPDiskType/ raidPDiskRPM/ raidPDiskModel
NETAPP-MIB::plexVolName
NETAPP-MIB::enc**** e.g. enclNumberDiskBays/ enclPowerSuppliesFailed/ enclFansMaximum/ enclTempSensorsMaximum/ enclTempSensorsOverTempFail/ enclTempSensorsCurrentTemp/ enclVoltSensorsMaximum/ enclVoltSensorsPresent/ enclVoltSensorsOverVoltFail/ enclVoltSensorsUnderVoltWarnThr/ enclCurSensorsPresent/ :enclCurSensorsOverCurFail/ enclSASConnectPresent/ enclFansSpeed
NETAPP-MIB::ha**** e.g. NodeName/ haState/ haCannotTakeoverCause/ haPartnerStatus/ haPartnerName / haInterconnectStatus.
NETAPP-MIB::netif**** e.g. NETAPP-MIB::netifDescr
There are even more stuff missing. Please let us know if we need to raise a new NetApp profile request and provide snmpwalks and everything...thanks

The majority of the oid's you mention are already in there, or they had been deprecated in the mib in favor of others that we already have.
I added some that weren't there.  Keep in mind that the intention of the snmp profiles in New Relic is to bring in SNMP telemetry primarily around tracking performance issues, it is not intended to be a full snmp inventory of every possible attribute and metadata point.  OID's that can't be mapped back to a performance issue are usually not going to be good to put in the profiles.  That is why we do not just blindly ingest everything in the MIBs.

If the majority of the OIDs are already there, then there is some other issue with NewRelic integration since we do not see these metrics in our profile. Even the default NetApp graphs/queries are not working, so further investigation about all these missing metrics is needed. We will anyway escalate this with a support case.

@roostergr - can you please provide an SNMP walk for your NetApp so we can validate the metrics it responds to?

@thezackm can i please share it via email just to be on the safe side? thanks

@thezackm btw. for some reason we stopped receiving dfstatus <IP_ADDRESS>.4.1.7<IP_ADDRESS>.1.20 after pulling the latest image.

@thezackm can i please share it via email just to be on the safe side? thanks

Surely. I believe you have a support case open, you can share it there and I'll get it.

@roostergr - confirming we got your SNMP walk results; will be reviewing and will report back here with next steps; thanks

@roostergr - looking through your case and logs, we've identified that the current netapp profile has grown larger than the default batch size allowed by the gosnmp library. This is why you're suddenly seeing a loss of metrics.
A feature request has been opened on the ktranslate repo to provide a work-around for this challenge.

@thezackm great thanks a lot for your support

@thezackm one last thing, does this affect also the nexus-profiles? we lost memoryUtilization metric.


MDL Presentation Prompts - Consent, Biomentric, and Passphrase

Consent Prompt can be shown via extension function FragmentActivity.showConsentPrompt() and returns a boolean. I did some minor cleanup refactoring to the Consent Prompt composable, such as renaming Share button val definition to Confirm. Located in package wallet.ui.prompt.consent.
Biometric Prompt can be shown via extension function FragmentActivity.showBiometricPrompt() and returns a boolean indicating whether biometric authentication was successful. Located in package wallet.ui.prompt.biometric.
Passphrase Prompt can be shown via extension
function FragmentActivity.showPassphrasePrompt() and returns the passphrase string that was entered.
Test: all unit tests pass
Test: manually launched Wallet app and performing an MDL Presentation between Wallet and AppVerifier
Original PR https://github.com/openwallet-foundation-labs/identity-credential/pull/631 (for the initial conversation)

Thanks for doing this. In the future please squash commits into a single commit and force push. You forgot this time and it litters the git history.


Create blog title

Should have the following:

[x] Name
[x] Styling (centered)

Reopening due to error in padding


Missing languages on Web Fundamentals

There are some missing languages on the the production site:

العربية
עִבְרִית
Hindi
Italiano
Nederlands
Polski
Türkçe
中文（繁體）

There's an option for these languages on the staging site but not on the production site.

@limhenry do you see italian in this page?
https://developers.google.com/web/fundamentals/performance/http2/
I think the list may be adoptive to what's available.

Yes, i can see the italian translation for this article (Introduzione a HTTP/2

Yep. Is that article/page have the translation, then that language will shows on the footer.
Example

Showing option for zh-tw: https://developers.google.com/web/fundamentals/design-and-ux/animations/animating-between-views
Not showing option for zh-tw: https://developers.google.com/web/fundamentals/

People with proper locale set on their browser will see the translated content anyway. I believe the best way to fix this is not to worry about it.


Needs to use gxutils.PM.GetPackageTo()

# github.com/whyrusleeping/gx-go
go/src/github.com/whyrusleeping/gx-go/importer.go:119: i.pm.GetPackage undefined (type *gxutil.PM has no field or method GetPackage)

GetPackage() got removed in whyrusleeping/gx@db0f61063c21cf7425acf42f97ec48c3fb880465

fixed


New Livemark button does nothing

Trying to add a new livemark via the New Livemark button on the "Your livemarks" settings page does nothing.  No livemark is created on the page or in the bookmarks menu.
Tested on FF 62.0.3 on Linux and FF 62.0.2 on Windows

Using the debugger gave me more info: If the given livemark name is not a valid URL, the action does not complete due to a TypeError, and no message of any kind is shown to the user.


Solves inconsistencies in API return values

Description
Makes all timestamps returned as seconds since epoch (numbers)
See this comment for the rationale behind those changes (to be discussed): https://github.com/KlimaDAO/klimadao/issues/1013#issuecomment-1827162622
Related Ticket
Resolves #1013

Checklist

[x] I have run npm run build-all without errors
[x] I have formatted JS and TS files with npm run format-all

@O

Looks good to me, appreciate the cleanup! Will let @0xemc do final review and merge

@0xemc If you can take a look.

Looks good to me, appreciate the cleanup! Will let @0xemc do final review and merge

@0xemc If you can take a look.

Looks good to me, merge away


[Gallery][Wasm/Android/iOS] sliding is not working properly for 'CupertinoSlidingSegmentedStyle'.

Current behavior

https://user-images.githubusercontent.com/74563602/225919825-87590ab9-b890-4975-a8ce-5285a13b7531.MP4
Expected behavior
The chosen segment should get selected and highlight.
How to reproduce it (as minimally and precisely as possible)

Open Uno Gallery APP
Click Burger Menu on the left top right.
Click "Segmented" from the "Toolkit" list.
Observe that for 'CupertinoSlidingSegmentedStyle' slider is on 'purple' but the chosen tab is 'Orange'

Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
WebAssembly, Android, iOS
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response

This issue is resolved due to that closing it.


Security Audit

This issue is for a security audit I will be conducting on cat-book alpha. I to any vulnerbilities, and security leaks. And how secure or insecure CatBook Alpha is.

Final notes from this security audit.
I have concluded that this current version of CatBook Alpha is safe and secure. With the current addition of Snyk: Developer Security Platform. This has mitigated risks, and reduced the attack surface. But there is still a possible risk of CSRF (Cross Site Forgery) mentioned by Snyk. With render's firewall provider Cloudflare and it's security compliance rules this is midigated and is low risk. And in conclusion, CatBook Alpha 1.0.7 on prod is safe and has a low to medium attack surface. As long has it keeps receiving further security patches this web app should be ok.


fix springMVC4 noSuchMethod

Please answer these questions before submitting pull request

Why submit this pull request?
[ ] Bug fix
Related issues
#2659
#3337

Bug fix

Bug description.

How to fix?

@ascrutae Please review, I need your opinion about this, due to you build the spring plugin at the beginning.

@SummerOfServenteen Update?

@ascrutae Please check.

Got your point, @SummerOfServenteen . The PR looks good to me


Incorporate the Idemopotency support into the Kinesis Input Operator.

Why are we storing the messages in recovery state when they are available from Kinesis. We should just keep track of the offsets.

I think, it would be redundant process, If we store the offsets in recovery state. Because the replay method, has to read those records from kinesis  and convert those records to tuples again.

Currently everything is spooled to HDFS for the recovery case. Instead we want to optimize regular processing, not the exception case.

We will fetch the data from KinesisInputOperator as follows:
* Records would be read from multiple shards.
* There is one thread created to service each shard.
* This thread continuously keeps fetching records from the shard it is servicing.
* Fetched records are stored into the buffer which are then converted into tuples and emitted.
Since each thread is independently serving a shard, we cannot guarantee the ordering of the records in the replay state if we store the offsets.
-----Original Message-----
From: "tweise"<EMAIL_ADDRESS>Sent: Wednesday, January 28, 2015 12:14pm
To: "DataTorrent/Malhar"<EMAIL_ADDRESS>Cc: "chaithu14"<EMAIL_ADDRESS>Subject: Re: [Malhar] Incorporate the Idemopotency support into the Kinesis Input Operator. (#1249)
Currently everything is spooled to HDFS for the recovery case. Instead we want to optimize regular processing, not the exception case.
—
Reply to this email directly or  view it on GitHub .

This is the reason we are spooling all the data to HDFS and not just maintaining the offsets.

There is a merge conflict with this pull request
Merge conflict in contrib/src/main/java/com/datatorrent/contrib/kinesis/AbstractKinesisInputOperator.java

Resolved the merge conflicts and opening a new pull request.


When you select a course in the Tabular Menu, have it automatically shift you to Course 2, then from course 2

Go to https://hasspathways.com/pathway?pathway=artificial_intelligence, and click on a course. We want to make it so when you click on your course, you are slid over to 2nd course and prompted to select your 2nd course, and then from 2nd course to 3rd. Basically, make it so you don't have to click on 2nd course to get to it after you select your first course!

But what if you want to select multiple "course 1" options? Then you'll have to go back to Tab 1 every time you click a course

This was a Bram suggestion, so that is a good point to bring up. Whomever picks up this issue please keep that in mind

Added the feature as well as a toggle. The buttons don't look the best but the feature is there and can easily be added/removed as needed in the future.


Add config option to make everyone admin

Btw. this is useful to me as I am making a wg server for family with this, so I don't need advanced access control. On top of that, the LDAP server I use had some problems with memberOf, which will probably be fixed though


Add ElysiaJS Framework Logo

At the request of an issue requesting the icon of the famous ElysiaJS framework. Next to a picture seen in development.

Thanks 🚀✨


Fall back to example array mock data if spec provides one.

This is just a proof of concept that demonstrates serving up an example array item if the schema provides one.
Note: this will fill in any nested objects in the schema example, but will NOT recursively fill in nested arrays.  If anyone knows where to look to enable that, please let me know.
You could imagine controlling this more explicitly with an 'x-auto-generate' property, for example...
Seeking feedback.

Thanks for submitting this.  I added some unit tests around it and changed it up a bit to be more consistent with the way default and example works elsewhere in the code.  The main change from your code is that the default or example needs to be on the schema itself, rather than on schema.items.  Of course, you can use a $ref to point from schema.example to schema.items.example if you want.

Thank you... Do you know how to address the issue around recursively filling in nested arrays with example items if provided?  Or where to look to fix that?

The example is just used as a literal value, so whatever it points to is exactly what will be returned.  So, you have complete control over what gets returned.  You can populate the returned object as deeply as you want.  For example:
paths:
  /people:
    get:
      responses:
        200:
          schema:
            type: array
            items:
              $ref: "#/definitions/person"
            example:
              - firstName: John
                lastName: Doe
                age: 60
                children:
                  - firstName: Sarah
                    lastName: Smith
                    age: 32
                  - firstName: Andrew
                    lastName: Doe
                    age: 37
                    children:
                      - firstName: Johnny
                        lastName: Doe
                        age: 7
                      - firstName: Susie
                        lastName: Doe
                        age: 6

You can even take advantage of $ref pointers to re-use values across multiple examples:
paths:
paths:
  /people:
    get:
      description: returns all people
      responses:
        200:
          schema:
            type: array
            items:
              $ref: "#/definitions/person"
            example:
              - $ref: "#definitions/johnDoe"

  /people/{name}:
    get:
      description: returns one person
      responses:
        200:
          schema:
            $ref: "#definitions/person"

definitions:
  person:
    type: object
    properties:
      firstName:
        type: string
      lastName:
        type: string
      age:
        type: number
      children:
        type: array
        items:
          $ref: "#/definitions/person"
    example:
      $ref: johnDoe

  johnDoe:
    firstName: John
    lastName: Doe
    age: 60
    children:
      - $ref: sarahSmith
      - $ref: andrewDoe

  sarahSmith:
    firstName: Sarah
    lastName: Smith
    age: 32

  andrewDoe:
    firstName: Andrew
    lastName: Doe
    age: 37
    children:
      - $ref: johnnyDoe
      - $ref: susieDoe

  johnnyDoe:
    firstName: Jonny
    lastName: Doe
    age: 7

  susieDoe:
    firstName: Susie
    lastName: Doe
    age: 6


Run refresh programmatically

Hello,
Thank you for great lib.
I would like to have opportunity to run refresh programmatically from .onAppear { } block. Could you please prompt me how to achieve it?

I think you can achieve that by setting the pullToRefresh "isShowing" binding var to true on the .onAppear code block
Something like this:
struct ContentView: View {

    @State var isRefeshing: Bool = false
    var body: some View {

        List { ... }
            .pullToRefresh(isShowing: $isRefreshing) { ... }

        Text("Refresh me")
            .onAppear() {
                self.isRefeshing = true
            }
    }
}

Thank you for your response. You are right, "isShowing" binding var should be set to true on the .onAppear code block. But it's not enough. You also need to modify func updateUIView.
func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<PullToRefreshRepresentation>) {

        DispatchQueue.main.asyncAfter(deadline: .now()) {

            guard let parentView = self.parentView(entry: uiView) else { return }

            if let refreshControl = parentView.refreshControl {
                if self.isShowing {
                    **if !refreshControl.isRefreshing {
                        parentView.setContentOffset(CGPoint(x: 0, y: parentView.contentOffset.y - refreshControl.frame.size.height), animated: true)
                    }**
                    refreshControl.beginRefreshing()
                } else {
                    refreshControl.endRefreshing()
                }
                return
            }

            let refreshControl = UIRefreshControl()
            refreshControl.addTarget(context.coordinator, action: #selector(Coordinator.onValueChanged), for: .valueChanged)
            parentView.refreshControl = refreshControl
        }
    }

Only after that it works as needed in my case.

Should @Luur's changes go into a PR to master? Seems to me that this is a rather common use case.


All website navigation interactions redirect to "Workflow Migration Info" tab/page

As of yesterday, any time I try to use any of HappySoup's features online, everything redirects to the new Workflow Migration Info tab. Therefore HappySoup online is currently unusable.
Just giving @pgonzaleznetwork a heads up in case you're unaware.

Thanks for reporting this issue. I'm ok vacation until Jan 15th so sadly
HappySoup will not be functional until then
On Wed 4 Jan 2023, 9:13 p.m. nwoNF, @.***> wrote:

As of yesterday, any time I try to use any of HappySoup's features online,
everything redirects to the new Workflow Migration Info tab. Therefore
HappySoup online is currently unusable.
Just giving Pablo an FYI in case he's unaware.
—
Reply to this email directly, view it on GitHub
https://github.com/pgonzaleznetwork/sfdc-happy-soup/issues/222, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACATFD2X4RPLJQ7VMSJVORDWQWLCRANCNFSM6AAAAAATQ55DX4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks, Pablo! Have a great vacation.

Update from Pablo posted on a different issue thread: https://www.linkedin.com/posts/pablis_salesforce-where-is-this-used-for-standard-activity-7018141099047141378-IEvl?utm_source=share&utm_medium=member_android

This is now resolved. Thanks for your patience!


Automating Clarity Ref Updates

clarityRef.json is generated by the docgen command in the stacks-blockchain repo -- should we setup some kind of automation to make sure that when that command updates the JSON, either the site here gets updated automatically, or it triggers something like an automatic PR?

Also related, this PR https://github.com/blockstack/stacks-blockchain/pull/1507 deletes most of the duplicated docs content from the stacks-blockchain repo, however, it's kind of hung up on discussion of the stacks-blockchain's API documentation. We want the API interface to be documented at least in the stacks-blockchain repo, but see that the content needs to get over here as well somehow.
I think that presents us with three options:

Someone manually opens a PR on this repo any time there's a change in either the docgen output or the RPC API on the stacks-blockchain's main branch.
We use some kind of (Github action?) magic to automate the process of opening that PR.
The docs website's build automatically pulls the data from the stacks-blockchain's main branch.

this was done already


ES6 module?

Hi, I've converted this package to an ES6 module and cleaned it up quite a bit. Thought you may want to add a link to the readme for users that need tree shaking, etc.
Ref: https://github.com/marlun78/number-to-words/compare/master...OmgImAlexis:master

Thank you for this, @OmgImAlexis . Could you also submit it as a pull request in case @marlun78 comes back online one of these days?
For anyone who stumbles upon this in the future, you can run npm install github:OmgImAlexis/number-to-words for the ES6 version. I may submit a pull request for typings in the future.
And a sidenote: I had an issue with importing.
import { toWords } from 'number-to-words'; says that the module does not have a toWords export.
Instead I had to run import * as numberToWords from 'number-to-words'; then numberToWords.default.toWords(someNumber); for it to work. Is it because I'm using an es6 transformer instead of directly importing in a <script type="module"> block?

This might help if you are looking to use the existing package as an ES6 import.
import { default as converter } from 'number-to-words';

converter.toWords(13); // => “thirteen”

@tchaffee you don’t need to rename default.
import x from “package” imports the default already.

@OmgImAlexis I was positive I had tried that and it didn't work... but yes, it does work. Thanks. Just so it's spelled out for anyone looking, this is working for me:
import converter from 'number-to-words';

converter.toWords(13); // => “thirteen”


x/pkgsite: mismatched version, tags, LATEST

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/tendermint/liquidity
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36
Screenshot

What did you do?
The tags of other repo that were accidentally pushed are registered in the pkg.go.dev version, so the tags of other repo that are not the actual latest version are the base version
So we have removed the wrong tags in this repo and released higher tags. and
call<EMAIL_ADDRESS>and
<EMAIL_ADDRESS>https://github.com/tendermint/liquidity/issues/119
What did you expect to see?
Expected tag list of github repo tags and tag list of pkg.go.dev_versions to be synced
and set the latest version to be v1.2.0-rc1
What did you see instead?
listed removed the wrong tags and set the latest version as the wrong v0.33.2

@latest won't match pre-releases when "stable" releases exist
You should be able to retract wrong versions, pkg.go.dev support for it is #43265


[iOS] unregister for a topic: parameter is not consistent between ios/android

Expected Behaviour
Run this Code
push.unregister(function(){}, function(){}, [ios_abcdef123456])

and get  message
Successfully unsubscribe from topic ios_abcdef123456

Actual Behaviour
Get message
Failed to unsubscribe from topic ios_abcdef123456

invalid gcm pubsub topic

Reproduce Scenario (including but not limited to)
N/A
Steps to Reproduce

Login
Subscribe for topic ios_abcdef123456
Logout
unsubscribe for topic ios_abcdef123456
unsubscribe fail
End

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 9.3
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
iPhone 5
Cordova CLI version and cordova platform version
Cordova 6.2.0
Plugin version
v1.7.2
Sample Push Data Payload
N/A
Sample Code that illustrates the problem
N/A
Logs taken while reproducing problem
N/A
I looked at the source code. I seem in iOS It doesn't add '/topics/' to the input (which It did in Android)

@hungdoan2 why don't you send a pull request from your branch and I can merge in the fix.


configure: improve strlcpy/strlcat checks

Fix issue on OS X where gcc is actually clang.

Merged, thanks!


name and github link added

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[x] 🌟 stared the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Add Link of GitHub Profile

this is showing excluded project


Webhooks not triggering when the messages are within same second.

Environment

VerneMQ Version: 1.11.0
OS: Linux
Erlang/OTP version (if building from source):
VerneMQ configuration (vernemq.conf) or the changes from the default
Cluster size/standalone:

Expected behaviour
The webhook should be triggered for each new published message for a topic.
Actual behaviour
The webhook gets triggered for only the first published message within that split second. I am assuming the response for the webhook from the first message gets cached.
We are returning the header Cache-Control: no-cache, private, max-age=0 to avoid this issue.
If I see this line in the code, even if the MaxAge (ExpiryInSecs) is 0, would a row still be inserted in the cache?
https://github.com/vernemq/vernemq/blob/537049242c8bb30a9dafe77c48e0af67d9ef12b5/apps/vmq_webhooks/src/vmq_webhooks_cache.erl#L73
If it is still inserted, then wouldn't the next webhook call in that same timestamp be returned from cache?
Sorry, but I am not experienced with erlang, so I want to confirm another point in the workflow:
Would the case of max-age=0 header, and empty header without cache-control be handled differently?
I couldn't figure out from the code here. :bow:
https://github.com/vernemq/vernemq/blob/320192be1cde04d7656f42a12a4f63b0880437cb/apps/vmq_webhooks/src/vmq_webhooks_plugin.erl#L487
Does it automatically set the ExpiryInSecs to 0 when no cache-control header is passed?
Thank you for your support!
Please let me know if I can provide any more context into my problem. :pray:
My end goal is to not have any caching at all, and be able to trigger a webhook for each and every message that is published. :)

@yashmurty
Here's the definition for maybe_call_endpoint (which does a roundtrip to cache, before call_endpoint)
https://github.com/vernemq/vernemq/blob/320192be1cde04d7656f42a12a4f63b0880437cb/apps/vmq_webhooks/src/vmq_webhooks_plugin.erl#L429
In short, the cache will always be there, but items will not be inserted if there's no ExpiryInSecs set as an answer in the WebHook. I suppose then it doesn't make much sense to set ExpiryInSecs to 0, but let me know if you can achieve what you need by just leaving out ExpiryInSecs.

@ioolkos
Thank you for your answer.

but items will not be inserted if there's no ExpiryInSecs set as an answer in the WebHook.

I see. So the vmq_webhooks_cache:insert does not get triggered when ExpiryInSecs is undefined when parsing from headers. :memo:

but let me know if you can achieve what you need by just leaving out ExpiryInSecs.

Sure. I will try this out and get back to you.

I suppose then it doesn't make much sense to set ExpiryInSecs to 0

Makes sense.
But do you think we should modify the logic before the insert operation in this line, so that we skip inserting in case the value of ExpiryInSecs is 0? Or our logic could skip it in case an explicit Cache-Control: no-cache header has been provided?
https://github.com/vernemq/vernemq/blob/320192be1cde04d7656f42a12a4f63b0880437cb/apps/vmq_webhooks/src/vmq_webhooks_plugin.erl#L437

@yashmurty note that the Webhooks plugin only checks the <<"cache-control">> header for max-age (as per the source line you quoted in your opening post), so it'll ignore no-cache anyway. The other Cache-Control HTTP directives are not needed/implemented.

@ioolkos

but let me know if you can achieve what you need by just leaving out ExpiryInSecs.

I was able to resolve my issue. :tada:
Not having any max-age in my response headers to the webhook calls, fixes it.
Thank you for your time. :)

The other Cache-Control HTTP directives are not needed/implemented.

If you think it will be nice idea to skip caching when max-age is explicitly sent as 0, then please let me know.
I would love to try working on a PR for it with your guidance. :slightly_smiling_face:

@yashmurty thanks, sure, let's do that. Look at parse_headers/1 and add a guard.


Add some iteration method on a dataset column (specific for inference)

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Currently, dataset["audio"] will load EVERY element in the dataset in RAM, which can be quite big for an audio dataset.
Having an iterator (or sequence) type of object, would make inference with transformers 's pipeline easier to use and not so memory hungry.
Describe the solution you'd like
A clear and concise description of what you want to happen.
For a non breaking change:
for audio in dataset.iterate("audio"):
    # {"array": np.array(...), "sampling_rate":...}

For a  breaking change solution (not necessary), changing the type of dataset["audio"] to a sequence type so that
pipe = pipeline(model="...")
for out in pipe(dataset["audio"]):
    # {"text":....}

could work
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
def iterate(dataset, key):
    for item in dataset:
        yield dataset[key]

for out in pipeline(iterate(dataset, "audio")):
    # {"array": ...}

This works but requires the helper function which feels slightly clunky.
Additional context
Add any other context about the feature request here.
The context is actually to showcase better integration between  pipeline and datasets in the Quicktour demo: https://github.com/huggingface/transformers/pull/16723/files
@lhoestq

I agree that current behavior (decoding all audio file sin the dataset when accessing dataset["audio"]) is not useful, IMHO. Indeed in our docs, we are constantly warning our collaborator not to do that.
Therefore I upvote for a "useful" behavior of dataset["audio"]. I don't think the breaking change is important in this case, as I guess no many people use it with its current behavior. Therefore, for me it seems reasonable to return a generator (instead of an in-memeory list) for "special" features, like Audio/Image.
@lhoestq on the other hand I don't understand your proposal about Pandas-like...

@lhoestq @mariosasko Could you please give a link to that new feature of pandas.Series? As far as I remember since I was worked with pandas for more than 6 years, there was no lazy in-memory feature; it was everything in-memory; that was the reason why other frameworks were created, like Vaex or Dask, e.g.

Yea pandas doesn't do lazy loading. I was referring to pandas.Series to say that they have a dedicated class to represent a column ;)


android and ios outlook rules

in addition I have some questions
What's the relationship/difference between this project and https://github.com/github/email_reply_parser or any JavaScript "rewrite"/port ? I think it might be useful to clarify in the README.md
Would you be open to PRs that restructure this significantly ?

Thanks for your contribution!
We are open to any PRs that could help on this project.
About your question with GitHub's project, we choose to go in our own way as Github's project was not really well maintained and we really needed a JS-based solution for Crisp that could fit our needs.

We just release a 1.2.5 version with your changes :)


Output contains "{{pinch zoom}}" including the braces

Seems like it was meant to link somewhere

{{foo}} is the shorthand for IDL links.  "pinch zoom" is a dfn-type link, not an IDL type, so it won't work.  Needs to just be pinch zoom.


MOT-STEP transfer error

2021-07-13 18:53:38.368250: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
I0713 18:53:39.327753<PHONE_NUMBER>93440 build_step_data.py:292] Starts to processing STEP dataset split train.
Traceback (most recent call last):
File "/home/ubuntu/yunjian/motion_deeplab/deeplab2/data/build_step_data.py", line 298, in
app.run(main)
File "/home/ubuntu/anaconda3/envs/deeplab2/lib/python3.6/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/ubuntu/anaconda3/envs/deeplab2/lib/python3.6/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/ubuntu/yunjian/motion_deeplab/deeplab2/data/build_step_data.py", line 294, in main
FLAGS.use_two_frames)
File "/home/ubuntu/yunjian/motion_deeplab/deeplab2/data/build_step_data.py", line 283, in _convert_dataset
use_two_frames, is_testing)
File "/home/ubuntu/yunjian/motion_deeplab/deeplab2/data/build_step_data.py", line 247, in _create_panoptic_tfexample
prev_label_data=prev_label_data)
File "/home/ubuntu/yunjian/motion_deeplab/deeplab2/data/data_utils.py", line 224, in create_video_tfexample
label_format)
File "/home/ubuntu/yunjian/motion_deeplab/deeplab2/data/data_utils.py", line 124, in create_features
raise ValueError('Unsupported image format: %s' % image_format)
ValueError: Unsupported image format: jpg
Process finished with exit code 1
following the guide:https://github.com/google-research/deeplab2/blob/main/g3doc/setup/kitti_step.md, I transfer the KITTI dataset to KITTI_STEP, while I transfer MOT-Challenge following the guide:https://github.com/google-research/deeplab2/blob/main/g3doc/setup/motchallenge_step.md, I get the above error.

Hi yjlin0223,
Thanks for pointing out this issue. We fixed this last week in https://github.com/google-research/deeplab2/commit/a58814f71e00092ddda9d913ae91e653a0b5da28#diff-9ab724a923b0af2a9aa0ff05336efb87037db7fee59123ade73e24efc0a0aec6. Can you update your branch to incorporate this change?

thanks,it works


fix: Stop using the legacy gcp auth plugin

The gcp auth plugin was removed form client-go and replaced with a stub that panics if the legacy auth plugin is not installed. This was causing nomos not to work in environments without the legacy plugin installed, like containers and prow.
Now, in order to auth to gcp, use gcloud:
gcloud container clusters get-credentials CLUSTER_NAME
BREAKING CHANGE: The legacy auth plugin will no longer be supported by the nomos CLI. GCP and Azure users will need to configure their kubeconfig to use the appropriate credential helper. This fixes nomos to no longer require the legacy auth plugin, migrating use to the new credential helpers, the same way kubectl has done.

https://kubernetes.io/blog/2022/12/22/kubelet-credential-providers/
https://cloud.google.com/kubernetes-engine/docs/deprecations/auth-plugin
https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin

To use nomos with GCP:

Install nomos:gcloud components install nomos

Install the gke-gcloud-auth-plugin:gcloud components install gke-gcloud-auth-plugin

Configure kubectl to use the gcloud auth plugin:gcloud container clusters get-credentials CLUSTER_NAME --region=COMPUTE_REGION --project=PROJECT_ID

(Optional) List configured contexts:kubectl config get-contexts

List the status of all syncs, in all configured contexts:nomos status

For Debian/Ubuntu install of gcloud components with apt, see: https://cloud.google.com/sdk/docs/install#deb

/retest
known flaky unit test

/retest
known flaky unit test

/lgtm

Doc change request: b/308697610


Support children in Heading*Block.Element classes to be able to create the toggle headers

Now the HeadingOneBlock.Element, HeadingTwoBlock.Element, and HeadingThreeBlock.Element classes do not support the children blocks.
It means that we cannot create the toggle headings via the library :(
However, creating a heading with children elements via the pure Notion API is working, the Toggle Heading is created.
Working example:
curl -X PATCH 'https://api.notion.com/v1/blocks/YOUR_PAGE_ID/children' \
  -H 'Authorization: Bearer '"$NOTION_API_KEY"'' \
  -H "Content-Type: application/json" \
  -H "Notion-Version: 2022-02-22" \
  --data '{
  "children": [
    {
      "object": "block",
      "type": "heading_1",
      "heading_1": {
        "rich_text": [{ "type": "text", "text": { "content": "Heading 1 from script (try 2)" } }],
        "children": [
          {
            "object": "block",
            "type": "paragraph",
            "paragraph": {
              "rich_text": [
                {
                  "type": "text",
                  "text": {
                    "content": "Lacinato kale is a variety of kale with a long tradition in Italian cuisine, especially that of Tuscany. It is also known as Tuscan kale, Italian kale, dinosaur kale, kale, flat back kale, palm tree kale, or black Tuscan palm.",
                    "link": { "url": "https://en.wikipedia.org/wiki/Lacinato_kale" }
                  }
                }
              ]
            }
          }
        ]
      }
    }
  ]
}'

@dmitry-weirdo Thanks for reporting this issue. I just published a new version (1.3.2) including the fix. The jar files will be synchronized to the Maven Central repos shortly.


undefined genome group name

Rebecca shared a genome group with me and it resulted in an "undefined" name in the genome group view.  Url<EMAIL_ADDRESS>pal Neal/Representative Brucella and 2 private genomes#view_tab=genomes

@nconrad This is still the case. Can you fix it please?


Fix SyntaxWarning with py38

SyntaxWarning: "is not" with a literal. Did you mean "!="?

Codecov Report

Merging #334 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #334   +/-   ##
=======================================
  Coverage   93.69%   93.69%
=======================================
  Files         133      133
  Lines        4158     4158
  Branches      417      417
=======================================
  Hits         3896     3896
  Misses        167      167
  Partials       95       95

Coverage remained the same at 95.863% when pulling 8c9d47d69d1b12a117cf4181e5c63c91ece5fa0a on blueyed:fix-SyntaxWarning into 9a239b20be279324ced3b34ed71f84a63edfd4fb on Kuniwak:master.


Size + card

There is some way to resize the switch? get smaller...
And when i use with card on footer, the switch shows wrong. There is some trick?
Thanks

Hi Rafael. Sorry for the late reply. The custom-switch UI component doesn't support different sizes... however you can change the size values in _component-variables.scss and re-build the css. A smaller switch could be:
$switch-width:                    54;
$switch-width-status:             72;
$switch-height:                   24;
$switch-font-size:                12;

Alternatively you can override the class styles.
I haven't tested using the custom-switch in cards but this should work fine.

Thanks so much for sharing this @haubek - this is exactly what I needed.


doubleclick on childs ?

Amsik it possible to generate doubleclick event when we double-clicking childs ?
I got the scenario when I double-clicked to 1111111 or 2222222 (see screenshot)
It must return data by ajax call and render it in red zone!

I have added the node:dblclick event.
Example:
<template>
  <tree :data="someData" @node:dblclick="onDblClick">
</template>
<script>
  export default {
   data() => ({
     someData: []
   }),
   methods: {
     onDblClick(node) {  }
   }
  }
</script>

Yes. I know. But I don't have time now :(
I will add to the documentation all events and more examples within few days.
And also I will update a CDN version and you can use it in a few minutes :)


x/tools/gopls: C compiler needed for go/packages to work on dependencies

What version of Go are you using (go version)?

$ go version
go version go1.12.7 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/bwmarrin/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/bwmarrin/.go"
GOPROXY=""
GORACE=""
GOROOT="/home/bwmarrin/.go/root"
GOTMPDIR=""
GOTOOLDIR="/home/bwmarrin/.go/root/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build824270571=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Opened a new temp package in my GOPATH src folder.  Tested auto completion and it worked fine.  Then I added an import for the http package.  Then I tested and auto completion no longer worked for items within my temp package.
After hunting down some other issues, I found the below command.
go list -e -json -compiled

Running that without the http package returned details without an error.  Running it with the http package returned an error, along with the details I expected.
exec: "gcc": executable file not found in $PATH

Which, I assume is to say gcc is required for this to work right. So I installed gcc, and now everything works as expected.
I'm not sure if this is a bug, or working as intended.  It took me several hours to figure out why my auto completion wasn't working and thought I'd share it here in case it wasn't intended behaviour and so maybe others might be helped, possibly.

What did you expect to see?
I expected go auto completion to "just work" even after adding the http package without needing to install a compiler I didn't think I needed.
What did you see instead?
Auto completion failed to work for things within the test package after adding http import.

To confirm, this was when you were importing the net/http package in the standard library?

Correct.

/cc @jayconrod for more clarity on why go list would behave this way. This sound similar to a few other issues users have encountered with gopls, specifically https://github.com/golang/go/issues/33107#issuecomment-514054656 and https://github.com/golang/go/issues/33018#issuecomment-518069495.
@bwmarrin: And this code compiles without any problems?

net/http depends on packages that have cgo code. It looks like these are runtime/cgo, net, and crypto/x509.
If the -compiled flag is passed to go list, listed packages and their dependencies are compiled, and the paths to the compiled .a files are included in the output. If cgo is enabled, a C compiler is required to build those packages. I'm guessing gopls uses the compiled .a files for type information, but even if it didn't, cgo may be required for type checking.
@bwmarrin Have you tried disabling cgo by setting CGO_ENABLED=0 in your environment? I don't believe cgo is disabled automatically depending on whether there is a C compiler in PATH.

@stamblerre - yes, the test code compiled fine.  I could create a repo with an example, if that helped.
@jayconrod - No, I didn't try disabling cgo.  Once I found the error I just went ahead and installed gcc.  I just hadn't needed it on this dev machine yet so never installed it but it wasn't a big deal to add it if that's what it took to get things working so I could get back to work ;)

I don't believe cgo is disabled automatically depending on whether there is a C compiler in PATH.

@jayconrod: Is this something we could possibly do in the go command, or would go/packages have to handle this error?

I think this is fairly fixable in go/packages. Sent @matloob a test case so that this issue can be resolved there.

golang.org/x/mobile/cmd/gobind experienced the same issue and works around by disabling cgo explicitly with CGO_ENABLED=0.
https://go-review.googlesource.com/c/mobile/+/189597/2/cmd/gobind/main.go#62
cc @hajimehoshi
I am curious what's the consequence of disabling cgo - will it exclude the files that have 'import "C"' or 'cgo' build constraints in the code analysis completely?

will it exclude the files that have 'import "C"' or 'cgo' build constraints in the code analysis completely?

Yes, exactly. Packages that only have cgo sources may not build at all.

Thanks for all the work, everyone :)


Add option to enable repo create on clone

Gitea version (or commit ref): 1.13.0-rc2
Git version: 2.29.2
Operating system: Archlinux (systemd)

Database (use [x]):

[ ] PostgreSQL
[x] MySQL (MariaDB)
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[X] Yes (provide example URL)
[ ] No

Description
ENABLE_PUSH_CREATE_USER allows creating a repository on push, could there be an equivalent ENABLE_CLONE_CREATE_USER that allows creating a repository by cloning?
This used to be the default and then was changed in #10145.

I'm not sure I understand the benefit.
The linked PR is a bug-fix, because creating a repository on clone isn't really a feature, per-se.
Creating the repository on clone would imply that the repo didn't exist prior, meaning you clone a bare repository.
The only real benefit is already have a remote set up rather than git init and git remote add origin <url>.
Did you have a different use-case in mind?

The Archlinux AUR git server uses this process to create new repos, and I'm attempting to duplicate that server with Gitea. It's not hugely necessary, would just be nice to have.

Creating the repository on clone would imply that the repo didn't exist prior, meaning you clone a bare repository. The only real benefit is already have a remote set up rather than git init and git remote add origin <url>.
Did you have a different use-case in mind?

Sorry to dig up a stale issue, but this is the exact use case I had in mind and came searching for a solution and stumbled on this issue.
Having to do the following is really awkward:

git init <repo>
cd <repo>
git remote add origin <url>
Create an (empty) commit
git push

Being able to simply git clone and then cd into a push-ready repository is a much nicer workflow.


Consider deleting snapshot file in other thread.

I observed a high casual message process duration in my own cluster which doing a lot of generating snapshots.
From reading the code, I suspect it is due to snap GC. Now, snap GC is triggered by CasualMessage::GcSnap and delete snapshot files in raftstore thread. It may cost some time which slows the speed of processing raft ready.

unlabel type/enhancement,compont/raft

/unlabel type/enhancement,compont/raft

/label type/enhancement,component/raft

/label type/enhancement,component/raft

/unlabel type/enhancement,component/raft

/label type/enhancement,component/raft

I think this issue has mostly been solved by https://github.com/tikv/tikv/pull/12415 which added a background thread for cleaning up snapshot files. But I found one remainig case of snapshot deletion within the raftstore thread and opened https://github.com/tikv/tikv/pull/17155 to fix it. We can let the PR close this issue.


NET 5.0 desktop runtime

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Hello !
Tried to run / install the software but it says that the installation package isn't supported by this processor type . I'm running AMD ryzen 9 . is it only available for intel ?
Regards,
Didzis Starastins.

It seems you downloaded the .Net Runtime for ARM 64 processors. For AMD (and Intel) processors, you want the x64 version.

It seems you downloaded the .Net Runtime for ARM 64 processors. For AMD (and Intel) processors, you want the x64 version.

such a small silly mistake . thank you very much for spotting that :)


Performance issue on a React Native app using @mediapipe/handpose

Hi everyone.
I'm trying to develop an app to process sign language using React Native, Expo and @mediapipe/handpose, but the performance I get is too slow for what we need. The smartphone I'm testing with is the Samsung Galaxy S9, which is not at all a bad phone, and the FPS I get is around 2 ~ 6 fps;
The process is very simple: I load the handpose model -> Then with the CameraWithTensors from TensorFlow Js React Native I can create a loop to process the frames from the smartphone camera -> Inside this loop I'm able to call the model.estimateHands();
But when the estimatehands method is called, even not rendering the camera, the performance drops absurdly, making it almost useless for what we want because we need to apply another model to process the points generated; from the examples I've seen at the mediapipe website, the results I'm getting are very uncongruent. Do you think the problem is being caused by my code?
Here's a video on how it's looking like:
https://user-images.githubusercontent.com/33132257/104114231-c2d7b300-52e0-11eb-8f5f-294029ede81d.mp4
Here's some sample code:

(Sending photos because, as you can see at the edit history I couldn't manage to format it properly 🤭)

This is interesting.
You're the only person I see online doing this in React Native, which I hope to do as well. This comment is often referenced when people ask about it but the author doesn't know anything about React and it just references the existence of AARs for Android, while questions about how to access this in the javascript aren't answered.
Your solution seems to rely on just using the javascript libraries, which are promising to me, but your performance might be from some kind of hardware utilization limit? Maybe the AARs get around that?
Anyway, if you have any follow up findings I'd love to see them. I'm going to implement what you have here in my app and see how it does.

@DanielWFrancis are there any examples of MediaPipe integration with React Native or any blogs?

I don't know of any blogs using React, and we are't officially supporting any collaboration with React.  But I can say that any work done within this tight loop is going to adversely affect performance.   My suggestion is to remove everything but the basic loop, adding steps one by one to see where the frame rate drops.
I'm interested in what you find, but I do need to close this as it isn't an actionable bug on our part.

I tried it with Tensorflow Js and the performance was the same, it did not reach more than 6 FPS, I guess because of Native App does not need a bridge like React need You can see it. So it will afect the FPS and like I said, now I'm using Java and is getting 16 FPS, better than a poke in the eye.


update docs for bool to match code

Change Summary
Update docs for usage/types/#booleans

a str which when converted to lower case is one of 'off', 'f', 'false', 'n', 'no', '1', 'on', 't', 'true', 'y', 'yes'

Missing value '0' in code
https://github.com/samuelcolvin/pydantic/blob/ed7b216e5fe436756ff61e3a2dfed63aa8836464/pydantic/validators.py#L77
Related issue number
No
Checklist

[ ] Unit tests for the changes exist not changing any code.
[ ] Tests pass on CI and coverage remains at 100% not changing any code.
[X] Documentation reflects the changes where applicable
[X] changes/<pull request or issue id>-<github username>.md file added describing change

great, thanks.


upload plugin broke

Besides having no idea how to use it or seeing any example code that uses it. I know the upload field has issues. For now there can only be one upload field per form. The ID is not being handled properly.
The HTML being generated  for id is: id="getFieldID(schema)"

#410 - duplicates #409
This was just fixed in the most recent merge


Exclude VPN routes to fix wi-fi calling

Task/Issue URL: https://app.asana.com/0/1199371158290272/1201438077555953/f
Description
There seems to be a bug in some OEMs that breaks wi-fi calling when there's an active android VPN.
Samsung seems to be one of the OEMs affected. As Samsung footprint is very high amongst our users, we fix this issue by adding exclusion routes to the t-mobile and verizon ePDG servers.
Steps to test this PR
Perform smoke tests for AppTP
Verify that the VpnRoutes contain the following routes:

T-mobile wi-fi calling
<IP_ADDRESS>/24  -> <IP_ADDRESS>
<IP_ADDRESS>/23  -> <IP_ADDRESS>
<IP_ADDRESS>/22  -> <IP_ADDRESS>
<IP_ADDRESS>/16 -> <IP_ADDRESS>
Verizon wi-fi calling
<IP_ADDRESS>/16 -> <IP_ADDRESS>
<IP_ADDRESS>/15  -> <IP_ADDRESS>
<IP_ADDRESS>/13  -> <IP_ADDRESS>
<IP_ADDRESS>/11 -> <IP_ADDRESS>
<IP_ADDRESS>/9   -> <IP_ADDRESS>
<IP_ADDRESS>/9  -> <IP_ADDRESS>
<IP_ADDRESS>/10   -> <IP_ADDRESS>
<IP_ADDRESS>/9  -> <IP_ADDRESS>
<IP_ADDRESS>/9 -> <IP_ADDRESS>

Current dependencies on/for this PR:

develop

PR #1787   (this PR)

This comment was auto-generated by Graphite.


Null State property is not working for some HTML elements

The null state property for the following elements doesn't work:
b-form-checkbox
b-form-radio
b-form-select
It works only for the b-form-input element

Duplicate of #807 . Though your issue has slightly more useful information

Thanks, @VividLemon. Do you have a deadline to revise this issue?

There has been no changes on this issue. Sorry


Aww Shucks: runtime error: index out of range

Aww shucks.

	Something completely unexpected happened. This is a bug in cf.
	Please file this bug : https://github.com/cloudfoundry/cli/issues
	Tell us that you ran this command:

command: cf push -f lib/deploy/manifests/production-diego-manifest.yml
CLI version: 6.12.2-24abed3
error: runtime error: index out of range
stacktrace
goroutine 1 [running]:
	main.generateBacktrace(0xc21000a000, 0x4)
		/var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/main/main.go:177 +0xa9
	main.handlePanics(0x7f76ec87c9b0, 0xc210188460)
		/var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/main/main.go:161 +0x123
	runtime.panic(0x9a2220, 0x1308177)
		/usr/local/go/src/pkg/runtime/panic.c:248 +0x106
	github.com/cloudfoundry/cli/cf/api.(*logNoaaRepository).GetContainerMetrics(0xc210279780, 0xc210bb0b70, 0x24, 0xc210c45000, 0x5, ...)
		/var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/tmp/cli_gopath/src/github.com/cloudfoundry/cli/cf/api/logs_noaa.go:68 +0x275
	github.com/cloudfoundry/cli/cf/commands/application.(*ShowApp).ShowApp(0xc210047310, 0xc210bb0b70, 0x24, 0xc210505d80, 0xd, ...)
		/var/vcap/data/gocd-agent/pipelines/Linux64-Unit-Tests/src/github.com/cloudfoundry/cli/tmp/cli_gopath/src/github.com/cloudfoundry/cli/cf/commands/application/app.go:179 +0x6e

rake aborted!
Cf::CommandFailed: CF command has failed: push -f lib/deploy/manifests/production-diego-manifest.yml

We were pushing a diego app and this happened.

Hi @weymanf - This is a known issue that was addressed in CLI v.6.12.3 which just released last week.  Please upgrade to latest stable CLI to resolve this issue.


Why always warning on psmodule update?

https://github.com/lukesampson/scoop/blob/6eb90c9c112c8c6c1790f1bd4e1c9cd67a6e70df/lib/psmodules.ps1#L25
Expected behavior: no warning on normal update

Because PSModules are not uninstalled on updates. Fixed in #3708

Because PSModules are not uninstalled on updates. Fixed in #3708

This PR not unlink junctions in $modulesdir.
scoop on develop emit the same warning:
WARN  $modulesdir\[module] already exists. It will be replaced.

This change is not in develop yet...

This change is not in develop yet...

Sorry...


Move CoreHandler::Process to Listener and log missing handler to remote.

Moved to a static handler that implements error handling. This avoids duplicating the error handling in each listener/handler. Fixed.


[release-1.10] Bumped x/net to v0.17.0 to fix cve-2023-44487

Fix cve-2023-44487 by bumping our x/net version
Changes

Bump x/net to v0.17.0

Release Note

Fix CVE-2023-44487

/cc @dsimansk @dprotaso

/retest

@dprotaso it looks like the serving, net-kourier, and net-countour are having issues resolving control-protocol, could this have something to do with the repo being archived in June?
  go<EMAIL_ADDRESS>unrecognized import path "knative.dev/control-protocol": reading https://knative.dev/control-protocol?go-get=1: 404 Not Found
  go: downloading knative.dev/control-protocol v0.0.0-20230420145039-d9cda76c5b03
  go<EMAIL_ADDRESS>unrecognized import path "knative.dev/control-protocol": reading https://knative.dev/control-protocol?go-get=1: 404 Not Found

Fixed the redirects - they were removed when we archived

/lgtm
/approve


Submodules for dependencies

problem: i have a separate repo that is actively being developed for multi-dimension plotting. i want dynasim to pull from the repo.
solution: git submodules
caveat: more complicated, but no additional effort with a shell script and an alias to that shell script.
I'd like to propose using dependencies for Dave and my multi-dim plotting code since they work outside dynasim.  there is a little more work involved, but i think we could write a bash and windows shell script that would make it easy to do.
https://git-scm.com/book/en/v2/Git-Tools-Submodules

i implemented this for my gimbl-vis.  let me know if there are any issues.


`I have a problem opening the app. it says "javascrtip error in the main procces"

Operating system:linux deepin
Messenger for Desktop version:2.0.9

`I have a problem opening the app. it says "javascrtip error in the main procces"
Any solution?

The author abandonned the application after controversy over ads in the project.
Caprine is another project aiming to serve the same purpose.

Just update your both java and the nodejs to the latest possible versions and the issue is gone ;)