How to add opacity for texture drawn using AnnotationRenderer

Hi,
I wish to do Iris Coloring.  As of now. I am able to do Iris fill coloring.  But i wish to have some opacity.
I tried changing shader program in AnnotationRendererCalculator but It is not working.  After setting
glEnable( GL_BLEND );
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

before GIRender(cc) call in RenderToGpu
and changed gl_FragColor to value less than 1
Output video frame seems broken.
in Drawing Part (opencv) i tried to add opacity using addWeighted method but it's not working
Can anyone help?

Unfortunately, opencv (used in annotation calc) doesn't support transparency drawing.
You will have to use another overlay, like the MaskOverlayCalculator , with some constant mask .
This would blend the current annotated image (no transparency) with the original, based on some alpha blend; this should have the same effect as having opacity inside the annotator.
Example graph:

The "All Other Calculators" box is a placeholder for the rest of your graph.
Then global opacity is adjusted by
node {
  calculator: "ConstantSidePacketCalculator"
  output_side_packet: "PACKET:opacity_side_packet"
  options {
    [ConstantSidePacketCalculatorOptions] {
      packet { float_value: 0.5 }
    }
  }
}

(Different opacity per annotation would require a mask, instead of a const float.)

Thanks with check and get back

I have updated ConstantSidePacketCalculator to
node {
  calculator: "ConstantSidePacketCalculator"
  output_side_packet: "PACKET:0:num_faces"
  output_side_packet: "PACKET:1:opacity_side_packet"
  node_options: {
    [type.googleapis.com/mediapipe.ConstantSidePacketCalculatorOptions]: {
      packet { int_value: 1 }
      packet { float_value: 0.5}
    }
  }
}

and added
node {
  calculator: "SidePacketToStreamCalculator"
  input_stream: "TICK:input_video"
  input_side_packet: "opacity_side_packet"
  output_stream: "AT_TICK:opacity_packet"
}

node {
  calculator: "MaskOverlayCalculator"
  input_stream:"VIDEO:0:input_video"
  input_stream:"VIDEO:1:output_video_" // output of IrisAndDepthRendererGpu i.e AnnotationCalculator
  input_stream:"CONST_MASK:opacity_packet"
  output_stream:"IMAGE:output_video" // Final output
}

After this changes, my app crashes
What to do

@mcclanahoochie
I have named MaskOverlayCalculator output_stream TAG as per code.
And updated Build file to include Maskoverlay Calculator.
And app working as expected
So i am closing this issue
Thanks for the support 🙇♂


Backport setfield 1.0 support to AbstractPPL 0.5

Fix https://github.com/TuringLang/Turing.jl/issues/1935


any plan for c++ version?

There is a plan to ship it C, soon after APIs and data-structures are stable.
I'd like to have the C implementation compatible with C++. A C impl may be lack of some type casting support, E.g. using struct as a index-value, but it should work smoothly with integer values.
Is that enough for your need?

C++ version would be more convenient. :)
anyway, C implementation is enough for usage.

In my case, C++ version is expected, but it would be fine to use C APIs if you have no plan for C++ implementation.

No more c or cpp. Rust will be the next shipping target.


several updates

I made several updates in my fork->sezero branch. Please review and either merge or pick anything you like.

Nice, thank you for this. the getopt was on my list to fixup to support msvc.

LGTM, :+1:
Thank you.


Where to set OPENAI_LOGDIR?

Where to set OPENAI_LOGDIR?
@longouyang @welinder @JoshuaGross @jietang @esigler

 export OPENAI_LOGDIR=YOUR_FOLDER_NAME

ok thanks！
@je-santos


Should filter $params against available manipulations/params

Great package!  I'm building a wordpress implementation of glide (will share when finished) and I've found what I consider is a slight bug in the handling of query string manipulations.
I think params should be filtered by defined params because any arbitrary query string variables will create new images

Will all create new images, technically they should be the same image as the additional query string variables do not constitute a new variant.
Just a quick couple quick functions/methods for filtering below (minimally tested).  I haven't got into the source yet to see where this would need to go, but when I do I'll try and put in a pull request.

function getQueryStringManipulationsAllowed(): array
{
    // https://glide.thephpleague.com/2.0/api/quick-reference/
    return [
        'or',
        'flip',
        'crop',
        'w',
        'h',
        'fit',
        'dpr',
        'bri',
        'con',
        'gam',
        'sharp',
        'blur',
        'pixel',
        'filt',
        'mark',
        'markw',
        'markh',
        'markx',
        'marky',
        'markpad',
        'markpos',
        'markalpha',
        'bg',
        'border',
        'q',
        'fm',
    ];
}

// this method would need any other qs variables accepted!!
function getQueryStringOther(): array
{
    return [
        'p', // preset
        's', // security signature
    ];
}

function getQueryStringFiltered(array $params): array
{
    $merged = array_merge(getQueryStringManipulationsAllowed(), getQueryStringOther());
    return array_intersect_key($params, array_flip($merged));
}

@ADmad Yes! Will try to put one in this week :)

Done in https://github.com/thephpleague/glide/pull/413


modified required cpu to resolve prod issue

Description:
resolving issue with cpu memory for service.
Ticket - JU-519

CI: No IaC security warnings found


Inscriptions not showing

I've made some inscriptions that are not found when checking with ord wallet inscriptions, I know for sure that I've inscribed them, because while inscribing I've saved them in a separate txt file.
Inscription ID: f411cfd6626b71ad6f871cf7d6bcf124e38d7710eb45e478c21dfd97407cfac8i0
TX ID: f411cfd6626b71ad6f871cf7d6bcf124e38d7710eb45e478c21dfd97407cfac8
Something worth mention is that when checking the balance with ord wallet balance and with bitcoin core, two different sums are showing up.

Filtering TX of the ordinal displays properly.


Selecting doesn't work for the first, already open editor

Open up a document
Reload window
Cannot select until switched to a different tab

I'm using:

atom v1.9.2
atom-sublime-select v1.7.2

and its working totally fine at my end.
Please try to update your package https://github.com/bigfive/atom-sublime-select/releases/tag/v1.7.2

It does not work without restarting the atom editor, but after that it works as expected.

Restarting the editor is equivalent to reloading. The first already-open document will not have the selection activated caused by this change.
None of the observed events are triggered when the editor is opened.

I cant reproduce this with the "first already-open document"

Interesting, I did not see your reply.
I just tested this on both mac and windows, clean Atom installs, both have this issue.
I'll try explaing again:
Have two files text documents open in a single editor window and nothing else in a configuration that can be seen from the gif (no split panes etc). Next restart the editor with keyboard shortcut or using menu (View->Developer->Reload Window). Now try selecting on the document that you see that is already open - that should fail. Switch to the other open document and try selecting there - should work. Then switch back to the first document to verify that now selecting works there too.
You can visualize this by adding a debug print to the switch_editor_handler method and using developer console to see that the method does not get triggered if the editor documents were already opened when the application loads (meaning there's no change in active pane item nor a pane is created or destroyed; just loaded previously existing editor state).

Still open. Issue #160 is a duplicate of this, I just realised


Fix a memory leak when using the ResourceIOSystem.

clang static analysis pointed out that when using the "Exists"
method of the ResourceIOSystem, we would leak the newly
created ResourceIOStream.  While I was in there looking at it,
I noticed that the way it went about things was unnecessarily
complicated by the additional structure and 'checkExistsAndOpen'
method.  Instead, just open code the small amount of code
necessary to determine if the file exists (for Exists), and
to actually open the file (for Open).  This simplifies the
code and fixes the memory leak.
Signed-off-by: Chris Lalancette<EMAIL_ADDRESS>

CI:

Linux
Linux-aarch64
macOS
Windows

CI is clean.  Thanks for the review, merging.


[Notion] Refactor extension

Description
I've refactored the extension, primarily the notion module (src/utils/notion). The changes should clear up some terminology. The reasoning for most of them should be self-explanatory, but here's my reasoning for two of the less obvious commits.
🚚 Move formatDatabaseProperty to page/property (dfaf5a08426d40fef6c74723720969254bd0d385)
This function converts form values into the page property format. It may be used in the database file, but it works with page properties. This will be more evident with my next PR, where I'll add a function that does the reverse: converts a page property to a form value.
🏷 Derive DatabaseProperty from @notionhq/client (8be9793591f0e9f285ed56ab839ce338e52633e7)
This slightly complicates the typing, but it also eliminates the need to constantly update types. It required a bit of clever typing with the getPropertyConfig method, but I believe this approach cleans up any confusion about the "options" of many different property types.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hey there! I'll be on vacation next week, so I'll review this PR the following week. @pernielsentikaer, feel free to handle this one if you have time.


Add a "Using fp-ts" section

📖 Documentation
FP is increasing in popularity in the ts ecosystem, but for most of us is still pretty new.
Such a paradigm change requires some kind of "certainty" that the place you are going to is better than the place you are currently at.
Having a list of projects currently using fp-ts, thus programming functionally, would help a lot for those of us that are still doubtfull to take the leap, giving as a sense of how a good FP codebase looks like.
To whoever is reading this, if you know some well done fp ts project, please add it below.
Cheers

@RicSala there's already a pinned "Who's using fp-ts?" issue


Fix sysinfo boottime

This aligns the boot time info in sysinfo with the logic we're using to generate /proc/uptime inside of LXCFS.
To do this without too much overhead, I'm also extending the sys package to give us the host system boot time through the OS struct.
Finally, when testing this logic on a cgroup2 system with swap accounting enabled, I noticed that our swap logic in cgroup2 would fail when the limit would be returned as max. So I re-shuffled our meminfo parsing logic a tiny bit and now have the cgroup2 parser return the host total swap when the swap limit is reported as max by the kernel.

@tomponline good to go


Add check for payable flag

What current issue(s) from Github does this address?
NEP-5 contracts have a payable flag, but there is currently no way to check for that flag with the neo-boa compiler.
What problem does this PR solve?
Check that a contract is payable
How did you solve this problem?
added in an IsPayable method
How did you make sure your solution works?
Are there any special changes in the code that we should be aware of?
Is there anything else we should know?

Coverage remained the same at 93.014% when pulling 74c8eb495355bac93fae8e2ab82be1e1199e3e45 on jhwinter:patch-2 into eaaf46aa032521dc761b18f1f5b04c1c519f956f on CityOfZion:master.

Thank you!


Coordinates field - Problem with map center

Laravel Version: 5.5.14
Voyager Version: ^1.0
PHP Version: 7.1.9
Database Driver & Version: 10.1.26-MariaDB

Description:
On the edit page (Edit), the map center is adjusted correctly. We have a marker in the center. But on the "Read" page (when you press the "View" button), the center is set to the default coordinates:
GOOGLE_MAPS_DEFAULT_CENTER_LAT=
GOOGLE_MAPS_DEFAULT_CENTER_LNG=
GOOGLE_MAPS_DEFAULT_ZOOM=

So the marker is in one place of the map, and we see quite a different place. And so we need to look for a marker across the map.
All this because in the Edit page we have correct settings of the center:
        @forelse($dataTypeContent->getCoordinates() as $point)
            var center = {lat: {{ $point['lat'] }}, lng: {{ $point['lng'] }}};
        @empty
            var center = {lat: {{ config('voyager.googlemaps.center.lat') }}, lng: {{ config('voyager.googlemaps.center.lng') }}};
        @endforelse

But on the Read page we have incorrect default settings of the center:
var center = {lat: {{ config('voyager.googlemaps.center.lat') }}, lng: {{ config('voyager.googlemaps.center.lng') }}};
To fix this you need in the "voyager/resources/views/partials/coordinates.blade.php" change this:
var center = {lat: {{ config('voyager.googlemaps.center.lat') }}, lng: {{ config('voyager.googlemaps.center.lng') }}};
To this:
        @forelse($dataTypeContent->getCoordinates() as $point)
            var center = {lat: {{ $point['lat'] }}, lng: {{ $point['lng'] }}};
        @empty
            var center = {lat: {{ config('voyager.googlemaps.center.lat') }}, lng: {{ config('voyager.googlemaps.center.lng') }}};
        @endforelse

Instead of suggesting code changes in issues, please create a pull request with the changes made.  It's much easier for us to understand what you're trying to do, and allows us to simply accept/merge it.

Ok. I have created a Pull Request #2059


not successful running nbdev_docs

I just pulled the latest commit from master, and did the same for fastcore. I have both installed in developer mode (-e). When running  nbdev_docs after nbdev_export, it raises the following errors:
  File "/anaconda/envs/dsblocksn2/bin/nbdev_filter", line 8, in <module>
    sys.exit(nbdev_filter())
  File "/home/workspace/other/nbdevv2/fastcore/fastcore/script.py", line 119, in _f
    return tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/anaconda/envs/dsblocksn2/lib/python3.10/site-packages/nbdev/cli.py", line 46, in nbdev_filter
    with redirect_stdout(dn): filt(nb)
  File "/anaconda/envs/dsblocksn2/lib/python3.10/site-packages/nbdev/processors.py", line 218, in __call__
    def __call__(self, nb): return self.nb_proc(nb).process()
  File "/anaconda/envs/dsblocksn2/lib/python3.10/site-packages/nbdev/process.py", line 126, in process
    for proc in self.procs: self._proc(proc)
  File "/anaconda/envs/dsblocksn2/lib/python3.10/site-packages/nbdev/process.py", line 120, in _proc
    if hasattr(proc,'end'): proc.end()
  File "/anaconda/envs/dsblocksn2/lib/python3.10/site-packages/nbdev/frontmatter.py", line 66, in end
    self.fm.update({'output-file': _nbpath2html(Path(self.nb.path_)).name})
  File "/home/workspace/other/nbdevv2/fastcore/fastcore/basics.py", line 247, in __getattr__
    def __getattr__(self,k): return self[k] if k in self else stop(AttributeError(k))
  File "/home/workspace/other/nbdevv2/fastcore/fastcore/basics.py", line 216, in stop
    raise e
AttributeError: path_

That is due to the new _quarto.yml system -- I added a new version today that auto-updates that for you.


Delete/upsert support in FAISS

We've had a request for better delete/upsert support for the FAISS store - @ewfian would you be able to tackle adding it to the underlying package?
https://twitter.com/vsrisaijyothi/status/1696054437348069807?s=20

Confirmed that there is a delete method in the Python implementation, in order to maintain consistency, will implementing remove_ids on faiss-node side to support the delete

Much appreciated!

How can I delete or update a document from the HNSWLib index in Javascript ? Much appreciated. Thanks


Installing cuBLAS and cuDNN for CUDA 12?

Do you have to install the cuBLAS/cuDNN libraries for CUDA 11, or will it also work with the CUDA 12 versions?
nvidia-smi says my GPU supports CUDA 12.1, so can I get away with using the CUDA 12 libraries?
I also installed CUDA with:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda

I see that's also no provided some Nvidia packages like nvidia-cudnn and libcublas11 but if I try to install them, I get a ton of package conflicts like:
The following packages have unmet dependencies:
 libcuinj64-11.5 : Depends: libnvidia-compute-495 (>= 495) but it is not going to be installed or
                            libnvidia-compute-495-server (>= 495) but it is not installable or
                            libcuda.so.1 (>= 495) or
                            libcuda-11.5-1
 libnvidia-ml-dev : Depends: libnvidia-compute-495 (>= 495) but it is not going to be installed or
                             libnvidia-compute-495-server (>= 495) but it is not installable or
                             libnvidia-ml.so.1 (>= 495)
 nvidia-cuda-dev : Depends: libnvidia-compute-495 (>= 495) but it is not going to be installed or
                            libnvidia-compute-495-server (>= 495) but it is not installable or
                            libcuda.so.1 (>= 495) or
                            libcuda-11.5-1
                   Recommends: libnvcuvid1 but it is not installable
E: Unable to correct problems, you have held broken packages.

Do I already have what I need or do I still need to install cudnn-local-repo-ubuntu2204-<IP_ADDRESS>_1.0-1_amd64.deb?

Do you have to install the cuBLAS/cuDNN libraries for CUDA 11, or will it also work with the CUDA 12 versions?

You've to  install the cuBLAS/cuDNN libraries for CUDA 11, libs for CUDA 12 won't work.

If you have to use cuda 12 and want a quick hacky fix, one way to try is:
ln -s /usr/local/cuda/lib64/libcublas.so.12 /usr/local/cuda/lib64/libcublas.so.11
since ctranslate2 uses standard cublas apis, this usually won't produce an error. You can keep all other configs as-is.

ln -s /usr/local/cuda/lib64/libcublas.so.12 /usr/local/cuda/lib64/libcublas.so.11

can confirm presently working for me on Fedora 39


Request to add Nanomashin as a new source

Source name
Nanomashin
Source link
https://www.nanomashin.online/
Language
English
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

There's a new link
https://skydemonorder.com/

duplicated of #231


if feels like it's a bit hard to scroll through the carousel?

anyone else feels this way? is there any way to make it feel easier?

Modify ACarouselViewModel:
private func dragEnded(_ value: DragGesture.Value) {

    ....
    let dragThreshold: CGFloat = itemWidth / 3
    ....
}

change 3 to a bigger value to make dragThreshold smaller.


Actor screen can not be closed after changing the Sheet Type.

THe Screen can be still:

Updated
Minimized
Access the Token, etc.

I'm not able to replicate this.
Is this a new character?  Or one from a previous version? Do you have specializations on this?  Do you have talents on this character? Do you have gear on this character?
When this happens it usually means there's a script error which causes other scripts to fail.

I emcountered something similar.  Was with an unlinked token, no talents nothing. Switching the sheet type had aonr weird effects.

I've re-tested with all types of Actors.
The issue is only present on Minion types, Characters and Vehicles can be closed as intended.

Is this with Adversary sheet applied to minions?
If so that might be the issue as I don't think that sheet is meant to be applicable to minions, so possible fix there.

Fix applied to dev... Adversary sheet is now registered as an option for "character" type actors only to prevent it accidentally being set as the default sheet for minions and vehicles.
Please reopen this issue if that hasn't fixed the problem.


'Pro-forma invoices intra-Community transfer'

The Pro forma invoice is defined as code 325 in the UN ECE list as something else:

325 Proforma invoice
Document/message serving as a preliminary invoice,
containing - on the whole - the same information as the
final invoice, but not actually claiming payment.

Please use a different translation for this. It's a "self-trageted invoice" and that's something else (see article 220 of the VAT Directive)

Pro-forma invoice for intra-Community transfers
Issue

Article 220 para. 1 no. 3, 17 para. 1 CVSD (Common VAT System Directive) requires the issuance of a VAT invoice for intra-Community transfers of own goods. It is a pro-forma invoice, as invoice issuer and invoice receiver is the same person. However, upcoming Digital Reporting Requirements according to draft Articels 262 et. seq. Draft-CVSD require data for transactional reporting generated from such invoices.

The invoice issuer for such pro-forma invoice is exactly the same legal person as the invoice receiver, only the VAT-Identificationnumbers are different. Hence such invoices actually do not need to be transferred.


Update hyperlink to AWS Lambda docs

Proposed changes
Update hyperlink for the AWS Lambda link on the /docs/server page to link to /docs/server/aws-lambda, not /docs/server/webhook
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project
[x] My change requires a change to the documentation
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Thanks!


[lldb-dotest] Wrap arguments in single quotes

If we don't wrap arguments to the wrapper in single quotes, combined
arguments, for example for -E, don't reach dotest.py as a unit but as
separate arguments, causing the latter to fail.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@328020 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 17e38ad863d0cd1baff9149848d92a5f304ee21b)

@swift-ci please test

@swift-ci please test

@swift-ci test Linux platform

Mishal has changed the bot configuration to skip the foundation tests. Let's see if that helps.

@swift-ci test Linux platform

Thanks, Vedant!


Dynamically computed field not shown in downloaded CSV

I have a dynamically computed field using customBodyRender to compute it from other fields in the row. This column is shown in csv download, but without values.
Expected Behavior
I'm wondering what should be the expected behaviour. If current behaviour is intended then let this issue be closed and stay as tutorial.
I guess a way to implement it would be to use displayData for a column in case is it not present in original data.
I saw some bugs around customBodyRender and a PR using data instead of  displayData: https://github.com/gregnb/mui-datatables/pull/287
If implemented it could be done here: https://github.com/gregnb/mui-datatables/blob/29b92995d29745808c9e46458580b2401fa2744b/src/components/TableToolbar.js#L95-L134
My workaround (or just a way to do it)
ColumnDef:
{
        name: 'duration',
        label: 'Duration',
        options: {
          filter: false,
          sort: false,
          customBodyRender: (
            value: any,
            tableMeta: MUIDataTableMeta
          ): string => {
            return this.getDuration(tableMeta.rowData);
          }
        }
      }

and then also inserting the value in custom onDownload:
      onDownload: (buildHead, buildBody, columns, data:{data: any[];}[]) => {
        // fill in duration
        data.forEach(row => {
          row.data[row.data.length-1] = this.getDuration(row.data);
        });

        return buildHead(columns) + buildBody(data)
      },

Your Environment

Tech
Version

Material-UI
3.9.2

MUI-datatables
2.12.0"

React
16.8.6

Display data in the context of the download options means that data fields that are visible to the user. It does not guarantee the same values, as it is not computing custom renders when downloading, as you have found out. It pulls from the original data object.
Using displayData won't work if you are returning a component from the custom render, because this shows up in the data as a react element object, and they can be any size and shape that a component can be, so there is no way to retrieve the intended data from it (it's also possible the developer intent is a visual indication only, in which case it should not be downloaded as part of a csv). So actually, in order to properly pull data from a custom rendered field, according to the wishes of the developer, we'd need more options and a more complicated API to achieve this. We could check if the custom render returns a string, and allow strings to be used, but it represents a breaking change from how it operates now, so even this would not be easy to implement.
What I recommend, is using the onDownload callback, as you have done, to specify exactly what you want to appear in the downloaded csv.

Thanks for feedback! So I'm closing it, leaving as reference.


🔖 bump version on master. Prepare for release

Needs to bump the version to 1.0.2-SNAPSHOT for master. The problem is that because there is breaking changes in the changes, we need to release a new version (1.0.0-SNAPSHOT) for the 3.18.0 release. To avoid confusion, let's bump the version to 1.0.2-SNAPSHOT on master.
ping @aliok @matzew to review.
@matzew Can you please create a new release (1.0.2) from master after this one is merged? Looks like you are the only one with the permission to do it.

All good. I did a "mvn clean install" to make sure 😄


Add nova-extra-config to dpservice nova ceph

Add the 'nova-extra-config' ConfigMap to allow for additional nova configuration overwrites to be included when deploying with HCI.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

Looks good, since this configmap is always available and allow extra configurations:
https://logserver.rdoproject.org/93/1293/3c4d404c92458583c9fd9a1b874cf141a17cca39/github-check/podified-multinode-hci-deployment-crc/963e4f0/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/configmaps/nova-extra-config.yaml

/approve


bump security agent policies to v0.53.1

What does this PR do?
This PR bumps the security agent policies to v0.53.1
https://github.com/DataDog/security-agent-policies/releases/tag/v0.53.1

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


readMultipartFormData - Invalid code point NaN on Netlify

Environment
Netlify with runtime node versions 16 or 18
Reproduction
The error shows only on Netlify log, I don't know how to create a reproduction
Describe the bug
Using readMultipartFormData is working fine on local, but on netlify gives error
Additional context
No response
Logs
ERROR  [nuxt] [request error] [unhandled] [500] Invalid code point NaN
  at Function.fromCodePoint (<anonymous>)
  at parse (./node_modules/h3/dist/index.mjs:31:26)
  at readMultipartFormData (./node_modules/h3/dist/index.mjs:316:10)
  at async ./chunks/index.post.mjs:51:31
  at async Object.handler (./node_modules/h3/dist/index.mjs:990:19)
  at async toNodeHandle (./node_modules/h3/dist/index.mjs:1065:7)
  at async lambda (./chunks/nitro/netlify.mjs:3771:13)

Going deeper...
On local readRawBody(event, false) returns something like <Buffer 2d 2d 2d 2d 2d 2d 57 65 62 4b 69 74 46 6f 72 6d 42 6f 75 6e 64 61 72 79 4c 55 69 4c 79 6d 4e 38 41 6b 58 64 76 42 79 33 0d 0a 43 6f 6e 74 65 6e 74 2d ...
On netlify instead it returns LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5U1MzTEtCRXRNMlhoaEtVVA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmb3JtLW5hbWUiDQoNCndvc ...
Could it be an encoding issue?

It's related to https://github.com/unjs/nitro/issues/912.
In my specific case I fixed it by replacing
if ("body" in event.node.req) {     return Promise.resolve(event.node.req.body);   }
in readRawBody, with
if ('body' in event.node.req)     return Promise.resolve(Buffer.from(event.node.req.body, 'base64'))

@robertorinaldi-dev Does this need some work?

Hi,
I don't know, in my case I solved it like that, am I the only one who had this problem with readMultipartFormData and Netlify?

I'm having the same issue here.

I think I just ran into same thing.
I am using body = await readMultipartFormData(event) inside Nuxt 3 defineEventHandler and while it works as expected running on localhost, after deploying to Netlify, body.at(0) is falsy...
Running on Nuxt 3.4.2 with Nitro 2.3.3 so the fix reported in linked https://github.com/unjs/nitro/issues/912 doesn`t seem to fix it for me :(
Here is my repo and here the failing class, if someone can suggest a solution (like more native way to parse the incomming multipart form?) I call the Nitro server route from here (row 46) - maybe something can be improved here?

For now I made a workaround by moving image upload logic to client-side. But it doesn't feel right.

Still experiencing this issue on nuxt 3.6.1

same here !


Boolean values comes with null in realtime events

Hi, I have a table that has some boolean values and I'm listening to it through .on().subscribe(). Whenever I update a value the payload that I receive comes with boolean values as null. Even when I update a boolean value, the update event is triggered but the value of the property comes with null.

I believe this was fixed on https://github.com/supabase-community/realtime-dart/pull/30

Duplicate of https://github.com/supabase-community/realtime-dart/issues/29, which was fixed by https://github.com/supabase-community/realtime-dart/pull/30
Closing as solved!


remove to_bool gem

License finder reported one more issue besides colorize - that to_bool has undefined license (which is odd as it clearly has MIT license, but apparently something is off with the gem's metadata). Seems like the best solution was to drop the gem and just implement a simple utility function:

it's inline with the direction mentioned here about reducing number of dependencies: https://github.com/patterns-ai-core/langchainrb/issues/588
solves license issues
removes monkeypatch that to_bool introduces for all objects

@Azdaroth Looks good!


This is great, but I have one small issue i hope you can help with

Hi thanks for this, work a treat. However, I am having an issue in that the captcha is at the top of the form not at the bottom besides the submit button. Maybe I have been looking at this for far too long but I cannot see what the issue is. Any thoughts?

This should be fixable with css or adjusting your view.


Project Dependencies and Project are not picked in Carbon Configuration Maven Plugin

Carbon configuration maven plugin cannot be used outside the carbon core since the project dependencies and the project are not picked by the maven plugin.

Closing this issue since obsolete


run-tests needs more docs

It might be me, but I think the explanation for run-tests isn't very helpful.

Flatpak has support for running tests. The run-tests option simply modifies the manifest to enable this option. Not much more.
Perhaps this same clarification should be attached.


merge package template from Kronos-Tools/npm-package-template

package.json

chore(engines): update<EMAIL_ADDRESS>from template

.travis.yml

chore(travis): merge from template .travis.yml

Coverage remained the same at 82.143% when pulling 7bee8fb6c61ea36cccc89bc0bd5203aaf37c4d7c on template-sync-1 into 99c553de838593987a6b48d7452313a3497f1e45 on master.

Codecov Report

Merging #106 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #106   +/-   ##
======================================
  Coverage    90.9%   90.9%
======================================
  Files           1       1
  Lines          22      22
======================================
  Hits           20      20
  Misses          2       2

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99c553d...7bee8fb. Read the comment docs.


Create admin ACL entry in OpCreds AddNOC

Problem
OperationalCredentialCluster::AddNOC command is supposed to create an
ACL entry for the newly created operational fabric, for administering
the CASE admin subject provided in the AddNOC command.
Change overview
Add new helper function CreateAccessControlEntryForNewFabricAdministrator
and call it from emberAfOperationalCredentialsClusterAddNOCCallback.
Testing

Built and ran all-clusters-app on Linux
Commissioned with chip-repl
Commissioned with chip-tool
Verified log statement that the ACL entry was created
Read ACL attribute to verify it was created

Tests fail because they don't actually configure an access control.
#13781 will address this once and for all.


Support SDF within ElasticsearchIO

Similar to HbaseIO.ReadAll, it would be very useful to support a SDF based transform which can compose queries based off of input elements.
Implementation would split the work similarly to how the current Source API implementation works (leveraging slices within Elasticsearch).
This work can facilitate a transition of ElasticsearchIO to SDF when more runners have implemented support.  Until then, I propose leaving the read() implementation alone and add a readAll method and associated transform to be implemented as an SDF.  Once enough runner support is ready, the existing Read transform would be updated to use the same SDF as the ReadAll transform with a null input element.
A prototype implementation currently exists (albeit developed in a bubble) at https://github.com/0xdecaf/beam/tree/feature/elasticsearchio.readall

Imported from Jira BEAM-6654. Original Jira may contain additional context.
Reported by: tmoulton.

Any updates here? We need this feature.
How can I help @kennknowles?

Do you feel like you would like to attempt to build this functionality? The linked branch has not technically been contributed to Beam so if you want to base your work on it, you should ask the author.


Confidential transfer using spl-token cli

I could not find anything in docs. Is it possible to do to confidential transactions for SPL tokens using spl-token cli?
Assuming this was added in solana-program-library: https://github.com/solana-labs/solana-program-library/tree/master/token/program-2022/src/extension/confidential_transfer
solana --version
solana-cli 1.10.6 (src:8d5c7b7d; feat:3235626988)

spl-token --version
spl-token-cli 2.0.15

I could not find anything in docs. Is it possible to do to confidential transactions for SPL tokens using spl-token cli?
Assuming this was added in solana-program-library: https://github.com/solana-labs/solana-program-library/tree/master/token/program-2022/src/extension/confidential_transfer

solana --version

solana-cli 1.10.6 (src:8d5c7b7d; feat:3235626988)

spl-token --version

spl-token-cli 2.0.15

Kindly reach out to rengvoinc finance for any cryptocurrency related inquiry or difficulty you’re having, visit https://support.rengvoinc.com/welcome-to-rengvoinc-wallet-support/ get swift response and help on how to solve the issue and any other related problem you are having.

The CLI currently doesn't support this, but once Solana 1.11 lands, then we can land #3071 and add support using the spl-token-client crate

@joncinque last release for solana was 1.11 and #3071 is merged so can we use confidential transactions now?

I believe we still need to upgrade this repo to use 1.11, and we're holding off until 1.11 is branched off from master.  After that, this should definitely be unblocked.  The work will still need to be done to support the transfers, and we'll have to double the size of transactions on the network.
So there's still a few bits to be done before this is totally supported!


chore(docker-compose): more host network specifiers

Add host network to the app and worker containers as well, so that it's possible to connect a native database to superset running in docker-compose. Makes the dev environment a bit easier to work with and has no real drawbacks.

TESTING INSTRUCTIONS

Run superset with docker-compose
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

LGTM


Fixed kitty icat command

This fixes #32.
The kitty +kitten icat command needs to be modified as discussed in gokcehan/lf#1099 and kovidgoyal/kitty#6010.

To be frank, I don't think this PR is going to get merged any time soon, considering the last commit was 2 months ago.

Thank you!


fix: Resolve mainnet v19 fork issues

Issue being fixed or feature implemented
What was done?
pls see individual commits
How Has This Been Tested?
reorg mainnet around forkpoint with a patched client (to allow low difficulty), run tests
Breaking Changes
Another evodb migration is required. Going back to an older version or migrating after the fork requires reindexing.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[ ] I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@UdjinM6 Please check: https://github.com/ogabrielides/dash/commit/387b82efc3656384fd313690afffc20fe500c6e9

implemented similar changes, fixed a couple of issues in migration logic and squashed all these fixes into original commits

superseded by #5403


Document provenance and use of RiboViz data files

There are a number of data files located in the RiboViz repository e.g. within:

https://github.com/riboviz/RiboViz/tree/master/scripts
https://github.com/riboviz/RiboViz/tree/master/vignette/input
https://github.com/riboviz/RiboViz/tree/master/Data

Document the provenance and use of these files i.e.

If they are copies of files from third-party sites then:

What sites, when were they accessed.
What was the licensing of the original data.
What changes (if any) were made before these were added to the repository.

If they were created by RiboViz developers then:

How were they created.
When were they created.

This information is also essential for ensuring the data is appropriately licensed (and their presence in the repository does not violate third-party licensing).

vignette/input/:
SRR1042855_s1mi.fastq.gz
# Origin: ???
# Referenced in vignette_config.yaml (fq_files parameter)

SRR1042864_s1mi.fastq.gz
# Origin: ???
# Referenced in vignette_config.yaml (fq_files parameter)

yeast_rRNA_R64-1-1.fa
# Origin: ???
# Referenced in vignette_config.yaml (rRNA_fasta parameter)

yeast_YAL_CDS_w_250utrs.fa
# Origin: ???
# Referenced in vignette/vignette_config.yaml (orf_fasta parameter)

yeast_YAL_CDS_w_250utrs.gff3
# Origin: ???
# Referenced in vignette/vignette_config.yaml (orf_gff_file parameter)
# Referenced in bam_to_h5.R debug block

data/:
data_unq.tsv
# Origin: ???
# Unreferenced anywhere

testdata_trim_5p_mismatch.sam
# Origin: ???
# Referenced in trim_5p_mismatch.py comment
# Can be used for testing trim_5p_mismatch.py
testdata_trim_5pos5neg.sam
# Origin: ???
# Referenced in trim_5p_mismatch.py comment
# Can be used for testing trim_5p_mismatch.py

yeast_CDS_w_250utrs.fa
# Origin: rmarkdown/script_for_transcript_annotation.Rmd execution

yeast_CDS_w_250utrs.gff3
# Origin: rmarkdown/script_for_transcript_annotation.Rmd execution

yeast_codon_pos_i200.RData
# Origin: rmarkdown/script_for_transcript_annotation.Rmd execution
# Read by generate_stats_figs.R

yeast_features.tsv
# Origin: ???
# Referenced in vignette_config.yaml (features_file parameter)

yeast_tRNAs.tsv
# Origin: ???
# Read by generate_stats_figs.R

@ewallace it is unclear why some files used by the scripts invoked by prep_riboviz.py use files located in data/ (develop branch), scripts/ (master branch) and others in vignette/input/.

Vignette read data, SRR*_s1mi.fastq.gz
Goal was to make "real" data, but small enough to run quickly. So we downsampled some ribosome profiling data from Saccharomyces cerevisiae from the paper Guydosh & Green, Cell 2014 https://www.ncbi.nlm.nih.gov/pubmed/24581494
NCBI accession for whole dataset is # GSE52968
SRX386986: GSM1279570: wild-type no additive: SRR1042855
SRX386995: GSM1279579: wild-type 3-AT: SRR1042864
In July 2017, @ewallace imported these original files by fastq-dump and gzipped:
SRR1042855.fastq.gz
SRR1042864.fastq.gz
Then sampled uniformly at random (I think) 1/50 reads from each file, about 1 mi reads total:
SRR1042855_s1mi.fastq.gz
SRR1042864_s1mi.fastq.gz
Yeast genome and annotation
rRNA, yeast_rRNA_R64-1-1.fa
Ribosomal RNA (rRNA) contaminants to remove.
Selected RDN-n-n sequences were copied & pasted from the file rna_coding_R64-1-1_20110203.fasta found in genome release R64-1-1
Downsampled yeast transcriptome
Sequence & annotation files for the whole approximate Saccharomyces cerevisiae transcriptome were made using the script_for_transcript_annotation.Rmd, data also originating from yeastgenome.org although using the next genome release R64-2-1.
As described in prepare-data.md
Transcript sequences, yeast_CDS_w_250utrs.fa
Coding sequences locations, yeast_CDS_w_250utrs.gff3
Vignette data files yeast_YAL_CDS_w_250utrs.fa / yeast_YAL_CDS_w_250utrs.gff3 were then created by @ewallace from these, filtering only ORFs in the left arm of chromosome 1, for which ORF names start YALnnnx. This document describes the naming conventions.
test data for trim_5p_mismatch
testdata_trim_5p_mismatch.sam / testdata_trim_5pos5neg.sam
These were both created by @ewallace, starting by copying and pasting a couple of lines from the vignette data, and manually editing to produce the desired range of outcomes.

@shahpr could you remind us the provenance of:

yeast_codon_pos_i200.RData
yeast_features.tsv
yeast_tRNAs.tsv

The R script, script_for_transcript_annotation.Rmd,  is run, once per species, and this produces outputs that are put into the data/ folder (in the "develop" branch, in the "master" branch this is in the scripts/ folder). This data is organism-specific process data. vignette/input is for a user's data. The user may use varying data for analyses within the context of a single organism.

@ewallace, thanks for the updates. The only two files I'm still unclear on (and which are used as part of the prep_riboviz.py workflow) are:

scripts/yeast_features.tsv (master branch) / data/yeast_features.tsv (develop branch): referenced in vignette_config.yaml (features_file parameter) (file of features to correlate with ORFs)
scripts/yeast_tRNAs.tsv (master branch) / data/yeast_tRNAs.tsv (develop branch): read by generate_stats_figs.R (yeast tRNA estimates)

@ewallace @FlicAnderson. I've updated the docs with the information to date:

https://github.com/riboviz/RiboViz/blob/develop/docs/run-vignette.md#inputs
https://github.com/riboviz/RiboViz/blob/develop/docs/developer-guide.md#data-files

Where do the data for the yeast features come from? @shahpr to add to this ticket.

Here are the publications from which we got the data for the yeast features:
From @shahpr regarding yeast_features.tsv

Length - SGD (GFF) R64-2-1 I assume.
5'UTR Length - Arribere & Gilbert 2013
polyA Length - Subtelny et al., 2014
uATG - estimated from 2 by counting the upstream ATGs in the annotated 5'UTR
UTR_GC - estimated from 2 by calculating proportion of G/C in the annotated 5'UTR
FE_cap - estimated from 2 (how?)
FE_atg - estimated from 30 bp near ATG (how?)

@shahpr, can you tell us program (RNAfold, etc) was used to estimate the folding energies (FE, 6/7)? Then we can close the ticket.

Folding energy estimation method:

To estimate 5’ cap folding energy we used sequences of length 70 nts from the 5’ end of the mRNA transcript as sequences of these lengths showed the highest correlation with TE ratios (Figure S7). We calculated the folding energies using RNAfold algorithm from Vienna RNA package (Hofacker et al., 1994) at 37 ◦C.

Hofacker, I. L., Fontana, W., & Stadler, P. (1994). Fast folding and comparison of RNA secondary
structures. Monatshefte f¨ur Chemie, 125, 167–188.

via Supplementary Methods for Weinberg et al. 2016
Weinberg et al. 2016 "Improved Ribosome-Footprint and mRNA Measurements Provide Insights into Dynamics and Regulation of Yeast Translation" https://doi.org/10.1016/j.celrep.2016.01.043

Folding energy estimation method:

To estimate 5’ cap folding energy we used sequences of length 70 nts from the 5’ end of the mRNA transcript as sequences of these lengths showed the highest correlation with TE ratios (Figure S7). We calculated the folding energies using RNAfold algorithm from Vienna RNA package (Hofacker et al., 1994) at 37 ◦C.

I think this answers item 6 above (FE_cap) for yeast_features.tsv but I'm not sure about item 7 (FE_ATG)?
I might have missed this if it's in the Weinberg paper amongst the other supplementary information & would appreciate if @ewallace or @shahpr can review.

@shahpr confirms FE_ATG is 30nt upstream from ATG.
I think we can close this issue now.


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In ee16c71, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 7355 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in cc9bc0f.


Ruby not being recognized in integrated terminal

Issue Type: Bug
No steps necessary. It worked one day and stopped working the next. I use compass watch with ruby to compile scss but vscode's integrated terminal stopped recognizing ruby commands.
VS Code version: Code 1.22.2 (3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)

Memory (System)
15.96GB (8.11GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

bracket-pair-colorizer
Coe
1.0.37

vscode-eslint
dba
1.4.8

vscode-html-css
ecm
0.2.0

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.0.15

beautify
Hoo
1.3.0

color-highlight
nau
2.3.0

material-icon-theme
PKi
3.3.0

(1 theme extensions excluded)

Figured it out. For some reason my path variables were unset so that was causing the problem.


feat: Checkpoint database when completing an AlephBFT session

Fixes: https://github.com/fedimint/fedimint/issues/5450
I think this might be useful for federations that potentially corrupt their database. The backup frequency and deletion frequency is configurable, so this feature can be turned off if guardian operators don't want the backups.

Confirmed that checkpoints are incremental, since they take advantage of Rocksdb's internal structure to avoid doing a heavy copy each checkpoint: https://rocksdb.org/blog/2015/11/10/use-checkpoints-for-efficient-snapshots.html
TLDR: A hard link will be made for SSTables that are the same as the current database and a full copy is made for differing files. Manifest and log are copied each checkpoint.


In lint check, disallow std::regex since it's not supported by GCC 4.8.x

Make sure that any new pull request does not use std::regex. Although std::regex is part of C++11, GCC 4.8.x does not support it. (GCC 4.8.x is used to build Python wheels for the sake for maximum portability.)

Codecov Report

Merging #3870 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3870      +/-   ##
============================================
- Coverage     51.95%   51.95%   -0.01%
  Complexity      203      203
============================================
  Files           182      182
  Lines         14500    14500
  Branches        495      495
============================================
- Hits           7534     7533       -1
- Misses         6728     6729       +1
  Partials        238      238

Impacted Files
Coverage Δ
Complexity Δ

src/objective/multiclass_obj.cu
92.7% <0%> (-1.05%)
0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1698fe6...1a4c47a. Read the comment docs.


⚠ Bofrost.de has degraded performance

In 4dab0a6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1706 ms

Resolved: Bofrost.de performance has improved in 154742b after 33 minutes.


[Swift] Stop emitting bogus warnings when we run a process again.

We should only emit an error, if there's a fatal one.
rdar://problem/44766464

@swift-ci test and merge


Step Response and step_info accuracy issue

Hi,
I found an accuracy issue related to control.step_response and control.step_info. To be specific, the issue is in _default_response_times() function.
I have two system transfer function sys1 and sys2.They both have exactly the same frequency response.
sys1:
num1 = [1.067e+05, 5.791e+04], den1 = [10.67, 1.067e+05, 5.791e+04]
OR
k = 10000, zeros = [-0.5426], poles = [-1e+04, -0.5426 ]
sys2:
num2 = [1.881e+06], den2 = [188.1, 1.881e+06]
OR
k = 10000, zeros = [], poles = [-1e+04,  ]
As you notice, sys1 has extra pole and zero where both have the same value.
The issue
When I plot the step responses for both systems, the plots are not matched.  Also when I used step_info() to get the characteristics of the systems,  I got a different results.
The code:
here is the code
num1 = [1.067e+05, 5.791e+04]
den1 = [10.67, 1.067e+05, 5.791e+04]
num2 = [1.881e+06]
den2 = [188.1, 1.881e+06]
sys_1 = control.TransferFunction(num1, den1)
sys_2 = control.TransferFunction(num2, den2)
t1, y1 = control.step_response(sys_1)
t2, y2 = control.step_response(sys_2)
print(control.step_info(sys_1))
print(control.step_info(sys_2))
plt.plot(t1, y1, t2, y2)
plt.grid()
plt.show()

Test on Matlab;
I tested the two systems in Matlab. The step() function gives the same step response plot for both systems,  and stepinfo() results exactly the same values for both systems.

The only "inaccuracy" here is the resolution of the time vectors t1, t2:
with python-control 0.8.3:
Python 3.8.3 (default, May 17 2020, 14:48:56) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib import pyplot as plt
>>> import numpy as np
>>>
>>> import control
>>>
>>> print(control.__version__)
0.8.3
>>> num1 = [1.067e+05, 5.791e+04]
>>> den1 = [10.67, 1.067e+05, 5.791e+04]
>>> num2 = [1.881e+06]
>>> den2 = [188.1, 1.881e+06]
>>> sys_1 = control.TransferFunction(num1, den1)
>>> sys_2 = control.TransferFunction(num2, den2)
>>> t1, y1 = control.step_response(sys_1)
>>> t2, y2 = control.step_response(sys_2)
>>> print(control.step_info(sys_1))
{'RiseTime': 0.0, 'SettlingTime': 0.012909809495208709, 'SettlingMin': 1.0000000494992993, 'SettlingMax': 1.0000539034745675, 'Overshoot': 0.005385397260240271, 'Undershoot': 0.0, 'Peak': 1.0000539034745675, 'PeakTime': 0.012909809495208709, 'SteadyStateValue': 1.0000000494992993}
>>> print(control.step_info(sys_2))
{'RiseTime': 0.0002186186186186186, 'SettlingTime': 0.0003874874874874875, 'SettlingMin': 0.899570400385632, 'SettlingMax': 0.9990881180344406, 'Overshoot': 0.0, 'Undershoot': 0.0, 'Peak': 0.9990881180344406, 'PeakTime': 0.0007, 'SteadyStateValue': 0.9990881180344406}
>>> plt.plot(t1, y1, t2, y2)
[<matplotlib.lines.Line2D object at 0x7fa3bff24a30>, <matplotlib.lines.Line2D object at 0x7fa3bff24b20>]
>>> plt.grid()
>>> plt.show()

>>> T = np.linspace(0., 0.02, 1000)
>>> t1, y1 = control.step_response(sys_1, T=T)
>>> t2, y2 = control.step_response(sys_2, T=T)
>>> print(control.step_info(sys_1, T=T))
{'RiseTime': 0.0002202202202202202, 'SettlingTime': 0.0004004004004004004, 'SettlingMin': 0.9095372868757307, 'SettlingMax': 1.0000542217105208, 'Overshoot': 5.252466677250307e-05, 'Undershoot': 0.0, 'Peak': 1.0000542217105208, 'PeakTime': 0.001961961961961962, 'SteadyStateValue': 1.0000536964356492}
>>> print(control.step_info(sys_2, T=T))
{'RiseTime': 0.0002202202202202202, 'SettlingTime': 0.0004004004004004004, 'SettlingMin': 0.909499726158002, 'SettlingMax': 1.0000000000000002, 'Overshoot': 0.0, 'Undershoot': 0.0, 'Peak': 1.0000000000000002, 'PeakTime': 0.0035235235235235233, 'SteadyStateValue': 1.0000000000000002}
>>> plt.plot(t1, y1, t2, y2)
[<matplotlib.lines.Line2D object at 0x7fa3b44ea460>, <matplotlib.lines.Line2D object at 0x7fa3b44ea490>]
>>> plt.grid()
>>> plt.show()

Even with current master branch, which has #420 merged:
>>> from matplotlib import pyplot as plt
>>> import numpy as np
>>> import control
>>> print(control.__version__)
dev
>>> num1 = [1.067e+05, 5.791e+04]
>>> den1 = [10.67, 1.067e+05, 5.791e+04]
>>> num2 = [1.881e+06]
>>> den2 = [188.1, 1.881e+06]
>>> sys_1 = control.TransferFunction(num1, den1)
>>> sys_2 = control.TransferFunction(num2, den2)
>>> t1, y1 = control.step_response(sys_1)
>>> t2, y2 = control.step_response(sys_2)
>>> print(control.step_info(sys_1))
{'RiseTime': 0.0, 'SettlingTime': 0.0025793799371427, 'SettlingMin': 1.000000049568649, 'SettlingMax': 1.0000542065543498, 'Overshoot': 0.0054156983016393195, 'Undershoot': 0.0, 'Peak': 1.0000542065543498, 'PeakTime': 0.0025793799371427, 'SteadyStateValue': 1.000000049568649}
>>> print(control.step_info(sys_2))
{'RiseTime': 0.00021700000000000002, 'SettlingTime': 0.000392, 'SettlingMin': 0.9007387484403545, 'SettlingMax': 0.9990219991316046, 'Overshoot': 0.0, 'Undershoot': 0.0, 'Peak': 0.9990219991316046, 'PeakTime': 0.000693, 'SteadyStateValue': 0.9990219991316046}
>>> plt.plot(t1, y1, t2, y2)
[<matplotlib.lines.Line2D object at 0x7fc593e92820>, <matplotlib.lines.Line2D object at 0x7fc593e92910>]
>>> plt.grid()
>>> plt.show()

The magnitude of the canceling pole in sys1 still prevents the return of a good default time vector.
>>> T = np.linspace(0., 0.002, 1000)
>>> t1, y1 = control.step_response(sys_1, T=T)
>>> plt.plot(t1, y1, t2, y2)
>>> plt.grid()
>>> plt.show()

Thanks bnavigator,
Any plans to solve this?  people  coming form Matlab love to see similar results as in Matlab.

Flagging this for @sawyerbfuller to have a look since he wrote the current default response time calculation.

Hi @rlegnain indeed the current version of step_response chooses the time resolution of the step response based only on the poles and not the zeros. In particular, pole-zero cancellations will give it troubles. I wrote an update that is now in the development branch of the library that has an improved way of calculating the time vector, but it does not solve this problem.
@ilayn was working on a solution that takes zeros into account in #287, and he posted his code here https://github.com/ilayn/harold/blob/master/harold/_time_domain.py#L280-L454, but I don't know how close he got to having a robust solution.

I've tested for the given systems and indeed the responses are the same. The only remaining issue is when a system as Jordan blocks of significant poles but I think that is an open problem in the literature too. So with some reservation I would say it is robust but not fail-proof for every system.
Since we don't have the commercial ODE solvers I think that would be all we can do for now via utilizing only pole-zero information.

Thanks all.

PR #454 , which incorporates @ilayn's code seems to fix this:

code output:
{'RiseTime': 0.0002118493270188449, 'SettlingTime': 0.0003500119315963524, 'SettlingMin': 0.8953357369737194, 'SettlingMax': 0.9895824151834175, 'Overshoot': 0.0, 'Undershoot': 0.0, 'Peak': 0.9895824151834175, 'PeakTime': 0.0004559365951057749, 'SteadyStateValue': 0.9895824151834175}
{'RiseTime': 0.00021183782855545226, 'SettlingTime': 0.000349992934135095, 'SettlingMin': 0.8952871451949131, 'SettlingMax': 0.9895287145194958, 'Overshoot': 0.0, 'Undershoot': 0.0, 'Peak': 0.9895287145194958, 'PeakTime': 0.0004559118484128211, 'SteadyStateValue': 0.9895287145194958}


Git LFS support to scan Large model.

Is your feature request related to a problem? Please describe.
Not able to scan hugging repos having Git LFS support.
Describe the solution you'd like
Please bring GIT LFS support to clone repos.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Feature available in v1.1 Release


Custom Multiple proxies rotation not working.

I am able to use a single proxy it works fine.
 launchPuppeteerOptions: {
            stealth: false,
            proxyUrl: proxy_list[0],
            headless:true
        },

Output

but when i try to use multiple proxy.apify doensot use any proxy.
 launchPuppeteerOptions: {
            stealth: false,
            proxyUrls: proxy_list,
            headless:true
        },

Output: Here we get my own ip.

Here is the full code where i am trying to rotate multiple proxy
`const Apify = require('apify');
const cheerio = require('cheerio')
Apify.main(async () => {
// Apify.openRequestQueue() is a factory to get a preconfigured RequestQueue instance.
// We add our first request to it - the initial page the crawler will visit.
const requestQueue = await Apify.openRequestQueue('auctiontime');
await requestQueue.addRequest({url: 'https://api.myip.com/'});
await requestQueue.addRequest({url: 'https://api.ipify.org/?format=json'});
await requestQueue.addRequest({url: 'https://api.my-ip.io/ip'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
//
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
//
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// await requestQueue.addRequest({url: ' https://api.myip.com/'});
// Create an instance of the PuppeteerCrawler class - a crawler
// that automatically loads the URLs in headless Chrome / Puppeteer.

function makeid(length) {
    var result = '';
    var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    var charactersLength = characters.length;
    for (var i = 0; i < length; i++) {
        result += characters.charAt(Math.floor(Math.random() * charactersLength));
    }
    return result;
}

var proxy_list = []
var password = 'xxxx';
var hp = 'xxxxx:xxxxx';
for (var i = 0; i <= 100; i++) {
 username = 'xxxxx' ;
var proxy = 'http://' + username + ':' + password + '@' + hp;
    proxy_list.push(proxy);
}

// console.log(proxy_list);

const crawler = new Apify.PuppeteerCrawler({
    requestQueue,
    minConcurrency: 1,
    maxConcurrency: 3,
        // proxyUrls: proxy_list,
    // Here you can set options that are passed to the Apify.launchPuppeteer() function.

    launchPuppeteerOptions: {
        stealth: false,
        proxyUrls: proxy_list,
        headless:true

        // For example, by adding "slowMo" you'll slow down Puppeteer operations to simplify debugging
        // slowMo: 500,
    },
    // gotoFunction: async ({request, page}) => {
    //     await page.evaluateOnNewDocument(() => {
    //         Object.defineProperty(navigator, 'webdriver', {
    //             get: () => false,
    //         });
    //     });
    //     await page.setUserAgent('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36');
    //     // await page.evaluateOnNewDocument(() => {
    //     //     const originalQuery = window.navigator.permissions.query;
    //     //     return window.navigator.permissions.query = (parameters) => (parameters.name === 'notifications' ?
    // Here you can write the Puppeteer scripts you are familiar with,
    // with the exception that browsers and pages are automatically managed by the Apify SDK.
    // The function accepts a single parameter, which is an object with the following fields:
    // - request: an instance of the Request class with information such as URL and HTTP method
    // - page: Puppeteer's Page object (see https://pptr.dev/#show=api-class-page)
    handlePageFunction: async ({request, page}) => {
        console.log(`Processing ${request.url}`);
        // A function to be evaluated by Puppeteer within the browser context.
        // await Apify.utils.sleep(7000);
        // await page.waitForSelector('h1');
        // await page._client.send("Page.stopLoading");
        //

        let contents = await page.content();
        console.log('\n\n'+contents+'\n\n\n');

        // console.log(await page.content());

    },

    // This function is called if the page processing failed more than maxRequestRetries+1 times.
    handleFailedRequestFunction: async ({request}) => {
        console.log(`Request ${request.url} failed too many times`);
        await Apify.pushData({
            '#debug': Apify.utils.createRequestDebugInfo(request),
        });
    },
});

// Run the crawler and wait for it to finish.
await crawler.run();

console.log('Crawler finished.');

});
`

Here is the full code where i am using single proxy
const Apify = require('apify');

Apify.main(async () => {
    // Apify.openRequestQueue() is a factory to get a preconfigured RequestQueue instance.
    // We add our first request to it - the initial page the crawler will visit.
    const requestQueue = await Apify.openRequestQueue('auctiontime');
    await requestQueue.addRequest({url: 'https://api.myip.com/'});
    await requestQueue.addRequest({url: 'https://api.ipify.org/?format=json'});

    function makeid(length) {
        var result = '';
        var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
        var charactersLength = characters.length;
        for (var i = 0; i < length; i++) {
            result += characters.charAt(Math.floor(Math.random() * charactersLength));
        }
        return result;
    }

    var proxy_list = []
    var password = 'xxxx';
    var hp = 'xxxxx:xxxxx';
    for (var i = 0; i <= 100; i++) {
     username = 'xxxxx' ;
    var proxy = 'http://' + username + ':' + password + '@' + hp;
        proxy_list.push(proxy);
    }

    const crawler = new Apify.PuppeteerCrawler({
        requestQueue,
        minConcurrency: 1,
        maxConcurrency: 3,

        launchPuppeteerOptions: {
            stealth: false,
            proxyUrl: proxy_list[0],
            headless:true

        },
        handlePageFunction: async ({request, page}) => {
            console.log(`Processing ${request.url}`);
            // A function to be evaluated by Puppeteer within the browser context.
            // await Apify.utils.sleep(7000);
            // await page.waitForSelector('h1');
            // await page._client.send("Page.stopLoading");
            //

            let contents = await page.content();
            console.log('\n\n'+contents+'\n\n\n');

            // console.log(await page.content());

        },

        handleFailedRequestFunction: async ({request}) => {
            console.log(`Request ${request.url} failed too many times`);
            await Apify.pushData({
                '#debug': Apify.utils.createRequestDebugInfo(request),
            });
        },
    });

    // Run the crawler and wait for it to finish.
    await crawler.run();

    console.log('Crawler finished.');
});

Hi @nOOBIE-nOOBIE, proxy URL rotation is an option of the PuppeteerPool class, not of the launchPuppeteerOptions.
You can use it this way:
const crawler = new Apify.PuppeteerCrawler({
        requestQueue,
        // ...
        puppeteerPoolOptions: {
            proxyUrls: proxy_list,
        },
        // ...
}

Thank you very much. sorry i was not able to find it in documentation.

@mnmkng How would you change the frequency of proxy change?
An array of custom proxy URLs to be used by the PuppeteerPool instance. The provided custom proxies' order will be randomized and the resulting list rotated. Custom proxies are not compatible with Apify Proxy and an attempt to use both configuration options will cause an error to be thrown on startup.

The documentation doesnot say if the proxy is changed per page or after certain number of pages.
Thank you

@nOOBIE-nOOBIE It's the same as with any proxy and a browser. The proxy is used per browser, so to use a single proxy per a given amount of pages, you need to start a new browser for each page by using the retireInstanceAfterRequestCount option of PuppeteerPool.
For example:
// ...
puppeteerPoolOptions: {
    proxyUrls: ['url1', 'url2', 'url3'],
    retireInstanceAfterRequestCount: 3, // Will use one proxy for 3 pages.
}

I'll update the docs with this information.

@mnmkng
Thank you very much. This is really helpful.
I also had few other questions. I am sorry for bugging you. i couldn't find relevant information on documentation about this also. Please answer them if you have time.

How do i reclaim the urls back to queue?(Meaning how to retry an url logically?) --> this will be useful in case the website blocks us and simply displays a text saying you are a bot instead of 400 status. In such case the framework would not retry. so i was trying to send the url back to queue and close the browser instance and reopen the browser instance.

How to logically close the browser?

I tried
handlePageFunction: async ({request, page}) => {
            console.log(`Processing ${request.url}`);
            // A function to be evaluated by Puppeteer within the browser context.

            console.log(await page.content());

            //sending back to queue
            await requestQueue.reclaimRequest(request);
            await Apify.utils.sleep(10000);

        },

but it throws error
ERROR: BasicCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://api.myip.com/","retryCount":1,"id":"q7qGizaTaBH7jas"}
  Error: Cannot mark request q7qGizaTaBH7jas as handled, because it is not in progress!
    at initializationPromise.then (/home/amit/projects/node.js/apify/hackernews/node_modules/apify/build/request_queue.js:941:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR: BasicCrawler: runTaskFunction error handler threw an exception. This places the crawler and its underlying storages into an unknown state and crawling will be terminated. This may have happened due to an internal error of Apify's API or due to a misconfigured crawler. If you are sure that there is no error in your code, selecting "Restart on error" in the actor's settingswill make sure that the run continues where it left off, if programmed to handle restarts correctly.
  Error: Cannot reclaim request q7qGizaTaBH7jas, because it is not in progress!
    at initializationPromise.then (/home/amit/projects/node.js/apify/hackernews/node_modules/apify/build/request_queue.js:979:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR: AutoscaledPool: runTaskFunction failed.
  Error: Cannot reclaim request q7qGizaTaBH7jas, because it is not in progress!
    at initializationPromise.then (/home/amit/projects/node.js/apify/hackernews/node_modules/apify/build/request_queue.js:979:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)
INFO: Crawler final request statistics: {"avgDurationMillis":null,"perMinute":0,"finished":0,"failed":0,"retryHistogram":[]}
ERROR: The function passed to Apify.main() threw an exception:
  Error: Cannot reclaim request q7qGizaTaBH7jas, because it is not in progress!
    at initializationPromise.then (/home/amit/projects/node.js/apify/hackernews/node_modules/apify/build/request_queue.js:979:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

@nOOBIE-nOOBIE no worries.

Just throw an error inside the handlePageFunction() with your custom validation. The request will be retried.

Use the puppeteerPool.retire(browser)

Thank you that's great.


Performance regression in 4.41.0?

See: https://github.com/satbyy/go-noto-universal/issues/59
Using 4.41.0 the builds take longer than 6 hours, but using 4.40.0 it takes 20ish minutes. Not too sure what is going on since I am not familiar with either project but just thought I would point it out

Thanks for the report. However I don't immediately see anything related to pyftsubset in the changes since 4.40.0 that might have caused such regression:
https://github.com/fonttools/fonttools/compare/4.40.0...4.41.0
I'll keep investigating

Perhaps we can call the visitor only on certain tables. I'm guessing that it's expanding all glyf's here causing the slowdown.


Monitoring integration

Add metrics to be collected by monitoring tools such as Prometheus.

The release v3.7.0 has been published.
Customization details can be found on our website.


added memo to base_tester::issue

Change Description
Fixes https://github.com/EOSIO/eos/issues/6741
Consensus Changes
None
API Changes
None
Documentation Additions
None

Replaced by #6747. Thanks @kesar


Update Issue - 95346566

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 38.0

Operating System
Windows XP

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


Intercepting resolved services

Is it possible to modify or replace an object after it's created by the container (IServiceProvider), but before it's returned to the caller?
I see IServiceProviderEngineCallback, but it doesn't appear settable.

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


[KOGITO-1036] - Extract kogito-images from kogito-cloud repository

Signed-off-by: spolti<EMAIL_ADDRESS>

depends on https://github.com/kiegroup/kogito-runtimes/pull/359

@spolti I think that parent pom.xml can be deleted too,right?

@sutaakar yes, missed that one :)
Thanks.

@cristianonicolai this Jenkins file will be replaced shortly.
Probably remove it is better by now, do you agree?

@spolti not sure, the only thing is that prs wouldn't be verified? I'm fine how you guys want to handle this, deleting would at least unblock things.

will merge after bump the images to 0.9.0.rc1.


Add 'more class info' popup or dropdown for each class in the classlist

This will have the teacher email, time left of the class/time till it starts, and whatever else, and debug info for us devs like the teacher id

Added a dropdown, still needs styling but it works.


Add a linter to prevent use of os.Getenv and os.LookupEnv

Add more unit tests to pkg/env to bring coverage to 100%

Move existing linter sources from test/util/checker to tools/checker

Now log when the same env var is registered multiple times using different metadata.

Add a comment about some commented-out chunk of code, as a follow-on to a previous PR.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@geeknoid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
7f90a86f681e85982bd750ff95c95ff587a3ca8b
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, nmittler
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid, nmittler, ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@geeknoid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
c36ff2459287c5fb147e184db1c8a551bf25485c
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
c36ff2459287c5fb147e184db1c8a551bf25485c
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
c36ff2459287c5fb147e184db1c8a551bf25485c
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
c36ff2459287c5fb147e184db1c8a551bf25485c
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
fc74bcd54bb1e9d89d7d73066a9854697d8ed6e7
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
fc74bcd54bb1e9d89d7d73066a9854697d8ed6e7
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
fc74bcd54bb1e9d89d7d73066a9854697d8ed6e7
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


String representation of FIXSession

If you have multiple FIXSession instances active it would be useful to be able to distinguish them on the callbacks to FIXStatusListener. Either giving FIXSession a toString representation or perhaps exposing parts of its FIXConfig (e.g. SenderCompId).

Yes, this is a good point. Perhaps simplest would be to add getSenderCompID and getTargetCompID methods as you suggest.
In the same vein, the existing getChannel method can be used to access the underlying socket channel instance. Through it you can get the remote IP address and TCP port, for example.

@jheusser My apologies, I have been quite busy recently. Would you be interested in contributing a patch for this yourself? Alternatively I can have a look at this a bit later.

@jvirtanen No problem, your suggestion of getting the channel via getChannel is good, as it has a nice string representation. But in general adding a getSenderCompID and getTargetCompID should be useful, I can submit a PR later on for that?

@jheusser Yes, I think it would be good to add getSenderCompID and getTargetCompID as well.


Counter-hack to provide screen redraw on FreeBSD

I'd attempted to find something useful in the sh/csh/tcsh man pages to
get similar shell redirection that &>/>& does, but it appears that all
fds are redirected, not just stderr and stdout.

I have pulled this, but if the root of the problem is actually the type of shell that is running (as opposed to the operating system in general) then it could be a better idea to refactor and check the shell instead of uname right?

Yeah, I was initially attempting to replicate the behavior in /bin/sh, as bash is not installed by default. Other defaults installed for FreeBSD (at least, if 8.2 or later, I think) are csh and tcsh. Neither seems to have something like "&>" which redirects both stderr and stdout. Personally, I use zsh, but I like having usability on other base systems I "git clone --recursive" my .vim folder into, without having to install too much onto.


[TypeChecker] Implement result builder transform via AST modification under a flag

This functionality is hidden under -enable-experimental-feature ResultBuilderASTTransform
The transform changes closure body into a multi-statement closure
with all of the implicit result builder calls and type-checks it
like a regular closure. After result builder transformation is applied to a
particular function body, it is cached and reused in case
other overloads require the same transform.
There are a couple of result builder specific changes mentioned below,
otherwise the logic to generate constraints and apply solutions is
unchanged:

Placeholder variable: A variable declaration that doesn't have a
type and infers it from first use site. If such a variable
has an initializer, it would be type-checked during solution application.

TypeJoinExpr - an implicit expression that refers to a "join" variable
and a set of expressions that should all produce the same type that
becomes a type of a "join" variable.

Diagnostics: Since result builders are type-checked as regular multi-statement
closures it means that first error in the body skips the rest of it, which helps to
pinpoint issues and improve performance of an invalid code.

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test macOS platform

@swift-ci please test

@swift-ci please build toolchain macOS

@swift-ci please test


Find [inString/inComment/inCode]

Currently if I want to find the "foo" code (using VS Code's global search/find feature), I get results like ...
const text = "Say hi to foo"

const foo = 123

// foo is great!

However, when I'm searching I almost always know that I'm either looking for the text in a string, or in a comment, or in actual code.  And I know I don't want results that are the other two types.
Now, I'm not sure how viable it would be for VS code to index things in a way that would make such a find possible ... but man, if you could figure it out, it'd be super convenient to be able to eliminate roughly 2/3 of the "wrong" results every time you do a find.

Effectively duplicate of #125532. Unfortunately I doubt that there are changes in decision
/assign -rebornix roblourens

To be fair, this is only barely language dependent.
What I mean is, while it would indeed depend on the language ... we're talking about regexes for "what's between /* and */?" or "what's between ' and '?"... not anything anyone would consider to be a true language parser.
But I can completely understand why even that level of parsing is more than the VS Code team wants to tackle, no matter how much it might improve the find feature :(  Thanks for the response!


Deep links#46

Related Issue
Closes #46
Type of Change
Put x inside the square bracket to specify what type of change your PR is:

[x] New Feature

Description of Change
This adds functionality to open links of our app, directly into it. The link should be of the format - taskly://taskly.com. Configuration for both android and iOS is done and functionality has been checked on both.
NOTE - custom scheme (taskly) is used instead of http or https since handling them would need having our custom domain.
Implementation Details
Added intent filter in android's manifest and added custom url type in iOS info.plist along with adding domain in runner.
Demo
https://github.com/user-attachments/assets/23981fa6-3e9f-4049-886a-b0ccfdd176a4

@sommye-ctr  first resolve merge conflicts

@lakshita10341 resolved

@pranavkonidena Changes are made as per requested. An id column is added to Task so that to identify tasks uniquely. So to work, we would need to clear all the prev tasks in storage (one would ideally migrate this change by comparing versions of the app in production). Also, no third party packages are used in this.
The url scheme for sharing would be taskly:/taskly.com?id={id}
https://github.com/user-attachments/assets/0c382e93-24ac-4026-80da-e1128ea7c1bf

@pranavkonidena resolved conflicts


Provide ability to specify plan-filter

Type of issue
Feature Request
Description
Testing farm and tmt supports specifying plan-filter.
The role supports only tmt_plan_regex, which is different per description.
I need support for plan-filter to filter plans by tags.

Input Name
Description
Default value

tmt_plan_filter
A filter used to select tmt plans
''

Possible values: "tag:mytest"
Reproducer
No response

@spetrosi Thanks for this issue. I will take care of it.
This means, user can select either plan in "plans" directory or "tag:mytest" that is present in the plan directory.
Both of them can be present?

@spetrosi Thanks for this issue. I will take care of it.
This means, user can select either plan in "plans" directory or "tag:mytest" that is present in the plan directory. Both of them can be present?

I am not sure I understoow what you said. Are asking if action must allow for tmt_plan_regex and tmt_plan_filter  to be used together?
I guess if API allow for this, yes.
I.e. in a scenario where I store plans in subdirectories of /plans dir, and those plans have the same tags, I might want to select plans tagged with desired tags from a single directory only.


Add AUTHORS.md

Recognize contributors for their work!

The shell script is based on the one that is used by Node.js.

lgtm :+1:


Designspacelib layer spec

This adds layerName to designspaceLib sourceDescriptor objects, and reads/writes a layer attribute to the source elements.
Note: I can't run the fonttools wide tests so I can't see if the designspace_test.py does the right thing.

I can't run the fonttools wide tests so I can't see if the designspace_test.py does the right thing

you should be able to pip install tox, and then run the tests with the tox command.
You need to have both python2.7 and python3.6 executables in your $PATH, as we configured tox to run tests against both of them when no explicit environment is listed on the tox command line.
Or to only run the tests for python2.7, do tox -e py27-cov, and tox -e py36-cov for python3.6 only.
If you prefer, you can pip install pytest and the other test requirements, and run the pytest command directly, instead of calling them via tox.
This should all be explained in the README, please let me know if anything is not clear.
I'll review the code now, thanks


Links Broken at "Getting Started DevOps Links"

The following links are broken..
3 . DevOps Roadmap by kamranahmedse
7 . IBM Kubernetes Handson Labs
would you please be kind and update or remove these links?
This should streamline the content.

sure, i'm on it

#154 fixes the link to DevOps Roadmap by kamranahmedse


for median calculate the mean when the total points is odd number

Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 959426818

0 of 8 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 4.879%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/aggregator/aggregator.go
0
8
0.0%

Totals

Change from base Build 956844782:
-0.02%

Covered Lines:
95

Relevant Lines:
1947

💛  - Coveralls


targetDebug for a libraries

just one more question please:
so I've created sample nodejs native addon in vscode using your extension
(based on cmake-js instead of node-gyp)
that was built and ran successfully, but I need to debug this , so two questions are there

even I 've included support cmake script as usual, anyway I don't see that toolbar item for the debug. does it mean that debugging support is an application for only? not for a libraries?
could you provide us with a sample how to start a debugging a libraries loaded by some host aplciation? (nodejs in my case)

thank you

That's tricky... You cannot debug a library directly since it has no "entry" point akin to an executables main() function. You would need to create an executable which loaded the library, then you could debug it from there. It may be possible if you define an executable in your CMakeLists.txt which loaded up the library and called into the functionality that you wish to debug.
If you wish to debug the library in the context of a NodeJS runtime-loaded extension, then you'd need to create a debug config that launched NodeJS in such a way that it loads up the extension and makes use of it somehow.

Thank you for detailed explanation, and sorry for unclear question. Actually I have a lot of debugging experience, but unfortunately not for cmake based project. Thank you that paid my attention that there are cmake options for this. I'll look for this

Sorry to have disappeared for so long. I've been busy with "real life" for a while, so I haven't been able to get back to working on this project as quickly as I wanted to.
Were you able to solve your problems? Are there any follow-up questions you have? If not, could I close this question?

Yes, thank you, please close the ticket

Thanks for the interest in the project!


Add ability to update bootloader via CAN

The bootloader can currently only update the firmware in the corresponding "app" section of the internal flash memory and forbids writing to the section, in which the bootloader itself is installed. For good reason: The bootloader runs from flash - attempting to erase and rewrite flash blocks while executing code from them is doomed to fail and brick or even damage the device.
However, the bootloader could be enhanced or a flash helper could be added, running from RAM. Those, in combination with more mechanisms preventing non-functional bootloader flash content, could enable updating the bootloader via CAN.

So this is also something that we wanted to do at CVRA. What we planned to do was to write a bootloader update application that contains the new bootloader code. You would flash it through the existing bootloader, then jump to it. It will then write the new binary to the bootloader section, then erase itself to invalidate the application CRC.
The major downside of this solution is of course that you do not have a redundancy: if the update progress gets aborted you end up with a botched bootloader.

Hmm, what do you mean by startup script? Not the crt0 of the device, yes? Because I think the STM32 can only boot from a fixed address.

By startup script I mean the reset handler, i.e. the first code to be executed at power-up. In case of your bootloader that would be the tiny assembler script in boot.s, which evaluates the first bytes in the RAM and accordingly facilitates an execution jump to bootloader, ST bootloader or app.
It could be modified to evaluate a "Whatever happens, start from app section!" switch not only in RAM but also in a dedicated page of flash memory. The switch should be in flash, in order to be retained, if the app-section bootloader writing to the bootloader-section procedure is interrupted by a power-loss, because in that case the app-section bootloader should start over in it's attempt to copy itself to the bootloader-section.

Hmm so you would never update the startup script, correct? Because otherwise that leaves a window open for catastrophic failure if the script is already erased but not reprogrammed yet.

I think the easiest way would be to have the startup script detect which version it should boot and change the Vector Offset Table Register accordingly. Therefore the bootloader could bundle its interrupt vector table.

Are all microcontrollers, you are using, capable of vector table relocation?

Yes, our RTOS requires VTOR to operate properly with the bootloader. I think it is quite common in ARM parts, perhaps even mandatory:

Cortex M0+:http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0662a/Ciheijba.html
Cortex M3: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/Ciheijba.html
Cortex M4: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/Ciheijba.html

Well if M0 cannot use VTOR, then they cannot also use interrupts when running with bootloader enabled, so I don't think we should expect much use from M0s.

This brings me back to the tons of unmerged changes I have made in my fork

True there is also that :grinning:  Don't feel too pressured to do it though, the bootloader is "finished" for us, it has all features we need.


Added auto-detection for "from" attribute

By looking at the passed id we can get the right service anyway. So the from tag can be optional.

:confetti_ball:


how to get the mAP?

when i run the test.p file, it make a file in eval folder, but that folder has the details for each image.
How can i get the final mAP score as reported here by author?

run eval.py


TooManyRedirectsException is raised when redirects are only 2

This url (http://www.google.com/aclk?sa=l&ai=DChcSEwiuw_js2-3OAhVVI4EKHamlA9QYABAL&ei=WuLHV5ChD4bGmwGo3J6wBg&sig=AOD64_2eFm1SOpx8c8lXZwck6Z47aZu7rQ&q=&sqi=2&ved=0ahUKEwiQtvbs2-3OAhUG4yYKHSiuB2YQ0QwIQA&adurl=) when we follow headers, it redirects 2 times and reaches the final url.
Whereas in guzzle, it redirects infinitely.
Even though i set redirect max count as 50, it throws error "Will not follow more than 50 redirects".
Actually there was only 2 redirects.
Please help with a solution

Just enable cookies for your client. Something like $client = new Client(['cookies' => true]); for the current version.
It's the most common reason in such cases with infinite redirects.

thank you very much, adding cookie worked.

Hey @alekseykuleshov, I'm using guzzlephp v5.3 and this doesn't solve the prob !
Any ideas?


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-02-27)
Features

initial commit (f2c86c7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/FreakeyPlays/healthy/releases/tag/v1.0.0 :sunflower:


ShardingTransactional annotation support switch transaction type for proxy.

For #1482, ShardingTransactional annotation support switch transaction type for proxy.
Changes proposed in this pull request:

Send switch transaction type SQL to sharding-proxy.
Support DataSourceTransactionManager while using MyBatis.
Support JpaTransactionManager while using Hibernate.
Unit test

Pull Request Test Coverage Report for Build 5897

68 of 69 (98.55%)  changed or added relevant lines in 5 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 72.343%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-transaction/sharding-transaction-spring/src/main/java/io/shardingsphere/transaction/handler/JpaTransactionManagerHandler.java
14
15
93.33%

Files with Coverage Reduction
New Missed Lines
%

sharding-jdbc/sharding-jdbc-spring/sharding-jdbc-spring-boot-starter/src/main/java/io/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.java
2
89.47%

Totals

Change from base Build 5896:
0.0%

Covered Lines:
9754

Relevant Lines:
13483

💛  - Coveralls


Many changes

I'm opening this request so I can send you some code back in exchange of using yaam to manage some PBX servers. I'm submitting them into a separated branch (rafagd_changes), so you can pick and choose what changes you want to keep and what you want to discard before merging to master.
It seems that this code was submitted in midst of a migration of template
engines, so I did my best to fit the old code to the newer templating scheme.
There were also some parts that felt unimplemented, so I took the liberty of
implementing them, like the user management screen. I've also added a user group
management screen that doubles as permission group. If you're on the admin group
you'll be allowed to see admin-only plugins, else you'll only see non-admin stuff.
I've also fixed the pagination tool on the CDR plugin (which didn't respected
previous search results) and added a date search field.
You can also find the schema for the database on root/database.sql.
There's also a bit of lazy coding I did on the user's profile screen, where he can change some of his own information. The validation that doesn't let he change the user being edited is javascript-only at this moment.

I thought you could submit into a new branch, but that's not a option. So just be aware that you may need to revert some changes if you dislike them.

I'm sorry, i'm not ignoring you. I did not get the chance to test this yet, i have been busy lately. I looked at it and it looks very good. I will merge the changes you made for sure.
If you are interested, i can give you write access to my repo so you can continue to develop it there.
These are the main guidelines i wanted to follow when i started this project :
1- Keep the interface lightweight.
2- Make it usable as much as possible when javascript is disabled. JS shoud be used to enhance the functionality but not rely on it.
Also, don't hesitate to add your name to the file header you contribute to.

Thanks, I'll send you more changes as soon as I can to fix the lazy coding soon.

Unfortunatelly for contractual reasons I'll be unable to contribute further into VoIP-related stuff. This isn't directly VoIP, but I'd rather not risk losing a scholarship.
Thanks for accepting my changes and promoting me to collaborator.


Which specific script enables HP indicators above head?

Which specific script enables HP indicators above head?

It's part of ClientSideDevCat.js, gives the effects of devcat title, which include numeric HP indicators and a few other things.

Thank you for the reply.

Some users encounter strange bugs when using this feature so it has been disabled by default. To re-enable it remove it from disabled.txt.