use the existing mongo shell binary

@jsonar-cpapke all actions failed. There are two options: Re-run until you get green, or write us a comment that the failures are not related to you. Please don't assign us reviewers before you do this.

I had re-run the AWS build that failed before adding reviewers.

I'm not able to replicate the new errors, and I can't access the machines that have the error:
Error: remote-exec provisioner error

  with module.hub_dr[0].module.hub_instance.null_resource.readiness[0],
  on ../../../../modules/aws/sonar-base-instance/userdata.tf line 58, in resource "null_resource" "readiness":
  58:   provisioner "remote-exec" {

error executing "/tmp/terraform_1701963393.sh": Process exited with status 1

Error: remote-exec provisioner error

  with module.hub_main[0].module.hub_instance.null_resource.readiness[0],
  on ../../../../modules/aws/sonar-base-instance/userdata.tf line 58, in resource "null_resource" "readiness":
  58:   provisioner "remote-exec" {

error executing "/tmp/terraform_1946651670.sh": Process exited with status 1

There's a trick to finding the root cause error in the action log, I will try to catch you today to show you in zoom, and in the meantime, this is the error I saw in one of the actions:
`module.hub_main[0].module.hub_instance.null_resource.readiness[0] (remote-exec): @(shell):1:1
module.hub_main[0].module.hub_instance.null_resource.readiness[0] (remote-exec): Cloud-init v. 21.1-15.el8 running 'modules:final' at Mon, 22 Apr 2024 18:10:29 +0000. Up 10.79 seconds.
Warning: b_main[0].module.hub_instance.null_resource.readiness[0] (remote-exec): 2024-04-22 18:16:25,154 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
Warning: b_main[0].module.hub_instance.null_resource.readiness[0] (remote-exec): 2024-04-22 18:16:25,154 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3.6/site-packages/cloudinit/config/cc_scripts_user.py'>) failed
module.hub_main[0].module.hub_instance.null_resource.readiness[0] (remote-exec): Cloud-init v. 21.1-15.el8 finished at Mon, 22 Apr 2024 18:16:25 +0000. Datasource DataSourceEc2Local.  Up 366.81 seconds
module.hub_main[0].module.hub_instance.null_resource.readiness[0] (remote-exec): status: error`
Regarding access to the machines, in general, the SSH keys are available in the action if you click on Summary and go the bottom of the page:

However, these are available only in nightly runs on dev and master branches for next 24 hours, until the next nightly runs.
For actions which are not nightly, the setups are destroyed at the end of the action run as you can see in the action flow.

Current failures seem unrelated to this change (systemd file not starting correctly)

This action failed on HADR:
https://github.com/imperva/dsfkit/actions/runs/8820187981/job/24213205540
module.agentless_gw_hadr[0].null_resource.exec_hadr_main (remote-exec):                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
module.agentless_gw_hadr[0].null_resource.exec_hadr_main (remote-exec):   File "/imperva/apps/jsonar/apps/<IP_ADDRESS>.0/lib/python3.11/subprocess.py", line 571, in run
module.agentless_gw_hadr[0].null_resource.exec_hadr_main (remote-exec):     raise CalledProcessError(retcode, process.args,
module.agentless_gw_hadr[0].null_resource.exec_hadr_main (remote-exec): subprocess.CalledProcessError: Command '['sudo', '/bin/systemctl', 'start', 'dsfdiagnosticsagent.service']' returned non-zero exit status 1.

Seems unrelated, worked after a re-run.

Yes it is probably unrelated, but it is something that fails the automation, prevents it from being reliable and wastes time and resources. I will approve this PR, but can you please suggest a plan on how to get this issue fixed once and for all? Maybe consult with @darya-abdollahzadeh

@lindanasredin can you please approve the PR then?

Thanks @darya-abdollahzadeh. Many issues happen intermittently and can't be easily replicated so I don't think we should rely on replicating issues in another automation system to solve them. This is one of the purposes of this automation. Can you please show Guilherme the log of the automation? Maybe it is enough for him to understand the problem. Also, when a failure occurs in the nightly automation, the environment is not destroyed until the next nightly (24 hours) to allow investigating the logs. I also created a new PR in which a developer can run an action manually and request that the destroy of the environment be delayed: https://github.com/imperva/dsfkit/pull/407. If you have more ideas on how we can investigate issues in-place without needing to replicate them, I would love to hear. Thanks.


Add multi-arch support in CI/CD

Improve CI/CD process to be more automated, including multi architecture support.

Released in version 2.3.0.


vocoder training 질문드립니다.

안녕하세요 좋은 코드를 바탕으로 열심히 공부중인 학생입니다..!!
2019-10-04 13:38:15.119765: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2019-10-04 13:38:15.457661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-10-04 13:38:15.457699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0
2019-10-04 13:38:15.457711: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N
2019-10-04 13:38:15.457799: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10426 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:06:00.0, compute capability: 6.1)
Trying to restore saved checkpoints from ./logdir-wavenet/train/2019-10-04T13-37-34 ... No checkpoint found.
finally
Done
vocoder train시에
이런식으로 Done 이후에 계속 멈춰있는데 뭐가 문제일까요..?

InvalidArgumentError (see above for traceback): Expected begin[1] in [0, 4800], but got 5147
[[Node: wavenet/loss/Slice = Slice[Index=DT_INT32, T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](wavenet/Reshape_1, wavenet/loss/Slice/begin, wavenet/loss/Slice/size)]]
[[Node: optimizer/gradients/wavenet/dilated_stack/layer30/dilation_layer/conv_filter/conv1d/Conv2D_grad/ShapeN/_1789 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_15892...rad/ShapeN", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
에러를 열어보니 이런 에러가 뜹니다.


Using airflow as daemon on init.d

I am trying to configure airflow webserver and scheduler to run.
I am using "python setup install" and then using the shell comand:
start-stop-daemon --start --quiet --exec airflow webserver
when i execute it under my user from shell, everything works ok.
But when I create a daemon script, on init.d i am getting:
2015-12-09 13:41:29,808 - root - INFO - Filling up the DagBag from /home/pedro/airflow/dags
2015-12-09 13:41:29,810 - root - INFO - Importing /home/pedro/airflow/dags/simple_ecs_dag.py
2015-12-09 13:41:29,830 - root - INFO - Loaded DAG <DAG: test-ecs>
Running the Gunicorn server with 4 syncworkers on host <IP_ADDRESS> and port 8080...
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 4, in
import('pkg_resources').run_script('airflow==1.6.1', 'airflow')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1667, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/airflow-1.6.1-py2.7.egg/EGG-INFO/scripts/airflow", line 17, in
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/airflow-1.6.1-py2.7.egg/airflow/bin/cli.py", line 338, in webserver
'airflow.www.app:cached_app()'])
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I imagine that the start-stop-daemon running as a root user instead of my instalation user...
Does anyone can help me?

Now I change the user to the installation user:
start-stop-daemon --start --chuid ubuntu --quiet --exec /usr/local/bin/airflow webserver
But facing the same problem.. it is driving me crazy...

See #717. You're missing stuff in your path


Column can have multiple caret icon?

One column is divided two values: units and values.
I want to implement sorting with these two values.
I attached the screenshot for it.

As you can see, I want to implement the sort function with these two values.
so I want to implement two caret icons and implement the sort with these two values.
Could you kindly let me know how I can implement it?
Regards.

I fixed it by using two header for unit and value and "stock on hand" is customized by using renderHeader()
<TableHeaderColumn
	dataField='stockOnHandUnits'
	dataAlign="center"
        dataSort
	className="custom-table-header"
        caretRender={ getCaret }
        dataFormat={ this.cellUnitFormatter }
>
        {this.renderStockUnitsHeader()}
        Units
</TableHeaderColumn>


Docs output depends on ordering of exports

Search terms
default export, named export, reference
Expected Behavior
If the same thing (e.g. class, function) is exported in an entrypoint through both the default export and a named export, I'd expect the generated documentation to look the same regardless of which export has been defined first.
Preferably, if the same thing is exported in both the default and the named export, the default export should contain references to the named export, not the other way around.
Actual Behavior
TypeDoc will produce different documentation pages based on whether the default export is placed before or after the named export.
For the following code:
import { SomeClass } from "./someClass";

export default SomeClass;

export { SomeClass };

TypeDoc outputs:

while for this one:
import { SomeClass } from "./someClass";

export { SomeClass };

export default SomeClass;

it shows:

Steps to reproduce the bug

Clone the reproduction    repository.
npm ci
npm run docs
This will generate two documentation directories:

docs-default-first, generated using defaultFirst.ts as the sole entrypoint,
docs-default-last, generated using defaultLast.ts as the sole entrypoint.

Environment

Typedoc version: 0.22.8
TypeScript version: 4.4.4
Node.js version: 14.15.4
OS: Windows 10

I mean, the obvious solution is... stop using default exports.... seems reasonable to add a special case for this I guess.


How to load a FSDP checkpoint model

I have fine tuned gemma 2b model using FSDP and these are the below files available under the checkpoint
optimizer_0  pytorch_model_fsdp_0  rng_state_0.pth  rng_state_1.pth  scheduler.pt  trainer_state.json

How can i load the above FSDP object?
kindly help me with this issue,

Would this help? https://discuss.huggingface.co/t/transformers-trainer-accelerate-fsdp-how-do-i-load-my-model-from-a-checkpoint/61585/3


[SPEC] Remove allow_no_indices from indices.upgrade

Speaking with @s1monw it's not used, and specifying it results in unrecognized parameter: [allow_no_indices].
I'm not sure if there are other APIs where it has been removed?  Also applies to 5.x

argh, wrong fork :p


(Feature) add Registry contract

Relates to migration to Auth-os Proxy https://github.com/poanetwork/token-wizard/issues/957
Problem: Auth-os cannot track how many crowdsales are created by using proxy. Thus, we cannot retrieve all users' crowdsales to give users access to management page and we cannot get all crowdsales to show statistics.
Solution: Create registry smart-contract, that will track all crowdsales created by Token Wizard.
Specification of registry smart-contract:

It should track every crowdsale created by token-wizard, crowdsale type and address of the owner.
It shoud return the total amount of minted capped crowdsale
It should return thr toal amount of dutch crowdsales
It should return the total amount of crowdsales created by user.

Link to the implementation: https://github.com/poanetwork/auth-os-applications/blob/master/TokenWizard/crowdsale/MintedCappedCrowdsale/contracts/ProxiesRegistry.sol


 I went from 2.x (forgot the exact version) and upgraded to 3.x. I discovered that 3.x was missing a feature a really loved ("light sleep" mode) and didn't know about ddvk so I figured let's try a beta version and see if they put it back. Nope. Which then of course made it so that I can't simply use the switch.sh script: I now have two different 3.x versions on my partitions, one retail one beta. So I tried to use the server downgrade method. I'm on a Win 10 PC with Python 3.11.1. Here's what I did:

Copied 2.9x firmware to the updates folder
discovered my USB IP address on my Win 10 machine: it's <IP_ADDRESS>, not <IP_ADDRESS>, I can see this along with my wifi IP in Help->Copyright and Licenses to verify
started just like the instructions say: python serve.py <IP_ADDRESS>

I see what looks like it's working: it says:
python .\serve.py <IP_ADDRESS>
<IP_ADDRESS>
Device should use: http://<IP_ADDRESS>:8000/
Available updates: {'reMarkable': ('<IP_ADDRESS>', '<IP_ADDRESS>_reMarkable.signed')}
Starting fake updater: 8000
ssh into my device via the USB address using PuTTY and edit /usr/share/remarkable/update.conf and just simply add this line at the end of the file: SERVER=http://<IP_ADDRESS>:8000 (yes I've tried also using a trailing /, no difference). Here's what the contents of the file looked liked after modification:
[General]
#REMARKABLE_RELEASE_APPID={98DA7DF2-4E3E-4744-9DE6-EC931886ABAB}
#SERVER=https://updates.cloud.remarkable.engineering/service/update2
#GROUP=Prod
#PLATFORM=reMarkable2
REMARKABLE_RELEASE_VERSION=<IP_ADDRESS>5
SERVER=http://<IP_ADDRESS>:8000
Go to Menu->Settings->General, click software version, tap check for updates, and it just simply says on the device "Error checking for update" and no output from the python console on the PC. So I go the CLI route to get more detailed info. Just to verify I'm doing the CLI right, here's what I did after SSHing from my PC into that same USB IP address:
systemctl start update-engine
update_engine_client -check_for_update
journalctl -u update-engine -f
Looking at the output, it seems the primary issue is that it can't connect to the ddvk python server as it says "Unable to get http response code: Failed to connect to <IP_ADDRESS> port 8000: Connection refused"
I should note that yes, from my SSH session inside the tablet I can ping <IP_ADDRESS>:8000
I presume any other errors are the result of this. I don't know why it can't connect. I tried disabling all firewall settings just in case. I also tried the wifi IP for all the above steps as well, same problem. If you're curious about the full output from the CLI, it is the following:
I20221226 18:06:58.675487   472 update_engine_client.cc:271] Initiating update check and install.
-- Logs begin at Wed 2022-12-21 02:52:08 UTC. --
Dec 26 18:06:58 reMarkable update_engine[413]:
Dec 26 18:06:58 reMarkable update_engine[413]:
Dec 26 18:06:58 reMarkable update_engine[413]:
Dec 26 18:06:58 reMarkable update_engine[413]:
Dec 26 18:06:58 reMarkable update_engine[413]:
Dec 26 18:06:58 reMarkable update_engine[413]:
Dec 26 18:06:58 reMarkable update_engine[413]: I20221226 18:06:58.694192   413 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Dec 26 18:06:58 reMarkable update_engine[413]: I20221226 18:06:58.694440   413 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Dec 26 18:06:58 reMarkable update_engine[413]: E20221226 18:06:58.695248   413 libcurl_http_fetcher.cc:264] Unable to get http response code: Failed to connect to <IP_ADDRESS> port 8000: Connection refused
Dec 26 18:06:58 reMarkable update_engine[413]: I20221226 18:06:58.695456   413 libcurl_http_fetcher.cc:281] No HTTP response, retry 1
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.936008   413 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.936373   413 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Dec 26 18:07:08 reMarkable update_engine[413]: E20221226 18:07:08.937165   413 libcurl_http_fetcher.cc:264] Unable to get http response code: Failed to connect to <IP_ADDRESS> port 8000: Connection refused
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937408   413 libcurl_http_fetcher.cc:295] Transfer resulted in an error (0), 0 bytes downloaded
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937479   413 libcurl_http_fetcher.cc:297] Error buffer: Failed to connect to <IP_ADDRESS> port 8000: Connection refused
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937521   413 omaha_request_action.cc:670] Omaha request response:
Dec 26 18:07:08 reMarkable update_engine[413]: E20221226 18:07:08.937562   413 omaha_request_action.cc:686] Omaha request network transfer failed.
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937638   413 action_processor.cc:81] ActionProcessor::ActionComplete: OmahaRequestAction action failed. Aborting processing.
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937682   413 action_processor.cc:87] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937723   413 update_attempter.cc:313] Processing Done.
Dec 26 18:07:08 reMarkable update_engine[413]: E20221226 18:07:08.937810   413 update_attempter.cc:685] Update failed.
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937858   413 utils.cc:750] Converting error code 2000 to kActionCodeOmahaErrorInHTTPResponse
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937901   413 payload_state.cc:104] Updating payload state for error code: 37 (kActionCodeOmahaErrorInHTTPResponse)
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.937947   413 payload_state.cc:110] Ignoring failures until we get a valid Omaha response.
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.938460   413 action_processor.cc:41] ActionProcessor::StartProcessing: OmahaRequestAction
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.939330   413 omaha_request_action.cc:280] Posting an Omaha request to http://<IP_ADDRESS>:8000
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.939412   413 omaha_request_action.cc:281] Request:
Dec 26 18:07:08 reMarkable update_engine[413]:
Dec 26 18:07:08 reMarkable update_engine[413]:
Dec 26 18:07:08 reMarkable update_engine[413]:
Dec 26 18:07:08 reMarkable update_engine[413]:
Dec 26 18:07:08 reMarkable update_engine[413]:
Dec 26 18:07:08 reMarkable update_engine[413]:
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.939465   413 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.939666   413 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Dec 26 18:07:08 reMarkable update_engine[413]: E20221226 18:07:08.940367   413 libcurl_http_fetcher.cc:264] Unable to get http response code: Failed to connect to <IP_ADDRESS> port 8000: Connection refused
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940593   413 libcurl_http_fetcher.cc:295] Transfer resulted in an error (0), 0 bytes downloaded
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940655   413 libcurl_http_fetcher.cc:297] Error buffer: Failed to connect to <IP_ADDRESS> port 8000: Connection refused
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940699   413 omaha_request_action.cc:670] Omaha request response:
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940752   413 action_processor.cc:78] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940793   413 action_processor.cc:87] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940831   413 update_attempter.cc:313] Processing Done.
Dec 26 18:07:08 reMarkable update_engine[413]: I20221226 18:07:08.940871   413 update_attempter.cc:317] Error event sent.

