Improve code error handling

Some functions are doing something if xrootd return code is not nil, but the nil returning parameters are going further in the execution...
Please look at @sbinet proposals here: https://github.com/go-hep/hep/issues/758
And be more defensive: if something returns an unexpected value just clean up the state in the function and return immediately with a meaningful return code for the calling function.
This way only valid execution is ongoing: errors and corner cases as treated ASAP and do not pollute the rest of the execution...

adding missing returns in commit 2cfbc55
(line 858 and line 880)

Modification of the code so that it is more defensive at the level of opening xrootd.client and open. (Commit 242a25b )

It should be checked that there is no leak (client or file not closed) at the end. Unfortunately i don't know how checked that.

that's usually done with a defer statement.
e.g.:
func foo() {
    f, err := os.Open(...)
    if err != nil { panic(err) }
    defer f.Close() // method will be called as soon as code path exits the foo function.
    // ...
}

see: https://tour.golang.org/flowcontrol/12

Thank you @sbinet
I use defer each time I make a xrootd.client or I open a file to be sure that it is closed (except one which is used in other function normally closed at the end with a function).


Is there a procedure somewhere for how to add or change accessories to an existing homekit database?

I add or change stuff to my Insteon network or in my ISY. Is there a procedure for getting these changes (or new devices) to show up in homekit without having to delete the homekit database and persist folder in homebridge? So far that's the only way I've been able to get new devices to show up, but it means recreating all of my rooms from scratch.

New devices should show up -- at least they used to. The one case where it
won't is if you exceed the maximum device count. Are you close to the
maximum? I've seen once you exceed the maximum event once in a setup things
get wonky until you do the rest as you describe below.
If not, then it's a homebridge issue and we'll need to seek assistance from
the main project.
On Thu, Mar 24, 2016 at 3:41 PM fahrvergnuugen<EMAIL_ADDRESS>wrote:

I add or change stuff to my Insteon network or in my ISY. Is there a
procedure for getting these changes (or new devices) to show up in homekit
without having to delete the homekit database and persist folder in
homebridge? So far that's the only way I've been able to get new devices to
show up, but it means recreating all of my rooms from scratch.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/rodtoll/homebridge-isy-js/issues/28

Upgraded and can no longer connect.  Reset my Homekit from inside IOS and deleted the persist db, restart homebridge, but nothing.  Homebridge shows it's ready, but device never connects when I try to add accessory.

It seems like maybe this was an issue with an older version. I just upgraded everything (homebridge and the isy plugin) and did some testing and it works as expected.


Implement Browser Predefined Data

Please list all requirements of data for the browser DApps list that are required in browser features.

Load predefined dapps from this resource: https://static-data.subwallet.app/dapps/list.json
Filter feature dapps to show

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-223-1067-merge-2023-10-11T05-51-12.ipa
Device test: IP 11
Validation passed.


Update crawler-user-agents.json with AcademicBotRTU

AcademicBotRTU (https://academicbot.rtu.lv<EMAIL_ADDRESS>

thanks for your contribution, there is a already a pattern for Siteimprove.

thanks @omitech


Add ability to scrobble to libre.fm as well as last.fm

Enable scrobbling to both libre.fm and last.fm

Created base scrobbler to be extended from
Register scrobblers on startup (only prompt for libre.fm the first time)
Added ability to reauthenticate for both in the options page

Refs #37

@inverse sorry it took so long. I've just merged a ton of PRs. Can you please rebase?

@david-sabata no worries - will do this when I have some time soon. Let me know if you have any feedback on the implementation.

so you can import track back and forth, if so neat x Geeks Rock!!!!!!!!!!!!!!!

Fixed issue with the auth notifications not opening new tabs properly for the second one, also switched out self for .bind() #learning :wink:

Well I am clueless getting a clue lol thx
On Sat, Oct 17, 2015 at 7:13 AM, Malachi Soord<EMAIL_ADDRESS>wrote:

Fixed issue with the auth notifications not opening new tabs properly for
the second one, also switched out self for .bind() #learning [image:
:wink:]
—
Reply to this email directly or view it on GitHub
https://github.com/david-sabata/web-scrobbler/pull/756#issuecomment-148918401
.

Are there any changes needed to bring this functionality in?

May be this is worth a new issue … in Google Chrome Version 49.0.2623.87 on Amazon Music Library the scrobbler icon in the address bar is NOT drawn, so there is no control whether it is working or not.

Is there a time plan, when scrobbler will support LIbreFM?

Manually applied 640f442354e6bb772cc0f0dccb05f16f912ade91
@david-sabata when do you think we could bring this in? the longer we leave it the more conflicts we will have to resolve.

Any progress on this being merged into master to be published?

@myano I'll need to fix the merge conflicts and ideally would like someone else to review the code and behaviour.

@inverse I tried your latest commit in the multi-scrobble branch of your fork. I found one problem.
It doesn't play well if one only sets up authentication for Libre.fm and not Last.fm. It errors out in the code and gets stuck on "Looking up ."
I sort of hacked up my local copy and got it working, but I basically just disabled Last.fm entirely in my modification of your code.
I'd love to see an option to toggle Last.fm/Libre.fm on/off, and not require somebody who is scrobbling to Libre.fm to login into Last.fm as well.

@myano Interesting idea - when implementing this feature I considered it more of an enhancement to last.fm scrobbling.
Will certainly have to make some changes to the options to have these sorts of things toggleable. Would certainly make things a lot nicer.

I got 'Connect Last.fm notification' after checking out 'multi-scrobble' branch. Of course, I've authenticated before updating the extension. I've also noticed this:
LastFM.getSession(function(sessionID) {
	if (sessionID !== 'undefined') {
		Notifications.showAuthenticate(LastFM.getAuthUrl.bind(LastFM));
	} else {
		console.info(LastFM.getLabel() + ' Session ID ' + 'xxxxx' + sessionID.substr(5));
	}
}.bind(LastFM));

I don't undestand the reason of check sessionID !== 'undefined'. It is should be !sessionID, isn't it?

There's a lot of work that needs to be done before we can merge this retrospectively looking at it.

it's very dependent on last.fm to get track information
The notifications need to be fixed - currently only bound on startup and not once authenticated
Options to toggle on and off
Error handling, ideally we would throw errors when no scrobblers are bound as to prompt the user.

This is definitely something I can work on but time is quite limited these days with family so bear with me.
@alexesprit  Do you not think that's suitable?

@myano Could you try my branch now? It should work without the need to have last.fm authenticated.

@inverse I just tried it again using the latest commit from your multi-scrobble branch and I'm still getting the 403 (Forbidden) error in the console.
baseScrobbler.js:161 auth.getSession failed: Forbidden, error(anonymous function) @ baseScrobbler.js:161

@inverse now it works fine after update. Everything else looks good. Thanks! 👍
Would be good if you add toggleLove for both scrobblers.

I noticed the change I did in #900 is missing. But adding callback call will produce continuous 'Connect your Last.fm account' notification, if user uses Libre.fm and don't use Last.fm. W/o calling this callback user will be noticed of authentication only on first launch after the extension installation.

I just tried the latest commit in the multi-scrobble branch on @inverse 's fork and it seems still stuck on "Looking up (name of song)" and isn't scrobbling. I'm installing it view an "unpackaged extension" on Windows using the latest stable Chrome and I'm only auth'ing with Libre.fm.

@myano I've tested the multi-scrobble branch and it works well with using Libre.fm only. Can you provide the extension logs?

@alexesprit I just tried it again but I reloaded the extension in Chrome and it appears to now be working with only Libre.fm configured. It's scrobbling and sending the "Now Playing" information. :D

@inverse could you please review the changes I made and accept them if possible? https://github.com/alexesprit/web-scrobbler/tree/multi-scrobble

@myano

I just tried it again but I reloaded the extension in Chrome and it appears to now be working with only Libre.fm configured

Seems like the extension should be reloaded after authentication. It doesn't authenticate on the fly.
I'm trying to fix it right now, but have no success.

@inverse @alexesprit thank you guys so much. I'm so excited to be scrobbling from Chrome to Libre.fm

@alexesprit did you want to take over this feature? Time is pretty limited these days

@inverse I don't know what we should to do to get this feature ready to use.

I added sequental loading of song info (which stops on first valid result); refactored some code for future purposes (error handling etc; in addition, callbacks and promises looks awful together). Looks like it works as before, but it still should be reviewed.

Didn't really have a todo list but felt like some of the UX could be improved as well as token behavior. Looks good. Yeah the mix of the both seem odd but promises look a lot more readable however I still need to get my head around some of it.

I continue to develop multi-scrobble support in rebased branch that's compatible with current master: https://github.com/alexesprit/web-scrobbler/commits/multi-scrobble2 (all my commits can be easily cherry-picked w/o conflicts, though). Is anything should be fixed/changed/improved?
I also thought about new section called 'Accounts' in the options page, where all accounts are listed. Each 'account' block in this section contains information about current session and provides control elements (e.g. 'Profile page', 'Reauthenticate', 'Log out'):
Last.fm
You are logged in as Username.
Profile page • Reauthenticate • Log out
Libre.fm
You are logged in as AnotherOne.
Profile page • Reauthenticate • Log out
I think that would be super cool to have sort of this.

Reading all the comments, work descriptions, problems and resolutions … it sounds good, but now four to five month later, I still can't find the libre.fm in the options.
Sincerely I'm not that experienced in web (browser) development, so I can't help to get it released.
So I only can ask, when this important feature will be released?!
Thanks in advance!

Reading all the work done to bring libre.fm in, I really look forward to the release introducing multi-scrobbling!
And since I'm not able to help to get it out 4-5 months after the latest issue activity, I only can ask … when you'll release it?

This PR needs some :heart:  @alexesprit has some good ideas but I don't think it's a priority issue right now.

