Create DBeaver distribtuion without bundled Java

It may be helpful for users whi have some specific Java configuration (certificates, security policies, etc).
We need Linux distribtuion first.

-nojdk- package added for Linux.
In Windows installer new checkbox "Include Java" was added

-nojdk- package added for Linux.
In Windows installer new checkbox "Include Java" was added

verified

can't use deb file for nojdk? nojdk only available as tar.gz?


Ctrl+A not working in Search field

What version of Music Assistant has the issue?
2.2.2
What version of the Home Assistant Integration have you got installed?

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When I searched for something in Music Assistant and want to clear the search field to search for a new album/artist I normally hit Ctrl+A to select all and start typing to replace the text. Ctrl+A is only working on the global Search page, but on every other page (Artists, Albums, Tracks, Playlists, Radio, Browse) Ctrl+A is not working. I need to hit shift+home to replace the text.
How to reproduce
Go to the Tracks page, open the search field, type something and try to select all text by using ctrl+A on a Windows machine.
Music Providers

Player Providers

Full log output

Additional information
Ctrl+A is working on the global search page
What version of Home Assistant Core are your running
2024.8.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

This is because CTRL-A is use for selecting the items list. We will look at this sometime in the future but it is low priority


Assertion hit by Node.js test

Version: 1.44.2
Platform: macOS 11, x64

I just found this by looking at a Node.js test run in Jenkins.
I can try to reproduce it on the test machine if needed.
04:42:11 not ok 3629 pummel/test-net-bytes-per-incoming-chunk-overhead
04:42:11   ---
04:42:11   duration_ms: 36582.18800
04:42:11   severity: crashed
04:42:11   exitcode: -6
04:42:11   stack: |-
04:42:11     Assertion failed: (timeout != -1), function uv__io_poll, file kqueue.c, line 257.
04:42:11   ...

https://github.com/nodejs/node/blob/8b66dc6ea979eca31e020c9385756c7be1be3e52/deps/uv/src/unix/kqueue.c#L257
Refs: https://ci.nodejs.org/job/node-test-commit-osx/51946/nodes=osx11-x64/

See nodejs/node#47241 - tl;dr known issue, already fixed. Not released yet but see #3887.


About the showLength and loop problem

When I setting the showLength number equal to data length, the view of first card will disappear in mode "horizontal-stack" or "vertical-stack". The problem just happen in loop = true , showLength number and data length greater than or equal to 3. Example code:
const data = [{ id: '1' }, { id: '2' }, { id: '3' }];

 <Carousel
          data={data}
          width={500}
          height={400}
          loop={true}
          mode="horizontal-stack"
          modeConfig={{
            showLength: 3,
            scaleInterval: 0.2,
            stackInterval: 50,
            opacityInterval: 0.2,
          }}
          renderItem={({ item }) => (
            <View
              style={{
                borderWidth: 1,
                width: 300,
                height: 200,
              }}
            >
              <Text>{item.id}</Text>
            </View>
          )}
        />

Is it possible that I can show 3 card when I get 3 object in looping?

any update?

Hi everyone, the problem stil seems to be present.
@adwqqf did you solve it?
@dohooo any news?
thanks

having Warning: TypeError: Cannot set property 'showLength' of undefined


Noob issue: Undefined constant or missing '(' in 'auto'

Hey there - just getting started with this tool, looks promising, I'm hoping to convert my library to something the RPI can stream with Plex without transcoding.
I spent the last two days getting FFmpeg to compile properly on my RPi3B+ running Jessie - backing out Debian codec packages and compiling more current ones etc - and now I am finally trying to run manual.py.
With the initial command line of:
python manual.py -i /mnt/sda/movies/The.LEGO.Ninjago.Movie.2017.RERIP.720p.BluRay.x264-GECKOS.mkv -imdb tt3014284
I get a traceback:
Starting conversion.
[          ] 0%Error converting file, FFMPEG error.
Traceback (most recent call last):
  File "/opt/sickbeard_mp4_automator/mkvtomp4.py", line 747, in convert
    for timecode in conv:
  File "/opt/sickbeard_mp4_automator/converter/__init__.py", line 243, in convert
    timeout=timeout, preopts=preopts, postopts=postopts):
  File "/opt/sickbeard_mp4_automator/converter/ffmpeg.py", line 553, in convert
    total_output, pid=p.pid)
FFMpegConvertError: <FFMpegConvertError error="Exited with code 1", pid=19948, cmd="/usr/local/bin/ffmpeg -i /mnt/sda/movies/The.LEGO.Ninjago.Movie.2017.RERIP.720p.BluRay.x264-GECKOS.mkv -vcodec libx264 -map 0:0 -vb 1500k -level 4.2 -c:a:0 aac -map 0:1 -disposition:a:0 default -ac:a:0 2 -b:a:0 256k -filter:a:0 true -metadata:s:a:0 language=eng -strict experimental -c:a:1 aac -map 0:1 -disposition:a:1 none -ac:a:1 6 -b:a:1 960k -metadata:s:a:1 language=eng -strict experimental -f mov -threads auto -y /mnt/sda/converted_movies/The.LEGO.Ninjago.Movie.2017.RERIP.720p.BluRay.x264-GECKOS.mp4">

And then this error:
Press [q] to stop, [?] for help
[AVFilterGraph @ 0x2395b60] [Eval @ 0x7edfb10c] Undefined constant or missing '(' in 'auto'
[AVFilterGraph @ 0x2395b60] Unable to parse option value "auto"
[AVFilterGraph @ 0x2395b60] No such filter: 'true'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1
Conversion failed!

Full output here.
Any thoughts?

Can you post your autoProcess.ini file?

Absolutely... Thanks

Looks like you inadvertently set your ios-audio-filter to True which isn't a valid audio filter. Just leave that blank or set it to a specific filter you desire

Aha! I have no idea why I put that there.
Looks like it's running full-bore now... Thanks!


docker+GitHub: add production Dockerfile and build automatically on tag push

We add a new production Dockerfile and a GitHub workflow that is triggered whenever a new version tag is
pushed. It will trigger a docker image build for that version and automatically push it to the specified repo.
For this to work, the GitHub repository needs the following two secrets to be configured:
DOCKER_USERNAME: <the user to log into Docker Hub>
DOCKER_API_KEY: <an API key generated by Docker Hub for the above user>

Thank you very much for testing and the feedback you provided!

If someone pulls the repo, I would assume that they want the docker image to use the local source files versioned at the commit they pulled. If we force them to specify -f Dockerfile.dev, it adds a bit of friction.
The Dockerfile that is used for the GitHub Action build and push to DockerHub is something no dev is likely to use, so I think it would be better to have the friction there in the automated workflow, since you just set it once and forget it.

We discussed this offline. The goal is to align the naming of the Dockerfile/dev.Dockerfile with how they're now named in lnd. I added a section to the compile.md that mentions the difference between the two.

The checkout build arg is only going to work with future tags. When I use the current v0.3.1-alpha tag or prior ones, the docker build fails with the error: make: *** No rule to make target 'go-install-cli'.  Stop.

Yes, that's an unfortunate side effect of pulling the source from git. It will indeed not be possible to build older versions than the upcoming v0.3.2-alpha. But I think that is okay as that will also be the first version with an official Lightning Labs provided image.
To nevertheless test the production build, you can run docker build -t prod-litd --build-arg checkout=prod-docker-file to try with the current branch of this PR (which is pushed to upstream).


Add robustness to reading Steam manifest files

Apparently Steam is known to corrupt its own appmanifest
files.  This will make the plugin skip any outright unreadable
files.
This is flagged WIP as I have done zero testing.  Haven't even launched MO with this file yet.

Verified behavior with MO2 so should be good to go

Verified behavior with MO2 so should be good to go


Create UI for gravity game

Currently there is universe.py in which you can add the planets which will then react to gravitational physics. But the game currently has no UI to add planets and configure their starting speeds.

please assign me this issue


[Bug]: The error message is not useful when the project name is modified repeatedly

ODC version
odc423
OB version
not related
What happened?
The error message is not useful when the project name is modified repeatedly

What did you expect to happen?
Give helpful hints, such as that 'the project name already exists and cannot be changedGive helpful hints'
How can we reproduce it (as minimally and precisely as possible)?
Archive project A, and then change the project name of existing project B to the name of archived project A
Anything else we need to know?
No response

When editing a project, only the description information is modified without changing the name. It prompts "Project named qym already exists, please modify and try again". This bug is reopened and a new bug needs to be submitted. After the new bug is verified, verify whether the "Access Metadatabase Error" is still reported.

pass

pass


fixed black background of transparent png thumbnail for older gd version

fixes #236