"I'm an idiot" LOL ;-)
I think you've misinterpreted the IP.
<IP_ADDRESS> is most likely the reMarkable's IP, and <IP_ADDRESS> your PC's.
serve.py and update.conf need your PCs IP, not your rM's.
You start serve.py on your PC which creates a server. The rM's updater connects to the server on the IP given in the .conf, i.e. your PC's IP.

"I'm an idiot" in this case is 100% right! There were TWO cases of user error. The first is that I have a remarkable 2, not a remarkable 1. When I googled to find the last 2.x firmware, I didn't realize til many hours later that I had downloaded 2.9 which was for the REMARKABLE. The python script helped me realize this by comparing the product strings (I added my own print statements to debug). So then I was like OMG wrong version and found the 2.15 remarkable V2 VERSION, replaced it, and replaced the IP with my PCs IP and all was good. Sorry to bug you about that =) Not sure if you wanna close it out or leave it open in case any other people lacking reading comprehension for the day need some help, haha.

Glad you sorted it :)
You're still missing something, however: each interface has its own IPs on both ends.
For the USB connection, the rM has <IP_ADDRESS> and the PC has <IP_ADDRESS>.
They can talk to each other over USB using these IPs.
For WiFi both use 192.168.1.x and they will find each other within this subnet.
If you setup the server on your PC, the rM can find it over USB if you specified <IP_ADDRESS> (using USB) or 192.198.1.<your PC's IP> over WiFi - if the rM is connected to the WiFi.