@MartinL0815 this PR becomes non-mergeable, that's why I've created multi-scrobble2 branch that is rebased to latest master, and contains some bugfixes and features compared to original one. But I changed a lot of core code, and I'm not sure if my changes don't break anything else.
The only thing I want to do is ability to view connected accounts, like I mentioned before.
I don't know if someone else except me tests the multi-scrobble2 branch, so, you can test it too and leave some feedback.

Finally done acccounts section.
The one unresolved question I have: how we should handle loved songs? The song can be loved on Last.fm and not loved on Libre.fm. How the extension should behave in this case?
I made the extension to show if the song is loved only if it's loved on both services. That allows user to love the song on Libre.fm too, if it's not loved. Otherwise user should unlove the song and love it again if it's loved on Last.fm only. But the extension won't show love status if song is loved on Last.fm only and both services are bound.

What's the status on this? And by libre.fm support does this mean any GNU FM server can be used?

It's hardcoded to libre.fm - but technically should be possible to implement n number of servers. It would be more work to hook that logic up though.

Would it be possible to de-hardcode it but default to libre.fm? It would make this plugin tremendously more useful for those who wish to have their own scrobbling server.

Merged commits from this PR into master.

Thanks :)


Improvement: Upgrade to ajv ^6.1.1

The issue is with schemas defined within alrfeady defined ajv instances. The tests run OK with ajv 5.5.2 but failo with 6.1.1.

Realted is https://github.com/feathers-plus/feathers-hooks-common/issues/229


request: hyper-terminal

can you add https://github.com/zeit/hyper to any bucket?
thx.

I can make the manifest in the morning if no one beats me to it
Sent from my Samsung SM-G955U using FastHub

There was something with their installer that kept me from adding it. But I can't remember what it was... 😂

I've made the manifest but I can't seem to make a shortcut to the executable because the post_install script runs after the shortcuts section is run. At the moment a script block can't be chained in the installer section to run after a regular installer invocation like this:
    "installer": {
    	"file": "hyper-setup.exe",
    	"args": "--silent"
    },

I'll upload the manifest in a bit.

Did you try the hyper-1.3.3-full.nupkg which is a simple zipfile with the windows stuff in it?

No, I didn't realize it was just a zipfile. I'll try that out now!

This should work 😀
{
    "version": "1.3.3",
    "license": "MIT",
    "url": "https://github.com/zeit/hyper/releases/download/1.3.3/hyper-1.3.3-full.nupkg#/dl.7z",
    "homepage": "https://hyper.is",
    "hash": "1b51d923e6e2bf03389056bd75d894321dd0db7d5fc365fb038101cc309be767",
    "extract_dir": "lib\\net45",
    "shortcuts": [
        [
            "Hyper.exe",
            "Hyper"
        ]
    ],
    "checkver": {
        "github": "https://github.com/zeit/hyper"
    },
    "autoupdate": {
        "url": "https://github.com/zeit/hyper/releases/download/$version/hyper-$version-full.nupkg#/dl.7z",
        "extract_dir": "lib\\net45"
    }
}

Brilliant! That worked properly.

@matthewjberger Awaiting a PR 😄
I auto generate my GitHub activity via auto-pr.ps1 😁

Closed with this https://github.com/lukesampson/scoop/pull/1664, but moved it to the extras bucket with https://github.com/lukesampson/scoop-extras/commit/28e84a6007cbea78a753bd0de2505294c8bb54d8


Error with Webpack - Module not found: 'child_process'

Getting the following error after requiring or including in in my webpack React app:
Module not found: 'child_process'

This is a nodejs only package which you can't run in a browser context as it depends on ffmpeg.


Failed to resolve TelemetryConfiguration with Abstract class

Hi,
I'm getting below exception while starting the service. When I removed the AppInsights code, its working without any exception. In addition, when I changed BaseEventHandler class from abstract to normal class, there was no axception. Seems some issue with AppInsights and Abstract class.
Source code in Startup to integrate AppInsights:
.Net Core 3.1,  C#
services.AddApplicationInsightsTelemetry(this.Configuration["ApplicationInsights:InstrumentationKey"]);
services.AddApplicationInsightsKubernetesEnricher();
Exception:
{"Timestamp":"2020-03-26T11:37:11.4876202-05:00","Level":"Warning","MessageTemplate":"Failed to resolve TelemetryConfiguration.","Exception":"Autofac.Core.DependencyResolutionException: An exception was thrown while activating ?:Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration -> Microsoft.Extensions.DependencyInjection.TelemetryConfigurationOptions.\r\n ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(System.Collections.Generic.IEnumerable1[Microsoft.Extensions.Options.IConfigureOptions1[Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration]])' on type 'TelemetryConfigurationOptions'.\r\n ---> System.ArgumentException: Cannot instantiate implementation type 'Api.Infra.Handlers.BaseEventHandler' for service type 'Api.Infra.Handlers.BaseEventHandler'.\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.Populate()\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory..ctor(IEnumerable1 descriptors)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine..ctor(IEnumerable1 serviceDescriptors, IServiceProviderEngineCallback callback)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CompiledServiceProviderEngine..ctor(IEnumerable1 serviceDescriptors, IServiceProviderEngineCallback callback)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(IEnumerable1 serviceDescriptors, ServiceProviderOptions options)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection services, ServiceProviderOptions options)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(IServiceCollection services)\r\n   at Microsoft.Extensions.DependencyInjection.ApplicationInsightsExtensions.BuildServiceBases(IServiceCollection serviceCollection, Action1 applyOptions)\r\n   at Microsoft.Extensions.DependencyInjection.ApplicationInsightsExtensions.ConfigureKubernetesTelemetryInitializer(IServiceCollection serviceCollection, Func1 detectKubernetes, IKubernetesServiceCollectionBuilder kubernetesServiceCollectionBuilder, Action1 applyOptions)\r\n   at Microsoft.Extensions.DependencyInjection.ApplicationInsightsExtensions.<>c__DisplayClass4_0.<AddApplicationInsightsKubernetesEnricher>b__0(TelemetryConfiguration config)\r\n   at Microsoft.Extensions.Options.ConfigureNamedOptions1.Configure(String name, TOptions options)\r\n   at Microsoft.Extensions.Options.ConfigureNamedOptions1.Configure(TOptions options)\r\n   at Microsoft.Extensions.DependencyInjection.TelemetryConfigurationOptions..ctor(IEnumerable1 configureOptions)\r\n   at lambda_method(Closure , Object[] )\r\n   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n   --- End of inner exception stack trace ---\r\n   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()\r\n   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters)\r\n   at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable1 parameters)\r\n   --- End of inner exception stack trace ---\r\n   at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable1 parameters)\r\n   at Autofac.Core.Resolving.InstanceLookup.<Execute>b__8_0()\r\n   at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func1 creator)\r\n   at Autofac.Core.Resolving.InstanceLookup.Execute()\r\n   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)\r\n   at Autofac.Core.Resolving.ResolveOperation.ResolveComponent(ResolveRequest request)\r\n   at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)\r\n   at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)\r\n   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance)\r\n   at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable1 parameters)\r\n   at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable`1 parameters)\r\n   at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType)\r\n   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)\r\n   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)\r\n   at Microsoft.ApplicationInsights.AspNetCore.ApplicationInsightsStartupFilter.<>c__DisplayClass2_0.b__0(IApplicationBuilder app)","Properties":{"SourceContext":"Microsoft.ApplicationInsights.AspNetCore.ApplicationInsightsStartupFilter","Application":"Service","Environment":"Development"}}

