配置文件中，METHOD是干啥的？有啥作用

你好，我想问一下，cfgs文件中的 METHOD是啥意思，理解为GT 标注框为水平 H， 旋转框为R 对吗？
我看源码显示，METHOD==‘H’，框的个数是ratio×scale，且位置回归（-1,4），后来拓展一维让角度angle=0,
当METHOD==‘R’，框的个数是ratio×scale×len(angle_range)，位置回归（-1,5）,这很旋转框。
但是，我看基本所有配置文件里面的 METHOD 都用的 ‘H’， 然后我用 这个训练得到的也是旋转目标， 那这里设置 METHOD 不是区分水平旋转的吗？他具体是干啥的？
我尝试过 METHOD==‘R’进行训练，但是报错。如下：
2021-04-02 12:32:15.047781: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0, 1
2021-04-02 12:32:15.625242: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-04-02 12:32:15.625278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0 1
2021-04-02 12:32:15.625287: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N N
2021-04-02 12:32:15.625293: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 1:   N N
2021-04-02 12:32:15.626314: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9938 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:03:00.0, compute capability: 7.5)
2021-04-02 12:32:15.626905: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 10281 MB memory) -> physical GPU (device: 1, name: GeForce RTX 2080 Ti, pci bus id: 0000:81:00.0, compute capability: 7.5)
WARNING:tensorflow:From /media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py:314: start_queue_runners (from tensorflow.python.training.queue_runner_impl) is deprecated and will be removed in a future version.
Instructions for updating:
To construct input pipelines, use the tf.data module.
WARNING:tensorflow:From /home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
restore model
2021-04-02 12:32:51.950834: W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at where_op.cc:286 : Internal: WhereOp: Could not launch cub::DeviceReduce::Sum to count number of true / nonzero indices.  temp_storage_bytes: 5887, status: invalid resource handle
2021-04-02 12:32:53.880663: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881067: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881113: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881193: W tensorflow/core/kernels/queue_base.cc:277] _0_get_batch/input_producer: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881642: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881699: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881745: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.881886: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.882204: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.882226: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.882240: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.882312: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.882360: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.882398: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.884765: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.884788: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
2021-04-02 12:32:53.884801: W tensorflow/core/kernels/queue_base.cc:277] _2_get_batch/batch/padding_fifo_queue: Skipping cancelled enqueue attempt with queue not closed
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InternalError: WhereOp: Could not launch cub::DeviceReduce::Sum to count number of true / nonzero indices.  temp_storage_bytes: 5887, status: invalid resource handle
[[{{node tower_1/build_loss/Where_1}}]]
[[{{node tower_1/clip_by_norm_14/truediv}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py", line 374, in
train()
File "/media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py", line 353, in train
_, global_stepnp, summary_str = sess.run([train_op, global_step, summary_op])
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: WhereOp: Could not launch cub::DeviceReduce::Sum to count number of true / nonzero indices.  temp_storage_bytes: 5887, status: invalid resource handle
[[node tower_1/build_loss/Where_1 (defined at /media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/libs/losses/losses.py:36) ]]
[[node tower_1/clip_by_norm_14/truediv (defined at /media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py:263) ]]
Caused by op 'tower_1/build_loss/Where_1', defined at:
File "/media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py", line 374, in
train()
File "/media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py", line 223, in train
gpu_id=i)
File "/media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/libs/networks/build_whole_network_r3det.py", line 320, in build_whole_detection_network
cls_loss = losses.focal_loss(labels, rpn_cls_score, anchor_states)
File "/media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/libs/losses/losses.py", line 36, in focal_loss
indices = tf.reshape(tf.where(tf.not_equal(anchor_state, -1)), [-1, ])
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/ops/array_ops.py", line 3202, in where
return gen_array_ops.where(condition=condition, name=name)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/ops/gen_array_ops.py", line 11050, in where
"Where", input=condition, name=name)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "/home/ubuntu/anaconda3/envs/conda-env/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1801, in init
self._traceback = tf_stack.extract_stack()
InternalError (see above for traceback): WhereOp: Could not launch cub::DeviceReduce::Sum to count number of true / nonzero indices.  temp_storage_bytes: 5887, status: invalid resource handle
[[node tower_1/build_loss/Where_1 (defined at /media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/libs/losses/losses.py:36) ]]
[[node tower_1/clip_by_norm_14/truediv (defined at /media/ubuntu/程序+数据集/chenchenglin/R3Det_Tensorflow/tools/multi_gpu_train_r3det.py:263) ]]
大佬，求回复。

这个指的是使用旋转anchor还是水平anchor，最后预测结果都是旋转框，建议用H

你这个问题可能是tf版本的问题，或者是R模式会设置很多anchoe，你的显存不够用


[RFE] Only scroll log viewer down automatically if the view is at the bottom of it

https://github.com/kinvolk/headlamp/blob/620e79d80c4330a0914ebbb6238b23e27b192efd/frontend/src/components/common/LogViewer.tsx#L62
  React.useEffect(() => {
    // @todo: Only scroll down automatically if the view hasn't been scrolled up by the user yet.
    if (logsBottomRef && logsBottomRef.current) {
      logsBottomRef.current.scrollIntoView();
    }
  }, [logs]);

Update (by Joaquim): This is about:

[ ] By default the log viewer shows the logs as they happen, scrolling to the bottom automatically like a terminal view
[ ] If the user scrolls the view up, even the tiniest bit, it should remain showing that portion of the log even if more logs arrive
[ ] If the user scrolls down to the bottom again, then new updates will keep the view at the bottom (i.e. it will show the latest contents)

This is fixed in main


0.16 broken cron query

0.16 seems to not like cron queries.
Maybe lots of "ProcessQueries already running {}"

Since using lastPacket timestamp for cron, need to delay by tcpTimeout before processing data.  Really should use a processing timestamp, but that doesn't exist yet.
96eac5b391671a5f861b4197fb41adc5d370513b


how to get center point between two eyes. (In all the cases including head rotate, left or right turn)

Hello,
Hope you are doing good.
I could see in your post saying, face detection output as  "The detection is centered on the point between the 2 eyes."
i seen these points as output from detected state: x,y other values. (width,  height with respect to canvas).
can you please guide me how to calculate the center point between two eyes. (I need center point between two eyes for all cases including, left side turn or right side turn or head rotation ).

Hi,
The neural network is trained with faces centered on the point between the 2 eyes. However this information is not available directly.
You can start from the glasses VTO demo ( https://jeeliz.com/demos/faceFilter/demos/threejs/VTO/ and code here: https://github.com/jeeliz/jeelizFaceFilter/blob/master/demos/threejs/VTO).
You take the point in 3D between the 2 eyes in the 3D glasses model and you project it to get the point centered between the 2 eyes using projectionMatrix and worldMatrix.
If you need to compute more accurately the position of specific face landmarks (for earring virtual tryon, makeup virtual tryon) we can provide this kind of development service, and we have a more advanced version of this library (FaceFilterLM), but it is not released publicly. In this case we can train a specific neural network providing the position of facial landmark among its outputs. You can contact us here: https://jeeliz.com/contact-us/ or by email at contact__at__jeeliz.com for for information.
Best regards,
Xavier Bourry

@xavierjs
Assume, I am able to get the centered point from a 3D model once face-model placed into detection box with proper pose direction. (By default pre-defined and known centered point in 3D model). Is this sufficient way to get the centered point between 2 eyes?.
(Note: I need just 2D coordinates for this centered point between 2 eyes. I really don't need 3D centered point).
I didn't get your statement ::  you project it to get the point centered between the 2 eyes using projectionMatrix and worldMatrix.  Why I need to calculate this projectionMatrix and worldMtrix.
(If I need to calculate then please guide me how to do, I didn't see these matrix calculation anywhere in threejs/VTO folder you shared).
(Sure, I do have your email id, I will reach you for anything needed regarding LM).

Hi,
Even if you need 2D coordinates, it involves 3D operations. Before working with 3D I advise you to learn some stuffs il 3D programming: projection/movement matrix, mesh rendering, ... You can find plenty of good tutorials and doc on the Internet (here for example: http://www.webglacademy.com ) .
Best


Dependency vulnerability: node-fetch Denial of Service

Description
Hi. fbjs depends on the old version of node-fetch (fbjs > isomorphic-fetch > node-fetch). Also fbjs looks dead and hasn't been updated for along time. I only found using invariant func from fbjs. Is it possible to move (or implement) this function to react-pixi repository and also remove fbjs dependency?
https://www.npmjs.com/advisories/1556

Thanks, yes I'll fix this in #246

Fixed


The right query

Hi there;
I'm dealing with dateTime formatted : 'Y-m-d H:i:s'
I define a custom DateTimeField to add format argument.
I can do something like that.
GraphQL query
query {
  startAt
  startAtTime: startAt (format: "H:i:s")
}

But; do you know if this is possible to get the following
Expected JSON
data: {
  startAt: {
    time: "12:30:00"
  }
}

Thanks a lot.
Regards.

Hi @skyzyx an thanks for your answer.

A fundamental principle of GraphQL is that the input query and the output result should match in terms of overall tree structure.

Yes, that what I've found on the Internet.
It's the same problem with firstName, lastName & name. Name is a dedicated field on the same level as firstName.
It could be address: String & addressComponents: AddressComponents { streetName }
Or startAtComponent { time, date }.
The problem is on Schema definition; not a technical GraphQL problem.
Regards.
Thomas.


Moods

Expands Tracker's "mood" system from different "how are you?" responses to any possible response, by loading from "sub-profiles".
Moods are created simply by adding a new file, e.g. responses.Sassy.yml. If, on startup, Tracker is feeling Sassy, responses.Sassy.yml will be merged into the other responses.
Available moods are parsed from these file names from selected profiles. The moods themselves are case insensitive, but since file names on Linux are case-sensitive, care should still be taken to keep the casing consistent.
I didn't add new tests because lol.

Perhaps the profiles documentation should be updated to reference the moods? https://github.com/Vivelin/SMZ3Randomizer/blob/main/src/Randomizer.Data/Configuration/Yaml/README.md (Also, now that we have a docs folder, I wonder if that should be moved there for easier access?)
Also just a general note for the future just to call it out (you didn't do it here), but we'll want to probably make sure that we wouldn't include different item and location names in the moods. Otherwise words people use to track and mark items/locations may or may not be available based on the mood.


Integrate with changelogs

Here's a feature request: what about integrating with changelogs, so that you can see a list of recent changes before accepting or rejecting an upgrade?
If this sounds like a good idea, I may spend some time trying to write it.

Let's find out whether users think this is a good idea. :-)
Visitors, please add an emoticon to the opening post to indicate what you think.
For reference: link to the GitHub repo of changelogs.
https://github.com/pyupio/changelogs

Might be a good idea but only if the user enables that (--changelog) or something else.

@Flimm I think you can give it a go.

This has been on my list of things to do when I get round to it for a while now.
I recently discovered Snyk, which lets you run snyk test and will print out any vulnerabilities that are in any of your dependencies. This fulfils one of the needs I had from wanting to see changelogs. The other need is to be able to catch breaking changes, and that need is still unfulfilled, so I still want to build this!

For completeness, there is also requires.io.


Safari on iOS 12.2 new features.

Wait to merge until iOS 12.2 ships.

Have all been added now. Thanks!


help me

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
scrcpy version: [e.g. 1.12.1]
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
device model:
Android version: [e.g. 10]

Describe the bug
A clear and concise description of what the bug is.
On errors, please provide the output of the console (and adb logcat if relevant).
@echo off
if not defined ADB set ADB=adb
if not defined VLC set VLC="C:\Program Files\VideoLAN\VLC\vlc.exe"
if not defined SNDCPY_APK set SNDCPY_APK=sndcpy.apk
if not defined SNDCPY_PORT set SNDCPY_PORT=28200
if not "%1"=="" (
set serial=-s %1
echo Waiting for device %1...
) else (
echo Waiting for device...
)
%ADB% %serial% wait-for-device || goto :error
%ADB% %serial% install -t -r -g %SNDCPY_APK% || (
echo Uninstalling existing version first...
%ADB% %serial% uninstall com.rom1v.sndcpy || goto :error
%ADB% %serial% install -t -g %SNDCPY_APK% || goto :error
)
%ADB% %serial% forward tcp:%SNDCPY_PORT% localabstract:sndcpy || goto :error
%ADB% %serial% shell am start com.rom1v.sndcpy/.MainActivity || goto :error
echo Press Enter once audio capture is authorized on the device to start playing...
pause >nul
echo Playing audio...
%VLC% -Idummy --demux rawaud --network-caching=0 --play-and-exit tcp://localhost:%SNDCPY_PORT%
goto :EOF
:error
echo Failed with error #%errorlevel%.
pause
exit /b %errorlevel%
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

pls help me as soon as possible

and i aready alowed this thinks but then also it is not working


Fake Ban / Unbox

if ( ImGui::Button("Fake Unbox") )
ChangeName(u8" \x01\x0B\x10 Test \x01has opened a container and found:\x02 ★ M9 Bayonet | Doppler");
if ( ImGui::Button("Fake Ban") )
ChangeName(" \x01\x0B\x07 Test has been permanently banned from official CS:GO servers.");

Cool shit

@effex1337 idk if it's working but im adding to the source rn
i will let you know

@effex1337 in what document should i add it? im trying but i can't find where to put the code

Is it work ?. I though it is server-side ?

dunno didn't tried that, waiting on daniel pull

dunno didn't tried that, waiting on daniel pull

Change ChangeName to Misc::ChangeName
Add void ChangeName(std::string name); in misc.h
Add void Misc::ChangeName(std::string name) {
(changename stuff from name stealer)
}
Wrote it from my phone u might need to correct some stuff.

@Flaam thanks for it bud :D

Perfect :)

Aproved :D AUHEAUEUAE

It would have to have a code to reset the name, wouldn't it?

@Evilhelder yea it should, maybe Daniel can add it. Thank you guys for the support :)

@Flaam
Thank you guy for submitting. : D

https://www.unknowncheats.me/forum/counterstrike-global-offensive/354169-fake-unboxing-vac-ban.html

@Ni1kko yea and? I never said that the code is mine.

@Flaam @effex1337
Sorry for the question, but some of you managed to add this code to osiris or another hack, if so could you pass me?
I just tried that I'm extremely "weak" at Visual Studios ...

I'm sorry for my bad english... I'm brazilian.

@Flaam I'm not saying anything like that, Merely sharing link to a similar post that has more info about what you posted to try be more helpful :)

its easy to make and useful as well

Cool 👍

this issue is 3 months old and has already been implemented to some capacity, could we close it and stop necroing it.

@xAkiraMiura closing it, thank you


Update maps in geographic coverage and IPT settings sections

Update outdated leaflet and related libraries. It is also necessary for actualising geographic names

Currently we use stamen as a tile layer.

Thanks for updating this. I would like to know if it is possible to update this in an old IPT installation (2.5.4) or we need to install a new version when 2.7.7 is ready
@RicardoOrtizG

I'm afraid IPT update to the 2.7.7 would be required

I'm going to look into migrating to tile.gbif.org.


Add iOS modulemap to the framework

The bridging header wasn’t able to expose the public headers to the swift app. The modulemap has been introduced for iOS only, as it has to be tested in the iOS swift demo app.
I've also fixed other small unrelated issues in order to make the library able to buid properly:

Fixed iOS static library: a bridging header file wasn't properly configured,
Fixed MacOS target: it was unable to compile
Fixed Slather config: the schema wasn't properly configured

@AlexBenny I noticed a commit message without issue reference, will you squash or add issue reference?

Thanks @paulboocock  @oguzhanunlu
I've created the issue for the commit without any referenced issue.
I'm merging the branch on release (fast-forward) as soon as travis finishes tests.


Fixed link to screenshot for Umbraco marketplace

Just spotted this one when looking at error logs - think we can't request directly from a GitHub link as this gives a 404, it needs to be the "raw" content link instead.

Thanks Andy this fell off my list to do :D


[RFE] Stabilise SDK Prefix builds

Current situation
Prefix builds is an experimental feature of the Flatcar SDK.
While the feature works and is usable, it is not well integrated with the SDK's board cross compiler environment.
As a result, it uses its own tools and wrappers, and it has a dependency on the external cross-boss cross compilation toolbox.
Lastly, Prefix builds are not automatically tested and rely on developer usage to detect breakage.
Impact
While prefix apps can be produced manually, they cannot be reliably integrated into automation for risk of random breakage.
Ideal future situation
Prefix builds are fully integrated with the SDK and regularly tested.
Implementation options
Fully integrating and stabilising it requires additional steps

[ ] Integrate cb-bootstrap with the Flatcar SDK.
Currently, setup_prefix uses cross-boss' cb-bootstrap to set up the prefix environment.
Bootstrapping must be fully integrated with the Flatcar SDK before prefix builds are considered stable.
[ ]  Integrate prefix builds with /build/<board> environment and use board cross toolchain.
Prefix builds currently use the SDK cross toolchains (/usr/<arch>-gnu/) instead of board toolchains in /build/<board>.
Prefix builds must be integrated with the board toolchains and stop using cb-emerge before considered stable.
[ ]  Add prefix wrappers for all portage tools (similar to board wrappers), not just emerge.
[ ]  Add test cases for prefix builds to mantle/kola

[ ] An example prefix application is built for each architecture
[ ] The prefix application is converted into a sysext and functionality is tested in a qemu VM.

Stretch goals

[ ] Optionally integrate Gentoo as a fourth overlay (requested via a commandline option to setup_prefix)

Integrate prefix builds with /build/<board> environment and use board cross toolchain.
Prefix builds currently use the SDK cross toolchains (/usr/<arch>-gnu/) instead of board toolchains in /build/<board>.
Prefix builds must be integrated with the board toolchains and stop using cb-emerge before considered stable.

Does it really make sense to have prefix builds part of the board? I think these are separate things: one is for the final image, one is for a prefix build - having both binary packages end up at the same place sounds like it will cause problems because they are not compatible.

Integrate prefix builds with /build/ environment and use board cross toolchain.
Prefix builds currently use the SDK cross toolchains (/usr/-gnu/) instead of board toolchains in /build/.
Prefix builds must be integrated with the board toolchains and stop using cb-emerge before considered stable.

Thinking about this: /build/<board> does not (and can't) contain a cross-compiler and the sysroot part of it (glibc/linux-headers) is not used by the prefix build because it needs to build it's own version of them. Can you elaborate on what you imagine needs to be done here?


[SPARK-43743][SQL] Port HIVE-12188(DoAs does not work properly in non-kerberos secured HS2)

What changes were proposed in this pull request?
This PR port HIVE-12188(DoAs does not work properly in non-kerberos secure HS2) to Spark.
Why are the changes needed?
The case with following settings is valid but it seems still not work correctly in current HS2(Copied from HIVE-12188's description):
hive.server2.authentication=NONE (or LDAP)
hive.server2.enable.doAs=true
hive.metastore.sasl.enabled=true (with HMS Kerberos enabled)

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual test.

According to the Affected Version of JIRA, I merged to master only. But, I'm also +1 for backporting this.


nanobox checksum is incorrect

General troubleshooting steps

[x] I have retried my command with --force and the issue is still present.
[x] I have checked the instructions for reporting bugs (or making requests) before opening the issue.
[x] None of the templates was appropriate for my issue, or I’m not sure.
[x] I ran brew update-reset && brew update and retried my command.
[x] I ran brew doctor, fixed as many issues as possible and retried my command.
[x] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
Error: Checksum for Cask 'nanobox' does not match.

Expected: db475905b0907afdd46e03227ebd7c3df0e3270f28544f2fd16de54142656e2e
Actual:   1ab3501db17a017debbdf8e1f3cba755ec62e2cf3bec90ac7bf9703e9583477a
File:     /Users/tpetry/Library/Caches/Homebrew/Cask/nanobox--2.3.0.pkg

https://github.com/caskroom/homebrew-cask/pull/41600
https://github.com/caskroom/homebrew-cask/blob/master/doc/reporting_bugs/a_cask_fails_to_install.md#checksum-does-not-match-error


New version: MSYS2.MSYS2 version 20240113

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Not all unfocused editors are dimmed

Testing #191527
I was expecting all editors to be dimmed when unfocused, including custom editors, settings editor, markdown preview, notebooks. Only text editors seem to get dimmed?

But this is not specific to webviews, even text editors (side by side, diff) fail to support this:


drivers: espi: Kconfig cleanup for UART mapping

Remove KConfig to map SoC physical UART to eSPI virtual UART.
Closes https://github.com/zephyrproject-rtos/zephyr/issues/45001
Signed-off-by: Jose Alberto Meza<EMAIL_ADDRESS>

@galak @mbolivar is there a way to get the instance logical id for a node.
I considered (DT_CHOSEN(zephyr_console) but couldn't figure out how to identify the index of the instance selected i.e. 0 for uart0, 1 for uart1. etc

@galak @mbolivar is there a way to get the instance logical id for a node.

Can you rephrase this using the jargon in https://docs.zephyrproject.org/latest/build/dts/intro.html#syntax-and-structure?
Like are you looking for the unit address in a node's name? You should be able to get that out of the reg property or we can add a separate API for it if that won't work for some reason.
If you're looking for "the" node label, then no, you can't do that because a node can have multiple labels.

@galak @mbolivar is there a way to get the instance logical id for a node.

Can you rephrase this using the jargon in https://docs.zephyrproject.org/latest/build/dts/intro.html#syntax-and-structure?
Like are you looking for the unit address in a node's name? You should be able to get that out of the reg property or we can add a separate API for it if that won't work for some reason.
If you're looking for "the" node label, then no, you can't do that because a node can have multiple labels.

Ideally instead of checking for every UART node status as okay or not as this PR does.  I wanted to be able to obtain first the uart node chosen for the console.  https://docs.zephyrproject.org/latest/build/dts/intro.html#aliases-and-chosen-nodes
That works.
But then once I obtain the node i don't need any node property such as label, address, etc, but I want to identify the node instance for said node. i.e. if choosen node is uart0, I want to get '0', if node uart1 , '1', etc
I don't see any other option other than adding a new property instance but I'm unsure if that's the right way or there is an alternative.
		uart0: uart@400f2400 {
			compatible = "microchip,xec-uart";
                            **instance = 0**;
			reg = <0x400f2400 0x400>;
			interrupts = <40 0>;
			clock-frequency = <1843200>;
			current-speed = <38400>;
			girqs = <15 0>;
			pcrs = <2 1>;
			ldn = <9>;
			status = "disabled";
		};
		uart1: uart@400f2800 {
			compatible = "microchip,xec-uart";
                            **instance = 1**;
			reg = <0x400f2800 0x400>;
			interrupts = <41 0>;
			clock-frequency = <1843200>;
			current-speed = <38400>;
			girqs = <15 1>;
			pcrs = <2 2>;
			ldn = <10>;
			status = "disabled";
		};

if choosen node is uart0, I want to get '0', if node uart1 , '1', etc

I suspect this is an XY problem. What are you really trying to do?
But yes, the short answer is that you're looking for a piece of a node label associated with the node, and no, you can't do that with the current DT API. The slightly longer answer is that it's done that way for a reason because this is usually not what you want.

But then once I obtain the node i don't need any node property such as label, address, etc, but I want to identify the node instance for said node. i.e. if choosen node is uart0, I want to get '0', if node uart1 , '1', etc
I don't see any other option other than adding a new property instance but I'm unsure if that's the right way or there is an alternative.

eSPI bus allows to tunnel different traffic over its peripheral channel.
In this case,  UART traffic coming from eSPI host  (any OS, BIOS, etc) into the eSPI bus, the eSPI target HW intercepts this an redirects it to the physical UART.
eSPI host writes to virtual UART ->  eSPI host HW intercepts and tunnels -> eSPI bus -> eSPI target HW intercepts -> UART
Currently we set this UART virtual to physical UART mapping based on each board using ESPI_PERIPHERAL_UART_SOC_MAPPING, but it is not scalable enough to handle multiple KConfig, hence wanted to move it to device tree.
Option #1 was to use the chosen UART console, since in all cases it's the same than UART used by eSPI HW., but as you pointed not feasible.
I guess option #2 has to use a new eSPI device property so each board can set in their dts.
Let me, re-work the solution in this PR that way.

Thanks for the details. I'm not 100% sure without seeing the new property you propose, but it does sound like you could solve this with an additional phandle property that links to the target UART of choice, yes.


space component does not seem to take background color

Example: https://jasonbase.com/things/PVq
Should look like this (under Jason/iOS), if we go by iOS being the golden reference:
http://dl.dropbox.com/u/364883/Screenshots/nzdy.png

This should be fixed with https://github.com/Jasonette/JASONETTE-Android/commit/4322730a752184ad25b1dc6b393d8231e5b1ee51
Please check

Bug squashed. Great job!


Matrix compare no longer works

From @cmungall , matric compare no longer works:
http://tomodachi.berkeleybop.org/amigo/search/annotation
Are we still using this thing?
In is almost certainly an un-migrated manager plus an un-migrate landing page.

It's an incredibly powerful and cool feature (if a little unintuitive, and lacking a few features that would make it super-awesome). I doubt many external users use it. Can be dropped from 2.4 and kept as a labs feature til 2.5

Had to get in there with the new manager coordination as well (a bunch of iterations there).
@cmungall , unless I borked something, this should be working again.

It's all working at
http://amigo2.berkeleybop.org/matrix
as it was...

Pombe matrix looking nice and clean...although I already spotted a couple of annotation/ontology errors to clean up.
Will be nice when others can use too. I know @RLovering and Kimberly(https://github.com/orgs/geneontology/people?page=2 can't find github name here?)
interested....

(At the moment you can only select pombe or all other organisms, all other organisms gives a very noisy splotch)

Unfortunately the term 'matrix' is a bit generic here...
The ticket was about the facet-matrix-view (not sure if that's @kltm's official name), i.e. you search annotations, faceting on some field, e.g. species, then click the matrix button to plot two facets against each other (e.g. evidence by aspect). This got borked in the refactor but Seth has fixed.
We should call yours something like term-overlap-matrix (although the existing URL is fine).

Ah OK. My name was tagged in some commits. Unfortunately I didn't know which ticket the commits went with.
Happy to test anything if you point me in the right direction.

Sorry @ValWood, I tagged you in the commits, but there wasn't a particular ticket about this; I've started one here #327.


feat: Added Logos in Images folder and Updated Favicon

🛠 Fixes Issue

➕ Changes Introduced

Updated favicon
Added 2 logo versions into images folder
📄 Note To Reviewers

📷 Screenshots

@CamilingJS added a few more comments on the original issue #224

Please try to limit your PR to a single goal. Adding/deleting the .env.template file or updating the dependencies is not the scope of this PR imo.


5 minutes (download) + 5 minutes (booting up)

I've looked at the recent action logs,, looked like

it takes 5 minutes to download the image
it takes another 5 minutes to boot the vm

I'd suggest to build own our vm instead :D make them small and reconfigure boot configuration. The default one from Sun may not be correctly /ideally configured ;)

@mondeja I will have a look tomorrow. Basically you will need to create new vm from the scratch, because vbox image tend to be expanded (even you already remove something from it). They have two versions, one is for server, the other is for desktop. Are we using the server/base version?

Closed in favour of #2


Count should return 0 when sql.ErrNoRows returned

When calling Count() on a query that has no matching records, It would be best to get a 0 response instead of a wrapped error.  Each invocation to Count has three paths that have to be handled:

number response
wrapped error - count is really 0 (sql.ErrNoRows)
wrapped error - other error

I think most users of count would expect path 2 to roll into path 1 - if someone specifically needs to handle path 2 separately, that can still be done by checking for 0.

Will get to this tomorrow :) There was a reason behind it and I need to do some archaeology to make sure I don't make a new bug.

So, digging in a little bit, I'm actually genuinely surprised that this is happening. Since the count() stuff looks like this:
	queries.SetSelect(q.Query, nil)
	queries.SetCount(q.Query)

	err := q.Query.QueryRow().Scan(&count)

So it's modifying your query to be a count, and removing all your select statements. And therefore I'm not sure when you could ever have this happen. Can you provide a minimal recreate? Even if the table were completely empty you shouldn't get the sql.ErrNoRows.

@jseriff Did you have a recreate for this?

@aarondl Sorry, I've been focused on other projects, and havent come back to this yet.  I will try and get you one soon.

@jseriff No problem. I've got a branch with some fixes relating to exists, I'll slap this in there when we figure out what's going on.

@jseriff Making a pass on v3 probably soon. Any chance of getting some motion on this? It's a pesky one that should be easy to fix :) No problem if you're too busy tho.

Sorry, I had to table our migration to sql boiler (although i am using it in some side projects).  I don't have a reproduction for this issue handy.

@jseriff Any specific reasons? Maybe we could spend some time addressing them sometime. Would like to make it work for many use cases. :)

Primarily just a timing issue - we have a large project using Gorm that we were considering migrating, but have been focused on other tasks.  I'd like to get back to converting it over at some point, but just haven't yet had the spare time to get back to it.

Going to close this one as stale until we get some more info.


Gif / Screen recorder

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
The main idea is that you can take recordings of your screens at high (and customisable) frame rates and quality, default could be 720p at 30 fps.
The video would then be stored in a directory which would be chosen in the powertoys settings
Might be cool, would appreciate a thumbs-up!
If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate #143

Tracked in issue #143


python3Packages.pylitterbot: 2021.8.1 -> 2021.9.0

Motivation for this change
Update to latest upstream release 2021.9.0
Change log: https://github.com/natekspencer/pylitterbot/releases/tag/2021.9.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 138244 run on x86_64-linux 1

3 packages built:

home-assistant
python38Packages.pylitterbot
python39Packages.pylitterbot


fix mutable filters bug

It was a :scream: :weary: bug, made filters much more than useless.

@piavlo what is this?
[1] pry(main)> Array(nil || "foo")
=> ["foo"]
[2] pry(main)> Array.new(nil || "foo")
TypeError: no implicit conversion of String into Integer
from (pry):2:in `initialize'

@portertech hmm i have only "filters" and no "filter" in my configs so i did not break on this
any way the issue with Array(handler[:filters] || handler[:filter])
is that this few lines later filter_list.shift mutates(empties) the
@extensions[:handlers]['some_handler_with_filters'][:filters]
which effectively removes the filters from the handler and causes lots of pain
How about
filter_list = handler.has_key(:filters)? handler[:filters].clone : [handler[:filter]]
?
Btw this is also not that a user expects

[1] pry(main)> Array([] || "foo")
=> []
[2] pry(main)>

since "filters":[] is a valid config
https://github.com/sensu/sensu-settings/blob/master/lib/sensu/settings/validators/handler.rb#L89
and if user sets "filter":[] and filter:"foo" it will choose empty array and not merge these configs.

@piavlo the plural has always taken precedence, e.g. handler vs handlers. We can make this more apparent in the documentation.

@piavlo wouldn't a dup() be more appropriate?

@piavlo I will merge this, as the tests do pass and clone() does work. I will likely make a minor change.
Thank you for catching and fixing this one :+1:


[RFE] Remove deprecated setting kubeconfig-token-ttl-minutes from v3 and v1 API

The deprecated settings have already been labeled for deletion in https://github.com/rancher/rancher/issues/43103
The next step will be to perform the actual deleltion

I'd like to see the precursor https://github.com/rancher/rancher/issues/43103 be fully tested before actually deleting settings.


Show claims with invalid channel signatures as Anonymous

Show claims with invalid channel signature on previewTile as Anonymous. (Does already show as Anonymous on content page)
Example can be seen on this channel http://odysee.com/@MyGreatChannel:3a. This claim http://odysee.com/aaaaaa:07 showed as belonging to the channel, but it wasn't signed by the channel owner. (Invalid channel signature)
Also can be seen here https://odysee.com/@KeyTestChannel:d (Public key is updated, but some claims aren't singed with new key)
New|Old

(Tom said that hub should check validness of signatures by default for claim_search in general. But also said this maybe ok, so made a PR in case it is)

This is the linting error: error  'signingChannel' is assigned a value but never used  no-unused-vars


Update requirements.txt

Fix the requirements file to pull windows-curses (curses-windows is invalid)

I made some changes will have to close all current pull requests unfortunately, please reopen if still needed

I made some changes will have to close all current pull requests unfortunately, please reopen if still needed

No problem, I've submitted another pull request. This is required to install the software on Windows based systems. It fixes the requirements document.


Insert contact email in privacy policy sections

Facebook says that the current status does not comply with platform policy, but it would after we do it this way.

Coverage remained the same at 76.235% when pulling d60dcdd52bad13364b65514a08df33121ed15b45 on MrOrz-patch-1 into 36cfbb31c0396798e000b6261ebef4f96f3cdc8f on master.


rt: Corrected CLI help having hetero punctuation.

Changed comma to semicolon. Commas don't work.

Fixes #148
Some formatting and/or conventions were also fixed by gofmt.

Thanks for this fix @dsoprea!
Can you please join our contributors community by signing JFrog's CLA so that we can merge your code?

@dsoprea,
Can you please sign JFrog CLA so that we can merge this?

@dsoprea,
I'm closing this PR for now.


Choose license for website repo

What license do we want? Let's decide.

should we define each of the Licenses to properly make the decision?

should we define each of the Licenses to properly make the decision?

I just chose MIT but we can revisit if need be.


Cannot Open WhatsApp on Injected Chrome

Hi,
I'm using this script on target PC with:
Google Chrome v. 103.0.5060.114 (Official Build) (64-bit) running on Windows 10 Pro 21H2
and WhatsApp v. <IP_ADDRESS> running on Android 10 mobile phone.
I'm able to dump WhatsApp session from source PC and successfully injected it into target PC, but  then the target PC cannot connect to WhatsApp with a message like this:

Any suggestion what could be the problem?

Hello @soulhd
I'm experiencing the exact same issue.
Please let me know if you find any solution.
Thanks

@soulhd @hamzos
Hello,
Thanks for using my script :)
I just made a test and you both are right, the script isn't working. Look, the script is actually very simple as it only dumps the token keys and other data on a file, and the injector only replaces the tokens and access keys on local storage on Chrome browser, so it's like "cloning tabs". The problem could be either latest chrome versions or whatsapp web libraries. If the libraries are the problem, I'm afraid that this script is obsolete.
I will take a look anyway.

Any update?

I've been making a lot of test, but no one works. This tool is deprecated for Whatsapp Web. If you wish, you can test it on other platforms.

I've been making a lot of test, but no one works. This tool is deprecated for Whatsapp Web. If you wish, you can test it on other platforms.

I've been making a lot of test, but no one works. This tool is deprecated for Whatsapp Web. If you wish, you can test it on other platforms.


feat : Added button to view circuit image in fullscreen

Fixes #83
Describe the changes you have made in this PR -
Added button to view the circuit image in project details view in fullscreen.
Screenshots of the changes (If any) -

Project Details
Project Preview

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 29 (34.48%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 73.704%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ui/views/projects/project_details_view.dart
10
17
58.82%

lib/ui/views/projects/project_preview_fullscreen_view.dart
0
12
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
3924

Relevant Lines:
5324

💛  - Coveralls

hi @manjotsidhu, I have made all the changes regarding

formating
routing
changing project preview to the project name

just adding tests is left should I add them too before committing?


Make delete and deactivate modal responsive

closes #1019

looks fine but make sure you test with other ModalDialogs that this doesnt mess up their styling, especially since you increased the max-width

Yep, great, I checked each of the use-cases. Most passed in their own max-width and the one that doesn't is fine. Merging


Create collections at startup for all known schema versions

on startup, grab the list of all known schemas and create collection in the db for each schema

Blocked for the moment, need the whole indexer refactor to add validation and store in the right ddo collection.


[Windows] Crash when typing "Right Shift" continuous

flutter version: 3.3.9
platform:Windows
steps to reproduce：
Switch to chinese input method, tap down  continuously. then application is not responding
错误模块名称: ntdll.dll，版本: 10.0.22621.755，时间戳: 0x8a328c67
异常代码: 0xc0000374
错误偏移量: 0x000000000010c249
错误进程 ID: 0x0x34114
错误应用程序启动时间: 0x0x1D900B29B6E11D4
错误应用程序路径: C:\Program Files\YahahaStudios\Yahaha\Yahaha.exe
错误模块路径: C:\Windows\SYSTEM32\ntdll.dll
报告 ID: e7e6f192-5d34-447e-a385-ac5ea184e397
错误程序包全名:
错误程序包相对应用程序 ID:
A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in HardwareKeyboard. This was the event: KeyUpEvent#88e7c(physicalKey: PhysicalKeyboardKey#00036(usbHidUsage: "0x1600000036", debugName: "Key with ID 0x1600000036"), logicalKey: LogicalKeyboardKey#00103(keyId: "0x200000103", keyLabel: "Shift Right", debugName: "Shift Right"), character: null, timeStamp: 31:41:21.687440)
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)'

Version 3.0.5 is good

2.10.3版本也是有这个问题，后面有修复过，但是更新到3.3.8版本又有这个问题。复现路径是：shift键 + ‘2’ 输入 ‘@’ 释放键的时候触发崩溃

Thanks for the report! This is a known issue being tracked at #99653. Closing this issue as a duplicate, so please follow up on it for further updates.


RUM-6394: Changing logApiUsage method signature - making event parameter computation lazy

What does this PR do?
Changing signature of logApiUsage method of InternalLogger a bit - replacing InternalTelemetryEvent.ApiUsage event parameter with lambda function that will called only if sampling happens. This should reduce useless amount of work made by sdk and reduce impact to the customer's application resources consumption
Motivation
Some times running logApiUsage is useless because actual logging wont happened because it not sampled. But in such cases parameter computation still happened so we will waste device's resources for the useless work. To avoid that we use lambda instead
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.11%. Comparing base (4f55776) to head (6609ef8).
Report is 3 commits behind head on develop.

Files with missing lines
Patch %
Lines

...n/kotlin/com/datadog/android/api/InternalLogger.kt
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2433      +/-   ##
===========================================
- Coverage    70.12%   70.11%   -0.00%
===========================================
  Files          769      769
  Lines        28504    28503       -1
  Branches      4774     4774
===========================================
- Hits         19986    19984       -2
+ Misses        7183     7182       -1
- Partials      1335     1337       +2

Files with missing lines
Coverage Δ

.../android/core/internal/logger/SdkInternalLogger.kt
87.23% <100.00%> (+1.06%)
:arrow_up:

...d/rum/internal/domain/scope/RumViewManagerScope.kt
91.30% <100.00%> (ø)

.../android/rum/internal/domain/scope/RumViewScope.kt
94.50% <100.00%> (-0.80%)
:arrow_down:

...n/kotlin/com/datadog/android/api/InternalLogger.kt
93.75% <0.00%> (ø)

... and 28 files with indirect coverage changes


VERSION: Bump to 0.2.4

Signed-off-by: Till Maas<EMAIL_ADDRESS>

Coverage remained the same at 65.913% when pulling 0bc8bdc7a04a1ee26fa84e5587b51524bbfa4141 on tyll:024 into 42e3d5f4fe9f88e7fac1213eb3ad7ca55f8618f8 on nmstate:master.


Add and enforce checkstyle, lint, findbugs, and pmd

I noticed two things that lead to this PR:

We never did a full gradle check
We had a checkstyle, but it was never enforced

I started trying to get checkstyle to work and ended up adding all the common CI analysis tools/checks.
I went through and added checkstyle, lint, findbugs, and pmd. PMD is the only check that isn't enforced because it still needs to be configured to ignore tests. (It doesn't like the underscores in the test method names)
In the process, I fixed a ton of style and code issues.

Will do!

See: https://github.com/firebase/FirebaseUI-Android/pull/418#issuecomment-265209250

@samtstern merged.

This is awesome! The build failed because I forgot to delete an unused string resource.

That is cool, also I love describing a build failure as "awesome" :+1:

Yeah, "useful" would probably be a better word 😄

That's one thing I wasn't sure about, do we want to enforce a max line length?

@samstern, good to go! See my comment above though.

@SUPERCILEX regarding max line length I don't think we need to enforce that, I generally try to keep my lines under 100 chars but I subscribe to the golang philosophy:
'Go has no line length limit. Don't worry about overflowing a punched card. If a line feels too long, wrap it and indent with an extra tab.'

Hey, I think you have the wrong guy. Are you confusing me with @samtstern?

@samstern yes I think he was, cool name though :smile:

It's the BEST name!!

Oops, sorry @samstern that was a typo 😄


MobileCalender.js: Undefined variable 'getDay'

When accessing older schedules on both mobile and desktop (specifically when the window is minimized for desktop), error occurs with getDay variable, declaring it as undefined. Newer schedules work perfectly fine.

Are you taking 6D this quarter? Or next?

The problem was online/tba courses. You can add them now, but they do not show up on the calendar. Thus they don't have a "start" object and you cannot call 'getDay' on them.
Thanks! And we really appreciate all the users who submitted a bug report about this!!


extra calls for cms components requests

Sometimes the cms components requests gets called an extra time, which makes the call fail twice, therefore calling the fallback twice.

PR: GH-2637

Will be fixed and retested with GH-2746


Switch to typescript

[ ] Enable eslint for typescript and fix errors

You might not need TypeScript... (syntax)


audio recording and encoding

I m trying to implement microphone recording.
this works:

import av
#device as input
container = av.open('none:0',format="avfoundation")
audio_stream = None
for i, stream in enumerate(container.streams):
    if stream.type == b'audio':
        audio_stream = stream
        break
if not audio_stream:
    exit()

#file container for output:
out_container = av.open('test.wav','w')
# out_stream = out_container.add_stream(codec_name = 'mp3',rate=44100)
out_stream = out_container.add_stream(template=audio_stream)
for i,packet in enumerate(container.demux(audio_stream)):
    print float(packet.pts*packet.stream.time_base)
    out_container.mux(packet)
    if i >500:
        break
out_container.close()

however I need the pts in the media for later so I m looking at mp4 with aac but I cant get it to work:

import av
import logging
logging.basicConfig(level=logging.DEBUG)

#device as input
container = av.open('none:0',format="avfoundation")
audio_stream = None
for i, stream in enumerate(container.streams):
    if stream.type == b'audio':
        audio_stream = stream
        break
if not audio_stream:
    exit()

#file container for output:
out_container = av.open('test.mp4','w')
out_stream = out_container.add_stream(codec_name = 'aac',rate=44100)
for i,packet in enumerate(container.demux(audio_stream)):
    for frame in packet.decode():
        print (float(frame.pts)/frame.time_base['den'])
        out_pack = out_stream.encode(frame)
        print out_pack
        if out_pack:
            print out_pack.pts
            out_container.mux(packet)
    #exit and flushing
    if i >500:
        while True:
            out_pack = out_stream.encode(None)
            if out_pack:
                print out_pack.pts
                out_container.mux(packet)
            else:
                break
        break
out_container.close()

output:
139869.792653
None
139869.804263
<av.Packet of #0, dts=None, pts=None at 0x108c48218>
None
139869.815873
<av.Packet of #0, dts=None, pts=None at 0x108c482b0>
None
139869.827483
<av.Packet of #0, dts=None, pts=None at 0x108c48348>
None
139869.839093
WARNING:libav.aac:Trying to remove 1024 samples, but the queue is empty
<av.Packet of #0, dts=None, pts=None at 0x108c48218>
None
139869.850703
None
139869.862313
None
...

The file does not play.
Any ideas what I m doing wrong?

Sorry for the delays.
I'm at least super happy the first example is working for you (as I've been elbow deep in really broken PyAV for a while, and I guess my expectations are low), and the second does do the same for me. Hopefully I find a bit more time to dig into this in the coming days.
Aside: I need to document the container.streams.get(audio=0) stuff for stream selection. :wink:

I think there might be something wrong with the FIFOs due to the:
WARNING:libav.aac:Trying to remove 1024 samples, but the queue is empty

If the FIFO gets commented out of av/audio.steam.pyx, then it at least keeps having full packets. Still doesn't play though.
I really need to go become unconscious though. Hopefully more soon.

Thats for the reply and again for your continued work on PyAV! I think A/V work is complex and messy and PyAV is the best option for me so far.

Even if I get past the FIFO stuff, am manually calculating known-correct PTS/DTSes, then I still get a ton of crap when I try to play it:
[aac @ 0x7fa0db80b000] Prediction is not allowed in AAC-LC.
[aac @ 0x7fa0db80b000] channel element 3.11 is not allocated
[aac @ 0x7fa0db80b000] Reserved bit set.
[aac @ 0x7fa0db80b000] Number of scalefactor bands in group (63) exceeds limit (49).
[aac @ 0x7fa0db80b000] Reserved bit set.
[aac @ 0x7fa0db80b000] Number of scalefactor bands in group (59) exceeds limit (49).
[aac @ 0x7fa0db80b000] Prediction is not allowed in AAC-LC.
[aac @ 0x7fa0db80b000] Reserved bit set.
[aac @ 0x7fa0db80b000] Prediction is not allowed in AAC-LC.
[aac @ 0x7fa0db80b000] channel element 2.0 is not allocated
[aac @ 0x7fa0db80b000] Sample rate index in program config element does not match the sample rate index configured by the container.

etc..
It seems to be completely related to the "aac" codec. It isn't happy about something...

What about trying with mp3?

I found the problem... You won't like it.
The part in your second example that says out_container.mux(packet) should be out_container.mux(out_pack); we've been muxing the original packets!
😆
Both mp3 and aac work for me now, even with all the warnings. I just pushed 014cdb2 which has my attempts at "fixing" the fifo and PTS stuff. See here.

Let me know if you have success with that branch/script, and I'll cleanup the AudioFifo stuff and merge to master. Maybe also automatic PTS calculation...


Added: GitHub templates

What:

Github templates added

Why:

Using templates to encourage useful issues and pull requests
Repository maintainers can add templates in a repository to help contributors create high-quality issues and pull requests.

How:

Create some markdown template file

Very useful
Thanks


useLayoutEffectfires shows warning while using SSR

useLayoutEffect does nothing on the server is thrown when I use DatePicker with nextjs.
I also know how to fix the problem. are you open to contributions?

@AwrminKhodaei We're open to PRs of course 😊

@AwrminKhodaei
did you solve the issue for useLayoutEffect problem?

@spostad7 My recommendation, for now, is to import this module as a "client" side module because, in order to position the calendar properly, I need to get client boundaries(like window width & height). Next js provides such client-side imports if you pass ssr: false.

Thanks @Kiarash-Z,
I think it could be control with check if type of window undefined....
I am using after.js and can't import like that

Same issue here, the terminal shows:
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format.
This will lead to a mismatch between the initial, non-hydrated UI and the intended UI.
To avoid this, useLayoutEffect should only be used in components that render exclusively on the client.
See https://fb.me/react-uselayouteffect-ssr for common fixes.


Hornet - Bolt Alpha Issue

Describe the bug
Running Hornet RC9-Alpha with Bolt. After a day the dashboard is empty and other weird things start to happen ( alternating between 0 and 1K transactions )
To Reproduce
Start hornet and set pruning to 200 (this may not be necessary as ericvrp had no pruning and the spammer running). Node runs fine and memory and DB size increase. This issue happened to at least two server so it may be data related vs an individual server issue.
Eric will provide additional information from his node in a subsequent comment.
Logs and Dump from my server
hornet_comnet_bolt_issue.zip
pprof stack dump
Expected behavior
Hornet works correct
Environment information:

Ubuntu 18.04 8GB 4 Core CX41 with 150GB root filesystem
Version 0.4.0-rc8-16154c8

Describe the bug
Same as issue above but I was running with Badger (not Bolt)
Version used

Version https://github.com/ericvrp/hornet/commit/9fe99c67c68b8294e13ad9e676de2b2e4a5757ae
Build with: go build -tags=pow_avx -ldflags="-s -w -X github.com/gohornet/hornet/plugins/cli.AppVersion=0.4.0"

Reproduce
The time it takes is random but usually within a few hours. I have not been able to reproduce with the spammer disabled so enabling the spammer might bring the problem to light quicker.
These config changes
"node": {
   "enablePlugins": ["Spammer"]
},
spammer": {
     "cpuMaxUsage": 0,
     "tpsRateLimit": 0,
     "workers": 7
}

Environment information:

AMD 2400G with 16GB internal storage +123SSD free
Linux 5.5.18-3-MANJARO #1 SMP PREEMPT Sun Apr 19 19:51:26 UTC 2020 x86_64 GNU/Linux

These the last part of the logfiles.
pm2.zip

Added a log snippet from my node.
It´s the relevant part where hornet stopped working with BoltDB.
snip.txt

Not sure if this is related to restarting the node or caused by this bug directly but I get this traceback after restarting.
0|hornet  | 2020-05-15T11:33:27+02:00   INFO    Tangle  Milestone confirmed (72696): txsToConfirm: 938, collect: 24.891876ms, total: 58.789296ms
0|hornet  | 2020-05-15T11:33:27+02:00   INFO    Tangle  New solid milestone: 72696, 0.07 TPS, 15.41 CTPS, 23500.00% conf.rate
0|hornet  | 2020-05-15T11:33:27+02:00   INFO    Tangle  Run solidity check for Milestone (72699)...
0|hornet  | 2020-05-15T11:33:27+02:00   INFO    Tangle  Solidifier finished: txs: 2950, collect: 247ms, total: 496ms
0|hornet  | 2020-05-15T11:33:27+02:00   PANIC   Tangle  Milestones missing between (72696) and (72699).
0|hornet  | github.com/gohornet/hornet/plugins/tangle.solidifyMilestone
0|hornet  |     /home/hornet/hornet/plugins/tangle/solidifier.go:363
0|hornet  | github.com/gohornet/hornet/plugins/tangle.configureTangleProcessor.func3
0|hornet  |     /home/hornet/hornet/plugins/tangle/tangle_processor.go:51
0|hornet  | github.com/iotaledger/hive.go/workerpool.(*WorkerPool).startWorkers.func1
0|hornet  |     /home/hornet/go/pkg/mod/github.com/iotaledger/hive.go@v0.0.0-20200508125657-76ee9eb66cf8/workerpool/workerpool.go:158
0|hornet  | panic:
0|hornet  | Milestones missing between (72696) and (72699).
0|hornet  | goroutine 3036346 [running]:
0|hornet  | go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0070c7290, 0x0, 0x0, 0x0)
0|hornet  |     /home/hornet/go/pkg/mod/go.uber.org/zap@v1.13.0/zapcore/entry.go:230 +0x545
0|hornet  | go.uber.org/zap.(*SugaredLogger).log(0xc0109284a0, 0xc015568b04, 0x118c17b, 0x29, 0xc005aa3e28, 0x2, 0x2, 0x0, 0x0, 0x0)
0|hornet  |     /home/hornet/go/pkg/mod/go.uber.org/zap@v1.13.0/sugar.go:234 +0x100
0|hornet  | go.uber.org/zap.(*SugaredLogger).Panicf(...)
0|hornet  |     /home/hornet/go/pkg/mod/go.uber.org/zap@v1.13.0/sugar.go:159
0|hornet  | github.com/gohornet/hornet/plugins/tangle.solidifyMilestone(0x0)
0|hornet  |     /home/hornet/hornet/plugins/tangle/solidifier.go:363 +0x5a8
0|hornet  | github.com/gohornet/hornet/plugins/tangle.configureTangleProcessor.func3(0xc0455a7520, 0x2, 0x2, 0xc01fd03ce0)
0|hornet  |     /home/hornet/hornet/plugins/tangle/tangle_processor.go:51 +0x8c
0|hornet  | github.com/iotaledger/hive.go/workerpool.(*WorkerPool).startWorkers.func1(0xc000442c80)
0|hornet  |     /home/hornet/go/pkg/mod/github.com/iotaledger/hive.go@v0.0.0-20200508125657-76ee9eb66cf8/workerpool/workerpool.go:158 +0x1ad
0|hornet  | created by github.com/iotaledger/hive.go/workerpool.(*WorkerPool).startWorkers
0|hornet  |     /home/hornet/go/pkg/mod/github.com/iotaledger/hive.go@v0.0.0-20200508125657-76ee9eb66cf8/workerpool/workerpool.go:134 +0x5e
PM2       | App [hornet:0] exited with code [2] via signal [SIGINT]

A re-restart gave no traceback

Please try again with 0.4.0-rc9


[docs] Update breakpoints.md for clarity

As proposed in the discussion from issue #13448 [Breakpoints] functions down() and between() adds +1 to index, the breakpoint widths are described as a range. Furthermore, I found some broken hash links that I attempted to fix.

[ ] I have followed (at least) the PR section of the contributing guide.

Closes #13448

@matthewjwhitney Thanks, I'm moving forward, I'm happy to take your feedback anytime you can :).


fix s3 delete methods

Codecov Report

Merging #1 (f2d2d04) into main (5f460aa) will increase coverage by 0.50%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
+ Coverage   98.98%   99.48%   +0.50%
==========================================
  Files          12       12
  Lines         591      586       -5
==========================================
- Hits          585      583       -2
+ Misses          6        3       -3

Flag
Coverage Δ

unittests
99.48% <100.00%> (+0.50%)
:arrow_up:

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

Impacted Files
Coverage Δ

pygemstones/__init__.py
100.00% <100.00%> (ø)

pygemstones/io/file.py
98.98% <100.00%> (-1.02%)
:arrow_down:

pygemstones/util/log.py
100.00% <100.00%> (ø)

pygemstones/vendor/aws.py
100.00% <100.00%> (+8.82%)
:arrow_up:

Continue to review full report at Codecov.

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


do not build with devicemapper

as of now, we do not want to build with device mapper because it cannot
handle parallel requests which would be common-place in podman.
Signed-off-by: baude<EMAIL_ADDRESS>

LGTM

LGTM
Do we want to highlight this change in the release announcement?

bot, retest this please

This of course is much more important that we do this in the RHEL/Fedora and Ubuntu spec files.
@lsm5 @fkluknav PTAL

Looks like @lsm5  is way ahead of me.

@rhatdan so @baude included this change in the fedora spec file already. I'll add that to Ubuntu.
@fkluknav could you please make this change in RHEL spec files?

@rh-atomic-bot r+


Branch 198122165

@ankurtaly @case540
Question: this pushing PR seems to start from CL/197586515 and ends on CL/198122165.
There seem to be at least one CL in this range that is missing: CL/197949416.
Can you look at what happened to them?

On never mind. The GitHub page folded it. It's there. Thanks.

Closing stale push.


Get the same default output from terminal but in gulp

Is there a way to console log from gulp and get the same output that I get when I run psi example.com straight from the terminal?
I see it returns an object that I can log but it seems like psi has a built in way to format this already. How can I access this?

Just use the PSI API directly. There's really no reason to use a Gulp plugin for this.


ConvertGraphDefToGraph in graph_construction.cc has a bug

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu1~16.04.10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): 1.10 from source, 1.8 from source
TensorFlow version (use command below):
Python version: Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55)
Bazel version (if compiling from source): Build label: 0.15.2
GCC/Compiler version (if compiling from source): gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

/* Adding a Test to tensorflow/core/graph/graph_constructor_test.cc
Add includes at top */
#include "tensorflow/cc/saved_model/loader.h"
#include "tensorflow/cc/tools/freeze_saved_model.h"
/*This test should download the faster_rcnn_resnet101_kitti, and fail when converting a frozen_graph_def to a graph*/
TEST_F(GraphConstructorTest, FillOp_faster_rcnn) {
 FILE *file = fopen("/tmp/resnet_example/1/faster_rcnn_resnet101_kitti_2018_01_28/frozen_inference_graph.pb", "r");
 if (!file){
    printf(" Downloading faster_rcnn_resnet101_kitti_2018_01_28.tar.gz .....");
    system("wget http://download.tensorflow.org/models/object_detection/faster_rcnn_resnet101_kitti_2018_01_28.tar.gz");
    system("mkdir -p /tmp/resnet_example/1/");
    system("tar -xf faster_rcnn_resnet101_kitti_2018_01_28.tar.gz -C /tmp/resnet_example/1/");
    system("rm faster_rcnn_resnet101_kitti_2018_01_28.tar.gz");
    }
  const string export_dir = "/tmp/resnet_example/1/faster_rcnn_resnet101_kitti_2018_01_28/saved_model";
  const std::unordered_set<std::string> tags = {"serve"};
  SessionOptions opts;
  RunOptions r_opts;
  // Loading Saved Model
  SavedModelBundle bundle;
  std::unordered_set<std::string> inputs, outputs;
  TF_CHECK_OK(LoadSavedModel(opts, r_opts, export_dir, tags, &bundle));
  GraphDef gd2 = (bundle).meta_graph_def.graph_def();
  Graph *g = new Graph(tensorflow::OpRegistry::Global());
  TF_CHECK_OK(ConvertGraphDefToGraph(tensorflow::GraphConstructorOptions(), gd2, g));
}

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
There is a bug in ConvertGraphDefToGraph, I can currently run this model through the Python API but I am having problems getting the GraphDef, and then converting it back to a Graph in C++.
This seems to stem from the fact that its an old graphdef being loaded into a new version of tensorflow. The index type attribute
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
2018-09-15 00:25:13.325147: I tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: /tmp/resnet_example/1/faster_rcnn_resnet101_kitti_2018_01_28/saved_model
2018-09-15 00:25:13.440161: I tensorflow/cc/saved_model/reader.cc:54] Reading meta graph with tags { serve }
2018-09-15 00:25:13.831448: I tensorflow/cc/saved_model/loader.cc:162] Restoring SavedModel bundle.
2018-09-15 00:25:13.831492: I tensorflow/cc/saved_model/loader.cc:172] The specified SavedModel has no variables; no checkpoints were restored. File does not exist: /tmp/resnet_example/1/faster_rcnn_resnet101_kitti_2018_01_28/saved_model/variables/variables.index
2018-09-15 00:25:13.831499: I tensorflow/cc/saved_model/loader.cc:138] Running MainOp with key legacy_init_op on SavedModel bundle.
2018-09-15 00:25:13.831525: I tensorflow/cc/saved_model/loader.cc:259] SavedModel load for tags { serve }; Status: success. Took 506360 microseconds.
2018-09-15 00:25:14.044682: F tensorflow/core/graph/graph_constructor_test.cc:3248] Non-OK-status: ConvertGraphDefToGraph(tensorflow::GraphConstructorOptions(), gd2, g) status: Not found: No attr named 'index_type' in NodeDef:
[[{{node GridAnchorGenerator/Meshgrid/ExpandedShape/ones}} = Fill[T=DT_INT32, _output_shapes=[[?]]](GridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, GridAnchorGenerator/Meshgrid/ExpandedShape/ones/Const)]]
[[{{node GridAnchorGenerator/Meshgrid/ExpandedShape/ones}} = Fill[T=DT_INT32, _output_shapes=[[?]]](GridAnchorGenerator/Meshgrid/ExpandedShape/Reshape, GridAnchorGenerator/Meshgrid/ExpandedShape/ones/Const)]]
*** Received signal 6 ***
*** BEGIN MANGLED STACK TRACE ***
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/_U_S_Stensorflow_Score_Cgraph_Ugraph_Uconstructor_Utest___Utensorflow/libtensorflow_framework.so(+0x6cb53d)[0x7fd9d02fc53d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fd9cee9d390]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fd9ce050428]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fd9ce05202a]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/_U_S_Stensorflow_Score_Cgraph_Ugraph_Uconstructor_Utest___Utensorflow/libtensorflow_framework.so(+0x6d2837)[0x7fd9d0303837]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/graph_graph_constructor_test.runfiles/org_tensorflow/tensorflow/core/graph_graph_constructor_test[0x54e091]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS_4TestEvEET0_PT_MS4_FS3_vEPKc+0x47)[0x7fd9d0ae95d7]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing4Test3RunEv+0xd2)[0x7fd9d0ae9822]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing8TestInfo3RunEv+0x118)[0x7fd9d0ae9b28]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing8TestCase3RunEv+0xb5)[0x7fd9d0ae9dc5]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing8internal12UnitTestImpl11RunAllTestsEv+0x218)[0x7fd9d0aea068]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc+0x47)[0x7fd9d0aea387]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libexternal_Scom_Ugoogle_Ugoogletest_Slibgtest.so(_ZN7testing8UnitTest3RunEv+0x92)[0x7fd9d0aea592]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/../../_solib_k8/libtensorflow_Score_Slibtest_Umain.so(main+0x9b)[0x7fd9d0b5db6b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fd9ce03b830]
/home/ubuntu/.cache/bazel/_bazel_ubuntu/0e110d1a1e25aaa081a6bc08469ac91f/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/core/graph_graph_constructor_test.runfiles/org_tensorflow/tensorflow/core/graph_graph_constructor_test[0x515239]
*** END MANGLED STACK TRACE ***
*** Begin stack trace ***
tensorflow::CurrentStackTraceabi:cxx11
gsignal
abort
void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::)(), char const)
testing::Test::Run()
testing::TestInfo::Run()
testing::TestCase::Run()
testing::internal::UnitTestImpl::RunAllTests()
bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::)(), char const)
testing::UnitTest::Run()
main
__libc_start_main
*** End stack trace ***

@sboshin could you check whether the TensorFlow version you used to train the model is the same as the one for serving the model?

@wt-huang I unfortunately didn't train this model its gotten from Object Detection, which is an official repo. From the little understanding its not able to find an attribute

@sboshin you can retrain the model with the current TensorFlow version which should be the same as the one you will be using  for serving.

I can write a more succinct test to show the issue. The description of the test would be. Create a node. Strip the default attributes, and Use ConvertGraphDeftoGraph function on the resulting graphdef. This will error out. If this is the correct response of the function to not be able to automatically assign default attributes then please leave this closed

@sboshin Please go ahead and write a test to show this issue.

Closing this issue for now, feel free to reopen if the problem persists.


Output hosts records to file

This could be a file in the ~/.nitro directory.
The reason for this is that if you using apps such as switch hosts or gas mask you can use the file as a remote and have it combine with other custom host records.
This goes hand in hand with #110

A note for others who use gasmask, I had to turn of 'override external modifications' in gasmask preferences to let nitro edit the main host file. Gasmask was monitoring it and reverting any changes made by 3rd parties.

@jasonmccallister would be amazing to get this now that #110 is possible!

Maybe I am an edge case, which would not be the first time :), but I have never used tools like this for hosts files. Is this an edge case? I'm curious how we would work this into a config so we know when we should write to the external file.
Otherwise would this require everyone to use a tool like this?


Clean up top level requirements.txt file

I think there's a lot of stuff which was needed before but no longer is.

Just to keep track - one of the items is pycurl=7.43.0, which we mentioned in https://github.com/data-refinery/data_refinery/pull/15.


Get head.title from entity.headMeta.title when the entity is the initialSelectedItem

Fixes https://github.com/frontity/wp-org-connection/issues/20

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ci(deps): use chore(deps) prefix for dependabot commits

Motivation

Dependabot's recent automated security updates (#12878, #12879, #12880)  (enabled after https://github.com/argoproj/argo-workflows/pull/12763#issuecomment-1986755883) used the build(deps) prefix instead of chore(deps)

note that I changed all their PR titles manually, but their commits still say build(deps) and most were auto-merged before I could change the title).

This matches the prefix we normally use for dependency updates (#12850, #12860, etc)

also this matches what dependabot was previously doing for non-security updates (#12512, #12507, etc), not sure why it used build(deps) for security updates (??)

Modifications

Add commit-message.prefix: chore(deps) to all package-ecosystems in dependabot.yml

dependabot auto-adds :  after the prefix
Add commit-message.prefix-development: chore(deps-dev) to package-ecosystem: npm (not supported for github-actions or gomod)

Matches previous dependabot non-security updates, such as #12511, #12510, #12509, etc

Verification
Matches the GH Docs in https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message

Confirmed this is working in #12891


Code optimization

Make get exchange and get queue async;
Make default exchanges auto-created when used;
Recover exchange and queue by using properties.
Remove impl of in-memory.

@davidlanouette , do you have interested in contributing for this open source project?

@davidlanouette , do you have interested in contributing for this open source project?

@sijie Yes.  I have an interest in this particular project.  My team is looking for a replacement for ActiveMQ, and I'm very partial to using Pulsar.  But we need to be able to support AMQP, STOMP and OpenWire.  So, I'm interested in getting this to a production level.
I'll try to help out when I can.  But for now, I can't dedicate too much time to it. :-(

If you have intrested in this open source project, you can join us to do it deeply with us. @davidlanouette

@davidlanouette , do you have interested in contributing for this open source project?

@sijie Yes. I have an interest in this particular project. My team is looking for a replacement for ActiveMQ, and I'm very partial to using Pulsar. But we need to be able to support AMQP, STOMP and OpenWire. So, I'm interested in getting this to a production level.
I'll try to help out when I can. But for now, I can't dedicate too much time to it. :-(

Now, we just need to support AMQP to construct a more powful, and reliable message queue middleware than rabbitmq.

@davidlanouette Can I join you in wechat or other online chat tools?

@davidlanouette Can I join you in wechat or other online chat tools?

I don't have a wechat account.  How about I ping you on Slack (in the Pulsar workspace?)

@davidlanouette Can I join you in wechat or other online chat tools?

I don't have a wechat account. How about I ping you on Slack (in the Pulsar workspace?)

Okay, what's your email address? I will add you in slack's teammate.

<EMAIL_ADDRESS>I'm already on the Pulsar Slack.  But if you want to add me to another slack team, that's good.

Please take a look again. @davidlanouette @zongtanghu @wangshaojie4039 @gaoran10 @codelipenghui


Can't assign { x : string } to { x : string, y? : string }

// Consider:
type A = {
  x : string
};

type B = {
  x : string,
  y? : string
};

function takeB(b : B){}

//This is fine:
takeB({ x : '' });

// This is also fine
var b : B = { x : '' };

// But this isn't
var a : A = { x : '' };
takeB(a); // property 'y' not found in object type

// Neither is this
var b2 : B = a;

// But these are ok:
takeB({ ...a });
var b2 : B = { ...a };

AFAICT all operations here should be safe. Only if A would be closed then the above program would be unsound, but since A is open I can't see why it can't be used as B.

It can be used as B, because A can have a property named y of any type, not just string.

Ahh, of course, I completely missed that. Thanks for the explanation!

Follow up question: I still try to make something like the above work, but I can't figure out why the following solution isn't allowed:
type A = {|
  x : string
|};

type B = {|
  x : string,
  +y? : string
|};

function takeB(b : B){}
const a : A  = { x : '' };
takeB(a);

Here I first made both A & B exact to ensure no additional incompatible properties are present (like @vkurchatkin mentioned was the problem in the original attempt), and then I made y covariant such that we ensure takeB can't set it, guaranteeing that if b stays a valid A even if uses as B.
However, flow still complains that "property Y not found in object type", and I don't understand why. Do I still miss something?


cudaPackages: eliminate exceptions

as they break common nixpkgs tools like lib.meta,
cf. https://github.com/NixOS/nixpkgs/issues/276795
@NixOS/cuda-maintainers
Description of changes
Before:
Before:
❯ nix repl --show-trace
Welcome to Nix 2.19.2. Type :? for help.
nix-repl> :lf nixpkgs
nix-repl> with legacyPackages.aarch64-darwin; lib.meta.availableOn "aarch64-darwin" cudaPackages.cuda_nvcc
...
       … while calling 'getRedistArch'
...
       error: Unsupported Nix system: aarch64-darwin

After:
nix-repl> with legacyPackages.aarch64-darwin; lib.meta.availableOn "aarch64-darwin" cudaPackages.cuda_nvcc
false
nix-repl> with legacyPackages.x86_64-darwin; cudaPackages.cuda_nvcc.meta.unsupported
true
nix-repl> with legacyPackages.x86_64-linux; cudaPackages.cuda_nvcc.meta.unsupported
false

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Some of the outPaths have changed because the "unsupported" packages now have more outputs. Stuff like opencv4 and torch hasn't been affected, only the unsupported stuff has.
The solutions here are highly sub-optimal. There are upcoming refactors to the evalModules bit (incl. in Connor's cross-compilation PR) which might address this properly. It took some effort to satisfy Ofborg here without more global changes.
Ofborg happy, and thanks to @aidalgol for the review. Merging this so we can start using meta.unsupported

This indirectly broke the channel build, fix in https://github.com/NixOS/nixpkgs/pull/279684


Image Additional Info Tooltip needs to be added

Suggest key:value pairs to aid parsing later

An additional tooltip has been added next to the Additional Info form. For now it reads the following:
"Although not required, it is suggested to add key:value pairs for measurement data to aid parsing."
This can be modified in the Google Drive folder's "help" file under "other_entity_info".


No PlatformIO.ini entry for Pico W

Describe the bug
Cant build for Pico W in PlatformIO (while Pico is a supported board for WipperSnapper, theres no PlatformIO.ini entry)
Arduino board
Pico W
To Reproduce
Steps to reproduce the behavior:
Trying building for Pico W in PlatformIO
Expected behavior
The ability to build for Pico W
Which components are connected to your device
Which components are set up on the WipperSnapper device page?
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I tried writing my own section but went down a dependency hell-hole where I couldnt seem to find some dependencies
[env:raspberrypi_pico_w]
platform = raspberrypi
board = pico
lib_ldf_mode = deep+
build_flags = -DUSE_TINYUSB=1
	-DARDUINO_RASPBERRY_PI_PICO_W

@bscherer-sdvi Unfortunately,  RaspberryPi Trading Ltd. had a disagreement with PlatformIO Labs when it came to adding the Earlephilhower Arduino Pico core, the full details are on this PR: https://github.com/platformio/platform-raspberrypi/pull/36. The result is that there is no platformio package for the rp2040 anymore. .
As a result, I recommend compiling WipperSnapper for PicoW using the Earlephilhower and Arduino IDE.
I can leave this issue open if you're interested in trying out max's solution in (https://github.com/earlephilhower/arduino-pico/issues/1617), otherwise I will close it.

Thanks for the quick reply! I will try whats in that repo. Go ahead an close :)

err I can i see


The query must be of type ObjectQuery or DbQuery

hi,
I'm trying to do a simple batch delete but I get this error: "The query must be of type ObjectQuery or DbQuery"
this is the code I'm using:

using (ProjEntities ORM = new ProjEntities(ProjConfigurationManager.ProjConnection))
{
ORM.SurveyDatas.Delete(d => d.field1 == field1 && d.field2 == field2);
ORM.SaveChanges();
}

Do you have any workable example I could use or point me to the source of this issue?
I appreciate your help.

I have same error? How to solve?
using (var context = new DataContext())
{
context.Respondents.Update(respondents, u => new Respondent { InUseSurvey = statusUse ? 1 : 0 });
context.SaveChanges();
}

I solve the problem. Just Unistal it and never use again!

LOL Rodrigo. I did the same a long ago!

has this ever been addressed?  is this library still maintained?


Update to androidx.appcompat:appcompat:1.5.1

ViewTreeSavedStateRegistryOwner.set(decorView, this) to decorView.setViewTreeSavedStateRegistryOwner(this)
but Runtime
is  java.lang.IllegalStateException: You can consumeRestoredStateForKey only after super.onCreate of corresponding component

有没有解决的方案？
或者还是切换到androidx.appcompat:appcompat:1.4.1？

I'm also getting this. Currently, this is broken, and I can't find a single other example of getting a keyboard working for jetpack compose.


Database setup and configuration

Modified Docker config to setup database. A database called "tasks" will be automatically created when the container is created.
Modified application.properties to connect to this database.
Modified models/User.java to specify a table name of "users". This is necessary as the default table name, "user", is a reserved word in SQL.

Looks good!


Changed deprecated DiscoveryClient to HttpClient with GetDiscoveryDoc…

I noticed this unit test was providing a warning on the naming as well as the deprecated class. Just a trivial change but trying to add some value. :)

Thanks. But we don’t accept PRs to master.


docs(ios): - Improve Remote Notification Support section

Hello!
A little revamp on the docs, added what tricks helped me, also mentioned what issued I ran into, etc etc.
Here are some main changes:

Improved overall steps
Added community Expo config plugins
Added Swift example
Added Apple Doc links
Improved payload example

You can see the new README here:
https://github.com/LunatiqueCoder/notifee/blob/patch-1/docs-react-native/react-native/docs/ios/remote-notification-support.md
Hope you'll like it
Cheers 🍻

Niiice. I resolved those ones that I just mostly copy pasted from you. Feel free to unresolve or come with other comments/suggestions. :)

still working through new-arch problems sadly, but in this repo -  I'm here, just everything taking time

finally got the docs publishing here again, on the docs.page platform - just finished that today - one step closer on all this backlog here


feat: implement the test suite for 0x5B - JUMPDEST opcode

### Tasks
- [ ] Create the trait for the JUMPDEST opcode category
- [ ] Create the JUMPDEST opcode function, write it only as a panic_with_felt252('JUMPDEST not implement yet')
- [ ] Create the test suite for JUMPDEST, taking Geth's examples
- [ ] Create the test suite for JUMPDEST taking Kakarot cairo0 examples
- [ ] Create the test suite for JUMPDEST taking the evm.codes examples

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.


Add black and pylint to CI

Consider adding pylint and black to our CI. Pylint is slower but more exacting than flake8.
#178 is an example where a more aggressive linter may have found an issue

What about ruff instead? https://github.com/astral-sh/ruff
That seems like a better tool.


milestone5: make the webpage accessible

PORTFOLIO
milestone5:make the webpage accessible
in this part we made accessibility checks using the following:

page title: changed the page title
"Alt" image attributes: Changed all the alt attributes to describe the images.
Headings: No issues were found.
Color contrast: no issue found.
Resize: no issues were found.
Interactions: no issues were found.
Moving content: no issues were found.
Multimedia: no issues were found.
Basic structure of the page: no issues were found.

Hello! @Omar-Muhamad, we have made some changes but we couldn't be able to display for test using the link and see them. how do we proceed?

Hello! @Omar-Muhamad, we have made some changes but we couldn't be able to display for test using the link and see them. how do we proceed?

Use your deployment link in the site i gave you and the test will work.

Hello! @Omar-Muhamad, we have made some changes but we couldn't be able to display for test using the link and see them. how do we proceed?

Use your deployment link in the site i gave you and the test will work.

@Omar-Muhamad, we have updated our accessibility branch. The issue we have now is, we don't see the changes we implemented on the website so if we test it, we still get the results generated in the pull requested that you reviewed. How will our changes be reflected on the website for us to perform the test again?


New version: Min.Min version 1.28.1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115168&drop=dogfoodAlpha

@wingetbot run


Wallpapers are jittery

I just have two wallpapers set right now and they both appear to be jittery when the blur effect it applied. I have no idea of how to reproduce this as it happens randomly.

If you come across this again, can you confirm the size of the original, unblurred wallpapers? I suspect they aren't a multiple of 4 in width or height, which causes the slight offset when transitioning between the two. There isn't any easy way of working around this unfortunately.

This is also possibly related to the scaling the blurrer does for memory purposes. Blurred images are first scaled down and then blurred, so when the blur slider is not quite at zero but almost zero, you'll probably see some resampling artifacts.


Redesigned PythonEngine error handling [INSTALLER]

Fixes  strange ValueError and KeyboardInterrupt error exceptions

Download:
Environment: QT=5.12, ARCH=64, PYTHON_PATH=C:\Python37-x64
installer/trik-studio-installer-master-x86_64.exe
Environment: QT=5.12, ARCH=32, PYTHON_PATH=C:\Python37
installer/trik-studio-installer-master-i686.exe


Problem with Graphics.generateTexture() call for 3.12.0-beta1

When calling generateTexture method for Graphics instance the execution of Camera.updateSystem leads to this exception:
Uncaught (in promise) TypeError: Cannot read property 'width' of undefined
    at Camera.updateSystem (Camera.js:1957)
    at Camera.set [as x] (Camera.js:2047)
    at Camera.setViewport (Camera.js:1730)
    at Graphics.generateTexture (Graphics.js:1497)
    at Abilities.create (index.js:113)
    at InGameStage._createAbilities (in-game.js:424)
    at in-game.js:133

Seems like it relates to this strings in Camera.js:
var gameWidth = this.config.width;
var gameHeight = this.config.height;

, 'cause the debbuger says there is no config field in this. And as a result application stops at the first generateTexture call.
BTW, very exited about ScaleManager you are going to release and really wait for it =) It will solve all the pains with dynamic scaling I have, so I tried to run my app with the latest master version and got this. If you need more assistance and more data to find out the problem, just let me know ;)

P.S. 3.11.0 and lower versions works great with it

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Introduced by commit 1a62a356.

This should now be fixed.
The Graphics object had new dependencies (1a62a35) that were not provided when the static Graphics.TargetCamera object was used by the Graphics.generateTexture() method. Providing a Graphics instance's scene reference to the TargetCamera at texture rendering time resolved the issue for me.
Please feel free to test this on the master a branch and let us know if this fixes the issue for you.
I'm leaving this open in case @photonstorm would like to solve this in a different way.

Nah, I'm happy with how that's fixed. Please test the master branch @aahz and if you're happy it works close this issue off.

Wow, that's was fast =))))
Seems the issue is solved. Now everything is working as expected
Thanks a lot for your work @hexus, and, I suppose, we can close the issue


[1651] Use render system for showing user info

Context
Working towards providing ability to revoke a user's access to an organisation
Changes proposed in this pull request
Update user show command to new style. This will allow us to preview the changes when we get to access modification.
Guidance to review
tim@fox:~/repo/dfe/manage/backend(1651-mcb-use-grid-for-user-show)
$ be bin/mcb users show<EMAIL_ADDRESS>
User:
+------------------------+------------------+
| id                     | 102              |
| email                  |<EMAIL_ADDRESS>|
| first_name             | Mandie           |
| last_name              | Hilll            |
| first_login_date_utc   |                  |
| last_login_date_utc    |                  |
| sign_in_user_id        |                  |
| welcome_email_date_utc |                  |
| invite_date_utc        |                  |
| accept_terms_date_utc  |                  |
| state                  | new              |
+------------------------+------------------+

Has access to providers:
+-----+--------------+------+
|  id |     name     | code |
+-----+--------------+------+
| 124 | ACME SCITT 0 | A0   |
+-----+--------------+------+

Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 add revoke access command to mcb