ModuleNotFoundError: No module named 'sktime.transformers.panel'

I get the error:
ModuleNotFoundError: No module named 'sktime.transformers.panel'
For
from sktime.transformers.panel.reduce import Tabularizer
(taken from: https://www.sktime.org/en/latest/examples/02_classification_univariate.html?highlight=tabulizer)
I use version 0.43
Why can't I import it?
Thanks

Hi @orko19 - thanks for raising the issue. This is related to https://github.com/alan-turing-institute/sktime/issues/481

@mloning Thanks for the ref. I didn't understand what is the version I should use and how do it in google colab?
You wrote to use v0.4.3 but it is the one I used, can you please clarify?

I'm not sure what your setup is in Google Colab. As said in #418 you have two options:

When you pip install sktime you install the latest stable release, so to run the example notebooks locally you need to make sure to checkout the latest stable release version of the notebooks (rather than using the most up-to-date changes on master), run: git checkout v0.4.3
Alternatively, you can install the latest development version from master using pip install -e . from the root directory of the cloned sktime repo.

Which one are trying to work with?
Sorry for the confusion with this - we're trying to push a new release some time soon to fix this.

@mloning I am working with google colab so I can't run git checkout v0.4.3
That is the reason I also can't run pip install -e . from the root directory of the cloned sktime repo - since I didn't clone any repo, but just install with pip.
Can you please provide a way to install v0.4.3 from colab?

I'm not sure how your Colab is set up. How do you install sktime? How do you run the examples?

@mloning I install using
!pip install sktime  which installed version 0.4.3 and then simply import
from sktime.transformers.panel.reduce import Tabularizer

Okay for version 0.4.3 you can see the code structure here: https://github.com/alan-turing-institute/sktime/tree/v0.4.3 so you can adjust the import statements.
Hope this helps!

@mloning Thanks, but I suppose it's not the best solution since I might encounter additional issues later - there is no way to just install v0.4.3 in google colab? I can share with you any needed configuration (it's pretty much the default, I changed nothing)
Also, I am reading ur original reply again and there is something I can't understand - if I installed the latest stable from master, and the notebook are also from the latest stable from master, why aren't they match?

You install v0.4.3 which is not master but the latest stable release - master contains newer changes and we will make a new release hopefully some time soon.

@mloning Oh OK. and all the notebooks are aligned with master? Do you have a v0.4.3 of them?

Yes, exactly. To get the v0.4.3 you need to run git checkout v0.4.3 or go here: https://github.com/alan-turing-institute/sktime/tree/v0.4.3

@mloning Thanks, and any time estimation as when master will be deployed as a new stable release?

Hopefully within the next 2 weeks

Hi,
I have the same problem regarding Google colab and the issue: ModuleNotFoundError: No module named 'sktime.transformers'.
I tried
!git clone https://github.com/alan-turing-institute/sktime.git
!cd v0.4.3 && git checkout incoming

but this just gives me: "cd: v0.4.3: No such file or directory".
@orko19 how did you resolve this?
Thank you!

Could you try to import sktime.transformations?


Unable to reproduce the score presented as Model + Dark

Hi,
I ran the test.py with the default HRNet w32 256 x 192 and HRNet w32 384 x 288. I am able to only reproduce the author's scores of 74.4 and 75.8 respectively.
Command Used :
python tools/test.py --cfg experiments/coco/hrnet/w32_256x192_adam_lr1e-3.yaml TEST.MODEL_FILE <MODEL_PATH> TEST.USE_GT_BBOX False
The MODEL_FILE used was the original author's model.
and likewise for 384 x 288.
I observed that the function taylor(hm, coord) in lib/core/inference.py was being invoked but I am not able to reproduce the results provided by you.
What do I need to to do reproduce the results provided ?
Thanks in advance

You have to re-train the model to reproduce the results.

Apologies. and Thanks.
I understood it in a different light. You have any timeline in mind for when you would be releasing the models ?

Due to the reason that I have graduated from the university,
I do not have access to the GPU server for now.

@tabbas97 Could you share the address for downloading pretrained model file?


Add Corpus.parent

Allow (sub-)corpora to inherit from a parent corpus, sharing UMAP embeddings, passages etc. An index/mask should point to the passages to be considered for the subcorpus, so that all other passages are filtered out in every call accessing passages.

[ ] add a _parent field to the Corpus class
[ ] add _passages_mask field to the Corpus class
[ ] add a filter to the passages method/property
[ ] make sure all methods using passages access the filtered passages only
[ ] make sure embeddings and tokenizations are computed for filtered passages only

Design change: create self-contained Corpus object that inherit Umap objects.


Elements within the viewport, are not revealing on load.

I have a page setup with reveals - and I have some objects that are visible right from the start, but they don't animate before I scroll the page, which – I know :) – of course is kinda the idea, but I'd hate to have to recreate the same exact animations that scrollReveal.js provides, just because these elements are visible right away, and I can't seem to trigger their reveals after the page has loaded.
Is there some way to do this through the sr object? I've tried looking for it in the source, but I haven't had any success in finding a method that seems to do the job...

Hi, just giving my 2 cents :-)
I had the same problem (described above by Greystate and others) After reloading a resized browser screen, animated elements were not triggering on INIT. For instance, the H1 headers were missing!

Here's how I discovered what the problem was: I added the viewport variable to the config vars, like so:
viewport: document.getElementById('main')
Where "main" was the ID of the HTML element that was visible in the viewport of the small resized screen! And BANG, the elements started to reveal themselves onLoad on small screens (and on mobile) on INIT!

The problem wasn't occurring on larger screens, because the HTML container with the ID of "main" was somehow not seen as being in the viewport (for 40%) to be triggered. With responsive design, sometimes the dimension or viewport presence of HTML DOM elements "change" when you resize the viewport. So animations would trigger in one media query, and NOT in another!
Thats why the viewport variable is very handy! It forces ScrollReveal to use specific DOM elements in the viewport as references for objects that HAVE to be in view in order to trigger the animations!

Awesome - :+1: for that explanation!

We had this problem too. We had dynamic content that was being shown/hidden with JS. Calling  window.sr.init(); after showing/hiding the content (even on load) worked.
Another hack that we had previously was calling window.sr.init(); or scrollTo(0,1) after a settimeout.
setTimeout(function(){
                window.scrollTo(0,1);
              }, 200);

What also often "triggers" the script, is to put the initialization inside a $(window).load(function() to brute force it to initialize when the page has loaded :-)

     $(window).load(function() {
      // scrollreveal plugin!
    var config = {
        reset: true,
        move: '50px',
        delay: 'always',
        vFactor: 0.0, // requires 10% of an element be visible to trigger animation.
        easing:   'ease-out',
        scale:    { direction: 'up', power: '0%' },
        // viewport: document.getElementById('main'),
        // viewport: document.getElementsByClassName('container'),
        // viewport: document.getElementsByTagName('p'),
        mobile: true
      }
      window.sr = new scrollReveal( config );
});

