can not run

MEDIASOUP_WORKER_BIN="/home/mediasoup-go-demo/server/mediasoup-worker" go run main.go
show
ERR ../../worker.go:360 > (stderr) terminate called after throwing an instance of 'std::invalid_argument' logger=worker[pid:75731]
2022-09-30 13:29:28.000000 ERR ../../worker.go:360 > (stderr)   what():  stoul logger=worker[pid:75731]
2022-09-30 13:29:28.000000 ERR ../../worker.go:407 > process died error="worker process died unexpectedly" code=-1 logger=Worker pid=75731 signal=aborted

mediasoup-go doesn't support mediasoup from version 3.10.6 to up yet.

this issue is fixed on v1.10.3.


[ENG-9927][eas-cli] add profile flag to eas build:run command

Why
https://linear.app/expo/issue/ENG-9927/add-support-for-e-profile-to-eas-buildrun
How
Add --profile flag. If the --profile flag is present filter using it.
Test Plan
Tested manually

/changelog-entry new-feature Add --profile flag to eas build:run command


Only run backups when players are connected to the server

It would be nice if there was a way to stop backups from happening when there are no players connected to the server. I run a server where, most of the time, there are no players connected and therefore nothing changing. It would be ideal if the plugin could stop taking backups during that time.

That’s a very good point, I’ll add a setting to skip the update if fewer than x players are on.

Added the requested functionality in #3


img-uses-alt does not understand object spread

This rule considers the following JSX bad:
function Foo() {
  const props = { alt: 'foo' };

  return (
    <img {...props} />
  );
}

Yeah, this is tough because we can't statically destructure spread object to find alt prop - it's documented here
However, maybe what we can do is allow an option in rule declaration in eslintrc that permits pass on spread.

There might be some cases, such as the example I posted, where you could easily find the object definition and inspect its properties, right?

Foo looks like an image wrapper ( https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-has-alt.md#rule-details )
If so, I think:

Do a eslint-disable jsx-a11y/img-uses-alt on Foo.js
Add Foo to your config as an image wrapper "jsx-a11y/img-has-alt": [ 2, "Foo" ]

Is that right?

@robcolburn Yes, but I would destructure the props and be explicit in the wrapper component:
function Foo({ alt, ...props}) {
    return <img alt={alt} {...props} />
}

@evcohen, it's a good enforcement technique too since you can make alt required. 👍

@lencioni to answer your original question, we do have access to the current scope on the context object and can potentially handle the case that you mentioned. i'm hesitant to go in this direction, though because the cost of explicitly defining the alt prop is minimal and i think there is a benefit in terms of readability.
can you think of a use-case like the one you provided where we aren't receiving props as an argument and declaring them in the function scope?

i'm hesitant to go in this direction, though because the cost of explicitly defining the alt prop is minimal and i think there is a benefit in terms of readability.

I agree with this. I think if you add your example from https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/7#issuecomment-216389401 to the documentation, we can close this issue.


Drone

###pull request
Thank you for creating a pull request! To help us review / merge this can you make sure that your PR adheres as much as possible to the following.
The Basics

Commit is a single logical unit of work, only use multiple commits if doing different tasks
Commit does not include commented out code or unneeded files
rebase of main branch

The Content

Must include testing for bug or feature
Must include appropriate documentation changes if it is introducing a new feature or changing existing functionality
Must pass existing test suites

The Commit Message

Short meaningful description (ex: remove deprecated steps)
Uses the imperative, present tense: "change", not "changed" or "changes"
Includes motivation for the change, and contrasts its implementation with the previous behavior

The Pull Request

What is the reason for this change
Example usage of the failure for a bug, or configuration and expected output for a feature
Steps to test the change

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

merge

 All committers have signed the CLA.

Approved

hi @Bdsjewelry
There's no description/information on this change. I'm closing for now and if you wish to reopen, please follow the guidance in the description. Thanks.


Nativescript ListView loadmoreItems loading indicator like radListView?

Is there any workaround to show some loading indicator with loadMoreItems in Listview? for great user experience :)

@jannotabamo perhaps using ActivityIndicator with your own implementation that shows/hides the indicator when the event is triggered.
Please note that the repository is for logging issues, bugs and features related to NativeScript Angular.
For how-to related questions please use the community channels like the NativeScript forum, SO or NativeScript community slack


Add configuration for separate parser image

Basically split the "runner image" into two pieces: a parser image and a runner image. This is a pre-req for upcoming work, which will integrate the image from [1] into the pipeline
There will be an equivalent PR on the Terraform side for the updated config
[1] https://github.com/RMI-PACTA/workflow.portfolio.parsing

(approval pls)


SVM namespace changes

Merge additional namespace changes into master (svm v0.1.3)

This is basically to avoid patterns like the following:
extern crate "seax_svm" as svm;
use svm::svm::cell::SVMCell; // or whatever

Build failure is due to me forgetting to push an updated Cargo.lock for the top-level package after bumping up versions.  Commit 2d08ee75e4ede19fbf963f154a32468a056e4c17 should fix the build.


(Vaal) Storm Call quality modifier labeled incorrectly in Calcs

Storm Call/Vaal Storm Call's quality effect (Increased Area of Effect, under Area of Effect Mod in Calcs) is labeled as Rain of Arrows instead of Storm Call/Vaal Storm Call. Very minor, but it's there.

See also #1248 -- this happens in several different places.

Fixed in the next update.


Rain is not affected by shaders

Rain from Particle Rain is not affected by shaders (vanilla rain/Particle Rain)

this is what the color option in the config is for

@PigCart The color option allows you to change only the color of the particles, while shaders change their transparency

Will add transparency option.


Crash on Upgrade to 5.21.0

Issue Summary
Vising any page in Admin that results in listing posts, crashes.
Steps to Reproduce

Upgraded to 5.21.0 (MariaDB)
Visited Admin Panel

Ghost Version
5.21.0
Node.js Version
16.x
How did you install Ghost?
Source
Database type
Other
Browser & OS version
Chrome
Relevant log / error output
"err":{
      "id":"f666d1b0-577f-11ed-853a-91052f8bcbb2",
      "domain":"",
      "code":"ER_BAD_FIELD_ERROR",
      "name":"BadRequestError",
      "statusCode":400,
      "level":"normal",
      "message":"Could not understand request.",
      "stack":"Error: select `posts`.*, (with `k` as (select `member_id` from `members_subscription_created_events` where posts.id = members_subscription_created_events.attribution_id union select `member_id` from `members_created_events` where posts.id = members_created_events.attribution_id) select count(*) from `k`) as `count__conversions`, `posts`.*, (select count(distinct `members_click_events`.`member_id`) from `members_click_events` inner join `redirects` on `members_click_events`.`redirect_id` = `redirects`.`id` where posts.id = redirects.post_id) as `count__clicks`, `posts`.*, (select COALESCE(ROUND(AVG(score) * 100), 0) from `members_feedback` where posts.id = members_feedback.post_id) as `count__sentiment`, `posts`.*, (select count(*) from `members_feedback` where posts.id = members_feedback.post_id AND members_feedback.score = 0) as `count__negative_feedback`, `posts`.*, (select sum(`score`) from `members_feedback` where posts.id = members_feedback.post_id) as `count__positive_feedback` from `posts` where (`posts`.`status` = 'draft' and `posts`.`type` = 'post') order by CASE WHEN posts.status = 'scheduled' THEN 1 WHEN posts.status = 'draft' THEN 2 ELSE 3 END ASC,CASE WHEN posts.status != 'draft' THEN posts.published_at END DESC,posts.updated_at DESC,posts.id DESC limit 30 - Unknown column 'posts.id' in 'where clause'\n    at /var/www/connor/blog/versions/5.21.0/node_modules/@tryghost/bookshelf-pagination/lib/bookshelf-pagination.js:259:27\n    at Packet.asError (/var/www/connor/blog/versions/5.21.0/node_modules/mysql2/lib/packets/packet.js:728:17)\n    at Query.execute (/var/www/connor/blog/versions/5.21.0/node_modules/mysql2/lib/commands/command.js:29:26)\n    at Connection.handlePacket (/var/www/connor/blog/versions/5.21.0/node_modules/mysql2/lib/connection.js:456:32)\n    at PacketParser.onPacket (/var/www/connor/blog/versions/5.21.0/node_modules/mysql2/lib/connection.js:85:12)\n    at PacketParser.executeStart (/var/www/connor/blog/versions/5.21.0/node_modules/mysql2/lib/packet_parser.js:75:16)\n    at Socket.<anonymous> (/var/www/connor/blog/versions/5.21.0/node_modules/mysql2/lib/connection.js:92:25)\n    at Socket.emit (events.js:400:28)\n    at addChunk (internal/streams/readable.js:293:12)\n    at readableAddChunk (internal/streams/readable.js:267:9)\n    at Socket.Readable.push (internal/streams/readable.js:206:10)\n    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)",
      "hideStack":false
   },

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Wait. This is my fault for using MariaDB.
This is not an issue when I moved to mysql8.


buffer exceeded errors

Breakout issue of rancher/rancher#34819
Rancher Cluster:
Rancher version:2.5.9
Number of nodes:1500
Node OS version: RancherOS- v1.5.6
RKE/RKE2/K3S version: RKE
Kubernetes version: 1.18.6
Downstream Cluster:
Number of Downstream clusters: 150
Node OS: RancherOS-v1.5.6
RKE/RKE2/K3S version: RKE
Kubernetes version:v1.18.20
CNI:
Other:
Underlying Infrastructure: Azure
Any 3rd party software installed on the nodes: NA
Customer’s main time zone: UTC +2
Describe the bug
While running the script I see free memory on the DO host decline again, but it doesn't appear to be detrimental. Typically always at least 400MB free/cached. Likely not an issue.
Rancher server logs snippet below. Notice this is similar to my snippet prior when I reproduced. This is probably because the snippet prior wasn't related to the actions being performed by the script. We now see remotedialer buffer exceeded errors. There are a ton of these errors, this is just a snippet of them.
2022/01/14 18:03:47 [ERROR] remotedialer buffer exceeded, length: 4215507
2022/01/14 18:03:47 [ERROR] remotedialer buffer exceeded, length: 4248275
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4206503
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4239271
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4272039
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4304807
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4337575
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4370343
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4403111
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4435879
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4468647
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4501415
2022/01/14 18:03:56 [ERROR] remotedialer buffer exceeded, length: 4509027

I just upgraded from 2.5.11 to 2.5.12 and am seeing this error spammed in the logs quite often. Is this a problem? Everything "seems" to be fine so far.....though it's only been 10 min or so.

this is somehow related to the charts it seems

also facing this on

Component
Version

Rancher
v2.5.12

User Interface
v2.5.12

Helm
v2.16.8-rancher1

Machine
v0.15.0-rancher55

Component	Version
Rancher	v2.5.12
User Interface	v2.5.12
Helm	v2.16.8-rancher1
Machine	v0.15.0-rancher55

We upgraded to 2.6.4, still happening.

Synopsis of issue: A new log was introduced under error level when it should be debug level. This is alarming customers as they are seeing a flood of errors. When the conditions occur that result in the errors, user intervention is not necessary as there is a mechanism to pause filling the buffer until it is not full.
Resolved (or not): Resolved. This error may have been observed while other issues occurred but those should be documented in separate issues.
Versions: 2.5.14. Fix will be in 2.6 too but that will be a separate issue.

@rmweir So I understand that this "error" is only supposed to be under debug level logging, but is it supposed to happen at all, especially frequently? We are seeing it spammed A LOT in our logs, hundreds of times a minute. Is it normal that a buffer fills that quickly?
I ask because our nonprod Rancher environment is becoming increasingly unstable, with Rancher pods dying at frequent intervals due to node memory pressure, which is due to the Rancher pods using ever-increasing amounts of RAM. Are these related?

I see the issue is closed, so in which release is this fixed?

Fix is in remotedialer, which is a dependency in Rancher, and it was merged on May 19 2022 as you can see here:
https://github.com/rancher/remotedialer/pull/45
You can check if a certain version of Rancher has a certain version of remotedialer by looking at the go.mod file, for example for 2.5.17:
https://github.com/rancher/rancher/blob/v2.5.17/go.mod#L104
As you see in the version number, 20220624, this was taken on June 24, so it contains the fix. You can play with the URL above on different versions, eg. 2.5.13 does not have it:
https://github.com/rancher/rancher/blob/v2.5.13/go.mod#L102
as 20220318 is March 18, so earlier than the fix got merged.
Anyway, I see it fixed in all latest released versions: 2.5.17, 2.6.10 and 2.7.1.
As always I can recommend to update to the latest and let us know if you still experience problems!
HTH


[bug] The standard Windows installation makes anything made with Tauri look like malware

Describe the bug
I apologize for the clickbait-y title, but see the video below for why I'm ringing the bell about this:
https://user-images.githubusercontent.com/3120639/174429998-b17eb281-c50a-49a9-9118-4193be949678.mp4
When installing a standard Tauri application when the user does not have webview2 installed, the installer behaves like a malware-ridden installer.
The wix installer needs to be made to make it synchronous.
This was previously talked about in https://github.com/tauri-apps/tauri/issues/2452#issuecomment-918291043
It recently got a reply in the discord:

Personally i prefer a non-quiet installation
UAC is not an issue anymore because ms added support for installing it with just user permissions
i still agree that running the wv2 installer at the end/after the app installation is too late
...
it's indeed quite some time ago already so i'm not 100% sure, but i think we don't even need to use powershell but could use wix' ExePackage instead.
Unless setting tls1.2 in powershell works even if its not enabled system wide, because that would fix the installer on win7. and changing this setting for exepackage is not possible afaik.

https://discord.com/channels/616186924390023171/731495028677148753/985618974882541578
but needs some action taken on it.
If there's discussion on how it should be implemented, I'm happy to send a PR. My personal opinions on how it should work don't match that of the Tauri WG, so I'm not going to do it without some information, but I'm happy to do cross-testing for 7, 10 and 11 to make sure the results work and is a pleasant installation experience, as long as the parameters are laid out.
Reproduction

Build a standard tauri application
Remove Webview2 to cause the installer to install it for you
Install your build, watch it behave in a creepy fashion

Expected behavior
No response
Platform and versions
Windows pre-11, no WebView2 installed.

Stack trace
No response
Additional context
No response

As a note, even down to the UAC prompt (if it remains) - that needs to be tidied up too. Show something like "${AppName} installer" or something instead of the full path to the installer. Again, happy to do all of this, just need info on what is actually required.

Personally, I believe the webview2 installer should be silent, not explicit - my reasoning is that the MS office installer makes it silent, as does teams. I see no reason to bother the user when it's a shared component that's becoming standard, as more popups will scare the average user.
Most tauri apps will not be used by devs, they'll be used by regular users. The installer should reflect that.

I'm gotta say, i'm a little confused, i somewhat waited for the PR after our small convo 😅
I generally agreed with you and even mentioned a wix native alternative i'd like to see being explored to potentially remove the powershell portion.
And yes i said i personally don't like silent installers, but that's my opinion not from the team and either way doesn't mean that it shouldn't be explored. But guess what, i changed my mind* 🤷 Do you think there is a way to integrate the download/install progress into the wix progress bar? Probably not, but that does sound fancy.
* but only if it actually works fine: We had a few problems with silent installations in other contexts, so we really need to be sure it works for everyone.
Speaking of "working for everyone", that's the problem with the powershell approach (but with the wix one most likely too). The download of the wv2 installer needs TLS1.2 which unfortunately isn't enabled on most/many windows 7 machines _even though MS tried to enable it via an update). I think it was #2882 where we played around with that.

UAC is not an issue anymore because ms added support for installing it with just user permissions

Btw this was a reaction to an old github comment you linked and i meant the UAC for the webview2 installer (which as your video shows doesn't exist anymore), not for the app installer...

As a note, even down to the UAC prompt (if it remains) - that needs to be tidied up too. Show something like "${AppName} installer" or something instead of the full path to the installer.

As far as we/i know this is bound to code signing, isn't it?

Apologies for that, I wasn't planning to make a PR until I was absolutely sure what the team wanted, and since the convo ended quickly I assumed it would just be handled by the team.
If we're okay to go ahead with ExePackage I can investigate that. I don't believe install progress can be tracked, but at the very least we can see if the bootstrapper download's progress can be tracked (the whole "This may take a while" shtick you see around) - though there's another option I'll mention responding to another section in this comment.

but only if it actually works fine: We had a few problems with silent installations in other contexts, so we really need to be sure it works for everyone.

Any specific known situations/test cases that I can look into for this? Discord comment links work fine, hopefully I can try to replicate them.

Btw this was a reaction to an old github comment you linked and i meant the UAC for the webview2 installer (which as your video shows doesn't exist anymore), not for the app installer...

Oops, I thought that UAC prompt that popped up PS was for edge. Looking back over it, I see it's not used there. My bad, and my apologies. Though now I'm confused what was actually executing that... May need to investigate deeper.

Speaking of "working for everyone", that's the problem with the powershell approach (but with the wix one most likely too). The download of the wv2 installer needs TLS1.2 which unfortunately isn't enabled on most/many windows 7 machines _even though MS tried to enable it via an update). I think it was https://github.com/tauri-apps/tauri/issues/2882 where we played around with that.

Couldn't we just have Tauri download and bundle the webview2 bootstrapper directly into the installer instead? It's a fairly small exe (only 1.7MB!), so I don't see any reason not to just directly bundle it in this case if the issue is downloading - the tauri CLI already downloads wix as part of the build process anyway. Any reason not to?

As far as we/i know this is bound to code signing, isn't it?

Oh you know what, you're probably right. I was hoping for a change to the full path, but that makes sense. I jumped the gun here, sorry 😅

Couldn't we just have Tauri download and bundle the webview2 bootstrapper directly into the installer instead? It's a fairly small exe (only 1.7MB!),

Yeah, i was thinking about adding it in as a "windows7CompatibilityMode" or something.

Any reason not to?

Increased installer size :P

PR #3076 may be interesting for the UAC stuff and machine vs user wide installs, because right around that PR was when microsoft changed the wv2 installer to not require elevated permissions.
And yes the UAC prompt back then mentioned "Edge Updater" and afaik it still does if you install webview2 with elevated permissions.

Any specific known situations/test cases that I can look into for this? Discord comment links work fine, hopefully I can try to replicate them.

Not reallyyy, iirc it was mainly about silent installations not asking for elevated permissions, which shouldn't be a problem here. With microsoft themselves showing how to silently install it, i think it should be fine to just do some general tests.

Increased installer size :P

Not much of an increase imo and well worth the improved UX, but if you say so.

I'll see what I can do about this since I'm comfy enough to know what should be done, hopefully there will be an initial PR in the next couple weeks, work hours allowing.

Oh more important than the installer size (i don't care too much about it either, especially since it may be compressed even more) is that it always pulls the newest installer instead of the one you used when you created your app 2 years ago :P (btw this seems to be the default MS recommends)
But again, this is just me, idk what the others think, especially @lucasfernog but i don't think it's worth to be the default (because of the 2 reasons above) just for windows 7 users.

From what I understand, the evergreen bootstrapper will always pull the latest edge. I can go in and verify but that's what I got from skimming it, though I didn't dig too deep. I'll verify that before I try something like that.

the evergreen bootstrapper will always pull the latest edge

Yes that is correct, but i mean the installer/ the 1.7mb file itself. For example the change that allowed non-admin installations was in that file (afaik).

Ehhh... I'm on the fence as to if that's a good or bad thing, honestly.
Unless we're worried about the installer breaking altogether, generally keeping predictable behavior for a given binary I see as a positive - as long as malware isn't a concern.
MS isn't known to abandon links until products are entirely deprecated, and even then (windows 95's windows update service stayed online far longer than it should have lmao)

As a note, even down to the UAC prompt (if it remains) - that needs to be tidied up too. Show something like "${AppName} installer" or something instead of the full path to the installer.

Yeah this is only fixed if you codesign the MSI.
About the issue itself, I'd love to see a different implementation. I think ExePackage isn't an option here, IIRC it changes the installer to be an exe file (because you need to use a Wix bundle instead of product) and it would be a breaking change.
And for embedding the installer, would be better if it was a CLI build option for win7 or whatever - so ideally you'd ship a separate installer for dinosaur OSes.

It may be possible to do - the Compressed="no" option + RemotePayload child may be the key here. But I'm yet to get those working, need to find an easier way to debug the wix builds than the naiive method of just building each time. I'll see how far I can get next weekend.
See:
https://wixtoolset.org/documentation/manual/v3/xsd/wix/remotepayload.html

Describes information about a remote file payload that is not available at the time of building the bundle. The parent must specify DownloadUrl and must not specify SourceFile when using this element.

Only thing is it requires a SHA1 hash, but HexType also supports empty string, so maybe? Will try next weekend.

I think I'm gonna have to call it, there's a lot here that's over my head due to lack of familiarity with Windows.
However! I did find a useful utility for anyone else who wishes to take a crack at this: https://wixedit.github.io/
You'll wanna install the .net 3.5 SP1 runtime (even if you have 4 installed) and use the binary download, I've found their installer to generate a broken run, but it's gonna make designing the installer a lot easier. You're also gonna need WiX installed to the system, not as a set of free-floating binaries.
The problem I ran into is that it seems that Package being the outer actually prevents using ExePackage with anything, so I was unable to generate an easy test without spending far more time on this than I'm able to contribute at the moment.
See https://wixtoolset.org/documentation/manual/v3/xsd/wix/wix.html for details on that, and follow the chain up from the aforementioned RemotePayload to see how that could be structured.
In my case, I'll probably just do a thin native dialog that shows "Hey we need to install edge webview, that okay?" at startup in main. The installer seems to be a bit too much complexity for me to wrangle for the moment.


Asynchronous grab, invalid access with time.sleep()

Hi, I'm running asynchronous grab using the software trigger following the Python API manual. Below is the code that I ran:
# Software trigger for continuous image acquisition

import time
from vmbpy import *

def handler(cam: Camera, stream: Stream, frame: Frame):
    print('Frame acquired: {}'.format(frame), flush=True)
    cam.queue_frame(frame)

def main():
    with VmbSystem.get_instance() as vmb:
        cam = vmb.get_all_cameras()[0]

        with cam:
            cam.TriggerSource.set('Software')
            cam.TriggerSelector.set('FrameStart')
            cam.TriggerMode.set('On')
            cam.AcquisitionMode.set('Continuous')

            try:
                cam.start_streaming(handler)
                time.sleep(1)
                cam.TriggerSoftware.run()
                time.sleep(1)

            finally:
                cam.stop_streaming()

if __name__ == '__main__':
    main()

And I get the following error message:
Traceback (most recent call last):

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\feature.py:403 in run
    call_vmb_c('VmbFeatureCommandRun', self._handle, self._info.name)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\tracer.py:139 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\c_binding\vmb_c.py:892 in call_vmb_c
    getattr(_lib_instance, func_name)(*args)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\c_binding\vmb_c.py:811 in _eval_vmberror
    raise VmbCError(result)

VmbCError: VmbCError(<VmbError.InvalidAccess: -6>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\stream.py:161 in exit
    self.context.cam.get_feature_by_name('AcquisitionStop').run()

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\tracer.py:139 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\feature.py:414 in run
    raise exc from e

VmbFeatureError: Invalid access while calling 'run()' of Feature 'AcquisitionStop'. Read access: not allowed. Write access: allowed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File c:\users\fenglab\desktop\shuang\python\vimba_test.py:64
    cam.stop_streaming()

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\context_decorator.py:103 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\tracer.py:139 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\camera.py:406 in stop_streaming
    self.__streams[0].stop_streaming()

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\tracer.py:139 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\context_decorator.py:103 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\stream.py:497 in stop_streaming
    self.__capture_fsm.leave_capturing_mode()

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\stream.py:258 in leave_capturing_mode
    self.go_to_state(None)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\stream.py:241 in go_to_state
    raise exc.pop()

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\stream.py:232 in go_to_state
    self.__states.pop().exit()  # type: ignore

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\util\tracer.py:139 in wrapper
    return func(*args, **kwargs)

  File ~\anaconda3\envs\Shuang_env\Lib\site-packages\vmbpy\stream.py:165 in exit
    raise VmbCError(str(e))

VmbCError: VmbCError("Invalid access while calling 'run()' of Feature 'AcquisitionStop'. Read access: not allowed. Write access: allowed. ")

However if I comment out the time.sleep(1) before and after cam.TriggerSoftware.run():
try:
    cam.start_streaming(handler)
    # time.sleep(1)
    cam.TriggerSoftware.run()
    # time.sleep(1)

finally:
    cam.stop_streaming()

The code ran without error, and it printed out the frame info:
Frame acquired: Frame(id=1, status=FrameStatus.Complete, buffer=0x2594ad7d020)

I don't understand what's going on, and I need the 'time.sleep()' command to set up how often I take an image. Could someone help me with this? Thanks!

Hi, what camera, Version of VimbaX and OS are you using? It would also be helpful if you could save a settings file (that can be done through the VimbaX Viewer) and attach it here.

Hi, for this topic, please open a support ticket through the website and reference this issue, also include your camera serial number and firmware version there.
https://www.alliedvision.com/en/about-us/contact-us/technical-support-repair-/-rma/
This topic is related to the camera behaviour and not the API.


HDDS-6329. New checkstyle: AvoidStarImport

What changes were proposed in this pull request?
Add checkstyle rule: AvoidStarImport and fix all voilations.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6329
How was this patch tested?
checkstyle

Thanks @kaijchen for the patch.


Fix fuzzing invariant Schema::parse(s.serialize()) == s

An upcoming PR makes most of this obsolete (implicit v.s. explicit schema definition will be represented by a Rust Option) and includes the rest.


Linked information out of date.

link at the bottom of the page for installing views contains out of date information.
https://docs.microsoft.com/en-gb/azure/active-directory/reports-monitoring/howto-install-use-log-analytics-views

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b1eb6343-c4d6-6b06-f2eb-1c9435f997f3
Version Independent ID: 7413b72d-8305-eb0f-3876-2fcb013c5196
Content: Stream Azure Active Directory logs to Azure Monitor logs
Content Source: articles/active-directory/reports-monitoring/howto-integrate-activity-logs-with-log-analytics.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

So much of this content has been updated and it's not clear what was out of date in the comment.
#please-close


Add SCAI reusable actions (KubeCon NA '23 Demo)

This PR adds GitHub Actions for running the Go scai-gen tools through GHA workflows. This PR also adds a new (experimental) command scai-gen sigstore for Sigstore integration (cosign signing and Rekor upload) via GHA. The primary use of these Actions is as part of the in-toto KubeCon NA '23 demo. The demo implementation lives here.

Sounds good, I'm fine with this being merged now.


Publish semi-realtime listing inventory availability for vendor to IPFS

We would like to make it possible for buyers to retrieve an available inventory for a listing that is as up to date as is feasible.
There should be a server API endpoint that will return the latest known available inventory for a listing when sent the listing's peerID and slug.
We discussed various ways the inventory could be stored on IPFS that would not invalidate the root directory caching for less frequently updated data. Possibly we would save a second root directory for the inventory. Ideally this would not require changes to the IPFS code.
Assumptions

The inventory will be set in each listing as it is now, and updated when inventory is purchased, with no modifications needed to those APIs. Inventory should not be changeable in any  other way.
When inventory is retrieved from offline nodes by getting cached data from peers, it represents the most recent available data, and may be inaccurate.

Functional Requirements
General

[ ] All inventory endpoints should return data if possible even when the node with the inventory is offline or unreachable.

[ ] All inventory endpoints should return a date time in milliseconds for the last time the inventory was updated.

[ ] All inventory endpoints should accept a "useCache" parameter, which specifies whether the server can use cached data or not. This parameter should be a boolean.

[ ] If no inventory data can be retrieved, a human readable error message and an error code for internationalization should be returned.

[ ] For now the inventory APIs should ignore variants inventory. In the future we would want to include something like an array of SKU objects with a name composed from the variant names and a quantity, like "SKU: red-large, quantity: 5".

[ ] There should be an API endpoint to retrieve the last known inventory of a listing.

This endpoint URL should include the peerID and slug for the listing.
This endpoint should accept a useCache parameter.
This endpoint should return a last updated value.

Example data sent:
URL: /ob/listingInventory/QmV2xo6De168QB9nkrYYuj6FVJeeczz9KEn1M2YTARLoNb/red-shoes
{
  useCache: false
}

Example data returned:
{
  slug: "red-shoes",
  inventory: 32,
  lastUpdated:<PHONE_NUMBER>937
}

[ ] There should be an API endpoint to retrieve the last known inventory of all the items in a node.

This endpoint should return an array of inventory objects with slugs.
This endpoint URL should include the peerID.
This endpoint should accept a useCache parameter.
This endpoint should return a last updated value.

Example data sent:
URL: /ob/inventory/QmV2xo6De168QB9nkrYYuj6FVJeeczz9KEn1M2YTARLoNb/
{
  useCache: true
}

Example data returned:
{
  [
    {
      slug: "red-shoes",
      inventory: 32,
      lastUpdated:<PHONE_NUMBER>937
    },
    {
      slug: "green-shoes",
      inventory: 4,
      lastUpdated:<PHONE_NUMBER>435
    }
  ]
}

The thinking @cpacia and I had was to provide another IPFS root which might be used for highly-volatile data (in contrast to the listing data which is, comparatively, less-volatile). For now, just inventory availability per listing, but potentially other things, too (like public state for followers, followings, etc).
An example config structure might look like this:
localconfig/
├── blocks
│   └── _README
├── config
├── datastore
│   └── mainnet.db
├── datastore_spec
├── headers.bin
├── keystore
├── logs
│   ├── api.log
│   ├── bitcoin.log
│   ├── ipfs.log
│   └── ob.log
├── outbox
├── peers.json
├── repover
├── root
│   ├── channel
│   ├── feed
│   ├── files
│   ├── followers.json
│   ├── following.json
│   ├── images
│   │   ├── large
│   │   │   └── c18.png
│   │   ├── medium
│   │   │   └── c18.png
│   │   ├── original
│   │   │   └── c18.png
│   │   ├── small
│   │   │   └── c18.png
│   │   └── tiny
│   │       └── c18.png
│   ├── listings
│   │   └── hugs.json
│   ├── listings.json
│   ├── posts
│   ├── profile.json
│   ├── ratings
│   │   └── QmYsgA2ZB1af.json
│   ├── ratings.json
│   └── user_agent
├── highly_volitile_root   # new IPFS root
│   └── inventory.json
└── version

@jjeffryes I added slug to the product inventory return object.
Additionally, could we make the related API requests nested?
/ob/inventory/ # existing. returns local inventory
/ob/inventory/:peerID # returns inventory about peerID
/ob/inventory/:peerID/:slug # returns inventory about peerID's slug

@placer14 what would we use the call to retrieve your own inventory for?

what would we use the call to retrieve your own inventory for?

Anytime our node node needs the inventory on listing detail, purchase, etc... we could call the local call and save a super latent ipfs call. My plan would be to abstract that all away in an inventory utility module.

Anytime our node node needs the inventory on listing detail, purchase, etc... we could call the local call and save a super latent ipfs call. My plan would be to abstract that all away in an inventory utility module.

Ok. I was assuming the server would know not to go to IPFS if you were calling your own peerID.

@placer14 are you saying to get the inventory of your own (singular) listing, you'd call
/ob/inventory/:slug?

There should be an API endpoint to retrieve the last known inventory of all the items in a node.
This endpoint should return an array of inventory objects with slugs.

Could it instead return an object keyed by slug? This would make lookups easier and I'm not seeing any benefit from the fact that arrays are ordered.
For example:
{
  red-shoes: {
    inventory: 32,
    lastUpdated:<PHONE_NUMBER>937
  },
  green-shoes: {
    inventory: 4,
    lastUpdated:<PHONE_NUMBER>435
  },
}

lastUpdated:<PHONE_NUMBER>435

I know this is probably just a placeholder, but I assume we'll stick with the ISO time format the server uses everywhere else?

Ok. I was assuming the server would know not to go to IPFS if you were calling your own peerID.

Yeah, I think that's better and I believe how the server does it with some other calls. @placer14 Can the server abstract the local and ipfs inventory into one call so if you're calling from your own node, it gets it from the db, otherwise from ipfs?

All inventory endpoints should return data if possible even when the node with the inventory is offline or unreachable.

This may be semantics, but if the node is unreachable and useCache is false, I think the endpoint should return an error.

I think rather than having the inventory file nested inside another root directory I think it would be more efficient to publish the inventory file hash directly at /ipns/<peerID>/inventory. That way it saves an IPFS lookup.

Could it instead return an object keyed by slug?

Sounds fine to me.

I know this is probably just a placeholder, but I assume we'll stick with the ISO time format the server uses everywhere else (e.g. 2037-12-31T08:00:00.000Z)?

We can do that. I was thinking milliseconds would be convenient, but it's not a big deal either way.

This may be semantics, but if the node is unreachable and useCache is false, I think the endpoint should return an error.

Good point, that should be specified.

This may be semantics, but if the node is unreachable and useCache is false, I think the endpoint should return an error.

Good point, that should be specified.

I think it's just a matter of removing "or unreachable" from that bullet point.

@placer14 are you saying to get the inventory of your own (singular) listing, you'd call
/ob/inventory/:slug?

That endpoint (/ob/inventory) already exists. I was just trying to follow the convention we already had in the API.

That endpoint (/ob/inventory) already exists. I was just trying to follow the convention we already had in the API.

We can use a different endpoint to avoid confusion, it seems to me like the functionality here is a little different, and there's not POST option for individual listings.

We can use a different endpoint to avoid confusion

It would still be nice if the server could abstract the other end point to pull from the db it called from your own node.

and there's not POST option for individual listings.

I think setting the inventory on an individual listing is done via the listing POST/PUT APIs.

I think setting the inventory on an individual listing is done via the listing POST/PUT APIs.

You can use the POST to /inventory to set the inventory on a single listing (I don't think that's currently used anywhere), but it doesn't follow the pattern above, instead you send the slug and variant in the data.
Should the current inventory call be updated to return data the way we're proposing here? Currently it looks like this:
[
  {
    "quantity": 0,
	"slug": "test-inventory",
	"variant": 1
  },
  {
    "quantity": 0,
	"slug": "test-inventory",
	"variant": 7
  }
]

We can do that. I was thinking milliseconds would be convenient, but it's not a big deal either way.

The absolute timestamp would allow you to compare between two fetches to know which one was more recent. And, if you need ms since that date, it can be easily determined.


Bug: panEnd gesture does not get the right spot on the barline always gets the first spot

The panEnd gesture always returns the 1st point on the barline, it does not return the correct spot it was stopped. I was able to view this by logging out where the panEnd stops. It should stop at the last update point but it resets back to one.

Looks like the offending code is here:
        final LineTouchResponse response =
            _touchHandler?.handleTouch(FlPanEnd(Offset.zero, details.velocity), chartSize);

The pan shouldn't end at Offset.zero. It should provide the correct ending position like all of the other callbacks.

I believe I have a solution for this and it will also solve a couple of other tickets.

We should not be using pan, we should use horizontalDrag. This solves the problem of scrolling up and down and accidentally triggering the touchline. #227
To get the end location, I will use setState from the update.

What do you think @imaNNeoFighT ?


Use system_command instead of system in Casks

system_command was introduced way back in #5723 as an interface for Casks to run shell commands in *flight blocks without using backticks or Kernel#system, allowing us to capture the output and error out if the command failed.
We've had some issues in the past where Casks silently failed to install or uninstall because a system call in a *flight block failed but no error was raised. Using system_command, such failures will be made apparent to the user, and thus to us when users create bug reports.
We should also create a cop over in rubocop-cask to check for instances of system and warn the user to replace them with system_command. We could even make it autocorrect to further reduce the burden on the user.

Action items:

[X] Replace existing instances of system in Casks with system_command
[ ] Create a cop to warn when a Cask uses system instead of system_command

[ ] Teach the cop to autocorrect

Would it also be possible to just "overwrite" the Kernel#system command in a similar way as homebrew does it?

This is their overridden system method that's exposed to Formula authors; we could potentially do something similar by exposing a system method on Hbc::DSL::Base.

First Action item is complete - all instances of system have been replaced with system_command in all repositories.

Closing in favour of https://github.com/caskroom/rubocop-cask/issues/46.


Remove SequenceDeps Table

What's New?

I left the SequenceDeps table around for reference
We don't need it anymore
It's causing errors under certain circumstances.

This PR removes the SequenceDeps table.

Coverage remained the same at 89.883% when pulling 6aa703ebecbfe791061779686d47d423e8f9cd68 on RickCarlino:invalid_foreign_key into e0101d31544520994ecd97b54ea22aeb1f38af77 on FarmBot:staging.


feat(curriculum): create CSS Pseudo Classes quiz

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine or GitPod.

Closes #56183

Hi @SahilWMI . Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Page not completely in sync with the new Azure Portal UI

Page not completely in sync with the new Azure Portal UI

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2428e888-f65a-558f-c7ac-7ee47b10ef74
Version Independent ID: bb1399b5-4bbb-5bc4-877e-f3f43bbef973
Content: Add a dual-stack network to an existing virtual machine - Azure portal - Azure Virtual Network
Content Source: articles/virtual-network/ip-services/add-dual-stack-ipv6-vm-portal.md
Service: virtual-network
Sub-service: ip-services
GitHub Login: @mbender-ms
Microsoft Alias: mbender

@co-dax
Thanks for your feedback! We will investigate and update as appropriate.

@co-dax
Thanks for the feedback.  We are aware of the issue and have an item in our backlog to address when the portal changes are 100% rolled out.
#please-close


Replaced load with loadMissing to reduce queries

Fixed tags relation loading multiple times for each component.

This has been reverted since the full load is deliberate, otherwise newly saved records are not fetched from the database


fix(config): pre-populate defaults before invoking user config function

Fixes #222
~I can't seem to run the tests locally, so let's see if CI can do it.~
I got the tests to run, and added one for explicitly setting defaults to null and not setting defaults at all.

This change is

@RWOverdijk CI config appears to have some cached creds which are now invalid. 😞

Unauthorized response for GitHub API.
Use jspm registry config github to reconfigure the credentials, or update them in your ~/.netrc file.

Ah yeah... Fixed. I'll click update branch :D

Published as v3.2.1
Nice version number. Guess we have liftoff ✈


ExemptRegexps doesn't work

I'm using some like that
handler := nosurf.New(cleanHandler)
handler.ExemptRegexps("/css(.)", "/js(.)", "/images(.*)")
Exempting my assets, but seems don't work:
Request URL:http://<IP_ADDRESS>/js/bootstrap.min.js
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:/
Accept-Encoding:gzip,deflate,sdch
Accept-Language:es,en;q=0.8,en-CA;q=0.6
Connection:keep-alive
Cookie:csrf_token=WK6UlEqLP3ioDLsUhuQTc1ZZ08DujAS5Gbxv0G2Riow=; _ga=GA1.1.1561828371.1415760157; session=MTQxOTg4Mzk2N3xfVmc3amc5OFh4RW04VUVjekhxLS16SEIwcEpyY0RUZW9EU3lodHdPSk4zUzdnTUpfYlFpR3l0dmM0a182Y0NTNVRMWE5TQ25fNWZhdzAwOHR5MjROYm5vNGoxdDRPNlA1V0FFdU5sZmQ5cm1HWVZidHk4bUg3aDBzVDBwQUhXSFNQb1JlRjdGTndCbms2UTJCN0liM0ZMR0dyRjMyYUlKSWxUVjU3NlhZVWUzaDNsMlZGczJrcnlsd0V5ZVM5SG9pc3RRVjdINk9RRy1PY245aGlkZTdRSnJncWJZelBLT196cHIwSUM0OVVUQThsNXB6NHVOS2g0PXzY2_Q54s1zOKcqBe5NimAmarqUBGrgq6LsWp1kQ28QZg==; flash=MTQxOTg4Mzk3NXxEdi1EQkFFQ180UUFBUkFCRUFBQUJQLUVBQUE9fKrNyW2LmqkQYwTkI9cMXz3dRF2VVQQx2C0LNCx5_UNC
Host:<IP_ADDRESS>
Referer:http://<IP_ADDRESS>/login
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Response Headersview source
Accept-Ranges:bytes
Cache-Control:public, max-age=300
Content-Encoding:gzip
Content-Type:application/x-javascript
Date:Mon, 29 Dec 2014 20:30:43 GMT
Last-Modified:Thu, 29 Aug 2013 13:52:00 GMT
Transfer-Encoding:chunked
Vary:Cookie
Vary:Accept-Encoding

To clear it up: Set-Cookie will still get sent even on exempted routes, but only when the existing token in Cookie is missing or invalid: ServeHTTP() returns early only after checking the presence of the cookie.
To test whether the routes were successfully exempted, issue a POST /js/. It should not prevent the request from happening, even though the form data contains no token.
Though I think you forgot asterisks for css and js routes: a period will only match one symbol.

To clear it up: Set-Cookie will still get sent even on exempted routes, but only when the existing token in Cookie is missing or invalid: ServeHTTP() returns early only after checking the presence of the cookie.
To test whether the routes were successfully exempted, issue a POST /js/. It should not prevent the request from happening, even though the form data contains no token.
Though I think you forgot asterisks for css and js routes: a period will only match one symbol.


Add a feature for staggered reconnection logic

If a great many sockets are in play, let's say 10000 connect sockets and 1 bind socket, it is possible that a network interruption (or a slow server restart) causes a large number of messages buffered on the connect sockets and these will all try to be sent immediately after reconnection when the bind socket once again becomes available.  It would be good to check whether backpressure works (but it might not, due to how messages are sent, i.e., in the sending code the messages immediately go into a queue), but, it is probably also a good idea to add a feature that allows a user-specified random delay between connection attempts.  If this is spread over, say five or ten seconds (for each connect socket) that might be enough to allow all the connections to come back up without overwhelming the server all at once.

Added in #20


Plans to update for ChartJS 4.x?

Are there any plans to update so we don't keep seeing the warning in install that ChartJS 3.0 dependency is not found?
It works with 4.x as far as I can tell, and using --force on the install works, but it would make me feel more comfortable if this plugin was officially supporting 4.x. :)

Any updates on this?

Bumping this issue, I am using v4.2.1 of chart.js and cannot pass build process without using force, which isnt ok for production. Please provide timeline for this issue
"chart.js": "^4.2.1",
"chartjs-adapter-moment": "^1.0.1",
"chartjs-plugin-streaming": "^2.0.0",
"moment": "^2.29.4",

npm ERR! code ERESOLVE

npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/chart.js
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/chartjs-adapter-moment
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/chartjs-plugin-streaming
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/chart.js
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/chartjs-plugin-streaming
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

Same. would love to see this updated for 4.x. Thanks!

I am waiting for the next update of this package. It would be great to be able to use it in ChartJS 4.x environment. Thanks. :)

Is no one maintaining this repo any more? If anyone has a newer (and maintained) alternative, I'd be happy to switch.

Bump??

FYI: I found this forked repo for Chart.js V4.x , however I am unsure if it's legit or anything. Just wanted to let you guys know, will now try it myself.

Bump!

It would really be nice to have an update for this. I know it's on personal time!!!
Thank you1

thanks @MiriamJo, I've just successfully upgraded an Angular 17 project to use chart.js@4, switching over to @robloche/chartjs-plugin-streaming@3 at the same time.
I was about to check this one in "useful forks" when I saw your message, I appreciate you saving me a bit of a search. :)


Enhance dropdown api request

[ ] Move it away from component logic
[x] Dynamic ddragon version resolution

Only moved onResponse for clarity, but won't change the dropdown object for practical reasons.


[QUESTION] - Support ESD

Your script will the supported install.ESD format contained ISO?

The only reason I have not implemented the use of LZMS (ESD) compressed images is because of the potential time it would take to export them, especially on users' systems that may not have the best hardware. That said, it's something that could easily be implemented, though.


Using the vsock-proxy to other addresses

Hello @richardfan1126!
First of all, congratulations on this repository! It is very helpful to understand how nitro enclaves work, and especially using a Python script.
I have a question though, I am trying to perform an API call from inside the enclave, I am retrieving some sensitive data and would like to process it from inside the enclave. I was thinking about using the vsock-proxy tool to redirect the traffic from inside the enclave to this API, which is not from AWS. Although I am not sure if this is possible, when I try to do this, EC2 tells me that there was an error checking the allowlist, but I do not know how to add this new address to the allowlist.
Do you have anything in mind that could help me on this?
Thank you!

@pedroprates
This issue is related to vsock-proxy configuration
You need to specify the configuration to use when running vsock-proxy. Please check this: https://github.com/aws/aws-nitro-enclaves-cli/blob/main/vsock_proxy/README.md#flags-and-options
You can create your own configuration by referencing the default one: https://github.com/aws/aws-nitro-enclaves-cli/blob/main/vsock_proxy/README.md#flags-and-options


Explore lazy evaluation of (potentially) infinite data sets, probably using fp-ts -- KR

My starting hypothesis is that Gary Bernhardt's "Functional core, imperative shell" pattern would be a good model to adopt, and I want to use error handling as the "pull".
So I am starting with a review of our current code, attempting to assess where it does and doesn't meet this pattern.
Working in the repo on branch gold-fcis-255.


⚠ Fortnite has degraded performance

In 5cf125a, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1565 ms

Resolved: Fortnite performance has improved in c9158c8.


handle event responses as per NIP-20

I got annoyed because my relay keeps showing red dot for writes on registry page, eg:

This happens when registry page checks for writes, the relay responds with:
[
    "OK",
    "41ce9bc50da77dda5542f020370ecc2b056d8f2be93c1cedf1bf57efcab095b0",
    false,
    "error: failed to save: failed to save event 41ce9bc50da77dda5542f020370ecc2b056d8f2be93c1cedf1bf57efcab095b0: pq: duplicate key value violates unique constraint \"ididx\""
]

and not with what's written in NIP-20. So while fixing this I took the opportunity to also handle event responses as per NIP-20.
With this fix it responds with:
[
    "OK",
    "41ce9bc50da77dda5542f020370ecc2b056d8f2be93c1cedf1bf57efcab095b0",
    true,
    "duplicate: event already exists"
]

Let me know when I can click the green button.

@fiatjaf I believe this is ready to be merged. If there's anything else outstanding in this PR lmk and i'll address.


Typewriting Experience in Markdown Widget

Use case
I am writing to you today with a feature request that I believe could enhance the user experience of the Markdown widget even further. I have been exploring ways to create a typewriting effect when displaying text content in my Flutter applications. After careful consideration, it occurred to me that integrating such a feature directly into the Markdown widget could be immensely beneficial for developers seeking to add dynamic and engaging content to their applications.
Proposal
The typewriting effect, where text appears gradually as if being typed in real-time, can add a touch of interactivity and capture users' attention more effectively. I envision a simple yet customizable option within the Markdown widget that allows users to enable or disable the typewriting effect, along with parameters to control the typing speed and delay between paragraphs.
I believe this feature would not only make the Markdown widget more versatile but also open up new possibilities for creative and engaging user interfaces. I understand that you have your hands full with maintaining and improving the package, but I genuinely believe that this addition could benefit the Flutter community as a whole.

Hello @decisionslab2.
I see you opened multiple issues for the same use case. Closing this in favour of the already existing issue.


Feature/crocus ldt glacier fraction

This pull request is part of the Crocus implementation within the LIS framework. The updated LDT provides the parameter file to run the Crocus in LIS. The code computes the glacier fraction.
A test case can be found in
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/yy_hma
./ldt.config_test_glcier_frac
./run.job.ldt

@LIS-navari, it turns out it was just a configure flag. I initially compiled with strict checks to check the code, but didn't recompile with defaults for testing. Sorry about that. Once requested the changes are pushed I'll retest and merge.

@LIS-navari, it turns out it was just a configure flag. I initially compiled with strict checks to check the code, but didn't recompile with defaults for testing. Sorry about that. Once requested the changes are pushed I'll retest and merge.

Test cases are here.
LDT from master branch
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/hma_master
LDT from development branch
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/yy_hma
Plotting scripts
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/yy_hma
ldt_cro.xdf
ldt_orig.xdf
plot.gs

Test cases are here.
LDT from master branch
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/hma_master
LDT from development branch
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/yy_hma
Plotting scripts
/discover/nobackup/mnavari/my_projects/thp/ldt_testcase/yy_hma
ldt_cro.xdf
ldt_orig.xdf
plot.gs

Hi @LIS-navari, thanks for making these changes. The test output still looks good.
I fixed the formatting in the ldt.config.adoc changes and updated the domain bounds/resolution descriptions. For example, I changed:
Glacier fraction lower left lat: -89.995
To:
Glacier fraction lower left lat: specifies the lower left latitude of the LIS model output.
Let me know if these changes look ok to you.

Hi @LIS-navari, thanks for making these changes. The test output still looks good.
I fixed the formatting in the ldt.config.adoc changes and updated the domain bounds/resolution descriptions. For example, I changed:
Glacier fraction lower left lat: -89.995
To:
Glacier fraction lower left lat: specifies the lower left latitude of the LIS model output.
Let me know if these changes look ok to you.

Thanks

Thanks

Great, I'll go ahead and merge.
I recommend opening a new Issue regarding the clean-up and/or other work this feature needs so we can keep track of that.

Great, I'll go ahead and merge.
I recommend opening a new Issue regarding the clean-up and/or other work this feature needs so we can keep track of that.