Hi,
I have the same issue, but coming from <IP_ADDRESS>6. In my case neither the USB nor the WiFi IP can be found be the ReMarkable. I tried every combination without luck. My goal is to downgrade in order to use the syncthing integration.
Getting this output in some form every time:
root@reMarkable:~# update_engine_client -check_for_update
I20240217 16:12:30.351001   373 update_engine_client.cc:271] Initiating update check and install.
root@reMarkable:~# journalctl -u update-engine -f
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]:
Feb 17 16:12:30 reMarkable update_engine[183]: I20240217 16:12:30.378751   183 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Feb 17 16:12:30 reMarkable update_engine[183]: I20240217 16:12:30.378899   183 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Feb 17 16:12:30 reMarkable update_engine[183]: I20240217 16:12:30.379503   183 libcurl_http_fetcher.cc:466] Setting up timeout source: 1 seconds.
Feb 17 16:13:00 reMarkable update_engine[183]: E20240217 16:13:00.546649   183 libcurl_http_fetcher.cc:264] Unable to get http response code: Connection timeout after 30168 ms
Feb 17 16:13:00 reMarkable update_engine[183]: I20240217 16:13:00.546978   183 libcurl_http_fetcher.cc:281] No HTTP response, retry 1
Feb 17 16:13:10 reMarkable update_engine[183]: I20240217 16:13:10.555297   183 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Feb 17 16:13:10 reMarkable update_engine[183]: I20240217 16:13:10.555565   183 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Feb 17 16:13:10 reMarkable update_engine[183]: I20240217 16:13:10.556196   183 libcurl_http_fetcher.cc:466] Setting up timeout source: 1 seconds.
Feb 17 16:13:41 reMarkable update_engine[183]: E20240217 16:13:41.546527   183 libcurl_http_fetcher.cc:264] Unable to get http response code: Connection timeout after 30991 ms
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.546820   183 libcurl_http_fetcher.cc:295] Transfer resulted in an error (0), 0 bytes downloaded
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.546880   183 libcurl_http_fetcher.cc:297] Error buffer: Connection timeout after 30991 ms
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.546917   183 omaha_request_action.cc:670] Omaha request response:
Feb 17 16:13:41 reMarkable update_engine[183]: E20240217 16:13:41.546953   183 omaha_request_action.cc:686] Omaha request network transfer failed.
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.547034   183 action_processor.cc:81] ActionProcessor::ActionComplete: OmahaRequestAction action failed. Aborting processing.
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.547072   183 action_processor.cc:87] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.547106   183 update_attempter.cc:313] Processing Done.
Feb 17 16:13:41 reMarkable update_engine[183]: E20240217 16:13:41.547180   183 update_attempter.cc:685] Update failed.
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.547219   183 utils.cc:750] Converting error code 2000 to kActionCodeOmahaErrorInHTTPResponse
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.547255   183 payload_state.cc:104] Updating payload state for error code: 37 (kActionCodeOmahaErrorInHTTPResponse)
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.547298   183 payload_state.cc:110] Ignoring failures until we get a valid Omaha response.
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.548763   183 action_processor.cc:41] ActionProcessor::StartProcessing: OmahaRequestAction
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.549614   183 omaha_request_action.cc:280] Posting an Omaha request to http://<IP_ADDRESS>:8000/
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.549681   183 omaha_request_action.cc:281] Request:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.549724   183 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.549891   183 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.550524   183 libcurl_http_fetcher.cc:466] Setting up timeout source: 1 seconds.
^C
root@reMarkable:~# nano /usr/share/remarkable/update.conf
root@reMarkable:~# update_engine_client -check_for_update
I20240217 16:14:06.031101   376 update_engine_client.cc:271] Initiating update check and install.
root@reMarkable:~# journalctl -u update-engine -f
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]:
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.549724   183 libcurl_http_fetcher.cc:50] Starting/Resuming transfer
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.549891   183 libcurl_http_fetcher.cc:163] Setting up curl options for HTTP
Feb 17 16:13:41 reMarkable update_engine[183]: I20240217 16:13:41.550524   183 libcurl_http_fetcher.cc:466] Setting up timeout source: 1 seconds.
Feb 17 16:14:06 reMarkable update_engine[183]: I20240217 16:14:06.047055   183 dbus_service.cc:62] Attempting interactive update
Feb 17 16:14:06 reMarkable update_engine[183]: I20240217 16:14:06.047147   183 update_attempter.cc:283] New update check requested
Feb 17 16:14:06 reMarkable update_engine[183]: I20240217 16:14:06.047176   183 update_attempter.cc:286] Skipping update check because current status is UPDATE_STATUS_REPORTING_ERROR_EVENT
Feb 17 16:14:12 reMarkable update_engine[183]: E20240217 16:14:12.546967   183 libcurl_http_fetcher.cc:264] Unable to get http response code: Connection timeout after 30997 ms
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547262   183 libcurl_http_fetcher.cc:295] Transfer resulted in an error (0), 0 bytes downloaded
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547325   183 libcurl_http_fetcher.cc:297] Error buffer: Connection timeout after 30997 ms
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547369   183 omaha_request_action.cc:670] Omaha request response:
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547420   183 action_processor.cc:78] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547456   183 action_processor.cc:87] ActionProcessor::ActionComplete: finished last action of type OmahaRequestAction
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547490   183 update_attempter.cc:313] Processing Done.
Feb 17 16:14:12 reMarkable update_engine[183]: I20240217 16:14:12.547534   183 update_attempter.cc:317] Error event sent.


Static website, figure export, GitHub Workflow for running model and creating pages

DRAFT! The model is running in my GitHub actions for testing right now.
This is a major pull request, containing multiple changes that add a static website, GitHub workflow for running the model and publishing the website using GitHub pages.
Continuation/Update to pull request #29 and issue #11.
Preview of the website:
https://fvalka.github.io/covid19model/
Please note that the forecast plots don't work in the DEBUG model and are therefore not shown yet.
I've needed a lot of commits since the workflow could only be tested like this, I'd suggest you squash my commits.
Necessary changes to your repo for making it work

Set GitHub pages to use the gh-pages branch instead of the master branch in the repository settings
Set up billing for GitHub actions, depending what kind of account this actually is, Team or Pro. Above the free tier I'd expect about 10-20 USD per month, based upon GitHub's pricing at 0.008 USD per minute on a Linux dual core machine.  Above Pro maybe 10 USD.
Create a Token which can be used to push to the gh-pages branch and store it as a Secret in the repositories settings under the name GH_PAGES_ACCESS_TOKEN

Secrets/Token Set-Up

GitHub Pages Setup

Execution of the model run/workflow
The workflow can be started in two different ways:

It is started daily using a schedule at 12:30 UTC, 14:30 CEST. This gives ample room for the sometimes delayed publishing of the data by ECDC
Manually by executing a GitHub API call, this is described in .github/workflows/run-model-and-publish.yml
Triggering the workflow only works on the master branch

Changes to the R base code

I've added additional plot exports to both the three-panel plots and the forecast. Those are used to export both a mobile and desktop version of each figure.
Each figure from the three-panel plots is a separate figure and file.
I've removed the Forecast label on the forecast since this was also not shown correctly in the PDF and seems to have been a mistake left in there
base.R I've added a mechanism similar to the one used for DEBUG, where either an environment variable can be set or inside the code to use the full number of iterations. The README.md has been changed accordingly.
Calculation of N2 based upon 75 + the difference between the ECDC data date and the original reports data date

Font-workaround
The SVG output in the Docker image creates an invalid font-name "Aerial". I've searched the source code of the R libraries used and found no reference to it.

To work around this a new R file has been added: "web-fix-fonts.R", which replaces "Aerial" in the SVG files with a whole font family, making it more robust in addition to fixing this mistake.

Changes to the current CI pipeline and Dockerimage

I've changed the ENTRYPOINT to a CMD, so that the Dockerimage can also be used correctly with other commands in run
I've removed the scripts which change the uid and guid and instead used the --user flag of docker run
The current workflow/CI-pipeline has been adjusted accordingly

New workflow

The new GitHub actions workflow performs a couple of steps for generating the GitHub pages each day:
Git clone
Build the docker image, as in the CI pipeline
Download the newest ECDC data
Perform a full model run, set by setting --env FULL=TRUE
Apply the font-workaround described above
Publish the web subfolder to the gh-pages branch

Website
The website is built using bootstrap and optimized for mobile and web.

Basic UI interaction code is written using just jQuery and one additional JS library to keep it lightweight.
The correct tags for accessibility are used (Google Chrome lighthouse audit, performance=99%, accessibility=100%)
Tested on Edge, Chrome, Firefox, and Chrome on Android.
The whole side including all figures for mobile and desktop is less than 2MB in size.
Single page
Loaders/spinners to ensure that even if the network fails the user won't think he switched the country but it didn't load.

I would also like to add an introduction page to the website, but this would probably best be done in close collaboration, and I'd also need the figures in SVG format and such.

The model run worked, but the deployment failed since the GitHub token used for authentication is only valid for 60 minutes, but the model run took over 2 hours.

@fvalka  This is really great, look forward to seeing the readied pull request.

Added a check whether the secret for publishing is correctly set or not. First of all to fail early, but also so that this action doesn't run on everyones account who forks this repo.

@harrisonzhu508 Thank you and I'm really glad you like it!
I've also just finished a full run in my GitHub actions, took 2h34m, verified the output on GitHub, desktop and mobile. Therefore the pull request is ready!
@s-mishra @flaxter FYI :-)
All the best, good night from Vienna
Fabian

For reference, the workflow overview on my account:

And Google lighthouse audit of the website:
On mobile:

And on desktop:

Wow this is awesome ! One minor thing that I just wanted to comment on, could we change the main title on the index.html file to: Estimating the number of infections and the impact of nonpharmaceutical interventions on COVID-19 in 11 European countries - Imperial College London
@s-mishra @flaxter what do you think of the title?
And maybe add a note below it:
Last updated (date). The results are updated daily. Any comments or suggestions, please contact the authors of the paper(add link to https://www.imperial.ac.uk/mrc-global-infectious-disease-analysis/covid-19/report-13-europe-npi-impact/).
Thanks!
Harrison

Changed the title in the title tag, is the one in the navbar okay? "COVID-19 model" the other one would be a bit too long, but it would be possible too, with some changes

I actually also wanted to add the last update date but didn't get around to it yesterday, I would add the latest date in the ECDC data file, then it also shows the correct date if the dataset becomes stale and isn't updated anymore for whatever reason

I have to test the git workflow changes by pushing to the master branch right now again, so please don't merge it right now.
I've also added a more in depth verification step for the web output, where the latest dates are written for each country, based upon the last entry in the ECDCs dataset for this country.
Additionally those are included in the query string for the file URL, which ensures that images can be cached correctly.

Ready from my side :-)

@fvalka  Thank you for the hard work Fabian! Just a few final points I promise, could we add our University logo onto the website (on the header or near the header)? Maybe add an acknowledgement at the bottom after the doi link like:
With thanks to the github community contributors for making this website possible.
The link is here:

https://www.imperial.ac.uk/ImageCropToolT4/imageTool/uploaded-images/White-on-navy--tojpeg_1495792347019_x1.jpg

@s-mishra  @flaxter any comments?
https://fvalka.github.io/covid19model/

Just an update, we have resolved the github actions quota issue @fvalka

@fvalka  we thought it would also be good to include the table from page 29 onwards here https://www.imperial.ac.uk/media/imperial-college/medicine/sph/ide/gida-fellowships/Imperial-College-COVID19-Europe-estimates-and-NPI-impact-30-03-2020.pdf to a different tab on the website

@harrisonzhu508 I'll add the logo and table of the interventions. I would also love to add the graphic of the interventions, from page 5

It might also make sense to include an introduction maybe including this figure, or would you prefer just referencing to the paper?

