Windows integrated authentification - useAppPoolCredentials=true

Kerberos authentification on a web application running under a service account (Application Pool Identity / SpecificUser) requires to setup the following variables under system.webServer/security/authentication/windowsAuthentication
useAppPoolCredentials = true
useKernelMode=false
xWebAppPool allowed me to configure the Application Pool Identity service account on my application pool but how can I modify the useAppPoolCredentials and useKernelMode using this DSC module as the xWebConfigKeyValue seems to be restricted to AppSettings ?

That can currently not be done with a builtin DSC Resource. You could use the Script resource to achieve this.
`
Configuration WindowsAuthenticationExample
{
param(
[Parameter(Mandatory = $true)]
[String]
$Site,
    [Parameter(Mandatory = $true)]
    [Boolean]
    $AppPoolValue
)

Import-DscResource –ModuleName 'PSDesiredStateConfiguration'

Script UseAppPoolCredentials
{
    GetScript = {
        $useAppPoolCredentials = Get-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location $using:site -filter 'system.webServer/security/authentication/windowsAuthentication' -name 'useAppPoolCredentials'
        return @{ Result = $useAppPoolCredentials.Value }
    }
    TestScript = {
        $useAppPoolCredentials = Get-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location $using:site -filter 'system.webServer/security/authentication/windowsAuthentication' -name 'useAppPoolCredentials'
        return ($AppPoolValue -eq $useAppPoolCredentials.Value)
    }
    SetScript = {
        Set-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST' -location $using:site -filter 'system.webServer/security/authentication/windowsAuthentication' -name 'useAppPoolCredentials' -value $using:AppPoolValue
    }
}

}`
You only require useAppPoolCredentials set to true. Kernel mode should stay enabled and you need to register the SPN to the SpecificUser.

Works like a charm ;-) Tks

Would be great to integrate this as a DSC resource. Any plan to add this to a next sprint ?

I label this as help wanted so that someone in the community can run with this.

Will this configuration new be possible through xWebConfigProperty / xWebConfigPropertyCollection ?

@matt6697 Yes, xWebConfigProperty would be the right resource for this.  Here's an example how to set the useAppPoolCredentials property:
Configuration WindowsAuthenticationExample
{
    Import-DscResource -ModuleName xWebAdministration

    xWebConfigProperty useAppPoolCredentials
    {
            WebsitePath  = 'Iis:\'
            Filter       = '/system.webServer/security/authentication/windowsAuthentication'
            PropertyName = 'useAppPoolCredentials'
            Value        = $true
            Ensure       = 'Present'
    }
}

Pretty much any web configuration property or collection can be managed with those two resources.  Single property collections have proven to be tricky and there is a issue open for that.


[FEATURE] Add top level filter clause to hybrid query clause to avoid duplication of filters in sub query clause of hybrid search

Is your feature request related to a problem?
Currently hybrid query clause doesn't support adding of a top level filter query clause which leads to adding of duplicate filters in the sub-queries. This leads to user copying same query clause across sub-queries and a sub-optimal user experience.
What solution would you like?
User should be able to define filter at high level, that filter is applied to every sub-query. If that sub-query doesn't support filtering it's ignored (alternatively query may fail, that is reasonable alternative). In case filtering has been defined for particular sub-query high level filter is ignored.
Example of desired syntax:
{
   "query": {
       "hybrid": {
          "queries": [
               {},// First Query
               {} // Second Query
               ..... // Other Queries
           ],
           "filter" : {}
       }
   }
}

What alternatives have you considered?
Individual sub-queries can have filtering clauses defined, in case it's required for multiple sub-queries that maybe inconvenient.

I'll work on this item.

Regarding the filtering, I believe it should function as a boolean query where the filter is applied before combining the results from the subqueries, rather than being passed to each subquery individually.
In other words, the filter should act as post-filtering for the individual subqueries but as pre-filtering for the overall hybrid query.
https://opensearch.org/docs/latest/query-dsl/compound/bool/
For passing filter to sub queries, the implementation and maintenance effort would outweigh its benefits, especially since users can already define filters for each subquery if needed.


[FR] support zen mode in additional windows

Hey thanks for developing this plug-in!
I love zen mode but currently it's only supported in the main window.
I usually work with several windows at once and often I'm wondering why the shortcut for zen mode broke,
until I realize that it is not the main window. :D
Having zen mode in all windows would be neat!
Best regards :)

Hi @Friedolito ! Thank you for your suggestion. Currently, I don't know how to control these additional windows because there is no API available. I'll try to make this work though.

Thanks for the quick reply!
Nothing to major but happy if it would work. :)

Hi @Friedolito ! I'll convert this issue to a discussion. Currently, there are some issues for implementing this feature. The most important one is UX. Because there is no sidebar in these additional windows, you may lose access to some tabs if Vertical Tabs is only visible in the main window, which may be another monitor.


_curses.error: addstr() returned ERR

Sometimes rtv terminates with the following exception,

Traceback (most recent call last):
  File "/usr/local/bin/rtv", line 9, in
    load_entry_point('rtv==1.13.0', 'console_scripts', 'rtv')()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2229, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/site-packages/rtv/__main__.py", line 169, in
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/rtv/__main__.py", line 152, in main
    page.loop()
  File "/usr/local/lib/python2.7/site-packages/rtv/page.py", line 73, in loop
    self.draw()
  File "/usr/local/lib/python2.7/site-packages/rtv/page.py", line 344, in draw
    self._draw_content()
  File "/usr/local/lib/python2.7/site-packages/rtv/page.py", line 459, in _draw_content
    attr = self._draw_item(subwindow, data, subwin_inverted)
  File "/usr/local/lib/python2.7/site-packages/rtv/subreddit_page.py", line 232, in _draw_item
    self.term.add_line(win, text, row, 1, curses.A_BOLD)
  File "/usr/local/lib/python2.7/site-packages/rtv/terminal.py", line 275, in add_line
    window.addstr(row, col, text, *params)
_curses.error: addstr() returned ERR

I haven't really found a way to 100% reproduce this, but usually using rtv for 5-10 minutes results in one crash.

Thanks for the report

It looks like http://bugs.python.org/issue8243.

i wrapped the call to addstr in try: except: pass and did not notice anything wrong so far. If there is no better solution, we might just ignore the exception

This error pops every time the program tries to draw text outside of the screen bounds. Usually it's the result of an edge case like resizing the screen in the middle of a redraw or trying to view an abnormal comment. I haven't seen one in a long time, so I'm surprised that you're getting them so frequently. What subreddits are you usually viewing when this happens? It could be a unicode character width miscalculation if you're on non-english subs. You can also try running with the ``--ascii` flag and see if that fixes the problem.

Yes it looks like it is related to unicode, with --ascii i don't get these crashes.
My unicode characters are horrible broken (I am just not sure, who is at fault, rtv or python)
All unicode characters are displayed with M-something. Eg. the character after "pts" before the time is displayed as  M-b~@M-". Do you have any idea?

It sounds like your python build was compiled against the wrong curses library. I've seen similar jumbled characters like that when I built my own version of python. My understanding is that there are 2 versions of curses, libncurses.so and libncursesw.so, and the latter needs to be linked to python for unicode support. Here's a bug report that talks about the issue https://bugs.python.org/issue4787. What OS are you using?

I added a section to the FAQ, but this seems like it's outside of the control of rtv so I'm closing the issue.


Get the navigation ready.

Do we have the design available for the navigation?

@Developer-Raj I have assigned this task to @khushaboopandey, let her come up with some background.

Closing these issue as navigation is ready


MultiCluster Ingress DNS endpoint controller

This is the continuation of the PR https://github.com/kubernetes-sigs/federation-v2/pull/218 for issue https://github.com/kubernetes-sigs/federation-v2/issues/96
This PR adds a controller which generates DNSEndpoint by monitoring MultiClusterIngressDNSRecords
DNSEndpoint are sourced in external-dns to write DNS records.
/cc @font @kubernetes-sigs/federation-wg

@shashidharatd Please rebase.

@font, have rebased. ptal

/lgtm


[cxx-interop] Make CxxPair's fields mutable

This will be needed to support mutable C++ iterators, e.g. std::map::iterator.

@swift-ci please smoke test


[DO NOT MERGE] Test RC provider packages

Description
What is the current behavior?

What is the new behavior?

Does this introduce a breaking change?
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

I re-ran one of the failing tests and perhaps we can ignore the test-3.8(airflow='2.2.5') failing test?
cc: @phanikumv @rajaths010494 @pankajastro @utkarsharma2 ?

I re-ran one of the failing tests and perhaps we can ignore the test-3.8(airflow='2.2.5') failing test? cc: @phanikumv @rajaths010494 @pankajastro @utkarsharma2 ?

hmm, actually we installed airflow in ci with constraints file https://github.com/astronomer/astro-sdk/blob/main/python-sdk/noxfile.py#L39 maybe be because of that it throwing azure provider version mismatch error

I re-ran one of the failing tests and perhaps we can ignore the test-3.8(airflow='2.2.5') failing test?
cc: @phanikumv @rajaths010494 @pankajastro @utkarsharma2 ?

yes, if we are testing core rc then 2.2.5 error we can ignore. just I have rerun it on 2.5.1rc2 as well one test has fail does not look related to core airflow changes https://github.com/astronomer/astro-sdk/actions/runs/3962557251/jobs/6789377133


Feat/law stone bindings

Update okp4-logic-bindings and in cascade the okp4-law-stone contract according to the latest API changes in okp4d logic module.

Summary by CodeRabbit

New Features

Introduced error handling improvements with new error variants for more precise feedback.

Bug Fixes

Enhanced the reliability of parsing and handling expressions by refining logic and error handling.

Refactor

Adjusted data structures for better clarity and functionality, including the removal and addition of specific fields to improve user output and error reporting.

Documentation

Updated documentation to reflect changes in data properties and error handling mechanisms.

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/okp4_objectarium.wasm
440.47 KB (0%)

target/wasm32-unknown-unknown/release/okp4_law_stone.wasm
654.01 KB (+0.51% 🔺)

target/wasm32-unknown-unknown/release/okp4_cognitarium.wasm
834.97 KB (0%)

target/wasm32-unknown-unknown/release/okp4_dataverse.wasm
669.03 KB (0%)


fix: check chunkedCookie is string in server client

Ensures chunked cookie checks are of the right type.

Hey @pfftdammitchris
Thanks for the PR! Could we trouble you to quickly run npx prettier --write . when free?

Sure, here are the results:

Sure

Hey @pfftdammitchris
Thanks for the PR! Could we trouble you to quickly run npx prettier --write . when free?

Yeah

hmm I’ll try to file a PR against this so we can get it in

Hey @pfftdammitchris could you please fix the lint issues?


ci: set default shell for fixing the workflows

coverage: 84.071%. remained the same
when pulling f75c2a0e3e36e1975959880d158f39806b39ebdd on fix_workflows_gcroci2
into ef4dd33042803dee1cce2068ee2c82755c0ee130 on main.


How to fetch the Prediction Probabilities of the Predicted Tokens

We want to get the prediction probabilities of the predicted tokens (on the top beam) without constrained decoding (PICARD). How can we get these values? @JiexingQi  Can you please point to the code for the same? Thanks.

Without constrained decoding, our decoder is just a normal T5 decoder, which means the probability you want is the lm_logits in line 1804 of t5_relation_model.py after softmax func. If you want to get the exact probability, maybe you should refer to the original transformer code in generation part.


avrbinutils: 2.26 -> 2.30

Motivation for this change
The switch to gcc 7 has broken avrbinutils:
https://hydra.nixos.org/job/nixpkgs/trunk/avrbinutils.x86_64-linux
This upgrade to 2.30 fixes that.
CC @mguentner
#31747
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build avrbinutils

Success on x86_64-darwin (full log)
Partial log (click to expand)
make[3]: Leaving directory '/private/tmp/nix-build-avr-binutils-2.30.drv-0/binutils-2.30/libiberty/testsuite'
make[2]: Leaving directory '/private/tmp/nix-build-avr-binutils-2.30.drv-0/binutils-2.30/libiberty'
make[1]: Nothing to be done for 'install-target'.
make[1]: Leaving directory '/private/tmp/nix-build-avr-binutils-2.30.drv-0/binutils-2.30'
post-installation fixup
gzipping man pages under /nix/store/ianb687igkiai5qg2ph2dfcf7afdsyma-avr-binutils-2.30/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ianb687igkiai5qg2ph2dfcf7afdsyma-avr-binutils-2.30/bin
patching script interpreter paths in /nix/store/ianb687igkiai5qg2ph2dfcf7afdsyma-avr-binutils-2.30
/nix/store/ianb687igkiai5qg2ph2dfcf7afdsyma-avr-binutils-2.30

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30/bin/avr-addr2line
shrinking /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30/bin/avr-size
shrinking /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30/bin/avr-ar
shrinking /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30/bin/avr-strip
gzipping man pages under /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30/bin
patching script interpreter paths in /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30
checking for references to /tmp/nix-build-avr-binutils-2.30.drv-0 in /nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30...
/nix/store/7sjr07pbh8rc310xqh5jaz72h9ipdyia-avr-binutils-2.30

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30/bin/avr-strings
shrinking /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30/bin/avr-ar
shrinking /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30/bin/avr-objdump
shrinking /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30/bin/avr-size
gzipping man pages under /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30/bin
patching script interpreter paths in /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30
checking for references to /build in /nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30...
/nix/store/wc11iwsx9yqzjq5mnb8381b766cnmvgj-avr-binutils-2.30


Expose lex time again

It got dropped earlier for some reason, but it is sometimes useful.

Reasons at the time were likely YAGNI, a focus on minimum needs for Apollo metrics spec compliance, and/or an over-emphasis on field resolver timings, but regardless it was an miscalculation since this is easily obtained data and still contributes to overall roundtrip time.


Improvements to QUIL output

Related to: https://github.com/quantumlib/Cirq/issues/2386 and https://github.com/quantumlib/Cirq/pull/2903/files

Simplify  def _quil_ in quil_output.py That huge return statement can be simplified with a permutation.
Fix https://github.com/quantumlib/Cirq/pull/2903/#discussion_r412376163

Adding a gates_defined variable to the QuilFormatter to replace the rename_defgates function.
Properly test the fallback function in the _write_quil function.

Fixed by @karalekas.


Buy/Sell button becomes enabled when switching tabs

The user can fill in the Price and Amount fields and receive an error such as Insufficient Funds, in which case the Buy/Sell button remains disabled. However, clicking on either the Orders or Account navigation tabs, then clicking on the Trade navigation tab enables the Buy/Sell button while retaining the values that were previously entered.

Fixed.


[Snyk] Security upgrade axios from 1.6.0 to 1.6.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

661/1000  Why? Recently disclosed, Has a fix available, CVSS 7.5
Prototype Pollution SNYK-JS-AXIOS-6144788
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution

Failed tests...

unit tests are OK, build seems fine,  and it seems that CI doesn't fail because of axios.


How to serialize django model using serpy?

Kinda new to python and django so I apologize if this is a noobish question.  How would I serialize this following related models using Serpy instead of DRF ModelSerializer and then use the serpy serializer in a DRF ModelViewSet?
Models:
class Person(models.Model):
    first_name = models.CharField(_("First Name"), max_length=128, null=True)
    middle_name = models.CharField(_("Middle Name"), max_length=128, blank=True, null=True)
    last_name = models.CharField(_("Last Name"), max_length=128, null=True)
    email = models.EmailField(_("Email"), blank=True, null=True)

    def __unicode__ (self):
        return '%s: %s %s %s' % (self.id, self.first_name, self.middle_name, self.last_name)

class Bookmark(models.Model):
    person = models.ForeignKey(Person, related_name='bookmarks', on_delete=models.CASCADE)
    title = models.CharField(_("Title"), max_length=9999, blank=True, null=True)
    url = models.URLField(_("Url"), max_length=9999, blank=True, null=True)

    def __unicode__ (self):
        return '%s %s' % (self.title, self.url)

DRF ModelSerializers:
class BookmarkSerializer(ModelSerializer):
    class Meta:
        model = Bookmark
        fields = ('id', 'title', 'url', 'person')

class PersonSerializer(ModelSerializer):
    bookmarks = BookmarkSerializer(many=True, read_only=True)

    class Meta:
        model = Person
        fields = ('id', 'first_name', 'middle_name', 'last_name', 'email', 'bookmarks')

DRF ModelViewSet:
class PersonViewSet(viewsets.ModelViewSet):
    queryset = Person.objects.all()
    serializer_class = PersonSerializer

class BookmarkSerializer(serpy.Serializer):
    id = serpy.IntField()
    title = serpy.CharField()
    url = serpy.MethodField()

class PersonSerializer(serpy.Serializer):
    bookmarks = BookmarkSerializer(many=True)

Does that not work?

I tried that but when I do that I get:
return [serialize(o, fields) for o in instance]
TypeError: 'RelatedManager' object is not iterable

Am I doing something wrong in the DRF ModelViewSet? Can I use the DRF ModelViewSet like I'm using it above?

Ah. Try:
bookmarks = BookmarkSerializer(many=True, attr="bookmarks.all", call=True)

Hmm seemed to get passed that, now getting the following when I try to view my persons:
AttributeError: 'NoneType' object has no attribute 'last_name'

I'm not sure if I'm allowed to use DRF ModelViewSet with serpy?
Thank you for your help btw Andrew.

I've not tried model view sets with it so I'm not sure.
When all else fails, I fall back to the method field:
bookmarks = serpy.MethodField()

def get_bookmarks(self, obj):
    # do interesting stuff with obj
    return somethinguseful

Got it thank you

Another solution is to change the as_getter.  Can also check the type(value.__class__.__name__) == 'RelatedManager'  since its a local in the create_reverse_many_to_one_manager function wouldn't recommend it.
from functools import partial

from serpy import Serializer

def get_related(name, instance):
    value = getattr(instance, name, None)
    if value and hasattr(value, 'all') and callable(value.all):
        value = value.all()
    return value

class BaseSerializer(Serializer):
    def as_getter(self, serializer_field_name, serializer_cls):
        return partial(get_related, serializer_field_name)


How to config to make jest recognize unicode