@David-van-den-Bor : when I use a $(window).load(function(), elements appears then disappears and appears again with animations. I replaced $(window).load(function() by $(document).ready(function () and it worked as expected. Thank you for the tip !

I tested this trick on another website. It does not work ! Animated blocks on this website are taller. I think that scroll reveal waits for the page to display a certain percentage of blocks to animate then it animates them. You can test what I'm talking about on this one : https://wp-themes.com/zerif-lite/ : scroll slowly with a medium window size (mine is 1600px wide), you will see that blocks don't appear immediatly so there's an empy space under each title...


chore: Move detect-secrets call to formal lit-staged list

This formalizes our use of detect-secrets + git hooks by placing it within the lint-staged chain of command:

This also fixes the cannot use --no-verify issue.

@ovasdi, not sure why CI is failing as the detect-secrets command ran successfully and nothing was changed in that file?

👋, I replied in slack with some details as to why this is happening.
Also re-ran the workflow manually from failed. Passing now.


ordered metrics and metric casters

For #357. Doesn't close.
Removes make_cast_metric in favor of a more specialized set of metric casters.

Thanks for the helpful code reviews on zoom!


Add Satisfactory Mod Launcher 1.0.17

Currently awaiting smartscreen validation, will move to Ready-to-review once that clears.
Microsoft Reviewers: Open in CodeFlow

Smartscreen results are in; Nothing detected:

@KevinLaMS Already submitted it, https://github.com/microsoft/winget-pkgs/pull/1353#issuecomment-636375802


Updating to latest released agent (ciprod10162018-2)

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/assign

@davidkarlsen - who can merge ?

/lgtm


Don't bail out if one service has an issue

For instance something like
Aws::Route53::Errors::InvalidChangeBatch: FATAL problem: DomainLabelTooLong (Domain label is too long)

will currently cause all watch processing to stop.

The code has been updated in a rather significant way, this will need to be redone


Install script fails at installing home assistant

When installing motion AI I get the following error:
I tested it on a RPI3 and an Ubuntu PC.
[info] Install supervisor Docker container
invalid reference format
Problem installing Home Assistant; check with "ha core info" command

Try the standard installer for supervised installation and then re-run script; it looks like you have the wrong architecture.


Get correct metrics

without this, whatever the first response to a metric is, will be what increments. This adds the ability to get different metrics per topic per path

Codecov Report

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

@@           Coverage Diff           @@
##           master     #437   +/-   ##
=======================================
  Coverage   89.50%   89.50%
=======================================
  Files         120      120
  Lines        2534     2534
  Branches       77       77
=======================================
  Hits         2268     2268
  Misses        266      266

Impacted Files
Coverage Δ

...c/main/scala/hydra/core/monitor/HydraMetrics.scala
100.00% <ø> (ø)

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 f8ac02c...c817b4d. Read the comment docs.


Set customer hash new method

Add bridge method for setting customer hashes used in analytics

please include the new method in the flow definitions file:
https://github.com/tef-dig/webview-bridge/blob/master/src/webview-bridge-cjs.js.flow


Consider switching request with axios

request module seems to be deprecated: https://github.com/request/request/issues/3143 most popular replacement choice seems axios.

I think this does use Axios already. Is there somewhere using request?

iiuc package.json still references requests. no?

https://github.com/w3f/1k-validators-be/blob/master/yarn.lock#L2963 ah dependency from matrix-js-sdk, maybe there's an newer version?


[Input] Missing pseudo-classes generates error when overriding

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Trying to override the CSS class adornedEnd or adornedStart of <Input /> generates an error  "Material-UI: the key X provided to the classes prop is not implemented in ForwardRef(Input).". When I use a <FilledInput /> or <OutlinedInput /> no error is generated.
Expected Behavior 🤔
The CSS classes of <Input /> should be consistently with other input components.
Steps to Reproduce 🕹
Open this codesandbox and look at the console.
Context 🔦
I created a select using <TextField variant="filled" />. This select had a clear button as adornment and I used the CSS class to remove the padding. When I changed to the standard variation I got the error.
Your Environment 🌎

Tech
Version

Material-UI
v4.9.11

React

Browser

TypeScript

etc.

Possible fix: Add the missing pseudo-classes and update the TypeScript definitions to match the other input components.
I noticed that all input components wrap the InputBase. Should the TS definition use the InputBaseClassKey as base? Input is different from OutlinedInput.

@m4theushw This is an interesting concern. I would propose the following:

[ ] We remove all the empty style rules available in Input, OutlinedInput, and FilledInput. This is breaking, wait for v5.
[ ] We remove the usage of InputBaseClassKey from the TypeScript definitions in OutlinedInput, it's plain wrong.
[ ] We add a InputBaseClasses prop to support your use case.

What do you think?

Why don't we just add the missing classes to the Input to avoid the error?

@m4theushw Because these classes are implemented by the InputBase, not the wrapping components.

@oliviertassinari - I'm running into this as well, and was led here after I got a seemingly wrong impression from the documentation. The input documentation seems to say that we can use classes from InputBase, and that seems to work with adornedEnd and adornedStart. But then I got the same error as OP and wondered whether this was intentional or missed, then landed here. So are you saying that we shouldn't be able to use those classes, or what's the intended behavior here?

@m4theushw OK, it would be interesting to give it a try and see how it goes.


chore(typings): add typings

Coverage remained the same at 97.917% when pulling b7210c638d6698d0078a86c852290f8d3115532b on bigopon:master into 412dc4b114b2f17d63e25881edf105488996ed7d on WebReflection:master.

Fixed all as suggested 👍 . Note that most of the inaccurate description resulted from README and a little bit of inferring the code. You may want to update it as well.


allow mocking exceptions under hhvm

This makes the test introduced in https://github.com/padraic/mockery/pull/456/files pass under hhvm and adds a test for mocking subclasses of Exception.

Changes Unknown when pulling 1354c034299f3fcb69c95e4f92933803639c922f on zodiac:hhvm-mock-exceptions into ** on padraic:master**.

Thanks!


v0.2.3

Relax MSRV to v1.36. (#15)
Fix the repository URL in Cargo.toml. (#16)

LGTM aside from conflicts.

Serves me right for forgetting to git pull...


Added more information to the introduction

Hi @amandamartin-dev! I added more background information about the repo in the introduction of the ReadMe file.

This is great. There is more context to add about why I started this but I will continue it in another commit. Thank you!


fix(tree): unable to set zero as the padding of a tree node

Fixes setting zero as the padding of a tree node being ignored by the CkdTreeNodePadding directive.
Fixes #16338.

Looks like some legit test failures


git/hub/lab consistency: Add version flag on lab command. ex: lab --version

Both git and hub provide two ways of looking at the version information.
git --version
git version

hub --version
hub version

lab only provides one way to do this:
lab version

Proposal:
make this do the same:
lab --version

Released in 0.11.0


Students now use NetIDs with their own passwords

If they lose it, I guess they'll have to call the DoIT Help Desk?

yeah, they'll have to reset, probably.


Correctly detect unmodifiable collection.

I think it is clearer like this and now unmodifiableCollection is detected (which I believe is what Chris originally wanted).

Thanks @johnou


Search for text in pdf document

I'm new to javascript and have been tasked with creating a table of contents in an existing PDF.  I was wondering if there was a way in PDFDocument or PDFPage where I can search for text a string.
I read the existing pdf in using fs.fileread.  But if a do a .toString() on the PDFPage I cannot see any text.  My thinking was I could read the PDF in, go page by page and search for headers and make a note of what page they are found in.  Then insert a blank page and use drawText to display the header along with a page number.
Thanks for any help you can give me.

Hello @doug-gov!
Please see https://github.com/Hopding/pdf-lib/issues/93#issuecomment-483766315 and https://github.com/Hopding/pdf-lib/issues/137#issuecomment-513505409.


How can I crawl two sites with stayOnDomain=true

Hi,
On our web site, users are authenticated on a domain different than where the site contents are.  With stayOnDomain=true, the Norconex crawler stays on the first domain and ignores the second domain even if it is listed under the startURLs.  How do I get around this limitation?  I do not want to set stayOnDomain=false
Thanks.

For more control, I am afraid you will have to set stayOnDomain to false.  Don't worry, you can achieve what you want some other ways.  One way to do this is to rely on reference filters instead.
    <referenceFilters>
        <filter class="com.norconex.collector.core.filter.impl.RegexReferenceFilter" onMatch="include">
            https://www.my-main-site.com/.*
        </filter>
        <filter class="com.norconex.collector.core.filter.impl.RegexReferenceFilter" onMatch="include">
            https://www.my-login-site.com/login/.*
        </filter>
    </referenceFilters>

"rely on reference filters" trick worked.  Thanks a lot!!

Perfect. Thanks for confirming.


Investigate what's up with matplotlib-cpp libpython loading on Linux

We have this workaround: https://github.com/luna/Dataframes/blob/master/native_libs/third-party/matplotlib-cpp/matplotlibcpp.h#L129
It is abominable. We should investigate to understand why it solves problem on Linux. If possible, it should be removed and fixed in a better. Otherwise, we should at least document it and try making more future proof (what about Pytohn 3.7?).

Originally encountered error was as follows:
ImportError: /usr/local/lib64/python3.6/site-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyExc_UserWarning

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib64/python3.6/site-packages/matplotlib/__init__.py", line 126, in <module>
    from . import cbook
  File "/usr/local/lib64/python3.6/site-packages/matplotlib/cbook/__init__.py", line 34, in <module>
    import numpy as np
  File "/usr/local/lib64/python3.6/site-packages/numpy/__init__.py", line 142, in <module>
    from . import add_newdocs
  File "/usr/local/lib64/python3.6/site-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/usr/local/lib64/python3.6/site-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/usr/local/lib64/python3.6/site-packages/numpy/lib/type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/usr/local/lib64/python3.6/site-packages/numpy/core/__init__.py", line 26, in <module>
    raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: /usr/local/lib64/python3.6/site-packages/numpy/core/multiarray.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyExc_UserWarning

The idea for this workarounds comes from https://bugs.python.org/issue4434


editor tab tests: Preview button

requires #53 and maybe #54
Given an input form:

no data entered; click Preview

Displays divs with (correct) RDF in them (ttl, json, rdfxml)

some forms will only have @prefix namespaces with no data;
others hardcode some prepopulated data

Displays visualize div

data entered; click Preview

Displays divs with (correct) RDF in them (ttl, json, rdfxml) -- including data entered

Preview view has (in both cases above):

“go back to editing button” that does the right thing
cancel button that goes back to … BFE’s home page
save button that does a POST of generated RDF as json to a configured URL endpoint

See profileLoaded.test TODO comment

basically, make sure Preview button works


Allow Thymeleaf to check for allowed method access of Java supertypes

What does this PR do?
To prevent Thymeleaf templates from accessing methods on built-in Java types that are not allowed, it ships with a list of allowed supertypes. Its org.thymeleaf.util.ExpressionUtils type has an isMemberAllowed method that calls getDeclaredMethods() on those types, so that needs to work for all these types in a native image. This PR ensures that.
Recent versions of Thymeleaf have expanded the list with two additional types, which is why the M2 version has 7 new entries while the RC1 / latest has 9. For details, check out
the source code.
Code sections where the PR accesses files, network, docker or some external service
None.
Checklist before merging

[x] I have considered including reachability metadata directly in the library or the framework (see our contributing document)
[x] I am the original author of all content provided in the pull request, and I did not copy the content from any other source (see the tests section from our contributing document)
[x] For all tests where I am not the sole author, I have added a comment that proves I may publish them under the specified license (see the tests section from our contributing document)
[x] I have properly formatted metadata files (see our formatting guide)
[x] I have added thorough tests (see the tests section from our contributing document)
[x] I have filled all places where my pull request accesses files, network, docker, or any other external service (see the section above)

Thanks a lot for contributing, @jkuipers!
Would be great if you could make sure the relevant code is exercised in the corresponding tests, so that this cannot accidentally break: https://github.com/oracle/graalvm-reachability-metadata/tree/master/tests/src/org.thymeleaf/thymeleaf

Happy to add some tests. Note that this code is only exercised by the framework when you use Spring or OGNL expressions, but the required changes have to go in the core project. @fniephaus is it sufficient to simply add some tests that invoke the org.thymeleaf.util.ExpressionUtils#isMemberAllowed method with objects of the relevant types? If not, the tests for the core framework would require additional dependencies to bring in OGNL so that I can call the OGNLVariableExpressionEvaluator, which to me seems like overkill and unnecessary complexity.

No need to pull in addition dependencies if you can invoke the code somehow directly, that is without accessing any private APIs reflectively or so.

I added tests. Note that I had to update the existing date-based test, because it failed on my local machine (which uses a Dutch locale) without an explicit format.

Hey, is anything still missing that's causing this to stay open? I was hoping that this could get merged in its current state.

I order to approve or not, I need to understand a bit better why this is needed. This adds reflection metadata for all public methods of types from the JDK (guarded by the ExpressionUtils access), which can be quite expensive. Is this really needed or can we narrow more the methods which would be accessed reflectively?

Hey, thanks for getting back to me. The Thymeleaf ExpressionUtils class is used when a template uses an expression (via Spring expression language or OGNL) to check whether that's an allowed call. It contains a hardcoded list of Java types for which it allows calls by reflectively iterating over all their declared methods and comparing the resulting names to the memberName that's being passed to the method.
Without the declared methods being available in the GraalVM metadata, the check will simply always fail when those methods are called from a template and won't allow the method to be accessed. I ran into this while iterating over the entries of a map and rendering their keys and values. Something like this then fails:
 <tr th:each="entry: ${queuesByName}">
                <td th:text="${entry.key}">queue name</td>

Of course I cannot predict what declared methods of those types would be used in practise by all possible Thymeleaf users, so my PR is based on wanting the ExpressionUtils to simply behave the same as when running on a JVM.
Note that I am myself not associated with the Thymeleaf project: I'm just a user that expected the Spring/Thymeleaf combination to work with GraalVM, as the Spring team has already provided some basic reachability data for both Thymeleaf itself as well as the Spring support for it here. However, that's not sufficient when you use basic functionality like what I showed here. When I ran into this I analyzed why this failed and what Thymeleaf needs to make this work in a native image and then created this PR by hand (i.e. not using any agents or other tools) based on the contents of the ExpressionUtils class. I don't see how you could limit this further based on the code that's in the ExpressionUtils class.
My understanding is that GraalVM won't include the ExpressionUtils when it's not actually used by the code being compiled, so this seemed like a good guarding clause.

@melix Hey, did you manage to have a look at my explanation and the Thymeleaf code that this PR allows to work in a native image? Without this, most real-world applications using Thymeleaf will not work correctly, which is extra confusing since this repo does already contain reachability metadata for it (I had assumed that this would've worked out the box when I started to use this).
In general I think that for a templating solution that relies on reflection it seems reasonable that some additional metadata is included, since you cannot predict what access templates will require, but in this particular case Thymeleaf even actively denies calls to common Java operations (esp. calls to collections, which are used all over the place in templates) without this metadata: it took me some time to figure this out and implement a fix in my own applications, it seems better to have this work out of the box and perhaps file an issue with the Thymeleaf team to optimize this for GraalVM in future releases so that the overhead can be reduced then.

@jkuipers sorry for the late answer, I'm back from a break. The explanation makes sense to me.

@jkuipers sorry for the late answer, I'm back from a break. The explanation makes sense to me.

I'm a bit confused: I was assuming that that means that this can be merged, but the issue stays open and has been for two months now. Is anything else expected from my side?

Thanks for your patience, I just merged it.


Unable to reproduce Cityscapes results

Using maskformer2_R50_bs16_90k.yaml config, I got mIoU 76.2628 for semantic seg, AP 33.7673 for instance seg and PQ 59.9523 for panoptic seg. Does the results for Cityscapes have large variance? Do I need to run many times to get lucky results?

I get approximately the same results when simply running their code with their configuration, you are not alone...


Add a test or two :)

A couple of example tests that demonstrate how to use flutter_test would be a great starting point. It would then be easy for others in the community to extend this to a broader list that provides good coverage for the package as a whole.

@gskinner Started on a branch here: https://github.com/gskinner/flutter_animate/pull/17

We're up to at least two tests now. :)
via d3288183c9f4e45f6e14d6df7cc68b7039e92ff8
We'll keep adding coverage, but closing this as complete.


Easier way to track patchsets to kernel?

Hey Jens,
I'm finding a number of patch requests to the kernel that I'd like to test in a custom Arch build, for example the changes that improve the SQPOLL situation and add support for CAP_SYS_NICE, etc. - is there an easier way to find a list of those patches? Do you have a public fork of the kernel I could be checking?
Thanks in advance!

Generally everything I have queued up for the next release is in for-x.yy/io_uring - right now that would be for-5.11/io_uring. That should cover most of the stuff posted, unless it hasn't been reviewed/tested and added yet. The patch you mention is in there. So just pull:
git://git.kernel.dk/linux-block for-5.11/io_uring
into 5.9 or current -git, and build that.

Awesome, thanks for the quick response :) That's exactly what I needed.


Use Material Symbols and Icons for icons

There are many more of them and they look better (https://fonts.google.com/icons)

some of the icons are (still) mysteriously not rendering if you resize or perhaps in other cases -- this was a problem before and remains so.  amazing collection of icons though!

This has been implemented.


unexpected tag aborts export

Me again...the latest BBT results in an interrupted export process for me, unfortunately. Here's the
Report ID: JW8VYZ9S-euc
I have added one entry, then tried to run clicking "Export Now" (from previous set-up). I had a couple of failed runs, the cache seems stuck in 12 percent. Exporter is Better BibLaTeX.
As always, thanks for your amazing programming wizardry and help!

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>61 ("log items")
Install in Zotero by downloading test build <IP_ADDRESS>61, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Can you get me a new log with 6761?

Sure thing:
Report ID: 7VZBAN7D-euc
Same thing happened. Stopped at 12 percent.
Thanks for super fast reply!

Can you right-click boyd-why-2007 and send a log from the popup menu?

Ah, that's the culprit. Thanks.
Report ID: NNIIYKP8-euc
Not quite sure what you mean by log from pop-up. I only get the option to send a BBT debut report.
But the problem was the name:
<!>boyd <!>danah

Thanks for clearing that up!

I meant from the menu that pops up. BBT should have been able to deal with that name as it was.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>63 ("fixes #1565")
Install in Zotero by downloading test build <IP_ADDRESS>63, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@jrennstich @O2-AC get it while it's hot.

I honestly don't know why it would crop up now and not sooner. That bit of code hasn't changed in a long while. I do make use of the built-in HTML parser, maybe that has changed behavior in the latest Zotero upgrade. The pseudo-HTML that Zotero supports is pretty nasty to parse, but this fix should deal with it.

Awesome. Everything works as expected for me with the fix. Thanks for the quick response

Gosh darn it, burnt my grabby fingers :-) Put in the offending characters again trying to reproduce the error - it's fixed from my side. Here's the
Report ID: TZU8QSAY-euc
Thanks for your super quick fix!

Thanks for reporting it. The 2nd report is now in the test suite so it can't happen again.


MAINT: compat sklearn 1.0

Function get_feature_names is deprecated; get_feature_names is deprecated in 1.0 and will be removed in 1.2. Please use get_feature_names_out instead.

#431 requires a minimal sklearn version is v1.0.
So this PR could be merged into after that PR.


Do not extend PhpToken

it is good practice not to extend classes that were not indented to be inherited.

The documentation leads me to believe that extending PhpToken is allowed; cf. example 2 at https://www.php.net/manual/en/phptoken.tokenize.php


Proposal: JSON Schema Rendering Objects (JROs)

I'd like to talk about this during the next DIF call as a STRAWMAN proposal, of a specification I'm calling JSON Schema Rendering Objects (which I call JROs)
The concept here is to provide a standard way to describe objects requiring to be consistently rendered across multiple devices with a customizable definition. In a lot of ways, it's trying to generalize and extend CM and WR to a single abstraction. It may help addresses the lack of customization and extensibility the current specs have.
Heavily inspired by JSONForms, it has 4 properties:

data property: which specifies the data to be rendered
schema property: which specifies the schema that the data should conform to
layout property: specifies the suggested layout for render
styles: which specify styling hints for how to render the object

Credentials would be one implementation of a JROs, of possibly many others.
Another point would be that many predefined objects could be defined, like avatars, images, thumbnails, etc, and specified as "standard objects".
I'd like to discuss this at the next WR call and see if there's any viability in exploring this concept further.
Here's the STRAWMAN:
{
    "data": {
         "thumbnail": {
            "uri": "https://dol.wa.com/logo.png",
            "alt": "Washington State Seal"
          },
          "hero": {
            "uri": "https://dol.wa.com/people-working.png",
            "alt": "People working on serious things"
          }
    },
    "layout": {
      "type": "HorizontalLayout",
      "elements": [
        {
          "type": "Control",
          "label": "Thumbnail",
          "scope": "#/properties/thumbnail"
        },
        {
          "type": "Control",
          "label": "Hero Image",
          "scope": "#/properties/hero"
        }
      ]
    },
    "styles": {
        "background": {
            "color": "#ff0000"
        },
        "text": {
            "color": "#d4d400"
        }
    },
    "schema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "title": "Entity Styles",
      "type": "object",
      "definitions": {
        "image": {
          "type": "object",
          "properties": {
            "uri": {
              "type": "string",
              "format": "uri"
            },
            "alt": {
              "type": "string"
            }
          },
          "required": ["uri", "alt"]
        },
        "color": {
      "type": "object",
      "properties": {
        "color": {
          "type": "string",
          "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
        }
      },
      "required": ["color"]
        }
      },
      "properties": {
        "thumbnail": {
          "$ref": "#/definitions/image"
        },
        "hero": {
          "$ref": "#/definitions/image"
        },
        "background": {
          "$ref": "#/definitions/color"
        },
        "text": {
          "$ref": "#/definitions/color"
        }
      }
    }

}

Some notes from DIF slack convo:

JSON Schema is reasonable to describe this stuff
Some issuers would like to control the image of the vcs in the wallet. That is not easy for us as we try to keep a design style
Some required and optional property in styling hints.

Sample:

The thing i'd ask is are there any other graphic descriptor languages (like css perhaps?) that are better suited to the task than CSS.
I am imaging that the wallet rendering spec will generically apply to objects that themselves have their own schemas/json - so having more json schemas could be confusing..worth discussing

@decentralgabe is the scope just limited to styling ( as css is focused on ).
Isn't there also a conception of a "data model" that css doesn't provide that are required for these transferred objects? happy to discuss this over the call. Definitely STRAWMAN, so we can work about the viability of the concept. Less concerned with the specifics right now and more the general approach.

Let's discuss in call

Discussion last week was this was reasonable to propose, but need more alignment and discussion to move forward. See notes from https://github.com/decentralized-identity/presentation-exchange/blob/main/agenda2023-1.md#january-19-2023 for more details.

@csuwildcat @decentralgabe Any thoughts on this proposal?


Translation to a language does not yield progress in that language

I have been closely observing this for a while, and now I am sure that translating a kata to a certain language does not bring you any progress.
But this is not fair! Imagine a language that does not have high-level katas. To get a progress to 1 kyu in that language, one could translate high level katas to that language - but instead he gets zero for his efforts, and anyone else who will use his translated kata will get the progress! Which will result in the situation where the original translator has less progress than anyone else who solved the same pool of katas in the language.
I would also like to note that sometimes translating a simple kata is much more challenging than just solving it, because test case code can be quite complicated!
I know this because my progress in CoffeeScript is stuck at 5 kyu / 90% for a long time, despite me translating a number of 4 kyu katas into CS recently (which got approved).

This is definitely a bug and I will be looking into this soon (will try to find some time tonight).

A fix has been deployed.


GPS positioning, not very precise

I've let the board run for a while at a stationary position. It seems to move about, I assume this might be a GPS issue, but I have a feeling it might be the conversion from GPS Coordinates to APRS packet format. It's not TOO far off but will test this further.

I have added some kind of position Validation to the Code.
Maybe this helps to stop the jumping positions?
We could further check for a low hdop Value.
But with bad GPS Rx conditions this would lead to no Beacon Tx at all.
Please test the updated code and let me know.

After leaving the tracker and the IGATE for a few hours, it seems like the tracking now is a bit more precise with the new code.


Confirm password field added

Closes #32
I have added confirm password field and also toggle password visibility to it.
I also handled the backend(if password and confirm password doesn't match, user doesn't get registered.

hey @Swatilekha-Roy
Please review this PR.

@Siddhesh777 good job, but please attach a screen recording of your issue being fixed with your pr and commit. I'll review it after that. Thanks.

hey @Swatilekha-Roy here it is
https://user-images.githubusercontent.com/77476772/162148975-9dc83805-1655-44f3-8231-163e302454f6.mp4

hey @Swatilekha-Roy
Please review the PR.

hey @chehak123
Please add labels

hey @chehak123 @Swatilekha-Roy
Can you please add labels
Also it will be great help if you add level3 or level2 label as there was both frontend and backend part was covered.
Also add the label of Gssoc.

@Swatilekha-Roy @chehak123
Please add the labels

@Swatilekha-Roy @chehak123
Please add the labels


Remove duplicate assignment

Fixes: #11935
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

LGTM


Update Suggestion: #get-bitcoin #buy

Please Describe Suggested Update:
Please add "Graaf One" under the Buy section for Canada.
It's a non-custodial Lightning Network brokerage, you can put the description as: "Buy and Sell via the Lightning Network"
https://www.graaf.one/
Thank you

Waiting on twitter feedback

Requested some feedback from users.


Squandering an opportunity

It is sad I had great hopes for this project but it seems you are letting it die.  I was hoping this could be a great alternative to Emby/Plex @dularion

Well I'm glad you had hopes, unfortunately I'm 99% maintaining this project by myself, and I'm a mom of a toddler, went through a move from one country to another this past year and am a part owner of a software engineering company where I'm putting in overtime constantly. Also I've been sick a lot these past months and was on vacation without internet access. If you have any suggestions how I could better manage my time, be my guest, but until then I'd appreciate some sympathy and understanding. I'm doing my best to test all releases fully and also all PRs because if things break in a release I have to respond quickly, at the same time I wanna accept the few PRs that this project gets swiftl, so as to not squash the motivation of the devs. Don't know what to tell ya mate, either help me out or wait till there's another alternative out there, or just stick around - slow and steady may win the race

Could you set up a patreon?  Perhaps people like me could donate to the cause and alleviate some of the need for overtime.

@untotren I've started maintaining a fork. Goals are to be a great & truly open source alternative to Emby/Plex.

@dularion I've been watching this project for a while now, and definitely appreciate the efforts here. I would be elated to completely replace Plex in my home setup.
I think a Patreon account (or some way to donate) is a great idea. Also, would it be possible to allow other contributors some administrative control of the repo to handle PRs and the like (or setups another 'group' repo)? That might remove some of the project maintenance burden from you and assist in stoking development efforts, as long as there is a clear understanding of project roadmap. Something this large has to be a group effort if it's going to survive long term, and it's clear we do need it to survive and improve.

Certainly! I'm welcoming any willing Co maintainers on board, only requirement is that they have made at least one PR so that I can check what they are capable of

also, patreon sounds great!


Looks like a Typo on page

[Enter feedback here]
Hello,
Microsoft Defender is looking to be an amazing product, thank you.
On the page in the first set of images, for Secure I think you have a typo in the image where it references a competitor AWS.
I expected it to say Azure or Azure CIS Security Best Practices after Azure Security Benchmark.
Attached a screenshot.

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

ID: 84b9906b-b279-60cc-7e75-1403a4a0a0f6
Version Independent ID: d3ee7dc8-6299-88b4-f096-1a5af24e702e
Content: Microsoft Defender for Cloud - an introduction
Content Source: articles/defender-for-cloud/defender-for-cloud-introduction.md
Service: defender-for-cloud
GitHub Login: @ElazarK
Microsoft Alias: elkrieger

@mpintorackspace
Thank you for your feedback . We will investigate and update the thread.


migrate tf commands from tfctl

Fixes #3178
Fixes #3180
Fixes #3181
Fixes #3182
Fixes #3183
Fixes #3184
Signed-off-by: Chanwit Kaewkasi<EMAIL_ADDRESS>

thank you @opudrovs @makkes
unit tests are there in the tfctl package, but yes we definitely need E2E test cases for this set of commands.


Fix cannot construct instance of StreamingTaskTriggerResponse

…er.transportor.StreamingTaskTriggerResponse (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator) #15814

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

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

Project coverage is 39.14%.  Consider uploading reports for the commit a710b84 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15816      +/-   ##
============================================
- Coverage     39.20%   39.14%   -0.07%
+ Complexity     4909     4888      -21
============================================
  Files          1326     1326
  Lines         45217    45217
  Branches       4818     4818
============================================
- Hits          17729    17698      -31
- Misses        25617    25648      +31
  Partials       1871     1871

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

Could you please add UT for this case?


'IPythonPlugin' object has no attribute 'kc'

When I try to auto-complete, I get the error 'AttributeError: 'IPythonPlugin' object has no attribute 'kc''
error caught in async handler '/Users/sky/.dot/nvim/plugged/nvim-ipy/rplugin/python3/nvim_ipy:function:IPyComplete [[]]':
AttributeError("'IPythonPlugin' object has no attribute 'kc'",)
Traceback (most recent call last):
  File "/usr/local/opt/pyenv/versions/3.5.1/lib/python3.5/site-packages/neovim/plugin/host.py", line 91, in _on_notification
    handler(*args)
  File "/usr/local/opt/pyenv/versions/3.5.1/lib/python3.5/site-packages/neovim/plugin/host.py", line 160, in decoder
    return fn(*walk(decode_if_bytes, args, decode))
  File "/Users/sky/.dot/nvim/plugged/nvim-ipy/rplugin/python3/nvim_ipy/__init__.py", line 290, in ipy_complete
    reply = self.waitfor(self.kc.complete(line, pos))
AttributeError: 'IPythonPlugin' object has no attribute 'kc'

I use nvim-ipy in python3.5.11..

same here, Python 3.5.2rc1

I was also getting the same error. Try closing nvim running :IPython and then hitting F5.

Does this happen after :IPython ? Note you need to wait for the kernel to start and connect (0.5-2 seconds) , only after the banner gets displayed with the language and version is the kernel ready to take commands.

I get it if I start nvim while editing a Python file and immediately press F5. If I run :IPython first I don't see the error.

@Unode, thanks that worked for me!
One thing I have to figure out is how to run IPython2 (IPython works), i get NoSuchKernel('python2',) error..


Add Certificate Authority Pinning

What do you want to achieve?
The Extrahorizon sdk should by default have certificate pinning enabled.
https://aws.amazon.com/premiumsupport/knowledge-center/pin-application-acm-certificate/
https://www.amazontrust.com/repository/

see #302


SCA: add python dependency generator

For packages containing Python modules, automatically add python3~$VERSION as a runtime dependency if a python dependency is not already specified.  This helps us to provide more specific version constraints for our Python module packages in Wolfi, which in turn makes Python upgrades less disruptive.
Melange Pull Request Template
SCA Changes

[x] Examining several representative APKs show no regression / the desired effect (details in notes)

I like this change! If I'm understanding correctly, it means that py3-requests etc don't need to declare any runtime dep on python3, or python-3.12, and when they get rebuilt with python-3.13 they'll now magically gain a runtime dep on python-3.13 specifically, instead of the sliding python, is that right?

Yes.  This is intended to make future transitions less painful, by allowing older system python to be used for situations where not all packages are yet on the new system python.


"Import Transaction URI" dialog window has wrong size

Steps to reproduce:

Go to Transfer
Click "Import Transaction URI" higlighted text

Actual result: The dialog window modal element has wrong size, some elements are outside its background
Expected result: The dialog window modal element encapsulates all the elements
Screenshot

It's fixed (check on live-build).


LogExt filter added;

Hi, just a friendly reminder to merge this.

So, I probably won't. Several things don't make sense, and I think it's more of using a Filter Observer rather than calling it a LogExt.
https://github.com/MassTransit/GreenPipes/blob/develop/src/GreenPipes/IFilterObserver.cs
You already have access to Pre/Post/Fault on the filter.

While it currently only works with the DynamicFilter, should be easy enough to make an ObserverFilter which simply allows the connection of observers, instead of all the Func<> ambiguity in the one you provided.


postgres: expose config to tune the max number of connections

We default to 25 by default right now, we should look into tuning this value: https://github.com/lightninglabs/taproot-assets/blob/c7d57c597dfaadf0732a9ffb4bf63152c427f8f8/tapdb/sqlite.go#L32

We can overwrite the default by using --postgres.maxconnections.

Not needed, config already exists.

We might want to be able to configure the idle connections and lifetime as well.

Fixed by https://github.com/lightninglabs/taproot-assets/pull/622.


mobile: Remove bogus target in mobile/examples/cc/fetch_client/BUILD

mobile: Remove bogus target in mobile/examples/cc/fetch_client/BUILD
Risk Level: N/A
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

/assign @yanavlasov

@yanavlasov friendly ping


API for other Python Bots to use

Please tick all applicable boxes.

[x] I am using Python 3.5 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[x] Feature request
[ ] Question

Description of Feature Request
Hello,
It would be really cool if there was some sort of API so other Bots (such as a Twitch bot) could interact with Music Bot and queue a song for a specific Discord Server.
Thank you for your time.

@AutumnClove Sorry you confused what I was saying, I am not talking about the Discord API, I am talking about an API for this bot, something like we could do
MusicBot.addsong(songurl,  DiscordServerIDToQueueSongIn, NameOfQueuer)
so then we could do something like
MusicBot.addsong("https://www.youtube.com/watch?v=bJV3YgScVqo", "325552783787032576", "Miku"
and it would queue that song in that server, with the queuer being "Miku"

Hi. We have no plans to implement any kind of API for the bot for the foreseeable future. It isn’t really built to support an API, and limited maintenance is being put into this bot at the moment.
For those reasons, I’m gonna close this issue for now, but if development begins on any kind of API in the future I’ll reopen it.


Cache only certain directories for Travis

Builds are failing because the cache can't update within the 10min
timeout.

looks good


Can't login to account when trying to configure  midea AC LAN

HA core version
2023.11.3
Intergration version
Lastest
Device type and model
Cube
Used App
Midea Air
The description of problem
I am able to get the integration loaded, it finds my devices but when I go to finish, it wants me to login to my account and it fails. I have been able to login to my Midea Air app with the username and pass so I know that part is right. It just doesn't let me login through Home Assistant.
The logs
No response

Same for me. i have 2 conditioners. I successfully get to log in to authorize the first but when i try to auth the second it fails the login. the first is up and running and the second can be discovered but not authenticated.

Also have 2 units and was having similar issue as described by marbona. Removing the integration and attempting to redo it a few times in different orders revealed that it is specific to the one device and not the order.

I have ame problem. I can't login Home Assistant with my Msmarthome app login and password

Same on my system.
I have tried both username, email and user ID in all the listed apps, and it does not recognize the account  (in the Android apps it does work correctly)
Failed to login, account or password was wrong

I have just spent hours trying to add my second unit. Thought I was going mad as it wouldn't accept my id and password for 2nd device.
Is there a way to add 2nd unit?

I have the same issue, I can not login even 1 device of Midea, I heard from some other blog someone says to clear the cache of HA, but I don't even find where is the cache to clear from the HA setting


So about the header!

So I'm gonna make a new issue about this!
Continuing this: https://github.com/YePpHa/YouTubeCenter/issues/786
I'm glad it got implemented, Thanks @YePpHa and @Yonezpt !!
But it has some problems for me:
With it enabled, the header does go away but the video doesnt scroll up:
http://prntscr.com/5uhldh
Having the transition enabled or disabled makes no difference.
Sometimes the page tries to scroll down to the video but then pops back up.
On the other hand, @Yonezpt , your script works perfectly now alongside the latest dev build!
Edit: Also, a feature request, perhaps add a simple way to change the time it takes for the header to come and go.

I confirm this behaviour.

@Eisys Please, could you post what browser and what version of said browser you're using.

@YePpHa According to his recent comment in the other thread, he is using Chrome Version 40.0.2214.85 beta-m (64-bit) https://github.com/YePpHa/YouTubeCenter/issues/786#issuecomment-70503157

@Yonezpt thx.

I have a suggestion regarding the header hiding, add a feature to show header via scrolling the mouse wheel up. So we don't have to pause the video to get the header visible.

@KDsMax that will make the feature a lot more complicated, but it will be durable.

I am all for it if it's an option.. I scroll through the page alot when watching videos so this would be kind of annoying for me! But it would be a great feature!

Perhaps the best option would be to show it based on the mouse location, a certain top distance treshold which would show the header, stay visible when the element is active, hide again when the mouse moves downwards and away from the header. I'll try to mock up a concept example, I'm curious to see wether this will impact browser performance or not.

@Yonezpt That is definitely possible, the addon I was talking about in the other thread worked just like that! And I didn't see any performance issues but then again I have a decent PC!

I agree @Yonezpt

@Eisys You already know how it is, here is the userscript: https://gist.github.com/Yonezpt/cf655fe7f9751877fb3d
Move mouse to the top and the header should appear, move downwards and it will hide. Also this time the notifications window should show up, unlike with the other script.
Same preferences apply, if you want a faster transition simply decrease the seconds. If you put it at 0s then it should appear and disappear instantly.

Made a quick update because I forgot to account for when a user is using the header and navigating away from a video page.

Oh wow. That is amazing @Yonezpt !
This works really well and I think this fits my needs better than it appearing when the video is paused, since it got a bit annoying that the video moves up and down all the time when pausing!
I think @YePpHa should implement this as a 3rd option so people could have the variety!
Again, thank you so much for making this as I can now fully enjoy Youtube!

Make sure you are using the version 6, there were some details I overlooked. Also clicked on assignees by mistake...

Yep, I am indeed on ver 6, but reinstalled just in case! Works perfectly so far. The 0s works best for me as anything slower just seems unnecessary!

How you guys installed this script?

I have the Tampermonkey addon for Chrome, that is used to install userscripts! Im guessing @Yonezpt  has it too!
Also. @Yonezpt I think there might be one last bug in your script, sometimes when going to a video the page scrolls down the height of the header and stays down like that, sometimes it flickers down and up really fast, sometimes a bit slower! I tried setting the speed higher and then it seems not to do it as much but there is still that flicker, but at 0s or 0.1s or so it stays down more often it seems!

@Eisys In that case it is best to simply change the following lines:
    var sheet =
        '#masthead-positioner,#masthead-positioner-height-offset{margin-top:0;transition:margin-top 1s}\n' +
        '#body #body-container .hide{margin-top:-50px}',

to  this:
    var sheet = '#body #body-container .hide{display:none}',

Seeing that you prefer it without transition.

Ok yep, that works perfectly, thanks!
Now to wait and hope that @YePpHa fixes the original issue and implements your new mouse-proximity version as well! I don't mind it being a seperate script but just having it all in one place would be better.

Or you could add a feature that header would reappear when video ends.


add: feature to get API key from user

solves: #9
Added:

html for the form field to get API key as input from the user and provided a link to get the same.
updated css accordingly
added functionality to check if api key is provided or not.

Before:

After:

Nice ⭐


issue with "axoverlay_set_overlay_size" fw 10.8.1 +

Describe the bug
Hi,
I have been testing the Cairo overlay APIs in ACAP3 and 4 and came across an issue when using axoverlay_set_overlay_size causing a crash.
I am testing on a Q1615 MKIII and the issue started from fw 10.8.1 (before that release all was working fine) and higher. I managed to narrow it down to this specific function: "axoverlay_set_overlay_size" which allows to resize a box. I have also created a couple of videos showing what happens.
Here is a demo video showing the test application not using the  "axoverlay_set_overlay_size" -->
https://www.youtube.com/watch?v=8KUGwci_u5w
And here is the test application using  "axoverlay_set_overlay_size" -->
https://www.youtube.com/watch?v=6KoEoPeFKe8
When running the same sample test code on fw 10.7.3 I have no issues.
To reproduce
Use "axoverlay_set_overlay_size"
Steps to reproduce the behavior:
Run the "axoverlay_set_overlay_size" on fw 10.8.1 and higher through ssh terminal. Logs will show this message:
(process:6939): GLib-CRITICAL **: 10:59:18.712: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
overlaytest: src/overlay.c:749: overlay_free_overlay_context: Assertion `ovl_table != NULL' failed.
Aborted (core dumped)
Environment

Axis device model: Q1615 Mk III

Axis device firmware version: starting 10.8.1 including the latest version 10.12.73

Stack trace or logs:

2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ ERR     ] kernel: [  133.331897][ T6939] overlaytest: overlaytest: potentially unexpected fatal signal 6.
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332060][ T6939] CPU: 1 PID: 6939 Comm: overlaytest Kdump: loaded Tainted: G           O      4.19.217-axis8 #1
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332181][ T6939] Hardware name: Axis ARTPEC-7 Platform
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332249][ T6939] PC is at 0x76b65996
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332365][ T6939] LR is at 0x76ba2497
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332430][ T6939] pc : [<76b65996>]    lr : [<76ba2497>]    psr: 200e0030
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332546][ T6939] sp : 7edca690  ip : 0000010c  fp : 00000000
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332613][ T6939] r10: 74c48018  r9 : 76f77ad8  r8 : 76f77594
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332727][ T6939] r7 : 0000010c  r6 : 76c3633c  r5 : 00000006  r4 : 00001b1b
2022-08-19T10:59:18.723-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332793][ T6939] r3 : 76fae770  r2 : 00000006  r1 : 00001b1b  r0 : 00000000
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.332915][ T6939] Flags: nzCv  IRQs on  FIQs on  Mode USER_32  ISA Thumb  Segment user
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333038][ T6939] Control: 50c5387d  Table: 6db7004a  DAC: 00000055
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333106][ T6939] CPU: 1 PID: 6939 Comm: overlaytest Kdump: loaded Tainted: G           O      4.19.217-axis8 #1
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333220][ T6939] Hardware name: Axis ARTPEC-7 Platform
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333350][ T6939] [<8010bd99>] (unwind_backtrace) from [<8010898f>] (show_stack+0xb/0xc)
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333423][ T6939] [<8010898f>] (show_stack) from [<804a2a41>] (dump_stack+0x69/0x78)
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333546][ T6939] [<804a2a41>] (dump_stack) from [<801202e3>] (get_signal+0x2d3/0x530)
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333669][ T6939] [<801202e3>] (get_signal) from [<80108355>] (do_signal+0x81/0x3a4)
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333735][ T6939] [<80108355>] (do_signal) from [<801087b1>] (do_work_pending+0x75/0x84)
2022-08-19T10:59:18.724-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333851][ T6939] [<801087b1>] (do_work_pending) from [<80101079>] (slow_work_pending+0x9/0x18)
2022-08-19T10:59:18.730-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.333968][ T6939] Exception stack(0xea025fb0 to 0xea025ff8)
2022-08-19T10:59:18.730-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.334035][ T6939] 5fa0:                                     00000000 00001b1b 00000006 76fae770
2022-08-19T10:59:18.730-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.334154][ T6939] 5fc0: 00001b1b 00000006 76c3633c 0000010c 76f77594 76f77ad8 74c48018 00000000
2022-08-19T10:59:18.730-04:00 axis-b8a44f050c2b [ WARNING ] kernel: [  133.334271][ T6939] 5fe0: 0000010c 7edca690 76ba2497 76b65996 200e0030 00001b1b
2022-08-19T10:59:18.752-04:00 axis-b8a44f050c2b [ INFO    ] overlayd: ./overlaytest vanished, removing its overlays
2022-08-19T10:59:18.755-04:00 axis-b8a44f050c2b [ INFO    ] overlayd: :1.405 vanished, tearing down command channel

Version: ACAP3.5 and ACAP4 (axisecp/acap-native-sdk:1.1-armv7hf-ubuntu20.04)

Additional context
Willing to share test code to AXIS internally if needed.
Thanks!
Marco
Axis Communications

Hi @paromarc , thanks for the detailed report. We will get back to you when we have had time to test.

fw 10.12.97 fixes the issue ! Thanks!


Tuple arguments not always interpreted correctly

The following code displays a bit of odd behaviour:
module Test =
    let start name =
        name, "1"

    let middle next (name, values) =
        printf "Middle: Name='%s', Values='%s'" name values
        (name, values + ", " + next)

    let last (name, values) =
        printf "Last: Name='%s', Values='%s'" name values

module Program =
    [<EntryPoint>]
    let main argv =
        Test.start "Test"
        |> Test.middle "2"
        |> Test.middle "3"
        |> Test.last

        0

When the code is converted and run the following output is produced
Middle: Name='Test', Values='1'
Middle: Name='Test', Values='1, 2'
Last: Name='Test,1, 2, 3', Values='undefined'

It seems the tuple array is being passed into last->name rather than been split up.
Changing Name='%s' to Name='%A' seems to fix the problem.
I don't know if it's any help but here is the broken JavaScript snippet:
var Program = Program_1.Program = function (Program) {
      (function (argv) {
        return Test.last(function () {
          var next;
          return next = "3", function (tupledArg) {
            var name, values;
            return name = tupledArg[0], values = tupledArg[1], Test.middle(next, name, values);
          };
        }()(function () {

and the working one:
    var Program = Program_1.Program = function (Program) {
      (function (argv) {
        return function (tupledArg) {
          var name = tupledArg[0];
          var values = tupledArg[1];
          Test.last(name, values);
        }(function () {
          var next;
          return next = "3", function (tupledArg) {
            var name, values;
            return name = tupledArg[0], values = tupledArg[1], Test.middle(next, name, values);
          };
        }()(function () {

Thanks a lot for the detailed report. Unfortunately, this seems to be a glitch of the F# compiler services. The generated AST is not correct and that's why Fable creates wrong code. I'll report this to the F# compiler services team.

Moved to FSharp.Compiler.Services


Segmentation Fault on "MSFindSymbol"

I wanted to hook the MGCopyAnswer_internal function on the simulator to log its calls so I modified code from https://github.com/Tonyk7/MGSpoof to hook the function:
%ctor {
	// get image
    NSLog(@"SimHooker: Before get image.");
	MSImageRef libGestalt = MSGetImageByName("/usr/lib/libMobileGestalt.dylib");

	// Get "_MGCopyAnswer" symbol
    NSLog(@"SimHooker: Before get symbol.");
    void * Symbol=MSFindSymbol(libGestalt, "_MGCopyAnswer");
	/*
	 * get address of MGCopyAnswer_internal by doing symbol + offset (should be 8 bytes)
	 * note: hex implementation of MGCopyAnswer: 01 00 80 d2 01 00 00 14 (from iOS 9+)
	 * so address of MGCopyAnswer + offset = MGCopyAnswer_internal. MGCopyAnswer_internal *always follows MGCopyAnswer (*from what I've checked)
	 */
    NSLog(@"SimHooker: Before pointer.");
	const uint8_t *MGCopyAnswer_ptr = (const uint8_t *)MGCopyAnswer;
    NSLog(@"SimHooker: Before find branch.");
	addr_t branch = find_branch64(MGCopyAnswer_ptr, 0, 8);
    NSLog(@"SimHooker: Before follow branch.");
	addr_t branch_offset = follow_branch64(MGCopyAnswer_ptr, branch);
    NSLog(@"SimHooker: Before hook.");
	MSHookFunction(((void *)((const uint8_t *)Symbol + branch_offset)), (void *)new_MGCopyAnswer_internal, (void **)&orig_MGCopyAnswer_internal);
    NSLog(@"SimHooker: After hook.");
}

It works fine on my device, but on the simulator Springboard crashes on startup:
https://pastebin.com/SL0WAwAR
It seems to happen on the void * Symbol=MSFindSymbol(libGestalt, "_MGCopyAnswer"); line. To get it to compile, I had to copy /opt/simject/Frameworks/CydiaSubstrate.framework to /Users/christopherh/theos/lib/CydiaSubstrate.framework and add "SimHooker_EXTRA_FRAMEWORKS = CydiaSubstrate" to my Makefile.
Does MSFindSymbol not work on the simulator?

I will first assume that MSFindSymbol couldn't find the symbol given the path. For iOS simulator environment, you need to be specific to the path argument. Simply using /usr/lib/libMobileGestalt.dylib means that dylib inside /usr/lib of your macOS. If you need to get to the root of your target iOS simulator, use UISystemRootDirectory().
Have this helper macro:
#if TARGET_OS_SIMULATOR

#import <UIKit/UIFunctions.h>

#define realPath(path) [UISystemRootDirectory() stringByAppendingPathComponent:path]
#define realPath2(path) [realPath(path) UTF8String]
#else
#define realPath(path) (path)
#define realPath2(path) ([path UTF8String])
#endif

Usage:
MSImageRef libGestalt = MSGetImageByName(realPath2("/usr/lib/libMobileGestalt.dylib"));
...

As for your second issue, getting the tweak to compile. The CydiaSubstrate.framework provided by theos/lib doesn't contain x86_64 slice. It's only natural that you will need one from simject to be used instead.

Thanks for the quick reply! I didn't even think about the different directories. I used your code but sadly I'm still having the same issue.

I was able to get it to work using the following code:
extern "C" CFPropertyListRef MGCopyAnswer(CFStringRef);
%ctor {
	const uint8_t *MGCopyAnswer_ptr = (const uint8_t *)MGCopyAnswer;
	// from Ghidra: MGCopyAnswer_internal is 12 bytes from MGCopyAnswer
	addr_t branch_offset = 12;
	MSHookFunction(((void *)((const uint8_t *)MGCopyAnswer_ptr + branch_offset)), (void *)new_MGCopyAnswer_internal, (void **)&orig_MGCopyAnswer_internal);
}

It's probably not the most elegant solution but it does what it's supposed to in my case. I realized that the functions from my previous code (find_branch64 etc.) wouldn't have worked anyways since they were dependent on arm instructions.

The offset could be different between ARM and x86 architecture. It makes sense it crashes with the wrong offset provided.


Add patched package

Fixes https://github.com/nexB/vulnerablecode/issues/375
I've done a terrible job at naming things here(see review comments), need help there.
We would want to move all the intermediate data structures to one place. That will be done in another PR.

This PR removes the notion of resolved_package essentially only storing packages which are vulnerable. It also links these vulnerable packages with nearest(version-wise) package which is safe.
On a lower level, this required :

Removing PackageRelatedVulnerability's is_vulnerable flag, since now we only store vulnerable packages primarily.

Adding a field called patched_package to PackageRelatedVulnerability . This is a foreign key to the nearest(wrt PackageRelatedVulnerability.package version wise) safe package .

Implementing a method called nearest_patched_package which accepts 2 lists of vulnerable packages and safe packages (wrt to some same vulnerablity) respectively. This method does the following:

a. Sort both the lists , ie the packages are now in ascending order wrt their versions. univers is used here.
b. Iterate over each vulnerable package, let's call the package being iterated pkg. For each pkg we find a package
which is just greater(version-wise ) than itself in the safe packages list. See the code here
c. If there exists such a package in (b) we bind this safe package with pkg by creating a AffectedPackageWithPatchedPackage instance


Added Loopback connector to clients page

Preview here - https://staging.crate.io/docs/clients/

ACK


⚠ Jerry Savelle Ministries International Australia has degraded performance

In d3f6bbe, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 5989 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in 00435a8 after .


More efficient ZWJ support detection

Right now the algorithm for detecting emoji support is:

Go through a representative emoji from each version, check if it's rendered in color
Filter out any emoji versions greater than the version detected by the above
When rendering any emoji, if it has a ZWJ in it, check that is rendered width is within a certain threshold relative to the width of a baseline emoji

The problem is with emoji versions like 13.1, which only have ZWJ additions. So there's no good color emoji test available. This means that if a device supports 13 but not 13.1, we will do a width check on every single emoji from 13.1 rather than testing one and skipping the others.
This is just a perf improvement, but it could be a big one (maybe). My concerns:

Extra complexity in the code for an as-yet unknown perf benefit
Potential blocking by UAs when reading the width of emoji via canvas (I'm already nervous about using canvas at all given fingerprint-blocking, although so far I haven't heard any complaints)

In retrospect, I think the current system is fine. We seem to pay no style/layout penalty for calculating the emoji widths at the moment they're rendered, as long as we're smart about coordinating read/writes.


utils.createFrame is not a function

Thanks for the importer, I've finally got time to work through creating a template to import spells from 5etools. I'm attempting to use the forEach helper from handlebars-helpers library. During the import, I get the above error in the console. I've included the relevant block from my template below, as well as the json. Any ideas or suggestions as to what I'm doing wrong?
Uncaught (in promise) TypeError: utils.createFrame is not a function
    at Object.helpers.forEach (eval at <anonymous> (app.js:1), <anonymous>:8078:24)
    at Object.wrapper2 (eval at <anonymous> (app.js:1), <anonymous>:1351:23)
    at Object.eval [as main] (eval at createFunctionContext (eval at <anonymous> (app.js:1)), <anonymous>:37:108)
    at main (eval at <anonymous> (app.js:1), <anonymous>:1534:36)
    at ret (eval at <anonymous> (app.js:1), <anonymous>:1537:16)
    at ret (eval at <anonymous> (app.js:1), <anonymous>:3373:25)
    at JsonImport.eval (eval at <anonymous> (app.js:1), <anonymous>:44334:20)
    at Generator.next (<anonymous>)
    at fulfilled (eval at <anonymous> (app.js:1), <anonymous>:36:24)

{{#forEach entriesHigherLevel}}
## At Higher Levels

{{entriesHigherLevel.0.entries}}
{{/forEach}}

[
	{
		"name": "Intellect Fortress",
		"source": "TCE",
		"page": 107,
		"level": 3,
		"school": "A",
		"time": [
			{
				"number": 1,
				"unit": "action"
			}
		],
		"range": {
			"type": "point",
			"distance": {
				"type": "feet",
				"amount": 30
			}
		},
		"components": {
			"v": true
		},
		"duration": [
			{
				"type": "timed",
				"duration": {
					"type": "hour",
					"amount": 1
				},
				"concentration": true
			}
		],
		"entries": [
			"For the duration, you or one willing creature you can see within range has resistance to psychic damage, as well as advantage on Intelligence, Wisdom, and Charisma saving throws."
		],
		"entriesHigherLevel": [
			{
				"type": "entries",
				"name": "At Higher Levels",
				"entries": [
					"When you cast this spell using a spell slot of 4th level or higher, you can target one additional creature for each slot level above 3rd. The creatures must be within 30 feet of each other when you target them."
				]
			}
		],
		"damageResist": [
			"psychic"
		],
		"damageImmune": [
			"psychic"
		],
		"damageVulnerable": [
			"psychic"
		],
		"miscTags": [
			"SGT"
		],
		"classes": {
			"fromClassList": [
				{
					"name": "Artificer",
					"source": "TCE"
				}
			],
			"fromClassListVariant": [
				{
					"name": "Bard",
					"source": "PHB",
					"definedInSource": "TCE"
				},
				{
					"name": "Sorcerer",
					"source": "PHB",
					"definedInSource": "TCE"
				},
				{
					"name": "Warlock",
					"source": "PHB",
					"definedInSource": "TCE"
				},
				{
					"name": "Wizard",
					"source": "PHB",
					"definedInSource": "TCE"
				}
			]
		},
		"hasFluffImages": true
	}
]

Inside the forEach block you should use the keyword 'this' to refer to the current item in the array. So replace the x.0.field with this.field Regards,MartinOn 22 Mar 2022 04:04, AmbushXXVI @.***> wrote:
Thanks for the importer, I've finally got time to work through creating a template to import spells from 5etools. I'm attempting to use the forEach helper from handlebars-helpers library. During the import, I get the above error in the console. I've included the relevant block from my template below, as well as the json. Any ideas or suggestions as to what I'm doing wrong?
Uncaught (in promise) TypeError: utils.createFrame is not a function
at Object.helpers.forEach (eval at  (app.js:1), :8078:24)
at Object.wrapper2 (eval at  (app.js:1), :1351:23)
at Object.eval [as main] (eval at createFunctionContext (eval at  (app.js:1)), :37:108)
at main (eval at  (app.js:1), :1534:36)
at ret (eval at  (app.js:1), :1537:16)
at ret (eval at  (app.js:1), :3373:25)
at JsonImport.eval (eval at  (app.js:1), :44334:20)
at Generator.next ()
at fulfilled (eval at  (app.js:1), :36:24)
{{#forEach entriesHigherLevel}}
At Higher Levels
{{entriesHigherLevel.0.entries}}
{{/forEach}}
[
{
"name": "Intellect Fortress",
"source": "TCE",
"page": 107,
"level": 3,
"school": "A",
"time": [
{
"number": 1,
"unit": "action"
}
],
"range": {
"type": "point",
"distance": {
"type": "feet",
"amount": 30
}
},
"components": {
"v": true
},
"duration": [
{
"type": "timed",
"duration": {
"type": "hour",
"amount": 1
},
"concentration": true
}
],
"entries": [
"For the duration, you or one willing creature you can see within range has resistance to psychic damage, as well as advantage on Intelligence, Wisdom, and Charisma saving throws."
],
"entriesHigherLevel": [
{
"type": "entries",
"name": "At Higher Levels",
"entries": [
"When you cast this spell using a spell slot of 4th level or higher, you can target one additional creature for each slot level above 3rd. The creatures must be within 30 feet of each other when you target them."
]
}
],
"damageResist": [
"psychic"
],
"damageImmune": [
"psychic"
],
"damageVulnerable": [
"psychic"
],
"miscTags": [
"SGT"
],
"classes": {
"fromClassList": [
{
"name": "Artificer",
"source": "TCE"
}
],
"fromClassListVariant": [
{
"name": "Bard",
"source": "PHB",
"definedInSource": "TCE"
},
{
"name": "Sorcerer",
"source": "PHB",
"definedInSource": "TCE"
},
{
"name": "Warlock",
"source": "PHB",
"definedInSource": "TCE"
},
{
"name": "Wizard",
"source": "PHB",
"definedInSource": "TCE"
}
]
},
"hasFluffImages": true
}
]
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Note that in your handlebars you reference "entries" directly, but that is another array, so you will need another forEach block to read each individual entry in that array (even though there is only one, you still need to access it like an array of more than one). Something similar to:
{{#forEach entriesHigherLevel}}
## At Higher Levels
{{#forEach this.entries}}
this
{{/forEach}}
{{/forEach}}

Hrm. Thanks for pointing out that I'd missed that inner block. Unfortunately, I can't seem to get a forEach to work anywhere. I also tried with the fromClassListVariant, but I'm still getting the same createFrame error.
Class Variants (forEach): {{#forEach classes.fromClassListVariant}}{{this.name}} {{/forEach}}

So, not sure what's going on, but I tried using #each instead of the helper #forEach and it worked. Unfortunately, I don't really know if this will have any other effects down the line...

Any chance you've had time and inclination to look at this? Still trying to figure out if it's my code, my source, or something in the import tool.
Thanks

I just had a look, and #forEach is broken in my distribution.
I am trying to find how to include the required modules to get that working properly.

It looks like match from Handlebars-Helpers is also missing some modules, perhaps related.

I've changed the plugin to use a fork of handlebars-helpers (see https://github.com/Budibase/handlebars-helpers) which builds properly.
This means that #forEach should now work properly in 0.12.0

thanks for taking the time to fix this :)


[HUDI-1436]: provided option to trigger clean every nth commit

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
Provided option to trigger clean every nth commit with default number of commits as 1 so that existing users are not affected.
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Once you address Vinoth's feedback, let me know. I can follow up on reviews.

@nsivabalan I am actually on vacations rn, will address this next week.

@pratyakshsharma : do we have any updates on this end.

@pratyakshsharma : ping

@nsivabalan Apologies for the delay. I have asked for few clarifications. Let us land this one once the questions are addressed.

@pratyakshsharma : let me know once the feedback is addressed.

@hudi-bot run azure

@pratyakshsharma : guess after we landed the other patch (clean based on num of hours), we see conflicts here. can you rebase and fix the conflicts. also, guess there are CI failures. can you fix that as well.

ack.

@pratyakshsharma : do ping me once the feedback is addressed and is good to review again.

@nsivabalan This should be good to take a look.

sure. thanks. will check it out.

I have made a commit to address my last set of feedback. once you have tests covered, we are good to land

@hudi-bot run azure

Have created a follow up patch for enhancing tests
https://issues.apache.org/jira/browse/HUDI-3676


remove unused run.sh in the test directory.

Remove unused CI files #62

Looks good! Thanks for the contribution.


SixCrewScienceLab to spacedock

Closes https://github.com/KSP-CKAN/NetKAN/pull/3287

Merging with my thanks


Dataset + Model

Implement train, test, evaluate

I am interested in solving this issue

@portercapp Sent you to the repo with a write access. Feel free to create a PR for it.

finished this.


Support kwargs in tokenize

Any thoughts on this @jcrist ?

Looks fine to me, although I'm curious what the use case is.

For functions like Executor.submit(func, *args, **kwargs) it's nice to say tokenize(*args, **kwags) and know that **kwargs contributes nothing if its empty.  This might just be an aesthetic thing though and not really worth doing.

It is kind of an aesthetic thing, but it's also cheap to do. I'm fine with merging this.


The script errors out if there are less than 2 files in the source directory.

Thanks for the report. Were you using the script from the latest version of code on the main branch, or the script files from the latest release v1.1.0?

I had pulled the V1.1.0 release.


Partially fix overlay flickering

As I described here, we can partially fix flickering. But this requires some ugly code to store Steam client in plugin and move it with Mutex and Option, I hope there is a better way.

You said it only partially fixes the issue, does it still flicker on occasion?

No, "partially" means you have to call SteamworksPlugin::new before adding DefaultPlugins, which is not obvious.


Bring back features from vimL version

@corbob added the preview feature which allowed you to get the preview version of PSES
I added the ability to switch between version of PS (PowerShell Core, Windows PowerShell).
We should bring these back now that we're in typescript

Tracking:

#25
#23

Closing in favor of those


Can you try rebasing on the new head of this branch?


Add 'system language' as language option

Is your feature request related to a problem? Please describe.
I've set my system to Dutch. When launching Ferdi, the password screen presents itself in my system language, but after 1.5 second or so it changes into English. Probably as I've set Ferdi's language to English. Feels a bit odd.
Describe the solution you'd like
Offer 'System language (if availalbe)' as an option, and fall back to English if the language isn't available. Set this value as the default value for new installations.

the hierarchy that would make sense here is ferdi lang > system lang > fallback lang based on what user prefers most to least.

Yes - this is what I think we should aim for.
Can the locale setting be loaded after the onReady event? Or using a setTimeout (less preferable)?

Hmm, in case that was not how it was handled before, then it should be now after https://github.com/getferdi/ferdi/pull/2031.


how to convert tf2 model to blob please suggest.I am able to convert tf to openvino IR but not able to convert IR to blob.

I have the same issue!


Missing properties panel icon for ad-hoc subprocess

Describe the Bug
There's no icon for both expanded and collapsed ad-hoc subprocess:

Steps to Reproduce

Create ad-hoc subprocess
now this happens

Expected Behavior
There should be an icon. A subprocess icon should be sufficient.
Environment

OS: [e.g. MacOS 10.2, Windows 10]
Camunda Modeler Version: 5.0.0-alpha.0 and 1
Execution Platform: Camunda Platform
Installed plug-ins: [...]

@andreasgeier I think you might be interested in this.

Fixed upstream via https://github.com/bpmn-io/bpmn-js-properties-panel/pull/583


F8 - step over leads to libunwind error

single stepping with F7 works.
However using the step over function fails with following libunwind error

I reproduced this behaviour with the current HEAD revision. In order to be able to build I had to update the unwind crate. See my other issue #1.

Thank you for participating! Could you please check:

does next work in console mode?
provide some code for the repro? (or is this behavior observed in any code?)

Also debugger can be built with own unwinder (instead of libunwind), but i'm strongly doesnt recomend it, so JFYI :)

I tried debugging my own little project:
https://github.com/phideg/neptungen
I started the debugger with
bs ../neptungen/target/debug/neptungen

(bs) b main
New breakpoint 1 at 0x00000000849836: /home/phil/Projekte/neptungen/src/main.rs:85
(bs) r
Hit breakpoint 1 at 0x00555555D9D836: /home/phil/Projekte/neptungen/src/main.rs:85
  85     let arguments = Arguments::parse();
(bs) next
Error: libunwind error: unsupported operation or bad value

I tried the same thing with the helix project. Here I ran in a completely different error
helix/target/debug on  master
❯ bs hx

BugStalker greets

(bs) b main
New breakpoint 1 at 0x00000000D7A184: /home/phil/Projekte/helix/helix-term/src/main.rs:37
(bs) r
Error: memory region offset not found (unknown segment)

both neptungen has been build with rust 1.7and helix were build with rust 1.77.1

hm, i'm test both repro in my dev pc (ubuntu 22.04 + rust 1.77) and it is worked fine.
So can you provide your output of dpkg -l | grep unwind command? Also you use Fedora 39 right?
And last thing - debugger support rustc version 1.75+, may be problem at this point.

❯ dnf list installed | grep unwind
libunwind.x86_64                                     1.7.0-0.2.rc2.fc39                  @fedora
libunwind-devel.x86_64                               1.7.0-0.2.rc2.fc39                  @fedora
llvm-libunwind.x86_64                                17.0.6-1.fc39                       @updates
llvm-libunwind-devel.x86_64                          17.0.6-1.fc39                       @updates

so I build a bs version with --no-default-features
cargo install --path . --no-default-features

with that version of BugStalker stepping with F8 worked 👍🏽.

I debugged the issue. The error comes from the following line:
https://github.com/sfackler/rstack/blob/master/unwind/src/lib.rs#L370
let ret = unw_step(&mut self.0);

ret has error code -8. According to the error codes here it means the following??:
...
UNW_EINVAL,			/* unsupported operation or bad value */
...

Interesting, is this error occures at first stack frame? I mean, may a be fast solve of this problem at bs side - just cut backtrace from libunwind at error point? (because I'm afraid that the general solution should not be in bs, but in libunwind)

I now tried it on my worstation running on fedora 39, too. And I can confirm that the error on that machine is not reproducible, too. No, idea why its still failing on my laptop.

sorry I did not have the time to follow up on this for some time. This evening I update my rust compiler to version 1.79 and pulled latest BugStalker revision (a9668f5bb181328c94ea426d7a00ff9c0e4d0c8b). I repeated the steps to debug main of my neptungen project. And there is an interesting new effect. The first time I run I get
Error: memory region offset not found (unknown segment)

If I run it a second time the breakpoint does not get hit and instead I get the help overview of clap
(bs) b main
New breakpoint 1 at 0x00000000849836: /home/phil/Projekte/neptungen/src/main.rs:85
(bs) run
Error: memory region offset not found (unknown segment)
(bs) run
Restart a program?
(bs y/n) y
Simple static website generator

Usage: neptungen [OPTIONS] <COMMAND>

Commands:
  print-config  Print the configuration of the config.toml file
  build         Generate the website
  sync          Synchronize the website with an sftp or ftp server
  serve         Start a local http server that allows testing the site
  help          Print this message or the help of the given subcommand(s)

Options:
  -p, --project-path <FILE>  Specify the path to the project. By default current directory is used
  -h, --help                 Print help
  -V, --version              Print version
Program exit with code: 2

No problem, are you observe this behavior with libunwind or builtin unwinder (--no-default-features)?


Test asserts question/issue

As I worked on https://github.com/AlaSQL/alasql/pull/1794 I noticed there are a few specs which follow pattern of assert(res,
They seem to pass even when i changed the expected values.
I made a change on the one test in that PR(https://github.com/AlaSQL/alasql/pull/1794/files#diff-45ecd1e6cf603c0d570eae55d8803c4b5af8e3aee3d64d1b061d64814191e146R19).
Should the other specs like shown in this branch https://github.com/AlaSQL/alasql/compare/develop...rameshrajagopalanbayer:alasql:asserts-fix?expand=1 also have the equal or deepEqual added to it,
If this looks to be the case let me know i can make that change and create a PR.  Currently i do have 1 spec (uncomment) fail after the change to have equal or deepEqual.

assert with two parameters or assert.equal is used for comparing primitive values or for checking the equality of object references (not their content).
assert.deepEqual, compares the properties and values within the objects recursively to check if they are equal.
So if we have places where we compare objects without using deepEqual, that is a problem

On the equal for example on Test397.js , I can change the expected value to anything and the test still pass.
Fails after expected value change
		var res = alasql('= 256 >> 4');
		assert.equal(res, 56);

vs
Does not fail the test with incorrect expected
		var res = alasql('= 256 >> 4');
		assert(res, 56);

This is terrible!

We got 58 examples of this.

It gave 10 errors. I will have to look into this.

@rameshrajagopalanbayer Thank you for reporting this.


Files Encoding for Integrations

During the analysis of ticket #2850, there was an understanding that the system should not produce files with characters beyond ASCII (7-bit). Please see the comments on the related tickets for further information.
Assumptions

Files generated by SIMS should follow ASCII (7-bit) only.
Files uploaded to SIMS by institutions may receive ASCII extended (8-bit/latin1/ISO8859-1 or other if the Ministry desires).
SIMS must be adapted to convert all data for files generated into ASCII (7-bit).

Acceptance criteria

[ ] Ensure generated files to be uploaded to the SFTP will contain only ASCII (7-bit).

[ ] Apply a conversion in the centralized location responsible for all files written to the SFTP (source reference).
[ ] Iterate through each character and generate a byte array where each entry will be between 0-127.

[ ] For a list of known characters, apply a conversion.
[ ] For characters outside the list of known characters, set the byte as 63 ("?").

[ ] Ensure buffers converted as a result of a file uploaded are using latin1.

[ ] education-program-offering.institutions.controller.ts
[ ] student-scholastic-standings.institutions.controller

Sample known characters' conversation
áàãâ would be converted to a.
éèê would be converted to e.

@JasonCTang can you please review the ticket to ensure that this is the goal?

This aligns completely with what was discussed.  Good to proceed.  Good work!

We would like business confirmation on the approach and then technical team will clean ticket and put into backlog.  Please send to Dressed after review.

We would like business confirmation on the approach and then technical team will clean ticket and put into backlog.  Please send to Dressed after review.

Biz is good with the approach .

Moving to Biz Lather - ok with sample character conversions.


1 node etcd cluster is not working

Error:
{"errorCode":300,"message":"Raft Internal Error","cause":"etcdserver: request timed out","index":0}
To work etcd client , I find that it requires minimum 2 etcd node up to store any data in etcd server.
Issue:
I have created the cluster of 3 etcd node and down 2 etcd node , If we down 2 etcd node it is not able to call the etcd server.
Please resolve this issue ASAP for etcd cluster. etcd cluster must be work with single node.
Find the all details below:
etcd-server version: 3.1.5
org.mousio etcd4j client version: 2.13.0
To reproduce the issue:
I created the cluster of 3 nodes on local machine using following commands:
etcd0 node1 script:
/home/vf-root/installed/etcd/etcd --name er-etcd0
--data-dir /var/lib/etcd/er-ms-node0
--listen-client-urls http://<IP_ADDRESS>:2379
--advertise-client-urls http://<IP_ADDRESS>:2379
--listen-peer-urls http://<IP_ADDRESS>:2380
--initial-advertise-peer-urls http://<IP_ADDRESS>:2380
--initial-cluster er-etcd0=http://<IP_ADDRESS>:2380,er-etcd1=http://<IP_ADDRESS>:2381,er-etcd2=http://<IP_ADDRESS>:2382
--initial-cluster-token er-etcd-cluster
--initial-cluster-state new
etcd1 node2 script:
/home/vf-root/installed/etcd/etcd --name er-etcd1
--data-dir /var/lib/etcd/er-ms-node1
--listen-client-urls http://<IP_ADDRESS>:2378
--advertise-client-urls http://<IP_ADDRESS>:2378
--listen-peer-urls http://<IP_ADDRESS>:2381
--initial-advertise-peer-urls http://<IP_ADDRESS>:2381
--initial-cluster er-etcd0=http://<IP_ADDRESS>:2380,er-etcd1=http://<IP_ADDRESS>:2381,er-etcd2=http://<IP_ADDRESS>:2382
--initial-cluster-token er-etcd-cluster
--initial-cluster-state new
etcd2 node3 script:
/home/vf-root/installed/etcd/etcd --name er-etcd2
--data-dir /var/lib/etcd/er-ms-node2
--listen-client-urls http://<IP_ADDRESS>:2377
--advertise-client-urls http://<IP_ADDRESS>:2377
--listen-peer-urls http://<IP_ADDRESS>:2382
--initial-advertise-peer-urls http://<IP_ADDRESS>:2382
--initial-cluster er-etcd0=http://<IP_ADDRESS>:2380,er-etcd1=http://<IP_ADDRESS>:2381,er-etcd2=http://<IP_ADDRESS>:2382
--initial-cluster-token er-etcd-cluster
--initial-cluster-state new
While you run above 3 scripts it would create the 3 node etcd-cluster, It is working with 3 node and 2 node etcd cluster:
Issue can be reproduce while doing this step:
1.Required to down 2 etcd node from running 3 node etcd-cluster.
2.while running curl command for single node running cluster using below command it gives the error
curl -L -X PUT http://<IP_ADDRESS>:2379/v2/keys/foo -d value="bar"
Error:
{"errorCode":300,"message":"Raft Internal Error","cause":"etcdserver: request timed out","index":0}
Let me know if you required more things to do.

Check what is failure tolerance

@suresh-chaudhari
Read what @pmoust posted. It will help you understand what etcd can do.

If those two nodes are permanently lost, the cluster won't be able to make forward progress. The etcd cluster needs disaster recovery to start a new cluster with the old cluster data.


Swift conversion

Hello,
Will you be switching this project to 100% swift code?
I've been away from coding for a while and thought It'd be a good project to try to learn swift so I actually just tried by changing all code to swift and it loads the first viewcontroller however when I click the button to swapviewcontrollers to the second one I always get this really weird error that there is no segue named "secondSegue" present although it clearly is :/
Think it's creating a new instance of containerviewcontroller or something so everything is reset to nil I don't know!
Happy to hear from ya
Nick

Update: Gotten the 2 tab project to work with some adjustments. I now use a notification to trigger the swapviewcontrollers method in the containerviewcontroller.
    NSNotificationCenter.defaultCenter().postNotificationName("SwapNotification", object: nil)

When I use
    let contVC = ContainerViewController()
    contVC.methodOfTestProperty()

Similar to what you did in Obj. C then I get an error saying it does not recognize the segue names. Still think this is an instance thing in Swift! Weird language :)

Ahh! So typically me.. A few minutes after posting a quick fix I discover the real fix :D
After passing and logging data through 3 vars I've found a way to grab the already loaded instance of the ContainerViewController simply like so:
Main VC
class MainViewController: UIViewController {
var contVC: ContainerViewController?

@IBAction func swapButtonPressed () {
//Execute the swapViewControllers method
    contVC?.swapViewControllers()
}

override func viewDidLoad() {
    super.viewDidLoad()
// Set the reference to the Container View Controller
    contVC = self.childViewControllers[0] as? ContainerViewController
 }

I hadn't really thought about converting this project to Swift but it sounds like a good exercise. Definitely feel free to fork and/or post your own version. :)

Ok cool I"ll try that haven't forked before on github :) I'm working out some kinks in the delegates and tab ViewControllers not keeping their instance yet but once I've got those I'll def upload it! Code will not be as pretty as your Obj. C version though! Thanks to Swift's (and mine) weirdness :D


Unimplemented Node and Switch register()

Neither Node's nor Switch's register() functions are implemented in the client library.   Since every call should be accessible in the client library, this should be fixed.

Yeah, I think there are a number of calls that aren't there. They're not hard to add. It would be good to make a list.

node_register()
switch_register()
node_set_bootdev()
metadata_set()
metadata_delete()
list_network_attachments()

start_console() and stop_console() use the client library, but show_console() doesn't. That's weird.
The headnode stuff doesn't use any client library calls, but we don't need to add support for it either.
cc: @SahilTikale

The console stuff probably isn't worth bothering with until the obmd stuff lands (or maybe we should do that at the same time).
I agree, we can omit the headnode stuff. Though it would be trivial to add if someone were going to just slog through and add all of these in one pass.
I edited your comment to turn it into a checklist; hope that's cool.

Complete!