UndefinedConversionError "\xC3" from ASCII-8BIT to UTF-8 within JRuby/Rails/Sprockets dev mode

Hi there - similar to #2 after some change I can't trace, I have started getting a persistent failure of a particular stylesheet to compile dynamically in a dev environment. It seems to be fine when precompiling assets, and I can't quite trace what is different between the two setups.
Environment:
MacOS 12.6 Monterey
JRuby <IP_ADDRESS> under Java 17
rails 6.1.7
sprockets 4.1.1
sassc-embedded 1.54.0 installed per https://github.com/ntkme/sassc-embedded-shim-ruby
Possible problem
I am guessing from #2 that there is some default encoding problem somewhere, but I am not quite sure where to look as the code seems rather different than when #2 was discussed.
I tried forcing Java file.encoding=UTF-8 in case there is a JRuby default thing going on here, as well as forcing the default encodings at Rails level - seems no difference.
The issue seems to be with debug assets as changing to
config.assets.debug = true in application.rb (or for the specific problematic stylesheet's tag) seems to allow render to work, at least for this particular page.
# Fails
<%= stylesheet_link_tag "new-theme", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>

# Works OK
<%= stylesheet_link_tag "new-theme", {media: "all", debug: false} %>

Any workarounds or help to narrow the problem down would be appreciated.
Error Detail
The same top level SCSS asset (new-theme) fails to compile with
ActionView::Template::Error ("\xC3" from ASCII-8BIT to UTF-8):
    4: <%= yield :before_stylesheets %>
    5: <%= stylesheet_link_tag "application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
    6: <%= stylesheet_link_tag "patterns/application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
    7: <%= stylesheet_link_tag "new-theme", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
    8:
    9: <%= javascript_include_tag "application", debug: Rails.env.development? && params[:debug_assets] %>
   10:

app/views/shared/_head.html.erb:7
app/views/layouts/pipelines.html.erb:4
app/controllers/stages_controller.rb:165:in `block in render_stage'
app/controllers/stages_controller.rb:164:in `render_stage'
app/controllers/stages_controller.rb:41:in `overview'

Full stack trace is
org/jruby/RubyString.java:6473:in `encode'
com/google/protobuf/jruby/RubyMessage.java:168:in `[]='
com/google/protobuf/jruby/RubyMessage.java:99:in `initialize'
org/jruby/RubyClass.java:890:in `new'
sass-embedded (1.55.0) lib/sass/embedded/host.rb:55:in `block in compile_request'
sass-embedded (1.55.0) lib/sass/embedded/host.rb:133:in `await'
sass-embedded (1.55.0) lib/sass/embedded/host.rb:43:in `compile_request'
sass-embedded (1.55.0) lib/sass/embedded.rb:209:in `compile_string'
sass-embedded (1.55.0) lib/sass/embedded.rb:47:in `compile_string'
sassc-embedded (1.54.0) lib/sassc/embedded.rb:17:in `render'
sassc-rails (2.1.2) lib/sassc/rails/template.rb:40:in `block in call'
sprockets (4.1.1) lib/sprockets/utils.rb:141:in `module_include'
sassc-rails (2.1.2) lib/sassc/rails/template.rb:39:in `call'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:84:in `call_processor'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
org/jruby/RubyArray.java:1947:in `reverse_each'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:65:in `call_processors'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:22:in `block in CompositeProcessor'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:33:in `call'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:84:in `call_processor'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
org/jruby/RubyArray.java:1947:in `reverse_each'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:65:in `call_processors'
sprockets (4.1.1) lib/sprockets/loader.rb:182:in `load_from_unloaded'
sprockets (4.1.1) lib/sprockets/loader.rb:59:in `block in load'
sprockets (4.1.1) lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
sprockets (4.1.1) lib/sprockets/loader.rb:43:in `load'
sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `block in load'
org/jruby/RubyHash.java:1354:in `fetch'
sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `load'
sprockets (4.1.1) lib/sprockets/add_source_map_comment_to_asset_processor.rb:48:in `call'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:84:in `call_processor'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:66:in `block in call_processors'
org/jruby/RubyArray.java:1947:in `reverse_each'
sprockets (4.1.1) lib/sprockets/processor_utils.rb:65:in `call_processors'
sprockets (4.1.1) lib/sprockets/loader.rb:182:in `load_from_unloaded'
sprockets (4.1.1) lib/sprockets/loader.rb:59:in `block in load'
sprockets (4.1.1) lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
sprockets (4.1.1) lib/sprockets/loader.rb:43:in `load'
sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `block in load'
org/jruby/RubyHash.java:1354:in `fetch'
sprockets (4.1.1) lib/sprockets/cached_environment.rb:44:in `load'
sprockets (4.1.1) lib/sprockets/base.rb:81:in `find_asset'
sprockets (4.1.1) lib/sprockets/base.rb:119:in `[]'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:363:in `find_asset'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:348:in `find_debug_asset'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:230:in `block in lookup_debug_asset'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:243:in `block in resolve_asset'
org/jruby/RubyEnumerable.java:626:in `detect'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:242:in `resolve_asset'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:229:in `lookup_debug_asset'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:171:in `block in stylesheet_link_tag'
org/jruby/RubyArray.java:2667:in `map'
sprockets-rails (3.4.2) lib/sprockets/rails/helper.rb:170:in `stylesheet_link_tag'
org/jruby/RubyKernel.java:2003:in `public_send'
actionview (6.1.7) lib/action_view/base.rb:247:in `_run'
actionview (6.1.7) lib/action_view/template.rb:154:in `block in render'
activesupport (6.1.7) lib/active_support/notifications.rb:205:in `instrument'
actionview (6.1.7) lib/action_view/template.rb:345:in `instrument_render_template'
actionview (6.1.7) lib/action_view/template.rb:152:in `render'
actionview (6.1.7) lib/action_view/renderer/partial_renderer.rb:285:in `block in render_partial_template'
activesupport (6.1.7) lib/active_support/notifications.rb:203:in `block in instrument'
activesupport (6.1.7) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (6.1.7) lib/active_support/notifications.rb:203:in `instrument'
actionview (6.1.7) lib/action_view/renderer/partial_renderer.rb:280:in `render_partial_template'
actionview (6.1.7) lib/action_view/renderer/partial_renderer.rb:271:in `render'
actionview (6.1.7) lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object'
actionview (6.1.7) lib/action_view/renderer/renderer.rb:27:in `render_to_object'
actionview (6.1.7) lib/action_view/renderer/renderer.rb:22:in `render'
actionview (6.1.7) lib/action_view/helpers/rendering_helper.rb:38:in `block in render'
actionview (6.1.7) lib/action_view/base.rb:273:in `in_rendering_context'
actionview (6.1.7) lib/action_view/helpers/rendering_helper.rb:34:in `render'
org/jruby/RubyKernel.java:2003:in `public_send'
actionview (6.1.7) lib/action_view/base.rb:247:in `_run'
actionview (6.1.7) lib/action_view/template.rb:154:in `block in render'
activesupport (6.1.7) lib/active_support/notifications.rb:205:in `instrument'
actionview (6.1.7) lib/action_view/template.rb:345:in `instrument_render_template'
actionview (6.1.7) lib/action_view/template.rb:152:in `render'
actionview (6.1.7) lib/action_view/renderer/template_renderer.rb:72:in `block in render_with_layout'
activesupport (6.1.7) lib/active_support/notifications.rb:203:in `block in instrument'
activesupport (6.1.7) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (6.1.7) lib/active_support/notifications.rb:203:in `instrument'
actionview (6.1.7) lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'
actionview (6.1.7) lib/action_view/renderer/template_renderer.rb:55:in `render_template'
actionview (6.1.7) lib/action_view/renderer/template_renderer.rb:11:in `render'
actionview (6.1.7) lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
actionview (6.1.7) lib/action_view/renderer/renderer.rb:29:in `render_to_object'
actionview (6.1.7) lib/action_view/rendering.rb:117:in `block in _render_template'
actionview (6.1.7) lib/action_view/base.rb:273:in `in_rendering_context'
actionview (6.1.7) lib/action_view/rendering.rb:116:in `_render_template'
actionpack (6.1.7) lib/action_controller/metal/streaming.rb:218:in `_render_template'
actionview (6.1.7) lib/action_view/rendering.rb:103:in `render_to_body'
actionpack (6.1.7) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
actionpack (6.1.7) lib/action_controller/metal/renderers.rb:142:in `render_to_body'
actionpack (6.1.7) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (6.1.7) lib/action_controller/metal/rendering.rb:36:in `render'
actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:46:in `block in render'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/benchmark.rb:308:in `realtime'
activesupport (6.1.7) lib/active_support/core_ext/benchmark.rb:14:in `ms'
actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:46:in `block in render'
actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:45:in `render'
actionpack (6.1.7) lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
actionpack (6.1.7) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (6.1.7) lib/abstract_controller/base.rb:228:in `process_action'
actionpack (6.1.7) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (6.1.7) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
activesupport (6.1.7) lib/active_support/callbacks.rb:106:in `run_callbacks'
actionpack (6.1.7) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (6.1.7) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
activesupport (6.1.7) lib/active_support/notifications.rb:203:in `block in instrument'
activesupport (6.1.7) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (6.1.7) lib/active_support/notifications.rb:203:in `instrument'
actionpack (6.1.7) lib/action_controller/metal/instrumentation.rb:33:in `process_action'
actionpack (6.1.7) lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
actionpack (6.1.7) lib/abstract_controller/base.rb:165:in `process'
actionview (6.1.7) lib/action_view/rendering.rb:39:in `process'
actionpack (6.1.7) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (6.1.7) lib/action_controller/metal.rb:254:in `dispatch'
actionpack (6.1.7) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (6.1.7) lib/action_dispatch/routing/route_set.rb:33:in `serve'
actionpack (6.1.7) lib/action_dispatch/journey/router.rb:50:in `block in serve'
org/jruby/RubyArray.java:1865:in `each'
actionpack (6.1.7) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.1.7) lib/action_dispatch/routing/route_set.rb:842:in `call'
rack (2.2.4) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.4) lib/rack/etag.rb:27:in `call'
rack (2.2.4) lib/rack/conditional_get.rb:27:in `call'
rack (2.2.4) lib/rack/head.rb:12:in `call'
actionpack (6.1.7) lib/action_dispatch/http/permissions_policy.rb:22:in `call'
actionpack (6.1.7) lib/action_dispatch/http/content_security_policy.rb:19:in `call'
uri:classloader:/jruby/rack/session_store.rb:79:in `context'
rack (2.2.4) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (6.1.7) lib/action_dispatch/middleware/cookies.rb:689:in `call'
actionpack (6.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (6.1.7) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (6.1.7) lib/action_dispatch/middleware/callbacks.rb:26:in `call'

Stack trace says it is this line: https://github.com/ntkme/sass-embedded-host-ruby/blob/0b4cf29cad898ca647017a0921b4641359eb46c6/lib/sass/embedded/host.rb#L55
So I think it is related to the css input.

@chadlwilson Can you please add a debug line to check the encoding of source.encoding and see if that is ASCII-8BIT? If so maybe try source.force_encoding('UTF-8') and see if it makes any difference?

Given the information you provided, I think the issue is:

You source UTF-8 scss file contains 0xC3 0x97, which is perfectly fine.
Somehow the file is read into a ruby string as is but the encoding is set to ASCII-8BIT.
Protobuf constructor tries to convert ASCII-8BIT to UTF-8 but it fails because the source is actually already UTF-8. - The encode method in ruby convert the string byte buffer from one encode to another, the force_encoding method does not change the string byte buffer, just force the existing buffer to be interpreted.

Reading the test case added in https://github.com/rails/sprockets/pull/669, I think what is happening is that in the dev mode, the encoding registered for the mime type of an output file will determine the encoding set on string for input (input[:data].encoding).
UTF-8 is the default encoding for ruby >=2.0 that it has been around for many years. I think it is a good idea to submit a PR to upstream to change the default for application/css-sourcemap+json to :unicode.

Great, thank you for your input 🙏


Add Linux MDD,  GCC ARM toolchain

Description
Adds the CMake/GCC ARM toolchain in Visual Studio 2019
Related issue: #608
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019

Check failed due to known bug #898. We are working to fix it.

@rido-min , could you please pull the latest master to your branch and I will rerun CI

/azp run windows2016, windows2019

Checks are green due to an issue with MSYS (again :( ). I will merge PR because installation of VS components passed successfully


UKey2 fails to build due to dependancy abseil-cpp failing to build.

GCC 13 brought some include file changes, which can be seen here. This affects the dependency abseil-cpp. Updating the submodule to the commit b957f0c or higher would fix this.

#15 might get rid of this issue completely, and remove a dependency

Closing due to due to commit 6c4b01c making this issue redundant and solving it.


Are you maintaining the snap image?

There is a snap packaging of dry on the canonical snap store. Are you the maintainer of it? Do you support this? If so could you mention it in the install instructions. I hesitate to install a package that the author does not mention existing. The author of the snap says monch0

I tried anyway. It's on the edge repo. And it's not working.

Hello! Yes, I did create the snap a long time ago and I have not updated it in a while.
It is not malware, just a forgotten installation method :)

I have updated the snap and it should be working again. Can you give it another try, please, @antoine-gallix?

Ah, nice to hear!
I've installed successfully the following version through snap:
dry                v0.11.2                     139    latest/edge      monch0            -
Now when I run the dry command I get the following error:
INFO[0000] Dry could not start: retrieve container list: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.44/containers/json?all=1&size=1": dial unix /var/run/docker.sock: connect: permission denied

I'm not sure what is the process that tries to access the docker socket, but it's not allowed. The socket has the following permissions:
Permissions Size User Date Modified Name
srw-rw----     0 root  4 Mär 14:35  /var/run/docker.sock

Hmmm and can you run the Docker client without problems? So, for example, docker ps works?

The docker socket belong to the docker group.  My user also belong to this group. This setup is the one officially recommended to not have to run docker as root. I don't know how snap work, but it doesn't seem to be run by my user, other it would have access to the socket.


nodemcu esp8266 v3 not working?

Hello, I am using the nodemcu esp8266 v3 microcontroller and I have not been able to get it to work, is this compatible?
From the arduino console I receive this message when restarting the device:
load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00090940
~ld
rf cal sector: 1020
freq trace enable 0
rf[112] : 0�
In vkbit I don't see the miner working, do I have to wait a certain number of hours to see the results? It seems the code is not working but I can gladly help with the tests.
Thank you very much, excellent work.

@reyxv16 did you install it via platformio from scratch or using the web installer?

@reyxv16 did you install it via platformio from scratch or using the web installer?

using the web installer and also the esp8266flasher tool, the strange thing is that it seems to be working because it heats up a little but the led does not work (only when starting up)

@reyxv16 does any WiFi called "LEAFMINER" shows up?
Also did you install all the 3 files using the flash installer or just the firmware?

@matteocrippa Yes, of course, I can see the wifi called LEAFMINER and I can configure the microcontroller, but after restarting it does not seem to work, should the wallet address start with 1, 3 or bc1? I only see a .bin file to install on the esp8266, how can I monitor what the microcontroller is doing?

The wallet should start with bc1, you can anyhow keep connected the esp8266 to the usb cable and it should show logs if you activate a monitor (eg. using platformio or the web flasher)

Apparently the software already works, although I still don't see the statistics in vkbit, I'm going to wait a few hours to see if it's working, so far this was the last line received: [I] Network: >>> {"id":3 ,"method":"mining.suggest_difficulty","params":[0.000100]}

hello, j'ai le meme, ca commence et puis cela s'arrete...

Just released v0.0.12, it should fix all the issues

Nickel, je vais tester cela
Cependant dans le readme, je pense que vous devriez dire que juste le firmware.bin doit être pousser pour l'esp8266...
Merci pour le job

Ça se relance normalement...

After a few seconds it reboots and connects again...

It can be the issue with the WDT, I will check, but for now it's not a blocker, it just change the identifier for the mining session due to the reboot

Cela devient bloquant car maintenant mes miners ne se reconnectent plus,
Peut etre prevoir un reboot si pas de reponse?

Apparently it works at times but every few seconds it restarts, it seems that it fails to receive data from the server
14:51:18 [I] Network: <<< [mining.notify] {"id":null,"method": "mining.notify","params":["1caa225","6a712c6effa5e2121be60bffca67794bf0659f8c000127f70000000000000000","020000000100000000000000000000000000000000<PHONE_NUMBER>00000000000000000000ffffffff150326be0c564b4249542e434f4d","ffffffff033848310000000000016001427e04fe106a94b902e0f35ce87e0531b0ff47 f3378234f260000000016001419a9580b35706e1aca7113ba9088bcb9e4eeb4180000000000000000266a24aa21a9age52e4f3daf1eef2476e6bb79fb00c6e778cf156 8d440c9237c15bcf2c26c50400000000",["1f115725f55c6d90e8b7be9f1da850bedd5b0370f1afe161ee6b99339dfaabc4","39d4d0b3d56ed70e35bd8c2f5ae7460eb451 c1ddaf427ac7a7796fdaa775dcd8","6b3dc13fe83bd40a87f0a8e2a452a87a8c23c7ff6f5cf6a3ddac2cd115d51562","e92ed79d24b8dc12daaf2aff88e7460a5aa54912797ad 596fa688aaac5a3c1bf","2e600417a32d4d4838856ccc378a8ffb8e0783f67158891444a6e7c993105b66","0e5c11073cf6ba67c84fe9770f6425ee7e6dd0fe6e16e2ca97ba dd49136072e1 ","6cfc9ae163b763d665d0c4b5fcf07d38894827ccf45a93a4d78317f2b75c4b14","690c6130f1de2d99da180e16b3a92db9f4bcc25e353bd54649409d8520e92bcc ","57b2732ec12e23ce38b5e5653e5adb01df0da1a80baabdacdcf59be6091cceb8","68cfef8a8e47894b609b93fdc99506fe55c894d37bc67eb193c691b1f1278b5e","c7ffa50395 70ee99ea34c6c73f4c1f699e927e79dbf5d7aebb6a5908925e370d","de54a911462a77d2696834b45e0496e9cc0fb028b170088389f4b19da6d2d2ab"],"20000000","1 7035a59","65f73ba5",false]}

me too

if it's back working, let's close it!


How to use big batchsize?

hello, your job is very good ! Thanks for your code.
 I want to apply your code to the instance segmentation of a cell slice image, but my image is 300*300, and we very care about the inference time  so  i want to fine-tuning one model based on my cell datasets which image size is 300*300.
 the image look like:

 only one class (cell )   and a lot of small  instance need to be masked and detected. Do you have any suggestions for training models? Such as  how to set the size of the anchor and how to improve the mAP for small objective?

ISSURE:
I use two GPUs and set the batchsize as 64/32/16,  But after iterating for 1 epoch, the error of loss value nan will appear.  Why i must set the batch_size=8*nums_gpu ? How I improve the batchsize correctly (My GPU's global memory is up to 24G ).

Thanks

the error message is
/pytorch/aten/src/THCUNN/BCECriterion.cu:57: void bce_updateOutput_no_reduce_functor<Dtype, Acctype>::operator()(const Dtype *, const Dtype *, Dtype *) [with Dtype = float, Acctype = float]: block: [108,0,0], thread: [255,0,0] Assertion *input >= 0. && *input <= 1. failed.
train:
sudo CUDA_VISIBLE_DEVICES=0,1 python train.py --config=yolact_im300_config --batch_size=16

Try the latest master branch. I just added a fix for the inf / nan loss explosion issue (see #222).
As for what modifications to make, how much fps do you need? Is the performance of resnet50 on 550x550 images acceptable? I ask this because the architecture itself is not very good at handling very small objects so it might be very beneficial to upscale the images to 550x550 and then classify them.
If you want to still use 300x300, I'd halve all of the anchor sizes in "pred_scales" (in yolact_base). Also if you want to train the model to use 300x300 images, set max_size to 300.

Hi,
for a batch size of 32, with 4x32GB Tesla V100 GPUs, i am getting this error:
RuntimeError: DataLoader worker (pid 1851) is killed by signal: Bus error.
It seems that only one GPU was utilized despite specifying all 4 GPUs for training

Also getting this warning:
Per-GPU batch size is less than the recommended limit for batch norm. Disabling batch norm.
The entire log:
**_ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/multiprocessing/queues.py", line 240, in _feed
send_bytes(obj)
File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 200, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 404, in _send_bytes
self._send(header + buf)
File "/opt/conda/lib/python3.6/multiprocessing/connection.py", line 368, in _send
n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "train.py", line 504, in
train()
File "train.py", line 307, in train
losses = net(datum)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 525, in call
result = self.forward(*input, kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 148, in forward
inputs, kwargs = self.scatter(inputs, kwargs, self.device_ids)
File "train.py", line 159, in scatter
splits = prepare_data(inputs[0], devices, allocation=args.batch_alloc)
File "train.py", line 412, in prepare_data
images[cur_idx]  = gradinator(images[cur_idx].to(device))
File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/_utils/signal_handling.py", line 63, in handler
error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 3091) is killed by signal: Bus error.


feat: add repo sync events show endpoint

Document show endpoint and update import/export endpoint response

I guess ID needs to be added to schemas/repo_sync_event.yaml

Right, good catch! Still wanted to test it with the CLI before marking to ready for a final review


Reception - Terminate a kitchen after 5 seconds of inactivity

Add a field inside the status message that will represent the time that ellapsed since the last command that was sent to the pizza.
If the ellapsed time is over or equal to 5, send exit to the kitchen.

In order to differentiate the exit after the command exit and after 5 seconds of inactivity, it would be best to use separate signals such as SIGTERM for exit and SIGUSR1 for the later.

Duplicata of #131.


Virtual tables support

I would like to discuss for possible ways how one can use virtual tables in SqlLitePCL.raw
For now I think this can be done using PInvoke + handle from Sqlite connection, but would be great if at least PInvoke API would be exposed.
Here is my sample implementation how one can create virtual tables in C#. https://github.com/kant2002/SqliteVirtualTables
I was trying to use classes/structs from SqlitePCL.raw but I face followig challenges:

SqlitePCL uses custom marshalling, so classes like sqlite3, sqlite3_context, sqlite3_value cannot be used as is and require custom plumging
SqlitePCL cannot use LibraryImportGenerator as is, so that's a bit annoying to work in modern C#, would be great to have some support. Not sure if it would be possible, but this is request to think about it.

Things I did not try

Support multiple calling conventions
Provide marshalling for sqlite3_module so it would be proper managed struct which is closer to how SqlitePCL do things.

The use of LibraryImport is #528

When you say "custom marshaling", are you referring to the fact that sqlite3 is a SafeHandle, for example?

When you say "custom marshaling", are you referring to the fact that sqlite3 is a SafeHandle, for example?

I refere more to the fact that partially some marshalling reside in provider.tt, like working with UTF-8 strings, some hooks magic. We can say this is not "marshalling", but for me this is plumbing for the user facing API and unmanaged world, so it's ideologically same for me.
sqlite3 is actually work nice with LibraryImportGenerator, do not have issues with it.

I think I understand.
There are definitely some things in there that make some cases more challenging.  I'm not sure the utf8z idea was worth the trouble.

I think easiest route, at least for me, would be to start with trivial functions like sqlite3_malloc/sqlite3_free/sqlite3_result_xxx/sqlite3_value_type/sqlite3_value_xxx and add them to SqlitePCL. At least that way you can show me the ropes.
https://github.com/kant2002/SqliteVirtualTables/blob/40f846a2de62252fa0e9fbb80080af56abafa073/SqliteVirtualTables/VirtualTableSupport.cs#L115-L121
Take notice that in https://github.com/kant2002/SqliteVirtualTables/blob/40f846a2de62252fa0e9fbb80080af56abafa073/SqliteVirtualTables/VirtualTableSupport.cs#L135-L145
I declare C sqlite3_context* as void* to avoid custom logic for marshalling. I think this not now SqlitePCL do things.

I should clarify that I don't accept very many pull requests.  And I [basically] never accept a pull request unless it addresses a specific user need.
This project is open source, but not really community-developed.

That's not an issue. I already try to take a stab on this in https://github.com/ericsink/SQLitePCL.raw/pull/486 but giveup, so now I decide to try slightly different way by building out side of SqlitePCL but try to integrate later on if there is desire from you/community.

@kant2002 I'm also interested in adding support for this and lighting it up in Microsoft.Data.Sqlite. If you want to work together on this in a longer-running feature branch/fork, I'd be happy to help.

@bricelam now I'm interested. I was scary to work on fork/branch alone since that can be harder to use for other (probably) but if I have potential partner-in-crime then why do not try that.
My first question, are there any tutorials how I can use Microsoft.Data.Sqlite with custom built SqlitePCL ?

@kant2002 Let's move the conversation over to https://github.com/bricelam/SQLitePCL.raw. I've created a project containing the big items that need to happen. We can use issues, discussions, and PRs there to collaborate.


fix seed different from description iterating odd numbers with for loop

closes #4081

Thanks! :smile:


Site is down

425 right now

386

Over a full week and no word. Is this plugin being discontinued? We'd appreciate some kind of update.

Can we get an update on this, please? If there's no intention of maintaining it, it needs to be removed from Runelite.

I could set up an alternative database, but it's easier if I get a little help of the original author

The author appears to have gone inactive, with their last activity on Github as a whole being in July.

I have to check what kind of messages are being sent between the client and server. Seems like a fun project but my time is limited. I will comment here if I made any progression

Hey everyone, really sorry for missing this. Just noticed and I'll try to fix this

This should be resolved now. Again, extremely sorry about the really bad response time on this issue. Totally unacceptable on my part. I've fixed my notifications and this shouldn't happen again
I'm not exactly sure what happened, but the server became unresponsive and I had to bring it down and back up. I relaunched the services and it should be good again. I'm looking into better notifications so that I don't have to rely on GihHub issues to know when there's a problem

Update: The monitor I set up is working and will let me know when there is a future outage. Closing this issue as resolved.


Julia on HPC Clusters

I've written https://juliahpc.github.io/. Depending on how important you think this "HPC workflow" aspect is, we should probably either integrate some of the content into MJW or at least link to this website somewhere. Opinions?

Thanks for the suggestion! I think I'd rather link to it, because it's pretty far over beginner level (in fact it's even over my level cause I've never used HPC). Feel free to open a PR!


Enhance how meeting backends are defined.

Enhance how meeting backends are defined, making possible to alternate the embed meeting solution.
With this, in scenarios where we have our solutions hosted locally or we use services in the cloud, we can use Matrix as a friendly frontend.
Description

Make the Default Meeting Backend by a ENV Variable or config file.
Create a way to change the dependencies of the meeting backend (to alternate between solutions).
Create a option to togle between "Open in a new tab" and "embed".

Possible solution
We have to change these files to use ENVIRONMENT variable that define jitsi URI:
https://github.com/ResultadosDigitais/matrix/blob/master/frontend/src/morpheus/containers/RoomPage.js#L64
https://github.com/ResultadosDigitais/matrix/blob/master/backend/app/views/morpheus.ejs#L24
how to test
We can run jitsi locally with Docker. https://github.com/jitsi/docker-jitsi-meet


Nothing to see here

Address item 1 of #67. Special day for everyone!

I am going to merge as soon as tests pass so we can move on with other hacks. Review while it is hot!

Coverage increased (+0.1%) to 84.95% when pulling f0a7d086c1ee7df82886956263fd5fb27a95b0c0 on pllim:hackday into 95ec9e3077e14826f3a06771c6db2b8244f7ec32 on astropy:master.


Can't download CSV attachment (just opens in browser)

Gitea version (or commit ref): 1.11.0+dev-39-g7c4c01c0f
Git version: 2.11.0
Operating system: Devuan2
Database (use [x]):

[ ] PostgreSQL
[X] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:
Blocked by #8666

Description
I'm trying to attach a CSV file to a comment but other users are having trouble downloading it to open in excel. It looks like its opened directly as text in the browser, and there is no way to download it with the original filename. (I can right click download it with the UUID filename but that has lost the .csv extension and confuses some users)

Maybe there should be a link to download as well as a link to display/render?  https://github.com/go-gitea/gitea/issues/6089 is displaying the attachments better, maybe this could included there?

Could well be missing that header. You wouldn't want it on all file types though, like images.. so would we define a list, or leave it up to the end user by provided a link for both?

I agree with @silverwind about the missing Content-Disposition header.
Regarding inline content (e.g. images) that get a UUID for file name, maybe the following will work without losing its inline property:
Content-Disposition: inline; filename="...."

It's a valid value, but I don't know how many browsers pick that up.

I don't think inline with filename will work. Browsers will navigate to the source URL and any save functionality will use the filename from the URL supposedly. I don't see much of an issue triggering downloads for everything, at least filenames can be preserved that way.

I don't think inline with filename will work. Browsers will navigate to the source URL and any subsequent save functionality will use the filename from the URL supposedly. I don't see much of an issue triggering downloads for everything, at least filenames can be preserved that way.

I've just tested with a quick .htaccess and it works better than I anticipated. It doesn't change the URL (it shouldn't), but honors the header by using the chosen file name in the save as dialog:

My crude .htaccess:
<Files bird.jpg>
    Header add Content-Disposition "inline; filename=\"dog.jpg\""
</Files>

So, for files with an UUID as a name, it could be useful, especially if they are inline.
I've also tested with the picture embedded in a page (which is what the inline keyword is for):

<!DOCTYPE html>

        <title>Bird picture</title>

Here's the inline picture of a bird:

It works fine with the versions I've got in my PC of Firefox, Chrome, Edge and even IE.

Hey
I have the same issue with an ".eml" file

I think it can be solved it via browser settings, for example in Firefox under Preferences - Applications, there should be an entry for the specific type. At least in 1.18, gitea will no longe force the browser to download for certain file types, like it did before.


Use workspaces for CI

Currently a draft to get some feedback. Initially I created a single CI image that would work for linux, nitro and icecap. I ended up running out of space for icecap build. Instead it now runs with 3 separate dedicated images. I remove the check-repo-and-compile-sdk  job because it did not seem to save any wallclock time.

Several MR seems to change this file repeatedly?

Not sure which file you mean?
Mathias, do you want to merge this now?

Mathias, do you want to merge this now?

Yes


Wrong links on "Controller pairing guide" Wiki page

On this page: 8bitdo Win10 app should link to https://apps.microsoft.com/store/detail/8bitdo-ultimate-software/9PMC9MN3ZZ85
Also you can update Xbox accessories Win10 app link to https://apps.microsoft.com/store/detail/xbox-accessories/9NBLGGH30XJ3 for consistency.

Thanks for reporting. Links updated!


Multiple Profiles

Hi. I keep two logseq graphs for different purposes. I was wondering if you could add support for multiple profiles in the addon such that articles tagged with work would be synced to one graph and personal would be synced to another.
Thank you.

Hey @mobedoor its probably not a super short term item, but quite a few people have asked for a similar feature so its something we will look at.

Thanks for considering it.


[Feature Request] Can Rift add TweakClass for CoreMod like LiteLoader and Forge?

Feature
If a Mod has "TweakClass" in its METAINF, it means the mod wants to use the TweakClass provided.
Can Rift add TweakClass to LaunchWrapper for CoreMod like LiteLoader and Forge?
Thanks a lot.
Implements

LiteLoader http://develop.liteloader.com/liteloader/LiteLoader/blob/master/src/main/java/com/mumfrey/liteloader/core/LiteLoaderEnumerator.java#L607
Forge https://github.com/MinecraftForge/MinecraftForge/blob/1.12.x/src/main/java/net/minecraftforge/fml/relauncher/CoreModManager.java#L394-L403

This can be done in Rift by creating a class that implements InitializationListener. From there, mods can add class transformers and tweakers by calling LaunchWrapper's methods.
Once we switch to ModLauncher, though, tweak classes will be loaded as services by ModLauncher, so they will just need to register their tweak class as a service by adding it to META-INF/services.

I think it is meaningful to implement this feature in Rift directly.
Forge and LiteLoader both implement it, which means it could be a universal way to register TweakClass in ModLoader.

It would, yes, but we will be switching to ModLauncher very soon which won't support IClassTransformers anymore. ModLauncher will have a universal way to register them (META-INF/services) which will be supported by Rift.

ModLauncher cannot work now and there is no change in 24 days.
In my view, it still has a long time to switch to ModLauncher, why not support this feature to wait for the release of ModLauncher?
Thanks a lot!

I made this feature by myself :(
https://github.com/xfl03/RiftTweakLoader

This is not done for Optifine. Optifine's TweakClass is ignored as it would only works with Forge. We're creating a custom tweaker and InitializationListener to set it up instead.
Using the TweakClass of a mod would cause several problems:

There's no way of checking they're for the right Minecraft version. 1.12 mods would also be loaded.
There's no way of checking they're meant for Rift. Some CurseForge mods claim they're for 1.13, but they expect srg names at runtime. They're meant to work with Forge 1.13 (though they won't since TweakClass will be replaced with meta-inf/service files when forge switches to ModLauncher in 1.13).

There's no way of checking they're for the right Minecraft version. 1.12 mods would also be loaded.

If I put 1.12.2 OptiFine into mods, it also will be loaded and cause a crash.
Users should take effort to put a jar file into mods folder rather than mod loader detect all thing for users.


Report improvements to Riseclipse

Riseclipse has a commandline (end product); it contains some logic and relies on a lot of JAVA packages
Riseclipse is using a lot of JAVA packages
Suggestion:
Convert the logic in the commandline tool into a maven packages
Input for the maven package (to be build):
OCL rules
SCL file
makeExplicitLinks
Output:
Current output (a list of errors)
Unkown, it is a bit of magic how they use the OCL rules;

Would it be possible to push Riseclipse-validator-scl-2003 to maven?
We can then rely on the maven dependency and use the main function inside RiseClipseValidatorSCL.java in our project.
Currently, we cannot run the Riseclipse-Validator-SCL-2003 locally, because some dependencies are from eclipse.
If the project is on Maven, we can then fully rely on this dependency.

Looks good to me


[RFC][WIP] General Cleanup

Code standard fixes and completion of the transition to php 5.3

I have tracked down the missing tests - it seems tests/Stash/Test/CacheTest.php is no longer being run... not sure why.

That's a fairly big one, as it monitors the main object people interact with. Once that's set and the tests pass I'll merge this right in (and thank you for all this work!).
One comment I do have is the Autoloader removal. I understand that Symfony is never going to need to use the autoloader (since it supports the psr-0 one), but that doesn't mean others won't for their own stand along or quick things. Can you maybe explain why you think it would be best to remove it from the project in general?

Yeah, it is strange, the test CacheMemOnlyTest which extends CacheTest runs fine... looks like phpunit is totally skipping the file for some reason.  Will look into it some more.
As for your Autoloader concern, removing the autoload functionality completely may be a little too progressive for right now.  Because this library is PSR-0 we certainly do not need the class/tests.  I see two options:

Relying on the ClassLoader Symfony2 Component (https://github.com/symfony/ClassLoader)
Simply adding an autoload.php file to the project root that can be included.

I say we go with 2 for right now.  The file would be tiny:
<?php
spl_autoload_register(function($class)
{
    $file = __DIR__.'/src/'.strtr($class, '\\', '/').'.php';
    if (file_exists($file)) {
        require $file;
        return true;
    }
});

Ok, I configured travis to install memcache/memcached/apc so no tests are skipped but I am still failing an APC test:
There was 1 failure:

1) Stash\Test\Handler\ApcTest::testStoreDataHandler class able to store data type string
    Failed asserting that false is true.

    /home/vagrant/builds/kbond/Stash/tests/Stash/Test/Handler/AbstractHandlerTest.php:87
    /home/vagrant/.phpenv/versions/5.3.10/bin/phpunit:46

I am getting this failed test on the master branch as well.  Any ideas?

Ok, all tests passing with no skips!
http://travis-ci.org/#!/kbond/Stash

Awesome! I'll try to find some time today to give things another poke and then merge it all together.
On Feb 20, 2012, at 12:51 PM, Kevin Bond<EMAIL_ADDRESS>wrote:

Ok, all tests passing with no skips!
http://travis-ci.org/#!/kbond/Stash

Reply to this email directly or view it on GitHub:
https://github.com/tedivm/Stash/pull/10#issuecomment-4059407


Create the Rancher header using the generic header

Create the Rancher header as a composition of  the header defined by https://github.com/rancher/dashboard/issues/8583.

Closing since we took a different direction.


Set up build

Set up a netlify project from this repo
Choose a domain name
Make it deploy on merges to master

https://status.vega.trading/


C++98 support

As Lib.Contract uses some key features of the C++11 standard, it cannot be currently compiled with older compilers.
Older compilers are still highly used on embedded systems; it is precisely on such systems that contract usage can be of great value during code development.
Therefore it would be nice to provide C++98 support for the contract library, while keeping its easy-to-use and human-readable api.

:+1:

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

2. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

3. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

 AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
beaquant, @a1cnore, @wzcsoft, @arsend, @pylin-1164, @Tannerpalin, @sunlei, @hiejulia, @ysdede, @Antonito, @amitv87, @alikafridi, @ming-inside, @yaowuping, @sleung852, @joekunin, @amiddleton162, @tarunc, @Thammada, @yibit


make sure iPads are ready to go

Okay. I will put aside time next week when I am at SCBI to do this (& read instructions ahead of time).

Problems setting up the older iPad
@report from @jenajordan:
1- The older ipad was set up with @gonzalezeb's Apple ID. We need to switch this over to AppleID =<EMAIL_ADDRESS> (Instructions here.) @jenajordan , did it prompt for password. If so, we'll need that from @gonzalezeb (but securely, not via GitHub!).
2- Also, the older iPad doesn't seem compatible with latest dropbox. Dropbox is critical to our current setup, but I'd like to try to find a solution before giving up on the iPad.


[PROPOSAL] Refactor MLCommonsClientAccessor to make it open for extension

What/Why
What are you proposing?
Cf. https://github.com/opensearch-project/neural-search/pull/710#discussion_r1635185058
What users have asked for this feature?
This is a requirement from @martin-gaievski.
What problems are you trying to solve?
The change in https://github.com/opensearch-project/neural-search/pull/710 surfaced this problem. If every addition of a new parameter leads to a new method needing to be written, this makes changes very expensive.
What is the developer experience going to be?
Improved.
Are there any security considerations?
None.
Are there any breaking changes to the API
No. This is an internal class.
What is the user experience going to be?
No change.
Are there breaking changes to the User Experience?
No.
Why should it be built? Any reason not to?

What will it take to execute?
Create a POJO class to encapsulate the parameters, making it easier to extend functionality.
Any remaining open questions?
No.

[Catch All Triage - Attendees 1, 2, 3, 4, 5]

Thanks @br3no this is an interesting issue. @martin-gaievski whats your thought?


[docs/bugs] Update index.md

Notes for Reviewers
Fix infinite redirection.
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit e40d518b50dcc959acf099cc66685cc5d580517b at: https://6533ddd857ebb92daa9f7201--meshery-docs-preview.netlify.app


Update CNAME

This looks like a change that should be made in your clone of this project, not in the project itself :)


UserWarning when wrapping pint & dask arrays together

With pint-xarray you can create a chunked, unit-aware xarray object, but calling a calculation method and then computing doesn't appear to behave as hoped.
da = xr.DataArray([1,2,3], attrs={'units': 'metres'})

chunked = da.chunk(1).pint.quantify()

print(chunked.compute())

<xarray.DataArray (dim_0: 3)>
<Quantity([1 2 3], 'meter')>
Dimensions without coordinates: dim_0

So far this is fine, but if we try to take a mean before computing we get
print(chunked.mean().compute())

<xarray.DataArray ()>
<Quantity(dask.array<true_divide, shape=(), dtype=float64, chunksize=(), chunktype=numpy.ndarray>, 'meter')>
/home/tegn500/miniconda3/envs/py38-mamba/lib/python3.8/site-packages/dask/array/core.py:3139: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
  warnings.warn(

This is not correct: as well as the UserWarning, the return value of compute is a dask array, meaning we need to compute a second time to actually get the answer:
print(chunked.mean().compute().compute())

<xarray.DataArray ()>
<Quantity(2.0, 'meter')>
/home/tegn500/miniconda3/envs/py38-mamba/lib/python3.8/site-packages/dask/array/core.py:3139: UserWarning: Passing an object to dask.array.from_array which is already a Dask collection. This can lead to unexpected behavior.
  warnings.warn(

If we try chunking the other way (chunked = da.pint.quantify().pint.chunk(1)) then we get all the same results.
xref https://github.com/xarray-contrib/pint-xarray/issues/116 and https://github.com/pydata/xarray/pull/4972 @keewis

Is it correct that xarray ends up calling dask.array.mean() on the pint.Quantity(dask.Array) object inside the DataArray? I took a guess at that since I can replicate what is happening inside the DataArray with
import dask.array as da

da = xr.DataArray([1,2,3], attrs={'units': 'metres'})

chunked = da.chunk(1).pint.quantify()

da.mean(chunked.variable._data)

If so, I think this gets into a thorny issue with duck array handling in Dask. It was decided in https://github.com/dask/dask/pull/6393 that deliberately calling Dask array operations like elemwise (so, presumably by extension, blockwise and the reductions in dask.array.reductions like mean()) on a non-Dask array implies that the user wants to turn that array into a dask array. This get problematic, however, for upcast types like Pint Quantities that wrap Dask Arrays, since then you can get dask.Array(pint.Quantity(dask.Array)), which is what I think is going on here?
If this all checks out, I believe this becomes a Dask issue to improve upcast type/duck Dask array handling.

Is it correct that xarray ends up calling dask.array.mean() on the pint.Quantity(dask.Array) object inside the DataArray?

Yes that's correct. See
https://github.com/pydata/xarray/blob/c472f8a4c79f872edb9dcd7825f786ecb9aff5c0/xarray/core/duck_array_ops.py#L49-L51
It may be time to update this method since we now depend on a minimum numpy version that supports NEP-18.
cc @shoyer

So this is actually an xarray problem not a dask/pint problem? And the solution would be to just call the method on the duck array without any kind of type checking first?

And the solution would be to just call the method on the duck array without any kind of type checking first?

Or np.method(array)


Restructuring to Download font

Scope
Currently the font file must be provided to the Digit Generator. This should be change to give user one of set of options
AC

[ ] Download font to library
[ ] Adjusting the settings from inside

#7 closes


Crux are not taken into account

Describe the bug
I create a new seed needing a crux but the seed grow also without it, the excat same problem comes with modifiying existing seeds
To Reproduce
add or modify a seed through json files with a crux argument go to the game and the seed grow without its crux.
Expected behavior
without the crux the seed have to stay at stage 0 when the crux is added the seed can grow
Screenshots / Scripts / Logs
{
"mysticalagriculture:dirt": {
"crux": "minecraft:cobblestone"
}
}
Versions (please complete the following information):

Minecraft: 1.16.5
Forge: 36.0.43
Cucumber: 1.16.4-4.1.8
Mystical Agriculture: 1.16.4-4.1.5
Mystical Customization: 1.16.4-2.1.2

After a quick test everything seems to be working as intended for me. Maybe this issue got resolved at some point since MA was last updated?

Finnally i found the source of the problem:. I made a spelling mistake on one of the modified crop and only the crux change wasn't taken into account other modifcation like name or glint were done normally.
After correcting the mistake all works fine.
As a solution is it possible to write something into the log file when an unkown seed is found during modification ?
Thank you for your help
Rodama


List of buckets after upgrading 2.05 -> 2.1 time out

We are recently start testing Riak as an archive storage. After upgrading 2.05 -> 2.1 we can't list buckets any more. Request times outs  returning nothing. The rest of functionality seems works ok. We are running cluster of two nodes. Both has been upgraded
We are getting list of buckets using http
e.g.  wget -T 15 http://88.198..:8098/buckets/?buckets=true
--2015-04-20 16:17:30--  http://88.198..:8098/buckets/?buckets=true
Connecting to 88.198..:8098... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.
....

@msinev I'm not seeing a problem locally, but I also did not upgrade. Listing buckets appears to work fine on 2.1. Also, this is not the correct repo to file an issue on. Can you please create an issue on github.com/basho/riak instead.

Hey @msinev - I'm glad to see your participation! I'm going to close this issue per @andrewjstone's note. You're welcome to make community-wide recommendations as issues here and open up code-specific requests on the appropriate repo.


gambling_reaction_title, gambling_reaction_desc, and gambling_reaction_footer are all ignored in ts-ts despite being specified in the lang file [BUG FOUND; Solution needs to be applied to all lang files]

I run a self-hosted Nadeko that has both global and server locale set to use Tsundere. However, despite this, whenever .startevent reaction is performed, it fails to use the listed ts-ts key. This is true as well for all lang files after investigating them.
[Current code; unaltered]

[Visible results when ran; unaltered code]

[Terminal; unaltered code]

I have found the solution to this bug by closely examining the terminal's request and comparing it to the lang file. The keys between lang files and what the bot is looking for are both different, following the name change of flowerreaction to just reaction. This means that all lang files still refer to the reaction event as "flowerreaction", which now looks for gambling_reaction_title keys. I have applied the change to ts-ts and shown it as a resolved example.
[Solution code]

[Results of solution code]

NOTE: This will need to be applied to each lang file in order to work correctly for each of their respective locales.

They're just missing, i'll add them soon

Well, it is there, but the keys are mislabelled. Timely is still missing however.


[AI] [Inference] README sample fixes #30554

Packages impacted by this PR
@azure-rest/ai-inference
Issues associated with this PR
#30554
Describe the problem that is addressed by this PR
sample fixes in README and samples folder
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


有实时预览的编辑器吗

类似微信开发工具那样改代码可以看到实时的视频效果

不一定要求实时 几秒延迟也ok

Using FFCreator and vue.js, you can develop a web project that builds video by dragging and dropping, just as the h5 building tool. You can check it here.

没有

https://github.com/tnfe/shida


How to run train.py on multi GPUs?

I tried to " CUDA_VISIBLE_DEVICES=0,1", but it is still run on GPU 0.
I also tried "sam_model = DataParallel(sam_model, device_ids=[0,1])", but it does not work either.

Hi @mlszy928 ,
The current version is for a single GPU not multiple GPUs.


Incorrect user shown as last editor when making changes to Commerce content

Describe the bug
When making changes to commerce content the system user is shown instead of the user who made the changes.
To Reproduce
Steps to reproduce the behavior:

Go to Catalog UI
Edit any catalog content.
Publish it.
Click publish dropdown and check what user is listed.

Expected behavior
User is set to "You" if you are the one who edited

Actual: User is set to "System"

This does not happen on a Quicksilver site of equivalent commerce version.

Confirmed bug with Opti: https://world.optimizely.com/support/bug-list?searchQuery=COM-15959


A connection attempt failed

I'm using a service on Azure to gather Tesla data for almost a year successfully now. client_id and client_secret as available on https://tesla-api.timdorr.com/api-basics/authentication
Recently Post for "/oaouth/token?grant_type=password" fails from the Azure server with the exception: “A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond”
Strange, that from development environment the same code still works and gets valid token successfully with exactly the same credentials.
Could it be that Tesla firewalls certain IP?
Are you aware of any limitation regarding amount of queries? Could a query every 15s get us blacklisted?
I'm grateful for any hint or possibly a contact that could help!

You shouldn't be authenticating too often. There is rate limiting on the API, but it's on a per-authentication basis, as far as I can tell. Therefore, there is likely a separate rate limit for the unauthenticated endpoints, which is mostly the /oauth ones. I would make sure you're hanging on to the refresh token and refreshing your access token when it expires (vs. doing a password grant).

@timdorr @rkaderli This isn't a rate limiting issue. I'm fairly certain this is either an Azure issue, or Tesla is blocking Azure IPs for some reason... I've been working on an app that has some APIs hosted in Azure to talk to Tesla because of CORS issues when trying to do client requests. I can hit every endpoint without fail on my locally running Function App; but, once deployed to Azure, every request to Tesla gets this response:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
I'm pretty certain it's not a code issue either. I've written multiple server applications, both nodejs and .net core. Both work fine locally, but not when deployed.
If either of you have managed to get client-side requests to work (I'm assuming with some sort of configuration to avoid CORS problems), please let me know.
Also, small FYI @timdorr . I thought this might have been because my server isn't sending a User-Agent header, but my locally running server has never needed a User-Agent header for requests to work, and I still receive these connections errors regardless of including the User-Agent header or not; so you may want to update the documentation, because it would seem this header is not actually required.

Update to my previous post.... I created an AWS Lambda function to attempt the same thing and it also doesn't work there either.

That sounds like something is wrong with your code. I regularly communicate with Tesla's API from AWS datacenters.

@timdorr Mind sharing what AWS Service you're using?

Heroku, but they use AWS as their underlying service provider.

I meant which AWS service? I.e. Lambda, S3, Lightsail, EC2, etc?

Heroku uses EC2 instances for the most part. They all run in the same IP space.

I have a feeling there is something else going on here. It's obviously possible I'm doing something wrong in code, but I have now 2 different applications that both work fine locally, but when deployed to AWS and Azure respectively, do not work - and considering someone else is having a similar, "works locally but not deployed" situation, I highly doubt it's not something wrong in my code.

As mentioned initially  the code was working for a Year at Azure. Then stopped working with the error pointing to network/firewall level issue: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond".
It even came back working for about 2 days. Afterwards I could not connect from Azure also when setting up a from different App. Never have any problem connecting from my dev machine.

Just did a test with some code I've been running for a long time at home.  Deployed it to an EC2 and it didn't work.   Traffic shows no responses coming back from the Tesla servers.   I would concur that they are blocking AWS.

Ah, they are blocking as of a month ago. My bad. If you go through a proxy, you shouldn't have an issue.

Hmm, that's concerning. Makes me wonder if they're going to start blocking other IPs as well. We could use a proxy, but I wonder how long it would be before that gets blocked.
@timdorr Are you currently using a proxy? If so, which one?

You can set something up in Digital Ocean or OVH for cheap.


Model.compute_loss documentation section is not correct. compute_loss function is not called

Hello,
Model.compute_loss documentation section is not correct
compute_loss function is not called for some reason.
import tensorflow as tf

class MyModel(tf.keras.Model):

  def __init__(self, *args, **kwargs):
    super(MyModel, self).__init__(*args, **kwargs)
    self.loss_tracker = tf.keras.metrics.Mean(name='loss')

  def compute_loss(self, x, y, y_pred, sample_weight):
    tf.print("compute_loss is called:")
    loss = tf.reduce_mean(tf.math.squared_difference(y_pred, y))
    loss += tf.add_n(self.losses)
    self.loss_tracker.update_state(loss)
    return loss

  def reset_metrics(self):
    self.loss_tracker.reset_states()

  @property
  def metrics(self):
    return [self.loss_tracker]

tensors = tf.random.uniform((10, 10)), tf.random.uniform((10,))
dataset = tf.data.Dataset.from_tensor_slices(tensors).repeat().batch(1)

inputs = tf.keras.layers.Input(shape=(10,), name='my_input')
outputs = tf.keras.layers.Dense(10)(inputs)
model = MyModel(inputs, outputs)
model.add_loss(tf.reduce_sum(outputs))

optimizer = tf.keras.optimizers.SGD()
model.compile(optimizer, loss='mse', steps_per_execution=10)
model.fit(dataset, epochs=2, steps_per_epoch=10)
print('My custom loss: ', model.loss_tracker.result().numpy())

'compute_loss is called:' is not printed.  Checked on tensorflow 2.6.2

@snarb I tried to replicate the code on  colab using TF 2.8.0 ,and didn't face any error reported . Could you please have a look at the gist here and let us know if it helps?Thanks!

@sushreebarsa  Hi. I have checked. The mentioned problem exists on 2.6 and 2.7, but not on 2.8. Thank you!

@snarb Thank you for the update!
Could you please move this issue to closed status as it is resolved for you?
Thanks!

@sushreebarsa  yes.  Resolved for me. Thanks

@snarb Closing this issue as it is fixed in latest version of TensorFlow.  Thanks!


Content doubles after copy and paste in text editor

Steps to reproduce:

Open Ref Studio
Open file 1.tiptap
Select all
Paste
Open file 2.tiptap
Navigate back to file 1.tiptap

Now content on file 1.tiptap has been duplicated!
I suspect there's some simple state management fix that's already in the works but figured I'd file the bug anyways.
Video:
https://github.com/refstudio/refstudio/assets/15233/f08dcc48-5dba-4397-849c-69934cb5a146

Yep just tested with https://github.com/refstudio/refstudio/pull/105 and this behavior is fixed

I confirm that it was a known issue and that #105 aimed to also fix that.


[BUG] Uninstall isn't removing all files

Debugging Custom Actions: http://bartdesmet.net/blogs/bart/archive/2008/02/15/the-managed-installer-custom-actions-cookbook.aspx

msiexec /x {ProductCode} /l*v "C:\path\fileName.log"

https://stackoverflow.com/questions/23233959/visual-studio-setup-project-not-removing-dll/67539899#67539899


Editing Database via SqlLite Studio breaks file, but at the same time doesn't?

I'm sure this is not a problem on your side, I just noticed loading the file up in sqllitestudio (3.2.1) didn't let me querry it anymore. On the other hand editing, the item.db in the examples works fine with adding lines or editing values. So i guess the problem lies in the design of my database..
I post this still as an issue as I really have no clue where else to asked that question.
At the time i tried almost everything: lowercase names, uppercase names, removing datetime as this could be something the addon doesn't support, only have tables with full values etc.
my code is this one:
func _ready():
	# Create gdsqlite instance
	var db = SQLite.new();
	# Open item database
	db.open_db("res://database.db")
#	db.open_db("res://items.db")

	# Get item list from db
	var player = db.fetch_array("SELECT * FROM player ORDER BY id ASC");
#	var player = db.fetch_array("SELECT * FROM potion ORDER BY id ASC");

	for m in player:
		print(m['id']);

	print(db.close())

as you can see i commented it out so that i can use it with the example database. I even addet a new table to items.db and it still works fine with it, but database.db doesn't. SQLLiteStudio marks both as (SQLLite3) behind the database name.
Edit:

Also tried to use the same querry on SQLLiteStudio and Commandline where it worked just fine, further adding to my confusion :/

tried adding a foreign key referencing the potions table, worked just fine. So that's it neither.

copied my table to items.db and that broke it too, so it must be something in my table. Also removed every 'Unique' and 'NotNull' leaving only the two primary keys (1 in each of the two tables) and a foreignKey. Still, as mentioned above: "SELECT * FROM player ORDER BY id ASC" works in the Studio and i even tried "PRAGMA integrity_check;"... but I don't know what it checks tbh. 😕

copied the potion table from items.db to my database and it also didn't work. So narrowing it down to something in the database, not the table (?)... do i need some special version here? But then why does it also doesn't accept the tables when i copy them to the other database? Does that tamper somehow with the structure of the database itself?

Got it! 🍾  - it's not with the database at all! I guess GDSql doesn't support Booleans. Changed it for an integer and it works like a charm... so now it's an official Issue I guess 💯 😸 m'sorry


[IIC-427] Remove need to run ipu_port1 manually

We should no longer need to hack a script to ensure primary networking is working at all times. This should be handled by the VSP now.

@sudhar-krishnakumar PTAL

/hold

/test make-e2e-test

Hi @sudhar-krishnakumar this commit is failing. If we remove the CDA workarounds [1] to ensure port connectivity on ACC reboot, the ACC does not have connectivity after re-installing RHEL.
I believe this is a chicken and egg issue. We do not get the post install script installed by the vsp, because we do not get to the point that the vsp is run.
Is the expectation that we remove the fxp-networking package from all CI / Dev servers manually, then re-deploy with this new vsp? At this point, we will be able to assume that the ACC will always have connectivity across all states:
i.e.

I deploy vsp for first time, vsp triggers IMC reboot and installs fxp-linux package, ACC should come up good (note we cannot test this programmatically in the CI because of [2], which means on ACC reboot the solution does not come up automatically.)

I was previously on fxp-linux, and I want to re-install RHEL on the ACC

I cold boot the host

I reboot the IMC

Please advise.
[1] https://github.com/bn222/cluster-deployment-automation/commit/44a6c1cd041662ecd88661183ae85296f5075c7e
[2] https://issues.redhat.com/browse/IIC-465

Advice from @sudhar-krishnakumar  is to leave the workaround to get the latest VSP changes running. If this passes, we can try removing the workaround in a subsequent PR.
We may need to manually add the post-init-script added by the new vsp to all CI / Dev servers in order for this to work.

/test make-e2e-test

/test make-e2e-test

/lgtm
Essentially, we need to run this once on all servers. The proposal from @sudhar-krishnakumar is ok.

/unhold


no longer working

the plugin doesn't seem to be working. it was after the update yesterday (even after a full runelite reload), but when i loaded runelite today it has stopped working.

the plugin doesn't seem to be working. it was after the update yesterday (even after a full runelite reload), but when i loaded runelite today it has stopped working.

Thank you for bringing this to my attention. I had no idea this stopped working. Looking in to it

the plugin doesn't seem to be working. it was after the update yesterday (even after a full runelite reload), but when i loaded runelite today it has stopped working.

I have submitted a fixed version to the RuneLite team. Once they approve it, you should be able to try it out. See here: https://github.com/runelite/plugin-hub/pull/6656
Thanks!

thank you, that seems to be working perfectly again!

thank you, that seems to be working perfectly again!

Glad to hear it! Happy scaping


fix(ec2-tgw): ensure state is set

Resolves #468

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


incorrect handshapes at the start of whole compounds : should be derived from the start handshapes of the first part

I commented on this within the last two days in reference to another set of signs.
This seems to be something that is happening frequently.
For ONE+MILLION/BILLION, although the first part is one-handed and should have
NO handshape on the non-dominant hand for the start frame, this is appearing incorrectly for 3/4 examples:

It is shown correctly for the compound part, but not for the compound as a whole.
What is on the left in these cases should be exactly the same:

The start handshapes for the compound as a whole should come from the start handshapes for the first part of the compound.

Fixed


[DismissableLayer] Fix pointer-events issues

Fixes #1241
Fixes #1263

i had same error so i tried to solve my way and this actually work
i did this by removing the style of pointer events like so:
`  onClose: () => {
set({ type: null, isOpen: false });
// Delay restoring pointer events for 2 seconds
setTimeout(() => {
  document.body.style.pointerEvents = "auto";
}, 1000);

},
}));`
Note, i did it with small timeout to make sure that first all modal scripts are completed and then im manually removing that. Hope it helps!


feat(config): add fingerprint 0x8109-0x4dd5 to Yale YRD-256-ZW3

Updated YRD-256 config with additional fingerprints for YRD-256-ZW3
fixes: https://github.com/zwave-js/node-zwave-js/issues/5603

Thank you. The issue is incorrect, the pull is correct. I’ve tested locally and works as expected. Sent from my iPhoneOn Apr 4, 2023, at 16:39, AlCalzone @.***> wrote:
@AlCalzone requested changes on this pull request.
Oh wait - which is it? In the issue you say 0x8109 is the product ID, here it is the other way round.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Thanks for clarifying


Update logo for some chains and tokens

Design: https://www.figma.com/file/PxPvXw5woBernBu3BtwxkX/SubWallet-Project-Logo?type=design&node-id=254%3A6&t=lWTowY3LmfYhg6Zr-1

Version test: v1.0.3(166)
Devices test: IP 11
Validation passed.
Follow issue: https://github.com/Koniverse/SubWallet-ChainList/issues/3


Something has gone awry with extension installed on Remote

Neither yapf nor black python formatting seems to work installed on a Remote SSH machine.
Yapf works fine locally, but when I install on the remote, it throws an error:
Extension 'yapf' is configured as formatter but it cannot format 'Python'-files

And even the MS -provided Black provider doesn't crash but it doesn't seem to do anything? Did something break upstream?

After problems all morning, suddenly it's working? ¯_(ツ)_/¯


Updated typings for inquirer version 1.0.2

Inquirer no longer uses the callback argument and has switched to Promises. I was unsure where to get the Promise definition from, so I used es6-promise.

Awesome, cheers! Looks like these were the changes for 1.0 (https://github.com/SBoudrias/Inquirer.js/releases/tag/v1.0.0). That is the perfect place for the Promise definition 😄


Discussion - Battery level representation

Which images can be played on the different battery level steps.
Solution proposed during 10/06/2022 functional tests :

5% - 25% -> LowBattery (battery image empty red)
25% - 50% -> Battery Low (One red bar in battery)
50% - 75% -> Battery Medium (Two orange bars)
75% - 90 % -> Battery High (Three yellow or green bars)
90% - 100% -> Battery Max (Four green bars)

And what is displayed between 0% and 5%?

Adding here what I was saying there: https://github.com/leka/LekaOS/pull/870#discussion_r897353150
Initial idea
< 5 et < 25

< 50

< 75

< 90

> 90

ou

Alternative idea
< 5 et < 25

< 50

< 75

< 85

< 95

> 95


email_message_by_link strange readme

According to the readme:

The email message template for sending a confirmation link to the user, it must contain the {##Click Here##} placeholder. Default is "Please click the link below to verify your email address. {##Verify Email##}.".

How come {##Click Here##} is mandatory yet the default doesn't contain it?

Hi @gpkc,
thanks for reporting this. We implemented this module according to the information given in the documentation of the provider.
Imho, the placeholder is required since otherwise, Cognito will not be able to generate and insert the confirmation link?

@soerenmartius Yes there should be a placeholder but the explanation text states:

The email message template for sending a confirmation link to the user, it must contain the {##Click Here##} placeholder.

However, the default value contains {##Verify Email##} and not {##Click Here##}

@soerenmartius Yes there should be a placeholder but the explanation text states:

The email message template for sending a confirmation link to the user, it must contain the {##Click Here##} placeholder.

However, the default value contains {##Verify Email##} and not {##Click Here##}

@gpkc it seems that this has changed. Older version of the provider required it to be{##Verify Email##} as you can see here.
We will review the provider requirements, might adust the min required version, and update the docs in a little while.

Afaik: it is required to have {##Any Text##} placeholder where Any Text will be the link text... so {##Click here##} should do as well as {##Verify Email##} as would {##Follow this link##}.
So whatever the tag shows should work in the context of the rest of the message - Which it does in the default?
The documentation is really bad in AWS for this.
I hope this helps.

Oh I see, that makes sense then. Yes the documentation seems to be very bad in that sense, as it's not mentioned anywhere that I could find that the text content is arbitrary. Thanks!
Might be that this can be closed then

I am gonna add this to the docs to avoid future confusion!

Closed in favor of #48


docs: fix more references to Discord channels

Motivation
Missed a few places in #5581 because I used case-sensitive global search🤦♂
Have you read the Contributing Guidelines on pull requests?
Yes

@Josh-Cena thanks!

The production deployment has been failing for a while I believe, unable to see any new changes to the doc. Can someone inspect that?

Apparently this is due to the zh-CN translation.

Fixed that. Maybe we should set onBrokenLinks: 'warn' in production so that translation contributors don't crash the entire site?

I think @slorber will clarify this point.

I'd prefer to keep throwing until we have a way to report broken link errors, otherwise those could stay unnoticed (I don't think we often check for logs of successful deployments)
We could extend the system to accept a function to have CI build warnings being sent to a Discord channel or something

Is it possible to report production build status in the CI status? I have a project that uses Netlify and deployment is part of CI, so I can know if it fails through GitHub

We have an icon on the repo readme:

This is not visible enough though.
Netlify has a notification system, but afaik it reports ALL failures, not just for the production branch, and it's a bit annoying. Also no Discord integration.


New version is not showing data published from devices

[Question] The previous version (0.1.0) was showing data in the graphics normally. I updated the version (0.2.0) and the platform is not showing data in the graphics anymore. I've sent data from Mosquitto (expecting to see errors from console) and it seems data was sent successfully (I did not get any error). I am still using the default topic structure (/user-id/device-id/attrs) - remembering that the device-id is not being showed as the previous version did, so I had to look at the url to collect the device-id. Also, I am still using the json message structure, e.g. {"light":%light}.That is, it seems I am publishing data but Dojot is not getting/showing in th graphics.
What could it be?

Hello @valeriasilva
From what you described, it could be either

that one of dojot's services is not running properly (or has errored)
that message ingestion is failing for some reason

For (1): Could you please paste the result of the following here?
# this should be run from the directory where you ran "docker-compose up -d"
# you may need sudo
docker-compose ps

For (2): Could you please attach the logs for iotagent-mqtt here? To get those:
# this should be run from the directory where you ran "docker-compose up -d"
# you may need sudo
docker-compose logs --no-color -t iotagent-mqtt > mqtt.log

Hi, everyone!
@valeriasilva, did you have any problems while gathering the logs?

This issue has been closed because it has not had recent activity.


Coo shape init

It supports initializer with shape for coo_matrix.
merge #328 first
related to #36

LGTM!


fby3.5: rf: Support PM8702 sensor reading

Summary:

Initial the MCTP instance on RF BIC
Set Endpoint ID for pm8702 via MCTP CCI
Support to read the chip temperature of PM8702
Support to read the temperature of the DIMMs

Test Plan:
Build code: Pass
root@bmc-oob:~# sensor-util slot1 | grep RF
RF MB_Inlet Temp             (0x50) :   35.00 C     | (ok)
RF CXL Temp                  (0x51) :   43.00 C     | (ok)
RF CXL_Cntr Temp             (0x52) :   37.00 C     | (ok)
RF DIMM_A Temp               (0x53) :   34.75 C     | (ok)
RF DIMM_B Temp               (0x54) :   35.00 C     | (ok)
RF DIMM_C Temp               (0x55) :   34.25 C     | (ok)
RF DIMM_D Temp               (0x57) :   33.25 C     | (ok)

Signed-off-by: Irene<EMAIL_ADDRESS>

Force-push this branch to fix a couple of pointer-check issues.
I have added the check-null function and checked the pointer in the #752d1c1 commit of PR #829.
Would you please review it again?
Many thanks!


437-team-c-task-edit-and-delete-tests---implement-layout-banner-and-buttons

Added layout for the Test Modification page.
Included features for editing and deleting tests.
Implemented a banner and buttons for better navigation.
Updated styles to match the design guidelines.
Ensured responsiveness for various screen sizes.
Whitney Meulink

Same thing here, I think this is in a separate folder outside of TeamC/test_wizard. Needs to all be contained. Let me know if you have issues porting anything over.

I moved it to the correct folder.

Nice, looking a lot better! We should still remove the modify_test folder in the original repo. Also, if you could add some tests, that would be great, or if you would like me to as the QA Engineer, I'd be happy to do so as a separate PR or to pull this down before it gets merged.

I deleted the modify_test folder. Maybe it was after this push. Yes, could you do the test.


code cleanup

Current dependencies on/for this PR:

main

PR #37

PR #38   👈

This comment was auto-generated by Graphite.


[cmake] fixes static build for macos with OpenMP enabled

Fixes #6601 with -DBUILD_STATIC_LIB=ON on macos with USE_OPENMP enabled

@microsoft-github-policy-service agree

Thanks James. Done.


docs: update readme and bump package.json

@irskep I generally make a PR for everything. You don't have to review them, it's up to you, but for simple ones like this I'll leave them open for a bit and merge if I don't hear from anyone. For something more complex I may specifically request help.

Sounds great!


Infer keyword should work with unused generic type parameter of a superclass

Search Terms: infer keyword subclass superclass generic type parameter
Code
class A<T1, T2, T3> {  }

class B<T1, T2> extends A<T1, T2, boolean> { }

type FirstAParam = B<string, number> extends A<infer T1, any, any>
    ? T1
    : never;

Expected behavior: FirstAParam is string.
Actual behavior: FirstAParam is unknown.
Playground Link

Possible, not pretty, but still usable workaround for temporary problem solving on the user code side:
class A<T1, T2, T3> {
  readonly stub: T1 = {} as T1;
}

class B<T1, T2> extends A<T1, T2, boolean> { }

type FirstAParam = B<string, number>['stub']   // FirstAParam is string

Playground link

This is working as intended.  See this entry in the (somewhat outdated) FAQ.  The type system is structural, not nominal; two types are the same iff they have the same structure or shape, not iff they have the same name or declaration.
In your code above, the type A<T1, T2, T3> is exactly the same as the empty object type {}.  They are just two different names for the same type.  To expect the compiler to be able to infer string from the type A<string, number, boolean> is to expect that it should be able to infer string from the type {}, which obviously doesn't work... just because the name you used to refer to {} mentioned string it doesn't imply that the type itself depends on string.  (In practice the compiler sometimes does remember the name you used to refer to a type, and these in-principle-impossible inferences actually do happen; but you really can't rely on them.)
Your workaround is the recommended way to deal with cases like this: make sure your types are structurally dependent on the generic type parameters... the easiest way being to give them members of those types, like your stub.  In any case this behavior is not a bug, but the expected behavior of TypeScript's structural type system.

@jcalz Thank you for explanation and sorry for not reading the entire FAQ!
It's a sort of sad because I have a complex scenario where one generic parameter of a class should be used later by class consumers, though there are no any properties of its type inside the class. OK, I understand, there is nothing to do except using the workaround :(
BTW, in this case:
type FirstAParam = A<string, number, boolean> extends A<infer T1, any, any>
    ? T1
    : never;

FirstAParam is string, and it becomes a bit confusing why does this work one way in the first example and another way in this one.

Thanks @jcalz


Pixellit cant batch ?

Hello, first of all I want to say thank you for providing such awesome shaders for free!
Now I have a small question, I noticed that when I use the pixellit shader on materials, each object using the same a material has it's own batch. if I use the vertex shader I get 1 batch per material.
Is this a bug or a natural trade off of how the shader works?

Hey! Glad they're useful!
So yeah I'm afraid pixel-lit objects can't be batched if they are effected by multiple lights using forward rendering - this true no matter what shaders you use (try it with unity's standard shader and it should be exactly the same).
Vertex lit materials will as long as they have the same lights effecting them (each object can be effects by up to the 4 nearest lights).


virtcontainers: reimplement sandbox cgroup

All containers run in different cgroups even the sandbox, with this new
implementation the sandbox cpu cgroup wil be equal to the sum of all its
containers and the hypervisor process will be placed there impacting to the
containers running in the sandbox (VM). The default number of vcpus is
used when the sandbox has no constraints. For example, if default_vcpus
is 2, then quota will be 200000 and period 100000.
c-ray test
http://www.futuretech.blinkenlights.nl/c-ray.html
+=============================================+
|         | 6 threads 6cpus | 1 thread 1 cpu  |
+=============================================+
| current |   40 seconds    |   122 seconds   |
+==============================================
|   new   |   37 seconds    |   124 seconds   |
+==============================================

current = current cgroups implementation
new = new cgroups implementation
workload
apiVersion: v1
kind: Pod
metadata:
name: c-ray
annotations:
io.kubernetes.cri.untrusted-workload: "true"
spec:
restartPolicy: Never
containers:
- name: c-ray-1
image: docker.io/devimc/c-ray:latest
imagePullPolicy: IfNotPresent
args: ["-t", "6", "-s", "1600x1200", "-r", "8", "-i",
      "/c-ray-1.1/sphfract", "-o", "/tmp/output.ppm"]
resources:
  limits:
    cpu: 6
- name: c-ray-2
image: docker.io/devimc/c-ray:latest
imagePullPolicy: IfNotPresent
args: ["-t", "1", "-s", "1600x1200", "-r", "8", "-i",
      "/c-ray-1.1/sphfract", "-o", "/tmp/output.ppm"]
resources:
  limits:
    cpu: 1

fixes #1125
Signed-off-by: Julio Montes<EMAIL_ADDRESS>

/test

/test

ping @raravena80

@devimc did you mean to ping @WeiZhang555? 😄

@raravena80 nop, this needs review :smile:

@raravena80 thanks

/test

/test

Shimv2 tests are failing with this change
STEP: stop PodSandbox
E0206 21:45:40.234455   28101 remote_runtime.go:115] StopPodSandbox "762c340ac84f4b554cfbee6b8fd058d9b7dfbd832dd30b77acf6e8b2431a4d54" from runtime service failed: rpc error: code = Unknown desc = failed to stop container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f": failed to kill container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f": Could not find the container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f" from the sandbox "762c340ac84f4b554cfbee6b8fd058d9b7dfbd832dd30b77acf6e8b2431a4d54" containers list: unknown
STEP: delete PodSandbox
E0206 21:45:40.236155   28101 remote_runtime.go:229] StopContainer "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f" from runtime service failed: rpc error: code = Unknown desc = failed to kill container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f": Could not find the container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f" from the sandbox "762c340ac84f4b554cfbee6b8fd058d9b7dfbd832dd30b77acf6e8b2431a4d54" containers list: unknown
Feb  6 21:45:40.236: INFO: Unexpected error occurred: rpc error: code = Unknown desc = failed to kill container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f": Could not find the container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f" from the sandbox "762c340ac84f4b554cfbee6b8fd058d9b7dfbd832dd30b77acf6e8b2431a4d54" containers list: unknown
E0206 21:45:40.236587   28101 remote_runtime.go:132] RemovePodSandbox "762c340ac84f4b554cfbee6b8fd058d9b7dfbd832dd30b77acf6e8b2431a4d54" from runtime service failed: rpc error: code = Unknown desc = sandbox container "762c340ac84f4b554cfbee6b8fd058d9b7dfbd832dd30b77acf6e8b2431a4d54" is not fully stopped
[AfterEach] [k8s.io] Container
  /tmp/cri-install-crictl.sDoz/src/github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:51

• Failure [67.015 seconds]
[k8s.io] Container
/tmp/cri-install-crictl.sDoz/src/github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:72
  runtime should support basic operations on container
  /tmp/cri-install-crictl.sDoz/src/github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:68
    runtime should support stopping container [Conformance] [It]
    /tmp/cri-install-crictl.sDoz/src/github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:100

    Feb  6 21:45:40.229: stop container "91cd574ea84883dc442e90fb04f1a0af1880437212bf53720825c087f2f3054f" timeout.

I'm trying to debug it but I don't see logs in the journal.  @lifupan any thoughts?

@lifupan seem like if the hypervisor is moved into a cgroup then tests will fail :thinking:

@lifupan seem like if the hypervisor is moved into a cgroup then tests will fail 🤔

Hi @devimc  See my inline comments,  I think my comments can address the errors occurred on shimv2.

/test

/test

@lifupan thank you! , it works

/test

@jcvenegas @WeiZhang555 @lifupan  changes applied, ready for review, thank you!

/test

/test

/test

ping @kata-containers/runtime

/test

@WeiZhang555 @lifupan @jcvenegas please take a look

lgtm

/test

Oh no... I wanted to review this, and I was expecting more approval for this PR since that is a pretty important/big change...


is possible to get reason when onDisconnected() triggered which we passed  wsSocket.disconnect(reason)

Yes. You can find the reason code you passed to WebSocket.disconnect(int closeCode) in the third parameter of WebSocketListener.onDisconnected method.
public void onDisconnected(
    WebSocket websocket,
    WebSocketFrame serverCloseFrame,
    WebSocketFrame clientCloseFrame,
    boolean closedByServer)
{
    System.out.format("Close code = %d\n",   clientCloseFrame.getCloseCode());
    System.out.format("Close reason = %s\n", clientCloseFrame.getCloseReason());
}

Thank you so much...


spl-token not creating account

I was able to create token, but now when trying to create an account I`m getting the following error:
root@UbuntuVM:~/.config/solana/install# spl-token create-account  --config /.config/solana/install/config.yml
error: Invalid value for '<TOKEN_ADDRESS>': No such file or directory (os error 2)
I get the error either using the --config or not.
I`m running it on a ubuntu on a free oracle cloud VM:
root@UbuntuVM:~/.config/solana/install# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy
here it is also the config file content:

json_rpc_url: "http://api.devnet.solana.com"
update_manifest_pubkey:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
current_update_manifest: ~
update_poll_secs: 3600
explicit_release:
Semver: 1.10.29
releases_dir: /root/.local/share/solana/install/releases
active_release_dir: /root/.local/share/solana/install/active_release

there was some ASCII caracter on the command line, as soon as I copied to notepad and pasted on terminal it worked.


[Solution] Certificate out of date.

Change your system date to match the timeframe of the certificate date, install the certificate and app. Then revert system clock to current date.

确实过期了，现在已经没法正常安装了，反正是自签证书，不如有效期搞长点


Moniker missed in entrypoint script for docker image

The docker entry point file, misses the Moniker.

Test this and add moniker to the entrypoint_script there.

Added in #223


RFM - citrix-sharefile-sync

Please remove the 'Current Maintainer' section if you are not the current maintainer of the package,
otherwise if you are the current maintainer of the package please remove the 'I DON'T Want To Become The Maintainer' section.
Current Maintainer

[x] I am the maintainer of the package and wish to pass it to someone else;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://community.chocolatey.org/packages/citrix-sharefile-sync
Package source URL: https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/citrix-sharefile-sync

Sharefile Sync is deprecated and replaced by ShareFile for Windows. Recommend closing this issue and referring to below package. https://community.chocolatey.org/packages/sharefile-for-windows

@ravager-dk can you confirm where the official notification for this is?

Thanks @ravager-dk.

ShareFile sync is on the path to be deprecated. The end of life of the tool is set for 2021 (please see the Product Lifecycle Matrix), so we encourage all of our customers to leverage this built-in utility to move users from ShareFile sync to Citrix Files for Windows.

Based on the above, I'm going to go ahead and close this issue.


Add better support for music videos

Allow the user to play/shuffle music videos like the other media types.  Support has been added for shuffling music videos, shuffling music videos by genre, and playing specific music videos.
Allowing the user to request music videos by a specific artist presented a little more difficulty, so I raised Issue #212 for that.
The new slot MUSICVIDEOS was required to implement this, which has already been added to the web slot generator and is included in the Python generator in this PR.
Requires changes to Kodi-Voice found in version 0.9.7.
Needs German translations
This will address Issue #118.

Hmm.. it seems there is no VideoLibrary.GetMusicVideoArtists, so we might have to just use AudioLibrary.GetArtists for the match.. the only problem with that is that a user can have music videos but no/few music artists, which means we might not match artist due to too few samples.
I'm in favor of just going with AudioLibrary.GetArtists and re-using the MUSICARTISTS slot for this, personally.  But if anyone has a better suggestion, please speak up.

Ping @mcl22 and @ausweider for German translations :)

Here you are:
could_not_find_musicvideo: "Konnte kein Musikvideo mit dem Namen {{ heard_musicvideo }} finden"
playing_musicvideo_card: "Spiele Musikvideo"
shuffling_musicvideos: "Spiele zufällige Musikvideos"
shuffling_musicvideos_genre: "Spiele zufällige {{ genre }} Musikvideos"
WatchMusicVideo zeige (/das) Musikvideo {MusicVideo}
ShuffleMusicVideos zeige (/zufällige/alle) (/{MusicVideoGenre}) Musikvideos

Thanks again @mcl22!


Update kubectl cheat sheet with command to identify Nodes in Ready state

Added - Check which nodes are ready with custom-columns

/retitle Update kubectl cheat sheet with command to identify Nodes in Ready state

This LGTM
/lgtm

Hi @prasannagithub
Why should we make this change? You've not said.

@sftim After going through the "kubectl Cheat Sheet", I thought that "custom-columns" should be there right after the "jsonpath", that is my whole objective as well as that the user can construct many more use cases based on the given command.

I suggest we first demonstrate implement a basic custom column example (to appear earlier). This is handy but quite complex! I'd like to build up to this with a hint that helps people who really just want a custom column and don't plan to grok the JSONPath part.
Maybe for Pods or Services, where custom views can be handy.
Would you be willing to change the PR accordingly @prasannagithub?

I suggest we first demonstrate implement a basic custom column example (to appear earlier). This is handy but quite complex! I'd like to build up to this with a hint that helps people who really just want a custom column and don't plan to grok the JSONPath part.
Maybe for Pods or Services, where custom views can be handy.
Would you be willing to change the PR accordingly @prasannagithub?

Hi , there is already a section dedicated to Formatted outputs here
Examples using -o=custom-columns:

# All images running in a cluster
kubectl get pods -A -o=custom-columns='DATA:spec.containers[*].image'

# All images running in namespace: default, grouped by Pod
kubectl get pods --namespace default --output=custom-columns="NAME:.metadata.name,IMAGE:.spec.containers[*].image"

 # All images excluding "registry.k8s.io/coredns:1.6.2"
kubectl get pods -A -o=custom-columns='DATA:spec.containers[?(@.image!="registry.k8s.io/coredns:1.6.2")].image'

# All fields under metadata regardless of name
kubectl get pods -A -o=custom-columns='DATA:metadata.*

This addition is in Viewing and Finding Resources section.
it kind of continues the previous example where we
# Check which nodes are ready
JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}' \
 && kubectl get nodes -o jsonpath="$JSONPATH" | grep "Ready=True"

Were you thinking in same way while adding this example @prasannagithub ?

hi @Ritikaa96  Yes, you are correct, It give us a human readable output.
Hi All, Please kindly approve this small change please. Thanks a lot

Hi All, Please kindly approve this small change please. Thanks a lot
@prasannagithub asking for approval is not recommend as per community guidelines
Let's wait for the maintainers to review this PR and provide the approvals .

@Ritikaa96 thanks a lot for all the help & guideline

@Ritikaa96 thanks a lot for all the help & guideline

That's no issue. Please just keep the guidelines in mind.


H3 documentation homepage improvements

Hero image
Three feature images

Zoom into H3 (non-animated)

Census collage

City map with red/blue (or some contrasting) color scheme (highlight some areas)

Add text for specific user roles
Add CTA button at the bottom

City map with red/blue (or some contrasting) color scheme (highlight some areas)

Maybe "bright red" / "dark blue" so the red is both the obviously highlighting color for some piece of data and because that should be distinguishable regardless of the kind of colorblindness that might affect perception (at the very least the color brightness can be the distinguishing factor)?


fix: generate valid code when using __VLS_PropsChildren

Is this not testable?

@rchl We can't test it (and we don't have to) because it doesn't break the functionality without this fix.

Why we can't test it? Is it because the type is any without this change and still doesn't fail?

@rchl Though it creates invalid code without this fix, it is functioning correctly - correct types and completions.


scrollRect problem in HTML5

If Sprite contains childrens and set scrollRect for Sprite, then scrollRect not work for childrens.

This should be fixed in the latest sources


ClassYear Controller Documentation

Document the following in /server/api/classyear/classyear.controller.js

index controller method
create controller method
getDisplayURP controller method
displayURP controller method
getClassYear controller method
update controller method
destroy controller method
daycode controller method
deleteDay controller method

Notes

Run npm run apidoc to generate the documentation
View the generated documentation by opening /docs/index.html
Generated documentation won't be committed to the repository - don't worry if you don't see a lot of changes in your working tree.

We'll be using APIDoc.js to auto-generate documentation from our source code. Please replicate the following example for each method in the controller
/**
* @api {get} /api/achievements Index
* @apiName index
* @apiGroup Achievements
* @apiDescription Get list of Achievements
* @apiPermission public
* @apiSuccess {Collection} root Collection of all active Observatory Achievements.
* @apiError (500) UnknownException Could not retrieve Achievement collection
*/
module.exports.index = function (req, res) { }

Note - this ticket will be assigned to Yang Zhentao (tomyang) when he joins the RCOS GitHub organization.