I can remove the cron scheduled trigger from the workflow, might also make more sense. The only big issue is that the manual triggering (described above using the GitHub API) only works for the master branch. So you would either need to create a different GitHub repo (you can merge from the master to there using pull requests) for the actual live website, or do it the other way around of having a second, maybe private GitHub repo where you can do the pre-runs and then do a pull request of the gh-pages from that other repo into the gh-pages of this account for taking it live.
I'd also say that it's better to manually verify the model output before publishing it each time. Please note that the github pages, even for a private repo will always be public. But verifications could also happen offline. You just need to open the produced index.html.
I've also performed the floor test, of just showing someone (with a background in mathematics) the draft but who hadn't read the paper yet. (What a shame ;-) ), And consider that (n=1)
And for now the description below the first figure (infections), which I've taken from the paper probably isn't clear enough, taken outside of the context of the paper.
Maybe we should go with something like:
"Estimated daily number of new infections based upon the modeled daily new deaths and on published estimates of the infection fatality rate, adjusted for each countries age structure, published estimates of the serial interval, and the time dependent reproduction rate R_t. Blue bands are predicted infections, dark blue 50% credible interval (CI), light blue 95% CI. Brown bars are reported infection."
Looking forward to the new model and I'd say anyways that we should take our time to work out these details of the website before releasing it to the wider public.

@fvalka Thank you for the hard work Fabian! Just a few final points I promise, could we add our University logo onto the website (on the header or near the header)?

And btw. I've also already borrowed the correct color from the website anyways, so the logo will fit in the header nicely. Similar to the current website.

Maybe add an acknowledgement at the bottom after the doi link like:
With thanks to the github community contributors for making this website possible.

Would you mind if add my name in there? A little self advertisement never hurts since I'm also self employed ;-) and make the github community contributors a link, like:
With thank to the GitHub community contributors and Fabian Valka for making this website possible.
All the best, Fabian

I've switched to vue js since it kind of starts to outgrow the just plain javascript approach, and started to add the timelines, for now the draft includes the timeline for Austria, I'm also working on adding an overview page with the all the interventions

Thanks a ton @fvalka. We should have a call to get this thing sorted as you have done a lot and there is a need for a manual update rather than the full auto-update (thankfully you also think same). I would like us to have discussion about it and then proceed. @harrisonzhu508 and @fvalka lets discuss this sometime today after 2 pm London time.

@s-mishra You are welcome! Sounds good. 3pm London time, or later, would work for me, I've just sent you an email with a meeting invite and my phone number. Looking forward to talking to you :-)

@s-mishra  great would be free to chat later. Could you forward me the invite? Thanks.

@harrisonzhu508 Sounds good. I've already had a quick call with @s-mishra and am working on splitting up the repos and cleaning up the changes to this repo.
Therefore I'll also close this pull request, since I've created a new branch in my fork for a clean commit history for which I'll open a new pull request.


chore(version): update gdk version to 1.1.0-dev

Issue #, if available:
Description of changes:
Update gdk to 1.1.0-dev as the next release is 1.1.0
Why is this change necessary:
Before parsing every command, tool checks for latest available version on github and recommends user to switch to the latest.
This limits us to not update the gdk version until the day of its release. This also means that the code on main branch with ongoing updates is still identified as its previous version. So, to improve this state, we append "-dev" to the upcoming version and recommend customers to upgrade only when it is not "-dev" type version.
How was this change tested:
Updated unit tests. Removed integration as it is not correct.
Any additional information or context required to review the change:
Checklist:

[ ] Updated the README if applicable
[ ] Updated or added new unit tests
[ ] Updated or added new integration tests
[ ] Updated or added new end-to-end tests
[ ] If your code makes a remote network call, it was tested with a proxy
[ ] You confirm that the change is backwards compatible

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

Closing this PR for now as we want to maintain a separate branch for development. Main branch will always contain the latest and stable version of the CLI.


Delete operators/workload-manager-operator directory

Deleted per partner request in support case 03854912.

Expected error. Merging.


Please standardize the long conditions must be extract to a variable, before the if statement, and the minimum length of the variable names

