Is there a way to save the locate_tiles output image?

Hi there,
I'm using Histolab's RandomTiler to sample my image and extract some tiles at random. I'd like to save the image that gets output when I call the locate_tiles on my tile extractor. I've included a screenshot of the code here for your reference. It's the image in this screenshot that I'd like to save.  Is there a line or two of code that I can use to save the output, perhaps with the PIL?

Also, a separate question on which I'd appreciate some clarity. I've extracted a tile and saved it to a destination folder. I've noticed in the tile's filename  there are some numbers (bolded) "MAG218_seed100_tile_5_level0_691-740-991-940.tiff" If I remember correctly, these are two of the coordinates for the tile, but which ones were they? I can't seem to find that in your documentation.
I appreciate any insights you have. Thanks for all the help! :)

Hi @Neuro-nerd-scientist, the method locate_tiles returns a PIL.Image so you just need to assign the result to a variable:
image = random_tile_extractor.locate_tiles(...)
As for the second question, they are the coordinates of X upper left, Y upper left, X bottom right, Y bottom right
see the docstring here https://github.com/histolab/histolab/blob/8c047e842566dc90516ee7dc9601f301012eaa55/histolab/tiler.py#L217

Thank you very much! :)

Hi @Neuro-nerd-scientist
you can but not strictly out of the box.
First, you need to save the generated tiles from different extraction runs with
tiles_seed0 = random_tiles_extractor_seed0._tiles_generator(slide)
tiles_seed1 = random_tiles_extractor_seed1._tiles_generator(slide)

then you need to create a list of colors to pass to the outline parameter oflocate_tiles and you probably want something like
colors = ['red'] * len(list(tiles_seed0)) + ['blue'] * len(list(tiles_seed1))

and in the end you can call the method with
import itertools
random_tiles_extractor.locate_tiles(slide, outline=colors, tiles=itertools.chain(tiles_seed0, tiles_seed1))

I haven't tried to check if the syntax is 100% OK but this is the idea. Hope this helps!

Thanks for sending this along @alessiamarcolini!
I've tried your suggestion with the following code:
## Initialising the two RandomTiler Instances
rtiler100 = RandomTiler(
    tile_size=(300,200),
    n_tiles=12,
    level=0, # level of magnification at which tiles are extracted
    seed=100,
    check_tissue=True, # default is true
    tissue_percent=1, # default is 80%
    prefix=f"MAG218_seed100_", # the name given to each the start of each tile's filename
    suffix=".tiff" # default is png
)

rtiler200 = RandomTiler(
    tile_size=(300,200),
    n_tiles=12,
    level=0, # level of magnification at which tiles are extracted
    seed=200,
    check_tissue=True, # default is true
    tissue_percent=1, # default is 80%
    prefix=f"MAG218_seed200_", # the name given to each the start of each tile's filename
    suffix=".tiff" # default is png
)

## saving the tiles generated from different extraction runs
tiles_100 = rtiler100._tiles_generator(MAG_slide)
tiles_200 = rtiler200._tiles_generator(MAG_slide)

colours = ['red'] * len(list(tiles_100)) + ['blue'] * len(list(tiles_200))

But now with this last step, what variable name should I pass ahead of the locate_tiles operation to combine the two extraction runs? Is there a way to combine the two runs into one so I can pass it here. Up until this point, there are generable outputs (both blocks above work).  But this block (below) is throwing errors because of the variable name.
## What name should I pass instead of rtiler that shows the combination of rtiler100 and rtiler200 in the same locate_tiles_operation?
## Is there a way to combine the two together before passing them into the locate_tiles?
import itertools
rtiler.locate_tiles(MAG_slide, outline = colours, tiles = itertools.chain(tiles_100, tiles_200))

I really appreciate all the help, thanks again :)


ivanchuk-2 embedded ansible not working

I have a fresh installed Ivanchuck-2 and i have configured nothing else than embedded ansible.
Imported a git repo and created a catalog service with the playbook. When I execute the request, it gets approved and then stuck in "Active" forever.
I have tested on ESXI (behind a http proxy) and on vMWare fusion (direct internet connection). Same results.
I shot a screencast:
Part 1:  https://www.youtube.com/watch?v=GputnEWQwQI
Part 2: https://www.youtube.com/watch?v=cpdwOcrlHLc
Log files and screenshots from task: https://1drv.ms/u/s!Arigdeh0bCInlaNDx7pn6we6G6JWPg?e=vwo4wh
Playbook:
`---

name: Acquire and Set an IP Address
hosts: all
tasks:

name: Hello World
debug:
msg: "Hello World"`

I have tested embedded ansible on the latest ivanchuck-3 docker image
sudo docker run -d -p 443:443 manageiq/manageiq:ivanchuk-3
Add Peter McGowan's public GitHub repository and run the following playbook:
https://github.com/pemcg/ansible_playbooks/blob/master/get_attribute.yml
All logs from the docker container:
https://1drv.ms/t/s!Arigdeh0bCInlaQVRBj77MgFmlqL-w?e=WzVRjw
Screenshots of job status and playbook configuration:
https://1drv.ms/u/s!Arigdeh0bCInlaQcFe1OVwGlNAeX3w?e=XQPtqq

@NickLaMuro Seems @pertoft made some progress and found that some values in ansible.cfg cause a failure.  Here is an example repo stripped down to cause the issue - https://github.com/pertoft/manageiq-playbooks

FYI:  I mentioned this in gitter:
https://gitter.im/ManageIQ/manageiq?at=5e9deb3ad240da24338adff3
But by removing the vault configuration line in the ansible.cfg for that repo:
https://github.com/NickLaMuro/manageiq-playbooks/commit/80b7e1f12ab9501a20743af2e6eb80ca6264b4da
I was able to get the playbooks to run just fine, and they failed prior.  That said, when failing there was no "spinning forever" on my end, and they failed with output displayed in the UI.


MMS - Forced Alignment: Array shapes problem