I really appreciate your work on this. I suggested a couple of minor corrections to the code (the project doesn't have a linter config yet).
Since I have to maintain this longterm, I'd really like to see some comments detailing the new conditionals. For example, why do we check for GD_BUNDLE? And why do we care how many bits an image uses?
Feel free to be verbose if you need to explain it better (links are OK but could break in the future). This will ensure future PRs don't undo your work and help all maintainers understand what's going on.
Thanks again!

I did the cleanup and added some comments. I can't explain everything. Understanding all these gd functions would require a much bigger test setup with single functions and tons of test images. But I hope, I explained it good enough.
There was another stupid, but small bug in my code:
imagescale($this->image, $width, $height); must be $this->image = imagescale($this->image, $width, $height);
In the screenshots the jpeg files didn't resize anymore. Now it's fixed.
I moved the part for the rotate function into a new branch. I'm close... but some images work, others are half-filled with artefacts... I won't repair this function. If I ever want to rotate transparent gif files with PHP in non 90° steps, I'll have a look at ImageMagick or I'll simply use CSS to rotate these damn things in the browser.

Don't merge it. I found some more issues. My current fix loses transparency in black image parts of gifs.

@raffaelj no news about your PR? Thanks

@adaniello Sorry, I gave up on this. It took me ages to understand the most things and each approach broke another thing. This was my conclusion:
https://github.com/claviska/SimpleImage/issues/236#issuecomment-443920493
And a quote from claviska:

GD can definitely be very frustrating, which is why I wrote SimpleImage in the first place. This issue, however, has proven impossible to perfect — thanks for trying and sharing your experience!

However, I am using my modified fork on some production setups and it seems to work as long as you don't try to apply filters on transparent images. This is an example, how I used the modified version in Cockpit CMS:
https://github.com/raffaelj/cockpit_SimpleImageFixBlackBackgrounds

@raffaelj Thanks for your feedback and your time

Closing due to lack of activity.


Make base classes independent from a generics parameter of |ValueLocator|. (#19)

@muga After some thoughts, trying to make the base classes independent from the generics parameter of ValueLocator.
Although it introduces a little bit "dirty-typing" point to implement a ServiceRecord, it has a couple of benefits like:

Developers (users of this library) need to take care of less complicated generics parameters.
The library can handle a kind of REST services which returns different content types per endpoint. (See #19)

Note that simple developers (just users of this library) do not need to handle the "dirty-typing". Only those who extend this library (e.g. extend for XML) need to care.

Rebased due to conflicts with #17 merged.

Filed #22 for the name PageLoadable.

Filed #23 for how to call ValueLocator

Merged


EF7?

Any plans to support EF7?

Yep. I'll create a new repo for it though, similar to how EF6 and 7 are separate.

Awesome! Looking forward.
Thanks!

So where are you at on ef7 support?

Well, no repo yet :)

@jbogard, I'm guessing hazzik/DelegateDecompiler#66 is what we're waiting on to get this going for EF7?


A possible mistake in QRPolynomial

https://github.com/kazuhikoarase/qrcode-generator/blob/3c72b1bba306782624d1266e3fe76203de7e11c4/php/qrcode.php#L1572
Do you think this i should be $i?

Hi,
You are correct. I fixed it and commited.
Thanks a lot.


View Raw request and response

In addition to the tabs and sections in the restclient.html page that show you the Request Method, Body and Response Headers, Body (Raw), Body (Highlight) and Body (Preview) it would be helpful to be able to see the full Raw request and full Raw Response and have easy 'Copy to Clipboard' functionality. This would be especially helpful when comparing requests and responses.

I fully support this request for a "copy to clipboard", especially on the raw output. Long output XML's are a struggle to "select all".

+1 on this one.


[Event Request] Page 232 Apply Customer Entries OnApplyCustomerEntriesOnNextRecord

Please Add an Event OnApplyCustomerEntriesOnNextRecord in Page 232 Apply Customer Entries
trigger OnNextRecord(Steps: Integer): Integer
    var
        NextStep: Integer;
        IsHandled: Boolean;
    begin
        OnApplyCustomerEntriesOnNextRecord(Rec, Steps, NextStep, IsHandled);
        if IsHandled then
            exit(NextStep);
        exit(Steps);
    end;

[IntegrationEvent(true, false)]
    local procedure OnApplyCustomerEntriesOnNextRecord(CustLedgerEntry: Record "Cust. Ledger Entry"; Steps: Integer; var NextStep: Integer; var IsHandled: Boolean)
    begin
    end;

Thank You!

We cannot add an empty trigger, since in will break default behavior of this page, so we cannot add such event

Please Check the Code. It won't break anything. You already did that in page 554 "Analysis by Dimensions"

Ok I will check these 4 again

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fixed duplicate state "Allergic_Rhinitis_Symptom4_Ends"

Fix to Issue #370

@jeffeastman It looks like the change you made is different than your suggested change in #370... Was that intentional?

Yikes, no! Just to that one Allergic Rhinitis module. Maybe I forgot to pull master before creating that patch ? I'm going to delete this and I'll try again.

Trying again...


Update nan version.

This will fix build for node 6.1.

Coverage remained the same at 98.311% when pulling 61bb4ede9372256b8e6b4bd40890798109655f13 on blackbeam:master into de12601c9ddb2f067461ccb37ac656cc4ae73918 on EyalAr:master.

Given the length between updates on this library, this might be better solved by #250 for the subtle variation in npm versioning: ^2.3.2 will match all 2.x releases whereas ~2.3.2 will match only the 2.3 releases.

Thanks @blackbeam. Closing in favor of #250.


Need a category attribute

The category attribute is missing on the Torrent object. Adding a category attribute would be great. Nice work :)
Eg:
>> torrent = t.search('GTA V')
>> torrent[0].category
'games'

Added :)


ping not working

Hi,
Was trying out this plugin , my ansible command works but my test fails with Error 'AnsibleHostUnreachable: Host unreachable'
ansible -i hosts all -m ping -u <user_name> works
def test_ping(ansible_module):
    contacted = ansible_module.ping()
    for (host, result) in contacted.items():
        assert 'ping' in result, \
            "Failure on host:%s" % host
        assert result['ping'] == 'pong', \
            "Unexpected ping response: %s" % result['ping']

The above always fails , help appreciated

@dotIN Thanks for the report!  Can you include the py.test command-line and the traceback as well?

Ansible CLI
ansible -i hosts all -u vagrant -m ping
<IP_ADDRESS> | success >> {
"changed": false,
"ping": "pong"
}
py.test --ansible-host-pattern local --ansible-inventory hosts  --ansible-user vagrant test_ping.py
========================================================================================== test session starts ===========================================================================================
platform darwin -- Python 2.7.6 -- py-1.4.26 -- pytest-2.7.0
rootdir: /Users/py_test, inifile:
plugins: ansible
collected 1 items
test_ping.py F
================================================================================================ FAILURES ================================================================================================
_______________________________________________________________________________________________ test_ping ________________________________________________________________________________________________
ansible_module = <pytest_ansible.plugin.AnsibleModule object at 0x1028395d0>
def test_ping(ansible_module):

  contacted = ansible_module.ping()

test_ping.py:2:

self = <pytest_ansible.plugin.AnsibleModule object at 0x1028395d0>, args = (), kwargs = {'become': False, 'become_method': 'sudo', 'become_user': 'root', 'complex_args': {}, ...}, module_args = ''
hosts = ['<IP_ADDRESS>'], runner = <ansible.runner.Runner object at 0x102839950>
results = {'contacted': {}, 'dark': {'<IP_ADDRESS>': {'failed': True, 'msg': 'SSH Error: Permission denied (publickey,gssapi-ke...It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.'}}}
def __run(self, *args, **kwargs):
    '''
        The API provided by ansible is not intended as a public API.
        '''

    # Assemble module argument string
    module_args = list()
    if args:
        module_args += list(args)
    module_args = ' '.join(module_args)

    # Assert hosts matching the provided pattern exist
    hosts = self.inventory_manager.list_hosts(self.pattern)
    if len(hosts) == 0:
        raise AnsibleNoHostsMatch("No hosts match:'%s'" % self.pattern)

    # Log the module and parameters
    log.debug("[%s] %s: %s, %s" % (self.pattern, self.module_name, module_args, kwargs))

    # Build module runner object
    kwargs = dict(
        inventory=self.inventory_manager,
        pattern=self.pattern,
        module_name=self.module_name,
        module_args=module_args,
        complex_args=kwargs,
        transport=self.options.get('connection'),
    )

    # Handle >= 1.9.0 options
    if has_ansible_become:
        kwargs.update(dict(
            become=self.options.get('become'),
            become_method=self.options.get('become_method'),
            become_user=self.options.get('become_user'),)
        )
    else:
        kwargs.update(dict(
            sudo=self.options.get('sudo'),
            sudo_user=self.options.get('sudo_user'),)
        )

    runner = ansible.runner.Runner(**kwargs)

    # Run the module
    results = runner.run()

    # FIXME - improve result output logging
    log.debug(results)

    # FIXME - should command failures raise an exception, or return?
    # If we choose to raise, callers will need to adapt accordingly
    # Catch any failures in the response
    # for host in results['contacted'].values():
    #     if 'failed' in host or host.get('rc', 0) != 0:
    #         raise Exception("Command failed: %s" % self.module_name, results)

    # Raise exception if host(s) unreachable
    # FIXME - if multiple hosts were involved, should an exception be raised?
    if results['dark']:

      raise AnsibleHostUnreachable("Host unreachable", dark=results['dark'], contacted=results['contacted'])

E           AnsibleHostUnreachable: Host unreachable
n_py_test/lib/python2.7/site-packages/pytest_ansible/plugin.py:204: AnsibleHostUnreachable
======================================================================================== 1 failed in 0.12 seconds ========================================================================================

@dotIN can you share your inventory file please?  The ansible command you posted uses different parameters than the py.test command you've run.
For example, you are calling ansible using the host pattern all.  However, the py.test command is restricted to local.  Without access to your inventory file, it's unclear whether you have an inventory host named local.

cat hosts
[local]
<IP_ADDRESS>

I'm unable to reproduce the problem with the provided information.  The traceback provided is from ansible itself, not from the plugin code.  The traceback tells us ...
results = {'contacted': {}, 'dark': {'<IP_ADDRESS>': {'failed': True, 'msg': 'SSH Error: Permission denied (publickey,gssapi-ke...It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.'}}}

This means that ansible failed to connect to the host.  If you're interested in helping to debug further, you could modify the file pytest_ansible/plugin.py and uncomment the line:
ansible.utils.VERBOSITY = 4

This will increase the ansible debugging level and offer more detail as to why ssh is failing to connect.  Thanks!

pytest-ansible-1.2.5 was just released.  It includes a fix for this issue, please retest and let me know if the problem remains.  Thanks!


Changed toggle buttons to match app styles

Made some tweaks to toggle buttons to match what Chris did for the onboarding flow (see the attached screenshot)

manually applied changes


chore: bump to v0.22.0

Bumps repo to 0.22.0, also ran cargo update as this is a major.

Strange that one test is failing now. Perhaps something that changed in the lock file is causing it?

blocked by #604


Pre-compiled binaries and release?

Would you be interested in creating releases and pre-compiled binaries attached to the releases? Thanks!
I'm willing to help.

I have set up releases with binaries.


Food Chain: Test JSON created

Attempt to fix exercism/todo#91.
As noted in the JSON itself, half the languages that implement this exercise test a verse method while the other half only test for the full song.
I decided to split the difference by putting both the verses and the full song in the JSON. If an exercise only wants the full song, its generator can just grab the full song test data, ignore the start/end verse, and get down to business.