I would be sad if this style became the javascript standard code style
some line from sample file
if (equals(sha1(r.salt ? Buffer.concat([r.salt, r.k]) : r.k), key)) {
In my opinion this more readable in this format:
let k = r.salt ? Buffer.concat([r.salt, r.k]) : r.k)
let ok = equals(sha1(k, key)
if (ok) {

or
if (!pong.r || !pong.r.id || !Buffer.isBuffer(pong.r.id) || pong.r.id.length !== 20) {
let isNotPongIdDefinedOrNotBuffer = !pong.r || !pong.r.id || !Buffer.isBuffer(pong.r.id);
let isPongSizeCorrect = isNotPongIdDefinedOrNotBuffer && pong.r.id.length !== 20;
if (isNotPongIdDefinedOrNotBuffer || !isPongSizeCorrect) {

and who understood this snippet?
if (!r || !r.v) return true
var isMutable = r.k || r.sig

what mean the r, r.v, r.k or r.sig?
Please standardize the minimum length of a variable name - except in for cycle

You're right that the bittorrent-dht package probably isn't the best example to link from the readme anymore. Since the last refactor it's gotten quite terse and dense. We can find a better example.
As for the line if (equals(sha1(r.salt ? Buffer.concat([r.salt, r.k]) : r.k), key)) {, I agree that it would be better if split into more lines.
The readme does say: "Clever short-hands are discouraged, in favor of clear and readable expressions, whenever possible."
I don't think we should go so far as to ban one-letter variables, because that would warn on x, y, and z in graphics programs, or even i and j in for-loops. Line length is also impractical. Sometimes lines need to be long.

Fixed by linking to expressjs/body-parser instead.

Okay, the body parser is better example :)
So, I don't know how to write my feeling. Sorry if it doesn't sound
meaningful.
I belive a code beauty, and good only when it readable, and it says what it
doing. The short snippets above are just opposite this idea.
I accept one length variables in loops. It's okay, this is very old "rule".
But I can't accept "i" outside from loops.
X, y, z sound good shorthand for xCoordinate, yCoordinate, zCoordinate, but
it makes harder to the code, and the variables says what are they doing.
I have a legacy code, which contains variable "P_SAL". De you know what is
this? I think no. And what about "parameterSalary"? Have you more
information about the function of this variable?
By the same reason, "x" is coordinate as you
2016. dec. 9. de. 10:11 ezt írta ("Feross Aboukhadijeh" <
notifications@github.com>):

You're right that the bittorrent-dht package probably isn't the best
example to link from the readme anymore. Since the last refactor it's
gotten quite terse and dense. We can find a better example.
As for the line if (equals(sha1(r.salt ? Buffer.concat([r.salt, r.k]) :
r.k), key)) {, I agree that it would be better if split into more lines.
The readme does say: "Clever short-hands are discouraged, in favor of
clear and readable expressions, whenever possible."
I don't think we should go so far as to ban one-letter variables, because
that would warn on x, y, and z in graphics programs, or even i and j in
for-loops. Line length is also impractical. Sometimes lines need to be long.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/feross/standard/issues/714#issuecomment-265967329,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMfmNhzINQBjSXkvHZYupuwZOgFsnvRbks5rGRs2gaJpZM4LINcs
.

Sorry, I send accidental :(
So, x is a coordinate, or the missing peremeter from an equation? Or http x
prefixed header? Or force of x-ray? Etc...
2016. dec. 9. du. 7:09 ezt írta ("sarkiroka" sarki_roka@freemail.hu):

Okay, the body parser is better example :)
So, I don't know how to write my feeling. Sorry if it doesn't sound
meaningful.
I belive a code beauty, and good only when it readable, and it says what
it doing. The short snippets above are just opposite this idea.
I accept one length variables in loops. It's okay, this is very old
"rule". But I can't accept "i" outside from loops.
X, y, z sound good shorthand for xCoordinate, yCoordinate, zCoordinate,
but it makes harder to the code, and the variables says what are they
doing.
I have a legacy code, which contains variable "P_SAL". De you know what is
this? I think no. And what about "parameterSalary"? Have you more
information about the function of this variable?
By the same reason, "x" is coordinate as you
2016. dec. 9. de. 10:11 ezt írta ("Feross Aboukhadijeh" <
notifications@github.com>):

You're right that the bittorrent-dht package probably isn't the best
example to link from the readme anymore. Since the last refactor it's
gotten quite terse and dense. We can find a better example.
As for the line if (equals(sha1(r.salt ? Buffer.concat([r.salt, r.k]) :
r.k), key)) {, I agree that it would be better if split into more lines.
The readme does say: "Clever short-hands are discouraged, in favor of
clear and readable expressions, whenever possible."
I don't think we should go so far as to ban one-letter variables, because
that would warn on x, y, and z in graphics programs, or even i and j in
for-loops. Line length is also impractical. Sometimes lines need to be long.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/feross/standard/issues/714#issuecomment-265967329,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMfmNhzINQBjSXkvHZYupuwZOgFsnvRbks5rGRs2gaJpZM4LINcs
.

@sarkiroka Point taken. Feel free to avoid single letter variables in your code. But I think a rule that bans x, y, i, etc. goes too far for standard.

So, x is a coordinate, or the missing peremeter from an equation? Or http x
prefixed header? Or force of x-ray?

That is obviously going to be dependent on your context.
E.g
let { x, y } = myPosition

// ...

Clearly provides context as to x and y.
If you reached a scope complex enough such that x might have a conflict, you might instead do:
let { x: myX, y: myY } = myPosition

// ...

But,  no one is going to rename x in a vector datastructure,  to something other than x without a very good reason,  of which this isn't.

I see I think. But I think one character length variables obfuscate the code (outside from a loop - as I wrote before)
You say variable x and y are perfect for coordinate. But my question is "Where are you use a coordinate? In a graphics program? In this program which coordinate is this?"
A program never stay in a hello-world level. A live program is a more complex thing. In a graphic program - I think - you have not only one coordinate, but have many coordinates. I think a var x not enough clear to define which coordinate is this.
And I think you misunderstood me. I would like to standardize only the variable names, but not the structure parts. For example myLocation.x is good, but I think var x is bad in my idea.
And in an arrow function the hello-world level myValues.map(x => x * 2) it looks good, but what about type of x, and the mean of x? Is x an age? Is x a name of a city? Or what is the x?? The code doesn't tell me nothing. :(
And same the second arrow function where value is totally meanless name. And the myValues too.
If your name of array is ages or cities then maybe looks good the x because x is near to the name of the array. But I saw an arrow function today which was 30+ lines. In this case (real example, not hello-world level) the usage of the variable x and the array name is too far to clear and understandable code. But when the array is ages and the arrow function parameter name is age then this is clear trough the code.
I accept this is not an easy rule. But I sad if you ignore this important thing. But I can accept this too.

And I think you misunderstood me. I would like to standardize only the variable names, but not the structure parts. For example myLocation.x is good, but I think var x is bad in my idea.

I suppose I don't disagree with this,  as var x on its own implies a context, which, often is only isolated to defining singular coordinates as an optimisation.

And in an arrow function the hello-world level myValues.map(x => x * 2) it looks good, but what about type of x, and the mean of x? Is x an age? Is x a name of a city? Or what is the x?? The code doesn't tell me nothing. :(

It is a myValue... whatever that is,  the problem you are outlining is with the poorly named myValues, not its elements.


libsass binding was not found - error

I'm having trouble with an older version of FoundationPress. I'm getting the libsass binding was not found error which I know has happened before but it's been a while so I wondering if anybody would have some up to date help with this.
New installs of Foundation work fine, it's just older versions.
mac$ grunt watch
Loading "sass.js" tasks...ERROR
>> Error: The `libsass` binding was not found in /Users/mac/Code/project/wp-content/themes/FoundationPress/node_modules/grunt-sass/node_modules/node-sass/vendor/darwin-x64-46/binding.node
>> This usually happens because your node version has changed.
>> Run `npm rebuild node-sass` to build the binding for your current node version.

My system is set up as follows:
OS X El Capitan 10.11.2
node -v: v4.2.3
npm -v: 3.5.3
bower -v: 1.7.2
grunt --version: grunt-cli v0.1.13

I don't know if this helps but here is the package.json file.
{
 "name": "foundationpress",
 "title": "FoundationPress",
 "version": "1.5.0",
 "description": "FoundationPress is a WordPress starter theme based on Foundation 5 by Zurb",
 "keywords": [
   "FoundationPress",
   "WordPress",
   "starter theme",
   "Foundation",
   "semantic",
   "mobile first",
   "customizable",
   "responsive"
 ],
 "homepage": "http://foundationpress.olefredrik.com/",
 "bugs": "https://github.com/olefredrik/FoundationPress/issues",
 "license": "MIT",
 "main": "Gruntfile.js",
 "repository": {
   "type": "git",
   "url": "https://github.com/olefredrik/FoundationPress.git"
 },
 "devDependencies": {
   "bower": "~1.4.1",
   "grunt": "~0.4.5",
   "grunt-cli": "^0.1.13",
   "grunt-contrib-compress": "~0.13.0",
   "grunt-contrib-concat": "~0.3.0",
   "grunt-contrib-copy": "~0.4.1",
   "grunt-contrib-uglify": "~0.2.7",
   "grunt-contrib-watch": "~0.5.3",
   "grunt-sass": "~1.1.0-beta",
   "grunt-string-replace": "~0.2.7",
   "node-sass": "~3.3.0",
   "time-grunt": "~1.1.0"
 },
 "scripts": {
   "build": "grunt build",
   "grunt": "grunt",
   "postinstall": "bower install && grunt build",
   "watch": "grunt watch",
   "package": "grunt package"
 }
}

Thanks in advance, any help is appreciated.

I have resolved this issue so I will leave my solution here, which was found here

The libsass binding was not found in x
For context this error is almost always because npm install ran with a
different version of node than the version you're current running.
Since node-sass is a native module we build the c++ code on installation.
That code is tied to the version of node that ran the installation. If you
change your node version the extension needs to be rebuilt, that's what
npm rebuild does.

So there you go, my current version of node was different form the version of node I installed with and npm rebuild fixed the issue.

Sorry late feedback on this one. Glad to hear that it was resolved.


This gun in too heavy for a broken arm glitch even after respawn.

No error.

Related to #2. Fix is planned for this, I'll implement it at some point.


Add Pin definitions for Adafruit Feather ESP32-C6

Adds pin defs for C6, although possibly wrong analog mcu Ref Voltage.

Any idea the analog ref voltage for the c6? I've seen the c3 qtpy using 2.6v but struggling to find that in c3 tech ref datasheet, and therefore matching info for C6
C3 which should mention 2.6v - https://www.espressif.com/sites/default/files/documentation/esp32-c3_technical_reference_manual_en.pdf#sensor see <IP_ADDRESS>
Whereas C6 does mention vref of 1.1v for adc and then attenuated https://www.espressif.com/sites/default/files/documentation/esp32-c6_technical_reference_manual_en.pdf#sensor see <IP_ADDRESS>
Wasn't sure if 1.1v was correct. Either way I'll test the adc once I get it built so no stress

@brentru if you wouldn't mind casting an eye over this

I'm also fully aware that the documentation link is incorrectly pointing at the QTPY C3, as it's the only learn guide related to ESP32-Cx chips at the moment (feather c6 learn guide doesn't yet exist), and the process is identical so presumed that's the best we can link to for now.


GEODE-1262: Removed VM5-VM7 in AsyncEventQueueTestBase

Refactored all the test cases to use lower numbered VMs
VM5-VM7 were unused hence removed from AsyncEventQueueTestBase

+1


[provisioning] use bail!() instead of anyhow::Err...

A noop change to make the source code look and feel more consistent.
The end-to end FPGA personalization test still passes.

Addressing  some last minute review comments on the previous patch.

CI failures are un-related to this change.


Use APC cache for Docker and fix bug with changing component sort order

By default, the file cache is used, but this breaks the throttling detection when authenticating. The APC cache is tagged and will allow you to log in again after installation.
Fixes #594
Accidentally also pushed fix for reordering components not working when you have deleted components.

Oh man, I forgot I had this pull request still pending and also pushed a fix for changing component sort orders. Well, maybe you can have a look at it? It's quite a nasty bug, so you probably want it fixed.

Can you squash please?

Done

@joecohens can you look at this and merge if you're happy please?

@jbrooksuk Done :)


Cursed client shows more Inscriptions as Ord 0.6.0? Why?

I upgraded the ord client to 0_6_0 as it now supports cursed inscriptions.
After the full index I noticed that the cursed client seems to show more Inscriptions as the new Ord client. Can you tell me why? I was thinking the cursed Inscriptions was added and supported now in the main client?
Example: https://cursedordinals.com/inscription/030585bfe0caad9de831378beabdadd0dd7cdc79c7d536543b03dbed94906fadi0
On main explorer: https://ordinals.com/inscription/030585bfe0caad9de831378beabdadd0dd7cdc79c7d536543b03dbed94906fadi0

Ord will always be behind other cursed indexers.
So the ord index is only catching the cases of cursing so far handled by ord. Notably this excludes op-66.

yes exactly


Move email/password/rule validators to a common module

They are needed on the API and Dashboard.

Done in 46d8f692e3e9d0618767343ebeae3068b8922d3e.


Cow: Watch sohosg.com

Cow requests the watch of the watch_keyword sohosg\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sohosg\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


test PR

Motivation:
Explain here the context, and why you're making that change.
What is the problem you're trying to solve.
Modification:
Describe the modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

@netty-bot test this please

@netty-bot test this please

@netty-bot test this please


Create Marriage Allowance

I'm submitting a Support request/Bug
Which API is the issue related to?
Individuals Disclosures (MTD) API
https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/individuals-disclosures-api/1.0#Create Marriage Allowance

What is the current behaviour?
[http_code] => 400
[code] => INVALID_REQUEST
[message] => Invalid request

What is the expected behaviour?
Depending on the Gov-Test-Scenario either Sucessful response (201) or one of the error messages listed in the Error scenarios.

Other information
Trying to submit test data (example data from the Request section of the page but when I post it i am getting the 400 - INVALID_REQUEST. Was expected to see HTTP status 201. I added the Gov-Test-Scenario and tried "DEFAULT", "DECEASED_RECIPIENT", "CLAIM_ALREADY_EXISTS" and "INVALID_REQUEST" but i get the same response.
Am i doing something wrong?

I will suggest you look at the json body you are sending to make sure you are not sending an empty body or incomplete json as everything is working well at this end

Thank you for your response and really sorry for wating your time. You where correct.  Me being dense.


[ISSUE #4718] Update DISCLAIMER

Fixes https://github.com/apache/eventmesh/issues/4718
Motivation
EventMesh is no longer in incubator

hi @Pil0tXia  thanks for your review, i have updated the PR.


Modifying the CORES

I was just trying to experiment with the size of the CEP (remove a core). I tried removing the AES core and running CEP after generating the new bitstream and memory configuration file but it is failing to run all the tests now. Is this expected behavior? (Side note: I did not remake the bbl.bin file)
I only removed the instantiations for the AES module in the main Verilog file generated from the Chisel.
Any response would be greatly appreciated.

You'll need to update ./cosim/drivers/cep_tests/cep_srot.cc under the function LLKI_Setup to remove the following statement:

DisableLLKI(AES_BASE_K    );    EnableLLKI(AES_BASE_K    );

Rebuild Linux and run cep_diag as you did before.

Unfortunately, there is no documentation available other than what is in this repository.   I will note that both the current CEP and future versions are a mix of System Verilog, Verilog and Chisel generated verilog.  I am uncertain how that fits into your flow.

Thanks @bchetwynd, We only support Verilog at the moment. Thanks for the link to Chipyard. No I wasn't familiar-will take a look

@dralabeing - They seem have similar mission to your OpenROAD project. Good luck.

@bchetwynd We are already engaged with Chipyard (I wasn't aware of that). Thanks for your help.


feat(backend): adding OpenPaymentsServerRouteError

Changes proposed in this pull request

Adding OpenPaymentsServerRouteError that is caught by a new openPaymentsServerErrorMiddleware (this middleware runs as the last middleware), which will properly handle all of errors thrown in the Open Payments Resource Server routes. This means:

we wont ever need to use ctx.throw in the routes, we just throw OpenPaymentsServerRouteError which will automatically be handled in the middleware
all logging is standardized for errors: response code + request body, other details are properly logged
The new @interledger/openapi package exports OpenAPIValidatorMiddlewareError, which is now also handled explicitly in the middleware

Context

Work toward #1905
Checklist

[x] Related issues linked using fixes #number
[x] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass
[ ] Bruno collection updated

Is the open api request validation not working for you? I deleted the wallet address from the create incoming payment body in bruno and it makes it all the way to objecting before erroring because its missing

@BlairCurrey
That is coming from createWalletAddressMiddleware, which is called before the validator middleware.
Unfourtunatetly I still need to update createWalletAddressMiddleware to properly throw the new error type, but I was thinking of doing it in a separate PR since this already is getting a bit too big.
If you try changing, or passing an incorrect value for a different field, you should see the correct validation error:
{"level":30,"time":1712933544211,"pid":1,"hostname":"happy-life-bank-backend","method":"POST","path":"/incoming-payments","message":"Received error validating OpenAPI request: body must NOT have additional properties: sadfdsa","status":400,"msg":"Received OpenAPI validation error when handling Open Payments request"}


Error installing the xcc-dns-controller: {"error": "no matches for kind "Cluster" in version "cluster.x-k8s.io/v1alpha3""}

Short Description
Error installing the xcc-dns-controller:
{"error": "no matches for kind \"Cluster\" in version \"cluster.x-k8s.io/v1alpha3\""}

Steps To Reproduce
I'm following the Walkthrough steps in the README. In step 2 I install the xcc-dns-controller deployment but the pod goes into a crash loop - see attached logfile.
Expected Behavior
xcc-dns-controller should be up and running
Environment:

Cross-cluster connectivity version: master branch commit bc2e8e4c521e6d9dd92ab2de58552907a64bd9a5
Kubernetes version: (use kubectl version): k8s v1.20.7+vmware.1-tkg.1.7fb9067, kubectl v1.19.1+wcp.3
Cloud provider or hardware configuration: Tanzu Kubernetes

Logfiles
xcc-dns-controller-6b44dddc48-bkqgd.log

Sorry for the delayed response on this. We bump the dependencies for this repo so this error should go away once #111 is merged.


Lambda_u for CIFAR-100 on 40 asym noise

Hi, I haven't been able to find which hyper-parameters you use to train on CIFAR-100 with 40% asymmetric noise. Can you please tell me?
Thank you!
P.S: Awesome work!

Hi, we haven't performed experiments for CIFAR-100 with 40% asymmetric noise. You can find the values of lambda_u in table 7 of appendix. Thanks!

hi Li, when you  perform DMix on the clothing1M dataset, you say that for each epoch, only sample 1000 mini-batch samples, so whether i can understand that it never performs on the whole dataset?

Hi, we haven't performed experiments for CIFAR-100 with 40% asymmetric noise. You can find the values of lambda_u in table 7 of appendix. Thanks!


Replace wlr_key_state with wl_keyboard_key_state

There's no reason to have duplicate enums.

Breaking change: enum wlr_key_state has been replaced with enum wl_keyboard_key_state.

I've just realized that we have the same issue with wlr_button state. If this is deemed to be the direction we want to take I would be happy to make the parallel change there.

I think the original intention was to keep apart the protocol bits and the backend interface bits. But duplicating the enums doesn't really make sense to me, since wlroots is a Wayland compositor library, not a generic GUI library.

Found another: wlr_edge duplicates xdg_toplevel.resize_edge.

Note that Sway, at least uses wlr_edges to represent resize edges of non-xdg_toplevel things, e.g. Xwayland containers. (It seems to be used to similar effect in xwayland/xwm.c etc.)

Thanks!


feat(rmrk2): add rmrk2 latest lists and sales

Thank you for your contribution to the KodaDot NFT gallery.
NOTE:
as I make the queries at https://squid.subsquid.io/rubick/v/009-rc0/graphql, it get an error with interaction = "LIST" and return an empty result with interaction = "BUY", but I tested the query at https://squid.subsquid.io/snekk/v/005/graphql for snek type, it goes well. so I'm wondering if the subsquid service failed?  it will be grateful if any one please check the service then merge this PR.
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #5195 #5196
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Hello, the issue you have is caused by rubick,
will try to fix that tomorrow.
Or if someone has time happy to pay.
The fix was already done on snek before just check commits/PR
cc @roiLeo ?

The fix was already done on snek before just check commits/PR

which one kodadot/snek#157, kodadot/snek#158, kodadot/snek#144

cc @roiLeo ?

I'm still on series resolver, problem with rubick, indexer is slow and greedy in storage.
Do you know in which block rmrk2 start? or if we can use/restore some db

@roiLeo
https://github.com/kodadot/snek/commit/6135435d56b4ef129f312cddc4930134091573b2

Looks like it was also fixed on rubick
https://github.com/kodadot/rubick/commit/0a4ca040c91f107f3f7976f6cd0f6fdbacd0f932
and I merged main into rmrk2 yesterday
https://github.com/kodadot/rubick/commit/495278c770f8a6991e9043aa5d42f1384c4a1ca9
Lmk if this error is still present

Lmk if this error is still present

BUY interaction still return empty

If the LIST bug is not present I am happy to merge it,
I opened issue

https://github.com/kodadot/rubick/issues/190

to investigate BUY issue

pay 15 usd

😍 Perfect, I’ve sent the payout
💵 $15 @ 33.48 USD/KSM ~ 0.448 $KSM
🧗 EZiu1PjV2j2JHKxY6mHnFwwCRCoV27uHKQSkKXATSh1srJT
🔗 0x3be696386ae638a524cc2535d99e85d55ced9e540d0052f15fcf49369bae4ec1
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

Seems I don't see new lists on landing so this doesn't work?
https://github.com/kodadot/nft-gallery/issues/5196#issuecomment-1474086841


Upgrade the Plugins to be downloadable

If you try to find any jme-plugin under 3.1 (e.g. jme3-ai) those packages don't appear in the dialog.
The reason is that they are under 3.0 in http://updates.jmonkeyengine.org and have to be copied and maybe modified for the new version.

I doubt we can fix that. Someone from the core team will have to copy that over...

Yeah but they'll do that once we have clear instructions on what to do.
Actually we should even re-compile those plugins (there is a jmonkeyengine-contributions repo) and upgrade them and then simply pass them the binaries.

Closing as currently we don't host plugins anymore


fix: improve the ChatConversationalAgentOutputParser filter for markd…

this pr fixes this issue reported by @italojs  it changes the filter logic of the ChatConversationalAgentOutputParser so it can better handle markdown responses,in particular, having json code snippets inside the responses, it also improves dealing with other code snippets beside json formats.

Thanks for this!
Do you think something like #2374 might help you?

@jacoblee93 I did some tests with the latest version 0.0.133 but the problem remains :(, the ChatConversationalAgentOutputParser cant handle json code snippets inside the response
/home/cesardiaz/NodeSource/ns-ai-service/node_modules/langchain/dist/agents/chat_convo/outputParser.cjs:59
            throw new output_parser_js_1.OutputParserException(`Failed to parse. Text: "${text}". Error: ${e}`);
                  ^

OutputParserException [Error]: Failed to parse. Text: "{
    "action": "Final Answer",
    "action_input": "Sure! Here is an example of a package.json file with the necessary commands to connect an app to the N|Solid Console:\n\n```json\n{\n  \"name\": \"my-app\",\n  \"version\": \"1.0.0\",\n  \"description\": \"My N|Solid Console connected app\",\n  \"scripts\": {\n    \"start\": \"node --require nsolid/register app.js\"\n  },\n  \"dependencies\": {\n    \"nsolid\": \"^3.0.0\"\n  }\n}\n```\n\nIn this example, the `start` script is configured to run the `app.js` file with the `nsolid/register` module required. This module enables the app to connect to the N|Solid Console.\n\nMake sure to replace `app.js` with the actual entry point file of your application.\n\nLet me know if you need any further assistance!"
}". Error: SyntaxError: Unexpected token \ in JSON at position 0
    at ChatConversationalAgentOutputParser.parse (/home/cesardiaz/NodeSource/ns-ai-service/node_modules/langchain/dist/agents/chat_convo/outputParser.cjs:59:19)
    at OutputFixingParser.parse (/home/cesardiaz/NodeSource/ns-ai-service/node_modules/langchain/dist/output_parsers/fix.cjs:79:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async AgentExecutor._call (/home/cesardiaz/NodeSource/ns-ai-service/node_modules/langchain/dist/agents/executor.cjs:144:26)
    at async AgentExecutor.call (/home/cesardiaz/NodeSource/ns-ai-service/node_modules/langchain/dist/chains/base.cjs:104:28) {
  output: undefined
}

Hey @Cesar-M-Diaz I opened #2402 with a simpler alternative that passes the tests - want to have a look?

Sure

@jacoblee93  reworked the solution and added more test cases PTAL and let me know what you think :)

Looks good, small nit and can you run yarn lint and yarn format?


Small issues about the MVLR

Some stuff to discuss during the next meeting:
I've been playing around with the Multivariate Linear Regression and there are some things I think could be improved upon:

Usage of kwargs.get(...) instead of listing the arguments in __init__. I don't like it because now I don't get tab completion in a notebook. I get that the code looks cleaner but I don't think it is worth it.
I get why the analysis isn't run upon initialization, but we should add some explanatory errors. This was my use case: mvlr = MultiVarLinReg(...); mvlr.plot(). It threw me: AttributeError 'MultiVarLinReg' object has no attribute 'fit'. Took me a while to understand why that was happening. We could fix this by making fit a property that tries to return _fit, but tells you to run the analysis first if it can't find it.
The Demo notebook also throws this AttributeError
There are some Pandas warnings about values be set on slices of DataFrames.

thanks for the feedback Jan, I'll improve the function


Can't add path dependencies in virtual project

Steps to Reproduce
mkdir relativebug
cd relativebug
rye init a
rye init main
cd main
rye add a --path ../a
# Added a @ file:///home/user/ryes/relativebug/main/../a as regular dependency

cd ..
rye init main2 --virtual
cd main2
rye add a --path ../a
# error: Failed to run uv compile error: Distribution not found at: file:///a

Expected Result
In rye 0.29, it adds the dependency "a @ file:///${PROJECT_ROOT}/../a",  to the virtual project (here "main2").
Note that a virtual project like main2 or a build_system=pdm project behave the same way, they both use the PROJECT_ROOT relative paths.
Actual Result
Error message
# error: Failed to run uv compile error: Distribution not found at: file:///a

Version Info
rye 0.30.0
commit: 0.30.0 (c7cbdd955 2024-03-19)
platform: linux (x86_64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: true
Stacktrace
No response

it's possible that #897 caused this bug

I'm struggling to construct a url:Url which seralizes to file:///${PROJECT_ROOT}/../a. When I use url.set_path(), it shortens the .., resulting in file:///a. Also url::Url::from_file_path() causes a panic on Windows. The only workaround I've found is to force using absolute path on Windows, as shown in the original commit of #897.

I see. Maybe we should avoid using the Url type if it can't represent this on Windows, maybe we can do so only for relative paths? I could look into that kind of change.

Uv supports relative paths directly, https://github.com/astral-sh/uv/pull/1027   but that's a divergence from pip and requirements syntax I think

Reverting just #897 doesn't help, there's also a change related to uv that contributes to this.
The ${} syntax ends up url escaped like file:///$%7BPROJECT_ROOT%7D/../a  - multiple places in rye use format_requirement to undo this escaping, and if that's done when rye uses uv to resolve this URL too, that will work like it did previously.
Using relative paths instead of these strange URLs is viable at least if using only uv in the future, otherwise these URLs seem like the most "portable" way to handle relative paths right now.
It would be good to update the pep508_rs crate and use VerbatimUrl in the new version (assuming it can do this better?), but it's not a trivial upgrade.

Hey ! Just following up on this, I'm trying to add a module with a relative path, but I end up either with a broken path, or with an absolute path (which obviously can't be put inside of a git repository for anyone to work on).
Here the details of what I want to do.

Command :
rye add tester-common-lib --path "../mysuperlib"

Output :
error: Failed to run uv compile error: Distribution not found at: file:///mysuperlib
. uv exited with status: exit status: 2

The following command will work, but, as the parameter suggest, it will create an absolute path in the pyproject.toml file, which I can't push into a repository for others to work on..
Command :
rye add tester-common-lib --path "../mysuperlib" --absolute

Pyproject content :
"mysuperlib @ file:///home/redat00/Documents/perso/it/app/app-api/../mysuperlib",

Would love for the solution that @bluss wrote in #928 to at least be reviewed if possible. In my case this feature is important for me, and I would love to use Rye on my project ! :pray:
Thanks!

@redat00 The workaround I think you can use right now is to update the pyproject.toml directly, the problem here is with rye add and not other parts of needed steps (like rye sync) - at least I don't know of any problems there. Consider if you want to use a (non virtual) pdm build backend for the root instead, since then it should be more well defined how standard Python tools will treat your pyproject.toml-defined project.

Indeed I was able to make it work with the latest version of Rye by manually adding the following :
    "mysuperlib @ file:///${PROJECT_ROOT}/../mysuper",

Thanks !


Add more and more DevOps workflows to improve the project

Is your feature request related to a problem? Please describe.
I would like to request the contributor to add more devops CICD workflows which can improve the health of the existing project
Describe the solution you'd like
NaN
Describe alternatives you've considered
NaN
Additional context
To learn more about the tools, Check out https://landscape.cncf.io/

Hi,
I'd like to work on this issue. Could you please assign it to me?
What's the specific problem we're addressing here, and do you have any initial thoughts on potential solutions?
Thanks,

Hi, I'd like to work on this issue. Could you please assign it to me? What's the specific problem we're addressing here, and do you have any initial thoughts on potential solutions? Thanks,

Yes @ptiwari6239, The idea is to automate certain tasks such as

Releasing new releases when any major changes are there
automatic labels assigner
bots
and many more ideas which you can think that will improve this project

OK, as a beginner I would like to try. Can you please assign it to me?
I can create a Jenkins pipeline for the same

Here you go @ptiwari6239

Closing this issue for being stale for a pretty long time @ptiwari6239, let me know if you want to resolve it


When Python client?

^ :)

Hey @dsmurrell, we have currently some clients on our roadmap like C#, Kotlin, Python, Rust and Swift, if others are also interested in Python please let us know with a like, then we will consider this for our roadmap

Ok, awesome. Thank you!

+1 for Python

@dsmurrell @madhavajay just FYI we have finally released a Python client using pydantic, you can also get a first preview directly at our generator s. https://typeapi.org/generator


"No test results found"

Hello,
I've been successfully using ghprb and I am pretty happy with it!
One weird think I am getting is the "No test result found".
I found the correct line for where this gets used:
https://github.com/janinko/ghprb/blob/85eec74b75ade958e533eba8988427c3d3950b86/src/main/java/org/jenkinsci/plugins/ghprb/manager/impl/GhprbBaseBuildManager.java#L178
This test result seems like a good idea and I'd like to use it. How do I generate the correct test results?
Also, do you know if it would be possible to include the duration of the test in the first part of the message (that I was able to customize with a build-trigger for SUCCESS).
Thanks for that plugin anyway!
Co

I'm having the same problem. I'm using JUnit plugin, but I did have to downgrade to version 1.0 because of another error.
I get this job console output:
<...>
Running tests...
----------------------------------------------------------------------
.......
----------------------------------------------------------------------
Ran 7 tests in 0.004s

OK

Generating XML reports...
Setting commit status on GitHub for https://github.com/<...>
Setting status of <sha> to SUCCESS with url <job url> and message: 'Build finished. No test results found.'
Using context: <context>
Finished: SUCCESS

Jenkin's server logs show this:
Aug 04, 2015 2:19:34 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002 data: 83CBF4C59F040199
Aug 04, 2015 2:19:58 PM javax.jmdns.impl.DNSIncoming readAnswer
WARNING: There was an OPT answer. Not currently handled. Option code: 65002 data: A2F59F1EC50EB515
Aug 04, 2015 2:20:17 PM hudson.model.Run execute
INFO: core_all_pull_requests #26 main build action completed: SUCCESS

(I'm pretty sure the OPT stuff is unrelated)

This seems to happen for me as well with Jenkins 1.624, not sure if the Jenkins version has anything to do with it.  If I manually run a job by passing it a build parameter, it will ignore my custom Commit Status Context but it reports the build number and length of time it took to build.  When triggered by GitHub, it uses my custom Commit Status Context but I get 'Build finished. No test results found.'

Same here.

This looks like a bug to me. Previously the code should have called build.getTestResultAction(), however that is now deprecated. Now the code should call build.getAction(AbstractTestResultAction.class).
The problem is that the code calls build.getAction(TestResultAction.class), but this isn't present in the build result in some cases. In my case, only a AggregatedTestResultAction is available. Thus the code for aggregated results works, but the code for the one line summary does not.

Having the same problem here...
@jsight - do you know have a fix? :)

Just ran into this same issue on Jenkins 1.625 Plugin 1.29.4.  Hoping there is a fix soon.  @jsight - submit a pull request with the fix you mentioned?

Version 1.29.5 fixed the issue by applying @jsight suggested code change: Build finished. 132 tests run, 0 skipped, 0 failed.
I believe this ticket can be closed now.

Hi @slaunay - thanks. I just tested with the new version but still seeing the issue...

@jameschao what kind of test report are you using in your job?

Hm, I didn't explicitly set the report type for the job (maybe that's the problem?).
It's just a custom test runner script for the app that I run in one of the Build Steps. Previously, GHPRB would report "Test PASSed" or "Test FAILed" depending on the exit code of the script/Build Step. Is that not sufficient?

I believe the status code of your script should dictate if the build passes or fails but the test results are only available if you are using a test report facility (e.g. Maven) or at least something that populates an AbstractTestResultAction in the build object.

OK I'll give that a try. Thanks.

We are using v1.29.7 and are seeing the same thing even though we are explicitly setting the "Commit status Build result" message.
We aren't running tests that can produce JUnit xml files and we aren't using any test reporting facility because we don't need to. The script that performs this check does exit with a non-zero status code when it fails.
What, if anything, can we do to avoid having "No test results found" in the notification box?

I'm using 1.29.8 and I don't see reports. I'm using mocha to run tests:
  "scripts": {
    "test": "mocha --compilers js:babel-core/register src/**/*spec.js"
  },

Given that mocha has a wide array of reporters, is there a way to use any of them for reporting the status in way that's understandable by ghprb?

Ok, I tried mocha-junit-reporter which produces JUnit style xml but still no luck.

We are now using other scripts that rely on non-zero exit codes to signal a failure and we are hitting this issue again. The plugin should not force the use of junit to report back the status on the Pull Request.
Any workarounds or suggestions to be able to not have that status as "no tests results found" would be great

ok to test

So in order to get test results a Test action has to be present on the build.  Without that it will always return the No Tests found text.  I just added a PR that would turn off the test result text by default, and allows you to specify if results should be added.  jenkinsci/ghprb-plugin#280

So in order to get test results a Test action has to be present on the build. Without that it will always return the No Tests found text. I just added a PR that would turn off the test result text by default, and allows you to specify if results should be added. jenkinsci#280

I use pytest to run some tests in a pipeline stage. There are some passed and failed tests. But I get No tests found!


Introduce GAlette

GAlette is annotation triggered tracking along with Google Analytics for Android.
https://github.com/uPhyca/GAlette
Just I want to use it :smiley:

Now it seems better to use Firebase analytics.
So I close this issue.


Python bindings

Great library! Thank you for the awesome work!. Is there any python bindings?

There are a couple of vlfeat ports to python:

https://pypi.org/project/vlfeat-ctypes/
https://pypi.org/project/pyvlfeat/

Anyway, You can port easily some function or functionality with c-python
https://github.com/faturita/BciSift#usage


php extensions should work as well

Does not work with html in a file with a php extension (.php)

Also .jsp files, which often contain HTML code in them.  If you change the page type in the bottom right corner to "HTML" it works just fine, but that's a hassle.  Seems like adding support for other file types that could contain HTML would be a great addition.  Thanks!

I've worked around this by commenting out the grammar checking code entirely.

That's a legit feedback. We could probably use an option to disable and/or customize grammar checking.


Deal with Duality Physics Units

Right now, Duality converts all physics units from Farseer (SI units) to its own. This was introduced to account for the fact, that one Duality length unit equals one pixel in default Camera settings, which would result in objects being far too large in Farseer. Similarly, conversions for mass and time were introduced. In order to keep it all consistent, Duality converts not only lengths, durations and masses, but all units.
For most of these conversions, the resulting values are still in a reasonable range. However, when it comes to Inertia (kg*m²), the conversion to Duality usually yields values around 1.000.000, which is far too high - especially given the fact that they're stored as floats.
Problems that arise from this:

Custom physics calculations can fail due to precision issues when performed in the wrong order.
It feels counter-intuitive to deal with values that high, seems "wrong" to the average user.

These problems should be addressed, though unfortunately, this is a breaking change that requires a major version step:

PhysicsConvert exposes a set of constants, requiring all dependent plugins and libraries to be recompile on change.
Explicit Mass values for RigidBodies are serialized in Duality units, thus are interpreted wrong when changing the underlying conversion ratios.

Even though it is, at this point, unclear how to solve this issue the best way, the system should be adjusted to make changes possible without breaking anything:

PhysicsConvert should be a set of static readonly values rather than constants.
Store explicit mass and inertia values in Farseer units, not Duality units.

The above should be implemented regardless of the actual solution to the problem.

Actually, precision is probably not an issue. Tests seem to show that calculations can still be performed accurately even with much higher conversion ratios:
const float Conversion =<PHONE_NUMBER>0000000000000000f;
float original = 12.3456789f;
float converted = original * Conversion;

// Perform calculations with original and converted values
original *= 3.1415f;
original /= 1723.6f;
converted *= 3.1415f;
converted /= 1723.6f;

float recovered = converted / Conversion;

Console.WriteLine(Math.Abs(original - recovered).ToString());

// Prints out 1.862645E-09. Removing one zero from Conversion reduces the error to zero.

This issue might be less severe than expected previously.

With primarily the usability issue remaining, maybe this could be solved by not exposing Mass and Inertia in the editor at all, but instead providing MassMultiplier and InertiaMultiplier properties, where 1.0f is equal to the automatically calculated mass. This would also have the added benefit of expressing user intent more accurately when it comes to scaling and adjusting objects later.

On second thought, setting an explicit Mass  in the editor should still be possible. Especially the Mass-setting is quite frequently used. Also, storing these values in Farseer units persistently seems wrong, because a Duality object is stored, not a Farseer object.
Switching from PhysicsConvert constants to static readonly fields still seems like a good idea. In addition, it seems that density currently doesn't apply any conversion rates, the existing rates are not used at all. This should be fixed, and its implications investigated.

Investigate whether it would make sense to normalize conversion rates to 1.0f.

Mass: The current rate of 100.0f seems arbitrary, as one kg might as well be used as one kg in Duality, rather than 100 "Duality units of mass".
Time: Would only affect velocity and similar measures, and a per-second measure would be just as natural to Duality simulation as a per-frame measure.
Length: This is the one that needs to be checked most closely, as Duality is pretty close to a pixel coordinate system, and one pixel being equal to one meter could be problematic. 100 pixels equaling one meter seems much better.

On a different note, consider the possibility of making these conversion rates editable in the application config.

While at it, also consider making other physics settings such as iteration counts editable. All physics settings should be editable on a per-scene basis.

Immediate ToDo

Investigate why shape density is not using any conversion rates and fix it, if it should use them.
Transform all PhysicsConvert fields from constant to static readonly.
Consider normalizing conversion rates to 1.0f for time and mass.
Fix any affected v3.0 scenes and prefabs.

Check physics sample
Check DualStickSpaceShooter sample
Check FlapOrDie sample

Consider preparing to make conversion rates editable in global or per-scene scope.

Would involve refactoring this to use a conversion rate struct

Writable public static ToDuality / ToPhysical fields?
Public static getter-only wrapper properties?

Would have to apply the same refactoring to AudioUnit for consistency reasons.

Progress

Density conversion rates need to be applied the same as other conversion rates are.
Applied the density conversion, but set it to 1.0f so it doesn't break anything yet.

Immediate ToDo

Transform all PhysicsConvert fields from constant to static readonly.
Consider normalizing conversion rates to 1.0f for time and mass.

Density will be a problem, as it would technically express kg per "pixels"², which would need to be ridiculously low to make sense.

Could be solved by explicitly using a different unit in ShapeInfo density, such as kg / square of 100 "pixels".

Fix any affected v3.0 scenes and prefabs.

Check physics sample
Check DualStickSpaceShooter sample
Check FlapOrDie sample

Consider preparing to make conversion rates editable in global scope.

Would involve refactoring this to use a conversion rate struct

Writable public static ToDuality / ToPhysical fields?
Public static getter-only wrapper properties?

Would have to apply the same refactoring to AudioUnit for consistency reasons.
Might not be a good idea to make these values editable, as this really seems to be somewhat of a corner case.

Progress

Changed physics and audio unit conversion fields from const to to static readonly.
Considered editable global conversion rates and concluded that they're too little gain for too many problems right now.
Investigated normalizing conversion rates to 1.0f for time and mass.

Velocities and forces feel way too high (100-1000)
Masses feel a bit low, but still okay (0.2 - 2.0)
Either keep the old scale or find a way to adopt a completely unscaled model.

Postponing the issue to later in v3.0.

Immediate ToDo

Investigate ways to adopt a completely unscaled model and integrate it with Dualitys "pixel"-based world scale.

Would it be viable to introduce a new WorldScale float that is applied only to positions and geometry definitions, but not to anything else?

Mismatch between RigidBody velocity and Transform velocity.
Also seems weird to scale only some units. Pitfall for manual physics calculations.

Would it be viable to introduce a new WorldViewScale float that is applied to all rendering, allowing to use physics units in a 1:1 scale while scaling up rendering instead?

Maybe do a prototype in a branch.
Do this in a separate GitHub issue.
Where should the scaling factor be applied? Camera? DrawDevice? RenderSetup?

Otherwise, close this issue and keep the current scale.

Introducing a physics-only world scale for positions and geometry definitions wouldn't be a good idea, for the reasons stated above. Feels like it would complicate the issue, rather than solving it. As an alternative, now investigating the possibility of view scaling and aligning the Duality coordinate system with the physics one in issue #541.
Since it will likely be either this or no further changes, I'm closing this issue.


Converting MP4 to MP3 itunes song length doubled

when converting MP4 to MP3 itunes song length doubled but windows properties are correct.  is this a bitrate issue?  thoughts?
       `Dim inputFile = New MediaFile(tbOutputFolder.Text + VideoMP4)
        Dim outputFile = New MediaFile(tbOutputFolder.Text + AudioMP3)

        Using engine = New MediaToolkit.Engine()
            engine.Convert(inputFile, outputFile)
        End Using`

I just want to point out, this library may not be CLS compliant and one of the parameters that you're using may be being meddled with because of it, though I can't be sure. If anyone else has any ideas, would love to hear them


Create pagination

Is your feature request related to a problem? Please describe.
When you have a lot of data, the query load all the data.
Describe the solution you'd like
Create pagination on the backend and connect this to frontend
Describe alternatives you've considered
NONE
Additional context
NONE

I'm working in this, now I created the pull request for both projects (UI and API)
UI: https://github.com/itsalb3rt/cloudcsv/pull/52
API: https://github.com/itsalb3rt/cloudcsv_api/pull/8


Assign topic.parent to pubsub instance.

Topic isn't a ServiceObject (anymore?), so it doesn't have the parent property. That is used in the util.isCustomType function.

Coverage remained the same at 100.0% when pulling 0c8befebbab555ec377b2528d32b73d52a6abbe6 on spp--pubsub-put-parent-back into 1a75b691e508bee40baafd2022dd10390edbaa04 on master.


extra clickable area of import buttons

Describe the bug
The buttons like import from vs code and upload CTA file have an extended clickable area. Therefore, the buttons are clickable beyond their content.
To Reproduce
Steps to reproduce the behavior:

Open the template library section of cicero-ui
hover on the import from vs code button beyond its content
Notice the extra spacing

Expected behavior
The user should be able to click only on the content of the text and not beyond it
Screenshots

Desktop (please complete the following information):

OS: Mac OS Catalina v10.12.0
Browser chrome
Version 80.0.3987.149 (Official Build) (64-bit)

@irmerk @DianaLease,discussed this issue already on slack, filing a PR for it.

@nik72619c could you copy over the conversation or a summary of it?


fix: use .exe extension for Windows platform

Closes #48
Not tested because I can't seem to get installing dev extensions to work on Windows.

Biome fails to start on windows and this would be a huge addition. To get it to work on windows you need to install cmake (recent change to building) and have it in path. See: https://zed.dev/docs/development/windows
An issue on windows now is (with config path set manually to be correct)
Language server error: biome

failed to spawn command. path: "C:Users\\RamiPellumbi\\Documents\\code\\project\\node_modules\\@biomejs\\biome\\bin\\biome", working directory: "C:\\Users\\RamiPellumbi\\Documents\\code\\project", args: ["lsp-proxy"]
-- stderr--


Portal gem not listed under Gems tab

The Portal gem is not listed under the Gems tab.

That's odd. Might be to do with the fact that you have it socketed in the Tabula.

Could you attach your stash, please?
There will be a folder next to the procurement executable that will have your alias on it and it will be full of bin files.
Could you zip it up and attach it too this issue and I'll see what I can do.

Hmm, I noticed that my currency was showing the wrong amounts so I deleted the <user> folder  to force a re-sync of the stash tabs and now I'm getting this crash. :-/
DebugInfo.log

Here are the old, stale .bin files zipped up. Note: .zip file is ~8 MB !
previous_bin.zip

:+1: For fixing this!
Had a minor error of login not working but that was solved via:

rename account folder (to force a redownoad)
Use the latest POESESSID cookie


Generalize ActionSheetManager items URL

Not ready but want to start conversation.  (i.e. not sure if to change key name to urls from url)
I want to be able to share more than 1 image at a time, the current code only lets one use one url, but the API allows for much more.
Some places already make this an issue:
https://github.com/EstebanFuentealba/react-native-share/issues/85
And I also need to be able to email/send on iMessage, etc with multiple URL resources.

And I've just tested this locally in my project and its works correctly.

@hramos Ping, can someone take a look at this please?

Sorry @fxfactorial, we do have quite the backlog of PRs. Can you think of anyone that has worked on this file before that may be able to review the changes?

@hramos Sure, I understand that RN is a big project, and probably people are overworked, thank you for looking at all.
I think this would be like a couple of moments of @nicklockwood 's time to glance over.

@hramos another friendly ping

@fxfactorial hey, it looks like this has introduced an issue. Here's a simple repro:
require('ActionSheetIOS').showShareActionSheetWithOptions(
  {message: 'TEST!'},
  // or {url: 'http://google.com'},
  (error) => {},
  () => {},
);

Results in a red screen.

We're going to back out this breaking change.


Update card header font styles

Per https://github.com/patternfly/patternfly-next/issues/626#issuecomment-466500428

The Integreatly team is recommending that the H4 style (fourth level title) is used as the base style for the card header as this provides more weight and visual difference.

cc @mceledonia

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: