toggle saka not working

when i visit a webpage and i would like to toggle of saka, pressing l does not do the trick.
am i missing anything?
which information do you need me to post for you to be able to take a deeper look at the problem?

I can see why you're confused. (Saka)[http://saka.io/] is a separate search bar extension, not Saka Key. If you install Saka, that command will toggle the search bar. I really need to make this more clear. There's no hotkey for disabling Saka Key, but there really should be one. I've just been sidetracked lately.

wow, I WANT SAKA FOR FIREFOX! (i wish everyone who read will vote up for this)
vimfx binds i as a hotkey for disabling vimfx. that is, after hitting the i key, vimfx will not be triggered using any hotkey until it will be enabled back on when hitting the i again.
would be very much appreciate it if you could add such functionality to sara

Can confirm, toggle saka doesn't work with bot saka and saka key addons installed on firefox 56.
By the way, isn't "Pass All Keys to Page" basically a disable hotkey?

@rfxDarth, I should have mentioned that Saka for Firefox isn't really ready for use. The Pass All Keys to Page command is similar to disabling Saka Key temporarily for the current tab. A dedicated command would disable Saka Key on all tabs until reactivation.

I'm aware that Saka is in beta on FF but just in-case it helps, I can confirm that with saka and saka key installed in FF 57 Dev Edition, Saka toggle does not work. In fact Saka installed without Saka Key does not toggle either, not with any of the shortcuts.

Heads up! Install Saka for Firefox at https://addons.mozilla.org/en-US/firefox/addon/saka-key/.
It doesn't integrate with Saka Key yet (So the L shortcut won't work until the next release of Saka Key). I've also open-sourced Saka at https://github.com/lusakasa/saka.


[WIP] Add transform to remove requires that are no longer needed

Not sure if this can be merged yet, the tests dont seem to be working very well locally :(

Apparently I had notifications for my own repo off so I have never seen this before. wtf.

wait, @pieterv what are we doing with this one? Also missed this, twice -.-

@cpojer  oh yeah i forgot about this as well :P let me see if it still makes sense.

Covered an extra case where member expressions would stop a require being removed
Cleaned up errors
Added docs

\o/

Awesome! Thanks for fixing this up :D


[Chore] Update banner images

Add spratly islands and paracel islands

@ThangLeQuoc Please help review these small changes in PR as I think it's indeed a controversial issue.

Thank you very much for your PR and concern
The thing that hold me back from this PR is the outdated statistic count in the banner (which I haven't updated yet), and also the geographical map art style.
Regarding the politic, I hold my place as a Vietnamese and also support the claim of Hoàng Sa and Trường Sa belongs to Viet Nam, this fact is also reflected in the dataset as well.
However, to avoid any controversial discussion, it should be clearly agreed that the repository's banner map is for demonstration purpose and should not be understood as the legal claim of geographical map of Viet Nam.


how to change color of the gray statusbar

hey
I tried below code and put it inside the  @Override protected void onStart() method in the UnityPlayerActivity.java file with no success.
  if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {             getWindow().setStatusBarColor(Color.parseColor("#FAFAFA"));         }
Is there anyway so I can change the statusbar color even for sdk versions before lolipop?

You can try AppCompat library: https://chris.banes.me/2014/10/17/appcompat-v21/


Fix yaml linting errors in rpcd

This change cleans up the errors seen in the linting script. One line in
particular in playbooks/elasticsearch.yml looks like it was split to
maintain line length, but there isn't currently an Ansible yaml rule
for that, at least not one that is defined in ansible-lint's defaults.
Fixes #240
(cherry picked from commit 156002db2ca4fa06a9709b8789091fa72b38af90)

+1 backport

:+1:


feat(tx-builder): allow editing transaction in a batch

What it solves
Resolves #319
How this PR fixes it
It adds a new component, EditTransactionModal, and the corresponding handlers. It also includes some improvements like:

create a function that serializes form values to proposedTransaction type
add types for fields
better naming for fields (hexData -> customTransactionData, tokenValue -> nativeValue)
reset contract-related fields inside form if the user switched to custom hex data view and changed the data field

How to test it
Create and edit all kinds of transactions (transfers, custom, contract interactions)
Screenshots

Awesome Job!
😎 👍

Working like a charm. Mis dieses for you caballero ;)


lispPackages_new.coalton: init at 2022-10-17

Coalton is not included in Quicklisp and so for now we need to package it manually.
This works in light testing at the REPL.
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Amended to also include new Lisp package kons-9.

Thanks for the PR. Coalton has since been integrated here #319688 . I dont know why this PR has not gotten any attention earlier.


Flakey CI test: HTTPStatus.INTERNAL_SERVER_ERROR: 500

Error Information:
 >       assert response.status == HTTPStatus.OK
E       assert <HTTPStatus.INTERNAL_SERVER_ERROR: 500> == <HTTPStatus.OK: 200>
E        +  where <HTTPStatus.INTERNAL_SERVER_ERROR: 500> = <Response [500 Internal Server Error]>.status
E        +  and   <HTTPStatus.OK: 200> = HTTPStatus.OK

tests\test_server.py:650: AssertionError

Job run URL examples:
https://github.com/RasaHQ/rasa/runs/2456015076
https://github.com/RasaHQ/rasa/runs/2517988286
https://github.com/RasaHQ/rasa/runs/2517988260
https://github.com/RasaHQ/rasa/runs/2547484544
https://github.com/RasaHQ/rasa/runs/2554528209
Definition of Done:

[ ] apply fix so that tests run deterministic

Seems to be that this flakiness can be explained by this:
2021-05-10 16:18:51.401330: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
``
Sometimes the model that's getting trained ends up being empty on Windows, and the returned exception seems to be correct. However, this exeception is being returned by `should_retrain` when trying to get the fingerprint, and it should basically mean that the model needs to be re-trained. I updated the code here: https://github.com/RasaHQ/rasa/pull/8754


Fix compatibility with  centos 6.5 (rhel)

Hi, I have made some minor fixes to make the cooking finish successfully on centos 6.5. Tested.

These changes are included in the most recent version of the cookbook


No error handling for fs.statSync call

Errors returned from fs.statSync(...) cause dude-wheres-my-hd to fail hard. For example, I get the following error due to a broken symlink: Error: ENOENT: no such file or directory, stat './.byobu/.ssh-agent'. Would you rather silently ignore these errors, or log them and continue?

Ah, good catch! I'd say log them and continue would probably be the best.


Add CUDA cache cleaning flag to pytorch backend

Implemented a flag similar to memory_arena_shrinkage in ONNXRuntime backend. With ENABLE_CACHE_CLEANING set to true, CUDA cache gets cleared after each model execution. This will enable us to serve more models in one GPU.
I have tested on local GPU: with enable_cache_cleaning=false, the model takes additional 2Gi GRAM after running inference with batch size 30. After that, this 2Gi never gets shrunk. With enable_cache_cleaning=true, the additional GRAM gets shrunk every time after model execution.

why we not merge it? i have the same problem

This might have fell through the cracks. Thanks for bringing it up.

@tanmayv25 do you have a CLA version for individual contributor? This CLA is for corporation.

@zeruniverse  Just provide your name instance of company name in the form. We use the same form for company and individual.

@tanmayv25

[x] CLA sent to triton-cla at nvidia dot com

[x] addressed review comments

[ ] perf data (do we need it? I have no hardware to do a thorough perf test)

Thanks @zeruniverse! I will add some sanity testing for this on our CI and merge the changes.


sideview with demodata crashes

2021-03-05 08:04:14,310 (utils.config_loader:132): Config File used: '/home/user/.config/mss/mss_settings.json'
2021-03-05 08:04:14,310 (utils.config_loader:133): Key not defined in config_file! 'proxies'
2021-03-05 08:04:14,312 (connectionpool._new_conn:227): Starting new HTTP connection (1): localhost:8081
2021-03-05 08:04:14,504 (connectionpool._make_request:452): http://localhost:8081 "GET /?version=1.1.1&request=GetMap&layers=ecmwf_EUR_LL015.VS_CC01&styles=&width=849&height=273&srs=VERT%3ALOGP&format=image%2Fpng&transparent=FALSE&bgcolor=0xFFFFFF&exceptions=application%2Fvnd.ogc.se_xml&bbox=201%2C1050.0%2C10%2C180.0&path=21.15%2C79.08%2C28.57%2C77.10&time=2012-10-17T12%3A00%3A00Z&dim_init_time=2012-10-17T12%3A00%3A00Z HTTP/1.1" 200 429
2021-03-05 08:04:14,505 (wms_control.process_map:292): MapPrefetcher Exception <class 'owslib.util.ServiceException'> - The data corresponding to your request is not available. Please check the times and/or path you have specified.

Error message: cannot convert float NaN to integer.
2021-03-05 08:04:14,508 (wms_control.display_exception:618): ERROR: <class 'owslib.util.ServiceException'> The data corresponding to your request is not available. Please check the times and/or path you have specified.

Error message: cannot convert float NaN to integer
2021-03-05 08:04:14,508 (wms_control.display_exception:619): NoneType: None

As far as I know this is because there is no data within the margins.
If the waypoints are changed to where there is data for the layer, the error disappears.
Non the less this is unwanted behaviour.

I remember, yes that's it. we should add a hint that this is the reason.

The message is understandable if readed. Because of the dense text I usually see first
"Error Message: cannot ..."
For such problems usually a HINT message is useful.
"Error Message: cannot ..."
"Hint: Check used waypoints"

Does this change should be done in owslib module


Improve results with a different dataset (fine_tune)

I trained the model (deeplab_resnet_init) with PASCAL VOC and only changed the number of classes to 2 (binary segmentation). Tested on my own dataset ang got mIoU = 0.69. How can I improve the results?
I am thinking to run fine_tune.py with a different dataset but keep the number of classes (2). Is necessary to change something in the code?

refer to https://github.com/DrSleep/tensorflow-deeplab-resnet#using-your-dataset


Builtin "now" should not be an Aggregate

now should be Pure rather than Aggregate in non-bigdata mode. In bigdata mode, it should still be Aggregate to make sure folds don't mention it.

actually, even in bigdata mode it can be Pure - because bigdata requires them all to be under windows or latests.
I would still like an option for it (just add it to CheckOptions or whatever) but it doesn't have to be exposed in the repl or anything yet.


Broker suddenly crashes

Hi :smile:, one of my test cluster suddenly crashes, there is no error at emqttd_crash.log.0.
but i got this error report from erlang.log.1
===== ALIVE Thu Nov 26 16:55:52 UTC 2015

===== ALIVE Thu Nov 26 17:10:52 UTC 2015

===== Thu Nov 26 17:22:46 UTC 2015

=ERROR REPORT==== 26-Nov-2015::17:22:46 ===
** Generic server <0.27524.3> terminating
** Last message in was {inet_async,
                           {ssl_socket,#Port<0.10793>,
                               {sslsocket,
                                   {gen_tcp,#Port<0.10793>,tls_connection,
                                       undefined},
                                   <0.27525.3>}},
                           #Ref<0.0.262145.36592>,
                           {ok,<<16,60,0,4,77,81,84,84,4,194,0,60,0,19,112,
                                 97,104,111,53,52,52,51,51,51,51,49,53,51,56,
                                 50,54,53,53,0,5,97,100,109,105,110,0,20,122,
                                 68,55,90,103,48,72,115,110,103,118,109,77,
                                 52,117,110,110,80,115,122>>}}
** When Server state == {client_state,
                         {esockd_connection,
                          [{ssl_socket,#Port<0.10793>,
                            {sslsocket,
                             {gen_tcp,#Port<0.10793>,tls_connection,undefined},
                             <0.27525.3>}},
                           #Fun<esockd_transport.3.94509882>,[]]},
                         ["<IP_ADDRESS>",58,"62644"],
                         {{172,20,1,10},62644},
                         {172,20,1,10},
                         62644,true,running,undefined,
                         #Fun<emqttd_parser.0.87977572>,
                         {proto_state,
                          {{172,20,1,10},62644},
                          #Fun<emqttd_client.0.72440146>,false,undefined,
                          <0.27524.3>,undefined,undefined,undefined,undefined,
                          undefined,undefined,1024,undefined,undefined,
                          undefined},
                         [{max_clientid_len,1024},{max_packet_size,65536}],
                         undefined}
** Reason for termination ==
** {badarg,[{ets,update_counter,[mqtt_metric,{'bytes/received',1},{2,62}],[]},
            {emqttd_metrics,inc,3,
                            [{file,"src/emqttd_metrics.erl"},{line,248}]},
            {emqttd_client,handle_info,2,
                           [{file,"src/emqttd_client.erl"},{line,181}]},
            {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},
            {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},
            {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}

=ERROR REPORT==== 26-Nov-2015::17:22:46 ===
** Generic server <0.27528.3> terminating
** Last message in was {inet_async,
                           {ssl_socket,#Port<0.10794>,
                               {sslsocket,
                                   {gen_tcp,#Port<0.10794>,tls_connection,
                                       undefined},
                                   <0.27529.3>}},
                           #Ref<0.0.262145.36608>,
                           {ok,<<16,62,0,6,77,81,73,115,100,112,3,194,0,60,0,
                                 19,112,97,104,111,53,52,52,51,51,51,51,49,
                                 53,51,56,50,54,53,53,0,5,97,100,109,105,110,
                                 0,20,122,68,55,90,103,48,72,115,110,103,118,
                                 109,77,52,117,110,110,80,115,122>>}}
** When Server state == {client_state,
                         {esockd_connection,
                          [{ssl_socket,#Port<0.10794>,
                            {sslsocket,
                             {gen_tcp,#Port<0.10794>,tls_connection,undefined},
                             <0.27529.3>}},
                           #Fun<esockd_transport.3.94509882>,[]]},
                         ["<IP_ADDRESS>",58,"62645"],
                         {{172,20,1,10},62645},
                         {172,20,1,10},
                         62645,true,running,undefined,
                         #Fun<emqttd_parser.0.87977572>,
                         {proto_state,
                          {{172,20,1,10},62645},
                          #Fun<emqttd_client.0.72440146>,false,undefined,
                          <0.27528.3>,undefined,undefined,undefined,undefined,
                          undefined,undefined,1024,undefined,undefined,
                          undefined},
                         [{max_clientid_len,1024},{max_packet_size,65536}],
                         undefined}
** Reason for termination ==
** {badarg,[{ets,update_counter,[mqtt_metric,{'bytes/received',1},{2,64}],[]},
            {emqttd_metrics,inc,3,
                            [{file,"src/emqttd_metrics.erl"},{line,248}]},
            {emqttd_client,handle_info,2,
                           [{file,"src/emqttd_client.erl"},{line,181}]},
            {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},
            {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},
            {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}

=ERROR REPORT==== 26-Nov-2015::17:22:51 ===
** Generic server <0.4865.0> terminating
** Last message in was {inet_async,
                           {ssl_socket,#Port<0.6368>,
                               {sslsocket,
                                   {gen_tcp,#Port<0.6368>,tls_connection,
                                       undefined},
                                   <0.4866.0>}},
                           #Ref<0.0.262145.36562>,
                           {ok,<<192,0>>}}
** When Server state == {client_state,
                         {esockd_connection,
                          [{ssl_socket,#Port<0.6368>,
                            {sslsocket,
                             {gen_tcp,#Port<0.6368>,tls_connection,undefined},
                             <0.4866.0>}},
                           #Fun<esockd_transport.3.94509882>,[]]},
                         ["<IP_ADDRESS>",58,"53776"],
                         {{172,20,4,201},53776},
                         {172,20,4,201},
                         53776,true,running,undefined,
                         #Fun<emqttd_parser.0.87977572>,
                         {proto_state,
                          {{172,20,4,201},53776},
                          #Fun<emqttd_client.0.72440146>,true,
                          <<"guren">>,<0.4865.0>,false,4,<<"MQTT">>,
                          <<"guren">>,undefined,10,1024,<17399.442.0>,
                          undefined,
                          {1448,295953,387539}},
                         [{max_clientid_len,1024},{max_packet_size,65536}],
                         {keepalive,#Fun<emqttd_client.17.72440146>,844549,
                          12,
                          {keepalive,check},
                          #Ref<0.0.262145.36617>,0}}
** Reason for termination ==
** {badarg,[{ets,lookup,[mqtt_broker,{hook,'client.disconnected'}],[]},
            {emqttd_broker,foreach_hooks,2,
                           [{file,"src/emqttd_broker.erl"},{line,172}]},
            {emqttd_protocol,shutdown,2,
                             [{file,"src/emqttd_protocol.erl"},{line,293}]},
            {gen_server,try_terminate,3,[{file,"gen_server.erl"},{line,643}]},
            {gen_server,terminate,7,[{file,"gen_server.erl"},{line,809}]},
            {proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,250}]}]}

=ERROR REPORT==== 26-Nov-2015::17:22:51 ===
    application_master: shutdown_error
    emqttd_plugin_pgsql_app: {prep_stop,[[]]}
    error_info: {noproc,
                    {gen_server,call,
                        [emqttd_access_control,
                         {unregister_mod,auth,emqttd_auth_pgsql}]}}
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

hi @sakayoga, please attach the log/emqttd_sasl.log, log/emqttd_error.log files. The 'crasher' above is not the root cause.

hi @erylee,
this is the current log directory, all emqtt_error.log is empty except for emqttd_error.log.2
[venus@broker log]$ ls -l
total 108
-rw-rw-r-- 1 venus venus     0 Nov 26 22:31 emqttd_crash.log.0
-rw-rw-r-- 1 venus venus     0 Nov 23 16:52 emqttd_crash.log.3
-rw-rw-r-- 1 venus venus     0 Nov 26 22:31 emqttd_error.log.0
-rw-rw-r-- 1 venus venus   187 Nov 24 14:39 emqttd_error.log.2
-rw-rw-r-- 1 venus venus     0 Nov 23 16:52 emqttd_error.log.3
-rw-rw-r-- 1 venus venus 56350 Nov 27 06:45 emqttd_sasl.log
-rw-rw-r-- 1 venus venus 44274 Nov 27 20:01 erlang.log.1
-rw-rw-r-- 1 venus venus   263 Nov 26 22:31 run_erl.log
[venus@broker log]$ cat emqttd_error.log.2
14:37:53.923 <0.8850.1> [error] HTTP Auth failure: username=athena, reason="Username Not Found"
14:39:57.629 <0.8858.1> [error] HTTP Auth failure: username=zeus, reason="Password Error"

for the emqttd_sasl.log i forgot to backup it after crash. The content is overriden by emqttd when i start the emqttd again.

@sakayoga, which release you are running on EC2?  And please check your 'etc/vm.args', crasher is usually caused by there are not enough processes or ports.
## max process numbers
+P 8192

## Sets the maximum number of simultaneously existing ports for this system
+Q 8192

## max atom number
## +t

## Set the distribution buffer busy limit (dist_buf_busy_limit) in kilobytes.
## Valid range is 1-2097151. Default is 1024.
## +zdbbl 8192

##-------------------------------------------------------------------------
## Env
##-------------------------------------------------------------------------

## Increase number of concurrent ports/sockets, deprecated in R17
-env ERL_MAX_PORTS 8192

-env ERTS_MAX_PORTS 8192

hi @erylee, i use 0.13.0 release. i already change the vm.args config when it crash.

hi @sakayoga, First, please backup all the logs if the broker crashed. Second, the "+Q 8192" should be lager than max allowed clients, and the "+P 8192" should be larger than max allowed clients * 2:)

hi @sakayoga, could we close this issue now?

hi @erylee sory for not update the status to you.
because i lost the log to check, Yes we can close this issues. i will report to you with more detail, if it happens again.
Thank you again, you're the best :+1:

Hi @erylee, sory for not update the status to you.
Yes we can close this issue, I will let you know if it happen again. with more detail log :D
thanks again, you are the best :+1:


Retry full on errors

Here's a suggestion for how to deal with the error reporting.
We should:

Always retry on errors ( this was supposed to already have been in place, so not getting it out the first time around was a mistake )
When individual documents in a bulk op fails we should log the error, not raise an exception. The update is still seen as successful.

Not sure if we want to be stricter on the individual docs failing?

Ah one more question: do we have a way of returning a non-zero exit code from the yente reindex thing if there was an error? That way we can trigger alerts in the infrastructure more easily...

In the end any errors on a dataset will now log an error and then re-index from full.
Does not return the number of updated entities as we no longer need that for the serviceapi


Outdated Broker Certificate

The keystore ( broker-core/src/main/resources/isstbroker-keystore.jks) contains an outdated broker certificate:
Certificate Information:
Common Name: 49fa9815-9555-4038-8a9a-4e36de37bf45
Subject Alternative Names: broker.ids.isst.fraunhofer.de
Organization: Fraunhofer
Organization Unit: ISST
Country: DE
Valid From: November 28, 2018
Valid To: November 27, 2020
Issuer: IDS Test SubCA 2018, Fraunhofer
Serial Number: 34 (0x22)

@bastianleirpo  The certificate has been updated on all our instances. Could you please provide me with the instance of broker you are using?

As I remember I downloaded the repo and tried to run it locally. it was the main repository with the aboves mentioned path to the keystore. If that is not the case I need to check my EDI

@bastianleirpo once there is an updated version to the open-source broker, I would request you to pull the code and rerun it. Also which server instance are you using as of now? just to make sure if the new jks are already available on the instance you are using.

@SebastianOpriel The jks available at the following path expires in February 2023.  Hence I will be closing this issue. Please find the image for reference.

Dear @NehaThawani44 I checked the jks again as it was updated by @sebbader 15 days ago, who put the new certificate into the jks (see https://github.com/International-Data-Spaces-Association/metadata-broker-open-core/commits/master/broker-core/src/main/resources/isstbroker-keystore.jks). So no outdated certificates anymore. Thanks!


Verify schema on Data Discovery Engine

use the Data Discovery Engine @marcocano et al. built to visualize and register the schema; make sure it all makes sense and allow others to extend off our schema. You can test this out at https://discovery.biothings.io/schema-playground and entering “https://raw.githubusercontent.com/SuLab/niaid-data-portal/master/schema/NIAIDDataset.json”

Note that we already have the name space registered for the schema.  Once this schema is working with the data discovery engine, it should either be appended/merged or replace the outbreak.json file.


Caddyfile format support

Hi,
Thanks for this nice module.
I know that json is becoming a defacto standard, but i'm currently using folder configuration inclusion... lije a sites-enabled nginx functionality... and trying to do the same with "streams" content... (syslog / smtp /...)
And compiling /validating multiple json files is far more complicated than doing a folder include... so do you plan to support Caddyfile?

Duplicate of https://github.com/mholt/caddy-l4/issues/16


left sidebar: Gridded rows for on “more”/”back to” controls

Possibly concurrently with the gridded heading rows (#27559), establish a uniform gridded layout for the “more conversations,” “more topics,” "back to streams,” etc. controls. This should probably also include the “Browse XXX more streams” row at the bottom of the left sidebar. While working on these, place the typographic styles called for in Vlad’s design.

SHARP EDGES: With different contexts for each of these rows, it’s possible that outer container margin and padding might have to be addressed and accounted for in the row definitions.

Please assign this to me.

Closing this as completed across #29941, #30127, and #30632.


Validate file name before downloading

Some URLs result in an invalid file name. These should be caught and handled before attempting to download the file

@Trenly I think you open #83 so that people who testing v2.0 could inform about the bugs.


Weird issue polling bulbs.

used debugger to grab api key, but now, any time it polls for bulbs I get this error. Rooms and Scenes don't seem to produce an error either. All the rooms when triggered use group0 and turn off all the lights (or turn them on.

Are you using the original or the 1.1 proc module? Does the proc module report Online after the init sequence? does the API key string output on the module show your API key? Possible I’ve introduced a timing issue where a null somehow is being injected into the bulb request but haven’t seen that on my system unless its due to the number of bulbs. I usually put about 10 sec or more after the program has settled then trigger the init on the proc module.
Feel free to provide me the JSON response from the bulb query using their API testing utility on the bridge:
http:///debug/clip.html
/api//lights
username is your APIKey

On May 20, 2017, at 8:42 PM, innocuoussoul<EMAIL_ADDRESS>wrote:
https://cloud.githubusercontent.com/assets/7485783/26281000/c7730f5c-3d9c-11e7-95de-c437af1a33bc.png
used debugger to grab api key, but now, any time it polls for bulbs I get this error. Rooms and Scenes don't seem to produce an error either.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AEluUqpeLWEdUknNS5aClg7edSlS_Pktks5r77KwgaJpZM4Nhe9G.

Using 1.1, had to pull from the archive because your uploaded smw is invalid/corrupted
API Key was successfully gathered and stored according to crestron toolbox.
Using SIMPL Debugger and running hue_refresh is when it fails.
bulbs files with the error above, and then Rooms/Scenes stay empty.
I have a lot of bulbs, so here's the first two.
{
"4": {
"state": {
"on": true,
"bri": 254,
"hue": 15335,
"sat": 121,
"effect": "none",
"xy": [
0.4448,
0.4066
],
"ct": 343,
"alert": "none",
"colormode": "xy",
"reachable": true
},
"type": "Extended color light",
"name": "Kitchen 1",
"modelid": "LCT007",
"manufacturername": "Philips",
"uniqueid": "xxxxxxxx",
"swversion": "<IP_ADDRESS>85"
},
"7": {
"state": {
"on": true,
"bri": 254,
"alert": "none",
"reachable": true
},
"type": "Dimmable light",
"name": "Kitchen 4",
"modelid": "LWB006",
"manufacturername": "Philips",
"uniqueid": "xxxxxxxx",
"swversion": "<IP_ADDRESS>36"
},

what is “a lot of bulbs” I only have 6 so its possible its due to the number of bulbs however the largest deployment I’ve done with the original modules was 29 total bulbs. The new 1.1 doesn’t change how the bulb request happens but I did adjust some timing of when the calls occur.
You don’t need to do anything with hue_refresh to get it working that's just a secondary polling routine if bulbs/rooms/scenes change after the init process is complete. So your saying its failing during the init. What kind of delay do you have after program start before you trigger init?
I have the JSON from the site with the 29 bulbs so can run it through the new modules to see if it fails other then that there may be something else at play as it works on my end. Like I said before if you provide the entire complete JSON bulb data I can run it through on my end to see if something is unique with your particular bulbs. I have a mix of 2nd and 3rd gen some color some white only so it should be flexible enough to trap everything.

On May 23, 2017, at 10:33 AM, innocuoussoul<EMAIL_ADDRESS>wrote:
Using 1.1, had to pull from the archive because your uploaded smw is invalid/corrupted
API Key was successfully gathered and stored according to crestron toolbox.
Using SIMPL Debugger and running hue_refresh is when it fails.
bulbs files with the error above, and then Rooms/Scenes stay empty.
I have a lot of bulbs, so here's the first two.
{
"4": {
"state": {
"on": true,
"bri": 254,
"hue": 15335,
"sat": 121,
"effect": "none",
"xy": [
0.4448,
0.4066
],
"ct": 343,
"alert": "none",
"colormode": "xy",
"reachable": true
},
"type": "Extended color light",
"name": "Kitchen 1",
"modelid": "LCT007",
"manufacturername": "Philips",
"uniqueid": "xxxxxxxx",
"swversion": "<IP_ADDRESS>85"
},
"7": {
"state": {
"on": true,
"bri": 254,
"alert": "none",
"reachable": true
},
"type": "Dimmable light",
"name": "Kitchen 4",
"modelid": "LWB006",
"manufacturername": "Philips",
"uniqueid": "xxxxxxxx",
"swversion": "<IP_ADDRESS>36"
},
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/2#issuecomment-303475417, or mute the thread https://github.com/notifications/unsubscribe-auth/AEluUou7NYg_QfzHRjHvBVqa9369SUz2ks5r8xhtgaJpZM4Nhe9G.

bulbs.txt

Thanks for the bulbs.txt file that helped. I believe I see whats going on. Its related to the bulb ID, not so  much the misordering of them but the fact that you have omissions in the sequential list. I think this occurs when bulbs have been added/removed then added again to a bridge. I will need to restructure my query logic to compensate.

On May 23, 2017, at 11:05 AM, innocuoussoul<EMAIL_ADDRESS>wrote:
bulbs.txt https://github.com/mthyden/PhillipsHueSIMPLSharp/files/1023202/bulbs.txt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/2#issuecomment-303484189, or mute the thread https://github.com/notifications/unsubscribe-auth/AEluUhykPNByrehU57oVQvGsiSvefIySks5r8x_dgaJpZM4Nhe9G.

I’ve pushed an update that should resolve the issues you were seeing. I modified the bulb/room/scenes query to be more flexible and forgiving. All you should need to do is replace your old CLZ with the new one. then recompile all.

On May 23, 2017, at 11:05 AM, innocuoussoul<EMAIL_ADDRESS>wrote:
bulbs.txt https://github.com/mthyden/PhillipsHueSIMPLSharp/files/1023202/bulbs.txt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/2#issuecomment-303484189, or mute the thread https://github.com/notifications/unsubscribe-auth/AEluUhykPNByrehU57oVQvGsiSvefIySks5r8x_dgaJpZM4Nhe9G.

The first exception is benign, I’ve seen it throw right after a program load in the init process but doesn’t affect the runtime. If you manually pulse the init after the program settles you most likely won’t see it which makes me think its a timing thing which I’m looking into. Regardless. The second one I don’t know as you haven’t provided any details except for a debug output. My suggestion would be to manually trigger the init on the main proc module first see the result, also crack open the Proc UMC and massage the stepper init in there which governs when the bridge is grabbed, registration and getting bulbs, groups, scenes.

On May 26, 2017, at 12:53 AM, innocuoussoul<EMAIL_ADDRESS>wrote:
https://cloud.githubusercontent.com/assets/7485783/26485916/ba6ced22-41ad-11e7-8a02-6942858435a9.PNG
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mthyden/PhillipsHueSIMPLSharp/issues/2#issuecomment-304216999, or mute the thread https://github.com/notifications/unsubscribe-auth/AEluUv4vZ1UcqPNbtjPyds5_-D-SmUaiks5r9oT6gaJpZM4Nhe9G.

curious if your still running into problems, the new polling routines should work for you at this point


fix: next-auth doesn't install when using node 18

✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog

If the user is on node 18 and chooses to install during cli, --ignore-engines true (yarn) or --engines-strict false (npm or pnpm) is used
If next-auth is selected, .npmrc and .yarnrc files with the same flags are created, regardless of what node version the user is currently on
FIXME's linking to the next-auth issue so that we can hopefully get rid of this again ASAP. I'm also subscribed to the issue.
Tested with current versions of npm, yarn classic, and pnpm

I don't love doing this and could also see the argument for just leaving next-auth not working on node 18 until they release a fix, but personally I'm leaning towards this (not great) solution for the time being.
I'd also appreciate a Windows user confirming that this works before we merge.
💯

I don't love doing this and could also see the argument for just leaving next-auth not working on node 18 until they release a fix, but personally I'm leaning towards this (not great) solution for the time being.

Since Node 18 will be LTS soon, I think we should definitely support it. Just a shame you have to workarounds to get certain libraries to follow along :(


disable cassandra vm swap

currently managed by helper
waiting correction on bosh https://github.com/cloudfoundry/bosh/issues/1758

Done.
Added a custom disable_linux_swap property, defaulting to true, and an ops file that set this to false in Bosh-Lite.


Correct bug for MixUp initialization.

I corrected an issue where the data_format argument was not passed to the super().init() method.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.34%. Comparing base (9294db1) to head (6249f53).
Report is 5 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (9294db1) and HEAD (6249f53). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (9294db1)
HEAD (6249f53)

keras
4
1

keras-tensorflow
1
0

keras-torch
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20630       +/-   ##
===========================================
- Coverage   82.38%   60.34%   -22.05%
===========================================
  Files         517      517
  Lines       48520    48517        -3
  Branches     7570     7570
===========================================
- Hits        39974    29276    -10698
- Misses       6728    17468    +10740
+ Partials     1818     1773       -45

Flag
Coverage Δ

keras
60.34% <100.00%> (-21.89%)
:arrow_down:

keras-jax
?

keras-numpy
60.34% <100.00%> (+<0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Android Basics: Load and display images from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-internet-images
In which task and step of the codelab can this issue be found?
Task 3 - Step 7
Describe the problem
In step 7 the screenshot shown should show a status message like "First Mars image URL: HTTP://mars.jps..." but the screenshot shown in the code lab shows a status message like "Failure: Unable to resolve host..."
Steps to reproduce?

Go to... the code lab and complete all the steps up to task 3, step 7 (including the previous code lab)
Click on... start the application as requested in step 7
See error... the application works and displays the intended URL of the mars image, but the screenshot in the codelab shows a failure

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.
Code Lab Image:

Actual Output:

@divercraig
Thank you for reaching out to us. It's already handled:


Does GoogleLogin component use Google Identity Services SDK?

Hi,
Does GoogleLogin component use Google Identity Services SDK? I was looking at the source code and it does not look like it does compared to the setup for the useGoogleLogin hook but I am pretty new to this google auth setup so wasnt sure if I was missing something.
I am looking to migrate to Google Identity Services SDK but running into some issue getting it to integrate into my FusionAuth setup.
Thanks,
Dylan

Hello @dylanlarrivee
Yes it does, you can look for useLoadGsiScript it loads the gsi google script in the head

Ok perfect. I realize I had my google scripts mixed up for what I was comparing to.
Is it possible to customize the button with the GoogleLogin component? I see you can withe the useGoogleLogin hook but that returns either an access_token or authorization code without setting a redirect_uri for popup ux which is needed for the fusionauth integration I have. The  GoogleLogin component seems to return a token in the format I need.

Google provide some style props, like size, theme, text and shape
We don't have full control, but these can make the job done, please refer to Google Login props table in README
or for full control you can use the custom hook with authorization code flow then exchange the code with your backend which will return you JWT similar from GoogleLogin component

Sounds good and thank you for the quick response.


Refactor server to its own package in utils/server #261

Resolves #261

Additional minor changes

Adds empty slice declaration via literals
Refactors shadows vars
Fixes typos

Hey. Seems like youve done a lot of refactoring which is getting too difficult for me to check. A lot of the type name comments and error messages have been made lowercase, etc. I'll have to reject this change.

@YourTechBud oh understandable, I could have refactored them back.


Add support for a Location Tag Map domain

part of #44
This depends on https://github.com/mekomsolutions/openmrs-module-initializer/pull/70. This PR is pointed at that branch, loc-tags, just to get the nice diff. Once that PR is in, this branch should be rebased and pointed to master.

This is a PR against your own fork @brandones ?

@mogoodrich

This depends on mekomsolutions#70. This PR is pointed at that branch, loc-tags, just to get the nice diff. Once that PR is in, this branch should be rebased and pointed to master.


🐛 [firebase_messaging] plugins not working on onBackgroundMessage

Bug report
flutter plugins are not working on onBackgroundMessage
Sample project
GIT REPO
Additional context
I'm using assets_audio_player to play a sound when a fcm notification received
onBackgroundMessage handler is
Future myBackgroundMessageHandler(RemoteMessage message) async {
  await Firebase.initializeApp();
  final assetsAudioPlayer = AssetsAudioPlayer();

  assetsAudioPlayer.open(
    Audio.network(
        "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-2.mp3"),
  );

  print("sound played");
  return true;
}

but not working when the app is the background
it gives the error given below
I/flutter (13448): MissingPluginException(No implementation found for method stop on channel assets_audio_player)
I/flutter (13448): MissingPluginException(No implementation found for method open on channel assets_audio_player)
E/flutter (13448): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method open on channel assets_audio_player)
E/flutter (13448):

Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.4 21F79 darwin-arm, locale
    en-BD)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
[✓] Chrome - develop for the web
[✓] Android Studio
[✓] VS Code (version 1.68.0)
[✓] Connected device (3 available)
    ! Error: S A’s iPhone is not connected. Xcode will continue when S A’s
      iPhone is connected. (code -13)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Click To Expand
Dart SDK 2.17.0
Flutter SDK 3.0.0
bg_dart_code_fcm 1.0.0+1

dependencies:
- assets_audio_player 3.0.4+3 [flutter rxdart uuid http path_provider assets_audio_player_web]
- cupertino_icons 1.0.5
- firebase_core 1.17.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 11.4.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_local_notifications 9.6.0 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- args 2.3.1
- assets_audio_player_web 3.0.4+3 [flutter flutter_web_plugins]
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.16.0
- crypto 3.0.2 [typed_data]
- dbus 0.7.5 [args ffi meta xml]
- fake_async 1.3.0 [clock collection]
- ffi 2.0.0
- file 6.1.2 [meta path]
- firebase_core_platform_interface 4.4.0 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 3.5.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.4.1 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- flutter_local_notifications_linux 0.5.0+1 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories]
- flutter_local_notifications_platform_interface 5.0.0 [flutter plugin_platform_interface]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- http 0.13.4 [async http_parser meta path]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- js 0.6.4
- lints 2.0.0
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- path 1.8.1
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.14 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.9 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.0 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- process 4.2.4 [file path platform]
- rxdart 0.27.4
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.8.0 [path]
- typed_data 1.3.1 [collection]
- uuid 3.0.6 [crypto]
- vector_math 2.1.2
- win32 2.7.0 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 6.1.0 [collection meta petitparser]

Hi @imSaharukh, The error seems to point to an issue in a third party plugin assets_audio_player, I would suggest filing the issue in the dedicated repo https://github.com/florent37/Flutter-AssetsAudioPlayer

[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method open on channel assets_audio_player)

I don't think it's the fault of assets_audio_player, because I get the same error trying to call platform-specific code directly from my onBackgroundMessage handler. I set up the MethodChannel in my own code, not in a plugin, and the message handler doesn't refer to any plugins. The platform-specific code is currently very simple; it doesn't try to call back to any Dart. So there must be a bug in MethodChannel or FCM background handlers that's producing a misleading error message.
I noticed that the Kotlin/Java import is this:
import io.flutter.plugin.common.MethodChannel

implying some part of the framework thinks MethodChannel is in a plugin. However, it either isn't a plugin, or it's built-in (there is a "methodchannel" plugin in pub, but it seems to just be someone's starter project). Maybe this has something to do with the error?

Can someone reopen this bug or do I need to file a new one?

Can someone reopen this bug or do I need to file a new one?

@maheshmnj, please reopen the issue


✨ QIR support on Native Gates Level

What's the problem this feature will solve?
MQT Bench currently doesn't support generating adapted QIR with circuits transpiled to an arbitrary native gate set.
Describe the solution you'd like
MQT Bench could support QIR for transpiled circuits to an arbitrary native gate set. This would allow us, for example, to better train ML models for scheduling and pass selection within the MQSS.

Thanks for creating this issue.
This should work nicely together with #437
Note that we will need to investigate how we can formulate all of the different gates supported by devices in terms of QIR's __quantum__qis__ functions.
As far as I am aware, there is no "standard library" for QIR quantum gates and everyone literally defines their own set of functions.
I am not quite sure how libraries for translating between qiskit and QIR handle this in general. Should be solvable though.


Coverlet hangs when using System.Net.HttpStatusCode as a default parameter.

When running dotnet test from the command line with a project that uses System.Net.HttpStatusCode as a default parameter, the test hangs using one full CPU core.
I've traced this issue to Mono.Cecil, and when I update to 0.10.1, the issue goes away.
I'll attach an example that shows the problem.

Project that uses NUnit with coverlet that contains the error:
AssemblyToTest.zip

Latest release includes #252


On Windows, Space is incorrectly given 1970 start time

I'm pretty sure I've seen this issue in the past, but I've only now come up with a formula for reproducing it with some reliability. This repro was in GA Brim tagged v0.11.0 talking to zqd tagged v0.15.0. I've only been able to reproduce it on Windows. However, because it doesn't repro 100% of the time, it makes me uncertain if it's Windows-specific in a code-centric way or if it's just down to timing, i.e. somehow a side-effect of things running a bit slower on Windows.
I've found I can reliably reproduce this with the (uncompressed) pcap at https://archive.wrccdc.org/pcaps/2018/wrccdc.2018-03-23.010014000000000.pcap.gz. The trick seems to be dragging the pcap into the first tab, then quickly dragging another pcap into one or more other tabs before bouncing back to the first tab. I've previously repro'ed it by dragging the wrccdc pcap into the first tab and a different pcap into a second tab, but since it repros with the same wrccdc pcap used over & over, I've stuck with that here for simplicity.
As you can see in the attached video, what happens is that the start time for the created Space incorrectly shows a start time of 1970. We've seen this happen when time-free Zeek events have been generated that get assigned a timestamp of ts=0, but that's not what's going on here, evidenced by the fact that:

If you let the pcap load on its own in a single tab without disturbing it (not shown in the video, but you can do this on your own), you never get any such events.

Even with the 1970 start times shown on all four tabs as in the video, once they were all done loading, I re-dragged one of their all.zng files into yet another tab and the Start time in the picker did not show 1970, indicating no such ts=0 events were found.

In the video I show an error that seems to pop up in Dev Tools. I also show in the video that the info.json created by zqd shows a min_time of 0, so this seems to absolve the Brim app from any wrongdoing.
Once again, I'll caution that this is not reproducible 100% of the time, so don't be surprised if you get it wrong on the first try. Since it took me a while to come up with this recipe and I respect that others may struggle to get it right, I'm game to do more repros to help with debug if people tell me what they need done.
Repro.mp4.zip

This can happen in CI conditions too, e.g., https://github.com/brimsec/brim/runs/777954531 . It manifests itself with the histogram test failing because it's not rendered properly. Screen shot shows a histogram starting in 1970.
I unpacked the artifacts and found the Brim directory and space directory for the offending space (the histogram test). You can put its contents into the brim.git/run directory and run npm run electron to see the problem. Also,
$ jq . run/data/spaces/sp_1dPrjZaiZdAaduXZauBV5rKBoyn/info.json
{
  "min_time": {
    "sec": 0,
    "ns": 0
  },
  "max_time": {
    "sec":<PHONE_NUMBER>,
    "ns": 838527001
  }
}

906.zip if you want it.

Thanks @mikesbrown... that's surely good info to know. As long as we're piling on evidence, I'll share something else CI-related I mentioned to @mattnibs and @alfred-landrum offline. At one point when I trying lots of variations to see how reliably I could reproduce the "1970" symptom, I managed to trigger an "Access is Denied" message similar to the one described in https://github.com/brimsec/zq/issues/613. It only happened that one time, and maybe it was a coincidence and has a separate root cause. Or... maybe we're lucky & they have the same root cause. I know @alfred-landrum has been unable to repro https://github.com/brimsec/zq/issues/613 when he's added extra logging in branches. So maybe we'll fix this issue and find the other will go away as well. 🤞

Now that #613 has a fix, I created a current Windows artifact to see if this issue was chased away, but alas, it's still with us. A note-to-self or others who may try to repro in the future: It seems like deleting the appState.json each time I close & re-launch Brim (i.e. simulating a user coming to the app "fresh" for the very first time) is helpful in getting a more reliable repro.

Happened here https://github.com/brimsec/brim/runs/804911944?check_suite_focus=true

The root cause here is:

when a pcap is ingested, we first set the time range for the space using pcap index data, before we actually ingest any records
when we begin feeding the pcap data to zeek, there can be a brief moment where there are zeek log files (dns.log, etc) present, but empty
when we read the empty files, we then tried to update the space time range by joining it with the existing time (from the pcap) with a zero time (because no records were read)

Verified on Brim commit 26332a9 talking to zqd commit d04c83e.
With this class of bug that has an unreliable repro, it's always a little tough to know for sure that we've chased it away. However, the approach of deleting appState.json before each launch as I described in my last comment seemed to give a reliable repro, so here with a newly-created Windows artifact I did five repro attempts in a row using that approach and never saw the symptom again. So between that and having faith in the analysis that led to the fix, I think we're good. 😄
Thanks @alfred-landrum!


Support OAuth2

Does armeria has any plan to support oauth2?

Hi @iamazy!

Does armeria has any plan to support oauth2?

Why not? We want to implement the features useful to our users and there just wasn't a request for OAuth 2 support yet. Now we have one. :wink:
We might not have enough time for implement OAuth 2 by ourselves this year, but we're happy to accept any pull requests, if you are interested.

I'll work on it

@iamazy Just in case, is it just about checking the access token in the Authorization header? If that's the case, we have that feature already. Please see:

HttpAuthService

Can decorate other service to add authentication.
Built using HttpAuthServiceBuilder

HttpAuthServiceBuilder

Could use addOauth2().

Or do you expect something more than this?

It seems to meet my needs，thanks

I tried the HttpAuthService and It works, But I don't think it can dynamic authenticate user who has authority to access the api according to given token，I need to extract authorities from token

Does armaria has security framework like spring security?

FYI, I have integrated ScribeJava OAuth framework with Armeria client. You can find it at https://github.com/max904-github/scribejava .
As OAuth 2 becomes more and more common for the enterprises (e.g. 5G core network), it would be nice to have end-to-end token management integrated directly into Armeria. Communications to OAuth server could be delegated to a third-party like ScibeJava, or could be implemented in Armeria as well.

@max904-github That sounds awesome. It'd be really cool if we have armeria-scribejava in our repository. Are you interested in working on this?

Does armaria has security framework like spring security?

No. We hope to provide modules that integrate with well established security frameworks, though. Spring Security could be one of them, if we can use it without pulling in too much transitive dependencies.

@trustin Sure. I can contribute. Let me advance further on my OAuth related project and I will try to come up with some proposal for Armeria integration.

Thanks a lot in advance, @max904-github. Please feel free to let us know if you encounter any issues while working on it. :bowing_man:

Thanks for closing, @iamazy. Did you have a chance to play with armeria-oauth2?

Thanks for closing, @iamazy. Did you have a chance to play with armeria-oauth2?

Yes, I'm willing to try it

@iamazy Looking forward to your feed back, then. :crossed_fingers:


Allow the user to specify a custom command to execute tests

In the future is there any plan to allow a custom command when executing tests?  I have some tests that need to be run with cucumberjs and others require nightwatchjs as the command (which then calls cucumber).
Wasn't sure how to raise this as a feature request, sorry if it's the wrong place feel free to just delete this after you read it.

Hi @argentlynx
I have no experience using nightwatchjs, so I actually don't know if your request could be easly implemented.
There are only 2 mandatory features required to run the tests:

The command must support a parameter that filters the tests to be ran by title
The command output must be compatible with the cucumberjs json message format

If this is achievable with nightwatchjs than I guess we can implement something like that.
I was privately testing something like you requested to enable code coverage while running cucumberjs tests using a third party executable.
Can you please give some feedback about the requirements?
Thanks 👍

Thanks @Balrog994
I downloaded the sourcecode for cucumber-test-runner to try to implement it.  I might have something that works but still experimenting with it.
Nightwatch is actually kind of a pain to do this with.  It does not accept cucumber *.feature files as parameters, only tags.  So I'm messing around with converting the filename and test line number into a tag to pass as a parameter to nightwatch (and then I'll just tag the scenarios in cucumber with the filename)
Not sure if it's a good fit really, so I don't know how much time I'll dedicate to this, but here is what I did so far in case anyone gets interested in this or if you're interested in looking into this later if people want it.
testRunner.ts

@line:187  itemsOptions - convert this to tags
const itemsTags = itemsOptions.map(x => "@" + x.split("\").pop().replace(/[.: -]/g,'_'));

then itemsTags as a parameter for nightwatch

var tagParameter = "--tags " + itemsTags[0];
(or you could use itemsTags.join(" AND") but I think there is a bug in nightwatch not allowing multiple tags to be passed for the moment so I'm just passing a single tag.

@line:211 Modify the cucumberProcess = spawn( to...
 const cucumberProcess = spawn(
     `npx`,   // we need to run nightwatch with npx, not with node
     [[], `${workspace.uri.fsPath}/node_modules/nightwatch/bin/runner.js`, tagParameter, "", "", []],
     {
         cwd: workspace.uri.fsPath,
         env: env,
     }
 );

[haven't tried yet] (possibly) detect if a tag is matching the feature, if so, spawn with npx nightwach, if not, spawn normal node cucumber

OK got a draft working but using the minified code.  It's a one-liner but if you want to somehow make a feature for this in the future I donate it to the code penny jar.
after installing the nightwatch project (at url listed above)

Edit your nightwatch.feature file, add tag @nightwatch_feature_8 to the scenario "Searching the Rijksmuseum"

goto the .vscode/extensions/balrog994.cucumber-test-runner-0.5.0/dist/main.js file

remove this line

let w=(0,Va.spawn)("node",[...R,${a.uri.fsPath}/node_modules/@cucumber/cucumber/bin/cucumber.js,...n,"--format","message",...y],{cwd:a.uri.fsPath,env:c});

replace it with

let w=(0,Va.exec)("npx " + ${a.uri.fsPath}/node_modules/nightwatch/bin/runner.js + (" --tags "" + n.map(x => "@" + x.split("\").pop().replace(/[.: -]/g,'_'))[0] + """),{shell:true,cwd:a.uri.fsPath});

Save

Re-open VS Code

Open cucumber-test-runner

Click "Run" icon next to the nightwatch.feature - Google Search test

Done, now it works (but the code is rough)
C:\WINDOWS\system32\cmd.exe    C:\WINDOWS\system32\cmd.exe,/d,/s,/c,"npx c:\Users{youruseridinwindows}{pathtoyournightwatchfolder}\NightwatchAPI/node_modules/nightwatch/bin/runner.js --tags "@nightwatch_feature_8""
stdout: Using: chrome (114.0.5735.199) on WINDOWS.
stdout: ...√ Testing if the page title equals 'Rijksmuseum Amsterdam, home of the Dutch masters' (56ms)
stdout: .√ Element <#rijksmuseum-app> was visible after 33 milliseconds.
stdout: .√ Testing if element <.search-results> contains text 'Operation Night Watch' (1263ms)
stdout: ..
stdout: 1 scenario (1 passed)
stdout: 5 steps (5 passed)
stdout: 0m08.358s (executing steps: 0m08.341s)
stdout:  Wrote HTML report file to: c:\Users{whateveryourpathistothisfolder}\NightwatchAPI\tests_output\nightwatch-html-report\index.html
stdout:


Game freeze on world load with Sodium 0.1.1.

Stable Sodium release works but 0.1.1-snapshot causes freeze when loading a world.
This version on Sodium works without BE so I'm reperting this here.
https://paste.ee/p/5kzqX

All errors in logs are relative to sodium, I will close this issue as it is incorrect

All errors in logs are relative to sodium, I will close this issue as it is incorrect


Algorithms

Add searching & sorting algorithm in your preferred language

i would love to be assigned this task

@Niiola
You can contribute & submit a PR!

Hey i would like to contribute in this issue.

Hello, I want to contribute to this. would you like to assign me for this.

@Priya5545
You can contribute & submit a PR!

Hey, I would like to contribute to this. Can you assign me this for the Hacktoberfest-2022?

@archit-2003
You can contribute & submit a PR!

Hello , I would like to contribute to this issue. Could you please assign me this for the Hacktoberfest 2022?

@Samar1110
You can contribute & submit a PR!

Just checking, is this repository still active?

@vivekkdagar
Yes, it is!

So, I want to contribute. But don't know how to even start, it'll be my first contribution to Open Source. So, help me out?

@vivekkdagar
Read readme.md file
Getting started section
Before contribution

You have to fork repository
commit changes
open pull request
submit pull request

What kind of content can I add to the repository? Anything DSA related or is there a specific requirement?

Yeah, you can add DSA related

Hey, would you mind assigning me, please? I would love to add my code as well.


GUI component for connecting

Not sure if this fits here as this library is not about GUIs, but it would be interesting to hear your opinion on it.
Connecting is fairly complicated due to many cases that have to be covered:
You have to give an option to connect with Intiface or web bluetooth, check if web bluetooth is available, show search state, once connected show that state, give an option to test the device, what about multiple devices, ...
→ Take the fun out of trying things out
Of course this is mainly due to JS, connected devices and the browser and very little due to this library.
It might be cool to have a component that handles that logic, so one can focus on building fun things:
(A quick draft covering various states)

What is your opinion on this?

Yeah this is basically what buttplug playground was supposed to be, and was for a little while. Unfortunately it's been well out of date for quite a while so it doesn't even work any more. While I don't think this sort of thing would work specifically in buttplug-js ('cause frontend ends up being a Whole Thing), I'd happily put links to something like it in our README/app list/etc.

Gotcha!
I am thinking how to approach this best. I personally like tinkering with vanilla JS (no react, typescript, etc.) before diving in fully ... but I don't know how far along web components are to create something like this 🤔
PS: Feel free to close this issue as "not doing" or similar.


Reenable CSP headers

It was disabled by accident by rails app:update.
Refactor it to make it easier to group additions to the csp,
preventing a mess of added hosts
Co-authored-by: Thies Pierdola<EMAIL_ADDRESS>

https://github.com/abtion/epos-atc-headset-configurator/blob/main/config/initializers/content_security_policy.rb

Finally finished with pushing commits. Ready for review @jeppester

I cannot approve this PR because I was the original author, but you can consider it approved :smile:

I'm merging this


Using the scan_rsp with BLE mesh (IDFGH-2574)

Environment

Development Kit:      ESP32-Wrover-Kit
Module or chip used:  ESP32-WROVER-B
IDF version: v4.0-rc
Build System:         Make
Compiler version: 8.2.0
Operating System:     Linux
Using an IDE?: No
Power Supply:         USB

Problem Description
Hello,
In order to add proprietary information in the advertising, I need to use the scan response to add the MANUFACTURER_SPECIFIC_DATA in the advertising.
I already dug into esp-idf v4.0-rc. I could spot where the adv was set but I did not find any documentation related to the scan response.
Besides, when I try to merge gatt_server and ble_mesh_client_model examples, and I set the scan_rsp in the gatt_server part, it gets overwitten by the ble_mesh_init function (esp_ble_mesh_node_prov_enable(ESP_BLE_MESH_PROV_ADV | ESP_BLE_MESH_PROV_GATT); more accurately).
Thanks in advance for your help :)
Expected Behavior
Using the scan response to add the manfuacturer specific data field (0xFF).
Actual Behavior
The scan_rsp settings based on gatt_server example are cancelled by ble_mesh_init function.
Code to reproduce this issue
The ble_mesh_client_model example code

Hi @AlpinProgrammer ，

Do you want to use scan rsponse before provisioning or after provisioning?

Currently  ble mesh stack  has no api to set scan response.

Currently devices in ble mesh stack use scan response to display device names when they are not connected to the network.

Hi @WCCWCC , thanks for your answer !
I'd like to use the scan_rsp most importantly before provisioning. Ideally, I'd like to use it at any time.
According to what I saw, using nRF Mesh for the provisioning and nRF Connect to check the data advertised, the scan response is used to display the device name at any time.
I was able to locate the piece of code (set_adv_data function) that sends the scan_rsp and to append the manufacturer specific data, checking that we didn't exceed the 31 byte limit.

Hi @AlpinProgrammer
For using gatt_server combined with BLE Mesh, recommended to enable gatt server firstly. After the gatt server is connected with the gatt client (e.g. a phone), then BLE Mesh can be initialized and enabled. Because currently if enabling gatt server and BLE Mesh at the same time, the advertising data or scan response data set by the gatt server will be overwritten by BLE Mesh, since BLE Mesh needs to advertising for most the time when it is not provisioned.
Another option is to enable the option Support sending normal BLE advertising packets in BLE Mesh menuconfig. With this, the device can support to interleave the BLE Mesh advertising packets and  normal BLE advertising packets.
Thanks.

I would like to share my experience here. Looks like i have more luck than experience, because i could enable ble advertising together with ble mesh which allows me to connect with app and perform OTA update over ble.
I didnt have chance to test this yet:
Support sending normal BLE advertising packets
but update takes ages (~18 min), because of update is paused every few packets for some time.

Hi @Campou ,
Thank you for the additional information.
As you mentioned, BLE mesh initialization overwrites the modifications on scan_rsp, which I need to use at all times.
Therefore, I managed to find the files in esp-idf BLE mesh, where it's possible to edit the scan_rsp. This is how I solved my problem.
With all this information you provided I can close the issue. I'll make sure to check Support sending normal BLE advertising packets of i encounter any problem in the future.
@chegewara , thank you for your having a look. I was also able to use BLE server with BLE mesh node simultaneously using both initializing procedures. Connection with a BLE scan app on a smartphone works well, as well as BLE mesh operations (generic onoff client). I didn't have to code OTA over BLE yet. So far so good :)

Thanks for reporting and sharing the updates, glad to hear that the problem is resolved. Feel free to reopen if the issue still happens. Thanks.

Hi,
Is there some update to change advertising data and rsp scan data with BLE mesh ?


HSDS-215: Add onchange prop for DropList combobox input

Problem/Feature
Jira
Per @luketlancaster's comment here, for the design requirement of this card, I need to make the DropList work so that if:
-if there's no text entered into the search input, we don't render the dropdown at all, just the input
-if there's text in the search input and there are matches, we render the matches
-if there's text in the search input and there are no matches, we render the custom empty list items
I don't think I can accomplish that first requirement with the current DropList implementation because there's not a way to access the search input value. In order to do that, I would think that what's needed is a prop for DropList that passes down a callback for onChange events for the search input. I could then use that to hide the dropdown (using CSS) where there's no text in the search input.
That's what I've PRed simply here—does that sound correct or is there another way you'd recommend approaching this?
Guidelines
Make sure the pull request:

[x] Follows the established folder/file structure
[x] Adds unit tests
[ ] If it is a refactor or change to an existing component, have you verified it won't break existing Cypress tests or have you updated them?
[ ] Did you verify some accessibility (a11y) basics?
[x] Adds/updates stories. Guidelines
[x] Adds/updates documentation (ie proptypes) Guidelines
[ ] Has it been tested in Help Scout's supported browsers?
[ ] Requests review from designer of the feature
[x] Add label (bug? feature?)

(Thinking about it now, maybe another way to do it is to pass a prop to DropList like hideListIfEmptyInput or something and have the component handle whether or not to display the dropdown based on the input)

@justinwolfe yeah I would rather have a prop name hideCustomListIfEmptyInput instead of doing triggering a huge re-renderer by doing everything outside the DropList. That prop need to be implement only in the combobox variant.
I think renderListContents could received that prop and handle not rendering the list (if hideCustomListIfEmptyInput is true and the inputValue is empty

@plbabin Thank you, that sounds good! I'll work on it 👍

Closing up—will approach differently in new PR


Add NOLINT block to lint.py

What
Add NOLINT_START/NOLINT_END markers to lint.py, to exclude entire blocks. Useful eg. for documentation, where output of commands is shown verbatim.
TODO:

[x] support NOLINT, etc. for markdown docs too

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!
[x] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

looked a bit into adding tests for this, but it's a bit too much hassle right now since we don't have tests yet for lint_file (and I don't have time to sink into this right now)


analytics: Better indexed join to analytics_usercount, using realm_id.

analytics_usercount_property_realm_id_end_time_591dbec1_idx, added back in b7df84d5a8d9, makes this lookup actually indexed. 195defb0310a rewrote this query in a way which stopped using the index.

Fixes:

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @alexmv!

Backported in https://github.com/zulip/zulip/pull/31216.


Lib folder is missing

There is no lib folder in project or am i missing something? Please guide.

bower install installing dependencies into www/lib folder.


fix codecommit deprecation with github

*Issue #62 *
Description of changes:
After the deprecation of the codecommit service by AWS, sandbox-accounts-for-events accounts can no longer be used.
So in this pull request we are changing the SCM from codecommit to github (the recommended alternative).
Major changes:

the master branch becomes master instead of main because codestar which is used creates repos with master as the master branch
it is necessary to create a github token so that sandbox-accounts-for-events can create the repo and create the webhook

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I tried this and noticed 2 items.
When I want to create the repo using my own username, it's not working and im getting
You are not allowed to create a repository under GitHub user or organization

And then I changed the username to my org user name, then it worked.
The other thing is, it's creating a public repo instead of the private repo.

Hello @BhuviTheDataGuy
First of all thanks for the review, very appreciate it :
1- the username is working fine bécasse i use it : diranetafen in my case, use the username unique id not the full name (TAFEN Dirane )
2- i update the default repo visibility to private (change repo visibility)

Thanks for the quick fix.
1 - I have given my username only(not sure why it was not working, I'll try one more time)
Another issue - 1st time I created a github token and did the
make build bucket=BUCKET github_token=TOKEN

While deploying I was getting errors, so I though to create the token again.
Then I deleted the old token and created a new one.
Again I did the
make build  bucket=BUCKET github_token=NEW_TOKEN

But the secret manager still holds the older token, I had to manually update the token.

thanks @BhuviTheDataGuy
i add secret deletion in "make delete" macro

Great suggestion, but I will not merge it into main.
Reason: I'd like to keep external dependencies limited and try to avoid the requirement of having an external repository provider to be able to deploy the solution. Therefore I have refactored the solution to use CodeBuild as build provider, which allows to remove CodeCommit and use Amplify only as hosting provider from S3 artifacts.
The refactored version has just been committed to the repo.

I am sorry this was not accepted, the github pattern both a lines with AWS best practice post code commit and improves maintainability of the running soluiont.


API for parsing MIME multipart request bodies

I couldn't find such api to access to file content uploaded using standard form. Manually processing request's raw body is quite annoying. Is it implemented but not documented anywhere?

@duralog is that something, you are allowed to talk about? Would be nice, if you could contact hackers (at) arangodb.org


Fix: updated readme workflow file

what

Updated Readme workflow file to correct link

why

The Readme workflow was pointed to wrong module

Terraform Security Scan Failed
Show Output


Create Labelmap and TFRecords/ValueError: 'nickel' is not in list

Traceback (most recent call last):
File "/content/create_tfrecord.py", line 128, in
tf.app.run()
File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/platform/app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/content/create_tfrecord.py", line 106, in main
tf_example = create_tf_example(group, path)
File "/content/create_tfrecord.py", line 73, in create_tf_example
classes.append(int(labels.index(row['class'])+1))
ValueError: 'nickel' is not in list
how to solve...


[design] loop

'IF' statements can be imbricated in a WHILE/FOR statement and vice versa?

https://github.com/UPB-FILS/alf/blob/master/Devoir/design/verify/design/3_loop/if_else.dsn
Yes, if can be inbricated in a WHILE/FOR
I am almost sure that there is no WHILE/FOR in any IF.

Thanks :)


Include sigma av as another parameter for starwave to use.

Add in sig_av as another parameter. In starwave.py, get_cmd and sample_cmd have been updated to include this change. In parameters.py, make_params has been updated with an extra line to include this.

It would seem that this PR also includes the export of other quantities (sdict) from the get_cmd method. Please clean that up and submit a separate PR for that, so it's documented.
Also, please check what happens if one sets the sigma_av to 0. That will be a typical use case (i.e. no differential reddening) and it would be nice to be able to fallback to the original behavior of no sigma_av. If sigma_av == 0 causes problems with the normal distribution being degenerate/undefined, then please set the default value to something small (eg 1e-5) which is effectively zero, but first check that such small number indeed does not cause problems with the normal distribution.

Looking a little closer into this PR. While it is a good idea to have a "sigma_av" to allow for (a gaussian form of) differential reddening, I would suggest withdrawing it and rearranging things to use a truncated gaussian, in order to avoid the extinction from assuming negative values: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.truncnorm.html


Merge customCSS inside main CSS

It will allow to load a single file.

Thanks!

Since this change, when I run hugo server it throws the following error.
Start building sites …
hugo v0.88.1+extended linux/amd64 BuildDate=unknown
Error: Error building site: EXECUTE-AS-TEMPLATE: failed to transform "css/main.css" (text/css): template: css/main.css:587:14: executing "css/main.css" at <$custom.Content>: nil pointer evaluating resource.Resource.Content
Built in 747 ms

In my config.toml I have this:
[params]
customCSS = ["css/custom.css"]

and in static/css/custom.css are simple custom CSS rules.
Am I doing something wrong or is something broken?

@HorayNarea
After this change, it is necessary to install an extended version of Hugo to run theme
https://gohugo.io/getting-started/installing/ - search "Extended"

As you can see in the error, this is an extended version:
hugo v0.88.1+extended linux/amd64 BuildDate=unknown

Sorry, I wasn't paying attention to this.
Try to move static/css/custom.css to assets/css/custom.css without changing config.

Thanks, that fixes my problem!


Support Sidekiq 7

Looks like I can't run my tests with Sidekiq 7 and activejob-uniqueness:
rails aborted!00:02
NoMethodError: undefined method `death_handlers' for Sidekiq:Module00:02
  Sidekiq.death_handlers << ->(job, _ex) { ActiveJob::Uniqueness.unlock_sidekiq_job!(job) }00:02
         ^^^^^^^^^^^^^^^00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/activejob-uniqueness-0.2.4/lib/active_job/uniqueness/sidekiq_patch.rb:95:in `<main>'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'00:02
/home/semaphore/app/config/application.rb:7:in `<main>'00:02
/home/semaphore/app/Rakefile:6:in `require_relative'00:02
/home/semaphore/app/Rakefile:6:in `<main>'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.4/lib/rails/command.rb:51:in `invoke'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/railties-7.0.4/lib/rails/commands.rb:18:in `<main>'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'00:02
/home/semaphore/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'00:02
bin/rails:4:in `<main>'00:02
(See full trace by running task with --trace)

~I can't see any relevant mention in the changelog, but a quick look for death_handlers in the code seems to indicate we'd need to call Sidekiq.config.death_handlers or Sidekiq.default_config.death_handlers instead.~
Looking at the method definition for death_handlers it appears it might just be a matter of wrapping the call in a Sidekiq.configure_server block. It might just require a change in sidekiq_patch.rb as simple as this:
if sidekiq_version >= Gem::Version.new('7.0')
  Sidekiq.configure_server do |config|
    config.death_handlers << ->(job, ex) { ActiveJob::Uniqueness.unlock_sidekiq_job!(job) }
  end
elsif sidekiq_version >= Gem::Version.new('5.1')
  Sidekiq.death_handlers << ->(job, _ex) { ActiveJob::Uniqueness.unlock_sidekiq_job!(job) }
end

Can PR if you think that's the right approach.

Hey @dwightwatson
Thank you for the investigation. Your suggestion looks good to me :+1:. The PR would be great. Thank you

Hi, what is the state of this issue? I see that the PR fixing it is merged, but this issue still open.
Thank you for your time and support 🚀

There hasn't been a tagged release yet, so you'll need to use the main branch if you want to use this now.

ok, thank you for your answer 👍

@sharshenov any chance of getting a new tagged release? 🤞

0.2.5 is released https://rubygems.org/gems/activejob-uniqueness/versions/0.2.5


Fixes profile view

I don't want to say it again. Don't send a pull request without writing tests.


Update the Pitfall section regarding Next.js's App router.

With the release of Next js 13.4, the App router has been marked as stable and ready for production use. The Pitfall section on this page needs to be updated with the latest info about the app router.
Thanks. :)

https://react.dev/learn/start-a-new-react-project

#6090

This has been addressed with https://github.com/reactjs/react.dev/pull/6318


Issue of Building XGC-User by GCC on AIMOS and Summit

I tried to build Junyi's version of XGC-User for the coupling with adiabatic electrons s on AIMOS and Summit with GCC compiler. The link of this version is here: https://github.com/Damilare06/XGC-User. The xgc-compile-definition can be chosen the same with that provided by
build/xgc_flags.mk

Making the code hits the following problem:
Scanning dependencies of target xgc-es
[ 77%] Building Fortran object CMakeFiles/xgc-es.dir/XGC1/charge.F90.o
/gpfs/u/home/MPFS/MPFSshng/barn/gem-xgc/XGC-User/XGC1/charge.F90:614:7:

     end do
       1
Error: Expecting END IF statement at (1)
make[2]: *** [CMakeFiles/xgc-es.dir/XGC1/charge.F90.o] Error 1
make[1]: *** [CMakeFiles/xgc-es.dir/all] Error 2
make: *** [all] Error 2

That piece of code is included in XGC1/charge.F90 as
 610 #ifdef CONVERT_GRID2
 611     ! Need to interpolate to uniform grid after 2D-->1D tranformation\
 612     do i=1,grid%npsi_surf2
 613       tmp00_surf2(i)=tmp00_surf(grid%psi_surf_map(i))
 614     end do
 615     call interpol_1d(grid%psi_surf2(:),tmp00_surf2,grid%npsi_surf2,  &
 616                      psi00,psn%eden00_1d,grid%npsi00)
 617 #else
 618     psn%eden00_1d=tmp00_surf
 619 #endif

If commenting out the do loop,
 612   !  do i=1,grid%npsi_surf2
 613   !    tmp00_surf2(i)=tmp00_surf(grid%psi_surf_map(i))
 614   !  end do

the code can be built successfully
[ 99%] Building Fortran object CMakeFiles/xgc-es.dir/XGC_core/collisionf2.F90.o
[ 99%] Building Fortran object CMakeFiles/xgc-es.dir/XGC1/setup.F90.o
[100%] Linking Fortran executable bin/xgc-es
[100%] Built target xgc-es
[MPFSshng@dcsfen01 buildxgc]$

then, if I ran this xgc-es coupled with gem_main, it hits a PETSc error:
[72]PETSC ERROR: ------------------------------------------------------------------------
[72]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[72]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[72]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[72]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[72]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[72]PETSC ERROR: to get more information on the crash.
[72]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[72]PETSC ERROR: Signal received
[72]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[72]PETSC ERROR: Petsc Release Version 3.7.7, Sep, 25, 2017
[72]PETSC ERROR: /gpfs/u/home/MPFS/MPFSshng/barn/gem-xgc/XGC-User/buildxgc/bin/xgc-es on a arch-linux2-c-opt named dcs218.ccni.rpi.edu by MPFSshng Sun Dec 13 15:33:13 2020

@phyboyzhang I can not find the sourcecode. Is it solved?

@phyboyzhang I can not find the sourcecode. Is it solved?

@Damilare06 can you give the access of your repo of xcc-user to @jycheng1989 ? Thanks.

@Damilare06 can you give the access of your repo of xcc-user to @jycheng1989 ? Thanks.

I sent a request to @jycheng1989

I sent a request to @jycheng1989

Please try to add a blank line before the loop like
611     ! Need to interpolate to uniform grid after 2D-->1D tranformation
612
613     do i=1,grid%npsi_surf2
614       tmp00_surf2(i)=tmp00_surf(grid%psi_surf_map(i))
615     end do
delete '' in line 611

Please try to add a blank line before the loop like
611     ! Need to interpolate to uniform grid after 2D-->1D tranformation
612
613     do i=1,grid%npsi_surf2
614       tmp00_surf2(i)=tmp00_surf(grid%psi_surf_map(i))
615     end do
delete '' in line 611

Closing due to coupler rewrite.


v0.1.1 has a token hygeiene bug.

Marking a function as async or using async_block, causes variables used in macro invocations to be unresolved.
Minimal Code to reproduce
#[async]
pub fn test() -> Result<(), ()> {
	let lk = "haha, i'm a str";
	let res = Ok::<_, bool>(true);
	println!("{}", lk);
	println!("{:?}", &res);
	Ok(())
}

which compiles with the errors,
error[E0425]: cannot find value `lk` in this scope
 --> <println macros>:3:44
  |
3 | ) => ( print ! ( concat ! ( $ fmt , "\n" ) , $ ( $ arg ) * ) ) ;
  |                                            ^ not found in this scope

error[E0425]: cannot find value `res` in this scope
 --> <println macros>:3:44
  |
3 | ) => ( print ! ( concat ! ( $ fmt , "\n" ) , $ ( $ arg ) * ) ) ;
  |                                            ^ not found in this scope

error[E0425]: cannot find value `res` in this scope
  |
  = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0425`.
error: Could not compile `paysquare`.

To learn more, run the command again with --verbose.

The same also goes for serde_json's json! macro @withoutboats @alexcrichton.

We might need to revisit #90

This is likely related to or the same as https://github.com/rust-lang/rust/issues/50061 which I'll try to investigate soon

Yes this is definitely caused by https://github.com/rust-lang/rust/issues/50061, an accidental regression from https://github.com/rust-lang/rust/pull/49154


Split sign and broadcast transaction

Warning: breaking change

Split pushTransaction into three steps: fillTaposFields, signTransaction, and pushTransaction
rename pushTransaction to signAndPushTransaction (pushTransaction now expects an object with signatures and a serialized transaction)
bump version number from 0.0.4 to 0.0.5 due to breaking changes

Merging this into master with the agreement to create tests for all of EOSJS2 at a later point in time.

I see some more simplifications to make.

Okay, I'll let you handle merging into master then.  Unless you would like me to add those simplifications instead?

I'm adding them now

@c0d3ster take a look at my changes.

So my perspective I'm going to push for is that a method that signs should expect an already formed and ready to sign transaction.  It should not mutate, alter or make any assumptions other than validation.
We need to separate the details of a signing provider from the implementation on the other side.


Is it possible to run Sentence transformes?

This library runs the basis for different vector databases and depends in gpu for speed and stability. I am running it in Ec2 using only cpu, but the results are bad.

@fugaprascolinas We have support for number of sentance transformers models.
You can quickly try them like this:
deepctl infer \
    -m 'sentence-transformers/all-MiniLM-L12-v2'  \
    -i 'inputs=["I like chocolate"]

Here is a list of the models we have right now: https://stage.deepinfra.com/models?type=embeddings
If you want any of the models on hugging face we can easily add them https://huggingface.co/models?pipeline_tag=sentence-similarity&sort=downloads
If you want to deploy your own custom model let me know, we are working on support for this, should be out soon.

@fugaprascolinas let me know if this helper. I would like to close this issue.


Add link to OmniSharp-vscode debugger page

Add link to OmniSharp-vscode debugger page
Suggested Reviewers
@mairaw

closing and reopening to force a new OPS build.

LGTM.  Let's :shipit:


css(applications): Add some bootstrap styles to make list match mocks closer

status: ready for review
mock: link to figma
Changes

Adds some bootstrap styles to make the applications view closer to the mock

Notes

Currently some of the icons that the designers used are not available (either custom or not provided). Currently we are only using Boostrap Icons, which are slightly limited in the amount of icons. Two options:

Get design to provide svgs that we can use to get their ideal icons
Incorporate a library like font awesome that has a lot more icons that we can use and will likely have closer mappings to the ones the designers want us to use
Out of these, 2 is slightly easier (we would just have to add a script tag and then we can start using them), and 1 would put more work on designers, but I'm open to either (or another option if you can think of one)

Some styles are just slightly out of line with the mocks - i.e. they're using a font size (10) in between two of our sizes (f6 is 12 and f7 is 8), and the button rounding is off (we could change that, but that would likely want to be propagated across the site unless we want to individually override them, so that's probably something we should discuss with design to see if they want to change all buttons or have specific buttons for this view since they might want the former)

Screenshot

@blueish my bad, I'm able to download the icons from figma but didn't realize you are not. Here they are:


Running bin/jruby -S rubocop --regenerate-todo lists Layout/LineLength twice

Expected behavior
Describe here how you expected RuboCop to behave in this particular situation.
Actual behavior
Describe here what actually happened.
Please use rubocop --debug when pasting rubocop output as it contains additional information.
$ git --no-pager diff
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 0694fca4eba..c45c0e40c75 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
 # This configuration was generated by
 # `rubocop --auto-gen-config`
-# on 2024-11-21 11:49:16 UTC using RuboCop version 1.68.0.
+# on 2024-11-22 10:23:36 UTC using RuboCop version 1.68.0.
 # The point is for the user to remove these configuration records
 # one by one as the offenses are removed from the code base.
 # Note that changes in the inspected code, or installation of new
@@ -17,7 +17,7 @@ Layout/BlockAlignment:
     - '....rb'
     - '....rb'

-# Offense count: 12056
+# Offense count: 353
 # This cop supports safe autocorrection (--autocorrect).
 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
 # URISchemes: http, https
@@ -1205,3 +1205,10 @@ Style/YodaCondition:
 # This cop supports unsafe autocorrection (--autocorrect-all).
 Style/ZeroLengthPredicate:
   Enabled: false
+
+# Offense count: 12056
+# This cop supports safe autocorrection (--autocorrect).
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
+# URISchemes: http, https
+Layout/LineLength:
+  Max: 9388

Steps to reproduce the problem
This is extremely important! Providing us with a reliable way to reproduce
a problem will expedite its solution.

I ran /usr/bin/time b/bin/jruby -S rubocop --regenerate-todo
I ran b/bin/rubocop
Saw.rubocop_todo.yml:24: `Layout/LineLength` is concealed by line 1213
.rubocop_todo.yml:24: `Layout/LineLength` is concealed by line 1213
.rubocop_todo.yml:24: `Layout/LineLength` is concealed by line 1213

I fixed the file manually
Committed the result
I re-ran /usr/bin/time b/bin/jruby -S rubocop --regenerate-todo

RuboCop version
Include the output of rubocop -V or bundle exec rubocop -V if using Bundler.
If you see extension cop versions (e.g. rubocop-performance, rubocop-rspec, and others)
output by rubocop -V, include them as well. Here's an example:
$ b/bin/jruby -S rubocop -V
1.68.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.34.0, analyzing as Ruby 3.1, running on jruby 3.1.4) [java]
  - rubocop-performance 1.22.1

Also I'd like to note that this looks like a regression to me:

Most likely of 1.68.0
At least one of the versions (starting with 1.66 IIRC) generated the todo file correctly


Camera permission behaviour

Addresses #488

Important: Old behaviour does not change. If library is used as before, behaviour does not change
Showing the dialog if permission is missing is optional now but true as default (as before)
Message can be set optionally, either programmatically or via IntentIntegrator
New Activity result is set if permission is not granted
Programmers can react on the onActivityResult Intent and modify if a dialog should be shown by the library directly or not
Removes SDK 23 version checks since library uses API 24

Thanks for the PR. The library currently still supports "downgrading" to SDK 14, so we'll still need those API checks.
I'll review the rest in detail a little later.

I reverted the removal of the API checks to allow downgrading to SDK 14.

@anipp100 Thanks for the work. I haven't forgotten about this - will try to get to it soon.

Thanks, released in 4.1.0.


How get react global value from c#?

Discussed in https://github.com/ReactUnity/core/discussions/102

Originally posted by alec1o December  3, 2023
Im try get react value from c# but i don't know how it really works, because docs don't explain very well.
using ReactUnity.UIToolkit;
using UnityEngine;

public class TestReactUnity : MonoBehaviour
{
    public ReactRendererUIToolkit react;
    public uint delay = 3;
    private uint _count = 0;
    private float _timer;

    private void Start()
    {
        react.Globals.AddListener((e) =>
        {
            string listener = $"len({e.Count})";

            foreach (var i in e)
            {
                dynamic r = i.Value;
                listener += $"\n{i.Key} -> {r}";
            }

            print($"listener event: {listener}");
            print(react.Globals["reactside"]);
        });
    }

    private void Update()
    {
        _timer += Time.deltaTime;

        if (_timer > Mathf.Clamp(delay, 1, 100))
        {
            _timer = 0;
            _count++;
            // add only.
            // react.Globals.Add("csharpside", $"C# counter {_count}");

            // add or update
            react.Globals.Set("csharpside", $"C# counter {_count}");

        }
    }
}

const globals = useGlobals()

    return (<>

Ola Mundo, C#: {globals.csharpside}

Ola Mundo, JS: {globals.reactside}

        <button onClick={() => { Globals.reactside++; }}>
            Increase ReactSide
        </button>
    </>)
}

How can i access reactside value from c#?

It is a dictionary so it is possible to get value like react.Glboals['reactside']

print(react.Globals["reactside"])

The result isn't same that react useGlobal, i don't know why but feel I'm do something wrong
Im using useGlobal().var1 to get data and Global.var1=123 to set data but on frontend is ok but if i try get this value on C# side it's not working. And the AddListener isn't Called when value changed from frontend side


Version 0.3.4 - key doesn't refresh table

Only on version 0.3.4: When using key in AgGrid the table doesn't refresh anymore, no matter if you try to set reload_data or update_mode.
The issue doesn't appear in version 0.3.3, I currently reverted the package version, but a fix of the problem is quite urgent.

I think when you generate an  aggrid table with a key,  it will create a memory space and won't be free. When you change your df, but do not change the key, aggrid table will return the table of last key in memory space. If you change the key, i think table will reload. I set the key as the hash value of df, so when the df change, aggrid will create a new table. But here is a big problem, i find the st aggrid will never free its memory space, even i use the gc.collect() and del the variable. That makes memory leak, i cannot solve it...