AddApplicationInsightsKubernetesEnricher is not shipped from this repo, and may require opening an issue in the corresponding repo.
Can you remove AddApplicationInsightsKubernetesEnricher and see if this repros ? We'd like to isolate the issue as much as possible.
Also wondering if this has something to do with using non-built-in DI container - Autofac? There are no unit test/func tests validating against this :(

Thanks @cijothomas for quick reply. I'm having strange issue. When I remove either of the AddApplicationInsightsTelemetry or AddApplicationInsightsKubernetesEnricher, it's not throwing any exception. But together it's throwing.
I'm using:
Microsoft.ApplicationInsights.AspNetCore 2.13.1
Microsoft.ApplicationInsights.Kubernetes 1.1.1

Possibly some conflicts or circular dependency..
@xiaomi7732 Have you seen similar issues?


When I run "python test.py --xxx", I got CUDA problem.

Hi! Thanks for your excellent work!
When I run "python test.py --cfg_file cfgs/kitti_models/pv_rcnn.yaml --batch_size 4 --ckpt pv_rcnn_8369.pth", I got CUDA problem, details as follows.
my first enviroments are:

cuda=10.0
pytorch=1.1 (I have tried to change to 1.2 or ohther versions, but I got same problem)
spconv=1.0

then I got problem: RuntimeError: CUDA error: invalid argument, as #69
INFO  *************** EPOCH 8369 EVALUATION *****************
eval:   0%|                                             | 0/943 [00:00<?, ?it/s]Traceback (most recent call last):
  File "test.py", line 190, in <module>
    main()
  File "test.py", line 186, in main
    eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
  File "test.py", line 61, in eval_single_ckpt
    result_dir=eval_output_dir, save_to_file=args.save_to_file
  File "/home/ease/Documents/OpenLidarPerceptron/tools/eval_utils/eval_utils.py", line 57, in eval_one_epoch
    pred_dicts, ret_dict = model(batch_dict)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ease/Documents/OpenLidarPerceptron/pcdet/models/detectors/pv_rcnn.py", line 11, in forward
    batch_dict = cur_module(batch_dict)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ease/Documents/OpenLidarPerceptron/pcdet/models/backbones_3d/spconv_backbone.py", line 99, in forward
    x = self.conv_input(input_sp_tensor)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/spconv/modules.py", line 127, in forward
    input.features = module(input.features)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 99, in forward
    return F.relu(input, inplace=self.inplace)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/nn/functional.py", line 943, in relu
    result = torch.relu(input)
RuntimeError: CUDA error: invalid argument
eval:   0%|                                             | 0/943 [00:01<?, ?it/s]

Then I read other ideas about the spconv version, futher changed my enviroments:

cuda=10.0
pytorch=1.4
spconv=1.1

and I got problem assert block_filtering is False AssertionError, as #21
INFO  *************** EPOCH 7940 EVALUATION *****************
eval:   0%|                                             | 0/943 [00:00<?, ?it/s]Traceback (most recent call last):
  File "test.py", line 190, in <module>
    main()
  File "test.py", line 186, in main
    eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
  File "test.py", line 61, in eval_single_ckpt
    result_dir=eval_output_dir, save_to_file=args.save_to_file
  File "/home/ease/Documents/OpenLidarPerceptron/tools/eval_utils/eval_utils.py", line 54, in eval_one_epoch
    for i, batch_dict in enumerate(dataloader):
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 345, in __next__
    data = self._next_data()
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data
    return self._process_data(data)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data
    data.reraise()
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/_utils.py", line 394, in reraise
    raise self.exc_type(msg)
AssertionError: Caught AssertionError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
    data = fetcher.fetch(index)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/ease/Documents/OpenLidarPerceptron/pcdet/datasets/kitti/kitti_dataset.py", line 372, in __getitem__
    data_dict = self.prepare_data(data_dict=input_dict)
  File "/home/ease/Documents/OpenLidarPerceptron/pcdet/datasets/dataset.py", line 131, in prepare_data
    data_dict=data_dict
  File "/home/ease/Documents/OpenLidarPerceptron/pcdet/datasets/processor/data_processor.py", line 78, in forward
    data_dict = cur_processor(data_dict=data_dict)
  File "/home/ease/Documents/OpenLidarPerceptron/pcdet/datasets/processor/data_processor.py", line 56, in transform_points_to_voxels
    voxels, coordinates, num_points = voxel_generator.generate(points)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/spconv/utils/__init__.py", line 164, in generate
    or self._max_voxels, self._full_mean)
  File "/home/ease/anaconda3/envs/siammask/lib/python3.7/site-packages/spconv/utils/__init__.py", line 65, in points_to_voxel
    assert block_filtering is False
AssertionError
eval:   0%|                                             | 0/943 [00:00<?, ?it/s]

Now, I am confused with the configuration, can you give me some suggestions? Thanks!

This repo only support spconv 1.0, and currently this repo doesn't support spconv 1.1 since it costs more GPU memory than spconv 1.0.
The PyTorch version should be 1.1 or 1.2.
I guess perhaps there is something wrong in your installation of spconv.
Maybe you could step by step to check the status of tensor in x = self.conv_input(input_sp_tensor) in spconv_backbone.py

maybe this thread can help

Thanks for your both help, finally solved the problem.
I wonder it remains error cache in my previous enviroment, then I just create a new conda enviroment followed with #72 step by step, finally fixed it.
Thanks again!


Export function altering the range of the pre-existing tables

Hi,
I am facing an issue with the export function. I already have an excel file with several tables. When I create the tables, I always specify that it contains headers.
When checking the "Name Manager" I can see the range of the tables. The range includes the header row.
When I export data from PowerShell, it work nicely and data is updated correctly on the tables. However the range of the tables change. It no longer include the header row as a part of the range.
A consequence of this issue is that when I open the "Manage Data Model" in excel and I click refresh, all the relationships among tables are mess up and not recognizable.
After I execute the export function I end up fixing the range of all the tables within excel.
An example I used:
$dataPrj | ConvertFrom-Csv | Export-Excel -Path 'C:\TEMP\VDI_USERS.xlsx' -AutoSize -TableName PROJECT -WorksheetName S_PROJECT
Thanks

I suspect there may be an issue in here https://github.com/dfinke/ImportExcel/blob/master/Public/Add-ExcelTable.ps1#L37
Not sure when it can be checked, and fixed if there is a problem.

Sorry, forget about the range and row 1. I was wrong with the range defined for the tables. The range of tables are fine. I was not saving the correct Column name from the powerShell... My Bad.
However, after correcting my business logic, I still have issues with the excel file. The main problem is that it is messing up the "Data Model". If you clcik refresh, then none of the table are refreshed. Error for all tables appears.

If I re-add an existing table from the excel spreadsheet into the excel Data Model, then it get duplicated in the model, but it is able to refresh it.
For example, a table called "Office" does not refresh, but the duplicated table "Office1" that I add afterward successfully refresh.
Please refer to the attached pictures for a better understanding... That only happen after I update the excel file from the powershell using the export functionality.

Please can you rename the issue. Would need the smallest possible repro for this. I have not worked with models in Excel. It is possible this doesn't work.


PHOENIX-6320 support hbase profile param at the release script

@stoty @ChinmaySKulkarni , can you guys take a look, thanks!

@stoty @ChinmaySKulkarni , can you guys take a look, thanks!

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 19s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ 4.16 Compile Tests _

+0 :ok:
mvndep
4m 52s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  7s
Maven dependency ordering for patch

-1 :x:
shellcheck
0m  1s
The patch generated 2 new + 52 unchanged - 0 fixed = 54 total (was 52)

+1 :green_heart:
shelldocs
0m  2s
There were no new shelldocs issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+0 :ok:
asflicense
0m  0s
ASF License check generated no output?

6m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1093

Optional Tests
dupname asflicense shellcheck shelldocs

uname
Linux 0f736a22b4d0 4.15.0-126-generic #129-Ubuntu SMP Mon Nov 23 18:53:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.16 / dc1118a

shellcheck
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/artifact/yetus-general-check/output/diff-patch-shellcheck.txt

Max. process+thread count
47 (vs. ulimit of 30000)

modules
C:  U:

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 19s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ 4.16 Compile Tests _

+0 :ok:
mvndep
4m 52s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  7s
Maven dependency ordering for patch

-1 :x:
shellcheck
0m  1s
The patch generated 2 new + 52 unchanged - 0 fixed = 54 total (was 52)

+1 :green_heart:
shelldocs
0m  2s
There were no new shelldocs issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+0 :ok:
asflicense
0m  0s
ASF License check generated no output?

6m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1093

Optional Tests
dupname asflicense shellcheck shelldocs

uname
Linux 0f736a22b4d0 4.15.0-126-generic #129-Ubuntu SMP Mon Nov 23 18:53:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.16 / dc1118a

shellcheck
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/artifact/yetus-general-check/output/diff-patch-shellcheck.txt

Max. process+thread count
47 (vs. ulimit of 30000)

modules
C:  U:

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

The change looks OK, but please consider using the script in /dev/create-release instead.
(more details in the 4.16 thread on the dev list)

The change looks OK, but please consider using the script in /dev/create-release instead.
(more details in the 4.16 thread on the dev list)

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
5m 29s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ 4.16 Compile Tests _

+0 :ok:
mvndep
4m 54s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  8s
Maven dependency ordering for patch

-1 :x:
shellcheck
0m  2s
The patch generated 2 new + 52 unchanged - 0 fixed = 54 total (was 52)

+1 :green_heart:
shelldocs
0m  0s
There were no new shelldocs issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Other Tests _

+0 :ok:
asflicense
0m  0s
ASF License check generated no output?

10m 55s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1093

Optional Tests
dupname asflicense shellcheck shelldocs

uname
Linux 3d45a778d0ea 4.15.0-126-generic #129-Ubuntu SMP Mon Nov 23 18:53:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.16 / 90b99b0

shellcheck
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/artifact/yetus-general-check/output/diff-patch-shellcheck.txt

Max. process+thread count
47 (vs. ulimit of 30000)

modules
C:  U:

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1093/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.7.0

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Upgrade pandas to 1.5.3

We had updated sqlalchemy to 2.0.0 but only newer versions of pandas df.to_sql is compatible with it, so upgrading pandas  to 1.5.3.

again not caught by unit tests in ci due to how we have the test env/lambda env set up - ticket to address this exists.

more info on this here: https://stackoverflow.com/questions/75273632/got-multiple-values-for-argument-schema

Do we want to set up Dependabot to just automatically pull versions up, or is that too much of a dangerous game until we get testing solved?

Do we want to set up Dependabot to just automatically pull versions up, or is that too much of a dangerous game until we get testing solved?

I think it is too dangerous until we have fixed the test env issue but definitely worth it once done 👍


API Refactor CompositeDBField into an abstract class

Adapted from https://github.com/silverstripe/silverstripe-framework/pull/4583
CompositeDBField is now an interface to nested fields on an underlying dataobject, allowing field manipulation to be performed at the field and dataobject level without having to synchronise them manually.
Cleanup and rationalisation of changes:

ViewableData::castingHelper is overridden in DataObject rather than it trying to do magic reflection on its subclasses. Better to override than try to build in too much logic into a base class.
Money::getName Renamed to getCurrencyName, since it conflicted with DBField::getName which had a different purpose.
markChanged parameter added to DBField::setValue in order to make the API consistent between CompositeDBField and DBField.
DBField::setValue has been updated in a few instances in order to better interact with any parent dataobject. PrimaryKey will use the $record parameter for generating a default formfield, and DBField objects will record which tables they should use for augmenting dataqueries (so better SQL is generated).
All existing compositeDBFields were re-written to support this being an abstract base class, instead of an interface.
CompositeDBField now works closer as an interface on top of an underlying DataObject, with get/setField and dbObject to support casting and modification of its sub-field data. As with DBField, setValue is used to bind it to a parent object with which it uses as a data source. Check CompositeDBFieldTest::testFieldBinding for an example of how this works in practice.
As a result of some of this API change, special cases in DataObject::dbObject have been consolidated together. $fixed_fields['ID'] has been changed from type 'Int' to 'PrimaryKey' (because that's what it is).
DataObject::get/setField changed to resolve regressions in assigning values as DBField instances.
DataObject::getChangedFields had to be changed to fix an infinite loop in CompositeDBField::isChanged.
DataObject::composite_fields now includes polymorphic foreign key fields.
PolymorphicForeignKey has been changed from Int/Enum to Int/Varchar due to it performing excessive schema queries. Possibly worth looking into again in the future (if we can force it to only query during dev/build).
ClassName field was refactored into a separate DBField subclass in order to better encapsulate the shared logic in DataObject and PolymorphicForeignKey. A better mechanism is used to ensure that obsolete-class queries are only performed during dev/build.

also cc @sminnee who had started looking at the prior PR . :)