🐛 Bug
I want to forced align an audio file with its text transcription but i encounter this issue when i run this command: python align_and_segment.py --audio_filepath audio.wav --text_filepath text.txt --lang ful --outdir output --uroman uroman/bin
Using torch version: 2.0.1+cu118
Using torchaudio version: 2.0.2+cu118
Using device:  cuda
Read 63 lines from ../../../../B27_20_Apocalypse.txt
Downloading model and dictionary...
Model path already exists. Skipping downloading....
Dictionary path already exists. Skipping downloading....
Traceback (most recent call last):
  File "/content/fairseq/examples/mms/data_prep/align_and_segment.py", line 187, in <module>
    main(args)
  File "/content/fairseq/examples/mms/data_prep/align_and_segment.py", line 118, in main
    segments, stride = get_alignments(
  File "/content/fairseq/examples/mms/data_prep/align_and_segment.py", line 75, in get_alignments
    emissions, stride = generate_emissions(model, audio_file)
  File "/content/fairseq/examples/mms/data_prep/align_and_segment.py", line 59, in generate_emissions
    emissions = torch.cat(emissions_arr, dim=1).squeeze()
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 1649 but got size 1799 for tensor number 1 in the list.

thank you for the help.

Hi, can you change torch.cat(emissions_arr, dim=1) --> torch.cat(emissions_arr, dim=-1)  in align_and_segment.py file. I'll send a PR to fix the code soon.

I had the same issue and change to dim=-1 does NOT fix the issue.

Hi, I just landed the fix in https://github.com/facebookresearch/fairseq/pull/5133. Please use the updated code.


Build kfctl in Dockerfile with Alpine based image

I'm not sure if this is used, but the Dockerfile produces an image that is not functional. The build image is Debian based (glibc) but the final runtime image is Alpine based (musl). There are three possible fixes:

Switch the build image to Alpine
Add libc6-compat to the runtime image
Switch the runtime image to Debian or Distroless

I've arbitrarily chosen the first option and fixed up the sh and sleep commands. Additionally, ca-certificates is needed for kfctl init to complete successfully.

This change is

/retest

@kkasravi sorry I don't have context to compare between base images, could I rely on you for the review?  thanks.


A map shift or a projection failure?

There is one and the same map with polygons. The same data is used.
Map 1. Everything is displayed as intended.
http://mycology.su/wp-content/plugins/wp-ds-myco-geographical-habitat/index.html
Map 2. The WordPress environment does not display correctly.
http://mycology.su/cortinarius-caperatus.html
What can influence the map?
How can I fix it myself?
Leaflet version 1.3.1

I see no issues on both urls — the map works.

Closing the issue. If you still experience a problem, please make sure to fill out the full issue template for us to be able to diagnose it.

I agree with @tomchadwin, the polygons are shifted in the second link.
However, this falls under our policy of not debugging issues that only appear together with other frameworks, libraries, etc. In this case, it appears the Wordpress site does something that cause this.
I would look into CSS rules that potentially shift one element or another a couple of pixels.
Please provide information on how to reproduce if you believe this is actually an issue with Leaflet itself.

I don't think it's a projection issue. As far as I can see, the displacement remains the same in pixels regardless of zoom level. I'd your styles are the same in each version, then I'd guess @perliedman is right, and some non-map CSS is interfering.

I cannot reproduce - the polygons fit the province boundaries in both cases here. (Using Firefox 59.0.2 and Chromium 66.0.3359)

@perliedman
You gave me the right idea. Thanks.
Live interfered with redefined CSS style for the IMG tag (img{padding: 5px;}).


[Gekidou MM-43992] Display message priority labels for the posts

Summary
Implements phase 1 of the Message Priority feature displaying only the labels beside the post.
Ticket Link
https://mattermost.atlassian.net/browse/MM-46584
Works with server PR:  https://github.com/mattermost/mattermost-server/pull/20875
Checklist

[ ] Added or updated unit tests (required for all new features)
[x] Has UI changes
[x] Includes text changes and localization file updates
[x] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on: iOS 15.5, Android 11
Screenshots

 With CRT
 Without CRT

Release Note
Added labels for message priority.

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/24717
https://circleci.com/gh/mattermost/mattermost-mobile/24716

Artifact links:
https://output.circle-artifacts.com/output/job/e06095f3-a04c-40fb-8ab1-e7a8a168b8ff/artifacts/0/tmp/artifacts/Mattermost_Beta.apk
https://output.circle-artifacts.com/output/job/1f0b579f-da96-468e-a9f9-56a9d000991d/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa

@anurag6713 this is great! Can we aim to merge this asap so it's available on the beta app?
cc// @koox00 for review


Updated Example to work with rn 0.55.4

Motivation (required)
The sample app is broken. I've updated it so it works with the latest stable rn version (0.55.4)

Fixed in 979b9a8.


Add github CI

Depends on #1

Yes, I plan to hook this up with lsp-mode and emacs-tree-sitter (for syntax highlighting) before publishing

Yes, I plan to hook this up with lsp-mode

Generally you shouldn't add anything about lsp-mode in the major mode code. Not everyone will want/need LSP, and also there are alternative packages for LSP like eglot.

and emacs-tree-sitter (for syntax highlighting) before publishing

I think if you do this then the convention would be call it nickel-ts-mode. But I'd advise against doing this if you can avoid it because tree-sitter is only available with development versions of Emacs, as far as I know. Perhaps better (IMO) to add some basic font-lock rules.

(Of course, having a major mode helpfully already gives you something you can refer to in your lsp-mode configuration.)

It actually looks good to me afaict — the comments are font-locked correctly, at least in Emacs 28.2. Perhaps you didn't fully reload all the definitions while testing. One suggestion I'd have is to add two ;;;###autoload lines: put one before the auto-mode-alist modification, and one before the define-derived-mode form. Then, once installed as a package, everything will just work.

One little thing I noticed which doesn't work correctly yet is multiline strings, like this. You'd need to write a syntax-propertize-function to handle that, iirc.

Here's another quirk, the "in" when it's part of a longer word:

I think you can fix that by using 'symbols (note the plural) as the last param to regexp-opt in all the font lock keyword definitions.

Also, some advice on workflow: there wasn't any useful nickel-mode code before this, so you didn't really need a PR because these changes were an automatic improvement. In fact, if you'd just pushed the code and asked for a review, my suggestions above probably would have ended up in a PR that would fix the issues directly — easier for everyone. Basically, feel free to be bold and move quickly when there's little risk. (A middle ground is to open a PR, but immediately merge it — that leaves a place for discussion/comments.)

Unsure why the checks are failing, might be worth just re-running the failing Actions.

Everything seems correct, so I don't know why the CI is failing 🤔

Odd. Perhaps I made a mistake in 5be44f5? You might need to add back in the ignore_warnings setting.

Awesome. I submitted a MELPA recipe too.

(Packages should start building automatically within the next few hours.)


Compatilibity with SHA1 Sentry file

Automatic detect, use, update... and mainly, its works :dancer:
Eh i almost forgot, just only paste a sentryfile from NodeSteam to sentryfiles (format sentry_USERNAME.hash"), its automatically detects. I though this is a best way to do that.
Now, its be works to merge pull request + on #667 is not added a Updating a sentry file, i though its good to updating a Sentry file what is using, not creating new etc..
P.S. Sorry for wrong tabbing, i edited it from Notepad++, not Visual Studio so its do a wrong tabbing :D

node-steam provides complete sentry blob since v1.x, not just the SHA-1
your code seems to only allow files that are named "sentry_{0}.hash" (where {0} is the login)

Frankly, this is no longer needed.

@scholtzm Yes, huh, i already using a not v1.x version and this tweak is for me great. Anyway i though its be a good to still have this feature, maybe i do another comit what add a type of sentry file to config, when default is a nonSHA1 sentry

This patch would make sense before but it's long over due.
node-steam doesn't store the sentry file in any particular fashion, it just provides the complete buffer since v1.x. This buffer is identical to SteamBot's format. Adding support for legacy versions of node-steam also makes no sense since the SHA-1 could have been stored in many different ways.

This doesn't seem to be needed anymore so I will close it. The indentation is also off so not merging anyways.


subscribe filtering issue

Hi!
We're trying to use subscribe for both FAULT and HALT tx, it doesnt look like it is working as intended
{
        "jsonrpc": "2.0",
        "method": "subscribe",
        "params": ["transaction_executed", {"container": hash}],
        "id": 1
}

i would expect this to work, but throws params invalid, otherwise maybe there's another way if i want to subscribe both to FAULT and HALT tx?
just HALT or just FAULT works of course like this
{
        "jsonrpc": "2.0",
        "method": "subscribe",
        "params": ["transaction_executed", { "state": "HALT", "container": hash }],
        "id": 1
}

Are you using 0.99.4? container filter is a very recent addition, IIRC not available in stable versions yet.

Are you using 0.99.4? container filter is a very recent addition, IIRC not available in stable versions yet.

Yes using 0.99.4

I think I see where your problem is with the first request. I'm not sure why we've not seen it previously though, RPC tx waiter code uses the same request. @AnnaShaleva, please take a look at it, should be easy to fix/test.


Build pipelines

Fixes https://github.com/github/orchestrator-agent/issues/24
Changing build scripts to comply with an internal build system.

meant to be submitted on downstream fork. Safe to ignore.


[Battlegrounds] HDT Clears opponent deck cache on reconnect

As the title suggests, upon reconnecting HDT "forgets" the old decks of your opponents.
Is it possible to prevent this from occurring?

Yes, working on it, thanks for the advice.


Update testReducerNoDtype and others to not run duplicate tests.

ndarray.item() should return a python type (eg: float, complex, int)
and thus many PYTHON_SCALAR_SHAPE types are duplicated.

e.g. maybe we could change it so that our shape enumerations look like for shape in all_shapes(dtype). What do you think?

The reason why this only affects the bfloat16 is that the test goes like so:
v = input.item()
v = np.array(v)
...
return v
There is a special case for bf16 (just these nan tests) that goes like so:
v = input.item()
v = np.array(v)
v = np.array(v, dtype=float32)
...
v = np.array(v, dtype=bfloat16)
return v
the item() change makes the type of blah.item() become float instead of bfloat16.


How to know which native version those bindings were made against

Hello there,
Where can we find the native version info of each bindings, cause it seems difficult today to clearly understand for example which version of the Maps SDK for iOS is used by Xamarin.Google.iOS.Maps 3.9 ? Could be VERY VERY handy to have that in the readme.
Are the version on cocoapods a 1-1 with those ? For example, is v3.9.0 the 1-1 of this nuget v3.9.0 version ?
Thank you.

Actually as it is Xamarin Bindings, we can check in the targets here
But I believe it could be written on the readme for each bindings of this repo


Minor copy tweaks to code comments

./abletonosc/handler.py:52: accesing ==> accessing
./pythonosc/dispatcher.py:84: arguements ==> arguments
./pythonosc/parsing/ntp.py:9: signifigant ==> significant

@ideoforms i hope these are sensible to land into the main repo

These comments are from classes in that have been duplicated from the pythonosc package, so they may be reverted at some point in the future if I ever need to update that dependency. Happy to merge this PR as I appreciate that you've put time into this, but just a heads up!


Fix unit tests

Both the runner and some of the unit tests seem broken currently.
Test Action Runner
During setup the following error happens:
Creating spatial-data-package-platform_www_1    ... done
cd django && make init
make[1]: Entering directory '/home/runner/work/spatial-data-package-platform/spatial-data-package-platform/django'
make symlinks
make[2]: Entering directory '/home/runner/work/spatial-data-package-platform/spatial-data-package-platform/django'
docker-compose exec django sh -c "cd /var/services/django; ln -s media downloads"
the input device is not a TTY
make[2]: *** [symlinks] Error 1
Makefile:33: recipe for target 'symlinks' failed
make[2]: Leaving directory '/home/runner/work/spatial-data-package-platform/spatial-data-package-platform/django'
make[1]: *** [init] Error 2
make: *** [init] Error 2
Makefile:58: recipe for target 'init' failed
make[1]: Leaving directory '/home/runner/work/spatial-data-package-platform/spatial-data-package-platform/django'
Makefile:13: recipe for target 'init' failed
Error: Process completed with exit code 2.

Unit tests
django
Running cd django && make tests locally on master results in the following output:
=========================================================== short test summary info ===========================================================
ERROR gsmap/tests.py::test_municipalities_exists - django.core.management.base.CommandError: No fixture named 'sites.site' found.
ERROR gsmap/tests.py::test_snapshots_exists - django.core.management.base.CommandError: No fixture named 'sites.site' found.
======================================================= 324 warnings, 2 errors in 2.21s =======================================================

Vue
Running cd vue && make tests locally on master results in the following output:
vue % make tests
docker-compose exec vue yarn test
yarn run v1.19.2
$ ava --verbose --timeout=30s test/**/*.spec.js

  ✖ SnapshotList.vue

  1 test failed

  SnapshotList.vue

  test/components/SnapshotList.spec.js:41

  Difference:

  - 0
  + 2

  › test/components/SnapshotList.spec.js:41:5

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

+1
@yvess any inputs on the kind of work required here?

see #74 test runner works now

see #74 test runner works now

tried that PR locally. See my output below.

thorben.cividi@book spatial-data-package-platform % make tests
cd django && make tests
docker-compose exec  django pytest --create-db
======================================================== test session starts ========================================================
platform linux -- Python 3.8.5, pytest-6.2.1, py-1.10.0, pluggy-0.13.1
django: settings: main.settings_tests (from ini)
rootdir: /opt/app, configfile: pytest.ini
plugins: django-4.1.0
collected 2 items
gsmap/tests.py EE                                                                                [100%]
============================================================== ERRORS ===============================================================
___________________________________________ ERROR at setup of test_municipalities_exists ____________________________________________
request = <SubRequest '_django_db_marker' for >
@pytest.fixture(autouse=True)
def _django_db_marker(request):
    """Implement the django_db marker, internal to pytest-django.

    This will dynamically request the ``db``, ``transactional_db`` or
    ``django_db_reset_sequences`` fixtures as required by the django_db marker.
    """
    marker = request.node.get_closest_marker("django_db")
    if marker:
        transaction, reset_sequences = validate_django_db(marker)
        if reset_sequences:
            request.getfixturevalue("django_db_reset_sequences")
        elif transaction:
            request.getfixturevalue("transactional_db")
        else:

          request.getfixturevalue("db")

/usr/lib/python3.8/site-packages/pytest_django/plugin.py:436:

/opt/app/conftest.py:8: in django_db_setup
call_command('loaddata', 'fixtures-tests/sites.site.json')
/usr/lib/python3.8/site-packages/django/core/management/init.py:168: in call_command
return command.execute(*args, **defaults)
/usr/lib/python3.8/site-packages/django/core/management/base.py:371: in execute
output = self.handle(*args, **options)
/usr/lib/python3.8/site-packages/django/core/management/commands/loaddata.py:72: in handle
self.loaddata(fixture_labels)
/usr/lib/python3.8/site-packages/django/core/management/commands/loaddata.py:106: in loaddata
if self.find_fixtures(fixture_label):

self = <django.core.management.commands.loaddata.Command object at 0x400b47f9a0>, fixture_label = 'fixtures-tests/sites.site.json'
@functools.lru_cache(maxsize=None)
def find_fixtures(self, fixture_label):
    """Find fixture files for a given label."""
    if fixture_label == READ_STDIN:
        return [(READ_STDIN, None, READ_STDIN)]

    fixture_name, ser_fmt, cmp_fmt = self.parse_name(fixture_label)
    databases = [self.using, None]
    cmp_fmts = list(self.compression_formats) if cmp_fmt is None else [cmp_fmt]
    ser_fmts = serializers.get_public_serializer_formats() if ser_fmt is None else [ser_fmt]

    if self.verbosity >= 2:
        self.stdout.write("Loading '%s' fixtures..." % fixture_name)

    if os.path.isabs(fixture_name):
        fixture_dirs = [os.path.dirname(fixture_name)]
        fixture_name = os.path.basename(fixture_name)
    else:
        fixture_dirs = self.fixture_dirs
        if os.path.sep in os.path.normpath(fixture_name):
            fixture_dirs = [os.path.join(dir_, os.path.dirname(fixture_name))
                            for dir_ in fixture_dirs]
            fixture_name = os.path.basename(fixture_name)

    suffixes = (
        '.'.join(ext for ext in combo if ext)
        for combo in product(databases, ser_fmts, cmp_fmts)
    )
    targets = {'.'.join((fixture_name, suffix)) for suffix in suffixes}

    fixture_files = []
    for fixture_dir in fixture_dirs:
        if self.verbosity >= 2:
            self.stdout.write("Checking %s for fixtures..." % humanize(fixture_dir))
        fixture_files_in_dir = []
        path = os.path.join(fixture_dir, fixture_name)
        for candidate in glob.iglob(glob.escape(path) + '*'):
            if os.path.basename(candidate) in targets:
                # Save the fixture_dir and fixture_name for future error messages.
                fixture_files_in_dir.append((candidate, fixture_dir, fixture_name))

        if self.verbosity >= 2 and not fixture_files_in_dir:
            self.stdout.write("No fixture '%s' in %s." %
                              (fixture_name, humanize(fixture_dir)))

        # Check kept for backwards-compatibility; it isn't clear why
        # duplicates are only allowed in different directories.
        if len(fixture_files_in_dir) > 1:
            raise CommandError(
                "Multiple fixtures named '%s' in %s. Aborting." %
                (fixture_name, humanize(fixture_dir)))
        fixture_files.extend(fixture_files_in_dir)

    if not fixture_files:

      raise CommandError("No fixture named '%s' found." % fixture_name)

E           django.core.management.base.CommandError: No fixture named 'sites.site' found.
/usr/lib/python3.8/site-packages/django/core/management/commands/loaddata.py:271: CommandError
------------------------------------------------------- Captured stderr setup -------------------------------------------------------
Got an error creating the test database: database "test_webui-tests    " already exists
______________________________________________ ERROR at setup of test_snapshots_exists ______________________________________________
request = <SubRequest '_django_db_marker' for >
@pytest.fixture(autouse=True)
def _django_db_marker(request):
    """Implement the django_db marker, internal to pytest-django.

    This will dynamically request the ``db``, ``transactional_db`` or
    ``django_db_reset_sequences`` fixtures as required by the django_db marker.
    """
    marker = request.node.get_closest_marker("django_db")
    if marker:
        transaction, reset_sequences = validate_django_db(marker)
        if reset_sequences:
            request.getfixturevalue("django_db_reset_sequences")
        elif transaction:
            request.getfixturevalue("transactional_db")
        else:

          request.getfixturevalue("db")

/usr/lib/python3.8/site-packages/pytest_django/plugin.py:436:

/opt/app/conftest.py:8: in django_db_setup
call_command('loaddata', 'fixtures-tests/sites.site.json')
/usr/lib/python3.8/site-packages/django/core/management/init.py:168: in call_command
return command.execute(*args, **defaults)
/usr/lib/python3.8/site-packages/django/core/management/base.py:371: in execute
output = self.handle(*args, **options)
/usr/lib/python3.8/site-packages/django/core/management/commands/loaddata.py:72: in handle
self.loaddata(fixture_labels)
/usr/lib/python3.8/site-packages/django/core/management/commands/loaddata.py:106: in loaddata
if self.find_fixtures(fixture_label):

self = <django.core.management.commands.loaddata.Command object at 0x400b47f9a0>, fixture_label = 'fixtures-tests/sites.site.json'
@functools.lru_cache(maxsize=None)
def find_fixtures(self, fixture_label):
    """Find fixture files for a given label."""
    if fixture_label == READ_STDIN:
        return [(READ_STDIN, None, READ_STDIN)]

    fixture_name, ser_fmt, cmp_fmt = self.parse_name(fixture_label)
    databases = [self.using, None]
    cmp_fmts = list(self.compression_formats) if cmp_fmt is None else [cmp_fmt]
    ser_fmts = serializers.get_public_serializer_formats() if ser_fmt is None else [ser_fmt]

    if self.verbosity >= 2:
        self.stdout.write("Loading '%s' fixtures..." % fixture_name)

    if os.path.isabs(fixture_name):
        fixture_dirs = [os.path.dirname(fixture_name)]
        fixture_name = os.path.basename(fixture_name)
    else:
        fixture_dirs = self.fixture_dirs
        if os.path.sep in os.path.normpath(fixture_name):
            fixture_dirs = [os.path.join(dir_, os.path.dirname(fixture_name))
                            for dir_ in fixture_dirs]
            fixture_name = os.path.basename(fixture_name)

    suffixes = (
        '.'.join(ext for ext in combo if ext)
        for combo in product(databases, ser_fmts, cmp_fmts)
    )
    targets = {'.'.join((fixture_name, suffix)) for suffix in suffixes}

    fixture_files = []
    for fixture_dir in fixture_dirs:
        if self.verbosity >= 2:
            self.stdout.write("Checking %s for fixtures..." % humanize(fixture_dir))
        fixture_files_in_dir = []
        path = os.path.join(fixture_dir, fixture_name)
        for candidate in glob.iglob(glob.escape(path) + '*'):
            if os.path.basename(candidate) in targets:
                # Save the fixture_dir and fixture_name for future error messages.
                fixture_files_in_dir.append((candidate, fixture_dir, fixture_name))

        if self.verbosity >= 2 and not fixture_files_in_dir:
            self.stdout.write("No fixture '%s' in %s." %
                              (fixture_name, humanize(fixture_dir)))

        # Check kept for backwards-compatibility; it isn't clear why
        # duplicates are only allowed in different directories.
        if len(fixture_files_in_dir) > 1:
            raise CommandError(
                "Multiple fixtures named '%s' in %s. Aborting." %
                (fixture_name, humanize(fixture_dir)))
        fixture_files.extend(fixture_files_in_dir)

    if not fixture_files:

      raise CommandError("No fixture named '%s' found." % fixture_name)

E           django.core.management.base.CommandError: No fixture named 'sites.site' found.
/usr/lib/python3.8/site-packages/django/core/management/commands/loaddata.py:271: CommandError
========================================================= warnings summary ==========================================================
../../usr/lib/python3.8/site-packages/graphene/types/field.py:2
/usr/lib/python3.8/site-packages/graphene/types/field.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Mapping, OrderedDict
../../usr/lib/python3.8/site-packages/graphene/relay/connection.py:2
/usr/lib/python3.8/site-packages/graphene/relay/connection.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Iterable, OrderedDict
../../usr/lib/python3.8/site-packages/packaging/version.py:127: 312 warnings
/usr/lib/python3.8/site-packages/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:17
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:17: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
max_length=255, primary_key=True, help_text=_("Unique id for this job.")
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:24
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:24: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_(
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:64
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:64: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
primary_key=True, help_text=_("Unique ID for this job execution.")
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:70
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:70: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_("The job that this execution relates to."),
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:78
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:78: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_("The current status of this job execution."),
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:82
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:82: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
db_index=True, help_text=_("Date and time at which this job was executed."),
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:92
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:92: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_("Total run time of this job (in seconds)."),
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:100
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:100: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_("Timestamp at which this job was finished."),
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:106
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:106: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_(
../../usr/lib/python3.8/site-packages/django_apscheduler/models.py:113
/usr/lib/python3.8/site-packages/django_apscheduler/models.py:113: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
help_text=_(
-- Docs: https://docs.pytest.org/en/stable/warnings.html
====================================================== short test summary info ======================================================
ERROR gsmap/tests.py::test_municipalities_exists - django.core.management.base.CommandError: No fixture named 'sites.site' found.
ERROR gsmap/tests.py::test_snapshots_exists - django.core.management.base.CommandError: No fixture named 'sites.site' found.
================================================= 324 warnings, 2 errors in 17.13s ==================================================
ERROR: 1
make[1]: *** [tests] Error 1
make: *** [tests] Error 2

Fixed on https://github.com/cividi/spatial-data-package-platform/commit/a3d752986f799b6bfbdfdd398a00f9ccf172e495


Add energy grid models to repo

Purpose
added new energy grid models to repo

...

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

How to Test
No testing needed, just json (dtdl) files
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
check and make sure energy-grid files are all there

...

Other Information

per taylors request :)

@baanders done, renamed to basic


File base routing option

What is the feature you are proposing?
Include a file/directory routing option for an improved DX experience & reduce the chances of using the same api names in multiple places for large backend only applications. I really appreciate the light weight, focused & simplistic nature of hono.js and I feel file routing would further enhance the experience even more.

I think you can use hono/factory or honox.

Honox fit my needs, Ty! However, I would love the ability to ignore directory names. Useful when describing role based auth. Example below, _hidden-directory/ wouldn't be used in the api but I would still combine it with a _middleware.ts file

Desired result: http://localhost:5173/about/show


Look into supporting custom props on the created Actors.

It would be nice if we store unconverted properties in an Actor component on created objects, similar to the SpeckleProperties in Unity.

Closing this ticket as we are moving to Jira to reduce noise. You can access it there.


Space after  tag is removed

In xml documents, a space after <c> tag is removed.
<c>DoWork</c> is a method in the <c>TestClass</c> class. returns DoWorkis a method in the TestClassclass..

Here's the omnisharp logs.
        ************ Request ************
{"Type":"request","Seq":714,"Command":"/typelookup","Arguments":{"FileName":"<file path>","Line":83,"Column":35,"IncludeDocumentation":true}}
[dbug]: OmniSharp.Stdio.Host
        ************  Response ************
{"Request_seq":714,"Command":"/typelookup","Running":true,"Success":true,"Message":null,"Body":{"Type":"void TestClass.DoWork(int Int1)","Documentation":"DoWorkis a method in the TestClassclass.\n"},"Seq":2541,"Type":"response"}

@akshita31 Can you take a look?

This issue has been fixed in the 1.14 milestone. We just released a beta of 1.14 - https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.14.0-beta4. Follow these instructions to install a beta release of C# for VS Code.


chore(main): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2024-02-19)
Build System

Update .nvmrc and .npmignore files and packages (0db5c68)

Continuous Integration

Update Node version in workflows (c31e857)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Basalt-Lab/basalt-auth/releases/tag/v1.0.4 :sunflower:


update queries with sql in materialized view

This adds the sql query for materialized view in comments

@JamesKunstle Im not too familiar with how materialized views work on if there is a way to "read" a materialized view. Ill noodle on where we can put the current sql write out and talk to sean about the possibility of "reading" the materialized view once we get past this current set of augur fixes

@sgoggins just to confirm, materialized views are unique to a single db?

@cdolfi I'd write the query as a .sql document in the 8Knot/docs folder and put a reference to that file in the company and contributors function docstrings.

@JamesKunstle great ideas, implemented it. This is ready for review again


optimize webfont loading

We have an optimization opportunity wrt our webfont loading. There are a few hundred milliseconds where we're blocked on loading fonts, or the page lays out, but text doesn't render until the fonts are loaded. Some of these techniques might help here:
https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/webfont-optimization?hl=en

@Georgehe4 - an older issue to track optimizing our web font loading.

Related to https://github.com/dart-lang/dart-pad/issues/389.

Related to https://github.com/dart-lang/dart-pad/issues/531.

done


[SPARK-17091][SQL] Add rule to convert IN predicate to equivalent Parquet filter

What changes were proposed in this pull request?
The original pr is: https://github.com/apache/spark/pull/18424
Add a new optimizer rule to convert an IN predicate to an equivalent Parquet filter and add spark.sql.parquet.pushdown.inFilterThreshold to control limit thresholds. Different data types have different limit thresholds, this is a copy of data for reference:

Type
limit threshold

string
370

int
210

long
285

double
270

float
220

decimal
Won't provide better performance before SPARK-24549

How was this patch tested?
unit tests and manual tests

Test build #92156 has started for PR 21603 at commit 4f96881.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/367/
Test PASSed.

Merged build finished. Test PASSed.

Test build #92156 has finished for PR 21603 at commit 4f96881.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92156/
Test FAILed.

Jenkins, retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/370/
Test PASSed.

Test build #92161 has started for PR 21603 at commit 4f96881.

Test build #92161 has finished for PR 21603 at commit 4f96881.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92161/
Test PASSed.

cc @gatorsmile, @viirya, @jiangxb1987 and @a10y too

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/399/
Test PASSed.

Test build #92198 has started for PR 21603 at commit b9b3160.

Test build #92198 has finished for PR 21603 at commit b9b3160.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92198/
Test FAILed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/403/
Test PASSed.

Test build #92203 has started for PR 21603 at commit b9b3160.

Test build #92203 has finished for PR 21603 at commit b9b3160.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92203/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/409/
Test PASSed.

Test build #92210 has started for PR 21603 at commit d57f44c.

Test build #92210 has finished for PR 21603 at commit d57f44c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92210/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/447/
Test PASSed.

Test build #92280 has started for PR 21603 at commit 8218596.

Test build #92280 has finished for PR 21603 at commit 8218596.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92280/
Test FAILed.

Jenkins, retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/482/
Test PASSed.

Test build #92340 has started for PR 21603 at commit 8218596.

Test build #92340 has finished for PR 21603 at commit 8218596.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92340/
Test PASSed.

Benchmark result:
##########################[ Pushdown benchmark for InSet -> InFilters ]##########################
Java HotSpot(TM) 64-Bit Server VM 1.8.0_151-b12 on Mac OS X 10.12.6
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz

InSet -> InFilters (threshold: 10, values count: 5, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7649 / 7678          2.1         486.3       1.0X
Parquet Vectorized (Pushdown)                  316 /  325         49.8          20.1      24.2X
Native ORC Vectorized                         6787 / 7353          2.3         431.5       1.1X
Native ORC Vectorized (Pushdown)              1010 / 1020         15.6          64.2       7.6X

InSet -> InFilters (threshold: 10, values count: 5, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7537 / 7944          2.1         479.2       1.0X
Parquet Vectorized (Pushdown)                  297 /  306         52.9          18.9      25.3X
Native ORC Vectorized                         6768 / 6779          2.3         430.3       1.1X
Native ORC Vectorized (Pushdown)               998 / 1017         15.8          63.4       7.6X

InSet -> InFilters (threshold: 10, values count: 5, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7500 / 7592          2.1         476.8       1.0X
Parquet Vectorized (Pushdown)                  299 /  306         52.5          19.0      25.1X
Native ORC Vectorized                         6758 / 6797          2.3         429.7       1.1X
Native ORC Vectorized (Pushdown)               982 /  993         16.0          62.4       7.6X

InSet -> InFilters (threshold: 10, values count: 10, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7566 / 8153          2.1         481.1       1.0X
Parquet Vectorized (Pushdown)                  319 /  328         49.3          20.3      23.7X
Native ORC Vectorized                         6761 / 6812          2.3         429.8       1.1X
Native ORC Vectorized (Pushdown)               995 / 1013         15.8          63.3       7.6X

InSet -> InFilters (threshold: 10, values count: 10, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7512 / 7581          2.1         477.6       1.0X
Parquet Vectorized (Pushdown)                  315 /  322         50.0          20.0      23.9X
Native ORC Vectorized                         6712 / 6774          2.3         426.8       1.1X
Native ORC Vectorized (Pushdown)              1001 / 1032         15.7          63.6       7.5X

InSet -> InFilters (threshold: 10, values count: 10, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7603 / 7689          2.1         483.4       1.0X
Parquet Vectorized (Pushdown)                  308 /  317         51.0          19.6      24.7X
Native ORC Vectorized                         7011 / 7605          2.2         445.7       1.1X
Native ORC Vectorized (Pushdown)              1038 / 1067         15.2          66.0       7.3X

InSet -> InFilters (threshold: 10, values count: 50, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7750 / 7796          2.0         492.7       1.0X
Parquet Vectorized (Pushdown)                 7855 / 7961          2.0         499.4       1.0X
Native ORC Vectorized                         7120 / 7820          2.2         452.7       1.1X
Native ORC Vectorized (Pushdown)              1085 / 1122         14.5          69.0       7.1X

InSet -> InFilters (threshold: 10, values count: 50, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7920 / 8012          2.0         503.5       1.0X
Parquet Vectorized (Pushdown)                 7855 / 8159          2.0         499.4       1.0X
Native ORC Vectorized                         7087 / 7105          2.2         450.6       1.1X
Native ORC Vectorized (Pushdown)              1098 / 1118         14.3          69.8       7.2X

InSet -> InFilters (threshold: 10, values count: 50, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7809 / 7918          2.0         496.5       1.0X
Parquet Vectorized (Pushdown)                 7800 / 7857          2.0         495.9       1.0X
Native ORC Vectorized                         7089 / 7145          2.2         450.7       1.1X
Native ORC Vectorized (Pushdown)              1102 / 1123         14.3          70.1       7.1X

InSet -> InFilters (threshold: 10, values count: 100, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7793 / 7823          2.0         495.5       1.0X
Parquet Vectorized (Pushdown)                 7765 / 7863          2.0         493.7       1.0X
Native ORC Vectorized                         7066 / 7175          2.2         449.2       1.1X
Native ORC Vectorized (Pushdown)              1194 / 1210         13.2          75.9       6.5X

InSet -> InFilters (threshold: 10, values count: 100, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7782 / 7816          2.0         494.8       1.0X
Parquet Vectorized (Pushdown)                 7737 / 7782          2.0         491.9       1.0X
Native ORC Vectorized                         7056 / 7100          2.2         448.6       1.1X
Native ORC Vectorized (Pushdown)              1193 / 1264         13.2          75.9       6.5X

InSet -> InFilters (threshold: 10, values count: 100, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7726 / 8463          2.0         491.2       1.0X
Parquet Vectorized (Pushdown)                 8759 / 9317          1.8         556.9       0.9X
Native ORC Vectorized                         7067 / 7379          2.2         449.3       1.1X
Native ORC Vectorized (Pushdown)              1352 / 1520         11.6          86.0       5.7X

InSet -> InFilters (threshold: 100, values count: 5, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                           8694 / 10591          1.8         552.7       1.0X
Parquet Vectorized (Pushdown)                  288 /  313         54.5          18.3      30.1X
Native ORC Vectorized                         6898 / 7754          2.3         438.6       1.3X
Native ORC Vectorized (Pushdown)              1037 / 1279         15.2          65.9       8.4X

InSet -> InFilters (threshold: 100, values count: 5, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7584 / 8641          2.1         482.2       1.0X
Parquet Vectorized (Pushdown)                  293 /  299         53.7          18.6      25.9X
Native ORC Vectorized                         6849 / 6918          2.3         435.5       1.1X
Native ORC Vectorized (Pushdown)               996 / 1020         15.8          63.3       7.6X

InSet -> InFilters (threshold: 100, values count: 5, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7617 / 7947          2.1         484.3       1.0X
Parquet Vectorized (Pushdown)                  311 /  341         50.5          19.8      24.5X
Native ORC Vectorized                         7468 / 8006          2.1         474.8       1.0X
Native ORC Vectorized (Pushdown)              1095 / 1173         14.4          69.6       7.0X

InSet -> InFilters (threshold: 100, values count: 10, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            8364 / 9682          1.9         531.8       1.0X
Parquet Vectorized (Pushdown)                  325 /  498         48.4          20.7      25.7X
Native ORC Vectorized                         6931 / 7797          2.3         440.7       1.2X
Native ORC Vectorized (Pushdown)              1010 / 1032         15.6          64.2       8.3X

InSet -> InFilters (threshold: 100, values count: 10, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7647 / 8096          2.1         486.2       1.0X
Parquet Vectorized (Pushdown)                  315 /  409         49.9          20.1      24.2X
Native ORC Vectorized                         6839 / 7307          2.3         434.8       1.1X
Native ORC Vectorized (Pushdown)              1033 / 1077         15.2          65.7       7.4X

InSet -> InFilters (threshold: 100, values count: 10, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7653 / 8725          2.1         486.6       1.0X
Parquet Vectorized (Pushdown)                  319 /  367         49.3          20.3      24.0X
Native ORC Vectorized                         7121 / 8047          2.2         452.7       1.1X
Native ORC Vectorized (Pushdown)              1066 / 1133         14.8          67.8       7.2X

InSet -> InFilters (threshold: 100, values count: 50, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7804 / 8926          2.0         496.2       1.0X
Parquet Vectorized (Pushdown)                  476 /  568         33.0          30.3      16.4X
Native ORC Vectorized                         7891 / 8248          2.0         501.7       1.0X
Native ORC Vectorized (Pushdown)              1158 / 1195         13.6          73.6       6.7X

InSet -> InFilters (threshold: 100, values count: 50, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            8576 / 9488          1.8         545.2       1.0X
Parquet Vectorized (Pushdown)                  522 /  593         30.1          33.2      16.4X
Native ORC Vectorized                         7199 / 7692          2.2         457.7       1.2X
Native ORC Vectorized (Pushdown)              1180 / 1280         13.3          75.0       7.3X

InSet -> InFilters (threshold: 100, values count: 50, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                           9142 / 10012          1.7         581.2       1.0X
Parquet Vectorized (Pushdown)                  536 /  620         29.3          34.1      17.0X
Native ORC Vectorized                         7720 / 9655          2.0         490.9       1.2X
Native ORC Vectorized (Pushdown)              1110 / 1212         14.2          70.6       8.2X

InSet -> InFilters (threshold: 100, values count: 100, distribution: 10): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            8478 / 9150          1.9         539.0       1.0X
Parquet Vectorized (Pushdown)                  700 /  900         22.5          44.5      12.1X
Native ORC Vectorized                         7427 / 8069          2.1         472.2       1.1X
Native ORC Vectorized (Pushdown)              1185 / 1633         13.3          75.3       7.2X

InSet -> InFilters (threshold: 100, values count: 100, distribution: 50): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7919 / 9670          2.0         503.5       1.0X
Parquet Vectorized (Pushdown)                  731 /  750         21.5          46.5      10.8X
Native ORC Vectorized                         7205 / 7306          2.2         458.1       1.1X
Native ORC Vectorized (Pushdown)              1191 / 1224         13.2          75.7       6.6X

InSet -> InFilters (threshold: 100, values count: 100, distribution: 90): Best/Avg Time(ms)    Rate(M/s)   Per Row(ns)   Relative
------------------------------------------------------------------------------------------------
Parquet Vectorized                            7845 / 8146          2.0         498.8       1.0X
Parquet Vectorized (Pushdown)                  761 /  838         20.7          48.4      10.3X
Native ORC Vectorized                         7081 / 7741          2.2         450.2       1.1X
Native ORC Vectorized (Pushdown)              1289 / 1459         12.2          82.0       6.1X

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/669/
Test PASSed.

Test build #92605 has started for PR 21603 at commit fdb79b3.

Test build #92605 has finished for PR 21603 at commit fdb79b3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92605/
Test PASSed.

@wangyum, mind resolving the conflicts please? I think it's quite close.

Test build #92666 has started for PR 21603 at commit 5e748f9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/717/
Test PASSed.

Test build #92666 has finished for PR 21603 at commit 5e748f9.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92666/
Test FAILed.

retest this please.

Test build #92676 has started for PR 21603 at commit 5e748f9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/724/
Test PASSed.

Test build #92676 has finished for PR 21603 at commit 5e748f9.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92676/
Test FAILed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/730/
Test PASSed.

Test build #92684 has started for PR 21603 at commit 5e748f9.

Test build #92684 has finished for PR 21603 at commit 5e748f9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92684/
Test FAILed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/742/
Test PASSed.

Test build #92702 has started for PR 21603 at commit 5e748f9.

Test build #92702 has finished for PR 21603 at commit 5e748f9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92702/
Test PASSed.

LGTM otherwise.

Test build #92995 has started for PR 21603 at commit c386e02.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/945/
Test PASSed.

Test build #92995 has finished for PR 21603 at commit c386e02.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/92995/
Test PASSed.

Merged to master

I see this benchmarking is done for parquet filters. Did we have similar kind of benchmarking for ORC format too ?
Also why there is no push down threshold flag on ORC filters ?

Ask questions to mailung list. ORC is completely orthogonal with this Parquet PR.


ActionsOrganizationSecret: Updates delete but do not create the secret.

What happened?
An update to a github.ActionsOrganizationSecret resource results in the resource being replaced (expected) but the secret is deleted and then not recreated and no error message is given. Pulumi indicates that everything worked as expected but going to github to see the secret shows it is deleted.
Steps to reproduce
Using the code provided below, do the following:

pulumi up -y
Go to github organization and see the "TESTSECRET" secret is created.
Change the plaintext field to something else.
pulumi up -y (this will require replacing the secret)
See the pulumi up completes as expected with no errors.
Go to Github and see that the secret is no longer there.
WORKAROUND: Use deleteBeforeReplace resource option.

TEST CODE:
import * as github from "@pulumi/github";

const secret = new github.ActionsOrganizationSecret("secret", {
    secretName: "testsecret",
    visibility: "private",
    plaintextValue: "mysecret",
},
// { deleteBeforeReplace: true}
)

Expected Behavior
Without the deleteBeforeReplace setting, I would expect some error to be presented instead of silently failing with indications of success.
Actual Behavior
The pulumi up that replaces the secret completes with no error message but the secret is deleted and not recreated.
Output of pulumi about
CLI
Version      3.40.2
Go Version   go1.19.1
Go Compiler  gc

Plugins
NAME    VERSION
github  4.17.0
nodejs  unknown

Host
OS       darwin
Version  12.5.1
Arch     x86_64

This project is written in nodejs: executable='/Users/mitch/.nvm/versions/node/v18.0.0/bin/node' version='v18.0.0'

Current Stack: dev

TYPE                                                              URN
pulumi:pulumi:Stack                                               urn:pulumi:dev::github-org-testing::pulumi:pulumi:Stack::github-org-testing-dev
pulumi:providers:github                                           urn:pulumi:dev::github-org-testing::pulumi:providers:github::default_4_17_0
github:index/actionsOrganizationSecret:ActionsOrganizationSecret  urn:pulumi:dev::github-org-testing::github:index/actionsOrganizationSecret:ActionsOrganizationSecret::secret

Found no pending operations associated with dev

Backend
Name           pulumi.com
URL            https://app.pulumi.com/xxxxxx
User           xxxxxxx
Organizations  xxxxx

Dependencies:
NAME            VERSION
@pulumi/github  4.17.0
@pulumi/pulumi  3.40.2
@types/node     14.18.31

Pulumi locates its logs in /var/folders/qp/6k0zsrj13rz5ll53hsmlksvw0000gq/T/ by default

Additional context
Workaround is to use deleteBeforeReplace: true
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Forgot to mention that using the TF provider directly works as expected. So it appears to be specific to the bridged provider.
Here's TF code that can be used to test:
terraform {
  required_providers {
    github = {
      source  = "integrations/github"
      version = "5.2.0"
    }
  }
}

# Configure the GitHub Provider
provider "github" {
  token = "XXXXXXXXXX"
  owner = "YYYYYYYYYY"

}

resource "github_actions_organization_secret" "tf_example_secret" {
  secret_name     = "tf_example_secret_name"
  visibility      = "private"
  plaintext_value = "mybadsecret"
}

The same behavior occurs with ActionsSecret.

This is definitely still a problem, is there any ETA on fixing this? For our case, it keeps recreating secrets that we gave a value through the Github UI, which is definitely not ideal and makes it unusable for managing secrets.
@lblackstone @mnlumi ?

Thanks for flagging this up and sorry you've hit this. This looks like an instance of https://github.com/pulumi/pulumi/issues/918 and https://github.com/pulumi/pulumi/issues/15982
We need to add DeleteBeforeReplace by default to the affected resources, similar to https://github.com/pulumi/pulumi-gcp/pull/2498
The workaround for anyone affected is to specify DeleteBeforeReplace for the resources in your program.

Thanks for flagging this up and sorry you've hit this. This looks like an instance of pulumi/pulumi#918 and pulumi/pulumi#15982
We need to add DeleteBeforeReplace by default to the affected resources, similar to pulumi/pulumi-gcp#2498
The workaround for anyone affected is to specify DeleteBeforeReplace for the resources in your program.

That did not seem to work in our case, it still flagged it as being deleted. Should it respect the ignoreChanges attribute? If tell it to ignore changes to plaintextValue or encryptedValue and it changes, then it should just skip it.

@MagnusHJensen for your case I believe you need to refresh the resource - ignore changes tells the engine to use the old value for the property: https://www.pulumi.com/docs/iac/concepts/options/ignorechanges/#:~:text=The ignoreChanges resource option specifies,update or replace is needed.
In your case the old value is not the one you want, hence it tries to replace the resource.

@MagnusHJensen for your case I believe you need to refresh the resource - ignore changes tells the engine to use the old value for the property: https://www.pulumi.com/docs/iac/concepts/options/ignorechanges/#:~:text=The ignoreChanges resource option specifies,update or replace is needed.
In your case the old value is not the one you want, hence it tries to replace the resource.

I can see the ignoreChanges might not work as expected as to my original thought.
However I do know refreshing did not work, as our CI refreshes all resources before running up and in the refresh command it gets refreshed to a deleted state, which also is wrong.

@MagnusHJensen, it sounds like your problem is not the same as in the original Github issue - could you please open a new issue with step by step instructions on how to reproduce your problem?


Initial commit removing setting the doi host

removes the code setting DOI host

Obviously not required due to date


auth: reject empty user name when checking op permissions

Passing AuthInfo{} to permission checking was causing an infinite loop
because it would always return an old revision error.
Fixes #7124
/cc @mitake

lgtm

lgtm, thanks!


[fastpages] Week 18 Review Ticket

Performance Task Scoring
Model and OOP Hacks
Backend Overview & OOP Hacks Debrief
Frontend Plan - Implementing CRUD
Frontend Development
Scrum Board & Features
DevOps & Using DNS Overview

3/3
+1 for collegeboard grading
+1 for scrum board
+1 oop individual hacks
Akshat has fully completed his work and has fully shown proof that he has contributed to his group. His links in the review ticket work and his work shown is easy to follow.

2/3

CPT Grading
Scrum Board and frontend stuff

OOP hacks don't fully work (see DOB)

Peer Grading
Grader: Jonathan Wu

[x] looking to see beginnings of frontend coding in CPT project.
[x] beginnings of class definitions and object usage in CPT project.
[x] understanding of criteria and evaluations of CPT. Also, we want to see how understanding scoring of these examples will help you exceed CPT requirements.

Grade: 3/3


Hardening measure - config.action_controller.asset_host

Forcibly set config.action_controller.asset_host as
a hardening measure, as suggested by:
https://github.com/ankane/secure_rails
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

+1


[Enhancement]: ADB Bridge for macOS

Describe the new feature or enhancement
So I have an iMac that I use. I also have a Windows Laptop that is usable, but irritating and half-broken. When I used ABD Bridge on Windows, my quest suddenly disconnected, therefore breaking the app and corrupting my BoneLab install. So I would like a version of the bridge for macOS as my iMac is wayyy better than my Windows laptop, and thats being objective.

Closing in favor of #16


Added required attribute filtering functionality & bug fixed

Purpose
Event Builder should be able to filter required attributes defined by it.
Fixed the bug of sending username to choreo insights in case of on-prem.
Goals
In cases where some event metrics included in default metric schema are not required, by this modification one can pass custom metric schema to filter out only the required attributes defined in the custom schema.
Approach
Added user name and api context in the default schema.
Modified the implementation such that one can define required attributes/ custom schema and pass it to the event builder.
Added util functionality to validate required attribute & then filter out.
User stories
By default event metrics include user name. But it is necessary to filter out user name in cases where the event metrics are published to Choreo Insights.

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

Codecov Report

Merging #84 (35ee779) into main (b9353ce) will decrease coverage by 1.31%.
The diff coverage is 23.40%.

Additional details and impacted files

@@             Coverage Diff              @@
##               main      #84      +/-   ##
============================================
- Coverage     53.68%   52.37%   -1.32%
- Complexity      137      142       +5
============================================
  Files            40       42       +2
  Lines           868      907      +39
  Branches         83       87       +4
============================================
+ Hits            466      475       +9
- Misses          351      381      +30
  Partials         51       51

Flag
Coverage Δ

unit_tests
52.37% <23.40%> (-1.32%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...g/wso2/am/analytics/publisher/auth/AuthClient.java
70.37% <ø> (ø)

...o2/am/analytics/publisher/auth/AuthProxyUtils.java
0.00% <ø> (ø)

...2/am/analytics/publisher/auth/TokenDetailsDTO.java
100.00% <ø> (ø)

...o2/am/analytics/publisher/client/ClientStatus.java
100.00% <ø> (ø)

...wso2/am/analytics/publisher/client/DataHolder.java
0.00% <ø> (ø)

.../am/analytics/publisher/client/EventHubClient.java
77.34% <ø> (ø)

...ublisher/client/EventHubProducerClientFactory.java
52.63% <ø> (ø)

...nalytics/publisher/client/WSO2TokenCredential.java
18.91% <ø> (ø)

...sher/exception/ConnectionRecoverableException.java
50.00% <ø> (ø)

...er/exception/ConnectionUnrecoverableException.java
100.00% <ø> (ø)

... and 20 more


fix(plus): make pluse button nicer

add color and made the button circle.
resolve #16

resolves #16


upgrade behemoths to JDK 11.0.1

the JDK 11 community builds are plagued by JVM crashes. scala-xml crashes especially often. I've also seen wartremover crash.
maybe upgrading to 11.0.1 will fix it... it's worth a try
I can use the steps at https://github.com/scala/community-builds/issues/742#issuecomment-422973172 as a template
Linux x64 tarball URL is
https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz

curl -O 'https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz'
sudo mv openjdk-11.0.1_linux-x64_bin.tar.gz /usr/lib/jvm
cd /usr/lib/jvm
sudo tar xzf openjdk-11.0.1_linux-x64_bin.tar.gz
sudo rm openjdk-11.0.1_linux-x64_bin.tar.gz
sudo mv java-11-openjdk-x64 jdk-11.0.0
sudo ln -s jdk-11.0.1 java-11-openjdk-x64
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-11-openjdk-x64/bin/java 1
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-11-openjdk-x64/bin/javac 1

https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk11-integrate-community-build/109/consoleFull
https://scala-ci.typesafe.com/job/scala-2.13.x-jdk11-integrate-community-build/75/consoleFull

time will tell whether 11.0.1 is any less crash. I'll post a status update here next week

I haven't seen any further JVM crashes recently. still keeping an eye on it


r11.1.4 ceph nodes with 4GB of RAM will OOM, "Unable to fork"

What version (commit) do you encounter this issue on?
r11.1.4
What type of issue is this (bug, feature, documentation, regression)?
regression/bug
What is the expected behavior?
ceph to deploy on OSD nodes with 4GB.
What is actually happening?
Ansible injects sysctl values that cause the host machine to OOM and "unable to fork"
r11.1.4 (4194303=4GB)
Mar  1 14:49:24 swift02 ansible-: Invoked with name=vm.min_free_kbytes ignoreerrors=True value=4194303 reload=True state=present sysctl_set=False sysctl_file=/etc/sysctl.conf
Mar  1 14:50:01 swift02 cron[3405]: (CRON) error (can't fork)
r11.1.3<PHONE_NUMBER>=4TB)
Mar  1 16:08:07 swift02 ansible-: Invoked with name=vm.min_free_kbytes ignoreerrors=True value=4294967296 reload=True state=present sysctl_set=False sysctl_file=/etc/sysctl.conf
How can we reproduce this issue?
Pull down r11.1.4 and attempt ceph install on OSDs with 4GB of RAM.
How can we verify your issue is addressed?
Adjust sysctl value to X% of Total Ram.
If this is a large issue, what can be done immediately to alleviate the issue while working on a longer-term solution?
Remove or adjust value  vm.min_free_kbytes, value: 4194303
What is your evaluation on the importance of this issue, and why?
Minor, production systems should have more then 4GB of RAM.
What branches / milestones do you believe this issue should target?
The list below is what is currently supported for backports, remove branches you do not wish to target.

[ ] Master
[ ] liberty-12.0
[ ] kilo

It looks like this is actually a ceph regression: https://github.com/ceph/ceph-ansible/search?utf8=✓&q=vm_min_free_kbytes&type=Code  @timolow can you file this bug with the ceph-ansible project and link that issue here?

It looks like it may have been introduced here: https://github.com/ceph/ceph-ansible/pull/543 @mattt416 can you work with @timolow on this?

This issue is def. fixed in ceph-ansible as I know @byronmccollum was hitting it and reported it upstream.  There's an issue with https://github.com/ceph/ansible-ceph-common at the moment (only 1 commit?) so I'll dig into this further once that repo is resolved.

Backports please

Somehow my push went from my branch directly into kilo, so that has been backported.  I can't seem to find a way to revert what I did either.  It was a straightforward cherry-pick so really no harm done, but mea culpa everyone.

Issue is in the r12.0.0 release


Minor things on spelling and links

Is this OK to merge?

It's fine except that I don't like 6ec4d826961a470f8e6ab323c5f868cd88d70319. I prefer keeping the complete link in the text.

Want cherry-pick, revert w/o rewriting or revert with rewriting history?

Preferable revert with rewriting history

Preferable revert with rewriting history

Done.


nodestatus: Only log low-level messages if verbosity is increased

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Unless the nodestatus controller is being debugged, then these messages
are really not that important.
Which issue(s) this PR fixes:
Fixes #1066

Does this PR have test?
N/A

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #1083 (def981f) into main (5b70570) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1083   +/-   ##
=======================================
  Coverage   50.43%   50.43%
=======================================
  Files          42       42
  Lines        4761     4761
=======================================
  Hits         2401     2401
  Misses       2281     2281
  Partials       79       79


Add MockClient to simplify downstream testing

As a user of this library I would like an easier way to test that calls to a DogStatsInterface log the data I expect.  Currently, my only option is to create a mock/spy using the interface.  Doing this in PHPUnit requires me to provide the exact values for each parameter, but I may only care about testing a subset of those.
Providing a MockClient out-of-the box greatly simplifies this, as I can check the recorded stats in my tests and perform targeted assertions on just the field that I care about most.

LGTM. Thank you for contribute!


fix code example typo

Type of PR: fix typo
PR checklist:

N/A ~Addresses an existing issue: fixes~
N/A ~Includes tests~
[x] Documentation update

Overview of change:
Fixes small typo in customisation tutorial code sample.

#1367 will resolve the failing Pipeline checks


Please add macOS support in SwiftUI

Please add macOS support in SwiftUI

It would be even better if it is a pure SwiftUI ✌😬.
Thank you.
On Jan 4, 2021, at 2:37 PM, yogendra-leocan<EMAIL_ADDRESS>wrote:

Please add macOS support in SwiftUI
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/evgenyneu/Cosmos/issues/178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHXPK5P7OCRMUTQNAMGWJYTSYGR5VANCNFSM4VS4RUCA.

It would be even better if it is a pure SwiftUI ✌😬.
Thank you.
On Jan 4, 2021, at 2:37 PM, yogendra-leocan<EMAIL_ADDRESS>wrote:

Please add macOS support in SwiftUI
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/evgenyneu/Cosmos/issues/178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHXPK5P7OCRMUTQNAMGWJYTSYGR5VANCNFSM4VS4RUCA.

Thanks for the feature request @yogendra-leocan. Cosmos does not support macOS at the moment (and probably never will be, sorry).
@iTollMouS, thanks can you elaborate please? 👍

Thanks for the feature request @yogendra-leocan. Cosmos does not support macOS at the moment (and probably never will be, sorry).
@iTollMouS, thanks can you elaborate please? 👍

I am hoping that we can use Cosmos without using UIViewRepresentable . I understand afaik that cosmos depends on some UIKit funcs . Yet , it would be awesome if we have
CosmosView( params)
.some modifiers .

I am hoping that we can use Cosmos without using UIViewRepresentable . I understand afaik that cosmos depends on some UIKit funcs . Yet , it would be awesome if we have
CosmosView( params)
.some modifiers .


vimPlugins: add missing haskell plugins

Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

haskell-vim
hlint-refactor-vim
vim-haskellConcealPlus

I ran vim2nix and generated these plugin derivations for missing Haskell packages. I can separate these into different commits if necessary.

Please also add names to https://github.com/bkase/nixpkgs/blob/haskell-vim/pkgs/misc/vim-plugins/vim-plugin-names.


Fixes all anchor tags acting as buttons

This PR adds a role attribute of button to all anchor tags that are not acting as links but instead acting as buttons.
This PR fixes #10619

Coverage remained the same at 39.966% when pulling b7a16760427d8b93c1c315b9667ff70ed44e2cdc on fixes-all-controls-being-set-as-links-2 into 53ec7585a9da594c2465bfffa01238d1efc190a7 on main.

@v-bbrady This is no longer needed, correct?

the issue has been fixed by you in another PR with same changes. @v-bbrady , was this PR created by mistake?


Spark JVM support

Related https://github.com/apache/camel-quarkus/issues/1701
This is the idea how we could handle this kind of dependency hell components. The artifacts are managed in the runtime module so that they do not to pollute the BOM.

Let me write a test

a1b5695 :

Added a proper test
dependencyManagement in a separate camel-quarkus-spark-bom

Please re-review

I wonder if we should place the spark specific version properties within the spark bom and keep them out of the root pom. WDYT?

I'd like to have them in the top pom so that everyone can see that those artifacts are used somewhere. I find this important for the case that they pop up through some other extension. In such a case we should make a conscious decision whether they should be managed in the main BOM or somewhere else. That could get forgotten easily if there is no trace of them in the top pom. WDYT?

I should document the peculiarities.

That could get forgotten easily if there is no trace of them in the top pom. WDYT?

Ok - fine with me to keep them in the root pom.


Adds Pittsburgh GDCR17

Moderators will be updated in a future PR, went with hosting org for now.

Can you check the url again? Not sure if ?action=edit should stay there ☺

@rradczewski hah! Wouldn't have mattered for anyone but me and other admins but best to keep things clean anyways. Added a commit

Can you check the url again? Not sure if ?action=edit should stay there ☺


How do you include padding?

How do you include padding, keeping a minimum distance between boxes?

Yes, that's a good idea, I thought about that. But it also adds padding at the corners, which I don't want. Only between boxes. Because I use it for 3D nesting and to separate the pieces I have a minimum space.

I do that in https://github.com/treeDiM/StackBuilder and it works great.
Before making your palletization computation, you need to increase by 1 space the length +width dimensions of your container, but after the computation, you need to offset every box position by -0.5*space.
x -= 0.5 * space;
y = -0.5 * space;

Then, you do have a set of boxes with spaces that do lean on your stacking area boundaries.


[Discussion] Azure Functions Runtime release 3.0.14063

Discussion issue for the Azure Functions runtime release 3.0.14063: https://github.com/Azure/azure-functions-host/releases/tag/v3.0.14063

cc @yojagad @anthonychu
Breaking changes in CustomHandlers
We have identified regressions when using custom handlers:

https://github.com/Azure/azure-functions-host/issues/6305
https://github.com/Azure/azure-functions-host/issues/6227

Both issues will be addressed in future releases. Until  then please pin functions runtime version to: 3.0.13353.0

FYI @@FinVamp1  and @fabiocav

This release is being replaced with #176. The breaking changes listed here still apply.


Create a new pull request by comparing changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 95.625%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
1976

Relevant Lines:
2027

💛  - Coveralls


Missing the logo

In my design I have the logo in header lets add it.

@alexdor even though we discussed not to use the OSSN logo, please add it when you can. Thank you


stdlib: map wchar_t to UInt16 on Windows

This is an ABI breaking change for Windows.  WCHAR on Windows is mapped to short (-fshort-wchar makes it unsigned short).  When C++ interop is enabled, WCHAR will be mapped to wchar_t which is then mapped to short (or unsigned short if -fshort-wchar is specified). Correct the mapping type to get the desired behaviour.

@swift-ci please test

@swift-ci please test Windows platform

@compnerd is this already on main?

@stephentyrone yeap!

Can you link to the PR against main here, please?

@stephentyrone https://github.com/apple/swift/pull/68397

This is dependent on https://github.com/apple/swift/pull/69328

Explanation: Adjust the mapping for CWideChar for Windows. Windows uses UTF-16 for unicode string representation, not UTF-32. This corrects the mapping which fixes a number of issues with Windows API calls.
Scope: This is an ABI breaking change on Windows, the other platforms are not impacted by the change as they use UTF-32.
Issue:
Risk: This would require testing for Windows to ensure that the tests do not regress.
Testing: Validated that we can now import functions that use wchar_t on Windows with C++ interop, ran through the unit tests. This change has been on main for a while now as well and has been tested with larger code bases.
Reviewer: @DougGregor

@swift-ci please test Windows platform


Get names of individuals

I would like to get the name of all of the instances of a given class, but without the URI prefix. I think this is more of an RDFLib specific issue dealing with URIRef objects, but maybe there's a solution inside ontospy that I haven't found yet
import ontospy
test_ontology_url = "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine"
ont = ontospy.Ontospy(test_ontology_url)
for clz in o.classes:
    print(clz)
    for instance in clz.instances():
        print(instance)
        print(dir(instance))

Output:
<Class *http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#AlsatianWine*>
<Class *http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#AmericanWine*>
<Class *http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#Anjou*>
http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#RoseDAnjou
['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__gt__', '__hash__', '__init__', '__invert__', '__iter__', '__le__', '__len__', '__lt__', '__mod__', '__module__', '__mul__', '__ne__', '__neg__', '__new__', '__or__', '__radd__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__', '__sizeof__', '__slots__', '__str__', '__subclasshook__', '__truediv__', 'capitalize', 'casefold', 'center', 'count', 'de_skolemize', 'defrag', 'encode', 'endswith', 'eq', 'expandtabs', 'find', 'format', 'format_map', 'index', 'isalnum', 'isalpha', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'isspace', 'istitle', 'isupper', 'join', 'ljust', 'lower', 'lstrip', 'maketrans', 'md5_term_hash', 'n3', 'neq', 'partition', 'replace', 'rfind', 'rindex', 'rjust', 'rpartition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title', 'toPython', 'translate', 'upper', 'zfill']

...

None of the functions listed with dir return what I want (I iterated through all them and ran them) What I'd like is simply a way to retrieve:
RoseDAnjou

And make it a bit more general than splitting on the # character, since not all ontologies have to use a # to differentiate the base IRI and the members, correct? Thanks so much for the help!

Getting the individuals in an ontology would be really great! It would help me to improve my ontology spec generator a lot.

Ok I'll try to add that with the next release.

Great! Looking forwad to it.

Added with v1.8.8. Sorry it's taken so long! You can now do this:
for instance in class.instances:
    print instance.uri, instance.qname

Note: instances are extracted on demand (once the method is called) so to avoid unnecessary calculations due to metaclasses and the same object being at the same time an instance and a class.

That's wonderful, thanks so much!


Plot loadings of densified, NFE loadings

This script utilises the manhattan plot function from hail to plot the loadings from NFE samples from the combined HGDP/1kG + TOB-WGS dataset, after densifying. I could not use the original function, as it's intended for GWAS studies and displays the y-axis as a -log10 p-value.

Thanks @pdiakumis!!


Pass queue as a symbol to ActiveJob::Base#enqueue

See http://api.rubyonrails.org/classes/ActiveJob/Enqueuing.html#method-i-enqueue

Coverage increased (+0.02%) to 97.205% when pulling caf4ffa29d3ae46709a3eeba32aab61c14398f0a on fix/pass-queue-as-option-to-activejob into 5a90cbd3e13bb60ac58319989b10160533b23c13 on master.


Add back HTCONDOR-506.evalset-batchruntime.patch

along with a sanity check to make sure the change is present

Have you tried to build this to see if the patch applies properly?

I haven't tried running it but it builds with development, testing, and release.


Small refactorings

Improvement Resharper warnings, removed code redundancies, naming, Resharper ContractAnnotations

strange,

  NLog.SourceCodeTests -> C:\projects\nlog\tools\CheckSourceCode\NLog.SourceCodeTests.exe
tools\CheckSourceCode\NLog.SourceCodeTests.exe no-interactive
Unhandled Exception: System.IO.FileNotFoundException: Failed loading DLL from path: C:\projects\nlog\build\bin\debug\.NET Framework 4.5\NLog.dll
   at NLog.SourceCodeTests.SourceCodeTests.VerifyDefaultValues() in

but PR succeeds


GC old way of selecting functions by cell type

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@havardpe please review and merge

unrelated PR build failure:
[ERROR] Failures:
[ERROR]   NodeMetricsDbTest.testNodeMetricsDb:26 expected:<29> but was:<30>


bugfix the latest notifications are sometimes not brought up

The latest notifications are sometimes not brought up. When we have more than 50 notifications modified during the last 30 days, the most recent ones are excluded.

@chardinventura I cannot reproduce this issue you say you fixed. I have more than 50 notifications and the most recent ones are always brought up.

@gtabboud I recorded a video to show you the issue we are facing.

@gtabboud yes, it works well. Thanks for the fix.

Thanks for confirming and all your feedback!