Also, I added a space to an atbash JSON for @yurrriq (exercism/todo#145).

Tweaked the documentation. Really shouldn't submit pull requests when half-asleep.

Would you mind putting the atbash thing in a different PR? Things get a bit wild in here when we mix things up.
Other than that, this looks great. Good call on having both the song and the verse--each track can use what they like.

Would you mind putting the atbash thing in a different PR? Things get a bit wild in here when we mix things up.

No problem. I'll juggle stuff around and get it back to you.

thanks!

atbash change is gone

Thank you!


Update of script fails with code errors

Update of script fails with code errors. Seems like the chmod für CHANGES.txt wasn't updated to the new name and some trouble with closing fi
chmod: cannot access '/volume1/admin/Synology_HDD_db/CHANGES.txt': No such file or directory
ERROR Failed to set permissions on:
/volume1/admin/Synology_HDD_db/CHANGES.txt
ERROR Failed to cd to /tmp!
/volume1/admin/Synology_HDD_db/syno_hdd_db.sh: line 466: syntax error near unexpected token `fi'
/volume1/admin/Synology_HDD_db/syno_hdd_db.sh: line 466: `            fi'

I know what caused the chmod error.
It obviously changed directory to temp okay or it would not have got to the chmod error. So I'm not sure why it ended up at line 465 and 466.

Do you want to run it again, and let it update itself to v3.4.79 if see if those errors are gone.
If you still get the syntax error near unexpected token 'fi' error can you:

Edit the version number in syno_hdd_db.sh to make a lower number.
Run it with the --debug option.
Report back with the output.

3.4.78 brings the same error when updating to 43.4.79.
3.4.79 seems to have fixed the problem. When editing the version no back to 3.4.78 running the update again, it does without problems.


Exception Handling Improvements

Improve nmeta handling of exceptions. It may be better to discard current packet and continue operation rather than halting the programme if an exception occurs as otherwise availability is compromised. Exceptions should have verbose logging to enable subsequent troubleshooting and fixing of bug that caused them.

Closing as not specific


Make properties in T for IronSession optional (union with undefined)

In case that there is no seal/cookie, the parsed data is an empty object.
For this reason, it would be more accurate to make the properties of the type parameter T optional.

@jotatoledo Can you open a PR? As I am unsure what is it required to fix here.


Installation failes because of symfony/deprecation-contracts

Hi,
I'm trying to install php-coveralls but I am getting to following error:
user@LAPTOP:~/Projects/notee$ composer require --dev php-coveralls/php-coveralls
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Using version ^2.4 for php-coveralls/php-coveralls
./composer.json has been updated
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 10 installs, 0 updates, 0 removals

Installation failed, reverting ./composer.json to its original content.

In Filesystem.php line 186:

  /home/user/Projects/notee/vendor/symfony/deprecation-contracts does not exist and could not be created.

Do you have any tipps? Thanks right now!

cannot reproduce:
ker@dus:/tmp/aaa λ composer --version
Composer version 2.0.2 2020-10-25 23:03:59
ker@dus:/tmp/aaa λ cat composer.json
{
    "name": "tmp/tmp",
    "require": {}
}
ker@dus:/tmp/aaa λ composer require --dev php-coveralls/php-coveralls
Using version ^2.4 for php-coveralls/php-coveralls
./composer.json has been updated
Running composer update php-coveralls/php-coveralls
Loading composer repositories with package information
Updating dependencies
Lock file operations: 23 installs, 0 updates, 0 removals
  - Locking guzzlehttp/guzzle (7.2.0)
  - Locking guzzlehttp/promises (1.4.0)
  - Locking guzzlehttp/psr7 (1.7.0)
  - Locking php-coveralls/php-coveralls (v2.4.2)
  - Locking psr/container (1.0.0)
  - Locking psr/http-client (1.0.1)
  - Locking psr/http-message (1.0.1)
  - Locking psr/log (1.1.3)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/config (v5.1.8)
  - Locking symfony/console (v5.1.8)
  - Locking symfony/deprecation-contracts (v2.2.0)
  - Locking symfony/filesystem (v5.1.8)
  - Locking symfony/polyfill-ctype (v1.20.0)
  - Locking symfony/polyfill-intl-grapheme (v1.20.0)
  - Locking symfony/polyfill-intl-normalizer (v1.20.0)
  - Locking symfony/polyfill-mbstring (v1.20.0)
  - Locking symfony/polyfill-php73 (v1.20.0)
  - Locking symfony/polyfill-php80 (v1.20.0)
  - Locking symfony/service-contracts (v2.2.0)
  - Locking symfony/stopwatch (v5.1.8)
  - Locking symfony/string (v5.1.8)
  - Locking symfony/yaml (v5.1.8)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 23 installs, 0 updates, 0 removals
  - Installing guzzlehttp/promises (1.4.0): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (1.7.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.20.0): Extracting archive
  - Installing symfony/deprecation-contracts (v2.2.0): Extracting archive
  - Installing symfony/yaml (v5.1.8): Extracting archive
  - Installing psr/container (1.0.0): Extracting archive
  - Installing symfony/service-contracts (v2.2.0): Extracting archive
  - Installing symfony/stopwatch (v5.1.8): Extracting archive
  - Installing symfony/polyfill-php80 (v1.20.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.20.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.20.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.20.0): Extracting archive
  - Installing symfony/string (v5.1.8): Extracting archive
  - Installing symfony/polyfill-php73 (v1.20.0): Extracting archive
  - Installing symfony/console (v5.1.8): Extracting archive
  - Installing symfony/filesystem (v5.1.8): Extracting archive
  - Installing symfony/config (v5.1.8): Extracting archive
  - Installing psr/log (1.1.3): Extracting archive
  - Installing psr/http-client (1.0.1): Extracting archive
  - Installing guzzlehttp/guzzle (7.2.0): Extracting archive
  - Installing php-coveralls/php-coveralls (v2.4.2): Extracting archive
9 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
15 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

update composer to v2. if you still face issue, prepare minimum reproducible composer.json file and share it, pls

I close the issue, because the reason were missing write permissions.


Rendering issue on Android with animated transition since Flutter 3.3

We ran into an issue with Flutter 3.3.0 where a blur transition we have gets "stuck" when a dialog is removed. I've managed to reproduce this in a new project, code sample included below. As the video shows, the issue becomes apparent when the AlertDialog is dismissed and the lower layer "unblurs". The transition seems to get stuck near the end where content is still partially blured, and the dialog can still faintly be seen.
It only seems to happen on Android devices (we've also tested Windows and MacOS), and it is NOT visible in a screen capture (video or screenshot) which is why I've captured this video with a separate camera.
Some things to note:

If the CircularProgressIndicator is removed, the problem goes away. Any animated widget will trigger it.
If the ListView is replaced by a Column, the problem goes away.

We have NOT been able to reproduce this on all Android phones we've tested, but can reliably reproduce it on a Pixel 4 and a Pixel 5.
This did not happen prior to Flutter 3.3.0 We have also tried running this on the latest Flutter from the master branch, with the same result as 3.3.0. The app in the attached video is running Flutter 3.3.2.
https://user-images.githubusercontent.com/140781/191966334-2a530b95-6a4e-44c9-9794-1744b93fc272.mp4

Code sample

import 'dart:ui';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Blur rendering issue',
      theme: ThemeData(
        dialogBackgroundColor: Colors.red,
      ),
      home: const BlurIssue(),
    );
  }
}

class BlurIssue extends StatelessWidget {
  const BlurIssue({super.key});

  @override
  Widget build(BuildContext context) => Scaffold(
      appBar: AppBar(
        title: const Text('Tap the FAB a few times'),
      ),
      body: ListView(  // Must be a ListView, not a Column
        children: const [
          CircleAvatar( // Not needed, just here to illustrate the issue
            backgroundColor: Colors.orange,
          ),
          Center(
            child: CircularProgressIndicator(), // Animated widget is required
          ),
          CircleAvatar( // Not needed, just here to illustrate the issue
            backgroundColor: Colors.green,
          ),
        ],
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          showGeneralDialog(
            context: context,
            barrierDismissible: true,
            barrierLabel:
                MaterialLocalizations.of(context).modalBarrierDismissLabel,
            barrierColor: Colors.black12,
            pageBuilder: (ctx, anim1, anim2) => const AlertDialog(
              title: Text('tap anywhere to close'),
            ),
            transitionDuration: const Duration(milliseconds: 150),
            transitionBuilder: (ctx, anim1, anim2, child) => BackdropFilter(
              filter: ImageFilter.blur(
                  sigmaX: 20 * anim1.value, sigmaY: 20 * anim1.value),
              child: FadeTransition(
                opacity: anim1,
                child: child,
              ),
            ),
          );
        },
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ));
}

<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.
<pre>  You can upload them directly on GitHub.
  Beware that video file size is limited to 10MB.

-->

This seems like another report of the rendering issues that have come up in flutter 3.3. This seems to be affecting only pixel devices as reported above.
Possibly related issues
https://github.com/flutter/flutter/issues/111551
https://github.com/flutter/flutter/issues/111376
Labeling for further investigation as I cannot reproduce this issue locally.

@danagbemava-nc it seems this may be fixed after 3.3.4 release

I can confirm that 3.3.4 does indeed seem to resolve the issue! I am no longer able to reproduce it.


fix(server): normalized request should implement the text method

Request in Fetch has a text method which should be respected even if the body was parsed previously.
Currently .json() returns an object but .text() an empty string - they should be coherent.

Thanks @enisdenjo!


DOM click event bug

Hello guys. I think I found an issue regarding click event on DOM.
I made an simple app where it pulls a 10 list of user from API.
For each lists, I made a click listener where:

it found the user ID from e.target.getAttribute('key'),
update the total user array with scan,
and updates the DOM.

You can also click 'refresh user' to get new user from the same API.
There's 2 issue that I encountered: click handlers bug & visual bug

Click handlers bug: After a while refreshing and delete user, it works like there's 2 DOM working layer on layer. For example, when I clicked remove on user ID 2, it also clicks on user ID 5 (or any random number). The weird thing is, the user are not removed, despite the click events are registered from console.log.

Visual bug: Imagine there's a user ID 1 - 10 on the list. When you clicked to remove user ID 4, it immediately hovered to the next user ID (on this case, ID 5) on DOM for 50-100ms, and moved back to the correct user ID.

Screenshot for double click bug
http://imgur.com/a/UUwLg
I've uploaded the project to github if you are interested to see the issue from your browser
git clone https://github.com/philipyoungg/cyclejs-test-project
npm i
node_modules/.bin/webpack-dev-server

Any help would be appreciated.
Excerpt code to reproduce the issue:
const userComponent = ({ DOM }) => {
  const initialState = { users: [], filter: true };

  const toggleFilter = DOM.select('.toggle-filter').events('click')
    .mapTo('toggle click')
    .map(bool => state => //eslint-disable-line
      R.evolve({
        filter: R.not,
      })(state));

  const deleteUser = DOM.select('.delete-user').events('click')
    .map(e => e.target.getAttribute('key'))
    .map(Number)
    .do(console.log)
    .map(actionId => state =>
      R.evolve({
        users: R.reject(R.propEq('id', actionId)),
      })(state));

  const requestClick = DOM.select('.refresh-user').events('click')
    .startWith('init click')
    .mapTo('https://jsonplaceholder.typicode.com/users/')
    .flatMap(URL => Observable.fromPromise(fetch(URL)))
    .flatMap(x => x.json())
    .map(initState => state => R.assoc('users', initState)(state));

  const state = Observable.merge(deleteUser, toggleFilter, requestClick)
    .scan((acc, x) => x(acc), initialState)
    .startWith(initialState)
    .do(console.log);

  const view = state.map(data =>
      div('.pv4.ph5', [
        h1(`Filter: ${String(data.filter)}`),
        button('.toggle-filter.pa3.mb4', 'toggle filter'),
        button('.refresh-user.pa3.mb4', 'refresh new user'),
        data.users.length > 0 ? UserList(data.users) : p('Loading...'), // eslint-disable-line
      ])
    );

  const sinks = {
    DOM: view,
  };
  return sinks;
};

Versions of packages used:
"devDependencies": {
    "babel": "^6.5.2",
    "babel-core": "^6.17.0",
    "babel-loader": "^6.2.5",
    "babel-preset-es2015": "^6.16.0",
    "webpack": "^1.13.2",
    "webpack-dev-server": "^1.16.2"
  },
  "dependencies": {
    "@cycle/dom": "^12.2.5",
    "@cycle/http": "^11.0.1",
    "@cycle/rxjs-run": "^3.0.3",
    "@cycle/xstream-run": "^3.1.0",
    "ramda": "^0.22.1",
    "rxjs": "^5.0.0-beta.12",
    "universal-fetch": "0.0.1",
    "xstream": "^6.4.1"
  }

Edited Oct 11 '16 at 12:33 (UTC), @Frikki
Corrected webpack-dev-server command to include node_modules path.

There is no build script in the package.json  and no instructions on how to build the project, @philipyoungg .
Running webpack-dev-server provides a browser response:

Cannot GET /

@Frikki I forgot that I installed webpack-dev-server and babeljs globally on my system. Appreciate your correction, @Frikki!

The issue of

Cannot GET /

is still not solved in your project, @philipyoungg

@Frikki ...and I ignored the dist/index.html file from .git. Should be fixed by now.

@philipyoungg I see the issues you're experiencing.
The issue with the wrong items being displayed after removal/things getting stuck can be solved by giving each User a unique key:
  const User = ({ id, name, email }) =>
-   li('.mb5', [
+   li('.mb5', {key: id}, [

This is used as a hint by snabbdom to determine when an element has modified, rather than created or destroyed. (virtualdom and react also require unique keys in this situation)
As for why the cursor occasionally focuses on the next item's remove button immediately after removal, I see that but I'm not sure how to fix that.
My best guess is that when we remove the second to last element, the last element pops up to take its place. It seems that there is a timing error where sometimes the document is not resized until after the hover animation for the last element has been triggered.
I wonder if perhaps part of snabbdom or cycle/dom should be using requestAnimationFrame but is not.

@Widdershin thank you for the quick follow up! Unfortunately, changing the key to li instead of span still produces the same issue.
previous code:
const User = ({ id, name, email }) =>
  li('.mb5', [
    h1('.mb0', name),
    p('.mt2.mb4.black-60', email),
    span('.delete-user.pointer.ba.pa2.hover-bg-black.hover-white.bg-animate',
    { attrs: { key: id } }, 'remove user'), //the key was here
  ]);

changed to:
const User = ({ id, name, email }) =>
  li('.mb5', { attrs: { key: id } }, [ // moved to here
    h1('.mb0', name),
    p('.mt2.mb4.black-60', email),
    span('.delete-user.pointer.ba.pa2.hover-bg-black.hover-white.bg-animate', 'remove user'),
  ]);

and I also changed the intent/model to:
const deleteUser = DOM.select('.delete-user').events('click')
    .map(e => e.target.parentNode.getAttribute('key')) // changed here
    .do(console.log)
    .map(Number)
    .map(actionId => state =>
      R.evolve({
        users: R.reject(R.propEq('id', actionId)),
      })(state));

so it's properly targeted to ul element.
As for the second issue, I think this is actually an expected behavior. It only happens when the element are on bottom viewport. Notice how the browser's scrollbar jumps everytime the element get removed from DOM.

EDIT: By the way, I also try to change the code as you stated to
const User = ({ id, name, email }) =>
  li('.mb5', { key: id }, [ // added key here
    h1('.mb0', name),
    p('.mt2.mb4.black-60', email),
    span('.delete-user.pointer.ba.pa2.hover-bg-black.hover-white.bg-animate',
    { attrs: { key: id } }, 'remove user'),
  ]);

and so far I haven't encountered the problem anymore! Why does this works? Would this issue persist if the generated user ID are random (compared to sequential 1 to 10)?

Here's the relevant documentation for snabbdom (all the way at the bottom):
https://github.com/snabbdom/snabbdom#key--string--number
You must ensure that all of the keys that you use are unique. So they can be random, as long as you hold on to the values (the key for a given User shouldn't changed.)
As I noted above, all virtual dom libraries require keys when you have a dynamic list of similar elements.
You might also be interested in cycle-collection, a helper library that manages ids and keys for you: https://github.com/cyclejs/collection

I see, thank you @Widdershin and @Frikki for solving this issue. I'm going to close this! ☺


Scraper & Fuzzy Search

To use the pipe you need to do something like this:
<img [src]="product?.image | btoImg">

looks ok to me


Update collections.md

replacing for better understanding

@zlog-in thanks for the contribution, however, I find the text more accurate and simpler to read that the new suggestion, for which I will close this PR.


Node-exporter as DaemonSet for "K8S as cloud service"

PR related to task #1673

added Node Exporter as DaemonSet using Helm Chart
added changes in Prometheus Server in order to scrap metrics from the Node Exporters
small necessary changes for the PR (new group variable - k8s_as_cloud_service etc..)

The node-exporter Helm chart is an external project (maintained by Bitnami) and I would prefer to not include its sources.
My proposal is to just use Bitnami repo to install the chart (assuming we have Internet access in AKS/EKS case).
If we will need to provide the chart for offline mode, then we can add charts section to requirements.txt and download the chart in a similar way to OS packages.


KSP Interstellar version is wrong (in CKAN metadata is 1.4.3 but the correct latest one is 1.14.3)

Looking at history of KSP Interstellar 1.4.3: https://github.com/KSP-CKAN/CKAN-meta/commit/7a3659a1663109303d2117c726766de6c5ca0ff0 NetKAN somehow changed a very old version of KSP Interstellar that is from KSP version 1.0.4 to 1.3.0, breaking pyKAN (and probably mainline CKAN client) as it tries to download from spacedock and fails with a 404 error as the file does not exist.
Looking at KSP Interstellar Github repo, FreeThinker correctly writes in his .version file as 1.14.3, so it is probably not his fault: https://github.com/sswelm/KSP-Interstellar-Extended/commit/f91426fb93dc7efdc08f90b8226e358366948f1c

Link to KSP Interstellar thread reporting this: http://forum.kerbalspaceprogram.com/index.php?/topic/161531-13-ksp-interstellar-extended-1143-4-6-2017-continued-development-thread/&do=findComment&comment=3093335

Actually, I made a small mistake when uploading on spacedock where I forgot to add an 1, I removed the file and reuploaded the same file assuming it would fix the mistake. Apparently not.

I don't know about that, but shouldn't spacedock or CKAN determine mod version from uploaded .version file? I think that Spacedock/NetKAN should complain if manually imported version differs from the .version file then

I'm starting to think that only pyKAN have this problem, as it thinks that 1.4.3 > 1.14, but this issue is still relevant though, as wrong metadata is bad

I have confirmed that the current version.py contains a bug which incorrectly determines 1.4.3 to be a higher version than 1.14 @minecraft2048 is currently doing some work on versioning as well so tagging him. I am looking into why this would be.

I have found the bug in pyKAN, and just pushed a fix. The latest commit in git contains it. I will release a new official version with the fix once @minecraft2048 finishes his current work so it can all go into one release. In the meantime you can get the (small) fix by using the master-branch git code directly.

metadata fixed in KSP-CKAN/CKAN-meta#1279


Resetting winrm auth

If the winrm baisc auth setting is temporary, the page should also indicate how to capture original setting, or set it back to default.
is basic auth in winrm also required for updates?  that shoudl be specified too

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

ID: de2836a0-0af3-c147-2d4a-78220ac4e0f1
Version Independent ID: 2cde9735-6281-bb9f-bf07-b30b2f6c7f37
Content: About the Exchange Online PowerShell V2 module
Content Source: exchange/docs-conceptual/exchange-online-powershell-v2.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@rkearneyrpc, the WinRM auth setting is not temporary, unless you're using v2.0.6-Preview5 or later with REST API backed cmdlets as described here.
The temporary thing is this Note:

You must temporarily enable WinRM to run the following WinRM commands. You can enable WinRM by running the command: winrm quickconfig.

Which, I guess is for those who have WinRM completely disabled, but need to turn on Basic auth?
Honestly, I didn't have much to do with the addition of that Note. I don't understand how you could have WinRM disabled, turn it on to configure Basic auth, but then disable WinRM again? How could you connect if WinRM is disabled?
Would it be less confusing to change the note to something like this:

The following commands require that WinRM is enabled. To enable WinRM, run the following command:  winrm quickconfig.

Would it be less confusing to change the note to something like this:

The following commands require that WinRM is enabled. To enable WinRM, run the following command:  winrm quickconfig.

That sounds perfect!

OK. Done.
Thanks for the feedback.
Closing


Docs Website is 503 HTTP Error

Hello, as you can see in this screenshot, the documentation site is down.

@SantosJMM thank you for reporting the issue, this is now back operational


Remove all read-only from V2 project/dataset components

Ref https://github.com/fractal-analytics-platform/fractal-server/issues/1384

As of fractal-server>=2.0.0a6, read-only attribute is not part of V2 objects.


Facing "Connection refused! Is selenium server started" with chrome

Version
2.6.10
Reproduction link
https://github.com/vuejs/vue
Steps to reproduce
Git clone https://github.com/vuejs/vue
cd vue
npm install
npm run test:e2e --env chrome
What is expected?
All tests should pass without any error.
What is actually happening?
chrome   [Async Edge Cases] Test Suite
chrome
chrome   Results for:  async edge cases
chrome   Error retrieving a new session from the selenium server
chrome
chrome   Connection refused! Is selenium server started?
chrome   { state: 'unhandled error',
sessionId: null,
hCode:<PHONE_NUMBER>,
value:
{ additionalInformation: '\nDriver info: org.openqa.selenium.chrome.ChromeDriver',
localizedMessage:
'unknown error: Chrome failed to start: exited abnormally\n  (unknown error: DevToolsActivePort file doesn't exist)\n  (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.15.0-58-generic x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 5.81 seconds\nBuild info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'\nSystem info: host: '5a8889ab41f6', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-58-generic', java.version: '1.8.0_222'\nDriver info: org.openqa.selenium.chrome.ChromeDriver',
supportUrl: null,
systemInformation:
'System info: host: '5a8889ab41f6', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-58-generic', java.version: '1.8.0_222'',
cause: null,
suppressed: [],
message:
'unknown error: Chrome failed to start: exited abnormally\n  (unknown error: DevToolsActivePort file doesn't exist)\n  (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)\n  (Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.15.0-58-generic x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 5.81 seconds\nBuild info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'\nSystem info: host: '5a8889ab41f6', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-58-generic', java.version: '1.8.0_222'\nDriver info: org.openqa.selenium.chrome.ChromeDriver',
hCode: 84952992,
class: 'org.openqa.selenium.WebDriverException',
buildInformation:
{ buildTime: '2016-06-30 17:37:03',
buildRevision: 'a36b8b1',
releaseLabel: '2.53.1',
hCode:<PHONE_NUMBER>,
class: 'org.openqa.selenium.internal.BuildInfo' },
screen: null },
class: 'org.openqa.selenium.remote.Response',
status: 13 }
chrome

Please, can you suggest what could possibly the reason for this failure?

It seems to be a problem with Chrome crashing:
'unknown error: Chrome failed to start: exited abnormally\n (unknown error: DevToolsActivePort file doesn't exist)\n (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.

I would recommend you to search that error along with night watch and selenium in the search terms. Also make sure to install dependencies with yarn and not with nom
Closing as this is not a vue bug or feature request, this is related to your personal setup and should be posted in help channels like the forum, Stack overflow or Discord


Fix wp-json, fix citations being imported as false

This patch:

Registers _candela_citation with WordPress "the right way;" exposes data in wp-json REST API.
Fixes assumption that a new blog without CANDELA_CITATION_DB_VERSION has serialized citations (Importing XML for example.)

Hey @monkecheese -- we're working on a PB core version of attributions (as discussed via email a few weeks ago). This PR would help us make good progress on that work.

This looks really good, though this does not appear to expose the candela citation metadata on the API from what I can tell.  Current version of PB is 5.5.6, and the endpoint I tested was:
mysite.com/wp-json/pressbooks/v2/books/<book-id>

It's going to be in mysite.com/mybook/wp-json/pressbooks/v2/chapters/999 under the meta node.

Alas, there it is!  Nice work @connerbw.  Happy to merge.

Thanks so much for this patch @connerbw and all! ✨

@monkecheese and @bessfernandez, I'm quite sure you've got more than enough other work going on, but I was wondering if you had any idea about if/when you think this PR might be applied to the Lumen production networks? We've confirmed that it works locally with new books created using Candela Citations created with the plugin, but it would be interesting to see how it works with books from some of the various Lumen libraries as well.

For sure!  @SteelWagstaff, I have created a ticket and added it as a discussion topic for Sprint grooming and planning.  Pending how that goes and any other priorities that might bubble up, I anticipate being able to ship this to our production stack in the next two weeks.

Sounds great. We'll keep an eye out for notifications on this thread or occasionally spot check the WP-JSON in one of the Lumen books that uses citations. Thanks!

@SteelWagstaff, we are working toward getting this fix out.  I've done some testing around it and it's looking good. I'm hoping for some time this sprint.  Thanks for your patience and will let you know here when it's out.

@SteelWagstaff this has now been deployed to production.  Cheers!

Thanks for the update @monkecheese! We're looking forward to testing it, and will let you know if/when we release a core feature that allows users to provide textual attributions -- if possible, I'd like to see us make it backward compatible with what you're already using.


retry network errors

Describe the problem/challenge you have
Hi, i occasionaly get  this error while trying to apply some manifests with kapp :
kapp: Error: waiting on reconcile deployment/backend (apps/v1) namespace: xxx-preprod:
  Errored:
    Listing schema.GroupVersionResource{Group:"", Version:"v1", Resource:"limitranges"}, namespaced: true: an error on the server ("error trying to reach service: dial tcp <IP_ADDRESS>:443: connect: connection refused")

The deployment gets applied correctly though
Looks like this is some kind of network error that could be retried
Describe the solution you'd like
Would be nice to handle this corner case as others in isGeneralRetryableErr maybe
Anything else you would like to add:
Thanks for kapp, a great helper !

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.

Sounds reasonable. would you want to contribute this change, or if not we will include it in our backlog.


feat(protocol): horizontal scaling (multiple L2s/contract)

Describe the feature request
Because Taiko is a based rollup, all Taiko L2s blocks are already proposed by the currently selected Ethereum validator, so Taiko chains always form a network with a "shared sequencer". This is very useful for cross-L2/... transactions. However, there are still inefficiencies with deploying multiple L2s:

Blocks need to be proposed to separate smart contracts, with each proposed block needing to store some data in the smart contract. (When multiple blocks are proposed per L2 we could already batch those together per L2).
Blocks need to get verified separately for each L2, there is no built-in proof verification batching that provers can use. And even if that would be the case, the provers for each L2 may not overlap.

To make an efficient, highly scalable network of identical L2s we can solve these efficiencies by allowing multiple L2s within the same smart contract. This makes it possible to store a constant amount of data when proposing blocks for multiple L2s at the same time. It also allows blocks of multiple L2s to share the same provers, so blocks of different L2s can automatically be proven together, reducing verification costs and/or proof verification delays.
Conceptually this is quite similar to having identical L3s on top of the same L2. However, this does away with some of the complexities of having multiple layers, which are introduced to be able to solve some of the efficiencies of running multiple (identical) L2s on L1. This also makes cross-layer transactions more straight forward because everything is now just an L2.
This will also be interesting to enforce mechanisms like this: https://www.umbraresearch.xyz/writings/shared-validity-sequencing
Describe alternatives you've considered
Description of the alternatives you've considered here.
Additional context
Additional context here.

This approach has some downsides:

Multiple L2s supported by the same contract are tightly coupled, it's not easier to upgrade one L2 without upgrading all other L2s.
The code is more complicated and error prone.

This is a feature! Why would you not update all of them together though? If you would upgrade Ethereum, would you choose to only update smart contracts at odd addresses first and at even addresses later? If people want to have their own independent L2 they can, but then it's not the main Taiko chain consisting of interconnected L2s.
It is indeed more complicated (though also not that much I feel, all per chain things are now just an array and you hash things together). But you also get a lot in return! Atomic cross layer transactions are big. It makes it possible to increase the throughput of the chain in a way that is standardized for all participants in the main Taiko chain (RPC providers can just look at the contract and spin a new node up when a new L2 is added, proposers/provers create blocks for the same chain no matter the number of L2s in it, ...). It's also transparent for users, they don't have to care about all kinds of different L2s on all kinds of different versions that are live. If they are on the main Taiko chain it will behave like a single chain with the same security properties.

Closing this in factor of https://github.com/taikoxyz/taiko-mono/issues/14659


[NSNull length]: unrecognized selector sent to instance

How frequently does the bug occur?
Sometimes
Description
I have an object containing image data encoded as a base64 string. The image data propery may also be nil, indicating that the image is empty.
While there have generally been no issues so far, one user is encountering a crash when an array of the object is filtered based on whether the property is empty.
public final class Document: Object {
    // ...

    @Persisted public internal(set) var content: String?

    // ...

    public var isEmpty: { content?.isEmpty ?? true }
}

extension Collection where Element == Document {
    func filterNonEmpty() -> [Element] {
        self.filter { !$0.isEmpty } // Crashes with:  "-[NSNull length]: unrecognized selector sent to instance 0x1e1f00230"
    }
}

As far as I can find, the crash occurs when unwrapping the optional content property in the following method:
extension String: _PersistableInsideOptional, _DefaultConstructible, _PrimaryKey, _Indexable {
    public typealias PersistedType = String

    @inlinable
    public static func _rlmGetProperty(_ obj: ObjectBase, _ key: PropertyKey) -> String {
        return RLMGetSwiftPropertyString(obj, key)!
    }

    @inlinable
    public static func _rlmGetPropertyOptional(_ obj: ObjectBase, _ key: PropertyKey) -> String? {
        return RLMGetSwiftPropertyString(obj, key) // <-- Here
    }

    @inlinable
    public static func _rlmSetProperty(_ obj: ObjectBase, _ key: PropertyKey, _ value: String) {
        RLMSetSwiftPropertyString(obj, key, value)
    }
}

Other things of note:

We haven't heard of (or seen) other occurrances of this crash yet.
Using a backup of the database provided by the user, I can consistently reproduce the crash; however it occurs with a different (seemingly random) object in the array each time.
The array to be filtered contains ~350 objects, which is more than usual but (imo) not absurdly large.
CPU, memory and disk usage is all normal as far as I can see.
All objects in the array are frozen

Stacktrace & log output
#0	0x000000018bc54870 in __exceptionPreprocess ()
#1	0x0000000183fbfc00 in objc_exception_throw ()
#2	0x000000018bce519c in -[NSObject(NSObject) doesNotRecognizeSelector:] ()
#3	0x000000018bb99ff8 in ___forwarding___ ()
#4	0x000000018bcdab10 in _CF_forwarding_prep_0 ()
#5	0x000000018ab17eb8 in static String._unconditionallyBridgeFromObjectiveC(_:) ()
#6	0x0000000104ddd6d8 in static String._rlmGetPropertyOptional(_:_:) at /Users/***/Library/Developer/Xcode/DerivedData/App-drdtjhifxmbvpggmwkescoopfpvq/SourcePackages/checkouts/realm-swift/RealmSwift/Impl/BasicTypes.swift:222
#7	0x0000000104ddd7cc in protocol witness for static _PersistableInsideOptional._rlmGetPropertyOptional(_:_:) in conformance String ()
#8	0x0000000104de34dc in static Optional<τ_0_0>._rlmGetProperty(_:_:) at /Users/***/Library/Developer/Xcode/DerivedData/App-drdtjhifxmbvpggmwkescoopfpvq/SourcePackages/checkouts/realm-swift/RealmSwift/Impl/ComplexTypes.swift:244
#9	0x0000000104de37d0 in protocol witness for static _Persistable._rlmGetProperty(_:_:) in conformance <τ_0_0> τ_0_0? ()
#10	0x0000000104e3ea20 in Persisted.get(_:) at /Users/***/Library/Developer/Xcode/DerivedData/App-drdtjhifxmbvpggmwkescoopfpvq/SourcePackages/checkouts/realm-swift/RealmSwift/PersistedProperty.swift:181
#11	0x0000000104e3dc78 in static Persisted.subscript.getter at /Users/***/Library/Developer/Xcode/DerivedData/App-drdtjhifxmbvpggmwkescoopfpvq/SourcePackages/checkouts/realm-swift/RealmSwift/PersistedProperty.swift:126
#12	0x0000000105e79e08 in Document.content.getter ()
#13	0x0000000105e85c14 in protocol witness for _DocImage.content.getter in conformance Document ()
#14	0x0000000105c190d4 in _DocImage.isEmpty.getter at /Users/***/Developer/Core/Sources/Core/Image/DocImage.swift:57

Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
10.45.3
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 17
Build environment
Xcode version: 15.2 (15C500b)
Dependency manager and version: SPM

Ah yes, the code I posted is a heavily simplified version of the production code, indeed the code public var isEmpty: { content?.isEmpty ?? true }  is missing the type identifier.
The images are resized prior to storing, so they rarely (if ever) exceed 16MB. However I didn't know that large blobs of data are not a good fit for Realm. Long-term we will probably migrate to storing the images as a file and only persist the URL.
Having said that, that doesn't explain the crash; it occurs semi-randomly and seems to be related to memory availability. The crash comes after several filter functions, most of them using the isEmpty property; meaning that property can be called potentially several times in one call. This is not really optimal, but in the case of Realm, it also turns out that memory is not freed up where one would reasonably expect it to. Which is not a problem until large amounts of data are handled at once. I managed to fix this issue (or rather, the crash) by using an autoreleasepool closure at specific points of the operation.

What is the function of extension String with the @inlinable directives. Those are often reserved for libraries or maybe a framework.

That code is from the RealmSwift framework.

Based on

Ah yes, the code I posted is a heavily simplified version of the production code, indeed the code public var isEmpty: { content?.isEmpty ?? true }  is missing the type identifier.

Can you update the question or add some details about how that function actually works? It may be related to the crash since the isEmpty var is involved (or maybe not, but want have more complete code just in case)

I spoke with the team and this does look like a bug on our end, but it's not at all obvious what could be causing it. If you are able to produce a minimal repro case, that would go a long way toward identifying the root cause and fixing it.

I've tried creating a minimal repro case by loading 1000+ objects with image data - either as Data or as base64 encoded String - and then superfluously filtering on the isEmpty property several times, but all it gave me was a huge memory usage and no crash. The original production code that caused this issue had several more layers of filtering and passing of data in the background but like I said, I can't seem to reproduce it now.
The problem in our production app is solved by storing the images on disk and persisting the URL only, so unless someone has anything to add I think it's better to close this issue for now.


missing required fields from MAF: Hugo_Symbol

Hello,
I use the github clone version of maftools, and I download MAF data from cBioPortal.  the file named "data_mutations_extended.txt"  in the **.tar.gz file is a MAF format file. When I  am trying to load this maf file, I get an error message:
reading maf..
Error in validateMaf(maf = maf, isTCGA = isTCGA, rdup = removeDuplicatedVariants,  :
  missing required fields from MAF: Hugo_Symbol

The part of headers in this MAF file are listed here:
- #version 2.4
- Hugo_Symbol	Entrez_Gene_Id	Center	NCBI_Build	Chromosome	Start_Position	End_Position	Strand	Variant_Classification	Variant_Type	Reference_Allele	Tumor_Seq_Allele1	Tumor_Seq_Allele2	dbSNP_RS	dbSNP_Val_Status	Tumor_Sample_Barcode	Matched_Norm_Sample_Barcode	Match_Norm_Seq_Allele1	Match_Norm_Seq_Allele2	Tumor_Validation_Allele1	Tumor_Validation_Allele2	Match_Norm_Validation_Allele1	Match_Norm_Validation_Allele2	Verification_Status

Here is Hugo_Symbol header in this file, but I don't know what's causing this issue, and how can I resolve it.
Thanks!

Hello,
I figure out this problem, because the headers have 117 columns in this file, but the data have 119 columns. May because that two more tab-delimiters in the end of each lines, but the header-line does not have them.
Thanks you!

Hi,
It should have skipped the header line starting wth #, but I guess that is the issue. Can you manually remove first line from the file.
You can do this from terminal.
grep -v "^#" data_mutations_extended.txt > data_mutations_extended_headerFixed.maf

Oh okay! Let me know if that fixes your problem.

Hi，
Yes, I have  fixed this problem. I add two more headers (whatever names ) in the end of header-line to  match the number of data columns. It works!
I also tried to remove lines with "#" or to add some "#" lines. Then I read the code of read.maf(), I found that my problem has nothing to do with these operations.
I will try to read other MAF files from cBioportal to see  whether all of MAF files they called have the same problem. If so, I think that the workflow to generate MAF files may be slightly different from TCGA's workflow, although majority headers are same to MAF files from TCGA harmonization data.
Thank you!


failed to create class property in 2.1.0 with :OCommandSQLParsingException

Hi,
I Used Orientdb 2.0.7-2.0.10 in development with some class property contain ' - ' in property name like
"create property upload.content-type string"
and successfully created with no problem.
But, after I moved to Orientdb 2.1.0 when I try to create same property as before Orientdb throw this error
Error on parsing command at position #0: Encountered "" at line
1, column 36.
Was expecting one of:
I try another solution with remove ' - ' from command to
"create property upload.contenttype string"
This time I success on create property.
So, In 2.1.0 can we create property with '-' ? or in version 2.1.0 '-' is a reserved word or illegal word?
Could someone clarify or explain the solution to me please.
Thank for helping.

May be this issue relate to #4768

http://orientdb.com/docs/last/Release-2.1.0.html#strict-sql-parser


AttributeError: module 'tensorflow.python.pywrap_mlir' has no attribute 'experimental_convert_saved_model_v1'

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
v1.12.1-96406-gfa4d29bfef8 2.14.0-dev20230706
Custom code
No
OS platform and distribution
UIbuntu 20.04
Mobile device
UIbuntu 20.04
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?

Standalone code to reproduce the issue
-

Relevant log output
File "/home/fastDisk/jiahao/research/iree/.venv/lib/python3.8/site-packages/iree/tools/tf/scripts/iree_import_tf/__main__.py", line 54, in main
    import_saved_model(
  File "/home/fastDisk/jiahao/research/iree/.venv/lib/python3.8/site-packages/iree/tools/tf/scripts/iree_import_tf/__main__.py", line 102, in import_saved_model
    result = convert_saved_model_v1(
  File "/home/fastDisk/jiahao/research/iree/.venv/lib/python3.8/site-packages/tensorflow/python/compiler/mlir/mlir.py", line 141, in convert_saved_model_v1
    return pywrap_mlir.experimental_convert_saved_model_v1(
AttributeError: module 'tensorflow.python.pywrap_mlir' has no attribute 'experimental_convert_saved_model_v1'

hi Im using Iree tf import tool to convert a savedmodel to mlirbc, but got this error, and I checked the code in  pywrap_mlir found the function named "experimental_convert_saved_model_v1" is really not exsisted but a function named  "experimental_convert_saved_model_v1_to_mlir"  so I changed the function call in "tensorflow/python/compiler/mlir/mlir.py" and the error is disappeared.

so is it a typo in there?

Thanks for reporting the issue, it looks like a type, I have created a PR with the change.


Export "FAILED TEST SUMMARY" to html file?

Dear everyone,
After running Ceedling, I will have "FAILED TEST SUMMARY" result on console terminal.
I want export "FAILED TEST SUMMARY" to html file or other file.
Can you tell me about the solutions, please?
Thank you.

There isn't an html output option at this time, unless you're running test coverage (in which case it's outputting your coverage, not your results).
In your project yaml file, you can scroll down to the :plugins: section. If you remove (or comment out) stdout_pretty_tests_report, you can replace it with one of these other options:

colour_report
junit_tests_report
raw_output_report
stdout_gtestlike_tests_report
stdout_ide_tests_report
stdout_pretty_tests_report
teamcity_tests_report
warnings_report
xml_tests_report

If you're feeling like you really need html and want to try your hand at a little ruby, cloning the xml_tests_report will get you very close to what you need. We'd gladly accept an html report contribution.

Thanks @mvandervoord .


numpy casting error: Cannot cast array data from dtype(bfloat16) to dtype(bfloat16) according to the rule 'unsafe'

python 3.10.6
tensorflow==2.12,
jax == 0.4.25
ml-dtypes >= 0.3.2
each of the following casting will fail with TypeError:
Cannot cast array data from dtype(bfloat16) to dtype(bfloat16) according to the rule 'unsafe'
import numpy as np
import tensorflow as tf

const = tf.constant([1,2], dtype=tf.bfloat16)
const_numpy = const.numpy()
try:
	const_numpy.astype('bfloat16')
except TypeError as e:
	print(f"astype cast {const_numpy.dtype} to 'bfloat16' error: {e}")

try:
	const_numpy.astype(np.dtype('bfloat16'))
except TypeError as e:
	print(f"astype cast {const_numpy.dtype} to np.dtype('bfloat16') error: {e}")

try:
	np.asarray(const_numpy, 'bfloat16')
except TypeError as e:
	print(f"asarray cast {const_numpy.dtype} to 'bfloat16' error: {e}")

try:
	np.asarray(const_numpy, np.dtype('bfloat16'))
except TypeError as e:
	print(f"asarray cast {const_numpy.dtype} to np.dtype('bfloat16') error: {e}")

Hi - this looks like it's unrelated to ml_dtypes. Tensorflow version 2.12 bundled its own definitions of bfloat16 and other custom types; it wasn't until version 2.13 that tensorflow began depending on and using ml_dtypes.

tesnorflow 2.12 require jax>=0.3.15 which in turn require  ml-dtypes>=0.2.0
from output of pip install tensorflow==2.12:
Collecting jax>=0.3.15 (from tensorflow==2.12)
Collecting ml-dtypes>=0.2.0 (from jax>=0.3.15->tensorflow==2.12)

I'm not sure why tensorflow 2.12 lists jax as a dependency. I would raise an issue in the tensorflow repository (I suspect they will suggest updating to a more recent version).

If that is the case, how can it be explained that
pip install ml-dtypes == 0.3.1 solve the issue ?

If you're importing both ml_dtypes and an older tensorflow in the same environment, then having two different bfloat16 declarations can cause issues. ml_dtypes 0.3.1 was released in an era when tensorflow still defined its own bfloat16 type, so it has code to check whether another package has registered bfloat16. We removed that in later versions of ml_dtypes once jax and tensorflow removed their own bfloat16 registrations.
The net result is that if you use an old tensorflow release in the same environment as a new ml_dtypes release, you'll run into compatibility issues like the one you're seeing. The solution is to not import an old tensorflow and a new ml_dtypes in the same environment.
My suggestion would be to update tensorflow, as that's the easiest fix here.


Add support for second_curtain

In eigen we do:
set -o pipefail && xcodebuild -workspace $(WORKSPACE) -scheme $(SCHEME) -configuration Debug test -sdk iphonesimulator -destination $(DEVICE_HOST) | bundle exec second_curtain

So that second_curtain can parse the logs. We're using the native fastlane apis for testing in eidolon but ideally would want to pipe the logs through second_curtain.

what about reading the raw xcodebuild output from a log file? for example (use at own risk, not tested!):
lane :test do
  scan(
    # ...
    buildlog_path: "build/reports"
  )
  sh "cat ../build/reports/xcodebuild.log | second_curtain"
  # or use second_curtain Ruby API to read the file
end

Yeah, that could probably work!


HSEARCH-4373 Use a java service to set the coordinationStrategyExpectations

https://hibernate.atlassian.net/browse/HSEARCH-4373

A default|database build: https://ci.hibernate.org/blue/organizations/jenkins/hibernate-search/detail/PR-2711/4/pipeline

Another build: https://ci.hibernate.org/blue/organizations/jenkins/hibernate-search/detail/PR-2711/5/pipeline


Dog Image Click - Details

###Context**
Describe the issue in detail.
Make sure an image shows a dog's name and background.
Expected Behavior

Make it so when you click on a photo of a dog, it shows the dog's name and their background

Describe what behavior you were expecting.
Acceptance criteria
What needs to be done so that this issue can be marked as solved?

Users will be allowed to click on a photo and understand a dogs name and details on what makes them unique.

Steps to recreate the issue (for bugs)
Screenshots
If you have screenshots, please include them here.
Additional information
Here, you can provide any additional information or documentation you have.

Don't know much about JavaScript but maybe add HTML syntax where an unordered list below each dog photo appears when you click on (s)he.

Maybe make it so all photos of a dog are their own div  and the same with the unordered lists so customizing the photos  and the tables in CSS will be independent of the entire web page styling.

this is a partial duplicate of #3 where I mention dog breeds. Maybe you could group the favorites by breed?


vcpkg-tool-meson tool is too old.

The meson version is currently 0.63.0, but the latest version is 1.2 and 0.62.1

sorry I mistook the repository


added preset for railway=light_rail

adds preset for #4528
https://wiki.openstreetmap.org/wiki/Tag%3Arailway%3Dlight_rail

Looks great @Vonter thank you! 👍


Generate deprecation warning for MultiMessage

Description

Generate deprecation warning for any usage of MultiMessage
Update documentation to illustrate conversion from MultiMessage to ControlMessage

Closes #1718
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/merge


East US listed twice.

East US does not pair with West US 3. We'v got East US listed twice.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 09a788e4-0130-73f2-d985-6fc3aec77974
Version Independent ID: a9f4ec3f-f0a3-b050-020b-f487c74c5179
Content: Cross-region replication in Azure
Content Source: articles/availability-zones/cross-region-replication-azure.md
Service: azure
GitHub Login: @awysza
Microsoft Alias: rarco

@kingces95 Thanks for the feedback! We are currently investigating and will update you shortly.

#please-close


Implement square root as a builtin method to neo3-boa #358

Related issue
#358
Summary or solution description
Added a square root method
How to Reproduce
Call sqrt().
Tests
https://github.com/CityOfZion/neo3-boa/blob/6280ef4a1ee23eab6a6cc1d11fc4cfea9bbfbad0/boa3_test/tests/compiler_tests/test_builtin_method.py#L980-L1015
Platform:

OS: Windows 10 x64
Python version: Python 3.8

The function sqrt is not from Python's builtin package, so it shouldn't be called without any imports.
Can you move it to boa3.builtin package instead?


Ability to enable history blocking

What's involved to get history blocking working?

https://reach.tech/router/credits

I understand this is not something you need but I'm wondering if there is some underlying technical reason this can't be implemented, or if it could be implemented in userland code?

yeah you could create your own history source and pass it to LocationProvider.
https://reach.tech/router/api/LocationProvider
I wasn't really involved with history blocking in react router (and history) but as I understood things, we couldn't reliably block when navigating away from the app (say to google.com) with onbeforeunload. If you dig around the history issues you'll find conversations about it I think, but I'm not sure.

Would there be any concerns with using the window popstate event and doing things imperatively in there? In the listener, you would check the current route, and if you are at the "blocked" route, then either go to a "confirm" route imperatively with navigate, or set something in redux or apollo that causes a modal to be shown and call navigate with the previous route. In either case, you would pass { replace: true } to make it as if the attempted route was never visited.
Is this safe? Advisable?


--remove-all-storage seems to not always work

On the MRI hardware, we ended up with 25 VM images after a while.

???
Please re-open if this is still an issue or you can provide additional details


Issue with ajax call

When I execute an ajax call everything seems to work fine, but when it should run the function success or error doesn't work.
When I debbug it in Chrome, the request show thats the "Initiator" was toastr.js, nevertheless in this part of my code I don´t call a toast.
I've been researching and it seems that toast.js is intercepting all xml request so I want to know if this could be the cause of my Issue

Are you saying that any normal ajax call is not hitting it's success or error callback?

This is the ajax that I'm using
function callAjax() {     $.ajax({         type: "POST",         url: "/Accesos/Index?handler=Example",         beforeSend: function (xhr) {             xhr.setRequestHeader("XSRF-TOKEN",                 $('input:hidden[name="__RequestVerificationToken"]').val());         },         data: "{text: 'text'}",         contentType: "application/json; charset=utf-8",         dataType: "json",         success: function (response) {             alert('success');         },         failure: function (response) {             alert('Error');         }     }); }
The method which is called in AJAX actually is executed and if I check the request in WebBrowser I can see the Response sent it by the method, but I don't know for what reason the success or failure callbacks are not hitting.

I think I found where the issue is. The library is simply overriding the success handler. Should have checked before. Thanks a lot for pointing it out. I will fix this tonight and probably push a new version to Nuget. Cheers

Should be fixed in 5.0.0. Please confirm Thanks.

Beware of the breaking changes in 5.0 though. Go through the read me again


What could be compared against for prediction result?

Since there is no comparison in prediction part, I am wondering is there anything that we can adopt to compare with to get accuracy result or something similar(Like in training part)? To better evaluate the model.

Hi there-- if you know the true labels from a set of observations, then you can use the prediction mode with a trained classifier to assess accuracy on that set.
Does that help?

Yeah. But, do you have any such observations or test datasets?

Btw, have you ever trained with human gene datasets? Like what you did in S/HIC.

I am currently using Tennesse Euro training set in SHIC to train here. For calculating feature vector from simulation step, I am troubled by masking file. Could you help me with this?
Thank you!

I have finished a successful run of training, but the val_accuracy is really low, around 0.38, anything could helpful?

Yeah. But, do you have any such observations or test datasets?

you should use simulated data for this

Btw, have you ever trained with human gene datasets? Like what you did in S/HIC.

i'm not sure what you mean.

I am currently using Tennesse Euro training set in SHIC to train here. For calculating feature vector from simulation step, I am troubled by masking file. Could you help me with this?
Thank you!

The masking file is a fasta formated file with N's in place of the bases you wish to mask out

Yeah. But, do you have any such observations or test datasets?

you should use simulated data for this

Well, I mean, if there is any real dataset for this?

Btw, have you ever trained with human gene datasets? Like what you did in S/HIC.

i'm not sure what you mean.

How does diploSHIC work with human gene datasets, rather than gambiae only?

I am currently using Tennesse Euro training set in SHIC to train here. For calculating feature vector from simulation step, I am troubled by masking file. Could you help me with this?
Thank you!

The masking file is a fasta formated file with N's in place of the bases you wish to mask out

Yes, I used hg19 as genome reference for Tennesse Euro simulations, but the training result is poor, could you help me with this?


fix:use min-height

when using Tag component custom style.
use extendChildrenAfter the element will overflow the container.
like  https://doc.uui.cool/?path=/story/组件-标签-tag--custom-style-1
I think min-height instead of height can fix it.

Currently some components of the UUI are intentionally set to a fixed height, you can easily remove the fixed height style by setting Tailwindcss class h-auto or by setting customize={{ Root: { extendStyle: { height: 'auto' } } }}.
This was originally done to keep same height of some components (Button, Inputs, etc...), and this may not be the best practice. The current UUI component styles are a bit of a mess, but given that UUI is usually used to customize specific styles, I personally don't see this as a big problem.
btw, our designers are working on a new UUI design, and we plan to improve the existing implementation based on the new design.
If you have any suggestions, feel free to comment.


Vendor updates

Most vendor files appear to not be up-to-date:
FileSaver v??? -> v2.0.3
classList v??? -> v1.2.20180112 (probably?)
es5-shim v4.5.13 -> v4.5.14
es6-shim v0.35.4 -> v0.35.5
imagesLoaded v4.1.0 -> v4.1.4
jQuery v3.4.1 -> v3.5.1
lz-string v1.3.3 -> v1.4.4
normalize.css v3.0.3 -> v8.0.1
seedrandom.js v2.3.3 -> v3.0.5
Not sure how many of these you want to update, but the jQuery update included a security fix.

Most vendor files appear to not be up-to-date:

Some of that is by design.  In particular: FileSaver, lz-string, normalize.css, seedrandom.js.  The updates to these have generally been either adding unnecessary functionality, moving functionality away from SugarCube's needs, or simply developer churn.  In specific cases—e.g., lz-string—there's also the worry that changes could result in data loss.
I'll take a closer look anyway, but I doubt I'll do much updating here.

es6-shim v0.35.4 -> v0.35.5

Ignoring this as the only material update was to the shams, which SugarCube does not include.

classList v??? -> v1.2.20180112 (probably?)

1.2.20171210 was the last code update.  1.2.20180112 was just a devel update.
Not sure which version is currently vendored, since the bundled comment doesn't specify, and I didn't edit it as I usually do when the library authors don't do it themselves—which implies it's probably pretty old.
I'll update to 1.2.20171210 and edit the bundled comment to denote to the release.

es5-shim v4.5.13 -> v4.5.14
imagesLoaded v4.1.0 -> v4.1.4
jQuery v3.4.1 -> v3.5.1

Updating.


docs: remove references to the deprecated Request.part()

fix #662

please prefix commit message with docs:

@defunctzombie done

thanks!


Elaborate on 'unintended consequences' from zipCode and address checks

Please elaborate on what you mean by the following:
// Note: enabling both zipCode checks and billing or shipping address can have
// unintended consequences.

Docs have been updated, sorry for the wait!


azure devops extension to support --service-principal login

Describe the bug
az login --service-principal --username xxx --password yyy --tenant zzz
--> Login goes successful.
az devops configure --defaults organization=https://xyz project=xyz
--> This works fine.
az pipelines build list -o table --verbose --debug
--> Error:
Current cloud config:
AzureCloud
trying to get token (temp) for tenant 05d75c05-fa1a-42e7-9cf1-eb416c396f2d and user fc7bc748-404e-4f72-84e2-95cb6f2edb2f
attempting to read file /root/.azure/accessTokens.json as utf-8-sig
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - Authority:Performing instance discovery: ...
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - Authority:Performing static instance discovery
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - Authority:Authority validated via static instance discovery
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 2e75d6f5-b4a6-46da-b9ca-0a2b5cea63eb - CacheDriver:Found 0 potential entries.
not able to get token from az login
Could not retrieve token from local cache. Please run 'az login'.
Traceback (most recent call last):
  File "/root/.azure/cliextensions/azure-devops/azext_devops/dev/common/services.py", line 157, in get_token_from_az_login
    auth_token = profile.get_access_token_for_resource(user, tenant, '499b84ac-1321-427f-aa17-267ca6975798')
  File "/usr/lib/python2.7/site-packages/azure/cli/core/_profile.py", line 506, in get_access_token_for_resource
    username, tenant, resource)
  File "/usr/lib/python2.7/site-packages/azure/cli/core/_profile.py", line 916, in retrieve_token_for_user
    " Please run 'az login'." if not in_cloud_console() else ''))
CLIError: Could not retrieve token from local cache. Please run 'az login'.

As per ERROR, when service principal is used for az login, then token is not retrieved. However it works fine if normal user is used. I have these steps in automation pipeline, where there is no human interaction.
To Reproduce
Azure Cli Version: 2.0.76
Azure-Devops extension version:
Use az --version
Look for something like-
Extensions:
azure-devops (0.14.0)
Steps to reproduce the behavior:

az login
az devops configure defaults.
Try any az pipelines command
See error

Expected behavior
It should return data

Hey @swapnild2111 - azure devops, which is an extension to azure cli, does not support service principal. If you are using service principal for automated login, you can use az devops login with PAT to access azure devops. Here is a link to documentation that explains more - https://docs.microsoft.com/en-us/azure/devops/cli/log-in-via-pat?view=azure-devops&tabs=windows. I am changing this from bug to feature request.

Ohh ok, got it. Feature request makes sense then.
Currently I am using PAT login approach and it works fine.
However I want to move to Service Principal Approach since I do not want to keep my personal token linked to CI/CD anywhere. I will watch update for feature request.
Thank you :)

@tlentine - Apologies for the lack of accuracy in the documentation. I have initiated a PR to get the error in documentation fixed. There are no near term plans to support az login via service principals to enable access to devops commands.

@geverghe Thanks for the update, and please do keep it on the backlog. Using a Service Principal would be much preferred.

Ok so we have to have a PAT token that gives (potentially) elevated access to a project set in our environmental variables (secure or otherwise).
Have you ensured that anybody who has read access to the logs from builds/deployments has the same level of access to modify a build/deployment and their variables? Otherwise this is a security concern. Thanks for that.

Is there any plan in the works to offer something other than a Personal Access Token for automation?  This issue has been open since November.

We have a similar case using FluxCD for GitOps. The FluxCD process (running in our Kubernetes cluster) needs to be able to do a Git pull against Azure DevOps. Currently we configure FluxCD with a PAT, however, it is really not very convenient to store a real users token as part of the CI/CD setup - what if this person leaves the company? Would much prefer to be able to do such things using a service principal.

Not only that, its inconsistent with how the tools work on your local machine.
Make one set of CLI tools and use them everywhere, don't make several versions - how on earth are we supposed to gain any confidence in our pipeline definitions when the commands we run locally function differently to those on the CI? Basic stuff guys.

Why was this put "on the backlog"? In my honest opinion this is one of the basic authentication flows that are supported all through Azure, with Azure DevOps being an outlier.
For reference, we are trying to create Azure Repos from a CI-pipeline to automate our "request a repo" feature. Without an SPN we will need to generate a PAT. This PAT will need to be an Administrator PAT, which leads to a host of security issues, let alone issues when the administrators "leave" the organisation, rendering our pipelines broken. The alternative is just as bad, a service accounts - something we are trying to move away from.
When can we expect Service principal-based authentication in the Azure CLI for DevOps?

Had to raise this with another client again today, its been documented as an issue with the azure devops offering and this ticket has been linked to.

voting for this too. Veri inconvenient to use PAT when automizing devops resource creation!

voting for this too. Veri inconvenient to use PAT when automizing devops resource creation!

Any news on this @geverghe

We also have provisioning scripts running outside DevOps, just bumping to highlight it's not an isolated case.
The problem is exacerbated using GitOps (e.g. FluxCD mentioned above) as your entire infrastructure is dependent on the PAT being valid so it can pull in your IaC repo.

We need this for scaling build servers, this is a basic requirement for security. Please implement.

+1 I want to open a PR in ADO from a pipline that discovers updated dependencies. It looks like I have to use a PAT for this. Please allow full DevOps access for service principals.

Why is there still no service principal authentication support in azure Devops?
It's crucial to be able to automate things to be able to do that in a way that is not dependant on a single users user account and in enterprise settings, you can't easily create "fake" users to misuse as service users...
It shouldn't be impossible to at least use the username+pwd credentials of a service principal and to be able to add the service principal to a team to mange it's permissions. :-(
Please, please, please consider that in the not too distant future.

+1, very painful to discover that what I was going for is simply not supported, with clear interest from industry left unanswered for 2 years and a half now

I cannot believe I've found an open issue with same problem. I wasted two days figuring out how to use SPN within az devops cli - with no success. @geverghe 3y + passed - and this is a crucial thing to be supported for AZ pipelines!!

@enachi , I believe it's your lucky day.  This article just  got published. https://learn.microsoft.com/en-gb/azure/devops/integrate/get-started/authentication/service-principal-managed-identity?view=azure-devops

How can we integrate GitOps(using azure repo) for AKS using service principal? We can only use PAT is there any workaround for this?

I was using PAT as well, but I used this workaround and it works for me :)
https://stackoverflow.com/questions/75536144/azure-pipelines-error-tf401444-please-sign-in-at-least-once-as


Suggestion: Github actions to make dev Builds

Its a simple as the title, Probs not as simple to make but it might work. Making github actions to build the dev branch each commit would be nice so if we wanted a feature that you have made but not released it. this way we can obtain a jar easily and use it in our projects

The idea is good.
However, the challenge is Javet heavily relies on JNI libraries. Any JNI interface mismatches would prevent Javet from being initialized.
Preparing the build environment takes huge effort as it involves building Node.js and V8 from source code.
Anyway, I'll give it a try in the future.

Any JNI interface mismatches would prevent Javet from being initialized.

what do you mean by JNI interface mismatch, like how does that happen?

Looking for a friend, would 0.9.6 JNI work with 0.9.7

what do you mean by JNI interface mismatch, like how does that happen?

JVM is a C++ library and Javet is also a C++ library. When JVM tries to load Javet, if these two libraries are not binary compatible, JVM will crash. It's pretty much C++ stuff.

can u make a release for use me, @orvit-png  and @Cormanz are trying to make a project and we need the new features in 0.9.7 lol

Looking for a friend, would 0.9.6 JNI work with 0.9.7
Edit: it turns out the only friend I needed was myself :(

That depends on whether there are changes to the JNI or not. Sometimes, they are compatible. One of the reasons that Javet C++ libraries are versioned is the binary incompatibility can be avoided.

Have any of the changes regarding 0.9.7 come out to affect the JNI? My build continues to fail so I don't know what to do.

can u make a release for use me, @orvit-png and @Cormanz are trying to make a project and we need the new features in 0.9.7 lol

Please visit gitter to contact me for detail.


'callbackFunction' Option: Accept a generic callback to apply the call with the Slider's value

See the following Demo Page Screen of @bcVamp's feature demo in his forked repo.
An example with a callback funtion to format numeric value to standard USD format:

thousand separators as commas
and cents as decimals

*Benefit is that the develop would have maximum freedom to manipulate the value of the Slider, by the developer's choice of code.

Also added a couple of missing semi-colons.

This is the phase 1 of the proposed currency support, starting with just commonly used USD format.
Phase 2 can consider a "isCurrency" Boolean flag and then a "currencyType" attribute with default to "USD" in an object being passed in .init.

Also did a version in es2015 with some privatized class structure with Weakmap and etc. but then realized the "es-linter" was not supporting es2015 before MR #3 is accepted.
So phase 1.5 can be a refactoring to es2015 right away, since I already have the code written locally.

Hey @bcVamp great feature here, this is definitely going to reduce the redundant code we have. Thought why not pass in a generic function that handles the data instead rather than explicitly saying USD or even currency?
Appreciate the energy and dedication to add new features tho man!

Sounds good, @chrisrng . Your proposal would actually make the feature generic to say:

Accept a callout the the Slider user provides.
Execute the callout to perform with the numeric data, with safety validation to avoid run-time exceptions.

Does this sound like a feasible change for this PR?

@bcVamp looks good id like to keep the demo page generic too haha without all that purple text youre fond of ;)

You got it man, @chrisrng. Thanks for pushing me further for this feature to do generic-oriented feature.
I think I now understand what you're looking for in this open-source project here. Will look out what you log in the Issue list, and pick up an open issue here and there when I've got spare time to jam with code.

@chrisrng , updated this Pull Request to have the callbackFunction option as your suggested. Plz take a look.

Has some conflicts This branch has conflicts that must be resolved  Use the command line

I do owe the due diligence to resolve the conflicts when I have a minute later, before this can be considered accepted. Thanks, @MikeGertrudes  & @chrisrng .

Yes accepted after conflicts are resolved


Fixes from running train_model on tractoinferno.

Improving doc
Improving abstract classes methods
Allowing empty validation set (but warning on good practices added)
Fixed small bug when computing previous_dirs
Increasing maximum length after splitting. I thought there were many very small streamlines.

Hello @EmmaRenauld! Thanks for opening this PR.

In the file dwi_ml/models/batch_samplers.py:

Line 497:80: E501 line too long (82 > 79 characters)

In the file please_copy_and_adapt/train_model.py:

Line 31:78: W291 trailing whitespace

Do see the PEP 8 -- Style Guide for Python Code