OK, I've reviewed the change, rather than create a new dbHelper() method, I believe that the following is in order:

Move the functionality of dbHelper() into db().
Mark it as an API change, explaining which new columns are now included. Add to upgrading guide.
Amend uses of db() as appropriate in response to that.

Alternatively, mark dbHelper() as experimental, and we can mop up all of these methods subsequently. I think that the following methods could use a re-think - there' just way too many of them:

database_fields()
custom_database_fields()
db()
dbHelper()
dbObject()
is_composite_field()
composite_fields()
getComponent()
getRelationClass()
getManyManyComponents()
hasOne()
hasOneComponent()
hasMany()
hasManyComponent()
belongsTo()
belongsToComponent()
manyMany()
manyManyComponent()
hasDatabaseField()
hasOwnTableDatabaseField()
has_own_table_database_field()
has_own_table()
inheritedDatabaseFields()

Hi @sminnee I've done a lot of work to fix this up the best I could. This is the gist of the change:
DataObject::database_fields now does the bulk of the work of incorporating all low level db fields together. This is used by higher level functions (such as dbobject() or db()) as well as for generating the db schema.
I found that "database_fields only returns some fields" to be unintuitive and misleading, so it also returns ID fields (for every table) and fixed_fields (for the base table). If user-code should ignore ID fields, then it's up to that code to either use custom_fields or to remove it explicitly.
I almost removed custom_database_fields but it's probably going to break more things that I'd like. We could still possibly deprecate it. :)
DataObject::db now acts as dbHelper once did, but retains its ability to either loop over all fields, or to extract specifications for a single one. Unlike database_fields, it treats logical fields (such as composite fields) the same way as physical fields. This means that it can be reliably used to provide a casting helper for any field the user requests, but it should not be used to determine what fields to create on a table.
dbHelper is gone.
A bug in HTTPOutputHandler.php is fixed. :)
You can now use $obj->CompositeField->SubField to get or assign values.

A lot of code (especially to do with custom fields, or composite fields) have been slimmed down to work on top of db() or database_fields().
The rest of the changes are mostly just fixing regressions from the new behaviour.
inheritedDatabaseFields is deprecated.

:mergeit: ?

Rebased since changes have been merged up from 3 branch

@chillu ignore everything I just said. I've removed the composite fields being passed back by reference.
Seem ok now?

Nice, I'm happy with this PR now. A bit hard to tell if there's any regressions, given the depth of changes here - but we have good unit test coverage on that layer :) Anybody else want to chime in here before we merge? @dhensby @sminnee?

@tractorcow are there tests for the includeTable usage?

There are now.

I'm not overly excited about using a string return type that is later extracted with an explode() call, as as a 'way of avoiding a mixed return type' it seems like we're kidding ourselves: we have a mixed return type we've just obfuscated that reality.
However, I think that we've gone around in circles on this one enough and so I'd be inclined to merge the PR regardless of that, and to pick up the mixed-return-type issue as part of a broader review of the DataObject meta-data methods, as I've mentioned elsewhere.
I guess I should do an RFC for that? ;-)

@chillu i'll let you take one last look and then can you press the button?

Mixed return types are the lesser of two evils for me here. Its more clear on what happens than with a random pass-by-reference parameter at least (which could be read, overwritten, or amended, based on the implementation). Agree that we need more expressive ways to pass around this metadata in the ORM.

Yay!


Introspect quits immediately on large database

I'm attempting to create a GraphQL interface to a large, industry-standard database, PPDM.
I have loaded this onto an Azure Database for Postgres instance and am able to interact with it just fine.
When I run prisma2 init it runs for ~10 minutes and offers me the Select the schema you want to introspect along with the info: 2688 tables, 66060.288 KB
When I select Introspect, it just dies immediately with no info.
It did generate a schema file with only the connection string in it.
Possibly related to #73 and #156

UPDATE: this now works with the newly release preview-3 --- so, whatever it was, got fixed


Update metabrowse-server to 0.2.6

Updates org.scalameta:metabrowse-server from 0.2.3 to 0.2.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.2.3).
You might want to review and update them manually.
docs/website/package-lock.json
examples/requirements.txt

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "metabrowse-server" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #962.


File IO bottlenecks

I've got an adhearsion app running on AWS (multi-container docker app), which is connected to a FreeSwitch instance. I'm having I/O issues when playing a file. When I have a few simultaneous calls I get an iowait bottleneck. Inspecting iotop I can see the AHN process is reading from disk.
I'm using httapi with file caching in FreeSwitch but it's the ANH processes which is reading from disk. Is it possible to read the file from memory instead? Does rayo read the file from FreeSwitch and save it locally?

What file is Adhearsion reading?

Hi Ben, thanks for your reply. I've attached a screenshot of the output of top, and iotop when I'm having this issue. I've got adhearsion on trace level debugging but I can't see any output which shows the file it's reading.
For this particular call flow, it's just doing a play_audio with a URL. FreeSwitch is running on a different server, but on the same local network.
Do you have any pointers to figure out which file it's reading?

@dwilkie Are you using any EventSocket? Does this system have a very large volume of traffic (not necessarily all going to the Adhearsion app)?

Hi Ben, thanks for your help. I'm using sippy_cup to test a simple call flow which just plays an audio file which is ~ 2.5mb.
This problem is happening when I get to around 10-15 simultaneous calls.
The application is open source https://github.com/dwilkie/somleng it's being used in an early warning system for a NGO. As you can see in the https://github.com/dwilkie/somleng/blob/master/Gemfile I had to lock down EventMachine to 1.0.9 since I was getting segfaults with the latest version it resolves to. I'm not sure why this would be affecting I/O though.
Mod event_socket is installed in the FreeSwitch configuration https://github.com/dwilkie/freeswitch-config but I'm only using it to connect to the console for debugging in FreeSwitch.
Adhearsion is running in a docker container on its own elastic beanstalk instance. It's the only application that's running on that instance. FreeSwitch is running in another instance within the same VPC

I finally figured out the problem. The docker container was running out of it's allocated memory so it was (presumably) reading and writing from it's swap inside the container. This appears on the host as I/O wait. The key is to see what's happening inside docker with sudo docker stats. This shows memory allocated and IO inside the container.
Appreciate you guys helping look into it for me.


Swift 4 release not available via cocoapods

Please merge the swift 4 branch for use via cocoapods.

What version of cocoa-pods you are using?
Swift 4 version Requires cocoapods version 1.5.0 and above, see podspec: https://github.com/CocoaPods/Specs/blob/master/Specs/4/2/4/ImageCoordinateSpace/1.0.5/ImageCoordinateSpace.podspec.json

Just verified the version 1.0.5 is available via cocoapods, see spec above and it supports Swift 4.
If you need older versions of Swift, check out version 1.0.3 that works with Swift 3.2


Ability to add custom plugins

Looking through the code I did not find a way to add a custom plugin without wrapping the svgo command in my own command line tool. I tried to use a YAML config file and JSON config file but the parser never saw my fn: declaration as a JS function. Is there a way to easily tell svgo here is my custom plugin JS file?
Thanks

Well, the plugin should be in a plugins folder of SVGO and has to be listed in plugins option. That's how it works for now.


Add DDE

Your checklist for this pull request
Author name
Shibedev12

About your game
A revolutionary way to make rhythm games! just add the note names, music and you win! thats it!
check out the documentation!

W is up, S is down, A is left and D is right. that is all that is needed!

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

Interesting rhythm game engine! In the case you haven't received a sprig device and are a teenager, feel free to fill out this form in order to receive one! Also make sure to checkout and join the HackClub slack and share your game in the #sprig channel.


Use code analysis cache also for code cache

The CodeAnalysis cache (EVM::analysis_cache) can be also used for accounts' code cache because the CodeAnalysis object contains the code itself. The API is improved in #2370.

The new evmone API in https://github.com/erigontech/silkworm/pull/2480 move the code analysis to evmone and uses is additionally as the account code cache. So this issue is being worked on but in evmone.


Single null node representation

Close #321
Design

null node's backend id is all zeros. This happens to be the blank node repr, but that doesn't matter (see following points)
Node::is_{literal,iri,..} all report false for null nodes
{Literal,IRI,BlankNode,Variable}::is_{literal,iri,..} report true for the is_* function matching their concrete type

This is not a POBR breaking change under the assumption that null-nodes are never persisted.

It might make sense to also modify the comparison functions. I'm pretty sure it will also work like this but it would be cleaner


Developed Course Info Section

Closes #82
<CourseInfo/> component with props: hours, department, description all hardcoded at this point.

If the description is more than maxChars characters, it will be truncated with ... , and a can toggle show more/less.
I also put in the title and plus button for the assessments section and cleaned up some debug classNames.
I had to use a plain jsx <button> for the Description component, since <Button> wouldn't work with "block" classname or "flex flex-col".
This probably needs flexibility for when certain pieces of info aren't available, but I figured I could get some feedback now.
Closes #101 also

I had to use a plain jsx  for the Description component, since  wouldn't work with "block" classname or "flex flex-col".

Oh... this is unexpected, to be investigated..


Release v3.2.1 is pointing to a commit which it does not belong to any branch on this repository,

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

https://github.com/stefanbuck/github-issue-parser/commit/2d2ff50d4aae06ab58d26bf59468d98086605f11

@v1v This is the same issue as described in:

#48

Finally fixed


Copy changes on the planning block - planning section

Copy changes on the planning portion of the block:

Rename "unassigned" to "Ready to Deliver Restaurants"
Add overarching text on the hospitals side "Recipients" (above name, time, fulfillment)
Add label "Amount" above the amount column
Rename restaurant shifts from "Monday evening" --> "Monday dinner" and "Sunday afternoon" --> "Sunday Lunch". @boazsender is this I could just make in the airtable base where these global variables are set?
[discuss] @susanpark in the designs I see that the time has been taken out, but I think that is helpful for chapters when they're planning so we should have that in.


chore(main): release 2.2.0

:robot: I have created a release beep boop
2.2.0 (2024-01-31)
Features

workflows: update workflows to have seperate workflow for updating production (4a45c6b)

Bug Fixes

mobileMenu: fix scroll behaviour and some styling (5ab902a)
pages: add correct header (e0be6b9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/crea-orkest/crea-public/releases/tag/v2.2.0 :sunflower:


[💡 Feature]: Use a native VSCode text document to create/edit snippets

Is your feature request related to a problem?
Users create snippets in various languages. The code highlighting package we use supports a broad set of languages but probably not all which is why we received feedback to add support for e.g. Lua and other languages.
Describe the solution you'd like.
If we moved the viewer for snippets to be native vscode windows, all the languages and extensions the user had installed would be supported. We should do some exploration to see what might be possible here. The creation and editing of snippets should happen in a native VSCode window that supports language servers installed in VSCode.
A possible way this could look like:

Describe alternatives you've considered.
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

FYI: https://code.visualstudio.com/updates/v1_60#_automatic-language-detection

Here is the demo of the current behavior:
Adding a Snippet

Editing a Snippet

Create a Snippet from file

Bundle size before:
3.2M Mar  1 23:31 main.js
7.0M Mar  1 23:31 main.js.map

Bundle size after:
2.8M Mar  1 23:26 main.js
5.7M Mar  1 23:26 main.js.map


Fix CustomEvent when file is minified

Prevent rename CustomEvent when bundle is generated

It's always overwriting the native CustomEvent, since is failing because in the new h("test") h is not defined.


Investigate Moving Collapse/Expand Logic to Client

Currently the logic to handle the collapsing is in the XELK transformer. But there are a few benefits from moving to the browser:

Embed diagrams as static artifacts then this would also maintain good interactions
Generalize the logic so other transforms do not need to re-implement

Closing for now. This still may be useful to implement in the frontend, but with the changes in #90 the expanding and collapsing logic is implemented in a pipe so any diagram workflow can use it.


Channel / Personal Reminders

Something similar to Reddit's RemindMeBot.
https://www.reddit.com/r/RemindMeBot/comments/24duzp/remindmebot_info/
Like ~Remind Channel/Me [Date] [Time] [Timezone] [Discription]
If channel is used then it would blast the remind message to the channel and if me is used it would PM you.
Where the time tracking would be based on the host's machine's time?

Really like the idea, i will implement it at some point.


Docs build broken on build server

The docsite fails to build on the build server, but not locally on my computer.
https://builds.sr.ht/~ociaw/job/316214
    Executing pipeline "Resources" (20/24) with 1 child module(s)
            Error while copying file /home/build/RandN/docs/input/assets/css/override.css: The process cannot access the file '/home/build/RandN/docs/output/assets/css/override.css' because it is being used by another process.
            Error while executing module CopyFiles
        Error while executing pipeline Resources
Exception during execution: System.AggregateException: One or more errors occurred. (One or more errors occurred. (The process cannot access the file '/home/build/RandN/docs/output/assets/css/override.css' because it is being used by another process.)) (The process cannot access the file '/home/build/RandN/docs/output/assets/css/override.css' because it is being used by another process.) ---> System.IO.IOException: The process cannot access the file '/home/build/RandN/docs/output/assets/css/override.css' because it is being used by another process.
   at System.IO.FileStream.Init(FileMode mode, FileShare share)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)
   at Wyam.Core.IO.FileProviders.Local.RetryHelper.Retry[T](Func`1 func) in C:\Code\Wyam\Wyam\src\core\Wyam.Core\IO\FileProviders\Local\RetryHelper.cs:line 22
   at Wyam.Core.IO.FileProviders.Local.LocalFile.CopyTo(IFile destination, Boolean overwrite, Boolean createDirectory) in C:\Code\Wyam\Wyam\src\core\Wyam.Core\IO\FileProviders\Local\LocalFile.cs:line 67
   at Wyam.Core.Modules.IO.CopyFiles.<>c__DisplayClass10_0.<Execute>b__1(IFile file) in C:\Code\Wyam\Wyam\src\core\Wyam.Core\Modules\IO\CopyFiles.cs:line 147
   at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorEnumerator`1.MoveNext(TOutput& currentElement, TKey& currentKey)
   at System.Linq.Parallel.WhereQueryOperator`1.WhereQueryOperatorEnumerator`1.MoveNext(TInputOutput& currentElement, TKey& currentKey)
   at System.Linq.Parallel.PipelineSpoolingTask`2.SpoolingWork()
   at System.Linq.Parallel.SpoolingTaskBase.Work()
   at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
   at System.Linq.Parallel.QueryTask.<>c.<.cctor>b__10_0(Object o)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

Resolved by 81f31928a9b633ed8f3b29ca17f9abf6baeffafa.


BUG: Paloma Bot Repay does not work: HealthThreshold of 2% does not get repaid with health at 1.69%

Bot created here:
https://etherscan.io/tx/0x96c0acbd97f6d37c6914d08a8209b0a9ccca0ca8a46a672d3f2c95bfdcc0f2a8
Bot health threshold: 2% set
Bot current Threshold: 1.6%
Bot failed to repay and close position. Repay does not work.

Closed the bot here: https://etherscan.io/tx/0xf148e2984bc77e5a4613fddacc874924e44c19bf7439230f564660675c8ba36b

LCD Server issue: closing as fixed https://github.com/VolumeFi/paloma/issues/1394

@rootedbox @verabehr re-opening as NOT FIXED and back to priority.

There does seem to be an error with the .js file
Mar 19 16:26:29 bots-server start.sh[8835]: let db = new sqlite3.Database(process.env.DB_LOCATION);
Mar 19 16:26:29 bots-server start.sh[8835]:          ^
Mar 19 16:26:29 bots-server start.sh[8835]: TypeError: String expected
Mar 19 16:26:29 bots-server start.sh[8835]:     at file:///home/rootedbox/app/curve-degen-leverage-lending-bot/curve-leverage.js:101:10
Mar 19 16:26:29 bots-server start.sh[8835]:     at ModuleJob.run (node:internal/modules/esm/module_job:194:25)```

https://github.com/VolumeFi/curve-noob-leverage-lending-bot/pull/3/

@rootedbox this also affects the curve-healthy-juicebot

https://etherscan.io/tx/0x21ce3002b364de4041eec89d5118ad7707a411424b42545b266253d0b16ecb50

@rootedbox Reopening it as the issue is found again:

deposit tx: https://etherscan.io/tx/0xd80656d6189690ca52b1bf78c7fd00195190c98d494e6f26af5fcfa096fb20bd

in this case we are seeing the following.. we have 2 transactions under the threshhold.. both of which we will do an execute withdraw..
executeWithdraw(withdraws) [{"id":781,"deposit_id":6,"token0":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"1478429","amount1":"5155715866585674000000","depositor":"0x39972E9A0190b00684E52CA35Df6aBD200265D15","deposit_price":999.5362783200001,"tracking_price":937.64924038,"profit_taking":null,"stop_loss":null,"expire":33246507650,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0xD0e08D653C3ead747865c3674FFa93ecDefDd045","network_name":"ETH","dex_name":"curve","bot":"juice","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"10","fees_charged":0.12395554469127328,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0xd80656d6189690ca52b1bf78c7fd00195190c98d494e6f26af5fcfa096fb20bd","volume":null,"create_to_mixpanel":0,"created_at":"2024-03-15 13:01:19","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":625,"health_threshold":200,"deleverage_percentage":5000,"is_stable_swap":null},{"id":783,"deposit_id":8,"token0":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"1321530","amount1":"5248152707498378000000","depositor":"0x32028aA506d12a1D015912C39d8577d11AbcEf18","deposit_price":904.8383756999999,"tracking_price":838.1407565999999,"profit_taking":null,"stop_loss":null,"expire":33246742770,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0x8F5eBDdcf2bae86D3A4E3C4De427E705d2eBF432","network_name":"ETH","dex_name":"curve","bot":"juice","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"4","fees_charged":0.046289714140408694,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0x95d0fb8ad2b416d6ca531c7ad62928687071521472222fa6fbc2328a7da31bf4","volume":null,"create_to_mixpanel":0,"created_at":"2024-03-18 06:20:18","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":689,"health_threshold":200,"deleverage_percentage":4000,"is_stable_swap":null}]

but it fails at the server with the following
createNextMsg: "{\"@type\":\"/cosmwasm.wasm.v1.MsgExecuteContract\",\"contract\":\"paloma1shhx03fgfz83tte9tx6555s8dylk0r20fg644f3a5wteaqzv4keqd6k3dg\",\"funds\":[],\"msg\":{\"create_next_bot\":{\"bot_id\":\"2\",\"callback_args\":[\"4\",\"15465686531759606790\",\"0\",\"0\",\"0\
"],\"callbacker\":\"0xd3e576b5dcde3580420a5ef78f3639ba9cd1b967\",\"remaining_count\":\"0\"}},\"sender\":\"paloma18efhhzcvskradeqgslmaqgsgxhpaxepz884mn3\"}"
{"message":"Request failed with status code 500","name":"Error","stack":"Error: Request failed with status code 500\n    at createError (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/core/createError.js:16:15)\n
   at settle (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd<EMAIL_ADDRESS>ode_modules/axios/lib/adapters/http.js:322:11)\n    at IncomingMessage.emit (node:events:525:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1359:12)\n    at process.processTicksAndRejections (node:internal/process/ta
sk_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":30000,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json","Content-Type":"application/json","User-Agent":"axios/0.26.1","Content-Length":583},"method":"post","url":"https://lcd.palomachain.com/cosmos/tx/v1beta1/simulate","data":"{\"tx_bytes\":\"CswCCskCCiQvY29zbXdhc20ud2FzbS52MS5Nc2dFeGVjdXRlQ29udHJhY3QSoAIKLXBhbG9tYTE4ZWZoaHpjdnNrcmFkZXFnc2xtYXFnc2d4aHBheGVwejg4NG1uMxJBcGFsb21hMXNoaHgwM2ZnZno4M3R0ZTl0eDY1NTVzOGR5bGswcjIwZmc2NDRmM2E1d3RlYXF6djRrZXFkNmszZGcaqwF7ImNyZWF0ZV9uZXh0X2JvdCI6eyJib3RfaWQiOiIyIiwiY2FsbGJhY2tlciI6IjB4ZDNlNTc2YjVkY2RlMzU4MDQyMGE1ZWY3OGYzNjM5YmE5Y2QxYjk2NyIsImNhbGxiYWNrX2FyZ3MiOlsiNCIsIjE1NDY1Njg2NTMxNzU5NjA2NzkwIiwiMCIsIjAiLCIwIl0sInJlbWFpbmluZ19jb3VudCI6IjAifX0SVQpRCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAzaXjuN0g0YBveouceO09AjMDiNXurYyhZrlUZdkQauqEgQKAggBGLdhEgAaAA==\"}"},"status":500}
cycleDeposits [{"id":763,"deposit_id":2,"token0":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"3493000000000000000","amount1":"35514119252760090000000","depositor":"0xBCAE2699671997e8f61432b9F3949C976B7892ff","deposit_price":11310.47372,"tracking_price":11718.560909999998,"profit_taking":null,"stop_loss":null,"expire":33245000667,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0x863cA4FA4C4Aa721f602266308180fA1DAbCe69F","network_name":"ETH","dex_name":"curve","bot":"juice","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"27","fees_charged":0.1429491636370665,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0x31f36576c5c1bc89da6d16674d13cedd5d60f2eced4466ad7c8da0027aab9fdd","volume":null,"create_to_mixpanel":0,"created_at":"2024-02-27 02:25:18","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":412,"health_threshold":200,"deleverage_percentage":5000,"is_stable_swap":null},{"id":781,"deposit_id":6,"token0":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"1478429","amount1":"5155715866585674000000","depositor":"0x39972E9A0190b00684E52CA35Df6aBD200265D15","deposit_price":999.5362783200001,"tracking_price":938.84676787,"profit_taking":null,"stop_loss":null,"expire":33246507650,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0xD0e08D653C3ead747865c3674FFa93ecDefDd045","network_name":"ETH","dex_name":"curve","bot":"juice","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"10","fees_charged":0.12395554469127328,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0xd80656d6189690ca52b1bf78c7fd00195190c98d494e6f26af5fcfa096fb20bd","volume":null,"create_to_mixpanel":0,"created_at":"2024-03-15 13:01:19","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":625,"health_threshold":200,"deleverage_percentage":5000,"is_stable_swap":null},{"id":783,"deposit_id":8,"token0":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"1321530","amount1":"5248152707498378000000","depositor":"0x32028aA506d12a1D015912C39d8577d11AbcEf18","deposit_price":904.8383756999999,"tracking_price":839.2111959,"profit_taking":null,"stop_loss":null,"expire":33246742770,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0x8F5eBDdcf2bae86D3A4E3C4De427E705d2eBF432","network_name":"ETH","dex_name":"curve","bot":"juice","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"4","fees_charged":0.046289714140408694,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0x95d0fb8ad2b416d6ca531c7ad62928687071521472222fa6fbc2328a7da31bf4","volume":null,"create_to_mixpanel":0,"created_at":"2024-03-18 06:20:18","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":689,"health_threshold":200,"deleverage_percentage":4000,"is_stable_swap":null},{"id":793,"deposit_id":9,"token0":"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"9716152","amount1":"30098314751406324000000","depositor":"0xa4Bf374aC4EE322c1617d503A6CEF7a1B8B5fC7c","deposit_price":6042.4749288,"tracking_price":6170.04800456,"profit_taking":null,"stop_loss":null,"expire":33246899247,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0x05648018C2F44c1e67d6864FcEa80Fc3154C27e4","network_name":"ETH","dex_name":"curve","bot":"juice","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x34BC9970228b14A76ebF0A7f5a601001bBCA20C8","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"10","fees_charged":0.07957575441256456,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0x5aebe5efb4e907f71ed86c6a729086e5cbb331b805aed2978157a588b17b09e6","volume":null,"create_to_mixpanel":0,"created_at":"2024-03-20 01:50:10","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":590,"health_threshold":200,"deleverage_percentage":5000,"is_stable_swap":null}]

@rootedbox how do we get this error caught in Sentry?

From @wc117

I found the reason of the bug. The error is in parsing data class with abi library. I am checking the data one by one for exact bugfix.

I checked and this is not a contract or CW problem. I think we need to check it on devops side. I will jump in after fixing lending CW bug. @taariq @verabehr @rootedbox

still seems to be an issue with calling the contract
doesn't seem to be the issue.. i forced the callbacker to be before callback_args and all the values were  strings already.. so you notice any other issues?
Mar 25 21:34:06 bots-server start.sh[1954122]: createNextMsg: {"bot_id":"9","callbacker":"0xa2518b71ee64e910741f5cf480b19e8e402de4d7","callback_args":["1","67604258","0","0","0"],"remaining_count":"0"}
Mar 25 21:34:06 bots-server start.sh[1954122]: {"message":"Request failed with status code 500","name":"Error","stack":"Error: Request failed with status code 500\n    at createError (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/adapters/http.js:322:11)\n    at IncomingMessage.emit (node:events:525:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1359:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":30000,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json","Content-Type":"application/json","User-Agent":"axios/0.26.1","Content-Length":567},"method":"post","url":"https://lcd.palomachain.com/cosmos/tx/v1beta1/simulate","data":"{\"tx_bytes\":\"CsACCr0CCiQvY29zbXdhc20ud2FzbS52MS5Nc2dFeGVjdXRlQ29udHJhY3QSlAIKLXBhbG9tYTE4ZWZoaHpjdnNrcmFkZXFnc2xtYXFnc2d4aHBheGVwejg4NG1uMxJBcGFsb21hMXNoaHgwM2ZnZno4M3R0ZTl0eDY1NTVzOGR5bGswcjIwZmc2NDRmM2E1d3RlYXF6djRrZXFkNmszZGcanwF7ImNyZWF0ZV9uZXh0X2JvdCI6eyJib3RfaWQiOiI5IiwiY2FsbGJhY2tlciI6IjB4YTI1MThiNzFlZTY0ZTkxMDc0MWY1Y2Y0ODBiMTllOGU0MDJkZTRkNyIsImNhbGxiYWNrX2FyZ3MiOlsiMSIsIjY3NjA0MjU4IiwiMCIsIjAiLCIwIl0sInJlbWFpbmluZ19jb3VudCI6IjAifX0SVQpRCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAzaXjuN0g0YBveouceO09AjMDiNXurYyhZrlUZdkQauqEgQKAggBGLdhEgAaAA==\"}"},"status":500}

I'm creating a message and sending to the LCD.. createNextMsg: {"bot_id":"9","callbacker":"0xa2518b71ee64e910741f5cf480b19e8e402de4d7","callback_args":["1","67604258","0","0","0"],"remaining_count":"0"}
the lcd server is throwing a 500 error.. I can not find where in the Palomad that processes rpm calls.. so I wasn't able to debug.. but this is the response we get  {"message":"Request failed with status code 500","name":"Error","stack":"Error: Request failed with status code 500\n    at createError (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/home/rootedbox/app/curve-noob-leverage-lending-bot/node_modules/@palomachain/paloma.js/node_modules/axios/lib/adapters/http.js:322:11)\n    at IncomingMessage.emit (node:events:525:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1359:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":30000,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json","Content-Type":"application/json","User-Agent":"axios/0.26.1","Content-Length":567},"method":"post","url":"https://lcd.palomachain.com/cosmos/tx/v1beta1/simulate","data":"{\"tx_bytes\":\"CsACCr0CCiQvY29zbXdhc20ud2FzbS52MS5Nc2dFeGVjdXRlQ29udHJhY3QSlAIKLXBhbG9tYTE4ZWZoaHpjdnNrcmFkZXFnc2xtYXFnc2d4aHBheGVwejg4NG1uMxJBcGFsb21hMXNoaHgwM2ZnZno4M3R0ZTl0eDY1NTVzOGR5bGswcjIwZmc2NDRmM2E1d3RlYXF6djRrZXFkNmszZGcanwF7ImNyZWF0ZV9uZXh0X2JvdCI6eyJib3RfaWQiOiI5IiwiY2FsbGJhY2tlciI6IjB4YTI1MThiNzFlZTY0ZTkxMDc0MWY1Y2Y0ODBiMTllOGU0MDJkZTRkNyIsImNhbGxiYWNrX2FyZ3MiOlsiMSIsIjY3NjA0MjU4IiwiMCIsIjAiLCIwIl0sInJlbWFpbmluZ19jb3VudCI6IjAifX0SVQpRCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAzaXjuN0g0YBveouceO09AjMDiNXurYyhZrlUZdkQauqEgQKAggBGLdhEgAaAA==\"}"},"status":500}

@byte-bandit we seek help to debut the LCD server failure as @rootedbox has reached the end of his rope.
Lcd and Host lcd-mainnet are our two LCD servers or Paloma servers. This error seems to be a problem that started after our upgrade.

Would also love to see the server be more verbose when it errors 500. Right now all we know is that something went wrong.

I will need some logs from Paloma to see what's going on there. I tried to manually run the request but that failed:
❯ curl -X POST \
  https://lcd.palomachain.com/cosmos/tx/v1beta1/simulate \
  -H "Content-Type: application/json" \
  -d '{"tx_bytes":"CsACCr0CCiQvY29zbXdhc20ud2FzbS52MS5Nc2dFeGVjdXRlQ29udHJhY3QSlAIKLXBhbG9tYTE4ZWZoaHpjdnNrcmFkZXFnc2xtYXFnc2d4aHBheGVwejg4NG1uMxJBcGFsb21hMXNoaHgwM2ZnZno4M3R0ZTl0eDY1NTVzOGR5bGswcjIwZmc2NDRmM2E1d3RlYXF6djRrZXFkNmszZGcanwF7ImNyZWF0ZV9uZXh0X2JvdCI6eyJib3RfaWQiOiI5IiwiY2FsbGJhY2tlciI6IjB4YTI1MThiNzFlZTY0ZTkxMDc0MWY1Y2Y0ODBiMTllOGU0MDJkZTRkNyIsImNhbGxiYWNrX2FyZ3MiOlsiMSIsIjY3NjA0MjU4IiwiMCIsIjAiLCIwIl0sInJlbWFpbmluZ19jb3VudCI6IjAifX0SVQpRCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAzaXjuN0g0YBveouceO09AjMDiNXurYyhZrlUZdkQauqEgQKAggBGLdhEgAaAA=="}'

{"code":2,"message":"failed to execute message; message index: 0: Unauthorized: execute wasm contract failed [!cosm!wasm/wasmd@v0.40.1/x/wasm/keeper/keeper.go:394] With gas wanted: '18446744073709551615' and gas used: '94968' ","details":[]}%

I assume the contract can only be called from the address configured in the JS backend for this bot?
Can you run journalctl -fu palomad | grep error > gh_1393.log while giving this another try or two and upload the logs to a GIST?

It's also quite possible this call would not lead to any log files since the message doesn't even seem to fully execute. Maybe try and reproduce this issue first with a CURL request so we can have some sanitised output that's not being parsed through some layers of JS middleware first.

It's also quite possible this call would not lead to any log files since the message doesn't even seem to fully execute. Maybe try and reproduce this issue first with a CURL request so we can have some sanitised output that's not being parsed through some layers of JS middleware first.

gh_1393.log ended up being blank

currently dying on this line https://github.com/VolumeFi/curve-healthy-juicebot/blob/addlog/curve-leverage.js#L579
the value being sent to repayStablecoins is 0
the last message in the log below is coming from https://volume.liquify.com/api=0440032/eth
Mar 26 17:36:39 bots-server start.sh[3337335]: tokenName tbtc
Mar 26 17:36:39 bots-server start.sh[3337335]: decimalPlaces 18
Mar 26 17:36:39 bots-server start.sh[3337335]: collateral 0
Mar 26 17:36:39 bots-server start.sh[3337335]: collateral 0
Mar 26 17:36:39 bots-server start.sh[3337335]: JsonRpc {"url":"https://volume.liquify.com/api=0440032/eth"} {"gasPrice":0,"maxFeePerGas":0,"maxPriorityFeePerGas":0,"chainId":1}
Mar 26 17:36:55 bots-server start.sh[3337335]: llama {"id":"tbtc","address":"0xf9bd9da2427a50908c4c6d1599d8e62837c2bcb0","controller":"0x1c91da0223c763d2e0173243eadaa0a2ea47e704","monetaryPolicy":"0x8c5a7f011f733fbb0a6c969c058716d5ce9bc933","collateral":"0x18084fba666a33d37592fa2633fd49a74dd93a88","leverageZap":"0xd79964c70cb06224fda4c48387b53e9819bcb71c","deleverageZap":"0xAA25a6Fa9e4dADaE0d3EE59bEA19fbcf0284830C","collateralSymbol":"tBTC","collateralDecimals":18,"coins":["crvUSD","tBTC"],"coinAddresses":["0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","0x18084fba666a33d37592fa2633fd49a74dd93a88"],"coinDecimals":[18,18],"minBands":4,"maxBands":50,"defaultBands":10,"A":100,"tickSpace":1,"estimateGas":{},"stats":{},"wallet":{},"leverage":{"estimateGas":{}},"deleverage":{"estimateGas":{}}}
Mar 26 17:36:55 bots-server start.sh[3337335]: collateralVal 0
Mar 26 17:36:56 bots-server start.sh[3337335]: getArgs {"reason":"missing revert data in call exception; Transaction reverted without a reason string","code":"CALL_EXCEPTION","data":"0x","transaction":{"from":"0xcA11bde05977b3631167028862bE2a173976CA11","to":"0xcA11bde05977b3631167028862bE2a173976CA11","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000","accessList":null},"error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{"jsonrpc":"2.0","error":{"code":-32015,"message":"VM execution error.","data":"Reverted Multicall3: call failed"},"id":79}","error":{"code":-32015,"data":"Reverted Multicall3: call failed"},"requestBody":"{"method":"eth_call","params":[{"from":"0xca11bde05977b3631167028862be2a173976ca11","to":"0xca11bde05977b3631167028862be2a173976ca11","data":"0x252dba420000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000aa25a6fa9e4dadae0d3ee59bea19fbcf0284830c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000044b01a3d500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000"},"latest"],"id":79,"jsonrpc":"2.0"}","requestMethod":"POST","url":"https://volume.liquify.com/api=0440032/eth"}}

repayment is expected to fail in this case as there is no more collateral left - also see https://discord.com/channels/987730379182051408/1164263785956134992/1222254764738351215

marking this as blocked until we have another occurrence of an unhealthy bot

Confirmed that this is still an issue.
This bot should have been repaid

https://etherscan.io/address/0xEC3c1940d88B8875b39b41e6D023026da500D4bB
Here is the log from the service
May 20 18:10:16 bots-server start.sh[3241141]: id health health_threshold:<PHONE_NUMBER>9714880826 340
May 20 18:10:43 bots-server start.sh[3241141]: executeWithdraw(withdraws) [{"id":822,"deposit_id":0,"token0":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","token1":"0xf939e0a03fb07f59a73314e73794be0e57ac1b4e","amount0":"647749063248659","amount1":"11669295319026402000","depositor":"0xEC3c1940d88B8875b39b41e6D023026da500D4bB","deposit_price":1.9835566139519412,"tracking_price":2.038349707212145,"profit_taking":null,"stop_loss":null,"expire":33251015959,"withdraw_type":null,"withdraw_block":null,"withdraw_amount":null,"withdrawer":"0xD0e08D653C3ead747865c3674FFa93ecDefDd045","network_name":"ETH","dex_name":"curve","bot":"leverage","number_trades":1,"remaining_counts":0,"interval":30,"starting_time":null,"contract":"0x532D78498BEA19051B6b55F53A9AB407a02F41C7","old":null,"tracking_price1":null,"deposit_price1":null,"bot_address":null,"unlock_time":null,"last_vote_timestamp":null,"bot_type":"10","fees_charged":0.018690904392977735,"sent_to_mixpanel":0,"gas_charged":null,"total_charged":null,"transaction_hash":"0x9a4e5c7ae79d96d23b06d6e8005bcd400c5fd31cf2509346d681afbe854f7dba","volume":null,"create_to_mixpanel":0,"created_at":"2024-05-06 17:47:29","collateral_amount":null,"loan_amount":null,"error":null,"callbacker":null,"callback_args":null,"gas_mixpanel":0,"leverage":695,"health_threshold":340,"deleverage_percentage":5000,"is_stable_swap":null,"health":308.7991007309543,"settlement":null}]
May 20 18:10:43 bots-server start.sh[3241141]: getArgs
May 20 18:10:43 bots-server start.sh[3241141]: tokenName eth
May 20 18:10:43 bots-server start.sh[3241141]: decimalPlaces 18
May 20 18:10:43 bots-server start.sh[3241141]: collateral<PHONE_NUMBER>240283
May 20 18:10:43 bots-server start.sh[3241141]: collateral<PHONE_NUMBER>620141.5
May 20 18:10:43 bots-server start.sh[3241141]: JsonRpc {"url":"https://volume.liquify.com/api=0440032/eth"} {"gasPrice":0,"maxFeePerGas":0,"maxPriorityFeePerGas":0,"chainId":1}
May 20 18:10:43 bots-server start.sh[3241141]: getArgs {"reason":"unknown account #0","code":"UNSUPPORTED_OPERATION","operation":"getAddress"}
May 20 18:10:43 bots-server start.sh[3241141]: {"reason":"unknown account #0","code":"UNSUPPORTED_OPERATION","operation":"getAddress"}

I think this needs to be on some elses list.. The back end is doing what it's supposed to then the lcd says "unknown account #0" cc: @verabehr

@rootedbox what is the call to the lcd? I don't see from the logs that it's an lcd call

confirmed with Jason that this is NOT an LCD issue, but it fails during the rpc call somewhere here https://github.com/VolumeFi/curve-leverage-lending-bot/blob/main/curve-leverage.js#L530

Closing this ticket in favor of a new one that focuses on the current last outstanding issues https://github.com/VolumeFi/paloma/issues/1650 https://github.com/VolumeFi/paloma/issues/1649


Allow configuration of keycloak client and realm

Might be useful for others to be able to configure the realm and client

Great idea. Thanks for your contribution @hypery2k !


$scope.gridOptions.api.SelectIndex doesn't work with datasource

I'm using the server side pagination and filtering example.
On loading the data in grid, I would like to programmatically set the first row.
However below method does not work if the grid data has been set using data source.
$scope.gridOptions.api.SelectIndex doesn't work with datasource

below hack did the trick. I'm not sure if it's an optimal solution or not:
function createNewDatasource() {
if (!allOfTheData) {
// in case user selected 'onPageSizeChanged()' before the json was loaded
return;
}
    var dataSource = {
        //rowCount: ???, - not setting the row count, infinite paging will be used
        pageSize: parseInt($scope.pageSize), // changing to number, as scope keeps it as a string
        getRows: function (params) {
            // this code should contact the server for rows. however for the purposes of the demo,
            // the data is generated locally, a timer is used to give the experience of
            // an asynchronous call
            console.log('asking for ' + params.startRow + ' to ' + params.endRow);
            setTimeout(function () {
                // take a chunk of the array, matching the start and finish times
                //var rowsThisPage = allOfTheData.slice(params.startRow, params.endRow);
                var dataAfterSortingAndFiltering = sortAndFilter(params.sortModel, params.filterModel);
                var rowsThisPage = dataAfterSortingAndFiltering.slice(params.startRow, params.endRow);                    // see if we have come to the last page. if we have, set lastRow to
                // the very last row of the last page. if you are getting data from
                // a server, lastRow could be returned separately if the lastRow
                // is not in the current page.
                var lastRow = -1;
                if (dataAfterSortingAndFiltering.length <= params.endRow) {
                    lastRow = dataAfterSortingAndFiltering.length;
                }
                params.successCallback(rowsThisPage, lastRow);
                **//This is the hack**
                **params.rowData = rowsThisPage; **
                **$scope.gridOptions.api.selectIndex(0, false, false);**
            }, 500);
        }
    };

    $scope.gridOptions.api.setDatasource(dataSource);
}

$scope.gridOptions.api.SelectIndex doesn't work with datasource

i just test this, it does work.
i tested using this virtual pagination example online and selected the first index after the first page was loaded.
ps am closing this issue. if still an problem for you, can you reproduce in a plunker? then raise it on the forum? (the issues should be for when items are broken in the grid)


Error while installing. Lessc can't find chartist.min.css

> lessc lib/main.less dist/main.css

FileError: 'node_modules/chartist/dist/chartist.min.css' wasn't found. Tried - /Users/prashanthcr/code/uhoo/chartist-generator/node_modules/node-chartist/lib/node_modules/chartist/dist/chartist.min.css,/Users/prashanthcr/code/uhoo/chartist-generator/node_modules/node-chartist/lib/node_modules/chartist/dist/chartist.min.css,node_modules/chartist/dist/chartist.min.css in /Users/prashanthcr/code/uhoo/chartist-generator/node_modules/node-chartist/lib/main.less on line 1, column 1:
1 @import (less) 'node_modules/chartist/dist/chartist.min.css';
2

It seems to be looking in the wrong folder, how do I resolve this?

I installed chartist and changed the import in main.less to this, and it got past the step.
@import (less) '../../chartist/dist/chartist.min.css';


CodeSearchNet task

would the maintainers be interested in the addition of a code retrieval task (CodeSearchNet, uses text queries to retrieve code documents), either as a new code retrieval type or added into the existing retrieval category?

would the maintainers be interested in the addition of a code retrieval task (CodeSearchNet, uses text queries to retrieve code documents), either as a new code retrieval type or added into the existing retrieval category?

Yes definitely! I think it would be best to add it to the existing retrieval category if possible. It would require some changes in the code to differentiate between BEIR and non-BEIR, but should not be too difficult.
The language splits would then be the coding languages go, java etc.
Do you want to tackle this? Very happy to help along the way! 🤗

i haven't gotten around to this yet, but would be happy to give it a shot

i haven't gotten around to this yet, but would be happy to give it a shot

Amazing! Let me know when you run into problems 👍

I think @bwanglzu & team have also been working on this - Let us know if we can help in any way!

Oh nice! Is there a fork or WIP script anywhere?

hi @Muennighoff, @Manouchehri  and all, yes we're working on this. Maybe a bit more, we'll add ~3 coding tasks to MTEB :)

hi @Muennighoff, @Manouchehri and all, yes we're working on this. Maybe a bit more, we'll add ~3 coding tasks to MTEB :)
reason behind this is we're training a coding embedding model, similar as: jina-embeddings-v2 :)

Amazing really looking forward to it! Let us know if we can help :)

Hello everyone! I'll be working on getting this integrated :hugs:


AVD Export - Cannot read property 'name' of undefined

Getting this when trying to Export AVD.
I use different groups for forward and reverse animations. So I want to hide one of the groups -> Export and vice versa for the other one.
This worked a few days ago.
Same error in Chrome and Firefox
bugsnag.js.pre-build-optimizer.js:1405 ERROR TypeError: Cannot read property 'name' of undefined
    at AvdSerializer.ts:57
    at Map.forEach (<anonymous>)
    at Module.ZT (AvdSerializer.ts:54)
    at t.exportAnimatedVectorDrawable (fileexport.service.ts:90)
    at e.onExportAnimatedVectorDrawableClick (layertimeline.component.ts:279)
    at Object.handleEvent (layertimeline.component.ngfactory.js.pre-build-optimizer.js:261)
    at Object.handleEvent (core.js.pre-build-optimizer.js:19324)
    at Object.handleEvent (core.js.pre-build-optimizer.js:19869)
    at Ta (core.js.pre-build-optimizer.js:16773)
    at core.js.pre-build-optimizer.js:17220

Thanks for reporting! Do you have an example .shapeshifter project file that I could use to reproduce the issue?

Here you go. Hope you'll be able to solve it or find a workaround. Cheers
play_to_pause (6).zip

@alexjlockwood @adrianlandborn I had the same issue. To fix it, we need to remove the hidden layers before exporting. Hidden layers are causing this issue.


error of 'ImageResource' can't convert to 'UIImage' type

Hi, thanks for your great working, I have a problem with using this framework this days.
after I "pod install" the latest version, and rebuild R.generated, everywhere reported  the same error named:  "Cannot convert value of type 'ImageResource' to expected argument type 'UIImage?',  and I don't know why, please show me how to resolve this. thanks again!!!

The R.image struct has two overloads for each image.
A property with a ImageResource that can be used by other libraries, and a function that returns a UIImage.
You can pick the UIImage by calling the method with () at the end, like so:
someImageView.image = R.image.logo()

Thanks very much! problem solved! wish you have a good weekend!!


Background task queuing with Subject

Use Case

When using the job scheduler APIs subjects are accepted as a parameter

Acceptance criteria

Tasks can be assigned a subject when queued
When tasks are run the subject is used
If the subject is invalid, unable to execute the task fails
Integration tests

Note; Need to trace down where Job Scheduler components are implemented


Added Landing Page Photo for IskoXpress

hello done na!

nice thank you sm!! pa-merge na lang salamatt

mergedd!


How to parameterise question labels or descriptions?

Are you requesting a feature, reporting a bug or ask a question?
Question
I am brand new to surveyjs and could not find an answer to this. I did look! ;-)
I have a HTML "question" that says "Welcome!" followed by some descriptive text. Is there a standard way in surveyjs to do something like:
"Welcome [firstname]!" and provide an object of parameter values that will substitute before the question renders?
Or do I need to handle that in my "pre-processing"?
Thanks!
surveyjs is very cool!

