feat: listbox elements

This is a staging branch for dropdown, menu, and select.
What I did

Added directional support to roving-tabindex-controller.
Added a listbox-controller.
Added listbox components in order to test the support and demo how we can create an accessible listbox component: pf-select, pf-select-listbox, pf-select-group, and pf-select-option.
Added chip components pf-chip and pf-chip-group.

Testing Instructions
View the following docs, and check out all the examples:

[ ] Chip
[ ] Select

Notes to Reviewers
Chip
Upstream Patternfly's Select has options that use upstream Patternfly's Chip so I had to also do 1-1 for pf-chip in order to provide those options in pf-select.
Listbox
Components with role=listbox can be used as standalone elements, as part of a combobox. See the following references:

Toggle and Items Accessibility
Web component benchmarking
WAI ARIA Listbox Pattern
WAI ARIA Example Listbox Grouped
WAI ARIA Combobox Pattern

@nikkimk Chip is looking good! Here are a couple notes--the first of which we chatted about:

The close button target size needs to be at least 24px by 24px (per WCAG 2.5.8), and I know our prefered dimensions are at least 44px by 44px. Currently, looks like it's 24px wide by 18px high. You had also mentioned the possibility of making the entire chip a button target.

In Safari (Mac and Mobile) and Firefox, the "Really long chip..." wraps and displays all content.

This screencap demonstrates both issues:

what a boost to come back from vacation and see such a ferment of activity in this branch. looking forward to diving in to the details

@hellogreg ptal on chip. Also feel free to look at all of select.

@hellogreg ptal on chip.

The issues look fixed with chip! Two questions:

Where do you want keyboard focus to move (if anywhere) upon dismissal of the chip?
Are you okay with screen readers only reading "close button" when a dismissable chip receives focus (because that's the interactive content), or do you want them to read the chip's text content, too? As it is now, the default and max-width chips just read "close button" upon focus, and the overflow chip reads the entire chip's text content. Just making sure it's working as you intended.

Also feel free to look at all of select.

At the demo page, I'm unable to navigate options with the arrow keys (Mac Chrome/Safari/Firefox). I can expand and collapse the list, but the arrows just scroll the page, as shown below:
https://drive.google.com/file/d/1La1Quwv-SAcmxCh1HEbhdnkJ9VRav5Mo/view?usp=drive_link
In multiselect and typeahead, I can click in the list with the mouse and then use the arrows, with mixed results (only lets me travel between a few options).

@hellogreg this should be fixed now. (
I had added logic for "create option", but it kept adding options that reset roving tabindex. I just pushed an update that will prevent this.

@hellogreg this should be fixed now.

I can navigate the Select options with all the arrows now (cool!), but I have to tab into them first. I can't just open the list and start using arrows (nor can I open the list with the down arrow, if you want users to have that option).
In other words, here's what I expect (assuming we're going for keyboard behavior like the WAI Select-only pattern):

Place focus on the closed pf-select element.
Press space, return, or down arrow to open.
Use arrow keys to navigate list.

And here's what I have to do:

Place focus on the closed pf-select element.
Press space or return (but not down arrow) to open.
Tab into list.
Use arrow keys to navigate list.

@hellogreg thanks much for the feedback. I just uploaded a fix for that. Check it out.

@hellogreg thanks much for the feedback. I just uploaded a fix for that. Check it out.

Nice. Arrows are working. One more thing (because there's always one more thing): after a selection is made with arrows, pressing space or return doesn't currently set the value, close the box, and return focus to the closed box.

@hellogreg tag: you're it. I think I fixed it.

@hellogreg tag: you're it. I think I fixed it.

Confirmed that Single, Option, and Grouped option variants all work via keyboard!
Should the Multi-select, Typeahead, and Filtering variants be ready for testing, too? I was still having some issues selecting or typing in those. We can chat about them (and I can demo) when we meet later.
Getting close.

@hellogreg try it now

@hellogreg try it now

Thanks! Basically, everything does now work: items in each variant can be successfully selected! Here are the (smaller) issues I've noticed.

For the basic single, grouped single, and filter variants, choosing an option by pressing space does select that option and collapse the box, but also scrolls the page and removes focus from the box. Pressing return selects the option, closes the box and removes focus. (The WAI pattern retains focus on the box)

Typeahead with create allows the user to create the same option multiple times.

Typeahead with create has this behavior (not sure if by design, but is different from WAI):

Type Green. It will show in the options.
Press the down arrow to focus on that option.
Select it with return/space. The box closes and receives focus.
Beginning to type another option (e.g., Blue) does not re-open the box.

Typeahead with checkbox moves focus to the top of the box when selecting items with space or return (rather than keeping focus on the selected item). However, deselecting items does keep focus on the deselected item.

Just saw the new fixes, which revealed a couple more things:

When a currently-selected item in a single-select variant (single, grouped, filtering) is reselected, the box doesn't close.

To reproduce:

Open a box and select an item (e.g., Pink).
Now reopen the box with the down arrow and navigate back to that same item.
Press return/space to attempt reselecting the item and closing the box. The item remains selected, but the box doesn't close.

Boxes may not close when focus moves outside them. It's possible to have many boxes open and covering other content, including each other.

Did some initial dropdown keyboard checks. It's currently having some similar keyboard issues to what Select had early on.
Working:

Space and enter both open the list
All arrows work well for navigating the list

Issues:

Down arrow doesn't open list
Pressing enter closes the list, but doesn't select anything
Space doesn't close
When in navigating within the list, tabbing closes the list and returns focus to the dropdown, rather than to the next interactive element

Larger chip target size looks good! Very clear when using screen reader as a visual user.

Just adding a comment to mention WAI's recommendations on the focusability of disabled controls, with some additional discussion on the subject.
They recommend the following remain focusable:

Options in a Listbox
Menu items in a Menu or menu bar
Tab elements in a set of Tabs
Tree items in a Tree View

For example, a disabled option in their menubar example ("Smaller") is still focusable:

Is this something we want to match--by only ever using aria-disabled? For example, in the disabled option variation of Select:

Or Dropdown:

These are not requirements to meet WCAG, as far as I can tell. But something to consider.

Checking out Dropdown. Keyboard tests going well for the most part, except for this odd behavior:

Put keyboard focus on "Dropdown"
Press down arrow to open
Press up and down arrows to navigate options
Press tab (here's where it gets weird)
Now focus moves to the word "Link" within the disabled "Link" option and can't be removed via arrows
Focus can be removed with shift-tab and the user can then return to "Dropdown"
But now entering the list of options only allows for focus on that "Link" option until the page is refreshed

Confirmed in Chrome and Safari.
Watch the Custom trigger video to see this in action.

Chip is looking good!
There is something to check in Chip groups with the "1 more" and "Show less" chips. After activating this more/less chip, while focus is still on it...

You now have to hit the left arrow twice (instead of once) to return focus to the preceding chip.
Or, if you press shift-tab, focus will move to the first chip in the group.

SImilarly, in the Chip group with removable categories, you have to press the right arrow twice after the last chip to get to the group close icon (and left arrow twice to move away from that icon back to the chip).

Looks like all the chip issues are fixed! But of course, this means something new popped up (for chip groups).
Chrome/Safari/Firefox
The following applies to the chip group with removable categories:
If you have keyboard focus on the item before that chip group (e.g., the <summary> in the below screenshot)...

...and then press tab, focus goes to the second chip in the group:

And then, pressing the right arrow places focus on the first chip:

Dropdown works fine with keyboard in all browsers... except when VoiceOver is on in Safari. If (and only if) VoiceOver is active, arrow keys don't work for navigating options. The video linked below shows the issue.
Dropdown with VoiceOver video
Just verified that this is not a problem with Select.

Select is currently not allowing me to choose options with space or enter when navigating by keyboard. The list opens when pressing space or enter, and I can navigate with the arrows, but pressing space or enter again just collapses the list without selecting anything. Mouse works fine.
Confirmed in Chrome/Safari/Firefox.

@hellogreg try it now

Yeah, @nikkimk . Select is now selecting! Which means now... In the "Typeahead, multi-selectable with chips" gets me stuck in a tab loop when it's expanded. In the video below, you can see me just hitting the tab button (not shift-tab at all), and focus switches between the toggle button and the list item. The way to break this (weirdly), is just hitting the shift button alone, which moves focus back to the input.
Tab loop video

When navigating via keyboard in Chip group with categories, if you tab to the first chip in a category and immediately remove it, you can no longer tab or shift-tab into that category. If you remove any other chip--or remove that first chip after removing another chip--it's fine.
Video example

weird dev server demo behavior
When the menu is closed the dropdown no longer works

When the menu is open the dropdown works

Assuming some css conflict here.  Haven't looked deeper just wanted to note it.

Chip groups with show more/less
When navigating a chip group with a "show more" chip, users must use the tab key—and not the arrows—to focus on "show more." I actually had thought this could be by design until I noticed...
Once "show more" is activated and the "show less" chip appears, this chip can be focused upon via the arrows. Furthermore, if the "show less" is activated, the "show more" chip can now receive focus via the arrow keys.
This is the case in all browsers tested. Sorry I didn't catch it as a bug sooner.
Video demo of issue

Dropdown issue in Mac Safari (v17.1) and Mac/Win Firefox (115.4)
The dropdown list expands successfully upon activating the button via the down arrow, space, or enter. However, pressing the down button after opening the list does not allow the user to enter it. The user must first hit the tab button to get to the list.
This is not an issue in Chromium browsers.

Select: disappearing options in Safari
This one's almost like a magic trick. When navigating via mouse, I can select an option, reopen the list, and see all the options to select another.
However, when using a keyboard, once I select an option and reopen the list, that option is now the only one listed, as shown in this select mouse/keyboard video demo.

@hellogreg feel free to test any/all now. Thanks!

@bennypowers ptal at what I resolved and let's sync Monday morning before office hours on the final pieces.

@bennypowers pf-chip has to use button rather than pf-button because it needs an aria-describedby to associate the button with the chip text.

@bennypowers pf-chip has to use button rather than pf-button because it needs an aria-describedby to associate the button with the chip text.

can we fix that on pf-button, i wonder?


Randy/2021 09 28  dbt v0.21.0 upgrade

This PR includes:

upgrade of dbt_utils package to 0.7.3 to support dbt v0.21.0
removal of hard dbt version check in favor of relying on the dbt_utils version checks (happy to discard this change, just me being lazy).

Thanks for the great package!

Yeesh, I think I did this wrong : )
Let me just close this real quick.

I'd accidentally set the default branch to develop. This PR still needs to be against develop though. We're currently working on better contribution guidelines. We've actually already done this change internally (upgrade to dbt 0.21.0 and version range for dbt utils). We can release this shortly

Right on! I'll use my forks in my project for now and just keep an eye out for when 0.21.0 hits the proper dbtvault repo : )


upgradetest/TestResize: wait for cluster TPR, remove unnecessary waits

[skip ci]
Check for the creation of the TPR, after creating operator deployment, by polling for the presence of the API path:
/apis/etcd.coreos.com/v1beta1/namespaces/<namespace>/clusters/
No need to wait after deleting the cluster since DeleteCluster() already does waitResourcesDeleted() and waitBackupDeleted().
Also no need to wait after updating the operator deployment since we do WaitUntilSizeReached() after changing cluster size.

A manual local test of TestResize passes with correct behavior, but we need to change WaitUntilSizeReached() to wait for ready members and not running pods since upgradetest/TestResize is supposed to test for the readiness of the cluster.

LGTM


        It is possible that the server does not supply any size information, in
        which case size will be given as None (and certain operations on the
        corresponding file will not work).
        """
        size = False
        for policy in ['head', 'get']:
            try:
                size = file_size(url, self.session, policy, **self.kwargs)
                if size is not None:
                    break
            except Exception:
                pass
        else:
            # get failed, so conclude URL does not exist
            if size is False:
>               raise FileNotFoundError(url)
E               FileNotFoundError: http://nohost/

../../miniconda3/envs/dask-upstream-dev/lib/python3.7/site-packages/fsspec/implementations/http.py:166: FileNotFoundError

Is that a deliberate change (possibly from https://github.com/intake/filesystem_spec/pull/93)? Will we need to use fsspec's http server for this test?

Err sorry, I should look more closely at the test. We should just expect a FileNotFoundError, right?

FileNotFound is, I think, the right thing to expect here

OK, I think the next failure looks more real.
$ pytest dask/bytes/tests/test_s3.py::test_compression[bz2-None]

It seems like read_bytes('s3://foo/*', compression='bz2', blocksize=None) ends up trying to pass a local file path named 's3://foo/...' to bs2.Bz2File, which fails.

https://github.com/intake/filesystem_spec/issues/104 for the orc failure.

 It was the pool from a different test that needed closing, which made debugging difficult. Do you think it's possible for check_process_leak to only check for new processes / threads? Or is that hopeless?

@mrocklin, any thoughts on Tom's question above?

Do you think it's possible for check_process_leak to only check for new processes

Currently we close all processes when entering the context manager.  We assume that people are using the mp_context from within utils.py
We don't do this for threads, but I'm not sure that we can.

FYI: there's still one upstream dev failure I need to debug: https://travis-ci.org/dask/dask/jobs/571906205#L1208

All passing now.

Thanks for handling this @TomAugspurger. Merging


table created/cartodbfied via SQL API does not appear in the Editor

A specific table created and cartodbfied via SQL API does not appear in the Editor.
Steps to reproduce:

Create table

CREATE TABLE _chg_lds_parcel_primary (
    cartodb_id integer,
    the_geom geometry(Geometry,4326),
    the_geom_webmercator geometry(Geometry,3857),
    parcel_id double precision,
    land_district_id double precision,
    img_id double precision,
    fen_id double precision,
    toc_code character varying,
    alt_id double precision,
    area double precision,
    nonsurvey_def character varying,
    appellation_date character varying,
    parcel_intent character varying,
    status character varying,
    total_area double precision,
    calculated_area double precision,
    _calculated_area_m2 double precision,
    _calculated_area_ha double precision,
    se_row_id double precision,
    audit_id double precision,
    _geohash_centroid character varying,
    _db_operation character varying
);

Cartodbfy the table

select cdb_cartodbfytable({{USER}},'_chg_lds_parcel_primary');

Expected result
The table should appear in the Editor
Current result
The table does not appear in the dashboard even after being populated
Context
Other tables with similar origin, name and structure does appear in the dashboard after being cartodbfied, as expected
cc/ @rafatower @xavijam Not sure if this is a Cartodbfy problem or an Editor one

Adding @gfiorav, just in case.

cc/ @iriberri are we supporting names of tables starting with underscore?

Officially, from the import flow, we're not allowing tables names to start with an underscore anymore. table_ gets prepended to it (and public documentation about this is in the oven ;-))
The CartoDBfication process itself seems fine (tested in prod & local directly from DB), and no warnings are appearing in Rollbar.

Then I think we shall document that as part of the requirements for a table to be cartodbfy'ed and the user shall be notified of it. They just need to rename it in order to get around this problem cc/ @ernesmb

user confirmed the workaround, closing
thank you all


Error

Win 7-64
VS - 2019
Error
Error MSB3073 exiting the "npm install" command with code -1. Northwind.WebUI C:  \ Northwind.WebUI \ Northwind.WebUI.csproj 56
Error TRK0005 could not detect "CL.exe". Cannot find the specified file.  Cannot find the specified file.  Take a look here and then check your installation; https://social.msdn.microsoft.com/Forums/vstudio/en-US/b60f4b90-8eb5-49fb-83c9-7259a3fae66e/need-help-with-trk0005-failed-to-locate-quotclexe?forum=vcgeneral.
Perhaps check on Stack Overflow if you get stuck, this doesn't seem to be related to Northwind Traders. Good luck.


[libsodium] Rename CMake package to Sodium

For now when using vcpkg, CMake and Sodium, you need to use find_package(unofficial-sodium).
What is the choice behind this name?
If the user didn't use vcpkg to get libsodium, package will not be found.
The name proposed by libsodium is Sodium. Would it be possible to name the package as such?

The unofficial cmake config from vcpkg provides good CMake integration, but not (compatibility with) upstream's official usage interface.
You don't have to use unofficial-sodium.cmake. IIUC the linked page correctly, then libsodium recommends a third-party Findsodium.cmake find module. For this spelling, the package name would be lower-case sodium. Projects can do this anyways. But you may need to pre-set specific cache variables to inform it about the vcpkg installation layout.
This Find module comes with problems. In general, Find modules need maintenance to follow the original project. Often they are unable to provide complete transitive usage requirements, or lack support for some platforms. In contrast, CMake config is (meant to be) directly exported when the original project is built, i.e. when full information is available.
In addition, the proposed Find module creates targets without namespace. Namespace help CMake to provide better diagnostics.

Okay so if I understand correctly, due to the fact that libsodium does not provide a libsodiumConfig.cmake, you have built your own unofficial-sodiumConfig.cmake. And it's better to use a config file than the third-party FindSodium.cmake file (the doc is wrong, the Find module defines the package with a capital S).


Suggestion: Support include/exclude for topics

Prerequisites:

Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.

Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).

If the functionality is not yet available in the API, it would be helpful if you
contacted support (https://support.github.com/) or posted in the Community Forum (https://github.community/). Please
include a link to the forum post if you create one or a copy of the response from support.

New Feature
Please describe the desired new functionality:
Originally posted by @martinm82 in https://github.com/github/safe-settings/issues/408#issuecomment-1429571654
Add support for alternative topics configuration where topics matching a given pattern can be excluded from delete operations. This allows other tools to create topics without having them deleted by safe-settings.
Example: The following config would keep the topic team-unicorn created by another tool or user.
topics:
  include:
    - probot
  exclude:
    - name: ^team-

Include can be used without specifying exclude in the config, while also supporting the current format:
topics:
  - probot

Would love to see this feature!
We would like to set topics for each suborg without deleting some topics that already exist. We know this could be achieved by having repo level settings, but the amount of repos that would need to be specified make that impractical.

Also worth to mention is that with this feature one could define on org level to not delete any non-tracked topic, like for labels: https://github.com/github/safe-settings/pull/408#issuecomment-1426193941


Parquet type FixedSizeBinary(16) not supported

Package Name: azureml-core
Package Version: 1.53.0
Operating System: Windows-10-10.0.22621-SP0
Python Version: 3.8.10

Describe the bug
The Parquet.Net library (https://github.com/aloneguid/parquet-dotnet) supports the Guid type by converting it to a FixedSizeBinary(16).
However, I get an error using Dataset.Tabular.from_parquet_files() and mltable.from_parquet_files() (mltable 1.5.0).
DatasetValidationError: DatasetValidationError:
	Message: Failed to validate the data.
Got unexpected error during data materialization: C Data interface error: The datatype "FixedSizeBinary(16)" is still not supported in Rust implementation.| session_id=l_85a1b675-f0a9-477d-a961-0abbbb5de7b8
	InnerException None
	ErrorResponse
{
    "error": {
        "code": "UserError",
        "message": "Failed to validate the data.\nGot unexpected error during data materialization: C Data interface error: The datatype \"FixedSizeBinary(16)\" is still not supported in Rust implementation.| session_id=l_85a1b675-f0a9-477d-a961-0abbbb5de7b8"
    }
}

To Reproduce

Use the parquet.net library to store a class with a Guid property.
Read the parquet file using azure ml:

from azureml.core import Dataset, Datastore, Workspace
ws = Workspace.from_config()
datastore = Datastore.get(ws, "datastore_name")
dataset = Dataset.Tabular.from_parquet_files(path=(datastore, "./file.parquet"))
dataset.to_pandas_dataframe()

Expected behavior
The dataset should return a dataframe without any errors.
Additional context
It is possible to read the parquet file using pandas: pd.read_parquet("./file.parquet").

As per reproduce steps, tried and it is working fine.

Generated and uploaded parquet file

Read parquet file and below is output

Could you please try with upgraded package : pip install azureml-dataset-runtime --upgrade

Thank you for the response!
You are right that this does work.
However, you convert the uuid to a string datatype, the problem I am having is that the datatype "FixedSizeBinary(16)" is not supported.
If you replace your screenshot with the following, you may be able to reproduce it.
import pyarrow.parquet as pq
import pyarrow as pa
from azureml.core import Workspace
from azureml.core.dataset import Dataset

binary_guid = pa.array(["1" * 16], type=pa.binary(16))
# Specify the local file path where you want to save the Parquet file
local_file_path = "data2.parquet"
# Write the Parquet file locally
table = pa.Table.from_arrays([binary_guid], names=["Id"])

with open(local_file_path, "wb") as f:
    pq.write_table(table, f)

ws = Workspace.from_config()
datastore = ws.get_default_datastore()
ws.get_default_datastore()
# Upload the local Parquet file to the datastore
datastore.upload_files(files=[local_file_path], target_path="parquet_data2")
# Register the uploaded file as a dataset
datastore_path = (datastore, "parquet_data2/data2.parquet")
parquet_dataset = Dataset.Tabular.from_parquet_files(path=datastore_path)
parquet_dataset.register(
    workspace=ws, name="my_parquet_dataset", create_new_version=True
)

The error:
DatasetValidationError: DatasetValidationError:
	Message: Failed to validate the data.
Got unexpected error during data materialization: C Data interface error: The datatype "FixedSizeBinary(16)" is still not supported in Rust implementation.| session_id=l_c7dfb527-6cd3-4acf-aa94-e2c52950d2a3
	InnerException None
	ErrorResponse
{
    "error": {
        "code": "UserError",
        "message": "Failed to validate the data.\nGot unexpected error during data materialization: C Data interface error: The datatype \"FixedSizeBinary(16)\" is still not supported in Rust implementation.| session_id=l_c7dfb527-6cd3-4acf-aa94-e2c52950d2a3"
    }
}


Update spec to disallow invalid binary literals

This is the spec update for https://github.com/dlang/dmd/pull/8738 / https://issues.dlang.org/show_bug.cgi?id=19246
Binary literals like 0b and 0b_ are now deprecated. A valid binary literal must now have at least one digit after the prefix.

I managed to screw up my local repository big time and now I can't reopen this PR, so I made a new proper one: https://github.com/dlang/dlang.org/pull/2476
I apologize for the mess.


feat(nodes): save thumbnails

Save and serve thumbnail images

This needs @Kyle0654 's approval, I'm not sure if I've done this correctly


Split Makefile.stable.toml

Workflow documentation
The predefined *-flow tasks are meant to be used in the context of a certain development work flow. Sometimes this is clear (e.g., ci-flow to be used in a CI server), sometimes less so (when is coverage-flow supposed to be used?).
I think it would be very useful for cargo make newbies if there was a clear documentation of this development work flow - that is, when each task flow is supposed to be used and for what purpose.
Custom workflows
While having a default development work flow is great and ensures cargo make is useful out of the box, this work flow is not universal.
For example, in my personal workflow, I would expect to have a pc (pre-commit) flow (similar to build) and a ci workflow which is almost identical. In fact pc would just invoke clean and pc-correct (to invoke rustfmt to fix source formatting, or any other tool that may modify the source files), and then invoke ci (which would in turn invoke test and verify). The test would build and run the tests (always collecting coverage information), and verify would run clippy and rustfmt --check (and any additional custom static verification tools which only examine the source files).
This is similar to the existing flows, but sufficiently different that expressing it as a delta is about as much work (and much less clear) than just defining the new flows.
I suggest it would be beneficial to split Makefile.stable.toml into two files: Makefile.steps.toml and Makefile.flows.toml. The first would only contain tasks that perform a basic step (running rustc, running rustfmt, running tests, etc.). The second would contain the default flows.
In addition, it should be possible to specify in the Makefile.toml whether one wants to use the default flows. If not, then a config statement should be used to import a different set of flows.
Exact syntax is TBD. The simplest way would be to say something like CARGO_MAKE_NO_DEFAULT_FLOWS = 1 in the config section.

You raise good points, I'll try to explain how I see it and give you possible solutions using existing capabilities.
and if afterwards you would feel that some change is still needed, lets discuss how/if to implement.
flows - you are right, some are probably not that obvious on what they are doing. coverage-flow?
but flows are just a group of tasks being invoked 1 after the other and not necessarily mean that they are supposed to be public and used by people directly. maybe those flows are sub flows of bigger thing.
so coverage flow is a sub flow of the ci flow and it checks which coverage provider to invoke and runs it (by the way i used it today directly :smiley:)
I auto generate all tasks (including flows) documentation and push it to the readme so its semi-documented. agree that its not good enough, that is why i have sections with manual explanation which are more deep on some major stuff but not all (to prevent information overload).
as for your custom flows use case, you have some possibilities to write custom flows that use core tasks.

use your flow names - easy. just write flow named "pc" which calls any custom or core task. that won't do any conflicts with core flows.
reuse core flow names - if your flow is really different (conditions, description, so on...) you can add the clear attribute and you can reuse the core flow name but your custom content only without extending any core attribute.
rename all core tasks and flows and write custom flows that reuse renamed core tasks - that's fairly new capability, see docs which enable you to rename all core tasks, then you can have your own "ci-flow" which can call core tasks using the <namespace>::<name> naming convention.
using pre/post hooks - i have many flows that call core empty tasks that are named pre-flow and post-flow (for example "format-flow" flow calls "pre-format", "format", "post-format"). this is there to enable customizing the flow without touching it by implementing those pre/post tasks and running some custom stuff.
for example after the formatting run some code generation tool (bad example... by you get it).

do these provide good solution for you? or do you think there is still an issue here and we need some change?

As for documentation: A flat list of flows isn't that helpful. But arranging them in a tree (well, actually a DAG) would be very helpful. This can be done manually, but how about automatically generating this hierarchy, or even a dot diagram based on the relationship between the tasks?
Such a hierarchical list would be helpful in understanding what calls what. Presumably the roots will be meant to be invoked directly while the sub-tasks only be explicitly invoked in special cases. It might be also be helpful to add a hint about the expected context in the descriptions, but just having this tree or DAG visible should probably already provide 80% of the solution.
As for the custom flows: Ah, cargo make got some new and improved features since I last thoroughly read the docs.
It seems that if I do:
[config.modify_core_tasks]
private = true
namespace = "default"

Then all the default flows and tasks would be (1) renamed to core::whatever and (2) will not be listed by -list-all-steps. Nice!
I could then add my own flows reusing whatever I want from the default namespace, either by invoking default::something as a sub-flows or by directly extending it. This seems to address the core of my suggestion within the current capabilities.
Thanks!

docs - i'll think of something. its not trivial as some task are really useful as top level as well and some flows are also top level and sub flows of other flows. its its kinda never ending. i'll open a new task to think about how to make it more clear.
really liked scmf. looks good.


Issue 82: Support insert entity maps

Insert Datomic-style entity maps using the syntax outlined in #82
Added precept.spec.facts to help with validation of the different fact data structures we support
If one of the map's attributes is a collection, and the attribute is in the schema as :one-to-many, we insert a tuple for each item in the list

Note: CircleCI should now be configured to run for pull requests from forks. Existing pull requests don't seem to trigger the build. Tests passing locally.


Cleanup

This PR fixes linting issues and benefit from newer syntax to simplify the code.

Solving #307 would make working on this PR much easier.

Rebased master.
This PR will still show linting errors as it does not include the fixes from #306 and #307


prepare a base for new workflow feature

WIP
Depends on https://github.com/mesg-foundation/core/pull/535, related with introducing workflow files.
This PR creates a base for new workflow feature. It aims to successfully connect cli workflow commands, workflow gRPC APIs and workflow system service together with a dummy implementation for creating and deleting workflows.
To test this PR please first run dev-core. After that, you can try following two new commands:
# these commands interacts with WSS but WSS responds with dummy data.
./dev-cli workflow create /Users/ilgooz/Desktop/a.yml
./dev-cli workflow delete test

You can watch the logs of WSS with docker logs command after you find the id with docker ps.

This PR is done, It'll be rebased to dev when it's dependency PR (https://github.com/mesg-foundation/core/pull/535) is merged.

This PR is done, It'll be rebased to dev when it's dependency PR (#535) is merged.

good to review

this PR waiting for https://github.com/mesg-foundation/core/pull/567 to be merged

@mesg-foundation/core good to review

@mesg-foundation/core good to review

@NicolasMahe good to review


[V2] Disable clicking on the legend

The feature itself is nice, but I am toggling datasets with external buttons and I would like to disable the legend click functionality, but keep the legend. Is this possible right now?
A callback function could also help, if I would have access to relevant data.

A callback function could also help, if I would have access to relevant data.

@sergonius you can definitely disable the click behaviour.
The toggling happens in a callback function. What you could do override the default callback with one that does nothing.
config = {
    legend: {
        onClick: function(event, legendItem) {}
    }
}

The default onClick function is specified at https://github.com/nnnick/Chart.js/blob/v2.0-dev/src/core/core.legend.js#L15-L21

Thanks a lot! <3

@etimberg Is it possible to prevent the user from filtering out all of the datasets, and thus rendering an empty graph? It'd be nice to have a constraint on that.

@Wildhoney you can achieve that with this code:
config = {
    legend: {
                onClick: function(e, legendItem) {
                    // code from https://github.com/chartjs/Chart.js/blob/master/src/core/core.legend.js
                    // modified to prevent hiding all legend items

                    var index = legendItem.datasetIndex;
                    var ci = this.chart;
                    var meta = ci.getDatasetMeta(index);

                    // See controller.isDatasetVisible comment
                    var hidden = meta.hidden === null? !ci.data.datasets[index].hidden : null;

                    if( hidden ) {
                        var someShown = _.some( this.legendItems, function(item) {
                            return item !== legendItem && !item.hidden;
                        });
                        if( !someShown )
                            return;
                    }

                    meta.hidden = hidden;

                    // We hid a dataset ... rerender the chart
                    ci.update();
                }
            }
}

Thanks

I was able to run a default action + some custom action like this. In data() section define legend.onClick:
     legend: {                         position: "bottom",                         onClick: this.LegendFilterOutGroup                     },
Then put LegendFilterOutGroup in methods:
  LegendFilterOutGroup(evt, item){                 const orig = Chart.defaults.global.legend.onClick;                 orig.call(this.$data._chart, evt, item);                 console.log("Hi!")


LORA switch feature

Hi, I was wondering how the framework handles flux LORA switching feature? How to load LORA model in pipeline

You can refer to this line to switch the LoRA. We are working on a more user-friendly API for the next release.

You can refer to this line to switch the LoRA. We are working on a more user-friendly API for the next release.

OK, as far as I understand, I can use the deepcompressor library to complete the quantization of any flux-base model and LORA model, and then load through your inference framework to accelerate, is this operation correct？

I think for LoRA, there is no need to re-quantize the entire model again. You can just concatenate it to our low-rank branches. We will release a conversion script soon and will let you know when we release it.

I think for LoRA, there is no need to re-quantize the entire model again. You can just concatenate it to our low-rank branches. We will release a conversion script soon and will let you know when we release it.

Ok, thank you very much, waiting for your release


Continue to develop Cloud adoption deck for DIB

Describe the issue
In March 2021, DIB directed CITZ to develop a presentation of current status of cloud adoption, ministry plans and impact on board operations.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context

Needs to be presented in Oct to DIB.
Needs to be shown to Hayden first.

Definition of done

Discuss with Gen
Re-Draft DIB deck with Gen's inputs

Final round of input from DIO incorporated 2021-10-04 - still awaiting any requests for tune ups from executive reviews (CFO, ADMs, DM).


doc: fix macro name

OSSL_STORE_INFO_X509 doesn't exist.  It should be OSSL_STORE_INFO_CERT.
Fixes #17121

[x] documentation is added or updated
[ ] tests are added or updated

This should be applied to 1.1.1 as well.  I've labeled accordingly

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to 1.1.1, 3.0 and master.  Thanks for the review and the extra branch suggestion.


Followed the rules...exactly. Seems like this should of worked.

Challenge http://freecodecamp.com/challenges/waypoint-use-the-bootstrap-grid-to-put-elements-side-by-side has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

Closing. Please feel free to re-open with steps to reproduce the issue.
Happy Coding!


Can a desktop application built using Electron JS that interacts with SharePoint list using Graph API be submitted ?

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

I have few samples which i would like to share\contribute. Out of these one is a desktop application built using Electron JS that interacts with SharePoint list using Graph API.
Wanted to check whether this would be the right Repos to share these samples. If yes, then which repo would that be.
I once again thank you guys for the awesome work.
Thanks for your contribution! Sharing is caring.

If you want to share them, best to post the dev samples repo here: https://github.com/SharePoint/sp-dev-samples


Left Rotation of a given array in K times

Is your feature request related to a problem? Please describe.
I would like to add code for the left rotation of a given array in k times
Describe the solution you'd like
I will use CPP for coding
Describe alternatives you've considered
Code is completely written by me

I would like to add python code for this problem

I have added an optimal C++ code.


Added new regex for nigger

Changed the regex for nigger so it will catch nigger, nigga, and now niggur.
See this and this for more context.

Also, should we add this regex to the list of blacklisted usernames?

Might as well. I've got it, thank you!


HL-343 | Browser tests

Description :sparkles:

Implement e2e tests for the applicant side

Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #571 (78b6f52) into develop (8cf9178) will decrease coverage by 30.47%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #571       +/-   ##
============================================
- Coverage    94.33%   63.86%   -30.48%
============================================
  Files          176       33      -143
  Lines         7031      487     -6544
  Branches         0       60       +60
============================================
- Hits          6633      311     -6322
+ Misses         398      162      -236
- Partials         0       14       +14

Impacted Files
Coverage Δ

backend/benefit/messages/apps.py

...ns/migrations/0027_applicationlogentry_ordering.py

backend/shared/shared/audit_log/audit_logging.py

.../applications/migrations/0014_application_batch.py

...d/benefit/applications/migrations/0003_employee.py

backend/shared/shared/yrtti/yrtti_client.py

backend/tet/manage.py

...ckend/benefit/companies/migrations/0001_initial.py

...tions/0010_application_missing_applicant_fields.py

backend/shared/shared/ytj/ytj_client.py

... and 199 more

Continue to review full report at Codecov.

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

For some reason the pipeline is always failing here, I tried to open a new PR with the same changes and the error was gone 🤷 .

Addressed some of the comments in https://github.com/City-of-Helsinki/yjdh/pull/580
Closing thin PR in favor of https://github.com/City-of-Helsinki/yjdh/pull/580


Heap Overflow in BgzfStream::ReadBlock leading to code execution

Hi there!
Love the tool! Been playing around for a while with it and I found that ReadBlock doesn't validate correctly the size of the block to read on a bam file, and that causes a heap overflow, which allows you to overwrite (among other things), the vtable of m_device. After failing to read the file, the program calls BgzfStream::Close(). This triggers the m_device->IsOpen() method, which allows us to exploit the overwritten vtable.
The problem, I think, is here:
https://github.com/pezmaster31/bamtools/blob/9000c6b75f5fb3a9a9d4ab0d8984da953c18d1bb/src/api/internal/io/BgzfStream_p.cpp#L373
If the header provides a blockLength such that
blockLength < Constants::BGZF_BLOCK_HEADER_LENGTH
we underflow remaining, which then overflows the heap.
To trigger the bug I used the command bamtools index -in corrupted_file.bam

could you post your corrupted_file.bam so I can use it for debugging?

Reopen if you have more insight


Add Dio LogInterceptor

May i sugest the use of Alice? It has it's own interceptors that you can add to Dio

Alice seems unnecessary for basic logging, LogInterceptor ships with Dio ?

Yes, in the meantime if this is just what we want to log, Alice would appear as an "overkill".

@ghedwards IMO LogInterceptor should be used to print logs in development just like you would use a print statement. We might not want to add it as part of the code that will be used to generate a release build unless we were logging to an external service or file. That might also not be needed considering the fact that the API already provides logs and if anything fails one can always check the REST API for that (in release build/prod).
What do you think?

You can always use the kReleaseMode to check if it's prod build or not. That would be great because in the tree shaking part of the compilation that code would not be compiled when release build

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @ravikurani, @willmruzek, @fdb, @LordSaac, @joeangel, @luckyyang, @HuichuanLI

$BNB Airdrop Guide: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.000k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @bublikrowres, @hongyifan66, @goodboy, @Frankenty, @gtsigner, @RickWong, @GrnPero


[CRYPTIC]: Modeling command failed: []

Paste minimal KCL source that produces a cryptic error
startSketchOn("XY")
   |> circle([0, 0], 1, %)
   |> hole(circle([0, 0], 3, %), %)
   |> extrude(1, %)
   |> startSketchOn(%, 'END')
   |> circle([0, 0], 2, %)
   |> hole(circle([0, 0], 4, %), %)
   |> extrude(1, %)

Expected Behavior
Two extruded rings
Additional Context
No response

this is a lot like this bug i filed in engine https://github.com/KittyCAD/engine/issues/2599
idk how these empty error vecs come back but its no bueno and in the case of my issue, @benjamaan476 says the extrude isnt even throwing an error

anyways somethign for someone to dive into on the rust / c++ interface when they have cycles
basically rust thinks the c++ command is failing... but c++ is returning no error strings, so like did it really fail?

I don't know if we use it anymore but I also noticed that the pub success: Option<bool> of WebSocketResponse is none as well when this happens

we def use that

i think something is causing a rust Result in the cpp interop to return an error but its empty

yeah after talking w chalmers last time basically the engine endpoint was returning a false bool for the success of the function, like for example the extrude endpoint in cpp returns a bool, and so engine says it failed when in fact it must not have but there were no errors, so we should track that down

it looks like right here we send no errors https://github.com/KittyCAD/engine/blob/055d5809316e9553a371ed9dbfda548a552b1521/cpp/engine/scene/object.cpp#L663


Remove skipping of Z3 case in DS Chat step 3 training

This PR removes skipping of the zero_stage == "3" and hybrid_engine == "true" and offload == "true" and lora == "true" case since the training instability was determined to be transient. This case is now supported by DS Chat step 3 training and is tested in the DS Chat PyTest.

This PR removes skipping of the zero_stage == "3" and hybrid_engine == "true" and offload == "true" and lora == "true" case since the training instability was determined to be transient. This case is now supported by DS Chat step 3 training and is tested in the DS Chat PyTest.


Can't deploy example odoo app

I'm running example deploy odoo and I have strange issue:
ERR_CREATING_DEPLOYMENT
An error occurred (LoadBalancerNotFound) when calling the DescribeLoadBalancers operation: There is no ACTIVE Load Balancer named 'mwoyeqoddwdyrcmrrjqypgvdwnfyxrpl'

My template parameters:

This looks like it may be caused by #358.
@wokeGit Did you try to create a cluster with the same name before this failure?

@edlee2121  I don't remember but for 99% I didn't create a cluster with the same name before.
But once when our UI stopped work on this cluster, I suspend it for some time by the portal, maybe it can be a reason?

@wokeGit Before you suspended the cluster, deployments used to work? But afterwards, it does not?

@edlee2121 No, I don't know if it was working or not. I didn't try it earlier.

Most likely, the loadbalancer was never successfully created.
@sandeepbhojwani Please take a look when you get the chance.

Thank you @edlee2121
I reinstalled cluster and everything works correct.

Looks like no longer a problem.


Updated S3 credential variable names to commonly used en var names

...and added support for TensorFlow Serving versions 2.0.0 and 2.1.0
What this PR does / why we need it:
This makes two small changes to the default config:

The default names used for the variables that store S3 credentials deviate from the convention that is normally followed, leading to confusion when interacting with KFServing. Currently it expects
awsAccessKeyID and awsSecretAccessKey. This PR changes that to AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
Added support for TensorFlow 2.0

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #696
Fixes #687
Special notes for your reviewer:
Will probably need to update a few examples to reflect the change
Release note:
None

This change is

@googlebot I signed it!

/ok-to-test

If you want to change the S3 credential var name, the SDK consstants should also be updated since the SDK try to get the var name from configmap, if failed get the constants then, let's keep same. Thanks.
https://github.com/kubeflow/kfserving/blob/9e510fcaf960edb127e467c73334f57b9ff6a5e1/python/kfserving/kfserving/constants/constants.py#L33

Hey @karlschriek. One small nit and then good to go. Thanks for the contribution!

/lgtm
/approve

@karlschriek Can you rebase the PR and get this in ?

/retest

Seems like the pre-submit is failing although the test itself is passed

/retest

@karlschriek Would you please try to rebase to avoid CI problem? Seems the CI test can be passed for recent PRs. Thanks

Ok, will try to get round to this today, but not sure whether I will find the time

@jinchihe ok done

/lgtm


bmp/gif save to stream will close the stream

MemoryStream ms = new MemoryStream();
image.SaveAsBmp(ms);
will lead to a closed memory stream
and this will then not work:
using (var dest = new FileStream(destFileName, FileMode.Create, FileAccess.Write, FileShare.None, bufferSize: 16384))
{
ms.CopyTo(dest);
}
-> Exception: "Cannot access a closed Stream"

These are the kinds of thing unit tests miss and only real usage will catch. That' one of the reasons I'm running such a long alpha. Thank for this!


Added links in readme to docs site and github repo to make it easy to…

… find one from the other.

Thanks!


Simplify obtention of forward and backward masks in trajectory balance loss

The main goal of this PR is to avoid the re-computation of invalid masks for the forward and backward logits:

The masks of the forward logits (for the parents) are obtained from the (states) masks already included in the batch.
The masks of the backward logits (fo the states) are obtained from the parents actions already included in the batch.

I have removed the legacy code from the previous PR.

makes sense to me


Are we able to use it with simple c# console application?

I need to get connected with BLE just using an simple dot net console project. Is it possible to use this library for it?

please review readme & issue template (the one you deleted) for supported platforms


Mutulize flatcar and coreos container linux userdata code to avoid duplications

What this PR does / why we need it:
Flatcar and CoreOS userdata code is basically the same. This PR removes code and testdata duplications.
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
31 additions and 5,691 deletions.
Optional Release Note:

NONE

/hold
#760 introducing removal of RKT and kubelet-wrapper usage, and this PR directly conflict with it, at least wait until #760 is merged to avoid huge mess in git confict form

#760 introducing removal of RKT and kubelet-wrapper usage, and this PR directly conflict with it, at least wait until #760 is merged to avoid huge mess in git confict form

@kron4eg I don't see any difficult merge here, but as your PR came first I have no pb of taking care of the rebase. BTW #765 on that respect is worst due to the testdata changes.

Is the similarity causing any technical issues?

CoreOS container linux's EOL is tomorrow. After some time we could simply remove userdata/coreos package.
What might be interesting is support for RHCOS / FedoraCOS but that's more question to @kdomanski and I really not sure we need it at all 🤷♂

Is the similarity causing any technical issues?

well, "similar" in an euphemism in this context :-) they are exactly the same apart from the kubelet wrapper path that I factored out. The main advantage is that we avoid double maintenance where is not needed  and at the same time we can get rid of some test data, as it's quite tedious to update it

CoreOS container linux's EOL is tomorrow. After some time we could simply remove userdata/coreos package.

If the plan is to get rid completely of coreos support and not just deprecate it I agree, I thought we wanted to have a transition phase.

If the plan is to get rid completely of coreos support

Even coreos (RH/IBM) planned and executed just that, we can't do anything above it.

I thought we wanted to have a transition phase.

Never heard about such plans, did you?

@kron4eg I agree that eventually we will get rid of coreos support as it does not make sense to keep support for something unmaintained.
I was not involved in any discussion about a transition phase, but I'm open to discussion of course. I thought that if we drop it brutally customers that did not migrate yet coreos MD will have failures when they update MC, having a transition phase is useful in that respect.
This PR does not change much either if we decide to drop coreos or not.

We will drop CoreOS entirely within the next quarter or two. CoreOS is therefore frozen in time, while the code for Flatcar might change.

We will drop CoreOS entirely within the next quarter or two. CoreOS is therefore frozen in time, while the code for Flatcar might change.

I see your point, indeed if we need to introduce a breaking change for Flatcar during the time we still support CoreOS we should add conditions, that is less handy than having them split. On the other hand even if there will be no new CoreOS releases we could still have to do fixes that can profit to both.
Whatever we decide to do the gain/loss is not very big. I still prefer my approach and I think that makes more sense than the copy/paste approach used so far, but if there is consensus on keeping the two separated I'm ok to close this.


EnableRetry is enabled un-conditionally

We have this report of a bug in spring cloud kubernetes here. The underlying issue is that if spring consul is on the classpath, it automatically enable spring-retry, as seen in this configuration.
That class has @ConditionalOnProperty(value = "spring.cloud.consul.retry.enabled", matchIfMissing = true), but the problem is in matchIfMissing = true.
To give some details: for example someone has both consul and kubernetes dependencies on the classpath. Because consul enables spring retry un-conditonally, it means it is enabled in kubernetes also - though users might not want that. The linked issue has all the needed details. To me, matchIfMissing = true should be dropped.
wdyt?

Unfortunately, this didn't make it into a major release for breaking changes.

After discussion, we will remove @EnableRetry to be consistent with the rest of the portfolio. Because it is a breaking change, we're going to wait until 2023.0.0 due later in the year.

Makes sense. Thank you.


fix ros version needed to be installed

There are currently two issues:

[x] Checking if a ROS version is installed locally or not should be skipped for docker based workspaces
[ ] Recent changes should be backported, otherwise there is some old logic inside the docker container which results in an error, because rolling is not installed (e.g. for Ubuntu 20.04 and foxy)

Why is this draft? Is it finished or not yet?

Fixes the problem only partly, so that you can switch to the docker container. However, there is still another issue that needs to be fixed

Fixes the problem only partly, so that you can switch to the docker container. However, there is still another issue that needs to be fixed

which issue?

This is anyway out of scope


/opt mentioned by README.md but it does not exist

I suggest to remove /opt from README.md as it is not available.

Unless you are booting from ISO you can create the /opt directory and it will persist through reboots.

If / is persistent in general, it would be better to specify that in README.md.
Do you suggest to keep referencing to /opt even if it is not there? Or is it expected to be there?

We reserve the right to do funky things with / so I will have to fix it so that /opt exists as expected.


tests leaking memory

looks like there are a few memory leaks/invalid reads that should be addressed:
$ valgrind ./test --leak-check=full
[ ... ]
==5700==
==5700== HEAP SUMMARY:
==5700==     in use at exit: 566 bytes in 55 blocks
==5700==   total heap usage: 116 allocs, 61 frees, 1,067 bytes allocated
==5700==
[ ... ]
==5700== LEAK SUMMARY:
==5700==    definitely lost: 566 bytes in 55 blocks
==5700==    indirectly lost: 0 bytes in 0 blocks
==5700==      possibly lost: 0 bytes in 0 blocks
==5700==    still reachable: 0 bytes in 0 blocks
==5700==         suppressed: 0 bytes in 0 blocks
==5700==
==5700== For counts of detected and suppressed errors, rerun with: -v
==5700== ERROR SUMMARY: 95 errors from 22 contexts (suppressed: 2 from 2)

here's the full valgrind report that shows what's happening in more detail.

Ouch! Thanks a lot, will take a loop asap!

This should be fixed now. See: 8c011f2

awesome!


Appstore Integration not working with latest Portainer version

Describe the bug
The Appstore integration is not working with the latest version of Portainer (v. 2.11.0 at the time of writing). The app metadata is downloaded from the Appstore, but does not start. The integration is fully functional when using Portainer version 2.6.2.
To Reproduce
Steps to reproduce the behavior:

Start latest version of Portainer.
Attempt to download and start an app following this guide.

Expected behavior
IDS App starts successfully.
Screenshots & Logs
Version 2.11.0

Version 2.6.2

Desktop (please complete the following information):

OS: Windows
Browser [e.g. chrome, safari]: Firefox
Version (DSC) [e.g. 22]: 6.6.0-SNAPSHOT

Additional context
I started the DSC through docker-compose and set the Portainer application host url in application.properties to "host.docker.internal:9000", so that it can be reachable from the DSC container.

Hello and thank you for the feedback!
Apparently between the mentioned Portainer versions the Portainer APIs have changed, as one of the API calls returns a 404 not found.
I would suggest using the supported Portainer version 2.6.2, against which the integration was originally implemented.

Just to be sure: Is Portainer v2.6.2 a viable version that we can keep permanently for a last DSC version? No critical vulnabilities?

I took a small preview at the latest Portainer version 2.11. Among other things, version 2.11 introduced a so-called "Personal Access Token", which seems to replace the "Bearer Token" for most API calls and must be generated before API calls using the Bearer Token. From then on, this new Personal Access Token seems to be used in requests to Portainer as an X-API-key instead of the Authorization-Bearer-token. Bearer tokens have a maximum lifetime of 8 hours, the new Personal Access Tokens introduced are valid forever until revoked.
API call to create container until 2.10:
http POST <portainer url>/api/endpoints/<id>/docker/containers/create \
    "Authorization: Bearer <jwt token>" \
    name=="web01" Image="nginx:latest" \
    ExposedPorts:='{ "80/tcp": {} }' \
    HostConfig:='{ "PortBindings": { "80/tcp": [{ "HostPort": "8080" }] } }'

API call to create container in 2.11:
http POST <portainer url>/api/endpoints/<id>/docker/containers/create \
    X-API-Key:your_access-token \
    name=="web01" Image="nginx:latest" \
    ExposedPorts:='{ "80/tcp": {} }' \
    HostConfig:='{ "PortBindings": { "80/tcp": [{ "HostPort": "8080" }] } }'

More details on the new "Personal Access Token":
https://github.com/portainer/portainer/issues/813#issuecomment-951513911
https://github.com/portainer/portainer/pull/6079
However, I don't know if the new X-API key has completely replaced the Bearer token or is just an optional addition for most APIs in order not to generate a bearer token again and again, would have to be clarified.
But there could be more changes in the newer versions that could be relevant here.


[resolved][bug]:  Python version mismatch and could not find tb-nightly

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6GB
What version did you experience this issue on?
v2.3.5.post2
What happened?
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement tb-nightly (from gfpgan) (from versions: none)
ERROR: No matching distribution found for tb-nightly
Screenshots

Additional context
No response
Contact Details
No response

The issue has been resolved. In the screenshot I submitted earlier, you can see the field “pypi.tuna.tsinghua.edu.cn”. Due to the special network environment in my area, I configured a network acceleration server in advance, but this caused problems during the deployment process of this project. The reason for the failure was that some files that needed to be downloaded could not be downloaded.
I am not a professional, but the following steps are how I solved the problem:

Delete the pip cache located at “C:\Users\username\AppData\Local\pip\Cache”;
Cancel the network acceleration source in the configuration file located at “C:\Users\username\AppData\Roaming\pip\pip.ini”;
I use Clash to open a proxy CMD and then perform the installation of InvokeAI (this requires you to have or purchase proxy server nodes from a proxy agent).

The issue has been resolved. In the screenshot I submitted earlier, you can see the field “pypi.tuna.tsinghua.edu.cn”. Due to the special network environment in my area, I configured a network acceleration server in advance, but this caused problems during the deployment process of this project. The reason for the failure was that some files that needed to be downloaded could not be downloaded. I am not a professional, but the following steps are how I solved the problem:

Delete the pip cache located at “C:\Users\username\AppData\Local\pip\Cache”;
Cancel the network acceleration source in the configuration file located at “C:\Users\username\AppData\Roaming\pip\pip.ini”;
I use Clash to open a proxy CMD and then perform the installation of InvokeAI (this requires you to have or purchase proxy server nodes from a proxy agent).

Thanks, it works for me!
Another option in step 3 is changing all https://github.com/ into https://ghproxy.com/https://github.com/ in stable-diffusion-webui/modules/launch.py;

i also have this problem and via chang the mirro url and install:
pip install tb-night -i https://mirrors.aliyun.com/pypi/simple
it's works for me


add one more c # book

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

still wrong markdown syntax

This was merged at #5712. Please, avoid to reopen in the future


Move checkout metadata to separate model

I want to merge this change because we want to move checkout metadata to a separate model to be able to manipulate its metadata while it is locked during checkout_complete.

This PR originally was part of #10994 but due to changes to code in main, it was decided to split it into two parts.
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

In many places you're calling checkout.metadata_storage.(private_)metadata. Some functions have check if hasattr(checkout, "metadata_storage") (example) but the rest of them will fail with error RelatedObjectDoesNotExist (example). (Please correct me if I missed something).
I went through the changes and all the usages are after a helper method get_or_create_checkout_metadata is being called. And it will create this relation in case it doesn't exist. The only case that is missed is what @fowczarek has found in adyen plugin.


WIP: hdfs file node

do not merge
First attempt at getting HDFS files to work with ComputeFramework.
Couldn't avoid quite a bit of duplication, I think data nodes need further generalization. Also, we should have extensions like this be built as separate packages. Will try these next.

This is looking good!
I think we can make SplitNode take either a FileNode or a HDFSFileNode and still work with the same compute method.
I'll try to do this now.

Can you take a look?

This is very obsolete by now. Let's start over.

Yes - worth getting it in.


Stabilization Plane Modifier

Overview
The stabilization plane modifier seems to not help with the hologram jitter. When walking around the holograms or being placed at a distance further then approx 4 m, the color separation is very noticeable. Is there an update on this issue? (of course all of the objects have colliders and all of the sorts)
Expected Behavior
No color sepparation when importing the InputManager Prefab
Actual Behavior
Jittering on all holograms no matter what changes I make in the stabilizationPlaneModifier
Steps to reproduce
(Links to sample github project preferred)
Unity Editor Version
Unity 2017.2.0p2
Mixed Reality Toolkit Release Version

Your camera is probably not placed at World Zero on startup.
The Stabilization Plane position is best visualized in the hololens web portal at http://<IP_ADDRESS>:10080/3dview.htm . The gizmos in HoloToolkit are misleading and incorrect if the Camera World Origin is moved away from World.Zero.

If you start with the camera anywhere else than on World Zero the stabilization plane will need to be corrected by transforming the plane to camera "local" coordinates.
// CustomStabilizationPlaneModifier.cs
  focusPlanePosition = cameraContainer.InverseTransformPoint(focusPlanePosition);
  focusGazeNormal = cameraContainer.InverseTransformDirection(focusGazeNormal);
  velocity = cameraContainer.InverseTransformDirection(velocity);

Thank you so much for the prompt answer. I appreciate it.
My camera is actually at  at Vector3(0,0,0)
I am attaching the pictures here

and the camera

this is done simply by a drag and drop from the prefab folder. Is there anything I am missing?

I have also created a script that forces the camera in the awake method to be at point 0,0,0 and it did not make any difference. Moreover, another person on the slack channel is reporting the same issue, so I am starting to believe that there is something more to this.

Could you please try checking the Windows Device Portal stabilization plane when running your scene with the toolkit code? That might give us some idea.

I also recall Unity has lots of regressions in this space in the MRTP 2 builds.

Thanks, I was in a conference all day so could not get back to you. I will try what you said and get back. I have been looking but can't really find the MRTP 0p5. do you have a link for that?

I do have Update 5 installed, if that was the implication, downloaded from
https://forum.unity.com/threads/custom-build-2017-2-rc-mrtp-windows-mixed-reality-technical-preview.498253/
Sadly that is the last stable version that I can find :(

I have found 0p4 and sadly I get the same issue. Any link for 0p5 ?

patch 4 was the latest that was released this week.
Most likely it'll be a new full release of Unity

Thanks. I have updated everything, even the SDK (even though not specifically required). I am now using Unity with Patch 4. Sadly the same problem persists. The position of stabilization plane works wrong. When I focus at a hologram and move back while still looking at it, the plane moves behind the camera. This also happens when I move around a specific hologram. The further I walk away for instance, the further behind the stabilization plane moves.
See picture bellow.

Does anybody know what changes I could make in order to make it work correctly?

As an update to my latest post, when I move towards the specific hologram, the plane works correctly, only when moving back or rotating around the object, the plane somehow moves behind the camera...

With Unity 2017.2.0f3 there is no problem with the stabilization plane. All works well, it is only in the MRTP versions that I get this issue. What is your input, whom is it that I should contact regarding this ?

Anywhere I can track this bug? I suddenly got the same issues after upgrading from 5.6 to Unity 2017.2.1 today.

In order to make it work, I could only install Unity 2017.2.0f3. For me in that version the stabilization plane works well, but not in the MRTP versions at all. I have asked regarding this issue and sadly did not get too far regarding it. Some people get it, whilst I found out that other don't. This makes me wonder what it is about.
I have not installed Unity 2017.2.1, or rather I did not dare anymore, but thanks for letting me know that this version contains this bug :). Sadly I can't tell you more.

I filed a Unity bug report for it here https://fogbugz.unity3d.com/default.asp?982876_ta6idnss3f18g01m

I ran into this issue as well. Removing the StabilizationPlaneModifier component from the InputManager prefab fixed it for me. Unity 2017.2.1f1 (64-bit).

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


UI changes to support adapter

Background
UI should use new SDK function that checks whether an asset is xERC20 and perform the necessary calls.

UI changes has been done and pushed to adapter-xcall branch in connext-bridge repo. https://github.com/CoinHippo-Labs/connext-bridge/tree/adapter-xcall
Once we release new SDK we just need to update SDK version in UI.

https://github.com/CoinHippo-Labs/connext-bridge/pull/272


Trigger configuration

Hi
Just to make sure we are in the same line of thought:
(I'm using code format to reference long GTM stuff)
In the Server GTM container, I have the client: adsmurai-facebook-conversions-api-client named as cAPI and the tag adsmurai-facebook-conversions-api-tag.
The client configuration is OK.
But it's about the tag I have a question: right now I'm using it with the trigger Client Name equals cAPI (that is, the client is the trigger). I believe it's working because I've been receiving both events from server and browser at Facebook Event Manager, as it should.
My question is if this is the correct trigger. I've seen people using the trigger Event Name matches Regex .+. Facebook default/automatic implementation via GTM have it too but it was a mess of tags last time (long time) I tried.
So, I'm not sure the trigger is based on implementation (I mean, maybe with adsmurai-api-tag the trigger is one but with others tag may be different) or if there's a default trigger that should work regardless of tag.
To sum up: What's the correct trigger for this tag at the Server container?
Thanks

Hi @vasfvitor ! :)
I guess there are many triggers that would work ok for our use case. But I'm always using the same one in all my CAPI implementations, as I find it the most straight-forward solution, and it's the same one you are using: the client name.
So, I always name my client "Facebook CAPI client" and in my tags, I use a trigger configured as "Client name equals Facebook CAPI client". This way the tag fires every time the client sends an event expecting a tag to handle it.
Let me know if this helped you, or if you have any doubt left.
Thanks!

Hi, I got it. Makes sense now.

the tag fires every time the client sends an event expecting a tag to handle it

Now I understand why this works, I was looking through the GTM Server debug and I notice there was a correlation between tags and client, but I didn't give it a thought, thanks again.


shows type error on nuxt.config.ts for app meta, plugins, css, build, vite

Environment
Operating System: Windows_NT
Node Version: v18.0.0
Nuxt Version: 3.3.3
Nitro Version: 2.3.2
Package Manager<EMAIL_ADDRESS>Builder: vite
Reproduction
https://github.com/iabirkhan/Nuxt-3-Minimal
Describe the bug
with default nuxt 3.3.3 setup or upgraded version shows type error in nuxt,config.ts.

*** This type error shows on minimal setup:

Argument of type '{ app: { head: { charset: string; viewport: string; }; }; }' is not assignable to parameter of type 'NuxtConfig'.
Object literal may only specify known properties, and 'app' does not exist in type 'NuxtConfig'.ts(2345)

*** Extending config also shows type error on plugins, css, build, vite

export default defineNuxtConfig({
// app, plugins, css, build, vite not working
  app: {
    head: {
      title: "Nuxt 3 App",
      charset: "utf-8",
      viewport: "width=device-width, initial-scale=2",
    },
  },  // if app config removed plugins dosen't work
  plugins: [],  // shows error one after another
  css: [],
  build: {},
  vite: {},
// modules, typescript working
  modules: [],
  typescript: {
    strict: true,
  },
});

Hopefully explained the problem clearly, please check.
Additional context
No response
Logs
No response

I can't reproduce this. Installing the project gives me the expected types in nuxt.config. Would you try removing your .nuxt folder and running nuxi prepare?

v.3.2.2 and v.3.3.3 - also have the same type of error: TS2345: Argument of type 'bla-bla-bla' is not assignable to parameter of type 'NuxtConfig'.   Object literal may only specify known properties, and 'bla-bla-bla' does not exist in type 'NuxtConfig'.
did not help: remove .nuxt folder and running nuxi prepare or npx nuxi upgrade --force  -- with different combinations.
my app is working and the build is working but I see the red line "TS2345: Argument of type bla-bla-bla" always for the first config in my nuxt.config.ts file. I do not have a red error line only for modules block (if I just comment other configs and do it: remove .nuxt folder and running nuxi prepare or npx nuxi upgrade --force)

for other cases in my example, I have an error only for the first config if I even move the first config to the next line I will have an error on the first line((

These packages helped me:

let's track in https://github.com/nuxt/nuxt/issues/20221.

good

Here is a screenshot of the error I'm receiving after upgrading to v3.4 and installing @types/node as a dev dependency

Having the same issue:

Having the same issue here:

Having the same issue here:

这里有同样的问题：
{ "name": "nuxt-app", "private": true, "scripts": { "build": "nuxt build", "dev": "nuxt dev", "generate": "nuxt generate", " preview": "nuxt preview", "prepare":"nuxi prepare", "postinstall": "nuxt prepare" }, "devDependencies": { "@types/node": "^20.1.1", "nuxt": "^3.4.3" }, "dependencies": { "@nuxt/config": "^2.16.3", "@nuxt/types": "^2.16.3", "@nuxt/typescript-build":"^3.0.1", "打字稿": "^5.0.4" } }

I solved the problem and found that the file path cannot have Chinese

I encountered the same problem and excluding Chinese from the path did not solve the problem.
I just initialized the project with npx nuxi init, and adding anything afterwards raises this error.
Installing @types/node didn't work for me.

I checked #20221 and eliminated this warning by installing @types/node, typescript and vue-tsc.
This is confusing because I understand that the purpose of scaffolding is to reduce the amount of work required to initialize the project, can you tell me why it's not built in?

It's a shame! Nuxt 3 is not usable yet!

Look lot's of people facing this issue, but it just a type error warning. It's annoying I know, but  doesn't effect your dev.
Solution: if the problem consist even after solution above or fresh nuxt v3.4.3 installation that's maybe reason of your ide or ide version (mine vscode). Try updating your ide to latest. Hopefully the problem will resolve.
Not elaborating because I'm outside and on phone. Will give time later.

It's a shame! Nuxt 3 is not usable yet!

I have a production app live and it's fine.

I know it's not a "real" fix, but you could just rename the nuxt.config.ts file to nuxt.config.js as a temporary fix if those type errors are too annoying.

Guys
Looks like I have the same issue. Does anyone found a proper fix?

Guys
Looks like I have the same issue. Does anyone found a proper fix?

Yes, kinda: use the // @ts-ignore as a temporary solution. I couldn't find anything else useful.

@theguriev Would you create a new issue with a reproduction? 🙏

{
  "name": "my-app",
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "@types/node": "^20",
    "nuxt": "^3.5.0"
  }
}

ts config.json:
{
  // https://nuxt.com/docs/guide/concepts/typescript
  "extends": [
    "./.nuxt/tsconfig.json",
<EMAIL_ADDRESS>  ],
  "compilerOptions": {
    "strict": true
  }
}

@danielroe

@yarin-zhang's solution worked 🎉

{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": [
"./.nuxt/tsconfig.json",
<EMAIL_ADDRESS>],
"compilerOptions": {
"strict": true
}
}

Thanks! This works!

I had reply too quickly.


"Edit on Web" Option for Mobile App Pages Links to AppleTV Route

Currently, right-clicking on a mobile app page in Magnus and clicking "Edit on Web", it tries to open the page using the appletv-applications route instead of the mobile-applications route.
Route currently used for mobile apple pages:
/admin/cms/appletv-applications/{SiteId}/{PageId}
Correct route for mobile app pages:
/admin/cms/mobile-applications/{SiteId}/{PageId}

Hey Brian, would you mind verifying that Magnus is on the latest version? This bug was internally reported and marked as fixed in the latest version.
Thanks!

@bradencohen just updated and can confirm it is fixed. 🔥


Bump Ssd1306 from 0.5.1 to 0.7.0

As title says, bumped this slightly outdated dependency.

Awesome, thanks! 🙌


EVEREST-1617: api for affinity settings

EVEREST-1617
depends on https://github.com/percona/everest-operator/pull/592

Waiting on https://github.com/percona/percona-helm-charts/pull/449 before merging


fix: Update the default maximum recording time to 10 minutes

Confirmed to check the recording works

UIKIT-3514

How is the performance? can you share a summary before merge, also good to include in commit message ~


Drop notebook builds

Summary
Fixes #1046
Drop notebook builds
Details and comments

lint: commands[1]> pylint -rn quantum_serverless tests
************* Module quantum_serverless.core.decorators
quantum_serverless/core/decorators.py:85:11: E1123: Unexpected keyword argument 'object_refs' in function call (unexpected-keyword-arg)

That's an odd failure for a PR that doesn't touch the code...

looks like ray has changed wait function signature

looks like it is called waitables now 🤔
https://github.com/ray-project/ray/blob/2b57ee9bcf48dc665aac487dafd0044b65bc652c/python/ray/_private/worker.py#L2753

here is PR with the change https://github.com/ray-project/ray/commit/7b33cd8c5e5cc84c2995da00cefe16f462c15881#diff-bec668cc316d34704cdc3e37dd4ce18e4e87764fdf2c28b1504478c7eb8291deL2685

Fix is in main. Merge main and you should be good to go


Build script not running due to space in path name

Build script does not run, if there is space in any of the parent directory name.
Steps to reproduce

Open cmd in EntityFrameworkCore directory
Run build.cmd or any of the other .cmd file

Make sure that the working directory path looks like the following path containing space in any of the parent directory - D:/foo & bar/aspnet/EntityFrameworkCore. You will see an error that powershell is missing the terminator ".

Further technical details
EF Core branch: release/3.1
Operating system: Windows 10 version 1903

It's actually the & that's causing problems. I fixed what I could in our repo. It looks like there are additional failures now in some scripts from dotnet/arcade.


Terminal does not get focused properly

Windows Terminal version
1.15.2874.0
Windows build number
10.0.19044.2130
Other Software
Autohotkey example keybind for opening terminal (keybind is super + enter)
#Enter::Run, wt.exe
Steps to reproduce

Press keybind to open terminal
Start typing

Expected Behavior
I should either start buffering the input, similar to how the linux terminals do it. You don't need to open it with ahk, similar behavior is seen with just typing wt.exe in your faviourite console and begin typing. Although it's harder to reproduce.
Actual Behavior
Typing in previous window

This is extremely annoying for a recent "convert" from MacOS/Linux.

Thanks for the report! This is actually already being tracked by another issue on our repo - please refer to #13388 for more discussion.
/dup #13388


Update designing-networking-for-microsoft-azure-iaas.md

Change in Gateway Subnet it  must be /27 or shorter (recommended)

@JoeDavies-MSFT - Can you please assist to check, approve and merge the content for this PR based on issue #386?
Thank you.


How to freeze layer or detach a layer in training stage.

I have read the flax and jax docs. I have not found api can be used to freeze or detach some layers in training stage.
In pytorch, this api is attribute 'require_grad'. In keras, this api is attribute 'trainable'.
My mission is freeze some layers in my model at beginning and train the whole model after a while. So I need to freeze some layers and avoid parameters update.
Does there any examples or function attributes can be used to deal with this problem?

Hi @Zhu-haow, BTW we typically use GitHub Discussions for questions.
Take a look at the focus argument to OptimizerDef.create. You can easily define Traversals using optim.ModelParamTraversal, for example:
      kernels = optim.ModelParamTraversal(lambda path, _: 'kernel' in path)
      biases = optim.ModelParamTraversal(lambda path, _: 'bias' in path)

(We intentionally don't make the property stateful on the modules because you may want to optimize different subsets at different opportunities)
cc @marcvanzee for an example of a few bits of missing documentation (also note that the MultiOptimizer has a docstring for the constructor, but we don't show that on RTD), and perhaps a useful HOWTO

Hi @Zhu-haow, BTW we typically use GitHub Discussions for questions.
Take a look at the focus argument to OptimizerDef.create. You can easily define Traversals using optim.ModelParamTraversal, for example:
      kernels = optim.ModelParamTraversal(lambda path, _: 'kernel' in path)
      biases = optim.ModelParamTraversal(lambda path, _: 'bias' in path)

(We intentionally don't make the property stateful on the modules because you may want to optimize different subsets at different opportunities)
cc @marcvanzee for an example of a few bits of missing documentation (also note that the MultiOptimizer has a docstring for the constructor, but we don't show that on RTD), and perhaps a useful HOWTO


juicer pre error for human

hi,
I am using pre to produce .hic file and the command line is:
java -jar juicer_tools.1.7.6_jcuda.0.8.jar pre -r 40000 -q 30 -f ../01.data/hg19_MobI.txt ../01.data/test3.txt.gz ./M3-736.hic hg19
while I met this problem:
Start preprocess
Writing header
Writing body
......Error: the chromosome combination 14_15 appears in multiple blocks
Do you know why the error happen? Look forward for your reply. Thank you so much.
min

Hi,
Please use github issues to report bugs only, not for questions about juicer. For help with juicer, please use our forum: aidenlab.org/forum.html
Note that this question has been answered a few times on the forum:
http://aidenlab.org/forum.html?place=msg%2F3d-genomics%2FbPAm69WEXVg%2F9_o_RcdrBAAJ
http://aidenlab.org/forum.html?place=msg%2F3d-genomics%2F2w1OGHo5XdM%2FcIiHCuP_AQAJ
http://aidenlab.org/forum.html?place=msg%2F3d-genomics%2FrbTV7ssDizc%2Fcp-9ftILBwAJ
http://aidenlab.org/forum.html?place=msg%2F3d-genomics%2FxHIlhRzC_RE%2FLZwNoaw_BQAJ

Ok, thanks.
min

Hi, juicing has always been a routine from onset living with mama. Now that I'm living alone, I'm going back to my old habits.
This has made me hit online in search of a good juicer.  Although,i don't have much money still want an efficient unit that guarantees result.
As i continue to search, i stumble upon https://www.consumerhome.org/best-juicer-under-100-reviews/ that features some top rated products at the most lowest cost.....
Few other sites i checked also have units of great value but seems this resource has some cheap units, i decided to bring it front for other to help me analyze and suggestions....
Like said, i am a novice in juicer, if there is any support or idea to know which one is great for a bachelor, that'll made it easy for me to narrow my search...

Hi, juicing has always been a routine from onset living with mama. Now that I'm living alone, I'm going back to my old habits.
This has made me hit online in search of a good juicer.  Although,i don't have much money still want an efficient unit that guarantees result.
As i continue to search, i stumble upon [https://consumerhome.org/best-juicer-under-100-reviews/] that features some top rated products at the most lowest cost.....
Few other sites i checked also have units of great value but seems this resource has some cheap units, i decided to bring it front for other to help me analyze and suggestions....
Like said, i am a novice in juicer, if there is any support or idea to know which one is great for a bachelor, that'll made it easy for me to narrow my search...


segmentation fault in tf.raw_ops.AddManySparseToTensorsMap when sparse_indices and sparse_values are empty and sparse_shape is too large.

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
tf 2.15
Custom code
No
OS platform and distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
segmentation fault in tf.raw_ops.AddManySparseToTensorsMap when sparse_indices and sparse_values are empty and sparse_shape is too large, which causes the program to crash. See the colab link below for details.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1KNuiyCMsSo32teT3lNwYyYbQkD9tEBET?usp=sharing

Relevant log output
segmentation fault (core dumped)

@SuryanarayanaY I was able to replicate this issue here. Thank you!


fixing responsiveness #56

Current coverage is 57.54%

Merging #74 into master will not affect coverage as of fbdf77f

@@            master     #74   diff @@
======================================
  Files           13      13
  Stmts          179     179
  Branches         0       0
  Methods          0       0
======================================
  Hit            103     103
  Partial          0       0
  Missed          76      76

Review entire Coverage Diff as of fbdf77f

Powered by Codecov. Updated on successful CI builds.


feat: website setup to readME #1299

Description

steps of hosting modelina website locally
contributing to modelina

Related issue(s)

Fixes https://github.com/asyncapi/modelina/issues/1299

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 remained the same at 92.192%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5259

Relevant Lines:
5562

💛  - Coveralls

Just have one comment about the git setup 🙂
For the PR title make sure you use docs: instead of feat: we don't want to release a new version of Modelina for documentation changes 🙂

Thank you for the suggestion @jonaslagoni, I don't know how I forgot to put that. Will do so in my next PR.

@jonaslagoni, I have changed as suggested commit

@rukundob451 found some errors, kindly reslove them.

@rukundob451 take a look of this comment of Jonas

But agree we should probably add a section about the website in the main readme

@rukundob451 found some errors, kindly resolve them.

Looking at them now

@rukundob451 take a look of this comment of Jonas

But agree we should probably add a section about the website in the main readme

checking out now

Just have one comment about the git setup 🙂
For the PR title make sure you use docs: instead of feat: we don't want to release a new version of Modelina for documentation changes 🙂

Yes, I have taken note of this and made the necessary change as.

@sambhavgupta0705 and @jonaslagoni, I have done the changes as suggested.


add ecr repo upload workflow based on deployment name

This Github Action workflow infers deployment name/title from branch name and tags + uploads the image with this name in the service's remote repository. The images referenced will be updated as new commits are pushed to these branches.

Closing for now due to caveats in how Terraform recognizes changes in task definition versions when image tags do not change.


digitalmarketplace-utils dependency: bump to 40.6.0

This brings a few logging niceties and also switches views to use timed_render_template.

 Fix that.


add Nginx Admission Controller dashboard

This PR

Add new dashboard for Nginx Admission controller

Towards https://github.com/giantswarm/giantswarm/issues/28579

Checklist

[x] Update changelog in CHANGELOG.md in an end-user friendly language.

@mcharriere is this still ongoing ? Can you push this forward or close ?

Oh you need a review from atlas :(

oh I just forgot about this PR. thanks @QuentinBisson


Class method to create an AsyncFetcher making a list of RangeStreams (or codec subclasses)

The AsyncFetcher creates a RangeStream which is hardcoded, but it’d be better to allow it to be a classmethod so inheriting it would create the class it was called on.
https://github.com/lmmx/range-streams/blob/68604a7c271f886b327c8bcd79da3fc3d3590668/src/range_streams/async_utils.py#L112-L117

One idea to avoid import weirdness would be:

Superclass the AsyncFetcher as an internal class of the RangeStream class (something to the tune of BoundAsyncFetcher)
Override the method part of BoundAsyncFetcher that provides the RangeStream with a classmethod constructor instead

Not sure how messy this one’d get, but if you put a classmethod it’d have to be on the RangeStream and only reference the cls.BoundAsyncFetcher inner class
…actually probably can be a regular method and just access the __class__
async def fetch(self, client: httpx.AsyncClient, url: httpx.URL) -> RangeStream:
    s = self.__class__(
        url=str(url), client=client, single_request=True, force_async=True
    )
    await s.add_async()
    return s

class BoundAsyncFetcher(AsyncFetcher):
    fetch = fetch # could you bind the RangeStream fetch funcdef since same scope?

@classmethod
 async def fetch(cls, client: httpx.AsyncClient, url: httpx.URL) -> RangeStream:
     stream_class = super(cls)
     s = RangeStream(
         url=str(url), client=client, single_request=True, force_async=True
     )
     await s.add_async()
     return s

Example of how to get the correct type annotation when inheriting a classmethod constructor (i.e. use an abstract base)
gist.github.com/28001e989f7fd1901b227c674a0526c4

Oops no you should use a TypeVar as described by Guido in 2018, so it’d be
from __future__ import annotations

class Foo:
    def __init__(self, val: int):
        self.val = val

    @classmethod
    def make_me_one(cls : Type[_T]) -> _T:
        return cls(val=1)

_T = TypeVar("_T")

class Bar(Foo):
    pass

my_bar_thing: Bar = Bar.make_me_one()

I was hoping for something like this:
from __future__ import annotations
from typing import TypeVar, Type

_T = TypeVar("_T", bound=RangeStream)

class RangeStream:
    def __init__(self, val: int):
        self.val = val

    @classmethod
    def make_me_one(cls : Type[_T]) -> _T:
        return cls(val=1)

    class AsyncFetcher:
        maker = make_me_one

        def __init__(self):
            pass

        def make(self):
            return [self.maker()]

class PngStream(RangeStream):
    pass

my_png: PngStream = PngStream.make_me_one()

but obviously the inner class can’t access the method of the outer class (they’re not in the same scope)

Implemented a types module to store this (single) type _T (imported for use as RangeStreamOrSubclass) using a future annotations-compatible string annotation so Sphinx is happy!


H6110 Light Strip Not Able To Control

What issue do you have? Please be as thorough and explicit as possible.
Can't control H6110 light strip. Device shows up, and Home app shows the model number and version, but no controls work.
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?

Homebridge UI-X

Which version of Homebridge/HOOBS do you have?

Homebridge 1.6.0

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Linux, Ubuntu 22.04
NodeJS 18.12.1

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

homebridge-govee v7.7.2-beta.7

Which Govee devices do you have that are causing issues? Please include product models if applicable.

H6110
Please paste any relevant logs below.
[1/3/2023, 12:33:38 AM] [Govee] [Gaming Room Strip] [AWS] sending update {"msg":{"cmd":"turn","cmdVersion":0,"data":{"val":1},"transaction":"v_1672724018685000","type":1}}.
[1/3/2023, 12:33:38 AM] [Govee] [Gaming Room Strip] current state [on].
[1/3/2023, 12:33:39 AM] [Govee] [AWS] message event [{"proType":0,"msg":"{\"transaction\":\"v_1672724018685000\",\"sku\":\"H6110\",\"device\":\"9E:12:A4:C1:38:BF:B4:C6\",\"cmdVersion\":0,\"type\":0,\"cmd\":\"status\",\"data\":\"{\\\"softversion\\\":\\\"1.07.02\\\",\\\"wifiSoftVersion\\\":\\\"1.03.05\\\",\\\"turn\\\":1,\\\"brightness\\\":254,\\\"modeValue\\\":[\\\"qgUC////Af+0awAAAAAAAAAAAHM=\\\"],\\\"mode\\\":2,\\\"timer\\\":{\\\"enable\\\":0,\\\"time\\\":[{\\\"openHour\\\":0,\\\"openMin\\\":0,\\\"closeHour\\\":23,\\\"closeMin\\\":59}]},\\\"color\\\":{\\\"red\\\":255,\\\"green\\\":180,\\\"blue\\\":107},\\\"colorTemInKelvin\\\":3000}\"}","state":{"onOff":1,"brightness":254,"color":{"r":255,"g":180,"b":107},"colorTemInKelvin":3000,"connected":"true","sku":"H6110","device":"9E:12:A4:C1:38:BF:B4:C6"}}].

As you can see it tries to work, but the actions aren't sent to the Lightstrip or to the Govee app.

Same issue here.
I've reinstalled the plugin, tried the plugin betas, tried using child bridges, tried a separate wifi network, requested new API key. Logs show similar results as OPs.
All functions are fine in the Govee app.
Now that I think of it, I did that HomeKit architecture update thing. Wonder if that has something to do with it. Pretty sure I would have remembered if the upgrade did it, these strips are used all the time.

Same here! Started to happen yesterday. The button in UI shows it's on but in reality it's not.

Installed the latest version of everything and enabled debug.
Now I have an error that openssl is not found. How do I fix it? I'm on Windows 10.

For windows, please see
https://github.com/bwp91/homebridge-govee/issues/405#issuecomment-1368269873

For windows, please see
#405 (comment)

I did run it that way but it didn't help. It needed more Path variables.


discover first language

Hello, I am using 3 languages in my project:

Portuguese (pt-br)
English (en-us)
Spanish (es-es).

My administrative area is multi-language, and each User can create your post in your language and then someone else translate into your language.
I have translated my posts, how can I find out which was the first language used to create a specific post?
example:
echo Post :: find (1) -> was_created_by_language; // pt-br
echo Post :: find (2) -> was_created_by_language; // en-us

You could add timestamps to translations and see which translations was added first for a specific post id.
If you want to get the language after fetching the data from the database, you could do something like that:

class Post extends Eloquent
{

    getWasCreatedByLanguageAttribute()
    {
        foreach ($this->translations as $translation)
        {
            $first = $first and $first->created_at < $translation->created_at
                ? $first
                : $translation;
        }
        return $first;
    }

}