Do you want to request a feature or report a bug?
bug
What is the current behavior?
I use jest to do unit test from the webpack bundled file.
The result of my test is as follows:
/www/myproject/index.js: Octal literal in strict mode (7383:21)
    7381 | var styles = {
    7382 |     //styles
  > 7383 |     'bold'      : ['\033[1m',  '\033[22m'],
         |                      ^
    7384 |     'italic'    : ['\033[3m',  '\033[23m'],
    7385 |     'underline' : ['\033[4m',  '\033[24m'],
    7386 |     'inverse'   : ['\033[7m',  '\033[27m'],

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        11.104s

What is the expected behavior?
The unit test can be run normally.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
jest version: 5.4.2
node version: v8.8.1
npm version: 5.4.2
yarn version: 1.2.1
operating system: macOs 10.13.1
my jest configuration is
"jest": {
  "moduleFileExtensions": ["js", "jsx", "json"],
  "bail": true,
  "notify": true,
  "moduleNameMapper": {
    "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
    "\\.(css|less)$": "<rootDir>/test/src/__mocks__/styleMock.js"
  }
}

my  .babelrc is:
{
  "presets": [ ["es2015", {"modules": false}], 'stage-0', 'react' ],
  "env": {
    "test": {
      "plugins": ["transform-es2015-modules-commonjs", "transform-es2015-unicode-regex"]
    }
  }
}

my webpack configuration is
module: {
    rules: [
        {
            test: /\.jsx?$/,
            use: [
                {
                    loader: "babel-loader",
                    options: {
                        plugins: [
                            "transform-object-rest-spread", "transform-runtime"
                        ],
                        presets: [
                            [
                                "es2015", {
                                    modules: false
                                }
                            ],
                            "react",
                            "stage-3"
                        ]
                    }
                },
                {
                    loader: "ifdef-loader", options:  compile_condition
                }
            ],

            include: path.resolve(__dirname, "src/")
        }
    ]
}

Please follow the template and provide reproduction steps

What I need is a repo I can clone, runt jest, and see the failure. I'm unable to reproduce this

That's rather issue with your Babel config than Jest. Closing due to inactivity.


How to install it

I do not use a local installation. All I use is a clone of my Jekyll blog with Github Windows or alternatively  on my Android with the  PocketGit App. When I write a new  post, change one or change anything else such like the minima configuration I do this with my clone, commit the change and push it to the origin repo.
Unfortunately my knowledge is very limited. The way I work does not require any CLI and thus I never use it. So what I need is an advice what to copy at which place (into which folder) of my cloned repo or which change I have to make in which file in order to get the redirection mechanism available for use.
Many thanks in advance for any help.

I got this working after following the installation instructions. The important files that I had to be adapted in my repository were the Gemfile and _config.yml (add the plugin to plugins and whitelist). I guess you should have these two files in your repository too. Using the bundle command didn't seem to be needed in this case. Only for testing it locally, which you don't seem to require.
Of course, after the mentioned changes you have to know which redirects you want to do and adapt your YAML front-matter of your page or post.


Seems not to work with share dealing account (even if ok with spread betting)

Hi,
I am testing the API library with my two IG accounts.
When I set my "SPREAD BETTING" account as default on the IG platform, I receive the right output:
`

import os
import sys
from trading_ig import IGService
from trading_ig.config import config
ig_service = IGService(config.username, config.password, config.api_key, config.acc_type)
ig_service.create_session()
{u'reroutingEnvironment': None, etc... etc... : u'https://apd.marketdatasystems.com'}
`

However, When I set my "SHARE DEALING" account as default on the IG platform, I receive an error as below:
`

import os
import sys
from trading_ig import IGService
from trading_ig.config import config
ig_service = IGService(config.username, config.password, config.api_key, config.acc_type)
ig_service.create_session()
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-x86_64/egg/trading_ig/rest.py", line 946, in create_session
File "build/bdist.linux-x86_64/egg/trading_ig/rest.py", line 204, in _req
File "build/bdist.linux-x86_64/egg/trading_ig/rest.py", line 121, in req
File "build/bdist.linux-x86_64/egg/trading_ig/rest.py", line 72, in _create_first
File "build/bdist.linux-x86_64/egg/trading_ig/rest.py", line 126, in _set_headers
File "/home/massi/.local/lib/python2.7/site-packages/requests/structures.py", line 56, in getitem
return self._store[key.lower()][1]
KeyError: 'cst'
`

Any idea of what is triggering the issue?

I have only done test with spread betting account.
I suggest to git clone repository and try some print debuging in https://github.com/ig-python/ig-markets-api-python-library/blob/master/trading_ig/rest.py

I think you can close this issue. Just tried with the API companion of IG to initiate a session and this is the return message I have got:
{     "errorCode": "error.public-api.failure.stockbroking-not-supported" }
Seems the SHARE DEALING account is not supported by the API.

Thanks


Download.sh for alpha 13 references alpha 11

The file at https://github.com/PowerShell/PowerShell/blob/v6.0.0-alpha.13/tools/download.sh actually references the string v6.0.0-alpha.11 in the code. This feels like an error - should it not say 13?

This has happened again in alpha.16:
The Unix download page references the download script at https://github.com/PowerShell/PowerShell/blob/v6.0.0-alpha.16/tools/download.sh, which seems right, but the actual file at that location still points to alpha.15.
It sounds like updating the script should be automated.

Download scripts was refactored.


Possible 1.0.0 release

Hi,
I needed to work with some zip files so I looked over your library. It was easy to understand it but it wasn't using the latest technologies so I did the following:

use Xcode 5 with module, image assets etc
use ARC only and drop manual reference counting support
class prefix
drop exception support and implement NSError handling

I plan to:

add more error codes
write functions without the NSError param
write unit tests

Since I think this code would help other developers I recommend merging this changes into your repo.
Any feedback is welcome!

Thanks for your contribution, most of your suggestion actually ended up in 1.0 release. Forgot to close the PR.


Test

Hello, could you help with running this algorithm? When I try to run the example graph code, I get an error: "argument of type 'int' is not iterable". I would like to see how to apply this code to graphs


Can it sort by field name and bulk export data?

Can LiteDbExplorer sort by field when I hit the corresponding column name and bulk export data from the selected documents? Thanks for your response.

Done see: 7.2.1


Use the Spring Initializr

I rewrote the document and edited the code (mostly changing package names) to use the Spring Initializr

Sorry for the hassle. Can you rebase it?


[bazel,ci,util,doc] Manage Verible tools with Bazel

note
I recommend reviewing this PR one commit at a time. The Python diffs look a little hairy due to autoformatting, but I did the autoformat in its own commit before layering my changes on top.

This PR:

Automates the installation of Verible tools with Bazel and removes those steps from CI.
Simplifies the Getting Started guide by deleting a few paragraphs.
Bumps the version of Verible so we can use the distro-agnostic linux-static binaries.
Updates Python scripts that assumed Verible tools would be on PATH. This change required some nontrivial work around dvsim.

Changes to dvsim
This PR creates wrapper scripts for Verible binaries in hw/lint/tools/dvsim/tool_wrappers/ that obtain Verible binaries from Bazel on demand. The wrappers are admittedly a hack. I believe we a more elegant solution would be possible if dvsim supported "startup commands", configurable commands that run once when dvsim starts. The closest thing I could find  was build_cmd, which runs once per fusesoc invocation.
During the course of this PR, I fixed some preexisting issues.

Apparently, verible-verilog-lint considers empty waiver files to be a fatal error (see lint_waiver.cc). Ibex has a few such empty waiver files. The wrapper scripts were a convenient place to touch up these empty waiver files, but the proper solution would be to fix the waivers upstream in Ibex.
(Addressed upstream by https://github.com/lowRISC/ibex/pull/2076)

Bazel symlinks are not excluded from fusesoc's search path. As a result, fusesoc may find files under e.g. bazel-opentitan/ depending on the most recent Bazel commands. I discovered this by running ci/jobs/slow-lint.sh locally. I kept running into errors about missing SystemVerilog source files. I noticed that if I commented out one of the earlier tasks in slow-lint.sh the errors disappeared.
I modified the linting build_cmd to create a FUSESOC_IGNORE file in the Bazel execRoot directory (see https://bazel.build/remote/output-directories).

Verible warns that SV sources in hw/top_earlgrey/ip/ast/ fail the always-comb rule. I worked around this by disabling the always-comb rule in lowrisc-styleguide.rules.verible_lint.
(Tracked in https://github.com/lowRISC/opentitan/issues/19556.)

Unfortunately the missing results error for ascentlint seems a common occurrence.

Unfortunately the missing results error for ascentlint seems a common occurrence.

Oh, do you think the failure may just be a coincidence, @matutem? I'll try rerunning Kokoro again.

From an initial look, I don't think this is a coincidence. It is consistently failing. Need to investigate futher.
Side note, I think the first few commits of the PR can be squashed, they just keep updating version numbers.

From an initial look, I don't think this is a coincidence. It is consistently failing. Need to investigate futher.

Thanks for confirming, that was my gut feeling.
I don't really know how to debug this failure  since I don't have ascentlint. @timothytrippel, could you peek at the Kokoro logs and share any hints you may find?

Side note, I think the first few commits of the PR can be squashed, they just keep updating version numbers.

That's fair, especially since I asked reviewers to read commit-by-commit. I'll squash up the first three commits.


ability to update a dependency ref from command line

Describe the problem/challenge you have
[A description of the current challenge that you are experiencing.]
starting from this config:
apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
  - path: mylib
    contents:
      - path: .
        git:
          url: https://github.com/schmurfy/mylib
          ref: master

I would like to be able to do something similar to go get<EMAIL_ADDRESS>Describe the solution you'd like
[A clear and concise description of what you want to happen. If applicable a visual representation of the UX.]
here are some ideas how it might look like:
envdir pull<EMAIL_ADDRESS>envdir get<EMAIL_ADDRESS>
after that envdir.yaml would contain ref: v1.0.2 and the lockfile would contains the sha1/revision pulled.
Anything else you would like to add:
[Additional information that will assist in solving the issue.]
it would not work for every backend but it would be a great addition for faster workflow.
One usecase is pull-request, when doing pull-requests involving multiple repositories we have one pr & branch for each repository and need to switch to that branch, I would prefer a simple command line than having to edit a file. Worst case scenario I can script the file edit but it would not be my first choice.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

@schmurfy  thank you for creating issue. What I could understand about the requirement is:
You have vendir.yaml
apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
  - path: mylib
    contents:
      - path: .
        git:
          url: https://github.com/schmurfy/mylib
          ref: master

now second time you want to fetch https://github.com/schmurfy/mylib for tag v1.0.2.
-> With the current logic in vendir you have to update vendir.yam to
apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
  - path: mylib
    contents:
      - path: .
        git:
          url: https://github.com/schmurfy/mylib
          tag: v1.0.2

and then run vendir sync to fetch new changes.
Instead of editing vendir.yaml and then run vendir sync you want to just run vendir pull<EMAIL_ADDRESS>or vendir get<EMAIL_ADDRESS>and you expect vendir should do rest of the job for you. And new changes should get updated in both vendir.yaml and vendir.lock.yaml.
It seems we want to two separate commands vendir sync and vendir get/pull to do same jobs with just one change, in second command we do not need to edit vendir.yaml manually.
I feel if just editing vendir.yaml is problem then we can either use some bash script to do that or we may have a vendir flag to update vendir.yaml with new requirement and then run vendir sync.

if someone else needs it, here is my ytt template:
#@ load("@ytt:data", "data")
#@ load("@ytt:overlay", "overlay")

#@overlay/match by=overlay.subset({"kind": "Config"})
---
directories:
  #@overlay/match by=overlay.subset({"path": "mylib"})
  - contents:
      #@overlay/match by=overlay.index(0)
      - git:
          ref: #@ data.values.ref

and it can be used with:
ytt -v ref=$(REV) -f vendir.yml -f vendir-change-ref.yaml


Best way to generate estimated test execution times in Bluepill

We are working on issue https://github.com/linkedin/bluepill/issues/336 which orders the test bundles by estimated test execution times provided as an input (re: json file) to Bluepill. Please refer to the implementation in this PR https://github.com/linkedin/bluepill/pull/342.
The current implementation expects this file to be provided as an input, but it would be an order of magnitude better if Bluepill can generate such file as an output artifact.
Let's ignore the fact that Bluepill already generates a lot of outputs, and assume one more output file wouldn't harm.
Option#1:
The simplest is to generate a file based on only the times from the current execution, just like trace-profile.json, but lightweight key-value pairs.
Cons:
The current test execution time alone need not be a great predictor/estimate of the next execution time. It is not, at least from our experimentation.
Option#2:
Generating a running average of execution times by using the times from the input file and times from the current execution.
Cons:
Outliers in execution times can corrupt the running average. A moving time window technique may eventually phase out outliers and prevent them from ruining the running average forever, but we need to maintain past execution times along with timestamps, which is heavy-weight.
Option#3:
To avoid outliers, a median based solution (median of past executions in a moving time window) but also need times with timestamps.
I am looking for suggestions on option#3 or any other alternatives to provide more accurate estimates, given the constraints Bluepill has. \cc @ob

I'm leaning towards Option #1 and leaving the computation to a script outside of CI... it seems it'd be more flexible.

@ravimandala  are you working on this?


[Feature Request] New Video Viewport

What feature or change would you like to see made?
We implemented a new video viewport which uses cornerstone3D offscreen rendering and enables annotation and many other things.
We should scope how we can add this to OHIF
https://www.cornerstonejs.org/docs/examples#cornerstone-video-viewport
Why should we prioritize this feature?
Manipulation + annotation tools and in near future segmentation on the video

This should wait until all video enhancements can be added


Update collections.js

Coverage remained the same at 96.867% when pulling 20490c3c1fa801aa8e08dd91ba33ede1662636e9 on VimalChaudhary:patch-1 into 3d118cf09fe4d3432aef9b5b6ab43e57ee9af34e on jashkenas:master.

No thanks, same reason as the other.


Exception error handling

Exception error handling that has the following return:

IndexError: list index out of range
Traceback:
File "/home/alison/anaconda3/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/home/alison/local-repo-dev/whatsapp-message-link/app.py", line 14, in
link_out += wapp_number + '/?text=' + message_list[0]
~~~~~~~~~~~~^^^

This bug was treated with simple exception error handling. The used method was try-except.


docs(website): made the landing page more lively.

The showcase part of the landing page was a meaningless splitter. Improve to show various components.
It is easier for users to try the arc component.
Demo video
https://user-images.githubusercontent.com/121924093/234021697-3c1d54c1-272e-499b-8dcc-ca3587ed589b.mp4
trouble shooting
slider component should be first index
why?
Sliders in a sequence other than the first of the carousel components cannot move the slider with the mouse. This is because the carousel is being moved to translate3d property (css), so the browser you are currently viewing is moved to the x-axis.

Thanks for your contribution. Not sure if this component are ideal to showcase (3 of 5 require an extra click) but its better what we have so I just take it :P

It's a really bad UX to require for extra click.. That's all you're thinking about
I learned one!
Let's develop further in the future!


how can I add a dropdown with custom font style choices for editor text

Hi, you guys are great,
I have a question, how can I add my custom fonts on text editor
and custom text color, or custom color widget
thanks in advance.

If you want custom toolbar buttons then simply do this:
HtmlEditor(
  controller: controller,
  htmlToolbarOptions: HtmlToolbarOptions(
    defaultToolbarButtons: [
      StyleButtons(),
      FontSettingButtons(fontName: false),
      FontButtons(),
      ListButtons(),
      ParagraphButtons(),
      InsertButtons(),
      OtherButtons(),
    ],
    customToolbarButtons: [
      CustomFont(),
      CustomTextColor(),
    ],
  ),
),

defaultToolbarButtons is there to disable the default font dropdown and default color pickers. Then you use customToolbarButtons to add in your own widgets however you want to.
For implementing a custom font picker or custom color picker I highly recommend checking out how I did the default version in toolbar_widget.dart at lines 500 and 905.
Now that I think about it, there is no way for custom implementations to be updated when the font family/color/font size, etc changes in the editor. Internally I handle this with a method listening to changes sent in JSON, but I think its a good idea to add some sort of callback/listener/stream to the package so custom UI elements can be updated. Therefore I am adding the "enhancement" tag to this issue.
Let me know if you need more help with the implementation

hi, thanks for your reply,
I added custom drop down menu item, it's showing only the font name but not changing it on editor.
or maybe i'm doing it wrong.
can you tell me how to add it,
https://user-images.githubusercontent.com/50191855/121620011-36940c80-ca87-11eb-809f-814f324cc248.mp4
I added them here
  items: [
              CustomDropdownMenuItem(
                value: 'Courier New',
                child: PointerInterceptor(
                    child: Text('Courier New',
                        style: TextStyle(fontFamily: 'Courier'))),
              ),
              CustomDropdownMenuItem(
                value: 'sans-serif',
                child: PointerInterceptor(
                    child: Text('Sans Serif',
                        style: TextStyle(fontFamily: 'sans-serif'))),
              ),
              CustomDropdownMenuItem(
                value: 'Times New Roman',
                child: PointerInterceptor(
                    child: Text('Times New Roman',
                        style: TextStyle(fontFamily: 'Times'))),
              ),
              CustomDropdownMenuItem(
                value: 'Billabong',
                child: PointerInterceptor(
                    child: Text('Billabong',
                        style: TextStyle(
                          fontFamily: 'Billabong',
                        ))),
              ),
              CustomDropdownMenuItem(
                value: 'AlexBrush',
                child: PointerInterceptor(
                    child: Text('AlexBrush',
                        style: TextStyle(
                          fontFamily: 'AlexBrush',
                        ))),
              ),
              CustomDropdownMenuItem(
                value: 'Allura',
                child: PointerInterceptor(
                    child: Text('Allura',
                        style: TextStyle(
                          fontFamily: 'Allura',
                        ))),
              ),
              CustomDropdownMenuItem(
                value: 'Arizonia',
                child: PointerInterceptor(
                    child: Text('Arizonia',
                        style: TextStyle(
                          fontFamily: 'Arizonia',
                        ))),
              ),
            ],
            value: _fontNameSelectedItem,
            onChanged: (String? changed) async {
              void updateSelectedItem(dynamic changed) async {
                if (changed is String) {
                  setState(mounted, this.setState, () {
                    _fontNameSelectedItem = changed;
                  });
                }
              }

              if (changed != null) {
                var proceed =
                    await widget.htmlToolbarOptions.onDropdownChanged?.call(
                            DropdownType.fontName,
                            changed,
                            updateSelectedItem) ??
                        true;
                if (proceed) {
                  widget.controller
                      .execCommand('fontName', argument: changed);
                  updateSelectedItem(changed);
                }
              }
            },
          ),

and here
   //check the font name if it matches one of the predetermined fonts and update the toolbar
  if ([
    'Courier New',
    'sans-serif',
    'Times New Roman',
    'Billabong',
    'AlexBrush'
  ].contains(fontName)) {
    setState(mounted, this.setState, () {
      _fontNameSelectedItem = fontName;
    });
  } else {
    setState(mounted, this.setState, () {
      _fontNameSelectedItem = 'sans-serif';
    });
  }

pubspec.yaml
  fonts:
    - family: AlexBrush
      fonts:
        - asset: assets/fontFamily/AlexBrush-Regular.ttf
    - family: Allura
      fonts:
        - asset: assets/fontFamily/Allura-Regular.ttf
    - family: Arizonia
      fonts:
        - asset: assets/fontFamily/Arizonia-Regular.ttf
    - family: ChunkFive
      fonts:
        - asset: assets/fontFamily/Chunk_Five_Print.ttf
    - family: GrandHotel
      fonts:
        - asset: assets/fontFamily/GrandHotel-Regular.otf
    - family: GreatVibes
      fonts:
        - asset: assets/fontFamily/GreatVibes-Regular.ttf
    - family: Lobster
      fonts:
        - asset: assets/fontFamily/Lobster-Regular.ttf
    - family: OpenSans
      fonts:
        - asset: assets/fontFamily/OpenSans-Regular.ttf
        - asset: assets/fontFamily/OpenSans-Italic.ttf
          style: italic
        - asset: assets/fontFamily/OpenSans-Bold.ttf
          weight: 700

later I tried to add a new custom button also and call this  controller.execCommand('fontName', argument: 'AlexBrush');
this just changing it on drop down, not change text style

and one more thing, on real device, it not showing the editor, tool are showing and it's working perfectly in emulator
did need to add any kind for permission of something else.
please help

2 things you are doing wrong I think:

You need to add the fonts into the editor itself because webview fonts are different from Flutter fonts, you need to make a custom HTML file like this:

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="description" content="Flutter Summernote HTML Editor">
    <meta name="author" content="tneotia">
    <title>Summernote Text Editor HTML</title>

    <link href="assets/packages/html_editor_enhanced/assets/summernote-lite.min.css" rel="stylesheet">

Then pass the file location in your HtmlEditor > HtmlEditorOptions> filePath parameter to load it.

I think to change the font you need to select the text and then change it. I could be wrong though, I haven't tested this behavior in a while.

FYI I didn't test this, don't have much time right now. If it still doesn't work I'll try to get a working solution tomorrow.

here is the image, it's not showing nothing on editor.

Hmm do you get any logs when opening up the editor? I have no issues on my samsung device

Okay I tried to come up with an example and I was successful. I also figured out why nothing was showing on the editor. Change your app like this:
pubspec.yaml:
flutter:
  assets:
    - assets/

create assets/summernote.html:

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="description" content="Flutter Summernote HTML Editor">
    <meta name="author" content="tneotia">
    <title>Summernote Text Editor HTML</title>

    <link href="file:///android_asset/flutter_assets/packages/html_editor_enhanced/assets/summernote-lite.min.css" rel="stylesheet">

HtmlEditor:
HtmlEditor(
  controller: controller,
  htmlEditorOptions: HtmlEditorOptions(
    filePath: "assets/summernote.html",
  ),
  htmlToolbarOptions: HtmlToolbarOptions(
    defaultToolbarButtons: [
      StyleButtons(),
    ],
    customToolbarButtons: [
      Container(
        padding: const EdgeInsets.only(left: 8.0),
        height: kMinInteractiveDimension,
        decoration:
            BoxDecoration(
                color: Theme.of(context).scaffoldBackgroundColor,
                border: Border.all(
                    color: Theme.of(context)
                        .colorScheme
                        .onSurface
                        .withOpacity(0.12))),
        child: CustomDropdownButtonHideUnderline(
          child: CustomDropdownButton<String>(
            menuMaxHeight: MediaQuery.of(context).size.height / 3,
            menuDirection: DropdownMenuDirection.down,
            items: [
              CustomDropdownMenuItem(
                value: 'Courier New',
                child: PointerInterceptor(
                    child: Text('Courier New',
                        style: TextStyle(fontFamily: 'Courier'))),
              ),
              CustomDropdownMenuItem(
                value: 'sans-serif',
                child: PointerInterceptor(
                    child: Text('Sans Serif',
                        style: TextStyle(fontFamily: 'sans-serif'))),
              ),
              CustomDropdownMenuItem(
                value: 'Times New Roman',
                child: PointerInterceptor(
                    child: Text('Times New Roman',
                        style: TextStyle(fontFamily: 'Times'))),
              ),
              CustomDropdownMenuItem(
                value: 'Billabong',
                child: PointerInterceptor(
                    child: Text('Billabong',
                        style: TextStyle(
                          fontFamily: 'Billabong',
                        ))),
              ),
              //add your other fonts here!!
            ],
            value: 'Courier New',
            onChanged: (String? changed) async {
              if (changed != null) {
                controller.execCommand('fontName', argument: changed);
              }
            },
          ),
        ),
      )
      //add the other widgets here!!
    ],
  ),
),

To simplify my testing I didn't include font asset files in the Flutter app and I did not make it so that updating the font style changes the selected item for the dropdown. You should re-implement those functionalities.
View screenshot

bingo, it's worked, thanks bro, you are the best. :)
keep it up, have a great day.

@tneotia  @Ashish-Raturi  hey , looks like this code is not work, may i know need copy those resource to my project's asset ? i am using ios device to do the POC

   <link href="assets/packages/html_editor_enhanced/assets/summernote-lite.min.css" rel="stylesheet">

The package asset path may be different on iOS. You can copy those assets to your project if you'd like, then the code becomes

   <link href="assets/summernote-lite.min.css" rel="stylesheet">

@tneotia  but i am afraid if copy those assets to my project, the plugin's version upgrade need more effort to do that, for i believe that those source file have a big chance will be updated in the future.

The package asset path may be different on iOS. You can copy those assets to your project if you'd like, then the code becomes

   <link href="assets/summernote-lite.min.css" rel="stylesheet">

@tneotia but i am afraid if copy those assets to my project, the plugin's version upgrade need more effort to do that, for i believe that those source file have a big chance will be updated in the future.

Actually no, those source files are hardly ever updated. They will likely only be updated when there is a Summernote version upgrade, which is very infrequent.

How to get those file names that you are using in your custom html code? we are using that and it is not doing anything.
@tneotia

I used this example, but it doesn't show the editor :/

How to get those file names that you are using in your custom html code?

These are bundled into the package itself, if you are building Android (not web or iOS), it should work fine. Web and iOS will have different paths.

I used this example, but it doesn't show the editor :/

Check the logs, there might be some error that provides a clue what the issue is

How to get those file names that you are using in your custom html code?

These are bundled into the package itself, if you are building Android (not web or iOS), it should work fine. Web and iOS will have different paths.

I used this example, but it doesn't show the editor :/

Check the logs, there might be some error that provides a clue what the issue is

I tried using the web, but it didn't work. does anyone have an idea how I can customize font style on the web?

For the web, the solution of tneotia is correct, but it is important to import the font in summernote.html in the ttf format.

like this
@font-face {
font-family: 'Georgia';
font-style: normal;
font-weight: 400;
src: local('Georgia'), url('./font/Georgia.ttf') format('woff');
}

Can you give me example code for this?
I tried implementing this but the ui is not updating ...I can't figure out what am i doing wrong.

if i give the filePath to summernote.html file i am not able to write anything and cannot access the editor
if i remove it i can access the editor but when i select my font the text inside the editor won't update

 HtmlEditor(
          htmlEditorOptions: const HtmlEditorOptions(
            // filePath: "assets/summernote.html",
            shouldEnsureVisible: true,
            hint: "Your text here...",
          ),
          htmlToolbarOptions: HtmlToolbarOptions(
            defaultToolbarButtons: [const StyleButtons()],
            customToolbarButtons: [
              Container(
                padding: const EdgeInsets.only(left: 8.0),
                child: CustomDropdownButtonHideUnderline(
                  child: CustomDropdownButton<String>(
                    menuMaxHeight: MediaQuery.of(context).size.height / 3,
                    menuDirection: DropdownMenuDirection.down,
                    items: const [
                      CustomDropdownMenuItem(
                        value: 'Kanz',
                        child: Text(
                          'Kanz',
                          style: TextStyle(
                            fontFamily: 'Kanz',
                          ),
                        ),
                      ),
                      CustomDropdownMenuItem(
                        value: 'Badri',
                        child: Text(
                          'Badri',
                          style: TextStyle(
                            fontFamily: 'Badri',
                          ),
                        ),
                      ),
                    ],
                    value: 'Kanz',
                    onChanged: (String? changed) async {
                      if (changed != null) {
                        if (kDebugMode) {
                          print(changed);
                        }
                        _.controller.execCommand('fontName', argument: changed);
                      }
                    },
                  ),
                ),
              )
            ],
            toolbarPosition: ToolbarPosition.aboveEditor,
            onDropdownChanged: (DropdownType type, dynamic changed,
                Function(dynamic)? updateSelectedItem) {
              if (kDebugMode) {
                print("dropdown '${describeEnum(type)}' changed to $changed");
              }
              return true;
            },
          ),
          callbacks: Callbacks(),
          controller: _.controller, //required
        ),


Update content for feedback sections

Context
We have feedback prompts in 3 sections of the application form:

qualifications
references
personal statement

We need to update the content of all 3 feedback forms to help encourage candidates to send their feed back to the right places.
Changes proposed in this pull request

Guidance to review

Does this match the design?
Are the tests adequate? (no new ones added)

Link to Trello card
https://trello.com/c/koFqYnw8/3881-dev-content-updates-for-feedback-sections
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

thanks @stevehook
Is it possible to remove the 'and interview' from the heading and legend in the personal statement feedback section?
Im not sure why 'and interview' is in there - guessing at one point the interview and personal statement sections were together!

Good point @EmmaFrith, it looks like it's been that way since it was built back last November. Perhaps because the personal statement questions were grouped with interview preferences. In any case, we don't actually prompt for feedback on the interview form so it doesn't seem useful.
I've fixed the content...


Create .gitallowed

Hi, I saw this PR was merged earlier but later the .gitallowed file was removed again thus causing the git-secrets false positive alert to happen again.
https://github.com/AutoScout24/is24-fireplace-android/pull/1
Will be great if someone can help to merge this back. Thanks!
Also, greatly appreciate if a metadata.yaml is added into this repo.
https://github.com/AutoScout24/repo-metadata-reporter

Sorry for the mix up, I'll add the metadata.yml today also


Can't aggregate babar.log to yarn logs

Hello,
I can't get the babar.log aggregated to yarn logs. When I run the command to get the logs:
yarn logs --applicationId application_XXXX_YYYY > myAppLog.log
the resulting myAppLog.log doesn't contain the traces of babar.log. It contains only my application and yarn log messages.
It is not a problem when I launch the application from the linux command line (calling directly spark2-submit) because the file babar.log is created in the same directory. But when I launch it from an oozie workflow (production environment), the file babar.log  dissapears when the container terminates and its content is not aggregated.
I realized that the system properties:  yarn.app.container.log.dir  and spark.yarn.app.container.log.dir are null,  then babar uses a local directory where log is stored : ./log. Could it be the reason? Anyone has observed the same problem?

Hello!
Yes it could be the problem, the agent uses the environment properties to find where to store the log file. It the properties are not found, it will store to a local folder named log.
If you tried to replace the environemnt property by getting the value from an initialized hadoop configuration, would you get a correctly set value?
Something like:
Configuration conf = new Configuration();
conf.get("yarn.app.container.log.dir")

You could also try to specify a custom log directory from the agent parameters that you add to your java options.

Hi Benoit,
thanks for your support. We've chosen the easiest solution, write the babar.log to a local directory outside the container  (/tmp)  and collect it afterwards manually from the concerned server (driver's server in our case).  I couldn't find an easy solution to get the property value (directory of yarn containers'  logs)  and pass it to babar before launching spark2-submit from an oozie workflow.
We activated babar only for the driver, we didn't arrive to launch it in the executors.  But as we're actually working in a problem with the driver, then it's enough by now.


Do not exclude .ts files in npm package or fix sourcemaps

Excluding the .ts (not d.ts) files from the npm package appears to create problems for builds because the sourcemaps included with the package refer to them.
Can you either include ts source files or change the generated sourcemaps? I think including the .ts source doesn't do too much harm as the project is fairly small, angular itself however chose to use smaller (i.e. useless) sourcemaps that point to the d.ts files.
See also:
https://github.com/angular/angular-cli/issues/2364#issuecomment-249822358

Hi @JohannesRudolph
Thank you for the issue. I will have a look.

I experience similar issue. Either index.ts is missing in the root folder or index.js.map should be removed.

Hi @JohannesRudolph
Please try 2.0.5 and confirm that you issue was fixed.


Spaces between labels and checkboxes for Twitter Bootstrap 4

Thank you for the pull request. We avoid to change Simple Form code to add support to any framework. Is not possible to add this same space with the wrapper API or even with CSS?

Hi, i don't know for now. I foresaw this answer :), just pointed to this issue. May be somebody will find better solution.

@rafaelfranca What about joining with "\n" instead? It solves the problem, but does not introduce unnecessary "visible" characters.

additional styling could be a workaround:
// vertical form
.form-check {
  > .collection_check_boxes,
  > .collection_radio_buttons {
    @extend .form-check-label;
    // fix missing space between input & label
    margin-right: .265625rem;
  }
}

I think it is fine to add the space by default. Can someone add tests and update this branch?


allow restart with hostname change (commit and run)

Run SetupConfiguration.ps1 if hostname changed
Re-create ClickOnce if hostname changed

@tfenster,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Did you try running with SSL - my assumption would be that certificate and web client would need to be recreated if you are using SSL?

No, never tried SSL with Docker at all. But I'll find out

I have merged things manually (have changed the way you discover a hostname change as the publicwebbaseurl should be empty when WebClient is not deployed.


Inventor

This Plugin support Midea providers dongle
my dongle is : EU-ODZ104 (INV)
but the message ai log is [midea-air] getUserList invalid response
i have to sign up an midea app  or the api does not working for me

Your dongle is Tuya EU-ODZ104.
Do you use Midea app or Tuya app?
This plugin don't support Tuya dongles.

this dongle is inventror and i use inventror app. i can login midea app with the same passwords but in midea app i cant add my device, help me if you can. if i buy another dongle like beko or midea ?

You need to login Midea app and add your AC.


Z_DATA_ERROR on this site

I get Z_DATA_ERROR on this url when gzip is true: http://www.marketsnare.com/ .. so it seems compression related.
http://www.marketsnare.com/ { Error: incorrect header check
    at Zlib._handle.onerror (zlib.js:370:17) errno: -3, code: 'Z_DATA_ERROR' }

software
version

request
2.80.0

node
v6.10.3

npm
3.10.10

Operating System
Ubuntu 16.04

Also seems to happen with node-v8.1.4.

I suppose, this bug report should be made in here: https://github.com/nodejs/node/issues


Please tag a new release

Hi,
I just stumbled upon your tools and want to use it to replace a bash script to list available tags for a container on the Docker hub. When using the v0.16.0 release I always get the following error message:
reg tags kopano/kopano_core
invalid character '<' looking for beginning of value

When I do the same with the binary installed through go get I get the expected result. It seems to be this is because of https://github.com/genuinetools/reg/commit/067711f90e53f19e5fbf2f83fee300e93548d374.
Can you tag a new release?

<EMAIL_ADDRESS>seems already cached GOPROXY.
Please create tag v0.16.2.


Spring Autowire error when using the annotation eu.hinsch.spring.boot.actuator.metric.ExecutionMetric on methods of a bean

Hi,
when using the annotation on public methods of a bean, autowiring this bean into another bean fails...
@Service
public class Bean{

@ExecutionMetric(value = "dql-executeQuery")
public void doing(){

...
}
}

Stacktrace:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [xxx.Bean] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1373) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1119) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545) ~[spring-beans-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        ... 71 common frames omitted

Environment:
Spring Boot 1.3.1
Spring 4.2.4
Any ideas what is wrong here?

Ok, got it. the bean implements an interface and I had to put the annotations on the interface...
Do you have an explanation for this?

Hi,
this has to do with how spring AOP handles proxies that are needed to handle the aspects. By default, if a bean implements an interface jdk-proxies are created, where only interface methods are proxied. Without interfaces the more powerful CGLIB-proxies are created. In your case, the proxy only implements the interface and therefore is not an instance of the bean class itself and cannot be autowired. Moving the annotations to the interface method worked for me only so far as to make the autowired work, but the aspect is never executed.
What did work for me was to force spring to create CGLIB-proxies even for beans implementing an interface. Try something like this on a config class:
@EnableAspectJAutoProxy(proxyTargetClass=true)
@Configuration

Hope that clears the issue up.
Best regards
Lukas


watcher - deduplicate non-recursive file watch requests if possible

@sandy081 fyi this also makes it that file events end up in their on "File Watcher" log file and output channel and away from the default window logs. Something I think we had discussed in the past.


BackendRefs fixed in HTTPRoute conformance tests

What type of PR is this?

/kind bug
What this PR does / why we need it:
The GatewayWithAttachedRoutes and GatewayModifyListeners conformance tests specify invalid BackendRefs (likely copy-pasted from the examples). This PR fixes them and sets the correct BackendRefs
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

NONE

Thanks @mlavacca!
/lgtm
/approve


Added Nodejs Roadmap and content

Added Node js Roadmap with complete steps

Awesome work @Adam-pw
Loved the roadmap! Keep it up! :)


Simplify account in deletion requests

Readiness checklist

[ ] I added/updated tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.
[x] I self-reviewed the PR.

I fear we need to do a bunch of manual testing here.
Additionally this does NOT handle the logout when an identity is deleted, we have to do that afterwards.


Intersection of two direction given start points and bearings

Hello!
How to I can calculate intersection point of two line with point1, direction1 and point2, direction2
Thanks!

Hi @eov-oleg ,
This repository is PHP port from android-maps-utils repo.


Report comments via AST

[x] add comment ASTs to C API
[x] add comment ASTs to C++ API + tests
[x] add comment ASTs to Python API + tests
[x] it is unnecessary to extract comments in clingo mode
[x] do not print newline in astv2_str
[ ] think about option to ignore comment ASTs

@teiesti, could you have a look if this suits your application?

I am going to have a look.

I was able to make the following work on my machine which looks very promising.
>>> parse_string("%comment\nfact.", lambda ast: print(repr(ast)))
ast.Program(Location(begin=Position(filename='<string>', line=1, column=1), end=Position(filename='<string>', line=1, column=1)), 'base', [])
ast.Comment(Location(begin=Position(filename='<string>', line=1, column=1), end=Position(filename='<string>', line=1, column=9)), '%comment', 0)
ast.Rule(Location(begin=Position(filename='<string>', line=2, column=1), end=Position(filename='<string>', line=2, column=6)), ast.Literal(Location(begin=Position(filename='<string>', line=2, column=1), end=Position(filename='<string>', line=2, column=5)), 0, ast.SymbolicAtom(ast.Function(Location(begin=Position(filename='<string>', line=2, column=1), end=Position(filename='<string>', line=2, column=5)), 'fact', [], 0))), [])

I can't wait to see this being stabilized. Thanks for the effort!
Anyhow, I would like to see the pdoc documentation. Is there an easy way to generate it?
@susuhahnml You may also want to look through this!

@teiesti, @susuhahnml, this should be ready. You can already try using the development packages on ubuntu/anaconda/pypi test. -R


typing error in requirements

pineclone-client should be pinecone-client

fixed and merge in pull request.

Ffxed and merge with PR.


Module 1: Pop up window

Add pop-up window
Add HTML block with javascript to make it dynamic.
Add form email validation

@oluwatobi-fasasi,
This is a manual review
Approved :+1:
Cheers and Happy coding!:clap::clap::clap:

@oluwatobi-fasasi - kindly merge this PR, thank you.

Done
ᐧ
On Fri, Mar 31, 2023 at 6:14 AM Oluwaseun Bello @.***>
wrote:

@oluwatobi-fasasi https://github.com/oluwatobi-fasasi - kindly merge
this PR, thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/oluwatobi-fasasi/portfolio-new/pull/1#issuecomment-1491307875,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZONL6YPPPE5VXEOKGQJUZ3W6ZRZ7ANCNFSM6AAAAAAWI4QZ4M
.
You are receiving this because you were mentioned.Message ID:
@.***>


Export query for POST body

Added menu option to export query along with variables to clipboard. It could be used as a body of HTTP POST query.

Nice, thanks! 🍰


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

package.json

chore(engines): update<EMAIL_ADDRESS>from template

.travis.yml

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

Coverage remained the same at 90.756% when pulling f3cdb1c635244b9b6d6d2df1a20f8b4c696182b4 on template-sync-1 into 66a84725f1a820062f76be972065cd0a84984830 on master.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #176   +/-   ##
=======================================
  Coverage   90.54%   90.54%
=======================================
  Files           1        1
  Lines          74       74
=======================================
  Hits           67       67
  Misses          7        7

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 66a8472...f3cdb1c. Read the comment docs.


[POAE7-2718] Migrate MathOp tests to nextgen

What changes were proposed in this pull request?
support div zero&overflow error check for nextgen

Why are the changes needed?

Does this PR introduce any user-facing change?
exceptions will be thrown if any error is detected.

How was this patch tested?
tests/nextgen/functional/CiderMathOpNextgenTest.cpp

Which label does this PR belong to?

@yma11 @bigPYJ1151 @jikunshang Please take a review. Thank you!


txt2Al: Standard objects creating as objects and not extensions

Hi,
When i run the txt2al to convert the customer table where i have added a field it is creating a new al file with customer.al but it has object of table and not table extension.
Please suggest me if i am doing wrong.
Thanks,
Varun Reddy

Have you created a .delta file before running it through the txt2al tool?
The full process is:

Export the baseline using ExportToNewSyntax
Export the modified objects using ExportToNewSyntax
Create .delta files
Run txt2al converter

Hi,
Thanks for the response.
Can you please provide an sample commands to create a delta file or the process you told above.
Thanks in Advance

First: you need an original version.  So please make sure you always have the original objects of a certain database you're modifying.
next: you export both Original and MOdified objects
then, you use "Compare-NAVApplicationOBject" cmdlet in PowerShell to create our deltas..


In Windows it generates an empty file

Did a fresh install of Deno , ran the server locally - and getting only this empty file am I missing something here ?

Could you please retry using powershell rather than cmd?
Are you sure you don't have any file at ~/Desktop/out/*.postman_collection.json?

Yes Just tried with Power Shell and no luck, it just generates this empty localhost file.

Ok, I believe the issue might come from the parsing of the : in the file name. Could you try to expose your api on the default HTTPS port and retry (so you'd have an address without :)? Could you also run the example on the rick and morty API (see README), to confirm it's not a windows related issue? If confirmed it will be an easy parse fix. However, if not I cannot currently try it on a windows machine. Thanks :)

Yes indeed it's the : parsing thing, with out port number and :  it is working perfect, and thanks man it saved me bunch of time writing long ass queries :D

Glad it worked, will fix it today -> I'll add better parsing. My bad, this should have been working, but glad graphman helped you!


WIP: Remove edx.org theme from docs

Coverage remained the same at 88.321% when pulling 18f741cb54de2c21b97e039257c44e158a980616 on abutterworth/remove-theme-from-docs into 8176aec0184fd054cc1c909ffbfa38c6b656e026 on master.

:tada: This PR is included in version 12.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tasks.json loading .bashrc after executing task

OS: Win10 version 1709 build 16299.334
VS Code version: 1.21.1

The following tasks.json file has a weird behavior when run:
{
    "version": "2.0.0",
    // "_runner": "terminal",

    "tasks": [
        {

            "label": "Compile Markdown",
            "type": "shell",
            "command": "markdown-it $(winpath.sh $'${file}') -o $(winpath.sh $'${file}').html",
            "problemMatcher": [],
            "group": {
                "kind": "build",
                "isDefault": true
            },

            // https://github.com/Microsoft/vscode/issues/24967#issuecomment-310993869
            "options": {
	       "shell": {
   		   "executable": "bash.exe",
                   "args": ["-i", "-c"]
               }
            }
        }
    ]
}

Results in the following output:
> Executing task: markdown-it $(winpath.sh $'c:\Users\lfr\OneDrive\.lxhome\repos\cnet-akeneo\.vscode\tasks.json') -o $(winpath.sh $'c:\Users\lfr\OneDrive\.lxhome\repos\cnet-akeneo\.vscode\tasks.json').html <

/bin/bash: winpath.sh: command not found
/bin/bash: winpath.sh: command not found
.bashrc loaded

As you can see the .bashrc loaded line appears after the command output. This line is echoed from my .bashrc and I would expect it to be executed before everything else. If I execute a command directly in a cmd prompt I don't have the same result:

What could possibly be causing this behavior?

No, I don't, this is really strange, here's the output:

No, I don't see this, it's really strange, here's the output:

Is there anything special with winpath.sh

Not that I can tell, this is winpath:
https://gist.github.com/aseering/a06219e74c7f96ccea5ec65d5b2483b5

Do you see the same issue when you run the same command in the VS Code integrated terminal directly? ex: bash -i -c markdown-it...


[Fixed: Attribute's option sort issue for the configurable product.]

[Fixed: Attribute's option sort issue for the configurable product.]
https://prnt.sc/VnBWbTtu21h1

@vivek-webkul sir, it is working fine.


Rancher affinity label not deploying correctly

Describe your issue here
I am trying to schedule containers 1 per host, but I have to services that make up the stack. consul-masters at a scale of 3, and a global container consul-clients. I am trying to schedule the clients n all hosts that do not have a consul-masters container on them. Below are my docker/rancher-compose files:
version: '2'
services:
  consul-masters:
    image: dahendel/consul
    network_mode: host
    stdin_open: true
    tty: true
    environment:
      - SERVER=true
    expose:
      - "8301"
      - "8500"
    links:
      - "consul-masters:consul-masters"
    labels:
      io.rancher.container.dns: 'true'
      io.rancher.container.hostname_override: container_name
      io.rancher.container.pull_image: always
      io.rancher.container.system: 'true'
      io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack.name=consul

  consul-clients:
    image: dahendel/consul
    network_mode: host
    stdin_open: true
    tty: true
    depends_on:
      - consul-masters
    links:
      - "consul-masters:consul-masters"
    expose:
      - "8500"
      - "8301"
    labels:
      io.rancher.container.dns: 'true'
      io.rancher.scheduler.global: 'true'
      io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack.name=consul
      io.rancher.container.hostname_override: container_name
      io.rancher.container.pull_image: always
      io.rancher.container.system: 'true'

Rancher compose:
version: '2'

services:
  consul-clients:
    start_on_create: true

  consul-masters:
    scale: 3
    start_on_create: true

The consul-masters deploy correctly however the io.rancher.scheduler.global: 'true' label on the consul-clients containers overrides the scheduler affinity and still deploys the client containers on hosts with consul-masters. If I deploy without the global label It deploys correctly if I set the scale to n - hostsWithoutMasters, but once the scale is bigger than the number of hosts without consul-masters it still deploys to the hosts with master containers.
Deployed Services

Verified the scheduler labels were applied

I know I can solve this problem with just adding host labels, but I am wanting to make this an infrastructure app for a environment template.

Useful
Info

Versions
Rancher v1.5.6 Cattle: v0.178.4 UI: v1.5.9

Access
Disabled

Orchestration
Cattle

Route
hosts.index

Yep, with  io.rancher.scheduler.global: 'true' all other scheduling rules are ignored. It'd be nice if one could mark services as global while still making them ignore some hosts (using Require Container Label for example).

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


introduce additional_args where possible in the config

Many recent changes in the config.yaml have introduced a few different designs when it comes to implicit vs explicit arguments.
serving opted for a more implicit approach with vllm_args being an empty list.
training opted for the verbose approach where every option lives in the config.yaml.
additional_arguments aims to unify the design of the config. Where possible, place commonly edited and/or useful config entries into the respective classes, allowing users to view and edit the properties.
However, for more obscure or less commonly edited values, use additional_arguments a dictionary containing the option names and values for these additional properties.
As an initial pass I reorganized parts of the vllm serve config, adding some new options I think would be useful.
For training, I removed torch_args and train_args instead opting for a flat config entry. The rest of the arguments will live in additional_args.
I will work with @RobotSail primarily from training to figure out the best way to map these flat config options to their respective training library options.
I will work with @alimaredia from serving to figure out the right structure for that config.
@alinaryan I'd like to chat with you about how you think this structure would fit into the current eval command.
Having a unified design for the config is crucial as we add more commands, flags, and functionality to ilab. Already, our functionality is faltering due to unsafe defaults and unsafe handling of the existing config, normalizing the structure is a great first step.
These additional_arguments can also be viewed as "expert options". This structure is a precursor to ilab profiles which will enable pre-baked configurations that allow users to run commands with minimal flags at different fidelity levels.

I need to edit a lot of functionality here. Training currently doesn't ingest the additional_args properly nor does serving because it used to be a list of strings.
Please allow this PR to settle before giving intensive reviews, but feel free to take a look at the general idea outlined in the description

@cdoern Could you give an example of how the config will look before and after additional_args?
Here's an example of what the serve config will look like at the end of the week if all of the PRs in flight get merged. I've provided some config parameters only an advanced user might want to configure:
serve:
  backend: vllm
  host_port: <IP_ADDRESS>:8000
  model_path: models/merlinite-7b-lab-Q4_K_M.gguf
  chat_template: templates/merlinite_template.jinja2 # an advanced user might configure this
  llama_cpp:
    gpu_layers: -1 # an advanced user might configure this
    llm_family: ''
    max_ctx_size: 4096
  vllm:
    vllm_args: []
    background: false # an advanced user might configure this
    gpus: 4
    startup_timeout: 300 # an advanced user might configure this
    shutdown_timeout: 60 # an advanced user might configure this

lets at least try to get in #1653 as a subset of this

Moving to .19 Milestone since this shouldn't be GA blocker, but @cdoern pls lmk otherwise

@cdoern can we close this?


Enable / disable update lottery system

One person a week per group will get picked to post an update for Friday
/enablelottery

/disablelottery

Maybe enable / disable command per the group you're in? That way you can pick which groups should get the lottery and which ones get the daily update, rather than an all or nothing setting

Optionally add a UI enhancement to show which groups you're in are part of the lottery

How is this different than just posting an update on Friday?

One group, perhaps where you work, wants an update every day
Another group, perhaps your friends group, agreed to just do lottery system where only one person is posting an update, which might not necessarily be yourself

This feature should also randomly pick the person in the group. That way the group isn't arguing on who to pick
Have to make sure the picker is "smart"

its 24/7 lottery now


'Download' doesn't install missing extensions

Steps to reproduce:

Have a couple of extensions.
Upload settings to Gist.
Uninstall one of the extensions.
Invoke the Sync: Download Settings command.

I'd expected that the missing extension would be installed. Instead, I see this in the status bar:

Sync: You already have the latest version of saved settings.

For now, i suggest you to enable Force Download.
Thats an improvement we need to look into.

Could that be a command instead of a config? It's a one-off thing for me (similarly to git push --force – I need a command / flag for it, not a config option). But that's probably off-topic, thanks for the suggestion!


Copy mod-globus's session params from OIDCAuthRequestParams.

I tried to decorate the patch'ed function just a bit so that porting diffs later will hopefully be a little easier to follow.

I need to bump the version


Substr search

https://github.com/adsharma/py2many/blob/8ef607d/tests/test_unsupported.py#L66 should be fixed...?

Would be great if you could get https://github.com/adsharma/py2many/pull/265 in first


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


Added retries support

Hi @wr3nch0x1. Thanks so much for taking the time to make that change, but I am going to make a change to use a HTTP Adaptor for the connection which would take care of retries with back off factor. Thank you


Added azlen.me

Webring icon is with other social media icons below my logo on the front page.
I am planning on also incorporating it into a footer so that it may appear on all pages and on mobile.

@azlen I wrote an email to the contact address you provided and it is not existing. Could you please include an address where we can contact you?

@kodedninja Thanks for the heads up, I had thought my email server had a catch-all route. Anyway, I have added the address now so it should work properly.

@azlen are you able to fix the merge conflict, and then we should be good to go!

Welcome to the ring!

Hey @azlen it looks like there is a CORS issue with trying to fetch your ndtl file for the wiki. You can find some info on the README on how to possibly fix it.


allow decoding to u32

Fixes https://github.com/libjxl/libjxl/issues/1116
For some reason, the decode api didn't allow decoding to UINT32, while it actually works fine as far as I can tell (besides the fact that only the 24 msb will be useful, given that everything goes through float32 internally). Only the test_utils.h code for testing UINT32 decoding had some bugs, fixed those.

An alternative solution is to deprecate UINT32 pixelformats, since the use case for it is not very clear, also considering that jxl does not actually support lossless uint32 encoding.

Opinions please: the options are "implement uint32 in the api" or "deprecate uint32 in the api".
I don't have a strong preference myself: keeping it could be nice for applications that don't want to deal with float, or for a future where we no longer necessarily convert modular to float before returning it, so we could support up to 31-bit integer (which fits in uint32 but not in float32). Deprecating it is currently no big loss since float32 is available as an alternative and is what is used internally anyway, and it is confusing to have a uint32 pixel_format when the bitstream itself doesn't actually support uint32 samples.

(pinging @jyrkialakuijala @veluca93  @sboukortt @eustas @mo271 @fischbacher for opinions on this)

Just for reference, here is what openjpeg states for 32bits input:
% opj_decompress -i input32.j2k -o output.pgx

[INFO] Start to read j2k main header (0).
[ERROR] Invalid values for comp = 0 : prec=32 (should be between 1 and 38 according to the JPEG2000 norm. OpenJpeg only supports up to 31)
[ERROR] Marker handler function failed to read the marker segment
ERROR -> opj_decompress: failed to read the header

Closing in favor of https://github.com/libjxl/libjxl/pull/1337


bugfix: rootless container provider not available on macOS

Allows rootless container provider on macOS.

Hi, thanks for your contribution. Can you elaborate more on this change, please? Testcontainers provides a strategy to look at Docker Desktop rootless.

Hi, thanks for your contribution. Can you elaborate more on this change, please? Testcontainers provides a strategy to look at Docker Desktop rootless. See https://github.com/testcontainers/testcontainers-java/blob/main/core/src/main/java/org/testcontainers/dockerclient/DockerDesktopClientProviderStrategy.java#L14-L25

This change enables macOS users to use the RootlessDockerClientProviderStrategy just as Linux users can, by using a Unix socket.

This change enables macOS users to use the RootlessDockerClientProviderStrategy just as Linux users can, by using a Unix socket.

This is what I understand by looking at the changes. However, would be helpful is you can link to some documentation in order to make sure this is really the change to do or if requires something else.

I was able to make this change from a Clojure REPL via reflection, and that enabled the RootlessDockerClientProviderStrategy to work with no other changes.
Honestly I don't know why macOS was overlooked for this strategy when the UnixSocketClientProviderStrategy has macOS enabled: https://github.com/testcontainers/testcontainers-java/blob/main/core/src/main/java/org/testcontainers/dockerclient/UnixSocketClientProviderStrategy.java#L47

That doesn't answer the question. I have installed Docker Desktop and when I look at ~/.docker/run/ is empty. I don't think there is a path for /run/user/ neither. Have you made a special installation of Docker Desktop or another container runtime that uses that location? I'm trying to get more context.

No, it's a standard docker install, but not docker desktop, as that is a commercial product and can't be used. I use Colima for the docker machine.
brew install docker docker-credential-helper colima
colima start
colima stop

then edit ~/.docker/config.json to set the context to "colima" and the credsStore to "osxkeychain". If you wanna use macOS virtualization+virtiofs instead of qemu+sshfs edit ~/.colima/colima.yaml and rm -rf ~/.colima/_lima/colima.
From then on, you can just do colima start and use docker as normal (from the cli).

Thanks for sharing, don't you need to follow these steps? I tried without removing rm -rf ~/.colima/_lima/colima but TBH, looks like the simple change will not cause effect to make it work with colima automatically. Currently, I would jus follow the instructions for a colima integration. LMK if I missing something

The question becomes, why the disparity between UnixSocketClientProvider and RootlessDockerClientProvider?

Every strategy look for specific paths or configurations that can be achieved only in specific OS and those are not mixed. Follow #9140, this will solve your issue by reading the docker context once is merged.


Tealium

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Test URLs:

Before: https://main--basf-retailfirst--hlxsites.hlx.page/
After: https://tealium--basf-retailfirst--hlxsites.hlx.live/

It should be noted that the tags are being accessed via JQuery on your Tealium config and should be changed. I would not advise using JQ. I can assist if needed.


Seek for cooperation and solution sharing

I have been researching in automotive computers for years.
Topics that you might be interested in that I have dug into:

Free Energy Principle & Active Inference
LLM Robotics
Q-Star Learning
RT-2 & RT-X dataset
Crop & Zoom Based Attention
Recursive Positional Encoding
Dynamic Reservoir Computing
Automotive Learning Rate
Hardware Mouse/Keyboard Control
Physical Robot Based HID Control
Bit-level Autoregressive Transformer
Browser-based AI Playground
Containerized Console and GUI AI Playground

I have dedicated repositories that you may be interested into:

agi-computer-control: automotive computer, which can see, hear and operate
metalazero: multi-platform computer automation attempts

Other similar projects that I am monitoring:

GPT-4V-Act
SingularGPT
gpt-eyes
gpt4v-browsing
self-operating-computer

Apologize for my unorganized code structure. I am trying to improve development experience by AI generated documentation & usage demonstration and client-side LLM & semantic search, which may solve this long-standing task among all my previous repositories.

Hi @James4Ever0, thanks for sharing the resources. I wanted to link to our discord in case you want to share there as well. I'll close this issue for now. Thanks again!


Support "else X" for block helpers

In the JS library you can chain else with any block helper - not just if and unless.
I'm currently using else with a custom helper that does Regex matching:
{{#match cultureCode "^de\b"}}
...
{{else match cultureCode "^it\b"}}
...

This example can be worked around easily by changing the helper and switching to sub-expressions ({{#if (match ...)}}), but this is something that works in the JS library.
It would be nice if it allowed if, each and unless to be defined as regular helpers.
I created a solution for this (before I realised else if was supported) that expanded {{#A}}{{else B}}{{/A}} into {{#A}}{{else}}{{#B}}{{/B}}{{/A}}. Looking at the existing code it seems like combining the ConditionalBlockAccumulatorContext and BlockHelperAccumulatorContext would be a better approach.

The readme seems to showcase this as doable. What am I missing? See here:
{{StringEqualityBlockHelper @value 'dog'}}is a dog{{else}}is not a dog{{/StringEqualityBlockHelper}}

@sferencik Readme misses # before block helper call. Valid example:
{{#each this}}
   The animal, {{@key}}, {{#StringEqualityBlockHelper @value 'dog'}}is a dog{{else}}is not a dog{{/StringEqualityBlockHelper}}.\r\n
{{/each}}

So you're saying it's an issue with the documentation (readme) but the feature exists?

So you're saying it's an issue with the documentation (readme) but the feature exists?

It depends what feature you’re referring to. If you’re talking about behavior from Readme and your example - yes, it’s implemented. It you’re talking about the subject of the Github issue - no, it’s not implemented yet.

Oh, I get it. This is about a kind-of "else if" behaviour: {{else CONDITION}}.

#358 fixes the readme.


Jsonselection

added selection to JSON command, please review

Instead of using linesFromRangesExpandBlockIfEmpty to get all line selections.
Let's just get the text of the primary selection only.
You can do that with document.getText()
Also, from extension.js just pass in the first selection as that will be all that is needed


Tools and 2 stored procedures

Fixes https://microsofthealth.visualstudio.com/Health/_workitems/edit/109601/
Adds 3 tools: BlobRewriter, SqlScriptRunner, PerfTester

/azp run

/azp run


Parse multiple links at subpage

Hello,
I was doing some custom providers and faced this: many websites have multiple magnets at the subpage, often one link for each resolution (1080, 4k, ...)
AFAK, burst.py gets the first matched url (method extract_from_page, line 562). Any chance of add option to return a list of magnets from the subpage?

@elgatito what do you think about this?
it looks like many/most Brazilian torrent trackers are not "real" trackers but are simple blogs that post links to torrents.
i guess such sites are more friendly to non-technical users, but they are very horrible for machine parsing.
we can return all links, but then - how to identify what each link represents? we need to know resolution, size, seeds/peers, etc.
just curious if you already thought about this.


[Decompiler] add IR2 register usage pass

Pull Request Test Coverage Report for Build 481537571

0 of 128 (0.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 57.653%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

decompiler/IR2/reg_usage.h
0
1
0.0%

decompiler/ObjectFile/ObjectFileDB_IR2.cpp
0
23
0.0%

decompiler/IR2/reg_usage.cpp
0
104
0.0%

Files with Coverage Reduction
New Missed Lines
%

decompiler/IR2/AtomicOpTypeAnalysis.cpp
1
0%

Totals

Change from base Build 476518949:
-0.2%

Covered Lines:
21765

Relevant Lines:
37752

💛  - Coveralls

Pull Request Test Coverage Report for Build 481537571

0 of 128 (0.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 57.653%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

decompiler/IR2/reg_usage.h
0
1
0.0%

decompiler/ObjectFile/ObjectFileDB_IR2.cpp
0
23
0.0%

decompiler/IR2/reg_usage.cpp
0
104
0.0%

Files with Coverage Reduction
New Missed Lines
%

decompiler/IR2/AtomicOpTypeAnalysis.cpp
1
0%

Totals

Change from base Build 476518949:
-0.2%

Covered Lines:
21765

Relevant Lines:
37752

💛  - Coveralls