@murrah Yes, you have to use {} brackets: "Welcome {firstname}!".
Here is the demo.
Thank you,
Andrew

Awesome! Sorry I missed that in the examples.
So, to do what I needed was slightly more complicated but it works:

I added a text question to the survey with a name of "firstname", and set its visibility to false.
After loading the JSON from my server but before displaying it I set the answer to the firstname question to the participants's name:
eg surveyModel.setValue("firstname", myServerRec.firstname);
Added the {firstname} token eg "Welcome {firstname}!" or in question description text "{firstname}, please tell us ...."

Voila!
Thanks,
Murray

@murrah you do not need the text question.
surveyModel.setValue() is enough.
Thank you,
Andrew

I would suggest to use setVariable
surveyModel.setVariable("firstname", myServerRec.firstname);
The difference between variable and value - variable will not exist in survey.data - JSON result.
Thank you,
Andrew

Even more awesome!
Yes, I removed the hidden "question" then simply called surveyModel.setVariable("firstname", myServerRec.firstname);
Thanks again Andrew!
Go well,
Murray

I have just come back to this and it seems that setVariable() does not set parameters in description fields. html and title fields, yes, but not description. Is that correct or am I missing something?
Thanks again,
Murray

@murrah Yes, indeed. There is a bug.
I have fixed it: https://github.com/surveyjs/surveyjs/issues/632
We will release the next minor likely tomorrow.
Thank you,
Andrew

Brilliant! Thank you Andrew for the fast response.


Add new ros-common dependency

Since commit
https://github.com/ros/meta-ros/commit/ed0fce246bed1bb417307935d871ec1c2554354d
ros-common now also depends on ros-backports-hardknott-layer.

Kann das nicht 100% bewerten.

wozu brauchen wir ros-common?

wozu brauchen wir ros-common?

as described in the comment, it provides the yaml-cpp recipe :slightly_smiling_face: